What problem does it solve?
This Skill helps developers quickly understand and apply Unreal Engine's C++ features for game development, addressing common challenges with properties, functions, and architecture.
Core Features & Use Cases
- UE C++ Syntax: Detailed explanations and examples for UPROPERTY, UFUNCTION, UCLASS, and other macros.
- Containers & Data Structures: Deep dives into TArray, TMap, TSet, TOptional, and TVariant for efficient data management.
- Delegates & Callbacks: Best practices for creating and using delegates for event-driven programming.
- Strings: Guidance on using FName, FString, and FText for robust string handling.
- Memory & GC: Understanding UObject lifetime, garbage collection, and memory management with TObjectPtr and TWeakObjectPtr.
- Logging: Tips on using UE_LOG for effective debugging and monitoring.
- Subsystems: Overview of UGameInstanceSubsystem, UWorldSubsystem, ULocalPlayerSubsystem, and UEngineSubsystem for managing game state.
- Replication: Techniques for replicating properties and handling networked gameplay.
- Conditional Compilation: Utilizing guards like WITH_EDITOR for building specific configurations.
- Common Mistakes: Avoiding common pitfalls in UE C++ development.
Quick Start
Use the ue-cpp-foundations skill to get an overview of UPROPERTY usage in Unreal Engine C++.