Shared.Inventory.InventoryApplyEngine
Type JSONpublic class in Shared.Inventory
Type metadata
- Assembly
Shared - Namespace
Shared.Inventory - Base type
System.Object - Hash
57EDF3B3F5D9B5546405A89ADF700DABD5F1ED0AC9058F65629C0D3D20F13793
Relationships
Base type
System.Object
Methods
ERROR
#
private System.Boolean ERROR(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge bridge, System.String msg)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
9F2125E207E6583B5F60C7892D8648D6A424CD4EACB59AEA678841311A957362 - Body hash
23144F0F23B5AF12D6C8946B1F97036FA9AD51A077868BA637DB36EBD764DD9E - IL size9
Referenced calls
Called by
Shared.Inventory.InventoryApplyEngine::MoveMoneyShared.Inventory.InventoryApplyEngine::MoveStackAmountShared.Inventory.InventoryApplyEngine::SplitMoneyItemIntoNewMoneyItemShared.Inventory.InventoryApplyEngine::SwapItemPositionsShared.Inventory.InventoryApplyEngine::TurnMoneyIntoItemShared.Inventory.InventoryApplyEngine::TurnMoneyIntoItemStackAmountShared.Inventory.InventoryApplyEngine::TurnMoneyItemAmountIntoMoneyShared.Inventory.InventoryApplyEngine::TurnMoneyItemIntoMoney
LogMoneyChanged
#
private System.Void LogMoneyChanged(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge bridge, Shared.Models.Items.SharedInventoryModel inventory)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
91AAFE1B8C6CABB2F5B5352F067683B30C8A87EB0CD6E808C4E30235DEF3806E - Body hash
F1DBF79AC2E34D4A25818146DF8D7C8196A29B86434815AB3DAF79234D05DC56 - IL size8
Referenced calls
Called by
Shared.Inventory.InventoryApplyEngine::MoveMoneyShared.Inventory.InventoryApplyEngine::TurnMoneyIntoItemShared.Inventory.InventoryApplyEngine::TurnMoneyIntoItemStackAmountShared.Inventory.InventoryApplyEngine::TurnMoneyItemAmountIntoMoneyShared.Inventory.InventoryApplyEngine::TurnMoneyItemIntoMoney
LogSlotChanged
#
private System.Void LogSlotChanged(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge bridge, Shared.Models.Items.SharedInventoryModel inventory, System.Int32 slotIndex)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
1A28CDF3AEDFDAE3EDF9AD4C648C816608B2122831A1C2A758BE529BBC4237FD - Body hash
89D584239C1D23DB7E379A6B27C050BEB864114719B2CD9BFA72B3D97FA06949 - IL size9
Referenced calls
Called by
Shared.Inventory.InventoryApplyEngine::MoveStackAmountShared.Inventory.InventoryApplyEngine::SplitMoneyItemIntoNewMoneyItemShared.Inventory.InventoryApplyEngine::SwapItemPositionsShared.Inventory.InventoryApplyEngine::TurnMoneyIntoItemShared.Inventory.InventoryApplyEngine::TurnMoneyIntoItemStackAmountShared.Inventory.InventoryApplyEngine::TurnMoneyItemAmountIntoMoneyShared.Inventory.InventoryApplyEngine::TurnMoneyItemIntoMoney
MoveMoney
#
private System.Boolean MoveMoney(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge bridge, System.Guid sourceInventoryId, System.Guid targetInventoryId, System.UInt64 moneyAmount)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
3548485032FF07DB936D3F5C07FEBACC68E49C5B45E99E85A681B18D828D3F21 - Body hash
51044E973C0505E4B6383DF5B3E420D13774BC63BAAB745553EAAD40DC9F6783 - IL size291
Referenced calls
Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge::TryGetInventory(System.Guid, Shared.Models.Items.SharedInventoryModel&)Shared.Models.Items.SharedInventoryModel::HasMoneyField()Shared.Inventory.InventoryApplyEngine::ERROR(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, System.String)System.Nullable<System.UInt64>::get_Value()System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()System.Nullable<System.UInt64>::get_HasValue()System.Nullable<System.UInt64>::GetValueOrDefault()System.Nullable<System.UInt64>::.ctor(!0)Shared.Inventory.InventoryApplyEngine::LogMoneyChanged(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, Shared.Models.Items.SharedInventoryModel)
String literals
MoveMoney: SourceInventory doesn't have money valueMoveMoney: TargetInventory doesn't have money valueMoveMoney: SourceInventory doesn't have enough moneyvs
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 type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
3FE167F07FAC5B76B886E17D9C88D20BCE774F3473E7287CA98424DF276D36A1 - Body hash
EF659007058C62B2C0EE33B85EFF5FAA84E339350FDB31FE8DC5B0E9AC34ADD0 - IL size1037
Referenced calls
Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge::TryGetInventory(System.Guid, Shared.Models.Items.SharedInventoryModel&)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()Shared.Inventory.InventoryApplyEngine::ERROR(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, System.String)Shared.Inventory.InventoryApplyEngine::SanityCheckItem(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, Shared.Models.Items.ItemInstanceModel, Shared.Models.Items.SharedInventoryModel)Shared.Models.Items.SharedInventoryModel::AcceptsItem(Shared.Models.Items.ItemInstanceModel, System.Int32)System.String::Concat(System.String, System.String, System.String)Shared.Models.Items.ItemInstanceModel::CanStack(Shared.Models.Items.ItemInstanceModel, System.Int32&)System.Collections.Generic.List<Shared.Aura.AbstractAura<Shared.Models.Items.ItemData>>::get_Count()Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge::DeleteItemInstance(Shared.Models.Items.SharedInventoryModel, System.Int32)Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge::TryCreateNewItemInstance(System.String, System.Int32, Shared.Models.Items.ItemInstanceModel&)Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge::DeleteErrorItemInstance(Shared.Models.Items.ItemInstanceModel)System.Nullable<System.Guid>::.ctor(!0)Shared.Inventory.InventoryApplyEngine::LogSlotChanged(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, Shared.Models.Items.SharedInventoryModel, System.Int32)
String literals
MoveStackAmount: Source slot index out of range []: Target slot index out of range [: Invalid amountMoveStackAmount: Source item was nullMoveStackAmount: Source itemis not accepted by the target inventory.: Target itemcan't stack. Auras on targetItem, Auras on sourceItemcan't stack the amount we expect. Stackable, amount: Source item's stackis
SanityCheckItem
#
private System.Boolean SanityCheckItem(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge bridge, Shared.Models.Items.ItemInstanceModel item, Shared.Models.Items.SharedInventoryModel ownerInventory)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
8EF0AAD881152622DE12510A1327736A0064EA924F4DD38C9D28FA50DCDA0E3C - Body hash
49279C2DA4980DABEDC9F467892BA2242DBB99038BC5D51FCAEEFB1A2C60C855 - IL size372
Referenced calls
System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::GetValueOrDefault()System.Guid::op_Inequality(System.Guid, System.Guid)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()Shared.Inventory.InventoryApplyEngine::SANITY_ERROR(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, Shared.Models.Items.ItemInstanceModel, Shared.Models.Items.SharedInventoryModel, System.String)System.String::Concat(System.String, System.String, System.String)Shared.Models.Items.ItemInstanceModel::get_Data()
Called by
Shared.Inventory.InventoryApplyEngine::MoveStackAmountShared.Inventory.InventoryApplyEngine::SplitMoneyItemIntoNewMoneyItemShared.Inventory.InventoryApplyEngine::SwapItemPositionsShared.Inventory.InventoryApplyEngine::TurnMoneyIntoItemShared.Inventory.InventoryApplyEngine::TurnMoneyIntoItemStackAmountShared.Inventory.InventoryApplyEngine::TurnMoneyItemAmountIntoMoneyShared.Inventory.InventoryApplyEngine::TurnMoneyItemIntoMoney
String literals
Itemdoesn't have matching inventory ID with its owner inventory. Inventory on the item is set tohas a 0 stack count but is not deletedhas negative stack counthas 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 type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
38E30ECF84621E3A9765F162BF8AEE0ED5D1CC0E89013DB1E50AF138D00A3BCE - Body hash
6B2B9591E5AD1CCF701714C02D29657A1A54B87143AEE8479AFA2C1EA282CC4E - IL size11
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 type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
9ED763A71925F154D68E8D1B4507E8E9CC135865C4747293340597BF88D8EC2E - Body hash
A5BB1398B0F392DA63AAD44BD805360FA11DFB2B5A9AC1AC28B72ADDA2BC3F07 - IL size748
Referenced calls
Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge::TryGetInventory(System.Guid, Shared.Models.Items.SharedInventoryModel&)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()Shared.Inventory.InventoryApplyEngine::ERROR(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, System.String)Shared.Inventory.ItemInstanceExtensions::IsMoney(Shared.Models.Items.ItemInstanceModel)System.String::Concat(System.String, System.String)Shared.Inventory.InventoryApplyEngine::SanityCheckItem(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, Shared.Models.Items.ItemInstanceModel, Shared.Models.Items.SharedInventoryModel)Shared.Helpers.MoneyHelper::GetCoinType(System.String)Shared.Helpers.MoneyHelper::GetMultiplierForCoinType(System.Int32)Shared.Helpers.MoneyHelper::GetCoinItemId(System.Int32)Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge::TryCreateNewItemInstance(System.String, System.Int32, Shared.Models.Items.ItemInstanceModel&)Shared.Models.Items.SharedInventoryModel::AcceptsItem(Shared.Models.Items.ItemInstanceModel, System.Int32)Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge::DeleteErrorItemInstance(Shared.Models.Items.ItemInstanceModel)System.String::Concat(System.String, System.String, System.String)System.Nullable<System.Guid>::.ctor(!0)Shared.Inventory.InventoryApplyEngine::LogSlotChanged(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, Shared.Models.Items.SharedInventoryModel, System.Int32)
String literals
SplitMoneyItemIntoNewMoneyItem: Source slot index out of range []: Target slot index out of range [: Invalid amountSplitMoneyItemIntoNewMoneyItem: Source item was nullSplitMoneyItemIntoNewMoneyItem: Source item is not money.SplitMoneyItemIntoNewMoneyItem: Target item is not nullSplitMoneyItemIntoNewMoneyItem: Source coin was lowest coin value and therefore we can't split it.: Tried splitting coin typeinto an amount that's larger than the conversion into coin type. Amountand 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 type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
8082F6F60D5FCBCB1115E783F8921FF501CEEC234769D96F56A71DADCCA16C23 - Body hash
4D1C332F9F9E3D47AF63D6778A09CCC6CB1AAD4E926D4E53C278894CD0E964E9 - IL size490
Referenced calls
Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge::TryGetInventory(System.Guid, Shared.Models.Items.SharedInventoryModel&)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()Shared.Inventory.InventoryApplyEngine::ERROR(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, System.String)Shared.Inventory.InventoryApplyEngine::SanityCheckItem(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, Shared.Models.Items.ItemInstanceModel, Shared.Models.Items.SharedInventoryModel)Shared.Models.Items.SharedInventoryModel::AcceptsItem(Shared.Models.Items.ItemInstanceModel, System.Int32)System.String::Concat(System.String, System.String, System.String)System.Nullable<System.Guid>::.ctor(!0)Shared.Inventory.InventoryApplyEngine::LogSlotChanged(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, Shared.Models.Items.SharedInventoryModel, System.Int32)
String literals
SwapItemPositions: Source slot index out of range []: Target slot index out of range [SwapItemPositions: SourceItem and TargetItem was null?SwapItemPositions: Target itemis not accepted by the source inventory.SwapItemPositions: Source itemis 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 type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
8936CBB7D88E148AB5C1551EA3796C6305201BF4D31F915E76AFA73F5032E82C - Body hash
6FCDB0341514610D391711BE5C376A1D10F169A526FE040091DD5B0C17F57463 - IL size319
Referenced calls
Shared.Inventory.Exceptions.InventoryApplyException::.ctor(System.String)Shared.Inventory.InventoryApplyEngine::MoveStackAmount(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, System.Guid, System.Int32, System.Guid, System.Int32, System.Int32)Shared.Inventory.InventoryApplyEngine::SwapItemPositions(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, System.Guid, System.Int32, System.Guid, System.Int32)Shared.Inventory.InventoryApplyEngine::TurnMoneyItemIntoMoney(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, System.Guid, System.Int32, System.Guid)Shared.Inventory.InventoryApplyEngine::TurnMoneyItemAmountIntoMoney(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, System.Guid, System.Int32, System.Guid, System.Int32)Shared.Inventory.InventoryApplyEngine::MoveMoney(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, System.Guid, System.Guid, System.UInt64)Shared.Inventory.InventoryApplyEngine::TurnMoneyIntoItem(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, System.Guid, System.Guid, System.Int32, System.UInt64)Shared.Inventory.InventoryApplyEngine::TurnMoneyIntoItemStackAmount(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, System.Guid, System.Guid, System.Int32, System.UInt64)Shared.Inventory.InventoryApplyEngine::SplitMoneyItemIntoNewMoneyItem(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, System.Guid, System.Int32, System.Guid, System.Int32, System.Int32)System.ArgumentOutOfRangeException::.ctor()
Called by
CandideServer.ServerManagers.ServerSimpleInventoryManager_Player::Player_InventoryApplyDeltaCandideServer.ServerManagers.ServerSimpleInventoryManager_Server::Server_InventoryApplyDeltaCandide.GameModels.Managers.SimpleInventoryManager::ItemSwapActionCandide.GameModels.Managers.SimpleInventoryManager::MoneySwapActionCandide.GameModels.Managers.SimpleInventoryManager::SplitStackShared.Inventory.InventoryApplyEngine::TryApplyManyActionsShared.Inventory.Models.DeltaTransaction::ApplyActions
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 type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
940AE0BFDD5BB796A6A962EE5A81E287F10103448BFB1831C3B07E0856838CC4 - Body hash
649F9A82C56DE2A5ACF4DF6AA90F9A65C852CE5F820F43456877FA202E1DF0E1 - IL size53
Referenced calls
System.Collections.Generic.IEnumerable<Shared.Inventory.DeltaModels.DeltaAction>::GetEnumerator()System.Collections.Generic.IEnumerator<Shared.Inventory.DeltaModels.DeltaAction>::get_Current()Shared.Inventory.InventoryApplyEngine::TryApplyAction(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, Shared.Inventory.DeltaModels.DeltaAction)System.Collections.IEnumerator::MoveNext()System.IDisposable::Dispose()
Called by
CandideServer.ServerManagers.ServerSimpleInventoryManager_Player::Player_InventoryApplyManyDeltaCandideServer.ServerManagers.ServerSimpleInventoryManager_Player::Player_LootAllCandideServer.ServerManagers.ServerSimpleInventoryManager_Server::Server_InventoryApplyManyDeltaCandide.GameModels.Managers.EquipmentManager::SwitchWeaponsCandide.GameModels.Managers.EquipmentManager::TryEquipCandide.GameModels.Managers.EquipmentManager::TryEquipAndSwapActionCandide.GameModels.Managers.EquipmentManager::TryUnequipItemCandide.GameModels.Managers.SimpleInventoryManager::AddItemFromSourceActionCandide.GameModels.Managers.SimpleInventoryManager::LootItemAmountIntoMoney
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 type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
33F6BC273FCE120AF0FFAB174FF44648732F3C4BB2CFE06B19D74B64D47CF9FA - Body hash
6D59334B4D987768AF18F5056DD735529D8B0A5B23ADA10FBDBAB026D36ECB91 - IL size568
Referenced calls
Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge::TryGetInventory(System.Guid, Shared.Models.Items.SharedInventoryModel&)Shared.Models.Items.SharedInventoryModel::HasMoneyField()Shared.Inventory.InventoryApplyEngine::ERROR(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()System.Nullable<System.UInt64>::get_Value()Shared.Helpers.MoneyHelper::GetCoinTypeAndStackSatisfyingMoney(System.UInt64)Shared.Helpers.MoneyHelper::GetCoinItemId(System.Int32)Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge::TryCreateNewItemInstance(System.String, System.Int32, Shared.Models.Items.ItemInstanceModel&)Shared.Models.Items.SharedInventoryModel::AcceptsItem(Shared.Models.Items.ItemInstanceModel, System.Int32)Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge::DeleteErrorItemInstance(Shared.Models.Items.ItemInstanceModel)System.String::Concat(System.String, System.String, System.String)System.Nullable<System.Guid>::.ctor(!0)System.Nullable<System.UInt64>::get_HasValue()System.Nullable<System.UInt64>::GetValueOrDefault()System.Nullable<System.UInt64>::.ctor(!0)Shared.Inventory.InventoryApplyEngine::SanityCheckItem(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, Shared.Models.Items.ItemInstanceModel, Shared.Models.Items.SharedInventoryModel)Shared.Inventory.InventoryApplyEngine::LogMoneyChanged(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, Shared.Models.Items.SharedInventoryModel)Shared.Inventory.InventoryApplyEngine::LogSlotChanged(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, Shared.Models.Items.SharedInventoryModel, System.Int32)
String literals
TurnMoneyIntoItem: SourceInventory doesn't have money valueTurnMoneyIntoItem: 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 moneyvsTurnMoneyIntoItem: Failed getting coin type and coin amount: Bridge failed creating item,TurnMoneyIntoItem: Target itemis 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 type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
CB02F12B918FE148961E2B3DC50176ACC44085E404D8486299633E4AD4D25705 - Body hash
C8F051F40C88D03082786BD89FE4602F1C3CF4189DB423B83A5F5D91E9E0EE28 - IL size618
Referenced calls
Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge::TryGetInventory(System.Guid, Shared.Models.Items.SharedInventoryModel&)Shared.Models.Items.SharedInventoryModel::HasMoneyField()Shared.Inventory.InventoryApplyEngine::ERROR(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()System.Nullable<System.UInt64>::get_Value()Shared.Inventory.InventoryApplyEngine::SanityCheckItem(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, Shared.Models.Items.ItemInstanceModel, Shared.Models.Items.SharedInventoryModel)Shared.Helpers.MoneyHelper::GetCoinTypeAndStackSatisfyingMoney(System.UInt64)Shared.Helpers.MoneyHelper::GetCoinItemId(System.Int32)Shared.Data.ItemDataBase::GetItemDataOrNull(System.String)System.String::Concat(System.String, System.String, System.String)Shared.Models.Items.ItemInstanceModel::CanStack(Shared.Models.Items.ItemData, System.Int32, System.Int32&)System.Nullable<System.UInt64>::get_HasValue()System.Nullable<System.UInt64>::GetValueOrDefault()System.Nullable<System.UInt64>::.ctor(!0)Shared.Inventory.InventoryApplyEngine::LogSlotChanged(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, Shared.Models.Items.SharedInventoryModel, System.Int32)Shared.Inventory.InventoryApplyEngine::LogMoneyChanged(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, Shared.Models.Items.SharedInventoryModel)
String literals
TurnMoneyIntoItemStackAmount: SourceInventory doesn't have money valueTurnMoneyIntoItemStackAmount: 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 moneyvsTurnMoneyIntoItemStackAmount: Target item was nullTurnMoneyIntoItemStackAmount: Failed getting coin type and coin amountTurnMoneyIntoItemStackAmount: 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 type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
95F0D7A5EF8D812DB6555D5FA2838AE8D5EDCD3D0563DEB97E3B968B92AE70FD - Body hash
37F9223D4E7E33A7B3C299E00ED61EED79DCB60C782D5D7FDB12673D1762109B - IL size579
Referenced calls
Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge::TryGetInventory(System.Guid, Shared.Models.Items.SharedInventoryModel&)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()Shared.Inventory.InventoryApplyEngine::ERROR(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, System.String)Shared.Inventory.ItemInstanceExtensions::IsMoney(Shared.Models.Items.ItemInstanceModel)System.String::Concat(System.String, System.String)Shared.Inventory.InventoryApplyEngine::SanityCheckItem(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, Shared.Models.Items.ItemInstanceModel, Shared.Models.Items.SharedInventoryModel)Shared.Models.Items.SharedInventoryModel::HasMoneyField()Shared.Models.Items.SharedInventoryModel::AcceptsMoney()Shared.Inventory.ItemInstanceExtensions::GetMoneyValue(Shared.Models.Items.ItemInstanceModel, System.Int32)System.Nullable<System.UInt64>::get_Value()System.Nullable<System.UInt64>::.ctor(!0)Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge::DeleteItemInstance(Shared.Models.Items.SharedInventoryModel, System.Int32)Shared.Inventory.InventoryApplyEngine::LogSlotChanged(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, Shared.Models.Items.SharedInventoryModel, System.Int32)Shared.Inventory.InventoryApplyEngine::LogMoneyChanged(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, Shared.Models.Items.SharedInventoryModel)
String literals
TurnMoneyItemAmountIntoMoney: Source slot index out of range []: Invalid amountTurnMoneyItemAmountIntoMoney: Source item was nullTurnMoneyItemAmountIntoMoney: Source item is not money.TurnMoneyItemAmountIntoMoney: Target inventory has no money field: Target inventory doesn't accept money. Type is: Source item's stackisand 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 type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
BF667285DEE796C9D977E8E26F6AA77C7FA11B1C60F0B26F8E01938CC27E56FE - Body hash
23A57D62C331A7DCEEF1978C792F22465C16DCC2D20A66BDF011A1681BBF58B1 - IL size363
Referenced calls
Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge::TryGetInventory(System.Guid, Shared.Models.Items.SharedInventoryModel&)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()Shared.Inventory.InventoryApplyEngine::ERROR(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, System.String)Shared.Inventory.ItemInstanceExtensions::IsMoney(Shared.Models.Items.ItemInstanceModel)System.String::Concat(System.String, System.String)Shared.Inventory.InventoryApplyEngine::SanityCheckItem(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, Shared.Models.Items.ItemInstanceModel, Shared.Models.Items.SharedInventoryModel)Shared.Models.Items.SharedInventoryModel::HasMoneyField()Shared.Models.Items.SharedInventoryModel::AcceptsMoney()Shared.Inventory.ItemInstanceExtensions::GetMoneyValue(Shared.Models.Items.ItemInstanceModel)System.Nullable<System.UInt64>::get_Value()System.Nullable<System.UInt64>::.ctor(!0)Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge::DeleteItemInstance(Shared.Models.Items.SharedInventoryModel, System.Int32)Shared.Inventory.InventoryApplyEngine::LogSlotChanged(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, Shared.Models.Items.SharedInventoryModel, System.Int32)Shared.Inventory.InventoryApplyEngine::LogMoneyChanged(Shared.Inventory.InventoryApplyBridge.IInventoryApplyBridge, Shared.Models.Items.SharedInventoryModel)
String literals
TurnMoneyItemIntoMoney: Source slot index out of range []TurnMoneyItemIntoMoney: Source item was nullTurnMoneyItemIntoMoney: Source item is not money.TurnMoneyItemIntoMoney: Target inventory has no money field: Target inventory doesn't accept money. Type is