API C BattleNet.GetGameAccountInfoByID

Returns information on the game the Battle.net friend is playing. gameAccountInfo = C_BattleNet.GetGameAccountInfoByID(id) = C_BattleNet.GetGameAccountInfoByGUID(guid) = C_BattleNet.GetFriendGameAccountInfo(friendIndex, accountIndex)

GetGameAccountInfoByID

 * id : number -  from

GetGameAccountInfoByGUID

 * guid : string : UnitGUID

GetFriendGameAccountInfo

 * friendIndex : number - Index ranging from 1 to
 * accountIndex : number - Index ranging from 1 to

Returns

 * gameAccountInfo : BNetGameAccountInfo ?

Example

 * Shows your Battle.net friends' game information. Tested with one friend online in the mobile app, and one friend offline.


 * returns the same information in