More signature corrections, only 43 wrong now :)
This commit is contained in:
parent
f461d172c5
commit
e050901d31
@ -52,7 +52,38 @@ using System;
|
||||
|
||||
namespace ANX.Framework.GamerServices
|
||||
{
|
||||
public sealed class LeaderboardEntry
|
||||
{
|
||||
}
|
||||
public sealed class LeaderboardEntry
|
||||
{
|
||||
public Gamer Gamer
|
||||
{
|
||||
get
|
||||
{
|
||||
throw new NotSupportedException("Games for Windows LIVE is not supported in ANX");
|
||||
}
|
||||
}
|
||||
|
||||
public long Rating
|
||||
{
|
||||
get
|
||||
{
|
||||
throw new NotSupportedException("Games for Windows LIVE is not supported in ANX");
|
||||
}
|
||||
set
|
||||
{
|
||||
throw new NotSupportedException("Games for Windows LIVE is not supported in ANX");
|
||||
}
|
||||
}
|
||||
|
||||
public PropertyDictionary Columns
|
||||
{
|
||||
get
|
||||
{
|
||||
throw new NotSupportedException("Games for Windows LIVE is not supported in ANX");
|
||||
}
|
||||
}
|
||||
|
||||
internal LeaderboardEntry()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -53,7 +53,11 @@ using System;
|
||||
namespace ANX.Framework.GamerServices
|
||||
{
|
||||
public sealed class SignedInGamer : Gamer
|
||||
{
|
||||
|
||||
{
|
||||
public PlayerIndex PlayerIndex
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -52,8 +52,23 @@ using System;
|
||||
|
||||
namespace ANX.Framework.GamerServices
|
||||
{
|
||||
public sealed class SignedInGamerCollection : GamerCollection<SignedInGamer>
|
||||
{
|
||||
|
||||
}
|
||||
public sealed class SignedInGamerCollection : GamerCollection<SignedInGamer>
|
||||
{
|
||||
public SignedInGamer this[PlayerIndex playerIndex]
|
||||
{
|
||||
get
|
||||
{
|
||||
int count = base.Count;
|
||||
for (int index = 0; index < count; index++)
|
||||
{
|
||||
SignedInGamer signedInGamer = base[index];
|
||||
if (signedInGamer.PlayerIndex == playerIndex)
|
||||
{
|
||||
return signedInGamer;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user