swiftlys2/docs/api/releases/features/ai/
API Reference › SteamAPI

P2PSessionConnectFail_t

Struct
Namespace: SwiftlyS2.Shared.SteamAPI · Assembly: SwiftlyS2.CS2.dll
public struct P2PSessionConnectFail_t

callback notification - packets can't get through to the specified user via the SendP2PPacket() API all packets queued packets unsent at this point will be dropped further attempts to send will retry making the connection (but will be dropped if we fail again)

View source

Fields

k_iCallback

public const int k_iCallback = 1203
Field Value

m_eP2PSessionError

EP2PSessionError indicating why we're having trouble

public byte m_eP2PSessionError
Field Value

m_steamIDRemote

user we were sending packets to

public CSteamID m_steamIDRemote
Field Value