Skip to content

Game.WorkplaceComplexity

Assembly:
Namespace: Game.Prefabs

Type: enum

Base: System.Enum (backed by System.Int32)

Summary:
Defines discrete workplace complexity levels used by building prefabs and simulation systems to categorize the skill/technology requirements of jobs provided by a workplace. This enum is typically used when authoring or inspecting prefabs, balancing employment, wages, and education/skill distributions in mods for Cities: Skylines 2.


Fields

  • Manual
    Represents manual, unskilled labor jobs. (Underlying value = 0). Use for workplaces that require little to no formal training and typically pay lower wages.

  • Simple
    Represents simple or low-skilled jobs. (Underlying value = 1). Use for basic service and routine roles that require limited training.

  • Complex
    Represents more complex, skilled jobs. (Underlying value = 2). Use for roles that require specialized skills or experience and typically pay higher wages.

  • Hitech
    Represents high-technology, highly skilled jobs. (Underlying value = 3). Use for advanced technology, research, or specialized professional roles that demand high education/skills.

Properties

  • (none)
    This enum does not declare properties. It is a simple value type used to label or switch on workplace complexity.

Constructors

  • (none)
    Enums use implicit constructors and underlying integral values; there are no explicit constructors declared.

Methods

  • (none)
    No methods are declared on this enum type. Standard System.Enum methods (ToString, Parse, etc.) apply.

Usage Example

using Game.Prefabs;

public class WorkplaceExample
{
    public void ConfigureWorkplace()
    {
        WorkplaceComplexity complexity = WorkplaceComplexity.Hitech;

        switch (complexity)
        {
            case WorkplaceComplexity.Manual:
                // configure manual-workplace settings
                break;
            case WorkplaceComplexity.Simple:
                // configure simple-workplace settings
                break;
            case WorkplaceComplexity.Complex:
                // configure complex-workplace settings
                break;
            case WorkplaceComplexity.Hitech:
                // configure hitech-workplace settings
                break;
        }

        // cast to int if you need the underlying numeric value
        int value = (int)complexity; // 3 for Hitech
    }
}