Candide.CandideUI.JobUiNew.Components.CitizenDisplayData
Type JSONpublic struct in Candide.CandideUI.JobUiNew.Components
Type metadata
- Assembly
Romestead - Namespace
Candide.CandideUI.JobUiNew.Components - Base type
System.ValueType - Hash
CAF33C9B5B2071C1F6B5AA9007F1F4644F8B2D8FF62C609ACADB7D93E4C63BC0
Relationships
Base type
System.ValueType
Referenced by types
Fields
| Name | Visibility | Signature |
|---|---|---|
Appearance# | public | public Shared.Models.Citizens.CitizenAppearance Appearance |
CitizenId# | public | public System.Guid CitizenId |
CitizenStats# | public | public System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat> CitizenStats |
CurrentExperience# | public | public System.Single CurrentExperience |
CurrentHunger# | public | public System.Single CurrentHunger |
CurrentLoyalty# | public | public System.Single CurrentLoyalty |
CurrentMaximumJobLevel# | public | public System.Nullable<System.Int32> CurrentMaximumJobLevel |
ExperienceRequiredToLevelUp# | public | public System.Single ExperienceRequiredToLevelUp |
JobName# | public | public System.String JobName |
Level# | public | public System.Int32 Level |
LoyaltyLevel# | public | public System.Int32 LoyaltyLevel |
Name# | public | public Shared.Text.StringId Name |
NextMaximumJobLevel# | public | public System.Nullable<System.Int32> NextMaximumJobLevel |
Methods
FromCitizen
#
public Candide.CandideUI.JobUiNew.Components.CitizenDisplayData FromCitizen(Candide.GameModels.Models.Citizens.Citizen citizen)
Method metadata
- Visibilitypublic
- Return type
Candide.CandideUI.JobUiNew.Components.CitizenDisplayData - StaticTrue
- VirtualFalse
- Hash
4A68462EEC35B5C891187A6DFBC41D38664910B6AEF71E1C0916BD59B58C19B3 - Body hash
4D4013691CDA96FF07AFA19570FE51CDB3836CA137C9A3EBB5429808BC1C20AC - IL size487
Referenced calls
Shared.Data.JobDataBase::GetJobOrNull(System.String)Shared.Data.DataModels.JobDataExtensions::GetName(Shared.Data.DataModels.JobData, System.Boolean)Candide.GameModels.GameState::TryGetBuilding(System.Nullable<System.Guid>, Candide.GameModels.Models.Constructions.Building&)Shared.Data.ConstructionDataBase::GetConstructionOrNull(System.String)System.String::Concat(System.String, System.String)CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)System.Nullable<System.Int32>::.ctor(!0)CandideServer.Models.Citizen.CitizenModel::GetCurrentJobLevel()CandideServer.Models.Citizen.CitizenModel::ExperienceRequiredToLevelUpForCurrentJob(System.Int32)System.Collections.Generic.Dictionary<System.String, CandideServer.Models.Citizen.JobProgress>::get_Item(!0)
String literals
CitizenDisplayData: ConstructionData was null forCitizenDisplayData: Building upgrade level is outside the array length for the job's MaxLevelUpgradeSteps