Romestead Assembly Reference

Shared.Inventory.InventoryApplyEngine

Type JSON

public class in Shared.Inventory

Methods15
Properties0
Fields0
Events0
Type metadata
  • AssemblyShared
  • NamespaceShared.Inventory
  • Base typeSystem.Object
  • Hash57EDF3B3F5D9B5546405A89ADF700DABD5F1ED0AC9058F65629C0D3D20F13793

Relationships

Base type

System.Object

Methods

ERROR

private System.Boolean ERROR(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge bridge, System.String msg)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash9F2125E207E6583B5F60C7892D8648D6A424CD4EACB59AEA678841311A957362
  • Body hash23144F0F23B5AF12D6C8946B1F97036FA9AD51A077868BA637DB36EBD764DD9E
  • IL size9
Referenced calls
Called by

LogMoneyChanged

private System.Void LogMoneyChanged(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge bridge, Shared.Models.Items.SharedInventoryModel inventory)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash91AAFE1B8C6CABB2F5B5352F067683B30C8A87EB0CD6E808C4E30235DEF3806E
  • Body hashF1DBF79AC2E34D4A25818146DF8D7C8196A29B86434815AB3DAF79234D05DC56
  • IL size8
Referenced calls
Called by

LogSlotChanged

private System.Void LogSlotChanged(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge bridge, Shared.Models.Items.SharedInventoryModel inventory, System.Int32 slotIndex)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash1A28CDF3AEDFDAE3EDF9AD4C648C816608B2122831A1C2A758BE529BBC4237FD
  • Body hash89D584239C1D23DB7E379A6B27C050BEB864114719B2CD9BFA72B3D97FA06949
  • IL size9
Referenced calls
Called by

MoveMoney

private System.Boolean MoveMoney(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge bridge, System.Guid sourceInventoryId, System.Guid targetInventoryId, System.UInt64 moneyAmount)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash3548485032FF07DB936D3F5C07FEBACC68E49C5B45E99E85A681B18D828D3F21
  • Body hash51044E973C0505E4B6383DF5B3E420D13774BC63BAAB745553EAAD40DC9F6783
  • IL size291
Referenced calls
Called by
String literals
  • MoveMoney: SourceInventory doesn't have money value
  • MoveMoney: TargetInventory doesn't have money value
  • MoveMoney
  • : SourceInventory doesn't have enough money
  • vs

MoveStackAmount

private System.Boolean MoveStackAmount(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge bridge, System.Guid sourceInventoryId, System.Int32 sourceSlotIndex, System.Guid targetInventoryId, System.Int32 targetSlotIndex, System.Int32 amount)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash3FE167F07FAC5B76B886E17D9C88D20BCE774F3473E7287CA98424DF276D36A1
  • Body hashEF659007058C62B2C0EE33B85EFF5FAA84E339350FDB31FE8DC5B0E9AC34ADD0
  • IL size1037
