@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
| Parameter | Type |
|---|---|
name | string |
Returns
findBlockCategory()
ts
static findBlockCategory(name: string): AssetBlockCategory;Defined in: registry.ts:205
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
findFaction()
ts
static findFaction(name: string): AssetFaction;Defined in: registry.ts:151
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
findImage()
ts
static findImage(name: string): AssetImage;Defined in: registry.ts:145
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
findModel()
ts
static findModel(name: string): AssetModel;Defined in: registry.ts:157
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
findPlanet()
ts
static findPlanet(name: string): AssetPlanet;Defined in: registry.ts:163
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
findSectorType()
ts
static findSectorType(name: string): AssetSectorType;Defined in: registry.ts:169
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
findShader()
ts
static findShader(name: string): AssetShader;Defined in: registry.ts:193
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
findShipDesign()
ts
static findShipDesign(name: string): AssetShipDesign;Defined in: registry.ts:175
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
findSkybox()
ts
static findSkybox(name: string): AssetSkybox;Defined in: registry.ts:181
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
findSound()
ts
static findSound(name: string): AssetSound;Defined in: registry.ts:211
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
findSystemType()
ts
static findSystemType(name: string): AssetSystemType;Defined in: registry.ts:199
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
findTemplate()
ts
static findTemplate(name: string): AssetTemplate;Defined in: registry.ts:217
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
findTexture()
ts
static findTexture(name: string): AssetTexture;Defined in: registry.ts:133
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
findTurret()
ts
static findTurret(name: string): AssetTurret;Defined in: registry.ts:187
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
listBlockCategories()
ts
static listBlockCategories(): AssetBlockCategory[];Defined in: registry.ts:293
Returns
listBlocks()
ts
static listBlocks(): AssetBlock[];Defined in: registry.ts:230
Returns
listFactions()
ts
static listFactions(): AssetFaction[];Defined in: registry.ts:244
Returns
listImages()
ts
static listImages(): AssetImage[];Defined in: registry.ts:237
Returns
listModels()
ts
static listModels(): AssetModel[];Defined in: registry.ts:251
Returns
listPlanets()
ts
static listPlanets(): AssetPlanet[];Defined in: registry.ts:258
Returns
listSectorTypes()
ts
static listSectorTypes(): AssetSectorType[];Defined in: registry.ts:265
Returns
listShipDesigns()
ts
static listShipDesigns(): AssetShipDesign[];Defined in: registry.ts:272
Returns
listSkyboxes()
ts
static listSkyboxes(): AssetSkybox[];Defined in: registry.ts:279
Returns
listSounds()
ts
static listSounds(): AssetSound[];Defined in: registry.ts:300
Returns
listTemplates()
ts
static listTemplates(): AssetTemplate[];Defined in: registry.ts:307
Returns
listTextures()
ts
static listTextures(): AssetTexture[];Defined in: registry.ts:223
Returns
listTurrets()
ts
static listTurrets(): AssetTurret[];Defined in: registry.ts:286
