Class MyObjectBuilder_AutomaticRifle
Inheritance
System.Object
MyObjectBuilder_AutomaticRifle
Assembly: SpaceEngineers.ObjectBuilders.dll
Syntax
[MyObjectBuilderDefinition]
public class MyObjectBuilder_AutomaticRifle : MyObjectBuilder_EntityBase, IMyObjectBuilder_GunObject<MyObjectBuilder_GunBase>, IMyStackableGunItem
Constructors
MyObjectBuilder_AutomaticRifle()
Declaration
public MyObjectBuilder_AutomaticRifle()
Fields
CurrentAmmo
Declaration
Field Value
| Type |
Description |
| System.Int32 |
|
GunBase
Declaration
[Serialize]
public MyObjectBuilder_GunBase GunBase
Field Value
Methods
CanStack(IMyStackableGunItem)
Declaration
public bool CanStack(IMyStackableGunItem other)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
CanStackWithNullGun()
Declaration
public bool CanStackWithNullGun()
Returns
| Type |
Description |
| System.Boolean |
|
ShouldSerializeCurrentAmmo()
Declaration
public bool ShouldSerializeCurrentAmmo()
Returns
| Type |
Description |
| System.Boolean |
|
Explicit Interface Implementations
IMyObjectBuilder_GunObject<MyObjectBuilder_GunBase>.DeviceBase
Declaration
MyObjectBuilder_DeviceBase IMyObjectBuilder_GunObject<MyObjectBuilder_GunBase>.DeviceBase { get; set; }
Returns
Implements
Extension Methods