Advertisement
Dev

JRPC Popup sender source

Dev
May 12th, 2016
37,523
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.17 KB | None | 0 0
  1. private void CXnotify(int type, string message)
  2. {
  3. 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);
  4. }
  5.  
  6.  
  7.  
  8. if (APP.Connect(out APP))
  9. {
  10. if (this.comboBox1.Text == "")
  11. JRPC.XNotify((IXboxConsole)this.APP, this.textBoxX9.Text);
  12. else if (this.comboBox1.Text == "Friend Online")
  13. this.CXnotify(0, this.textBoxX9.Text);
  14. else if (this.comboBox1.Text == "Game Invite")
  15. this.CXnotify(1, this.textBoxX9.Text);
  16. else if (this.comboBox1.Text == "Friend Request")
  17. this.CXnotify(2, this.textBoxX9.Text);
  18. else if (this.comboBox1.Text == "Mail Icon")
  19. this.CXnotify(3, this.textBoxX9.Text);
  20. else if (this.comboBox1.Text == "Multi Pending")
  21. this.CXnotify(4, this.textBoxX9.Text);
  22. else if (this.comboBox1.Text == "Personal Message")
  23. this.CXnotify(5, this.textBoxX9.Text);
  24. else if (this.comboBox1.Text == "Signed Out")
  25. this.CXnotify(6, this.textBoxX9.Text);
  26. else if (this.comboBox1.Text == "Signed In")
  27. this.CXnotify(7, this.textBoxX9.Text);
  28. else if (this.comboBox1.Text == "Signed In Live")
  29. this.CXnotify(8, this.textBoxX9.Text);
  30. else if (this.comboBox1.Text == "Signed In Live Need Pass")
  31. this.CXnotify(9, this.textBoxX9.Text);
  32. else if (this.comboBox1.Text == "Chat Request")
  33. this.CXnotify(10, this.textBoxX9.Text);
  34. else if (this.comboBox1.Text == "Connection Lost")
  35. this.CXnotify(11, this.textBoxX9.Text);
  36. else if (this.comboBox1.Text == "Download Complete")
  37. this.CXnotify(12, this.textBoxX9.Text);
  38. else if (this.comboBox1.Text == "Song Playing")
  39. this.CXnotify(13, this.textBoxX9.Text);
  40. else if (this.comboBox1.Text == "Happy Face")
  41. this.CXnotify(14, this.textBoxX9.Text);
  42. else if (this.comboBox1.Text == "Sad Face")
  43. this.CXnotify(15, this.textBoxX9.Text);
  44. else if (this.comboBox1.Text == "Hammer Icon")
  45. this.CXnotify(16, this.textBoxX9.Text);
  46. else if (this.comboBox1.Text == "Chat Call Back")
  47. this.CXnotify(17, this.textBoxX9.Text);
  48. else if (this.comboBox1.Text == "Removed MU")
  49. this.CXnotify(18, this.textBoxX9.Text);
  50. else if (this.comboBox1.Text == "Removed Gamepad")
  51. this.CXnotify(19, this.textBoxX9.Text);
  52. else if (this.comboBox1.Text == "Chat Join")
  53. this.CXnotify(20, this.textBoxX9.Text);
  54. else if (this.comboBox1.Text == "Chat Leave")
  55. this.CXnotify(21, this.textBoxX9.Text);
  56. else if (this.comboBox1.Text == "Game Invite Sent")
  57. this.CXnotify(22, this.textBoxX9.Text);
  58. else if (this.comboBox1.Text == "Cancel Persistent")
  59. this.CXnotify(23, this.textBoxX9.Text);
  60. else if (this.comboBox1.Text == "Chat Call Back Sent")
  61. this.CXnotify(24, this.textBoxX9.Text);
  62. else if (this.comboBox1.Text == "Multi Friend Online")
  63. this.CXnotify(25, this.textBoxX9.Text);
  64. else if (this.comboBox1.Text == "One Friend Online")
  65. this.CXnotify(26, this.textBoxX9.Text);
  66. else if (this.comboBox1.Text == "Achievement")
  67. this.CXnotify(27, this.textBoxX9.Text);
  68. else if (this.comboBox1.Text == "Hybrid Disc")
  69. this.CXnotify(28, this.textBoxX9.Text);
  70. else if (this.comboBox1.Text == "Mailbox")
  71. this.CXnotify(29, this.textBoxX9.Text);
  72. else if (this.comboBox1.Text == "Exclamation Mark")
  73. {
  74. this.CXnotify(34, this.textBoxX9.Text);
  75. }
  76. else
  77. {
  78. if (!(this.comboBox1.Text == "Garbage Can"))
  79. return;
  80. this.CXnotify(68, this.textBoxX9.Text);
  81. }
  82. }
  83. else
  84. {
  85. MessageBoxEx.Show("Not Connected!");
  86. }
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95. ////// Add this to combobox collection
  96.  
  97. Friend Online
  98. Game Invite
  99. Friend Request
  100. Mail Icon
  101. Multi Pending
  102. Personal Message
  103. Signed Out
  104. Signed In
  105. Signed In Live
  106. Signed In Live Need Pass
  107. Chat Request
  108. Connection Lost
  109. Download Complete
  110. Song Playing
  111. Happy Face
  112. Sad Face
  113. Hammer Icon
  114. Chat Call Back
  115. Removed MU
  116. Removed Gamepad
  117. Chat Join
  118. Chat Leave
  119. Game Invite Sent
  120. Cancel Persistent
  121. Chat Call Back Sent
  122. Multi Friend Online
  123. One Friend Online
  124. Achievement
  125. Hybrid Disc
  126. Mailbox
  127. Exclamation Mark
  128. Garbage Can
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement