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

Go to the source code of this file.

Classes

class  SCR_IdentityInventoryItemComponentClass

Functions

SCR_IdentityInventoryItemComponentClass InventoryItemComponentClass Attribute ("1", desc:"Check if identity item is of a hostile faction and only then will it be considered a valuable intel. The CanShowValuableIntel() function is able to force the check for faction")
override bool ShouldChangeVisibilityOfHierarchy ()
void DelayedInit (IEntity owner)
SCR_ExtendedIdentityComponent GetLinkedExtendedIdentity ()
bool HasValuableIntel (bool forceCheckForFaction=false, PlayerController playerController=null)
bool ShouldCheckIfItemIsHostileFaction ()
int GetValuableIntelFactionID ()
Faction GetValuableIntelFaction ()
SCR_CallsignBaseComponent GetLinkedCallsignComponent ()
void OnIntelFactionSet ()

Function Documentation

◆ Attribute()

SCR_IdentityInventoryItemComponentClass InventoryItemComponentClass Attribute ( "1" ,
desc:"Check if identity item is of a hostile faction and only then will it be considered a valuable intel. The CanShowValuableIntel() function is able to force the check for faction"  )

Definition at line 1 of file SCR_IdentityInventoryItemComponent.c.

◆ DelayedInit()

void DelayedInit ( IEntity owner)
protected

Definition at line 40 of file SCR_IdentityInventoryItemComponent.c.

◆ GetLinkedCallsignComponent()

SCR_CallsignBaseComponent GetLinkedCallsignComponent ( )
protected

Definition at line 149 of file SCR_IdentityInventoryItemComponent.c.

◆ GetLinkedExtendedIdentity()

SCR_ExtendedIdentityComponent GetLinkedExtendedIdentity ( )
protected

Definition at line 80 of file SCR_IdentityInventoryItemComponent.c.

◆ GetValuableIntelFaction()

Faction GetValuableIntelFaction ( )
protected

Definition at line 143 of file SCR_IdentityInventoryItemComponent.c.

◆ GetValuableIntelFactionID()

int GetValuableIntelFactionID ( )
protected

Definition at line 137 of file SCR_IdentityInventoryItemComponent.c.

◆ HasValuableIntel()

bool HasValuableIntel ( bool forceCheckForFaction = false,
PlayerController playerController = null )
protected

Check if Identity item is valuable intel for given (or local) player

Parameters
[in]forceCheckForFactionIf true will check if the faction of the player is friendly even if OnlyShowIntilIfHostileFaction is false
[in]playerControllerPlayer controller to check for faction. If null will use local player controller
Returns
True if the Identity Item has valuable intel for the character

Definition at line 98 of file SCR_IdentityInventoryItemComponent.c.

◆ OnIntelFactionSet()

void OnIntelFactionSet ( )
protected

Definition at line 163 of file SCR_IdentityInventoryItemComponent.c.

◆ ShouldChangeVisibilityOfHierarchy()

override bool ShouldChangeVisibilityOfHierarchy ( )
protected

Definition at line 34 of file SCR_IdentityInventoryItemComponent.c.

◆ ShouldCheckIfItemIsHostileFaction()

bool ShouldCheckIfItemIsHostileFaction ( )
protected
Returns
Should it check if the identity item is of a hostile faction?

Definition at line 131 of file SCR_IdentityInventoryItemComponent.c.