PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
BaseBuildingBase Class Reference

Private 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 ()
 
protected void CheckFenceOpened ()
 
protected 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 ()
 
protected void SoundGateOpenStart ()
 
protected void SoundGateCloseStart ()
 
protected 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 ShelterSite ()
 
override string GetConstructionKitType ()
 
override int GetMeleeTargetType ()
 
override vector GetKitSpawnPosition ()
 
override void OnPartBuiltServer (notnull Man player, string part_name, int action_id)
 
override bool CanPutIntoHands (EntityAI parent)
 
override bool CanBeRepairedToPristine ()
 
override bool CanUseHandConstruction ()
 
override bool MustBeBuiltFromOutside ()
 
override bool IsFacingCamera (string selection)
 
override bool IsPlayerInside (PlayerBase player, string selection)
 
override bool HasProperDistance (string selection, PlayerBase player)
 
override void SetActions ()
 
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)
 
protected 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 ()
 
void Watchtower ()
 
override string GetConstructionKitType ()
 
override int GetMeleeTargetType ()
 
override void UpdateVisuals ()
 
override bool CanReceiveAttachment (EntityAI attachment, int slotId)
 
override bool CanPutIntoHands (EntityAI parent)
 
override bool CanBeRepairedToPristine ()
 
override bool PerformRoofCheckForBase (string partName, PlayerBase player, out bool result)
 
override bool CanDisplayAttachmentSlot (int slot_id)
 
override bool CanDisplayAttachmentCategory (string category_name)
 
override bool CheckSlotVerticalDistance (int slot_id, PlayerBase player)
 
override bool CheckMemoryPointVerticalDistance (float max_dist, string selection, PlayerBase player)
 
override bool CheckLevelVerticalDistance (float max_dist, string selection, PlayerBase player)
 
override void AfterStoreLoad ()
 
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 IsFacingPlayer (PlayerBase player, string selection)
 
override bool IsFacingCamera (string selection)
 
override bool IsPlayerInside (PlayerBase player, string selection)
 
override bool HasProperDistance (string selection, PlayerBase player)
 
override void SetActions ()
 
override array< stringOnDebugSpawnBuildExcludes ()
 Excludes certain parts from being built by OnDebugSpawn, uses Contains to compare.
 
override void OnDebugSpawn ()
 

Private Attributes

const int GATE_STATE_NONE = 0
 
const int GATE_STATE_PARTIAL = 1
 
const int GATE_STATE_FULL = 2
 
const string ATTACHMENT_SLOT_COMBINATION_LOCK = "Att_CombinationLock"
 
const string SOUND_GATE_OPEN_START = "DoorWoodTowerOpen_SoundSet"
 
const string SOUND_GATE_CLOSE_START = "DoorWoodTowerClose_start_SoundSet"
 
const string SOUND_GATE_CLOSE_END = "DoorWoodTowerClose_end_SoundSet"
 
const float GATE_ROTATION_ANGLE_DEG = 100
 
const float GATE_ROTATION_TIME_APPROX = 2000
 
const float MAX_ACTION_DETECTION_ANGLE_RAD = 1.3
 
const float MAX_ACTION_DETECTION_DISTANCE = 2.0
 
 ATTACHMENT_WOODEN_LOG = WoodenLog
 
 ATTACHMENT_COMBINATION_LOCK = CombinationLock
 
string ATTSLOT_CAMONET = "Wall_Camonet"
 
string ATTSLOT_BARBEDWIRE_DOWN = "Wall_Barbedwire_1"
 
string ATTSLOT_BARBEDWIRE_UP = "Wall_Barbedwire_2"
 
protected bool m_ToDiscard = false
 
protected bool m_IsOpened = false
 
protected bool m_IsOpenedClient = false
 
protected int m_GateState = 0
 
protected EffectSound m_SoundGate_Start
 
protected EffectSound m_SoundGate_End
 
bool m_RefresherActive
 
bool m_RefresherActiveLocal
 
bool m_RefresherInitialized
 
int m_RefresherTimeRemaining
 
int m_RefreshTimeCounter
 
protected int m_FlagRefresherFrequency = GameConstants.REFRESHER_FREQUENCY_DEFAULT
 
