![]() |
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_SpawnLockComponentClass |
Functions | |
| override void | OnPostInit (IEntity owner) |
| Editable Mine. | |
| void | Lock (Managed source, bool auth) |
| void | Unlock (Managed source, bool auth) |
| bool | IsLocked (bool auth) |
| bool | TryLock (Managed source, bool auth) |
Variables | |
| SCR_SpawnLockComponentClass | m_RequestLocks = new set<Managed>() |
| ref set< Managed > | m_AuthorityLocks = new set<Managed>() |
Is this lock engaged? The lock is engaged if any instance has engaged it. (using Lock) The lock is lifted once all instances that have previously engaged it disengage it. (using Unlock)
| [in] | auth |
Definition at line 81 of file SCR_SpawnLockComponent.c.
|
protected |
Locks the component with the provided instance.
| [in] | source | Lock instigator. |
| [in] | auth |
Definition at line 35 of file SCR_SpawnLockComponent.c.
Try to engage lock, return true on success; false otherwise.
| [in] | source | |
| [in] | auth |
Definition at line 94 of file SCR_SpawnLockComponent.c.
|
protected |
Unlocks the component with the provided instance.
| [in] | source | Unlock instigator. |
| [in] | auth |
Definition at line 51 of file SCR_SpawnLockComponent.c.
|
protected |
Set of all instances that issued a lock on this component. Each instance should make sure to properly engage and disengage the lock. Disclaimer: This set is never relevant to a proxy.
Definition at line 21 of file SCR_SpawnLockComponent.c.
| SCR_SpawnLockComponentClass m_RequestLocks = new set<Managed>() |
This components allows to lock SCR_SpawnRequestComponent(s) from issuing any more requests until the issued one has been processed by the authority and a response has been received. The expected hierarchy is: PlayerController
Set of all instances that issued a lock on this component. Each instance should make sure to properly engage and disengage the lock.