Romestead Assembly Reference

CandideServer.ServerManagers.ConstructionSitesServerManager

Type JSON changed

public class in CandideServer.ServerManagers

Methods11
Properties0
Fields10
Events0
Type metadata
  • AssemblyCandideServer
  • NamespaceCandideServer.ServerManagers
  • Base typeSystem.Object
  • Hash4208E2BC46BCAF10C203DBBDFBB8BFC4B1E0F0F5B14264483A37AF9228704B08

Relationships

Base type

System.Object

Fields

NameVisibilitySignature
BucketsReuseListprivateprivate System.Collections.Generic.List<CandideServer.Entities.ServerEntityModel> BucketsReuseList
BuildNearbyConstructionSiteModelsReuseListprivateprivate System.Collections.Generic.List<CandideServer.Models.ConstructionSiteModel> BuildNearbyConstructionSiteModelsReuseList
MoveEntityMessageReUseListprivateprivate System.Collections.Generic.List<CandideServer.MessageModels.Entities.EntityInfoMessage> MoveEntityMessageReUseList
MoveEntityReUseListprivateprivate System.Collections.Generic.List<CandideServer.Entities.ServerEntityModel> MoveEntityReUseList
MoveOutReUseCollisionCircleprivateprivate CandideCreator.Shared.Collision.CollisionCircle MoveOutReUseCollisionCircle
MoveWorldItemsReUseListprivateprivate System.Collections.Generic.List<System.ValueTuple<System.Guid, Microsoft.Xna.Framework.Vector3>> MoveWorldItemsReUseList
RemoveEntityReUseListprivateprivate System.Collections.Generic.List<CandideServer.Entities.ServerEntityModel> RemoveEntityReUseList
ResourceCheckReUseDictprivateprivate System.Collections.Generic.Dictionary<System.String, System.Int32> ResourceCheckReUseDict
ReuseOutSortedConstructionSitesprivateprivate System.Collections.Generic.List<CandideServer.Models.ConstructionSiteModel> ReuseOutSortedConstructionSites
ReuseToSortConstructionSitesprivateprivate System.Collections.Generic.List<System.ValueTuple<CandideServer.Models.ConstructionSiteModel, System.Single>> ReuseToSortConstructionSites

Methods

BuildNearbyConstructions

private System.Void BuildNearbyConstructions(CandideServer.Models.ConstructionSiteModel builtModel, Shared.Models.Player.PlayerCharacterModel characterModel)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash3C5271F267975A11D31142E59A5E01D1DAF60E5BDEDCA19503F9405E01E83EE0
  • Body hashA7216C04A627FCE1C661173EC0496CC6D4927FAD027991B52A9F3958443C9230
  • IL size255
Referenced calls
String literals
  • dirt_road
  • more_roads_built

DoConstructActionInProgress

public System.Void DoConstructActionInProgress(System.Guid constructionSiteId, System.Single progress)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash3A8FFEE56E797078F6CCCE3BA3B5D6FA8EECAD6882D8BAF805C8A33421DB4A4B
  • Body hash6B8B3B64C6F24530277626D5EE65CF7FE04581B7F77E6DD495950FB5F9A87F5D
  • IL size215
Referenced calls
String literals
  • Tried to do progress to construction site ID
  • but the construction site does not exist in the server game state

DoPlayerConstructActionInProgress

public System.Void DoPlayerConstructActionInProgress(System.Guid constructionSiteId, System.Single progress, CandideServer.Server.Network.ConnectedPeer peer, Shared.Models.Player.PlayerCharacterModel character)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash7E9D0DF0B29691C5BF4E524A07834D64B848C871222B68EFED16F8E5D1232CE8
  • Body hashD23EB8978E2994C4D2D6B94B1A7831E5670B9907BCBA05BBA4E98CCCEA46CB50
  • IL size269
Referenced calls
Called by
String literals
  • Tried to do progress to construction site ID
  • but the construction site does not exist in the server game state
  • but the progress instance does not exist in the server run state

RemoveConstructionSite

