InviteAcceptedEventArgs.cs 736 B

1234567891011121314151617181920212223242526
  1. using Microsoft.Xna.Framework.GamerServices;
  2. namespace Microsoft.Xna.Framework.Net
  3. {
  4. /// <summary>
  5. /// Event arguments for when an invite is accepted.
  6. /// </summary>
  7. public class InviteAcceptedEventArgs : EventArgs
  8. {
  9. /// <summary>
  10. /// Gets the gamer who accepted the invite.
  11. /// </summary>
  12. public SignedInGamer Gamer { get; internal set; }
  13. /// <summary>
  14. /// Gets whether the operation completed successfully.
  15. /// </summary>
  16. public bool IsSignedInGamer { get; internal set; }
  17. internal InviteAcceptedEventArgs(SignedInGamer gamer, bool isSignedInGamer)
  18. {
  19. Gamer = gamer;
  20. IsSignedInGamer = isSignedInGamer;
  21. }
  22. }
  23. }