blob: ad9f2d5450bd169f7787f6c29867c2e7126279d7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package messages
import (
"github.com/pektezol/bitreader"
"github.com/pektezol/sdp.go/pkg/types"
)
type SvcSetPause struct {
Paused bool `json:"paused"`
}
func ParseSvcSetPause(reader *bitreader.Reader, demo *types.Demo) SvcSetPause {
svcSetPause := SvcSetPause{
Paused: reader.TryReadBool(),
}
demo.Writer.TempAppendLine("\t\tPaused: %t", svcSetPause.Paused)
return svcSetPause
}
|