2243 【1.2.0】许愿池活动结束,界面未关闭
| | |
| | |
|
| | | private void OperationEndEvent(Operation type, int state)
|
| | | {
|
| | | if (type == Operation.WishingWellInfo && state == 1)
|
| | | if (type == Operation.WishingWellInfo && state == 0)
|
| | | {
|
| | | UpdateRedpoint();
|
| | | if (onStateUpate != null)
|
| | |
| | |
|
| | | private void OperationStartEvent(Operation type, int state)
|
| | | {
|
| | | if (type == Operation.WishingWellInfo && state == 1)
|
| | | if (type == Operation.WishingWellInfo && state == 0)
|
| | | {
|
| | | UpdateRedpoint();
|
| | | if (onStateUpate != null)
|
| | |
| | | #region 活动逻辑
|
| | | private void OperationEndEvent(Operation type, int state)
|
| | | {
|
| | | if(type == Operation.WishingWellInfo && state == 1)
|
| | | if(type == Operation.WishingWellInfo && state == 0)
|
| | | {
|
| | | UpdateActivityState();
|
| | | }
|
| | |
| | | operation.startDate = ParseOperationDate(package.StartDate);
|
| | | operation.endDate = ParseOperationDate(package.EndtDate);
|
| | | operation.dayReset = package.IsDayReset == 1;
|
| | | operation.resetType = package.ResetType;
|
| | | operation.ParsePackage(package);
|
| | | if (operationTimeUpdateEvent != null)
|
| | | {
|