summaryrefslogtreecommitdiff
path: root/classic/ext_player_list.go
blob: f01d5507d1fead532e6a4bab17393cd3f6f5eee3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package classic

type AddPlayerName struct {
	NameId int16
	PlayerName String
	ListName String
	GroupName String
	GroupRank byte
}
func (p *AddPlayerName) PacketId() byte {
	return 0x16
}

type RemovePlayerName struct {
	NameId int16
}
func (p *RemovePlayerName) PacketId() byte {
	return 0x18
}

type AddEntity2 struct {
	EntityId byte
	InGameName String
	SkinName String
	X, Y, Z Fixed
	Yaw, Pitch byte
}
func (p *AddEntity2) PacketId() byte {
	return 0x21
}