Skip to content

Commit

Permalink
Move hooks.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
trumank committed Jun 5, 2024
1 parent 24ff74f commit 4dcbbc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hook/src/hooks.rs → hook/src/hooks/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ pub type FnSaveGameToMemory =
pub type FnLoadGameFromMemory =
unsafe extern "system" fn(*const ue::TArray<u8>) -> *const USaveGame;

pub unsafe fn initialize() -> Result<()> {
type ExecFn = unsafe extern "system" fn(*mut ue::UObject, *mut ue::kismet::FFrame, *mut c_void);
type ExecFn = unsafe extern "system" fn(*mut ue::UObject, *mut ue::kismet::FFrame, *mut c_void);

pub unsafe fn initialize() -> Result<()> {
let hooks = [
(
"/Game/_mint/BPL_MINT.BPL_MINT_C:Get Mod JSON",
Expand Down

0 comments on commit 4dcbbc9

Please sign in to comment.