diff options
Diffstat (limited to 'pkg/messages/types/svcPaintmapData.go')
| -rw-r--r-- | pkg/messages/types/svcPaintmapData.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkg/messages/types/svcPaintmapData.go b/pkg/messages/types/svcPaintmapData.go index 380016a..40f6ad0 100644 --- a/pkg/messages/types/svcPaintmapData.go +++ b/pkg/messages/types/svcPaintmapData.go | |||
| @@ -1,6 +1,9 @@ | |||
| 1 | package messages | 1 | package messages |
| 2 | 2 | ||
| 3 | import "github.com/pektezol/bitreader" | 3 | import ( |
| 4 | "github.com/pektezol/bitreader" | ||
| 5 | "github.com/pektezol/demoparser/pkg/writer" | ||
| 6 | ) | ||
| 4 | 7 | ||
| 5 | type SvcPaintmapData struct { | 8 | type SvcPaintmapData struct { |
| 6 | Length uint32 | 9 | Length uint32 |
| @@ -12,5 +15,6 @@ func ParseSvcPaintmapData(reader *bitreader.Reader) SvcPaintmapData { | |||
| 12 | Length: reader.TryReadUInt32(), | 15 | Length: reader.TryReadUInt32(), |
| 13 | } | 16 | } |
| 14 | svcPaintmapData.Data = reader.TryReadBitsToSlice(uint64(svcPaintmapData.Length)) | 17 | svcPaintmapData.Data = reader.TryReadBitsToSlice(uint64(svcPaintmapData.Length)) |
| 18 | writer.TempAppendLine("\t\tData: %v", svcPaintmapData.Data) | ||
| 15 | return svcPaintmapData | 19 | return svcPaintmapData |
| 16 | } | 20 | } |