corrected some more signatures of GamerServices methods
This commit is contained in:
parent
6c0029c54d
commit
f97e0e4ca4
@ -54,5 +54,108 @@ namespace ANX.Framework.GamerServices
|
|||||||
{
|
{
|
||||||
public sealed class FriendGamer : Gamer
|
public sealed class FriendGamer : Gamer
|
||||||
{
|
{
|
||||||
|
public bool FriendRequestReceivedFrom
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool FriendRequestSentTo
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool HasVoice
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool InviteAccepted
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool InviteReceivedFrom
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool InviteRejected
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool InviteSentTo
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool IsAway
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool IsBusy
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool IsJoinable
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool IsOnline
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool IsPlaying
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public string Presence
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -60,7 +60,7 @@ namespace ANX.Framework.GamerServices
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
public GameUpdateRequiredException(SerializationInfo info, StreamingContext context)
|
protected GameUpdateRequiredException(SerializationInfo info, StreamingContext context)
|
||||||
: base(info, context)
|
: base(info, context)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -54,6 +54,104 @@ namespace ANX.Framework.GamerServices
|
|||||||
{
|
{
|
||||||
public abstract class Gamer
|
public abstract class Gamer
|
||||||
{
|
{
|
||||||
|
public static IAsyncResult BeginGetFromGamertag(string gamertag, AsyncCallback callback, Object asyncState)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static IAsyncResult BeginGetPartnerToken(string audienceUri, AsyncCallback callback, Object asyncState)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public IAsyncResult BeginGetProfile(AsyncCallback callback, Object asyncState)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Gamer EndGetFromGamertag(IAsyncResult result)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static string EndGetPartnerToken(IAsyncResult result)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public GamerProfile EndGetProfile(IAsyncResult result)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Gamer GetFromGamertag(string gamertag)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static string GetPartnerToken(string audienceUri)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public GamerProfile GetProfile()
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string ToString()
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public string DisplayName
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public string Gamertag
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool IsDisposed
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public LeaderboardWriter LeaderboardWriter
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static SignedInGamerCollection SignedInGamers
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public Object Tag
|
||||||
|
{
|
||||||
|
get;
|
||||||
|
set;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -60,7 +60,7 @@ namespace ANX.Framework.GamerServices
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
public GamerPrivilegeException(SerializationInfo info, StreamingContext context)
|
protected GamerPrivilegeException(SerializationInfo info, StreamingContext context)
|
||||||
: base(info, context)
|
: base(info, context)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -60,7 +60,7 @@ namespace ANX.Framework.GamerServices
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
public GamerServicesNotAvailableException(SerializationInfo info, StreamingContext context)
|
protected GamerServicesNotAvailableException(SerializationInfo info, StreamingContext context)
|
||||||
: base(info, context)
|
: base(info, context)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -60,7 +60,7 @@ namespace ANX.Framework.GamerServices
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
public GuideAlreadyVisibleException(SerializationInfo info, StreamingContext context)
|
protected GuideAlreadyVisibleException(SerializationInfo info, StreamingContext context)
|
||||||
: base(info, context)
|
: base(info, context)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -54,5 +54,22 @@ namespace ANX.Framework.GamerServices
|
|||||||
{
|
{
|
||||||
public class InviteAcceptedEventArgs : EventArgs
|
public class InviteAcceptedEventArgs : EventArgs
|
||||||
{
|
{
|
||||||
|
public InviteAcceptedEventArgs(SignedInGamer gamer, bool isCurrentSession)
|
||||||
|
{
|
||||||
|
this.Gamer = gamer;
|
||||||
|
this.IsCurrentSession = isCurrentSession;
|
||||||
|
}
|
||||||
|
|
||||||
|
public SignedInGamer Gamer
|
||||||
|
{
|
||||||
|
get;
|
||||||
|
private set;
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool IsCurrentSession
|
||||||
|
{
|
||||||
|
get;
|
||||||
|
private set;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#region Using Statements
|
#region Using Statements
|
||||||
using System;
|
using System;
|
||||||
|
using System.Runtime.Serialization;
|
||||||
|
|
||||||
#endregion // Using Statements
|
#endregion // Using Statements
|
||||||
|
|
||||||
@ -54,6 +55,24 @@ namespace ANX.Framework.GamerServices
|
|||||||
{
|
{
|
||||||
public class NetworkException : Exception
|
public class NetworkException : Exception
|
||||||
{
|
{
|
||||||
|
public NetworkException()
|
||||||
|
: base()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
protected NetworkException(SerializationInfo info, StreamingContext context)
|
||||||
|
: base(info, context)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public NetworkException(string message)
|
||||||
|
: base(message)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public NetworkException(string message, Exception innerException)
|
||||||
|
: base(message, innerException)
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#region Using Statements
|
#region Using Statements
|
||||||
using System;
|
using System;
|
||||||
|
using System.Runtime.Serialization;
|
||||||
|
|
||||||
#endregion // Using Statements
|
#endregion // Using Statements
|
||||||
|
|
||||||
@ -52,7 +53,26 @@ using System;
|
|||||||
|
|
||||||
namespace ANX.Framework.GamerServices
|
namespace ANX.Framework.GamerServices
|
||||||
{
|
{
|
||||||
public class NetworkNotAvailableException : Exception
|
public class NetworkNotAvailableException : NetworkException
|
||||||
{
|
{
|
||||||
|
public NetworkNotAvailableException()
|
||||||
|
: base()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
protected NetworkNotAvailableException(SerializationInfo info, StreamingContext context)
|
||||||
|
: base(info, context)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public NetworkNotAvailableException(string message)
|
||||||
|
: base(message)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public NetworkNotAvailableException(string message, Exception innerException)
|
||||||
|
: base(message, innerException)
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -54,5 +54,15 @@ namespace ANX.Framework.GamerServices
|
|||||||
{
|
{
|
||||||
public class SignedOutEventArgs : EventArgs
|
public class SignedOutEventArgs : EventArgs
|
||||||
{
|
{
|
||||||
|
public SignedOutEventArgs(SignedInGamer gamer)
|
||||||
|
{
|
||||||
|
this.Gamer = gamer;
|
||||||
|
}
|
||||||
|
|
||||||
|
public SignedInGamer Gamer
|
||||||
|
{
|
||||||
|
get;
|
||||||
|
private set;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user