示例#1
0
        private static void RemoveAll()
        {
            /*foreach ( Mobile m in World.Mobiles.Values )
             *      ClientCommunication.ForceSendToClient( new RemoveObject( m ) );
             * foreach ( Item i in World.Items.Values )
             *      ClientCommunication.ForceSendToClient( new RemoveObject( i ) );*/

            World.Mobiles.Clear();
            World.Items.Clear();

            ClientCommunication.OnLogout();
        }