Romestead Assembly Reference

Candide.GameModels.Managers.BuildingsManager

Type JSON

public class in Candide.GameModels.Managers

Methods8
Properties0
Fields0
Events0
Type metadata
  • AssemblyRomestead
  • NamespaceCandide.GameModels.Managers
  • Base typeSystem.Object
  • HashF13B41DB5E2DE345BB1527793C6075FB520D000605803E69B3B00CA7C8A4AD80

Relationships

Base type

System.Object

Methods

BuildingSpawned

public System.Void BuildingSpawned(CandideServer.MessageModels.Buildings.BuildingSpawnedMessage msg)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash8B500B72207EAA1E8D739D517ED48532E7597D0A222262CF98F505756D9E1ABC
  • Body hash9264EE1BC3879B11511FAF85D92243DF5A9AD58D33F7DB447ED6976312A472AB
  • IL size403
Referenced calls
Called by
String literals
  • event:/buildings/building_built
  • event:/buildings/infrastructure_built
  • player-built-construction

BuildingUpgraded

public System.Void BuildingUpgraded(CandideServer.Models.Buildings.BuildingInstanceModel buildingInstance, System.Collections.Generic.List<CandideServer.Models.Citizen.CitizenSlotModel> updatedBuildingCitizenSlots)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashA9F997C9EE8ED3D1366F6A538DEBEAF6C6D1F342E594DD1A7D3D1049EEB2745A
  • Body hashF922BB2B62C8017B8161FBA6ABF2D087D2C975B1BCD22E9B247C9CF0EFAD024D
  • IL size82
Referenced calls
Called by
String literals
  • altar
  • event:/buildings/upgrade_building
  • event:/interface/altar/ui_altar_upgrade

CreateGameStateOverview

public System.Void CreateGameStateOverview()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash73589972B8DBBA906617C9BD91276F93975326497ABF06FE57F891FB1052E8D8
  • Body hash6274FEC95767AC72527FEC7C3B7850EB9EA65C59026E9C9E56A0DA79C18885BE
  • IL size1353
Referenced calls
  • System.String::op_Implicit(System.String)
  • ImGuiNET.ImGui::Text(System.ReadOnlySpan<System.Char>)
  • 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.Object::ToString()
  • Dictionary.Enumerator<System.Guid, Candide.GameModels.Models.ClientTownModel>::MoveNext()
  • System.IDisposable::Dispose()
  • System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Models.Constructions.Building>::GetEnumerator()
  • Dictionary.Enumerator<System.Guid, Candide.GameModels.Models.Constructions.Building>::get_Current()
  • System.Collections.Generic.KeyValuePair<System.Guid, Candide.GameModels.Models.Constructions.Building>::Deconstruct(!0&, !1&)
  • Dictionary.Enumerator<System.Guid, Candide.GameModels.Models.Constructions.Building>::MoveNext()
  • System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Logistics.LogisticsConnectionModel>::GetEnumerator()
  • Dictionary.Enumerator<System.Guid, CandideServer.Models.Logistics.LogisticsConnectionModel>::get_Current()
  • System.Collections.Generic.KeyValuePair<System.Guid, CandideServer.Models.Logistics.LogisticsConnectionModel>::Deconstruct(!0&, !1&)
  • Dictionary.Enumerator<System.Guid, CandideServer.Models.Logistics.LogisticsConnectionModel>::MoveNext()
  • BuildingsManager.<>c::<CreateGameStateOverview>b__2_0(System.Collections.Generic.KeyValuePair<System.Guid, Candide.GameModels.Models.Constructions.Building>)
  • System.Func<System.Collections.Generic.KeyValuePair<System.Guid, Candide.GameModels.Models.Constructions.Building>, System.Collections.Generic.List<Candide.GameModels.Models.Citizens.CitizenSlot>>::.ctor(System.Object, System.IntPtr)
  • System.Linq.Enumerable::Select(System.Collections.Generic.IEnumerable<!!0>, System.Func<!!0, !!1>)
  • System.Collections.Generic.IEnumerable<System.Collections.Generic.List<Candide.GameModels.Models.Citizens.CitizenSlot>>::GetEnumerator()
  • System.Collections.Generic.IEnumerator<System.Collections.Generic.List<Candide.GameModels.Models.Citizens.CitizenSlot>>::get_Current()
  • System.Collections.Generic.List<Candide.GameModels.Models.Citizens.CitizenSlot>::GetEnumerator()
  • List.Enumerator<Candide.GameModels.Models.Citizens.CitizenSlot>::get_Current()
  • List.Enumerator<Candide.GameModels.Models.Citizens.CitizenSlot>::MoveNext()
  • System.Collections.IEnumerator::MoveNext()
  • BuildingsManager.<>c::<CreateGameStateOverview>b__2_1(System.Collections.Generic.KeyValuePair<System.Guid, Candide.GameModels.Models.ClientTownModel>)
  • System.Func<System.Collections.Generic.KeyValuePair<System.Guid, Candide.GameModels.Models.ClientTownModel>, System.Collections.Generic.HashSet<System.Guid>>::.ctor(System.Object, System.IntPtr)
  • System.Collections.Generic.IEnumerable<System.Collections.Generic.HashSet<System.Guid>>::GetEnumerator()
  • System.Collections.Generic.IEnumerator<System.Collections.Generic.HashSet<System.Guid>>::get_Current()
  • System.Collections.Generic.HashSet<System.Guid>::GetEnumerator()
  • HashSet.Enumerator<System.Guid>::get_Current()
  • HashSet.Enumerator<System.Guid>::MoveNext()
