aboutsummaryrefslogtreecommitdiff
path: root/pkg/messages/types/svcSetView.go
blob: a60d5470a345187653fd65ddd4b700aa817e7244 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package messages

import (
	"github.com/pektezol/bitreader"
)

type SvcSetView struct {
	EntityIndex uint16
}

func ParseSvcSetView(reader *bitreader.Reader) SvcSetView {
	svcSetView := SvcSetView{
		EntityIndex: uint16(reader.TryReadBits(11)),
	}

	return svcSetView
}