Revert "shared_ptr -> std::shared_ptr"

This reverts commit 7074f35e4b.
This commit is contained in:
void_17
2026-03-02 17:37:16 +07:00
parent 8a2a62ea1d
commit 119bff3514
1373 changed files with 12049 additions and 12049 deletions

View File

@@ -25,7 +25,7 @@ SetHealthPacket::SetHealthPacket(int health, int food, float saturation, ETeleme
this->damageSource = damageSource;
}
void SetHealthPacket::read(DataInputStream *dis) //throws IOException
void SetHealthPacket::read(DataInputStream *dis) //throws IOException
{
health = dis->readShort();
food = dis->readShort();
@@ -35,7 +35,7 @@ void SetHealthPacket::read(DataInputStream *dis) //throws IOException
damageSource = (ETelemetryChallenges)dis->readByte();
}
void SetHealthPacket::write(DataOutputStream *dos) //throws IOException
void SetHealthPacket::write(DataOutputStream *dos) //throws IOException
{
dos->writeShort(health);
dos->writeShort(food);
@@ -45,7 +45,7 @@ void SetHealthPacket::write(DataOutputStream *dos) //throws IOException
dos->writeByte(damageSource);
}
void SetHealthPacket::handle(PacketListener *listener)
void SetHealthPacket::handle(PacketListener *listener)
{
listener->handleSetHealth(shared_from_this());
}
@@ -60,7 +60,7 @@ bool SetHealthPacket::canBeInvalidated()
return true;
}
bool SetHealthPacket::isInvalidatedBy(std::shared_ptr<Packet> packet)
bool SetHealthPacket::isInvalidatedBy(shared_ptr<Packet> packet)
{
return true;
}