Skip to content

@temporary-escape/mod-sdk / Registry

Class: Registry ​

Defined in: registry.ts:132

Constructors ​

Constructor ​

ts
new Registry(): Registry;

Returns ​

Registry

Methods ​

findBlock() ​

ts
static findBlock(name: string): AssetBlock;

Defined in: registry.ts:139

Parameters ​

ParameterType
namestring

Returns ​

AssetBlock


findBlockCategory() ​

ts
static findBlockCategory(name: string): AssetBlockCategory;

Defined in: registry.ts:205

Parameters ​

ParameterType
namestring

Returns ​

AssetBlockCategory


findFaction() ​

ts
static findFaction(name: string): AssetFaction;

Defined in: registry.ts:151

Parameters ​

ParameterType
namestring

Returns ​

AssetFaction


findImage() ​

ts
static findImage(name: string): AssetImage;

Defined in: registry.ts:145

Parameters ​

ParameterType
namestring

Returns ​

AssetImage


findModel() ​

ts
static findModel(name: string): AssetModel;

Defined in: registry.ts:157

Parameters ​

ParameterType
namestring

Returns ​

AssetModel


findPlanet() ​

ts
static findPlanet(name: string): AssetPlanet;

Defined in: registry.ts:163

Parameters ​

ParameterType
namestring

Returns ​

AssetPlanet


findSectorType() ​

ts
static findSectorType(name: string): AssetSectorType;

Defined in: registry.ts:169

Parameters ​

ParameterType
namestring

Returns ​

AssetSectorType


findShader() ​

ts
static findShader(name: string): AssetShader;

Defined in: registry.ts:193

Parameters ​

ParameterType
namestring

Returns ​

AssetShader


findShipDesign() ​

ts
static findShipDesign(name: string): AssetShipDesign;

Defined in: registry.ts:175

Parameters ​

ParameterType
namestring

Returns ​

AssetShipDesign


findSkybox() ​

ts
static findSkybox(name: string): AssetSkybox;

Defined in: registry.ts:181

Parameters ​

ParameterType
namestring

Returns ​

AssetSkybox


findSound() ​

ts
static findSound(name: string): AssetSound;

Defined in: registry.ts:211

Parameters ​

ParameterType
namestring

Returns ​

AssetSound


findSystemType() ​

ts
static findSystemType(name: string): AssetSystemType;

Defined in: registry.ts:199

Parameters ​

ParameterType
namestring

Returns ​

AssetSystemType


findTemplate() ​

ts
static findTemplate(name: string): AssetTemplate;

Defined in: registry.ts:217

Parameters ​

ParameterType
namestring

Returns ​

AssetTemplate


findTexture() ​

ts
static findTexture(name: string): AssetTexture;

Defined in: registry.ts:133

Parameters ​

ParameterType
namestring

Returns ​

AssetTexture


findTurret() ​

ts
static findTurret(name: string): AssetTurret;

Defined in: registry.ts:187

Parameters ​

ParameterType
namestring

Returns ​

AssetTurret


listBlockCategories() ​

ts
static listBlockCategories(): AssetBlockCategory[];

Defined in: registry.ts:293

Returns ​

AssetBlockCategory[]


listBlocks() ​

ts
static listBlocks(): AssetBlock[];

Defined in: registry.ts:230

Returns ​

AssetBlock[]


listFactions() ​

ts
static listFactions(): AssetFaction[];

Defined in: registry.ts:244

Returns ​

AssetFaction[]


listImages() ​

ts
static listImages(): AssetImage[];

Defined in: registry.ts:237

Returns ​

AssetImage[]


listModels() ​

ts
static listModels(): AssetModel[];

Defined in: registry.ts:251

Returns ​

AssetModel[]


listPlanets() ​

ts
static listPlanets(): AssetPlanet[];

Defined in: registry.ts:258

Returns ​

AssetPlanet[]


listSectorTypes() ​

ts
static listSectorTypes(): AssetSectorType[];

Defined in: registry.ts:265

Returns ​

AssetSectorType[]


listShipDesigns() ​

ts
static listShipDesigns(): AssetShipDesign[];

Defined in: registry.ts:272

Returns ​

AssetShipDesign[]


listSkyboxes() ​

ts
static listSkyboxes(): AssetSkybox[];

Defined in: registry.ts:279

Returns ​

AssetSkybox[]


listSounds() ​

ts
static listSounds(): AssetSound[];

Defined in: registry.ts:300

Returns ​

AssetSound[]


listTemplates() ​

ts
static listTemplates(): AssetTemplate[];

Defined in: registry.ts:307

Returns ​

AssetTemplate[]


listTextures() ​

ts
static listTextures(): AssetTexture[];

Defined in: registry.ts:223

Returns ​

AssetTexture[]


listTurrets() ​

ts
static listTurrets(): AssetTurret[];

Defined in: registry.ts:286

Returns ​

AssetTurret[]