mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-24 10:56:09 +00:00
refactor: unglob std::shared_ptr
This commit is contained in:
@@ -18,7 +18,7 @@ SetEntityDataPacket::~SetEntityDataPacket()
|
||||
delete packedItems;
|
||||
}
|
||||
|
||||
SetEntityDataPacket::SetEntityDataPacket(int id, shared_ptr<SynchedEntityData> entityData, bool notJustDirty)
|
||||
SetEntityDataPacket::SetEntityDataPacket(int id, std::shared_ptr<SynchedEntityData> entityData, bool notJustDirty)
|
||||
{
|
||||
this->id = id;
|
||||
if(notJustDirty)
|
||||
@@ -58,7 +58,7 @@ bool SetEntityDataPacket::isAync()
|
||||
return true;
|
||||
}
|
||||
|
||||
vector<shared_ptr<SynchedEntityData::DataItem> > *SetEntityDataPacket::getUnpackedData()
|
||||
vector<std::shared_ptr<SynchedEntityData::DataItem> > *SetEntityDataPacket::getUnpackedData()
|
||||
{
|
||||
return packedItems;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user