feat: read stream

This commit is contained in:
TrèsAbhi committed 2024-02-04 17:55:48 -06:00
1 parent 016fe1c3d3
commit 93e405c370
11 files changed
+36 -36

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
import { Vector3Tuple, Vector4Tuple } from 'three';
import { ScpgStream } from './scpg';
import { ScpgReadStream } from './scpg';
export interface SC2 {
'#dataNodes': DataNode[];
@@ -288,7 +288,7 @@ interface SceneComponents {
count: number;
}
export class Sc2Stream extends ScpgStream {
export class Sc2ReadStream extends ScpgReadStream {
header() {
return {
name: this.ascii(4),