mirror of
https://github.com/edubart/otclient.git
synced 2025-10-20 06:23:26 +02:00
ui loader and some refactoring
This commit is contained in:
@@ -85,4 +85,12 @@ inline void operator>>(const YAML::Node& node, TPoint<T>& point)
|
||||
node[1] >> point.y;
|
||||
}
|
||||
|
||||
template <class T>
|
||||
inline std::ostream& operator<<(std::ostream& out, const TPoint<T>& point)
|
||||
{
|
||||
out << "Point(" << point.x << ","
|
||||
<< point.y << ")";
|
||||
return out;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user