![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Static Protected Member Functions | |
| static SCR_EditableEntityComponent | GetEditableEntity (IEntity owner) |
Component defining editable entity.
Definition at line 13 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
| [in] | src | |
| [in] | ent | |
| [in] | parent |
Definition at line 2280 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Add access key. Available only on server!
| [in] | accessKey | Key to be added |
Definition at line 1861 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 1511 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 1473 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Add the received attachable waypoint to the attached entities (runs on parent)
| [in] | target | to link current entity to |
Definition at line 2335 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 545 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Can entity be duplicated by editor and which recipients should be passed to the duplicated entity Overridden by other EditableEntityComponents
| [out] | outRecipients | editableEntityComponents that will be passed to the duplicated entity (Groupcomponent / FactionComponent) |
Definition at line 1010 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Checks if can enter layer.
| [in] | layersManager | give a layermanager ref, it will find the layer manager if left empty |
| [in] | toExtreme | When enable, it will not move just one layer up, but all the way to root. And the same when moving down |
Definition at line 1299 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 1786 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 244 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Check if the entity can be moved to intended parent.
| [in] | parentEntity | New parent. Null when evaluating root. |
Definition at line 1043 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Clear all access keys. Available only on server!
Definition at line 1889 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Override the Entity flags.
| [in] | flags | The flags to override to |
Definition at line 1701 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Delete this editable entity.
| [in] | changedByUser | True when the change was initiated by user |
| [in] | updateNavmesh | True to update navmesh after the entity is deleted (set to false when deleting children of already deleted entity) |
Definition at line 842 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Deserialise the entity based on given params.
| [in] | target | Entity to which this entity is attached to outside of hierarchy structure, e.g., character in a vehicle or waypoint on a target |
| [in] | targetIndex | Further specification of the target, e.g., crew position index in a vehicle |
Definition at line 230 of file SCR_EditableEntityComponent.c.
Kill/destroy this editable entity.
Definition at line 812 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Removes the received attachable waypoint from the attached entities (runs on parent)
| [in] | attachable | target to remove link |
Definition at line 2344 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
| [in] | enable |
Definition at line 1774 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Returns true if the entity consumes this type of budget.
Definition at line 970 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Event called on server when the entity is placed in the editor.
| [out] | parent | Editable entity in which the new one is being created (rewrite the variable the change the parent) |
| [in] | recipient | Entity that receives this editable entity (e.g., a group receiving a waypoint) |
| [in] | flags | Placing flags enabled by user |
| [in] | isQueue | true if the entity was placed in a queue (i.e., placing remains active) |
| [in] | playerID | ID of the player placing the entity. |
Definition at line 2118 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Event called on server when the session is being loaded by SCR_EditableEntityStruct
| [in] | parent | Editable entity in which the new one is being created |
Definition at line 2126 of file SCR_EditableEntityComponent.c.
|
protected |
Authority Only, forces entities such as Character and Group to place characters into a specific vehicle position
| [in] | forceVehicleCompartments | compartment types to force for entity |
|
inlineprotected |
Get entity's access key.
Definition at line 1903 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Get entity which represents this entity as AI
Definition at line 507 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Get entity's AI group.
Definition at line 499 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Returns attached entities of self
Definition at line 2352 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Returns current entity which this editable task is attached to
Definition at line 2383 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 374 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Returns Unix Time of last modification
Definition at line 415 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 425 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
Definition at line 1424 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Get child on given index.
| [in] | index | Child index |
Definition at line 1278 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Get child entities with compatible key.
| [out] | entities | Array to be filled with child entities |
| [in] | onlyDirect | When true, only the direct descendants are returned, otherwise all children, children of children etc. are returned. |
| [in] | accessKey | Return only entities with at least one key matching this value |
Definition at line 1227 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Get child entities.
| [out] | entities | Array to be filled with child entities (NOT cleared before filling) |
| [in] | onlyDirect | When true, only the direct descendants are returned, otherwise all children, children of children etc. are returned. |
| [in] | skipIgnored | When true, entities flagged by IGNORE_LAYERS will not be included in the list |
Definition at line 1206 of file SCR_EditableEntityComponent.c.
Get number of child entities.
| [in] | onlyDirect | When true, return only direct children, othwise count recursively in their children as well |
Definition at line 1251 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Get direct reference to entity's immediate children. Use when performance is important. DO NOT MODIFY THE LIST!
Definition at line 1195 of file SCR_EditableEntityComponent.c.
|
protected |
Get crew of vehicle or if in a vehicle get self.
| [out] | crewCompartmentAccess | an array of CompartmentAccessComponent of all crew memebers |
| [in] | ignorePlayers | will never return player CompartmentAccessComponent if true |
|
inlineprotected |
Get entity name from info component. When info is undefined, use entity's variable name, or, if that one is also undefined, its class name.
Definition at line 57 of file SCR_EditableEntityComponent.c.
|
inlinestaticprotected |
Get editable entity component on given entity.
| [in] | entity |
Definition at line 919 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Get prefab data of this editable entity.
| [in] | Owner | entity of this component, used when m_Owner==null, after deletion |
Definition at line 110 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Get budgets for both, entity and it's children.
| [out] | outBudgets | Array to be filled with budget values |
Definition at line 959 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Get entity budget costs.
| [out] | outBudgets | Array to be filled with budget values |
| [in] | owner |
Definition at line 932 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Get entity budget costs including cost of children (for groups/compositions)
| [out] | outBudgets | Array to be filled with budget values |
| [in] | owner |
Definition at line 946 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
|
inlineprotected |
Get entity interaction rules of this entity. If it doesn't contain any custom rules, those for its type will be used.
Definition at line 139 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Check bit array with all currently active states
Definition at line 1598 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Get entity type. Avoid basing your functionality on specific entity types! If everyone checked for specific types, adding a new type would mean all conditions have to be revised. Instead, base your system on a function inside this class. Such function can be overrided by inherited classes to give desired result.
| [in] | Owner | entity of this component |
Definition at line 127 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
|
inlineprotected |
Get entity health
Definition at line 531 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
|
inlineprotected |
Get information about the entity. When none exist, create a dummy one.
Definition at line 151 of file SCR_EditableEntityComponent.c.
Get local transformation matrix of editable entity.
| [out] | outTransform | Transformation matrix |
Definition at line 319 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Get squared maximum distance in which this entity is drawn in editor (e.g., with an icon).
Definition at line 897 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Get event called when entity is deleted
Definition at line 170 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Get event called when GUI should refresh entity's GUI, i.e., update faction color and call events in GUI widgets. To be overridden by inherited classes.
Definition at line 482 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Get event called when GUI should reset widgets that are used for entity visualization. To be overridden by inherited classes.
Definition at line 491 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 885 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 252 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Get hierarchy of all parent entities, all the way to the root.
| [out] | entities | Array to be filled with parent entities |
Definition at line 1162 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Get parent entity.
Definition at line 1154 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Get player controlling this entity.
Definition at line 346 of file SCR_EditableEntityComponent.c.
Get position representing the entity.
| [out] | pos | Entity's position |
Definition at line 261 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Get entity prefab.
| [in] | shorten | True to include only GUID, not file path |
Definition at line 82 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 1969 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Check if the entity is marked as static.
Definition at line 590 of file SCR_EditableEntityComponent.c.
Get world transformation matrix of editable entity.
| [out] | outTransform | Transformation matrix |
Definition at line 307 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Get vehicle the entity's in
Definition at line 515 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Check visibility setting of the entity in hierarchy (e.g., if an entity is set as visible, but its parent is not, false will be returned).
Definition at line 1810 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Check visibility setting of the entity.
Definition at line 1801 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Check access key of the entity in hierarchy (e.g., if an entity is compatible, but its parent is not, false will be returned). Compared with the key defined in SCR_AccessKeysEditorComponent.
Definition at line 1945 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Check acces keys of the entity in hierarchy (e.g., if an entity is compatible, but its parent is not, false will be returned).
| [in] | accessKey | Access key which be checked in entity's access key |
Definition at line 1921 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Check access key of the entity compared to those defined in SCR_AccessKeysEditorComponent.
Definition at line 1932 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Check access key of the entity.
| [in] | accessKey | Access key which be checked in entity's access key |
Definition at line 1912 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Check if a flag is active.
| [in] | flag |
Definition at line 1663 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Check if given entity state is active.
| [in] | state |
Definition at line 1590 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Returns if current entity is attachable
Definition at line 2367 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Returns if current entity is attached
Definition at line 2375 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Check if the entity is in hierarchy of given entity.
| [in] | entity | Queried entity |
Definition at line 1177 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Check if the entity is destroyed.
Definition at line 554 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Check if the entity is also a layer, i.e., has some child entities.
Definition at line 1289 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Check if the entity is registered. Registered entity is a child of either root in SCR_EditableEntityCore or one of already registered entities.
Definition at line 1318 of file SCR_EditableEntityComponent.c.
Check component's replication. Show an error when it's not registered for replication (e.g., RplComponent is missing)
| [out] | replicationID | ID used by Replication.FindItem() |
Definition at line 191 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 237 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Print out the entity and all its descendants which are compatible with given key.
| [in] | prefix | Text added before the printed text |
| [in] | accessKey | Access key which be checked in entity's access key |
Definition at line 2062 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Print out entity information.
| [in] | prefix | Text added before the printed text |
| [in] | onlyDirect | When true, only the direct descendants are logged, otherwise all children, children of children etc. are logged. |
| [in] | logLevel | Log level type |
Definition at line 2030 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Print out entity's access key.
Definition at line 2084 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 1825 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 800 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 770 of file SCR_EditableEntityComponent.c.
|
protected |
|
protected |
| [in] | placedEditorComponent |
|
inlineprotected |
Definition at line 2190 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 1331 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 2219 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 1400 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 1793 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 1745 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 1961 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 1430 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Remove access key. Available only on server!
| [in] | accessKey | Key to be removed |
Definition at line 1876 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 1531 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 1492 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Remove entity from its parent. This will unregister the entity from the system, making it not editable. Later, it can be enabled again by adding it to editable parent.
Definition at line 1137 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Reset all entity states.
Definition at line 1636 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Add the entity to its previous parent after it was unregistered using RemoveParentEntity() Allowed only on server.
Definition at line 1119 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 2166 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 2139 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Check if the entity can be serialized during session saving managed by SCR_EditableEntityStruct.
| [out] | target | Entity to which this entity is attached to outside of hierarchy structure, e.g., character in a vehicle or waypoint on a target |
| [out] | targetIndex | Further specification of the target, e.g., crew position index in a vehicle |
| [out] | isDestroyed | Variable to be set to true if the entity is destroyed |
Definition at line 213 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Sets AuthorID (player that modified this entity last) in Session
| [in] | authorID |
Definition at line 354 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Sets AuthorID (player that modified this entity last) from a Save
| [in] | author |
Definition at line 368 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 462 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 445 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Set Author UID (for normal usage use SetAuthor())
| [in] | authorUID |
Definition at line 436 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Set Time of last update
| [in] | authorUID |
Definition at line 456 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Set entity flag.
| [in] | flag | Flag type |
Definition at line 1680 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Set value of an entity state. Multiple states can exist at the same time (e.g., HOVER and SELECTED).
State has only informational value! For example setting it to SELECTED will not actually select the entity.
| [in] | state | Target state |
| [in] | toSet | True to activate the state, false to deactivate |
Definition at line 1609 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 1707 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Mark entity hierarchy as dirty, i.e., modified by user. Used for example to evaluate if the entity should be saved into a save file in its entirety.
Definition at line 627 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Mark hierarchy in all parents of the entity as dirty, i.e., modified by user. Used for example to evaluate if the entity should be saved into a save file in its entirety.
Definition at line 611 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Set information about the entity on entity instance, locally on this machine. This is a weak ref! The info needs to be held somewhere else, the entity will merely link to it.
| [in] | info | Info class |
Definition at line 182 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Set maximum distance in which this entity is drawn in editor (e.g., with an icon).
| [in] | maxDrawDistance | Distance in metres |
Definition at line 905 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Set parent of the entity. When placed inside a parent, the entity will inherit some of its settings, like access key or visibility settings. Changing it is allowed only on server.
| [in] | parentEntity | New parent. When null, the entity will be moved to the root. |
| [in] | changedByUser | True when the change was initiated by user |
Definition at line 1068 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 1346 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 1378 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Set entity as static. When static, entity's position is not calculated each frame. Instead, cached position is used. Calling this function with isStatic=true refreshes cached position based on the current position. Use only for entities that are not expected to move! Certain entity types cannot be set as static, and this command will ignore them. Ignored types are GROUP, CHARACTER and VEHICLE.
| [in] | isStatic | True to set as static |
Definition at line 574 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Update entity's transformation and broadcast the changes to all clients.
| [in] | transform | Target transformation |
| [in] | changedByUser | True when the change was initiated by user |
Definition at line 648 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 751 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 732 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Update transformation of the entity and all its editor children and broadcast the changes to all clients.
| [in] | transform | Target transformation |
Definition at line 635 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Set entity visibility. When set to false, the entity will not be shown to the user. Visibility is local to editor user.
| [in] | show | true to show, false to hide |
Definition at line 1761 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 1455 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 1554 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Update static cached position. Doesn't do anything when the entity is not marked as static.
Definition at line 598 of file SCR_EditableEntityComponent.c.
|
inlineprotected |
Definition at line 1975 of file SCR_EditableEntityComponent.c.
|
protected |
Definition at line 51 of file SCR_EditableEntityComponent.c.
|
protected |
Definition at line 34 of file SCR_EditableEntityComponent.c.
|
protected |
Definition at line 48 of file SCR_EditableEntityComponent.c.
|
protected |
Definition at line 16 of file SCR_EditableEntityComponent.c.
|
protected |
Definition at line 22 of file SCR_EditableEntityComponent.c.
|
protected |
Definition at line 28 of file SCR_EditableEntityComponent.c.
|
protected |
Definition at line 25 of file SCR_EditableEntityComponent.c.
|
protected |
Definition at line 43 of file SCR_EditableEntityComponent.c.
|
protected |
Definition at line 41 of file SCR_EditableEntityComponent.c.
|
protected |
Definition at line 37 of file SCR_EditableEntityComponent.c.
|
protected |
Definition at line 31 of file SCR_EditableEntityComponent.c.
|
protected |
Definition at line 49 of file SCR_EditableEntityComponent.c.
|
protected |
Definition at line 45 of file SCR_EditableEntityComponent.c.
|
protected |
Definition at line 46 of file SCR_EditableEntityComponent.c.
|
protected |
Definition at line 40 of file SCR_EditableEntityComponent.c.
|
protected |
Definition at line 39 of file SCR_EditableEntityComponent.c.
|
protected |
Definition at line 42 of file SCR_EditableEntityComponent.c.
|
protected |
Definition at line 19 of file SCR_EditableEntityComponent.c.
|
protected |
Definition at line 44 of file SCR_EditableEntityComponent.c.