Class ISteamNetworkingMessages
- Namespace
- MarymoorStudios.Core.Steamworks
- Assembly
- MarymoorStudios.Core.Steamworks.dll
public sealed class ISteamNetworkingMessages : SteamNativeObject
- Inheritance
-
ISteamNetworkingMessages
- Inherited Members
-
Fields
INTERFACE_VERSION
public const string INTERFACE_VERSION = "SteamNetworkingMessages002"
Field Value
- string
Methods
AcceptSessionWithUser(in SteamNetworkingIdentity)
public bool AcceptSessionWithUser(in SteamNetworkingIdentity identityRemote)
Parameters
identityRemote
SteamNetworkingIdentity
Returns
- bool
CloseChannelWithUser(in SteamNetworkingIdentity, int)
public bool CloseChannelWithUser(in SteamNetworkingIdentity identityRemote, int localChannel)
Parameters
identityRemote
SteamNetworkingIdentity
localChannel
int
Returns
- bool
CloseSessionWithUser(in SteamNetworkingIdentity)
public bool CloseSessionWithUser(in SteamNetworkingIdentity identityRemote)
Parameters
identityRemote
SteamNetworkingIdentity
Returns
- bool
GetSessionConnectionInfo(in SteamNetworkingIdentity, out SteamNetConnectionInfo, out SteamNetConnectionRealTimeStatus)
public ESteamNetworkingConnectionState GetSessionConnectionInfo(in SteamNetworkingIdentity identityRemote, out SteamNetConnectionInfo connectionInfo, out SteamNetConnectionRealTimeStatus quickStatus)
Parameters
identityRemote
SteamNetworkingIdentity
connectionInfo
SteamNetConnectionInfo
quickStatus
SteamNetConnectionRealTimeStatus
Returns
- ESteamNetworkingConnectionState
OnSteamNetworkingMessagesSessionFailed(CallbackAction<SteamNetworkingMessagesSessionFailed>)
public IDisposable OnSteamNetworkingMessagesSessionFailed(CallbackAction<SteamNetworkingMessagesSessionFailed> func)
Parameters
func
CallbackAction<SteamNetworkingMessagesSessionFailed>
Returns
- IDisposable
OnSteamNetworkingMessagesSessionRequest(CallbackAction<SteamNetworkingMessagesSessionRequest>)
public IDisposable OnSteamNetworkingMessagesSessionRequest(CallbackAction<SteamNetworkingMessagesSessionRequest> func)
Parameters
func
CallbackAction<SteamNetworkingMessagesSessionRequest>
Returns
- IDisposable
ReceiveMessagesOnChannel(int, Span<SteamNetworkingMessagePtr>)
public int ReceiveMessagesOnChannel(int localChannel, Span<SteamNetworkingMessagePtr> ppOutMessages)
Parameters
localChannel
int
ppOutMessages
Span<SteamNetworkingMessagePtr>
Returns
- int
SendMessageToUser(in SteamNetworkingIdentity, ReadOnlySpan<byte>, int, int)
public EResult SendMessageToUser(in SteamNetworkingIdentity identityRemote, ReadOnlySpan<byte> data, int sendFlags, int remoteChannel)
Parameters
identityRemote
SteamNetworkingIdentity
data
ReadOnlySpan<byte>
sendFlags
int
remoteChannel
int
Returns
- EResult