Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Static Public Member Functions | List of all members
Steamworks.Callback< T > Class Template Reference
Inheritance diagram for Steamworks.Callback< T >:

Public Member Functions

 Callback (DispatchDelegate func, bool bGameServer=false)
 
delegate void DispatchDelegate (T param)
 
void Dispose ()
 
void Register (DispatchDelegate func)
 
void SetGameserverFlag ()
 
void Unregister ()
 

Static Public Member Functions

static Callback< T > Create (DispatchDelegate func)
 Creates a new Callback. You must be calling SteamAPI.RunCallbacks() to retrieve the callbacks. More...
 
static Callback< T > CreateGameServer (DispatchDelegate func)
 Creates a new GameServer Callback. You must be calling GameServer.RunCallbacks() to retrieve the callbacks. More...
 

Constructor & Destructor Documentation

Steamworks.Callback< T >.Callback ( DispatchDelegate  func,
bool  bGameServer = false 
)
inline

Member Function Documentation

static Callback<T> Steamworks.Callback< T >.Create ( DispatchDelegate  func)
inlinestatic

Creates a new Callback. You must be calling SteamAPI.RunCallbacks() to retrieve the callbacks.

Returns a handle to the Callback. This must be assigned to a member variable to prevent the GC from cleaning it up.

static Callback<T> Steamworks.Callback< T >.CreateGameServer ( DispatchDelegate  func)
inlinestatic

Creates a new GameServer Callback. You must be calling GameServer.RunCallbacks() to retrieve the callbacks.

Returns a handle to the Callback. This must be assigned to a member variable to prevent the GC from cleaning it up.

delegate void Steamworks.Callback< T >.DispatchDelegate ( param)
void Steamworks.Callback< T >.Dispose ( )
inline
void Steamworks.Callback< T >.Register ( DispatchDelegate  func)
inline
void Steamworks.Callback< T >.SetGameserverFlag ( )
inline
void Steamworks.Callback< T >.Unregister ( )
inline

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