删除hook,框架改动
This commit is contained in:
@@ -95,21 +95,21 @@ var RpcHelper = {
|
||||
}
|
||||
|
||||
// 5. 调试信息输出
|
||||
if (debug || Game_Config.Debugger.isDebugger) {
|
||||
console.log('RpcHelper发送RPC:', {
|
||||
app: app,
|
||||
route: route,
|
||||
rpc: rpc,
|
||||
platform_data: {
|
||||
agentid: data.agentid,
|
||||
gameid: data.gameid,
|
||||
playerid: data.playerid,
|
||||
roomcode: data.roomcode
|
||||
},
|
||||
game_data: gameData,
|
||||
custom_data: customData
|
||||
});
|
||||
}
|
||||
// if (debug || Game_Config.Debugger.isDebugger) {
|
||||
// console.log('RpcHelper发送RPC:', {
|
||||
// app: app,
|
||||
// route: route,
|
||||
// rpc: rpc,
|
||||
// platform_data: {
|
||||
// agentid: data.agentid,
|
||||
// gameid: data.gameid,
|
||||
// playerid: data.playerid,
|
||||
// roomcode: data.roomcode
|
||||
// },
|
||||
// game_data: gameData,
|
||||
// custom_data: customData
|
||||
// });
|
||||
// }
|
||||
|
||||
// 6. 通过框架发送RPC请求
|
||||
Utl.sendData(app, route, rpc, data);
|
||||
|
||||
Reference in New Issue
Block a user