ZEPETO.Module.Content
Type | Description |
|---|---|
Item | ZEPETO shop item. |
Item
class
ZEPETO shop item.
Properties
Name | Type | Description |
|---|---|---|
id | string | Item code. |
property | ZepetoPropertyFlag | Item property. |
isZem | boolean | Indicates whether the item can be purchased using ZEM currency. If true, the item is purchased with ZEM; if false, it's purchased with coins. |
price | number | Item price. |
Methods
GetThumbnailAsync
GetThumbnailAsync() → BaseRequest<TextureResponse>
This asynchronous method retrieves the item's thumbnail texture.
Returns: BaseRequest<TextureResponse> — A BaseRequest object. When the asynchronous process is complete, you can access the TextureResponse object by the responseData property.
GetBadgeAsync
GetBadgeAsync() → BaseRequest<TextureResponse>
This asynchronous method retrieves the item badge texture.
Returns: BaseRequest<TextureResponse> — A BaseRequest object. When the asynchronous process is complete, you can access the TextureResponse object by the responseData property.