mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
Position updates with do_pos_update test call
This commit is contained in:
@@ -188,6 +188,7 @@
|
||||
|
||||
#define ServerOP_WIServGeneric 0x5001
|
||||
#define ServerOP_WIWorldResponse 0x5002
|
||||
#define ServerOP_WIClientRequest 0x5003
|
||||
|
||||
enum { QSG_LFGuild = 0 };
|
||||
enum { QSG_LFGuild_PlayerMatches = 0, QSG_LFGuild_UpdatePlayerInfo, QSG_LFGuild_RequestPlayerInfo, QSG_LFGuild_UpdateGuildInfo, QSG_LFGuild_GuildMatches,
|
||||
@@ -1232,6 +1233,17 @@ struct ReloadWorld_Struct{
|
||||
uint32 Option;
|
||||
};
|
||||
|
||||
struct WI_Client_Request_Struct{
|
||||
char Client_UUID[64];
|
||||
char JSON_Data[0];
|
||||
};
|
||||
|
||||
struct WI_Client_Response_Struct{
|
||||
char Client_UUID[64];
|
||||
char JSON_Data[0];
|
||||
};
|
||||
|
||||
|
||||
#pragma pack()
|
||||
|
||||
#endif
|
||||
|
||||
@@ -29,18 +29,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
using namespace rapidjson;
|
||||
using namespace std;
|
||||
|
||||
std::string FloatToString(float number){
|
||||
std::ostringstream buff;
|
||||
buff << number;
|
||||
return buff.str();
|
||||
}
|
||||
|
||||
std::string IntegerToString(uint32_t number){
|
||||
std::ostringstream buff;
|
||||
buff << number;
|
||||
return buff.str();
|
||||
}
|
||||
|
||||
std::vector<std::string> explode(std::string const & s, char delim)
|
||||
{
|
||||
std::vector<std::string> result;
|
||||
|
||||
@@ -26,11 +26,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
|
||||
std::string FloatToString(float number);
|
||||
std::string IntegerToString(uint32_t number);
|
||||
std::vector<std::string> explode(std::string const & s, char delim);
|
||||
std::string MakeJSON(std::string json);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user