Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
SCR_CampaignDefendTaskSupportEntity Interface Reference
Inheritance diagram for SCR_CampaignDefendTaskSupportEntity:
[legend]

Public Member Functions

OnCharacterDeathInvoker GetOnCharacterDeath ()
 
override bool CanRequest ()
 
override void Request ()
 
override void SetRequestButtonText (notnull TextWidget textWidget)
 
void RPC_SetTargetBase (int taskID, int baseID)
 
void SetTargetBase (notnull SCR_CampaignBaseTask task, notnull SCR_CampaignMilitaryBaseComponent base)
 
void CreateCampaignDefendTask (SCR_CampaignMilitaryBaseComponent targetBase, Faction targetFaction)
 
void OnControllableCreated (IEntity controllable)
 
void OnCharacterDeath (SCR_CharacterControllerComponent characterControllerComponent, IEntity killerEntity, Instigator killer)
 
void OnControllableDeleted (IEntity controllable)
 
array< SCR_ChimeraCharacterGetCharactersByFaction (SCR_CampaignFaction faction)
 
float GetMinAllyDistance ()
 
float GetMaxAllyDistance ()
 
float GetMinEnemyDistance ()
 
float GetMaxEnemyDistance ()
 
override void OnTaskListOpen (notnull SCR_UITaskManagerComponent uiTaskManagerComponent)
 
override void Initialize ()
 
void ~SCR_CampaignDefendTaskSupportEntity ()
 
- Public Member Functions inherited from SCR_RequestedTaskSupportEntity
void SetLocallyRequestedTask (notnull SCR_RequestedTask requestedTask)
 
SCR_RequestedTask GetLocallyRequestedTask ()
 
void SetRequester (notnull SCR_RequestedTask task, SCR_BaseTaskExecutor requester)
 
void RPC_SetRequester (int taskID, int requesterID)
 
vector GetRequestPosition ()
 
bool CanRequest ()
 
void SetRequestButtonText (notnull TextWidget textWidget)
 
void Request ()
 
Widget CreateButtonAndSetPadding (Widget parentWidget, notnull inout array< Widget > widgets, float left=4, float top=4, float right=4, float bottom=4)
 
- Public Member Functions inherited from SCR_BaseTaskSupportEntity
void SetTargetFaction (notnull SCR_BaseTask task, notnull Faction faction)
 
void RPC_SetTargetFaction (int taskID, int factionIndex)
 
SCR_BaseTask CreateTask ()
 
void Initialize ()
 
void OnTaskListOpen (notnull SCR_UITaskManagerComponent uiTaskManagerComponent)
 
ResourceName GetTaskDescriptionWidgetResource ()
 
ResourceName GetResourceName ()
 
Resource GetTaskPrefab ()
 
void MoveTask (vector newPosition, int taskID)
 
void RPC_MoveTask (int taskID, vector newPosition)
 
void AssignTask (notnull SCR_BaseTask task, notnull SCR_BaseTaskExecutor assignee, bool forced=false)
 
void RPC_AssignTask (int playerID, int taskID, float timestamp, bool forced)
 Assigns a task on clients.
 
void CancelTask (int taskID)
 
void FinishTask (notnull SCR_BaseTask task)
 
void FailTask (notnull SCR_BaseTask task)
 
void UnassignTask (notnull SCR_BaseTask task, notnull SCR_BaseTaskExecutor assignee, SCR_EUnassignReason reason)
 
void RPC_UnassignTask (int taskID, int playerID, SCR_EUnassignReason reason)
 Assigns a task on clients.
 
void SetTaskState (notnull SCR_BaseTask task, SCR_TaskState state)
 
void RPC_SetTaskState (int taskID, SCR_TaskState state)
 
void SetTaskDescription (notnull SCR_BaseTask task, string description)
 
void RPC_SetTaskDescription (int taskID, string description)
 
void SetTaskTitle (notnull SCR_BaseTask task, string title)
 
void RPC_SetTaskTitle (int taskID, string title)
 
void OnMapOpen (MapConfiguration config)
 
override void EOnInit (IEntity owner)
 
void SCR_BaseTaskSupportEntity (IEntitySource src, IEntity parent)
 
void ~SCR_BaseTaskSupportEntity ()
 

Protected Attributes

float m_fMinAllyDistance
 
float m_fMaxAllyDistance
 
float m_fMinEnemyDistance
 
float m_fMaxEnemyDistance
 
ref map< SCR_CampaignFaction, ref array< SCR_ChimeraCharacter > > m_mFactionSortedCharacters = new map<SCR_CampaignFaction, ref array<SCR_ChimeraCharacter>>()
 
ref OnCharacterDeathInvoker m_OnCharacterDeath
 
SCR_CampaignMilitaryBaseComponent m_ClosestBase
 
- Protected Attributes inherited from SCR_RequestedTaskSupportEntity
ResourceName m_sUIRequestButtonResource
 
