Romestead Assembly Reference

Shared.Inventory.Models.DeltaTransaction

Type JSON

public class in Shared.Inventory.Models

Methods13
Properties0
Fields6
Events0
Type metadata
  • AssemblyShared
  • NamespaceShared.Inventory.Models
  • Base typeSystem.Object
  • Hash089189C663FF8BE88059B60F6277E50CDC965297AB173A5D48D48427A1676550

Relationships

Base type

System.Object

Fields

NameVisibilitySignature
Actionspublicpublic System.Collections.Generic.List<Shared.Inventory.DeltaModels.DeltaAction> Actions
Inventoriespublicpublic Shared.Models.Items.SharedInventoryModel[] Inventories
Lengthpublicpublic System.Int32 Length
_actionsHasFailedprivateprivate System.Boolean _actionsHasFailed
_nextActionIndexprivateprivate System.Int32 _nextActionIndex
_resultprivateprivate Shared.Inventory.DeltaModels.InventoryResult _result

Methods

ApplyActions

private System.Void ApplyActions()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash9B482AD527E7970F88C25C222A1F35D3CE8A2781D875C7B0D8F50ABB25D84D70
  • Body hashCCA0298CF2EA8F79963CF7FF91E2D38C7F107D97BF7BA3B732FA66B52AD94DF4
  • IL size78
Referenced calls
Called by

Build

public Shared.Inventory.DeltaModels.DeltaComplexResult Build()

Method metadata
  • Visibilitypublic
  • Return typeShared.Inventory.DeltaModels.DeltaComplexResult
  • StaticFalse
  • VirtualFalse
  • Hash2F6462B0BC217A327A1129FBC61E773959DB831473015F830D8CAA62AA2691F8
  • Body hashC2732B73E105399090770398ED0B3816C6A3D268A8F3781C8A11D900F8B9FEBC
  • IL size48
Called by

CloneInventory

private Shared.Models.Items.SharedInventoryModel CloneInventory(Shared.Models.Items.SharedInventoryModel inventory)

Method metadata
  • Visibilityprivate
  • Return typeShared.Models.Items.SharedInventoryModel
  • StaticTrue
  • VirtualFalse
  • HashEC3AF1AEF277E39C577ED9661F7BCA88380402A7FFFB687B131C8ABF8679A090
  • Body hash65FA719C08CFBF46511EA8B49001D5166F40A4A2DD5437C37CF18AF0754518DA
  • IL size215
Referenced calls

Example

private System.Void Example()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashD3A13E1BA87883A568CC9FEE15E646B28D469CC66772BE3BF531F17869F640CC
  • Body hash1A53985FD384DB7D60CA59841F4C972027F5D5CCFA0B495167ECE03A8F840AA2
  • IL size32
Referenced calls
  • System.Span<System.Int32>::.ctor(System.Void*, System.Int32)
  • System.Span<System.Int32>::get_Item(System.Int32)

LootItem

public System.Boolean LootItem(System.Int32 sourceInventoryIndex, System.Int32 slotIndex, System.ReadOnlySpan<System.Boolean> allowPartialStack, System.ReadOnlySpan<System.Int32> targetInventories)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • Hash87B0FEDAB0EF19A65ED55C0815BF68F26348979C0994F58A813E1CF44BE6E122
  • Body hash5FBF51DA60E808971C859606E4B0ECAADEA079D422EF4DEF3A15F7B87305AA38
  • IL size63
Referenced calls
Called by

LootItem

public System.Boolean LootItem(System.Int32 sourceInventoryIndex, System.Int32 sourceSlotIndex, System.Boolean allowPartialStack, System.Int32 targetInventoryIndex)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • Hash5B547CCE09889FEF01463CDF8D29B772911037AF2D339AB3FBB9E4D762F9A0B9
  • Body hashD4791B45AC5237FDD7EF7E005E893494C1A85B98F3D7EA76C69168E7054A3DEB
  • IL size269
Referenced calls
Called by
String literals
  • LootItem: Amount to move was less than 0. Something has gone wrong.

Move

