示例#1
0
    //-------------------------------------------------------------------------------------------
    private ServerMsgStruct DefaulatAnalyzeGlobalConfigs(object obj)
    {
        ServermsgStructGlobalConfig msgStruct = new ServermsgStructGlobalConfig();

        msgStruct.analyzeData(obj);
        return(msgStruct);
    }
示例#2
0
    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);
    }