Interface

class Interface

extends Observable

Used to send and receive all lobby commands.

SendCustomCommand(command)
AddBot(name, battleStatus, teamColor, aiDll)
AddStartRect(allyNo, left, top, right, bottom)
ChangeEmail(newEmail, userName)
ChangePassword(oldPassword, newPassword)
Channels()
ChannelTopic(chanName, topic)
ConfirmAgreement()
ConnectUser(userName, ipAndPort, scriptPassword)
DisableUnits(...)
EnableAllUnits()
EnableUnits(...)
Exit(reason)
ForceAllyNo(userName, teamNo)
ForceJoinBattle(userName, destinationBattleId, destinationBattlePassword)
ForceLeaveChannel(chanName, userName, reason)
ForceSpectatorMode(userName)
ForceTeamColor(userName, color)
ForceTeamNo(userName, teamNo)
GetInGameTime()
Handicap(userName, value)
Join(chanName, key)
JoinBattle(battleID, password, scriptPassword)
JoinBattleAccept(userName)
JoinBattleDeny(userName, reason)
KickFromBattle(userName)
Leave(chanName)
LeaveBattle()
ListCompFlags()
Login(user, password, cpu, localIP)
MuteList(chanName)
MyBattleStatus(battleStatus, myTeamColor)
MyStatus(status)
OpenBattle(type, natType, password, port, maxPlayers, gameHash, rank, mapHash, engineName, engineVersion, map, title, gameName)
Ping()
RecoverAccount(email, userName)
Register(userName, password, email)
RemoveBot(name)
RemoveScriptTags(...)
RemoveStartRect(allyNo)
RenameAccount(newUsername)
Ring(userName)
Say(chanName, message)
SayBattle(message)
SayBattleEx(message)
SayData(chanName, message)
SayDataBattle(message)
SayDataPrivate(userName, message)
SayEx(chanName, message)
SayPrivate(userName, message)
Script(line)
ScriptEnd()
ScriptStart()
SetScriptTags(...)
TestLogin(userName, password)
UpdateBattleInfo(spectatorCount, locked, mapHash, mapName)
UpdateBot(name, battleStatus, teamColor)

Previous topic

Wrapper

Next topic

Observable

This Page