class BaseBuildingBase
BaseBuildingBase › ItemBase › InventoryItem › EntityAI › Entity › ObjectTyped › Object › IEntity › Managed
Constructors 1
void BaseBuildingBase()Constants 11
const string ANIMATION_DEPLOYED = "Deployed"const string SOUND_BUILD_WOOD_LOG = "putDown_WoodLog_SoundSet"const string SOUND_BUILD_WOOD_PLANK = "putDown_WoodPlank_SoundSet"Referenced by GetBuildSoundByMaterial()
const string SOUND_BUILD_WOOD_STAIRS = "putDown_WoodStairs_SoundSet"const string SOUND_BUILD_METAL = "putDown_MetalPlank_SoundSet"Referenced by GetBuildSoundByMaterial()
const string SOUND_BUILD_WIRE = "putDown_BarbedWire_SoundSet"const string SOUND_DISMANTLE_WOOD_LOG = "Crash_WoodPlank_SoundSet"const string SOUND_DISMANTLE_WOOD_PLANK = "Crash_WoodPlank_SoundSet"Referenced by GetDismantleSoundByMaterial()
const string SOUND_DISMANTLE_WOOD_STAIRS = "Crash_WoodPlank_SoundSet"const string SOUND_DISMANTLE_METAL = "Crash_MetalPlank_SoundSet"Referenced by GetDismantleSoundByMaterial()
const string SOUND_DISMANTLE_WIRE = "putDown_BarbedWire_SoundSet"Members 12
float m_ConstructionKitHealthstored health value for used construction kit
bool 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 ref ConstructionBasic m_Constructionprotected EffectSound m_Soundref map<string, ref AreaDamageManager> m_DamageTriggersMethods 99
override string GetInvulnerabilityTypeString()Referenced by BaseBuildingBase()
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(), ConstructionBase.AddToConstructedParts(), bsbDebugPrint()
Show 15 more
, bsbDebugSpam(), GetConstruction(), Object.GetDebugName(), ConstructionPart.GetId(), ConstructionPart.GetPartName(), ConstructionBase.HideConstructionPartPhysics(), ConstructionPart.IsBase(), LogManager.IsBaseBuildingLogEnable(), ConstructionPart.IsBuilt(), IsPartBuildInSyncData(), ConstructionBase.RemoveFromConstructedParts(), Object.RemoveProxyPhysics(), ConstructionBase.SetLockOnAttachedMaterials(), ConstructionBase.ShowConstructionPartPhysics(), and ANIMATION_DEPLOYEDReferenced by OnPartBuiltServer(), OnPartDestroyedServer(), OnPartDismantledServer()
Show 2 more
, SetPartsFromSyncData(), and StaticFlagPole.FullyBuild()void SetPartsFromSyncData()References Count(), Get(), GetConstruction()
Show 4 more
, ConstructionBase.GetConstructionParts(), map.GetKey(), SetPartFromSyncData(), and UpdateNavmesh()protected ConstructionPart GetConstructionPartById(int id)References Count(), Get(), GetConstruction()
Show 3 more
, ConstructionBase.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_ConstructionKitHealthReferenced by FoldBaseBuildingObject(), OnPartBuiltServer(), ShelterSite.OnItemFallRebuilding()
Show 1 more
, StaticFlagPole.FullyBuild()void 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 EEDelete(EntityAI parent)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 ConstructionBase.GetBaseConstructionPart(), GetConstruction(), ConstructionPart.IsBuilt()
Show 3 more
, SetBaseState(), SetPartsFromSyncData(), and SynchronizeBaseState()override void OnCreatePhysics()override void EEOnAfterLoad()References ScriptCallQueue.CallLater(), ItemBase.EEOnAfterLoad(), DayZGame.GetCallQueue()
Show 1 more
, ItemBase.m_FixDamageSystemInitReferences CheckForHybridAttachments(), EntityAI.EEItemAttached(), UpdateAttachmentPhysics()
Show 1 more
, UpdateVisuals()Referenced by TerritoryFlag.EEItemDetached()
override bool IgnoreOutOfReachCondition()Referenced by FullyBuild(), Construction.BuildPartServerEx(), 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(), ConstructionBase.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(), ConstructionBase.GetConstructionPart(), Object.GetDebugName(), ConstructionPart.GetId(), ConstructionPart.IsBase(), LogManager.IsBaseBuildingLogEnable(), RegisterActionForSync(), SetPartFromSyncData(), SynchronizeBaseState(), UnregisterPartForSync(), UpdateNavmesh(), and UpdateVisuals()References SoundDestroyStart()
Referenced by SetActionFromSyncData()
void InitBaseState()References bsbDebugPrint(), Object.GetDebugName(), InitVisuals()
Show 2 more
, LogManager.IsBaseBuildingLogEnable(), and UpdateNavmesh()Referenced by Construction.InitBaseState()
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)protected bool CheckMemoryPointVerticalDistance(float max_dist, string selection, PlayerBase player)protected bool CheckLevelVerticalDistance(float max_dist, string selection, PlayerBase player)override protected ConstructionBasic CreateConstructionComponent()override ConstructionBasic GetConstructionBasic()References m_Construction
Referenced by ConstructionActionData.OnUpdateActionsNoTool()
Construction GetConstruction()Referenced by ActionBuildShelter.ActionConditionContinue(), ActionBuildShelter.OnFinishProgressServer(), CreateAreaDamage()
Show 30 more
, DestroyConstructedParts(), FullyBuild(), GetBuildSoundByMaterial(), GetConstructionPartById(), GetDismantleSoundByMaterial(), HandleFallingForConstructedParts(), InitVisuals(), OnPartBuiltServer(), OnPartDestroyedServer(), OnPartDismantledServer(), SetPartFromSyncData(), SetPartsAfterStoreLoad(), SetPartsFromSyncData(), UpdatePhysics(), UpdateVisuals(), Fence.AfterStoreLoad(), Fence.CheckGateState(), Fence.GateAttachmentConditions(), Fence.GateAttachmentsSanityCheck(), Fence.OnPartDestroyedServer(), Fence.OnPartDismantledServer(), ShelterSite.OnPartBuiltServer(), StaticFlagPole.FullyBuild(), TerritoryFlag.CanDisplayAttachmentCategory(), TerritoryFlag.CanReceiveAttachment(), TerritoryFlag.OnPartDismantledServer(), Watchtower.CanDisplayAttachmentCategory(), Watchtower.CanDisplayAttachmentSlot(), Watchtower.CheckSlotVerticalDistance(), and Watchtower.UpdateVisuals()bool HasAttachmentsBesidesBase()override bool ShowZonesHealth()override bool IsTakeable()Referenced by Fence.CanPutIntoHands()
override bool IsFacingPlayer(PlayerBase player, string selection)override bool IsPlayerInside(PlayerBase player, string selection)bool MustBeBuiltFromOutside()Some buildings can only be built from outside
bool PerformRoofCheckForBase(string partName, PlayerBase player, out bool result)bool HasProperDistance(string selection, PlayerBase player)bool CanFoldBaseBuildingObject()Referenced by ActionFoldBaseBuildingObject.ActionCondition()
ItemBase FoldBaseBuildingObject()References new AreaDamageLoopedDeferred_NoVehicle(), CalcDamageAreaRotation(), DestroyAreaDamage()
Show 20 more
, ConstructionBase.GetBoxCenter(), GetConstruction(), Object.GetMemoryPointPos(), Object.GetOrientation(), ConstructionBase.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(), ConstructionBase.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 DestroyConstructedParts()References Count(), Construction.DestroyPartServer(), GetConstruction()
Show 5 more
, ConstructionBase.GetConstructionParts(), GetElement(), ConstructionPart.GetPartName(), ConstructionPart.IsBuilt(), and ConstructionPart.IsUtilityPart()Referenced by OnItemFallRebuilding()
protected void HandleFallingForConstructedParts()References Count(), GetConstruction(), ConstructionBase.GetConstructionParts()
Show 5 more
, GetElement(), ConstructionPart.GetPartName(), ConstructionBase.HandleEntityFalling(), ConstructionPart.IsBuilt(), and ConstructionPart.IsUtilityPart()Referenced by OnItemFallRebuilding()
override void OnItemFallRebuilding()@Note for modders: This method and is subject to change!
void DropAttachmentAndCargoItems()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()
protected void HandleItemFalling(ConstructionPart part)protected void DebugCustomState()