{"Id":"Shared.Inventory.ComplexInventoryDeltaEngine","Name":"ComplexInventoryDeltaEngine","DisplayName":"ComplexInventoryDeltaEngine","FullName":"Shared.Inventory.ComplexInventoryDeltaEngine","Namespace":"Shared.Inventory","Kind":"class","Visibility":"public","IsAbstract":true,"IsSealed":true,"BaseType":"System.Object","Interfaces":[],"SourceLocations":[],"Fields":[],"Properties":[],"Events":[],"Methods":[{"Id":"Equipment_SimultaneousSwap(Shared.Models.Items.SharedInventoryModel, Shared.Models.Items.SharedInventoryModel, System.Int32[], System.Int32[])-\u003EShared.Inventory.DeltaModels.DeltaComplexResult","Name":"Equipment_SimultaneousSwap","Signature":"public Shared.Inventory.DeltaModels.DeltaComplexResult Equipment_SimultaneousSwap(Shared.Models.Items.SharedInventoryModel sourceInventory, Shared.Models.Items.SharedInventoryModel targetInventory, System.Int32[] sourceIndices, System.Int32[] targetIndices)","Visibility":"public","ReturnType":"Shared.Inventory.DeltaModels.DeltaComplexResult","Parameters":[{"Name":"sourceInventory","Type":"Shared.Models.Items.SharedInventoryModel","IsOut":false,"IsOptional":false},{"Name":"targetInventory","Type":"Shared.Models.Items.SharedInventoryModel","IsOut":false,"IsOptional":false},{"Name":"sourceIndices","Type":"System.Int32[]","IsOut":false,"IsOptional":false},{"Name":"targetIndices","Type":"System.Int32[]","IsOut":false,"IsOptional":false}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":160,"BodyHash":"2C7656D41669D7805C0640AC3CC10513EBDAE9FB8A834CE9097345D6967939A6","Hash":"9B1A5F8E913E04A473F37AAD7EE541E44F58915D36817162D408075513F4EDDE","CalledMethods":["Shared.Inventory.Models.DeltaTransaction::.ctor(Shared.Models.Items.SharedInventoryModel[])","System.Collections.Generic.HashSet\u003CSystem.Int32\u003E::.ctor(System.Int32)","Shared.Inventory.Models.DeltaTransaction::Swap(System.Int32, System.Int32, System.Int32, System.Int32)","System.Collections.Generic.HashSet\u003CSystem.Int32\u003E::Add(!0)","System.Collections.Generic.HashSet\u003CSystem.Int32\u003E::get_Count()","Shared.Inventory.Models.DeltaTransaction::Build()"],"StringLiterals":[],"Source":null},{"Id":"FulfillAmountsFromInventoriesToInventory(System.Collections.Generic.IReadOnlyCollection\u00601\u003CShared.Models.Items.ItemAmount\u003E, Shared.Models.Items.SharedInventoryModel[], System.Int32, System.Nullable\u00601\u003CSystem.UInt64\u003E, System.Boolean, System.Boolean)-\u003EShared.Inventory.DeltaModels.DeltaComplexResult","Name":"FulfillAmountsFromInventoriesToInventory","Signature":"public Shared.Inventory.DeltaModels.DeltaComplexResult FulfillAmountsFromInventoriesToInventory(System.Collections.Generic.IReadOnlyCollection\u003CShared.Models.Items.ItemAmount\u003E itemAmounts, Shared.Models.Items.SharedInventoryModel[] allInventories, System.Int32 targetInventoryIndex, System.Nullable\u003CSystem.UInt64\u003E moveMoney, System.Boolean deductAmountsFromTarget, System.Boolean allowPartialStack)","Visibility":"public","ReturnType":"Shared.Inventory.DeltaModels.DeltaComplexResult","Parameters":[{"Name":"itemAmounts","Type":"System.Collections.Generic.IReadOnlyCollection\u003CShared.Models.Items.ItemAmount\u003E","IsOut":false,"IsOptional":false},{"Name":"allInventories","Type":"Shared.Models.Items.SharedInventoryModel[]","IsOut":false,"IsOptional":false},{"Name":"targetInventoryIndex","Type":"System.Int32","IsOut":false,"IsOptional":false},{"Name":"moveMoney","Type":"System.Nullable\u003CSystem.UInt64\u003E","IsOut":false,"IsOptional":false},{"Name":"deductAmountsFromTarget","Type":"System.Boolean","IsOut":false,"IsOptional":false},{"Name":"allowPartialStack","Type":"System.Boolean","IsOut":false,"IsOptional":false}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":432,"BodyHash":"4A697C01165EEC2974E79DB137E9B1D221D8B794DC3F68F0B25D0B80DAC722F5","Hash":"DF2602D83294F1547571E9EA78D8A800F1902B0CB226464712B5E8E89DD55D5E","CalledMethods":["System.NotImplementedException::.ctor(System.String)","Shared.Inventory.Models.DeltaTransaction::.ctor(Shared.Models.Items.SharedInventoryModel[])","System.Collections.Generic.IEnumerable\u003CShared.Models.Items.ItemAmount\u003E::GetEnumerator()","System.Collections.Generic.IEnumerator\u003CShared.Models.Items.ItemAmount\u003E::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\u003CSystem.UInt64\u003E::get_HasValue()","System.Nullable\u003CSystem.UInt64\u003E::GetValueOrDefault()","System.Nullable\u003CSystem.UInt64\u003E::get_Value()","Shared.Models.Items.SharedInventoryModel::GetMoneyCount()","Shared.Inventory.Models.DeltaTransaction::MoveMoney_ReturnRest(System.Int32, System.UInt64, Shared.Inventory.Models.SearchStrategy, System.Int32)"],"StringLiterals":["I am lazy, please use target inventory index as the first index of the inventory array /Sam"],"Source":null},{"Id":"LootAll(Shared.Models.Items.SharedInventoryModel, Shared.Models.Items.SharedInventoryModel, System.Boolean, Shared.Inventory.Models.LootAllStrategy, Shared.Models.Items.SharedInventoryModel, System.Boolean)-\u003EShared.Inventory.DeltaModels.DeltaComplexResult","Name":"LootAll","Signature":"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)","Visibility":"public","ReturnType":"Shared.Inventory.DeltaModels.DeltaComplexResult","Parameters":[{"Name":"sourceInventory","Type":"Shared.Models.Items.SharedInventoryModel","IsOut":false,"IsOptional":false},{"Name":"targetInventory","Type":"Shared.Models.Items.SharedInventoryModel","IsOut":false,"IsOptional":false},{"Name":"allowPartialStack","Type":"System.Boolean","IsOut":false,"IsOptional":false},{"Name":"strategy","Type":"Shared.Inventory.Models.LootAllStrategy","IsOut":false,"IsOptional":false},{"Name":"priorityInventory","Type":"Shared.Models.Items.SharedInventoryModel","IsOut":false,"IsOptional":true},{"Name":"allowPartialStackInPriority","Type":"System.Boolean","IsOut":false,"IsOptional":true}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":338,"BodyHash":"FC0B865CBBB0832F546A598B7FC5EE813F75150DBC689FEBDF2318B7A690B96D","Hash":"2446DB722FF0E611E97404A024B7D281A68FBDE7DE600A6D33A562DAA4CE365E","CalledMethods":["Shared.Inventory.Models.DeltaTransaction::.ctor(Shared.Models.Items.SharedInventoryModel[])","\u003CPrivateImplementationDetails\u003E::InlineArrayElementRef(TBuffer\u0026, System.Int32)","\u003CPrivateImplementationDetails\u003E::InlineArrayAsReadOnlySpan(TBuffer\u0026, System.Int32)","System.Runtime.CompilerServices.RuntimeHelpers::CreateSpan(System.RuntimeFieldHandle)","Shared.Inventory.Models.DeltaTransaction::LootItem(System.Int32, System.Int32, System.ReadOnlySpan\u003CSystem.Boolean\u003E, System.ReadOnlySpan\u003CSystem.Int32\u003E)","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()"],"StringLiterals":["strategy"],"Source":null},{"Id":"LootAllFromMany(Shared.Models.Items.SharedInventoryModel[], System.Int32, System.Boolean)-\u003EShared.Inventory.DeltaModels.DeltaComplexResult","Name":"LootAllFromMany","Signature":"public Shared.Inventory.DeltaModels.DeltaComplexResult LootAllFromMany(Shared.Models.Items.SharedInventoryModel[] allInventories, System.Int32 targetInventoryIndex, System.Boolean allowPartialStack)","Visibility":"public","ReturnType":"Shared.Inventory.DeltaModels.DeltaComplexResult","Parameters":[{"Name":"allInventories","Type":"Shared.Models.Items.SharedInventoryModel[]","IsOut":false,"IsOptional":false},{"Name":"targetInventoryIndex","Type":"System.Int32","IsOut":false,"IsOptional":false},{"Name":"allowPartialStack","Type":"System.Boolean","IsOut":false,"IsOptional":false}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":96,"BodyHash":"45930BA32BE9C84F58D647AB473F3EF83DEA6678C6D533159EFCF55B448CC335","Hash":"5DB0C52FB9CEBC777874626C1CA2FFD3B9362CA6AB2D8164F51048D3B895E429","CalledMethods":["System.NotImplementedException::.ctor(System.String)","System.Linq.Enumerable::ToArray(System.Collections.Generic.IEnumerable\u003C!!0\u003E)","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()"],"StringLiterals":["I am lazy, please use target inventory index as the last index of the inventory array /Sam"],"Source":null},{"Id":"LootAllIntoMany(Shared.Models.Items.SharedInventoryModel[], System.Int32, System.Boolean)-\u003EShared.Inventory.DeltaModels.DeltaComplexResult","Name":"LootAllIntoMany","Signature":"public Shared.Inventory.DeltaModels.DeltaComplexResult LootAllIntoMany(Shared.Models.Items.SharedInventoryModel[] allInventories, System.Int32 sourceInventoryIndex, System.Boolean allowPartialStack)","Visibility":"public","ReturnType":"Shared.Inventory.DeltaModels.DeltaComplexResult","Parameters":[{"Name":"allInventories","Type":"Shared.Models.Items.SharedInventoryModel[]","IsOut":false,"IsOptional":false},{"Name":"sourceInventoryIndex","Type":"System.Int32","IsOut":false,"IsOptional":false},{"Name":"allowPartialStack","Type":"System.Boolean","IsOut":false,"IsOptional":false}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":162,"BodyHash":"E1EF0ABE0C1678D97C3F00422F8C0E90735CA2D571BFBA94C44AD95C93F49D56","Hash":"F513FC0526181AEC385D91BE5E9BB837B180159C89CB3F1CF4482C05430C1EA4","CalledMethods":["System.NotImplementedException::.ctor(System.String)","Shared.Inventory.Models.DeltaTransaction::.ctor(Shared.Models.Items.SharedInventoryModel[])","System.ReadOnlySpan\u003CSystem.Boolean\u003E::op_Implicit(!0[])","System.ReadOnlySpan\u003CSystem.Int32\u003E::op_Implicit(!0[])","Shared.Inventory.Models.DeltaTransaction::LootItem(System.Int32, System.Int32, System.ReadOnlySpan\u003CSystem.Boolean\u003E, System.ReadOnlySpan\u003CSystem.Int32\u003E)","Shared.Inventory.Models.DeltaTransaction::Build()"],"StringLiterals":["I am lazy, please use source inventory index 0 /Sam"],"Source":null},{"Id":"LootItem(Shared.Models.Items.SharedInventoryModel, System.Int32, Shared.Models.Items.SharedInventoryModel, System.Boolean, Shared.Models.Items.SharedInventoryModel, System.Boolean)-\u003EShared.Inventory.DeltaModels.DeltaComplexResult","Name":"LootItem","Signature":"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)","Visibility":"public","ReturnType":"Shared.Inventory.DeltaModels.DeltaComplexResult","Parameters":[{"Name":"sourceInventory","Type":"Shared.Models.Items.SharedInventoryModel","IsOut":false,"IsOptional":false},{"Name":"sourceSlotIndex","Type":"System.Int32","IsOut":false,"IsOptional":false},{"Name":"targetInventory","Type":"Shared.Models.Items.SharedInventoryModel","IsOut":false,"IsOptional":false},{"Name":"allowPartialStack","Type":"System.Boolean","IsOut":false,"IsOptional":false},{"Name":"priorityInventory","Type":"Shared.Models.Items.SharedInventoryModel","IsOut":false,"IsOptional":true},{"Name":"allowPartialStackInPriority","Type":"System.Boolean","IsOut":false,"IsOptional":true}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":125,"BodyHash":"32981B7346B459C3A8AE532B2400F32E84CC8D4BF03894466F1C5E0A3AA683E2","Hash":"D2579BE39F0ECBC796803A8D9821E9872E9D5C95F68F09A7943AA4128A2BD245","CalledMethods":["Shared.Inventory.Models.DeltaTransaction::.ctor(Shared.Models.Items.SharedInventoryModel[])","\u003CPrivateImplementationDetails\u003E::InlineArrayElementRef(TBuffer\u0026, System.Int32)","\u003CPrivateImplementationDetails\u003E::InlineArrayAsReadOnlySpan(TBuffer\u0026, System.Int32)","System.Runtime.CompilerServices.RuntimeHelpers::CreateSpan(System.RuntimeFieldHandle)","Shared.Inventory.Models.DeltaTransaction::LootItem(System.Int32, System.Int32, System.ReadOnlySpan\u003CSystem.Boolean\u003E, System.ReadOnlySpan\u003CSystem.Int32\u003E)","Shared.Inventory.Models.DeltaTransaction::LootItem(System.Int32, System.Int32, System.Boolean, System.Int32)","Shared.Inventory.Models.DeltaTransaction::Build()"],"StringLiterals":[],"Source":null},{"Id":"MoveItemAmountsFromInventoryToInventory(System.Collections.Generic.IReadOnlyCollection\u00601\u003CShared.Models.Items.ItemAmount\u003E, Shared.Models.Items.SharedInventoryModel, Shared.Models.Items.SharedInventoryModel, System.Nullable\u00601\u003CSystem.UInt64\u003E, System.Boolean)-\u003EShared.Inventory.DeltaModels.DeltaComplexResult","Name":"MoveItemAmountsFromInventoryToInventory","Signature":"public Shared.Inventory.DeltaModels.DeltaComplexResult MoveItemAmountsFromInventoryToInventory(System.Collections.Generic.IReadOnlyCollection\u003CShared.Models.Items.ItemAmount\u003E itemAmounts, Shared.Models.Items.SharedInventoryModel sourceInventory, Shared.Models.Items.SharedInventoryModel targetInventory, System.Nullable\u003CSystem.UInt64\u003E moveMoney, System.Boolean allowPartialStack)","Visibility":"public","ReturnType":"Shared.Inventory.DeltaModels.DeltaComplexResult","Parameters":[{"Name":"itemAmounts","Type":"System.Collections.Generic.IReadOnlyCollection\u003CShared.Models.Items.ItemAmount\u003E","IsOut":false,"IsOptional":false},{"Name":"sourceInventory","Type":"Shared.Models.Items.SharedInventoryModel","IsOut":false,"IsOptional":false},{"Name":"targetInventory","Type":"Shared.Models.Items.SharedInventoryModel","IsOut":false,"IsOptional":false},{"Name":"moveMoney","Type":"System.Nullable\u003CSystem.UInt64\u003E","IsOut":false,"IsOptional":false},{"Name":"allowPartialStack","Type":"System.Boolean","IsOut":false,"IsOptional":false}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":161,"BodyHash":"EA1624F9F5430FDD920BDC752B7D2C4E9B555B7E918F6876E489D7E641EAC093","Hash":"12B09960001D3B12AF478E71214A9EAE8AE5B07435240AF81D8290498DCE6967","CalledMethods":["Shared.Inventory.Models.DeltaTransaction::.ctor(Shared.Models.Items.SharedInventoryModel[])","System.Collections.Generic.IEnumerable\u003CShared.Models.Items.ItemAmount\u003E::GetEnumerator()","System.Collections.Generic.IEnumerator\u003CShared.Models.Items.ItemAmount\u003E::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\u003CSystem.UInt64\u003E::get_HasValue()","System.Nullable\u003CSystem.UInt64\u003E::get_Value()","Shared.Inventory.Models.DeltaTransaction::MoveMoney(System.Int32, System.UInt64, Shared.Inventory.Models.SearchStrategy, System.Boolean, System.Int32)"],"StringLiterals":[],"Source":null},{"Id":"Player_LootItemEquipment(Shared.Models.Items.SharedInventoryModel, System.Int32, Shared.Models.Items.SharedInventoryModel, System.Int32, System.Nullable\u00601\u003CSystem.Int32\u003E)-\u003EShared.Inventory.DeltaModels.DeltaComplexResult","Name":"Player_LootItemEquipment","Signature":"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\u003CSystem.Int32\u003E extraEquipmentSlot)","Visibility":"public","ReturnType":"Shared.Inventory.DeltaModels.DeltaComplexResult","Parameters":[{"Name":"sourceInventory","Type":"Shared.Models.Items.SharedInventoryModel","IsOut":false,"IsOptional":false},{"Name":"sourceSlotIndex","Type":"System.Int32","IsOut":false,"IsOptional":false},{"Name":"targetInventory","Type":"Shared.Models.Items.SharedInventoryModel","IsOut":false,"IsOptional":false},{"Name":"targetSlotIndex","Type":"System.Int32","IsOut":false,"IsOptional":false},{"Name":"extraEquipmentSlot","Type":"System.Nullable\u003CSystem.Int32\u003E","IsOut":false,"IsOptional":false}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":89,"BodyHash":"DCCFE65373505EAC7B79A0F1B22FBE252B582C418B7783DDA0B20A78D663BE6A","Hash":"1020C28BB67195D60E3C5487B7F31759E8B8D267425E4A862AE2D82E58AC802E","CalledMethods":["Shared.Inventory.Models.DeltaTransaction::.ctor(Shared.Models.Items.SharedInventoryModel[])","Shared.Inventory.Models.DeltaTransaction::Build()","System.Nullable\u003CSystem.Int32\u003E::get_HasValue()","System.Nullable\u003CSystem.Int32\u003E::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)"],"StringLiterals":[],"Source":null}],"Hash":"45B28D01F53BB4F7D0F9827F55A8096B70097B9E2F074AEA32F429AE5DFBAB04"}