protected int m_FlagRefresherMaxDuration = GameConstants.REFRESHER_MAX_DURATION_DEFAULT
 
 ATTACHMENT_BARBED_WIRE = BarbedWire
 
 ATTACHMENT_CAMONET = CamoNet
 
const float MAX_FLOOR_VERTICAL_DISTANCE = 0.5
 
const float MIN_ACTION_DETECTION_ANGLE_RAD = 0.35
 

Static Private Attributes

static const string BASE_VIEW_NAME = "level_"
 
static const string BASE_WALL_NAME = "_wall_"
 
static const string BASE_ROOF_NAME = "_roof"
 
static const int MAX_WATCHTOWER_FLOORS = 3
 
static const int MAX_WATCHTOWER_WALLS = 3
 

Constructor & Destructor Documentation

◆ ~TerritoryFlag()

void ~TerritoryFlag ( )
inlineprivate

Member Function Documentation

◆ AddRefresherTime01()

void AddRefresherTime01 ( float  fraction)
inlineprivate

References Math::Clamp(), and Math::Round().

◆ AfterStoreLoad() [1/3]

◆ AfterStoreLoad() [2/3]

override void AfterStoreLoad ( )
inlineprivate

References GetCEApi(), and UpdateVisuals().

◆ AfterStoreLoad() [3/3]

override void AfterStoreLoad ( )
inlineprivate

References UpdateVisuals().

◆ AnimateFlag()

void AnimateFlag ( float  delta)
inlineprivate

◆ AnimateFlagEx()

void AnimateFlagEx ( float  delta,
PlayerBase  player = null 
)
inlineprivate

◆ CanBeRepairedToPristine() [1/4]

override bool CanBeRepairedToPristine ( )
inlineprivate

◆ CanBeRepairedToPristine() [2/4]

override bool CanBeRepairedToPristine ( )
inlineprivate

◆ CanBeRepairedToPristine() [3/4]

override bool CanBeRepairedToPristine ( )
inlineprivate

◆ CanBeRepairedToPristine() [4/4]

override bool CanBeRepairedToPristine ( )
inlineprivate

◆ CanCloseFence()

bool CanCloseFence ( )
inlineprivate

References HasHinges(), and IsOpened().

◆ CanDisplayAttachmentCategory() [1/3]

override bool CanDisplayAttachmentCategory ( string  category_name)
inlineprivate

References HasBase().

◆ CanDisplayAttachmentCategory() [2/3]

override bool CanDisplayAttachmentCategory ( string  category_name)
inlineprivate

◆ CanDisplayAttachmentCategory() [3/3]

override bool CanDisplayAttachmentCategory ( string  category_name)
inlineprivate

◆ CanDisplayAttachmentSlot() [1/2]

override bool CanDisplayAttachmentSlot ( int  slot_id)
inlineprivate

◆ CanDisplayAttachmentSlot() [2/2]

◆ CanOpenFence()

bool CanOpenFence ( )
inlineprivate

References HasHinges(), IsLocked(), and IsOpened().

◆ CanPutIntoHands() [1/4]

override bool CanPutIntoHands ( EntityAI  parent)
inlineprivate

References HasBase().

◆ CanPutIntoHands() [2/4]

override bool CanPutIntoHands ( EntityAI  parent)
inlineprivate

◆ CanPutIntoHands() [3/4]

override bool CanPutIntoHands ( EntityAI  parent)
inlineprivate

◆ CanPutIntoHands() [4/4]

override bool CanPutIntoHands ( EntityAI  parent)
inlineprivate

◆ CanReceiveAttachment() [1/3]

override bool CanReceiveAttachment ( EntityAI  attachment,
int  slotId 
)
inlineprivate

◆ CanReceiveAttachment() [2/3]

◆ CanReceiveAttachment() [3/3]

override bool CanReceiveAttachment ( EntityAI  attachment,
int  slotId 
)
inlineprivate

◆ CanUseConstructionBuild()

override bool CanUseConstructionBuild ( )
inlineprivate

◆ CanUseHandConstruction()

override bool CanUseHandConstruction ( )
inlineprivate

