MapServer.PlayerObject.Kick C# (CSharp) Method

Kick() public method

public Kick ( ) : void
return void
        public void Kick()
        {
            if (this.GetGameSession() != null)
            {
                this.GetGameSession().Dispose();
            }

            ExitGame();
        }