Skip to content

ISteamNetworkingMessages

syntax-tm edited this page Jul 13, 2024 · 1 revision

ISteamNetworkingMessages

A versioned accessor is exported by the library.

S_API ISteamNetworkingMessages *SteamAPI_SteamNetworkingMessages_SteamAPI_v002();

Inline, unversioned accessor to get the current version. Essentially the same as SteamNetworkingMessages_SteamAPI(), but using this ensures that you are using a matching library.

inline ISteamNetworkingMessages *SteamAPI_SteamNetworkingMessages_SteamAPI() { return SteamAPI_SteamNetworkingMessages_SteamAPI_v002(); }

A versioned accessor is exported by the library.

S_API ISteamNetworkingMessages *SteamAPI_SteamGameServerNetworkingMessages_SteamAPI_v002();

Inline, unversioned accessor to get the current version. Essentially the same as SteamGameServerNetworkingMessages_SteamAPI(), but using this ensures that you are using a matching library.

inline ISteamNetworkingMessages *SteamAPI_SteamGameServerNetworkingMessages_SteamAPI() { return SteamAPI_SteamGameServerNetworkingMessages_SteamAPI_v002(); }
Return Type Interface Method Arguments
EResult ISteamNetworkingMessages SendMessageToUser ISteamNetworkingMessages* self, const SteamNetworkingIdentity & identityRemote, const void * pubData, uint32 cubData, int nSendFlags, int nRemoteChannel
int ISteamNetworkingMessages ReceiveMessagesOnChannel ISteamNetworkingMessages* self, int nLocalChannel, SteamNetworkingMessage_t ** ppOutMessages, int nMaxMessages
bool ISteamNetworkingMessages AcceptSessionWithUser ISteamNetworkingMessages* self, const SteamNetworkingIdentity & identityRemote
bool ISteamNetworkingMessages CloseSessionWithUser ISteamNetworkingMessages* self, const SteamNetworkingIdentity & identityRemote
bool ISteamNetworkingMessages CloseChannelWithUser ISteamNetworkingMessages* self, const SteamNetworkingIdentity & identityRemote, int nLocalChannel
ESteamNetworkingConnectionState ISteamNetworkingMessages GetSessionConnectionInfo ISteamNetworkingMessages* self, const SteamNetworkingIdentity & identityRemote, SteamNetConnectionInfo_t * pConnectionInfo, SteamNetConnectionRealTimeStatus_t * pQuickStatus
Clone this wiki locally