Romestead Assembly Reference

Candide.GameModels.Controllers.TownsController

Type JSON

public class in Candide.GameModels.Controllers

Methods14
Properties0
Fields2
Events1
Type metadata
  • AssemblyRomestead
  • NamespaceCandide.GameModels.Controllers
  • Base typeSystem.Object
  • HashF89E6E16919C348FDC6A8D1FE0A6D0C3FF3841C3B57E6C4C5A48ACC7AAC7D3DF

Relationships

Base type

System.Object

Fields

NameVisibilitySignature
IgnoreEventspublicpublic System.Boolean IgnoreEvents
TownsChangedprivateprivate TownsController.GameStateTownsChanged TownsChanged

Events

NameVisibilitySignature
TownsChangedpublicpublic TownsController.GameStateTownsChanged TownsChanged

Methods

AddCitizen

public System.Void AddCitizen(System.Guid townId, CandideServer.Data.Citizens.CitizenOverviewData citizen)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashE918408F0F5EDF8614945FADB58D3AC48DB0926D1AA4BB94C245528AF4F29C69
  • Body hash3C8F6F1B16EC516185464DFAC49E701343CD4026A4EC2F544CC1D7A0CBFA2184
  • IL size196
Referenced calls
  • System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Models.ClientTownModel>::TryGetValue(!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()
  • CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)
  • System.Collections.Generic.HashSet<System.Guid>::Add(!0)
  • Shared.Text.StringExtensions::GetTranslation(Shared.Text.StringId)
Called by
String literals
  • AddCitizen
  • : Town with ID
  • doesn't exist
  • : Town already had citizen with ID
  • ,

CitizenAssignmentsChangeForTown

public System.Void CitizenAssignmentsChangeForTown(CandideServer.MessageModels.Citizens.CitizenAssignmentsChangeForTownMessage msg)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash2AB90BB9B4BD467D0623C7A16071784B161639FE81ED668E9C64B14E53161167
  • Body hash974597A6729DEEFD2D2AA88CDD670ABD046DBC55455EFB5E2D70112B422CC3F9
  • IL size63
Referenced calls
Called by

CitizenController_RemoveCitizen

public System.Void CitizenController_RemoveCitizen(System.Guid citizenId, Candide.GameModels.Models.ClientTownModel town)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashFCCAD6005D4DCCA89F979F0D7155FBA7BA8DE20A2C2F5B717B7C8E71F71D7B42
  • Body hash99BD2CBDBC9BEBC8E9F2D13DB41BCA2C005138389F9EB6FCB2BB5DB78F9AE6B2
  • IL size38
Referenced calls
Called by

InvokeTownsChanged

public System.Void InvokeTownsChanged(Candide.GameModels.Models.ClientTownModel town, System.Collections.Generic.Dictionary<System.Guid, CandideServer.MessageModels.Towns.CitizenTownOverviewData> citizenUpdates)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash1AE2006E37212A387EA3AFA6E93D30C5A5F2E6F0987F150F7D23EE85CB907425
  • Body hash5CB128252641F6A599A1EF90F98C16E3EA4F3C2EE7978C27E7B6EC26BE6722F4
  • IL size19
Referenced calls
Called by

InvokeTownsChanged

public System.Void InvokeTownsChanged(System.Guid id, Candide.GameModels.Models.ClientTownModel town, System.Collections.Generic.Dictionary<System.Guid, CandideServer.MessageModels.Towns.CitizenTownOverviewData> citizenUpdates)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash550037D880B74F54470FC0BD9B85F2BEE4BD17DC7C8C32C88C2C6BDB32139D82
  • Body hash1E61B60EFC8E20E76A434563443AFF6992BE6DA10890CEEF062B48C92131A2CE
  • IL size31
Referenced calls
Called by

RemoveTown

