Example #1
0
        public void Execute(GameObjects.Mob.IMob mob, string input)
        {
            if (mob is ServerPlayer)
                {
                    var player = mob as ServerPlayer;

                    mob.Send(new InformationalMessage("Disconnecting."));
                    player.Disconnect();
                }
        }