mirror of
https://github.com/edubart/otclient.git
synced 2025-10-29 01:25:34 +01:00
Removed Position dependencies inside the framework
This commit is contained in:
@@ -962,15 +962,6 @@ public:
|
||||
return ret;
|
||||
}
|
||||
|
||||
Position readPos(const std::string& base = std::string()) const
|
||||
{
|
||||
Position ret;
|
||||
ret.x = readType<uint16>(base + "x");
|
||||
ret.y = readType<uint16>(base + "y");
|
||||
ret.z = readType<uint8>(base + "z");
|
||||
return ret;
|
||||
}
|
||||
|
||||
/** Template form of the attribute query which will try to read the
|
||||
attribute into the specified type. Very easy, very powerful, but
|
||||
be careful to make sure to call this with the correct type.
|
||||
|
||||
Reference in New Issue
Block a user