We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1c9bfa commit bf34f84Copy full SHA for bf34f84
src/red4ext/src/main.cpp
@@ -6,7 +6,8 @@ RED4EXT_C_EXPORT bool RED4EXT_CALL Main(RED4ext::PluginHandle aHandle, RED4ext::
6
{
7
switch (aReason) {
8
case RED4ext::EMainReason::Load: {
9
- RED4ext::RTTIRegistrator::Add(CP77RPC2::RegisterTypes, CP77RPC2::PostRegisterTypes);
+ RED4ext::CRTTISystem::Get()->AddRegisterCallback(CP77RPC2::RegisterTypes);
10
+ RED4ext::CRTTISystem::Get()->AddPostRegisterCallback(CP77RPC2::PostRegisterTypes);
11
CP77RPC2::Discord::Start();
12
aSdk->logger->InfoF(aHandle, "Loaded!\n");
13
break;
0 commit comments