aboutsummaryrefslogtreecommitdiff
path: root/pkg/messages/types/svcSetPause.go
blob: b69779fbae761483e34104989336fa92e1b74817 (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/writer"
)

type SvcSetPause struct {
	Paused bool
}

func ParseSvcSetPause(reader *bitreader.Reader) SvcSetPause {
	svcSetPause := SvcSetPause{
		Paused: reader.TryReadBool(),
	}
	writer.TempAppendLine("\t\tPaused: %t", svcSetPause.Paused)
	return svcSetPause
}