Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
BaseBuildingBase Class Reference

Protected Member Functions

void Fence ()
 
override string GetConstructionKitType ()
 
override int GetMeleeTargetType ()
 
bool HasHinges ()
 
bool HasFullyConstructedGate ()
 
void SetGateState (int state)
 
int GetGateState ()
 
int CheckGateState ()
 
void SetOpenedState (bool state)
 
override bool IsOpened ()
 
bool IsLocked ()
 
override bool NameOverride (out string output)
 
CombinationLock GetCombinationLock ()
 
CamoNet GetCamoNet ()
 
BarbedWire GetBarbedWire1 ()
 
BarbedWire GetBarbedWire2 ()
 
override vector GetKitSpawnPosition ()
 
override bool CanDisplayAttachmentSlot (int slot_id)
 
override bool CanDisplayAttachmentCategory (string category_name)
 
override void OnStoreSave (ParamsWriteContext ctx)
 
override bool OnStoreLoad (ParamsReadContext ctx, int version)
 
override void AfterStoreLoad ()
 
override void OnVariablesSynchronized ()
 
override void OnPartBuiltServer (notnull Man player, string part_name, int action_id)
 
override void OnPartDismantledServer (notnull Man player, string part_name, int action_id)
 
override void OnPartDestroyedServer (Man player, string part_name, int action_id, bool destroyed_by_connected_part=false)
 
override bool CanReceiveAttachment (EntityAI attachment, int slotId)
 
override bool CanPutIntoHands (EntityAI parent)
 
override bool CanBeRepairedToPristine ()
 
bool CanOpenFence ()
 
bool CanCloseFence ()
 
void OpenFence ()
 
void CloseFence ()
 
void CheckFenceOpened ()
 
void CheckFenceClosed ()
 
override void CreateAreaDamage (string slot_name, float rotation_angle=0)
 
void UpdateBarbedWireAreaDamagePos (float rotation_angle=0, bool to_delete=false)
 
override void PostAreaDamageActions ()
 
override bool IsPlayerInside (PlayerBase player, string selection)
 
override bool IsFacingPlayer (PlayerBase player, string selection)
 
override bool IsFacingCamera (string selection)
 
override bool HasProperDistance (string selection, PlayerBase player)
 
override bool CanUseConstructionBuild ()
 
void SoundGateOpenStart ()
 
void SoundGateCloseStart ()
 
void SoundGateCloseEnd ()
 
void GateAttachmentsSanityCheck ()
 
void HandleDropAttachment (ItemBase item)
 
bool GateAttachmentConditions (int slotId)
 
override bool TranslateSlotFromSelection (string selection_name, out int slot_id)
 
override void SetActions ()
 
override array< stringOnDebugSpawnBuildExcludes ()
 Excludes certain parts from being built by OnDebugSpawn, uses Contains to compare.
 
override void OnDebugSpawn ()
 
void TerritoryFlag ()
 
void ~TerritoryFlag ()
 
void InitRefresherData ()
 
override string GetConstructionKitType ()
 
override int GetMeleeTargetType ()
 
override vector GetKitSpawnPosition ()
 
override bool CanDisplayAttachmentCategory (string category_name)
 
override void OnStoreSave (ParamsWriteContext ctx)
 
override bool OnStoreLoad (ParamsReadContext ctx, int version)
 
override void AfterStoreLoad ()
 
override void OnCEUpdate ()
 
void HandleRefreshers ()
 Saves positions of active lifetime refreshers to MissionGameplay / MissionServer.
 
void SetRefresherActive (bool state)
 
void InsertRefresherPosition ()
 
void RemoveRefresherPosition (int idx=-2)
 
override void OnVariablesSynchronized ()
 
override void OnPartBuiltServer (notnull Man player, string part_name, int action_id)
 
override void OnPartDismantledServer (notnull Man player, string part_name, int action_id)
 
override void OnPartDestroyedServer (Man player, string part_name, int action_id, bool destroyed_by_connected_part=false)
 
override void EEItemDetached (EntityAI item, string slot_name)
 
override bool CanReceiveAttachment (EntityAI attachment, int slotId)
 
override bool CanPutIntoHands (EntityAI parent)
 
override bool CanBeRepairedToPristine ()
 
override bool IsPlayerInside (PlayerBase player, string selection)
 
override bool IsFacingPlayer (PlayerBase player, string selection)
 
