enum-struct

Create, modify, and introspect UserDefinedEnum and UserDefinedStruct assets via Python APIs.

586|127|Updated Sep 12, 2025
One-click install
npx skills add https://github.com/kevinpbuckley/VibeUE --skill enum-struct
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: enum-struct
Source: https://github.com/kevinpbuckley/VibeUE/tree/main/Content/Skills/enum-struct
Command: npx skills add https://github.com/kevinpbuckley/VibeUE --skill enum-struct

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables Unreal Engine developers to create, modify, and introspect UserDefinedEnum and UserDefinedStruct assets using Python APIs, simplifying asset management and gameplay data workflows.

Core Features & Use Cases

  • Create & modify user-defined enums: Automate creation of E-prefixed enums, add or rename values, and set display names.
  • Create & modify user-defined structs: Define F-prefixed structs, add properties, set types, and attach to data tables.
  • Introspection & validation: Query definitions, inspect properties, verify user-defined status, and ensure assets are properly referenced in Blueprints or DataTables.
  • Use Case: When designing a new weapon system, automatically generate enums for weapon types and a matching data structure for stats, then validate consistency.

Quick Start

Create a UserDefinedEnum at /Game/Data/Enums named EWeaponType with values Sword, Bow, Staff; create a UserDefinedStruct at /Game/Data/Structs named FWeaponData with properties WeaponName (FString), Damage (int32), AttackSpeed (float), WeaponType (EWeaponType).

Frequently Asked Questions about enum-struct

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create UserDefinedEnums and UserDefinedStructs in Unreal Engine using Python?

You can create UserDefinedEnums and UserDefinedStructs in Unreal Engine using Python by leveraging the EnumStructService API to automate the generation of E-prefixed enums and F-prefixed structs, including adding properties and setting display names programmatically.

Can I add properties and set types for Unreal Structs through Python scripting?

Yes, you can add properties and set types for Unreal Structs through Python scripting. The EnumStructService allows developers to define F-prefixed structs, specify property types like FString or float, and attach them to DataTables.

What is the best way to automate asset management for Unreal gameplay data?

Automating asset management for Unreal gameplay data is best achieved by using Python APIs to create matching UserDefinedEnums and UserDefinedStructs. This streamlines workflows by automatically generating weapon types and stat data structures.

Does Python support introspection and validation of UserDefinedEnum assets in Unreal?

Python does support introspection and validation of UserDefinedEnum assets in Unreal. You can query definitions, inspect properties, verify user-defined status, and ensure assets are properly referenced in Blueprints or DataTables.

How do I validate that Unreal UserDefinedStructs are properly referenced in DataTables?

To validate that UserDefinedStructs are properly referenced in DataTables, use the EnumStructService Python API to inspect properties and verify user-defined status, ensuring your gameplay data structures maintain consistency across Blueprints.