Skip to content

@temporary-escape/mod-sdk / AssetBlock

Class: AssetBlock ​

Defined in: assets/asset-block.ts:3

Extends ​

Constructors ​

Constructor ​

ts
new AssetBlock(handle: number): AssetBlock;

Defined in: assets/asset-block.ts:4

Parameters ​

ParameterType
handlenumber

Returns ​

AssetBlock

Overrides ​

Asset.constructor

Properties ​

PropertyTypeInherited fromDefined in
handlenumberAsset.handleassets/asset.ts:8

Accessors ​

name ​

Get Signature ​

ts
get name(): string;

Defined in: assets/asset.ts:14

Returns ​

string

Inherited from ​

Asset.name

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 ​

ParameterTypeDescription
otherAssetThe other asset to compare

Returns ​

bool

Inherited from ​

Asset.eq


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 ​

ParameterTypeDescription
otherAssetThe other asset to compare

Returns ​

bool

Inherited from ​

Asset.ne