override bool IsFacingCamera (string selection)
 
override bool HasProperDistance (string selection, PlayerBase player)
 
override void SetActions ()
 
void AnimateFlagEx (float delta, PlayerBase player=null)
 
void AnimateFlag (float delta)
 
void LogAnimateFlag (float newPhase, notnull PlayerBase player)
 
void SetRefreshTimer01 (float fraction)
 
void AddRefresherTime01 (float fraction)
 
float GetRefresherTime01 ()
 
void CheckLoadedVariables (int max_duration)
 
override void OnDebugSpawn ()
 

Protected Attributes

bool m_ToDiscard = false
 
bool m_IsOpened = false
 
bool m_IsOpenedClient = false
 
int m_GateState = 0
 
EffectSound m_SoundGate_Start
 
EffectSound m_SoundGate_End
 
int m_FlagRefresherFrequency = GameConstants.REFRESHER_FREQUENCY_DEFAULT
 
int m_FlagRefresherMaxDuration = GameConstants.REFRESHER_MAX_DURATION_DEFAULT
 

Detailed Description

Definition at line 1 of file fence.c.

Constructor & Destructor Documentation

◆ ~TerritoryFlag()

void BaseBuildingBase::~TerritoryFlag ( )
protected

Definition at line 29 of file totem.c.

Member Function Documentation

◆ AddRefresherTime01()

void BaseBuildingBase::AddRefresherTime01 ( float fraction)
protected

Definition at line 560 of file totem.c.

◆ AfterStoreLoad() [1/2]

override void BaseBuildingBase::AfterStoreLoad ( )
protected

Definition at line 257 of file fence.c.

◆ AfterStoreLoad() [2/2]

override void BaseBuildingBase::AfterStoreLoad ( )
protected

Definition at line 145 of file totem.c.

◆ AnimateFlag()

void BaseBuildingBase::AnimateFlag ( float delta)
protected

Definition at line 526 of file totem.c.

◆ AnimateFlagEx()

void BaseBuildingBase::AnimateFlagEx ( float delta,
PlayerBase player = null )
protected

Definition at line 506 of file totem.c.

◆ CanBeRepairedToPristine() [1/2]

override bool BaseBuildingBase::CanBeRepairedToPristine ( )
protected

Definition at line 421 of file fence.c.

◆ CanBeRepairedToPristine() [2/2]

override bool BaseBuildingBase::CanBeRepairedToPristine ( )
protected

Definition at line 368 of file totem.c.

◆ CanCloseFence()

bool BaseBuildingBase::CanCloseFence ( )
protected

Definition at line 437 of file fence.c.

◆ CanDisplayAttachmentCategory() [1/2]

override bool BaseBuildingBase::CanDisplayAttachmentCategory ( string category_name)
protected

Definition at line 197 of file fence.c.

◆ CanDisplayAttachmentCategory() [2/2]

override bool BaseBuildingBase::CanDisplayAttachmentCategory ( string category_name)
protected

Definition at line 85 of file totem.c.

◆ CanDisplayAttachmentSlot()

override bool BaseBuildingBase::CanDisplayAttachmentSlot ( int slot_id)
protected

Definition at line 176 of file fence.c.

◆ CanOpenFence()

bool BaseBuildingBase::CanOpenFence ( )
protected

Definition at line 427 of file fence.c.

◆ CanPutIntoHands() [1/2]

override bool BaseBuildingBase::CanPutIntoHands ( EntityAI parent)
protected

Definition at line 406 of file fence.c.

◆ CanPutIntoHands() [2/2]

override bool BaseBuildingBase::CanPutIntoHands ( EntityAI parent)
protected

Definition at line 363 of file totem.c.

◆ CanReceiveAttachment() [1/2]

override bool BaseBuildingBase::CanReceiveAttachment ( EntityAI attachment,
int slotId )
protected

Definition at line 367 of file fence.c.

◆ CanReceiveAttachment() [2/2]

override bool BaseBuildingBase::CanReceiveAttachment ( EntityAI attachment,
int slotId )
protected

Definition at line 294 of file totem.c.

◆ CanUseConstructionBuild()

override bool BaseBuildingBase::CanUseConstructionBuild ( )
protected

Definition at line 718 of file fence.c.

◆ CheckFenceClosed()

void BaseBuildingBase::CheckFenceClosed ( )
protected

