Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
bicameral::script::anonymous_namespace{reaction_table_loader.cpp} Namespace Reference

Functions

std::string PathText (const fs::path &path)
std::expected< void, std::string > CheckBasePackage (const PackageSetResult &loaded, std::string_view basePackage)
std::expected< PackageSetResult, std::string > LoadPackageSet (std::span< const PackageSource > packages, const ReactionTableSource &source)

Function Documentation

◆ CheckBasePackage()

std::expected< void, std::string > bicameral::script::anonymous_namespace{reaction_table_loader.cpp}::CheckBasePackage ( const PackageSetResult & loaded,
std::string_view basePackage )

Definition at line 25 of file reaction_table_loader.cpp.

References CheckBasePackage(), bicameral::script::PackageSetResult::loadOrder, bicameral::script::PackageRejection::package, and bicameral::script::PackageSetResult::rejected.

Referenced by CheckBasePackage().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LoadPackageSet()

std::expected< PackageSetResult, std::string > bicameral::script::anonymous_namespace{reaction_table_loader.cpp}::LoadPackageSet ( std::span< const PackageSource > packages,
const ReactionTableSource & source )

Definition at line 39 of file reaction_table_loader.cpp.

References bicameral::script::ReactionTableSource::basePackage, bicameral::script::LuauSandbox::Create(), bicameral::script::CreateTypeCheckerFromFile(), bicameral::script::DefaultTypeDefinitionsPath(), bicameral::script::LoadPackages(), LoadPackageSet(), bicameral::script::ReactionTableSource::mergeMode, and bicameral::script::ReactionTableSource::typeDefinitions.

Referenced by LoadPackageSet().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PathText()

std::string bicameral::script::anonymous_namespace{reaction_table_loader.cpp}::PathText ( const fs::path & path)

Definition at line 18 of file reaction_table_loader.cpp.

References PathText().

Referenced by PathText().

Here is the call graph for this function:
Here is the caller graph for this function: