1
This commit is contained in:
parent
ba2809123f
commit
db0d36269e
@ -93,22 +93,20 @@ void BoxDrop::RequestAllocBoxNum()
|
|||||||
{
|
{
|
||||||
if (ok) {
|
if (ok) {
|
||||||
f8::UdpLog::Instance()->Info
|
f8::UdpLog::Instance()->Info
|
||||||
("GetBattleData ok %s",
|
("RequestAllocBoxNum ok %s",
|
||||||
{
|
{
|
||||||
rsp_obj->ToJsonStr()
|
rsp_obj->ToJsonStr()
|
||||||
});
|
});
|
||||||
if (rsp_obj->GetType() != a8::XOT_OBJECT ||
|
if (rsp_obj->GetType() != a8::XOT_OBJECT ||
|
||||||
!rsp_obj->HasKey("errcode")) {
|
!rsp_obj->HasKey("errcode")) {
|
||||||
//cb(1, "", nullptr);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
f8::UdpLog::Instance()->Warning
|
f8::UdpLog::Instance()->Warning
|
||||||
("GetCustomBattleData error %s",
|
("RequestAllocBoxNum error %s",
|
||||||
{
|
{
|
||||||
""
|
""
|
||||||
});
|
});
|
||||||
//cb(1, "custom battle data error", nullptr);
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
url,
|
url,
|
||||||
|
@ -221,7 +221,7 @@ void HttpProxy::AddSignParams(const std::string& url,
|
|||||||
A8_ABORT();
|
A8_ABORT();
|
||||||
}
|
}
|
||||||
std::string sign_data;
|
std::string sign_data;
|
||||||
sign_data.reserve(1024 * 10);
|
sign_data.reserve(1024 * 64);
|
||||||
int nowtime = f8::App::Instance()->GetNowTime();
|
int nowtime = f8::App::Instance()->GetNowTime();
|
||||||
{
|
{
|
||||||
std::vector<std::string> keys;
|
std::vector<std::string> keys;
|
||||||
|
@ -76,7 +76,7 @@ enum RoomSwitch_e
|
|||||||
kRoomSwitchDisableShot,
|
kRoomSwitchDisableShot,
|
||||||
};
|
};
|
||||||
|
|
||||||
class Room
|
class Room : public std::enable_shared_from_this<Room>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
FrameEvent frame_event;
|
FrameEvent frame_event;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user