TransactionSystem class
game.TransactionSystem
Inheritance
Base: game.ITransactionSystem
Derived
None.
Properties
None.
Functions
void PrefetchItemAppearance(game.Object obj, game.ItemID itemID, CName newAppearanceName)RTTIvoid ChangeItemAppearanceByName(game.Object obj, game.ItemID itemID, CName newAppearanceName)RTTIvoid ChangeItemAppearanceByItemID(game.Object obj, game.ItemID itemID, game.ItemID newItemID)RTTIvoid ChangeItemAppearanceWithItemData()RTTICName GetItemAppearance(game.Object obj, game.ItemID itemID)RTTIvoid ResetItemAppearance(game.Object obj, game.ItemID itemID)RTTIvoid ClearAttachmentAppearance(game.Object obj, TDBID slotID)RTTIbool RemoveMoney(game.Object obj, int amount, CName currency)RTTIbool TransferMoney(game.Object source, game.Object target, int amount, CName currency)RTTIbool GiveMoney(game.Object target, int amount, CName currency)RTTIbool RemoveItem(game.Object obj, game.ItemID itemID, int amount)RTTIbool RemoveItemByTDBID(game.Object obj, TDBID tdbID, int amount, bool? checkMultipleInstances)RTTIbool GiveItem(game.Object obj, game.ItemID itemID, int amount, CName[]? dynamicTags)RTTIbool GiveItemByTDBID(game.Object obj, TDBID tdbID, int amount)RTTIbool GiveItems(game.Object obj, game.ItemModParams[] itemList)RTTIbool GiveItemByItemData(game.Object obj, game.ItemData itemData)RTTIbool GivePreviewItemByItemData(game.Object obj, game.ItemData itemData)RTTIbool GivePreviewItemByItemID(game.Object obj, game.ItemID itemID)RTTIgame.ItemID CreatePreviewItemID(game.ItemID itemID)RTTIbool GiveItemByItemQuery(game.Object obj, TDBID itemQueryTDBID, uint? amount, ulong? seed, string? telemetryLogSource)RTTIbool GiveItemByItemArrayQuery(game.Object obj, TDBID itemQueryTDBID, ulong? seed)RTTIgame.data.Item_Record? RunItemQuery(TDBID itemQueryTDBID, game.Object? context, ulong? seed)RTTIbool TransferItem(game.Object source, game.Object target, game.ItemID itemID, int amount, CName[]? dynamicTags, bool? force, bool? flagItemAsSilent)RTTIbool TransferAllItems(game.Object source, game.Object target)RTTIbool TakeItem(game.Object newOwner, WeakHandle<game.ItemObject> itemToLoot)RTTIbool SellItem(game.Object seller, game.Object buyer, game.ItemID itemID, int amount, CName currency, int? price)RTTIbool SellItemStrict(game.Object seller, game.Object buyer, game.ItemID itemID, int amount, CName currency, int? price)RTTIbool HasItem(game.Object obj, game.ItemID itemID)RTTIbool HasTag(game.Object obj, CName tag, game.ItemID itemID)RTTIint GetItemQuantity(game.Object obj, game.ItemID itemID)RTTIint GetItemQuantityWithDuplicates(game.Object obj, game.ItemID itemID)RTTIint GetItemQuantityByTag(game.Object obj, CName tag)RTTIint GetTotalItemQuantity(game.Object obj)RTTIint GetNumItems(game.Object obj, CName[]? tagFilters)RTTIWeakHandle<game.ItemData> GetItemData(game.Object obj, game.ItemID itemID)RTTIWeakHandle<game.ItemData> GetItemDataByTDBID(game.Object obj, TDBID itemTDBID)RTTIWeakHandle<game.ItemData> GetItemDataByOwnerEntityId(ent.EntityID id, game.ItemID itemID)RTTIbool AddItemToSlot(game.Object obj, TDBID slotID, game.ItemID itemID, bool? highPriority, WeakHandle<game.ItemObject>? itemObject, ERenderingPlane? plane, bool? keepWorldTransform, bool? ignoreRestrictions, CName? garmentAppearanceName, game.ItemID? appearanceItem, bool? dontCacheEquippedItem)RTTIbool DropItemFromSlot(game.Object obj, TDBID slotID, bool? shouldDestroyEntity, bool? keepWorldTransform, bool? skipSendAnimEquipEvents)RTTIbool RemoveItemFromSlot(game.Object obj, TDBID slotID, bool? shouldDestroyEntity, bool? keepWorldTransform, bool? skipSendAnimEquipEvents)RTTIbool RemoveItemFromAnySlot(game.Object obj, game.ItemID itemID, bool? shouldDestroyEntity, bool? keepWorldTransform)RTTIbool ChangeItemToSlot(game.Object obj, TDBID newSlotID, game.ItemID itemID)RTTIbool IsSlotEmpty(game.Object obj, TDBID slotID)RTTIbool IsSlotEmptySpawningItem(game.Object obj, TDBID slotID)RTTIbool IsSlotSpawningItem(game.Object obj, TDBID slotID, game.ItemID itemID)RTTIbool IsSlotSpawningAnyItem(game.Object obj, TDBID slotID)RTTIbool HasItemDataInSlot(game.Object obj, TDBID slotID, game.ItemID itemID)RTTIbool HasItemInSlot(game.Object obj, TDBID slotID, game.ItemID itemID)RTTIbool HasItemInAnySlot(game.Object obj, game.ItemID itemID)RTTIbool CanPlaceItemInSlot(game.Object obj, TDBID slotID, game.ItemID itemID)RTTIgame.ItemObject? GetItemInSlot(game.Object obj, TDBID slotID)RTTIgame.ItemObject? GetItemInSlotByItemID(game.Object obj, game.ItemID itemID)RTTIbool ClearAllSlots(game.Object obj)RTTIgame.ItemID CycleActiveItemInSlot(game.Object obj, TDBID slotID)RTTIbool SetActiveItemInSlot(game.Object obj, TDBID slotID, game.ItemID itemID)RTTIbool EquipActiveItemInSlot(game.Object obj, TDBID slotID, bool highPriority)RTTIgame.ItemID GetActiveItemInSlot(game.Object obj, TDBID slotID)RTTIbool CanItemBeActiveInSlot(game.Object obj, TDBID slotID, game.ItemID itemID)RTTIgame.ItemID GetNextActiveItemInSlot(game.Object obj, TDBID slotID)RTTIgame.ItemID RemovePart(game.Object obj, game.ItemID itemID, TDBID slotID, bool? shouldUpdateEntity)RTTIbool AddPart(game.Object obj, game.ItemID itemID, game.ItemID partItemID, TDBID? slotID)RTTIbool ForcePartInSlot(game.Object obj, game.ItemID itemID, game.ItemID partItemID, TDBID slotID)RTTIgame.StatsBundleHandler? CalculateTemporaryStatsBundle(game.Object obj, game.ItemID rootPartID, game.ItemID replacementPartID, TDBID slotIdForReplacement)RTTIvoid ReinitializeStatsOnEntityItems(game.Object obj)RTTIbool ReleaseItem(game.Object owner, WeakHandle<game.ItemObject> item)RTTIbool RemoveAllItems(game.Object obj)RTTIbool ThrowItem(game.Object owner, WeakHandle<game.Object> item, game.projectile.SetUpAndLaunchEvent setUpAndLaunchEvent)RTTIgame.InventoryScriptListener? RegisterInventoryListener(game.Object owner, game.InventoryScriptCallback callback)RTTIgame.AttachmentSlotsScriptListener? RegisterAttachmentSlotListener(game.Object owner, game.AttachmentSlotsScriptCallback callback)RTTIvoid UnregisterInventoryListener(game.Object owner, game.InventoryScriptListener listener)RTTIvoid UnregisterAttachmentSlotListener(game.Object owner, game.AttachmentSlotsScriptListener listener)RTTIbool OnItemAddedToEquipmentSlot(game.Object owner, game.ItemID itemID, CName? garmentAppearanceName, game.ItemID? appearanceItem)RTTIbool OnItemRemovedFromEquipmentSlot(game.Object owner, game.ItemID itemID)RTTIbool MatchVisualTag(ent.Entity entity, CName tag, bool? matchUsingDefaultAppearance)RTTIbool MatchVisualTagByItemID(game.ItemID itemID, game.Object owner, CName tag)RTTICName[] GetVisualTags(ent.Entity entity, bool? matchUsingDefaultAppearance)RTTICName[] GetVisualTagsByItemID(game.ItemID itemID, game.Object owner)RTTI