aboutsummaryrefslogtreecommitdiff
path: root/pkg/classes/stop.go
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-09-23 17:46:12 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-09-23 17:46:12 +0300
commit7745f2dcaa2c409c19c6e79bf1eaa2bc41444be0 (patch)
tree0c57a12442ec0b8e90089eddf44af78a01e8882a /pkg/classes/stop.go
parentfeat: TONS of user message parsing (#10) (diff)
downloadsdp.go-7745f2dcaa2c409c19c6e79bf1eaa2bc41444be0.tar.gz
sdp.go-7745f2dcaa2c409c19c6e79bf1eaa2bc41444be0.tar.bz2
sdp.go-7745f2dcaa2c409c19c6e79bf1eaa2bc41444be0.zip
lp parser: only get portal count and cm ticks
Diffstat (limited to 'pkg/classes/stop.go')
-rw-r--r--pkg/classes/stop.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/classes/stop.go b/pkg/classes/stop.go
index 753be19..96bc1e4 100644
--- a/pkg/classes/stop.go
+++ b/pkg/classes/stop.go
@@ -2,7 +2,6 @@ package classes
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 Stop struct { 7type Stop struct {
@@ -12,6 +11,5 @@ type Stop struct {
12func (stop *Stop) ParseStop(reader *bitreader.Reader) { 11func (stop *Stop) ParseStop(reader *bitreader.Reader) {
13 if reader.TryReadBool() { 12 if reader.TryReadBool() {
14 stop.RemainingData = reader.TryReadBitsToSlice(uint64(reader.TryReadRemainingBits())) 13 stop.RemainingData = reader.TryReadBitsToSlice(uint64(reader.TryReadRemainingBits()))
15 writer.AppendLine("\tRemaining Data: %v", stop.RemainingData)
16 } 14 }
17} 15}