Definition at line 541 of file fence.c.

◆ CheckFenceOpened()

void BaseBuildingBase::CheckFenceOpened ( )
protected

Definition at line 531 of file fence.c.

◆ CheckGateState()

int BaseBuildingBase::CheckGateState ( )
protected

Definition at line 77 of file fence.c.

◆ CheckLoadedVariables()

void BaseBuildingBase::CheckLoadedVariables ( int max_duration)
protected

Definition at line 573 of file totem.c.

◆ CloseFence()

void BaseBuildingBase::CloseFence ( )
protected

Definition at line 489 of file fence.c.

◆ CreateAreaDamage()

override void BaseBuildingBase::CreateAreaDamage ( string slot_name,
float rotation_angle = 0 )
protected

Definition at line 558 of file fence.c.

◆ EEItemDetached()

override void BaseBuildingBase::EEItemDetached ( EntityAI item,
string slot_name )
protected

Definition at line 279 of file totem.c.

◆ Fence()

void BaseBuildingBase::Fence ( )
protected

Definition at line 36 of file fence.c.

◆ GateAttachmentConditions()

bool BaseBuildingBase::GateAttachmentConditions ( int slotId)
protected

Definition at line 789 of file fence.c.

◆ GateAttachmentsSanityCheck()

void BaseBuildingBase::GateAttachmentsSanityCheck ( )
protected

Definition at line 753 of file fence.c.

◆ GetBarbedWire1()

BarbedWire BaseBuildingBase::GetBarbedWire1 ( )
protected

Definition at line 149 of file fence.c.

◆ GetBarbedWire2()

BarbedWire BaseBuildingBase::GetBarbedWire2 ( )
protected

Definition at line 155 of file fence.c.

◆ GetCamoNet()

CamoNet BaseBuildingBase::GetCamoNet ( )
protected

Definition at line 143 of file fence.c.

◆ GetCombinationLock()

CombinationLock BaseBuildingBase::GetCombinationLock ( )
protected

Definition at line 137 of file fence.c.

◆ GetConstructionKitType() [1/2]

override string BaseBuildingBase::GetConstructionKitType ( )
protected

Definition at line 45 of file fence.c.

◆ GetConstructionKitType() [2/2]

override string BaseBuildingBase::GetConstructionKitType ( )
protected

Definition at line 50 of file totem.c.

◆ GetGateState()

int BaseBuildingBase::GetGateState ( )
protected

Definition at line 72 of file fence.c.

◆ GetKitSpawnPosition() [1/2]

override vector BaseBuildingBase::GetKitSpawnPosition ( )
protected

Definition at line 162 of file fence.c.

◆ GetKitSpawnPosition() [2/2]

override vector BaseBuildingBase::GetKitSpawnPosition ( )
protected

Definition at line 72 of file totem.c.

◆ GetMeleeTargetType() [1/2]

override int BaseBuildingBase::GetMeleeTargetType ( )
protected

Definition at line 50 of file fence.c.

◆ GetMeleeTargetType() [2/2]

override int BaseBuildingBase::GetMeleeTargetType ( )
protected

Definition at line 55 of file totem.c.

◆ GetRefresherTime01()

float BaseBuildingBase::GetRefresherTime01 ( )
protected

Definition at line 568 of file totem.c.

◆ HandleDropAttachment()

void BaseBuildingBase::HandleDropAttachment ( ItemBase item)
protected

Definition at line 770 of file fence.c.

◆ HandleRefreshers()

void BaseBuildingBase::HandleRefreshers ( )
protected

Saves positions of active lifetime refreshers to MissionGameplay / MissionServer.

Definition at line 179 of file totem.c.

◆ HasFullyConstructedGate()

bool BaseBuildingBase::HasFullyConstructedGate ( )
protected

Definition at line 61 of file fence.c.

◆ HasHinges()

bool BaseBuildingBase::HasHinges ( )
protected

Definition at line 56 of file fence.c.

◆ HasProperDistance() [1/2]

override bool BaseBuildingBase::HasProperDistance ( string selection,
PlayerBase player )
protected

Definition at line 703 of file fence.c.

◆ HasProperDistance() [2/2]

override bool BaseBuildingBase::HasProperDistance ( string selection,
PlayerBase player )
protected

Definition at line 468 of file totem.c.

◆ InitRefresherData()

