diff --git a/ANX.Framework/GamerServices/LeaderboardEntry.cs b/ANX.Framework/GamerServices/LeaderboardEntry.cs index b8178f37..8ec38000 100644 --- a/ANX.Framework/GamerServices/LeaderboardEntry.cs +++ b/ANX.Framework/GamerServices/LeaderboardEntry.cs @@ -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() + { + } + } } diff --git a/ANX.Framework/GamerServices/SignedInGamer.cs b/ANX.Framework/GamerServices/SignedInGamer.cs index d3825480..4abf726a 100644 --- a/ANX.Framework/GamerServices/SignedInGamer.cs +++ b/ANX.Framework/GamerServices/SignedInGamer.cs @@ -53,7 +53,11 @@ using System; namespace ANX.Framework.GamerServices { public sealed class SignedInGamer : Gamer - { - + { + public PlayerIndex PlayerIndex + { + get; + private set; + } } } diff --git a/ANX.Framework/GamerServices/SignedInGamerCollection.cs b/ANX.Framework/GamerServices/SignedInGamerCollection.cs index 1ba8b10b..a3678b5f 100644 --- a/ANX.Framework/GamerServices/SignedInGamerCollection.cs +++ b/ANX.Framework/GamerServices/SignedInGamerCollection.cs @@ -52,8 +52,23 @@ using System; namespace ANX.Framework.GamerServices { - public sealed class SignedInGamerCollection : GamerCollection - { - - } + public sealed class SignedInGamerCollection : GamerCollection + { + 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; + } + } + } }