String literals
  • TOWNS
  • BUILDINGS
  • CONNECTIONS
  • SLOTS
  • TOWN CITIZENS
  • DECORATIONS
  • ACTIVE INVENTORIES
  • -
  • ACTIVE INTERNAL RESOURCE STORAGES
  • ACTIVE CITIZENS
  • ACTIVE JOBS

CreateImGui

public System.Void CreateImGui()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashA52BE9BC387D516BD6A2CE6FCBC8DEDFCD22E01D6E4F5E8C42335B1A5A23C728
  • Body hashD3806F324F6BF782EB2A2A32C083803BEA8A999B948C70828FFB0DE06C6D0803
  • IL size401
Referenced calls
  • System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Models.Constructions.Building>::GetEnumerator()
  • Dictionary.Enumerator<System.Guid, Candide.GameModels.Models.Constructions.Building>::get_Current()
  • System.Collections.Generic.KeyValuePair<System.Guid, Candide.GameModels.Models.Constructions.Building>::Deconstruct(!0&, !1&)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()
  • System.String::op_Implicit(System.String)
  • ImGuiNET.ImGui::Text(System.ReadOnlySpan<System.Char>)
  • ImGuiNET.ImGui::SameLine()
  • Shared.Data.ConstructionDataBase::GetUpgradesForBuilding(System.String)
  • System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel>::get_Count()
  • System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel>::get_Item(System.Int32)
  • ImGuiNET.ImGui::Button(System.ReadOnlySpan<System.Char>)
  • Candide.GameModels.Services.BuildingsService::Send_UpgradeBuildingCheat(System.Guid, System.String)
  • CandideServer.MessageModels.Buildings.RemoveBuildingMessage::.ctor()
  • Candide.GameModels.Services.BuildingsService::Send_RemoveBuilding(CandideServer.MessageModels.Buildings.RemoveBuildingMessage)
  • Dictionary.Enumerator<System.Guid, Candide.GameModels.Models.Constructions.Building>::MoveNext()
  • System.IDisposable::Dispose()
String literals
  • Level up to level
  • (
  • )
  • Maximum upgrade reached
  • Demolish (

CreateOverviewImGui

public System.Void CreateOverviewImGui()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash0D9D72424E8262E5650F2B0E351DB4C4A92294CE8130EBEB5A0D924AE9F8BFCC
  • Body hashB4FBF36468C2F994AE80C2388ACE8E36449211CD621C3B0646FF42DF41DA666E
  • IL size1174
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.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)
  • CandideServer.Models.Town.TownModel::GetLocalizedName()
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()
  • System.String::op_Implicit(System.String)
  • ImGuiNET.ImGui::TreeNode(System.ReadOnlySpan<System.Char>)
  • ImGuiNET.ImGui::Text(System.ReadOnlySpan<System.Char>)
  • System.Numerics.Vector4::.ctor(System.Single)
  • System.Numerics.Vector4::.ctor(System.Single, System.Single, System.Single, System.Single)
  • 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.String::ToUpper()
  • System.String::Concat(System.String, System.String, System.String)
  • ImGuiNET.ImGui::TextColored(System.Numerics.Vector4, System.ReadOnlySpan<System.Char>)
  • 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()
  • ImGuiNET.ImGui::SameLine(System.Single)
  • Shared.Text.StringExtensions::GetTranslation(Shared.Text.StringId)
  • ImGuiNET.ImGui::SameLine()
  • List.Enumerator<Candide.GameModels.Models.Citizens.CitizenSlot>::MoveNext()
  • System.IDisposable::Dispose()
  • System.Collections.Generic.List<System.Guid>::GetEnumerator()
  • List.Enumerator<System.Guid>::get_Current()
  • Candide.GameModels.GameState::TryGetLogisticsConnection(System.Guid, CandideServer.Models.Logistics.LogisticsConnectionModel&)
String literals
  • -
  • [
  • ] -
  • [ ] -
  • <-
  • ->
  • Internal resource storage
  • Output resource storage
  • Storage inventory
  • Output inventory

CreateServerGameStateOverview

public System.Void CreateServerGameStateOverview()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash6A7092286EB6C0EB37A1487DE1CC30CF03CA9A46D40F1C54A68289EAE310E1FE
  • Body hash096E5DB955B965A1EFCC7247F24F5FF65B2AC3D0A49F6214299D02446261760D
  • IL size2990
