31 lines
903 B
C++
31 lines
903 B
C++
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "MCPHandler.h"
|
|
#include "MCPHandlers_DiffBlueprints.generated.h"
|
|
|
|
UCLASS(meta=(ToolName="diff_two_blueprints"))
|
|
class UMCPHandler_DiffTwoBlueprints : public UObject, public IMCPHandler
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
UPROPERTY(meta=(Description="First blueprint name or package path"))
|
|
FString BlueprintA;
|
|
|
|
UPROPERTY(meta=(Description="Second blueprint name or package path"))
|
|
FString BlueprintB;
|
|
|
|
UPROPERTY(meta=(Optional, Description="Filter to a specific graph name"))
|
|
FString Graph;
|
|
|
|
virtual FString GetDescription() const override
|
|
{
|
|
return TEXT("Structural diff between two different Blueprints. Compares nodes, "
|
|
"connections, and variables across graphs. Use for comparing variants, "
|
|
"finding divergence after copy-paste, or auditing consistency.");
|
|
}
|
|
|
|
virtual void Handle(const FJsonObject* Json, FJsonObject* Result) override;
|
|
};
|