| | |
| | | var mapOk = new C0107_tagCInitMapOK();
|
| | | mapOk.MapID = PlayerDatas.Instance.baseData.MapID;
|
| | | mapOk.Type = 0;
|
| | | if (!GameNetSystem.Instance.crossServerSocketConnected)
|
| | | switch (this.socketType)
|
| | | {
|
| | | GameNetSystem.Instance.SendInfo(mapOk);
|
| | | }
|
| | | else
|
| | | {
|
| | | GameNetSystem.Instance.SendToCrossServer(mapOk);
|
| | | case GameNetSystem.SocketType.Main:
|
| | | GameNetSystem.Instance.SendInfo(mapOk);
|
| | | break;
|
| | | case GameNetSystem.SocketType.CrossSever:
|
| | | GameNetSystem.Instance.SendToCrossServer(mapOk);
|
| | | break;
|
| | | }
|
| | | }
|
| | | var _mapData = H2Engine.MapData.LoadFormFile("map_" + _stageId);
|