Class WeaponModel
Assembly: SlipeServer.dll
Syntax
public class WeaponModel : SharedWeaponModel
Constructors
|
Improve this Doc
View Source
WeaponModel(Int32)
Get a weapon model from the weapon id
Declaration
public WeaponModel(int id)
Parameters
Type |
Name |
Description |
Int32 |
id |
|
|
Improve this Doc
View Source
WeaponModel(String)
Get a weapon model from the weapon name
Declaration
public WeaponModel(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Properties
|
Improve this Doc
View Source
JetPackEnabled
Get and set if this weapon is enabled on jetpacks
Declaration
public bool JetPackEnabled { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
SetProperty(WeaponSkill, WeaponProperty, Int32)
Sets the value of a property of this mode
Declaration
public bool SetProperty(WeaponSkill skill, WeaponProperty property, int value)
Parameters
Returns
|
Improve this Doc
View Source
SetProperty(WeaponSkill, WeaponProperty, Single)
Sets the value of a property of this mode
Declaration
public bool SetProperty(WeaponSkill skill, WeaponProperty property, float value)
Parameters
Returns