How-To: Emit Your Own Payload Types
Goal: send data no built-in struct covers (crafting requirements, quest hints) to the consumers that understand it, without touching any other consumer.
Prerequisites
A provider from Quick Start.
1. Define a USTRUCT
Create a Blueprint Structure (for example S_CraftingRequirements) with the fields you need.
Verify
The struct appears in the type pickers.
2. Add it to the bag
In Provide Inspector Data: Make Instanced Struct (your struct) -> Add to Out Data.
3. Read it where it matters
Get Inspector Data -> Filter By Type (Script Struct = your struct) -> For Each Loop -> Get Instanced Struct Value.
Verify
The crafting panel shows the requirements; your tooltip, which never heard of the struct, is unchanged.
See also
- Concept: The Payload Bag
- API Reference