mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 19:19:52 +02:00
feat: some unfinished ideas
This commit is contained in:
1 parent
5346ab576f
commit
2c105d7a89
5 files changed
+154
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import { Parser } from 'pickleparser';
|
||||
import { ReadStream } from '../buffer';
|
||||
|
||||
export class BattleResultsReadStream extends ReadStream {
|
||||
battleResults() {
|
||||
const pickleParser = new Parser();
|
||||
const unpickled = pickleParser.parse(new Uint8Array(this.buffer));
|
||||
const [, battleResultsString] = unpickled as [number, string];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user