class BaseBuildingBaseSource
BaseBuildingBase › ItemBase › InventoryItem › EntityAI › Entity › ObjectTyped › Object › IEntity › Managed
Derived classes
All members, including inherited
Constructors 1
void BaseBuildingBase()Constants 11
const string ANIMATION_DEPLOYED = "Deployed"const string SOUND_BUILD_WOOD_LOG = "putDown_WoodLog_SoundSet"Referenced by GetBuildSoundByMaterial()
const string SOUND_BUILD_WOOD_PLANK = "putDown_WoodPlank_SoundSet"Referenced by GetBuildSoundByMaterial()
const string SOUND_BUILD_WOOD_STAIRS = "putDown_WoodStairs_SoundSet"Referenced by GetBuildSoundByMaterial()
const string SOUND_BUILD_METAL = "putDown_MetalPlank_SoundSet"Referenced by GetBuildSoundByMaterial()
const string SOUND_BUILD_WIRE = "putDown_BarbedWire_SoundSet"Referenced by GetBuildSoundByMaterial()
const string SOUND_DISMANTLE_WOOD_LOG = "Crash_WoodPlank_SoundSet"Referenced by GetDismantleSoundByMaterial()
const string SOUND_DISMANTLE_WOOD_PLANK = "Crash_WoodPlank_SoundSet"Referenced by GetDismantleSoundByMaterial()
const string SOUND_DISMANTLE_WOOD_STAIRS = "Crash_WoodPlank_SoundSet"Referenced by GetDismantleSoundByMaterial()
const string SOUND_DISMANTLE_METAL = "Crash_MetalPlank_SoundSet"Referenced by GetDismantleSoundByMaterial()
const string SOUND_DISMANTLE_WIRE = "putDown_BarbedWire_SoundSet"Referenced by GetDismantleSoundByMaterial()
Members 12
float m_ConstructionKitHealthstored health value for used construction kit
ref Construction m_Constructionbool m_HasBaseint m_SyncParts01synchronization for already built parts (31 parts)
Referenced by IsPartBuildInSyncData(), OnStoreLoad(), OnStoreSave()
Show 2 more
, RegisterPartForSync(), and UnregisterPartForSync()int m_SyncParts02synchronization for already built parts (+31 parts)
Referenced by IsPartBuildInSyncData(), OnStoreLoad(), OnStoreSave()
Show 2 more
, RegisterPartForSync(), and UnregisterPartForSync()int m_SyncParts03synchronization for already built parts (+31 parts)
Referenced by IsPartBuildInSyncData(), OnStoreLoad(), OnStoreSave()
Show 2 more
, RegisterPartForSync(), and UnregisterPartForSync()int m_InteractedPartIdconstruction part id that an action was performed on
int m_PerformedActionIdaction id that was performed on a construction part
protected EffectSound m_Soundref map<string, ref AreaDamageManager> m_DamageTriggersMethods 97
override void EEDelete(EntityAI parent)override string GetInvulnerabilityTypeString()override bool CanObstruct()override int GetHideIconMask()override void InitItemSounds()override string GetFoldSoundset()override string GetLoopFoldSoundset()Referenced by InitItemSounds()
void SynchronizeBaseState()Referenced by OnPartBuiltServer(), OnPartDestroyedServer(), OnPartDismantledServer()
Show 4 more
, SetPartsAfterStoreLoad(), Fence.CloseFence(), Fence.OpenFence(), and StaticFlagPole.FullyBuild()override void OnVariablesSynchronized()protected void OnSynchronizedClient()void RegisterPartForSync(int part_id)void UnregisterPartForSync(int part_id)Referenced by SetPartFromSyncData()
Referenced by OnPartBuiltServer(), OnPartDestroyedServer(), OnPartDismantledServer()
Show 1 more
, StaticFlagPole.FullyBuild()protected void ResetActionSyncData()protected void SetActionFromSyncData()References GetConstructionPartById(), ConstructionPart.GetPartName(), OnPartBuiltClient()
Show 4 more
, OnPartDestroyedClient(), OnPartDismantledClient(), m_InteractedPartId, and m_PerformedActionIdReferenced by OnSynchronizedClient()
void SetPartFromSyncData(ConstructionPart part)References Object.AddProxyPhysics(), Construction.AddToConstructedParts(), bsbDebugPrint()
Show 16 more
, bsbDebugSpam(), GetConstruction(), Object.GetDebugName(), ConstructionPart.GetId(), ConstructionPart.GetPartName(), Construction.HideConstructionPartPhysics(), ConstructionPart.IsBase(), LogManager.IsBaseBuildingLogEnable(), ConstructionPart.IsBuilt(), IsPartBuildInSyncData(), Construction.RemoveFromConstructedParts(), Object.RemoveProxyPhysics(), Construction.SetLockOnAttachedMaterials(), Construction.ShowConstructionPartPhysics(), ANIMATION_DEPLOYED, and ConstructionPart.m_PartNameReferenced by OnPartBuiltServer(), OnPartDestroyedServer(), OnPartDismantledServer()
Show 2 more
, SetPartsFromSyncData(), and StaticFlagPole.FullyBuild()void SetPartsFromSyncData()References Count(), Get(), GetConstruction()
Show 4 more
, Construction.GetConstructionParts(), map.GetKey(), SetPartFromSyncData(), and UpdateNavmesh()protected ConstructionPart GetConstructionPartById(int id)References Count(), Get(), GetConstruction()
Show 3 more
, Construction.GetConstructionParts(), ConstructionPart.GetId(), and map.GetKey()Referenced by SetActionFromSyncData()
override bool IsDeployable()bool IsOpened()Referenced by ActionDismantlePart.DismantleCondition()
ItemBase CreateConstructionKit()References Class.Cast(), CGame.CreateObjectEx(), GetConstructionKitType()
Show 3 more
, GetKitSpawnPosition(), Object.SetHealth(), and m_ConstructionKitHealthvoid CreateConstructionKitInHands(notnull PlayerBase player)References Class.Cast(), HumanInventory.CreateInHands(), GetConstructionKitType()
Show 3 more
, Man.GetHumanInventory(), Object.SetHealth(), and m_ConstructionKitHealthReferenced by ActionFoldBaseBuildingObject.OnFinishProgressServer()
protected vector GetKitSpawnPosition()References Object.GetPosition()
Referenced by CreateConstructionKit()
protected string GetConstructionKitType()void DestroyConstructionKit(ItemBase construction_kit)void DestroyConstruction()References bsbDebugPrint(), Object.GetDebugName(), LogManager.IsBaseBuildingLogEnable()
Show 1 more
, CGame.ObjectDelete()override void OnStoreSave(ParamsWriteContext ctx)References ItemBase.OnStoreSave(), Serializer.Write(), m_HasBase
Show 3 more
, m_SyncParts01, m_SyncParts02, and m_SyncParts03override bool OnStoreLoad(ParamsReadContext ctx, int version)References ItemBase.OnStoreLoad(), Serializer.Read(), m_HasBase
Show 3 more
, m_SyncParts01, m_SyncParts02, and m_SyncParts03override void AfterStoreLoad()Referenced by Fence.AfterStoreLoad(), TerritoryFlag.AfterStoreLoad(), and Watchtower.AfterStoreLoad()
void SetPartsAfterStoreLoad()References Construction.GetBaseConstructionPart(), GetConstruction(), ConstructionPart.IsBuilt()
Show 3 more
, SetBaseState(), SetPartsFromSyncData(), and SynchronizeBaseState()override void OnCreatePhysics()References Class.Cast(), string.Contains(), Construction.DestroyConnectedParts()
Show 12 more
, Construction.DestroyPartServer(), ItemBase.EEHealthLevelChanged(), EntityAI.FindAttachmentBySlotName(), GetConstruction(), Construction.GetConstructionPart(), CGame.IsMultiplayer(), Construction.IsPartConstructed(), CGame.IsServer(), BarbedWire.SetMountedState(), string.ToLower(), ItemBase.m_FixDamageSystemInit, and GameConstants.STATE_RUINEDoverride void EEOnAfterLoad()References ScriptCallQueue.CallLater(), ItemBase.EEOnAfterLoad(), DayZGame.GetCallQueue()
Show 1 more
, ItemBase.m_FixDamageSystemInitoverride void EEInit()References CheckForHybridAttachments(), EntityAI.EEItemAttached(), UpdateAttachmentPhysics()
Show 1 more
, UpdateVisuals()Referenced by TerritoryFlag.EEItemDetached()
override bool IgnoreOutOfReachCondition()Referenced by FullyBuild(), Construction.BuildPartServer(), Fence.OnPartBuiltServer()
Show 2 more
, TerritoryFlag.OnPartBuiltServer(), and Watchtower.OnPartBuiltServer()References SoundBuildStart()
Referenced by SetActionFromSyncData()
References bsbDebugPrint(), ScriptCallQueue.CallLater(), DayZGame.GetCallQueue()
Show 12 more
, GetConstruction(), Construction.GetConstructionPart(), Object.GetDebugName(), ConstructionPart.GetId(), ConstructionPart.IsBase(), LogManager.IsBaseBuildingLogEnable(), RegisterActionForSync(), SetPartFromSyncData(), SynchronizeBaseState(), UnregisterPartForSync(), UpdateNavmesh(), and UpdateVisuals()References SoundDismantleStart()
Referenced by SetActionFromSyncData()
void OnPartDestroyedServer(Man player, string part_name, int action_id, bool destroyed_by_connected_part = false)References bsbDebugPrint(), ScriptCallQueue.CallLater(), DayZGame.GetCallQueue()
Show 12 more
, GetConstruction(), Construction.GetConstructionPart(), Object.GetDebugName(), ConstructionPart.GetId(), ConstructionPart.IsBase(), LogManager.IsBaseBuildingLogEnable(), RegisterActionForSync(), SetPartFromSyncData(), SynchronizeBaseState(), UnregisterPartForSync(), UpdateNavmesh(), and UpdateVisuals()References SoundDestroyStart()
Referenced by SetActionFromSyncData()
protected void HandleItemFalling(ConstructionPart part)Disconnected temporarily
References string.Contains(), Object.GetMemoryPointPos(), ItemFall()
Show 6 more
, Debug.Log(), Math.Max(), Object.MemoryPointExists(), Math.Min(), Object.ModelToWorld(), and ConstructionPart.m_PartNameDisconnected temporarily
References Object.CanUseConstruction(), Class.CastTo(), DayZPlayerUtils.PhysicsGetEntitiesInBox()
Show 2 more
, InventoryItem.ThrowPhysically(), and vector.ZeroReferenced by HandleItemFalling()
void InitBaseState()References bsbDebugPrint(), GetConstruction(), Object.GetDebugName()
Show 4 more
, Construction.InitBaseState(), InitVisuals(), LogManager.IsBaseBuildingLogEnable(), and UpdateNavmesh()Referenced by EEInit()
void InitVisuals()Referenced by InitBaseState()
void UpdateVisuals()Referenced by EEItemAttached(), EEItemDetached(), OnPartBuiltServer()
Show 13 more
, OnPartDestroyedServer(), OnPartDismantledServer(), OnSynchronizedClient(), Fence.AfterStoreLoad(), Fence.OnPartBuiltServer(), Fence.OnPartDestroyedServer(), Fence.OnPartDismantledServer(), StaticFlagPole.FullyBuild(), TerritoryFlag.AfterStoreLoad(), TerritoryFlag.OnPartBuiltServer(), TerritoryFlag.OnPartDestroyedServer(), TerritoryFlag.OnPartDismantledServer(), and Watchtower.UpdateVisuals()References Class.Cast(), CreateAreaDamage(), DestroyAreaDamage()
Show 3 more
, EntityAI.FindAttachmentBySlotName(), BarbedWire.IsMounted(), and Entity.SetAnimationPhase()void UpdatePhysics()Referenced by BarbedWire.UpdateAttachmentSlot(), EEItemAttached(), EEItemDetached()
Show 2 more
, OnSetSlotLock(), and UpdatePhysics()override bool CanUseConstruction()Referenced by ActionMountBarbedWire.ActionCondition(), and ActionUnmountBarbedWire.ActionCondition()
override bool CanUseConstructionBuild()Referenced by ActionMountBarbedWire.ActionCondition(), and ActionUnmountBarbedWire.ActionCondition()
bool CheckSlotVerticalDistance(int slot_id, PlayerBase player)Referenced by ActionAttachToConstruction.ActionCondition()
protected bool CheckMemoryPointVerticalDistance(float max_dist, string selection, PlayerBase player)protected bool CheckLevelVerticalDistance(float max_dist, string selection, PlayerBase player)void ConstructionInit()Construction GetConstruction()References m_Construction
Referenced by ActionBuildPart.ActionConditionContinue(), ActionBuildPart.OnFinishProgressServer(), ActionBuildShelter.ActionConditionContinue()
Show 43 more
, ActionBuildShelter.OnFinishProgressServer(), ActionDestroyPart.DestroyCondition(), ActionDestroyPart.OnFinishProgressServer(), ActionDismantlePart.DismantleCondition(), ActionDismantlePart.OnFinishProgressServer(), ActionRepairPart.OnFinishProgressServer(), ActionRepairPart.RepairCondition(), ConstructionInit(), CreateAreaDamage(), EEHealthLevelChanged(), FullyBuild(), GetBuildSoundByMaterial(), GetConstructionPartById(), GetDismantleSoundByMaterial(), InitBaseState(), InitVisuals(), OnPartBuiltServer(), OnPartDestroyedServer(), OnPartDismantledServer(), SetPartFromSyncData(), SetPartsAfterStoreLoad(), SetPartsFromSyncData(), UpdatePhysics(), UpdateVisuals(), ConstructionActionData.OnUpdateActions(), ConstructionActionData.OnUpdateActionsNoTool(), Fence.AfterStoreLoad(), Fence.CheckGateState(), Fence.GateAttachmentConditions(), Fence.GateAttachmentsSanityCheck(), Fence.OnPartBuiltServer(), Fence.OnPartDestroyedServer(), Fence.OnPartDismantledServer(), MiscGameplayFunctions.ComplexBuildCollideCheckClient(), ShelterSite.OnPartBuiltServer(), StaticFlagPole.FullyBuild(), TerritoryFlag.CanDisplayAttachmentCategory(), TerritoryFlag.CanReceiveAttachment(), TerritoryFlag.OnPartDismantledServer(), Watchtower.CanDisplayAttachmentCategory(), Watchtower.CanDisplayAttachmentSlot(), Watchtower.CheckSlotVerticalDistance(), and Watchtower.UpdateVisuals()References ItemBase.CanReceiveAttachment()
bool HasAttachmentsBesidesBase()override bool ShowZonesHealth()override bool IsTakeable()Referenced by Fence.CanPutIntoHands()
override bool IsFacingPlayer(PlayerBase player, string selection)Referenced by ActionRepairPart.RepairCondition()
override bool IsPlayerInside(PlayerBase player, string selection)bool MustBeBuiltFromOutside()Some buildings can only be built from outside
Referenced by MiscGameplayFunctions.BuildCondition()
bool PerformRoofCheckForBase(string partName, PlayerBase player, out bool result)Referenced by MiscGameplayFunctions.ComplexBuildCollideCheckClient()
bool HasProperDistance(string selection, PlayerBase player)Referenced by ActionRepairPart.RepairCondition()
bool CanFoldBaseBuildingObject()Referenced by ActionFoldBaseBuildingObject.ActionCondition()
ItemBase FoldBaseBuildingObject()References new AreaDamageLoopedDeferred_NoVehicle(), CalcDamageAreaRotation(), DestroyAreaDamage()
Show 20 more
, Construction.GetBoxCenter(), GetConstruction(), Object.GetMemoryPointPos(), Object.GetOrientation(), Construction.GetTriggerExtents(), map.Insert(), CGame.IsServer(), Object.MemoryPointExists(), Object.ModelToWorld(), AreaDamageManager.SetAmmoName(), AreaDamageManager.SetAreaOrientation(), AreaDamageManager.SetAreaPosition(), AreaDamageManager.SetDamageComponentType(), AreaDamageLoopedDeferred.SetDeferDuration(), AreaDamageManager.SetExtents(), AreaDamageManager.SetHitZones(), AreaDamageLooped.SetLoopInterval(), AreaDamageManager.Spawn(), AreaDamageComponentTypes.HITZONE, and m_DamageTriggersReferenced by UpdateAttachmentVisuals(), Fence.CreateAreaDamage(), and Fence.UpdateBarbedWireAreaDamagePos()
References Math.Cos(), Object.GetMemoryPointPos(), Object.MemoryPointExists()
Show 3 more
, Object.ModelToWorld(), Math.Sin(), and Math.DEG2RADReferenced by CreateAreaDamage()
void DestroyAreaDamage(string slot_name)References AreaDamageManager.Destroy(), map.Find(), CGame.IsServer()
Show 2 more
, map.Remove(), and m_DamageTriggersReferenced by CreateAreaDamage(), UpdateAttachmentVisuals(), and Fence.UpdateBarbedWireAreaDamagePos()
override bool IsIgnoredByConstruction()protected void SoundBuildStart(string part_name)Referenced by OnPartBuiltClient()
protected void SoundDismantleStart(string part_name)Referenced by OnPartDismantledClient()
protected void SoundDestroyStart(string part_name)Referenced by OnPartDestroyedClient()
References GetConstruction(), Construction.GetMaterialType(), SOUND_BUILD_METAL
Show 4 more
, SOUND_BUILD_WIRE, SOUND_BUILD_WOOD_LOG, SOUND_BUILD_WOOD_PLANK, and SOUND_BUILD_WOOD_STAIRSReferenced by SoundBuildStart()
References array.Find(), Object.GetHealth(), CGame.IsMultiplayer()
Show 3 more
, CGame.IsServer(), Object.SetHealth(), and m_HybridAttachmentsReferenced by EEItemAttached()
override int GetDamageSystemVersionChange()override void SetActions()Referenced by Fence.SetActions(), ShelterSite.SetActions(), TerritoryFlag.SetActions()
Show 1 more
, Watchtower.SetActions()protected void DebugCustomState()Referenced by EEInit()
Excludes certain parts from being built by OnDebugSpawn, uses Contains to compare
Referenced by FullyBuild()
override void OnDebugSpawn()References FullyBuild()
void FullyBuild()Referenced by OnDebugSpawn()