1
0
Fork 0
mirror of https://github.com/demostf/demo.js synced 2026-06-04 00:54:14 +02:00

read string tables from packets

This commit is contained in:
Robin Appelman 2017-02-05 17:35:45 +01:00
commit 5b1b11220d
15 changed files with 235 additions and 44 deletions

View file

@ -1,9 +1,13 @@
import {BitStream} from "bit-buffer";
export interface StringTable {
name: string;
entries: StringTableEntry[];
entries: StringTableEntry[],
maxEntries: number;
fixedUserDataSize?: number;
fixedUserDataSizeBits?: number;
}
export interface StringTableEntry {
text: string;
extraData: string[];
extraData?: BitStream;
}