aboutsummaryrefslogtreecommitdiff
path: root/packets/packet.go
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2022-11-10 22:59:32 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-09-16 21:39:40 +0300
commit9f5e8f230d35fffb106088b72e5fdb148905f450 (patch)
tree2f22a5357a7bea2ce516b9a5e56e21435414529a /packets/packet.go
parentupgraded to v1.2.3 (diff)
downloadsdp.go-9f5e8f230d35fffb106088b72e5fdb148905f450.tar.gz
sdp.go-9f5e8f230d35fffb106088b72e5fdb148905f450.tar.bz2
sdp.go-9f5e8f230d35fffb106088b72e5fdb148905f450.zip
added almost all net/svc messages - currently broken
Diffstat (limited to 'packets/packet.go')
-rw-r--r--packets/packet.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/packets/packet.go b/packets/packet.go
index 23a21e6..b27f2e7 100644
--- a/packets/packet.go
+++ b/packets/packet.go
@@ -44,7 +44,7 @@ func ParsePacket(reader *bitreader.ReaderType) (status int) {
44 Size: int32(reader.TryReadInt32()), 44 Size: int32(reader.TryReadInt32()),
45 } 45 }
46 consoleCmd.Data = reader.TryReadStringLen(int(consoleCmd.Size)) 46 consoleCmd.Data = reader.TryReadStringLen(int(consoleCmd.Size))
47 //fmt.Printf("[%d] (%d) ConsoleCmd: %s\n", messageTick, messageType, consoleCmd.Data) 47 fmt.Printf("[%d] (%d) ConsoleCmd: %s\n", messageTick, messageType, consoleCmd.Data)
48 return 4 48 return 4
49 case 0x05: // TODO: UserCmd - Buttons 49 case 0x05: // TODO: UserCmd - Buttons
50 userCmd := UserCmd{ 50 userCmd := UserCmd{