Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Data Structures | |
class | SCR_ArsenalPlayerLoadout |
class | SCR_ArsenalManagerComponentClass |
Typedefs | |
typedef func | SCR_ArsenalManagerComponent_OnPlayerLoadoutChanged |
Functions | |
class SCR_ArsenalPlayerLoadout | SCR_ArsenalManagerComponent_OnPlayerLoadoutChanged (int playerId, bool hasValidLoadout) |
SCR_ArsenalSaveTypeInfoHolder | GetArsenalSaveTypeInfoHolder () |
SCR_LoadoutSaveBlackListHolder | GetLoadoutSaveBlackListHolder () |
protected void | OnPlayerChangedFaction (int playerId, SCR_PlayerFactionAffiliationComponent playerFactionAffiliation, Faction faction) |
void | SetLoadoutBlackListActiveStates (notnull array< bool > orderedActiveStates, bool clearExistingLoadouts, int editorPlayerIdClearedLoadout=-1) |
protected void | RPC_OnPlayerLoadoutCleared (int playerIdClearedLoadout) |
bool | GetLocalPlayerLoadoutAvailable () |
ScriptInvokerBase< SCR_ArsenalManagerComponent_OnPlayerLoadoutChanged > | GetOnLoadoutUpdated () |
bool | GetPlayerArsenalLoadout (string playerUID, out SCR_ArsenalPlayerLoadout playerLoadout) |
float | GetLoadoutSpawnSupplyCostMultiplier () |
protected bool | CanSaveLoadout (int playerId, notnull GameEntity characterEntity, FactionAffiliationComponent playerFactionAffiliation, SCR_ArsenalComponent arsenalComponent, bool sendNotificationOnFailed) |
void | SetPlayerArsenalLoadout (int playerId, GameEntity characterEntity, SCR_ArsenalComponent arsenalComponent, SCR_EArsenalSupplyCostType arsenalSupplyType) |
protected SCR_PlayerLoadoutData | GetPlayerLoadoutData (GameEntity characterEntity) |
protected void | ComputeSuppliesCost (notnull SCR_Faction faction, notnull SCR_ArsenalPlayerLoadout playerLoadout, SCR_EArsenalSupplyCostType arsenalSupplyType) |
protected void | ComputeStorage (notnull SCR_JsonLoadContext context, notnull SCR_Faction faction, notnull SCR_ArsenalPlayerLoadout playerLoadout, string storageName, SCR_EArsenalSupplyCostType arsenalSupplyType) |
protected void | ComputeStorageEntity (notnull SCR_JsonLoadContext context, notnull SCR_Faction faction, notnull SCR_ArsenalPlayerLoadout playerLoadout, string entityName, SCR_EArsenalSupplyCostType arsenalSupplyType) |
protected void | ComputeEntity (notnull SCR_JsonLoadContext context, notnull SCR_Faction faction, notnull SCR_ArsenalPlayerLoadout playerLoadout, string entityName, SCR_EArsenalSupplyCostType arsenalSupplyType) |
protected void | DoSetPlayerLoadout (int playerId, string loadoutString, GameEntity characterEntity, SCR_EArsenalSupplyCostType arsenalSupplyType) |
override protected void | OnPlayerAuditSuccess (int playerId) |
protected void | DoSetPlayerHasLoadout (int playerId, bool loadoutValid, bool loadoutChanged, bool notification) |
protected void | DoSendPlayerLoadout (int playerId, SCR_PlayerLoadoutData loadoutData) |
protected void | DoPlayerClearHasLoadout (int playerId) |
override void | EOnInit (IEntity owner) |
override void | OnPostInit (IEntity owner) |
Editable Mine. More... | |
override void | OnDelete (IEntity owner) |
Variables | |
string | loadout |
ref SCR_PlayerLoadoutData | loadoutData |
float | suppliesCost = 0.0 |
SCR_ArsenalManagerComponentClass | s_Instance |
protected ResourceName | m_sArsenalSaveTypeInfoHolder |
protected ResourceName | m_sLoadoutSaveBlackListHolder |
protected bool m_bDisable protected ref map< string, ref SCR_ArsenalPlayerLoadout > | m_aPlayerLoadouts = new map<string, ref SCR_ArsenalPlayerLoadout>() |
protected ref ScriptInvokerBase< SCR_ArsenalManagerComponent_OnPlayerLoadoutChanged > | m_OnPlayerLoadoutUpdated = new ScriptInvokerBase<SCR_ArsenalManagerComponent_OnPlayerLoadoutChanged>() |
protected ref SCR_ArsenalSaveTypeInfoHolder | m_ArsenalSaveTypeInfoHolder |
protected ref SCR_LoadoutSaveBlackListHolder | m_LoadoutSaveBlackListHolder |
protected bool | m_bLocalPlayerLoadoutAvailable |
ref SCR_PlayerLoadoutData | m_bLocalPlayerLoadoutData |
protected float | m_fLoadoutSpawnSupplyCostMultiplier |
Definition at line 10 of file SCR_ArsenalManagerComponent.c.
protected bool CanSaveLoadout | ( | int | playerId, |
notnull GameEntity | characterEntity, | ||
FactionAffiliationComponent | playerFactionAffiliation, | ||
SCR_ArsenalComponent | arsenalComponent, | ||
bool | sendNotificationOnFailed | ||
) |
Definition at line 361 of file SCR_ArsenalManagerComponent.c.
protected void ComputeEntity | ( | notnull SCR_JsonLoadContext | context, |
notnull SCR_Faction | faction, | ||
notnull SCR_ArsenalPlayerLoadout | playerLoadout, | ||
string | entityName, | ||
SCR_EArsenalSupplyCostType | arsenalSupplyType | ||
) |
Definition at line 714 of file SCR_ArsenalManagerComponent.c.
protected void ComputeStorage | ( | notnull SCR_JsonLoadContext | context, |
notnull SCR_Faction | faction, | ||
notnull SCR_ArsenalPlayerLoadout | playerLoadout, | ||
string | storageName, | ||
SCR_EArsenalSupplyCostType | arsenalSupplyType | ||
) |
Definition at line 638 of file SCR_ArsenalManagerComponent.c.
protected void ComputeStorageEntity | ( | notnull SCR_JsonLoadContext | context, |
notnull SCR_Faction | faction, | ||
notnull SCR_ArsenalPlayerLoadout | playerLoadout, | ||
string | entityName, | ||
SCR_EArsenalSupplyCostType | arsenalSupplyType | ||
) |
Definition at line 689 of file SCR_ArsenalManagerComponent.c.
protected void ComputeSuppliesCost | ( | notnull SCR_Faction | faction, |
notnull SCR_ArsenalPlayerLoadout | playerLoadout, | ||
SCR_EArsenalSupplyCostType | arsenalSupplyType | ||
) |
Definition at line 626 of file SCR_ArsenalManagerComponent.c.
protected void DoPlayerClearHasLoadout | ( | int | playerId | ) |
Definition at line 834 of file SCR_ArsenalManagerComponent.c.
protected void DoSendPlayerLoadout | ( | int | playerId, |
SCR_PlayerLoadoutData | loadoutData | ||
) |
Definition at line 826 of file SCR_ArsenalManagerComponent.c.
protected void DoSetPlayerHasLoadout | ( | int | playerId, |
bool | loadoutValid, | ||
bool | loadoutChanged, | ||
bool | notification | ||
) |
Definition at line 798 of file SCR_ArsenalManagerComponent.c.
protected void DoSetPlayerLoadout | ( | int | playerId, |
string | loadoutString, | ||
GameEntity | characterEntity, | ||
SCR_EArsenalSupplyCostType | arsenalSupplyType | ||
) |
Definition at line 741 of file SCR_ArsenalManagerComponent.c.
SCR_ArsenalSaveTypeInfoHolder GetArsenalSaveTypeInfoHolder | ( | ) |
Definition at line 72 of file SCR_ArsenalManagerComponent.c.
SCR_LoadoutSaveBlackListHolder GetLoadoutSaveBlackListHolder | ( | ) |
Definition at line 79 of file SCR_ArsenalManagerComponent.c.
float GetLoadoutSpawnSupplyCostMultiplier | ( | ) |
Definition at line 196 of file SCR_ArsenalManagerComponent.c.
bool GetLocalPlayerLoadoutAvailable | ( | ) |
Definition at line 152 of file SCR_ArsenalManagerComponent.c.
ScriptInvokerBase<SCR_ArsenalManagerComponent_OnPlayerLoadoutChanged> GetOnLoadoutUpdated | ( | ) |
Definition at line 159 of file SCR_ArsenalManagerComponent.c.
bool GetPlayerArsenalLoadout | ( | string | playerUID, |
out SCR_ArsenalPlayerLoadout | playerLoadout | ||
) |
Authority side
[in] | playerId | |
[out] | playerLoadout |
Definition at line 169 of file SCR_ArsenalManagerComponent.c.
protected SCR_PlayerLoadoutData GetPlayerLoadoutData | ( | GameEntity | characterEntity | ) |
Definition at line 552 of file SCR_ArsenalManagerComponent.c.
override protected void OnPlayerAuditSuccess | ( | int | playerId | ) |
Event is called when player connecting Session hosting current Game Mode where is required authentication verification via. platform services AuditSuccess() call specifically mean this verification was successful Basically audited player has access to persistency/ etc. related functionality provided by online services.
[in] | playerId | is index of player in game, equal to the one assigned at PlayerController |
Definition at line 776 of file SCR_ArsenalManagerComponent.c.
protected void OnPlayerChangedFaction | ( | int | playerId, |
SCR_PlayerFactionAffiliationComponent | playerFactionAffiliation, | ||
Faction | faction | ||
) |
Definition at line 85 of file SCR_ArsenalManagerComponent.c.
protected void RPC_OnPlayerLoadoutCleared | ( | int | playerIdClearedLoadout | ) |
Definition at line 132 of file SCR_ArsenalManagerComponent.c.
class SCR_ArsenalPlayerLoadout SCR_ArsenalManagerComponent_OnPlayerLoadoutChanged | ( | int | playerId, |
bool | hasValidLoadout | ||
) |
void SetLoadoutBlackListActiveStates | ( | notnull array< bool > | orderedActiveStates, |
bool | clearExistingLoadouts, | ||
int | editorPlayerIdClearedLoadout = -1 |
||
) |
Update BlackList active states (Server only)
[in] | orderedActiveStates | An ordered list of all blacklists and their new active state |
[in] | clearExistingLoadouts | |
[in] | editorPlayerIdClearedLoadout |
Definition at line 108 of file SCR_ArsenalManagerComponent.c.
void SetPlayerArsenalLoadout | ( | int | playerId, |
GameEntity | characterEntity, | ||
SCR_ArsenalComponent | arsenalComponent, | ||
SCR_EArsenalSupplyCostType | arsenalSupplyType | ||
) |
Authority side
[in] | playerId | |
[in] | characterEntity | |
[in] | arsenalComponent | |
[in] | arsenalSupplyType |
Definition at line 519 of file SCR_ArsenalManagerComponent.c.
string loadout |
Definition at line 2 of file SCR_ArsenalManagerComponent.c.
ref SCR_PlayerLoadoutData loadoutData |
Definition at line 3 of file SCR_ArsenalManagerComponent.c.
protected bool m_bDisable protected ref map<string, ref SCR_ArsenalPlayerLoadout> m_aPlayerLoadouts = new map<string, ref SCR_ArsenalPlayerLoadout>() |
Definition at line 47 of file SCR_ArsenalManagerComponent.c.
protected ref SCR_ArsenalSaveTypeInfoHolder m_ArsenalSaveTypeInfoHolder |
Definition at line 52 of file SCR_ArsenalManagerComponent.c.
protected bool m_bLocalPlayerLoadoutAvailable |
Definition at line 55 of file SCR_ArsenalManagerComponent.c.
ref SCR_PlayerLoadoutData m_bLocalPlayerLoadoutData |
Definition at line 56 of file SCR_ArsenalManagerComponent.c.
protected float m_fLoadoutSpawnSupplyCostMultiplier |
Definition at line 59 of file SCR_ArsenalManagerComponent.c.
protected ref SCR_LoadoutSaveBlackListHolder m_LoadoutSaveBlackListHolder |
Definition at line 53 of file SCR_ArsenalManagerComponent.c.
protected ref ScriptInvokerBase<SCR_ArsenalManagerComponent_OnPlayerLoadoutChanged> m_OnPlayerLoadoutUpdated = new ScriptInvokerBase<SCR_ArsenalManagerComponent_OnPlayerLoadoutChanged>() |
Definition at line 50 of file SCR_ArsenalManagerComponent.c.
protected ResourceName m_sArsenalSaveTypeInfoHolder |
Definition at line 38 of file SCR_ArsenalManagerComponent.c.
protected ResourceName m_sLoadoutSaveBlackListHolder |
Definition at line 41 of file SCR_ArsenalManagerComponent.c.
SCR_ArsenalManagerComponentClass s_Instance |
float suppliesCost = 0.0 |
Definition at line 4 of file SCR_ArsenalManagerComponent.c.