Module

constants

Members

string

static constant CONSTANTS

Enum for all constant values.

Properties:
Name Type Description
DOTA_GAMEMODE_CM string
DOTA_GAMEMODE_CD string
DOTA_GAMEMODE_AP string
STATE_FAILED string
STATE_KILLED string
STATE_PENDING_KILL string
STATE_NEW string
STATE_WAITING_FOR_QUEUE string
STATE_BEGIN_READY string
STATE_CHECKING_READY string
STATE_ASSIGNING_CAPTAINS string
STATE_SELECTION_PRIORITY string
STATE_DRAFTING_PLAYERS string
STATE_AUTOBALANCING string
STATE_TEAMS_SELECTED string
STATE_WAITING_FOR_BOT string
STATE_BOT_ASSIGNED string
STATE_BOT_CREATED string
STATE_BOT_FAILED string
STATE_BOT_STARTED string
STATE_BOT_CONNECTED string
STATE_WAITING_FOR_PLAYERS string
STATE_MATCH_IN_PROGRESS string
STATE_MATCH_ENDED string
STATE_MATCH_STATS string
STATE_MATCH_NO_STATS string
STATE_COMPLETED string
STATE_COMPLETED_NO_STATS string
EVENT_MATCH_OUTCOME string
EVENT_MATCH_SIGNEDOUT string
EVENT_MATCH_STATS string
EVENT_MATCH_NO_STATS string
EVENT_PLAYER_READY string
EVENT_SELECTION_PICK string
EVENT_SELECTION_SIDE string
EVENT_PICK_PLAYER string
EVENT_LOBBY_FORCE_DRAFT string
EVENT_LOBBY_START string
EVENT_LOBBY_LEAVE string
EVENT_LOBBY_KILL string
EVENT_LOBBY_INVITE string
EVENT_LOBBY_READY string
EVENT_LOBBY_SET_STATE string
EVENT_LOBBY_SET_FP string
EVENT_LOBBY_SET_GAMEMODE string
EVENT_LOBBY_SWAP_TEAMS string
EVENT_BOT_LOBBY_LEFT string
EVENT_BOT_SET_STATUS string
EVENT_LEAGUE_TICKET_ADD string
EVENT_LEAGUE_TICKET_SET string
EVENT_LEAGUE_TICKET_REMOVE string
EVENT_GUILD_MESSAGE string
EVENT_BOT_AVAILABLE string
EVENT_RUN_LOBBY string
EVENT_GUILD_USER_LEFT string
MSG_WAITING_FOR_CAPTAINS string
MSG_ASSIGNED_CAPTAINS string
MSG_PLAYER_DRAFT_PRIORITY string
MSG_SELECTION_PRIORITY string
MSG_SELECTION_PICK string
MSG_SELECTION_SIDE string
MSG_DRAFT_TURN string
MSG_MATCH_STATS string
MSG_MATCH_NO_STATS string
MSG_TEAMS_SELECTED string
MSG_BOT_ASSIGNED string
MSG_BOT_UNASSIGNED string
MSG_BOT_FAILED string
MSG_LOBBY_STATE string
MSG_LOBBY_INVITES_SENT string
MSG_LOBBY_STARTED string
MSG_LOBBY_KILLED string
MSG_LOBBY_PLAYER_JOINED string
MSG_LOBBY_PLAYER_LEFT string
MSG_LOBBY_PLAYER_CHANGED_SLOT string
MSG_CHAT_MESSAGE string
MSG_READY_CHECK_START string
MSG_READY_CHECK_FAILED string
MSG_PLAYERS_READY string
MSG_AUTOBALANCING string
MSG_MATCH_ENDED string
CAPTAIN_MATCH_EXISTS string
CAPTAIN_MATCH_FOUND string
NO_CAPTAIN_MATCH_FOUND string
PLAYER_DRAFTED string
INVALID_DRAFT_PLAYER string
INVALID_DRAFT_CAPTAIN string
INVALID_PLAYER_NOT_FOUND string
BOT_UNAVAILABLE string
BOT_LOADING string
BOT_ONLINE string
BOT_IDLE string
BOT_IN_LOBBY string
BOT_OFFLINE string
BOT_FAILED string
QUEUE_JOINED string
QUEUE_BANNED string
QUEUE_ALREADY_JOINED string
QUEUE_LOBBY_INVALID_STATE string
QUEUE_TYPE_DRAFT string
QUEUE_TYPE_AUTO string
QUEUE_TYPE_CHALLENGE string
MATCH_EXACT_DISCORD_MENTION string
MATCH_EXACT_DISCORD_NAME string
MATCH_STEAMID_64 string
MATCH_EXACT_NICKNAME string
MATCH_CLOSEST_NICKNAME string

View Source lib/constants.js, line 11