Files
Tim Smith 5fb833c5c1 Added support for more arbitrary property changes to live coding.
1) Changed the pre/post compile notifications from module notifications to process commands.
2) Added server command to notify that we want re-instance patching (two phase)
3) Added support for two phase patching to enable re-instancing without all the limitations.
4) Added a null CDO check for old blueprint classes (approved by Phillip)

#rb ben.marsh
#rnx
#preflight 6086e3481046fb000183c2d4

[CL 16115620 by Tim Smith in ue5-main branch]
2021-04-26 12:49:25 -04:00

42 lines
1.1 KiB
C++

// Copyright 2011-2020 Molecular Matters GmbH, all rights reserved.
#pragma once
// BEGIN EPIC MOD
#include "CoreTypes.h"
// END EPIC MOD
#include "LC_Commands.h"
class DuplexPipe;
namespace actions
{
#define DECLARE_ACTION(_name) \
struct _name \
{ \
typedef ::commands::_name CommandType; \
static bool Execute(const CommandType* command, const DuplexPipe* pipe, void* context, const void* payload, size_t payloadSize); \
}
DECLARE_ACTION(RegisterProcessFinished);
DECLARE_ACTION(EnableModulesFinished);
DECLARE_ACTION(DisableModulesFinished);
DECLARE_ACTION(EnterSyncPoint);
DECLARE_ACTION(LeaveSyncPoint);
DECLARE_ACTION(CallHooks);
DECLARE_ACTION(LoadPatch);
DECLARE_ACTION(UnloadPatch);
DECLARE_ACTION(CallEntryPoint);
DECLARE_ACTION(LogOutput);
DECLARE_ACTION(CompilationFinished);
DECLARE_ACTION(HandleExceptionFinished);
// BEGIN EPIC MOD
DECLARE_ACTION(PreCompile);
DECLARE_ACTION(PostCompile);
DECLARE_ACTION(TriggerReload);
// END EPIC MOD
#undef DECLARE_ACTION
}