forked from gibbed/SteamAchievementManager
-
-
Notifications
You must be signed in to change notification settings - Fork 4
ISteamNetworking
syntax-tm edited this page Jul 13, 2024
·
1 revision
A versioned accessor is exported by the library.
S_API ISteamNetworking *SteamAPI_SteamNetworking_v006();
Inline, unversioned accessor to get the current version. Essentially the same as SteamNetworking()
, but using this ensures that you are using a matching library.
inline ISteamNetworking *SteamAPI_SteamNetworking() { return SteamAPI_SteamNetworking_v006(); }
A versioned accessor is exported by the library.
S_API ISteamNetworking *SteamAPI_SteamGameServerNetworking_v006();
Inline, unversioned accessor to get the current version. Essentially the same as SteamGameServerNetworking()
, but using this ensures that you are using a matching library.
inline ISteamNetworking *SteamAPI_SteamGameServerNetworking() { return SteamAPI_SteamGameServerNetworking_v006(); }
Return Type | Interface | Method | Arguments |
---|---|---|---|
bool |
ISteamNetworking |
SendP2PPacket |
ISteamNetworking* self, uint64_steamid steamIDRemote, const void * pubData, uint32 cubData, EP2PSend eP2PSendType, int nChannel |
bool |
ISteamNetworking |
IsP2PPacketAvailable |
ISteamNetworking* self, uint32 * pcubMsgSize, int nChannel |
bool |
ISteamNetworking |
ReadP2PPacket |
ISteamNetworking* self, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize, CSteamID * psteamIDRemote, int nChannel |
bool |
ISteamNetworking |
AcceptP2PSessionWithUser |
ISteamNetworking* self, uint64_steamid steamIDRemote |
bool |
ISteamNetworking |
CloseP2PSessionWithUser |
ISteamNetworking* self, uint64_steamid steamIDRemote |
bool |
ISteamNetworking |
CloseP2PChannelWithUser |
ISteamNetworking* self, uint64_steamid steamIDRemote, int nChannel |
bool |
ISteamNetworking |
GetP2PSessionState |
ISteamNetworking* self, uint64_steamid steamIDRemote, P2PSessionState_t * pConnectionState |
bool |
ISteamNetworking |
AllowP2PPacketRelay |
ISteamNetworking* self, bool bAllow |
SNetListenSocket_t |
ISteamNetworking |
CreateListenSocket |
ISteamNetworking* self, int nVirtualP2PPort, SteamIPAddress_t nIP, uint16 nPort, bool bAllowUseOfPacketRelay |
SNetSocket_t |
ISteamNetworking |
CreateP2PConnectionSocket |
ISteamNetworking* self, uint64_steamid steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay |
SNetSocket_t |
ISteamNetworking |
CreateConnectionSocket |
ISteamNetworking* self, SteamIPAddress_t nIP, uint16 nPort, int nTimeoutSec |
bool |
ISteamNetworking |
DestroySocket |
ISteamNetworking* self, SNetSocket_t hSocket, bool bNotifyRemoteEnd |
bool |
ISteamNetworking |
DestroyListenSocket |
ISteamNetworking* self, SNetListenSocket_t hSocket, bool bNotifyRemoteEnd |
bool |
ISteamNetworking |
SendDataOnSocket |
ISteamNetworking* self, SNetSocket_t hSocket, void * pubData, uint32 cubData, bool bReliable |
bool |
ISteamNetworking |
IsDataAvailableOnSocket |
ISteamNetworking* self, SNetSocket_t hSocket, uint32 * pcubMsgSize |
bool |
ISteamNetworking |
RetrieveDataFromSocket |
ISteamNetworking* self, SNetSocket_t hSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize |
bool |
ISteamNetworking |
IsDataAvailable |
ISteamNetworking* self, SNetListenSocket_t hListenSocket, uint32 * pcubMsgSize, SNetSocket_t * phSocket |
bool |
ISteamNetworking |
RetrieveData |
ISteamNetworking* self, SNetListenSocket_t hListenSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize, SNetSocket_t * phSocket |
bool |
ISteamNetworking |
GetSocketInfo |
ISteamNetworking* self, SNetSocket_t hSocket, CSteamID * pSteamIDRemote, int * peSocketStatus, SteamIPAddress_t * punIPRemote, uint16 * punPortRemote |
bool |
ISteamNetworking |
GetListenSocketInfo |
ISteamNetworking* self, SNetListenSocket_t hListenSocket, SteamIPAddress_t * pnIP, uint16 * pnPort |
ESNetSocketConnectionType |
ISteamNetworking |
GetSocketConnectionType |
ISteamNetworking* self, SNetSocket_t hSocket |
int |
ISteamNetworking |
GetMaxPacketSize |
ISteamNetworking* self, SNetSocket_t hSocket |
Note
This Wiki is work-in-progress. If you notice any errors or would like to add any missing information, changes are welcome.
About
Dev
Steamworks
Help
Links