This commit is contained in:
Robin Appelman 2022-08-26 00:39:34 +02:00
commit 916ff9d1a5
2 changed files with 7 additions and 0 deletions

View file

@ -20,6 +20,7 @@ export async function parseDemo(bytes: Uint8Array): Promise<ParsedDemo> {
name: m.get_player_name(state, i),
steamId: m.get_player_steam_id(state, i),
entityId: m.get_player_entity_id(state, i),
userId: m.get_player_user_id(state, i),
})
}
@ -64,6 +65,7 @@ export interface PlayerInfo {
entityId: number,
name: string,
steamId: string,
userId: number,
}
export enum Team {