Rise
The Vieneo Province
Loading...
Searching...
No Matches
steam_api_common.h File Reference
#include "steamtypes.h"
#include "steamclientpublic.h"
#include "steam_api_internal.h"
Include dependency graph for steam_api_common.h:

Go to the source code of this file.

Classes

class  CCallbackBase
class  CCallbackImpl< sizeof_P >
class  CCallResult< T, P >
class  CCallback< T, P, bGameserver >
class  CCallbackManual< T, P, bGameServer >

Macros

#define S_API   extern "C"
#define S_OVERRIDE
#define STEAM_PRIVATE_API(...)
#define __cdecl
#define STEAM_CALLBACK(thisclass, func, ...)
#define STEAM_CALLBACK_MANUAL(thisclass, func, callback_type, var)
#define STEAM_GAMESERVER_CALLBACK(thisclass, func, ...)
#define STEAM_GAMESERVER_CALLBACK_MANUAL(thisclass, func, callback_type, var)

Typedefs

typedef int32 HSteamPipe
typedef int32 HSteamUser
typedef char SteamErrMsg[k_cchMaxSteamErrMsg]
typedef const char *typedef uint32(S_CALLTYPE *SteamAPI_CheckCallbackRegistered_t) (int iCallbackNum)

Functions

typedef void (S_CALLTYPE *SteamAPIWarningMessageHook_t)(int
S_API void S_CALLTYPE SteamAPI_RunCallbacks ()
S_API void S_CALLTYPE SteamGameServer_RunCallbacks ()

Variables

const int k_cchMaxSteamErrMsg = 1024

Macro Definition Documentation

◆ __cdecl

#define __cdecl

Definition at line 68 of file steam_api_common.h.

◆ S_API

#define S_API   extern "C"

Definition at line 35 of file steam_api_common.h.

◆ S_OVERRIDE

#define S_OVERRIDE

Definition at line 42 of file steam_api_common.h.

◆ STEAM_CALLBACK

#define STEAM_CALLBACK ( thisclass,
func,
... )
Value:
_STEAM_CALLBACK_SELECT( ( __VA_ARGS__, 4, 3 ), ( , thisclass, func, __VA_ARGS__ ) )
#define _STEAM_CALLBACK_SELECT(X, Y)

Definition at line 115 of file steam_api_common.h.

◆ STEAM_CALLBACK_MANUAL

#define STEAM_CALLBACK_MANUAL ( thisclass,
func,
callback_type,
var )
Value:

Definition at line 120 of file steam_api_common.h.

◆ STEAM_GAMESERVER_CALLBACK

#define STEAM_GAMESERVER_CALLBACK ( thisclass,
func,
... )
Value:
_STEAM_CALLBACK_SELECT( ( __VA_ARGS__, GS, 3 ), ( this->SetGameserverFlag();, thisclass, func, __VA_ARGS__ ) )

Definition at line 130 of file steam_api_common.h.

◆ STEAM_GAMESERVER_CALLBACK_MANUAL

#define STEAM_GAMESERVER_CALLBACK_MANUAL ( thisclass,
func,
callback_type,
var )
Value:
CCallbackManual< thisclass, callback_type, true > var; void func( callback_type *pParam )

Definition at line 132 of file steam_api_common.h.

◆ STEAM_PRIVATE_API

#define STEAM_PRIVATE_API ( ...)
Value:
protected: __VA_ARGS__ public:

Definition at line 50 of file steam_api_common.h.

Typedef Documentation

◆ HSteamPipe

typedef int32 HSteamPipe

Definition at line 54 of file steam_api_common.h.

◆ HSteamUser

typedef int32 HSteamUser

Definition at line 56 of file steam_api_common.h.

◆ SteamErrMsg

typedef char SteamErrMsg[k_cchMaxSteamErrMsg]

Definition at line 61 of file steam_api_common.h.

◆ uint32

typedef const char *typedef uint32(S_CALLTYPE *SteamAPI_CheckCallbackRegistered_t)(int iCallbackNum)

Definition at line 73 of file steam_api_common.h.

Function Documentation

◆ SteamAPI_RunCallbacks()

S_API void S_CALLTYPE SteamAPI_RunCallbacks ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SteamGameServer_RunCallbacks()

S_API void S_CALLTYPE SteamGameServer_RunCallbacks ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ void()

typedef void ( S_CALLTYPE * SteamAPIWarningMessageHook_t)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ k_cchMaxSteamErrMsg

const int k_cchMaxSteamErrMsg = 1024

Definition at line 60 of file steam_api_common.h.