Exemplo n.º 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);
			}
		}
Exemplo n.º 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);
			}
		}
Exemplo n.º 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);
     }
 }
Exemplo n.º 4
0
		public void SetActionButton(ActionButton btn)
		{
			btn.Set(m_record.ActionButtons);
		}