public void LauSendFriendRequest(ulong XUID) { if (Form1.IsDevKit == true) { ulong Xuid = 0L; DevUsers.GetXuidFromIndex(xbc, 0, out Xuid); DevUsers.SendFriendRequest(xbc, Xuid, XUID); } }
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"); } } }
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!!!!"); } } }
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"); } } }
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); } } }