aboutsummaryrefslogtreecommitdiff
path: root/messages/types.go
diff options
context:
space:
mode:
authorBiSaXa <1669855+BiSaXa@users.noreply.github.com>2022-08-27 13:02:35 +0300
committerBiSaXa <1669855+BiSaXa@users.noreply.github.com>2022-08-27 13:02:35 +0300
commitf108a577658c9aab8496da4ebd0fb4f0216093e8 (patch)
treee484a8a8b54c92ca4a393f267ebc755ec6434c8d /messages/types.go
downloadsdp.go-f108a577658c9aab8496da4ebd0fb4f0216093e8.tar.gz
sdp.go-f108a577658c9aab8496da4ebd0fb4f0216093e8.tar.bz2
sdp.go-f108a577658c9aab8496da4ebd0fb4f0216093e8.zip
init
Diffstat (limited to 'messages/types.go')
-rw-r--r--messages/types.go36
1 files changed, 36 insertions, 0 deletions
diff --git a/messages/types.go b/messages/types.go
new file mode 100644
index 0000000..ee42a96
--- /dev/null
+++ b/messages/types.go
@@ -0,0 +1,36 @@
1package messages
2
3type Packet struct {
4 PacketInfo []byte
5 InSequence int32
6 OutSequence int32
7 Size int32
8 Data []byte
9}
10
11type ConsoleCmd struct {
12 Size int32
13 Data string
14}
15
16type UserCmd struct {
17 Cmd int32
18 Size int32
19 Data []byte
20}
21
22type DataTables struct {
23 Size int32
24 Data []byte
25}
26
27type CustomData struct {
28 Unknown int32
29 Size int32
30 Data []byte
31}
32
33type StringTables struct {
34 Size int32
35 Data []byte
36}