| | |
| | | public const int DATA_MAPID = 31370; |
| | | const int REDPOINTID_01 = 21501; |
| | | const int REDPOINTID_02 = 215; |
| | | const int REDPOINTID_03 = 21503; |
| | | const int FUNCTIONID = 164; |
| | | |
| | | public int highestPassFloor { get; private set; } |
| | |
| | | |
| | | bool redpointConfirm_01 = false; |
| | | bool redpointConfirm_02 = false; |
| | | bool redpointConfirm_03 = false; |
| | | |
| | | Redpoint redpoint01 = new Redpoint(37, REDPOINTID_01); |
| | | Redpoint redpoint02 = new Redpoint(REDPOINTID_02); |
| | | Redpoint redpoint03 = new Redpoint(REDPOINTID_03); |
| | | |
| | | List<int> sortedFloors = new List<int>(); |
| | | |
| | |
| | | UpateRedpoint(); |
| | | } |
| | | |
| | | public void ConfirmRedpoint03() |
| | | { |
| | | redpointConfirm_03 = true; |
| | | UpateRedpoint(); |
| | | } |
| | | |
| | | public void OnPlayerLoginOk() |
| | | { |
| | | serverInited = true; |
| | |
| | | { |
| | | redpointConfirm_01 = false; |
| | | redpointConfirm_02 = false; |
| | | redpointConfirm_03 = false; |
| | | } |
| | | |
| | | public void OnMapInitOk() |
| | |
| | | { |
| | | redpoint02.state = RedPointState.None; |
| | | } |
| | | |
| | | if (!redpointConfirm_03) |
| | | { |
| | | redpoint03.state = challengable ? RedPointState.Simple : RedPointState.None; |
| | | } |
| | | else |
| | | { |
| | | redpoint03.state = RedPointState.None; |
| | | } |
| | | } |
| | | |
| | | private void ParseConfig() |