◆ CheckFenceClosed()

◆ CheckFenceOpened()

protected void CheckFenceOpened ( )
inlineprivate

◆ CheckGateState()

◆ CheckLevelVerticalDistance()

override bool CheckLevelVerticalDistance ( float  max_dist,
string  selection,
PlayerBase  player 
)
inlineprivate

◆ CheckLoadedVariables()

void CheckLoadedVariables ( int  max_duration)
inlineprivate

◆ CheckMemoryPointVerticalDistance()

override bool CheckMemoryPointVerticalDistance ( float  max_dist,
string  selection,
PlayerBase  player 
)
inlineprivate

◆ CheckSlotVerticalDistance()

◆ CloseFence()

◆ CreateAreaDamage()

override void CreateAreaDamage ( string  slot_name,
float  rotation_angle = 0 
)
inlineprivate

References IsOpened().

◆ EEItemDetached()

override void EEItemDetached ( EntityAI  item,
string  slot_name 
)
inlineprivate

References GetGame().

◆ Fence()

void Fence ( )
inlineprivate

◆ GateAttachmentConditions()

bool GateAttachmentConditions ( int  slotId)
inlineprivate

◆ GateAttachmentsSanityCheck()

◆ GetBarbedWire1()

BarbedWire GetBarbedWire1 ( )
inlineprivate

◆ GetBarbedWire2()

BarbedWire GetBarbedWire2 ( )
inlineprivate

◆ GetCamoNet()

CamoNet GetCamoNet ( )
inlineprivate

◆ GetCombinationLock()

CombinationLock GetCombinationLock ( )
inlineprivate

◆ GetConstructionKitType() [1/4]

override string GetConstructionKitType ( )
inlineprivate

◆ GetConstructionKitType() [2/4]

override string GetConstructionKitType ( )
inlineprivate

◆ GetConstructionKitType() [3/4]

override string GetConstructionKitType ( )
inlineprivate

◆ GetConstructionKitType() [4/4]

override string GetConstructionKitType ( )
inlineprivate

◆ GetGateState()

int GetGateState ( )
inlineprivate

References m_GateState.

Referenced by GateAttachmentConditions().

◆ GetKitSpawnPosition() [1/3]

override vector GetKitSpawnPosition ( )
inlineprivate

References GetPosition.

Referenced by ItemBase::CreateConstructionKit().

◆ GetKitSpawnPosition() [2/3]

override vector GetKitSpawnPosition ( )
inlineprivate

References GetPosition.

◆ GetKitSpawnPosition() [3/3]

override vector GetKitSpawnPosition ( )
inlineprivate

References GetPosition.

◆ GetMeleeTargetType() [1/4]

override int GetMeleeTargetType ( )
inlineprivate

◆ GetMeleeTargetType() [2/4]

override int GetMeleeTargetType ( )
inlineprivate

◆ GetMeleeTargetType() [3/4]

override int GetMeleeTargetType ( )
inlineprivate

◆ GetMeleeTargetType() [4/4]

override int GetMeleeTargetType ( )
inlineprivate

◆ GetRefresherTime01()

float GetRefresherTime01 ( )
inlineprivate

◆ HandleDropAttachment()

void HandleDropAttachment ( ItemBase  item)
inlineprivate

◆ HandleRefreshers()

void HandleRefreshers ( )
inlineprivate

Saves positions of active lifetime refreshers to MissionGameplay / MissionServer.

References GetGame(), CGame::GetMission(), GetPosition, Mission::m_ActiveRefresherLocations, and mission.

◆ HasFullyConstructedGate()

bool HasFullyConstructedGate ( )
inlineprivate

◆ HasHinges()

bool HasHinges ( )
inlineprivate

References GATE_STATE_NONE.

Referenced by CanCloseFence(), and CanOpenFence().

◆ HasProperDistance() [1/4]

override bool HasProperDistance ( string  selection,
PlayerBase  player 
)
inlineprivate

◆ HasProperDistance() [2/4]

override bool HasProperDistance ( string  selection,
PlayerBase  player 
)
inlineprivate

References vector::Distance().

◆ HasProperDistance() [3/4]

