class

RecipeAsset

Module
AssetSystem
Header
#include "AssetSystem/Assets/RecipeAsset.h"
Namespace
Mowo

Properties

TypeNameDescription
std::stringRecipeId
FTextDisplayName
std::vector<FRecipeItemDef>Inputs
std::vector<FRecipeItemDef>Outputs
floatCraftTimeDefault 1.0f.
std::stringStationTag
boolUnlockedDefault true.

Constructors

SignatureNameDescription
RecipeAsset() = defaultRecipeAsset
~RecipeAsset() override = default~RecipeAsset

Public functions

ReturnsNameDescription
boolLoad
voidUnload
boolSaveToFile
std::stringSerializeToString
boolLoadFromString
Ref<RecipeAsset>Resolve
std::stringFindPathForId

Function details

RecipeAsset

C++
RecipeAsset() = default

~RecipeAsset

C++
~RecipeAsset() override = default

Load

C++
bool Load(const std::string& path) override

Unload

C++
void Unload() override

SaveToFile

C++
bool SaveToFile(const std::string& path) const

SerializeToString

C++
std::string SerializeToString() const

LoadFromString

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