|
proto native EntityAI | GetEntityInHands () |
|
proto native bool | CanAddEntityInHands (EntityAI e) |
| alternative for TestAddEntityInHands(e, true, true, true);
|
|
proto native bool | TestAddEntityInHands (EntityAI e, bool do_resevation_check, bool do_item_check, bool do_lock_check, bool do_occupancy_test, bool do_script_check) |
|
proto native bool | CanRemoveEntityInHands () |
|
proto native bool | CanOpenInventory () |
|
proto native EntityAI | CreateInHands (string typeName) |
| creates new entity in hands
|
|
proto native int | GetUserReservedLocationCount () |
|
proto native int | FindUserReservedLocationIndex (notnull EntityAI e) |
|
proto native int | FindCollidingUserReservedLocationIndex (notnull EntityAI e, notnull InventoryLocation dst) |
|
proto native void | GetUserReservedLocation (int index, out notnull InventoryLocation dst) |
|
proto native int | FindFirstUserReservedLocationIndexForContainer (notnull EntityAI e) |
|
proto native void | SetUserReservedLocation (notnull EntityAI eai, notnull InventoryLocation dst) |
|
proto native void | ClearUserReservedLocation (notnull EntityAI eai) |
|
proto native bool | ClearUserReservedLocationAtIndex (int index) |
|
proto native void | ClearUserReservedLocationForContainer (notnull EntityAI eai) |
|
proto native bool | GetDebugFlag () |
|
override EntityAI | CreateInInventory (string type) |
| creates entity somewhere in inventory
|
|
void | ClearUserReservedLocationSynced (notnull EntityAI eai) |
|
void | ClearUserReservedLocationAtIndexSynced (int index) |
|
Man | GetManOwner () |
|
bool | HasEntityInHands (EntityAI e) |
|
bool | ProcessHandEvent (HandEventBase e) |
|
void | OnHandsStateChanged (HandStateBase src, HandStateBase dst) |
|
void | OnHandsExitedStableState (HandStateBase src, HandStateBase dst) |
|
void | OnHandsEnteredStableState (HandStateBase src, HandStateBase dst) |
|
void | OnEntityInHandsCreated (InventoryLocation src) |
|
void | OnEntityInHandsDestroyed (InventoryLocation src) |
|
bool | HandEvent (InventoryMode mode, HandEventBase e) |
|
override bool | DropEntity (InventoryMode mode, EntityAI owner, notnull EntityAI item) |
|
bool | ThrowEntity (EntityAI item, vector dir, float force) |
|
bool | RedirectToHandEvent (InventoryMode mode, notnull InventoryLocation src, notnull InventoryLocation dst) |
|
override bool | TakeToDst (InventoryMode mode, notnull InventoryLocation src, notnull InventoryLocation dst) |
|
override bool | TakeEntityToInventory (InventoryMode mode, FindInventoryLocationType flags, notnull EntityAI item) |
|
override bool | TakeEntityToCargoEx (InventoryMode mode, notnull EntityAI item, int idx, int row, int col) |
| Put item into into cargo on specific cargo location.
|
|
override bool | TakeEntityAsAttachmentEx (InventoryMode mode, notnull EntityAI item, int slot) |
|
override bool | SwapEntities (InventoryMode mode, notnull EntityAI item1, notnull EntityAI item2) |
|
override bool | ForceSwapEntities (InventoryMode mode, notnull EntityAI item1, notnull EntityAI item2, notnull InventoryLocation item2_dst) |
|
override bool | LocalDestroyEntity (notnull EntityAI item) |
|
override bool | ReplaceItemWithNew (InventoryMode mode, ReplaceItemWithNewLambdaBase lambda) |
|
bool | ReplaceItemElsewhereWithNewInHands (InventoryMode mode, ReplaceItemWithNewLambdaBase lambda) |
|
protected bool | ReplaceItemInElsewhereWithNewinHandsImpl (InventoryMode mode, HandEventBase e) |
|
protected bool | ReplaceItemInHandsWithNewImpl (InventoryMode mode, HandEventBase e) |
|
bool | ReplaceItemInHandsWithNew (InventoryMode mode, ReplaceItemWithNewLambdaBase lambda) |
|
bool | ReplaceItemInHandsWithNewElsewhere (InventoryMode mode, ReplaceItemWithNewLambdaBase lambda) |
|
bool | SwappingToPreviousLocation (EntityAI item1, EntityAI item2, out InventoryLocation dst) |
|
void | HandleInventoryManipulation () |
|
void | Update (float delta_time) |
|
bool | ValidateUserReservationCancel (inout Serializer ctx, InventoryValidation validation) |
|
bool | PostDeferredEventTakeToDst (InventoryMode mode, notnull InventoryLocation src, notnull InventoryLocation dst) |
|
bool | PostDeferredForceSwapEntities (InventoryMode mode, notnull EntityAI item1, notnull EntityAI item2, notnull InventoryLocation dst1, notnull InventoryLocation dst2) |
|