//------------------------------------------------------------------------------------------- private ServerMsgStruct DefaulatAnalyzeGlobalConfigs(object obj) { ServermsgStructGlobalConfig msgStruct = new ServermsgStructGlobalConfig(); msgStruct.analyzeData(obj); return(msgStruct); }
private void OnServerMsgGlobalConfig(int respond, ServerMsgStruct msgStruct) { ServermsgStructGlobalConfig globalSetting = (ServermsgStructGlobalConfig)msgStruct; if (globalSetting == null) { return; } Debug.Log("OnServerMsgGlobalConfig"); GlobalServerSetting.Singleton.GotSetting = 1; GlobalServerSetting.Singleton.ZoneList = new List <ZoneInfo>(globalSetting.zoneInfoList); }