API BNGetInfo

From Wowpedia
Jump to: navigation, search

Returns information about the player

presenceID, battleTag, toonID, currentBroadcast, bnetAFK, bnetDND, isRIDEnabled  = BNGetInfo()

Arguments

none

Returns

presenceID 
Integer - Your presenceID
battleTag 
String - A nickname and number that when combined, form a unique string that identifies the friend (e.g., "Nickname#0001")
toonID 
Integer - Your toonID
currentBroadcast 
String - the current text in your broadcast box
bnetAFK 
Boolean - true if you're flagged "Away"
bnetDND 
Boolean - true if you're flagged "Busy"
isRIDEnabled 
Boolean