|
void | OnActivate (IEntity ent) |
| callback - activation - occurs when and entity which fulfills the filter definitions enters the Trigger
|
|
void | OnDeactivate (IEntity ent) |
| callback - deactivation - occurs when and entity which was activated (OnActivate) leaves the Trigger
|
|
void | OnQueryFinished (bool bIsEmpty) |
| callback - query finished - occurs when the current query finished being processd and has updated results
|
|
◆ AddClassType()
proto external void BaseGameTriggerEntity.AddClassType |
( |
TypeName |
classType | ) |
|
Add a class type to the filter.
◆ AddFilterName()
proto external void BaseGameTriggerEntity.AddFilterName |
( |
string |
name | ) |
|
Add a name to the filter.
◆ AddPrefabFilter()
proto external void BaseGameTriggerEntity.AddPrefabFilter |
( |
PrefabFilter |
prefabFilter | ) |
|
Add a prefab filter to the filters.
◆ ClearTraceMask()
proto external void BaseGameTriggerEntity.ClearTraceMask |
( |
EQueryEntitiesFlags |
flags | ) |
|
◆ DefaultEntityFilterForQuery()
proto external bool BaseGameTriggerEntity.DefaultEntityFilterForQuery |
( |
IEntity |
ent | ) |
|
◆ EnablePeriodicQueries()
proto external void BaseGameTriggerEntity.EnablePeriodicQueries |
( |
bool |
enable | ) |
|
◆ GetEntitiesInside()
proto external int BaseGameTriggerEntity.GetEntitiesInside |
( |
out notnull array< IEntity > |
outEntities | ) |
|
Get the entities inside the triggers.
IMPORTANT* This doesn't force the searching of entities. If you want to search entities, use the QueryEntitiesInside function.
◆ GetOnQueryFinished()
ScriptInvoker BaseGameTriggerEntity.GetOnQueryFinished |
( |
| ) |
|
◆ GetSphereRadius()
proto external float BaseGameTriggerEntity.GetSphereRadius |
( |
| ) |
|
◆ GetTraceMask()
proto external EQueryEntitiesFlags BaseGameTriggerEntity.GetTraceMask |
( |
| ) |
|
Get flag(s) from the traces done by the the trigger.
◆ GetUpdateRate()
proto external float BaseGameTriggerEntity.GetUpdateRate |
( |
| ) |
|
◆ IsPeriodicQueriesEnabled()
proto external bool BaseGameTriggerEntity.IsPeriodicQueriesEnabled |
( |
| ) |
|
◆ OnActivate()
void BaseGameTriggerEntity.OnActivate |
( |
IEntity |
ent | ) |
|
|
protected |
◆ OnDeactivate()
void BaseGameTriggerEntity.OnDeactivate |
( |
IEntity |
ent | ) |
|
|
protected |
◆ OnQueryFinished()
void BaseGameTriggerEntity.OnQueryFinished |
( |
bool |
bIsEmpty | ) |
|
|
protected |
◆ QueryEntitiesInside()
proto external void BaseGameTriggerEntity.QueryEntitiesInside |
( |
| ) |
|
◆ QueryEntityInside()
proto external bool BaseGameTriggerEntity.QueryEntityInside |
( |
notnull IEntity |
ent | ) |
|
◆ RemoveClassType()
proto external bool BaseGameTriggerEntity.RemoveClassType |
( |
TypeName |
classType | ) |
|
Remove a class type from the filter.
◆ RemoveFilterName()
proto external bool BaseGameTriggerEntity.RemoveFilterName |
( |
string |
name | ) |
|
Remove a name from the filter.
◆ RemovePrefabFilter()
proto external bool BaseGameTriggerEntity.RemovePrefabFilter |
( |
PrefabFilter |
prefabFilter | ) |
|
Remove a prefab filter from the filters.
◆ SetSphereRadius()
proto external void BaseGameTriggerEntity.SetSphereRadius |
( |
float |
radius | ) |
|
◆ SetTraceMask()
proto external void BaseGameTriggerEntity.SetTraceMask |
( |
EQueryEntitiesFlags |
flags | ) |
|
Sets trace mask.
Bits are or'ed with existing mask.
◆ SetUpdateRate()
proto external void BaseGameTriggerEntity.SetUpdateRate |
( |
float |
updateRate | ) |
|
◆ Event_OnQueryFinished
ref ScriptInvoker BaseGameTriggerEntity.Event_OnQueryFinished = new ScriptInvoker() |
|
protected |
The documentation for this interface was generated from the following file:
- Game/generated/Trigger/BaseGameTriggerEntity.c