Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_SeizingComponent Class Reference
Inheritance diagram for SCR_SeizingComponent:
SCR_CampaignSeizingComponent

Protected Member Functions

bool IsProxy ()
int GetRadius ()
int GetMaximumAltitude ()
void AllowNotifications (bool allow)
bool NotificationsAllowed ()
ScriptInvoker GetOnCaptureStart ()
ScriptInvoker GetOnCaptureInterrupt ()
ScriptInvoker GetOnCaptureFinish ()
OnTimerChangeInvoker GetOnTimerChange ()
void EvaluatePrevailingFaction ()
void OnQueryFinished (BaseGameTriggerEntity trigger)
SCR_Faction EvaluateEntityFaction (IEntity ent)
void OnPrevailingFactionChanged ()
void OnSeizingTimestampChanged ()
void RefreshSeizingTimer ()
void HandleGradualReset ()
 When capture started after getting interrupted, take into account the time spent on it.
WorldTimestamp GetSeizingStartTimestamp ()
WorldTimestamp GetSeizingEndTimestamp ()
void RpcDo_OnCaptureStart (int factionIndex)
void RpcDo_OnCaptureInterrupt (int factionIndex)
void RpcDo_OnCaptureFinish (int factionIndex)
void OnPlayerSpawned (int playerId, IEntity controlledEntity)
void UpdateFlagsInHierarchy (notnull SCR_Faction faction)
bool GetIsLocalPlayerPresent ()
void NotifyPlayerInRadius (notnull SCR_Faction faction)
Faction GetFaction ()
override void OnBaseFactionChanged (Faction faction)
bool IsDisabledAI (IEntity ent)
void Disable ()
override void OnPostInit (IEntity owner)
override void EOnFrame (IEntity owner, float timeSlice)
void ~SCR_SeizingComponent ()

Protected Attributes

int m_iRadius
int m_iMaximumAltitude
float m_fMaximumSeizingTime
float m_fMinimumSeizingTime
int m_iMaximumSeizingCharacters
float m_fRespawnCooldownPeriod
bool m_bGradualTimerReset
bool m_bIgnoreNonPlayableAttackers
bool m_bIgnoreNonPlayableDefenders
bool m_bCapturingRequiresPlayer
bool m_bShowNotifications
ENotification m_eCapturedByFriendliesNotification
ENotification m_eCapturedByEnemiesNotification
WorldTimestamp m_fSeizingStartTimestamp
WorldTimestamp m_fSeizingEndTimestamp
ref ScriptInvoker m_OnCaptureStart
ref ScriptInvoker m_OnCaptureInterrupt
ref ScriptInvoker m_OnCaptureFinish
ref OnTimerChangeInvoker m_OnTimerChange
WorldTimestamp m_fInterruptedCaptureTimestamp
float m_fCurrentSeizingTime
float m_fInterruptedCaptureDuration
SCR_Faction m_PrevailingFaction
SCR_Faction m_PrevailingFactionPrevious
BaseGameTriggerEntity m_Trigger
bool m_bQueryFinished = true
bool m_bEnabled = true
RplComponent m_RplComponent
bool m_bCharacterPresent
SCR_FactionAffiliationComponent m_FactionControl
int m_iSeizingCharacters
ref map< int, WorldTimestampm_mSpawnTimers = new map<int, WorldTimestamp>()
bool m_bDeleteDisabledAIs = false

Static Protected Attributes

static const float TRIGGER_CHECK_PERIOD_IDLE = 3
static const float TRIGGER_CHECK_PERIOD_ACTIVE = 1

Detailed Description

Definition at line 18 of file SCR_SeizingComponent.c.

Constructor & Destructor Documentation

◆ ~SCR_SeizingComponent()

void SCR_SeizingComponent::~SCR_SeizingComponent ( )
inlineprotected

Definition at line 773 of file SCR_SeizingComponent.c.

Member Function Documentation

◆ AllowNotifications()

void SCR_SeizingComponent::AllowNotifications ( bool allow)
inlineprotected
Parameters
[in]allow

Definition at line 110 of file SCR_SeizingComponent.c.

◆ Disable()

void SCR_SeizingComponent::Disable ( )
inlineprotected

Definition at line 639 of file SCR_SeizingComponent.c.

◆ EOnFrame()

