Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void CXnotify(int type, string message)
- {
- JRPC.CallVoid((IXboxConsole)this.APP, JRPC.ThreadType.Title, "xam.xex", 656, (object)type, (object)(int)byte.MaxValue, (object)2, (object)JRPC.ToWCHAR(message), (object)1);
- }
- if (APP.Connect(out APP))
- {
- if (this.comboBox1.Text == "")
- JRPC.XNotify((IXboxConsole)this.APP, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Friend Online")
- this.CXnotify(0, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Game Invite")
- this.CXnotify(1, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Friend Request")
- this.CXnotify(2, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Mail Icon")
- this.CXnotify(3, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Multi Pending")
- this.CXnotify(4, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Personal Message")
- this.CXnotify(5, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Signed Out")
- this.CXnotify(6, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Signed In")
- this.CXnotify(7, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Signed In Live")
- this.CXnotify(8, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Signed In Live Need Pass")
- this.CXnotify(9, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Chat Request")
- this.CXnotify(10, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Connection Lost")
- this.CXnotify(11, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Download Complete")
- this.CXnotify(12, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Song Playing")
- this.CXnotify(13, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Happy Face")
- this.CXnotify(14, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Sad Face")
- this.CXnotify(15, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Hammer Icon")
- this.CXnotify(16, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Chat Call Back")
- this.CXnotify(17, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Removed MU")
- this.CXnotify(18, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Removed Gamepad")
- this.CXnotify(19, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Chat Join")
- this.CXnotify(20, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Chat Leave")
- this.CXnotify(21, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Game Invite Sent")
- this.CXnotify(22, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Cancel Persistent")
- this.CXnotify(23, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Chat Call Back Sent")
- this.CXnotify(24, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Multi Friend Online")
- this.CXnotify(25, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "One Friend Online")
- this.CXnotify(26, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Achievement")
- this.CXnotify(27, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Hybrid Disc")
- this.CXnotify(28, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Mailbox")
- this.CXnotify(29, this.textBoxX9.Text);
- else if (this.comboBox1.Text == "Exclamation Mark")
- {
- this.CXnotify(34, this.textBoxX9.Text);
- }
- else
- {
- if (!(this.comboBox1.Text == "Garbage Can"))
- return;
- this.CXnotify(68, this.textBoxX9.Text);
- }
- }
- else
- {
- MessageBoxEx.Show("Not Connected!");
- }
- ////// Add this to combobox collection
- Friend Online
- Game Invite
- Friend Request
- Mail Icon
- Multi Pending
- Personal Message
- Signed Out
- Signed In
- Signed In Live
- Signed In Live Need Pass
- Chat Request
- Connection Lost
- Download Complete
- Song Playing
- Happy Face
- Sad Face
- Hammer Icon
- Chat Call Back
- Removed MU
- Removed Gamepad
- Chat Join
- Chat Leave
- Game Invite Sent
- Cancel Persistent
- Chat Call Back Sent
- Multi Friend Online
- One Friend Online
- Achievement
- Hybrid Disc
- Mailbox
- Exclamation Mark
- Garbage Can
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement