UE Wingman renaming complete.
This commit is contained in:
17
Plugins/UEWingman/Source/UEWingman/Public/WingJson.h
Normal file
17
Plugins/UEWingman/Source/UEWingman/Public/WingJson.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "WingHandler.h"
|
||||
#include "WingProperty.h"
|
||||
#include "Dom/JsonObject.h"
|
||||
|
||||
// JSON utility functions used by MCP handlers.
|
||||
// This is effectively a namespace — all methods are static.
|
||||
class WingJson
|
||||
{
|
||||
public:
|
||||
static bool PopulateFromJson(WingProperty& Prop, const FJsonObject* Json, bool AllOptional = false);
|
||||
static bool PopulateFromJson(TArray<WingProperty>& Props, const FJsonObject* Json, bool AllOptional = false);
|
||||
static bool PopulateFromJson(UStruct* StructType, void* Container, const TSharedPtr<FJsonValue>& JsonValue);
|
||||
static bool PopulateFromJson(UStruct* StructType, void* Container, const FJsonObject* Json);
|
||||
};
|
||||
Reference in New Issue
Block a user