Add cUUID class (#3871)
This commit is contained in:
committed by
Alexander Harkness
parent
86d52c3e17
commit
f4f2fc7c3d
@@ -20,6 +20,7 @@ class cItemGrid;
|
||||
class cMonster;
|
||||
class cProjectileEntity;
|
||||
class cHangingEntity;
|
||||
class cUUID;
|
||||
|
||||
|
||||
|
||||
@@ -230,8 +231,8 @@ protected:
|
||||
void LoadPigZombieFromNBT (cEntityList & a_Entities, const cParsedNBT & a_NBT, int a_TagIdx);
|
||||
|
||||
/** Loads the owner name and UUID from the entity at the specified NBT tag.
|
||||
Returns a pair of {name, uuid}. If the entity is not owned, both are empty strings. */
|
||||
std::pair<AString, AString> LoadEntityOwner(const cParsedNBT & a_NBT, int a_TagIdx);
|
||||
Returns a pair of {name, uuid}. If the entity is not owned, name is an empty string and uuid is nil. */
|
||||
std::pair<AString, cUUID> LoadEntityOwner(const cParsedNBT & a_NBT, int a_TagIdx);
|
||||
|
||||
/** Loads entity common data from the NBT compound; returns true if successful */
|
||||
bool LoadEntityBaseFromNBT(cEntity & a_Entity, const cParsedNBT & a_NBT, int a_TagIdx);
|
||||
|
||||
Reference in New Issue
Block a user