Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_TaskNotificationConfigs.c File Reference

Go to the source code of this file.

Classes

class  SCR_TaskNotificationsRootConfig
class  SCR_BaseTaskNotificationData
class  SCR_MajorBaseTaskNotificationData
class  SCR_MinorTaskNotificationData

Functions

class SCR_TaskNotificationsRootConfig BaseContainerProps ()
class SCR_TaskNotificationsRootConfig SCR_BaseContainerCustomTitleEnum (SCR_ETaskNotification, "m_eTaskNotification", "Notification: %1")
bool CanSendNotification (notnull SCR_AIGroup receiverGroup)
bool CanSendToPlayer (notnull SCR_Faction faction, int playerId, vector taskPosition)
class SCR_BaseTaskNotificationData SCR_BaseContainerCustomTitleEnum (SCR_ETaskNotificationMsg, "m_eTaskNotificationMsg")
string GetCreationText (notnull Faction faction, notnull SCR_CampaignMilitaryBaseComponent base)

Variables

ref array< ref SCR_TaskNotificationConfig > m_aTaskNotificationList
SCR_ETaskNotificationMsg m_eTaskNotificationMsg
SCR_ETaskNotificationAllowedRole m_eAllowedCharacterRole
bool m_bSkipCommandFrequency
bool m_bAllowedDistance
from task
from params
ENotification m_eNotification
LocalizedString m_sText

Function Documentation

◆ BaseContainerProps()

class SCR_TaskNotificationsRootConfig BaseContainerProps ( )

◆ CanSendNotification()

bool BaseContainerProps::CanSendNotification ( notnull SCR_AIGroup receiverGroup)
protected

Checks if to send a message by group role

Parameters
[in]receiverGroup
Returns
true if the notification can be sent

Definition at line 19 of file SCR_TaskNotificationConfigs.c.

◆ CanSendToPlayer()

bool BaseContainerProps::CanSendToPlayer ( notnull SCR_Faction faction,
int playerId,
vector taskPosition )
protected

Checks whether the message can be sent to the player based on the character role and distance from the task

Parameters
[in]faction
[in]playerId
[in]taskPosition
Returns
true if the notification can be sent to specific players

Definition at line 33 of file SCR_TaskNotificationConfigs.c.

◆ GetCreationText()

string BaseContainerProps::GetCreationText ( notnull Faction faction,
notnull SCR_CampaignMilitaryBaseComponent base )
Parameters
[in]faction
[in]base
Returns
notification text for newly created task

Definition at line 4 of file SCR_TaskNotificationConfigs.c.

◆ SCR_BaseContainerCustomTitleEnum() [1/2]

class SCR_TaskNotificationsRootConfig SCR_BaseContainerCustomTitleEnum ( SCR_ETaskNotification ,
"m_eTaskNotification" ,
"Notification: %1"  )

Definition at line 8 of file SCR_TaskNotificationConfigs.c.

◆ SCR_BaseContainerCustomTitleEnum() [2/2]

SCR_MinorTaskNotificationData SCR_BaseTaskNotificationData SCR_BaseContainerCustomTitleEnum ( SCR_ETaskNotificationMsg ,
"m_eTaskNotificationMsg"  )
Returns
notification text for newly created task
Parameters
[in]groupId
Returns
notification text for newly created task

Definition at line 100 of file SCR_TaskNotificationConfigs.c.

Variable Documentation

◆ m_aTaskNotificationList

ref array<ref SCR_TaskNotificationConfig> m_aTaskNotificationList

Definition at line 1 of file SCR_TaskNotificationConfigs.c.

◆ m_bAllowedDistance

bool m_bAllowedDistance
protected

Definition at line 10 of file SCR_TaskNotificationConfigs.c.

◆ m_bSkipCommandFrequency

bool m_bSkipCommandFrequency
protected

Definition at line 7 of file SCR_TaskNotificationConfigs.c.

◆ m_eAllowedCharacterRole

SCR_ETaskNotificationAllowedRole m_eAllowedCharacterRole
protected

Definition at line 4 of file SCR_TaskNotificationConfigs.c.

◆ m_eNotification

ENotification m_eNotification

Definition at line 1 of file SCR_TaskNotificationConfigs.c.

◆ m_eTaskNotificationMsg

SCR_ETaskNotificationMsg m_eTaskNotificationMsg

Definition at line 1 of file SCR_TaskNotificationConfigs.c.

◆ m_sText

LocalizedString m_sText

Definition at line 4 of file SCR_TaskNotificationConfigs.c.

◆ params

from params
protected

Definition at line 12 of file SCR_TaskNotificationConfigs.c.

◆ task

from task
protected

Definition at line 12 of file SCR_TaskNotificationConfigs.c.