Brunot
Loading...
Searching...
No Matches
Script.h File Reference

loads a lua file, and constructs an object based on it, then lets it run in the engine like a component, but more dynamically More...

#include <filesystem>
#include <sol/sol.hpp>
#include "Framework/GameObject.h"
Include dependency graph for Script.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Script
struct  nlohmann::adl_serializer< Script >
 template specialization of the json serializer for ScriptHolder, so they can be serialized even though it cannot be default constructed More...

Namespaces

namespace  nlohmann

Macros

#define SOL_NO_CHECK_NUMBER_PRECISION   1
#define SOL_ALL_SAFETIES_ON   1

Detailed Description

loads a lua file, and constructs an object based on it, then lets it run in the engine like a component, but more dynamically

Author
(aidan.nosp@m..har.nosp@m.tman@.nosp@m.digi.nosp@m.pen.e.nosp@m.du)
Date
2026 / 6 / 16

Macro Definition Documentation

◆ SOL_ALL_SAFETIES_ON

#define SOL_ALL_SAFETIES_ON   1

◆ SOL_NO_CHECK_NUMBER_PRECISION

#define SOL_NO_CHECK_NUMBER_PRECISION   1