You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
27 lines
702 B
C++
27 lines
702 B
C++
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
#if PLATFORM_ANDROID || PLATFORM_IOS
|
|
|
|
#include "MobileJSScripting.h"
|
|
#include "Backends/JsonStructDeserializerBackend.h"
|
|
#include "Serialization/MemoryReader.h"
|
|
|
|
class FMobileJSStructDeserializerBackend
|
|
: public FJsonStructDeserializerBackend
|
|
{
|
|
public:
|
|
FMobileJSStructDeserializerBackend(FMobileJSScriptingRef InScripting, const FString& JsonString);
|
|
|
|
virtual bool ReadProperty( UProperty* Property, UProperty* Outer, void* Data, int32 ArrayIndex ) override;
|
|
|
|
private:
|
|
FMobileJSScriptingRef Scripting;
|
|
TArray<uint8> JsonData;
|
|
FMemoryReader Reader;
|
|
};
|
|
|
|
#endif // USE_ANDROID_JNI || PLATFORM_IOS
|