![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Data Structures | |
| class | ConstructionBoxTrigger |
| class | StaticConstructionMethods |
Enumerations | |
| enum | ConstructionMaterialType { MATERIAL_NONE = 0 , MATERIAL_LOG = 1 , MATERIAL_WOOD = 2 , MATERIAL_STAIRS = 3 , MATERIAL_METAL = 4 , MATERIAL_WIRE = 5 } |
Variables | |
| static const float | DECONSTURCT_MATERIAL_LOSS = 0.2 |
| class StaticConstructionMethods | m_AdditionalExcludes |
| Data structure for passing parameters (extendable, modable). | |
| Shape | m_CollisionBox |
| ConstructionBoxTrigger | m_ConstructionBoxTrigger |
| ref map< string, ref ConstructionPart > | m_ConstructionParts |
| BaseBuildingBase | m_Parent |
| string | m_PartName |
| int | m_PrimaryGeometry |
| int | m_SecondaryGeometry |
| enum ConstructionMaterialType | REPAIR_MATERIAL_PERCENTAGE = 0.15 |
| Enumerator | |
|---|---|
| MATERIAL_NONE | |
| MATERIAL_LOG | |
| MATERIAL_WOOD | |
| MATERIAL_STAIRS | |
| MATERIAL_METAL | |
| MATERIAL_WIRE | |
Definition at line 1 of file construction.c.
|
protected |
Definition at line 52 of file construction.c.
References bsbDebugPrint(), GetConstructionPart(), ConstructionPart::GetPartName(), LogManager::IsBaseBuildingLogEnable(), m_Parent, and ConstructionPart::SetBuiltState().
Definition at line 75 of file construction.c.
References bsbDebugPrint(), DestroyCollisionTrigger(), GetInvulnerabilityTypeString(), GetParent(), LogManager::IsBaseBuildingLogEnable(), and TakeMaterialsServer().
Definition at line 296 of file construction.c.
References CanUseToolToBuildPart(), HasConflictPart(), HasMaterials(), HasRequiredPart(), IsPartConstructed(), and MaterialIsRuined().
Referenced by GetConstructionPartsToBuild().
Definition at line 566 of file construction.c.
References HasDependentPart(), and IsPartConstructed().
Referenced by GetConstructionPartToDestroy().
Definition at line 468 of file construction.c.
References CanUseToolToDismantlePart(), HasDependentPart(), and IsPartConstructed().
Referenced by GetConstructionPartToDismantle().
Definition at line 959 of file construction.c.
References g_Game, GetConstructionPart(), ConstructionPart::GetMainPartName(), GetParent(), and ConstructionPart::GetPartName().
Referenced by CanBuildPart().
Definition at line 982 of file construction.c.
References g_Game, GetConstructionPart(), ConstructionPart::GetMainPartName(), GetParent(), and ConstructionPart::GetPartName().
Referenced by CanDismantlePart().
|
protected |
Definition at line 1329 of file construction.c.
References m_AdditionalExcludes, m_PartName, m_PrimaryGeometry, and m_SecondaryGeometry.
Referenced by ActionBuildPart::ActionConditionContinue(), ActionBuildShelter::ActionConditionContinue(), IsCollidingEx(), and ActionBuildPart::OnFinishProgressServer().
|
protected |
Definition at line 26 of file construction.c.
References m_ConstructionParts, and SetParent().
Referenced by ActionBuildPart::ActionConditionContinue(), ActionBuildShelter::ActionConditionContinue(), ComplexBuildCollideCheckClient(), ItemBase::ConstructionInit(), ActionDestroyPart::DestroyCondition(), ActionDismantlePart::DismantleCondition(), ItemBase::EEHealthLevelChanged(), ItemBase::GetConstruction(), ItemBase::GetConstructionPartById(), ActionBuildPart::OnFinishProgressServer(), ActionBuildShelter::OnFinishProgressServer(), ActionDestroyPart::OnFinishProgressServer(), ActionDismantlePart::OnFinishProgressServer(), ActionRepairPart::OnFinishProgressServer(), ActionRepairPart::RepairCondition(), ItemBase::SetPartsFromSyncData(), and StaticConstructionMethods::SpawnConstructionMaterialPiles().
Definition at line 1190 of file construction.c.
References DestroyCollisionTrigger(), g_Game, GetOrientation(), GetParent(), GetTriggerExtents(), and m_ConstructionBoxTrigger.
|
protected |
Definition at line 1218 of file construction.c.
References g_Game, and m_ConstructionBoxTrigger.
Referenced by BuildPartServer(), and CreateCollisionTrigger().
|
protected |
Definition at line 141 of file construction.c.
References AT_DESTROY_PART, bsbDebugPrint(), DestroyPartServer(), ExceptionCheck(), GetValidDepenentPartsArray(), and LogManager::IsBaseBuildingLogEnable().
|
protected |
Definition at line 1181 of file construction.c.
References m_CollisionBox.
Referenced by Hologram::~Hologram(), DrawDebugCollisionBox(), Hologram::IsCollidingBBox(), Hologram::IsCollidingGeometryProxy(), and Hologram::UpdateHologram().
|
protected |
Definition at line 740 of file construction.c.
References bsbDebugPrint(), g_Game, GetConstructionPart(), ConstructionPart::GetMainPartName(), GetParent(), InventoryLocation::GetSlot(), and LogManager::IsBaseBuildingLogEnable().
Referenced by DestroyPartServer().
|
protected |
Definition at line 121 of file construction.c.
References bsbDebugPrint(), DestroyMaterialsServer(), DropNonUsableMaterialsServer(), GetParent(), and LogManager::IsBaseBuildingLogEnable().
Referenced by DestroyConnectedParts().
Definition at line 98 of file construction.c.
References bsbDebugPrint(), DropNonUsableMaterialsServer(), GetParent(), LogManager::IsBaseBuildingLogEnable(), and ReceiveMaterialsServer().
Definition at line 1170 of file construction.c.
References DestroyDebugCollisionBox(), Debug::DrawBox(), GetParent(), and m_CollisionBox.
Referenced by Hologram::IsCollidingBBox(), and Hologram::IsCollidingGeometryProxy().
|
protected |
Definition at line 788 of file construction.c.
References bsbDebugPrint(), string::Contains(), ECE_PLACE_ON_SURFACE, g_Game, GetConstructionPart(), InventoryLocation::GetDir(), ConstructionPart::GetMainPartName(), GetParent(), ConstructionPart::GetPartName(), InventoryLocation::GetSlot(), ConstructionPart::IsBase(), LogManager::IsBaseBuildingLogEnable(), string::Length(), EntityAI::LocalTakeToDst(), UAItemsSpreadRadius::NARROW, RF_DEFAULT, EntityAI::ServerTakeToDst(), InventoryLocation::SetGround(), InventoryLocation::SetGroundEx(), ItemBase::SetQuantity(), and string::ToLower().
Referenced by DestroyPartServer(), and DismantlePartServer().
Exceptions from 'dependent parts' hierarchy are handled here.
Definition at line 157 of file construction.c.
References GetConstructionPart(), and ConstructionPart::IsGate().
Referenced by DestroyConnectedParts().
|
protected |
Definition at line 378 of file construction.c.
References ConstructionPart::IsBase(), and m_ConstructionParts.
Definition at line 1146 of file construction.c.
References Vector().
Referenced by IsColliding(), and IsCollidingEx().
Definition at line 1125 of file construction.c.
References g_Game, GetConstructionPart(), ConstructionPart::GetMainPartName(), and GetParent().
Referenced by IsColliding(), and IsCollidingEx().
Definition at line 1113 of file construction.c.
References Math::AbsFloat(), and Vector().
Referenced by GetTriggerExtents(), IsColliding(), and IsCollidingEx().
|
protected |
Definition at line 280 of file construction.c.
References m_ConstructionParts.
Referenced by AddToConstructedParts(), CanUseToolToBuildPart(), CanUseToolToDismantlePart(), DestroyMaterialsServer(), DropNonUsableMaterialsServer(), ExceptionCheck(), GetCollisionBoxData(), GetConstructionPartToDestroy(), GetConstructionPartToDismantle(), GetMaterialType(), HasConflictPart(), HasMaterials(), HasRequiredPart(), IsColliding(), IsCollidingEx(), IsPartConstructed(), MaterialIsRuined(), ReceiveMaterialsServer(), RemoveFromConstructedParts(), SetLockOnAttachedMaterials(), and TakeMaterialsServer().
|
protected |
Definition at line 275 of file construction.c.
References m_ConstructionParts.
|
protected |
Definition at line 339 of file construction.c.
References CanBuildPart(), ConstructionPart::GetMainPartName(), ConstructionPart::GetPartName(), and m_ConstructionParts.
|
protected |
Definition at line 556 of file construction.c.
References CanDestroyPart(), and GetConstructionPart().
|
protected |
Definition at line 458 of file construction.c.
References CanDismantlePart(), and GetConstructionPart().
|
protected |
Definition at line 395 of file construction.c.
References ConstructionPart::IsGate(), and m_ConstructionParts.
|
protected |
Definition at line 1005 of file construction.c.
References g_Game, GetConstructionPart(), ConstructionPart::GetMainPartName(), GetParent(), and ConstructionPart::GetPartName().
Definition at line 546 of file construction.c.
References g_Game, and GetParent().
Referenced by UpdateConstructionParts().
Definition at line 1158 of file construction.c.
References GetCollisionBoxSize().
Referenced by CreateCollisionTrigger().
|
protected |
Definition at line 499 of file construction.c.
References ConstructionPart::GetRequiredParts(), ConstructionPart::IsBuilt(), m_ConstructionParts, and name.
Referenced by DestroyConnectedParts().
Definition at line 438 of file construction.c.
References g_Game, GetConstructionPart(), ConstructionPart::GetMainPartName(), GetParent(), and IsPartConstructed().
Referenced by CanBuildPart().
Definition at line 479 of file construction.c.
References ConstructionPart::GetRequiredParts(), ConstructionPart::IsBuilt(), and m_ConstructionParts.
Referenced by CanDestroyPart(), and CanDismantlePart().
Definition at line 617 of file construction.c.
References Math::Floor(), g_Game, GetConstructionPart(), ConstructionPart::GetMainPartName(), GetParent(), HasMaterialWithQuantityAttached(), Math::Max(), and REPAIR_MATERIAL_PERCENTAGE.
Referenced by CanBuildPart().
Definition at line 658 of file construction.c.
References GetParent().
Referenced by HasMaterials().
Definition at line 412 of file construction.c.
References g_Game, GetConstructionPart(), ConstructionPart::GetMainPartName(), GetParent(), and IsPartConstructed().
Referenced by CanBuildPart().
|
protected |
Definition at line 584 of file construction.c.
References bsbDebugPrint(), GetParent(), and LogManager::IsBaseBuildingLogEnable().
Referenced by UpdateVisuals().
|
protected |
Definition at line 596 of file construction.c.
References GetParent().
Referenced by UpdatePhysics().
|
protected |
Definition at line 34 of file construction.c.
References UpdateConstructionParts().
|
protected |
Definition at line 228 of file construction.c.
References bsbDebugPrint(), InitVisuals(), LogManager::IsBaseBuildingLogEnable(), and m_Parent.
Referenced by ItemBase::EEInit().
|
protected |
Definition at line 173 of file construction.c.
References bsbDebugPrint(), ConstructionPart::GetPartName(), LogManager::IsBaseBuildingLogEnable(), ConstructionPart::IsBuilt(), m_ConstructionParts, m_Parent, and ShowConstructionPart().
Referenced by InitBaseState(), and ItemBase::InitBaseState().
Definition at line 1021 of file construction.c.
References g_Game, GetBoxCenter(), GetCollisionBoxData(), GetCollisionBoxSize(), GetConstructionPart(), CfgGameplayHandler::GetDisableIsCollidingCheck(), GetOrientation(), GetParent(), EntityAI::IsIgnoredByConstruction(), and Vector().
|
protected |
Collision check for building part.
Definition at line 1070 of file construction.c.
References CollisionCheckData(), g_Game, GetBoxCenter(), GetCollisionBoxData(), GetCollisionBoxSize(), GetConstructionPart(), CfgGameplayHandler::GetDisableIsCollidingCheck(), GetOrientation(), GetParent(), EntityAI::IsIgnoredByConstruction(), and Vector().
Definition at line 602 of file construction.c.
References GetConstructionPart(), and ConstructionPart::IsBuilt().
Referenced by CanBuildPart(), CanDestroyPart(), CanDismantlePart(), BaseBuildingBase::CanDisplayAttachmentCategory(), BaseBuildingBase::CanReceiveAttachment(), HasConflictPart(), and HasRequiredPart().
|
protected |
Definition at line 1224 of file construction.c.
References m_ConstructionBoxTrigger.
Definition at line 306 of file construction.c.
References g_Game, GetConstructionPart(), ConstructionPart::GetMainPartName(), and GetParent().
Referenced by CanBuildPart().
|
protected |
Definition at line 726 of file construction.c.
References g_Game, GetConstructionPart(), ConstructionPart::GetMainPartName(), GetParent(), ConstructionPart::IsBase(), and StaticConstructionMethods::SpawnConstructionMaterialPiles().
Referenced by DismantlePartServer().
|
protected |
Definition at line 63 of file construction.c.
References bsbDebugPrint(), GetConstructionPart(), ConstructionPart::GetPartName(), LogManager::IsBaseBuildingLogEnable(), m_Parent, and ConstructionPart::SetBuiltState().
Definition at line 911 of file construction.c.
References bsbDebugPrint(), g_Game, GetConstructionPart(), ConstructionPart::GetMainPartName(), GetParent(), InventoryLocation::GetSlot(), and LogManager::IsBaseBuildingLogEnable().
|
protected |
Definition at line 44 of file construction.c.
References m_Parent.
|
protected |
Definition at line 578 of file construction.c.
References bsbDebugPrint(), GetParent(), and LogManager::IsBaseBuildingLogEnable().
Referenced by InitVisuals(), and UpdateVisuals().
|
protected |
Definition at line 591 of file construction.c.
References GetParent().
Referenced by UpdatePhysics().
Definition at line 671 of file construction.c.
References Math::Floor(), g_Game, GetConstructionPart(), ConstructionPart::GetMainPartName(), GetParent(), InventoryLocation::GetSlot(), Math::Max(), and REPAIR_MATERIAL_PERCENTAGE.
Referenced by BuildPartServer().
|
protected |
Definition at line 235 of file construction.c.
References bsbDebugPrint(), g_Game, GetParent(), GetRequiredParts(), LogManager::IsBaseBuildingLogEnable(), m_ConstructionParts, and name.
Referenced by Init().
|
protected |
Definition at line 207 of file construction.c.
References bsbDebugPrint(), ConstructionPart::GetPartName(), HideConstructionPartPhysics(), LogManager::IsBaseBuildingLogEnable(), ConstructionPart::IsBuilt(), m_ConstructionParts, m_Parent, and ShowConstructionPartPhysics().
Referenced by ItemBase::EEInit(), ItemBase::OnItemLocationChanged(), ItemBase::Refresh(), and ItemBase::RefreshPhysics().
|
protected |
Definition at line 188 of file construction.c.
References bsbDebugPrint(), ConstructionPart::GetPartName(), HideConstructionPart(), LogManager::IsBaseBuildingLogEnable(), ConstructionPart::IsBuilt(), m_ConstructionParts, m_Parent, and ShowConstructionPart().
Referenced by BaseBuildingBase::AfterStoreLoad(), EEInit(), ItemBase::EEInit(), TerritoryFlag::FullyBuild(), Plastic_Explosive::OnDisarmed(), BaseBuildingBase::OnPartBuiltServer(), BaseBuildingBase::OnPartDestroyedServer(), BaseBuildingBase::OnPartDismantledServer(), ImprovisedExplosive::OnTriggerAttached(), Plastic_Explosive::OnTriggerAttached(), ImprovisedExplosive::OnTriggerDetached(), Plastic_Explosive::OnTriggerDetached(), ImprovisedExplosive::OnVariablesSynchronized(), OnVariablesSynchronized(), Plastic_Explosive::OnVariablesSynchronized(), and Synchronize().
|
static |
Definition at line 14 of file construction.c.
|
protected |
Data structure for passing parameters (extendable, modable).
Referenced by CollisionCheckData().
|
protected |
Definition at line 19 of file construction.c.
Referenced by DestroyDebugCollisionBox(), DrawDebugCollisionBox(), Hologram::IsCollidingBBox(), and Hologram::IsCollidingGeometryProxy().
|
protected |
Definition at line 21 of file construction.c.
Referenced by CreateCollisionTrigger(), DestroyCollisionTrigger(), and IsTriggerColliding().
|
protected |
Definition at line 15 of file construction.c.
Referenced by Construction(), GetBaseConstructionPart(), GetConstructionPart(), GetConstructionParts(), GetConstructionPartsToBuild(), GetGateConstructionPart(), GetValidDepenentPartsArray(), HasDependentPart(), InitVisuals(), UpdateConstructionParts(), UpdatePhysics(), and UpdateVisuals().
|
protected |
Definition at line 16 of file construction.c.
|
protected |
Definition at line 1325 of file construction.c.
Referenced by CollisionCheckData().
|
protected |
Definition at line 1326 of file construction.c.
Referenced by CollisionCheckData().
|
protected |
Definition at line 1327 of file construction.c.
Referenced by CollisionCheckData().
| enum ConstructionMaterialType REPAIR_MATERIAL_PERCENTAGE = 0.15 |
Referenced by HasMaterials(), and TakeMaterialsServer().