Esempio n. 1
0
		public void NewbieSelActivityByType(int inTypeId)
		{
			Activity_title activity_title = null;
			if (this.dicComs != null && this.dicComs.TryGetValue(inTypeId, out activity_title) && activity_title != null && activity_title.toggle != null)
			{
				activity_title.Checked = true;
			}
		}
Esempio n. 2
0
		private void OnSelectTitle(Activity_title com)
		{
			if (this.OnTopTitleChange != null && this.curTitle != com.Info.id && this.config.ContainsKey(this.curTitle))
			{
				this.curTitle = com.Info.id;
				this.AType = com.AType;
				this.OnTopTitleChange();
			}
		}