fix: Update data asset documentation for clarity and consistency in type definitions

This commit is contained in:
Lefteris Notas
2026-05-19 18:14:11 +03:00
parent bc8ab7c48f
commit f272257cb3
5 changed files with 75 additions and 39 deletions

View File

@@ -1,7 +1,7 @@
# DA_ObjectiveData — Data Asset
**Parent Class:** `UDataAsset`
**Dependencies:** [`BPC_ObjectiveSystem`](../07-narrative/39_BPC_ObjectiveSystem.md), [`WBP_ObjectiveDisplay`](../06-ui/WBP_ObjectiveDisplay.md)
**Parent Class:** `Primary Data Asset` (Blueprint: `PrimaryDataAsset`)
**Dependencies:** [`BPC_ObjectiveSystem`](../07-narrative/59_BPC_ObjectiveSystem.md), [`WBP_ObjectiveDisplay`](../06-ui/54_WBP_ObjectiveDisplay.md)
**Purpose:** Defines objective content — objective text, requirements, completion conditions, linked narrative flags, and reward data.
---
@@ -10,16 +10,16 @@
| Field | Type | Description |
|-------|------|-------------|
| `ObjectiveTag` | `FGameplayTag` | Unique tag for this objective |
| `ObjectiveText` | `FText` | Display text for HUD/journal |
| `ObjectiveTag` | `Gameplay Tag` | Unique tag for this objective |
| `ObjectiveText` | `Text` | Display text for HUD/journal |
| `ObjectiveCategory` | `EObjectiveCategory` | Main, Side, Hidden, Tutorial |
| `PrerequisiteFlags` | `TArray<FGameplayTag>` | Narrative flags required before objective activates |
| `CompletionFlags` | `TArray<FGameplayTag>` | Flags set when objective completes |
| `bIsOptional` | `bool` | Objective can be skipped |
| `ObjectiveLocation` | `FVector` | World location for marker |
| `RewardItems` | `TArray<FPrimaryAssetId>` | Items granted on completion |
| `RewardExperience` | `int32` | XP awarded |
| `LinkedEndingWeight` | `float` | Score contribution to ending evaluation |
| `PrerequisiteFlags` | `Array<Gameplay Tag>` | Narrative flags required before objective activates |
| `CompletionFlags` | `Array<Gameplay Tag>` | Flags set when objective completes |
| `bIsOptional` | `Boolean` | Objective can be skipped |
| `ObjectiveLocation` | `Vector` | World location for marker |
| `RewardItems` | `Array<Primary Asset Id>` | Items granted on completion |
| `RewardExperience` | `Integer` | XP awarded |
| `LinkedEndingWeight` | `Float` | Score contribution to ending evaluation |
---