Ejemplo n.º 1
0
 /// <summary>
 ///     Gets the soccer.
 /// </summary>
 /// <returns>Soccer.</returns>
 internal Soccer GetSoccer()
 {
     return _soccer ?? (_soccer = new Soccer(this));
 }
Ejemplo n.º 2
0
 /// <summary>
 ///     Flushes the settings.
 /// </summary>
 internal void FlushSettings()
 {
     _mCycleEnded = true;
     using (var queryReactor = Azure.GetDatabaseManager().GetQueryReactor())
         GetRoomItemHandler().SaveFurniture(queryReactor);
     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);
 }