World of Warcraft Forever API · ConnectionScript.md, for your AI
ConnectionScript (global functions)
13 functions, as Blizzard documents them for Forever 1.60.1 (70959).
Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.
Functions
CancelLogout
CancelLogout()
ForceLogout
ForceLogout()
ForceQuit
ForceQuit()
GetNativeRealmID
nativeRealmID = GetNativeRealmID()
Returns
nativeRealmID | number |
|---|
GetNetIpTypes
ipTypes = GetNetIpTypes()
Returns
ipTypes | ConnectionIptype |
|---|
GetNetStats
in, out, latencyList = GetNetStats()
Returns
in | number | |
|---|---|---|
out | number | |
latencyList | number |
GetProtocolTypes
protocolTypes = GetProtocolTypes()
Returns
protocolTypes | ConnectionProtocol |
|---|
GetRealmID
realmID = GetRealmID()
Returns
realmID | number |
|---|
GetRealmName
realmName = GetRealmName()
Returns
realmName | cstring |
|---|
IsOnTournamentRealm
result = IsOnTournamentRealm()
Returns
result | bool |
|---|
Logout
Logout()
Quit
Quit()
SelectedRealmName
selectedRealmName = SelectedRealmName()
Returns
selectedRealmName | cstring |
|---|