refactor: unglob std::shared_ptr

This commit is contained in:
Tropical
2026-03-06 11:20:45 -06:00
parent 0dd1654dec
commit 67ceccf2d4
1065 changed files with 5754 additions and 5749 deletions

View File

@@ -37,7 +37,7 @@ SetEntityMotionPacket::SetEntityMotionPacket()
_init(0, 0.0f, 0.0f, 0.0f);
}
SetEntityMotionPacket::SetEntityMotionPacket(shared_ptr<Entity> e)
SetEntityMotionPacket::SetEntityMotionPacket(std::shared_ptr<Entity> e)
{
_init(e->entityId, e->xd, e->yd, e->zd);
}
@@ -106,8 +106,8 @@ bool SetEntityMotionPacket::canBeInvalidated()
return true;
}
bool SetEntityMotionPacket::isInvalidatedBy(shared_ptr<Packet> packet)
bool SetEntityMotionPacket::isInvalidatedBy(std::shared_ptr<Packet> packet)
{
shared_ptr<SetEntityMotionPacket> target = dynamic_pointer_cast<SetEntityMotionPacket>(packet);
std::shared_ptr<SetEntityMotionPacket> target = dynamic_pointer_cast<SetEntityMotionPacket>(packet);
return target->id == id;
}