Пример #1
0
 public void LauSendFriendRequest(ulong XUID)
 {
     if (Form1.IsDevKit == true)
     {
         ulong Xuid = 0L;
         DevUsers.GetXuidFromIndex(xbc, 0, out Xuid);
         DevUsers.SendFriendRequest(xbc, Xuid, XUID);
     }
 }
Пример #2
0
 private void button4_Click(object sender, EventArgs e)
 {
     if (Connected)
     {
         if (IsDevKit == false)
         {
             textBox3.Text = Users.XamUserGetXUID(xbc);
         }
         else
         {
             ulong Xuid = 0L;
             DevUsers.GetXuidFromIndex(xbc, 0, out Xuid);
             textBox3.Text = Xuid.ToString("X16");
         }
     }
 }
Пример #3
0
 private void button20_Click(object sender, EventArgs e)
 {
     if (Connected)
     {
         if (IsDevKit == false)
         {
         }
         else
         {
             ulong Xuid = 0L;
             DevUsers.GetXuidFromIndex(xbc, 0, out Xuid);
             string id   = listView1.SelectedItems[0].SubItems[2].Text;
             ulong  XUID = DevUsers.ListLXuid[Convert.ToInt32(id)];
             DevUsers.SendFriendRequest(xbc, Xuid, XUID);
             MessageBox.Show("FriendRequest Go!!!!");
         }
     }
 }
Пример #4
0
 private void karma_Click(object sender, EventArgs e)
 {
     if (Connected)
     {
         if (IsDevKit == false)
         {
             Users.SetGamertag(xbc, "Major Nelson", "00092EEEEEEEFD31");
             MessageBox.Show("Gamertag Is Set to Major Nelson");
         }
         else
         {
             ulong Xuid = 0L;
             DevUsers.SetGamertag(xbc, "Major Nelson", "00092EEEEEEEFD31");
             DevUsers.GetXuidFromIndex(xbc, 0, out Xuid);
             DevUsers.JoinParty(xbc, 0, Xuid);
             MessageBox.Show("Gamertag Is Set to Major Nelson");
         }
     }
 }
Пример #5
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (Connected)
     {
         if (IsDevKit == false)
         {
             Users.SetGamertag(xbc, textBox1.Text, textBox2.Text);
             MessageBox.Show("Gamertag Is Set to " + textBox1.Text);
         }
         else
         {
             ulong Xuid = 0L;
             DevUsers.SetGamertag(xbc, textBox1.Text, textBox2.Text);
             DevUsers.GetXuidFromIndex(xbc, 0, out Xuid);
             DevUsers.JoinParty(xbc, 0, Xuid);
             MessageBox.Show("Gamertag Is Set to " + textBox1.Text);
         }
     }
 }