Game.UI.InGame.CitizenEducationKey
Assembly:
Namespace: Game.UI.InGame
Type: public enum
Base: System.Enum
Summary:
Represents the discrete education tiers used by the game's UI to classify citizens. Values are typically used for display, filtering, mapping to icons/colors, or for determining service/behaviour thresholds in UI code and tooling.
Fields
-
Uneducated
Represents citizens with no formal education. -
PoorlyEducated
Represents citizens with a low level of education (below average basic schooling). -
Educated
Represents citizens with a baseline/average education level. -
WellEducated
Represents citizens with a higher-than-average education level. -
HighlyEducated
Represents citizens with the highest education tier (advanced education).
Properties
- This enum defines no properties. It inherits standard enum behaviour from System.Enum.
Constructors
- Enums have an implicit, compiler-provided constructor and do not expose user-callable constructors.
Methods
- This enum defines no instance methods. It inherits methods from System.Enum / System.ValueType / System.Object (for example: ToString(), GetHashCode(), Equals(), Parse/TryParse via System.Enum).
Usage Example
// Map education key to a UI icon or label
CitizenEducationKey key = CitizenEducationKey.WellEducated;
string label = key.ToString(); // "WellEducated"
// Example: choose an icon based on education level
string GetEducationIcon(CitizenEducationKey k)
{
switch (k)
{
case CitizenEducationKey.Uneducated:
return "icon_education_none";
case CitizenEducationKey.PoorlyEducated:
return "icon_education_poor";
case CitizenEducationKey.Educated:
return "icon_education_basic";
case CitizenEducationKey.WellEducated:
return "icon_education_good";
case CitizenEducationKey.HighlyEducated:
return "icon_education_top";
default:
return "icon_unknown";
}
}