class Rebuilding
Rebuilding › ConstructionBase › ConstructionBasic
Members 24
static int REBUILDING_STORAGE_VERSION = 1protected int m_LastStorageVersionReferenced by DeserializeConstructionData()
protected int m_SyncParts1protected int m_SyncParts2protected int m_SyncParts3protected int m_SyncParts4protected int m_SyncParts5protected int m_SyncParts6protected int m_SyncParts7protected int m_SyncParts8protected int m_SyncParts9protected int m_SyncParts10protected int m_SyncParts1LocalReferenced by HandleSyncedParts()
protected int m_SyncParts2LocalReferenced by HandleSyncedParts()
protected int m_SyncParts3LocalReferenced by HandleSyncedParts()
protected int m_SyncParts4LocalReferenced by HandleSyncedParts()
protected int m_SyncParts5LocalReferenced by HandleSyncedParts()
protected int m_SyncParts6LocalReferenced by HandleSyncedParts()
protected int m_SyncParts7LocalReferenced by HandleSyncedParts()
protected int m_SyncParts8LocalReferenced by HandleSyncedParts()
protected int m_SyncParts9LocalReferenced by HandleSyncedParts()
protected int m_SyncParts10LocalReferenced by HandleSyncedParts()
Referenced by AddSupportRequirementFromSourcePart(), InitSupportMap(), RemoveSupportRequirementFromSourcePart()
Show 1 more
, SupportRemovalCheck()Referenced by AddSupportFulfillmentFromSourcePart(), InitSupportMap(), PartHasAnySupportFulfilled()
Show 2 more
, RemoveSupportFulfillmentFromSourcePart(), and SupportRemovalCheck()Methods 37
override void OnConstructionVariablesSynchronized()protected void HandleSyncedParts()References ConstructionBase.QueueFullUpdateParts(), SetAllPartsFromSyncData(), m_SyncParts1
Show 19 more
, m_SyncParts10, m_SyncParts10Local, m_SyncParts1Local, m_SyncParts2, m_SyncParts2Local, m_SyncParts3, m_SyncParts3Local, m_SyncParts4, m_SyncParts4Local, m_SyncParts5, m_SyncParts5Local, m_SyncParts6, m_SyncParts6Local, m_SyncParts7, m_SyncParts7Local, m_SyncParts8, m_SyncParts8Local, m_SyncParts9, and m_SyncParts9LocalReferenced by OnConstructionVariablesSynchronized()
override void HandleSyncDataBuild(ConstructionPart part)override void HandleSyncDataDismantle(ConstructionPart part)override void HandleSyncDataDestroy(ConstructionPart part)int GetPartLocalSyncBitMaskValue(ConstructionPart part)Returns the translated value of 'GetSyncDataSize' size (currently 2 bits)
Referenced by UpdatePartSyncStateLocal()
bool SetAllPartsFromSyncData(out array<ConstructionPart> changedParts = null)returns 'true' if any part state was changed
override bool UpdatePartSyncStateLocal(ConstructionPart part)Sets local construction part state
Referenced by SetAllPartsFromSyncData()
protected bool SetPartStateLocal(ConstructionPart part)Referenced by UpdatePartSyncStateLocal()
override void AddToConstructedParts(string part_name)References AddSupportFulfillmentFromSourcePart(), AddSupportRequirementFromSourcePart(), and ConstructionBase.AddToConstructedParts()
Referenced by SetPartStateLocal()
override void RemoveFromConstructedParts(string part_name)References ConstructionBase.RemoveFromConstructedParts(), RemoveSupportFulfillmentFromSourcePart(), and RemoveSupportRequirementFromSourcePart()
Referenced by SetPartStateLocal()
override void OnConstructionDoorOpenStart(DoorStartParams params)override void OnConstructionDoorCloseStart(DoorStartParams params)override bool HandleStorageEvents()override void HandleStoreSave(ParamsWriteContext ctx)override void HandleStoreLoad(ParamsReadContext ctx, int version)protected void SerializeConstructionData(ParamsWriteContext ctx)References Serializer.Write(), m_SyncParts1, m_SyncParts10
Show 9 more
, m_SyncParts2, m_SyncParts3, m_SyncParts4, m_SyncParts5, m_SyncParts6, m_SyncParts7, m_SyncParts8, m_SyncParts9, and REBUILDING_STORAGE_VERSIONReferenced by HandleStoreSave()
protected bool DeserializeConstructionData(ParamsReadContext ctx, int version)References ErrorEx(), Serializer.Read(), m_LastStorageVersion
Show 11 more
, m_SyncParts1, m_SyncParts10, m_SyncParts2, m_SyncParts3, m_SyncParts4, m_SyncParts5, m_SyncParts6, m_SyncParts7, m_SyncParts8, m_SyncParts9, and REBUILDING_STORAGE_VERSIONReferenced by HandleStoreLoad()
override void Init()protected void InitBaseStateDeferred()override void InitBaseState()protected void InitSupportMap()Referenced by Init()
override protected typename GetDefaultPartInstanceTypename()protected ConstructionPartRebuild GetRebuildingPart(string part_name)Also checks for all listed variant categories (at least 1 from each is required)
References GetRebuildingPart(), ConstructionPart.GetRequiredPartsVariants(), ConstructionBase.HasRequiredPart()
Show 1 more
, ConstructionBase.IsPartConstructed()Referenced by CanDisplayAttachmentCategoryConstruction()
Referenced by GetValidDepenentPartsArray()
protected void AddSupportFulfillmentFromSourcePart(string part_name)Referenced by AddToConstructedParts()
protected void RemoveSupportFulfillmentFromSourcePart(string part_name)Referenced by RemoveFromConstructedParts()
protected void AddSupportRequirementFromSourcePart(string part_name)Referenced by AddToConstructedParts()
protected void RemoveSupportRequirementFromSourcePart(string part_name)Referenced by RemoveFromConstructedParts()
client-side distance checks (valid memory point and configuration required)
References ConstructionBasic.CanDisplayAttachmentCategoryConstruction(), array.Count(), map.Get()