Astra Unity 2.6.6
Astra Unity Plugin
Astra.Asset.Avatars Class Reference

Classes

class  AvatarRecipeJob
 
class  AvatarSelectionJob
 

Static Public Member Functions

static AvatarRecipeJob GetAvatarRecipeFromUserId (string userId, string remoteType="email", bool useGlobal=false, int parentJobId=Job.kNoParentJobId)
 Queries the servers for the latest avatar recipe, check the resulting job.recipe for the actual data More...
 
static AvatarRecipeJob GetAvatarRecipeFromAvatarId (string avatarId, int parentJobId=Job.kNoParentJobId)
 
static AvatarSelectionJob SetSelectedAvatarId (string avatarId, int parentJobId=Job.kNoParentJobId)
 
static AvatarSelectionJob GetSelectedAvatarId (bool refresh=false, int parentJobId=Job.kNoParentJobId)
 

Member Function Documentation

◆ GetAvatarRecipeFromUserId()

static AvatarRecipeJob Astra.Asset.Avatars.GetAvatarRecipeFromUserId ( string  userId,
string  remoteType = "email",
bool  useGlobal = false,
int  parentJobId = Job.kNoParentJobId 
)
inlinestatic

Queries the servers for the latest avatar recipe, check the resulting job.recipe for the actual data

Parameters
userIdThe user id, also called Remote Id, eg: "[email protected]" or a user id for a remote like "123asd"
remoteTypeWhich system are we looking the user up from, by default it's email (our system at morph), but this may be another companies lookup
useGlobalIf true will query the user's global avatar recipe as well as the current app, not all users will allow this, so it may fail. If false will only query the recipe for the current active APP_ID
parentJobIdJob id of the job that spawns this one
Returns

The documentation for this class was generated from the following file: