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< string > | OnDebugSpawnBuildExcludes () |
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< string > | OnDebugSpawnBuildExcludes () |
Excludes certain parts from being built by OnDebugSpawn, uses Contains to compare. | |
override void | OnDebugSpawn () |
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 |
|
inlineprivate |
|
inlineprivate |
References Math::Clamp(), and Math::Round().
|
inlineprivate |
|
inlineprivate |
References GetCEApi(), and UpdateVisuals().
|
inlineprivate |
References UpdateVisuals().
|
inlineprivate |
|
inlineprivate |
References Math::Clamp(), InventorySlots::GetSlotIdFromString(), and Math::Round().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
References HasHinges(), and IsOpened().
References HasBase().
References GetConstruction(), HasBase(), and IsPartConstructed().
|
inlineprivate |
References HasHinges(), IsLocked(), and IsOpened().
References CGame::ConfigGetChildName(), CGame::ConfigGetChildrenCount(), GetConstruction(), GetGame(), ConstructionPart::GetId(), ConstructionPart::GetMainPartName(), ConstructionPart::GetPartName(), GetPlayer(), InventorySlots::GetSlotName(), GetType(), ConstructionPart::IsBuilt(), IsPartConstructed(), and ConstructionActionData::SetActionInitiator().
|
inlineprivate |
References IsOpened().
Referenced by ActionMountBarbedWire::ActionCondition(), and ActionUnmountBarbedWire::ActionCondition().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
References CheckMemoryPointVerticalDistance(), and string::Contains().
Referenced by IsPlayerInside().
|
inlineprivate |
|
inlineprivate |
References Math::AbsFloat().
Referenced by CanDisplayAttachmentCategory(), CanDisplayAttachmentSlot(), CheckLevelVerticalDistance(), and CheckSlotVerticalDistance().
|
inlineprivate |
|
inlineprivate |
References CALL_CATEGORY_GAMEPLAY, ScriptCallQueue::CallLater(), CGame::GetCallQueue(), GetGame(), ScriptCallQueue::Remove(), SetOpenedState(), SoundGateCloseStart(), SynchronizeBaseState(), UpdateBarbedWireAreaDamagePos(), and UpdateNavmesh().
Referenced by OnPartDestroyedServer(), and OnVariablesSynchronized().
References IsOpened().
References GetGame().
|
inlineprivate |
References GetConstruction(), GetGateState(), InventorySlots::GetSlotName(), and ConstructionPart::IsBuilt().
Referenced by CanDisplayAttachmentSlot(), and CanReceiveAttachment().
|
inlineprivate |
|
inlineprivate |
Referenced by GateAttachmentsSanityCheck(), OnPartDestroyedServer(), and UpdateBarbedWireAreaDamagePos().
|
inlineprivate |
Referenced by GateAttachmentsSanityCheck(), OnPartDestroyedServer(), and UpdateBarbedWireAreaDamagePos().
|
inlineprivate |
Referenced by GateAttachmentsSanityCheck(), and OnPartDestroyedServer().
|
inlineprivate |
Referenced by GateAttachmentsSanityCheck(), IsLocked(), and OnPartDestroyedServer().
|
inlineprivate |
Referenced by ItemBase::CreateConstructionKit(), and ItemBase::CreateConstructionKitInHands().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
References m_GateState.
Referenced by GateAttachmentConditions().
|
inlineprivate |
References GetPosition.
Referenced by ItemBase::CreateConstructionKit().
|
inlineprivate |
References GetPosition.
|
inlineprivate |
References GetPosition.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
References Class::CastTo().
Referenced by GateAttachmentsSanityCheck(), and OnPartDestroyedServer().
|
inlineprivate |
Saves positions of active lifetime refreshers to MissionGameplay / MissionServer.
References GetGame(), CGame::GetMission(), GetPosition, Mission::m_ActiveRefresherLocations, and mission.
|
inlineprivate |
References GATE_STATE_FULL.
Referenced by CanDisplayAttachmentSlot(), and CanReceiveAttachment().
|
inlineprivate |
References GATE_STATE_NONE.
Referenced by CanCloseFence(), and CanOpenFence().
|
inlineprivate |
References vector::Distance().
Referenced by ActionRepairPart::RepairCondition().
|
inlineprivate |
References vector::Distance().
|
inlineprivate |
References vector::Distance().
|
inlineprivate |
References vector::Distance().
|
inlineprivate |
References GetCEApi().
|
inlineprivate |
References GetGame(), CGame::GetMission(), GetPosition, Mission::m_ActiveRefresherLocations, and mission.
References Math::Acos(), CGame::GetCurrentCameraDirection(), GetGame(), vector::Length(), and vector::Normalize().
References Math::Acos(), CGame::GetCurrentCameraDirection(), GetGame(), vector::Length(), and vector::Normalize().
References vector::Dot(), CGame::GetCurrentCameraDirection(), GetGame(), GetPosition, vector::Length(), and vector::Normalize().
|
inlineprivate |
References Math::Acos(), GetPosition, vector::Length(), and vector::Normalize().
Referenced by ActionRepairPart::RepairCondition().
|
inlineprivate |
References Math::Acos(), GetPosition, vector::Length(), and vector::Normalize().
|
inlineprivate |
References Math::AbsFloat(), vector::Dot(), GetPosition, vector::Length(), and vector::Normalize().
|
inlineprivate |
References GetCombinationLock().
Referenced by CanOpenFence(), and OnPartDismantledServer().
|
inlineprivate |
References m_IsOpened.
Referenced by AfterStoreLoad(), CanCloseFence(), CanOpenFence(), CanReceiveAttachment(), CanUseConstructionBuild(), CreateAreaDamage(), ActionDismantlePart::DismantleCondition(), and OnPartDestroyedServer().
|
inlineprivate |
References vector::AnglesToVector(), GetPosition, vector::Length(), vector::Normalize(), vector::VectorToAngles(), and x.
Referenced by ActionMountBarbedWire::ActionCondition(), ActionUnmountBarbedWire::ActionCondition(), ActionTakeMaterialToHands::ActionCondition(), ActionAttachToConstruction::ActionCondition(), ActionTakeMaterialToHandsSwitch::ActionCondition(), BuildCondition(), ActionDismantlePart::DismantleCondition(), and VicinityContainer::UpdateInterval().
|
inlineprivate |
References vector::AnglesToVector(), GetPosition, vector::Length(), vector::Normalize(), and vector::VectorToAngles().
|
inlineprivate |
References vector::AnglesToVector(), GetPosition, vector::Length(), vector::Normalize(), vector::VectorToAngles(), and x.
|
inlineprivate |
|
inlineprivate |
References GetPlugin().
|
inlineprivate |
Referenced by BuildCondition().
|
inlineprivate |
References Math::Clamp(), GetCEApi(), GetPosition, GameConstants::REFRESHER_RADIUS, and Math::Round().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
References MAX_WATCHTOWER_WALLS.
Excludes certain parts from being built by OnDebugSpawn, uses Contains to compare.
References DiagMenu::GetBool().
Referenced by ItemBase::FullyBuild().
Excludes certain parts from being built by OnDebugSpawn, uses Contains to compare.
References DiagMenu::GetBool().
|
inlineprivate |
References CheckGateState(), GetConstruction(), SetGateState(), and UpdateVisuals().
Referenced by ItemBase::FullyBuild().
|
inlineprivate |
References GetConstruction(), and GetPlugin().
|
inlineprivate |
References UpdateVisuals().
|
inlineprivate |
References UpdateVisuals().
|
inlineprivate |
References UpdateVisuals().
|
inlineprivate |
References UpdateVisuals().
|
inlineprivate |
References CheckGateState(), GetConstruction(), ConstructionPart::IsGate(), IsLocked(), SetGateState(), and UpdateVisuals().
|
inlineprivate |
References GetConstruction(), and UpdateVisuals().
|
inlineprivate |
References UpdateVisuals().
|
inlineprivate |
References bsbDebugPrint(), GATE_STATE_NONE, LogManager::IsBaseBuildingLogEnable(), m_IsOpened, and Serializer::Read().
|
inlineprivate |
References Serializer::Read().
|
inlineprivate |
References bsbDebugPrint(), LogManager::IsBaseBuildingLogEnable(), m_IsOpened, and Serializer::Write().
|
inlineprivate |
References Serializer::Write().
|
inlineprivate |
References CloseFence(), m_IsOpened, m_IsOpened, and OpenFence().
|
inlineprivate |
|
inlineprivate |
References CALL_CATEGORY_GAMEPLAY, ScriptCallQueue::CallLater(), GATE_ROTATION_ANGLE_DEG, CGame::GetCallQueue(), GetGame(), ScriptCallQueue::Remove(), SetOpenedState(), SoundGateOpenStart(), SynchronizeBaseState(), UpdateBarbedWireAreaDamagePos(), and UpdateNavmesh().
Referenced by AfterStoreLoad(), and OnVariablesSynchronized().
|
inlineprivate |
References CfgGameplayHandler::GetDisablePerformRoofCheck(), GetGame(), GetOrientation(), GetPosition, and CGame::IsBoxCollidingGeometry().
Referenced by ComplexBuildCollideCheckClient().
|
inlineprivate |
|
inlineprivate |
References GetGame(), CGame::GetMission(), GetPosition, Mission::m_ActiveRefresherLocations, and mission.
|
inlineprivate |
References ActionFoldBaseBuildingObject(), ActionPlaceObject(), and AddAction().
|
inlineprivate |
References ActionFoldBaseBuildingObject(), ActionPlaceObject(), and AddAction().
|
inlineprivate |
References ActionFoldBaseBuildingObject(), and AddAction().
|
inlineprivate |
References ActionFoldBaseBuildingObject(), ActionPlaceObject(), and AddAction().
|
inlineprivate |
Referenced by AfterStoreLoad(), OnPartBuiltServer(), OnPartDestroyedServer(), and OnPartDismantledServer().
|
inlineprivate |
References m_IsOpened.
Referenced by CloseFence(), and OpenFence().
|
inlineprivate |
References GetCEApi(), GetPosition, and GameConstants::REFRESHER_RADIUS.
|
inlineprivate |
References Math::Clamp(), and Math::Round().
|
inlineprivate |
|
inlineprivate |
References GetGame().
Referenced by CheckFenceClosed().
|
inlineprivate |
References GetGame().
Referenced by CloseFence().
|
inlineprivate |
References GetGame().
Referenced by OpenFence().
|
inlineprivate |
References GetCEApi().
References InventorySlots::GetSlotIdFromString().
|
inlineprivate |
References DestroyAreaDamage(), GetBarbedWire1(), and GetBarbedWire2().
Referenced by CheckFenceClosed(), CheckFenceOpened(), CloseFence(), and OpenFence().
|
inlineprivate |
References BASE_ROOF_NAME, GetConstruction(), and MAX_WATCHTOWER_FLOORS.
Referenced by AfterStoreLoad(), ItemBase::EEItemAttached(), ItemBase::EEItemDetached(), ItemBase::OnPartBuiltServer(), OnPartBuiltServer(), ItemBase::OnPartDestroyedServer(), OnPartDestroyedServer(), ItemBase::OnPartDismantledServer(), OnPartDismantledServer(), and ItemBase::OnSynchronizedClient().
|
inlineprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
Referenced by UpdateVisuals().
|
staticprivate |
|
staticprivate |
|
private |
Referenced by OpenFence().
|
private |
|
private |
Referenced by CheckGateState(), and HasFullyConstructedGate().
|
private |
Referenced by CheckGateState(), HasHinges(), and OnStoreLoad().
|
private |
Referenced by CheckGateState().
|
private |
|
private |
|
private |
Referenced by GetGateState().
|
private |
Referenced by IsOpened(), and OnVariablesSynchronized().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
Referenced by UpdateVisuals().
|
staticprivate |
Referenced by OnDebugSpawn().
|
private |
|
private |
|
private |
|
private |