Romestead Assembly Reference

CandideServer.Buildings.BuildingControllers.FarmsteadController

Type JSON

public class in CandideServer.Buildings.BuildingControllers

Methods10
Properties0
Fields10
Events0
Type metadata

Relationships

Fields

NameVisibilitySignature
ReuseBeehiveInventoryListprivateprivate System.Collections.Generic.List<Shared.Models.Items.SharedInventoryModel> ReuseBeehiveInventoryList
ReuseDroppedGoodsListprivateprivate System.Collections.Generic.List<Shared.Models.DropTables.DroppedGoods> ReuseDroppedGoodsList
SeedsReuseListprivateprivate System.Collections.Generic.List<System.ValueTuple<Shared.Models.Items.ItemData, System.Int32, System.String>> SeedsReuseList
_beehivesprivateprivate System.Collections.Generic.List<System.Guid> _beehives
_cropsHarvestedprivateprivate System.Int32 _cropsHarvested
_cropsPlantedprivateprivate System.Int32 _cropsPlanted
_farmTilesprivateprivate System.Collections.Generic.List<Microsoft.Xna.Framework.Point> _farmTiles
_jobGuidprivateprivate System.Guid _jobGuid
_tileProximityFunctionalityprivateprivate Shared.Models.Buildings.TileProximityFunctionality _tileProximityFunctionality
_wellprivateprivate System.Guid _well

Methods

CheckForBeehives

private System.Void CheckForBeehives()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash11D2AA895E056763EBA99B080BF5FDC277F91B761089E87655EA912E6B6F590E
  • Body hashDA2ECB6F0D778A672AF21CE323E6AFB3D8B07A6525B923E1B600789B91F26354
  • IL size316
Referenced calls
Called by
String literals
  • building_id

CheckForCropTiles

private System.Void CheckForCropTiles()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashF7FC53FC4B1134858107C97D3C6FB9B35EDFD0CF8DD53EF6B1998CEFEB44B58E
  • Body hash9E0C3670A243B327570CAFB145B035A9F8402FACF7FD4371EB3CA4220AADC5E8
  • IL size324
Referenced calls
  • System.Collections.Generic.List<Microsoft.Xna.Framework.Point>::Clear()
  • Microsoft.Xna.Framework.Rectangle::get_Location()
  • Microsoft.Xna.Framework.Point::op_Addition(Microsoft.Xna.Framework.Point, Microsoft.Xna.Framework.Point)
  • Microsoft.Xna.Framework.Rectangle::get_Size()
  • Microsoft.Xna.Framework.Rectangle::Contains(System.Int32, System.Int32)
  • Shared.Models.WorldTile[,]::Address(System.Int32, System.Int32)
  • Microsoft.Xna.Framework.Point::.ctor(System.Int32, System.Int32)
  • System.Collections.Generic.List<Microsoft.Xna.Framework.Point>::Add(!0)
Called by

CheckForWell

private System.Void CheckForWell()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashFD0F7CC11463C7C5FACE9EC7318265EF05C7CF3B39D816CEE0BF20A1F2D9B9B7
  • Body hash65BBC1BFB49B08557191BAB151292E4BD4DA4E5A12F18CE57B2C49FE5D1EF6F5
  • IL size189
Referenced calls
Called by
String literals
  • worship_flag:watering_farmstead
  • building:well:0

HandleScriptedWork

private System.Void HandleScriptedWork(CandideServer.Models.Citizen.CitizenModel citizen, CandideServer.Models.JobModel job, CandideServer.Models.WorkOrders.WorkOrderModel order)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashD52CCB69EDA06F690B18BF87E26E8B655C3ED7AA08378C5CB1B5A4E2D9849600
  • Body hash76A5422348A19BEB377FF25F82AB842E5D86797222DDA3DD991A8E969E84A76F
  • IL size1538
Referenced calls
Called by
String literals
  • recipe:harvest
  • recipe:harvest_lv2
  • recipe:harvest_lv3
  • StorageInventory is null for FarmsteadController. Critical error
  • Citizen_Expertise
  • spell:place-crop

ItemIsSeed

private Shared.Models.Items.ItemData ItemIsSeed(System.String itemId)

Method metadata
  • Visibilityprivate
  • Return typeShared.Models.Items.ItemData
  • StaticTrue
  • VirtualFalse
  • Hash26AC18B49E8B532A63BDFF8152405A94C07369520BCCF34D7C6E82173604AF13
  • Body hash5D8017154435A5225D133F136BCD343721AE25080837CD9A2D0AB0503FC3D7A2
  • IL size46
Referenced calls
String literals
  • spell:place-crop

OnCitizenAssignedToSlot

public System.Void OnCitizenAssignedToSlot(CandideServer.Models.Citizen.CitizenModel citizen, CandideServer.Models.Citizen.CitizenSlotModel slot)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashF59B15656638B9A71F3CBEDC6FAE2D33E45FB7604702B53D82F6E5B3B6F8E8A8
  • Body hash6A10C03E932ED1162D71150F08B00AC0127AE658B7D3DB81857763BFB9A922DD
  • IL size24
Referenced calls
String literals
  • recipe:harvest

OnLoaded

public System.Void OnLoaded()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashBB018B5E600CB3480707E18EAF2AC5270528BE614CE67D80C139E47877115597
  • Body hash043025783C649F3CFCD2E15FBF3297E3B959820C16C690BA36216228749C551C
  • IL size147
Referenced calls
  • System.String::op_Equality(System.String, System.String)
  • System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat>::ContainsKey(!0)
  • Shared.Models.Stats.Stat::.ctor(System.String)
  • System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat>::set_Item(!0, !1)
  • System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat>::get_Item(!0)
  • Shared.Models.Stats.Stat::SetStatModifier(System.Guid, Shared.Models.Stats.StatModifier)
String literals
  • swamp
  • Citizen_Efficiency

OnNewlyCreated

public System.Void OnNewlyCreated()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash8204B8A81C11E5CA944B6C3C8C70B308509B832B70875FF19E8E9B1D677156E4
  • Body hash2BE9F0B3A697945C7E9B249976A89C11802623C23C8116E1A4CABCB2783B242F
  • IL size280
Referenced calls
String literals
  • FarmsteadController: Building does not exist!!
  • FarmsteadController: Building data does not have a TileProximityFunctionality set.
  • Failed state setup
  • Object_Storage
  • Buildings_Output

OnTickJob

protected System.Void OnTickJob(CandideServer.Models.Citizen.CitizenModel citizen, CandideServer.Models.JobModel job)

Method metadata
  • Visibilityprotected
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash975FA627EFB75B5CFBC4C7F6B00BC0A269B8BA65695439E33F26EBADA8142C65
  • Body hash0F67B8978E63D8F1D86E46984CF7D114CD2BEA0192DADCDE8AF389FD2D0AE08B
  • IL size180
Referenced calls

UpdateJobStatus

protected System.Boolean UpdateJobStatus(CandideServer.Models.JobModel job)

Method metadata
  • Visibilityprotected
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualTrue
  • Hash7CA69F2BD339DDB68D72495619A3C90B01B386FBB36313D5B8639FFCD71638A2
  • Body hash27048DE9EC8946B8E4DD1C9E1B57F599B81A02A04C425C933F23508D214B9470
  • IL size211
Referenced calls
String literals
  • recipe:harvest
  • recipe:harvest_lv2
  • recipe:harvest_lv3