class
RecipeAsset
- Module
- AssetSystem
- Header
#include "AssetSystem/Assets/RecipeAsset.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
std::string | RecipeId | |
FText | DisplayName | |
std::vector<FRecipeItemDef> | Inputs | |
std::vector<FRecipeItemDef> | Outputs | |
float | CraftTime | Default 1.0f. |
std::string | StationTag | |
bool | Unlocked | Default true. |
Constructors
| Signature | Name | Description |
|---|---|---|
RecipeAsset() = default | RecipeAsset | |
~RecipeAsset() override = default | ~RecipeAsset |
Public functions
| Returns | Name | Description |
|---|---|---|
bool | Load | |
void | Unload | |
bool | SaveToFile | |
std::string | SerializeToString | |
bool | LoadFromString | |
Ref<RecipeAsset> | Resolve | |
std::string | FindPathForId |
Function details
RecipeAsset
C++
RecipeAsset() = default~RecipeAsset
C++
~RecipeAsset() override = defaultLoad
C++
bool Load(const std::string& path) overrideUnload
C++
void Unload() overrideSaveToFile
C++
bool SaveToFile(const std::string& path) constSerializeToString
C++
std::string SerializeToString() constLoadFromString
C++
bool LoadFromString(const std::string& text)Resolve
C++
static Ref<RecipeAsset> Resolve(const std::string& idOrPath)FindPathForId
C++
static std::string FindPathForId(const std::string& recipeId)Generated from AssetSystem/Assets/RecipeAsset.h via assetsystem.json · Nov 4, 2026Version 1.0.0