public System.Void RemoveTown(System.Guid townId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash0DEB28823330254623847877A3640875CA35023E31EAF02F9FC48F9F15126ADD
  • Body hash4D0ACC5AF9E47D0C8B961CCE9FAC35C559DADEBAA5CE665381DE4579D3D0CEB0
  • IL size166
Referenced calls
Called by

SyncFullGameState

public System.Void SyncFullGameState(CandideServer.ServerServices.GetFullGameStateResponse msg)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash6B236C8529C6CE19819D8446ABDA2368356203DC69B290F6A1CEE9AF6C36E6C3
  • Body hash9EF88346C868876EA064408FC5CB4269B073D25D8F19C8C3A6A8E4F2B2F9FAF9
  • IL size58
Referenced calls
  • System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Models.ClientTownModel>::Clear()
  • Candide.GameModels.Models.ClientTownModel::.ctor(CandideServer.Models.Town.TownModel)
  • System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Models.ClientTownModel>::set_Item(!0, !1)
Called by

SynchRemoveCitizens

public System.Void SynchRemoveCitizens(System.Collections.Generic.IEnumerable<System.Guid> citizenIds, Candide.GameModels.Models.ClientTownModel town)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash0397D4B2C1B9FC1F151EE6195A214187953BB3E854D22D4CFEF719ADD114550E
  • Body hashF7485EAEBD3E1DA4A385C9981537F60B0B54F4F7AE16ED119DBC2BDDA4D9A00A
  • IL size85
Referenced calls
Called by

SynchTownDefenseValueChanged

public System.Void SynchTownDefenseValueChanged(System.Guid townId, System.Int32 defenseValue)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash10897C66732BA69AB59FE7167FD7C17D4769C4E8AD88243BF58326291EBC6514
  • Body hash80406291B911818ABEDECB35788B8AD5429B569103E0269D41497C0DA25AF3B7
  • IL size40
Referenced calls
Called by

Synch_SetTownName

public System.String Synch_SetTownName(System.Guid townId, System.String name)

Method metadata
  • Visibilitypublic
  • Return typeSystem.String
  • StaticTrue
  • VirtualFalse
  • Hash44E239F12777EA959C1C6D5B1215B75A6798F57A147B2C500C42AA415A594EC9
  • Body hash25D850B8AEE2D31EAD0D056E261575A1A6AE29AE3BC9FEB32F7BE55B6F1D6150
  • IL size60
Referenced calls
Called by

TownBuildingsUpdated

public System.Void TownBuildingsUpdated(CandideServer.Models.Town.TownModel town)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashE69B2B9AED788EB2AADCDC153E1E55DDA84C26DB88BB0C117B5E96C5B02AD42A
  • Body hashA801F5414AA5C6B033164347FDA5E3A8222C55DB3FEF1210DFD15DD4B7C3D108
  • IL size62
Referenced calls
Called by

TownCreated

public System.Void TownCreated(CandideServer.Models.Town.TownModel town)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashFF7AAA53C81DC4715B8BF5276CB40A29F12904D94BA7E027CE80AB0729D3A92D
  • Body hashD4E21007861FAB3AF9626348EC2F038CA55490AE034FE098B80EED3006BFEBAD
  • IL size23
Referenced calls
  • Candide.GameModels.Models.ClientTownModel::.ctor(CandideServer.Models.Town.TownModel)
  • System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Models.ClientTownModel>::set_Item(!0, !1)
Called by

UpdateOverviewTown

public System.Void UpdateOverviewTown(CandideServer.MessageModels.Towns.TownOverviewListeningData msg)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash9746C5EF1CB6CD11483F2DE2029E459FC68E49CCD2EE4A45059B1D78E5CB73E8
  • Body hash24A2CC2BD3369191265105C63ED899E1AC74CF03546A2FEC37579B1E97990AFC
  • IL size46
Referenced calls
Called by

UpdateOverviewTowns

public System.Void UpdateOverviewTowns(CandideServer.MessageModels.Towns.UpdateOverviewTowns msg)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash257DDB504833850F5EEFF030C30BC803CB3DC7EE715C7DC5DE1994B2C32E9829
  • Body hash72CA3E08DEDBA7B06E2229832A53626481AD4CD7F50E6D14E6C1941B2AF46E89
  • IL size52
Referenced calls
Called by