override void SCR_SeizingComponent::EOnFrame ( IEntity owner,
float timeSlice )
inlineprotected

Definition at line 742 of file SCR_SeizingComponent.c.

◆ EvaluateEntityFaction()

SCR_Faction SCR_SeizingComponent::EvaluateEntityFaction ( IEntity ent)
inlineprotected

Definition at line 313 of file SCR_SeizingComponent.c.

◆ EvaluatePrevailingFaction()

void SCR_SeizingComponent::EvaluatePrevailingFaction ( )
inlineprotected

Definition at line 164 of file SCR_SeizingComponent.c.

◆ GetFaction()

Faction SCR_SeizingComponent::GetFaction ( )
inlineprotected
Returns

Definition at line 595 of file SCR_SeizingComponent.c.

◆ GetIsLocalPlayerPresent()

bool SCR_SeizingComponent::GetIsLocalPlayerPresent ( )
inlineprotected

Definition at line 568 of file SCR_SeizingComponent.c.

◆ GetMaximumAltitude()

int SCR_SeizingComponent::GetMaximumAltitude ( )
inlineprotected

Definition at line 102 of file SCR_SeizingComponent.c.

◆ GetOnCaptureFinish()

ScriptInvoker SCR_SeizingComponent::GetOnCaptureFinish ( )
inlineprotected
Returns

Definition at line 145 of file SCR_SeizingComponent.c.

◆ GetOnCaptureInterrupt()

ScriptInvoker SCR_SeizingComponent::GetOnCaptureInterrupt ( )
inlineprotected
Returns

Definition at line 135 of file SCR_SeizingComponent.c.

◆ GetOnCaptureStart()

ScriptInvoker SCR_SeizingComponent::GetOnCaptureStart ( )
inlineprotected
Returns

Definition at line 125 of file SCR_SeizingComponent.c.

◆ GetOnTimerChange()

OnTimerChangeInvoker SCR_SeizingComponent::GetOnTimerChange ( )
inlineprotected
Returns

Definition at line 155 of file SCR_SeizingComponent.c.

◆ GetRadius()

int SCR_SeizingComponent::GetRadius ( )
inlineprotected
Returns

Definition at line 96 of file SCR_SeizingComponent.c.

◆ GetSeizingEndTimestamp()

WorldTimestamp SCR_SeizingComponent::GetSeizingEndTimestamp ( )
inlineprotected
Returns

Definition at line 455 of file SCR_SeizingComponent.c.

◆ GetSeizingStartTimestamp()

WorldTimestamp SCR_SeizingComponent::GetSeizingStartTimestamp ( )
inlineprotected
Returns

Definition at line 448 of file SCR_SeizingComponent.c.

◆ HandleGradualReset()

void SCR_SeizingComponent::HandleGradualReset ( )
inlineprotected

When capture started after getting interrupted, take into account the time spent on it.

Definition at line 431 of file SCR_SeizingComponent.c.

◆ IsDisabledAI()

bool SCR_SeizingComponent::IsDisabledAI ( IEntity ent)
inlineprotected

Definition at line 610 of file SCR_SeizingComponent.c.

◆ IsProxy()

bool SCR_SeizingComponent::IsProxy ( )
inlineprotected

Definition at line 89 of file SCR_SeizingComponent.c.

◆ NotificationsAllowed()

bool SCR_SeizingComponent::NotificationsAllowed ( )
inlineprotected
Returns

Definition at line 118 of file SCR_SeizingComponent.c.

◆ NotifyPlayerInRadius()

void SCR_SeizingComponent::NotifyPlayerInRadius ( notnull SCR_Faction faction)
inlineprotected

Definition at line 578 of file SCR_SeizingComponent.c.

◆ OnBaseFactionChanged()

override void SCR_SeizingComponent::OnBaseFactionChanged ( Faction faction)
inlineprotected

Definition at line 604 of file SCR_SeizingComponent.c.

◆ OnPlayerSpawned()

void SCR_SeizingComponent::OnPlayerSpawned ( int playerId,
IEntity controlledEntity )
inlineprotected

Definition at line 527 of file SCR_SeizingComponent.c.

◆ OnPostInit()

override void SCR_SeizingComponent::OnPostInit ( IEntity owner)
inlineprotected

