NoJobEngine 2.0.7
Loading...
Searching...
No Matches
NoJob::BTAsset Class Reference

#include <BTAsset.h>

Public Member Functions

void Validate () const
void Save (const std::filesystem::path &path) const
std::shared_ptr< const BTTree > Build (std::shared_ptr< const BTNativeRegistry > registry) const

Static Public Member Functions

static BTAsset Default ()
static BTAsset Load (const std::filesystem::path &path)

Public Attributes

std::vector< BTAssetNode > Nodes

Detailed Description

Definition at line 32 of file BTAsset.h.

Member Function Documentation

◆ Build()

std::shared_ptr< const BTTree > NoJob::BTAsset::Build ( std::shared_ptr< const BTNativeRegistry > registry) const
inline

◆ Default()

BTAsset NoJob::BTAsset::Default ( )
inlinestatic

Definition at line 35 of file BTAsset.h.

Referenced by NoJob::DrawBTAssetEditorWindow().

◆ Load()

◆ Save()

void NoJob::BTAsset::Save ( const std::filesystem::path & path) const
inline

Definition at line 83 of file BTAsset.h.

References Nodes, and Validate().

Referenced by NoJob::DrawBTAssetEditorWindow().

◆ Validate()

void NoJob::BTAsset::Validate ( ) const
inline

Definition at line 40 of file BTAsset.h.

References Nodes, and NoJob::BTAssetNode::Parent.

Referenced by Build(), Load(), and Save().

Member Data Documentation

◆ Nodes

std::vector<BTAssetNode> NoJob::BTAsset::Nodes

Definition at line 34 of file BTAsset.h.

Referenced by Build(), NoJob::DrawBTAssetEditorWindow(), Load(), Save(), and Validate().


The documentation for this class was generated from the following file: