예제 #1
0
		/// <summary>
		/// Sets the given action button
		/// </summary>
		public void BindActionButton(ActionButton btn, bool update = true)
		{
			btn.Set(CurrentSpecProfile.ActionButtons);
			RealmWorldDBMgr.DatabaseProvider.SaveOrUpdate(CurrentSpecProfile);
			if (update)
			{
				CharacterHandler.SendActionButtons(this);
			}
		}
예제 #2
0
		/// <summary>
		/// Sets the given action button
		/// </summary>
		public void BindActionButton(ActionButton btn, bool update = true)
		{
			btn.Set(CurrentSpecProfile.ActionButtons);
			CurrentSpecProfile.IsDirty = true;
			if (update)
			{
				CharacterHandler.SendActionButtons(this);
			}
		}
예제 #3
0
 /// <summary>
 /// Sets the given action button
 /// </summary>
 public void BindActionButton(ActionButton btn, bool update = true)
 {
     btn.Set(CurrentSpecProfile.ActionButtons);
     CurrentSpecProfile.State = Core.Database.RecordState.Dirty;
     if (update)
     {
         CharacterHandler.SendActionButtons(this);
     }
 }
예제 #4
0
		public void SetActionButton(ActionButton btn)
		{
			btn.Set(m_record.ActionButtons);
		}