Definition at line 665 of file SCR_SeizingComponent.c.

◆ OnPrevailingFactionChanged()

void SCR_SeizingComponent::OnPrevailingFactionChanged ( )
inlineprotected

Definition at line 361 of file SCR_SeizingComponent.c.

◆ OnQueryFinished()

void SCR_SeizingComponent::OnQueryFinished ( BaseGameTriggerEntity trigger)
inlineprotected

Definition at line 186 of file SCR_SeizingComponent.c.

◆ OnSeizingTimestampChanged()

void SCR_SeizingComponent::OnSeizingTimestampChanged ( )
inlineprotected

Definition at line 392 of file SCR_SeizingComponent.c.

◆ RefreshSeizingTimer()

void SCR_SeizingComponent::RefreshSeizingTimer ( )
inlineprotected

Definition at line 409 of file SCR_SeizingComponent.c.

◆ RpcDo_OnCaptureFinish()

void SCR_SeizingComponent::RpcDo_OnCaptureFinish ( int factionIndex)
inlineprotected

Definition at line 498 of file SCR_SeizingComponent.c.

◆ RpcDo_OnCaptureInterrupt()

void SCR_SeizingComponent::RpcDo_OnCaptureInterrupt ( int factionIndex)
inlineprotected

Definition at line 480 of file SCR_SeizingComponent.c.

◆ RpcDo_OnCaptureStart()

void SCR_SeizingComponent::RpcDo_OnCaptureStart ( int factionIndex)
inlineprotected

Definition at line 462 of file SCR_SeizingComponent.c.

◆ UpdateFlagsInHierarchy()

void SCR_SeizingComponent::UpdateFlagsInHierarchy ( notnull SCR_Faction faction)
inlineprotected

Definition at line 541 of file SCR_SeizingComponent.c.

Member Data Documentation

◆ m_bCapturingRequiresPlayer

bool SCR_SeizingComponent::m_bCapturingRequiresPlayer
protected

Definition at line 48 of file SCR_SeizingComponent.c.

◆ m_bCharacterPresent

bool SCR_SeizingComponent::m_bCharacterPresent
protected

Definition at line 82 of file SCR_SeizingComponent.c.

◆ m_bDeleteDisabledAIs

bool SCR_SeizingComponent::m_bDeleteDisabledAIs = false
protected

Definition at line 86 of file SCR_SeizingComponent.c.

◆ m_bEnabled

bool SCR_SeizingComponent::m_bEnabled = true
protected

Definition at line 80 of file SCR_SeizingComponent.c.

◆ m_bGradualTimerReset

bool SCR_SeizingComponent::m_bGradualTimerReset
protected

Definition at line 39 of file SCR_SeizingComponent.c.

◆ m_bIgnoreNonPlayableAttackers

bool SCR_SeizingComponent::m_bIgnoreNonPlayableAttackers
protected

Definition at line 42 of file SCR_SeizingComponent.c.

◆ m_bIgnoreNonPlayableDefenders

bool SCR_SeizingComponent::m_bIgnoreNonPlayableDefenders
protected

Definition at line 45 of file SCR_SeizingComponent.c.

◆ m_bQueryFinished

bool SCR_SeizingComponent::m_bQueryFinished = true
protected

Definition at line 79 of file SCR_SeizingComponent.c.

◆ m_bShowNotifications

bool SCR_SeizingComponent::m_bShowNotifications
protected

Definition at line 51 of file SCR_SeizingComponent.c.

◆ m_eCapturedByEnemiesNotification

ENotification SCR_SeizingComponent::m_eCapturedByEnemiesNotification
protected

Definition at line 57 of file SCR_SeizingComponent.c.

◆ m_eCapturedByFriendliesNotification

ENotification SCR_SeizingComponent::m_eCapturedByFriendliesNotification
protected

Definition at line 54 of file SCR_SeizingComponent.c.

◆ m_FactionControl

SCR_FactionAffiliationComponent SCR_SeizingComponent::m_FactionControl
protected

Definition at line 83 of file SCR_SeizingComponent.c.

◆ m_fCurrentSeizingTime

float SCR_SeizingComponent::m_fCurrentSeizingTime
protected

Definition at line 74 of file SCR_SeizingComponent.c.

◆ m_fInterruptedCaptureDuration

