| | |
| | | {
|
| | | public class MultipleRealmPointModel : Model,IBeforePlayerDataInitialize,IAfterPlayerDataInitialize,IPlayerLoginOk
|
| | | {
|
| | | public const int MULTIPLEREALM_KEY = 20109;
|
| | | public Redpoint multipleRed = new Redpoint(201,MULTIPLEREALM_KEY);
|
| | | public Redpoint multipleRed = new Redpoint(MainRedDot.REDPOINT_OPENSERVER, 20908);
|
| | | public string LocalRecord_Key = "MultipleRealmRecord";
|
| | | bool isNewDay = false;
|
| | | public override void Init()
|
| | |
| | |
|
| | | }
|
| | |
|
| | | public bool IsOpen
|
| | | {
|
| | | get
|
| | | {
|
| | | OperationBase operation;
|
| | | OperationTimeHepler.Instance.TryGetOperationTime(Operation.MultipRealmPoint, out operation);
|
| | | return operation != null && operation.SatisfyOpenCondition() && operation.InDay(TimeUtility.ServerNow);
|
| | | }
|
| | | }
|
| | |
|
| | | private void RefreshOperationClose(Operation type)
|
| | | {
|
| | | if (type != Operation.MultipRealmPoint) return;
|