R-Type
Distributed multiplayer game engine in C++
Loading...
Searching...
No Matches
ComponentBindings.hpp
Go to the documentation of this file.
1
/*
2
** EPITECH PROJECT, 2026
3
** rtype
4
** File description:
5
** ComponentBindings
6
*/
7
8
#pragma once
9
#include <sol/state.hpp>
10
11
#include "
ComponentBindingHelper.hpp
"
12
#include "
common/ECSWrapper/ECSWorld.hpp
"
13
14
namespace
scripting::bindings
{
29
ComponentBindingHelper &
bindComponents
(sol::state &lua,
ecs::wrapper::ECSWorld
*world);
30
}
// namespace scripting::bindings
ComponentBindingHelper.hpp
ECSWorld.hpp
ecs::wrapper::ECSWorld
High-level ECS manager providing clean server-side API.
Definition
ECSWorld.hpp:122
scripting::bindings
Definition
ComponentBindingHelper.cpp:10
scripting::bindings::bindComponents
ComponentBindingHelper & bindComponents(sol::state &lua, ecs::wrapper::ECSWorld *world)
Bind ECS component types to Lua.
Definition
ComponentBindings.cpp:19
server
Scripting
LuaBindings
ComponentBindings.hpp
Generated by
1.9.8