Romestead Assembly Reference

Shared.Inventory.InventoryDeltaEngine

Type JSON

public class in Shared.Inventory

Methods6
Properties0
Fields0
Events0
Type metadata
  • AssemblyShared
  • NamespaceShared.Inventory
  • Base typeSystem.Object
  • HashD306A67401F42425448F525D44D56642BD944483EBED47370B33DC7870E191A8

Relationships

Base type

System.Object

Methods

MoveAmount

public Shared.Inventory.DeltaModels.DeltaResult MoveAmount(Shared.Models.Items.SharedInventoryModel sourceInventory, System.Int32 sourceSlotIndex, Shared.Models.Items.SharedInventoryModel targetInventory, System.Int32 targetSlotIndex, System.Int32 amount)

Method metadata
  • Visibilitypublic
  • Return typeShared.Inventory.DeltaModels.DeltaResult
  • StaticTrue
  • VirtualFalse
  • Hash6FA4ED044D4CA7D3DCE7B5BA5F0CAB83713B5E0D9E097EEC9AE6796BEFBC07FC
  • Body hash963DD47548BBC44806294E07AB96E3805C77403CC9388B80600011A59D2E7B73
  • IL size232
Referenced calls
Called by

MoveAmountIntoExistingStacks

public Shared.Inventory.DeltaModels.InventoryResult MoveAmountIntoExistingStacks(System.Collections.Generic.List<Shared.Inventory.DeltaModels.DeltaAction> actions, Shared.Models.Items.SharedInventoryModel sourceInventory, System.Int32 sourceSlotIndex, Shared.Models.Items.SharedInventoryModel targetInventory, System.Int32 amount, out System.Int32& movedAmount)

Method metadata
  • Visibilitypublic
  • Return typeShared.Inventory.DeltaModels.InventoryResult
  • StaticTrue
  • VirtualFalse
  • HashE79CD39E0FE54682B692C088950F7485FF5EA41830BDE82798F289CE0C5F7B72
  • Body hash935A29D515945576A5FDBC4DCB8D1CBA8632636E98E712E96F242F0D9192D2B9
  • IL size208
Referenced calls
Called by

MoveCoinTypeIntoItems

public Shared.Inventory.DeltaModels.InventoryResult MoveCoinTypeIntoItems(System.Collections.Generic.List<Shared.Inventory.DeltaModels.DeltaAction> actions, Shared.Models.Items.SharedInventoryModel sourceInventory, System.Int32 coinType, System.Int32 amount, Shared.Models.Items.SharedInventoryModel targetInventory, out System.UInt64& movedMoneyAmount)

Method metadata
  • Visibilitypublic
  • Return typeShared.Inventory.DeltaModels.InventoryResult
  • StaticTrue
  • VirtualFalse
  • Hash9A69B67AF97F3645D7E00F77E5604C4CD00B86305AA303AB4FE16477E17481E9
  • Body hashA1233B3CD3CD82C314D4CA5994972FF6855F3EE51AA67D45321B8E26AA30325E
  • IL size229
Referenced calls
Called by

MoveMoneyIntoItem

public Shared.Inventory.DeltaModels.DeltaResult MoveMoneyIntoItem(Shared.Models.Items.SharedInventoryModel sourceInventory, System.Int32 coinType, System.Int32 coinAmount, Shared.Models.Items.SharedInventoryModel targetInventory, System.Int32 targetSlotIndex, System.Boolean allowPartialStack)

Method metadata
  • Visibilitypublic
  • Return typeShared.Inventory.DeltaModels.DeltaResult
  • StaticTrue
  • VirtualFalse
  • Hash8CC2D5BA34A46125E2C165E2292C5520E212E8B5F5170901A503D7B2491065BD
  • Body hash85A86854C3870A5FB4B38D2FE55F91D445A966FB755E135F93D97A7EC36206F0
  • IL size218
Referenced calls
Called by

MoveMoneyItemsIntoMoney_Coin

public Shared.Inventory.DeltaModels.InventoryResult MoveMoneyItemsIntoMoney_Coin(System.Collections.Generic.List<Shared.Inventory.DeltaModels.DeltaAction> actions, Shared.Models.Items.SharedInventoryModel sourceInventory, Shared.Inventory.Models.SearchStrategy sourceSearchStrategy, System.Int32 coinType, System.UInt64 moneyAmount, Shared.Models.Items.SharedInventoryModel targetInventory, out System.UInt64& movedMoneyAmount, out System.UInt64& changeToPutBack)

Method metadata
  • Visibilitypublic
  • Return typeShared.Inventory.DeltaModels.InventoryResult
  • StaticTrue
  • VirtualFalse
  • HashDB635CF2E5B8F1A3E5CDD67742DD477AE7119A5438667C35578699082281F4FD
  • Body hashDABE03B690983390626BAC5D1021BED429062446B2FEE77760648F7883909707
  • IL size188
Referenced calls
Called by

SwapSlots

public Shared.Inventory.DeltaModels.DeltaResult SwapSlots(Shared.Models.Items.SharedInventoryModel sourceInventory, System.Int32 sourceSlotIndex, Shared.Models.Items.SharedInventoryModel targetInventory, System.Int32 targetSlotIndex)

Method metadata
  • Visibilitypublic
  • Return typeShared.Inventory.DeltaModels.DeltaResult
  • StaticTrue
  • VirtualFalse
  • Hash4BF6D2D13AB03EB232FA1550011E6CCC806C31613F0BF4F3394D022883626ED4
  • Body hashB35F50037703955D95F96E166E59368BC9C5E8D0FC430FCF29C0E311824CF39E
  • IL size264
Referenced calls
Called by
String literals
  • Tried to swap same item on itself
  • Don't do unnecessary swaps