CommonLibSSE (Parapets fork)
RE::CCallback< T, P, bGameserver > Class Template Reference

#include <CCallback.h>

Inheritance diagram for RE::CCallback< T, P, bGameserver >:
RE::CCallbackBase

Public Types

using func_t = void(T::*)(P *)
 
- Public Types inherited from RE::CCallbackBase
enum  { k_ECallbackFlagsRegistered = 0x01 , k_ECallbackFlagsGameServer = 0x02 }
 

Public Member Functions

void Run (void *a_param) override
 
void Run (void *a_param, bool a_IOFailure, SteamAPICall_t a_steamAPICall) override
 
std::int32_t GetCallbackSizeBytes () override
 
virtual ~CCallback ()
 

Public Attributes

T * obj
 
func_t func
 
- Public Attributes inherited from RE::CCallbackBase
std::uint8_t callbackFlags
 
std::uint8_t pad09
 
std::uint16_t pad0A
 
std::int32_t callback
 

Member Typedef Documentation

◆ func_t

template<class T , class P , bool bGameserver = false>
using RE::CCallback< T, P, bGameserver >::func_t = void (T::*)(P*)

Constructor & Destructor Documentation

◆ ~CCallback()

template<class T , class P , bool bGameserver = false>
virtual RE::CCallback< T, P, bGameserver >::~CCallback ( )
virtual

Member Function Documentation

◆ GetCallbackSizeBytes()

template<class T , class P , bool bGameserver = false>
std::int32_t RE::CCallback< T, P, bGameserver >::GetCallbackSizeBytes ( )
overridevirtual

Reimplemented from RE::CCallbackBase.

◆ Run() [1/2]

template<class T , class P , bool bGameserver = false>
void RE::CCallback< T, P, bGameserver >::Run ( void *  a_param)
overridevirtual

Reimplemented from RE::CCallbackBase.

◆ Run() [2/2]

template<class T , class P , bool bGameserver = false>
void RE::CCallback< T, P, bGameserver >::Run ( void *  a_param,
bool  a_IOFailure,
SteamAPICall_t  a_steamAPICall 
)
overridevirtual

Reimplemented from RE::CCallbackBase.

Member Data Documentation

◆ func

template<class T , class P , bool bGameserver = false>
func_t RE::CCallback< T, P, bGameserver >::func

◆ obj

template<class T , class P , bool bGameserver = false>
T* RE::CCallback< T, P, bGameserver >::obj

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