Romestead Assembly Reference

Candide.GameModels.Managers.TownsManager

Type JSON

public class in Candide.GameModels.Managers

Methods9
Properties0
Fields0
Events0
Type metadata
  • AssemblyRomestead
  • NamespaceCandide.GameModels.Managers
  • Base typeSystem.Object
  • Hash93C324E751EB2CAAE294E1650029181E12AA30D34E3FD62BE87F969E775CB6EA

Relationships

Base type

System.Object

Methods

AssignCitizenToSlot

public System.Void AssignCitizenToSlot(System.Guid citizenId, System.Guid citizenSlotId, System.Guid citizenSlotBuildingId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash41B87E1359F738E245DE31334F93E822D14857CED367F8D371F754DB2742A963
  • Body hashEC52F232DFF51FE6B108293F6E0231DDE2743C4EB3BB7A72AD6825767BC19FDC
  • IL size32
Referenced calls
Called by

FindAnyLogisticsTentForTown

public System.Nullable<System.Guid> FindAnyLogisticsTentForTown(CandideServer.Models.Town.TownModel town)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Nullable<System.Guid>
  • StaticTrue
  • VirtualFalse
  • Hash45335E499E15B161FDD3DBBE056E283DEEC99F8B49B2B2AA08E9434E94B4F21E
  • Body hashC39497D15C43AD07D6F4FF1FC4B6D993259A1EDBE8F19B6DBBEBBD2AE76F0490
  • IL size114
Referenced calls
Called by
String literals
  • logistics_tent

FindHighestLevelledCarpenterForTown

public System.Nullable<System.Guid> FindHighestLevelledCarpenterForTown(CandideServer.Models.Town.TownModel town)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Nullable<System.Guid>
  • StaticTrue
  • VirtualFalse
  • Hash2B3A72F379794CA3E79411DF45602ADF3FCA75B3F43296EDCCBB5A5FEB3FA1BE
  • Body hash56AAA01401E7A626136D9277AEED5F5F290C00552FC4147690FB8687ACCF5212
  • IL size146
Referenced calls
Called by
String literals
  • carpenter

GetAllMaterialStoragesForTown

public System.Collections.Generic.HashSet<System.Guid> GetAllMaterialStoragesForTown(CandideServer.Models.Town.TownModel town)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Collections.Generic.HashSet<System.Guid>
  • StaticTrue
  • VirtualFalse
  • HashF569121F378098A0F7B990EAEDB0CA16F2D26CFB4CECE2086BDE35E2C88966D3
  • Body hashCF4EB8D7A3018399F289DD26A47899D1701EEE1044156C71C47BDEB884C4DCD2
  • IL size101
Referenced calls
Called by
String literals
  • material_storage

GetAvailableBuildingAndSlotForOneCitizen

public System.Nullable<System.ValueTuple<Candide.GameModels.Models.Constructions.Building, Candide.GameModels.Models.Citizens.CitizenSlot>> GetAvailableBuildingAndSlotForOneCitizen(Candide.GameModels.Models.ClientTownModel town)

Method metadata
Referenced calls
  • System.Collections.Generic.HashSet<System.Guid>::get_Count()
  • System.Collections.Generic.HashSet<System.Guid>::GetEnumerator()
  • HashSet.Enumerator<System.Guid>::get_Current()
  • System.Nullable<System.Guid>::.ctor(!0)
  • Candide.GameModels.GameState::TryGetBuilding(System.Nullable<System.Guid>, Candide.GameModels.Models.Constructions.Building&)
  • System.Collections.Generic.List<Candide.GameModels.Models.Citizens.CitizenSlot>::GetEnumerator()
  • List.Enumerator<Candide.GameModels.Models.Citizens.CitizenSlot>::get_Current()
  • Candide.GameModels.Models.Citizens.CitizenSlot::get_IsOccupied()
  • System.Nullable<System.ValueTuple<Candide.GameModels.Models.Constructions.Building, Candide.GameModels.Models.Citizens.CitizenSlot>>::get_HasValue()
  • System.ValueTuple<Candide.GameModels.Models.Constructions.Building, Candide.GameModels.Models.Citizens.CitizenSlot>::.ctor(!0, !1)
  • System.Nullable<System.ValueTuple<Candide.GameModels.Models.Constructions.Building, Candide.GameModels.Models.Citizens.CitizenSlot>>::.ctor(!0)
  • List.Enumerator<Candide.GameModels.Models.Citizens.CitizenSlot>::MoveNext()
  • System.IDisposable::Dispose()
  • HashSet.Enumerator<System.Guid>::MoveNext()
  • CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)
