mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: start vfs
This commit is contained in:
1 parent
47b1eb9ab0
commit
9ca329e53f
1 file changed
+25
@@ -0,0 +1,25 @@
|
|||||||
|
export enum BlitzVFSSourceType {
|
||||||
|
Steam,
|
||||||
|
}
|
||||||
|
|
||||||
|
type BlitzVFSSource = {
|
||||||
|
type: BlitzVFSSourceType;
|
||||||
|
|
||||||
|
username: string;
|
||||||
|
password: string;
|
||||||
|
|
||||||
|
app: number;
|
||||||
|
os: "windows";
|
||||||
|
};
|
||||||
|
|
||||||
|
export class BlitzVFS {
|
||||||
|
constructor(private source: BlitzVFSSource) {}
|
||||||
|
|
||||||
|
async init() {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
async file(path: string) {
|
||||||
|
return new Uint8Array();
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in new issue
Block a user