/// <summary> /// Get the value of the current property of this model /// </summary> public int GetProperty(WeaponSkill skill, WeaponProperty property) { return(MtaShared.GetWeaponProperty(ID, skill.ToString().ToLower(), property.ToString().ToLower())); }
/// <summary> /// Sets the value of a property of this mode /// </summary> /// <param name="skill"></param> /// <param name="property"></param> /// <param name="value"></param> /// <returns></returns> public bool SetProperty(WeaponSkill skill, WeaponProperty property, int value) { return(MtaShared.SetWeaponProperty(ID, skill.ToString().ToLower(), property.ToString().ToLower(), value)); }