|
| override void | OnEffectAdded (SCR_ExtendedDamageManagerComponent dmgManager) |
| | Called when this DamageEffect gets added to a DamageManager.
|
| |
| override EDamageType | GetDefaultDamageType () |
| |
| SCR_BarbedWireCuttingDamageEffect | GetResultingEffect () |
| |
| string | GetDamageSoundEvent () |
| |
| override void | OnEffectRemoved (SCR_ExtendedDamageManagerComponent dmgManager) |
| | Called when this DamageEffect gets removed from a DamageManager.
|
| |
| void | SetResponsibleEntity (notnull IEntity entity) |
| |
| IEntity | GetResponsibleEntity () |
| |
| void | ApplyMobilityLimits (SCR_ExtendedDamageManagerComponent dmgManager) |
| |
| float | GetMaxSpeedLimitScaled () |
| |
| bool | GetJumpingAndClimbingAllowed () |
| |
| override bool | Save (ScriptBitWriter w) |
| | Since DamageEffects can't have rpl methods, streaming has to be done through this method.
|
| |
| override bool | Load (ScriptBitReader r) |
| | Since DamageEffects can't have rpl methods, streaming has to be done through this method.
|
| |
| float | GetCustomDamageValue () |
| | Method called locally by SCR_DamageSufferingSystem to get relevant damage amount for this specific damage effect.
|
| |
| bool | ExecuteSynchronizedSoundPlayback (notnull SCR_ExtendedDamageManagerComponent dmgManager) |
| | Method meant to be called by replicated events to use local data for sound playback.
|
| |
| void | IndividualProcessing (notnull SCR_ExtendedDamageManagerComponent dmgManager) |
| | Method called locally by SCR_DamageSufferingSystem when UseBatchProcessing() returns false.
|
| |
| bool | UseBatchProcessing () |
| | Method called locally by SCR_DamageSufferingSystem to determine if it should group all instances of this damage effect type for processing.
|
| |
| void | BatchData (inout SCR_BatchedDamageEffects batchedDataContainer, notnull SCR_PersistentDamageEffect effect) |
| | Method called locally by SCR_DamageSufferingSystem to store any neccessary information about effect into a derivative of a SCR_BatchedDamageEffects for further processing.
|
| |
| void | BatchProcessing (notnull SCR_ExtendedDamageManagerComponent dmgManager, notnull SCR_BatchedDamageEffects batchedDataContainer, bool isAuthority) |
| | Method called locally by SCR_DamageSufferingSystem to do a singular processing for this damage effect type.
|
| |
| proto external void | Terminate () |
| | Terminates this DamageEffect.
|
| |
| proto external void | SetActive (bool value) |
| | When active, the damage effect will be updated on frame.
|
| |
| proto external bool | IsActive () |
| | Checks if this effect is active or not.
|
| |
| bool | SaveApplyEffect (ScriptBitWriter w) |
| | It is indented to work togeter with SCR_OnEffectApplied to send replicated data to clients.
|
| |
| bool | LoadApplyEffect (ScriptBitReader r) |
| | It is indented to work togeter with SCR_OnEffectApplied to load replicated data to clients.
|
| |
| bool | IsProxy (SCR_ExtendedDamageManagerComponent dmgManager) |
| |
| proto external void | ApplyEffect (SCR_ExtendedDamageManagerComponent dmgManager) |
| | Called to apply a DamageEffect.
|
| |
| proto external float | GetTotalDamage () |
| | Get total damage dealt until this point by this damage effect.
|
| |
| proto external EDamageType | GetDamageType () |
| | Gettor for the DamageType of this DamageEffect.
|
| |
| proto external notnull Instigator | GetInstigator () |
| | Gettor for the Instigator of this DamageEffect.
|
| |
| proto external HitZone | GetAffectedHitZone () |
| | Gettor for which hitzone this DamageEffect was applied to.
|
| |
| proto external void | SetDamageType (EDamageType type) |
| | Settor for the DamageType of this DamageEffect.
|
| |
| proto external void | SetInstigator (notnull Instigator instigator) |
| | Settor for the instigator of the damage effect.
|
| |
| proto external void | SetAffectedHitZone (notnull HitZone hitZone) |
| | Settor for the affected HitZone of the damage effect.
|
| |
| proto external bool | IsValueChangeAllowed () |
| | Once this effect gets added to a manager, some of its values shouldn't change, as their change doesn't get replicated (instigator, damage type, affected hitzone) and it can lead to desync.
|
| |
| proto external bool | IsProxy () |
| | Used to check if you are a proxy or not.
|
| |
| bool | HijackDamageEffect (SCR_ExtendedDamageManagerComponent dmgManager) |
| | Called before the damage effect is added to the damage manager If it returns true, damage effect is hijacked/intercepted and therefore not added/applied to the damage manager Any modifications done to the damage effect will persist.
|
| |