CandideServer.Citizens.Base.AbstractCitizenController
Type JSONpublic class in CandideServer.Citizens.Base
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.Citizens.Base - Base type
System.Object - Hash
E4EA0F60A0E72B83D195C3F30DC4C41F883DCFB56D8F0E123F9D23762CFB953C
Relationships
Base type
System.Object
Derived types
Referenced by types
CandideServer.Citizens.GenericServerCitizenControllerCandideServer.Data.ServerDataSetups.ServerDataSetup_CitizenControllersCandideServer.Database.CitizenControllerDataBaseCandideServer.Entities.Controllers.ServerJobInteractionAreaControllerCandideServer.Entities.ScheduleSystem.Core.ScheduleCreation.JobTaskFactoryCandideServer.Entities.ScheduleSystem.Core.ScheduleCreation.TaskFactoryCandideServer.Entities.ScheduleSystem.Core.ScheduleCreation.TaskFactoryHelperCandideServer.Entities.ScheduleSystem.ScheduleCandideServer.PathFinding.PathFindArgsCandideServer.PathFinding.RoadPathFindManagerCandideServer.ServerManagers.CitizenServerManagerCandideServer.ServerManagers.TownsServerManager
Fields
| Name | Visibility | Signature |
|---|---|---|
BehaviorMachine# | public | public BM.BehaviorMachine BehaviorMachine |
BuildingSimulationModel# | public | public CandideServer.SimulationModels.BuildingSimulationModel BuildingSimulationModel |
CitizenModel# | public | public CandideServer.Models.Citizen.CitizenModel CitizenModel |
CitizenSlotModel# | public | public CandideServer.Models.Citizen.CitizenSlotModel CitizenSlotModel |
DeskIsBeingInteractedWith# | public | public System.Boolean DeskIsBeingInteractedWith |
HasScreenStatusChangedThisFrame# | public | public System.Boolean HasScreenStatusChangedThisFrame |
IsOnScreen# | public | public System.Boolean IsOnScreen |
IsTalking# | public | public System.Boolean IsTalking |
IsUnderAttackTimer# | public | public System.Single IsUnderAttackTimer |
LastUpdated# | public | public System.TimeSpan LastUpdated |
MovementHandler# | public | public ScheduleSystem.CitizenMovementHandler MovementHandler |
NeedsPathfindingUpdate# | public | public System.Boolean NeedsPathfindingUpdate |
Random# | public | public System.Random Random |
RunSpeed# | public | public System.Single RunSpeed |
Schedule# | public | public CandideServer.Entities.ScheduleSystem.Schedule Schedule |
ServerEntityModel# | public | public CandideServer.Entities.ServerEntityModel ServerEntityModel |
SlowWalkSpeed# | public | public System.Single SlowWalkSpeed |
State# | public | public CandideServer.Citizens.Base.CitizenControllerState State |
TownHasChanged# | public | public System.Boolean TownHasChanged |
UpgradedBuildings# | public | public System.Collections.Generic.Queue<System.Guid> UpgradedBuildings |
WalkSpeed# | public | public System.Single WalkSpeed |
Properties
| Name | Visibility | Signature |
|---|---|---|
Blackboard# | public | public BM.Blackboard Blackboard |
Methods
BeforeServerGameStateSaved
#
public System.Void BeforeServerGameStateSaved()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
EDDF9F190AF955F35FEB08E61CF81FE9923A9F77408237851EC927FF2F90C0F5 - Body hash
997CBC9A932A0B7FB2E8C73AF4D79BA6B3107FC0DED41F5FF55C05EDA3C082E9 - IL size12
Referenced calls
CheckAndUpdateOnScreenStatus
#
private System.Void CheckAndUpdateOnScreenStatus()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
EFB8EF2140E25E96A11286AD5A0607B4DAD76139C26752E80B60355BDB73C041 - Body hash
11C142A2F0A0B967156756D55903C077490CD0E92DE96BF77A79182A11951CFC - IL size84
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Worlds.WorldModel>::TryGetValue(!0, !1&)CandideServer.Citizens.Base.AbstractCitizenController::IsPlayerInWorld(CandideServer.Models.Worlds.WorldModel)
CreateStateMachine
#
public BM.StateMachine CreateStateMachine()
Method metadata
- Visibilitypublic
- Return type
BM.StateMachine - StaticFalse
- VirtualTrue
- Hash
D8C24AF78620C32C92054132FEA650A7BCC1918A0EE74AE81CC73CDE924F98CA
HandleNewDay
#
public System.Void HandleNewDay()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
06D614D66554A6E335878727274F84903755A2B69ECF21FC3E2F696BDA268D1F - Body hash
74E6FB4819C189D1FC1BADF87E8056752CC30B008593F9DE235CDD3F793F0A11 - IL size12
Referenced calls
Initialize
#
public System.Void Initialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
E7DD771D7F3CA9A726CA85B9E61BCD2A80DF1D5A2F68D688221ABFF23FBBE3AF - Body hash
926B7BE721CD8C7FA8C54C2DAB10E98A8C0AAC028E02F860B791090F03D51019 - IL size132
Referenced calls
CandideServer.Entities.ScheduleSystem.Schedule::.ctor()ScheduleSystem.CitizenMovementHandler::.ctor(CandideServer.Citizens.Base.AbstractCitizenController)Shared.Entity.EntityWrapper::set_Direction(System.Single)CandideServer.Entities.ScheduleSystem.Schedule::Initialize(CandideServer.Citizens.Base.AbstractCitizenController)BM.BehaviorMachine::.ctor()CandideServer.Citizens.Base.AbstractCitizenController::CreateStateMachine()BM.BehaviorMachine::set_StateMachine(BM.StateMachine)
IsPlayerInWorld
#
private System.Boolean IsPlayerInWorld(CandideServer.Models.Worlds.WorldModel world)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
08E18511890FD3C997518DAADA39B820A0AA04F75EE52A7C989DB0E4214E7D8C - Body hash
C812922CC3E2A9EF848A4F66A44DE30EBA98A39BF55A05AD2C722B2A915F1CA9 - IL size86
Referenced calls
System.Collections.Generic.Dictionary<System.Int32, CandideServer.ServerServices.ServerJoinedPlayerModel>::get_Values()Dictionary.ValueCollection<System.Int32, CandideServer.ServerServices.ServerJoinedPlayerModel>::GetEnumerator()Dictionary.ValueCollection.Enumerator<System.Int32, CandideServer.ServerServices.ServerJoinedPlayerModel>::get_Current()System.Guid::op_Equality(System.Guid, System.Guid)Dictionary.ValueCollection.Enumerator<System.Int32, CandideServer.ServerServices.ServerJoinedPlayerModel>::MoveNext()System.IDisposable::Dispose()
OnBuildingBuilt
#
public System.Void OnBuildingBuilt(CandideServer.SimulationModels.BuildingSimulationModel building)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
049275C534F42722218C023693398475364BD890849C1EE3930B5F312CC54B72 - Body hash
D72A83BBEF5D13D78FDC17392513B5058489F6BD354AE9405F4BBC613FEEC8D5 - IL size30
Referenced calls
System.Collections.Generic.Queue<System.Guid>::Enqueue(!0)
OnBuildingRemoved
#
public System.Void OnBuildingRemoved(CandideServer.SimulationModels.BuildingSimulationModel building)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
21CAF785F86545CD34DBBFAEDC1C854584B308D1B9879A507C8B61F40F37FE94 - Body hash
B7E1779313BB5DBFF526BB8A2E8281F055AA91F3189CD43AA40D02C87782E35D - IL size8
OnBuildingUpgraded
#
public System.Void OnBuildingUpgraded(CandideServer.SimulationModels.BuildingSimulationModel building)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
D18E55544FADB26D7812939A4939673653F7D9508FFEFEE725BA2E8B746FABA7 - Body hash
D72A83BBEF5D13D78FDC17392513B5058489F6BD354AE9405F4BBC613FEEC8D5 - IL size30
Referenced calls
System.Collections.Generic.Queue<System.Guid>::Enqueue(!0)
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime, System.Single dt)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
699C1B7CF71194F65AA8585A54B48ECCD0A97CD44DFFE8BB07925E839B034F1A - Body hash
4435F6B4EC18BF34579CB0E1981CCACB9FE3B02552CB97A1A15A31C85827CF4A - IL size26