public System.Void RemoveConstructionSite(CandideServer.Models.ConstructionSiteModel constructionSite)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashABD4F49079A6585A3B960981FEE7D97A09907E0233E3C5F6663F9F244E928050
  • Body hash9E7D9F580D287E8F4BEC2E6B531C57CA682E126E3263572E2E8BE7429842D3F9
  • IL size35
Referenced calls
Called by

RemoveConstructionSitesInTown

public System.Void RemoveConstructionSitesInTown(System.Guid townId, System.Guid townWorldId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash05D8320E6717CAA6D056FF8042332293FA3A692135FF6266A32CB2589EBB0B22
  • Body hashE27914E54A055C07EDCCB8E33B7FF3748CB436BFDB1A48F52473CCA9900FD01E
  • IL size104
Referenced calls

RemoveIntersectingConstructionSites

public System.Void RemoveIntersectingConstructionSites(System.Guid worldId, Microsoft.Xna.Framework.Rectangle tileBounds, CandideServer.SyncStrategies.SyncStrategy syncStrategy, System.String matchConstructionId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashF653DBBAAF2D448E4B57A0F9736AAD5478729EE028DF936689751D694D2B35A5
  • Body hash67D32112A4D0EBD32C481514F7F88B3A17150314C02D2AC086A2F1FDE824CE36
  • IL size37
Referenced calls
Called by

StartConstructActionInProgress

changed

public System.Void StartConstructActionInProgress(System.Guid constructionSiteId, CandideServer.Server.Network.ConnectedPeer peer)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash0ED8C14485D9E049DB67F740DA3AF5496023337F6BE49383CE5232B9C7D91191
  • Body hash2C0138F794A0F916D161EBF324A4FDF692ABBA7A62735217AE74E38BCFDCA9FE
  • IL size187
Referenced calls
Called by

StopConstructActionInProgress

public System.Void StopConstructActionInProgress(System.Guid constructionSiteId, CandideServer.Server.Network.ConnectedPeer peer)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash5158B13D6E9477985A629F112AB7AAD4A05CD1E6A2331077182EF25D656FAFFA
  • Body hash6A83E46E6C187A5FA113EAF9323909E063CC2CC9BC2BC7FA1B62E0D9E5C184F1
  • IL size88
Referenced calls
Called by

TryBuildConstructionSite

changed

public System.Void TryBuildConstructionSite(System.Guid constructionSiteId, Shared.Models.Player.PlayerCharacterModel characterModel, System.Boolean allowBuildNearby)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash6E8C33B9BFAF28D13B5333E98DC76CEB3FAF8F041692181D2DA53066C4E7165C
  • Body hash03D04BE1948BA4FD901AC2FAA1431F59B973D3F9823537E720636467B628BE93
  • IL size1967
Referenced calls
Called by
String literals
  • Couldn't find construction site with ID
  • in the gamestate.
  • Couldn't find world with ID
  • Construction with ID
  • does not spawn anything.
  • resource:bucket
  • Not enough resources to build construction site with ID
  • owner_character_id

TryGetClosestConstructionSite

public System.Boolean TryGetClosestConstructionSite(Microsoft.Xna.Framework.Vector2 circlePos, out CandideServer.Models.ConstructionSiteModel& outConstructionSite)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • HashAD8EF330E4E9271F650BF00CC26F5C91594AB9066AD9C318A416EC442C550FB7
  • Body hash0609C3B1B0D1F3ADBE67C97A9329F31CD43241A96B04337D772B83B3CC790314
  • IL size107
Referenced calls
  • System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.ConstructionSiteModel>::get_Values()
  • Dictionary.ValueCollection<System.Guid, CandideServer.Models.ConstructionSiteModel>::GetEnumerator()
  • Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.Models.ConstructionSiteModel>::get_Current()
  • CandideServer.Toolkit.TileBoundsHelper::GetCenteredPositionFromTileBounds(Microsoft.Xna.Framework.Rectangle)
  • Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)
  • Microsoft.Xna.Framework.Vector2::LengthSquared()
  • Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.Models.ConstructionSiteModel>::MoveNext()
  • System.IDisposable::Dispose()

TryGetConstructionSitesWithinDistance

public System.Boolean TryGetConstructionSitesWithinDistance(System.Guid worldId, Microsoft.Xna.Framework.Vector2 searchPos, System.Single maxDistance, out System.Collections.Generic.List<CandideServer.Models.ConstructionSiteModel>& outSortedConstructionSites, System.Boolean sortByDistance)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash42011A8457BBEAC7850D4506A3001786DC403F6A3D63C7E8C2332E11EA245F70
  • Body hashCACA6D6F76A300502B7DF1A4D32EB95223FE382562DFBD49F9A899764D0028E7
  • IL size365
Referenced calls
  • System.Collections.Generic.Dictionary<System.Guid, CandideCreator.Shared.Algorithms.AabbTree<CandideServer.Models.ConstructionSiteModel>>::TryGetValue(!0, !1&)
  • Microsoft.Xna.Framework.Vector2::op_Division(Microsoft.Xna.Framework.Vector2, System.Single)
  • Microsoft.Xna.Framework.Vector2::get_Zero()
  • CandideCreator.Shared.Models.RectangleF::.ctor(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)
  • CandideCreator.Shared.Models.RectangleF::Inflate(System.Single, System.Single)
  • Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)
  • System.Collections.Generic.List<System.ValueTuple<CandideServer.Models.ConstructionSiteModel, System.Single>>::Clear()
  • CandideCreator.Shared.Algorithms.AabbTree<CandideServer.Models.ConstructionSiteModel>::QueryFast(CandideCreator.Shared.Models.RectangleF)
  • AabbTree.QueryRect<CandideServer.Models.ConstructionSiteModel>::GetEnumerator()
  • AabbTree.QueryRect<CandideServer.Models.ConstructionSiteModel>::get_Current()
  • CandideCreator.Shared.Models.RectangleExtensions::ToRectangleF(Microsoft.Xna.Framework.Rectangle)
  • CandideCreator.Shared.Models.RectangleF::Intersects(CandideCreator.Shared.Models.RectangleF)
  • Microsoft.Xna.Framework.Rectangle::get_Center()
  • Microsoft.Xna.Framework.Point::ToVector2()
  • Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)
  • Microsoft.Xna.Framework.Vector2::LengthSquared()
  • System.ValueTuple<CandideServer.Models.ConstructionSiteModel, System.Single>::.ctor(!0, !1)
  • System.Collections.Generic.List<System.ValueTuple<CandideServer.Models.ConstructionSiteModel, System.Single>>::Add(!0)
  • AabbTree.QueryRect<CandideServer.Models.ConstructionSiteModel>::MoveNext()
  • System.IDisposable::Dispose()
  • System.Collections.Generic.List<System.ValueTuple<CandideServer.Models.ConstructionSiteModel, System.Single>>::get_Count()
  • ConstructionSitesServerManager.<>c::<TryGetConstructionSitesWithinDistance>b__16_0(System.ValueTuple<CandideServer.Models.ConstructionSiteModel, System.Single>, System.ValueTuple<CandideServer.Models.ConstructionSiteModel, System.Single>)
  • System.Comparison<System.ValueTuple<CandideServer.Models.ConstructionSiteModel, System.Single>>::.ctor(System.Object, System.IntPtr)
  • System.Collections.Generic.List<System.ValueTuple<CandideServer.Models.ConstructionSiteModel, System.Single>>::Sort(System.Comparison<!0>)
  • System.Collections.Generic.List<CandideServer.Models.ConstructionSiteModel>::Clear()
  • System.Collections.Generic.List<System.ValueTuple<CandideServer.Models.ConstructionSiteModel, System.Single>>::GetEnumerator()
  • List.Enumerator<System.ValueTuple<CandideServer.Models.ConstructionSiteModel, System.Single>>::get_Current()
  • System.Collections.Generic.List<CandideServer.Models.ConstructionSiteModel>::Add(!0)
  • List.Enumerator<System.ValueTuple<CandideServer.Models.ConstructionSiteModel, System.Single>>::MoveNext()
Called by