Implemented some Net Signatures
This commit is contained in:
parent
6f602c3597
commit
c005180b0e
@ -4,5 +4,15 @@ namespace ANX.Framework.Net
|
|||||||
{
|
{
|
||||||
public class GamerJoinedEventArgs : EventArgs
|
public class GamerJoinedEventArgs : EventArgs
|
||||||
{
|
{
|
||||||
|
public NetworkGamer Gamer
|
||||||
|
{
|
||||||
|
get;
|
||||||
|
private set;
|
||||||
|
}
|
||||||
|
|
||||||
|
public GamerJoinedEventArgs(NetworkGamer gamer)
|
||||||
|
{
|
||||||
|
Gamer = gamer;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,5 +4,15 @@ namespace ANX.Framework.Net
|
|||||||
{
|
{
|
||||||
public class GamerLeftEventArgs : EventArgs
|
public class GamerLeftEventArgs : EventArgs
|
||||||
{
|
{
|
||||||
|
public NetworkGamer Gamer
|
||||||
|
{
|
||||||
|
get;
|
||||||
|
private set;
|
||||||
|
}
|
||||||
|
|
||||||
|
public GamerLeftEventArgs(NetworkGamer gamer)
|
||||||
|
{
|
||||||
|
Gamer = gamer;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,5 +4,22 @@ namespace ANX.Framework.Net
|
|||||||
{
|
{
|
||||||
public class HostChangedEventArgs : EventArgs
|
public class HostChangedEventArgs : EventArgs
|
||||||
{
|
{
|
||||||
|
public NetworkGamer OldHost
|
||||||
|
{
|
||||||
|
get;
|
||||||
|
private set;
|
||||||
|
}
|
||||||
|
|
||||||
|
public NetworkGamer NewHost
|
||||||
|
{
|
||||||
|
get;
|
||||||
|
private set;
|
||||||
|
}
|
||||||
|
|
||||||
|
public HostChangedEventArgs(NetworkGamer oldHost, NetworkGamer newHost)
|
||||||
|
{
|
||||||
|
OldHost = oldHost;
|
||||||
|
NewHost = newHost;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,36 @@
|
|||||||
|
|
||||||
namespace ANX.Framework.Net
|
namespace ANX.Framework.Net
|
||||||
{
|
{
|
||||||
public class QualityOfService
|
public sealed class QualityOfService
|
||||||
{
|
{
|
||||||
|
public bool IsAvailable
|
||||||
|
{
|
||||||
|
get;
|
||||||
|
internal set;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int BytesPerSecondUpstream
|
||||||
|
{
|
||||||
|
get;
|
||||||
|
internal set;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int BytesPerSecondDownstream
|
||||||
|
{
|
||||||
|
get;
|
||||||
|
internal set;
|
||||||
|
}
|
||||||
|
|
||||||
|
public TimeSpan AverageRoundtripTime
|
||||||
|
{
|
||||||
|
get;
|
||||||
|
internal set;
|
||||||
|
}
|
||||||
|
|
||||||
|
public TimeSpan MinimumRoundtripTime
|
||||||
|
{
|
||||||
|
get;
|
||||||
|
internal set;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,18 @@
|
|||||||
|
|
||||||
namespace ANX.Framework.Net
|
namespace ANX.Framework.Net
|
||||||
{
|
{
|
||||||
public class WriteLeaderboardsEventArgs : EventArgs
|
public sealed class WriteLeaderboardsEventArgs : EventArgs
|
||||||
{
|
{
|
||||||
|
public NetworkGamer Gamer
|
||||||
|
{
|
||||||
|
get;
|
||||||
|
internal set;
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool IsLeaving
|
||||||
|
{
|
||||||
|
get;
|
||||||
|
internal set;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user