MCPcopy Create free account
hub / github.com/RussellJerome/UnrealModLoader / BPFUNCTION

Function BPFUNCTION

ExampleMod/ExampleMod.cpp:4–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2#include "Utilities/MinHook.h"
3
4BPFUNCTION(WriteToFile)
5{
6 std::cout << "WriteToFile" << std::endl;
7 struct InputParams
8 {
9 UE4::FString NameTest;
10 };
11 auto Inputs = stack->GetInputParams<InputParams>();
12 stack->SetOutput<UE4::FString>("OutPutString", L"KboyGang");
13 stack->SetOutput<bool>("ReturnValue", true);
14}
15
16// Only Called Once, if you need to hook shit, declare some global non changing values
17void ExampleMod::InitializeMod()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected