DIFF

class BroadcastedBunker

BroadcastedBunker › Bunker › House › BuildingBase › Building › EntityAI › Entity › ObjectTyped › Object › IEntity › Managed

Constants 4

protected static const int RESOLVE_CODELOCK_RETRY_DELAY = 200

ms between client retries while waiting for the codelock attachment to replicate

Referenced by ResolveCodeLock()
protected const string CODE_LOCK_ATTACHMENT_NAME = "att_codelock"
Referenced by GetCodeLock(), and ResolveCodeLock()
protected const string CRATE_SPAWN_POSITION_MEM_NAME = "storagecratepos"
protected const string STORAGE_BOX_CLASSNAME = "StorageBox_Wooden"
Referenced by SpawnStorageBox()

Members 1

private EntityAI m_StorageBox

Methods 8

override void DeferredInit()
override DigitalCodeLock_Bunker GetCodeLock()

client re-sync in case it is not up to date

override protected void OnBunkerActivated(bool loadedAsActive, string codeLockCode)
override protected void OnBunkerDeactivated()
private EntityAI FindOrSpawnStorageBox(bool preferExisting)
Referenced by OnBunkerActivated()