public class in Shared.Inventory
Type metadata
- Assembly
Shared - Namespace
Shared.Inventory - Base type
System.Object - Hash
45B28D01F53BB4F7D0F9827F55A8096B70097B9E2F074AEA32F429AE5DFBAB04
Relationships
Base type
System.Object
Methods
Equipment_SimultaneousSwap
#
public Shared.Inventory.DeltaModels.DeltaComplexResult Equipment_SimultaneousSwap(Shared.Models.Items.SharedInventoryModel sourceInventory, Shared.Models.Items.SharedInventoryModel targetInventory, System.Int32[] sourceIndices, System.Int32[] targetIndices)
Method metadata
- Visibilitypublic
- Return type
Shared.Inventory.DeltaModels.DeltaComplexResult - StaticTrue
- VirtualFalse
- Hash
9B1A5F8E913E04A473F37AAD7EE541E44F58915D36817162D408075513F4EDDE - Body hash
2C7656D41669D7805C0640AC3CC10513EBDAE9FB8A834CE9097345D6967939A6 - IL size160
Referenced calls
Shared.Inventory.Models.DeltaTransaction::.ctor(Shared.Models.Items.SharedInventoryModel[])System.Collections.Generic.HashSet<System.Int32>::.ctor(System.Int32)Shared.Inventory.Models.DeltaTransaction::Swap(System.Int32, System.Int32, System.Int32, System.Int32)System.Collections.Generic.HashSet<System.Int32>::Add(!0)System.Collections.Generic.HashSet<System.Int32>::get_Count()Shared.Inventory.Models.DeltaTransaction::Build()
public Shared.Inventory.DeltaModels.DeltaComplexResult FulfillAmountsFromInventoriesToInventory(System.Collections.Generic.IReadOnlyCollection<Shared.Models.Items.ItemAmount> itemAmounts, Shared.Models.Items.SharedInventoryModel[] allInventories, System.Int32 targetInventoryIndex, System.Nullable<System.UInt64> moveMoney, System.Boolean deductAmountsFromTarget, System.Boolean allowPartialStack)
Method metadata
- Visibilitypublic
- Return type
Shared.Inventory.DeltaModels.DeltaComplexResult - StaticTrue
- VirtualFalse
- Hash
DF2602D83294F1547571E9EA78D8A800F1902B0CB226464712B5E8E89DD55D5E - Body hash
4A697C01165EEC2974E79DB137E9B1D221D8B794DC3F68F0B25D0B80DAC722F5 - IL size432
Referenced calls
System.NotImplementedException::.ctor(System.String)Shared.Inventory.Models.DeltaTransaction::.ctor(Shared.Models.Items.SharedInventoryModel[])System.Collections.Generic.IEnumerable<Shared.Models.Items.ItemAmount>::GetEnumerator()System.Collections.Generic.IEnumerator<Shared.Models.Items.ItemAmount>::get_Current()Shared.Models.Items.SharedInventoryModel::GetItemCount(System.String)Shared.Inventory.Models.DeltaTransaction::Move_ReturnRest(System.Int32, System.Int32, System.String, Shared.Inventory.Models.SearchStrategy, System.Int32)Shared.Inventory.Models.DeltaTransaction::Build()System.Collections.IEnumerator::MoveNext()System.IDisposable::Dispose()System.Nullable<System.UInt64>::get_HasValue()System.Nullable<System.UInt64>::GetValueOrDefault()System.Nullable<System.UInt64>::get_Value()Shared.Models.Items.SharedInventoryModel::GetMoneyCount()Shared.Inventory.Models.DeltaTransaction::MoveMoney_ReturnRest(System.Int32, System.UInt64, Shared.Inventory.Models.SearchStrategy, System.Int32)
Called by
String literals
I am lazy, please use target inventory index as the first index of the inventory array /Sam
LootAll
#
public Shared.Inventory.DeltaModels.DeltaComplexResult LootAll(Shared.Models.Items.SharedInventoryModel sourceInventory, Shared.Models.Items.SharedInventoryModel targetInventory, System.Boolean allowPartialStack, Shared.Inventory.Models.LootAllStrategy strategy, Shared.Models.Items.SharedInventoryModel priorityInventory, System.Boolean allowPartialStackInPriority)
Method metadata
- Visibilitypublic
- Return type
Shared.Inventory.DeltaModels.DeltaComplexResult - StaticTrue
- VirtualFalse
- Hash
2446DB722FF0E611E97404A024B7D281A68FBDE7DE600A6D33A562DAA4CE365E - Body hash
FC0B865CBBB0832F546A598B7FC5EE813F75150DBC689FEBDF2318B7A690B96D - IL size338
Referenced calls
Shared.Inventory.Models.DeltaTransaction::.ctor(Shared.Models.Items.SharedInventoryModel[])<PrivateImplementationDetails>::InlineArrayElementRef(TBuffer&, System.Int32)<PrivateImplementationDetails>::InlineArrayAsReadOnlySpan(TBuffer&, System.Int32)System.Runtime.CompilerServices.RuntimeHelpers::CreateSpan(System.RuntimeFieldHandle)Shared.Inventory.Models.DeltaTransaction::LootItem(System.Int32, System.Int32, System.ReadOnlySpan<System.Boolean>, System.ReadOnlySpan<System.Int32>)Shared.Models.Items.ItemInstanceModel::get_Data()Shared.Inventory.Models.DeltaTransaction::LootItem(System.Int32, System.Int32, System.Boolean, System.Int32)System.ArgumentOutOfRangeException::.ctor(System.String, System.Object, System.String)Shared.Inventory.Models.DeltaTransaction::Build()
String literals
strategy
LootAllFromMany
#
public Shared.Inventory.DeltaModels.DeltaComplexResult LootAllFromMany(Shared.Models.Items.SharedInventoryModel[] allInventories, System.Int32 targetInventoryIndex, System.Boolean allowPartialStack)
Method metadata
- Visibilitypublic
- Return type
Shared.Inventory.DeltaModels.DeltaComplexResult - StaticTrue
- VirtualFalse
- Hash
5DB0C52FB9CEBC777874626C1CA2FFD3B9362CA6AB2D8164F51048D3B895E429 - Body hash
45930BA32BE9C84F58D647AB473F3EF83DEA6678C6D533159EFCF55B448CC335 - IL size96
Referenced calls
System.NotImplementedException::.ctor(System.String)System.Linq.Enumerable::ToArray(System.Collections.Generic.IEnumerable<!!0>)Shared.Inventory.Models.DeltaTransaction::.ctor(Shared.Models.Items.SharedInventoryModel[])Shared.Inventory.Models.DeltaTransaction::LootItem(System.Int32, System.Int32, System.Boolean, System.Int32)Shared.Inventory.Models.DeltaTransaction::Build()
String literals
I am lazy, please use target inventory index as the last index of the inventory array /Sam
LootAllIntoMany
#
public Shared.Inventory.DeltaModels.DeltaComplexResult LootAllIntoMany(Shared.Models.Items.SharedInventoryModel[] allInventories, System.Int32 sourceInventoryIndex, System.Boolean allowPartialStack)
Method metadata
- Visibilitypublic
- Return type
Shared.Inventory.DeltaModels.DeltaComplexResult - StaticTrue
- VirtualFalse
- Hash
F513FC0526181AEC385D91BE5E9BB837B180159C89CB3F1CF4482C05430C1EA4 - Body hash
E1EF0ABE0C1678D97C3F00422F8C0E90735CA2D571BFBA94C44AD95C93F49D56 - IL size162
Referenced calls
System.NotImplementedException::.ctor(System.String)Shared.Inventory.Models.DeltaTransaction::.ctor(Shared.Models.Items.SharedInventoryModel[])System.ReadOnlySpan<System.Boolean>::op_Implicit(!0[])System.ReadOnlySpan<System.Int32>::op_Implicit(!0[])Shared.Inventory.Models.DeltaTransaction::LootItem(System.Int32, System.Int32, System.ReadOnlySpan<System.Boolean>, System.ReadOnlySpan<System.Int32>)Shared.Inventory.Models.DeltaTransaction::Build()
Called by
String literals
I am lazy, please use source inventory index 0 /Sam
LootItem
#
public Shared.Inventory.DeltaModels.DeltaComplexResult LootItem(Shared.Models.Items.SharedInventoryModel sourceInventory, System.Int32 sourceSlotIndex, Shared.Models.Items.SharedInventoryModel targetInventory, System.Boolean allowPartialStack, Shared.Models.Items.SharedInventoryModel priorityInventory, System.Boolean allowPartialStackInPriority)
Method metadata
- Visibilitypublic
- Return type
Shared.Inventory.DeltaModels.DeltaComplexResult - StaticTrue
- VirtualFalse
- Hash
D2579BE39F0ECBC796803A8D9821E9872E9D5C95F68F09A7943AA4128A2BD245 - Body hash
32981B7346B459C3A8AE532B2400F32E84CC8D4BF03894466F1C5E0A3AA683E2 - IL size125
Referenced calls
Shared.Inventory.Models.DeltaTransaction::.ctor(Shared.Models.Items.SharedInventoryModel[])<PrivateImplementationDetails>::InlineArrayElementRef(TBuffer&, System.Int32)<PrivateImplementationDetails>::InlineArrayAsReadOnlySpan(TBuffer&, System.Int32)System.Runtime.CompilerServices.RuntimeHelpers::CreateSpan(System.RuntimeFieldHandle)Shared.Inventory.Models.DeltaTransaction::LootItem(System.Int32, System.Int32, System.ReadOnlySpan<System.Boolean>, System.ReadOnlySpan<System.Int32>)Shared.Inventory.Models.DeltaTransaction::LootItem(System.Int32, System.Int32, System.Boolean, System.Int32)Shared.Inventory.Models.DeltaTransaction::Build()
MoveItemAmountsFromInventoryToInventory
#
public Shared.Inventory.DeltaModels.DeltaComplexResult MoveItemAmountsFromInventoryToInventory(System.Collections.Generic.IReadOnlyCollection<Shared.Models.Items.ItemAmount> itemAmounts, Shared.Models.Items.SharedInventoryModel sourceInventory, Shared.Models.Items.SharedInventoryModel targetInventory, System.Nullable<System.UInt64> moveMoney, System.Boolean allowPartialStack)
Method metadata
- Visibilitypublic
- Return type
Shared.Inventory.DeltaModels.DeltaComplexResult - StaticTrue
- VirtualFalse
- Hash
12B09960001D3B12AF478E71214A9EAE8AE5B07435240AF81D8290498DCE6967 - Body hash
EA1624F9F5430FDD920BDC752B7D2C4E9B555B7E918F6876E489D7E641EAC093 - IL size161
Referenced calls
Shared.Inventory.Models.DeltaTransaction::.ctor(Shared.Models.Items.SharedInventoryModel[])System.Collections.Generic.IEnumerable<Shared.Models.Items.ItemAmount>::GetEnumerator()System.Collections.Generic.IEnumerator<Shared.Models.Items.ItemAmount>::get_Current()Shared.Inventory.Models.DeltaTransaction::Move(System.Int32, System.Int32, System.String, Shared.Inventory.Models.SearchStrategy, System.Boolean, System.Int32)Shared.Inventory.Models.DeltaTransaction::Build()System.Collections.IEnumerator::MoveNext()System.IDisposable::Dispose()System.Nullable<System.UInt64>::get_HasValue()System.Nullable<System.UInt64>::get_Value()Shared.Inventory.Models.DeltaTransaction::MoveMoney(System.Int32, System.UInt64, Shared.Inventory.Models.SearchStrategy, System.Boolean, System.Int32)
Player_LootItemEquipment
#
public Shared.Inventory.DeltaModels.DeltaComplexResult Player_LootItemEquipment(Shared.Models.Items.SharedInventoryModel sourceInventory, System.Int32 sourceSlotIndex, Shared.Models.Items.SharedInventoryModel targetInventory, System.Int32 targetSlotIndex, System.Nullable<System.Int32> extraEquipmentSlot)
Method metadata
- Visibilitypublic
- Return type
Shared.Inventory.DeltaModels.DeltaComplexResult - StaticTrue
- VirtualFalse
- Hash
1020C28BB67195D60E3C5487B7F31759E8B8D267425E4A862AE2D82E58AC802E - Body hash
DCCFE65373505EAC7B79A0F1B22FBE252B582C418B7783DDA0B20A78D663BE6A - IL size89
Referenced calls
Shared.Inventory.Models.DeltaTransaction::.ctor(Shared.Models.Items.SharedInventoryModel[])Shared.Inventory.Models.DeltaTransaction::Build()System.Nullable<System.Int32>::get_HasValue()System.Nullable<System.Int32>::get_Value()Shared.Inventory.Models.DeltaTransaction::LootItem(System.Int32, System.Int32, System.Boolean, System.Int32)Shared.Inventory.Models.DeltaTransaction::Swap(System.Int32, System.Int32, System.Int32, System.Int32)