2012-08-09 09:45:04 +00:00
|
|
|
#region Using Statements
|
2011-11-16 11:15:10 +00:00
|
|
|
using System;
|
|
|
|
|
|
|
|
#endregion // Using Statements
|
|
|
|
|
2012-08-09 09:45:04 +00:00
|
|
|
// This file is part of the ANX.Framework created by the
|
|
|
|
// "ANX.Framework developer group" and released under the Ms-PL license.
|
|
|
|
// For details see: http://anxframework.codeplex.com/license
|
2011-11-16 11:15:10 +00:00
|
|
|
|
|
|
|
namespace ANX.Framework.GamerServices
|
|
|
|
{
|
2011-11-17 21:12:23 +00:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2011-11-16 11:15:10 +00:00
|
|
|
}
|