Table of Contents

Class CheckpointInfo

Namespace
S1API.Law
Assembly
S1API.dll

Contains comprehensive state information about a checkpoint.

public sealed class CheckpointInfo
Inheritance
CheckpointInfo
Inherited Members
Extension Methods

Constructors

CheckpointInfo()

public CheckpointInfo()

Properties

AreBothGatesClosed

Whether both gates are currently closed.

public bool AreBothGatesClosed { get; }

Property Value

bool

AssignedOfficerCount

The number of police officers currently assigned to this checkpoint.

public int AssignedOfficerCount { get; }

Property Value

int

IsAnyGateOpen

Whether at least one gate is currently open.

public bool IsAnyGateOpen { get; }

Property Value

bool

IsEnabled

Whether the checkpoint is currently enabled and operational.

public bool IsEnabled { get; }

Property Value

bool

IsGate1Open

Whether the checkpoint's first gate is currently open.

public bool IsGate1Open { get; }

Property Value

bool

IsGate2Open

Whether the checkpoint's second gate is currently open.

public bool IsGate2Open { get; }

Property Value

bool

IsOperational

Whether the checkpoint is enabled and has at least one officer assigned.

public bool IsOperational { get; }

Property Value

bool

Location

The checkpoint's location identifier.

public CheckpointLocation Location { get; }

Property Value

CheckpointLocation

Position

The checkpoint's position in world space.

public Vector3 Position { get; }

Property Value

Vector3