Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

ue-blueprint-cpp-interop

БесплатноБез исполняемых скриптовНе проверен

Use when exposing C++ to Blueprint or calling Blueprint from C++: UFUNCTION(BlueprintCallable), BlueprintPure, BlueprintImplementableEvent…

quodsolerот quodsoler★ 483 звезды на GitHub

Об этом скилле

UE Blueprint / C++ Interop

Target engine: UE 5.8. APIs below are verified against the 5.8 headers; older forms are listed under "Deprecated — do not use".

This skill covers the boundary between native code and the Blueprint VM: which UFUNCTION/UPROPERTY specifiers and meta= keys produce which node shapes, function libraries, latent and async nodes, Blueprint-implementable interfaces, and how C++ calls back into a Blueprint graph. Everything here lives in Core, CoreUObject and Engine (PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine" });); Project Settings pages also need DeveloperSettings. The authority for every specifier is Runtime/CoreUObject/Public/UObject/ObjectMacros.h — anything not declared in its UC, UI, UF, UP, US or UM enumerations is not a specifier.

Context

Read .agents/ue-project-context.md if it exists (module names, conventions, enabled plugins, GAS/networking setup). Do not stop if it is missing.

Identify the area from the request and the codebase. Ask only when two plausible readings would produce different code.

Request is about… Go to
Making a C++ function callable or overridable in Blueprint UFUNCTION Exposure
Making data visible or editable in Blueprint, getters/setters UPROPERTY Exposure
Static helpers, WorldContext, DefaultToSelf Function Libraries
A node with an exec pin that finishes later (Delay-style) Latent Nodes
A node with several output exec pins that fire on events Async Action Nodes
Interfaces Blueprint can implement, Execute_, TScriptInterface Blueprint Interfaces
UENUM, USTRUCT, containers as Blueprint types Enums and Structs in Blueprint
BlueprintAssignable events, binding Blueprint to a C++ delegate Delegates and Events
Running Blueprint logic from native code, Blueprint classes Calling Blueprint from Native Code
Subsystems, UDeveloperSettings, Exec commands Subsystems and Settings in Blueprint
A button in the Details panel, editor-only actions Editor-Callable Functions

UFUNCTION Exposure

Specifier Node shape C++ body
BlueprintCallable Exec pins in and out Yours
BlueprintPure No exec pins; implies BlueprintCallable Yours, side-effect free
BlueprintImplementableEvent Event the Blueprint implements None — UHT generates the thunk
BlueprintNativeEvent Event the Blueprint may override Name_Implementation only
BlueprintGetter / BlueprintSetter Hidden; reached through the property Yours
BlueprintAuthorityOnly Blueprint calls are skipped without network authority (direct C++ calls still run) Yours
BlueprintCosmetic Blueprint calls are skipped on a dedicated server (direct C++ calls still run) Yours
BlueprintInternalUseOnly Not offered in the palette; only generated nodes call it Yours
CallInEditor Button on the Details panel Yours
Exec Console command Yours

Category="A\|B" builds a nested palette category. The node-shaping meta= keys — DisplayName, ToolTip, Keywords, CompactNodeTitle, AdvancedDisplay, ReturnDisplayName, HidePin, DeterminesOutputType, DynamicOutputParam, ArrayParm, ExpandEnumAsExecs, WorldContext, UnsafeDuringActorConstruction, DevelopmentOnly, BlueprintThreadSafe and the rest — are tabled with header citations in references/blueprint-meta-specifiers.md.

// MyActor.h
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "MyActor.generated.h"

UCLASS(Blueprintable)
class MYGAME_API AMyActor : public AActor
{
    GENERATED_BODY()
public:
    UFUNCTION(BlueprintCallable, Category="MyGame|Combat", meta=(Keywords="damage hurt"))
    void ApplyDamage(float Amount);

    UFUNCTION(BlueprintPure, Category="MyGame|Combat", meta=(CompactNodeTitle="HP", ReturnDisplayName="Health"))
    float GetHealth() const;

    /** Blueprint supplies the whole body; C++ never defines this. */
    UFUNCTION(BlueprintImplementableEvent, Category="MyGame|Combat")
    void OnDamaged(float Amount);

    /** C++ supplies the default in OnDied_Implementation; Blueprint may override it. */
    UFUNCTION(BlueprintNativeEvent, Category="MyGame|Combat")
    void OnDied();
    virtual void OnDied_Implementation();

    UFUNCTION(BlueprintCallable, BlueprintAuthorityOnly, Category="MyGame|Combat")
    void ResetOnServer() { Health = MaxHealth; }     // Blueprint calls skipped on clients

    UFUNCTION(BlueprintCallable, BlueprintCosmetic, Category="MyGame|FX"
Полный SKILL.md на GitHub

Установить ue-blueprint-cpp-interop в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/blueprint-meta-specifiers.mdreferences/blueprint-node-patterns.md

FAQ

Что делает скилл ue-blueprint-cpp-interop?

Use when exposing C++ to Blueprint or calling Blueprint from C++: UFUNCTION(BlueprintCallable), BlueprintPure, BlueprintImplementableEvent, BlueprintNativeEvent, _Implementation, UBlueprintFunctionLibrary, WorldContext, DefaultToSelf, ExpandEnumAsExecs, DeterminesOutputType, latent nodes, FPendingLatentAction, FLatentActionInfo, UBlueprintAsyncActionBase, BlueprintAssignable, UINTERFACE, Execute_, TScriptInterface, UENUM(BlueprintType), CallInEditor, FindFunction, ProcessEvent. Also use when the user mentions 'expose to Blueprint', 'custom Blueprint node', 'async Blueprint node' or 'meta specifier'. For reflection and container basics, see ue-cpp-foundations; for details customization, see ue-editor-tools.

Как установить скилл ue-blueprint-cpp-interop?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ue-blueprint-cpp-interop запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить ue-blueprint-cpp-interop с