steam-condenser 1.3.6 → 1.3.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (500) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +6 -1
  3. data/Gemfile.lock +1 -1
  4. data/doc/A2M_GET_SERVERS_BATCH2_Packet.html +426 -0
  5. data/doc/A2S_INFO_Packet.html +260 -0
  6. data/doc/A2S_PLAYER_Packet.html +295 -0
  7. data/doc/A2S_RULES_Packet.html +296 -0
  8. data/doc/A2S_SERVERQUERY_GETCHALLENGE_Packet.html +261 -0
  9. data/doc/AbstractL4DStats.html +1023 -0
  10. data/doc/AbstractL4DWeapon.html +749 -0
  11. data/doc/AlienSwarmMission.html +1555 -0
  12. data/doc/AlienSwarmStats.html +1012 -0
  13. data/doc/AlienSwarmWeapon.html +640 -0
  14. data/doc/AppNews.html +1441 -0
  15. data/doc/C2M_CHECKMD5_Packet.html +342 -0
  16. data/doc/CSSMap.html +805 -0
  17. data/doc/CSSStats.html +866 -0
  18. data/doc/CSSWeapon.html +888 -0
  19. data/doc/Cacheable/ClassMethods.html +697 -0
  20. data/doc/Cacheable.html +911 -0
  21. data/doc/DefenseGridStats.html +2592 -0
  22. data/doc/DoDSClass.html +1263 -0
  23. data/doc/DoDSStats.html +519 -0
  24. data/doc/DoDSWeapon.html +803 -0
  25. data/doc/Dota2BetaInventory.html +354 -0
  26. data/doc/Dota2Inventory.html +354 -0
  27. data/doc/Dota2Item.html +388 -0
  28. data/doc/GameAchievement.html +1255 -0
  29. data/doc/GameClass.html +321 -0
  30. data/doc/GameInventory.html +1469 -0
  31. data/doc/GameItem.html +1900 -0
  32. data/doc/GameItemSchema.html +1444 -0
  33. data/doc/GameLeaderboard.html +1706 -0
  34. data/doc/GameLeaderboardEntry.html +629 -0
  35. data/doc/GameServer.html +2419 -0
  36. data/doc/GameStats.html +1459 -0
  37. data/doc/GameWeapon.html +607 -0
  38. data/doc/GoldSrcServer.html +738 -0
  39. data/doc/GoldSrcSocket.html +849 -0
  40. data/doc/L4D2Map.html +737 -0
  41. data/doc/L4D2Stats.html +986 -0
  42. data/doc/L4D2Weapon.html +486 -0
  43. data/doc/L4DExplosive.html +374 -0
  44. data/doc/L4DMap.html +775 -0
  45. data/doc/L4DStats.html +563 -0
  46. data/doc/L4DWeapon.html +296 -0
  47. data/doc/M2A_SERVER_BATCH_Packet.html +430 -0
  48. data/doc/M2C_ISVALIDMD5_Packet.html +383 -0
  49. data/doc/M2S_REQUESTRESTART_Packet.html +382 -0
  50. data/doc/MasterServer.html +1069 -0
  51. data/doc/MasterServerSocket.html +295 -0
  52. data/doc/PacketFormatError.html +173 -0
  53. data/doc/Portal2Inventory.html +354 -0
  54. data/doc/Portal2Item.html +602 -0
  55. data/doc/Portal2Stats.html +400 -0
  56. data/doc/RCONAuthRequest.html +317 -0
  57. data/doc/RCONAuthResponse.html +305 -0
  58. data/doc/RCONBanError.html +252 -0
  59. data/doc/RCONExecRequest.html +317 -0
  60. data/doc/RCONExecResponse.html +406 -0
  61. data/doc/RCONGoldSrcRequest.html +363 -0
  62. data/doc/RCONGoldSrcResponse.html +367 -0
  63. data/doc/RCONNoAuthError.html +252 -0
  64. data/doc/RCONPacket.html +564 -0
  65. data/doc/RCONPacketFactory.html +300 -0
  66. data/doc/RCONSocket.html +696 -0
  67. data/doc/RCONTerminator.html +304 -0
  68. data/doc/RequestWithChallenge.html +233 -0
  69. data/doc/S2A_INFO2_Packet.html +416 -0
  70. data/doc/S2A_INFO_BasePacket.html +266 -0
  71. data/doc/S2A_INFO_DETAILED_Packet.html +371 -0
  72. data/doc/S2A_LOGSTRING_Packet.html +373 -0
  73. data/doc/S2A_PLAYER_Packet.html +417 -0
  74. data/doc/S2A_RULES_Packet.html +411 -0
  75. data/doc/S2C_CHALLENGE_Packet.html +370 -0
  76. data/doc/S2M_HEARTBEAT2_Packet.html +445 -0
  77. data/doc/Server.html +874 -0
  78. data/doc/SourceServer.html +893 -0
  79. data/doc/SourceSocket.html +350 -0
  80. data/doc/SteamCondenser/Community/AbstractL4DStats.html +1026 -0
  81. data/doc/SteamCondenser/Community/AbstractL4DWeapon.html +749 -0
  82. data/doc/SteamCondenser/Community/AlienSwarmMission.html +1557 -0
  83. data/doc/SteamCondenser/Community/AlienSwarmStats.html +1013 -0
  84. data/doc/SteamCondenser/Community/AlienSwarmWeapon.html +641 -0
  85. data/doc/SteamCondenser/Community/AppNews.html +1441 -0
  86. data/doc/SteamCondenser/Community/CSSMap.html +805 -0
  87. data/doc/SteamCondenser/Community/CSSStats.html +866 -0
  88. data/doc/SteamCondenser/Community/CSSWeapon.html +889 -0
  89. data/doc/SteamCondenser/Community/Cacheable/ClassMethods.html +695 -0
  90. data/doc/SteamCondenser/Community/Cacheable.html +911 -0
  91. data/doc/SteamCondenser/Community/DefenseGridStats.html +2593 -0
  92. data/doc/SteamCondenser/Community/DoDSClass.html +1263 -0
  93. data/doc/SteamCondenser/Community/DoDSStats.html +520 -0
  94. data/doc/SteamCondenser/Community/DoDSWeapon.html +803 -0
  95. data/doc/SteamCondenser/Community/Dota2BetaInventory.html +354 -0
  96. data/doc/SteamCondenser/Community/Dota2Inventory.html +354 -0
  97. data/doc/SteamCondenser/Community/Dota2Item.html +388 -0
  98. data/doc/SteamCondenser/Community/Dota2Match.html +505 -0
  99. data/doc/SteamCondenser/Community/GameAchievement.html +1100 -0
  100. data/doc/SteamCondenser/Community/GameClass.html +321 -0
  101. data/doc/SteamCondenser/Community/GameInventory.html +1469 -0
  102. data/doc/SteamCondenser/Community/GameItem.html +1900 -0
  103. data/doc/SteamCondenser/Community/GameItemSchema.html +1444 -0
  104. data/doc/SteamCondenser/Community/GameLeaderboard.html +1707 -0
  105. data/doc/SteamCondenser/Community/GameLeaderboardEntry.html +630 -0
  106. data/doc/SteamCondenser/Community/GameStats.html +1461 -0
  107. data/doc/SteamCondenser/Community/GameStatsSchema.html +771 -0
  108. data/doc/SteamCondenser/Community/GameStatsValue/Instance.html +262 -0
  109. data/doc/SteamCondenser/Community/GameStatsValue.html +596 -0
  110. data/doc/SteamCondenser/Community/GameWeapon.html +608 -0
  111. data/doc/SteamCondenser/Community/L4D2Map.html +737 -0
  112. data/doc/SteamCondenser/Community/L4D2Stats.html +989 -0
  113. data/doc/SteamCondenser/Community/L4D2Weapon.html +486 -0
  114. data/doc/SteamCondenser/Community/L4DExplosive.html +375 -0
  115. data/doc/SteamCondenser/Community/L4DMap.html +775 -0
  116. data/doc/SteamCondenser/Community/L4DStats.html +564 -0
  117. data/doc/SteamCondenser/Community/L4DWeapon.html +296 -0
  118. data/doc/SteamCondenser/Community/Portal2Inventory.html +354 -0
  119. data/doc/SteamCondenser/Community/Portal2Item.html +603 -0
  120. data/doc/SteamCondenser/Community/Portal2Stats.html +400 -0
  121. data/doc/SteamCondenser/Community/SteamGame.html +1862 -0
  122. data/doc/SteamCondenser/Community/SteamGroup.html +1018 -0
  123. data/doc/SteamCondenser/Community/SteamId.html +4430 -0
  124. data/doc/SteamCondenser/Community/TF2BetaInventory.html +345 -0
  125. data/doc/SteamCondenser/Community/TF2Class.html +1186 -0
  126. data/doc/SteamCondenser/Community/TF2ClassFactory.html +273 -0
  127. data/doc/SteamCondenser/Community/TF2Engineer.html +555 -0
  128. data/doc/SteamCondenser/Community/TF2GoldenWrench.html +760 -0
  129. data/doc/SteamCondenser/Community/TF2Inventory.html +354 -0
  130. data/doc/SteamCondenser/Community/TF2Item.html +602 -0
  131. data/doc/SteamCondenser/Community/TF2Medic.html +463 -0
  132. data/doc/SteamCondenser/Community/TF2Sniper.html +372 -0
  133. data/doc/SteamCondenser/Community/TF2Spy.html +553 -0
  134. data/doc/SteamCondenser/Community/TF2Stats.html +728 -0
  135. data/doc/SteamCondenser/Community/UserStats.html +760 -0
  136. data/doc/SteamCondenser/Community/WebApi.html +1116 -0
  137. data/doc/SteamCondenser/Community/XMLData.html +274 -0
  138. data/doc/SteamCondenser/Community.html +134 -0
  139. data/doc/SteamCondenser/Error/PacketFormat.html +173 -0
  140. data/doc/SteamCondenser/Error/RCONBan.html +253 -0
  141. data/doc/SteamCondenser/Error/RCONNoAuth.html +252 -0
  142. data/doc/SteamCondenser/Error/Timeout.html +254 -0
  143. data/doc/SteamCondenser/Error/WebApi.html +354 -0
  144. data/doc/SteamCondenser/Error.html +380 -0
  145. data/doc/SteamCondenser/Logging.html +616 -0
  146. data/doc/SteamCondenser/Servers/BaseServer.html +870 -0
  147. data/doc/SteamCondenser/Servers/GameServer.html +2428 -0
  148. data/doc/SteamCondenser/Servers/GoldSrcServer.html +738 -0
  149. data/doc/SteamCondenser/Servers/MasterServer.html +819 -0
  150. data/doc/SteamCondenser/Servers/Packets/A2M_GET_SERVERS_BATCH2_Packet.html +427 -0
  151. data/doc/SteamCondenser/Servers/Packets/A2S_INFO_Packet.html +260 -0
  152. data/doc/SteamCondenser/Servers/Packets/A2S_PLAYER_Packet.html +295 -0
  153. data/doc/SteamCondenser/Servers/Packets/A2S_RULES_Packet.html +296 -0
  154. data/doc/SteamCondenser/Servers/Packets/A2S_SERVERQUERY_GETCHALLENGE_Packet.html +261 -0
  155. data/doc/SteamCondenser/Servers/Packets/BasePacket.html +462 -0
  156. data/doc/SteamCondenser/Servers/Packets/M2A_SERVER_BATCH_Packet.html +430 -0
  157. data/doc/SteamCondenser/Servers/Packets/RCON/BasePacket.html +564 -0
  158. data/doc/SteamCondenser/Servers/Packets/RCON/RCONAuthRequest.html +317 -0
  159. data/doc/SteamCondenser/Servers/Packets/RCON/RCONAuthResponse.html +305 -0
  160. data/doc/SteamCondenser/Servers/Packets/RCON/RCONExecRequest.html +317 -0
  161. data/doc/SteamCondenser/Servers/Packets/RCON/RCONExecResponse.html +406 -0
  162. data/doc/SteamCondenser/Servers/Packets/RCON/RCONGoldSrcRequest.html +363 -0
  163. data/doc/SteamCondenser/Servers/Packets/RCON/RCONGoldSrcResponse.html +368 -0
  164. data/doc/SteamCondenser/Servers/Packets/RCON/RCONPacketFactory.html +302 -0
  165. data/doc/SteamCondenser/Servers/Packets/RCON/RCONTerminator.html +304 -0
  166. data/doc/SteamCondenser/Servers/Packets/RCON.html +119 -0
  167. data/doc/SteamCondenser/Servers/Packets/RequestWithChallenge.html +233 -0
  168. data/doc/SteamCondenser/Servers/Packets/S2A_INFO2_Packet.html +416 -0
  169. data/doc/SteamCondenser/Servers/Packets/S2A_INFO_BasePacket.html +266 -0
  170. data/doc/SteamCondenser/Servers/Packets/S2A_INFO_DETAILED_Packet.html +371 -0
  171. data/doc/SteamCondenser/Servers/Packets/S2A_LOGSTRING_Packet.html +373 -0
  172. data/doc/SteamCondenser/Servers/Packets/S2A_PLAYER_Packet.html +417 -0
  173. data/doc/SteamCondenser/Servers/Packets/S2A_RULES_Packet.html +411 -0
  174. data/doc/SteamCondenser/Servers/Packets/S2C_CHALLENGE_Packet.html +370 -0
  175. data/doc/SteamCondenser/Servers/Packets/SteamPacketFactory.html +532 -0
  176. data/doc/SteamCondenser/Servers/Packets.html +132 -0
  177. data/doc/SteamCondenser/Servers/Sockets/BaseSocket.html +733 -0
  178. data/doc/SteamCondenser/Servers/Sockets/GoldSrcSocket.html +862 -0
  179. data/doc/SteamCondenser/Servers/Sockets/MasterServerSocket.html +306 -0
  180. data/doc/SteamCondenser/Servers/Sockets/RCONSocket.html +709 -0
  181. data/doc/SteamCondenser/Servers/Sockets/SourceSocket.html +367 -0
  182. data/doc/SteamCondenser/Servers/Sockets.html +119 -0
  183. data/doc/SteamCondenser/Servers/SourceServer.html +892 -0
  184. data/doc/SteamCondenser/Servers/SteamPlayer.html +1764 -0
  185. data/doc/SteamCondenser/Servers.html +133 -0
  186. data/doc/SteamCondenser/TimeoutError.html +254 -0
  187. data/doc/SteamCondenser.html +155 -0
  188. data/doc/SteamCondenserError.html +370 -0
  189. data/doc/SteamGame.html +1950 -0
  190. data/doc/SteamGroup.html +1023 -0
  191. data/doc/SteamId.html +4299 -0
  192. data/doc/SteamPacket.html +486 -0
  193. data/doc/SteamPacketFactory.html +556 -0
  194. data/doc/SteamPlayer.html +1764 -0
  195. data/doc/SteamSocket.html +725 -0
  196. data/doc/StringIO.html +939 -0
  197. data/doc/TF2BetaInventory.html +330 -0
  198. data/doc/TF2Class.html +1185 -0
  199. data/doc/TF2ClassFactory.html +273 -0
  200. data/doc/TF2Engineer.html +555 -0
  201. data/doc/TF2GoldenWrench.html +760 -0
  202. data/doc/TF2Inventory.html +354 -0
  203. data/doc/TF2Item.html +602 -0
  204. data/doc/TF2Medic.html +463 -0
  205. data/doc/TF2Sniper.html +372 -0
  206. data/doc/TF2Spy.html +553 -0
  207. data/doc/TF2Stats.html +728 -0
  208. data/doc/WebApi.html +1108 -0
  209. data/doc/WebApiError.html +351 -0
  210. data/doc/XMLData.html +274 -0
  211. data/doc/_index.html +728 -0
  212. data/doc/class_list.html +54 -0
  213. data/doc/css/common.css +1 -0
  214. data/doc/css/full_list.css +57 -0
  215. data/doc/css/style.css +338 -0
  216. data/doc/file.CHANGELOG.html +368 -0
  217. data/doc/file.CONTRIBUTING.html +140 -0
  218. data/doc/file.LICENSE.html +100 -0
  219. data/doc/file.README.html +152 -0
  220. data/doc/file_list.html +65 -0
  221. data/doc/frames.html +28 -0
  222. data/doc/index.html +152 -0
  223. data/doc/js/app.js +214 -0
  224. data/doc/js/full_list.js +178 -0
  225. data/doc/js/jquery.js +4 -0
  226. data/doc/method_list.html +3155 -0
  227. data/doc/top-level-namespace.html +114 -0
  228. data/lib/steam/community/web_api.rb +6 -2
  229. data/lib/steam/servers/source_server.rb +8 -2
  230. data/lib/steam-condenser/version.rb +1 -1
  231. data/pkg/steam-condenser-1.3.5/Gemfile.lock +1 -1
  232. data/pkg/steam-condenser-1.3.6/CHANGELOG.md +228 -0
  233. data/pkg/steam-condenser-1.3.6/CONTRIBUTING.md +59 -0
  234. data/pkg/steam-condenser-1.3.6/Gemfile +7 -0
  235. data/pkg/steam-condenser-1.3.6/Gemfile.lock +45 -0
  236. data/pkg/steam-condenser-1.3.6/LICENSE +25 -0
  237. data/pkg/steam-condenser-1.3.6/README.md +75 -0
  238. data/pkg/steam-condenser-1.3.6/Rakefile +46 -0
  239. data/pkg/steam-condenser-1.3.6/lib/core_ext/stringio.rb +91 -0
  240. data/pkg/steam-condenser-1.3.6/lib/errors/packet_format_error.rb +13 -0
  241. data/pkg/steam-condenser-1.3.6/lib/errors/rcon_ban_error.rb +22 -0
  242. data/pkg/steam-condenser-1.3.6/lib/errors/rcon_no_auth_error.rb +21 -0
  243. data/pkg/steam-condenser-1.3.6/lib/errors/steam_condenser_error.rb +26 -0
  244. data/pkg/steam-condenser-1.3.6/lib/errors/timeout_error.rb +28 -0
  245. data/pkg/steam-condenser-1.3.6/lib/errors/web_api_error.rb +57 -0
  246. data/pkg/steam-condenser-1.3.6/lib/steam/community/alien_swarm/alien_swarm_mission.rb +120 -0
  247. data/pkg/steam-condenser-1.3.6/lib/steam/community/alien_swarm/alien_swarm_stats.rb +188 -0
  248. data/pkg/steam-condenser-1.3.6/lib/steam/community/alien_swarm/alien_swarm_weapon.rb +49 -0
  249. data/pkg/steam-condenser-1.3.6/lib/steam/community/app_news.rb +133 -0
  250. data/pkg/steam-condenser-1.3.6/lib/steam/community/cacheable.rb +199 -0
  251. data/pkg/steam-condenser-1.3.6/lib/steam/community/css/css_map.rb +61 -0
  252. data/pkg/steam-condenser-1.3.6/lib/steam/community/css/css_stats.rb +140 -0
  253. data/pkg/steam-condenser-1.3.6/lib/steam/community/css/css_weapon.rb +69 -0
  254. data/pkg/steam-condenser-1.3.6/lib/steam/community/defense_grid/defense_grid_stats.rb +238 -0
  255. data/pkg/steam-condenser-1.3.6/lib/steam/community/dods/dods_class.rb +90 -0
  256. data/pkg/steam-condenser-1.3.6/lib/steam/community/dods/dods_stats.rb +62 -0
  257. data/pkg/steam-condenser-1.3.6/lib/steam/community/dods/dods_weapon.rb +67 -0
  258. data/pkg/steam-condenser-1.3.6/lib/steam/community/dota2/dota2_beta_inventory.rb +30 -0
  259. data/pkg/steam-condenser-1.3.6/lib/steam/community/dota2/dota2_inventory.rb +30 -0
  260. data/pkg/steam-condenser-1.3.6/lib/steam/community/dota2/dota2_item.rb +33 -0
  261. data/pkg/steam-condenser-1.3.6/lib/steam/community/game_achievement.rb +109 -0
  262. data/pkg/steam-condenser-1.3.6/lib/steam/community/game_class.rb +22 -0
  263. data/pkg/steam-condenser-1.3.6/lib/steam/community/game_inventory.rb +171 -0
  264. data/pkg/steam-condenser-1.3.6/lib/steam/community/game_item.rb +155 -0
  265. data/pkg/steam-condenser-1.3.6/lib/steam/community/game_item_schema.rb +131 -0
  266. data/pkg/steam-condenser-1.3.6/lib/steam/community/game_leaderboard.rb +212 -0
  267. data/pkg/steam-condenser-1.3.6/lib/steam/community/game_leaderboard_entry.rb +43 -0
  268. data/pkg/steam-condenser-1.3.6/lib/steam/community/game_stats.rb +175 -0
  269. data/pkg/steam-condenser-1.3.6/lib/steam/community/game_weapon.rb +41 -0
  270. data/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/abstract_l4d_stats.rb +188 -0
  271. data/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/abstract_l4d_weapon.rb +56 -0
  272. data/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/l4d2_map.rb +90 -0
  273. data/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/l4d2_stats.rb +179 -0
  274. data/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/l4d2_weapon.rb +38 -0
  275. data/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/l4d_explosive.rb +34 -0
  276. data/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/l4d_map.rb +65 -0
  277. data/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/l4d_stats.rb +73 -0
  278. data/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/l4d_weapon.rb +26 -0
  279. data/pkg/steam-condenser-1.3.6/lib/steam/community/portal2/portal2_inventory.rb +30 -0
  280. data/pkg/steam-condenser-1.3.6/lib/steam/community/portal2/portal2_item.rb +55 -0
  281. data/pkg/steam-condenser-1.3.6/lib/steam/community/portal2/portal2_stats.rb +33 -0
  282. data/pkg/steam-condenser-1.3.6/lib/steam/community/steam_game.rb +193 -0
  283. data/pkg/steam-condenser-1.3.6/lib/steam/community/steam_group.rb +129 -0
  284. data/pkg/steam-condenser-1.3.6/lib/steam/community/steam_id.rb +495 -0
  285. data/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_beta_inventory.rb +28 -0
  286. data/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_class.rb +92 -0
  287. data/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_class_factory.rb +40 -0
  288. data/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_engineer.rb +43 -0
  289. data/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_golden_wrench.rb +70 -0
  290. data/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_inventory.rb +30 -0
  291. data/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_item.rb +55 -0
  292. data/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_medic.rb +35 -0
  293. data/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_sniper.rb +28 -0
  294. data/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_spy.rb +41 -0
  295. data/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_stats.rb +77 -0
  296. data/pkg/steam-condenser-1.3.6/lib/steam/community/web_api.rb +135 -0
  297. data/pkg/steam-condenser-1.3.6/lib/steam/community/xml_data.rb +27 -0
  298. data/pkg/steam-condenser-1.3.6/lib/steam/packets/a2m_get_servers_batch2_packet.rb +59 -0
  299. data/pkg/steam-condenser-1.3.6/lib/steam/packets/a2s_info_packet.rb +24 -0
  300. data/pkg/steam-condenser-1.3.6/lib/steam/packets/a2s_player_packet.rb +31 -0
  301. data/pkg/steam-condenser-1.3.6/lib/steam/packets/a2s_rules_packet.rb +32 -0
  302. data/pkg/steam-condenser-1.3.6/lib/steam/packets/a2s_serverquery_getchallenge_packet.rb +25 -0
  303. data/pkg/steam-condenser-1.3.6/lib/steam/packets/c2m_checkmd5_packet.rb +31 -0
  304. data/pkg/steam-condenser-1.3.6/lib/steam/packets/m2a_server_batch_packet.rb +52 -0
  305. data/pkg/steam-condenser-1.3.6/lib/steam/packets/m2c_isvalidmd5_packet.rb +34 -0
  306. data/pkg/steam-condenser-1.3.6/lib/steam/packets/m2s_requestrestart_packet.rb +34 -0
  307. data/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_auth_request.rb +28 -0
  308. data/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_auth_response.rb +30 -0
  309. data/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_exec_request.rb +28 -0
  310. data/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_exec_response.rb +37 -0
  311. data/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_goldsrc_request.rb +35 -0
  312. data/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_goldsrc_response.rb +34 -0
  313. data/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_packet.rb +57 -0
  314. data/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_packet_factory.rb +43 -0
  315. data/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_terminator.rb +29 -0
  316. data/pkg/steam-condenser-1.3.6/lib/steam/packets/request_with_challenge.rb +19 -0
  317. data/pkg/steam-condenser-1.3.6/lib/steam/packets/s2a_info2_packet.rb +76 -0
  318. data/pkg/steam-condenser-1.3.6/lib/steam/packets/s2a_info_base_packet.rb +25 -0
  319. data/pkg/steam-condenser-1.3.6/lib/steam/packets/s2a_info_detailed_packet.rb +64 -0
  320. data/pkg/steam-condenser-1.3.6/lib/steam/packets/s2a_logstring_packet.rb +30 -0
  321. data/pkg/steam-condenser-1.3.6/lib/steam/packets/s2a_player_packet.rb +44 -0
  322. data/pkg/steam-condenser-1.3.6/lib/steam/packets/s2a_rules_packet.rb +48 -0
  323. data/pkg/steam-condenser-1.3.6/lib/steam/packets/s2c_challenge_packet.rb +35 -0
  324. data/pkg/steam-condenser-1.3.6/lib/steam/packets/s2m_heartbeat2_packet.rb +72 -0
  325. data/pkg/steam-condenser-1.3.6/lib/steam/packets/steam_packet.rb +52 -0
  326. data/pkg/steam-condenser-1.3.6/lib/steam/packets/steam_packet_factory.rb +113 -0
  327. data/pkg/steam-condenser-1.3.6/lib/steam/servers/game_server.rb +393 -0
  328. data/pkg/steam-condenser-1.3.6/lib/steam/servers/goldsrc_server.rb +74 -0
  329. data/pkg/steam-condenser-1.3.6/lib/steam/servers/master_server.rb +188 -0
  330. data/pkg/steam-condenser-1.3.6/lib/steam/servers/server.rb +115 -0
  331. data/pkg/steam-condenser-1.3.6/lib/steam/servers/source_server.rb +117 -0
  332. data/pkg/steam-condenser-1.3.6/lib/steam/sockets/goldsrc_socket.rb +142 -0
  333. data/pkg/steam-condenser-1.3.6/lib/steam/sockets/master_server_socket.rb +34 -0
  334. data/pkg/steam-condenser-1.3.6/lib/steam/sockets/rcon_socket.rb +103 -0
  335. data/pkg/steam-condenser-1.3.6/lib/steam/sockets/source_socket.rb +73 -0
  336. data/pkg/steam-condenser-1.3.6/lib/steam/sockets/steam_socket.rb +91 -0
  337. data/pkg/steam-condenser-1.3.6/lib/steam/steam_player.rb +143 -0
  338. data/pkg/steam-condenser-1.3.6/lib/steam-condenser/community.rb +24 -0
  339. data/pkg/steam-condenser-1.3.6/lib/steam-condenser/servers.rb +24 -0
  340. data/pkg/steam-condenser-1.3.6/lib/steam-condenser/version.rb +11 -0
  341. data/pkg/steam-condenser-1.3.6/lib/steam-condenser.rb +18 -0
  342. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/Gemfile +7 -0
  343. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/Gemfile.lock +45 -0
  344. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/LICENSE +25 -0
  345. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/README.md +70 -0
  346. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/Rakefile +46 -0
  347. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/core_ext/stringio.rb +91 -0
  348. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/errors/packet_format_error.rb +13 -0
  349. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/errors/rcon_ban_error.rb +22 -0
  350. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/errors/rcon_no_auth_error.rb +21 -0
  351. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/errors/steam_condenser_error.rb +26 -0
  352. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/errors/timeout_error.rb +28 -0
  353. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/errors/web_api_error.rb +57 -0
  354. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/alien_swarm/alien_swarm_mission.rb +119 -0
  355. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/alien_swarm/alien_swarm_stats.rb +186 -0
  356. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/alien_swarm/alien_swarm_weapon.rb +49 -0
  357. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/app_news.rb +133 -0
  358. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/cacheable.rb +199 -0
  359. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/css/css_map.rb +61 -0
  360. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/css/css_stats.rb +142 -0
  361. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/css/css_weapon.rb +69 -0
  362. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/defense_grid/defense_grid_stats.rb +238 -0
  363. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/dods/dods_class.rb +90 -0
  364. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/dods/dods_stats.rb +62 -0
  365. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/dods/dods_weapon.rb +67 -0
  366. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/dota2/dota2_beta_inventory.rb +30 -0
  367. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/dota2/dota2_inventory.rb +30 -0
  368. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/dota2/dota2_item.rb +33 -0
  369. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/game_achievement.rb +109 -0
  370. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/game_class.rb +22 -0
  371. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/game_inventory.rb +171 -0
  372. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/game_item.rb +156 -0
  373. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/game_item_schema.rb +131 -0
  374. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/game_leaderboard.rb +205 -0
  375. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/game_leaderboard_entry.rb +43 -0
  376. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/game_stats.rb +175 -0
  377. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/game_weapon.rb +41 -0
  378. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/abstract_l4d_stats.rb +185 -0
  379. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/abstract_l4d_weapon.rb +56 -0
  380. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d2_map.rb +90 -0
  381. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d2_stats.rb +174 -0
  382. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d2_weapon.rb +38 -0
  383. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d_explosive.rb +34 -0
  384. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d_map.rb +65 -0
  385. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d_stats.rb +73 -0
  386. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d_weapon.rb +26 -0
  387. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/portal2/portal2_inventory.rb +30 -0
  388. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/portal2/portal2_item.rb +55 -0
  389. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/portal2/portal2_stats.rb +33 -0
  390. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/steam_game.rb +193 -0
  391. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/steam_group.rb +129 -0
  392. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/steam_id.rb +498 -0
  393. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_beta_inventory.rb +28 -0
  394. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_class.rb +92 -0
  395. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_class_factory.rb +40 -0
  396. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_engineer.rb +43 -0
  397. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_golden_wrench.rb +70 -0
  398. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_inventory.rb +30 -0
  399. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_item.rb +55 -0
  400. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_medic.rb +35 -0
  401. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_sniper.rb +28 -0
  402. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_spy.rb +41 -0
  403. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_stats.rb +77 -0
  404. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/web_api.rb +130 -0
  405. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/xml_data.rb +27 -0
  406. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/a2m_get_servers_batch2_packet.rb +59 -0
  407. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/a2s_info_packet.rb +24 -0
  408. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/a2s_player_packet.rb +31 -0
  409. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/a2s_rules_packet.rb +32 -0
  410. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/a2s_serverquery_getchallenge_packet.rb +25 -0
  411. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/c2m_checkmd5_packet.rb +31 -0
  412. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/m2a_server_batch_packet.rb +52 -0
  413. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/m2c_isvalidmd5_packet.rb +34 -0
  414. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/m2s_requestrestart_packet.rb +34 -0
  415. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_auth_request.rb +28 -0
  416. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_auth_response.rb +30 -0
  417. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_exec_request.rb +28 -0
  418. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_exec_response.rb +37 -0
  419. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_goldsrc_request.rb +35 -0
  420. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_goldsrc_response.rb +34 -0
  421. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_packet.rb +57 -0
  422. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_packet_factory.rb +43 -0
  423. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_terminator.rb +29 -0
  424. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/request_with_challenge.rb +19 -0
  425. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_info2_packet.rb +74 -0
  426. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_info_base_packet.rb +25 -0
  427. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_info_detailed_packet.rb +59 -0
  428. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_logstring_packet.rb +30 -0
  429. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_player_packet.rb +44 -0
  430. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_rules_packet.rb +48 -0
  431. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/s2c_challenge_packet.rb +35 -0
  432. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/s2m_heartbeat2_packet.rb +72 -0
  433. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/steam_packet.rb +52 -0
  434. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/steam_packet_factory.rb +108 -0
  435. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/servers/game_server.rb +392 -0
  436. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/servers/goldsrc_server.rb +74 -0
  437. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/servers/master_server.rb +188 -0
  438. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/servers/server.rb +115 -0
  439. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/servers/source_server.rb +117 -0
  440. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/sockets/goldsrc_socket.rb +142 -0
  441. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/sockets/master_server_socket.rb +34 -0
  442. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/sockets/rcon_socket.rb +103 -0
  443. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/sockets/source_socket.rb +78 -0
  444. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/sockets/steam_socket.rb +91 -0
  445. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/steam_player.rb +143 -0
  446. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam-condenser/community.rb +24 -0
  447. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam-condenser/servers.rb +24 -0
  448. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam-condenser/version.rb +11 -0
  449. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam-condenser.rb +18 -0
  450. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/steam-condenser.gemspec +26 -0
  451. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/core_ext/test_stringio.rb +59 -0
  452. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/fixtures/invalid.xml +2 -0
  453. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/fixtures/sonofthor.xml +882 -0
  454. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/fixtures/status_goldsrc +3 -0
  455. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/fixtures/status_source +3 -0
  456. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/fixtures/valve-members.xml +231 -0
  457. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/helper.rb +48 -0
  458. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/community/test_cacheable.rb +100 -0
  459. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/community/test_steam_group.rb +83 -0
  460. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/community/test_steam_id.rb +144 -0
  461. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/community/test_web_api.rb +98 -0
  462. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/packets/test_steam_packet.rb +37 -0
  463. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/servers/test_game_server.rb +296 -0
  464. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/servers/test_goldsrc_server.rb +59 -0
  465. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/servers/test_master_server.rb +131 -0
  466. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/servers/test_server.rb +72 -0
  467. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/servers/test_source_server.rb +134 -0
  468. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/sockets/test_goldsrc_socket.rb +127 -0
  469. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/sockets/test_master_server_socket.rb +42 -0
  470. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/sockets/test_rcon_socket.rb +118 -0
  471. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/sockets/test_source_socket.rb +77 -0
  472. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/sockets/test_steam_socket.rb +97 -0
  473. data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5.gem +0 -0
  474. data/pkg/steam-condenser-1.3.6/steam-condenser.gemspec +25 -0
  475. data/pkg/steam-condenser-1.3.6/test/core_ext/test_stringio.rb +59 -0
  476. data/pkg/steam-condenser-1.3.6/test/fixtures/invalid.xml +2 -0
  477. data/pkg/steam-condenser-1.3.6/test/fixtures/sonofthor.xml +882 -0
  478. data/pkg/steam-condenser-1.3.6/test/fixtures/status_goldsrc +3 -0
  479. data/pkg/steam-condenser-1.3.6/test/fixtures/status_source +3 -0
  480. data/pkg/steam-condenser-1.3.6/test/fixtures/valve-members.xml +231 -0
  481. data/pkg/steam-condenser-1.3.6/test/helper.rb +48 -0
  482. data/pkg/steam-condenser-1.3.6/test/steam/community/test_cacheable.rb +103 -0
  483. data/pkg/steam-condenser-1.3.6/test/steam/community/test_steam_group.rb +83 -0
  484. data/pkg/steam-condenser-1.3.6/test/steam/community/test_steam_id.rb +144 -0
  485. data/pkg/steam-condenser-1.3.6/test/steam/community/test_web_api.rb +111 -0
  486. data/pkg/steam-condenser-1.3.6/test/steam/packets/test_steam_packet.rb +37 -0
  487. data/pkg/steam-condenser-1.3.6/test/steam/servers/test_game_server.rb +296 -0
  488. data/pkg/steam-condenser-1.3.6/test/steam/servers/test_goldsrc_server.rb +59 -0
  489. data/pkg/steam-condenser-1.3.6/test/steam/servers/test_master_server.rb +131 -0
  490. data/pkg/steam-condenser-1.3.6/test/steam/servers/test_server.rb +72 -0
  491. data/pkg/steam-condenser-1.3.6/test/steam/servers/test_source_server.rb +134 -0
  492. data/pkg/steam-condenser-1.3.6/test/steam/sockets/test_goldsrc_socket.rb +127 -0
  493. data/pkg/steam-condenser-1.3.6/test/steam/sockets/test_master_server_socket.rb +42 -0
  494. data/pkg/steam-condenser-1.3.6/test/steam/sockets/test_rcon_socket.rb +118 -0
  495. data/pkg/steam-condenser-1.3.6/test/steam/sockets/test_source_socket.rb +77 -0
  496. data/pkg/steam-condenser-1.3.6/test/steam/sockets/test_steam_socket.rb +97 -0
  497. data/pkg/steam-condenser-1.3.6.gem +0 -0
  498. data/test/steam/community/test_web_api.rb +13 -0
  499. data/test/steam/servers/test_source_server.rb +18 -7
  500. metadata +493 -3
