Game.Simulation.HealthcareRequestType
Assembly:
Assembly-CSharp (typical for game scripts / modding)
Namespace:
Game.Simulation
Type:
enum
Base:
System.Enum (underlying type: byte)
Summary:
Represents the type of healthcare-related request sent to emergency services in the simulation. This enum distinguishes between active medical emergency requests (Ambulance) and requests related to deceased citizens (Hearse). The enum uses a byte underlying type for compact storage and serialization in game systems.
Fields
-
Ambulance
Value: 0. Indicates a medical emergency requiring an ambulance (active patient transport / urgent care). -
Hearse
Value: 1. Indicates a request for a hearse to collect a deceased citizen.
Properties
- (none)
This enum has no properties beyond those inherited from System.Enum.
Constructors
- (none)
Enums do not declare constructors. Instances are the defined named values.
Methods
- (none)
No custom methods are declared. Use standard System.Enum methods (e.g., ToString, GetValues) if needed.
Usage Example
using Game.Simulation;
public void HandleHealthcareRequest(HealthcareRequestType requestType)
{
switch (requestType)
{
case HealthcareRequestType.Ambulance:
// Dispatch ambulance logic
DispatchAmbulance();
break;
case HealthcareRequestType.Hearse:
// Dispatch hearse logic
DispatchHearse();
break;
default:
// Fallback or logging
break;
}
}