Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
ScriptComponent.hpp
1#pragma once
2
3#include <string>
4#include "EngineCore/ECS/Entity.hpp"
5#include "EngineCore/Reflection/ComponentReflection.hpp"
6
9 std::string assembly;
10 std::string scriptNamespace;
11 std::string scriptClassName;
12 void* csharpObject = nullptr;
13
14 static void Construct(Grindstone::WorldContextSet& cxtSet, entt::entity);
15 static void Destroy(Grindstone::WorldContextSet& cxtSet, entt::entity);
16
17 REFLECT("CSharpScript")
18 };
19}
Definition WorldContextSet.hpp:11
Definition ScriptComponent.hpp:7
Definition ScriptComponent.hpp:8