Toast Engine
Loading...
Searching...
No Matches
scripting::LuaEventBinding Struct Reference

Public Types

using Pusher = std::function<void(lua_State*)>
using Callback = std::function<bool(const Pusher&)>

Public Attributes

std::string name
std::function< bool(lua_State *, int, std::string &)> send
std::function< void(event::Listener &, std::string, Callback)> subscribe
std::function< void(event::Listener &, std::string_view)> unsubscribe

The documentation for this struct was generated from the following file: