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

An event that gets fired depending on the result of a "trigger-function" return value. More...

#include <EventEntities.hpp>

Public Member Functions

 TriggerEventDelegate (RTy(*functionNew)(ArgTypes...))
 Constructor, taking a pointer to a function of type RTy(*)(ArgTypes...) as an argument.
 TriggerEventDelegate (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: