Skip to content

Latest commit

 

History

History
61 lines (57 loc) · 887 Bytes

enums.md

File metadata and controls

61 lines (57 loc) · 887 Bytes

Enums

Radio Type

[Flags]
enum RadioType
{
    None = 1,
    ShortRange = 2,
    LongRange = 4,
    Distributed = 8,
    UltraShortRange = 16
}

Command

enum Command
{
    Reset = -1,
    Initiate = 0,
    Ping = 1,
    Pong = 2,
    StateUpdate = 3,
    SelfStateUpdate = 4,
    PlayerStateUpdate = 5,
    RemovePlayer = 6,
    PhoneCommunicationUpdate = 7,
    StopPhoneCommunication = 8,
    RadioTowerUpdate = 9,
    RadioCommunicationUpdate = 10,
    StopRadioCommunication = 11,
    PlaySound = 12,
    StopSound = 13,
    BulkUpdate = 14
}

Error

enum Error
{
    OK = 0,
    InvalidJson = 1,
    NotConnectedToServer = 2,
    AlreadyInGame = 3,
    ChannelNotAvailable = 4,
    NameNotAvailable = 5,
    InvalidValue = 6
}

UpdateBranch

enum UpdateBranch
{
    Stable = 0,
    Testing = 1,
    PreBuild = 2
}