Called by
String literals
  • GetAvailableBuildingAndSlotForOneCitizen: We have more citizens than slots for some reason. Unexpected

GetClosestTown

public Candide.GameModels.Models.ClientTownModel GetClosestTown(Microsoft.Xna.Framework.Vector2 worldPosition)

Method metadata
  • Visibilitypublic
  • Return typeCandide.GameModels.Models.ClientTownModel
  • StaticTrue
  • VirtualFalse
  • HashAE7894707AFEAB3BD9ABB8F485478F16E94C69A76072EE02330631AE2A22B163
  • Body hash9C11AC8C18F6DE60F6B7D7C86EF037A1E8DF18D328EE27B2ADD24709D3F357F0
  • IL size90
Referenced calls
  • Microsoft.Xna.Framework.Vector2::op_Division(Microsoft.Xna.Framework.Vector2, System.Single)
  • System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Models.ClientTownModel>::get_Values()
  • Dictionary.ValueCollection<System.Guid, Candide.GameModels.Models.ClientTownModel>::GetEnumerator()
  • Dictionary.ValueCollection.Enumerator<System.Guid, Candide.GameModels.Models.ClientTownModel>::get_Current()
  • Microsoft.Xna.Framework.Rectangle::Contains(Microsoft.Xna.Framework.Vector2)
  • Dictionary.ValueCollection.Enumerator<System.Guid, Candide.GameModels.Models.ClientTownModel>::MoveNext()
  • System.IDisposable::Dispose()
Called by

GetClosestTownWithAvailableSlot

public Candide.GameModels.Models.ClientTownModel GetClosestTownWithAvailableSlot()

Method metadata
  • Visibilitypublic
  • Return typeCandide.GameModels.Models.ClientTownModel
  • StaticTrue
  • VirtualFalse
  • Hash9F2D32B863E857595CD3AB19CCF1BC6D7227A8294915ABE8DF008FD3C9CECC0E
  • Body hash18E5203F0D2686E479E3EC4160ACCAC47FFEB17E6317F760FDB4211EC186C010
  • IL size262
Referenced calls
  • System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Models.ClientTownModel>::GetEnumerator()
  • Dictionary.Enumerator<System.Guid, Candide.GameModels.Models.ClientTownModel>::get_Current()
  • System.Collections.Generic.KeyValuePair<System.Guid, Candide.GameModels.Models.ClientTownModel>::Deconstruct(!0&, !1&)
  • System.Collections.Generic.HashSet<System.Guid>::get_Count()
  • System.Collections.Generic.HashSet<System.Guid>::GetEnumerator()
  • HashSet.Enumerator<System.Guid>::get_Current()
  • System.Nullable<System.Guid>::.ctor(!0)
  • Candide.GameModels.GameState::TryGetBuilding(System.Nullable<System.Guid>, Candide.GameModels.Models.Constructions.Building&)
  • System.Collections.Generic.List<Candide.GameModels.Models.Citizens.CitizenSlot>::GetEnumerator()
  • List.Enumerator<Candide.GameModels.Models.Citizens.CitizenSlot>::get_Current()
  • Candide.GameModels.Models.Citizens.CitizenSlot::get_IsOccupied()
  • List.Enumerator<Candide.GameModels.Models.Citizens.CitizenSlot>::MoveNext()
  • System.IDisposable::Dispose()
  • HashSet.Enumerator<System.Guid>::MoveNext()
  • CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)
  • Dictionary.Enumerator<System.Guid, Candide.GameModels.Models.ClientTownModel>::MoveNext()
Called by
String literals
  • GetClosestTownWithAvailableSlot: We have more citizens than slots for some reason. Unexpected

SwitchCitizenSlots

public System.Void SwitchCitizenSlots(System.Guid sourceCitizenId, System.Guid sourceCitizenSlotId, System.Guid sourceCitizenSlotBuildingId, System.Guid targetSlotId, System.Guid targetSlotBuildingId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashE154A64B48162109ECFDF766831ABA922495B044E5BE86569B34C7E4CEAEACA4
  • Body hashC811AC1FF3317AEBD4E102A5FDC8E0D5F40260E93E40BB32B8DDE97DF5079250
  • IL size47
Referenced calls
Called by

UnassignCitizenFromSlot

public System.Void UnassignCitizenFromSlot(System.Guid citizenId, System.Guid citizenSlotId, System.Guid citizenSlotBuildingId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash453DDD85CFDDA70BB1A8C157C2D0EC3CCC09AFE884D089C29151A3B22E74B583
  • Body hash85CF410FD3D9FBF17B5B61FBA776D64571182E4323C9A1598A23630D71D193BF
  • IL size32
Referenced calls
Called by