Class MyWeaponDefinition.MyWeaponAmmoData
Inheritance
System.Object
MyWeaponDefinition.MyWeaponAmmoData
Assembly: Sandbox.Game.dll
Syntax
public class MyWeaponAmmoData : Object
Constructors
MyWeaponAmmoData(Int32, String, String, Int32)
Declaration
public MyWeaponAmmoData(int rateOfFire, string soundName, string preShotSoundName, int shotsInBurst)
Parameters
Type |
Name |
Description |
System.Int32 |
rateOfFire |
|
System.String |
soundName |
|
System.String |
preShotSoundName |
|
System.Int32 |
shotsInBurst |
|
MyWeaponAmmoData(Int32, String, String, Int32, String, String)
Declaration
public MyWeaponAmmoData(int rateOfFire, string soundName, string preShotSoundName, int shotsInBurst, string flightSoundName, string ricochetSoundName)
Parameters
Type |
Name |
Description |
System.Int32 |
rateOfFire |
|
System.String |
soundName |
|
System.String |
preShotSoundName |
|
System.Int32 |
shotsInBurst |
|
System.String |
flightSoundName |
|
System.String |
ricochetSoundName |
|
MyWeaponAmmoData(MyObjectBuilder_WeaponDefinition.WeaponAmmoData)
Declaration
public MyWeaponAmmoData(MyObjectBuilder_WeaponDefinition.WeaponAmmoData data)
Parameters
Fields
FlightSound
Declaration
public MySoundPair FlightSound
Field Value
PreShotSound
Declaration
public MySoundPair PreShotSound
Field Value
RateOfFire
Declaration
Field Value
Type |
Description |
System.Int32 |
|
RicochetSound
Declaration
public MySoundPair RicochetSound
Field Value
ShootIntervalInMiliseconds
Declaration
public int ShootIntervalInMiliseconds
Field Value
Type |
Description |
System.Int32 |
|
ShootSound
Declaration
public MySoundPair ShootSound
Field Value
ShotsInBurst
Declaration
Field Value
Type |
Description |
System.Int32 |
|