Class Module_CargoBay
public class Module_CargoBay : PartBehaviourModule, IPartModule, IFixedUpdate, IPriorityOverride, IUpdate, IObjectAssemblyPartModule
- Inheritance
-
Module_CargoBay
- Implements
- Inherited Members
- Extension Methods
Constructors
Module_CargoBay()
public Module_CargoBay()
Fields
_layerMask
protected int _layerMask
Field Value
dataCargoBay
protected Data_CargoBay dataCargoBay
Field Value
Properties
PartComponentModuleType
public override Type PartComponentModuleType { get; }
Property Value
Methods
AddConnectingPart(PartBehavior)
public void AddConnectingPart(PartBehavior p)
Parameters
AddDataModules()
protected override void AddDataModules()
CheckClosedStatus()
protected void CheckClosedStatus()
ClearConnectingParts()
public void ClearConnectingParts()
ClosedAndLocked()
public bool ClosedAndLocked()
Returns
EndCapped()
protected bool EndCapped()
Returns
FindPartColliders(PartBehavior)
public static List<PartCollider> FindPartColliders(PartBehavior p)
Parameters
Returns
ModifyShieldInEnclosedParts(bool)
public void ModifyShieldInEnclosedParts(bool shieldStatus)
Parameters
shieldStatusbool
OnInitialize()
protected override void OnInitialize()
OnShutdown()
protected override void OnShutdown()
OnStartFinished()
public void OnStartFinished()
ScheduleColliderResetForAllBays()
public void ScheduleColliderResetForAllBays()
SelfClosedAndLocked()
public bool SelfClosedAndLocked()
Returns
SetLookupCenter(Vector3)
public void SetLookupCenter(Vector3 p)
Parameters
pVector3
SetLookupRadius(float)
public void SetLookupRadius(float radius)
Parameters
radiusfloat
TestAttachmentFit(AttachNodeData)
protected bool TestAttachmentFit(AttachNodeData n)