![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Classes | |
| class | SCR_PerceivedFactionManagerComponentClass |
Enumerations | |
| enum | SCR_EPerceivedFactionOutfitType { DISABLED = 0 , HIGHEST_VALUE = 10 , FULL_OUTFIT = 20 } |
Functions | |
| SCR_PerceivedFactionManagerComponentClass SCR_BaseGameModeComponentClass | Attribute (SCR_EPerceivedFactionOutfitType.DISABLED.ToString(), desc:"Decides what the faction outfit calculation is.\n\DISABLED: Perceived faction is never set by outfit\nHIGHEST_VALUE: The perveived faction is what ever the highest combined value is\nFULL_OUTFIT: Perceived faction will be unknown unless all clothing is of the same faction (Needs at least a torso and pants to be seens as a faction)", category:"Settings", uiwidget:UIWidgets.SearchComboBox, enums:ParamEnumArray.FromEnum(SCR_EPerceivedFactionOutfitType)) |
| SCR_PerceivedFactionManagerComponentClass SCR_BaseGameModeComponentClass | RplProp (onRplName:"OnPerceivedFactionOutfitTypeChanged") |
| Faction | GetFallbackFaction () |
| void | ShowPerceivedFactionChangedHint (Faction playerPerceivedFaction) |
| Called by SCR_CharacterFactionAffiliationComponent On Perceived faction changed. To show hint to player. | |
| void | ShowHint () |
| SCR_EPerceivedFactionOutfitType | GetCharacterPerceivedFactionOutfitType () |
| Get the current Perceived faction outfit type. Which determintes how the perceived faction is calculated. | |
| void | SetCharacterPerceivedFactionOutfitType_S (SCR_EPerceivedFactionOutfitType type, int playerID=-1) |
| void | OnPerceivedFactionOutfitTypeChanged () |
| ScriptInvokerInt | GetPerceivedFactionOutfitTypeChanged () |
| bool | DoesNoOutfitSetFactionToDefault () |
| SCR_EDisguisedKillingPunishment | GetPunishmentKillingWhileDisguisedFlags () |
| void | SetPunishmentKillingWhileDisguisedFlags_S (SCR_EDisguisedKillingPunishment punishmentFlags, int playerID=-1) |
| void | OnPunishKillingWhileDisguisedChanged () |
| ScriptInvokerInt | GetOnPunishKillingWhileDisguisedChanged () |
| override void | OnPlayerSpawnFinalize_S (SCR_SpawnRequestComponent requestComponent, SCR_SpawnHandlerComponent handlerComponent, SCR_SpawnData data, IEntity entity) |
| override void | OnPlayerKilled (notnull SCR_InstigatorContextData instigatorContextData) |
| bool | DoesPerceivedFactionChangesAffectsAI () |
| void | SetPerceivedFactionChangesAffectsAI (bool affectsAI, int PlayerID=-1) |
| void | OnPerceivedFactionChangesAffectsAIChanged () |
| ScriptInvokerBool | GetOnPerceivedFactionChangesAffectsAIChanged () |
| void | SCR_PerceivedFactionManagerComponent (IEntityComponentSource src, IEntity ent, IEntity parent) |
| override void | OnPostInit (IEntity owner) |
| Editable Mine. | |
| override void | EOnInit (IEntity owner) |
Variables | |
| enum SCR_EPerceivedFactionOutfitType | WARCRIME = 1 << 0 |
| Killing players while disguised is a warcrime, resulting in an eventual kick if they continue doing so. | |
| enum SCR_EPerceivedFactionOutfitType | XP_LOSS = 1 << 1 |
| Killing players while disguised will case a lose in XP. | |
|
protected |
Definition at line 444 of file SCR_PerceivedFactionManagerComponent.c.
| SCR_PerceivedFactionManagerComponentClass SCR_BaseGameModeComponentClass Attribute | ( | SCR_EPerceivedFactionOutfitType.DISABLED. | ToString(), |
| desc:"Decides what the faction outfit calculation is.\n\DISABLED: Perceived faction is never set by outfit\nHIGHEST_VALUE: The perveived faction is what ever the highest combined value is\nFULL_OUTFIT: Perceived faction will be unknown unless all clothing is of the same faction (Needs at least a torso and pants to be seens as a faction)" | , | ||
| category:"Settings" | , | ||
| uiwidget:UIWidgets. | SearchComboBox, | ||
| enums:ParamEnumArray. | FromEnumSCR_EPerceivedFactionOutfitType ) |
|
protected |
Definition at line 145 of file SCR_PerceivedFactionManagerComponent.c.
|
protected |
Definition at line 216 of file SCR_PerceivedFactionManagerComponent.c.
|
protected |
Get the current Perceived faction outfit type. Which determintes how the perceived faction is calculated.
Definition at line 95 of file SCR_PerceivedFactionManagerComponent.c.
| Faction GetFallbackFaction | ( | ) |
Definition at line 41 of file SCR_PerceivedFactionManagerComponent.c.
|
protected |
Definition at line 245 of file SCR_PerceivedFactionManagerComponent.c.
|
protected |
Definition at line 185 of file SCR_PerceivedFactionManagerComponent.c.
|
protected |
Definition at line 135 of file SCR_PerceivedFactionManagerComponent.c.
|
protected |
Definition at line 152 of file SCR_PerceivedFactionManagerComponent.c.
|
protected |
Definition at line 238 of file SCR_PerceivedFactionManagerComponent.c.
|
protected |
Definition at line 127 of file SCR_PerceivedFactionManagerComponent.c.
|
protected |
Called after a player gets killed.
| [in] | instigatorContextData | Holds the data of the victim and killer |
| [in] | playerId | |
| [in] | playerEntity | |
| [in] | killerEntity | |
| [in] | killer |
Definition at line 205 of file SCR_PerceivedFactionManagerComponent.c.
|
protected |
| [in] | requestComponent | |
| [in] | handlerComponent | |
| [in] | data | |
| [in] | entity |
Definition at line 194 of file SCR_PerceivedFactionManagerComponent.c.
|
protected |
Definition at line 177 of file SCR_PerceivedFactionManagerComponent.c.
| SCR_PerceivedFactionManagerComponentClass SCR_BaseGameModeComponentClass RplProp | ( | onRplName:"OnPerceivedFactionOutfitTypeChanged" | ) |
Definition at line 8 of file SCR_PerceivedFactionManagerComponent.c.
|
protected |
Definition at line 269 of file SCR_PerceivedFactionManagerComponent.c.
|
protected |
Change the Perceived faction outfit type. Which determintes how the perceived faction is calculated param[in] type New type to set param[in] playerID Optional to show notification
Definition at line 104 of file SCR_PerceivedFactionManagerComponent.c.
Definition at line 222 of file SCR_PerceivedFactionManagerComponent.c.
|
protected |
Set if killing other characters while perceived as unknown or other faction will count as a team kill param[in] punishKillingWhileDisguised If true punishes players that kill others while disguised param[in] playerID Optional Player ID to send notification
Definition at line 161 of file SCR_PerceivedFactionManagerComponent.c.
|
protected |
No hints set
Perceived faction is disabled
No hint manager
Get the correct hint depending if killing others while disguised is not punished, is a warcrime or just loses XP
Show the hint
Definition at line 54 of file SCR_PerceivedFactionManagerComponent.c.
| void ShowPerceivedFactionChangedHint | ( | Faction | playerPerceivedFaction | ) |
Called by SCR_CharacterFactionAffiliationComponent On Perceived faction changed. To show hint to player.
Definition at line 48 of file SCR_PerceivedFactionManagerComponent.c.
|
protected |
Killing players while disguised is a warcrime, resulting in an eventual kick if they continue doing so.
|
protected |
Killing players while disguised will case a lose in XP.