|
| RplId | GetParentRplId () |
| |
| int | GetParentNodeId () |
| |
| void | PlaceItem () |
| |
| void | SetPlacementPosition (vector right, vector up, vector forward, vector position, RplId characterRplId) |
| | Authority method used to change the position at which item will placed when removed from the inventory.
|
| |
| override bool | OverridePlacementTransform (IEntity caller, out vector computedTransform[4]) |
| | Override final transformation of dropped item, return true in case transformation should be applied.
|
| |
| void | PlaceItemWithParentChange (RplId newParentRplId, int nodeId=-1) |
| | Same as PlaceItem but with params that allow attaching the object to new parent entity.
|
| |
| void | SetNewParent (RplId parentId=RplId.Invalid(), int nodeId=-1) |
| | Method for updating parent when proxy streams in placeable item.
|
| |
| override void | OnDelete (IEntity owner) |
| |
| proto external IEntity | GetOwner () |
| | Returns Entity owner of current component instance.
|
| |
| proto external bool | IsLocked () |
| | Returns locked state of item (for both user and system locks)
|
| |
| proto external bool | IsUserLocked () |
| |
| proto external bool | IsSystemLocked () |
| |
| proto external InventoryStorageSlot | GetParentSlot () |
| |
| proto external ItemAttributeCollection | GetAttributes () |
| |
| proto external void | HideOwner () |
| | Hide owner entity.
|
| |
| proto external void | ShowOwner () |
| | Show owner entity.
|
| |
| proto external void | SetTraceable (bool traceable) |
| | Set the entity to be traceable or not.
|
| |
| proto external void | DisablePhysics () |
| | Disable owners physical interactions.
|
| |
| proto external void | EnablePhysics () |
| | Enable owners physical interactions.
|
| |
| proto external void | ActivateOwner (bool active) |
| | Enable/Disable entity active state.
|
| |
| proto external float | GetAdditionalWeight () |
| | Returns the current additional weight.
|
| |
| proto external void | SetAdditionalWeight (float additionalWeight) |
| | IMPORTANT* Could only be called on the master.
|
| |
| proto external float | GetTotalWeight () |
| | Returns the weight + the additional weight.
|
| |
| proto external float | GetAdditionalVolume () |
| | Returns the current additional volume.
|
| |
| proto external void | SetAdditionalVolume (float additionalVolume) |
| | IMPORTANT* Could only be called on the master.
|
| |
| proto external float | GetTotalVolume () |
| | Returns the volume + the additional volume.
|
| |
| proto external void | PlaceOnGround (IEntity callerEntity=null) |
| | IMPORTANT* This function is heavy in performance because of the multiple traces used inside the function.
|
| |
| proto external bool | IsHiddenInVicnity () |
| | returns true if item should be hidden
|
| |
| proto external UIInfo | GetUIInfo () |
| | Returns UI info of this item.
|
| |
| proto external bool | RequestUserLock (IEntity caller, bool locked) |
| | Set external lock on item optional caller is entity that manipulates with item and has inventory manager present (usually character)
|
| |
| proto external BaseItemAttributeData | FindAttribute (TypeName typeName) |
| | Convinience method Finds first occurance of the coresponding attribute data object in owned PrefabData AttributeCollection.
|
| |
| proto external IEntity | CreatePreviewEntity (BaseWorld world, int camera) |
| | Creates preview entity in the provided world.
|
| |
| bool | OnTicksOnRemoteProxy () |
| |
| static ScriptInvokerItemPlaced | GetOnPlacementDoneInvoker () |
| |
| ref ScriptInvoker< bool > | m_OnLockedStateChangedInvoker = new ScriptInvoker<bool>() |
| |
| ref ScriptInvoker< InventoryStorageSlot, InventoryStorageSlot > | m_OnParentSlotChangedInvoker = new ScriptInvoker<InventoryStorageSlot, InventoryStorageSlot>() |
| |
| vector | m_vMat [4] |
| |
| bool | m_bUseTransform = false |
| |
| RplId | m_ParentRplId = RplId.Invalid() |
| |
| RplId | m_PlacingCharacterRplId = RplId.Invalid() |
| |
| int | m_iParentNodeId |
| |
| IEntity | m_Parent |
| |
| IEntity | m_RootParent |
| |
| static ref ScriptInvokerItemPlaced | s_OnPlacementDoneInvoker |
| |