Documentation / @sw-file-lib/core / ParsedComponentModV1
Interface: ParsedComponentModV1
ts
interface ParsedComponentModV1 {
version: 1;
dataSize: number;
name: string;
definition: string;
assets: ParsedComponentModAsset[];
}Defined in: componentMod/index.ts:73
Parsed version 1 component mod.
Introduced in Stormworks v1.15.11, adding the definition file name.
Properties
| Property | Type | Description |
|---|---|---|
| File layout version. Version | |
| Total byte size declared by the file. | |
| Component name stored in the file. | |
| Component definition XML. | |
Asset files bundled with the component. |