summaryrefslogtreecommitdiff
path: root/classic/ext_player_list.go
diff options
context:
space:
mode:
authorraven <citrons@mondecitronne.com>2026-03-22 16:32:00 -0500
committerraven <citrons@mondecitronne.com>2026-03-22 16:32:16 -0500
commit8e6326c0db4ceec909b7b949418fbf909d23af29 (patch)
tree918a6fd925a6439ff4359413faf98f7ea5ee326e /classic/ext_player_list.go
parent8afab135eabb570a07de8261b00524510fa5c1fc (diff)
use ExtPlayerList
Diffstat (limited to 'classic/ext_player_list.go')
-rw-r--r--classic/ext_player_list.go30
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
+}