Rise
The Vieneo Province
Loading...
Searching...
No Matches
isteamnetworking.h File Reference
#include "steam_api_common.h"
Include dependency graph for isteamnetworking.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  P2PSessionState_t
class  ISteamNetworking
struct  P2PSessionRequest_t
struct  P2PSessionConnectFail_t
struct  SocketStatusCallback_t

Macros

#define STEAMNETWORKING_INTERFACE_VERSION   "SteamNetworking006"

Typedefs

typedef uint32 SNetSocket_t
typedef uint32 SNetListenSocket_t

Enumerations

enum  EP2PSessionError {
  k_EP2PSessionErrorNone = 0 , k_EP2PSessionErrorNoRightsToApp = 2 , k_EP2PSessionErrorTimeout = 4 , k_EP2PSessionErrorNotRunningApp_DELETED = 1 ,
  k_EP2PSessionErrorDestinationNotLoggedIn_DELETED = 3 , k_EP2PSessionErrorMax = 5
}
enum  EP2PSend { k_EP2PSendUnreliable = 0 , k_EP2PSendUnreliableNoDelay = 1 , k_EP2PSendReliable = 2 , k_EP2PSendReliableWithBuffering = 3 }
enum  ESNetSocketState {
  k_ESNetSocketStateInvalid = 0 , k_ESNetSocketStateConnected = 1 , k_ESNetSocketStateInitiated = 10 , k_ESNetSocketStateLocalCandidatesFound = 11 ,
  k_ESNetSocketStateReceivedRemoteCandidates = 12 , k_ESNetSocketStateChallengeHandshake = 15 , k_ESNetSocketStateDisconnecting = 21 , k_ESNetSocketStateLocalDisconnect = 22 ,
  k_ESNetSocketStateTimeoutDuringConnect = 23 , k_ESNetSocketStateRemoteEndDisconnected = 24 , k_ESNetSocketStateConnectionBroken = 25
}
enum  ESNetSocketConnectionType { k_ESNetSocketConnectionTypeNotConnected = 0 , k_ESNetSocketConnectionTypeUDP = 1 , k_ESNetSocketConnectionTypeUDPRelay = 2 }

Functions

ISteamNetworking * SteamNetworking ()
 STEAM_DEFINE_USER_INTERFACE_ACCESSOR (ISteamNetworking *, SteamNetworking, STEAMNETWORKING_INTERFACE_VERSION)
ISteamNetworking * SteamGameServerNetworking ()
 STEAM_DEFINE_GAMESERVER_INTERFACE_ACCESSOR (ISteamNetworking *, SteamGameServerNetworking, STEAMNETWORKING_INTERFACE_VERSION)

Macro Definition Documentation

◆ STEAMNETWORKING_INTERFACE_VERSION

#define STEAMNETWORKING_INTERFACE_VERSION   "SteamNetworking006"

Definition at line 291 of file isteamnetworking.h.

Typedef Documentation

◆ SNetListenSocket_t

Definition at line 86 of file isteamnetworking.h.

◆ SNetSocket_t

Definition at line 85 of file isteamnetworking.h.

Enumeration Type Documentation

◆ EP2PSend

enum EP2PSend
Enumerator
k_EP2PSendUnreliable 
k_EP2PSendUnreliableNoDelay 
k_EP2PSendReliable 
k_EP2PSendReliableWithBuffering 

Definition at line 35 of file isteamnetworking.h.

◆ EP2PSessionError

Enumerator
k_EP2PSessionErrorNone 
k_EP2PSessionErrorNoRightsToApp 
k_EP2PSessionErrorTimeout 
k_EP2PSessionErrorNotRunningApp_DELETED 
k_EP2PSessionErrorDestinationNotLoggedIn_DELETED 
k_EP2PSessionErrorMax 

Definition at line 17 of file isteamnetworking.h.

◆ ESNetSocketConnectionType

Enumerator
k_ESNetSocketConnectionTypeNotConnected 
k_ESNetSocketConnectionTypeUDP 
k_ESNetSocketConnectionTypeUDPRelay 

Definition at line 116 of file isteamnetworking.h.

◆ ESNetSocketState

Enumerator
k_ESNetSocketStateInvalid 
k_ESNetSocketStateConnected 
k_ESNetSocketStateInitiated 
k_ESNetSocketStateLocalCandidatesFound 
k_ESNetSocketStateReceivedRemoteCandidates 
k_ESNetSocketStateChallengeHandshake 
k_ESNetSocketStateDisconnecting 
k_ESNetSocketStateLocalDisconnect 
k_ESNetSocketStateTimeoutDuringConnect 
k_ESNetSocketStateRemoteEndDisconnected 
k_ESNetSocketStateConnectionBroken 

Definition at line 89 of file isteamnetworking.h.

Function Documentation

◆ STEAM_DEFINE_GAMESERVER_INTERFACE_ACCESSOR()

STEAM_DEFINE_GAMESERVER_INTERFACE_ACCESSOR ( ISteamNetworking * ,
SteamGameServerNetworking ,
STEAMNETWORKING_INTERFACE_VERSION  )
Here is the call graph for this function:

◆ STEAM_DEFINE_USER_INTERFACE_ACCESSOR()

STEAM_DEFINE_USER_INTERFACE_ACCESSOR ( ISteamNetworking * ,
SteamNetworking ,
STEAMNETWORKING_INTERFACE_VERSION  )
Here is the call graph for this function:

◆ SteamGameServerNetworking()

ISteamNetworking * SteamGameServerNetworking ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SteamNetworking()

ISteamNetworking * SteamNetworking ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function: