ue-cpp-foundations

Explain Unreal Engine C++ fundamentals including reflection macros, containers, and garbage collection.

3|Updated Jan 17, 2026
One-click install
npx skills add https://github.com/Noureddine-Hci/RevenantOps --skill ue-cpp-foundations-noureddine-hci
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ue-cpp-foundations
Source: https://github.com/Noureddine-Hci/RevenantOps/tree/main/.agents/skills/ue-cpp-foundations
Command: npx skills add https://github.com/Noureddine-Hci/RevenantOps --skill ue-cpp-foundations-noureddine-hci

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Unreal Engine C++ development often confuses developers with the correct usage of reflection macros, memory management patterns, and replication semantics, hindering productivity and code quality.

Core Features & Use Cases

  • Macro guidance: UCLASS, UPROPERTY, UFUNCTION usage, including GC and lifetime rules.
  • Containers & Delegates: TArray, TMap, TSet, and delegate patterns for gameplay events.
  • Networking & Subsystems: Replication, RPCs, and subsystem access patterns in UE5.

Quick Start

Start by implementing a simple UObject with UPROPERTY and UFUNCTION to see reflection and GC in action.

Frequently Asked Questions about ue-cpp-foundations

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

FAQPage Schema
How do I use UPROPERTY and UFUNCTION macros for Unreal Engine C++ reflection?

Unreal Engine C++ reflection macros like UPROPERTY and UFUNCTION expose variables and functions to the editor and blueprint system. Proper usage ensures correct garbage collection, manages UObject lifetimes, and enables gameplay event binding.

What is the best way to manage garbage collection and safe pointer usage in UE5 C++?

Garbage collection in UE5 C++ is managed by ensuring UObjects are properly referenced using UPROPERTY macros. Safe pointer usage prevents premature destruction of objects during gameplay events, maintaining stable UObject lifetimes and avoiding memory access violations.

How do I implement networking and RPC patterns in Unreal Engine C++?

Networking in Unreal Engine C++ relies on replication and RPC patterns to synchronize state across clients and servers. Implementing these RPCs correctly ensures gameplay events execute on the appropriate network endpoints with predictable lifecycle management.

How do I handle TArray, TMap, and TSet containers for gameplay events in UE5?

TArray, TMap, and TSet are native UE5 C++ containers used to organize data and handle gameplay events. Combining these containers with delegate patterns allows efficient iteration, data storage, and responsive event broadcasting across subsystems.

Can I use Unreal Engine subsystems to access gameplay events in UE5 C++?

Unreal Engine subsystems provide accessible patterns for gameplay event management in UE5 C++. Leveraging these subsystems alongside delegates and logging ensures structured access to engine features and maintains safe UObject lifetimes during execution.