Toast Engine
Loading...
Searching...
No Matches
data_schema_codegen.hpp
Go to the documentation of this file.
1
7
8#pragma once
9
10#include "core_types.hpp"
11
12#include <filesystem>
13#include <string>
14#include <toast/uid.hpp>
15#include <vector>
16
17namespace assets {
18
19class Schema;
20
22 toast::UID uid;
23 std::string name; // PascalCase
24 Handle<Schema> handle;
25};
26
30auto namedSchemaEntries() -> std::vector<NamedSchemaEntry>;
31
35auto generateDataSchemaLuaStubs(const std::filesystem::path& out_path) -> bool;
36
37}
Type-safe smart pointer for assets.
Definition core_types.hpp:149
Asset wrapping a parsed .schema.json.
Definition schema.hpp:60
Base types for the asset system.
Definition data_schema_codegen.hpp:21
Definition uid.hpp:20
Unique identifier for everything that exists in our engine.