public void OnClear() { //清理数据 m_IsLoadInfo = false; m_IsLoadByServer = false; m_GameData = new tagRoleGameData(); }
bool HandleLoadRoleGameData(NetCmdBase obj) { LC_Cmd_GendGameData ncb = (LC_Cmd_GendGameData)obj; m_GameData = ncb.GameData; m_IsLoadInfo = true; tagGameDataChangeEvent pEvent = new tagGameDataChangeEvent(); MsgEventHandle.HandleMsg(pEvent); return(true); }