public void ExitGame()
{
SetExit(true);
this.GetEudemonSystem().ExitGame();
this.GetTimerSystem().ExitGame();
//摊位要收摊
PtichManager.Instance().ShutPtich(this,false);
//通知dbserver 保存数据
DBServer.Instance().SaveRoleData(this,true);
UserEngine.Instance().RemovePlayObject(this);
//发给其他好友下线信息
GetFriendSystem().BrocatMsg(NetMsg.MsgFriendInfo.TYPE_OFFLIE);
//有队伍就离队
if (GetTeam() != null)
{
GetTeam().ExitTeam(this);
}
GetFightSystem().RemoveQiShiTuanGuardEffect(); //移除骑士团守护特效
IDManager.RecoveryTypeID(this.GetTypeId(), this.type);
//定时器-
ScriptTimerManager.Instance().PlayerExitGame(this.GetBaseAttr().player_id);
}