aboutsummaryrefslogtreecommitdiff
path: root/pkg/messages/types/svcSounds.go
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-09-23 10:06:39 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-09-23 10:06:39 +0300
commit9991801e4037d8dc530876584f21c1674c9e3bba (patch)
treeefa20cd6aa6556cfdea81f4c99251e0688847ca6 /pkg/messages/types/svcSounds.go
parentorganize packets and classes (#9) (diff)
downloadsdp.go-verification.tar.gz
sdp.go-verification.tar.bz2
sdp.go-verification.zip
init: will look at this laterverification
Diffstat (limited to 'pkg/messages/types/svcSounds.go')
-rw-r--r--pkg/messages/types/svcSounds.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/pkg/messages/types/svcSounds.go b/pkg/messages/types/svcSounds.go
index 1affeb4..34d99f6 100644
--- a/pkg/messages/types/svcSounds.go
+++ b/pkg/messages/types/svcSounds.go
@@ -2,7 +2,6 @@ package messages
2 2
3import ( 3import (
4 "github.com/pektezol/bitreader" 4 "github.com/pektezol/bitreader"
5 "github.com/pektezol/demoparser/pkg/writer"
6) 5)
7 6
8type SvcSounds struct { 7type SvcSounds struct {
@@ -24,8 +23,6 @@ func ParseSvcSounds(reader *bitreader.Reader) SvcSounds {
24 svcSounds.Length = reader.TryReadUInt16() 23 svcSounds.Length = reader.TryReadUInt16()
25 } 24 }
26 svcSounds.Data = reader.TryReadBitsToSlice(uint64(svcSounds.Length)) 25 svcSounds.Data = reader.TryReadBitsToSlice(uint64(svcSounds.Length))
27 writer.TempAppendLine("\t\tReliable Sound: %t", svcSounds.ReliableSound) 26
28 writer.TempAppendLine("\t\tSound Count: %d", svcSounds.SoundCount)
29 writer.TempAppendLine("\t\tData: %v", svcSounds.Data)
30 return svcSounds 27 return svcSounds
31} 28}