float SCR_SeizingComponent::m_fInterruptedCaptureDuration
protected

Definition at line 75 of file SCR_SeizingComponent.c.

◆ m_fInterruptedCaptureTimestamp

WorldTimestamp SCR_SeizingComponent::m_fInterruptedCaptureTimestamp
protected

Definition at line 73 of file SCR_SeizingComponent.c.

◆ m_fMaximumSeizingTime

float SCR_SeizingComponent::m_fMaximumSeizingTime
protected

Definition at line 27 of file SCR_SeizingComponent.c.

◆ m_fMinimumSeizingTime

float SCR_SeizingComponent::m_fMinimumSeizingTime
protected

Definition at line 30 of file SCR_SeizingComponent.c.

◆ m_fRespawnCooldownPeriod

float SCR_SeizingComponent::m_fRespawnCooldownPeriod
protected

Definition at line 36 of file SCR_SeizingComponent.c.

◆ m_fSeizingEndTimestamp

WorldTimestamp SCR_SeizingComponent::m_fSeizingEndTimestamp
protected

Definition at line 63 of file SCR_SeizingComponent.c.

◆ m_fSeizingStartTimestamp

WorldTimestamp SCR_SeizingComponent::m_fSeizingStartTimestamp
protected

Definition at line 60 of file SCR_SeizingComponent.c.

◆ m_iMaximumAltitude

int SCR_SeizingComponent::m_iMaximumAltitude
protected

Definition at line 24 of file SCR_SeizingComponent.c.

◆ m_iMaximumSeizingCharacters

int SCR_SeizingComponent::m_iMaximumSeizingCharacters
protected

Definition at line 33 of file SCR_SeizingComponent.c.

◆ m_iRadius

int SCR_SeizingComponent::m_iRadius
protected

Definition at line 21 of file SCR_SeizingComponent.c.

◆ m_iSeizingCharacters

int SCR_SeizingComponent::m_iSeizingCharacters
protected

Definition at line 84 of file SCR_SeizingComponent.c.

◆ m_mSpawnTimers

ref map<int, WorldTimestamp> SCR_SeizingComponent::m_mSpawnTimers = new map<int, WorldTimestamp>()
protected

Definition at line 85 of file SCR_SeizingComponent.c.

◆ m_OnCaptureFinish

ref ScriptInvoker SCR_SeizingComponent::m_OnCaptureFinish
protected

Definition at line 70 of file SCR_SeizingComponent.c.

◆ m_OnCaptureInterrupt

ref ScriptInvoker SCR_SeizingComponent::m_OnCaptureInterrupt
protected

Definition at line 69 of file SCR_SeizingComponent.c.

◆ m_OnCaptureStart

ref ScriptInvoker SCR_SeizingComponent::m_OnCaptureStart
protected

Definition at line 68 of file SCR_SeizingComponent.c.

◆ m_OnTimerChange

ref OnTimerChangeInvoker SCR_SeizingComponent::m_OnTimerChange
protected

Definition at line 71 of file SCR_SeizingComponent.c.

◆ m_PrevailingFaction

SCR_Faction SCR_SeizingComponent::m_PrevailingFaction
protected

Definition at line 76 of file SCR_SeizingComponent.c.

◆ m_PrevailingFactionPrevious

SCR_Faction SCR_SeizingComponent::m_PrevailingFactionPrevious
protected

Definition at line 77 of file SCR_SeizingComponent.c.

◆ m_RplComponent

RplComponent SCR_SeizingComponent::m_RplComponent
protected

Definition at line 81 of file SCR_SeizingComponent.c.

◆ m_Trigger

BaseGameTriggerEntity SCR_SeizingComponent::m_Trigger
protected

Definition at line 78 of file SCR_SeizingComponent.c.

◆ TRIGGER_CHECK_PERIOD_ACTIVE

const float SCR_SeizingComponent::TRIGGER_CHECK_PERIOD_ACTIVE = 1
staticprotected

Definition at line 66 of file SCR_SeizingComponent.c.

◆ TRIGGER_CHECK_PERIOD_IDLE

const float SCR_SeizingComponent::TRIGGER_CHECK_PERIOD_IDLE = 3
staticprotected

Definition at line 65 of file SCR_SeizingComponent.c.


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