public System.Boolean Move(System.Int32 sourceInventoryIndex, System.Int32 amount, System.String itemDataId, Shared.Inventory.Models.SearchStrategy sourceSearchStrategy, System.Boolean allowPartialStack, System.Int32 targetInventoryIndex)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • HashF43B45B91EB0B2F60980E4A1B55CF17EAD123A973840F8323588852667357810
  • Body hash7B4001F0E92BEE6F4A4D58FCC9065C9292C9F7A6B184CE7976B136DCECEEB488
  • IL size37
Referenced calls
Called by

Move

public System.Boolean Move(System.Int32 sourceInventoryIndex, System.Int32 amount, System.String itemDataId, Shared.Inventory.Models.SearchStrategy sourceSearchStrategy, System.ReadOnlySpan<System.Boolean> allowPartialStack, System.ReadOnlySpan<System.Int32> targetInventories)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • Hash74FAD4416FEA8359724CA992BC74AAD5CF1CE1D8665C60C1E58F1799B4878F22
  • Body hashE40D27AC7500A3DB482FCCD56170C688B13759DCF98B3E57662F65C67E99F087
  • IL size66
Referenced calls

MoveMoney

public System.Boolean MoveMoney(System.Int32 sourceInventoryIndex, System.UInt64 moneyAmount, Shared.Inventory.Models.SearchStrategy sourceSearchStrategy, System.Boolean allowPartialStack, System.Int32 targetInventoryIndex)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • HashF8BD8DD6BD705A2D86304730F245AB266016E137035F68EA5DF63620B23934C3
  • Body hash058D8A311F174900032A9522565022B2E30E408B1A8D500B063F829FD8B3DCF7
  • IL size36
Referenced calls
Called by

MoveMoney_ReturnRest

public System.ValueTuple<System.UInt64, System.Boolean> MoveMoney_ReturnRest(System.Int32 sourceInventoryIndex, System.UInt64 moneyAmount, Shared.Inventory.Models.SearchStrategy sourceSearchStrategy, System.Int32 targetInventoryIndex)

Method metadata
  • Visibilitypublic
  • Return typeSystem.ValueTuple<System.UInt64, System.Boolean>
  • StaticFalse
  • VirtualFalse
  • Hash4384FEFE4071A16A788847FAC4D1620C41E5205D7BD4066D6B7456D7D1025258
  • Body hashC808BA7CDB9F4F7ED3F32883E67D36C08BEFF76C73367A141466715EFFED5E2B
  • IL size637
Referenced calls
Called by

Move_ReturnRest

public System.ValueTuple<System.Int32, System.Boolean> Move_ReturnRest(System.Int32 sourceInventoryIndex, System.Int32 amount, System.String itemDataId, Shared.Inventory.Models.SearchStrategy sourceSearchStrategy, System.Int32 targetInventoryIndex)

Method metadata
  • Visibilitypublic
  • Return typeSystem.ValueTuple<System.Int32, System.Boolean>
  • StaticFalse
  • VirtualFalse
  • Hash971AFF8460C904EF9A40F9F750E2F64DAEAD066DA9178157477B27F596101294
  • Body hash856AA9F0AAE021B280F3C7BC1A18FD2440195E28704CF48C8E43266EDE71AC93
  • IL size356
Referenced calls
Called by
String literals
  • Move: Amount was less than 0. Something has gone wrong.

Swap

public System.Boolean Swap(System.Int32 sourceInventoryIndex, System.Int32 sourceSlotIndex, System.Int32 targetInventoryIndex, System.Int32 targetSlotIndex)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • Hash91DC2F1290E9F4CDFC97FD305216A4F800CAB859E0E28275F900BE2B299B0A79
  • Body hash1941195081509A382354141BD902F93F9C7C6B89CCBFECCF7B693799F9C4CD84
  • IL size62
Referenced calls
Called by

VerifyNoActionsHaveBeenAdded

private System.Boolean VerifyNoActionsHaveBeenAdded()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • Hash71B16E61B06E9FFA5A1E840A9495E4675F80C295E32AE67CA5A0B6C5752ABF5B
  • Body hash2B413B6777EFD29B471F6EA5B315F3F08159A608383A6B60ACD407D8B7CAA8D2
  • IL size20
Referenced calls
  • System.Collections.Generic.List<Shared.Inventory.DeltaModels.DeltaAction>::get_Count()