![]() |
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_XPHandlerComponentClass |
Functions | |
| SCR_XPHandlerComponentClass SCR_BaseGameModeComponentClass | Attribute ("{E6FC4537B53EA00B}Configs/Campaign/XPRewards.conf") |
| override void | OnPlayerSpawned (int playerId, IEntity controlledEntity) |
| override void | OnPlayerDisconnected (int playerId, KickCauseCode cause, int timeout) |
| override void | OnPlayerKilled (int playerId, IEntity playerEntity, IEntity killerEntity, notnull Instigator killer) |
| override void | OnControllableDestroyed (IEntity entity, IEntity killerEntity, notnull Instigator killer) |
| protected void | OnCompartmentLeft (IEntity targetEntity, BaseCompartmentManagerComponent manager, int mgrID, int slotID, bool move) |
| protected void | OnStatPointsAdded (int playerId, SCR_EDataStats stat, float amount, bool temp) |
| void | ProcessSuicide (int playerId) |
| protected void | AwardTransportXP (int playerId) |
| protected bool | IsProxy () |
| void | AwardXP (int playerId, SCR_EXPRewards rewardID, float multiplier=1.0, bool volunteer=false, int customXP=0) |
| void | AwardXP (notnull PlayerController controller, SCR_EXPRewards rewardID, float multiplier=1.0, bool volunteer=false, int customXP=0) |
| void | VeterancyAward (notnull PlayerController controller, float multiplier) |
| int | GetXPRewardAmount (SCR_EXPRewards reward) |
| float | GetXPMultiplier () |
| string | GetXPRewardName (SCR_EXPRewards reward) |
| bool | AllowNotification (SCR_EXPRewards reward) |
| override void | OnPostInit (IEntity owner) |
| Called on PostInit when all components are added. More... | |
Variables | |
| protected ref map< int, float > | m_mPlayerTransportPoints = new map<int, float>() |
| protected float | m_fXpMultiplier = 1 |
| enum SCR_EXPRewards |
Definition at line 403 of file SCR_XPHandlerComponent.c.
| bool AllowNotification | ( | SCR_EXPRewards | reward | ) |
| SCR_XPHandlerComponentClass SCR_BaseGameModeComponentClass Attribute | ( | "{E6FC4537B53EA00B}Configs/Campaign/XPRewards.conf" | ) |
Definition at line 7 of file SCR_XPHandlerComponent.c.
| protected void AwardTransportXP | ( | int | playerId | ) |
Definition at line 222 of file SCR_XPHandlerComponent.c.
| void AwardXP | ( | int | playerId, |
| SCR_EXPRewards | rewardID, | ||
| float | multiplier = 1.0, |
||
| bool | volunteer = false, |
||
| int | customXP = 0 |
||
| ) |
Add XP to given playerId
| [in] | playerId | |
| [in] | rewardID | |
| [in] | multiplier | |
| [in] | volunteer | |
| [in] | customXP |
Definition at line 254 of file SCR_XPHandlerComponent.c.
| void AwardXP | ( | notnull PlayerController | controller, |
| SCR_EXPRewards | rewardID, | ||
| float | multiplier = 1.0, |
||
| bool | volunteer = false, |
||
| int | customXP = 0 |
||
| ) |
Add XP to given controller
| [in] | controller | |
| [in] | rewardID | |
| [in] | multiplier | |
| [in] | volunteer | |
| [in] | customXP |
Definition at line 272 of file SCR_XPHandlerComponent.c.
| float GetXPMultiplier | ( | ) |
| int GetXPRewardAmount | ( | SCR_EXPRewards | reward | ) |
Returns XP reward amount
| [in] | reward |
Definition at line 314 of file SCR_XPHandlerComponent.c.
| string GetXPRewardName | ( | SCR_EXPRewards | reward | ) |
Returns XP reward name
| [in] | reward |
Definition at line 339 of file SCR_XPHandlerComponent.c.
| protected bool IsProxy | ( | ) |
Definition at line 240 of file SCR_XPHandlerComponent.c.
| override void OnControllableDestroyed | ( | IEntity | entity, |
| IEntity | killerEntity, | ||
| notnull Instigator | killer | ||
| ) |
When a controllable entity is destroyed, this event is raised. Entity is destroyed when DamageManager.OnStateChanged -> EDamageState.Destroyed
| [in] | entity | Destroyed entity that raised this event |
| [in] | killerEntity | Instigator entity that destroyed our victim |
| [in] | killer | Instigator of the kill |
Definition at line 94 of file SCR_XPHandlerComponent.c.
| protected void OnStatPointsAdded | ( | int | playerId, |
| SCR_EDataStats | stat, | ||
| float | amount, | ||
| bool | temp | ||
| ) |
Definition at line 150 of file SCR_XPHandlerComponent.c.
| void ProcessSuicide | ( | int | playerId | ) |
| [in] | playerId |
Definition at line 182 of file SCR_XPHandlerComponent.c.
| void VeterancyAward | ( | notnull PlayerController | controller, |
| float | multiplier | ||
| ) |
| [in] | controller | |
| [in] | multiplier |
Definition at line 305 of file SCR_XPHandlerComponent.c.
| protected float m_fXpMultiplier = 1 |
Definition at line 29 of file SCR_XPHandlerComponent.c.
Definition at line 27 of file SCR_XPHandlerComponent.c.