Documentation / @sw-file-lib/core / parseComponentMod
Function: parseComponentMod()
ts
function parseComponentMod(input: BinaryReaderInput): ParsedComponentMod;Defined in: componentMod/index.ts:100
Parses a Stormworks component mod binary.
The returned object preserves binary metadata such as the format version and serialized sizes.
Parameters
| Parameter | Type | Description |
|---|---|---|
input | BinaryReaderInput | Binary data to parse. |
Returns
The parsed component mod.