baseasset
This file contains the BaseAsset object, which represents a Roblox asset ID.
BaseAsset
¶
Bases: BaseItem
Represents a Roblox asset ID.
Attributes:
| Name | Type | Description |
|---|---|---|
id |
int
|
The asset ID. |
Source code in roblox/bases/baseasset.py
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | |
__init__(client, asset_id)
¶
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
client |
Client
|
The Client this object belongs to. |
required |
asset_id |
int
|
The asset ID. |
required |
Source code in roblox/bases/baseasset.py
25 26 27 28 29 30 31 32 33 | |
get_resale_data()
async
¶
Gets the asset's limited resale data. The asset must be a limited item for this information to be present.
Returns:
| Type | Description |
|---|---|
AssetResaleData
|
The asset's limited resale data. |
Source code in roblox/bases/baseasset.py
35 36 37 38 39 40 41 42 43 44 45 46 47 | |