Files
integration/Docs/Blueprint-MCP-Registration.md

34 lines
642 B
Markdown
Raw Normal View History

# Ideas for BlueprintMCP handler registration
UCLASS()
class USpawnNodeHandler : public UMCPHandler
{
UPROPERTY()
FString BlueprintName;
UPROPERTY();
FString GraphName;
UPROPERTY();
FString ActionName;
UPROPERTY(meta = "optional");
int PosX;
UPROPERTY(meta = "optional");
int PosY;
UPROPERTY()
ElxLuaValueType ValueType;
// Dummy field. Nothing is actually extracted by the argument parser,
// but this tells the argument parser that the parameter "subtree" is
// supposed to be there.
UPROPERTY()
void Subtree;
virtual void Handle(Json, Result) override;
};