void BaseBuildingBase::InitRefresherData ( )
protected

Definition at line 34 of file totem.c.

◆ InsertRefresherPosition()

void BaseBuildingBase::InsertRefresherPosition ( )
protected

Definition at line 211 of file totem.c.

◆ IsFacingCamera() [1/2]

override bool BaseBuildingBase::IsFacingCamera ( string selection)
protected

Definition at line 678 of file fence.c.

◆ IsFacingCamera() [2/2]

override bool BaseBuildingBase::IsFacingCamera ( string selection)
protected

Definition at line 441 of file totem.c.

◆ IsFacingPlayer() [1/2]

override bool BaseBuildingBase::IsFacingPlayer ( PlayerBase player,
string selection )
protected

Definition at line 651 of file fence.c.

◆ IsFacingPlayer() [2/2]

override bool BaseBuildingBase::IsFacingPlayer ( PlayerBase player,
string selection )
protected

Definition at line 412 of file totem.c.

◆ IsLocked()

bool BaseBuildingBase::IsLocked ( )
protected

Definition at line 115 of file fence.c.

◆ IsOpened()

override bool BaseBuildingBase::IsOpened ( )
protected

Definition at line 110 of file fence.c.

◆ IsPlayerInside() [1/2]

override bool BaseBuildingBase::IsPlayerInside ( PlayerBase player,
string selection )
protected

Definition at line 615 of file fence.c.

◆ IsPlayerInside() [2/2]

override bool BaseBuildingBase::IsPlayerInside ( PlayerBase player,
string selection )
protected

Definition at line 374 of file totem.c.

◆ LogAnimateFlag()

void BaseBuildingBase::LogAnimateFlag ( float newPhase,
notnull PlayerBase player )
protected

Definition at line 531 of file totem.c.

◆ NameOverride()

override bool BaseBuildingBase::NameOverride ( out string output)
protected

Definition at line 126 of file fence.c.

◆ OnCEUpdate()

override void BaseBuildingBase::OnCEUpdate ( )
protected

Definition at line 157 of file totem.c.

◆ OnDebugSpawn() [1/2]

override void BaseBuildingBase::OnDebugSpawn ( )
protected

Definition at line 892 of file fence.c.

◆ OnDebugSpawn() [2/2]

override void BaseBuildingBase::OnDebugSpawn ( )
protected

Definition at line 597 of file totem.c.

◆ OnDebugSpawnBuildExcludes()

override array< string > BaseBuildingBase::OnDebugSpawnBuildExcludes ( )
protected

Excludes certain parts from being built by OnDebugSpawn, uses Contains to compare.

Definition at line 854 of file fence.c.

◆ OnPartBuiltServer() [1/2]

override void BaseBuildingBase::OnPartBuiltServer ( notnull Man player,
string part_name,
int action_id )
protected

Definition at line 297 of file fence.c.

◆ OnPartBuiltServer() [2/2]

override void BaseBuildingBase::OnPartBuiltServer ( notnull Man player,
string part_name,
int action_id )
protected

Definition at line 250 of file totem.c.

◆ OnPartDestroyedServer() [1/2]

override void BaseBuildingBase::OnPartDestroyedServer ( Man player,
string part_name,
int action_id,
bool destroyed_by_connected_part = false )
protected

Definition at line 331 of file fence.c.

◆ OnPartDestroyedServer() [2/2]

override void BaseBuildingBase::OnPartDestroyedServer ( Man player,
string part_name,
int action_id,
bool destroyed_by_connected_part = false )
protected

Definition at line 270 of file totem.c.

◆ OnPartDismantledServer() [1/2]

override void BaseBuildingBase::OnPartDismantledServer ( notnull Man player,
string part_name,
int action_id )
protected

Definition at line 309 of file fence.c.

◆ OnPartDismantledServer() [2/2]

override void BaseBuildingBase::OnPartDismantledServer ( notnull Man player,
string part_name,
int action_id )
protected

Definition at line 260 of file totem.c.

◆ OnStoreLoad() [1/2]

override bool BaseBuildingBase::OnStoreLoad ( ParamsReadContext ctx,
int version )
protected

Definition at line 222 of file fence.c.

◆ OnStoreLoad() [2/2]

override bool BaseBuildingBase::OnStoreLoad ( ParamsReadContext ctx,
int version )
protected

Definition at line 111 of file totem.c.

