Romestead Assembly Reference

CandideServer.Buildings.BuildingControllers.WaterMillController

Type JSON

public class in CandideServer.Buildings.BuildingControllers

Methods11
Properties0
Fields5
Events0
Type metadata

Relationships

Fields

NameVisibilitySignature
MillBaseprivateprivate System.Guid MillBase
_intermediateProgressprivateprivate System.Single _intermediateProgress
_millIdprivateprivate System.Nullable<System.Guid> _millId
_playerRoomCheckTimerprivateprivate System.Single _playerRoomCheckTimer
_playersInHouseprivateprivate System.Boolean _playersInHouse

Methods

GetProgressIncreaseFromLevel

public System.Single GetProgressIncreaseFromLevel(System.Int32 upgradeLevel)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Single
  • StaticTrue
  • VirtualFalse
  • Hash58E0898363C7DAB8AAC180C922BDA6F20E3F651069935771ADD85C7F95881FF5
  • Body hash2AB78F33FC71C47CF378D1EA533D718307A3053DA006E853E50AAACF278974F3
  • IL size16
Called by

GetSpawnPositionForCitizen

public CandideServer.Buildings.BuildingControllers.CitizenPositionData GetSpawnPositionForCitizen(CandideServer.Models.Citizen.CitizenModel citizen, CandideServer.Models.Citizen.CitizenSlotModel slot)

Method metadata
Referenced calls
  • System.NotImplementedException::.ctor()

GetWorkRecipeInfo

public System.String GetWorkRecipeInfo(Shared.Models.Items.ItemInstanceModel itemInstance)

Method metadata
  • Visibilitypublic
  • Return typeSystem.String
  • StaticTrue
  • VirtualFalse
  • Hash6019A046E3C4CD291A30D48627DF02BF93DFBA5AA717870D9B37FAC02E4EC063
  • Body hash5BB827C576266BB1A0FB9188DFBA8CDA4754DE3914F491C2E9422673F6B722E6
  • IL size81
Referenced calls
  • System.String::op_Equality(System.String, System.String)
Called by
String literals
  • material:wheat
  • food:olive
  • food:grape
  • recipe:flour:water_mill
  • recipe:olive_paste:water_mill
  • recipe:grape_paste:water_mill

OnLoaded

public System.Void OnLoaded()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashB63E00640175D10027842D294C78B62549FF781CC0466E1D8CCFD84F2A46DE12
  • Body hash8A6F127E0053EB13AFDA0F394E4CD706376ECB1E15358DC72521A636A4B8AD55
  • IL size1

OnNewlyCreated

public System.Void OnNewlyCreated()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash825FA0A58CCFECA88FB23EDAEFDC4A637E2A9DFA69D618B52B0EDF5872CA39E6
  • Body hashF7DB5DFEA9FF2A0D4C56787045EBFC56303DE291DFE9E5BDA7A7E5D35A5D322D
  • IL size175
Referenced calls
String literals
  • WaterMillController: Building doesn't have an interior world ID
  • Buildings_Input
  • Buildings_Output

OnTickJob

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

Method metadata
  • Visibilityprotected
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash38F5EB51ACC4B3D974CCFD653E8B2E2B6BB0A7BDA60E9E2FBFB5764B1142F7EC
  • Body hash8A6F127E0053EB13AFDA0F394E4CD706376ECB1E15358DC72521A636A4B8AD55
  • IL size1

OnUpgraded

public System.Void OnUpgraded(Shared.Models.Construction.ConstructionModel upgradeConstructionModel, Shared.Models.Buildings.BuildingData upgradedBuildingData)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash4B3851C5497B6AD665466EFDEFE2673E416F7A3D4E26F71C965B93A259C3A910
  • Body hashECFCF854B55E3B0C1703F531EF1C07106887D3A2111689021BB4F02876135B16
  • IL size101
Referenced calls

SpawnManualMill

private System.Void SpawnManualMill()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash429150A937D602E87A37828CB18BEC649FEE5E85100BB2CBE8739E39B0971415
  • Body hash4C0BFF90037F41F19BE81EC36EF8AC4F7016E6C8DE1D7C6312684FC3EC10C115
  • IL size218
Referenced calls
  • System.Nullable<System.Guid>::get_HasValue()
  • System.Guid::NewGuid()
  • System.Nullable<System.Guid>::.ctor(!0)
  • CandideServer.ServerControllers.SpawnEntityArgs::.ctor()
  • System.Nullable<System.Guid>::get_Value()
  • Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)
  • System.Collections.Generic.Dictionary<System.String, System.String>::.ctor()
  • System.Object::ToString()
  • System.Collections.Generic.Dictionary<System.String, System.String>::Add(!0, !1)
  • CandideServer.ServerManagers.EntityServerManager::SpawnEntity(CandideServer.ServerControllers.SpawnEntityArgs)
  • System.Collections.Generic.List<System.Guid>::Add(!0)
Called by
String literals
  • building_id

Update

public System.Void Update(System.Single dt)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash80956E97D2671D032F1979EE421984F7AAB2AF648A9E832B699EF1471857ECB0
  • Body hashF8511B50EE8745103A6784777A9C86353BD7CC070362CE4054DDDBD7D8124EC7
  • IL size983
Referenced calls
String literals
  • Update
  • event:/buildings/manual_mill_produce

UpdateJobStatus

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

Method metadata
  • Visibilityprotected
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualTrue
  • Hash34C6220192B6F33045EF280D09DAC9A5A84CBBCBDFA7093623C61CA4B4AF6022
  • Body hashE2CDC8BD55A83F129BBA1F1163CD64A9844A3B8BC1E22E5FD9644B9217AB7C8C
  • IL size2