@temporary-escape/mod-sdk / Asset
Class: Asset
Defined in: assets/asset.ts:7
Extended by
AssetBlockAssetBlockCategoryAssetFactionAssetImageAssetModelAssetPlanetAssetSectorTypeAssetShaderAssetShipDesignAssetSkyboxAssetSoundAssetSystemTypeAssetTextureAssetTurretAssetTemplate
Constructors
Constructor
ts
new Asset(handle: number): Asset;Defined in: assets/asset.ts:10
Parameters
| Parameter | Type |
|---|---|
handle | number |
Returns
Asset
Properties
| Property | Type | Defined in |
|---|---|---|
handle | number | assets/asset.ts:8 |
Accessors
name
Get Signature
ts
get name(): string;Defined in: assets/asset.ts:14
Returns
string
Methods
eq()
ts
eq(other: Asset): bool;Defined in: assets/asset.ts:24
Returns true if this asset is equal to the other asset.
Parameters
| Parameter | Type | Description |
|---|---|---|
other | Asset | The other asset to compare |
Returns
bool
ne()
ts
ne(other: Asset): bool;Defined in: assets/asset.ts:32
Returns true if this asset is not equal to the other asset.
Parameters
| Parameter | Type | Description |
|---|---|---|
other | Asset | The other asset to compare |
Returns
bool
