@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
| Parameter | Type |
|---|---|
name | string |
Returns
findBlockCategory()
ts
static findBlockCategory(name: string): AssetBlockCategory;Defined in: registry.ts:174
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
findFaction()
ts
static findFaction(name: string): AssetFaction;Defined in: registry.ts:132
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
findImage()
ts
static findImage(name: string): AssetImage;Defined in: registry.ts:126
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
findModel()
ts
static findModel(name: string): AssetModel;Defined in: registry.ts:138
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
findPlanetType()
ts
static findPlanetType(name: string): AssetPlanetType;Defined in: registry.ts:144
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
findSectorType()
ts
static findSectorType(name: string): AssetSectorType;Defined in: registry.ts:150
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
findShipDesign()
ts
static findShipDesign(name: string): AssetShipDesign;Defined in: registry.ts:156
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
findSkybox()
ts
static findSkybox(name: string): AssetSkybox;Defined in: registry.ts:162
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
findSound()
ts
static findSound(name: string): AssetSound;Defined in: registry.ts:180
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
findTexture()
ts
static findTexture(name: string): AssetTexture;Defined in: registry.ts:114
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
findTurret()
ts
static findTurret(name: string): AssetTurret;Defined in: registry.ts:168
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
listBlockCategories()
ts
static listBlockCategories(): AssetBlockCategory[];Defined in: registry.ts:256
Returns
listBlocks()
ts
static listBlocks(): AssetBlock[];Defined in: registry.ts:193
Returns
listFactions()
ts
static listFactions(): AssetFaction[];Defined in: registry.ts:207
Returns
listImages()
ts
static listImages(): AssetImage[];Defined in: registry.ts:200
Returns
listModels()
ts
static listModels(): AssetModel[];Defined in: registry.ts:214
Returns
listPlanetTypes()
ts
static listPlanetTypes(): AssetPlanetType[];Defined in: registry.ts:221
Returns
listSectorTypes()
ts
static listSectorTypes(): AssetSectorType[];Defined in: registry.ts:228
Returns
listShipDesigns()
ts
static listShipDesigns(): AssetShipDesign[];Defined in: registry.ts:235
Returns
listSkyboxes()
ts
static listSkyboxes(): AssetSkybox[];Defined in: registry.ts:242
Returns
listSounds()
ts
static listSounds(): AssetSound[];Defined in: registry.ts:263
Returns
listTextures()
ts
static listTextures(): AssetTexture[];Defined in: registry.ts:186
Returns
listTurrets()
ts
static listTurrets(): AssetTurret[];Defined in: registry.ts:249