◆ OnStoreSave() [1/2]

override void BaseBuildingBase::OnStoreSave ( ParamsWriteContext ctx)
protected

Definition at line 212 of file fence.c.

◆ OnStoreSave() [2/2]

override void BaseBuildingBase::OnStoreSave ( ParamsWriteContext ctx)
protected

Definition at line 101 of file totem.c.

◆ OnVariablesSynchronized() [1/2]

override void BaseBuildingBase::OnVariablesSynchronized ( )
protected

Definition at line 276 of file fence.c.

◆ OnVariablesSynchronized() [2/2]

override void BaseBuildingBase::OnVariablesSynchronized ( )
protected

Definition at line 237 of file totem.c.

◆ OpenFence()

void BaseBuildingBase::OpenFence ( )
protected

Definition at line 447 of file fence.c.

◆ PostAreaDamageActions()

override void BaseBuildingBase::PostAreaDamageActions ( )
protected

Definition at line 603 of file fence.c.

◆ RemoveRefresherPosition()

void BaseBuildingBase::RemoveRefresherPosition ( int idx = -2)
protected

Definition at line 217 of file totem.c.

◆ SetActions() [1/2]

override void BaseBuildingBase::SetActions ( )
protected

Definition at line 825 of file fence.c.

◆ SetActions() [2/2]

override void BaseBuildingBase::SetActions ( )
protected

Definition at line 489 of file totem.c.

◆ SetGateState()

void BaseBuildingBase::SetGateState ( int state)
protected

Definition at line 66 of file fence.c.

◆ SetOpenedState()

void BaseBuildingBase::SetOpenedState ( bool state)
protected

Definition at line 105 of file fence.c.

◆ SetRefresherActive()

void BaseBuildingBase::SetRefresherActive ( bool state)
protected

Definition at line 196 of file totem.c.

◆ SetRefreshTimer01()

void BaseBuildingBase::SetRefreshTimer01 ( float fraction)
protected

Definition at line 547 of file totem.c.

◆ SoundGateCloseEnd()

void BaseBuildingBase::SoundGateCloseEnd ( )
protected

Definition at line 744 of file fence.c.

◆ SoundGateCloseStart()

void BaseBuildingBase::SoundGateCloseStart ( )
protected

Definition at line 735 of file fence.c.

◆ SoundGateOpenStart()

void BaseBuildingBase::SoundGateOpenStart ( )
protected

Definition at line 726 of file fence.c.

◆ TerritoryFlag()

void BaseBuildingBase::TerritoryFlag ( )
protected

Definition at line 15 of file totem.c.

◆ TranslateSlotFromSelection()

override bool BaseBuildingBase::TranslateSlotFromSelection ( string selection_name,
out int slot_id )
protected

Definition at line 815 of file fence.c.

◆ UpdateBarbedWireAreaDamagePos()

void BaseBuildingBase::UpdateBarbedWireAreaDamagePos ( float rotation_angle = 0,
bool to_delete = false )
protected

Definition at line 569 of file fence.c.

Member Data Documentation

◆ m_FlagRefresherFrequency

int BaseBuildingBase::m_FlagRefresherFrequency = GameConstants.REFRESHER_FREQUENCY_DEFAULT
protected

Definition at line 12 of file totem.c.

◆ m_FlagRefresherMaxDuration

int BaseBuildingBase::m_FlagRefresherMaxDuration = GameConstants.REFRESHER_MAX_DURATION_DEFAULT
protected

Definition at line 13 of file totem.c.

◆ m_GateState

int BaseBuildingBase::m_GateState = 0
protected

Definition at line 31 of file fence.c.

◆ m_IsOpened

bool BaseBuildingBase::m_IsOpened = false
protected

Definition at line 29 of file fence.c.

◆ m_IsOpenedClient

bool BaseBuildingBase::m_IsOpenedClient = false
protected

Definition at line 30 of file fence.c.

◆ m_SoundGate_End

EffectSound BaseBuildingBase::m_SoundGate_End
protected

Definition at line 34 of file fence.c.

◆ m_SoundGate_Start

EffectSound BaseBuildingBase::m_SoundGate_Start
protected

Definition at line 33 of file fence.c.

◆ m_ToDiscard

bool BaseBuildingBase::m_ToDiscard = false
protected

Definition at line 28 of file fence.c.


The documentation for this class was generated from the following files: