CandideServer.ServerManagers.LogisticsServerManager_Requesting
Type JSONpublic class in CandideServer.ServerManagers
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.ServerManagers - Base type
System.Object - Hash
E684E30A4E8D0D6481BD09837F480CAD0409194B82B8D842F46F440600E1659F
Relationships
Base type
System.Object
Fields
| Name | Visibility | Signature |
|---|---|---|
Args# | private | private CandideServer.ServerManagers.RequestingCheckBuildingDestructiveArgs Args |
Methods
CheckIsDone
#
private System.Void CheckIsDone(CandideServer.ServerManagers.RequestingCheckBuildingDestructiveArgs args)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
9A557F82C49800EAD49FC37865176CE36F22ECF3EB9C8BC088E9F97A24AC622C - Body hash
B7AA9337D9F17D9DB144EF543414343FF702402152184EE8EC7F06FA5522331A - IL size52
LogisticsRequesting_CheckBuilding
#
private System.Void LogisticsRequesting_CheckBuilding(System.Guid buildingId, System.Nullable<System.Guid> inputStorageId, System.Nullable<System.Guid> outputStorageId, System.Boolean checkOutputs, System.Boolean checkStorage, CandideServer.ServerManagers.RequestingCheckBuildingDestructiveArgs args)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
0CE2512F322169F913432DE6275DC738A9E1E90B34E3E2D975262C084E61E53A - Body hash
110E39AF18B078F37F143820631C3314594505EE4D9639C38EC0D6512695E382 - IL size234
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, CandideServer.ServerManagers.RequestingResult>::ContainsKey(!0)CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)System.Collections.Generic.Dictionary<System.String, System.Int32>::.ctor()System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::get_Value()CandideServer.ServerGameState::TryGetInternalResourceStorage(System.Guid, CandideServer.Models.InternalResourceStorageModel&)CandideServer.ServerManagers.LogisticsServerManager_Requesting::<LogisticsRequesting_CheckBuilding>g__CheckResourceStorage|4_0(CandideServer.Models.InternalResourceStorageModel, LogisticsServerManager_Requesting.<>c__DisplayClass4_0&)System.Collections.Generic.Dictionary<System.Guid, CandideServer.ServerManagers.RequestingResult>::set_Item(!0, !1)CandideServer.ServerManagers.LogisticsServerManager_Requesting::CheckIsDone(CandideServer.ServerManagers.RequestingCheckBuildingDestructiveArgs)
Called by
String literals
Tried to check same building twice in LogisticsServerManager_Requesting
RequestItemsThroughInputConnections
#
private Shared.Inventory.DeltaModels.DeltaComplexResult RequestItemsThroughInputConnections(System.Collections.Generic.List<System.Guid> inputConnectionIds, Shared.Models.Items.ItemAmount[] itemAmounts, System.Nullable<System.UInt64> moneyAmount, Shared.Models.Items.SharedInventoryModel targetInventory, System.Boolean deductItemAmountsFromInternal)
Method metadata
- Visibilityprivate
- Return type
Shared.Inventory.DeltaModels.DeltaComplexResult - StaticTrue
- VirtualFalse
- Hash
F54BB6391696CD494C28032777FECC161D282E174D511F9BAC2E4875F84DB3E2 - Body hash
D09A758E04DB8EA82677A3A0B653CEA301DF0B42419CC811C32C9A841D0DC814 - IL size163
Referenced calls
System.Collections.Generic.List<Shared.Models.Items.SharedInventoryModel>::.ctor()System.Collections.Generic.List<Shared.Models.Items.SharedInventoryModel>::Add(!0)System.Collections.Generic.List<System.Guid>::GetEnumerator()List.Enumerator<System.Guid>::get_Current()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Logistics.LogisticsConnectionModel>::TryGetValue(!0, !1&)CandideServer.ServerGameState::TryGetBuilding(System.Guid, CandideServer.SimulationModels.BuildingSimulationModel&)System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::get_Value()CandideServer.ServerGameState::TryGetInventory(System.Guid, Shared.Models.Items.SharedInventoryModel&)List.Enumerator<System.Guid>::MoveNext()System.IDisposable::Dispose()System.Collections.Generic.List<Shared.Models.Items.SharedInventoryModel>::ToArray()Shared.Inventory.ComplexInventoryDeltaEngine::FulfillAmountsFromInventoriesToInventory(System.Collections.Generic.IReadOnlyCollection<Shared.Models.Items.ItemAmount>, Shared.Models.Items.SharedInventoryModel[], System.Int32, System.Nullable<System.UInt64>, System.Boolean, System.Boolean)
TryRequestIngredients
#
public System.Boolean TryRequestIngredients(CandideServer.Models.Buildings.BuildingInstanceModel building, Shared.Models.Items.ItemAmount[] itemIngredients, Shared.Models.Items.ResourceAmount[] resourceIngredients, System.Int32 moneyCost)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
E812224140882A8C3499EE79290F3594F509345DCB72BD0CC4E9BFAAF8482486 - Body hash
6FCFFCF5AACF66B20961CCC57BC8B3C8CC7BF394B9BBE9124D3DEC75B9061039 - IL size150
Referenced calls
System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::get_Value()CandideServer.ServerGameState::TryGetInventory(System.Guid, Shared.Models.Items.SharedInventoryModel&)System.String::Concat(System.String, System.String, System.String)Shared.Analytics.AnalyticsManager::TrackError(System.String)CandideServer.ServerGameState::TryGetInternalResourceStorage(System.Guid, CandideServer.Models.InternalResourceStorageModel&)CandideServer.ServerManagers.LogisticsServerManager_Requesting::Unsafe_TryRequestIngredients(Shared.Models.Items.SharedInventoryModel, CandideServer.Models.InternalResourceStorageModel, System.Guid, System.Collections.Generic.List<System.Guid>, Shared.Models.Items.ItemAmount[], Shared.Models.Items.ResourceAmount[], System.Int32, System.Boolean)
Called by
String literals
LogisticsServerManager_Requesting: Failed finding storage inventory for building. Has it failed to be created?LogisticsServerManager_Requesting: Failed finding resource storage for building
TrySpendAvailableResources
#
public System.Boolean TrySpendAvailableResources(System.Guid resourceSourceId, Shared.Models.Items.ResourceAmount[] resourceAmounts, System.Boolean includeBuildingsOwnResources, System.Boolean doNotModifyResourceAmountsArray)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
4F99EB01FC6ED6E92839ECC7801DDB65FC2938183407BA13141FE01E65A3EA65 - Body hash
33BDBF5CEBF0BB944B89249B91FB2228C797A159F1039FF891B0A03AE762DA30 - IL size11
Referenced calls
System.NotImplementedException::.ctor(System.String)
String literals
Spend the resources as if we made a request for them through our connections.
Unsafe_TryRequestIngredients
#
public System.Boolean Unsafe_TryRequestIngredients(Shared.Models.Items.SharedInventoryModel buildingInventory, CandideServer.Models.InternalResourceStorageModel buildingStorage, System.Guid targetBuildingId, System.Collections.Generic.List<System.Guid> buildingInputConnectionIds, Shared.Models.Items.ItemAmount[] itemIngredients, Shared.Models.Items.ResourceAmount[] resourceIngredients, System.Int32 moneyCost, System.Boolean skipInternalFirstCheck)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
DF8ECA292D58A6F8B58FBFF7A50D55E70710997920C1E6F6B035E137EF0DC4DD - Body hash
A54A360E4A5D2FF330AFB310754438B6D03EBDAB560EFF247334AC5ABA5A39A2 - IL size727
Referenced calls
CandideServer.ServerManagers.RequestingCheckBuildingDestructiveArgs::Clear()System.Linq.Enumerable::ToArray(System.Collections.Generic.IEnumerable<!!0>)CandideServer.Exceptions.RequestingLogisticsException::.ctor(System.String)System.Nullable<System.UInt64>::.ctor(!0)CandideServer.ServerManagers.LogisticsServerManager_Requesting::RequestItemsThroughInputConnections(System.Collections.Generic.List<System.Guid>, Shared.Models.Items.ItemAmount[], System.Nullable<System.UInt64>, Shared.Models.Items.SharedInventoryModel, System.Boolean)System.Nullable<System.Guid>::.ctor(!0)CandideServer.ServerManagers.LogisticsServerManager_Requesting::LogisticsRequesting_CheckBuilding(System.Guid, System.Nullable<System.Guid>, System.Nullable<System.Guid>, System.Boolean, System.Boolean, CandideServer.ServerManagers.RequestingCheckBuildingDestructiveArgs)System.Collections.Generic.List<System.Guid>::GetEnumerator()List.Enumerator<System.Guid>::get_Current()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Logistics.LogisticsConnectionModel>::TryGetValue(!0, !1&)System.Guid::op_Inequality(System.Guid, System.Guid)System.Collections.Generic.Dictionary<System.Guid, CandideServer.SimulationModels.BuildingSimulationModel>::TryGetValue(!0, !1&)List.Enumerator<System.Guid>::MoveNext()System.IDisposable::Dispose()CandideServer.ServerManagers.ServerSimpleInventoryManager_Server::Server_InventoryApplyManyDelta(System.Collections.Generic.IReadOnlyCollection<Shared.Inventory.DeltaModels.DeltaAction>)System.Collections.Generic.HashSet<System.String>::.ctor()System.Collections.Generic.List<System.ValueTuple<CandideServer.Models.InternalResourceStorageModel, System.Collections.Generic.HashSet<System.String>>>::.ctor()System.Collections.Generic.Dictionary<System.Guid, CandideServer.ServerManagers.RequestingResult>::GetEnumerator()Dictionary.Enumerator<System.Guid, CandideServer.ServerManagers.RequestingResult>::get_Current()System.Collections.Generic.KeyValuePair<System.Guid, CandideServer.ServerManagers.RequestingResult>::Deconstruct(!0&, !1&)System.Guid::op_Equality(System.Guid, System.Guid)System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::get_Value()CandideServer.ServerGameState::TryGetInternalResourceStorage(System.Guid, CandideServer.Models.InternalResourceStorageModel&)CandideServer.ServerManagers.RequestingResult::GetResourceAmounts()CandideServer.ServerControllers.InternalResourceStorageSController::MoveWhateverPossibleFromSourceToDestination(CandideServer.Models.InternalResourceStorageModel, CandideServer.Models.InternalResourceStorageModel, Shared.Models.Items.ResourceAmount[], System.Int32, System.Collections.Generic.HashSet<System.String>, System.Collections.Generic.HashSet<System.String>)System.ValueTuple<CandideServer.Models.InternalResourceStorageModel, System.Collections.Generic.HashSet<System.String>>::.ctor(!0, !1)System.Collections.Generic.List<System.ValueTuple<CandideServer.Models.InternalResourceStorageModel, System.Collections.Generic.HashSet<System.String>>>::Add(!0)Dictionary.Enumerator<System.Guid, CandideServer.ServerManagers.RequestingResult>::MoveNext()System.Collections.Generic.List<System.ValueTuple<CandideServer.Models.InternalResourceStorageModel, System.Collections.Generic.HashSet<System.String>>>::get_Count()CandideServer.ServerManagers.InternalResourceStorageServerManager::SendMultipleUpdatedStorageResourceAmounts(System.Collections.Generic.List<System.ValueTuple<CandideServer.Models.InternalResourceStorageModel, System.Collections.Generic.HashSet<System.String>>>)CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)
Called by
String literals
BuildingInventory is not set but something expects us to have the possibility to add items. The world is most likely outInternalBuildingStorage is not set but something expects us to have the possibility to add resources. The world is mostBuilding's input connection IDs have a connection where the destination is not the building itself. Server Game State isPartial fault inside LogisticsServerManager_Requesting. Probably we ran out of space but good to investigate.