More signature corrections, only 43 wrong now :)

This commit is contained in:
SND\AstrorEnales_cp 2011-11-17 21:12:23 +00:00
parent f461d172c5
commit e050901d31
3 changed files with 59 additions and 9 deletions

View File

@ -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()
{
}
}
}

View File

@ -53,7 +53,11 @@ using System;
namespace ANX.Framework.GamerServices
{
public sealed class SignedInGamer : Gamer
{
{
public PlayerIndex PlayerIndex
{
get;
private set;
}
}
}

View File

@ -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;
}
}
}
}