Skip to content

@temporary-escape/mod-sdk / Registry

Class: Registry ​

Defined in: registry.ts:113

Constructors ​

Constructor ​

ts
new Registry(): Registry;

Returns ​

Registry

Methods ​

findBlock() ​

ts
static findBlock(name: string): AssetBlock;

Defined in: registry.ts:120

Parameters ​

ParameterType
namestring

Returns ​

AssetBlock


findBlockCategory() ​

ts
static findBlockCategory(name: string): AssetBlockCategory;

Defined in: registry.ts:174

Parameters ​

ParameterType
namestring

Returns ​

AssetBlockCategory


findFaction() ​

ts
static findFaction(name: string): AssetFaction;

Defined in: registry.ts:132

Parameters ​

ParameterType
namestring

Returns ​

AssetFaction


findImage() ​

ts
static findImage(name: string): AssetImage;

Defined in: registry.ts:126

Parameters ​

ParameterType
namestring

Returns ​

AssetImage


findModel() ​

ts
static findModel(name: string): AssetModel;

Defined in: registry.ts:138

Parameters ​

ParameterType
namestring

Returns ​

AssetModel


findPlanetType() ​

ts
static findPlanetType(name: string): AssetPlanetType;

Defined in: registry.ts:144

Parameters ​

ParameterType
namestring

Returns ​

AssetPlanetType


findSectorType() ​

ts
static findSectorType(name: string): AssetSectorType;

Defined in: registry.ts:150

Parameters ​

ParameterType
namestring

Returns ​

AssetSectorType


findShipDesign() ​

ts
static findShipDesign(name: string): AssetShipDesign;

Defined in: registry.ts:156

Parameters ​

ParameterType
namestring

Returns ​

AssetShipDesign


findSkybox() ​

ts
static findSkybox(name: string): AssetSkybox;

Defined in: registry.ts:162

Parameters ​

ParameterType
namestring

Returns ​

AssetSkybox


findSound() ​

ts
static findSound(name: string): AssetSound;

Defined in: registry.ts:180

Parameters ​

ParameterType
namestring

Returns ​

AssetSound


findTexture() ​

ts
static findTexture(name: string): AssetTexture;

Defined in: registry.ts:114

Parameters ​

ParameterType
namestring

Returns ​

AssetTexture


findTurret() ​

ts
static findTurret(name: string): AssetTurret;

Defined in: registry.ts:168

Parameters ​

ParameterType
namestring

Returns ​

AssetTurret


listBlockCategories() ​

ts
static listBlockCategories(): AssetBlockCategory[];

Defined in: registry.ts:256

Returns ​

AssetBlockCategory[]


listBlocks() ​

ts
static listBlocks(): AssetBlock[];

Defined in: registry.ts:193

Returns ​

AssetBlock[]


listFactions() ​

ts
static listFactions(): AssetFaction[];

Defined in: registry.ts:207

Returns ​

AssetFaction[]


listImages() ​

ts
static listImages(): AssetImage[];

Defined in: registry.ts:200

Returns ​

AssetImage[]


listModels() ​

ts
static listModels(): AssetModel[];

Defined in: registry.ts:214

Returns ​

AssetModel[]


listPlanetTypes() ​

ts
static listPlanetTypes(): AssetPlanetType[];

Defined in: registry.ts:221

Returns ​

AssetPlanetType[]


listSectorTypes() ​

ts
static listSectorTypes(): AssetSectorType[];

Defined in: registry.ts:228

Returns ​

AssetSectorType[]


listShipDesigns() ​

ts
static listShipDesigns(): AssetShipDesign[];

Defined in: registry.ts:235

Returns ​

AssetShipDesign[]


listSkyboxes() ​

ts
static listSkyboxes(): AssetSkybox[];

Defined in: registry.ts:242

Returns ​

AssetSkybox[]


listSounds() ​

ts
static listSounds(): AssetSound[];

Defined in: registry.ts:263

Returns ​

AssetSound[]


listTextures() ​

ts
static listTextures(): AssetTexture[];

Defined in: registry.ts:186

Returns ​

AssetTexture[]


listTurrets() ​

ts
static listTurrets(): AssetTurret[];

Defined in: registry.ts:249

Returns ​

AssetTurret[]