Skip to content

Game.UI.InGame.CitizenJobLevelKey

Assembly: Assembly-CSharp
Namespace: Game.UI.InGame

Type: enum

Base: System.Enum

Summary:
Represents the job/worker level categories used in the in-game UI to classify citizens' employment tiers (e.g., for filters, icons, tooltips, or statistics). These keys are typically used by UI code to map a citizen's occupation or education/job experience level to a discrete category for display and gameplay logic.


Fields

  • Simple
    Represents the lowest or entry-level job/worker category (unskilled or basic labor).

  • Basic
    Represents a basic job level above Simple, typically workers with some training or lower-tier skilled positions.

  • Senior
    Represents a higher experience level, often long-term or highly experienced workers.

  • Specialist
    Represents specialized roles that require specific skills or education beyond standard senior roles.

  • Manager
    Represents managerial or supervisory positions (highest non-executive worker tier in the game context).

  • Unknown
    Fallback value used when a citizen's job level cannot be determined or is outside expected categories.

Properties

  • None.
    This enum only defines named constants; it has no custom properties.

Constructors

  • None (implicit).
    Enums have an implicit default constructor provided by the runtime; there are no explicit constructors defined here.

Methods

  • None declared.
    Standard System.Enum methods (ToString, HasFlag, etc.) are available via the base type.

Usage Example

// Example: map job level to a localized display string or icon key
string GetJobLevelLabel(Game.UI.InGame.CitizenJobLevelKey level)
{
    switch (level)
    {
        case CitizenJobLevelKey.Simple:     return "JobLevel.Simple";     // lookup localized text or icon
        case CitizenJobLevelKey.Basic:      return "JobLevel.Basic";
        case CitizenJobLevelKey.Senior:     return "JobLevel.Senior";
        case CitizenJobLevelKey.Specialist: return "JobLevel.Specialist";
        case CitizenJobLevelKey.Manager:    return "JobLevel.Manager";
        default:                            return "JobLevel.Unknown";
    }
}

// Example use in UI code
var level = CitizenJobLevelKey.Specialist;
var labelKey = GetJobLevelLabel(level);
// use labelKey to fetch localized string or set an icon in the UI