aboutsummaryrefslogtreecommitdiff
path: root/pkg/messages/types/svcSetView.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/svcSetView.go
parentorganize packets and classes (#9) (diff)
downloadsdp.go-9991801e4037d8dc530876584f21c1674c9e3bba.tar.gz
sdp.go-9991801e4037d8dc530876584f21c1674c9e3bba.tar.bz2
sdp.go-9991801e4037d8dc530876584f21c1674c9e3bba.zip
init: will look at this laterverification
Diffstat (limited to 'pkg/messages/types/svcSetView.go')
-rw-r--r--pkg/messages/types/svcSetView.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/messages/types/svcSetView.go b/pkg/messages/types/svcSetView.go
index bdb6203..a60d547 100644
--- a/pkg/messages/types/svcSetView.go
+++ b/pkg/messages/types/svcSetView.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 SvcSetView struct { 7type SvcSetView struct {
@@ -13,6 +12,6 @@ func ParseSvcSetView(reader *bitreader.Reader) SvcSetView {
13 svcSetView := SvcSetView{ 12 svcSetView := SvcSetView{
14 EntityIndex: uint16(reader.TryReadBits(11)), 13 EntityIndex: uint16(reader.TryReadBits(11)),
15 } 14 }
16 writer.TempAppendLine("\t\tEntity Index: %d", svcSetView.EntityIndex) 15
17 return svcSetView 16 return svcSetView
18} 17}