override bool HasProperDistance ( string  selection,
PlayerBase  player 
)
inlineprivate

References vector::Distance().

◆ HasProperDistance() [4/4]

override bool HasProperDistance ( string  selection,
PlayerBase  player 
)
inlineprivate

References vector::Distance().

◆ InitRefresherData()

void InitRefresherData ( )
inlineprivate

References GetCEApi().

◆ InsertRefresherPosition()

void InsertRefresherPosition ( )
inlineprivate

◆ IsFacingCamera() [1/4]

◆ IsFacingCamera() [2/4]

override bool IsFacingCamera ( string  selection)
inlineprivate

◆ IsFacingCamera() [3/4]

override bool IsFacingCamera ( string  selection)
inlineprivate

◆ IsFacingCamera() [4/4]

override bool IsFacingCamera ( string  selection)
inlineprivate

◆ IsFacingPlayer() [1/3]

override bool IsFacingPlayer ( PlayerBase  player,
string  selection 
)
inlineprivate

◆ IsFacingPlayer() [2/3]

override bool IsFacingPlayer ( PlayerBase  player,
string  selection 
)
inlineprivate

◆ IsFacingPlayer() [3/3]

override bool IsFacingPlayer ( PlayerBase  player,
string  selection 
)
inlineprivate

◆ IsLocked()

bool IsLocked ( )
inlineprivate

◆ IsOpened()

◆ IsPlayerInside() [1/4]

◆ IsPlayerInside() [2/4]

override bool IsPlayerInside ( PlayerBase  player,
string  selection 
)
inlineprivate

◆ IsPlayerInside() [3/4]

override bool IsPlayerInside ( PlayerBase  player,
string  selection 
)
inlineprivate

◆ IsPlayerInside() [4/4]

override bool IsPlayerInside ( PlayerBase  player,
string  selection 
)
inlineprivate

◆ LogAnimateFlag()

protected void LogAnimateFlag ( float  newPhase,
notnull PlayerBase  player 
)
inlineprivate

References GetPlugin().

◆ MustBeBuiltFromOutside()

override bool MustBeBuiltFromOutside ( )
inlineprivate

Referenced by BuildCondition().

◆ NameOverride()

override bool NameOverride ( out string  output)
inlineprivate

◆ OnCEUpdate()

override void OnCEUpdate ( )
inlineprivate

◆ OnDebugSpawn() [1/3]

override void OnDebugSpawn ( )
inlineprivate

◆ OnDebugSpawn() [2/3]

override void OnDebugSpawn ( )
inlineprivate

◆ OnDebugSpawn() [3/3]

override void OnDebugSpawn ( )
inlineprivate

References MAX_WATCHTOWER_WALLS.

◆ OnDebugSpawnBuildExcludes() [1/2]

override array< string > OnDebugSpawnBuildExcludes ( )
inlineprivate

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

References DiagMenu::GetBool().

Referenced by ItemBase::FullyBuild().

◆ OnDebugSpawnBuildExcludes() [2/2]

override array< string > OnDebugSpawnBuildExcludes ( )
inlineprivate

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

References DiagMenu::GetBool().

◆ OnPartBuiltServer() [1/4]

override void OnPartBuiltServer ( notnull Man  player,
string  part_name,
int  action_id 
)
inlineprivate

◆ OnPartBuiltServer() [2/4]

override void OnPartBuiltServer ( notnull Man  player,
string  part_name,
int  action_id 
)
inlineprivate

References GetConstruction(), and GetPlugin().

◆ OnPartBuiltServer() [3/4]

override void OnPartBuiltServer ( notnull Man  player,
string  part_name,
int  action_id 
)
inlineprivate

References UpdateVisuals().

◆ OnPartBuiltServer() [4/4]

override void OnPartBuiltServer ( notnull Man  player,
string  part_name,
int  action_id 
)
inlineprivate

References UpdateVisuals().

◆ OnPartDestroyedServer() [1/3]

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

◆ OnPartDestroyedServer() [2/3]

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

References UpdateVisuals().

◆ OnPartDestroyedServer() [3/3]

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

References UpdateVisuals().

◆ OnPartDismantledServer() [1/3]

