CandideServer.ServerControllers.LogisticsServerController
Type JSONpublic class in CandideServer.ServerControllers
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.ServerControllers - Base type
System.Object - Hash
37A4B6F29494544947E67145D47405569E6165DBB159080A16B12E4E54B205C8
Relationships
Base type
System.Object
Methods
CreateConnection
#
public CandideServer.Models.Logistics.LogisticsConnectionModel CreateConnection(System.Guid sourceBuildingId, System.Guid destinationBuildingId, Shared.Models.Buildings.BuildingLogisticsConfig config)
Method metadata
- Visibilitypublic
- Return type
CandideServer.Models.Logistics.LogisticsConnectionModel - StaticTrue
- VirtualFalse
- Hash
18F60601893939B2BDE26FEF2867BEF66D745C65C845C9B3F25B1935F3D9B5AF - Body hash
67234A2C9A5962DB649D76B1B9ECB92C8C0FB74C21618753BC77CEB6E8CCF76A - IL size248
Referenced calls
System.Guid::op_Equality(System.Guid, System.Guid)CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)System.Collections.Generic.Dictionary<System.Guid, CandideServer.SimulationModels.BuildingSimulationModel>::TryGetValue(!0, !1&)CandideServer.ServerControllers.LogisticsServerController::ValidateConfig(Shared.Models.Buildings.BuildingLogisticsConfig, CandideServer.SimulationModels.BuildingSimulationModel, CandideServer.SimulationModels.BuildingSimulationModel)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&)List.Enumerator<System.Guid>::MoveNext()System.IDisposable::Dispose()System.Guid::NewGuid()CandideServer.Models.Logistics.LogisticsConnectionModel::.ctor()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Logistics.LogisticsConnectionModel>::set_Item(!0, !1)System.Collections.Generic.List<System.Guid>::Add(!0)
String literals
CreateConnection: Logistics config is invalid
RemoveBuildingConnections
#
public System.Collections.Generic.List<System.Guid> RemoveBuildingConnections(CandideServer.SimulationModels.BuildingSimulationModel building)
Method metadata
- Visibilitypublic
- Return type
System.Collections.Generic.List<System.Guid> - StaticTrue
- VirtualFalse
- Hash
D40E5FC0C783B2742F04F8AEF2CC6A17D9666EFD5A351C9BE444A8F6818478AD - Body hash
C63AE17D88B35501E4A49B1C498D505639408EE1D1FF0C02DE4EB143A55FCF21 - IL size173
Referenced calls
System.Collections.Generic.List<System.Guid>::.ctor()System.Collections.Generic.List<System.Guid>::GetEnumerator()List.Enumerator<System.Guid>::get_Current()System.Collections.Generic.List<System.Guid>::Add(!0)List.Enumerator<System.Guid>::MoveNext()System.IDisposable::Dispose()CandideServer.ServerControllers.LogisticsServerController::RemoveConnection(System.Guid)
RemoveConnection
#
public System.Boolean RemoveConnection(System.Guid connectionId)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
45F7AF54B5D1421783A8350A6568FE5C45CA5B39F5AD2CCD181E4732718E5237 - Body hash
A23B887D95748367C162F15D55607CAEF9F37CDE150ED09D75EA87C7E5B31316 - IL size97
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Logistics.LogisticsConnectionModel>::Remove(!0, !1&)System.Collections.Generic.Dictionary<System.Guid, CandideServer.SimulationModels.BuildingSimulationModel>::TryGetValue(!0, !1&)System.Collections.Generic.List<System.Guid>::Remove(!0)
UpdateConnection
#
public CandideServer.Models.Logistics.LogisticsConnectionModel UpdateConnection(System.Guid connectionId, Shared.Models.Buildings.BuildingLogisticsConfig config)
Method metadata
- Visibilitypublic
- Return type
CandideServer.Models.Logistics.LogisticsConnectionModel - StaticTrue
- VirtualFalse
- Hash
FC1BA2BC021BCD321F8112D8E204A288BD670AD693BE053BCA68DFAEC19FD078 - Body hash
0C9B23130CDA2E5A98CFDED51470969FE3509D00DD1EE2AFC77CD5F85D6BA98D - IL size21
Referenced calls
ValidateConfig
#
private System.Boolean ValidateConfig(Shared.Models.Buildings.BuildingLogisticsConfig config, CandideServer.SimulationModels.BuildingSimulationModel sourceBuilding, CandideServer.SimulationModels.BuildingSimulationModel destinationBuilding)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
6D85C5236748C1418BFEE55AE8244895C9A06CC8D79D55B7CF3BF730A063CB63 - Body hash
07FE110D5BBD3315AFE11FBE52364BEB74ED994CF6F4634CD06EAF9E22CC8462 - IL size84
Referenced calls
Shared.Models.Buildings.BuildingLogisticsConfigExtensions::IsValid(Shared.Models.Buildings.BuildingLogisticsConfig)CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)Shared.Models.Buildings.BuildingLogisticsConfigExtensions::IsSatisfiedBy(System.Nullable<Shared.Models.Buildings.BuildingLogisticsConfig>, Shared.Models.Buildings.BuildingLogisticsConfig)
String literals
CreateConnection: Logistics config is invalidCreateConnection: Source building Output is not satisfied by the provided configCreateConnection: Destination building Input is not satisfied by the provided config