![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| ScriptInvokerFuzeChanged | GetOnFuzeChanged () |
| void | OnFuzeChanged (SCR_EFuzeType oldFuzeType, SCR_EFuzeType newFuzeType) |
| Triggers m_OnFuzeChanged when such exists with information about old and new fuze type. | |
| void | OnFuzeTypeChanged () |
| void | OnArrayOfConnectedDetonatorsChanged () |
| float | GetTimeOfDetonation () |
| SCR_EFuzeType | GetUsedFuzeType () |
| SCR_ExplosiveTriggerComponent | GetTrigger () |
| array< RplId > | GetConnectedDetonators () |
| int | GetNumberOfConnectedDetonators () |
| bool | IsDetonatorConnected (RplId detonatorId) |
| float | GetFuzeTime () |
| void | SetFuzeTime (float fuzeDelay, bool silent=false) |
| Change the time which will be used for timed fuze. | |
| void | SetGarbageCollectable (bool garbageCollectable) |
| void | ArmWithTimedFuze (bool silent=false) |
| Arms the charge and starts the timer for the detonation. | |
| void | ConnectDetonator (SCR_EFuzeType fuzeType, RplId detonatorId=RplId.Invalid(), bool shouldReplicate=true, bool silent=false) |
| void | RemoveDetonatorFromTheList (RplId detonatorId, bool shouldReplicate=true) |
| Removes provided detonator RplId unless its not there in the first place. | |
| void | ReplaceDetonatorFromTheList (RplId detonatorIdToReplace, RplId replaceWith=RplId.Invalid()) |
| Replaces connected detonator RplId with provided id which by default will be invalid. | |
| void | UpdateFuzeVisibility () |
| Change visibility of sloted fuze. | |
| void | DisarmChargeSilent () |
| Callback method to ensure that charge is disarmed when transferred but with no sound. | |
| void | DisarmCharge (bool playSound=true) |
| void | ChangeLockState (bool locked=false) |
| When item is locked then players wont be able to pick it up. | |
| RplId | GetRplId () |
| Checks validity and returns RplId of this component. | |
| bool | CheckRplId () |
| Checks validaty of RplId and if that fails then tries to find correct RplId for that trigger. | |
| override void | EOnFrame (IEntity owner, float timeSlice) |
| override void | EOnInit (IEntity owner) |
| override void | OnPostInit (IEntity owner) |
| override void | OnDelete (IEntity owner) |
| override bool | RplSave (ScriptBitWriter writer) |
| override bool | RplLoad (ScriptBitReader reader) |
Protected Attributes | |
| RplId | m_RplID |
| RplComponent | m_RplComp |
| SCR_ExplosiveTriggerComponent | m_Trigger |
| float | m_fFuzeTime = 20 |
| float | m_fTimer |
| SCR_EFuzeType | m_eUsedFuzeType = SCR_EFuzeType.NONE |
| ref array< RplId > | m_aConnectedDetonators = {} |
| ref ScriptInvokerFuzeChanged | m_OnFuzeChanged |
Definition at line 10 of file SCR_ExplosiveChargeComponent.c.
|
inlineprotected |
Arms the charge and starts the timer for the detonation.
Definition at line 135 of file SCR_ExplosiveChargeComponent.c.
|
inlineprotected |
When item is locked then players wont be able to pick it up.
Definition at line 322 of file SCR_ExplosiveChargeComponent.c.
|
inlineprotected |
Checks validaty of RplId and if that fails then tries to find correct RplId for that trigger.
Definition at line 343 of file SCR_ExplosiveChargeComponent.c.
|
inlineprotected |
Arms the charge with remotely detonated fuze. Adds provided detonator RplId unless its already on the list
Definition at line 168 of file SCR_ExplosiveChargeComponent.c.
Will clear the array of connected detonators, change fuze visibility and update their previously connected detonators with false info to not give players on the other end information that someone is tampering with their charges
Definition at line 274 of file SCR_ExplosiveChargeComponent.c.
|
inlineprotected |
Callback method to ensure that charge is disarmed when transferred but with no sound.
Definition at line 265 of file SCR_ExplosiveChargeComponent.c.
|
inlineprotected |
Definition at line 357 of file SCR_ExplosiveChargeComponent.c.
|
inlineprotected |
Definition at line 380 of file SCR_ExplosiveChargeComponent.c.
|
inlineprotected |
Definition at line 81 of file SCR_ExplosiveChargeComponent.c.
|
inlineprotected |
Definition at line 99 of file SCR_ExplosiveChargeComponent.c.
|
inlineprotected |
Definition at line 87 of file SCR_ExplosiveChargeComponent.c.
|
inlineprotected |
Script invoker that is triggered each time that fuze type chages for this entity This invoker is also called when this entity is deleted like in case when its detonated In such case its new fuze type will be NONE and such case can be recognized using IEntity.IsDeleted()
Definition at line 32 of file SCR_ExplosiveChargeComponent.c.
|
inlineprotected |
Checks validity and returns RplId of this component.
Definition at line 333 of file SCR_ExplosiveChargeComponent.c.
|
inlineprotected |
Definition at line 63 of file SCR_ExplosiveChargeComponent.c.
|
inlineprotected |
Definition at line 75 of file SCR_ExplosiveChargeComponent.c.
|
inlineprotected |
Definition at line 69 of file SCR_ExplosiveChargeComponent.c.
Definition at line 93 of file SCR_ExplosiveChargeComponent.c.
|
inlineprotected |
Definition at line 57 of file SCR_ExplosiveChargeComponent.c.
|
inlineprotected |
Definition at line 402 of file SCR_ExplosiveChargeComponent.c.
|
inlineprotected |
Triggers m_OnFuzeChanged when such exists with information about old and new fuze type.
Definition at line 42 of file SCR_ExplosiveChargeComponent.c.
|
inlineprotected |
Definition at line 51 of file SCR_ExplosiveChargeComponent.c.
|
inlineprotected |
Definition at line 394 of file SCR_ExplosiveChargeComponent.c.
|
inlineprotected |
Removes provided detonator RplId unless its not there in the first place.
Definition at line 198 of file SCR_ExplosiveChargeComponent.c.
|
inlineprotected |
Replaces connected detonator RplId with provided id which by default will be invalid.
Definition at line 223 of file SCR_ExplosiveChargeComponent.c.
|
inlineprotected |
Definition at line 422 of file SCR_ExplosiveChargeComponent.c.
|
inlineprotected |
Definition at line 408 of file SCR_ExplosiveChargeComponent.c.
|
inlineprotected |
Change the time which will be used for timed fuze.
Definition at line 106 of file SCR_ExplosiveChargeComponent.c.
|
inlineprotected |
Changes if garbage system should manage this entity
| [in] | garbageCollectable | true if this entity should be inserted into garbage system |
Definition at line 122 of file SCR_ExplosiveChargeComponent.c.
|
inlineprotected |
Change visibility of sloted fuze.
Definition at line 234 of file SCR_ExplosiveChargeComponent.c.
|
protected |
Definition at line 24 of file SCR_ExplosiveChargeComponent.c.
|
protected |
Definition at line 21 of file SCR_ExplosiveChargeComponent.c.
|
protected |
Definition at line 15 of file SCR_ExplosiveChargeComponent.c.
|
protected |
Definition at line 18 of file SCR_ExplosiveChargeComponent.c.
|
protected |
Definition at line 26 of file SCR_ExplosiveChargeComponent.c.
|
protected |
Definition at line 13 of file SCR_ExplosiveChargeComponent.c.
|
protected |
Definition at line 12 of file SCR_ExplosiveChargeComponent.c.
|
protected |
Definition at line 14 of file SCR_ExplosiveChargeComponent.c.