Ejemplo n.º 1
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));
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 3
0
 public void SetDefaultProfile(ConsoleProfile profile)
 {
     this.profileSupport.SetDefaultProfile(profile.OfflineXuid);
 }
Ejemplo n.º 4
0
 public void DeleteConsoleProfile(ConsoleProfile profile)
 {
     this.profileSupport.DeleteConsoleProfile(profile.OfflineXuid);
 }
Ejemplo n.º 5
0
 public void RemoveLocalUserFromParty(ConsoleProfile profile)
 {
     this.partySupport.RemoveLocalUserFromParty(profile.GetUserIndex());
 }
Ejemplo n.º 6
0
 public void JoinParty(ConsoleProfile profile, Gamer remoteGamer)
 {
     this.partySupport.JoinParty(profile.GetUserIndex(), remoteGamer.OnlineXuid);
 }
Ejemplo n.º 7
0
 public void CreateParty(ConsoleProfile leader, TimeSpan timeout)
 {
     this.partySupport.CreateParty(leader.GetUserIndex(), timeout);
 }
Ejemplo n.º 8
0
 public void CreateParty(ConsoleProfile leader)
 {
     this.partySupport.CreateParty(leader.GetUserIndex(), TimeSpan.FromSeconds(10.0));
 }
Ejemplo n.º 9
0
 public void AddLocalUserToParty(ConsoleProfile profile)
 {
     this.partySupport.AddLocalUserToParty(profile.GetUserIndex());
 }