Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_NotificationSenderComponent.c File Reference

Go to the source code of this file.

Data Structures

class  SCR_NotificationSenderComponentClass
 
class  SCR_NotificationKillfeedreceiveTypeName
 Class to get Killfeed receive type name. More...
 

Enumerations

enum  EKillFeedType
 

Functions

SCR_NotificationSenderComponentClass SCR_BaseGameModeComponentClass Attribute ("1", desc:"Show player left notification if player left.")
 
override void OnControllableDestroyed (IEntity entity, IEntity killerEntity, notnull Instigator killer)
 Award additional XP for enemies killed in friendly bases. More...
 
enum EKillFeedType BaseContainerProps ()
 Class to get Killfeed type name. More...
 
enum EKillFeedType SCR_BaseContainerCustomTitleEnum (EKillFeedType, "m_iKillfeedType")
 

Variables

Configs ServerBrowser KickDialogs conf
 
Configs ServerBrowser KickDialogs desc
 
Configs ServerBrowser KickDialogs params
 
protected Faction m_FactionOnSpawn
 
protected SCR_FactionManager m_FactionManager
 
protected bool m_bListeningToWeatherChanged
 
enum EKillFeedType ALL = 0
 Will see killfeed from allies and enemies alike. More...
 
enum EKillFeedType ENEMIES_ONLY = 10
 Will see killfeed from enemies only. More...
 
enum EKillFeedType ALLIES_ONLY = 20
 Will see killfeed from allies only. More...
 
enum EKillFeedType SAME_FACTION_ONLY = 30
 Will see killfeed from same faction only. More...
 
enum EKillFeedType GROUP_ONLY = 40
 Will see killfeed from group members only. More...
 
 DISABLED = 0
 Killfeed is disabled. More...
 
 UNKNOWN_KILLER = 10
 Will see killfeed messages but will never know who the killer is. More...
 
 FULL = 20
 Will see every player (except possessed pawns) killed messages. Including killer. More...
 

Enumeration Type Documentation

◆ EKillFeedType

What kind of killfeed will be displayed in the gamemode. Noted that players with unlimited Editor will always see full killfeed if Editor is open

Definition at line 638 of file SCR_NotificationSenderComponent.c.

Function Documentation

◆ Attribute()

SCR_NotificationSenderComponentClass SCR_BaseGameModeComponentClass Attribute ( "1"  ,
desc:"Show player left notification if player left."   
)

Definition at line 8 of file SCR_NotificationSenderComponent.c.

◆ BaseContainerProps()

enum EKillFeedType BaseContainerProps ( )

Class to get Killfeed type name.

◆ OnControllableDestroyed()

override void OnControllableDestroyed ( IEntity  entity,
IEntity  killerEntity,
notnull Instigator  killer 
)

Award additional XP for enemies killed in friendly bases.

When a controllable entity is destroyed, this event is raised. Entity is destroyed when DamageManager.OnStateChanged -> EDamageState.Destroyed

Parameters
[in]entityDestroyed entity that raised this event
[in]killerEntityInstigator entity that destroyed our victim
[in]killerInstigator of the kill

Called when weather is set to looping or when weather itself is changed (which auto sets it on looping) This is to make sure the notification, that weather is set, is only called once

Parameters
[in]playerID

Get an list of all killfeed types and the localized name

Parameters
[in]killFeedTypeNameslist of killfeed type and name
Returns
the amount of names in the list

Get an list of all killfeed receive types and the localized name

Parameters
[in]killFeedReceiveTypeNameslist of killfeed receive type and name
Returns
the amount of names in the list
the type of killfeed that is currently displayed

Server set killfeed type

Parameters
[in]killFeedTypenew killfeed type to set
[in]playerNotificationIdadd player ID of player that changed the type to display a notification
Returns
the current killfeed receive type

Server set killfeed receive type

Parameters
[in]receiveKillFeedTypenew killfeed reveive type to set
[in]playerNotificationIdadd player ID of player that changed the type to display a notification

Definition at line 34 of file SCR_NotificationSenderComponent.c.

◆ SCR_BaseContainerCustomTitleEnum()

enum EKillFeedType SCR_BaseContainerCustomTitleEnum ( EKillFeedType  ,
"m_iKillfeedType"   
)
Returns
the killfeed type enum
the killfeed type name as string

Definition at line 659 of file SCR_NotificationSenderComponent.c.

Variable Documentation

◆ ALL

ALL = 0

Will see killfeed from allies and enemies alike.

From who will players receive kill notifications Noted that players with unlimited Editor will always see full killfeed if Editor is open

Definition at line 13 of file SCR_ScenarioFrameworkLayerBase.c.

◆ ALLIES_ONLY

enum EKillFeedType ALLIES_ONLY = 20

Will see killfeed from allies only.

◆ conf

Configs ServerBrowser KickDialogs conf

Definition at line 23 of file SCR_NotificationSenderComponent.c.

◆ desc

Configs ServerBrowser KickDialogs desc

Definition at line 23 of file SCR_NotificationSenderComponent.c.

◆ DISABLED

@ DISABLED = 0

Killfeed is disabled.

Definition at line 36 of file SCR_NotificationSenderComponent.c.

◆ ENEMIES_ONLY

enum EKillFeedType ENEMIES_ONLY = 10

Will see killfeed from enemies only.

◆ FULL

FULL = 20

Will see every player (except possessed pawns) killed messages. Including killer.

Automatic shifting, reverse with brake input, automatic engine startup, persistent handbrake disabled when moving off.

Definition at line 38 of file SCR_NotificationSenderComponent.c.

◆ GROUP_ONLY

enum EKillFeedType GROUP_ONLY = 40

Will see killfeed from group members only.

◆ m_bListeningToWeatherChanged

protected bool m_bListeningToWeatherChanged

Definition at line 31 of file SCR_NotificationSenderComponent.c.

◆ m_FactionManager

protected SCR_FactionManager m_FactionManager

Definition at line 28 of file SCR_NotificationSenderComponent.c.

◆ m_FactionOnSpawn

protected Faction m_FactionOnSpawn

Definition at line 26 of file SCR_NotificationSenderComponent.c.

◆ params

Configs ServerBrowser KickDialogs params

Definition at line 24 of file SCR_NotificationSenderComponent.c.

◆ SAME_FACTION_ONLY

enum EKillFeedType SAME_FACTION_ONLY = 30

Will see killfeed from same faction only.

◆ UNKNOWN_KILLER

UNKNOWN_KILLER = 10

Will see killfeed messages but will never know who the killer is.

Definition at line 37 of file SCR_NotificationSenderComponent.c.