More signature corrections, only 43 wrong now :)
This commit is contained in:
parent
f461d172c5
commit
e050901d31
@ -54,5 +54,36 @@ namespace ANX.Framework.GamerServices
|
||||
{
|
||||
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()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -54,6 +54,10 @@ namespace ANX.Framework.GamerServices
|
||||
{
|
||||
public sealed class SignedInGamer : Gamer
|
||||
{
|
||||
|
||||
public PlayerIndex PlayerIndex
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -54,6 +54,21 @@ namespace ANX.Framework.GamerServices
|
||||
{
|
||||
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