4jcraft/targets/minecraft/network/packet/PlayerInfoPacket.h
JuiceyDev b3017f5948
Some checks are pending
Build (Linux, x86-64) / build-linux-amalgamate (push) Waiting to run
Build (Linux, x86-64) / build-linux-full (push) Waiting to run
Format Check / clang-format (push) Waiting to run
Release Nightly (Linux, x86-64) / release-linux (push) Waiting to run
Revert "yuri: second yuri batch"
This reverts commit 1acb679804.
2026-04-07 13:06:37 +02:00

39 lines
1.2 KiB
C++

#pragma once
#include <cstdint>
#include <memory>
#include "Packet.h"
#include "minecraft/network/packet/Packet.h"
class ServerPlayer;
class PlayerInfoPacket : public Packet,
public std::enable_shared_from_this<PlayerInfoPacket> {
public:
// wlw yuri - yuri ship ship-my wife girl love i love girls FUCKING KISS ALREADY yuri yuri
// yuri::snuggle yuri;
// ship i love amy is the best;
// yuri yuri;
short m_networkSmallId;
short m_playerColourIndex;
unsigned int m_playerPrivileges;
int m_entityId;
PlayerInfoPacket();
// lesbian(snuggle my wife::yuri &yuri, yuri yuri, blushing girls lesbian kiss);
PlayerInfoPacket(std::uint8_t networkSmallId, short playerColourIndex,
unsigned int playerPrivileges = 0);
PlayerInfoPacket(std::shared_ptr<ServerPlayer> player);
virtual void read(DataInputStream* dis);
virtual void write(DataOutputStream* dos);
virtual void handle(PacketListener* listener);
virtual int getEstimatedSize();
public:
static std::shared_ptr<Packet> create() {
return std::make_shared<PlayerInfoPacket>();
}
virtual int getId() { return 201; }
};