CandideServer.ServerControllers.SourceServerController
Type JSONpublic class in CandideServer.ServerControllers
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.ServerControllers - Base type
System.Object - Hash
095B9B7F651831033ED7CD6702EFCB55C260A919620A4AE2A2F9D7537653A09E
Relationships
Base type
System.Object
Methods
RegisterSource
#
public CandideServer.Models.SourceModel RegisterSource(CandideServer.MessageModels.RegisterSourceMessage msg)
Method metadata
- Visibilitypublic
- Return type
CandideServer.Models.SourceModel - StaticTrue
- VirtualFalse
- Hash
52CB906AD76B5A24EF54E0792E53B2143FE31056321E527A3A6D811B46CC1BCE - Body hash
E43734348C1F8CFE7D24877E724DD19D30A33E42FB3EF812795B6DFEEF984E8B - IL size226
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, CandideServer.SimulationModels.BuildingSimulationModel>::TryGetValue(!0, !1&)CandideServer.Models.SourceModel::.ctor()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.SourceModel>::Add(!0, !1)System.Collections.Generic.List<System.Guid>::GetEnumerator()List.Enumerator<System.Guid>::get_Current()System.Collections.Generic.Dictionary<System.Guid, CandideServer.SimulationModels.CitizenSlotSimulationModel>::get_Item(!0)System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::get_Value()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.JobModel>::TryGetValue(!0, !1&)System.Collections.Generic.List<CandideServer.Models.SourceModel>::Add(!0)List.Enumerator<System.Guid>::MoveNext()System.IDisposable::Dispose()
UnregisterSource
#
public System.Void UnregisterSource(CandideServer.MessageModels.UnregisterSourceMessage msg)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
787D6CD51A2D65BC3A136A2C71D21764F4F627F7D672CB8CB058D6A987672EAC - Body hash
6D1EF921B5B79ED70052EE380F7195453CEC1F56EAB1BCA9AD02E33940C0C808 - IL size179
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.SourceModel>::TryGetValue(!0, !1&)System.Collections.Generic.Dictionary<System.Guid, CandideServer.SimulationModels.BuildingSimulationModel>::TryGetValue(!0, !1&)System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.SourceModel>::Remove(!0)System.Collections.Generic.List<System.Guid>::GetEnumerator()List.Enumerator<System.Guid>::get_Current()System.Collections.Generic.Dictionary<System.Guid, CandideServer.SimulationModels.CitizenSlotSimulationModel>::get_Item(!0)System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::get_Value()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.JobModel>::TryGetValue(!0, !1&)System.Collections.Generic.List<CandideServer.Models.SourceModel>::Remove(!0)List.Enumerator<System.Guid>::MoveNext()System.IDisposable::Dispose()
Called by
CandideServer.Buildings.BuildingControllers.BakeryController::OnBuildingRemoveCandideServer.Buildings.BuildingControllers.BlacksmithController::OnBuildingRemoveCandideServer.Buildings.BuildingControllers.BrickOvenController::OnBuildingRemoveCandideServer.Buildings.BuildingControllers.PotteryController::OnBuildingRemove