Show / Hide Table of Contents

Class MyObjectBuilder_AutomaticRifle

Inheritance
System.Object
MyObjectBuilder_Base
MyObjectBuilder_EntityBase
MyObjectBuilder_AutomaticRifle
Implements
IMyObjectBuilder_GunObject<MyObjectBuilder_GunBase>
Inherited Members
MyObjectBuilder_EntityBase.EntityId
MyObjectBuilder_EntityBase.PersistentFlags
MyObjectBuilder_EntityBase.Name
MyObjectBuilder_EntityBase.PositionAndOrientation
MyObjectBuilder_EntityBase.LocalPositionAndOrientation
MyObjectBuilder_EntityBase.ComponentContainer
MyObjectBuilder_EntityBase.EntityDefinitionId
MyObjectBuilder_EntityBase.ShouldSerializePositionAndOrientation()
MyObjectBuilder_EntityBase.ShouldSerializeLocalPositionAndOrientation()
MyObjectBuilder_EntityBase.ShouldSerializeComponentContainer()
MyObjectBuilder_EntityBase.ShouldSerializeEntityDefinitionId()
MyObjectBuilder_EntityBase.Remap(IMyRemapHelper)
MyObjectBuilder_Base.ShouldSerializeSubtypeId()
MyObjectBuilder_Base.Clone()
MyObjectBuilder_Base.Equals(MyObjectBuilder_Base)
MyObjectBuilder_Base.SubtypeId
MyObjectBuilder_Base.SubtypeName
MyObjectBuilder_Base.TypeId
Namespace: Sandbox.Common.ObjectBuilders
Assembly: SpaceEngineers.ObjectBuilders.dll
Syntax
[MyObjectBuilderDefinition]
public class MyObjectBuilder_AutomaticRifle : MyObjectBuilder_EntityBase, IMyObjectBuilder_GunObject<MyObjectBuilder_GunBase>

Constructors

MyObjectBuilder_AutomaticRifle()

Declaration
public MyObjectBuilder_AutomaticRifle()

Fields

CurrentAmmo

Declaration
public int CurrentAmmo
Field Value
Type Description
System.Int32

GunBase

Declaration
[Serialize]
public MyObjectBuilder_GunBase GunBase
Field Value
Type Description
MyObjectBuilder_GunBase

Methods

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
Type Description
MyObjectBuilder_DeviceBase

Implements

IMyObjectBuilder_GunObject<T>

Extension Methods

MyObjectBuilderExtensions.GetId(MyObjectBuilder_Base)
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