aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/EntityIO.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/EntityIO.h')
-rw-r--r--Minecraft.World/EntityIO.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Minecraft.World/EntityIO.h b/Minecraft.World/EntityIO.h
index c9aa9f65..be233d1d 100644
--- a/Minecraft.World/EntityIO.h
+++ b/Minecraft.World/EntityIO.h
@@ -44,12 +44,12 @@ private:
public:
static void staticCtor();
- static shared_ptr<Entity> newEntity(const wstring& id, Level *level);
- static shared_ptr<Entity> loadStatic(CompoundTag *tag, Level *level);
- static shared_ptr<Entity> newById(int id, Level *level);
- static shared_ptr<Entity> newByEnumType(eINSTANCEOF eType, Level *level);
- static int getId(shared_ptr<Entity> entity);
- static wstring getEncodeId(shared_ptr<Entity> entity);
+ static std::shared_ptr<Entity> newEntity(const wstring& id, Level *level);
+ static std::shared_ptr<Entity> loadStatic(CompoundTag *tag, Level *level);
+ static std::shared_ptr<Entity> newById(int id, Level *level);
+ static std::shared_ptr<Entity> newByEnumType(eINSTANCEOF eType, Level *level);
+ static int getId(std::shared_ptr<Entity> entity);
+ static wstring getEncodeId(std::shared_ptr<Entity> entity);
static int getId(const wstring &encodeId);
static wstring getEncodeId(int entityIoValue);
static int getNameId(int entityIoValue);