mirror of
https://github.com/edubart/otclient.git
synced 2025-12-14 04:49:45 +01:00
ignore this
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#include <iomanip>
|
||||
#include <vector>
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include <otclient/position.h>
|
||||
|
||||
#include "types.h"
|
||||
#include "cast.h"
|
||||
@@ -180,6 +181,11 @@ inline std::string ip_to_string(uint32 ip) {
|
||||
return std::string(host);
|
||||
}
|
||||
|
||||
inline std::string pos_to_string(const Position& p)
|
||||
{
|
||||
return format("{x = %h, y = %h, z = %hh}", p.x, p.y, p.z);
|
||||
}
|
||||
|
||||
/// Convert utf8 characters to latin1
|
||||
inline char utf8CharToLatin1(uchar *utf8, int *read) {
|
||||
char c = '?';
|
||||
|
||||
Reference in New Issue
Block a user