public override void Dispose() { RemovePlayer(this); SendLeave(); StopQuit(); EvtInterface.Notify("Leave", this, null); SocInterface.Stop(); Save(); if (_Client != null) { _Client.Plr = null; _Client.Disconnect(); } base.Dispose(); }
public override void Dispose() { RemovePlayer(this); SendLeave(); StopQuit(); EvtInterface.Notify("Leave", this, null); SocInterface.Stop(); Save(); if (_Client != null) { _Client.Plr = null; _Client.Disconnect(); } base.Dispose(); }