summaryrefslogtreecommitdiff
path: root/Assembly_Firstpass/Steamworks/P2PSessionState_t.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Assembly_Firstpass/Steamworks/P2PSessionState_t.cs')
-rw-r--r--Assembly_Firstpass/Steamworks/P2PSessionState_t.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/Assembly_Firstpass/Steamworks/P2PSessionState_t.cs b/Assembly_Firstpass/Steamworks/P2PSessionState_t.cs
new file mode 100644
index 0000000..fe20755
--- /dev/null
+++ b/Assembly_Firstpass/Steamworks/P2PSessionState_t.cs
@@ -0,0 +1,23 @@
+using System.Runtime.InteropServices;
+
+namespace Steamworks;
+
+[StructLayout(LayoutKind.Sequential, Pack = 8)]
+public struct P2PSessionState_t
+{
+ public byte m_bConnectionActive;
+
+ public byte m_bConnecting;
+
+ public byte m_eP2PSessionError;
+
+ public byte m_bUsingRelay;
+
+ public int m_nBytesQueuedForSend;
+
+ public int m_nPacketsQueuedForSend;
+
+ public uint m_nRemoteIP;
+
+ public ushort m_nRemotePort;
+}