DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
DiscordCoreInternal::EventDelegate< RTy, ArgTypes > Class Template Reference

Event-delegate, for representing an event-function to be executed. More...

#include <EventEntities.hpp>

Public Member Functions

 EventDelegate (RTy(*functionNew)(ArgTypes...))
 Constructor, taking a pointer to a function of type RTy(*)(ArgTypes...) as an argument.
 
 EventDelegate (std::function< RTy(ArgTypes...)> functionNew)
 Constructor, taking a std::function<RTy(ArgTypes..)> as an argument.
 

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