public class in Candide.Entities.Controllers.CitizenController
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.Controllers.CitizenController - Base type
Candide.Entities.Controllers.CitizenController.CitizenControllerBase - Hash
F662E606CC89CB868D8BB90EEA4A442C4515B062FAAE427E6CD31FE730D93A9E
Relationships
Fields
| Name | Visibility | Signature |
|---|---|---|
Appearance# | public | public Shared.Models.Citizens.CitizenAppearance Appearance |
_currentStatus# | private | private CandideServer.Models.Citizen.CitizenRequestStatus _currentStatus |
_getCitizenHandle# | private | private Candide.Multiplayer.Network.GetResponseHandler _getCitizenHandle |
_questMarkerAnimation# | private | private Candide.Graphics.VFX.VfxSpacAnimation _questMarkerAnimation |
Methods
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
0C9DF60AC3E0DD175F7F05C83D1F97C8C2173579B5C9D684C4FB8E7D27F9C732 - Body hash
0CFAD4D25ADE23B990A505028F68C7EE0CBF9C5CFBEB2115BDA6488057093BE5 - IL size250
Referenced calls
Candide.Entities.Controllers.CitizenController.CitizenControllerBase::EntityInitialize()System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Models.Citizens.Citizen>::TryGetValue(!0, !1&)Shared.Text.StringExtensions::GetTranslation(Shared.Text.StringId)System.String::Concat(System.String, System.String)Shared.Entity.EntityWrapper::set_Name(System.String)CandideServer.Helpers.RandomCitizenGenerator::GenerateRandomCitizenAppearance(System.Guid)System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Citizen.CitizenModel>::TryGetValue(!0, !1&)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()Candide.Entities.Controllers.CitizenController.CitizenControllerBase::GetSkin(Shared.Models.Citizens.CitizenAppearance)Candide.Entities.Controllers.CitizenController.CitizenController::UpdateQuestStatus()
String literals
citizen
GetToolTip
#
public System.ValueTuple<System.String, System.Nullable<Microsoft.Xna.Framework.Color>> GetToolTip(System.Text.StringBuilder tooltipBuilder)
Method metadata
- Visibilitypublic
- Return type
System.ValueTuple<System.String, System.Nullable<Microsoft.Xna.Framework.Color>> - StaticFalse
- VirtualTrue
- Hash
3FF5A302152E57FEAD9152369BF1AC1C64018FFE2ABEB94E037812B8DA133CF7 - Body hash
155785073C047DA6A057BE5355820861E24864D3FD75E6673BD8039FC9197DA0 - IL size232
Referenced calls
System.Text.StringBuilder::Clear()System.String::op_Inequality(System.String, System.String)Shared.Text.StringExtensions::GetTranslation(Shared.Text.StringId)System.Text.StringBuilder::AppendLine(System.String)Shared.Data.JobDataBase::GetJobOrNull(System.String)StringBuilder.AppendInterpolatedStringHandler::.ctor(System.Int32, System.Int32, System.Text.StringBuilder)Shared.Entity.EntityWrapper::get_Health()Shared.Entity.EntityWrapper::get_MaxHealth()Microsoft.Xna.Framework.MathHelper::Min(System.Single, System.Single)System.Math::Ceiling(System.Double)StringBuilder.AppendInterpolatedStringHandler::AppendFormatted(!!0)StringBuilder.AppendInterpolatedStringHandler::AppendLiteral(System.String)System.Text.StringBuilder::AppendLine(StringBuilder.AppendInterpolatedStringHandler&)System.Object::ToString()System.ValueTuple<System.String, System.Nullable<Microsoft.Xna.Framework.Color>>::.ctor(!0, !1)
String literals
/
public System.Void OnDamaged(Shared.Combat.DamageResult damageResult)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
BE98C2716108333153E0EA69E8CD2D4175AA55FF78964B864296D7671C52F8A9 - Body hash
CFC6F3272432AC71A6261741CA03488AE424EEDAE6B4B79381E4F0B50E4DC05B - IL size35
Referenced calls
String literals
WorldStats_CitizenDamageResistance
OnInteract
#
public System.Void OnInteract(Shared.Entity.EntityWrapper otherEntity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
6F2A402B1A43EC42BF10C8D6C6B8076A242EF8185426DD83CB4E5D43767E97A4 - Body hash
0764C4BE23447FAD6B5C4140D9BC28E57FF97A3C4626F66AE8B989F4519822F9 - IL size113
Referenced calls
Candide.CandideUI.PlayerUi::get_DisallowMoreInteractions()System.Guid::op_Equality(System.Guid, System.Guid)CandideServer.MessageModels.Citizens.GetAndListenToCitizensRequest::.ctor()Candide.Entities.Controllers.CitizenController.CitizenController::<OnInteract>b__3_0(CandideServer.MessageModels.Citizens.GetAndListenToCitizensResponse)System.Action<CandideServer.MessageModels.Citizens.GetAndListenToCitizensResponse>::.ctor(System.Object, System.IntPtr)Candide.Entities.Controllers.CitizenController.CitizenController::<OnInteract>b__3_1(System.Byte)System.Action<System.Byte>::.ctor(System.Object, System.IntPtr)Candide.GameModels.Services.CitizenService::GetAndListenToCitizens(CandideServer.MessageModels.Citizens.GetAndListenToCitizensRequest, System.Action<CandideServer.MessageModels.Citizens.GetAndListenToCitizensResponse>, System.Action<System.Byte>, System.Single)
OnServerSetState
#
public System.Void OnServerSetState(System.Int32 state)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
E382A69EFC8C41F4BD1316E36B50749D1C145ABBAEF78B8D4E2C0502A6E80CDC - Body hash
51D351312853568EF0405C64B2F93576E669792084EDBF3670FAB6F703916826 - IL size14
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
9B805BEACD2605E2FC95AAB99B4A1629A4CBBE9C0BC5CAF4D00C6A863AF502A8 - Body hash
5656ECCEF23ECEC78F79E7D2F3626782207EEA71077399C0E43E8B7222037704 - IL size8
UpdateQuestStatus
#
private System.Void UpdateQuestStatus()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
810C31CEAECA2BC9B0BE5EDCBA7527117BC3913E2303D307FCBA4ADCE2F1C25C - Body hash
309A5F7282E6793AE42AA42FD884AA15450835825CDD5786C205F229355F557D - IL size375
Referenced calls
CandideCreator.Shared.Helpers.Parameters::GetEnum(System.String, !!0)Candide.Graphics.VFX.VfxSpacAnimation::SetFinished()Candide.Database.VfxSpacAnimationDataBase::GetAnimation(System.String)Shared.Entity.EntityWrapper::get_Shape()Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Candide.Graphics.VFX.VfxPlayer::PlayLoopingSpacAnimation(Candide.Data.VfxSpacAnimationData, Shared.Entity.EntityWrapper, Candide.Graphics.VFX.SpacRenderingArgs, System.String, System.Nullable<System.Single>)System.ArgumentOutOfRangeException::.ctor()
Called by
String literals
active_request_statusvfx:quest_exclamationbig_boivfx:quest_question