|
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) |
|
◆ 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
-
userId | The user id, also called Remote Id, eg: "[email protected]" or a user id for a remote like "123asd" |
remoteType | Which system are we looking the user up from, by default it's email (our system at morph), but this may be another companies lookup |
useGlobal | If 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 |
parentJobId | Job id of the job that spawns this one |
- Returns
The documentation for this class was generated from the following file:
- Assets/Astra/Asset/Avatar/Avatar.cs