override void OnPartDismantledServer ( notnull Man  player,
string  part_name,
int  action_id 
)
inlineprivate

◆ OnPartDismantledServer() [2/3]

override void OnPartDismantledServer ( notnull Man  player,
string  part_name,
int  action_id 
)
inlineprivate

◆ OnPartDismantledServer() [3/3]

override void OnPartDismantledServer ( notnull Man  player,
string  part_name,
int  action_id 
)
inlineprivate

References UpdateVisuals().

◆ OnStoreLoad() [1/2]

override bool OnStoreLoad ( ParamsReadContext  ctx,
int  version 
)
inlineprivate

◆ OnStoreLoad() [2/2]

override bool OnStoreLoad ( ParamsReadContext  ctx,
int  version 
)
inlineprivate

References Serializer::Read().

◆ OnStoreSave() [1/2]

override void OnStoreSave ( ParamsWriteContext  ctx)
inlineprivate

◆ OnStoreSave() [2/2]

override void OnStoreSave ( ParamsWriteContext  ctx)
inlineprivate

References Serializer::Write().

◆ OnVariablesSynchronized() [1/2]

override void OnVariablesSynchronized ( )
inlineprivate

◆ OnVariablesSynchronized() [2/2]

override void OnVariablesSynchronized ( )
inlineprivate

◆ OpenFence()

◆ PerformRoofCheckForBase()

override bool PerformRoofCheckForBase ( string  partName,
PlayerBase  player,
out bool  result 
)
inlineprivate

◆ PostAreaDamageActions()

override void PostAreaDamageActions ( )
inlineprivate

◆ RemoveRefresherPosition()

void RemoveRefresherPosition ( int  idx = -2)
inlineprivate

◆ SetActions() [1/4]

override void SetActions ( )
inlineprivate

◆ SetActions() [2/4]

override void SetActions ( )
inlineprivate

◆ SetActions() [3/4]

override void SetActions ( )
inlineprivate

◆ SetActions() [4/4]

override void SetActions ( )
inlineprivate

◆ SetGateState()

void SetGateState ( int  state)
inlineprivate

◆ SetOpenedState()

void SetOpenedState ( bool  state)
inlineprivate

References m_IsOpened.

Referenced by CloseFence(), and OpenFence().

◆ SetRefresherActive()

void SetRefresherActive ( bool  state)
inlineprivate

◆ SetRefreshTimer01()

void SetRefreshTimer01 ( float  fraction)
inlineprivate

References Math::Clamp(), and Math::Round().

◆ ShelterSite()

void ShelterSite ( )
inlineprivate

◆ SoundGateCloseEnd()

protected void SoundGateCloseEnd ( )
inlineprivate

References GetGame().

Referenced by CheckFenceClosed().

◆ SoundGateCloseStart()

protected void SoundGateCloseStart ( )
inlineprivate

References GetGame().

Referenced by CloseFence().

◆ SoundGateOpenStart()

protected void SoundGateOpenStart ( )
inlineprivate

References GetGame().

Referenced by OpenFence().

◆ TerritoryFlag()

void TerritoryFlag ( )
inlineprivate

References GetCEApi().

◆ TranslateSlotFromSelection()

override bool TranslateSlotFromSelection ( string  selection_name,
out int  slot_id 
)
inlineprivate

◆ UpdateBarbedWireAreaDamagePos()

void UpdateBarbedWireAreaDamagePos ( float  rotation_angle = 0,
bool  to_delete = false 
)
inlineprivate

◆ UpdateVisuals()

◆ Watchtower()

void Watchtower ( )
inlineprivate

Field Documentation

◆ ATTACHMENT_BARBED_WIRE

ATTACHMENT_BARBED_WIRE = BarbedWire
private

◆ ATTACHMENT_CAMONET

ATTACHMENT_CAMONET = CamoNet
private

◆ ATTACHMENT_COMBINATION_LOCK

ATTACHMENT_COMBINATION_LOCK = CombinationLock
private

◆ ATTACHMENT_SLOT_COMBINATION_LOCK

const string ATTACHMENT_SLOT_COMBINATION_LOCK = "Att_CombinationLock"
private

