FivePD API
Models

AssistanceServiceTypeConfig

Represents the configuration for an assistance service type.

This model represents the database table fivepd_assistance_service_type_configs. When modifying any properties of this model, ensure that you have saved the changes using the DatabaseContext.

Methods

SpawnTypeAuto

Determines whether the spawn type is set to "AUTO".

Returns

NameType
booltrue if the spawn type is "AUTO"; otherwise, false.

SpawnTypeManual

Determines whether the spawn type is set to "MANUAL".

Returns

NameType
booltrue if the spawn type is "MANUAL"; otherwise, false.

SpawnTypeStation

Determines whether the spawn type is set to "STATION".

Returns

NameType
booltrue if the spawn type is "STATION"; otherwise, false.

Properties

Id

Gets or sets the unique identifier for the assistance service type configuration.

Type: int

TypeName

Gets or sets the name of the type.

Type: string

AssemblyName

Gets or sets the name of the assembly.

Type: string

Active

Gets or sets a value indicating whether the assistance service type is active.

Type: bool

Enabled

Gets or sets a value indicating whether the assistance service type is enabled.

Type: bool

SpawnType

Gets or sets the spawn type.

Type: string

ManualSpawnLocations

Type: List<Vector3>