Referenced calls
Called by
String literals
  • MoveStackAmount
  • : Source slot index out of range [
  • ]
  • : Target slot index out of range [
  • : Invalid amount
  • MoveStackAmount: Source item was null
  • MoveStackAmount: Source item
  • is not accepted by the target inventory.
  • : Target item
  • can't stack
  • . Auras on targetItem
  • , Auras on sourceItem
  • can't stack the amount we expect. Stackable
  • , amount
  • : Source item's stack
  • is

SanityCheckItem

private System.Boolean SanityCheckItem(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge bridge, Shared.Models.Items.ItemInstanceModel item, Shared.Models.Items.SharedInventoryModel ownerInventory)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash8EF0AAD881152622DE12510A1327736A0064EA924F4DD38C9D28FA50DCDA0E3C
  • Body hash49279C2DA4980DABEDC9F467892BA2242DBB99038BC5D51FCAEEFB1A2C60C855
  • IL size372
Referenced calls
Called by
String literals
  • Item
  • doesn't have matching inventory ID with its owner inventory. Inventory on the item is set to
  • has a 0 stack count but is not deleted
  • has negative stack count
  • has a stack count of
  • , exceeding its max stack size of

SANITY_ERROR

private System.Boolean SANITY_ERROR(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge bridge, Shared.Models.Items.ItemInstanceModel item, Shared.Models.Items.SharedInventoryModel ownerInventory, System.String msg)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash38E30ECF84621E3A9765F162BF8AEE0ED5D1CC0E89013DB1E50AF138D00A3BCE
  • Body hash6B2B9591E5AD1CCF701714C02D29657A1A54B87143AEE8479AFA2C1EA282CC4E
  • IL size11
Referenced calls
Called by

SplitMoneyItemIntoNewMoneyItem

private System.Boolean SplitMoneyItemIntoNewMoneyItem(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge bridge, System.Guid sourceInventoryId, System.Int32 sourceSlotIndex, System.Guid targetInventoryId, System.Int32 targetSlotIndex, System.Int32 amount)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash9ED763A71925F154D68E8D1B4507E8E9CC135865C4747293340597BF88D8EC2E
  • Body hashA5BB1398B0F392DA63AAD44BD805360FA11DFB2B5A9AC1AC28B72ADDA2BC3F07
  • IL size748
Referenced calls
Called by
String literals
  • SplitMoneyItemIntoNewMoneyItem
  • : Source slot index out of range [
  • ]
  • : Target slot index out of range [
  • : Invalid amount
  • SplitMoneyItemIntoNewMoneyItem: Source item was null
  • SplitMoneyItemIntoNewMoneyItem: Source item is not money.
  • SplitMoneyItemIntoNewMoneyItem: Target item is not null
  • SplitMoneyItemIntoNewMoneyItem: Source coin was lowest coin value and therefore we can't split it.
  • : Tried splitting coin type
  • into an amount that's larger than the conversion into coin type
  • . Amount
  • and conversion was
  • : Bridge failed creating item
  • ,
  • SplitMoneyItemIntoNewMoneyItem: Target item

SwapItemPositions

private System.Boolean SwapItemPositions(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge bridge, System.Guid sourceInventoryId, System.Int32 sourceSlotIndex, System.Guid targetInventoryId, System.Int32 targetSlotIndex)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash8082F6F60D5FCBCB1115E783F8921FF501CEEC234769D96F56A71DADCCA16C23
  • Body hash4D1C332F9F9E3D47AF63D6778A09CCC6CB1AAD4E926D4E53C278894CD0E964E9
  • IL size490
Referenced calls
Called by
String literals
  • SwapItemPositions
  • : Source slot index out of range [
  • ]
  • : Target slot index out of range [
  • SwapItemPositions: SourceItem and TargetItem was null?
  • SwapItemPositions: Target item
  • is not accepted by the source inventory.
  • SwapItemPositions: Source item
  • is not accepted by the target inventory.

TryApplyAction

public System.Boolean TryApplyAction(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge bridge, Shared.Inventory.DeltaModels.DeltaAction action)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash8936CBB7D88E148AB5C1551EA3796C6305201BF4D31F915E76AFA73F5032E82C
  • Body hash6FCDB0341514610D391711BE5C376A1D10F169A526FE040091DD5B0C17F57463
  • IL size319
Referenced calls
Called by
String literals
  • Empty Delta Action type signifies something has gone wrong when generating the delta actions. Should have already been h

TryApplyManyActions

public System.Boolean TryApplyManyActions(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge bridge, System.Collections.Generic.IReadOnlyCollection<Shared.Inventory.DeltaModels.DeltaAction> actions)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash940AE0BFDD5BB796A6A962EE5A81E287F10103448BFB1831C3B07E0856838CC4
  • Body hash649F9A82C56DE2A5ACF4DF6AA90F9A65C852CE5F820F43456877FA202E1DF0E1
  • IL size53
Referenced calls
Called by

TurnMoneyIntoItem

private System.Boolean TurnMoneyIntoItem(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge bridge, System.Guid sourceInventoryId, System.Guid targetInventoryId, System.Int32 targetSlotIndex, System.UInt64 moneyAmount)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash33F6BC273FCE120AF0FFAB174FF44648732F3C4BB2CFE06B19D74B64D47CF9FA
  • Body hash6D59334B4D987768AF18F5056DD735529D8B0A5B23ADA10FBDBAB026D36ECB91
  • IL size568
Referenced calls
Called by
String literals
  • TurnMoneyIntoItem: SourceInventory doesn't have money value
  • TurnMoneyIntoItem: TargetInventory has a money field but we're trying to move money items into it.
  • TurnMoneyIntoItem
  • : Target slot index out of range [
  • ]
  • TurnMoneyIntoItem: Money amount exceeds the MaxMoney
  • : SourceInventory doesn't have enough money
  • vs
  • TurnMoneyIntoItem: Failed getting coin type and coin amount
  • : Bridge failed creating item
  • ,
  • TurnMoneyIntoItem: Target item
  • is not accepted by the target inventory.

TurnMoneyIntoItemStackAmount

private System.Boolean TurnMoneyIntoItemStackAmount(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge bridge, System.Guid sourceInventoryId, System.Guid targetInventoryId, System.Int32 targetSlotIndex, System.UInt64 moneyAmount)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • HashCB02F12B918FE148961E2B3DC50176ACC44085E404D8486299633E4AD4D25705
  • Body hashC8F051F40C88D03082786BD89FE4602F1C3CF4189DB423B83A5F5D91E9E0EE28
  • IL size618
Referenced calls
Called by
String literals
  • TurnMoneyIntoItemStackAmount: SourceInventory doesn't have money value
  • TurnMoneyIntoItemStackAmount: TargetInventory has a money field but we're trying to move money items into it.
  • TurnMoneyIntoItemStackAmount
  • : Target slot index out of range [
  • ]
  • TurnMoneyIntoItemStackAmount: Money amount exceeds the MaxMoney
  • : SourceInventory doesn't have enough money
  • vs
  • TurnMoneyIntoItemStackAmount: Target item was null
  • TurnMoneyIntoItemStackAmount: Failed getting coin type and coin amount
  • TurnMoneyIntoItemStackAmount: Unknown item ID
  • .
  • : Can't add coins amount to target inventory's stack. Coin type
  • , amount
  • , stackable amount

TurnMoneyItemAmountIntoMoney

private System.Boolean TurnMoneyItemAmountIntoMoney(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge bridge, System.Guid sourceInventoryId, System.Int32 sourceSlotIndex, System.Guid targetInventoryId, System.Int32 amount)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash95F0D7A5EF8D812DB6555D5FA2838AE8D5EDCD3D0563DEB97E3B968B92AE70FD
  • Body hash37F9223D4E7E33A7B3C299E00ED61EED79DCB60C782D5D7FDB12673D1762109B
  • IL size579
Referenced calls
Called by
String literals
  • TurnMoneyItemAmountIntoMoney
  • : Source slot index out of range [
  • ]
  • : Invalid amount
  • TurnMoneyItemAmountIntoMoney: Source item was null
  • TurnMoneyItemAmountIntoMoney: Source item is not money.
  • TurnMoneyItemAmountIntoMoney: Target inventory has no money field
  • : Target inventory doesn't accept money. Type is
  • : Source item's stack
  • is
  • and amount is
  • .

TurnMoneyItemIntoMoney

private System.Boolean TurnMoneyItemIntoMoney(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge bridge, System.Guid sourceInventoryId, System.Int32 sourceSlotIndex, System.Guid targetInventoryId)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • HashBF667285DEE796C9D977E8E26F6AA77C7FA11B1C60F0B26F8E01938CC27E56FE
  • Body hash23A57D62C331A7DCEEF1978C792F22465C16DCC2D20A66BDF011A1681BBF58B1
  • IL size363
Referenced calls
Called by
String literals
  • TurnMoneyItemIntoMoney
  • : Source slot index out of range [
  • ]
  • TurnMoneyItemIntoMoney: Source item was null
  • TurnMoneyItemIntoMoney: Source item is not money.
  • TurnMoneyItemIntoMoney: Target inventory has no money field
  • : Target inventory doesn't accept money. Type is