aboutsummaryrefslogtreecommitdiff
path: root/pkg/messages/types/netSplitScreenUser.go
blob: 8b14f63ccfac10a81f3b855fdc9eb6565da10481 (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 NetSplitScreenUser struct {
	Slot bool
}

func ParseNetSplitScreenUser(reader *bitreader.Reader) NetSplitScreenUser {
	netSplitScreenUser := NetSplitScreenUser{
		Slot: reader.TryReadBool(),
	}

	return netSplitScreenUser
}