DayZ 1.26
DayZ Explorer by KGB
|
Scripted Trigger. Подробнее...
Защищенные члены | |
override void | OnEnter (Object obj) |
override void | OnLeave (Object obj) |
void | UpdateInsiders (int timeout) |
void | SetParentObject (Hologram projection) |
void | SetParentOwner (PlayerBase player) |
TriggerEvents, backwards compatibility calling | |
Implementation for backwards compatibility with old Trigger system | |
void | OnEnterBeginEvent (TriggerInsider insider) |
void | OnLeaveBeginEvent (TriggerInsider insider) |
DEPRECATED Events | |
left for backwards compatibility | |
void | OnEnter (Object obj) |
void | OnLeave (Object obj) |
TriggerInsider conditions | |
Conditions applied to TriggerInsider for if it can be added or should be removed | |
bool | CanAddObjectAsInsider (Object object) |
Condition whether an Object can be added as TriggerInsider (checked before calling AddInsider) | |
bool | ShouldRemoveInsider (TriggerInsider insider) |
Condition whether a TriggerInsider should still be updated or not (checked in update loop and before adding) | |
bool | ShouldRemoveInsiderNoLeave (TriggerInsider insider) |
Condition whether a TriggerInsider should still be updated or not, skips OnLeaveEvent (checked in update loop and before adding) | |
TriggerInsider processing | |
Logic and processing of adding, removing and updating a TriggerInsider | |
TriggerInsider | CreateInsider (Object obj) |
Used for easily overriding TriggerInsider creation without rewriting AddInsider. | |
void | AddInsider (Object obj) |
Adding of new TriggerInsider. | |
void | RemoveInsider (TriggerInsider insider, int index=-1) |
Removing of TriggerInsider. | |
void | RemoveInsiderByObject (Object object) |
Removing of TriggerInsider through Object. | |
void | UpdateInsiders (int timeout) |
Update the current TriggerInsider inside the Trigger, timeout paramter is deprecated. | |
DEBUGGING | |
General internal debugging functionality | |
override void | OnRPC (PlayerIdentity sender, int rpc_type, ParamsReadContext ctx) |
Защищенные данные | |
int | m_TriggerUpdateMs |
Hologram | m_ParentObj |
PlayerBase | m_Player |
Закрытые данные | |
const int | TIMEOUT = 1000 |
DEPRECATED. | |
ref array< ref TriggerInsider > | m_insiders |
The objects and their metadata which are currently inside the Trigger. | |
Закрытые данные унаследованные от TriggerEvents | |
ref ScriptInvoker | m_OnEnterInvoker |
ref ScriptInvoker | m_OnLeaveInvoker |
Scripted Trigger.
ctor
Перекрестные ссылки m_insiders и SetFlags().
dtor
Adding of new TriggerInsider.
Перекрестные ссылки CreateInsider(), TriggerEvents::Enter(), Error(), g_Game, GetDebugName(), GetInsiderForObject(), TriggerInsider::lastUpdated, m_insiders, ShouldRemoveInsider(), ShouldRemoveInsiderNoLeave(), TriggerInsider::timeEntered, TriggerInsider::timeStamp и Debug::TriggerLog().
Используется в EOnEnter().
Condition whether an Object can be added as TriggerInsider (checked before calling AddInsider)
Используется в EOnEnter().
|
inlineprotected |
Used for easily overriding TriggerInsider creation without rewriting AddInsider.
Используется в AddInsider().
When an Object enters the trigger add it to Insiders.
Перекрестные ссылки AddInsider(), CanAddObjectAsInsider() и Class::CastTo().
When an Object touches the Trigger, we want to register it being inside the Trigger -> Replaced by EOnEnter.
We want to update the insiders every frame (or do we?)
Перекрестные ссылки TIMEOUT и UpdateInsiders().
Set the default extents of the Trigger only once it is properly initialized.
Перекрестные ссылки SetExtents().
When an Object exits the trigger remove it from Insiders.
Перекрестные ссылки Class::CastTo() и RemoveInsiderByObject().
|
inlineprivate |
Gets the TriggerInsider for the Object if it exists.
Перекрестные ссылки m_insiders.
Используется в AddInsider().
Gets the index in m_insiders for the Object.
Перекрестные ссылки m_insiders.
|
inlineprivate |
Get the current TriggerInsider array, left for backwards compatibility, moved down from ManTrigger.
Перекрестные ссылки m_insiders.
Используется в ConstructionBoxTrigger::IsColliding().
Get the radius of the CollisionBox, simply left for backwards compatibility.
Перекрестные ссылки m_ParentObj.
Используется в OnEnterBeginEvent().
|
inlineprotected |
Перекрестные ссылки TriggerInsider::GetObject() и OnEnter().
Перекрестные ссылки m_ParentObj.
Используется в OnLeaveBeginEvent().
|
inlineprotected |
Перекрестные ссылки TriggerInsider::GetObject() и OnLeave().
|
inlineprotected |
Перекрестные ссылки vector::Zero.
|
inlineprotected |
Removing of TriggerInsider.
Перекрестные ссылки GetDebugName(), TriggerInsider::GetObject(), TriggerEvents::Leave(), m_insiders и Debug::TriggerLog().
Используется в RemoveInsiderByObject() и UpdateInsiders().
Removing of TriggerInsider through Object.
Перекрестные ссылки m_insiders и RemoveInsider().
Используется в EOnLeave().
Set the size of the Trigger, avoid using SetCollisionBox directly.
Перекрестные ссылки SetCollisionBox().
Используется в CreateCollisionTrigger(), CreateTrigger(), TrapBase::CreateTrigger(), ManTrigger::EOnInit() и EOnInit().
Перекрестные ссылки m_ParentObj.
|
inlineprotected |
Перекрестные ссылки m_Player.
|
inlineprotected |
Condition whether a TriggerInsider should still be updated or not (checked in update loop and before adding)
Используется в AddInsider() и UpdateInsiders().
|
inlineprotected |
Condition whether a TriggerInsider should still be updated or not, skips OnLeaveEvent (checked in update loop and before adding)
Используется в AddInsider() и UpdateInsiders().
Используется в EOnFrame().
Update the current TriggerInsider inside the Trigger, timeout paramter is deprecated.
Перекрестные ссылки g_Game, GetDebugName(), TriggerInsider::GetObject(), TriggerInsider::lastUpdated, m_insiders, RemoveInsider(), ShouldRemoveInsider(), ShouldRemoveInsiderNoLeave(), TriggerEvents::Stay(), TriggerEvents::StayFinish(), TriggerEvents::StayStart() и Debug::TriggerLog().
|
private |
The objects and their metadata which are currently inside the Trigger.
Используется в AddInsider(), GetInsiderForObject(), GetInsiderIndexForObject(), GetInsiders(), RemoveInsider(), RemoveInsiderByObject(), Trigger() и UpdateInsiders().
|
protected |
|
protected |
|
protected |
DEPRECATED.
Используется в EOnFrame().