SCR_EUIRequestType m_eRequestType
 
LocalizedString m_sRequestButtonText
 
SCR_RequestedTask m_LocallyRequestedTask
 
- Protected Attributes inherited from SCR_BaseTaskSupportEntity
ResourceName m_sTaskDescriptionWidgetResource
 
ResourceName m_sTaskPrefab
 

Additional Inherited Members

- Protected Member Functions inherited from SCR_RequestedTaskSupportEntity
override void RegisterContextualMenuCallbacks ()
 
- Protected Member Functions inherited from SCR_BaseTaskSupportEntity
void RPC_CancelTask (int taskID)
 
void RPC_FinishTask (int taskID)
 
void RPC_FailTask (int taskID)
 
void RegisterContextualMenuCallbacks ()
 

Constructor & Destructor Documentation

◆ ~SCR_CampaignDefendTaskSupportEntity()

void SCR_CampaignDefendTaskSupportEntity.~SCR_CampaignDefendTaskSupportEntity ( )

Member Function Documentation

◆ CanRequest()

override bool SCR_CampaignDefendTaskSupportEntity.CanRequest ( )

◆ CreateCampaignDefendTask()

void SCR_CampaignDefendTaskSupportEntity.CreateCampaignDefendTask ( SCR_CampaignMilitaryBaseComponent  targetBase,
Faction  targetFaction 
)

◆ GetCharactersByFaction()

array< SCR_ChimeraCharacter > SCR_CampaignDefendTaskSupportEntity.GetCharactersByFaction ( SCR_CampaignFaction  faction)

◆ GetMaxAllyDistance()

float SCR_CampaignDefendTaskSupportEntity.GetMaxAllyDistance ( )

◆ GetMaxEnemyDistance()

float SCR_CampaignDefendTaskSupportEntity.GetMaxEnemyDistance ( )

◆ GetMinAllyDistance()

float SCR_CampaignDefendTaskSupportEntity.GetMinAllyDistance ( )

◆ GetMinEnemyDistance()

float SCR_CampaignDefendTaskSupportEntity.GetMinEnemyDistance ( )

◆ GetOnCharacterDeath()

OnCharacterDeathInvoker SCR_CampaignDefendTaskSupportEntity.GetOnCharacterDeath ( )

◆ Initialize()

override void SCR_CampaignDefendTaskSupportEntity.Initialize ( )

◆ OnCharacterDeath()

void SCR_CampaignDefendTaskSupportEntity.OnCharacterDeath ( SCR_CharacterControllerComponent  characterControllerComponent,
IEntity  killerEntity,
Instigator  killer 
)

◆ OnControllableCreated()

void SCR_CampaignDefendTaskSupportEntity.OnControllableCreated ( IEntity  controllable)

◆ OnControllableDeleted()

void SCR_CampaignDefendTaskSupportEntity.OnControllableDeleted ( IEntity  controllable)

◆ OnTaskListOpen()

override void SCR_CampaignDefendTaskSupportEntity.OnTaskListOpen ( notnull SCR_UITaskManagerComponent  uiTaskManagerComponent)

◆ Request()

override void SCR_CampaignDefendTaskSupportEntity.Request ( )

◆ RPC_SetTargetBase()

void SCR_CampaignDefendTaskSupportEntity.RPC_SetTargetBase ( int  taskID,
int  baseID 
)

◆ SetRequestButtonText()

override void SCR_CampaignDefendTaskSupportEntity.SetRequestButtonText ( notnull TextWidget  textWidget)

◆ SetTargetBase()

void SCR_CampaignDefendTaskSupportEntity.SetTargetBase ( notnull SCR_CampaignBaseTask  task,
notnull SCR_CampaignMilitaryBaseComponent  base 
)

Member Data Documentation

◆ m_ClosestBase

SCR_CampaignMilitaryBaseComponent SCR_CampaignDefendTaskSupportEntity.m_ClosestBase
protected

◆ m_fMaxAllyDistance

float SCR_CampaignDefendTaskSupportEntity.m_fMaxAllyDistance
protected

◆ m_fMaxEnemyDistance

float SCR_CampaignDefendTaskSupportEntity.m_fMaxEnemyDistance
protected

◆ m_fMinAllyDistance

float SCR_CampaignDefendTaskSupportEntity.m_fMinAllyDistance
protected

◆ m_fMinEnemyDistance

float SCR_CampaignDefendTaskSupportEntity.m_fMinEnemyDistance
protected

◆ m_mFactionSortedCharacters

ref map<SCR_CampaignFaction, ref array<SCR_ChimeraCharacter> > SCR_CampaignDefendTaskSupportEntity.m_mFactionSortedCharacters = new map<SCR_CampaignFaction, ref array<SCR_ChimeraCharacter>>()
protected

◆ m_OnCharacterDeath

ref OnCharacterDeathInvoker SCR_CampaignDefendTaskSupportEntity.m_OnCharacterDeath
protected

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