Romestead Assembly Reference

CandideServer.ServerManagers.ConstructionsServerManager

Type JSON

public class in CandideServer.ServerManagers

Methods5
Properties0
Fields0
Events0
Type metadata
  • AssemblyCandideServer
  • NamespaceCandideServer.ServerManagers
  • Base typeSystem.Object
  • Hash52CC52DF0EECFB539645517700CD1A0F31DCF663885E2621D28B659D85A564FA

Relationships

Base type

System.Object

Methods

SpawnConstruction

public System.Void SpawnConstruction(Shared.Models.Construction.ConstructionModel construction, Microsoft.Xna.Framework.Rectangle tileBounds, System.Guid worldId, System.Guid spawnId, System.Collections.Generic.Dictionary<System.String, System.String> parameters, System.Nullable<System.Guid> constructionSiteId, System.Nullable<System.Guid> characterId, System.Nullable<System.Guid> townId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashCCAB7ED9D9EE74E7E641962BAA9380859C1FBA8D58ECF506D4626BDBBDE1976D
  • Body hash2A2710E11B414118E3D45CBABBDE81C3C57B19B8C05E4E81B4986BFE180C70D9
  • IL size1208
Referenced calls
Called by
String literals
  • Construction with ID
  • does not spawn anything.
  • Tried to spawn construction with ConstructionType:
  • town_core:0
  • SpawnConstruction: Spawned a Town Core but we have no town set for it.
  • Tried to create inventory when spawning construction
  • but there are no inventory parameters
  • inventory_id
  • Unknown ground tile ID
  • Currently do not support decorations with town defense value. Need to update so decorations save Town ID affiliation, an

SpawnConstruction

public System.Void SpawnConstruction(System.String constructionId, Microsoft.Xna.Framework.Point tilePosition, System.Guid worldId, System.Guid spawnId, System.Collections.Generic.Dictionary<System.String, System.String> parameters, System.Nullable<System.Guid> constructionSiteId, System.Nullable<System.Guid> characterId, System.Nullable<System.Guid> townId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash781AA98C50A5AD1D6044F2C50E9484BA543A9CC7A4C080E5F4AD61AA9A2EE72C
  • Body hash04D3F60BB30F06E525C84559946AA5305ED6AE5CF81016B2E869D61D7CEBEA76
  • IL size106
Referenced calls
Called by
String literals
  • TileBounds does not have a value

TryPlaceConstruction

public System.Nullable<System.Int32> TryPlaceConstruction(Microsoft.Xna.Framework.Point tilePosition, System.Guid itemInstanceId, System.Guid entityId, CandideServer.EventBus.EventBusArgs args)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Nullable<System.Int32>
  • StaticTrue
  • VirtualFalse
  • HashCE791E39D6D361AB81E9D80C951AD4520626AD6C583D88AD7AFCF73E3F9D7D50
  • Body hashC2246E42D6F2FA503D2831E1619F00AD5AB5200CC0CADD3921360BF770C751F5
  • IL size287
Referenced calls
Called by
String literals
  • owner_character_id

TrySpendConstructionUpgrade

public System.Boolean TrySpendConstructionUpgrade(Shared.Models.Construction.ConstructionModel construction, System.Guid resourceSourceId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash86EF7D6534A9FFC1F1BF3D4C81BB2F8A723C4BA84CA9365B3225E7CB15B2A16D
  • Body hash7527AF2400CCD0266ECFADD5D779E22BA632226C93ACA1681839692AB1D3F727
  • IL size58
Referenced calls
Called by

TrySpendConstructionUpgradeCostForTown

public System.Boolean TrySpendConstructionUpgradeCostForTown(Shared.Models.Construction.ConstructionModel construction, System.Guid townId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash3EF06CCEDE03F50CBA0C4B0F8058870583A0456D47A6886005442E9D955264A8
  • Body hash1FDEB5F4650014C30DD6A9C643CD4F0CEA1C0C8109E0A0E5B1D4FFC2467267E2
  • IL size292
Referenced calls
Called by
String literals
  • Material storage
  • doesn't have an internal resource storage ID
  • Weird that we can't find it since we already checked it exists.
  • Failed depleting resources but we already checked that it should work.