DIFF

class Rebuilding

Rebuilding › ConstructionBase › ConstructionBasic

Members 24

static int REBUILDING_STORAGE_VERSION = 1
protected int m_LastStorageVersion
protected int m_SyncParts1Local
Referenced by HandleSyncedParts()
protected int m_SyncParts2Local
Referenced by HandleSyncedParts()
protected int m_SyncParts3Local
Referenced by HandleSyncedParts()
protected int m_SyncParts4Local
Referenced by HandleSyncedParts()
protected int m_SyncParts5Local
Referenced by HandleSyncedParts()
protected int m_SyncParts6Local
Referenced by HandleSyncedParts()
protected int m_SyncParts7Local
Referenced by HandleSyncedParts()
protected int m_SyncParts8Local
Referenced by HandleSyncedParts()
protected int m_SyncParts9Local
Referenced by HandleSyncedParts()
protected int m_SyncParts10Local
Referenced by HandleSyncedParts()
protected ref map<int, int> m_SupportRequirement

Methods 37

override void BuildPartServerEx(Man player, string part_name, int action_id)
override void DismantlePartServerEx(Man player, string part_name, int action_id)
override void DestroyPartServer(Man player, string part_name, int action_id, bool destroyed_by_connected_part = false)
override void OnConstructionVariablesSynchronized()
bool SetAllPartsFromSyncData(out array<ConstructionPart> changedParts = null)

returns 'true' if any part state was changed

override bool HandleStorageEvents()
override void Init()
protected void InitBaseStateDeferred()
override void InitBaseState()
protected void InitSupportMap()
Referenced by Init()
override protected typename GetDefaultPartInstanceTypename()
override protected bool HasRequiredPart(string part_name)

Also checks for all listed variant categories (at least 1 from each is required)