Guest User

Untitled

a guest
Jan 25th, 2014
275
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Peripheral Info
  2. METHOD: 1
  3. NAME: clear
  4. DESCRIPTION: Clear all the objects from the screen
  5. RETURN TYPE: VOID
  6. ARGUMENTS: 0
  7. METHOD: 2
  8. NAME: getGuid
  9. DESCRIPTION: Get the Guid of this bridge
  10. RETURN TYPE: STRING
  11. ARGUMENTS: 0
  12. METHOD: 3
  13. NAME: getStringWidth
  14. DESCRIPTION: Get the display width of some text
  15. RETURN TYPE: NUMBER
  16. ARGUMENTS: 1
  17. ARGUMENT: 1
  18. NAME: text
  19. DESCRIPTION: The text you want to measure
  20. TYPE: STRING
  21.  
  22. METHOD: 4
  23. NAME: addBox
  24. DESCRIPTION: Add a new box to the screen
  25. RETURN TYPE: OBJECT
  26. ARGUMENTS: 6
  27. ARGUMENT: 1
  28. NAME: x
  29. DESCRIPTION: The x position from the top left
  30. TYPE: NUMBER
  31. ARGUMENT: 2
  32. NAME: y
  33. DESCRIPTION: The y position from the top left
  34. TYPE: NUMBER
  35. ARGUMENT: 3
  36. NAME: width
  37. DESCRIPTION: The width of the box
  38. TYPE: NUMBER
  39. ARGUMENT: 4
  40. NAME: height
  41. DESCRIPTION: The height of the box
  42. TYPE: NUMBER
  43. ARGUMENT: 5
  44. NAME: color
  45. DESCRIPTION: The color of the box
  46. TYPE: NUMBER
  47. ARGUMENT: 6
  48. NAME: opacity
  49. DESCRIPTION: The opacity of the box (from 0 to 1)
  50. TYPE: NUMBER
  51.  
  52. METHOD: 5
  53. NAME: addGradientBox
  54. DESCRIPTION: Add a new gradient box to the screen
  55. RETURN TYPE: OBJECT
  56. ARGUMENTS: 9
  57. ARGUMENT: 1
  58. NAME: x
  59. DESCRIPTION: The x position from the top left
  60. TYPE: NUMBER
  61. ARGUMENT: 2
  62. NAME: y
  63. DESCRIPTION: The y position from the top left
  64. TYPE: NUMBER
  65. ARGUMENT: 3
  66. NAME: width
  67. DESCRIPTION: The width of the box
  68. TYPE: NUMBER
  69. ARGUMENT: 4
  70. NAME: height
  71. DESCRIPTION: The height of the box
  72. TYPE: NUMBER
  73. ARGUMENT: 5
  74. NAME: color
  75. DESCRIPTION: The color of the box
  76. TYPE: NUMBER
  77. ARGUMENT: 6
  78. NAME: opacity
  79. DESCRIPTION: The opacity of the box (from 0 to 1)
  80. TYPE: NUMBER
  81. ARGUMENT: 7
  82. NAME: color
  83. DESCRIPTION: The color of the other side of the box
  84. TYPE: NUMBER
  85. ARGUMENT: 8
  86. NAME: opacity
  87. DESCRIPTION: The opacity of the other side of the box (from 0 to 1)
  88. TYPE: NUMBER
  89. ARGUMENT: 9
  90. NAME: gradient
  91. DESCRIPTION: The gradient direction (0 for none, 1 for horizontal, 2 for vertical)
  92. TYPE: NUMBER
  93.  
  94. METHOD: 6
  95. NAME: listMethods
  96. DESCRIPTION: List all the methods available
  97. RETURN TYPE: STRING
  98. ARGUMENTS: 0
  99. METHOD: 7
  100. NAME: resetGuid
  101. DESCRIPTION: Reset the Guid of the bridge. This will unlink all users
  102. RETURN TYPE: VOID
  103. ARGUMENTS: 0
  104. METHOD: 8
  105. NAME: getAdvancedMethodsData
  106. DESCRIPTION: Get a complete table of information about all available methods
  107. RETURN TYPE: TABLE
  108. ARGUMENTS: 0
  109. METHOD: 9
  110. NAME: addText
  111. DESCRIPTION: Add a new text object to the screen
  112. RETURN TYPE: OBJECT
  113. ARGUMENTS: 4
  114. ARGUMENT: 1
  115. NAME: x
  116. DESCRIPTION: The x position from the top left
  117. TYPE: NUMBER
  118. ARGUMENT: 2
  119. NAME: y
  120. DESCRIPTION: The y position from the top left
  121. TYPE: NUMBER
  122. ARGUMENT: 3
  123. NAME: text
  124. DESCRIPTION: The text to display
  125. TYPE: STRING
  126. ARGUMENT: 4
  127. NAME: color
  128. DESCRIPTION: The text color
  129. TYPE: NUMBER
  130.  
  131. METHOD: 10
  132. NAME: getAllIds
  133. DESCRIPTION: Get the Ids of all the objects on the screen
  134. RETURN TYPE: TABLE
  135. ARGUMENTS: 0
  136. METHOD: 11
  137. NAME: addLiquid
  138. DESCRIPTION: Add a box textured like a liquid to the screen
  139. RETURN TYPE: OBJECT
  140. ARGUMENTS: 5
  141. ARGUMENT: 1
  142. NAME: x
  143. DESCRIPTION: The x position from the top left
  144. TYPE: NUMBER
  145. ARGUMENT: 2
  146. NAME: y
  147. DESCRIPTION: The y position from the top left
  148. TYPE: NUMBER
  149. ARGUMENT: 3
  150. NAME: width
  151. DESCRIPTION: The width of the liquid box
  152. TYPE: NUMBER
  153. ARGUMENT: 4
  154. NAME: height
  155. DESCRIPTION: The height of the liquid box
  156. TYPE: NUMBER
  157. ARGUMENT: 5
  158. NAME: id
  159. DESCRIPTION: The liquid id of the fluid to render
  160. TYPE: NUMBER
  161.  
  162. METHOD: 12
  163. NAME: getUsers
  164. DESCRIPTION: Get the names of all the users linked up to this bridge
  165. RETURN TYPE: TABLE
  166. ARGUMENTS: 0
  167. METHOD: 13
  168. NAME: getUserSurface
  169. DESCRIPTION: Get the surface of a user to draw privately on their screen
  170. RETURN TYPE: OBJECT
  171. ARGUMENTS: 1
  172. ARGUMENT: 1
  173. NAME: username
  174. DESCRIPTION: The username of the user to get the draw surface for
  175. TYPE: STRING
  176.  
  177. METHOD: 14
  178. NAME: addIcon
  179. DESCRIPTION: Add an icon of an item to the screen
  180. RETURN TYPE: OBJECT
  181. ARGUMENTS: 4
  182. ARGUMENT: 1
  183. NAME: x
  184. DESCRIPTION: The x position from the top left
  185. TYPE: NUMBER
  186. ARGUMENT: 2
  187. NAME: y
  188. DESCRIPTION: The y position from the top left
  189. TYPE: NUMBER
  190. ARGUMENT: 3
  191. NAME: id
  192. DESCRIPTION: The id of the item to draw
  193. TYPE: NUMBER
  194. ARGUMENT: 4
  195. NAME: meta
  196. DESCRIPTION: The meta of the item to draw
  197. TYPE: NUMBER
RAW Paste Data