data/doc/GameItem.html ADDED
@@ -0,0 +1,1900 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Module: GameItem
8
+
9
+ &mdash; Metior — API Documentation
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '';
20
+ framesUrl = "frames.html#!" + escape(window.location.href);
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="_index.html">Index (G)</a> &raquo;
35
+
36
+
37
+ <span class="title">GameItem</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="class_list.html">
47
+ Class List
48
+ </a>
49
+
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="method_list.html">
52
+ Method List
53
+ </a>
54
+
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="file_list.html">
57
+ File List
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Module: GameItem
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+ <dt class="r1">Included in:</dt>
81
+ <dd class="r1"><span class='object_link'><a href="Dota2Item.html" title="Dota2Item (class)">Dota2Item</a></span>, <span class='object_link'><a href="Portal2Item.html" title="Portal2Item (class)">Portal2Item</a></span>, <span class='object_link'><a href="TF2Item.html" title="TF2Item (class)">TF2Item</a></span></dd>
82
+
83
+
84
+
85
+ <dt class="r2 last">Defined in:</dt>
86
+ <dd class="r2 last">lib/steam/community/game_item.rb</dd>
87
+
88
+ </dl>
89
+ <div class="clear"></div>
90
+
91
+ <h2>Overview</h2><div class="docstring">
92
+ <div class="discussion">
93
+ <p>A module implementing basic functionality for classes representing an item in
94
+ a game</p>
95
+
96
+
97
+ </div>
98
+ </div>
99
+ <div class="tags">
100
+
101
+ <p class="tag_title">Author:</p>
102
+ <ul class="author">
103
+
104
+ <li>
105
+
106
+
107
+
108
+
109
+
110
+ <div class='inline'><p>Sebastian Staudt</p>
111
+ </div>
112
+
113
+ </li>
114
+
115
+ </ul>
116
+
117
+ </div>
118
+
119
+
120
+
121
+ <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
122
+ <ul class="summary">
123
+
124
+ <li class="public ">
125
+ <span class="summary_signature">
126
+
127
+ <a href="#attributes-instance_method" title="#attributes (instance method)">- (Hash&lt;Symbol, Object&gt;<sup>?</sup>) <strong>attributes</strong> </a>
128
+
129
+
130
+
131
+ </span>
132
+
133
+
134
+
135
+
136
+ <span class="note title readonly">readonly</span>
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+ <span class="summary_desc"><div class='inline'><p>Return the attributes of this item.</p>
147
+ </div></span>
148
+
149
+ </li>
150
+
151
+
152
+ <li class="public ">
153
+ <span class="summary_signature">
154
+
155
+ <a href="#backpack_position-instance_method" title="#backpack_position (instance method)">- (Fixnum) <strong>backpack_position</strong> </a>
156
+
157
+
158
+
159
+ </span>
160
+
161
+
162
+
163
+
164
+ <span class="note title readonly">readonly</span>
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+ <span class="summary_desc"><div class='inline'><p>Returns the position of this item in the player&#39;s inventory.</p>
175
+ </div></span>
176
+
177
+ </li>
178
+
179
+
180
+ <li class="public ">
181
+ <span class="summary_signature">
182
+
183
+ <a href="#count-instance_method" title="#count (instance method)">- (Fixnum) <strong>count</strong> </a>
184
+
185
+
186
+
187
+ </span>
188
+
189
+
190
+
191
+
192
+ <span class="note title readonly">readonly</span>
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+
202
+ <span class="summary_desc"><div class='inline'><p>Returns the number of items the player owns of this item.</p>
203
+ </div></span>
204
+
205
+ </li>
206
+
207
+
208
+ <li class="public ">
209
+ <span class="summary_signature">
210
+
211
+ <a href="#defindex-instance_method" title="#defindex (instance method)">- (Fixnum) <strong>defindex</strong> </a>
212
+
213
+
214
+
215
+ </span>
216
+
217
+
218
+
219
+
220
+ <span class="note title readonly">readonly</span>
221
+
222
+
223
+
224
+
225
+
226
+
227
+
228
+
229
+
230
+ <span class="summary_desc"><div class='inline'><p>Returns the index where the item is defined in the schema.</p>
231
+ </div></span>
232
+
233
+ </li>
234
+
235
+
236
+ <li class="public ">
237
+ <span class="summary_signature">
238
+
239
+ <a href="#id-instance_method" title="#id (instance method)">- (Fixnum) <strong>id</strong> </a>
240
+
241
+
242
+
243
+ </span>
244
+
245
+
246
+
247
+
248
+ <span class="note title readonly">readonly</span>
249
+
250
+
251
+
252
+
253
+
254
+
255
+
256
+
257
+
258
+ <span class="summary_desc"><div class='inline'><p>Returns the ID of this item.</p>
259
+ </div></span>
260
+
261
+ </li>
262
+
263
+
264
+ <li class="public ">
265
+ <span class="summary_signature">
266
+
267
+ <a href="#inventory-instance_method" title="#inventory (instance method)">- (GameInventory) <strong>inventory</strong> </a>
268
+
269
+
270
+
271
+ </span>
272
+
273
+
274
+
275
+
276
+ <span class="note title readonly">readonly</span>
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+
285
+
286
+ <span class="summary_desc"><div class='inline'><p>Returns the inventory this items belongs to.</p>
287
+ </div></span>
288
+
289
+ </li>
290
+
291
+
292
+ <li class="public ">
293
+ <span class="summary_signature">
294
+
295
+ <a href="#item_class-instance_method" title="#item_class (instance method)">- (String) <strong>item_class</strong> </a>
296
+
297
+
298
+
299
+ </span>
300
+
301
+
302
+
303
+
304
+ <span class="note title readonly">readonly</span>
305
+
306
+
307
+
308
+
309
+
310
+
311
+
312
+
313
+
314
+ <span class="summary_desc"><div class='inline'><p>Returns the class of this item.</p>
315
+ </div></span>
316
+
317
+ </li>
318
+
319
+
320
+ <li class="public ">
321
+ <span class="summary_signature">
322
+
323
+ <a href="#item_set-instance_method" title="#item_set (instance method)">- (Hash&lt;Symbol, Object&gt;<sup>?</sup>) <strong>item_set</strong> </a>
324
+
325
+
326
+
327
+ </span>
328
+
329
+
330
+
331
+
332
+ <span class="note title readonly">readonly</span>
333
+
334
+
335
+
336
+
337
+
338
+
339
+
340
+
341
+
342
+ <span class="summary_desc"><div class='inline'><p>Returns the item set this item belongs to.</p>
343
+ </div></span>
344
+
345
+ </li>
346
+
347
+
348
+ <li class="public ">
349
+ <span class="summary_signature">
350
+
351
+ <a href="#level-instance_method" title="#level (instance method)">- (Fixnum) <strong>level</strong> </a>
352
+
353
+
354
+
355
+ </span>
356
+
357
+
358
+
359
+
360
+ <span class="note title readonly">readonly</span>
361
+
362
+
363
+
364
+
365
+
366
+
367
+
368
+
369
+
370
+ <span class="summary_desc"><div class='inline'><p>Returns the level of this item.</p>
371
+ </div></span>
372
+
373
+ </li>
374
+
375
+
376
+ <li class="public ">
377
+ <span class="summary_signature">
378
+
379
+ <a href="#name-instance_method" title="#name (instance method)">- (String) <strong>name</strong> </a>
380
+
381
+
382
+
383
+ </span>
384
+
385
+
386
+
387
+
388
+ <span class="note title readonly">readonly</span>
389
+
390
+
391
+
392
+
393
+
394
+
395
+
396
+
397
+
398
+ <span class="summary_desc"><div class='inline'><p>Returns the level of this item.</p>
399
+ </div></span>
400
+
401
+ </li>
402
+
403
+
404
+ <li class="public ">
405
+ <span class="summary_signature">
406
+
407
+ <a href="#origin-instance_method" title="#origin (instance method)">- (String) <strong>origin</strong> </a>
408
+
409
+
410
+
411
+ </span>
412
+
413
+
414
+
415
+
416
+ <span class="note title readonly">readonly</span>
417
+
418
+
419
+
420
+
421
+
422
+
423
+
424
+
425
+
426
+ <span class="summary_desc"><div class='inline'><p>Returns the origin of this item.</p>
427
+ </div></span>
428
+
429
+ </li>
430
+
431
+
432
+ <li class="public ">
433
+ <span class="summary_signature">
434
+
435
+ <a href="#original_id-instance_method" title="#original_id (instance method)">- (Fixnum) <strong>original_id</strong> </a>
436
+
437
+
438
+
439
+ </span>
440
+
441
+
442
+
443
+
444
+ <span class="note title readonly">readonly</span>
445
+
446
+
447
+
448
+
449
+
450
+
451
+
452
+
453
+
454
+ <span class="summary_desc"><div class='inline'><p>Returns the original ID of this item.</p>
455
+ </div></span>
456
+
457
+ </li>
458
+
459
+
460
+ <li class="public ">
461
+ <span class="summary_signature">
462
+
463
+ <a href="#quality-instance_method" title="#quality (instance method)">- (String) <strong>quality</strong> </a>
464
+
465
+
466
+
467
+ </span>
468
+
469
+
470
+
471
+
472
+ <span class="note title readonly">readonly</span>
473
+
474
+
475
+
476
+
477
+
478
+
479
+
480
+
481
+
482
+ <span class="summary_desc"><div class='inline'><p>Returns the quality of this item.</p>
483
+ </div></span>
484
+
485
+ </li>
486
+
487
+
488
+ <li class="public ">
489
+ <span class="summary_signature">
490
+
491
+ <a href="#type-instance_method" title="#type (instance method)">- (String) <strong>type</strong> </a>
492
+
493
+
494
+
495
+ </span>
496
+
497
+
498
+
499
+
500
+ <span class="note title readonly">readonly</span>
501
+
502
+
503
+
504
+
505
+
506
+
507
+
508
+
509
+
510
+ <span class="summary_desc"><div class='inline'><p>Returns the type of this item.</p>
511
+ </div></span>
512
+
513
+ </li>
514
+
515
+
516
+ </ul>
517
+
518
+
519
+
520
+
521
+
522
+ <h2>
523
+ Instance Method Summary
524
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
525
+ </h2>
526
+
527
+ <ul class="summary">
528
+
529
+ <li class="public ">
530
+ <span class="summary_signature">
531
+
532
+ <a href="#craftable%3F-instance_method" title="#craftable? (instance method)">- (Boolean) <strong>craftable?</strong> </a>
533
+
534
+
535
+
536
+ </span>
537
+
538
+
539
+
540
+
541
+
542
+
543
+
544
+
545
+
546
+ <span class="summary_desc"><div class='inline'><p>Returns whether this item is craftable.</p>
547
+ </div></span>
548
+
549
+ </li>
550
+
551
+
552
+ <li class="public ">
553
+ <span class="summary_signature">
554
+
555
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (GameItem) <strong>initialize</strong>(inventory, item_data) </a>
556
+
557
+
558
+
559
+ </span>
560
+
561
+
562
+
563
+
564
+
565
+
566
+
567
+
568
+
569
+ <span class="summary_desc"><div class='inline'><p>Creates a new instance of a GameItem with the given data.</p>
570
+ </div></span>
571
+
572
+ </li>
573
+
574
+
575
+ <li class="public ">
576
+ <span class="summary_signature">
577
+
578
+ <a href="#preliminary%3F-instance_method" title="#preliminary? (instance method)">- (Boolean) <strong>preliminary?</strong> </a>
579
+
580
+
581
+
582
+ </span>
583
+
584
+
585
+
586
+
587
+
588
+
589
+
590
+
591
+
592
+ <span class="summary_desc"><div class='inline'><p>Returns whether this item is preliminary.</p>
593
+ </div></span>
594
+
595
+ </li>
596
+
597
+
598
+ <li class="public ">
599
+ <span class="summary_signature">
600
+
601
+ <a href="#schema_data-instance_method" title="#schema_data (instance method)">- (Hash&lt;Symbol, Object&gt;) <strong>schema_data</strong> </a>
602
+
603
+
604
+
605
+ </span>
606
+
607
+
608
+
609
+
610
+
611
+
612
+
613
+
614
+
615
+ <span class="summary_desc"><div class='inline'><p>Returns the data for this item that&#39;s defined in the item schema.</p>
616
+ </div></span>
617
+
618
+ </li>
619
+
620
+
621
+ <li class="public ">
622
+ <span class="summary_signature">
623
+
624
+ <a href="#tradeable%3F-instance_method" title="#tradeable? (instance method)">- (Boolean) <strong>tradeable?</strong> </a>
625
+
626
+
627
+
628
+ </span>
629
+
630
+
631
+
632
+
633
+
634
+
635
+
636
+
637
+
638
+ <span class="summary_desc"><div class='inline'><p>Returns whether this item is tradeable.</p>
639
+ </div></span>
640
+
641
+ </li>
642
+
643
+
644
+ </ul>
645
+
646
+
647
+
648
+ <div id="instance_attr_details" class="attr_details">
649
+ <h2>Instance Attribute Details</h2>
650
+
651
+
652
+ <span id=""></span>
653
+ <div class="method_details first">
654
+ <h3 class="signature first" id="attributes-instance_method">
655
+
656
+ - (<tt>Hash&lt;Symbol, Object&gt;</tt><sup>?</sup>) <strong>attributes</strong> <span class="extras">(readonly)</span>
657
+
658
+
659
+
660
+
661
+
662
+ </h3><div class="docstring">
663
+ <div class="discussion">
664
+ <p>Return the attributes of this item</p>
665
+
666
+
667
+ </div>
668
+ </div>
669
+ <div class="tags">
670
+
671
+ <p class="tag_title">Returns:</p>
672
+ <ul class="return">
673
+
674
+ <li>
675
+
676
+
677
+ <span class='type'>(<tt>Hash&lt;Symbol, Object&gt;</tt>, <tt>nil</tt>)</span>
678
+
679
+
680
+
681
+ &mdash;
682
+ <div class='inline'><p>The attributes of this item</p>
683
+ </div>
684
+
685
+ </li>
686
+
687
+ </ul>
688
+
689
+ </div><table class="source_code">
690
+ <tr>
691
+ <td>
692
+ <pre class="lines">
693
+
694
+
695
+ 17
696
+ 18
697
+ 19</pre>
698
+ </td>
699
+ <td>
700
+ <pre class="code"><span class="info file"># File 'lib/steam/community/game_item.rb', line 17</span>
701
+
702
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_attributes identifier id'>attributes</span>
703
+ <span class='rubyid_@attributes ivar id'>@attributes</span>
704
+ <span class='rubyid_end end kw'>end</span>
705
+ </pre>
706
+ </td>
707
+ </tr>
708
+ </table>
709
+ </div>
710
+
711
+
712
+ <span id=""></span>
713
+ <div class="method_details ">
714
+ <h3 class="signature " id="backpack_position-instance_method">
715
+
716
+ - (<tt>Fixnum</tt>) <strong>backpack_position</strong> <span class="extras">(readonly)</span>
717
+
718
+
719
+
720
+
721
+
722
+ </h3><div class="docstring">
723
+ <div class="discussion">
724
+ <p>Returns the position of this item in the player&#39;s inventory</p>
725
+
726
+
727
+ </div>
728
+ </div>
729
+ <div class="tags">
730
+
731
+ <p class="tag_title">Returns:</p>
732
+ <ul class="return">
733
+
734
+ <li>
735
+
736
+
737
+ <span class='type'>(<tt>Fixnum</tt>)</span>
738
+
739
+
740
+
741
+ &mdash;
742
+ <div class='inline'><p>The position of this item in the player&#39;s inventory</p>
743
+ </div>
744
+
745
+ </li>
746
+
747
+ </ul>
748
+
749
+ </div><table class="source_code">
750
+ <tr>
751
+ <td>
752
+ <pre class="lines">
753
+
754
+
755
+ 22
756
+ 23
757
+ 24</pre>
758
+ </td>
759
+ <td>
760
+ <pre class="code"><span class="info file"># File 'lib/steam/community/game_item.rb', line 22</span>
761
+
762
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_backpack_position identifier id'>backpack_position</span>
763
+ <span class='rubyid_@backpack_position ivar id'>@backpack_position</span>
764
+ <span class='rubyid_end end kw'>end</span>
765
+ </pre>
766
+ </td>
767
+ </tr>
768
+ </table>
769
+ </div>
770
+
771
+
772
+ <span id=""></span>
773
+ <div class="method_details ">
774
+ <h3 class="signature " id="count-instance_method">
775
+
776
+ - (<tt>Fixnum</tt>) <strong>count</strong> <span class="extras">(readonly)</span>
777
+
778
+
779
+
780
+
781
+
782
+ </h3><div class="docstring">
783
+ <div class="discussion">
784
+ <p>Returns the number of items the player owns of this item</p>
785
+
786
+
787
+ </div>
788
+ </div>
789
+ <div class="tags">
790
+
791
+ <p class="tag_title">Returns:</p>
792
+ <ul class="return">
793
+
794
+ <li>
795
+
796
+
797
+ <span class='type'>(<tt>Fixnum</tt>)</span>
798
+
799
+
800
+
801
+ &mdash;
802
+ <div class='inline'><p>The quantity of this item</p>
803
+ </div>
804
+
805
+ </li>
806
+
807
+ </ul>
808
+
809
+ </div><table class="source_code">
810
+ <tr>
811
+ <td>
812
+ <pre class="lines">
813
+
814
+
815
+ 27
816
+ 28
817
+ 29</pre>
818
+ </td>
819
+ <td>
820
+ <pre class="code"><span class="info file"># File 'lib/steam/community/game_item.rb', line 27</span>
821
+
822
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_count identifier id'>count</span>
823
+ <span class='rubyid_@count ivar id'>@count</span>
824
+ <span class='rubyid_end end kw'>end</span>
825
+ </pre>
826
+ </td>
827
+ </tr>
828
+ </table>
829
+ </div>
830
+
831
+
832
+ <span id=""></span>
833
+ <div class="method_details ">
834
+ <h3 class="signature " id="defindex-instance_method">
835
+
836
+ - (<tt>Fixnum</tt>) <strong>defindex</strong> <span class="extras">(readonly)</span>
837
+
838
+
839
+
840
+
841
+
842
+ </h3><div class="docstring">
843
+ <div class="discussion">
844
+ <p>Returns the index where the item is defined in the schema</p>
845
+
846
+
847
+ </div>
848
+ </div>
849
+ <div class="tags">
850
+
851
+ <p class="tag_title">Returns:</p>
852
+ <ul class="return">
853
+
854
+ <li>
855
+
856
+
857
+ <span class='type'>(<tt>Fixnum</tt>)</span>
858
+
859
+
860
+
861
+ &mdash;
862
+ <div class='inline'><p>The schema index of this item</p>
863
+ </div>
864
+
865
+ </li>
866
+
867
+ </ul>
868
+
869
+ </div><table class="source_code">
870
+ <tr>
871
+ <td>
872
+ <pre class="lines">
873
+
874
+
875
+ 32
876
+ 33
877
+ 34</pre>
878
+ </td>
879
+ <td>
880
+ <pre class="code"><span class="info file"># File 'lib/steam/community/game_item.rb', line 32</span>
881
+
882
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_defindex identifier id'>defindex</span>
883
+ <span class='rubyid_@defindex ivar id'>@defindex</span>
884
+ <span class='rubyid_end end kw'>end</span>
885
+ </pre>
886
+ </td>
887
+ </tr>
888
+ </table>
889
+ </div>
890
+
891
+
892
+ <span id=""></span>
893
+ <div class="method_details ">
894
+ <h3 class="signature " id="id-instance_method">
895
+
896
+ - (<tt>Fixnum</tt>) <strong>id</strong> <span class="extras">(readonly)</span>
897
+
898
+
899
+
900
+
901
+
902
+ </h3><div class="docstring">
903
+ <div class="discussion">
904
+ <p>Returns the ID of this item</p>
905
+
906
+
907
+ </div>
908
+ </div>
909
+ <div class="tags">
910
+
911
+ <p class="tag_title">Returns:</p>
912
+ <ul class="return">
913
+
914
+ <li>
915
+
916
+
917
+ <span class='type'>(<tt>Fixnum</tt>)</span>
918
+
919
+
920
+
921
+ &mdash;
922
+ <div class='inline'><p>The ID of this item</p>
923
+ </div>
924
+
925
+ </li>
926
+
927
+ </ul>
928
+
929
+ </div><table class="source_code">
930
+ <tr>
931
+ <td>
932
+ <pre class="lines">
933
+
934
+
935
+ 37
936
+ 38
937
+ 39</pre>
938
+ </td>
939
+ <td>
940
+ <pre class="code"><span class="info file"># File 'lib/steam/community/game_item.rb', line 37</span>
941
+
942
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_id identifier id'>id</span>
943
+ <span class='rubyid_@id ivar id'>@id</span>
944
+ <span class='rubyid_end end kw'>end</span>
945
+ </pre>
946
+ </td>
947
+ </tr>
948
+ </table>
949
+ </div>
950
+
951
+
952
+ <span id=""></span>
953
+ <div class="method_details ">
954
+ <h3 class="signature " id="inventory-instance_method">
955
+
956
+ - (<tt><span class='object_link'><a href="GameInventory.html" title="GameInventory (class)">GameInventory</a></span></tt>) <strong>inventory</strong> <span class="extras">(readonly)</span>
957
+
958
+
959
+
960
+
961
+
962
+ </h3><div class="docstring">
963
+ <div class="discussion">
964
+ <p>Returns the inventory this items belongs to</p>
965
+
966
+
967
+ </div>
968
+ </div>
969
+ <div class="tags">
970
+
971
+ <p class="tag_title">Returns:</p>
972
+ <ul class="return">
973
+
974
+ <li>
975
+
976
+
977
+ <span class='type'>(<tt><span class='object_link'><a href="GameInventory.html" title="GameInventory (class)">GameInventory</a></span></tt>)</span>
978
+
979
+
980
+
981
+ &mdash;
982
+ <div class='inline'><p>The inventory this item belongs to</p>
983
+ </div>
984
+
985
+ </li>
986
+
987
+ </ul>
988
+
989
+ </div><table class="source_code">
990
+ <tr>
991
+ <td>
992
+ <pre class="lines">
993
+
994
+
995
+ 42
996
+ 43
997
+ 44</pre>
998
+ </td>
999
+ <td>
1000
+ <pre class="code"><span class="info file"># File 'lib/steam/community/game_item.rb', line 42</span>
1001
+
1002
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_inventory identifier id'>inventory</span>
1003
+ <span class='rubyid_@inventory ivar id'>@inventory</span>
1004
+ <span class='rubyid_end end kw'>end</span>
1005
+ </pre>
1006
+ </td>
1007
+ </tr>
1008
+ </table>
1009
+ </div>
1010
+
1011
+
1012
+ <span id=""></span>
1013
+ <div class="method_details ">
1014
+ <h3 class="signature " id="item_class-instance_method">
1015
+
1016
+ - (<tt>String</tt>) <strong>item_class</strong> <span class="extras">(readonly)</span>
1017
+
1018
+
1019
+
1020
+
1021
+
1022
+ </h3><div class="docstring">
1023
+ <div class="discussion">
1024
+ <p>Returns the class of this item</p>
1025
+
1026
+
1027
+ </div>
1028
+ </div>
1029
+ <div class="tags">
1030
+
1031
+ <p class="tag_title">Returns:</p>
1032
+ <ul class="return">
1033
+
1034
+ <li>
1035
+
1036
+
1037
+ <span class='type'>(<tt>String</tt>)</span>
1038
+
1039
+
1040
+
1041
+ &mdash;
1042
+ <div class='inline'><p>The class of this item</p>
1043
+ </div>
1044
+
1045
+ </li>
1046
+
1047
+ </ul>
1048
+
1049
+ </div><table class="source_code">
1050
+ <tr>
1051
+ <td>
1052
+ <pre class="lines">
1053
+
1054
+
1055
+ 47
1056
+ 48
1057
+ 49</pre>
1058
+ </td>
1059
+ <td>
1060
+ <pre class="code"><span class="info file"># File 'lib/steam/community/game_item.rb', line 47</span>
1061
+
1062
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_item_class identifier id'>item_class</span>
1063
+ <span class='rubyid_@item_class ivar id'>@item_class</span>
1064
+ <span class='rubyid_end end kw'>end</span>
1065
+ </pre>
1066
+ </td>
1067
+ </tr>
1068
+ </table>
1069
+ </div>
1070
+
1071
+
1072
+ <span id=""></span>
1073
+ <div class="method_details ">
1074
+ <h3 class="signature " id="item_set-instance_method">
1075
+
1076
+ - (<tt>Hash&lt;Symbol, Object&gt;</tt><sup>?</sup>) <strong>item_set</strong> <span class="extras">(readonly)</span>
1077
+
1078
+
1079
+
1080
+
1081
+
1082
+ </h3><div class="docstring">
1083
+ <div class="discussion">
1084
+ <p>Returns the item set this item belongs to</p>
1085
+
1086
+
1087
+ </div>
1088
+ </div>
1089
+ <div class="tags">
1090
+
1091
+ <p class="tag_title">Returns:</p>
1092
+ <ul class="return">
1093
+
1094
+ <li>
1095
+
1096
+
1097
+ <span class='type'>(<tt>Hash&lt;Symbol, Object&gt;</tt>, <tt>nil</tt>)</span>
1098
+
1099
+
1100
+
1101
+ &mdash;
1102
+ <div class='inline'><p>The set this item belongs to</p>
1103
+ </div>
1104
+
1105
+ </li>
1106
+
1107
+ </ul>
1108
+
1109
+ </div><table class="source_code">
1110
+ <tr>
1111
+ <td>
1112
+ <pre class="lines">
1113
+
1114
+
1115
+ 52
1116
+ 53
1117
+ 54</pre>
1118
+ </td>
1119
+ <td>
1120
+ <pre class="code"><span class="info file"># File 'lib/steam/community/game_item.rb', line 52</span>
1121
+
1122
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_item_set identifier id'>item_set</span>
1123
+ <span class='rubyid_@item_set ivar id'>@item_set</span>
1124
+ <span class='rubyid_end end kw'>end</span>
1125
+ </pre>
1126
+ </td>
1127
+ </tr>
1128
+ </table>
1129
+ </div>
1130
+
1131
+
1132
+ <span id=""></span>
1133
+ <div class="method_details ">
1134
+ <h3 class="signature " id="level-instance_method">
1135
+
1136
+ - (<tt>Fixnum</tt>) <strong>level</strong> <span class="extras">(readonly)</span>
1137
+
1138
+
1139
+
1140
+
1141
+
1142
+ </h3><div class="docstring">
1143
+ <div class="discussion">
1144
+ <p>Returns the level of this item</p>
1145
+
1146
+
1147
+ </div>
1148
+ </div>
1149
+ <div class="tags">
1150
+
1151
+ <p class="tag_title">Returns:</p>
1152
+ <ul class="return">
1153
+
1154
+ <li>
1155
+
1156
+
1157
+ <span class='type'>(<tt>Fixnum</tt>)</span>
1158
+
1159
+
1160
+
1161
+ &mdash;
1162
+ <div class='inline'><p>The level of this item</p>
1163
+ </div>
1164
+
1165
+ </li>
1166
+
1167
+ </ul>
1168
+
1169
+ </div><table class="source_code">
1170
+ <tr>
1171
+ <td>
1172
+ <pre class="lines">
1173
+
1174
+
1175
+ 57
1176
+ 58
1177
+ 59</pre>
1178
+ </td>
1179
+ <td>
1180
+ <pre class="code"><span class="info file"># File 'lib/steam/community/game_item.rb', line 57</span>
1181
+
1182
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_level identifier id'>level</span>
1183
+ <span class='rubyid_@level ivar id'>@level</span>
1184
+ <span class='rubyid_end end kw'>end</span>
1185
+ </pre>
1186
+ </td>
1187
+ </tr>
1188
+ </table>
1189
+ </div>
1190
+
1191
+
1192
+ <span id=""></span>
1193
+ <div class="method_details ">
1194
+ <h3 class="signature " id="name-instance_method">
1195
+
1196
+ - (<tt>String</tt>) <strong>name</strong> <span class="extras">(readonly)</span>
1197
+
1198
+
1199
+
1200
+
1201
+
1202
+ </h3><div class="docstring">
1203
+ <div class="discussion">
1204
+ <p>Returns the level of this item</p>
1205
+
1206
+
1207
+ </div>
1208
+ </div>
1209
+ <div class="tags">
1210
+
1211
+ <p class="tag_title">Returns:</p>
1212
+ <ul class="return">
1213
+
1214
+ <li>
1215
+
1216
+
1217
+ <span class='type'>(<tt>String</tt>)</span>
1218
+
1219
+
1220
+
1221
+ &mdash;
1222
+ <div class='inline'><p>The level of this item</p>
1223
+ </div>
1224
+
1225
+ </li>
1226
+
1227
+ </ul>
1228
+
1229
+ </div><table class="source_code">
1230
+ <tr>
1231
+ <td>
1232
+ <pre class="lines">
1233
+
1234
+
1235
+ 62
1236
+ 63
1237
+ 64</pre>
1238
+ </td>
1239
+ <td>
1240
+ <pre class="code"><span class="info file"># File 'lib/steam/community/game_item.rb', line 62</span>
1241
+
1242
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_name identifier id'>name</span>
1243
+ <span class='rubyid_@name ivar id'>@name</span>
1244
+ <span class='rubyid_end end kw'>end</span>
1245
+ </pre>
1246
+ </td>
1247
+ </tr>
1248
+ </table>
1249
+ </div>
1250
+
1251
+
1252
+ <span id=""></span>
1253
+ <div class="method_details ">
1254
+ <h3 class="signature " id="origin-instance_method">
1255
+
1256
+ - (<tt>String</tt>) <strong>origin</strong> <span class="extras">(readonly)</span>
1257
+
1258
+
1259
+
1260
+
1261
+
1262
+ </h3><div class="docstring">
1263
+ <div class="discussion">
1264
+ <p>Returns the origin of this item</p>
1265
+
1266
+
1267
+ </div>
1268
+ </div>
1269
+ <div class="tags">
1270
+
1271
+ <p class="tag_title">Returns:</p>
1272
+ <ul class="return">
1273
+
1274
+ <li>
1275
+
1276
+
1277
+ <span class='type'>(<tt>String</tt>)</span>
1278
+
1279
+
1280
+
1281
+ &mdash;
1282
+ <div class='inline'><p>The origin of this item</p>
1283
+ </div>
1284
+
1285
+ </li>
1286
+
1287
+ </ul>
1288
+
1289
+ </div><table class="source_code">
1290
+ <tr>
1291
+ <td>
1292
+ <pre class="lines">
1293
+
1294
+
1295
+ 67
1296
+ 68
1297
+ 69</pre>
1298
+ </td>
1299
+ <td>
1300
+ <pre class="code"><span class="info file"># File 'lib/steam/community/game_item.rb', line 67</span>
1301
+
1302
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_origin identifier id'>origin</span>
1303
+ <span class='rubyid_@origin ivar id'>@origin</span>
1304
+ <span class='rubyid_end end kw'>end</span>
1305
+ </pre>
1306
+ </td>
1307
+ </tr>
1308
+ </table>
1309
+ </div>
1310
+
1311
+
1312
+ <span id=""></span>
1313
+ <div class="method_details ">
1314
+ <h3 class="signature " id="original_id-instance_method">
1315
+
1316
+ - (<tt>Fixnum</tt>) <strong>original_id</strong> <span class="extras">(readonly)</span>
1317
+
1318
+
1319
+
1320
+
1321
+
1322
+ </h3><div class="docstring">
1323
+ <div class="discussion">
1324
+ <p>Returns the original ID of this item</p>
1325
+
1326
+
1327
+ </div>
1328
+ </div>
1329
+ <div class="tags">
1330
+
1331
+ <p class="tag_title">Returns:</p>
1332
+ <ul class="return">
1333
+
1334
+ <li>
1335
+
1336
+
1337
+ <span class='type'>(<tt>Fixnum</tt>)</span>
1338
+
1339
+
1340
+
1341
+ &mdash;
1342
+ <div class='inline'><p>The original ID of this item</p>
1343
+ </div>
1344
+
1345
+ </li>
1346
+
1347
+ </ul>
1348
+
1349
+ </div><table class="source_code">
1350
+ <tr>
1351
+ <td>
1352
+ <pre class="lines">
1353
+
1354
+
1355
+ 72
1356
+ 73
1357
+ 74</pre>
1358
+ </td>
1359
+ <td>
1360
+ <pre class="code"><span class="info file"># File 'lib/steam/community/game_item.rb', line 72</span>
1361
+
1362
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_original_id identifier id'>original_id</span>
1363
+ <span class='rubyid_@original_id ivar id'>@original_id</span>
1364
+ <span class='rubyid_end end kw'>end</span>
1365
+ </pre>
1366
+ </td>
1367
+ </tr>
1368
+ </table>
1369
+ </div>
1370
+
1371
+
1372
+ <span id=""></span>
1373
+ <div class="method_details ">
1374
+ <h3 class="signature " id="quality-instance_method">
1375
+
1376
+ - (<tt>String</tt>) <strong>quality</strong> <span class="extras">(readonly)</span>
1377
+
1378
+
1379
+
1380
+
1381
+
1382
+ </h3><div class="docstring">
1383
+ <div class="discussion">
1384
+ <p>Returns the quality of this item</p>
1385
+
1386
+
1387
+ </div>
1388
+ </div>
1389
+ <div class="tags">
1390
+
1391
+ <p class="tag_title">Returns:</p>
1392
+ <ul class="return">
1393
+
1394
+ <li>
1395
+
1396
+
1397
+ <span class='type'>(<tt>String</tt>)</span>
1398
+
1399
+
1400
+
1401
+ &mdash;
1402
+ <div class='inline'><p>The quality of this item</p>
1403
+ </div>
1404
+
1405
+ </li>
1406
+
1407
+ </ul>
1408
+
1409
+ </div><table class="source_code">
1410
+ <tr>
1411
+ <td>
1412
+ <pre class="lines">
1413
+
1414
+
1415
+ 77
1416
+ 78
1417
+ 79</pre>
1418
+ </td>
1419
+ <td>
1420
+ <pre class="code"><span class="info file"># File 'lib/steam/community/game_item.rb', line 77</span>
1421
+
1422
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_quality identifier id'>quality</span>
1423
+ <span class='rubyid_@quality ivar id'>@quality</span>
1424
+ <span class='rubyid_end end kw'>end</span>
1425
+ </pre>
1426
+ </td>
1427
+ </tr>
1428
+ </table>
1429
+ </div>
1430
+
1431
+
1432
+ <span id=""></span>
1433
+ <div class="method_details ">
1434
+ <h3 class="signature " id="type-instance_method">
1435
+
1436
+ - (<tt>String</tt>) <strong>type</strong> <span class="extras">(readonly)</span>
1437
+
1438
+
1439
+
1440
+
1441
+
1442
+ </h3><div class="docstring">
1443
+ <div class="discussion">
1444
+ <p>Returns the type of this item</p>
1445
+
1446
+
1447
+ </div>
1448
+ </div>
1449
+ <div class="tags">
1450
+
1451
+ <p class="tag_title">Returns:</p>
1452
+ <ul class="return">
1453
+
1454
+ <li>
1455
+
1456
+
1457
+ <span class='type'>(<tt>String</tt>)</span>
1458
+
1459
+
1460
+
1461
+ &mdash;
1462
+ <div class='inline'><p>The type of this item</p>
1463
+ </div>
1464
+
1465
+ </li>
1466
+
1467
+ </ul>
1468
+
1469
+ </div><table class="source_code">
1470
+ <tr>
1471
+ <td>
1472
+ <pre class="lines">
1473
+
1474
+
1475
+ 82
1476
+ 83
1477
+ 84</pre>
1478
+ </td>
1479
+ <td>
1480
+ <pre class="code"><span class="info file"># File 'lib/steam/community/game_item.rb', line 82</span>
1481
+
1482
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_type identifier id'>type</span>
1483
+ <span class='rubyid_@type ivar id'>@type</span>
1484
+ <span class='rubyid_end end kw'>end</span>
1485
+ </pre>
1486
+ </td>
1487
+ </tr>
1488
+ </table>
1489
+ </div>
1490
+
1491
+ </div>
1492
+
1493
+
1494
+ <div id="instance_method_details" class="method_details_list">
1495
+ <h2>Instance Method Details</h2>
1496
+
1497
+
1498
+ <div class="method_details first">
1499
+ <h3 class="signature first" id="craftable?-instance_method">
1500
+
1501
+ - (<tt>Boolean</tt>) <strong>craftable?</strong>
1502
+
1503
+
1504
+
1505
+
1506
+
1507
+ </h3><div class="docstring">
1508
+ <div class="discussion">
1509
+ <p>Returns whether this item is craftable</p>
1510
+
1511
+
1512
+ </div>
1513
+ </div>
1514
+ <div class="tags">
1515
+
1516
+ <p class="tag_title">Returns:</p>
1517
+ <ul class="return">
1518
+
1519
+ <li>
1520
+
1521
+
1522
+ <span class='type'>(<tt>Boolean</tt>)</span>
1523
+
1524
+
1525
+
1526
+ &mdash;
1527
+ <div class='inline'><p><code>true</code> if this item is craftable</p>
1528
+ </div>
1529
+
1530
+ </li>
1531
+
1532
+ </ul>
1533
+
1534
+ </div><table class="source_code">
1535
+ <tr>
1536
+ <td>
1537
+ <pre class="lines">
1538
+
1539
+
1540
+ 127
1541
+ 128
1542
+ 129</pre>
1543
+ </td>
1544
+ <td>
1545
+ <pre class="code"><span class="info file"># File 'lib/steam/community/game_item.rb', line 127</span>
1546
+
1547
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_craftable? fid id'>craftable?</span>
1548
+ <span class='rubyid_@craftable ivar id'>@craftable</span>
1549
+ <span class='rubyid_end end kw'>end</span>
1550
+ </pre>
1551
+ </td>
1552
+ </tr>
1553
+ </table>
1554
+ </div>
1555
+
1556
+ <div class="method_details ">
1557
+ <h3 class="signature " id="initialize-instance_method">
1558
+
1559
+ - (<tt><span class='object_link'><a href="" title="GameItem (module)">GameItem</a></span></tt>) <strong>initialize</strong>(inventory, item_data)
1560
+
1561
+
1562
+
1563
+
1564
+
1565
+ </h3><div class="docstring">
1566
+ <div class="discussion">
1567
+ <p>Creates a new instance of a GameItem with the given data</p>
1568
+
1569
+
1570
+ </div>
1571
+ </div>
1572
+ <div class="tags">
1573
+ <p class="tag_title">Parameters:</p>
1574
+ <ul class="param">
1575
+
1576
+ <li>
1577
+
1578
+ <span class='name'>inventory</span>
1579
+
1580
+
1581
+ <span class='type'>(<tt><span class='object_link'><a href="GameInventory.html" title="GameInventory (class)">GameInventory</a></span></tt>)</span>
1582
+
1583
+
1584
+
1585
+ &mdash;
1586
+ <div class='inline'><p>The inventory this item is contained in</p>
1587
+ </div>
1588
+
1589
+ </li>
1590
+
1591
+ <li>
1592
+
1593
+ <span class='name'>item_data</span>
1594
+
1595
+
1596
+ <span class='type'>(<tt>Hash&lt;Symbol, Object&gt;</tt>)</span>
1597
+
1598
+
1599
+
1600
+ &mdash;
1601
+ <div class='inline'><p>The data representing this item</p>
1602
+ </div>
1603
+
1604
+ </li>
1605
+
1606
+ </ul>
1607
+
1608
+ <p class="tag_title">Returns:</p>
1609
+ <ul class="return">
1610
+
1611
+ <li>
1612
+
1613
+
1614
+ <span class='type'>(<tt><span class='object_link'><a href="" title="GameItem (module)">GameItem</a></span></tt>)</span>
1615
+
1616
+
1617
+
1618
+ &mdash;
1619
+ <div class='inline'><p>a new instance of GameItem</p>
1620
+ </div>
1621
+
1622
+ </li>
1623
+
1624
+ </ul>
1625
+
1626
+ </div><table class="source_code">
1627
+ <tr>
1628
+ <td>
1629
+ <pre class="lines">
1630
+
1631
+
1632
+ 88
1633
+ 89
1634
+ 90
1635
+ 91
1636
+ 92
1637
+ 93
1638
+ 94
1639
+ 95
1640
+ 96
1641
+ 97
1642
+ 98
1643
+ 99
1644
+ 100
1645
+ 101
1646
+ 102
1647
+ 103
1648
+ 104
1649
+ 105
1650
+ 106
1651
+ 107
1652
+ 108
1653
+ 109
1654
+ 110
1655
+ 111
1656
+ 112
1657
+ 113
1658
+ 114
1659
+ 115
1660
+ 116
1661
+ 117
1662
+ 118
1663
+ 119
1664
+ 120
1665
+ 121
1666
+ 122</pre>
1667
+ </td>
1668
+ <td>
1669
+ <pre class="code"><span class="info file"># File 'lib/steam/community/game_item.rb', line 88</span>
1670
+
1671
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='rubyid_inventory identifier id'>inventory</span><span class='comma token'>,</span> <span class='rubyid_item_data identifier id'>item_data</span><span class='rparen token'>)</span>
1672
+ <span class='rubyid_@inventory ivar id'>@inventory</span> <span class='assign token'>=</span> <span class='rubyid_inventory identifier id'>inventory</span>
1673
+
1674
+ <span class='rubyid_@defindex ivar id'>@defindex</span> <span class='assign token'>=</span> <span class='rubyid_item_data identifier id'>item_data</span><span class='lbrack token'>[</span><span class='symbol val'>:defindex</span><span class='rbrack token'>]</span>
1675
+ <span class='rubyid_@backpack_position ivar id'>@backpack_position</span> <span class='assign token'>=</span> <span class='rubyid_item_data identifier id'>item_data</span><span class='lbrack token'>[</span><span class='symbol val'>:inventory</span><span class='rbrack token'>]</span> <span class='bitand op'>&amp;</span> <span class='integer val'>0xffff</span>
1676
+ <span class='rubyid_@count ivar id'>@count</span> <span class='assign token'>=</span> <span class='rubyid_item_data identifier id'>item_data</span><span class='lbrack token'>[</span><span class='symbol val'>:quantity</span><span class='rbrack token'>]</span>
1677
+ <span class='rubyid_@craftable ivar id'>@craftable</span> <span class='assign token'>=</span> <span class='notop op'>!</span><span class='notop op'>!</span><span class='rubyid_item_data identifier id'>item_data</span><span class='lbrack token'>[</span><span class='symbol val'>:flag_cannot_craft</span><span class='rbrack token'>]</span>
1678
+ <span class='rubyid_@id ivar id'>@id</span> <span class='assign token'>=</span> <span class='rubyid_item_data identifier id'>item_data</span><span class='lbrack token'>[</span><span class='symbol val'>:id</span><span class='rbrack token'>]</span>
1679
+ <span class='rubyid_@item_class ivar id'>@item_class</span> <span class='assign token'>=</span> <span class='rubyid_schema_data identifier id'>schema_data</span><span class='lbrack token'>[</span><span class='symbol val'>:item_class</span><span class='rbrack token'>]</span>
1680
+ <span class='rubyid_@item_set ivar id'>@item_set</span> <span class='assign token'>=</span> <span class='rubyid_inventory identifier id'>inventory</span><span class='dot token'>.</span><span class='rubyid_item_schema identifier id'>item_schema</span><span class='dot token'>.</span><span class='rubyid_item_sets identifier id'>item_sets</span><span class='lbrack token'>[</span><span class='rubyid_schema_data identifier id'>schema_data</span><span class='lbrack token'>[</span><span class='symbol val'>:item_set</span><span class='rbrack token'>]</span><span class='rbrack token'>]</span>
1681
+ <span class='rubyid_@level ivar id'>@level</span> <span class='assign token'>=</span> <span class='rubyid_item_data identifier id'>item_data</span><span class='lbrack token'>[</span><span class='symbol val'>:level</span><span class='rbrack token'>]</span>
1682
+ <span class='rubyid_@name ivar id'>@name</span> <span class='assign token'>=</span> <span class='rubyid_schema_data identifier id'>schema_data</span><span class='lbrack token'>[</span><span class='symbol val'>:item_name</span><span class='rbrack token'>]</span>
1683
+ <span class='rubyid_@original_id ivar id'>@original_id</span> <span class='assign token'>=</span> <span class='rubyid_item_data identifier id'>item_data</span><span class='lbrack token'>[</span><span class='symbol val'>:original_id</span><span class='rbrack token'>]</span>
1684
+ <span class='rubyid_@preliminary ivar id'>@preliminary</span> <span class='assign token'>=</span> <span class='rubyid_item_data identifier id'>item_data</span><span class='lbrack token'>[</span><span class='symbol val'>:inventory</span><span class='rbrack token'>]</span> <span class='bitand op'>&amp;</span> <span class='integer val'>0x40000000</span> <span class='neq op'>!=</span> <span class='integer val'>0</span>
1685
+ <span class='rubyid_@quality ivar id'>@quality</span> <span class='assign token'>=</span> <span class='rubyid_inventory identifier id'>inventory</span><span class='dot token'>.</span><span class='rubyid_item_schema identifier id'>item_schema</span><span class='dot token'>.</span><span class='rubyid_qualities identifier id'>qualities</span><span class='lbrack token'>[</span><span class='rubyid_item_data identifier id'>item_data</span><span class='lbrack token'>[</span><span class='symbol val'>:quality</span><span class='rbrack token'>]</span><span class='rbrack token'>]</span>
1686
+ <span class='rubyid_@tradeable ivar id'>@tradeable</span> <span class='assign token'>=</span> <span class='notop op'>!</span><span class='notop op'>!</span><span class='rubyid_item_data identifier id'>item_data</span><span class='lbrack token'>[</span><span class='symbol val'>:flag_cannot_trade</span><span class='rbrack token'>]</span>
1687
+ <span class='rubyid_@type ivar id'>@type</span> <span class='assign token'>=</span> <span class='rubyid_schema_data identifier id'>schema_data</span><span class='lbrack token'>[</span><span class='symbol val'>:item_type_name</span><span class='rbrack token'>]</span>
1688
+
1689
+ <span class='rubyid_if if kw'>if</span> <span class='rubyid_item_data identifier id'>item_data</span><span class='dot token'>.</span><span class='rubyid_key? fid id'>key?</span> <span class='colon op'>:</span><span class='rubyid_origin identifier id'>origin</span>
1690
+ <span class='rubyid_@origin ivar id'>@origin</span> <span class='assign token'>=</span> <span class='rubyid_inventory identifier id'>inventory</span><span class='dot token'>.</span><span class='rubyid_item_schema identifier id'>item_schema</span><span class='dot token'>.</span><span class='rubyid_origins identifier id'>origins</span><span class='lbrack token'>[</span><span class='rubyid_item_data identifier id'>item_data</span><span class='lbrack token'>[</span><span class='symbol val'>:origin</span><span class='rbrack token'>]</span><span class='rbrack token'>]</span>
1691
+ <span class='rubyid_end end kw'>end</span>
1692
+
1693
+ <span class='rubyid_attributes_data identifier id'>attributes_data</span> <span class='assign token'>=</span> <span class='rubyid_schema_data identifier id'>schema_data</span><span class='lbrack token'>[</span><span class='symbol val'>:attributes</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='lbrack token'>[</span><span class='rbrack token'>]</span>
1694
+ <span class='rubyid_attributes_data identifier id'>attributes_data</span> <span class='opasgn op'>+=</span> <span class='rubyid_item_data identifier id'>item_data</span><span class='lbrack token'>[</span><span class='symbol val'>:attributes</span><span class='rbrack token'>]</span> <span class='rubyid_if if_mod kw'>if</span> <span class='rubyid_item_data identifier id'>item_data</span><span class='dot token'>.</span><span class='rubyid_key? fid id'>key?</span> <span class='symbol val'>:attributes</span>
1695
+
1696
+ <span class='rubyid_@attributes ivar id'>@attributes</span> <span class='assign token'>=</span> <span class='lbrack token'>[</span><span class='rbrack token'>]</span>
1697
+ <span class='rubyid_attributes_data identifier id'>attributes_data</span><span class='dot token'>.</span><span class='rubyid_each identifier id'>each</span> <span class='rubyid_do do kw'>do</span> <span class='bitor op'>|</span><span class='rubyid_attribute_data identifier id'>attribute_data</span><span class='bitor op'>|</span>
1698
+ <span class='rubyid_attribute_key identifier id'>attribute_key</span> <span class='assign token'>=</span> <span class='rubyid_attribute_data identifier id'>attribute_data</span><span class='lbrack token'>[</span><span class='symbol val'>:defindex</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='rubyid_attribute_data identifier id'>attribute_data</span><span class='lbrack token'>[</span><span class='symbol val'>:name</span><span class='rbrack token'>]</span>
1699
+
1700
+ <span class='rubyid_unless unless kw'>unless</span> <span class='rubyid_attribute_key identifier id'>attribute_key</span><span class='dot token'>.</span><span class='rubyid_nil? fid id'>nil?</span>
1701
+ <span class='rubyid_schema_attribute_data identifier id'>schema_attribute_data</span> <span class='assign token'>=</span> <span class='rubyid_inventory identifier id'>inventory</span><span class='dot token'>.</span><span class='rubyid_item_schema identifier id'>item_schema</span><span class='dot token'>.</span><span class='rubyid_attributes identifier id'>attributes</span><span class='lbrack token'>[</span><span class='rubyid_attribute_key identifier id'>attribute_key</span><span class='rbrack token'>]</span>
1702
+ <span class='rubyid_@attributes ivar id'>@attributes</span> <span class='lshft op'>&lt;&lt;</span> <span class='rubyid_attribute_data identifier id'>attribute_data</span><span class='dot token'>.</span><span class='rubyid_merge identifier id'>merge</span><span class='lparen token'>(</span><span class='rubyid_schema_attribute_data identifier id'>schema_attribute_data</span><span class='rparen token'>)</span>
1703
+ <span class='rubyid_end end kw'>end</span>
1704
+ <span class='rubyid_end end kw'>end</span>
1705
+ <span class='rubyid_end end kw'>end</span>
1706
+ </pre>
1707
+ </td>
1708
+ </tr>
1709
+ </table>
1710
+ </div>
1711
+
1712
+ <div class="method_details ">
1713
+ <h3 class="signature " id="preliminary?-instance_method">
1714
+
1715
+ - (<tt>Boolean</tt>) <strong>preliminary?</strong>
1716
+
1717
+
1718
+
1719
+
1720
+
1721
+ </h3><div class="docstring">
1722
+ <div class="discussion">
1723
+ <p>Returns whether this item is preliminary</p>
1724
+
1725
+ <p>Preliminary means that this item was just found or traded and has not yet
1726
+ been added to the inventory</p>
1727
+
1728
+
1729
+ </div>
1730
+ </div>
1731
+ <div class="tags">
1732
+
1733
+ <p class="tag_title">Returns:</p>
1734
+ <ul class="return">
1735
+
1736
+ <li>
1737
+
1738
+
1739
+ <span class='type'>(<tt>Boolean</tt>)</span>
1740
+
1741
+
1742
+
1743
+ &mdash;
1744
+ <div class='inline'><p><code>true</code> if this item is preliminary</p>
1745
+ </div>
1746
+
1747
+ </li>
1748
+
1749
+ </ul>
1750
+
1751
+ </div><table class="source_code">
1752
+ <tr>
1753
+ <td>
1754
+ <pre class="lines">
1755
+
1756
+
1757
+ 137
1758
+ 138
1759
+ 139</pre>
1760
+ </td>
1761
+ <td>
1762
+ <pre class="code"><span class="info file"># File 'lib/steam/community/game_item.rb', line 137</span>
1763
+
1764
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_preliminary? fid id'>preliminary?</span>
1765
+ <span class='rubyid_@preliminary ivar id'>@preliminary</span>
1766
+ <span class='rubyid_end end kw'>end</span>
1767
+ </pre>
1768
+ </td>
1769
+ </tr>
1770
+ </table>
1771
+ </div>
1772
+
1773
+ <div class="method_details ">
1774
+ <h3 class="signature " id="schema_data-instance_method">
1775
+
1776
+ - (<tt>Hash&lt;Symbol, Object&gt;</tt>) <strong>schema_data</strong>
1777
+
1778
+
1779
+
1780
+
1781
+
1782
+ </h3><div class="docstring">
1783
+ <div class="discussion">
1784
+ <p>Returns the data for this item that&#39;s defined in the item schema</p>
1785
+
1786
+
1787
+ </div>
1788
+ </div>
1789
+ <div class="tags">
1790
+
1791
+ <p class="tag_title">Returns:</p>
1792
+ <ul class="return">
1793
+
1794
+ <li>
1795
+
1796
+
1797
+ <span class='type'>(<tt>Hash&lt;Symbol, Object&gt;</tt>)</span>
1798
+
1799
+
1800
+
1801
+ &mdash;
1802
+ <div class='inline'><p>The schema data for this item</p>
1803
+ </div>
1804
+
1805
+ </li>
1806
+
1807
+ </ul>
1808
+
1809
+ </div><table class="source_code">
1810
+ <tr>
1811
+ <td>
1812
+ <pre class="lines">
1813
+
1814
+
1815
+ 144
1816
+ 145
1817
+ 146</pre>
1818
+ </td>
1819
+ <td>
1820
+ <pre class="code"><span class="info file"># File 'lib/steam/community/game_item.rb', line 144</span>
1821
+
1822
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_schema_data identifier id'>schema_data</span>
1823
+ <span class='rubyid_inventory identifier id'>inventory</span><span class='dot token'>.</span><span class='rubyid_item_schema identifier id'>item_schema</span><span class='dot token'>.</span><span class='rubyid_items identifier id'>items</span><span class='lbrack token'>[</span><span class='rubyid_@defindex ivar id'>@defindex</span><span class='rbrack token'>]</span>
1824
+ <span class='rubyid_end end kw'>end</span>
1825
+ </pre>
1826
+ </td>
1827
+ </tr>
1828
+ </table>
1829
+ </div>
1830
+
1831
+ <div class="method_details ">
1832
+ <h3 class="signature " id="tradeable?-instance_method">
1833
+
1834
+ - (<tt>Boolean</tt>) <strong>tradeable?</strong>
1835
+
1836
+
1837
+
1838
+
1839
+
1840
+ </h3><div class="docstring">
1841
+ <div class="discussion">
1842
+ <p>Returns whether this item is tradeable</p>
1843
+
1844
+
1845
+ </div>
1846
+ </div>
1847
+ <div class="tags">
1848
+
1849
+ <p class="tag_title">Returns:</p>
1850
+ <ul class="return">
1851
+
1852
+ <li>
1853
+
1854
+
1855
+ <span class='type'>(<tt>Boolean</tt>)</span>
1856
+
1857
+
1858
+
1859
+ &mdash;
1860
+ <div class='inline'><p><code>true</code> if this item is tradeable</p>
1861
+ </div>
1862
+
1863
+ </li>
1864
+
1865
+ </ul>
1866
+
1867
+ </div><table class="source_code">
1868
+ <tr>
1869
+ <td>
1870
+ <pre class="lines">
1871
+
1872
+
1873
+ 151
1874
+ 152
1875
+ 153</pre>
1876
+ </td>
1877
+ <td>
1878
+ <pre class="code"><span class="info file"># File 'lib/steam/community/game_item.rb', line 151</span>
1879
+
1880
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_tradeable? fid id'>tradeable?</span>
1881
+ <span class='rubyid_@tradeable ivar id'>@tradeable</span>
1882
+ <span class='rubyid_end end kw'>end</span>
1883
+ </pre>
1884
+ </td>
1885
+ </tr>
1886
+ </table>
1887
+ </div>
1888
+
1889
+ </div>
1890
+
1891
+ </div>
1892
+
1893
+ <div id="footer">
1894
+ Generated on Mon Sep 2 07:12:49 2013 by
1895
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1896
+ 0.8.7 (ruby-1.8.7).
1897
+ </div>
1898
+
1899
+ </body>
1900
+ </html>