Пример #1
0
        public void DeleteRoom(Session Session)
        {
            lock (mActorSyncRoot)
            {
                lock (mItemSyncRoot)
                {
                    using (SqlDatabaseClient MySqlClient = SqlDatabaseManager.GetClient())
                    {
                        PickAllToUserInventory(Session);
                        RoomManager.DeleteRoom(MySqlClient, RoomId);
                    }

                    Unload();
                }
            }
        }