| | |
| | | public event Action UpdatePullPreviewMine;
|
| | | public Action UpdateMineAreaData;
|
| | | public event Action UpdateTurnFightStateInfo;
|
| | | public event Action<int> PlayRefreshUIEffect;
|
| | | Redpoint mainRedPoint = new Redpoint(MainRedDot.FAIRY_REDPOINT_KEY2, MainRedDot.BlessedLandRedpoint); //福地入口红点
|
| | | Redpoint manageRedPoint = new Redpoint(MainRedDot.BlessedLandRedpoint, MainRedDot.BlessedLandRedpoint * 10 + 1); //管理按钮红点
|
| | | Redpoint employRedPoint = new Redpoint(MainRedDot.BlessedLandRedpoint * 10 + 1, MainRedDot.BlessedLandRedpoint * 10 + 2); //雇佣按钮红点
|
| | |
| | | realmUnlockPlayerCountArr = JsonMapper.ToObject<int[][]>(FuncConfigConfig.Get("MineAreaRob2").Numerical1);
|
| | | for (int i = 0; i < realmUnlockPlayerCountArr.Length; i++)
|
| | | {
|
| | | realmUnlockPlayerCountDict[realmUnlockPlayerCountArr[i][1] - 1] = realmUnlockPlayerCountArr[i][0];
|
| | | realmUnlockPlayerCountDict[realmUnlockPlayerCountArr[i][1]] = realmUnlockPlayerCountArr[i][0];
|
| | | }
|
| | |
|
| | | #endregion
|
| | |
| | | UpdateMineAreaData?.Invoke();
|
| | | UpdateRedpoint();
|
| | | }
|
| | |
|
| | | public int QueryType;
|
| | | public int QueryValue;
|
| | | public void UpdateDetailedBlessedLandInformation(HB033_tagGCMineAreaInfo source)
|
| | | {
|
| | | int QueryType = source.QueryType;
|
| | | //QueryType = 99 时为刷新同步
|
| | | //QueryValue = 0 - 普通刷新; 1 - 超级刷新
|
| | | QueryType = source.QueryType;
|
| | | QueryValue = (int)source.QueryValue;
|
| | | |
| | |
|
| | | List<uint> playerIdList = new List<uint>();
|
| | | for (int i = 0; i < source.AreaList.Length; i++)
|
| | | {
|
| | |
| | | if (blessedLandManageMouseModel.startState)
|
| | | blessedLandManageMouseModel.StratAuto();
|
| | | break;
|
| | | case 99:
|
| | | PlayRefreshUIEffect?.Invoke(QueryValue);
|
| | | UpdateNewAreaData?.Invoke(playerIdList);
|
| | | UpdateRedpoint();
|
| | | break;
|
| | | }
|
| | |
|
| | | }
|
| | |
|
| | | //0 寻觅刷新按钮 1 仙盟摇人按钮 2 好友摇人按钮
|