Class WeaponConfigurationService
  Service that allows you to get and change weapon configuration
 
  
  
    Inheritance
    
    WeaponConfigurationService
   
  
  
  Assembly: SlipeServer.Server.dll
  Syntax
  
    public class WeaponConfigurationService
   
  Constructors
  
    |
    Edit this page
  
  
    View Source
  
  
  WeaponConfigurationService(MtaServer)
  
  
  Declaration
  
    public WeaponConfigurationService(MtaServer server)
   
  Parameters
  
  Methods
  
    |
    Edit this page
  
  
    View Source
  
  
  GetWeaponConfiguration(WeaponId, WeaponSkillLevel)
  
  
  Declaration
  
    public WeaponConfiguration GetWeaponConfiguration(WeaponId weapon, WeaponSkillLevel skill = WeaponSkillLevel.Poor)
   
  Parameters
  
  Returns
  
  
    |
    Edit this page
  
  
    View Source
  
  
  SetWeaponConfiguration(WeaponId, WeaponConfiguration, WeaponSkillLevel)
  
  
  Declaration
  
    public void SetWeaponConfiguration(WeaponId weapon, WeaponConfiguration weaponConfiguration, WeaponSkillLevel skill = WeaponSkillLevel.Poor)
   
  Parameters
  
  
    |
    Edit this page
  
  
    View Source
  
  
  SetWeaponConfigurationFor(WeaponId, WeaponConfiguration, Player, WeaponSkillLevel)
  
  
  Declaration
  
    public void SetWeaponConfigurationFor(WeaponId weapon, WeaponConfiguration weaponConfiguration, Player player, WeaponSkillLevel skill = WeaponSkillLevel.Poor)
   
  Parameters
  
  
    |
    Edit this page
  
  
    View Source
  
  
  SetWeaponConfigurationFor(WeaponId, WeaponConfiguration, IEnumerable<Player>, WeaponSkillLevel)
  
  
  Declaration
  
    public void SetWeaponConfigurationFor(WeaponId weapon, WeaponConfiguration weaponConfiguration, IEnumerable<Player> players, WeaponSkillLevel skill = WeaponSkillLevel.Poor)
   
  Parameters