1
This commit is contained in:
parent
d0c3299e3e
commit
65bff65cf6
@ -7,7 +7,6 @@
|
|||||||
#include <a8/collision.h>
|
#include <a8/collision.h>
|
||||||
|
|
||||||
#include "framework/cpp/utils.h"
|
#include "framework/cpp/utils.h"
|
||||||
#include "framework/cpp/httpclientpool.h"
|
|
||||||
|
|
||||||
#include "human.h"
|
#include "human.h"
|
||||||
#include "cs_proto.pb.h"
|
#include "cs_proto.pb.h"
|
||||||
@ -36,6 +35,7 @@
|
|||||||
#include "explosion.h"
|
#include "explosion.h"
|
||||||
#include "killmgr.h"
|
#include "killmgr.h"
|
||||||
#include "tracemgr.h"
|
#include "tracemgr.h"
|
||||||
|
#include "httpproxy.h"
|
||||||
|
|
||||||
const int kReviveTimeAdd = 12;
|
const int kReviveTimeAdd = 12;
|
||||||
const int kSkinNum = 4;
|
const int kSkinNum = 4;
|
||||||
@ -2387,7 +2387,7 @@ void Human::SendBattleReport()
|
|||||||
}
|
}
|
||||||
std::string data;
|
std::string data;
|
||||||
params->ToUrlEncodeStr(data);
|
params->ToUrlEncodeStr(data);
|
||||||
f8::HttpClientPool::Instance()->HttpGet
|
HttpProxy::Instance()->HttpGet
|
||||||
(
|
(
|
||||||
a8::XParams()
|
a8::XParams()
|
||||||
.SetSender(room->GetRoomUuid())
|
.SetSender(room->GetRoomUuid())
|
||||||
@ -2396,8 +2396,7 @@ void Human::SendBattleReport()
|
|||||||
on_ok,
|
on_ok,
|
||||||
on_error,
|
on_error,
|
||||||
url.c_str(),
|
url.c_str(),
|
||||||
*params,
|
*params.get()
|
||||||
MAX_SYS_HTTP_NUM + (GetUniId() % MAX_USER_HTTP_NUM)
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user