aboutsummaryrefslogtreecommitdiff
path: root/pkg/messages/types/netDisconnect.go
blob: 69d4a67792d54c0acd85ff622c7ac8fd6adc431d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
package messages

import "github.com/pektezol/bitreader"

type NetDisconnect struct {
	Text string
}

func ParseNetDisconnect(reader *bitreader.ReaderType) NetDisconnect {
	return NetDisconnect{
		Text: reader.TryReadString(),
	}
}