Position updates with do_pos_update test call

This commit is contained in:
Chris M
2014-07-22 23:14:44 -05:00
parent 69e90aac0a
commit da6d7538b0
10 changed files with 69 additions and 26 deletions
+12
View File
@@ -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
-12
View File
@@ -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;
-4
View File
@@ -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