diff options
Diffstat (limited to 'packets/messages/types/SvcSetPause.go')
| -rw-r--r-- | packets/messages/types/SvcSetPause.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packets/messages/types/SvcSetPause.go b/packets/messages/types/SvcSetPause.go new file mode 100644 index 0000000..040fb6a --- /dev/null +++ b/packets/messages/types/SvcSetPause.go | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | package types | ||
| 2 | |||
| 3 | import "github.com/pektezol/bitreader" | ||
| 4 | |||
| 5 | type SvcSetPause struct { | ||
| 6 | Paused bool | ||
| 7 | } | ||
| 8 | |||
| 9 | func ParseSvcSetPause(reader *bitreader.ReaderType) SvcSetPause { | ||
| 10 | return SvcSetPause{Paused: reader.TryReadBool()} | ||
| 11 | } | ||