Refactoring to move things from GameMode into UlxEngineWrapper subsystem.
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
|
||||
|
||||
#include "UtilityLibrary.h"
|
||||
#include "LuprexGameModeBase.h"
|
||||
#include "LockedWrapper.h"
|
||||
#include "Engine/GameViewportClient.h"
|
||||
#include "GameFramework/PlayerController.h"
|
||||
#include "EnhancedInputSubsystems.h"
|
||||
#include "Kismet/KismetSystemLibrary.h"
|
||||
@@ -12,6 +13,7 @@
|
||||
#include "InputMappingContext.h"
|
||||
#include "EnhancedInputComponent.h"
|
||||
#include "Animation/AnimSequenceBase.h"
|
||||
#include "GameFramework/Pawn.h"
|
||||
|
||||
|
||||
#define LOCTEXT_NAMESPACE "Luprex Utility"
|
||||
@@ -256,7 +258,6 @@ FVector UlxUtilityLibrary::GetActorForwardVelocity(const AActor *Actor, double S
|
||||
void UlxUtilityLibrary::ValidateLuaExpr(
|
||||
ElxLuaSyntaxCheck &Status, FString &ErrorMessage, UObject *context, const FString &Code)
|
||||
{
|
||||
ALuprexGameModeBase *mode = ALuprexGameModeBase::FromContext(context);
|
||||
FlxLockedWrapper w(mode->GetLockableWrapper());
|
||||
FlxLockedWrapper w;
|
||||
Status = w.ValidateLuaExpr(Code, ErrorMessage);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user