(965c31410a) Unstable v0.10.4.0

This commit is contained in:
Juan Pablo Arce
2020-07-21 08:57:50 -03:00
parent 4f8bd39789
commit 33d3a41104
546 changed files with 45952 additions and 25762 deletions
@@ -0,0 +1,31 @@
using Steamworks.Data;
using System;
using System.Collections.Generic;
using System.Text;
namespace Steamworks
{
public struct P2PSessionState
{
public byte ConnectionActive;
public byte Connecting;
public P2PSessionError P2PSessionError;
public byte UsingRelay;
public int BytesQueuedForSend;
public int PacketsQueuedForSend;
public uint RemoteIP;
public ushort RemotePort;
internal P2PSessionState(P2PSessionState_t s)
{
this.ConnectionActive = s.ConnectionActive;
this.Connecting = s.Connecting;
this.P2PSessionError = (P2PSessionError)s.P2PSessionError;
this.UsingRelay = s.UsingRelay;
this.BytesQueuedForSend = s.BytesQueuedForSend;
this.PacketsQueuedForSend = s.PacketsQueuedForSend;
this.RemoteIP = s.RemoteIP;
this.RemotePort = s.RemotePort;
}
}
}