예제 #1
0
파일: Room.cs 프로젝트: BjkGkh/Azure2
 /// <summary>
 /// Gets the banzai.
 /// </summary>
 /// <returns>BattleBanzai.</returns>
 internal BattleBanzai GetBanzai()
 {
     return _banzai ?? (_banzai = new BattleBanzai(this));
 }
예제 #2
0
파일: Room.cs 프로젝트: BjkGkh/Azure2
 /// <summary>
 /// Flushes the settings.
 /// </summary>
 internal void FlushSettings()
 {
     _mCycleEnded = true;
     using (IQueryAdapter queryReactor = AzureEmulator.GetDatabaseManager().GetQueryReactor())
         GetRoomItemHandler().SaveFurniture(queryReactor, null);
     RoomData.Tags.Clear();
     UsersWithRights.Clear();
     Bans.Clear();
     ActiveTrades.Clear();
     LoadedGroups.Clear();
     if (GotFreeze())
         _freeze = new Freeze(this);
     if (GotBanzai())
         _banzai = new BattleBanzai(this);
     if (GotSoccer())
         _soccer = new Soccer(this);
     if (_gameItemHandler != null)
         _gameItemHandler = new GameItemHandler(this);
 }