diff options
Diffstat (limited to 'classic/ext_player_list.go')
| -rw-r--r-- | classic/ext_player_list.go | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/classic/ext_player_list.go b/classic/ext_player_list.go new file mode 100644 index 0000000..f01d550 --- /dev/null +++ b/classic/ext_player_list.go @@ -0,0 +1,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 +} |
