{"Id":"CandideServer.ServerControllers.InternalResourceStorageSController","Name":"InternalResourceStorageSController","DisplayName":"InternalResourceStorageSController","FullName":"CandideServer.ServerControllers.InternalResourceStorageSController","Namespace":"CandideServer.ServerControllers","Kind":"class","Visibility":"public","IsAbstract":true,"IsSealed":true,"BaseType":"System.Object","Interfaces":[],"SourceLocations":[],"Fields":[],"Properties":[],"Events":[],"Methods":[{"Id":"AdjustStorageWithResourceAggregate(CandideServer.Models.InternalResourceStorageModel, Shared.Models.Construction.ConstructionMaterialsAggregate)-\u003ECandideServer.MessageModels.InternalResourceStorage.UpdateInternalResourceStorageChangedMessage","Name":"AdjustStorageWithResourceAggregate","Signature":"public CandideServer.MessageModels.InternalResourceStorage.UpdateInternalResourceStorageChangedMessage AdjustStorageWithResourceAggregate(CandideServer.Models.InternalResourceStorageModel storage, Shared.Models.Construction.ConstructionMaterialsAggregate constructionMaterials)","Visibility":"public","ReturnType":"CandideServer.MessageModels.InternalResourceStorage.UpdateInternalResourceStorageChangedMessage","Parameters":[{"Name":"storage","Type":"CandideServer.Models.InternalResourceStorageModel","IsOut":false,"IsOptional":false},{"Name":"constructionMaterials","Type":"Shared.Models.Construction.ConstructionMaterialsAggregate","IsOut":false,"IsOptional":false}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":179,"BodyHash":"37DDD54C9217884977AC86519F2EBFD2F6EC59FE5DEA38F47E4FD3DE38249552","Hash":"675E8ED1E2E52BA697F48FE4F3D0D382BE9DD436B17E2499D882C3DBA5D0AD76","CalledMethods":["CandideServer.Models.InternalResourceStorageModel::CanAdjustByConstructionMaterialsAggregate(Shared.Models.Construction.ConstructionMaterialsAggregate)","System.Collections.Generic.List\u003CSystem.ValueTuple\u003CSystem.String, System.Int32\u003E\u003E::.ctor()","System.Collections.Generic.Dictionary\u003CSystem.String, System.Int32\u003E::GetEnumerator()","Dictionary.Enumerator\u003CSystem.String, System.Int32\u003E::get_Current()","System.Collections.Generic.KeyValuePair\u003CSystem.String, System.Int32\u003E::get_Value()","System.Collections.Generic.KeyValuePair\u003CSystem.String, System.Int32\u003E::get_Key()","System.Collections.Generic.Dictionary\u003CSystem.String, System.Int32\u003E::get_Item(!0)","System.Collections.Generic.Dictionary\u003CSystem.String, System.Int32\u003E::set_Item(!0, !1)","System.ValueTuple\u003CSystem.String, System.Int32\u003E::.ctor(!0, !1)","System.Collections.Generic.List\u003CSystem.ValueTuple\u003CSystem.String, System.Int32\u003E\u003E::Add(!0)","Dictionary.Enumerator\u003CSystem.String, System.Int32\u003E::MoveNext()","System.IDisposable::Dispose()","CandideServer.MessageModels.InternalResourceStorage.UpdateInternalResourceStorageChangedMessage::.ctor()","System.Collections.Generic.List\u003CSystem.ValueTuple\u003CSystem.String, System.Int32\u003E\u003E::ToArray()"],"StringLiterals":[],"Source":null},{"Id":"CanSpendConstructionUpgradeCostForTown(Shared.Models.Construction.ConstructionModel, System.Guid)-\u003ESystem.ValueTuple\u00602\u003CSystem.Boolean,System.Collections.Generic.Dictionary\u00602\u003CSystem.Guid,System.Collections.Generic.List\u00601\u003CShared.Models.Items.ResourceAmount\u003E\u003E\u003E","Name":"CanSpendConstructionUpgradeCostForTown","Signature":"public System.ValueTuple\u003CSystem.Boolean, System.Collections.Generic.Dictionary\u003CSystem.Guid, System.Collections.Generic.List\u003CShared.Models.Items.ResourceAmount\u003E\u003E\u003E CanSpendConstructionUpgradeCostForTown(Shared.Models.Construction.ConstructionModel construction, System.Guid townId)","Visibility":"public","ReturnType":"System.ValueTuple\u003CSystem.Boolean, System.Collections.Generic.Dictionary\u003CSystem.Guid, System.Collections.Generic.List\u003CShared.Models.Items.ResourceAmount\u003E\u003E\u003E","Parameters":[{"Name":"construction","Type":"Shared.Models.Construction.ConstructionModel","IsOut":false,"IsOptional":false},{"Name":"townId","Type":"System.Guid","IsOut":false,"IsOptional":false}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":470,"BodyHash":"0A76AC2816ADEA33DEC0C259744B0922E9ABCA1E57769C8699B8EBC41D5DE56A","Hash":"FC3DCF0992112C71B6EE5BF0FAF2C5E3E7E196F920F536EB56413F963315B69B","CalledMethods":["CandideServer.ServerGameState::TryGetTown(System.Guid, CandideServer.Models.Town.ServerTownModel\u0026)","System.Collections.Generic.Dictionary\u003CSystem.Guid, System.Collections.Generic.List\u003CShared.Models.Items.ResourceAmount\u003E\u003E::.ctor()","System.ValueTuple\u003CSystem.Boolean, System.Collections.Generic.Dictionary\u003CSystem.Guid, System.Collections.Generic.List\u003CShared.Models.Items.ResourceAmount\u003E\u003E\u003E::.ctor(!0, !1)","CandideServer.ServerManagers.TownsServerManager::GetAllMaterialStoragesForTown(CandideServer.Models.Town.TownModel)","System.Collections.Generic.Dictionary\u003CSystem.String, System.Int32\u003E::.ctor(System.Collections.Generic.IDictionary\u003C!0, !1\u003E)","System.Collections.Generic.HashSet\u003CSystem.Guid\u003E::GetEnumerator()","HashSet.Enumerator\u003CSystem.Guid\u003E::get_Current()","CandideServer.ServerGameState::TryGetBuilding(System.Guid, CandideServer.SimulationModels.BuildingSimulationModel\u0026)","System.Nullable\u003CSystem.Guid\u003E::get_HasValue()","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()","CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)","System.Nullable\u003CSystem.Guid\u003E::get_Value()","CandideServer.ServerGameState::TryGetInternalResourceStorage(System.Guid, CandideServer.Models.InternalResourceStorageModel\u0026)","System.Collections.Generic.List\u003CShared.Models.Items.ResourceAmount\u003E::.ctor()","System.Collections.Generic.Dictionary\u003CSystem.String, System.Int32\u003E::GetEnumerator()","Dictionary.Enumerator\u003CSystem.String, System.Int32\u003E::get_Current()","System.Collections.Generic.KeyValuePair\u003CSystem.String, System.Int32\u003E::Deconstruct(!0\u0026, !1\u0026)","CandideServer.Models.InternalResourceStorageModel::GetResourceAmount(System.String)","System.Math::Min(System.Int32, System.Int32)","System.Collections.Generic.Dictionary\u003CSystem.String, System.Int32\u003E::get_Item(!0)","System.Collections.Generic.Dictionary\u003CSystem.String, System.Int32\u003E::set_Item(!0, !1)","System.Collections.Generic.List\u003CShared.Models.Items.ResourceAmount\u003E::Add(!0)","Dictionary.Enumerator\u003CSystem.String, System.Int32\u003E::MoveNext()","System.IDisposable::Dispose()","System.Collections.Generic.Dictionary\u003CSystem.Guid, System.Collections.Generic.List\u003CShared.Models.Items.ResourceAmount\u003E\u003E::set_Item(!0, !1)","HashSet.Enumerator\u003CSystem.Guid\u003E::MoveNext()","System.Collections.Generic.Dictionary\u003CSystem.String, System.Int32\u003E::get_Values()","Dictionary.ValueCollection\u003CSystem.String, System.Int32\u003E::GetEnumerator()","Dictionary.ValueCollection.Enumerator\u003CSystem.String, System.Int32\u003E::get_Current()"],"StringLiterals":["Material storage "," doesn\u0027t have an internal resource storage ID"],"Source":null},{"Id":"CheckCanRemoveResources(CandideServer.Models.InternalResourceStorageModel, Shared.Models.Items.ResourceAmount[])-\u003ESystem.Boolean","Name":"CheckCanRemoveResources","Signature":"public System.Boolean CheckCanRemoveResources(CandideServer.Models.InternalResourceStorageModel storage, Shared.Models.Items.ResourceAmount[] resourceAmounts)","Visibility":"public","ReturnType":"System.Boolean","Parameters":[{"Name":"storage","Type":"CandideServer.Models.InternalResourceStorageModel","IsOut":false,"IsOptional":false},{"Name":"resourceAmounts","Type":"Shared.Models.Items.ResourceAmount[]","IsOut":false,"IsOptional":false}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":48,"BodyHash":"77A3891914EA929200CEC7B992DE8B65DD4FDB26C6D1012D2BA91C0E2E42B3E2","Hash":"A1775F9223AA3D0629E78CCA166823276EAEB26E1473B9C575E3D6235DF44E99","CalledMethods":["CandideServer.Models.InternalResourceStorageModel::GetResourceAmount(System.String)"],"StringLiterals":[],"Source":null},{"Id":"CreateInternalResourceStorage(CandideServer.MessageModels.InternalResourceStorage.CreateNewInternalResourceStorageMessage)-\u003ECandideServer.Models.InternalResourceStorageModel","Name":"CreateInternalResourceStorage","Signature":"public CandideServer.Models.InternalResourceStorageModel CreateInternalResourceStorage(CandideServer.MessageModels.InternalResourceStorage.CreateNewInternalResourceStorageMessage msg)","Visibility":"public","ReturnType":"CandideServer.Models.InternalResourceStorageModel","Parameters":[{"Name":"msg","Type":"CandideServer.MessageModels.InternalResourceStorage.CreateNewInternalResourceStorageMessage","IsOut":false,"IsOptional":false}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":219,"BodyHash":"2029534398FFFF5988B67D6E2105A2EA3B1AE1DC078E7CD559100D34167CE5E4","Hash":"3B5720CAB6FDA5B6350455C6B8149865BD84590A6D3884A11AE11304A031F42B","CalledMethods":["System.Collections.Generic.Dictionary\u003CSystem.String, System.Int32\u003E::GetEnumerator()","Dictionary.Enumerator\u003CSystem.String, System.Int32\u003E::get_Current()","System.Collections.Generic.KeyValuePair\u003CSystem.String, System.Int32\u003E::get_Key()","Shared.Data.ConstructionResourcesDataBase::GetConstructionResourceOrNull(System.String)","System.Nullable\u003CShared.Models.Construction.ConstructionResourceDataModel\u003E::get_HasValue()","System.String::Concat(System.String, System.String, System.String)","CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)","Dictionary.Enumerator\u003CSystem.String, System.Int32\u003E::MoveNext()","System.IDisposable::Dispose()","CandideServer.Models.InternalResourceStorageModel::.ctor()","System.Collections.Generic.Dictionary\u003CSystem.Guid, CandideServer.Models.InternalResourceStorageModel\u003E::TryAdd(!0, !1)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()"],"StringLiterals":["Unknown resource type ",". Couldn\u0027t find it in the DataBase. Aborting","Failed to add new InternalResourceStorage to the game state. ID: "],"Source":null},{"Id":"DepleteResource(CandideServer.Models.InternalResourceStorageModel, System.String, System.Int32)-\u003ECandideServer.MessageModels.InternalResourceStorage.UpdateInternalResourceStorageChangedMessage","Name":"DepleteResource","Signature":"public CandideServer.MessageModels.InternalResourceStorage.UpdateInternalResourceStorageChangedMessage DepleteResource(CandideServer.Models.InternalResourceStorageModel storage, System.String resourceId, System.Int32 amount)","Visibility":"public","ReturnType":"CandideServer.MessageModels.InternalResourceStorage.UpdateInternalResourceStorageChangedMessage","Parameters":[{"Name":"storage","Type":"CandideServer.Models.InternalResourceStorageModel","IsOut":false,"IsOptional":false},{"Name":"resourceId","Type":"System.String","IsOut":false,"IsOptional":false},{"Name":"amount","Type":"System.Int32","IsOut":false,"IsOptional":false}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":152,"BodyHash":"F754AD38C704CBF15898A687BAA309390DC1B3C799CACCCF722261C0955D634F","Hash":"B474F82B24A585984F5D11CF33A4E8BDFE2269B839EF1870DBEEF08480875E05","CalledMethods":["CandideServer.Models.InternalResourceStorageModel::TryAdjustByAmount(System.String, System.Int32)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()","CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)","CandideServer.MessageModels.InternalResourceStorage.UpdateInternalResourceStorageChangedMessage::.ctor()","CandideServer.Models.InternalResourceStorageModel::GetResourceAmount(System.String)","System.ValueTuple\u003CSystem.String, System.Int32\u003E::.ctor(!0, !1)"],"StringLiterals":["Failed to deplete amount "," of resource "," from storage with ID "],"Source":null},{"Id":"DepleteResources(CandideServer.Models.InternalResourceStorageModel, Shared.Models.Items.ResourceAmount[], System.Collections.Generic.Dictionary\u00602\u003CSystem.String,CandideServer.Models.Logistics.LogisticsConnectionParameter\u003E)-\u003ECandideServer.MessageModels.InternalResourceStorage.UpdateInternalResourceStorageChangedMessage","Name":"DepleteResources","Signature":"public CandideServer.MessageModels.InternalResourceStorage.UpdateInternalResourceStorageChangedMessage DepleteResources(CandideServer.Models.InternalResourceStorageModel storage, Shared.Models.Items.ResourceAmount[] resourceAmounts, System.Collections.Generic.Dictionary\u003CSystem.String, CandideServer.Models.Logistics.LogisticsConnectionParameter\u003E logisticsConnectionParameters)","Visibility":"public","ReturnType":"CandideServer.MessageModels.InternalResourceStorage.UpdateInternalResourceStorageChangedMessage","Parameters":[{"Name":"storage","Type":"CandideServer.Models.InternalResourceStorageModel","IsOut":false,"IsOptional":false},{"Name":"resourceAmounts","Type":"Shared.Models.Items.ResourceAmount[]","IsOut":false,"IsOptional":false},{"Name":"logisticsConnectionParameters","Type":"System.Collections.Generic.Dictionary\u003CSystem.String, CandideServer.Models.Logistics.LogisticsConnectionParameter\u003E","IsOut":false,"IsOptional":false}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":172,"BodyHash":"3DC0929D97E882D51CC1D2495FDDD27E9A6E7BFCCC6F758B27971478B0F2ED07","Hash":"A4A7B07CEA6FD626A678AE0FE769123B5B46C393885ED9B096DF8AE574BF5B48","CalledMethods":["System.Collections.Generic.List\u003CSystem.ValueTuple\u003CSystem.String, System.Int32\u003E\u003E::.ctor()","System.Collections.Generic.Dictionary\u003CSystem.String, System.Int32\u003E::TryGetValue(!0, !1\u0026)","System.Collections.Generic.Dictionary\u003CSystem.String, CandideServer.Models.Logistics.LogisticsConnectionParameter\u003E::TryGetValue(!0, !1\u0026)","System.Math::Min(System.Int32, System.Int32)","CandideServer.Models.InternalResourceStorageModel::TryAdjustByAmount(System.String, System.Int32)","System.ValueTuple\u003CSystem.String, System.Int32\u003E::.ctor(!0, !1)","System.Collections.Generic.List\u003CSystem.ValueTuple\u003CSystem.String, System.Int32\u003E\u003E::Add(!0)","System.Collections.Generic.List\u003CSystem.ValueTuple\u003CSystem.String, System.Int32\u003E\u003E::get_Count()","CandideServer.MessageModels.InternalResourceStorage.UpdateInternalResourceStorageChangedMessage::.ctor()","System.Collections.Generic.List\u003CSystem.ValueTuple\u003CSystem.String, System.Int32\u003E\u003E::ToArray()"],"StringLiterals":[],"Source":null},{"Id":"DepleteResources_Destructive(CandideServer.Models.InternalResourceStorageModel, Shared.Models.Items.ResourceAmount[], System.Collections.Generic.Dictionary\u00602\u003CSystem.String,CandideServer.Models.Logistics.LogisticsConnectionParameter\u003E)-\u003ECandideServer.MessageModels.InternalResourceStorage.UpdateInternalResourceStorageChangedMessage","Name":"DepleteResources_Destructive","Signature":"public CandideServer.MessageModels.InternalResourceStorage.UpdateInternalResourceStorageChangedMessage DepleteResources_Destructive(CandideServer.Models.InternalResourceStorageModel storage, Shared.Models.Items.ResourceAmount[] resourceAmounts, System.Collections.Generic.Dictionary\u003CSystem.String, CandideServer.Models.Logistics.LogisticsConnectionParameter\u003E logisticsConnectionParameters)","Visibility":"public","ReturnType":"CandideServer.MessageModels.InternalResourceStorage.UpdateInternalResourceStorageChangedMessage","Parameters":[{"Name":"storage","Type":"CandideServer.Models.InternalResourceStorageModel","IsOut":false,"IsOptional":false},{"Name":"resourceAmounts","Type":"Shared.Models.Items.ResourceAmount[]","IsOut":false,"IsOptional":false},{"Name":"logisticsConnectionParameters","Type":"System.Collections.Generic.Dictionary\u003CSystem.String, CandideServer.Models.Logistics.LogisticsConnectionParameter\u003E","IsOut":false,"IsOptional":false}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":198,"BodyHash":"0AE78AFE74161D5B6AF71F697F9F210D3AB3B6D702D33308B47039742824B76D","Hash":"E1ECFA56BB3572439CD2293E814BBBCF14D398795E40F359350544772C7AFC56","CalledMethods":["System.Collections.Generic.List\u003CSystem.ValueTuple\u003CSystem.String, System.Int32\u003E\u003E::.ctor()","System.Collections.Generic.Dictionary\u003CSystem.String, System.Int32\u003E::TryGetValue(!0, !1\u0026)","System.Collections.Generic.Dictionary\u003CSystem.String, CandideServer.Models.Logistics.LogisticsConnectionParameter\u003E::TryGetValue(!0, !1\u0026)","System.Math::Min(System.Int32, System.Int32)","CandideServer.Models.InternalResourceStorageModel::TryAdjustByAmount(System.String, System.Int32)","System.ValueTuple\u003CSystem.String, System.Int32\u003E::.ctor(!0, !1)","System.Collections.Generic.List\u003CSystem.ValueTuple\u003CSystem.String, System.Int32\u003E\u003E::Add(!0)","System.Collections.Generic.List\u003CSystem.ValueTuple\u003CSystem.String, System.Int32\u003E\u003E::get_Count()","CandideServer.MessageModels.InternalResourceStorage.UpdateInternalResourceStorageChangedMessage::.ctor()","System.Collections.Generic.List\u003CSystem.ValueTuple\u003CSystem.String, System.Int32\u003E\u003E::ToArray()"],"StringLiterals":[],"Source":null},{"Id":"MoveWhateverPossibleFromSourceToDestination(CandideServer.Models.InternalResourceStorageModel, CandideServer.Models.InternalResourceStorageModel, Shared.Models.Items.ResourceAmount[], System.Int32, System.Collections.Generic.HashSet\u00601\u003CSystem.String\u003E, System.Collections.Generic.HashSet\u00601\u003CSystem.String\u003E)-\u003ESystem.Boolean","Name":"MoveWhateverPossibleFromSourceToDestination","Signature":"public System.Boolean MoveWhateverPossibleFromSourceToDestination(CandideServer.Models.InternalResourceStorageModel sourceResourceInventory, CandideServer.Models.InternalResourceStorageModel targetResourceInventory, Shared.Models.Items.ResourceAmount[] moveResourcesArray, System.Int32 moveResourcesCount, System.Collections.Generic.HashSet\u003CSystem.String\u003E sourceChanges, System.Collections.Generic.HashSet\u003CSystem.String\u003E targetChanges)","Visibility":"public","ReturnType":"System.Boolean","Parameters":[{"Name":"sourceResourceInventory","Type":"CandideServer.Models.InternalResourceStorageModel","IsOut":false,"IsOptional":false},{"Name":"targetResourceInventory","Type":"CandideServer.Models.InternalResourceStorageModel","IsOut":false,"IsOptional":false},{"Name":"moveResourcesArray","Type":"Shared.Models.Items.ResourceAmount[]","IsOut":false,"IsOptional":false},{"Name":"moveResourcesCount","Type":"System.Int32","IsOut":false,"IsOptional":false},{"Name":"sourceChanges","Type":"System.Collections.Generic.HashSet\u003CSystem.String\u003E","IsOut":false,"IsOptional":false},{"Name":"targetChanges","Type":"System.Collections.Generic.HashSet\u003CSystem.String\u003E","IsOut":false,"IsOptional":false}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":126,"BodyHash":"9707F9F06C392F8E664403632634341B5A2C8985A1BF656BB902B94B407550AC","Hash":"78FF2B3164325F0400F7959A49B68F8C480F9E804E75E25BF6AD5CC889879BE0","CalledMethods":["CandideServer.Models.InternalResourceStorageModel::GetSpaceLeft(System.String)","System.Math::Min(System.Int32, System.Int32)","CandideServer.Models.InternalResourceStorageModel::GetResourceAmount(System.String)","CandideServer.Models.InternalResourceStorageModel::TryAddAmountOrRegisterNewResource(System.String, System.Int32)","System.Collections.Generic.HashSet\u003CSystem.String\u003E::Add(!0)","CandideServer.Models.InternalResourceStorageModel::TryAdjustByAmount(System.String, System.Int32)","System.Collections.Generic.HashSet\u003CSystem.String\u003E::get_Count()"],"StringLiterals":[],"Source":null},{"Id":"RemoveStorage(System.Guid)-\u003ESystem.Void","Name":"RemoveStorage","Signature":"public System.Void RemoveStorage(System.Guid storageId)","Visibility":"public","ReturnType":"System.Void","Parameters":[{"Name":"storageId","Type":"System.Guid","IsOut":false,"IsOptional":false}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":75,"BodyHash":"9501F80D0F88F36C56FC2C6A953DB78BEA1E5F68442C9EBC6D871E4949887A6E","Hash":"DBC21E3B8ADCC6C6E641688D8E080DEA6B0035B08DCFF6C78064006A9C2A9A69","CalledMethods":["System.Collections.Generic.Dictionary\u003CSystem.Guid, CandideServer.Models.InternalResourceStorageModel\u003E::Remove(!0)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()","CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)","CandideServer.ServerServices.ServerState_InternalResourceStoragePlayerListenersController::RemoveStorage(System.Guid)"],"StringLiterals":["Tried removing internal resource storage with id "," but it didn\u0027t exist in the server game state."],"Source":null},{"Id":"TryAddToStorage(CandideServer.Models.InternalResourceStorageModel, System.Collections.Generic.IReadOnlyCollection\u00601\u003CShared.Models.Items.ResourceAmount\u003E)-\u003ECandideServer.MessageModels.InternalResourceStorage.UpdateInternalResourceStorageChangedMessage","Name":"TryAddToStorage","Signature":"public CandideServer.MessageModels.InternalResourceStorage.UpdateInternalResourceStorageChangedMessage TryAddToStorage(CandideServer.Models.InternalResourceStorageModel storageModel, System.Collections.Generic.IReadOnlyCollection\u003CShared.Models.Items.ResourceAmount\u003E resourceAmounts)","Visibility":"public","ReturnType":"CandideServer.MessageModels.InternalResourceStorage.UpdateInternalResourceStorageChangedMessage","Parameters":[{"Name":"storageModel","Type":"CandideServer.Models.InternalResourceStorageModel","IsOut":false,"IsOptional":false},{"Name":"resourceAmounts","Type":"System.Collections.Generic.IReadOnlyCollection\u003CShared.Models.Items.ResourceAmount\u003E","IsOut":false,"IsOptional":false}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":226,"BodyHash":"7F08F3B04464E7A30ED27246CAA022BEE8CA1B4632EAF1D4CB6A308EB1284D77","Hash":"17A8BB9A20DB9A155CD2C315B536750BCB3287D12FA11CCAEEE1CE1C92274029","CalledMethods":["System.Collections.Generic.IEnumerable\u003CShared.Models.Items.ResourceAmount\u003E::GetEnumerator()","System.Collections.Generic.IEnumerator\u003CShared.Models.Items.ResourceAmount\u003E::get_Current()","CandideServer.Models.InternalResourceStorageModel::CanAdjustByAmount(System.String, System.Int32)","System.Collections.IEnumerator::MoveNext()","System.IDisposable::Dispose()","System.Collections.Generic.List\u003CSystem.ValueTuple\u003CSystem.String, System.Int32\u003E\u003E::.ctor()","System.Collections.Generic.Dictionary\u003CSystem.String, System.Int32\u003E::get_Item(!0)","System.Collections.Generic.Dictionary\u003CSystem.String, System.Int32\u003E::set_Item(!0, !1)","System.ValueTuple\u003CSystem.String, System.Int32\u003E::.ctor(!0, !1)","System.Collections.Generic.List\u003CSystem.ValueTuple\u003CSystem.String, System.Int32\u003E\u003E::Add(!0)","CandideServer.MessageModels.InternalResourceStorage.UpdateInternalResourceStorageChangedMessage::.ctor()","System.Collections.Generic.List\u003CSystem.ValueTuple\u003CSystem.String, System.Int32\u003E\u003E::ToArray()"],"StringLiterals":[],"Source":null},{"Id":"TryAddToStorage(CandideServer.Models.InternalResourceStorageModel, System.String, System.Int32)-\u003ECandideServer.MessageModels.InternalResourceStorage.UpdateInternalResourceStorageChangedMessage","Name":"TryAddToStorage","Signature":"public CandideServer.MessageModels.InternalResourceStorage.UpdateInternalResourceStorageChangedMessage TryAddToStorage(CandideServer.Models.InternalResourceStorageModel storageModel, System.String resourceId, System.Int32 amount)","Visibility":"public","ReturnType":"CandideServer.MessageModels.InternalResourceStorage.UpdateInternalResourceStorageChangedMessage","Parameters":[{"Name":"storageModel","Type":"CandideServer.Models.InternalResourceStorageModel","IsOut":false,"IsOptional":false},{"Name":"resourceId","Type":"System.String","IsOut":false,"IsOptional":false},{"Name":"amount","Type":"System.Int32","IsOut":false,"IsOptional":false}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":100,"BodyHash":"34F47AFC22443D44DB6A47C6133266C8FA4B99D98C1DA7526A5C2868CC1A1A47","Hash":"7134331B4DFD67B01A8ECBD3137C96144D0815BB1159217B6A46D5EAFAAA2119","CalledMethods":["CandideServer.Models.InternalResourceStorageModel::CanAdjustByAmount(System.String, System.Int32)","System.Collections.Generic.Dictionary\u003CSystem.String, System.Int32\u003E::get_Item(!0)","System.Collections.Generic.Dictionary\u003CSystem.String, System.Int32\u003E::set_Item(!0, !1)","CandideServer.MessageModels.InternalResourceStorage.UpdateInternalResourceStorageChangedMessage::.ctor()","System.ValueTuple\u003CSystem.String, System.Int32\u003E::.ctor(!0, !1)"],"StringLiterals":[],"Source":null},{"Id":"TryAddToStorage(CandideServer.Models.InternalResourceStorageModel, System.String, System.Int32, System.Boolean, System.Collections.Generic.HashSet\u00601\u003CSystem.String\u003E, System.Int32\u0026)-\u003ESystem.Boolean","Name":"TryAddToStorage","Signature":"public System.Boolean TryAddToStorage(CandideServer.Models.InternalResourceStorageModel storageModel, System.String resourceId, System.Int32 amount, System.Boolean allowPartialStack, System.Collections.Generic.HashSet\u003CSystem.String\u003E changes, out System.Int32\u0026 addedAmount)","Visibility":"public","ReturnType":"System.Boolean","Parameters":[{"Name":"storageModel","Type":"CandideServer.Models.InternalResourceStorageModel","IsOut":false,"IsOptional":false},{"Name":"resourceId","Type":"System.String","IsOut":false,"IsOptional":false},{"Name":"amount","Type":"System.Int32","IsOut":false,"IsOptional":false},{"Name":"allowPartialStack","Type":"System.Boolean","IsOut":false,"IsOptional":false},{"Name":"changes","Type":"System.Collections.Generic.HashSet\u003CSystem.String\u003E","IsOut":false,"IsOptional":false},{"Name":"addedAmount","Type":"System.Int32\u0026","IsOut":true,"IsOptional":false}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":85,"BodyHash":"45049C534E7410E38F8A1DE555623C638E2A3505D9CC2101CD334888207D995A","Hash":"6563280D0EC8DCEFDD4D5FB85FE12CD641007553C289203ADD458E33328EEB90","CalledMethods":["CandideServer.Models.InternalResourceStorageModel::CanAdjustByAmount(System.String, System.Int32)","CandideServer.Models.InternalResourceStorageModel::GetSpaceLeft(System.String)","System.Math::Min(System.Int32, System.Int32)","System.Collections.Generic.Dictionary\u003CSystem.String, System.Int32\u003E::get_Item(!0)","System.Collections.Generic.Dictionary\u003CSystem.String, System.Int32\u003E::set_Item(!0, !1)","System.Collections.Generic.HashSet\u003CSystem.String\u003E::Add(!0)"],"StringLiterals":[],"Source":null},{"Id":"TryDepleteResource(CandideServer.Models.InternalResourceStorageModel, System.String, System.Int32, System.Collections.Generic.HashSet\u00601\u003CSystem.String\u003E)-\u003ESystem.Boolean","Name":"TryDepleteResource","Signature":"public System.Boolean TryDepleteResource(CandideServer.Models.InternalResourceStorageModel storage, System.String resourceId, System.Int32 amount, System.Collections.Generic.HashSet\u003CSystem.String\u003E changes)","Visibility":"public","ReturnType":"System.Boolean","Parameters":[{"Name":"storage","Type":"CandideServer.Models.InternalResourceStorageModel","IsOut":false,"IsOptional":false},{"Name":"resourceId","Type":"System.String","IsOut":false,"IsOptional":false},{"Name":"amount","Type":"System.Int32","IsOut":false,"IsOptional":false},{"Name":"changes","Type":"System.Collections.Generic.HashSet\u003CSystem.String\u003E","IsOut":false,"IsOptional":false}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":110,"BodyHash":"8EA8EBAA169B1863E0817A23340BB062FD3B2595DB000713B531849F1E517DF8","Hash":"FB54538E398137485E43BDA65E562E5EDADAD90A8BDDE5079D9571EB6FE7EE80","CalledMethods":["CandideServer.Models.InternalResourceStorageModel::TryAdjustByAmount(System.String, System.Int32)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()","CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)","System.Collections.Generic.HashSet\u003CSystem.String\u003E::Add(!0)"],"StringLiterals":["Failed to deplete amount "," of resource "," from storage with ID "],"Source":null},{"Id":"UpdateInternalResourceStorageMaximums(System.Guid, System.Collections.Generic.IEnumerable\u00601\u003CShared.Models.Items.ResourceAmount\u003E)-\u003ECandideServer.Models.InternalResourceStorageModel","Name":"UpdateInternalResourceStorageMaximums","Signature":"public CandideServer.Models.InternalResourceStorageModel UpdateInternalResourceStorageMaximums(System.Guid storageId, System.Collections.Generic.IEnumerable\u003CShared.Models.Items.ResourceAmount\u003E newMaximum)","Visibility":"public","ReturnType":"CandideServer.Models.InternalResourceStorageModel","Parameters":[{"Name":"storageId","Type":"System.Guid","IsOut":false,"IsOptional":false},{"Name":"newMaximum","Type":"System.Collections.Generic.IEnumerable\u003CShared.Models.Items.ResourceAmount\u003E","IsOut":false,"IsOptional":false}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":153,"BodyHash":"45F45F7E1A8EDB624B5D6A9FCD325711C6DC2948CEBEF71294CE172D21EF9C2B","Hash":"2D8F35FDBE72CA2F29821C12A215D5C76269A1BC2B480A6048A4C71B9BF0EEF6","CalledMethods":["System.Collections.Generic.Dictionary\u003CSystem.Guid, CandideServer.Models.InternalResourceStorageModel\u003E::TryGetValue(!0, !1\u0026)","System.Collections.Generic.Dictionary\u003CSystem.String, System.Int32\u003E::.ctor()","System.Collections.Generic.IEnumerable\u003CShared.Models.Items.ResourceAmount\u003E::GetEnumerator()","System.Collections.Generic.IEnumerator\u003CShared.Models.Items.ResourceAmount\u003E::get_Current()","System.Collections.Generic.Dictionary\u003CSystem.String, System.Int32\u003E::set_Item(!0, !1)","System.Collections.Generic.Dictionary\u003CSystem.String, System.Int32\u003E::TryGetValue(!0, !1\u0026)","System.Collections.IEnumerator::MoveNext()","System.IDisposable::Dispose()"],"StringLiterals":[],"Source":null}],"Hash":"ED0F83DD526C7033A87A60500E4834E6C97C1A5A733A16FB2F419FF1751BE82A"}