Logo
Edit page
Home
Getting Started
SetupBot CommandsRecommended Hosts
Extended
FiltersTips and TricksServiceProtocolMessage TypesAuthenticate Response TypesIdentification TypesChat Message FormatEvent Message FormatAuthenticate Message FormatAuthenticate Response Message Format

Protocol

Message Types

enum MessageType
{
MessageInvalid = 0,
MessageAuthenticate,
MessageAuthenticateResponse,
MessageChat,
MessageEvent,
MessageTypeCount,
}

Authenticate Response Types

enum AuthenticateResponse
{
AuthenticateInvalid = 0,
AuthenticateSuccess,
AuthenticateDenied,
AuthenticateResponseCount,
}

Identification Types

enum IdentificationType
{
IdentificationInvalid = 0,
IdentificationSteam,
IdentificationDiscord,
IdentificationTypeCount,
}

Chat Message Format

DataTypeComment
HeaderbyteMessageChat value of MessageType enum
EntityNamestringSzEntity name of the host sending the message
IDTypebyteItem from IdentificationType enum
IDstringSzUnique identification of the user
UsernamestringSzName of the user sending the message
MessagestringSzMessage content

Event Message Format

DataTypeComment
HeaderbyteMessageEvent value of MessageType enum
EntityNamestringSzEntity name of the host sending the message
EventstringSzName of the event
DatastringSzData of the event

Authenticate Message Format

DataTypeComment
HeaderbyteMessageAuthenticate value of MessageType enum
EntityNamestringSzEntity name of the host sending the message
TokenstringSzAuthentication token

Authenticate Response Message Format

DataTypeComment
HeaderbyteMessageAuthenticate value of MessageType enum
EntityNamestringSzEntity name of the host sending the message
ResponsebyteItem from AuthenticateResponse enum