| | |
| | | Redpoint invitationRedpoint = new Redpoint(28);
|
| | | Redpoint memberCountRedpoint = new Redpoint(34);
|
| | |
|
| | | int lastOpenCountryMapRecorder = 0;
|
| | |
|
| | | public override void Init()
|
| | | {
|
| | | levelMaxBuf = GeneralConfig.Instance.playerMaxLevel;
|
| | |
| | |
|
| | | public void OnSwitchAccount()
|
| | | {
|
| | | lastOpenCountryMapRecorder = 0;
|
| | | m_CurrentMission = new TeamMission(CURRENTMAP_MISSION, 0);
|
| | | m_MissionBuf = new TeamMission(CURRENTMAP_MISSION, 0);
|
| | | m_MyTeam = new MyTeam();
|
| | |
| | | var lineId = 0;
|
| | | if (myTeam.mission.mapId == CURRENTMAP_MISSION || myTeam.mission.mapId == NONE_MISSION)
|
| | | {
|
| | | mapId = PlayerDatas.Instance.baseData.MapID;
|
| | | mapId = lastOpenCountryMapRecorder == 0 ? PlayerDatas.Instance.baseData.MapID : lastOpenCountryMapRecorder;
|
| | | lineId = 0;
|
| | | }
|
| | | else
|
| | |
| | | public void OnPlayerLoginOk()
|
| | | {
|
| | | serverInited = true;
|
| | |
|
| | | var mapConfig = ConfigManager.Instance.GetTemplate<MapConfig>(PlayerDatas.Instance.baseData.MapID);
|
| | | if (mapConfig != null && mapConfig.MapFBType == (int)MapType.OpenCountry)
|
| | | {
|
| | | lastOpenCountryMapRecorder = PlayerDatas.Instance.baseData.MapID;
|
| | | }
|
| | | }
|
| | |
|
| | | private void OnMatchingCoolDownEnd()
|