mirror of
https://github.com/demostf/demo.js
synced 2026-06-04 00:54:14 +02:00
Give ConsoleCmd a Packet type
This commit is contained in:
parent
4af1c492dc
commit
f43bf30f96
3 changed files with 13 additions and 3 deletions
|
|
@ -11,6 +11,11 @@ export interface StringTablePacket {
|
|||
tables: StringTable[];
|
||||
}
|
||||
|
||||
export interface ConsoleCmdPacket {
|
||||
packetType: 'consoleCmd';
|
||||
command: string;
|
||||
}
|
||||
|
||||
export interface DataTablePacket {
|
||||
packetType: 'dataTable';
|
||||
tables: SendTable[];
|
||||
|
|
@ -149,4 +154,5 @@ export type Packet = BSPDecalPacket |
|
|||
VoiceInitPacket |
|
||||
VoiceDataPacket |
|
||||
MenuPacket |
|
||||
ConsoleCmdPacket |
|
||||
CmdKeyValuesPacket;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue