Mineserver
A rewrite of Minecraft 1.8.9 in C++ !
Loading...
Searching...
No Matches
event.h File Reference

The header-only containing event logic. More...

#include <functional>
#include <type_traits>
#include <plugins/luaheaders.h>

Go to the source code of this file.

Classes

class  IEvent< T >
 Event interface. More...
 
class  EventHandler< T >
 Handler for a type of event. More...
 
class  EventsManager
 Manager for Events. More...
 

Functions

template<typename T >
constexpr std::string_view type_name ()
 Gets the name of the type paramater.
 

Detailed Description

The header-only containing event logic.

Author
Lygaen
Version
0.1
Date
2023-11-27

Function Documentation

◆ type_name()

template<typename T >
constexpr std::string_view type_name ( )
constexpr

Gets the name of the type paramater.

Template Parameters
Tthe type to get the name
Returns
constexpr std::string_view the name