Referenced calls
  • System.String::op_Implicit(System.String)
  • ImGuiNET.ImGui::Text(System.ReadOnlySpan<System.Char>)
  • System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Town.ServerTownModel>::GetEnumerator()
  • Dictionary.Enumerator<System.Guid, CandideServer.Models.Town.ServerTownModel>::get_Current()
  • System.Collections.Generic.KeyValuePair<System.Guid, CandideServer.Models.Town.ServerTownModel>::Deconstruct(!0&, !1&)
  • System.Object::ToString()
  • Dictionary.Enumerator<System.Guid, CandideServer.Models.Town.ServerTownModel>::MoveNext()
  • System.IDisposable::Dispose()
  • System.Collections.Generic.Dictionary<System.Guid, CandideServer.SimulationModels.BuildingSimulationModel>::GetEnumerator()
  • Dictionary.Enumerator<System.Guid, CandideServer.SimulationModels.BuildingSimulationModel>::get_Current()
  • System.Collections.Generic.KeyValuePair<System.Guid, CandideServer.SimulationModels.BuildingSimulationModel>::Deconstruct(!0&, !1&)
  • Dictionary.Enumerator<System.Guid, CandideServer.SimulationModels.BuildingSimulationModel>::MoveNext()
  • System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Logistics.LogisticsConnectionModel>::GetEnumerator()
  • Dictionary.Enumerator<System.Guid, CandideServer.Models.Logistics.LogisticsConnectionModel>::get_Current()
  • System.Collections.Generic.KeyValuePair<System.Guid, CandideServer.Models.Logistics.LogisticsConnectionModel>::Deconstruct(!0&, !1&)
  • Dictionary.Enumerator<System.Guid, CandideServer.Models.Logistics.LogisticsConnectionModel>::MoveNext()
  • System.Collections.Generic.Dictionary<System.Guid, CandideServer.SimulationModels.CitizenSlotSimulationModel>::GetEnumerator()
  • Dictionary.Enumerator<System.Guid, CandideServer.SimulationModels.CitizenSlotSimulationModel>::get_Current()
  • System.Collections.Generic.KeyValuePair<System.Guid, CandideServer.SimulationModels.CitizenSlotSimulationModel>::Deconstruct(!0&, !1&)
  • Dictionary.Enumerator<System.Guid, CandideServer.SimulationModels.CitizenSlotSimulationModel>::MoveNext()
  • BuildingsManager.<>c::<CreateServerGameStateOverview>b__3_0(System.Collections.Generic.KeyValuePair<System.Guid, CandideServer.Models.Town.ServerTownModel>)
  • System.Func<System.Collections.Generic.KeyValuePair<System.Guid, CandideServer.Models.Town.ServerTownModel>, System.Collections.Generic.HashSet<System.Guid>>::.ctor(System.Object, System.IntPtr)
  • System.Linq.Enumerable::Select(System.Collections.Generic.IEnumerable<!!0>, System.Func<!!0, !!1>)
  • System.Collections.Generic.IEnumerable<System.Collections.Generic.HashSet<System.Guid>>::GetEnumerator()
  • System.Collections.Generic.IEnumerator<System.Collections.Generic.HashSet<System.Guid>>::get_Current()
  • System.Collections.Generic.HashSet<System.Guid>::GetEnumerator()
  • HashSet.Enumerator<System.Guid>::get_Current()
  • HashSet.Enumerator<System.Guid>::MoveNext()
  • System.Collections.IEnumerator::MoveNext()
  • System.Collections.Generic.Dictionary<System.Guid, Shared.Models.Items.SharedInventoryModel>::GetEnumerator()
  • Dictionary.Enumerator<System.Guid, Shared.Models.Items.SharedInventoryModel>::get_Current()
  • System.Collections.Generic.KeyValuePair<System.Guid, Shared.Models.Items.SharedInventoryModel>::Deconstruct(!0&, !1&)
String literals
  • TOWNS
  • BUILDINGS
  • CONNECTIONS
  • SLOTS
  • TOWN CITIZENS
  • INVENTORIES
  • -
  • INTERNAL RESOURCE STORAGES
  • CITIZENS
  • SOURCES
  • FOOD SOURCES
  • WORLDS
  • DECORATIONS
  • TRADE ROUTES
  • Home:
  • Destination:

SyncBuildingRemoved

public System.Void SyncBuildingRemoved(CandideServer.MessageModels.Buildings.BuildingRemovedMessage msg)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash6E7BCC4580625744D8A7A329CC9803F9642A016075BD6504A23ED13FBB9851CD
  • Body hash16BD423D464189ECEAECF549215D08D7504424B7DD64117DEDA7D68626FA14BF
  • IL size630
Referenced calls
Called by
String literals
  • SyncBuildingRemoved: Building doesn't exist in the game state
  • Town ID is set on the building but the town doesn't exist
  • Citizens_Chat_LostHome

TryRemoveBuilding

public System.Boolean TryRemoveBuilding(System.Guid buildingId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash48DD416A800CA38382F81ACC3524B89E4228AF9A85B52A33662668B737683E88
  • Body hash70E8453FA99C995429D28D44EA90D3AEE5671CF396414E6B15C0F3F406E480E8
  • IL size87
Referenced calls
Called by
String literals
  • event:/buildings/construction_remove