AvatarEditorServiceクラス
ひとことで言うと
AvatarEditorServiceは、ロブロックス(Roblox)のクラスです。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。
公式の説明(英語):A service to support developer Avatar Editors.
クラスの関係
メソッド(22)
| 名前と書き方 | 説明 |
|---|---|
CheckApplyDefaultClothingAsyncAvatarEditorService:CheckApplyDefaultClothingAsync(humanoidDescription: HumanoidDescription): HumanoidDescription | Used to apply default clothing to the HumanoidDescription if necessary. |
ConformToAvatarRulesAsyncAvatarEditorService:ConformToAvatarRulesAsync(humanoidDescription: HumanoidDescription): HumanoidDescription | Returns a copy of the given HumanoidDescription that conforms to the platform Avatar rules. |
GetAccessoryTypeAvatarEditorService:GetAccessoryType(avatarAssetType: AvatarAssetType): AccessoryType | Returns the AccessoryType that corresponds to the given AvatarAssetType. |
GetAvatarRulesAsyncAvatarEditorService:GetAvatarRulesAsync(): Dictionary | Returns the platform Avatar rules for things such as scaling, default shirts and pants, number of wearable assets. |
GetBatchItemDetailsAsyncAvatarEditorService:GetBatchItemDetailsAsync(itemIds: Array, itemType: AvatarItemType): Array | Gets the item details for a list of items at once. |
GetBundlesByAssetIdAsyncAvatarEditorService:GetBundlesByAssetIdAsync(assetId: int64, limit: int64): CatalogPages | Returns a CatalogPages object containing bundles that include the given asset. |
GetFavoriteAsyncAvatarEditorService:GetFavoriteAsync(itemId: int64, itemType: AvatarItemType): boolean | Returns if the Players.LocalPlayer has favorited the given bundle or asset. |
GetHeadShapesAsyncAvatarEditorService:GetHeadShapesAsync(): Array | Returns an array of head shape names that the Players.LocalPlayer owns. |
GetInventoryAsyncAvatarEditorService:GetInventoryAsync(assetTypes: Array): InventoryPages | Returns an InventoryPages object with information about owned items in the users inventory with the given AvatarAssetTypes. |
GetItemDetailsAsyncAvatarEditorService:GetItemDetailsAsync(itemId: int64, itemType: AvatarItemType): Dictionary | Returns the item details for the given item. |
GetOutfitDetailsAsyncAvatarEditorService:GetOutfitDetailsAsync(outfitId: int64): Dictionary | Returns the outfit details for the given outfit. |
GetOutfitsAsyncAvatarEditorService:GetOutfitsAsync(outfitSource: OutfitSource, outfitType: OutfitType): OutfitPages | Returns outfit data for the Players.LocalPlayer. |
GetRecommendedAssetsAsyncAvatarEditorService:GetRecommendedAssetsAsync(assetType: AvatarAssetType, contextAssetId: int64): Array | Returns a list of recommended assets based on a given AssetType and asset ID. |
GetRecommendedBundlesAsyncAvatarEditorService:GetRecommendedBundlesAsync(bundleId: int64): Array | Returns a list of recommended bundles for a given bundle id. |
PromptAllowInventoryReadAccessAvatarEditorService:PromptAllowInventoryReadAccess(): () | Prompts the Players.LocalPlayer to allow the developer to read what items the user has in their inventory and other avatar editor related information. |
PromptCreateOutfitAvatarEditorService:PromptCreateOutfit(outfit: HumanoidDescription, rigType: HumanoidRigType, outfitOptions: Dictionary, outfitType: Variant): () | Prompts the Players.LocalPlayer to save the given HumanoidDescription as an outfit. |
PromptDeleteOutfitAvatarEditorService:PromptDeleteOutfit(outfitId: int64): () | Prompts the Players.LocalPlayer to delete the given outfit. |
PromptRenameOutfitAvatarEditorService:PromptRenameOutfit(outfitId: int64): () | Prompts the Players.LocalPlayer to rename the given outfit. |
PromptSaveAvatarAvatarEditorService:PromptSaveAvatar(humanoidDescription: HumanoidDescription, rigType: HumanoidRigType): () | Prompts the Players.LocalPlayer to update their avatar based on the given HumanoidDescription and HumanoidRigType of R6 or R15. |
PromptSetFavoriteAvatarEditorService:PromptSetFavorite(itemId: int64, itemType: AvatarItemType, shouldFavorite: boolean): () | Prompts the Players.LocalPlayer to favorite or unfavorite the given asset or bundle. |
PromptUpdateOutfitAvatarEditorService:PromptUpdateOutfit(outfitId: int64, updatedOutfit: HumanoidDescription, rigType: HumanoidRigType): () | Prompts the Players.LocalPlayer to update the given outfit. |
SearchCatalogAsyncAvatarEditorService:SearchCatalogAsync(searchParameters: CatalogSearchParams): CatalogPages | Returns a CatalogPages object containing the result of the given search. |
イベント(7)
| 名前と書き方 | 説明 |
|---|---|
PromptAllowInventoryReadAccessCompletedAvatarEditorService.PromptAllowInventoryReadAccessCompleted(result: AvatarPromptResult) | Fires when the Class.AvatarEditorService:PromptAllowInventoryReadAccess() prompt is responded to by the user. |
PromptCreateOutfitCompletedAvatarEditorService.PromptCreateOutfitCompleted(result: AvatarPromptResult, failureType: Variant) | Fires when the PromptSaveOutfit operation is completed. |
PromptDeleteOutfitCompletedAvatarEditorService.PromptDeleteOutfitCompleted(result: AvatarPromptResult) | Fires when the PromptDeleteOutfit operation is completed. |
PromptRenameOutfitCompletedAvatarEditorService.PromptRenameOutfitCompleted(result: AvatarPromptResult) | Fires when the PromptRenameOutfit operation is completed. |
PromptSaveAvatarCompletedAvatarEditorService.PromptSaveAvatarCompleted(result: AvatarPromptResult, humanoidDescription: HumanoidDescription) | Fires when the Class.AvatarEditorService:PromptSaveAvatar() operation is completed. |
PromptSetFavoriteCompletedAvatarEditorService.PromptSetFavoriteCompleted(result: AvatarPromptResult) | Fires when the Class.AvatarEditorService:PromptSetFavorite() operation is completed. |
PromptUpdateOutfitCompletedAvatarEditorService.PromptUpdateOutfitCompleted(result: AvatarPromptResult) | Fires when the Class.AvatarEditorService:PromptUpdateOutfit() operation is completed. |
受け継いでいるメンバー
Instance から受け継いでいるもの(46)
Archivable・Capabilities・IsInSandbox・Name・Parent・PredictionMode・Sandboxed・AddTag・ClearAllChildren・Clone・Destroy・FindFirstAncestor・FindFirstAncestorOfClass・FindFirstAncestorWhichIsA・FindFirstChild・FindFirstChildOfClass・FindFirstChildWhichIsA・FindFirstDescendant・GetActor・GetAttribute・GetAttributeChangedSignal・GetAttributes・GetChildren・GetDebugId・GetDescendants・GetFullName・GetStyled・GetStyledPropertyChangedSignal・GetTags・HasTag・IsAncestorOf・IsDescendantOf・IsPropertyModified・QueryDescendants・RemoveTag・ResetPropertyToDefault・SetAttribute・WaitForChild・AncestryChanged・AttributeChanged・ChildAdded・ChildRemoved・DescendantAdded・DescendantRemoving・Destroying・StyledPropertiesChanged
Object から受け継いでいるもの(4)
英語の説明とメンバーの一覧は、Roblox Creator Documentation(AvatarEditorService)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。