The documentation on this api is lacking. The LocationType number is only documented from 1-4. I have found that LocationType == 6 when in team create and therefore must assume there is a LocationType 5. There could also be a LocationType 7 and so on that are not documented. I tried looking on the devform as an alternate source, but none of the information on the LocationType have been correct.
6 Likes
Am currently searching for documentation on LocationType, I didn’t even see it in that wiki page until I stumbled on this!
Definitely needs to have its own table. This isn’t an acceptable way to document something:
2 Likes
This is the documentation I have found at this point. Sorry I didn’t update this post with what I found sooner.
Friends List API Documentation
UserName Ninja48128
VisitorId 79123699
GameId f8228667-66c4-4cb6-854c-a55405c45050
IsOnline true
LastLocation Arsenal
PlaceId 286090429
LastOnline 2019-07-11T15:33:54.3254184-05:00
LocationType 4
declare const enum LocationType {
MobileWebsite = 0,
MobileInGame = 1,
Website = 2,
Studio = 3,
InGame = 4,
XBoxApp = 5,
TeamCreate = 6,
}
5 Likes