public void OnUserLogout() { //玩家登出 m_RoleInfo.OnClear(); //玩家自己在离开游戏的时候清空下 m_ItemManager.OnClear(); //玩家离开游戏的时候 物品清空 m_RelationManager.OnClear(); //关系在离开游戏的时候 清空下 m_MailManager.OnClear(); m_TaskManager.OnClear(); m_AchievementManager.OnClear(); m_ActionManager.OnClear(); m_EntityManager.OnClear(); m_GiffManager.OnClear(); m_CharmManager.OnClear(); m_QueryManager.OnClear(); m_TableManager.OnClear(); m_TitleManager.OnClear(); m_ChestManager.OnClear(); m_ShopManager.OnClear(); m_MonthManager.OnClear(); m_RankManager.OnClear();//玩家离开游戏的时候 排行榜数据清空 防止玩家离线 但是过12点 导致排行榜数据是旧的 m_RoleOnlineReward.OnClear(); m_RoleGameData.OnClear(); m_RolePackage.OnClear(); m_RoleLauncher.OnClear(); m_RoleAnnouncement.OnClear(); m_RoleOperate.OnClear(); m_RoleStatesMessage.OnClear(); m_RoleLottery.OnClear(); RoleChar.OnClear(); RoleRelationRequest.OnClear(); }