|
楼主 |
发表于 2024-10-14 13:41:47
|
显示全部楼层
//世界广播(频道内公告)
function api_gameWorld_SendNotiPacketMessage(msg, msg_type) {
var packet_guard = api_PacketGuard_PacketGuard();
InterfacePacketBuf_put_header(packet_guard, 0, 12);
InterfacePacketBuf_put_byte(packet_guard, msg_type);
InterfacePacketBuf_put_short(packet_guard, 0);
InterfacePacketBuf_put_byte(packet_guard, 0);
api_InterfacePacketBuf_put_string(packet_guard, msg);
InterfacePacketBuf_finalize(packet_guard, 1);
GameWorld_send_all_with_state(G_gameWorld(), packet_guard, 3); //只给state >= 3 的玩家发公告
Destroy_PacketGuard_PacketGuard(packet_guard);
}
api_gameWorld_SendNotiPacketMessage('恭喜玩家玩家获取' + item_name , 0);//系统灰色公告
api_gameWorld_SendNotiPacketMessage('恭喜玩家'+characName +'获取' + item_name , 14);//系统绿色字体
剩下的方法自己去frida里面查一下 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
|