◆ ATTACHMENT_WOODEN_LOG

ATTACHMENT_WOODEN_LOG = WoodenLog
private

◆ ATTSLOT_BARBEDWIRE_DOWN

string ATTSLOT_BARBEDWIRE_DOWN = "Wall_Barbedwire_1"
private

◆ ATTSLOT_BARBEDWIRE_UP

string ATTSLOT_BARBEDWIRE_UP = "Wall_Barbedwire_2"
private

◆ ATTSLOT_CAMONET

string ATTSLOT_CAMONET = "Wall_Camonet"
private

◆ BASE_ROOF_NAME

const string BASE_ROOF_NAME = "_roof"
staticprivate

Referenced by UpdateVisuals().

◆ BASE_VIEW_NAME

const string BASE_VIEW_NAME = "level_"
staticprivate

◆ BASE_WALL_NAME

const string BASE_WALL_NAME = "_wall_"
staticprivate

◆ GATE_ROTATION_ANGLE_DEG

const float GATE_ROTATION_ANGLE_DEG = 100
private

Referenced by OpenFence().

◆ GATE_ROTATION_TIME_APPROX

const float GATE_ROTATION_TIME_APPROX = 2000
private

◆ GATE_STATE_FULL

const int GATE_STATE_FULL = 2
private

◆ GATE_STATE_NONE

const int GATE_STATE_NONE = 0
private

◆ GATE_STATE_PARTIAL

const int GATE_STATE_PARTIAL = 1
private

Referenced by CheckGateState().

◆ m_FlagRefresherFrequency

protected int m_FlagRefresherFrequency = GameConstants.REFRESHER_FREQUENCY_DEFAULT
private

◆ m_FlagRefresherMaxDuration

protected int m_FlagRefresherMaxDuration = GameConstants.REFRESHER_MAX_DURATION_DEFAULT
private

◆ m_GateState

protected int m_GateState = 0
private

Referenced by GetGateState().

◆ m_IsOpened

protected bool m_IsOpened = false
private

◆ m_IsOpenedClient

protected bool m_IsOpenedClient = false
private

◆ m_RefresherActive

bool m_RefresherActive
private

◆ m_RefresherActiveLocal

bool m_RefresherActiveLocal
private

◆ m_RefresherInitialized

bool m_RefresherInitialized
private

◆ m_RefresherTimeRemaining

int m_RefresherTimeRemaining
private

◆ m_RefreshTimeCounter

int m_RefreshTimeCounter
private

◆ m_SoundGate_End

protected EffectSound m_SoundGate_End
private

◆ m_SoundGate_Start

protected EffectSound m_SoundGate_Start
private

◆ m_ToDiscard

protected bool m_ToDiscard = false
private

◆ MAX_ACTION_DETECTION_ANGLE_RAD

const float MAX_ACTION_DETECTION_ANGLE_RAD = 1.3
private

◆ MAX_ACTION_DETECTION_DISTANCE

const float MAX_ACTION_DETECTION_DISTANCE = 2.0
private

◆ MAX_FLOOR_VERTICAL_DISTANCE

const float MAX_FLOOR_VERTICAL_DISTANCE = 0.5
private

◆ MAX_WATCHTOWER_FLOORS

const int MAX_WATCHTOWER_FLOORS = 3
staticprivate

Referenced by UpdateVisuals().

◆ MAX_WATCHTOWER_WALLS

const int MAX_WATCHTOWER_WALLS = 3
staticprivate

Referenced by OnDebugSpawn().

◆ MIN_ACTION_DETECTION_ANGLE_RAD

const float MIN_ACTION_DETECTION_ANGLE_RAD = 0.35
private

◆ SOUND_GATE_CLOSE_END

const string SOUND_GATE_CLOSE_END = "DoorWoodTowerClose_end_SoundSet"
private

◆ SOUND_GATE_CLOSE_START

const string SOUND_GATE_CLOSE_START = "DoorWoodTowerClose_start_SoundSet"
private

◆ SOUND_GATE_OPEN_START

const string SOUND_GATE_OPEN_START = "DoorWoodTowerOpen_SoundSet"
private

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