![]() |
Rise
The Vieneo Province
|
Go to the source code of this file.
Enumerations | |
| enum | EServerMode { eServerModeInvalid = 0 , eServerModeNoAuthentication = 1 , eServerModeAuthentication = 2 , eServerModeAuthenticationAndSecure = 3 } |
Functions | |
| ESteamAPIInitResult | SteamGameServer_InitEx (uint32 unIP, uint16 usGamePort, uint16 usQueryPort, EServerMode eServerMode, const char *pchVersionString, SteamErrMsg *pOutErrMsg) |
| bool | SteamGameServer_Init (uint32 unIP, uint16 usGamePort, uint16 usQueryPort, EServerMode eServerMode, const char *pchVersionString) |
| S_API void | SteamGameServer_Shutdown () |
| void | SteamGameServer_ReleaseCurrentThreadMemory () |
| S_API bool | SteamGameServer_BSecure () |
| S_API uint64 | SteamGameServer_GetSteamID () |
| S_API ESteamAPIInitResult S_CALLTYPE | SteamInternal_GameServer_Init_V2 (uint32 unIP, uint16 usGamePort, uint16 usQueryPort, EServerMode eServerMode, const char *pchVersionString, const char *pszInternalCheckInterfaceVersions, SteamErrMsg *pOutErrMsg) |
Variables | |
| const uint16 | STEAMGAMESERVER_QUERY_PORT_SHARED = 0xffff |
| const uint16 | MASTERSERVERUPDATERPORT_USEGAMESOCKETSHARE = STEAMGAMESERVER_QUERY_PORT_SHARED |
| enum EServerMode |
| Enumerator | |
|---|---|
| eServerModeInvalid | |
| eServerModeNoAuthentication | |
| eServerModeAuthentication | |
| eServerModeAuthenticationAndSecure | |
Definition at line 17 of file steam_gameserver.h.
| S_API bool SteamGameServer_BSecure | ( | ) |
|
inline |
Definition at line 58 of file steam_gameserver.h.
|
inline |
Definition at line 92 of file steam_gameserver.h.
|
inline |
Definition at line 109 of file steam_gameserver.h.
| S_API ESteamAPIInitResult S_CALLTYPE SteamInternal_GameServer_Init_V2 | ( | uint32 | unIP, |
| uint16 | usGamePort, | ||
| uint16 | usQueryPort, | ||
| EServerMode | eServerMode, | ||
| const char * | pchVersionString, | ||
| const char * | pszInternalCheckInterfaceVersions, | ||
| SteamErrMsg * | pOutErrMsg ) |
| const uint16 MASTERSERVERUPDATERPORT_USEGAMESOCKETSHARE = STEAMGAMESERVER_QUERY_PORT_SHARED |
Definition at line 32 of file steam_gameserver.h.
| const uint16 STEAMGAMESERVER_QUERY_PORT_SHARED = 0xffff |
Pass to SteamGameServer_Init to indicate that the same UDP port will be used for game traffic UDP queries for server browser pings and LAN discovery. In this case, Steam will not open up a socket to handle server browser queries, and you must use ISteamGameServer::HandleIncomingPacket and ISteamGameServer::GetNextOutgoingPacket to handle packets related to server discovery on your socket.
Definition at line 29 of file steam_gameserver.h.