#pragma once #include #include "../src/Neuz.h" #include "../src/Mover.h" #include "../src/import.h" #include "../src/raw/Mover.h" #define FN_CAST(return_type, ...) return_type (*)(__VA_ARGS__) #define REDEFINE_METHOD(target, name, return_type, ...) \ static const auto& name = target; namespace flyff { // #include "../src/raw/ItemProperty.h" // #include "../src/raw/MusicProperty.h" // #include "../src/raw/Mover.h" namespace api { // static_assert(sizeof(fugg::ModulePointer) == sizeof(u32), "ModulePointer needs the same size as u32"); extern "C" { // f2300_finalize_packet: Encrypts and constructs a packet for wire. extern void w2c_f2303(u32); // f2296_websocket_send: Sends a packet over the WebSocket connection. extern void w2c_f2301(u32, u32); }; static const auto& finalize_packet = w2c_f2303; static const auto& websocket_send = w2c_f2301; } }