Beispiel #1
0
		internal Soccer GetSoccer()
		{
			if (this.soccer == null)
			{
				this.soccer = new Soccer(this);
			}
			return this.soccer;
		}
Beispiel #2
0
		internal void FlushSettings()
		{
			this.mCycleEnded = true;
			using (IQueryAdapter queryreactor = CyberEnvironment.GetDatabaseManager().getQueryReactor())
			{
				this.GetRoomItemHandler().SaveFurniture(queryreactor, null);
			}
			this.Tags.Clear();
			this.UsersWithRights.Clear();
			this.Bans.Clear();
			this.ActiveTrades.Clear();
			this.LoadedGroups.Clear();
			if (this.GotFreeze())
			{
				this.freeze = new Freeze(this);
			}
			if (this.GotBanzai())
			{
				this.banzai = new BattleBanzai(this);
			}
			if (this.GotSoccer())
			{
				this.soccer = new Soccer(this);
			}
			if (this.gameItemHandler != null)
			{
				this.gameItemHandler = new GameItemHandler(this);
			}
		}