public bool Equals(ConsoleProfile other)
 {
     if (object.ReferenceEquals(other, null))
     {
         return false;
     }
     if (object.ReferenceEquals(this, other))
     {
         return true;
     }
     if (base.GetType() != other.GetType())
     {
         return false;
     }
     return ((this.OfflineXuid == other.OfflineXuid) && (base.Gamertag == other.Gamertag));
 }
Exemple #2
0
 public bool Equals(ConsoleProfile other)
 {
     if (object.ReferenceEquals(other, null))
     {
         return(false);
     }
     if (object.ReferenceEquals(this, other))
     {
         return(true);
     }
     if (base.GetType() != other.GetType())
     {
         return(false);
     }
     return((this.OfflineXuid == other.OfflineXuid) && (base.Gamertag == other.Gamertag));
 }
 public void SetDefaultProfile(ConsoleProfile profile)
 {
     this.profileSupport.SetDefaultProfile(profile.OfflineXuid);
 }
 public void DeleteConsoleProfile(ConsoleProfile profile)
 {
     this.profileSupport.DeleteConsoleProfile(profile.OfflineXuid);
 }
Exemple #5
0
 public void RemoveLocalUserFromParty(ConsoleProfile profile)
 {
     this.partySupport.RemoveLocalUserFromParty(profile.GetUserIndex());
 }
Exemple #6
0
 public void JoinParty(ConsoleProfile profile, Gamer remoteGamer)
 {
     this.partySupport.JoinParty(profile.GetUserIndex(), remoteGamer.OnlineXuid);
 }
Exemple #7
0
 public void CreateParty(ConsoleProfile leader, TimeSpan timeout)
 {
     this.partySupport.CreateParty(leader.GetUserIndex(), timeout);
 }
Exemple #8
0
 public void CreateParty(ConsoleProfile leader)
 {
     this.partySupport.CreateParty(leader.GetUserIndex(), TimeSpan.FromSeconds(10.0));
 }
Exemple #9
0
 public void AddLocalUserToParty(ConsoleProfile profile)
 {
     this.partySupport.AddLocalUserToParty(profile.GetUserIndex());
 }