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

Go to the source code of this file.

Classes

class  SCR_TaskNotificationManagerComponentClass

Functions

SCR_TaskNotificationManagerComponentClass SCR_BaseGameModeComponentClass Attribute (desc:"Task notifications root config")
SCR_TaskNotificationConfig GetTaskNotificationConfig (SCR_ETaskNotification taskNotification)
string GetTaskNameWithBase (string taskName, notnull Faction faction, notnull SCR_CampaignMilitaryBaseComponent base)
string GetTaskNameWithGrid (LocalizedString taskKey, int grid)
void PlayTaskNotificationMsg (SCR_ETaskNotification taskNotification, SCR_ETaskNotificationMsg msg, int factionId, int baseCallsign, int callerGroupId, int calledGroupId, int grid, float quality)
void PopupMsg (string text, int prio=-1, string param1="", string param2="", string sound="", bool isFriendly=true)
void PlayVONotification (string soundEventName, int factionId, int baseCallsign=SCR_MilitaryBaseComponent.INVALID_BASE_CALLSIGN, int callerGroupId=-1, int calledGroupId=-1, int grid=-1, float quality=0.5)
void PlayVOTaskNotification (string soundEventName, int factionId, int baseCallsign, int callerGroupId, int calledGroupId, int gridX, int gridY, float quality)
override void EOnInit (IEntity owner)
override void OnPostInit (IEntity owner)
 Editable Mine.
void SCR_TaskNotificationManagerComponent (IEntityComponentSource src, IEntity ent, IEntity parent)

Function Documentation

◆ Attribute()

SCR_TaskNotificationManagerComponentClass SCR_BaseGameModeComponentClass Attribute ( desc:"Task notifications root config" )

Definition at line 1 of file SCR_TaskNotificationManagerComponent.c.

◆ GetTaskNameWithBase()

string GetTaskNameWithBase ( string taskName,
notnull Faction faction,
notnull SCR_CampaignMilitaryBaseComponent base )
Parameters
[in]taskName
[in]faction
[in]base
Returns
task name with formatted base name

Definition at line 66 of file SCR_TaskNotificationManagerComponent.c.

◆ GetTaskNameWithGrid()

string GetTaskNameWithGrid ( LocalizedString taskKey,
int grid )
Parameters
[in]taskKey
[in]grid
Returns
task name with formatted grid coordinates

Definition at line 75 of file SCR_TaskNotificationManagerComponent.c.

◆ GetTaskNotificationConfig()

SCR_TaskNotificationConfig GetTaskNotificationConfig ( SCR_ETaskNotification taskNotification)
Parameters
[in]taskNotification
Returns
task notification config

Definition at line 47 of file SCR_TaskNotificationManagerComponent.c.

◆ PlayTaskNotificationMsg()

void PlayTaskNotificationMsg ( SCR_ETaskNotification taskNotification,
SCR_ETaskNotificationMsg msg,
int factionId,
int baseCallsign,
int callerGroupId,
int calledGroupId,
int grid,
float quality )

Play task notification message

Parameters
[in]taskNotification
[in]msg
[in]factionId
[in]baseCallsign
[in]callerGroupId
[in]calledGroupId
[in]grid
[in]quality

Definition at line 93 of file SCR_TaskNotificationManagerComponent.c.

◆ PlayVONotification()

void PlayVONotification ( string soundEventName,
int factionId,
int baseCallsign = SCR_MilitaryBaseComponent.INVALID_BASE_CALLSIGN,
int callerGroupId = -1,
int calledGroupId = -1,
int grid = -1,
float quality = 0.5 )
protected

Definition at line 352 of file SCR_TaskNotificationManagerComponent.c.

◆ PlayVOTaskNotification()

void PlayVOTaskNotification ( string soundEventName,
int factionId,
int baseCallsign,
int callerGroupId,
int calledGroupId,
int gridX,
int gridY,
float quality )
protected

Play VO for task notification

Parameters
[in]soundEventName
[in]factionId
[in]baseCallsign
[in]callerGroupId
[in]calledGroupId
[in]gridX
[in]gridY
[in]quality

Definition at line 386 of file SCR_TaskNotificationManagerComponent.c.

◆ PopupMsg()

void PopupMsg ( string text,
int prio = -1,
string param1 = "",
string param2 = "",
string sound = "",
bool isFriendly = true )
protected

Definition at line 343 of file SCR_TaskNotificationManagerComponent.c.

◆ SCR_TaskNotificationManagerComponent()

void SCR_TaskNotificationManagerComponent ( IEntityComponentSource src,
IEntity ent,
IEntity parent )
protected
Parameters
[in]src
[in]ent
[in]parent

Definition at line 517 of file SCR_TaskNotificationManagerComponent.c.