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
@@ -0,0 +1,350 @@
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
+ Class: SourceSocket
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 (S)</a> &raquo;
35
+
36
+
37
+ <span class="title">SourceSocket</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>Class: SourceSocket
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+ <dt class="r1">Inherits:</dt>
75
+ <dd class="r1">
76
+ <span class="inheritName">Object</span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next">SourceSocket</li>
82
+
83
+ </ul>
84
+ <a href="#" class="inheritanceTree">show all</a>
85
+
86
+ </dd>
87
+
88
+
89
+
90
+
91
+
92
+
93
+ <dt class="r2">Includes:</dt>
94
+ <dd class="r2"><span class='object_link'><a href="SteamSocket.html" title="SteamSocket (module)">SteamSocket</a></span></dd>
95
+
96
+
97
+
98
+
99
+
100
+ <dt class="r1 last">Defined in:</dt>
101
+ <dd class="r1 last">lib/steam/sockets/source_socket.rb</dd>
102
+
103
+ </dl>
104
+ <div class="clear"></div>
105
+
106
+ <h2>Overview</h2><div class="docstring">
107
+ <div class="discussion">
108
+ <p>This class represents a socket used to communicate with game servers based on
109
+ the Source engine (e.g. Team Fortress 2, Counter-Strike: Source)</p>
110
+
111
+
112
+ </div>
113
+ </div>
114
+ <div class="tags">
115
+
116
+ <p class="tag_title">Author:</p>
117
+ <ul class="author">
118
+
119
+ <li>
120
+
121
+
122
+
123
+
124
+
125
+ <div class='inline'><p>Sebastian Staudt</p>
126
+ </div>
127
+
128
+ </li>
129
+
130
+ </ul>
131
+
132
+ </div>
133
+
134
+
135
+
136
+
137
+
138
+
139
+
140
+ <h2>
141
+ Instance Method Summary
142
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
143
+ </h2>
144
+
145
+ <ul class="summary">
146
+
147
+ <li class="public ">
148
+ <span class="summary_signature">
149
+
150
+ <a href="#reply-instance_method" title="#reply (instance method)">- (SteamPacket) <strong>reply</strong> </a>
151
+
152
+
153
+
154
+ </span>
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+ <span class="summary_desc"><div class='inline'><p>Reads a packet from the socket.</p>
165
+ </div></span>
166
+
167
+ </li>
168
+
169
+
170
+ </ul>
171
+
172
+
173
+
174
+
175
+
176
+
177
+
178
+
179
+
180
+
181
+
182
+ <h3 class="inherited">Methods included from <span class='object_link'><a href="SteamSocket.html" title="SteamSocket (module)">SteamSocket</a></span></h3>
183
+ <p class="inherited"><span class='object_link'><a href="SteamSocket.html#close-instance_method" title="SteamSocket#close (method)">#close</a></span>, <span class='object_link'><a href="SteamSocket.html#initialize-instance_method" title="SteamSocket#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="SteamSocket.html#receive_packet-instance_method" title="SteamSocket#receive_packet (method)">#receive_packet</a></span>, <span class='object_link'><a href="SteamSocket.html#send-instance_method" title="SteamSocket#send (method)">#send</a></span>, <span class='object_link'><a href="SteamSocket.html#timeout%3D-class_method" title="SteamSocket.timeout= (method)">timeout=</a></span></p>
184
+
185
+
186
+ <div id="instance_method_details" class="method_details_list">
187
+ <h2>Instance Method Details</h2>
188
+
189
+
190
+ <div class="method_details first">
191
+ <h3 class="signature first" id="reply-instance_method">
192
+
193
+ - (<tt><span class='object_link'><a href="SteamPacket.html" title="SteamPacket (module)">SteamPacket</a></span></tt>) <strong>reply</strong>
194
+
195
+
196
+
197
+
198
+
199
+ </h3><div class="docstring">
200
+ <div class="discussion">
201
+ <p>Reads a packet from the socket</p>
202
+
203
+ <p>The Source query protocol specifies a maximum packet size of 1,400 bytes.
204
+ Bigger packets will be split over several UDP packets. This method
205
+ reassembles split packets into single packet objects. Additionally Source
206
+ may compress big packets using bzip2. Those packets will be compressed.</p>
207
+
208
+
209
+ </div>
210
+ </div>
211
+ <div class="tags">
212
+
213
+ <p class="tag_title">Returns:</p>
214
+ <ul class="return">
215
+
216
+ <li>
217
+
218
+
219
+ <span class='type'>(<tt><span class='object_link'><a href="SteamPacket.html" title="SteamPacket (module)">SteamPacket</a></span></tt>)</span>
220
+
221
+
222
+
223
+ &mdash;
224
+ <div class='inline'><p>The packet replied from the server</p>
225
+ </div>
226
+
227
+ </li>
228
+
229
+ </ul>
230
+
231
+ </div><table class="source_code">
232
+ <tr>
233
+ <td>
234
+ <pre class="lines">
235
+
236
+
237
+ 26
238
+ 27
239
+ 28
240
+ 29
241
+ 30
242
+ 31
243
+ 32
244
+ 33
245
+ 34
246
+ 35
247
+ 36
248
+ 37
249
+ 38
250
+ 39
251
+ 40
252
+ 41
253
+ 42
254
+ 43
255
+ 44
256
+ 45
257
+ 46
258
+ 47
259
+ 48
260
+ 49
261
+ 50
262
+ 51
263
+ 52
264
+ 53
265
+ 54
266
+ 55
267
+ 56
268
+ 57
269
+ 58
270
+ 59
271
+ 60
272
+ 61
273
+ 62
274
+ 63
275
+ 64
276
+ 65
277
+ 66
278
+ 67
279
+ 68
280
+ 69
281
+ 70
282
+ 71</pre>
283
+ </td>
284
+ <td>
285
+ <pre class="code"><span class="info file"># File 'lib/steam/sockets/source_socket.rb', line 26</span>
286
+
287
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_reply identifier id'>reply</span>
288
+ <span class='rubyid_receive_packet identifier id'>receive_packet</span> <span class='integer val'>1400</span>
289
+ <span class='rubyid_is_compressed identifier id'>is_compressed</span> <span class='assign token'>=</span> <span class='rubyid_false false kw'>false</span>
290
+ <span class='rubyid_packet_checksum identifier id'>packet_checksum</span> <span class='assign token'>=</span> <span class='integer val'>0</span>
291
+
292
+ <span class='rubyid_if if kw'>if</span> <span class='rubyid_@buffer ivar id'>@buffer</span><span class='dot token'>.</span><span class='rubyid_long identifier id'>long</span> <span class='eq op'>==</span> <span class='integer val'>0x</span><span class='rubyid_FFFFFFFE constant id'>FFFFFFFE</span>
293
+ <span class='rubyid_split_packets identifier id'>split_packets</span> <span class='assign token'>=</span> <span class='lbrack token'>[</span><span class='rbrack token'>]</span>
294
+ <span class='rubyid_begin begin kw'>begin</span>
295
+ <span class='rubyid_request_id identifier id'>request_id</span> <span class='assign token'>=</span> <span class='rubyid_@buffer ivar id'>@buffer</span><span class='dot token'>.</span><span class='rubyid_long identifier id'>long</span>
296
+ <span class='rubyid_is_compressed identifier id'>is_compressed</span> <span class='assign token'>=</span> <span class='lparen token'>(</span><span class='lparen token'>(</span><span class='rubyid_request_id identifier id'>request_id</span> <span class='bitand op'>&amp;</span> <span class='integer val'>0x80000000</span><span class='rparen token'>)</span> <span class='neq op'>!=</span> <span class='integer val'>0</span><span class='rparen token'>)</span>
297
+ <span class='rubyid_packet_count identifier id'>packet_count</span> <span class='assign token'>=</span> <span class='rubyid_@buffer ivar id'>@buffer</span><span class='dot token'>.</span><span class='rubyid_byte identifier id'>byte</span>
298
+ <span class='rubyid_packet_number identifier id'>packet_number</span> <span class='assign token'>=</span> <span class='rubyid_@buffer ivar id'>@buffer</span><span class='dot token'>.</span><span class='rubyid_byte identifier id'>byte</span> <span class='plus op'>+</span> <span class='integer val'>1</span>
299
+
300
+ <span class='rubyid_if if kw'>if</span> <span class='rubyid_is_compressed identifier id'>is_compressed</span>
301
+ <span class='rubyid_@buffer ivar id'>@buffer</span><span class='dot token'>.</span><span class='rubyid_long identifier id'>long</span>
302
+ <span class='rubyid_packet_checksum identifier id'>packet_checksum</span> <span class='assign token'>=</span> <span class='rubyid_@buffer ivar id'>@buffer</span><span class='dot token'>.</span><span class='rubyid_long identifier id'>long</span>
303
+ <span class='rubyid_else else kw'>else</span>
304
+ <span class='rubyid_@buffer ivar id'>@buffer</span><span class='dot token'>.</span><span class='rubyid_short identifier id'>short</span>
305
+ <span class='rubyid_end end kw'>end</span>
306
+
307
+ <span class='rubyid_split_packets identifier id'>split_packets</span><span class='lbrack token'>[</span><span class='rubyid_packet_number identifier id'>packet_number</span> <span class='minus op'>-</span> <span class='integer val'>1</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='rubyid_@buffer ivar id'>@buffer</span><span class='dot token'>.</span><span class='rubyid_get identifier id'>get</span>
308
+
309
+ <span class='rubyid_puts identifier id'>puts</span> <span class='dstring node'>&quot;Received packet #{packet_number} of #{packet_count} for request ##{request_id}&quot;</span> <span class='rubyid_if if_mod kw'>if</span> <span class='rubyid_$DEBUG gvar id'>$DEBUG</span>
310
+
311
+ <span class='rubyid_bytes_read identifier id'>bytes_read</span> <span class='assign token'>=</span> <span class='integer val'>0</span>
312
+ <span class='rubyid_if if kw'>if</span> <span class='rubyid_split_packets identifier id'>split_packets</span><span class='dot token'>.</span><span class='rubyid_size identifier id'>size</span> <span class='lt op'>&lt;</span> <span class='rubyid_packet_count identifier id'>packet_count</span>
313
+ <span class='rubyid_begin begin kw'>begin</span>
314
+ <span class='rubyid_bytes_read identifier id'>bytes_read</span> <span class='assign token'>=</span> <span class='rubyid_receive_packet identifier id'>receive_packet</span>
315
+ <span class='rubyid_rescue rescue kw'>rescue</span> <span class='rubyid_SteamCondenser constant id'>SteamCondenser</span><span class='colon2 op'>::</span><span class='rubyid_TimeoutError constant id'>TimeoutError</span>
316
+ <span class='rubyid_end end kw'>end</span>
317
+ <span class='rubyid_end end kw'>end</span>
318
+ <span class='rubyid_end end kw'>end</span> <span class='rubyid_while while_mod kw'>while</span> <span class='rubyid_bytes_read identifier id'>bytes_read</span> <span class='gt op'>&gt;</span> <span class='integer val'>0</span> <span class='andop op'>&amp;&amp;</span> <span class='rubyid_@buffer ivar id'>@buffer</span><span class='dot token'>.</span><span class='rubyid_long identifier id'>long</span> <span class='eq op'>==</span> <span class='integer val'>0x</span><span class='rubyid_FFFFFFFE constant id'>FFFFFFFE</span>
319
+
320
+ <span class='rubyid_packet identifier id'>packet</span> <span class='assign token'>=</span> <span class='rubyid_SteamPacketFactory constant id'>SteamPacketFactory</span><span class='dot token'>.</span><span class='rubyid_reassemble_packet identifier id'>reassemble_packet</span><span class='lparen token'>(</span><span class='rubyid_split_packets identifier id'>split_packets</span><span class='comma token'>,</span> <span class='rubyid_is_compressed identifier id'>is_compressed</span><span class='comma token'>,</span> <span class='rubyid_packet_checksum identifier id'>packet_checksum</span><span class='rparen token'>)</span>
321
+ <span class='rubyid_else else kw'>else</span>
322
+ <span class='rubyid_packet identifier id'>packet</span> <span class='assign token'>=</span> <span class='rubyid_SteamPacketFactory constant id'>SteamPacketFactory</span><span class='dot token'>.</span><span class='rubyid_packet_from_data identifier id'>packet_from_data</span><span class='lparen token'>(</span><span class='rubyid_@buffer ivar id'>@buffer</span><span class='dot token'>.</span><span class='rubyid_get identifier id'>get</span><span class='rparen token'>)</span>
323
+ <span class='rubyid_end end kw'>end</span>
324
+
325
+ <span class='rubyid_if if kw'>if</span> <span class='rubyid_is_compressed identifier id'>is_compressed</span>
326
+ <span class='rubyid_puts identifier id'>puts</span> <span class='dstring node'>&quot;Got compressed reply of type \&quot;#{packet.class.to_s}\&quot;.&quot;</span> <span class='rubyid_if if_mod kw'>if</span> <span class='rubyid_$DEBUG gvar id'>$DEBUG</span>
327
+ <span class='rubyid_else else kw'>else</span>
328
+ <span class='rubyid_puts identifier id'>puts</span> <span class='dstring node'>&quot;Got reply of type \&quot;#{packet.class.to_s}\&quot;.&quot;</span> <span class='rubyid_if if_mod kw'>if</span> <span class='rubyid_$DEBUG gvar id'>$DEBUG</span>
329
+ <span class='rubyid_end end kw'>end</span>
330
+
331
+ <span class='rubyid_packet identifier id'>packet</span>
332
+ <span class='rubyid_end end kw'>end</span>
333
+ </pre>
334
+ </td>
335
+ </tr>
336
+ </table>
337
+ </div>
338
+
339
+ </div>
340
+
341
+ </div>
342
+
343
+ <div id="footer">
344
+ Generated on Mon Sep 2 07:13:02 2013 by
345
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
346
+ 0.8.7 (ruby-1.8.7).
347
+ </div>
348
+
349
+ </body>
350
+ </html>
@@ -0,0 +1,1026 @@
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: SteamCondenser::Community::AbstractL4DStats
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 (A)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../../SteamCondenser.html" title="SteamCondenser (module)">SteamCondenser</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Community.html" title="SteamCondenser::Community (module)">Community</a></span></span>
36
+ &raquo;
37
+ <span class="title">AbstractL4DStats</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: SteamCondenser::Community::AbstractL4DStats
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="L4D2Stats.html" title="SteamCondenser::Community::L4D2Stats (class)">L4D2Stats</a></span>, <span class='object_link'><a href="L4DStats.html" title="SteamCondenser::Community::L4DStats (class)">L4DStats</a></span></dd>
82
+
83
+
84
+
85
+ <dt class="r2 last">Defined in:</dt>
86
+ <dd class="r2 last">lib/steam-condenser/community/l4d/abstract_l4d_stats.rb</dd>
87
+
88
+ </dl>
89
+ <div class="clear"></div>
90
+
91
+ <h2>Overview</h2><div class="docstring">
92
+ <div class="discussion">
93
+ <p>This module is a base for statistics for Left4Dead and Left4Dead 2. As both
94
+ games have more or less the same statistics available in the Steam
95
+ Community the code for both is pretty much the same.</p>
96
+
97
+
98
+ </div>
99
+ </div>
100
+ <div class="tags">
101
+
102
+ <p class="tag_title">Author:</p>
103
+ <ul class="author">
104
+
105
+ <li>
106
+
107
+
108
+
109
+
110
+
111
+ <div class='inline'><p>Sebastian Staudt</p>
112
+ </div>
113
+
114
+ </li>
115
+
116
+ </ul>
117
+
118
+ </div>
119
+ <h2>Constant Summary</h2>
120
+
121
+ <dl class="constants">
122
+
123
+ <dt id="SPECIAL_INFECTED-constant" class="">SPECIAL_INFECTED =
124
+ <div class="docstring">
125
+ <div class="discussion">
126
+ <p>The names of the special infected in Left4Dead</p>
127
+
128
+
129
+ </div>
130
+ </div>
131
+ <div class="tags">
132
+
133
+
134
+ </div>
135
+ </dt>
136
+ <dd><pre class="code"><span class='dstring node'>%w(boomer hunter smoker tank)</span>
137
+ </pre></dd>
138
+
139
+ </dl>
140
+
141
+
142
+
143
+
144
+
145
+ <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
146
+ <ul class="summary">
147
+
148
+ <li class="public ">
149
+ <span class="summary_signature">
150
+
151
+ <a href="#most_recent_game-instance_method" title="#most_recent_game (instance method)">- (Hash&lt;String, Object&gt;) <strong>most_recent_game</strong> </a>
152
+
153
+
154
+
155
+ </span>
156
+
157
+
158
+
159
+
160
+ <span class="note title readonly">readonly</span>
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+ <span class="summary_desc"><div class='inline'><p>Returns a hash of statistics for this user&#39;s most recently played game.</p>
171
+ </div></span>
172
+
173
+ </li>
174
+
175
+
176
+ </ul>
177
+
178
+
179
+
180
+
181
+
182
+ <h2>
183
+ Instance Method Summary
184
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
185
+ </h2>
186
+
187
+ <ul class="summary">
188
+
189
+ <li class="public ">
190
+ <span class="summary_signature">
191
+
192
+ <a href="#favorites-instance_method" title="#favorites (instance method)">- (Hash&lt;String, Object&gt;) <strong>favorites</strong> </a>
193
+
194
+
195
+
196
+ </span>
197
+
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+
206
+ <span class="summary_desc"><div class='inline'><p>Returns a hash of favorites for this user like weapons and character.</p>
207
+ </div></span>
208
+
209
+ </li>
210
+
211
+
212
+ <li class="public ">
213
+ <span class="summary_signature">
214
+
215
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (AbstractL4DStats) <strong>initialize</strong>(steam_id, game_name) </a>
216
+
217
+
218
+
219
+ </span>
220
+
221
+
222
+
223
+
224
+
225
+
226
+
227
+
228
+
229
+ <span class="summary_desc"><div class='inline'><p>Creates a new instance of statistics for both, Left4Dead and Left4Dead 2 parsing basic common data.</p>
230
+ </div></span>
231
+
232
+ </li>
233
+
234
+
235
+ <li class="public ">
236
+ <span class="summary_signature">
237
+
238
+ <a href="#lifetime_stats-instance_method" title="#lifetime_stats (instance method)">- (Hash&lt;String, Object&gt;) <strong>lifetime_stats</strong> </a>
239
+
240
+
241
+
242
+ </span>
243
+
244
+
245
+
246
+
247
+
248
+
249
+
250
+
251
+
252
+ <span class="summary_desc"><div class='inline'><p>Returns a hash of lifetime statistics for this user like the time played.</p>
253
+ </div></span>
254
+
255
+ </li>
256
+
257
+
258
+ <li class="public ">
259
+ <span class="summary_signature">
260
+
261
+ <a href="#survival_stats-instance_method" title="#survival_stats (instance method)">- (Hash&lt;String, Object&gt;) <strong>survival_stats</strong> </a>
262
+
263
+
264
+
265
+ </span>
266
+
267
+
268
+
269
+
270
+
271
+
272
+
273
+
274
+
275
+ <span class="summary_desc"><div class='inline'><p>Returns a hash of Survival statistics for this user like revived teammates.</p>
276
+ </div></span>
277
+
278
+ </li>
279
+
280
+
281
+ <li class="public ">
282
+ <span class="summary_signature">
283
+
284
+ <a href="#teamplay_stats-instance_method" title="#teamplay_stats (instance method)">- (Hash&lt;String, Object&gt;) <strong>teamplay_stats</strong> </a>
285
+
286
+
287
+
288
+ </span>
289
+
290
+
291
+
292
+
293
+
294
+
295
+
296
+
297
+
298
+ <span class="summary_desc"><div class='inline'><p>Returns a hash of teamplay statistics for this user like revived teammates.</p>
299
+ </div></span>
300
+
301
+ </li>
302
+
303
+
304
+ <li class="public ">
305
+ <span class="summary_signature">
306
+
307
+ <a href="#versus_stats-instance_method" title="#versus_stats (instance method)">- (Hash&lt;String, Object&gt;) <strong>versus_stats</strong> </a>
308
+
309
+
310
+
311
+ </span>
312
+
313
+
314
+
315
+
316
+
317
+
318
+
319
+
320
+
321
+ <span class="summary_desc"><div class='inline'><p>Returns a hash of Versus statistics for this user like percentage of rounds won.</p>
322
+ </div></span>
323
+
324
+ </li>
325
+
326
+
327
+ </ul>
328
+
329
+
330
+
331
+ <div id="instance_attr_details" class="attr_details">
332
+ <h2>Instance Attribute Details</h2>
333
+
334
+
335
+ <span id=""></span>
336
+ <div class="method_details first">
337
+ <h3 class="signature first" id="most_recent_game-instance_method">
338
+
339
+ - (<tt>Hash&lt;String, Object&gt;</tt>) <strong>most_recent_game</strong> <span class="extras">(readonly)</span>
340
+
341
+
342
+
343
+
344
+
345
+ </h3><div class="docstring">
346
+ <div class="discussion">
347
+ <p>Returns a hash of statistics for this user&#39;s most recently played game</p>
348
+
349
+
350
+ </div>
351
+ </div>
352
+ <div class="tags">
353
+
354
+ <p class="tag_title">Returns:</p>
355
+ <ul class="return">
356
+
357
+ <li>
358
+
359
+
360
+ <span class='type'>(<tt>Hash&lt;String, Object&gt;</tt>)</span>
361
+
362
+
363
+
364
+ &mdash;
365
+ <div class='inline'><p>The most recent statistics for this user</p>
366
+ </div>
367
+
368
+ </li>
369
+
370
+ </ul>
371
+
372
+ </div><table class="source_code">
373
+ <tr>
374
+ <td>
375
+ <pre class="lines">
376
+
377
+
378
+ 23
379
+ 24
380
+ 25</pre>
381
+ </td>
382
+ <td>
383
+ <pre class="code"><span class="info file"># File 'lib/steam-condenser/community/l4d/abstract_l4d_stats.rb', line 23</span>
384
+
385
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_most_recent_game identifier id'>most_recent_game</span>
386
+ <span class='rubyid_@most_recent_game ivar id'>@most_recent_game</span>
387
+ <span class='rubyid_end end kw'>end</span>
388
+ </pre>
389
+ </td>
390
+ </tr>
391
+ </table>
392
+ </div>
393
+
394
+ </div>
395
+
396
+
397
+ <div id="instance_method_details" class="method_details_list">
398
+ <h2>Instance Method Details</h2>
399
+
400
+
401
+ <div class="method_details first">
402
+ <h3 class="signature first" id="favorites-instance_method">
403
+
404
+ - (<tt>Hash&lt;String, Object&gt;</tt>) <strong>favorites</strong>
405
+
406
+
407
+
408
+
409
+
410
+ </h3><div class="docstring">
411
+ <div class="discussion">
412
+ <p>Returns a hash of favorites for this user like weapons and character</p>
413
+
414
+ <p>If the favorites haven&#39;t been parsed already, parsing is done now.</p>
415
+
416
+
417
+ </div>
418
+ </div>
419
+ <div class="tags">
420
+
421
+ <p class="tag_title">Returns:</p>
422
+ <ul class="return">
423
+
424
+ <li>
425
+
426
+
427
+ <span class='type'>(<tt>Hash&lt;String, Object&gt;</tt>)</span>
428
+
429
+
430
+
431
+ &mdash;
432
+ <div class='inline'><p>The favorites of this user</p>
433
+ </div>
434
+
435
+ </li>
436
+
437
+ </ul>
438
+
439
+ </div><table class="source_code">
440
+ <tr>
441
+ <td>
442
+ <pre class="lines">
443
+
444
+
445
+ 50
446
+ 51
447
+ 52
448
+ 53
449
+ 54
450
+ 55
451
+ 56
452
+ 57
453
+ 58
454
+ 59
455
+ 60
456
+ 61
457
+ 62
458
+ 63
459
+ 64
460
+ 65
461
+ 66
462
+ 67
463
+ 68
464
+ 69</pre>
465
+ </td>
466
+ <td>
467
+ <pre class="code"><span class="info file"># File 'lib/steam-condenser/community/l4d/abstract_l4d_stats.rb', line 50</span>
468
+
469
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_favorites identifier id'>favorites</span>
470
+ <span class='rubyid_return return kw'>return</span> <span class='rubyid_unless unless_mod kw'>unless</span> <span class='rubyid_public? fid id'>public?</span>
471
+
472
+ <span class='rubyid_if if kw'>if</span> <span class='rubyid_@favorites ivar id'>@favorites</span><span class='dot token'>.</span><span class='rubyid_nil? fid id'>nil?</span>
473
+ <span class='rubyid_favorites_data identifier id'>favorites_data</span> <span class='assign token'>=</span> <span class='rubyid_@xml_data ivar id'>@xml_data</span><span class='lbrack token'>[</span><span class='string val'>'stats'</span><span class='rbrack token'>]</span><span class='lbrack token'>[</span><span class='string val'>'favorites'</span><span class='rbrack token'>]</span>
474
+
475
+ <span class='rubyid_@favorites ivar id'>@favorites</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span>
476
+ <span class='symbol val'>:campaign</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_favorites_data identifier id'>favorites_data</span><span class='lbrack token'>[</span><span class='string val'>'campaign'</span><span class='rbrack token'>]</span><span class='comma token'>,</span>
477
+ <span class='symbol val'>:campaign_percentage</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_favorites_data identifier id'>favorites_data</span><span class='lbrack token'>[</span><span class='string val'>'campaignpct'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
478
+ <span class='symbol val'>:character</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_favorites_data identifier id'>favorites_data</span><span class='lbrack token'>[</span><span class='string val'>'character'</span><span class='rbrack token'>]</span><span class='comma token'>,</span>
479
+ <span class='symbol val'>:character_percentage</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_favorites_data identifier id'>favorites_data</span><span class='lbrack token'>[</span><span class='string val'>'characterpct'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
480
+ <span class='symbol val'>:level1_weapon</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_favorites_data identifier id'>favorites_data</span><span class='lbrack token'>[</span><span class='string val'>'weapon1'</span><span class='rbrack token'>]</span><span class='comma token'>,</span>
481
+ <span class='symbol val'>:level1_weapon_percentage</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_favorites_data identifier id'>favorites_data</span><span class='lbrack token'>[</span><span class='string val'>'weapon1pct'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
482
+ <span class='symbol val'>:level2_weapon</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_favorites_data identifier id'>favorites_data</span><span class='lbrack token'>[</span><span class='string val'>'weapon2'</span><span class='rbrack token'>]</span><span class='comma token'>,</span>
483
+ <span class='symbol val'>:level2_weapon_percentage</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_favorites_data identifier id'>favorites_data</span><span class='lbrack token'>[</span><span class='string val'>'weapon2pct'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span>
484
+ <span class='rbrace token'>}</span>
485
+ <span class='rubyid_end end kw'>end</span>
486
+
487
+ <span class='rubyid_@favorites ivar id'>@favorites</span>
488
+ <span class='rubyid_end end kw'>end</span>
489
+ </pre>
490
+ </td>
491
+ </tr>
492
+ </table>
493
+ </div>
494
+
495
+ <div class="method_details ">
496
+ <h3 class="signature " id="initialize-instance_method">
497
+
498
+ - (<tt><span class='object_link'><a href="" title="SteamCondenser::Community::AbstractL4DStats (module)">AbstractL4DStats</a></span></tt>) <strong>initialize</strong>(steam_id, game_name)
499
+
500
+
501
+
502
+
503
+
504
+ </h3><div class="docstring">
505
+ <div class="discussion">
506
+ <p>Creates a new instance of statistics for both, Left4Dead and Left4Dead 2
507
+ parsing basic common data</p>
508
+
509
+
510
+ </div>
511
+ </div>
512
+ <div class="tags">
513
+ <p class="tag_title">Parameters:</p>
514
+ <ul class="param">
515
+
516
+ <li>
517
+
518
+ <span class='name'>steam_id</span>
519
+
520
+
521
+ <span class='type'>(<tt>String</tt>)</span>
522
+
523
+
524
+
525
+ &mdash;
526
+ <div class='inline'><p>The custom URL or 64bit Steam ID of the user</p>
527
+ </div>
528
+
529
+ </li>
530
+
531
+ <li>
532
+
533
+ <span class='name'>game_name</span>
534
+
535
+
536
+ <span class='type'>(<tt>String</tt>)</span>
537
+
538
+
539
+
540
+ &mdash;
541
+ <div class='inline'><p>The name of the game</p>
542
+ </div>
543
+
544
+ </li>
545
+
546
+ </ul>
547
+
548
+ <p class="tag_title">Returns:</p>
549
+ <ul class="return">
550
+
551
+ <li>
552
+
553
+
554
+ <span class='type'>(<tt><span class='object_link'><a href="" title="SteamCondenser::Community::AbstractL4DStats (module)">AbstractL4DStats</a></span></tt>)</span>
555
+
556
+
557
+
558
+ &mdash;
559
+ <div class='inline'><p>a new instance of AbstractL4DStats</p>
560
+ </div>
561
+
562
+ </li>
563
+
564
+ </ul>
565
+
566
+ </div><table class="source_code">
567
+ <tr>
568
+ <td>
569
+ <pre class="lines">
570
+
571
+
572
+ 30
573
+ 31
574
+ 32
575
+ 33
576
+ 34
577
+ 35
578
+ 36
579
+ 37
580
+ 38
581
+ 39
582
+ 40
583
+ 41
584
+ 42
585
+ 43</pre>
586
+ </td>
587
+ <td>
588
+ <pre class="code"><span class="info file"># File 'lib/steam-condenser/community/l4d/abstract_l4d_stats.rb', line 30</span>
589
+
590
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='rubyid_steam_id identifier id'>steam_id</span><span class='comma token'>,</span> <span class='rubyid_game_name identifier id'>game_name</span><span class='rparen token'>)</span>
591
+ <span class='rubyid_super super kw'>super</span> <span class='rubyid_steam_id identifier id'>steam_id</span><span class='comma token'>,</span> <span class='rubyid_game_name identifier id'>game_name</span>
592
+
593
+ <span class='rubyid_if if kw'>if</span> <span class='rubyid_public? fid id'>public?</span>
594
+ <span class='rubyid_most_recent_game_data identifier id'>most_recent_game_data</span> <span class='assign token'>=</span> <span class='rubyid_@xml_data ivar id'>@xml_data</span><span class='lbrack token'>[</span><span class='string val'>'stats'</span><span class='rbrack token'>]</span><span class='lbrack token'>[</span><span class='string val'>'mostrecentgame'</span><span class='rbrack token'>]</span>
595
+
596
+ <span class='rubyid_@most_recent_game ivar id'>@most_recent_game</span> <span class='assign token'>=</span> <span class='rubyid_most_recent_game_data identifier id'>most_recent_game_data</span><span class='dot token'>.</span><span class='rubyid_nil? fid id'>nil?</span> <span class='integer val'>? </span><span class='lbrace token'>{</span><span class='rbrace token'>}</span> <span class='colon op'>:</span> <span class='lbrace token'>{</span>
597
+ <span class='symbol val'>:difficulty</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_most_recent_game_data identifier id'>most_recent_game_data</span><span class='lbrack token'>[</span><span class='string val'>'difficulty'</span><span class='rbrack token'>]</span><span class='comma token'>,</span>
598
+ <span class='symbol val'>:escaped</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='lparen token'>(</span><span class='rubyid_most_recent_game_data identifier id'>most_recent_game_data</span><span class='lbrack token'>[</span><span class='string val'>'bEscaped'</span><span class='rbrack token'>]</span> <span class='eq op'>==</span> <span class='integer val'>1</span><span class='rparen token'>)</span><span class='comma token'>,</span>
599
+ <span class='symbol val'>:movie</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_most_recent_game_data identifier id'>most_recent_game_data</span><span class='lbrack token'>[</span><span class='string val'>'movie'</span><span class='rbrack token'>]</span><span class='comma token'>,</span>
600
+ <span class='symbol val'>:time_played</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_most_recent_game_data identifier id'>most_recent_game_data</span><span class='lbrack token'>[</span><span class='string val'>'time'</span><span class='rbrack token'>]</span>
601
+ <span class='rbrace token'>}</span>
602
+ <span class='rubyid_end end kw'>end</span>
603
+ <span class='rubyid_end end kw'>end</span>
604
+ </pre>
605
+ </td>
606
+ </tr>
607
+ </table>
608
+ </div>
609
+
610
+ <div class="method_details ">
611
+ <h3 class="signature " id="lifetime_stats-instance_method">
612
+
613
+ - (<tt>Hash&lt;String, Object&gt;</tt>) <strong>lifetime_stats</strong>
614
+
615
+
616
+
617
+
618
+
619
+ </h3><div class="docstring">
620
+ <div class="discussion">
621
+ <p>Returns a hash of lifetime statistics for this user like the time played</p>
622
+
623
+ <p>If the lifetime statistics haven&#39;t been parsed already, parsing is done
624
+ now.</p>
625
+
626
+
627
+ </div>
628
+ </div>
629
+ <div class="tags">
630
+
631
+ <p class="tag_title">Returns:</p>
632
+ <ul class="return">
633
+
634
+ <li>
635
+
636
+
637
+ <span class='type'>(<tt>Hash&lt;String, Object&gt;</tt>)</span>
638
+
639
+
640
+
641
+ &mdash;
642
+ <div class='inline'><p>The lifetime statistics for this user</p>
643
+ </div>
644
+
645
+ </li>
646
+
647
+ </ul>
648
+
649
+ </div><table class="source_code">
650
+ <tr>
651
+ <td>
652
+ <pre class="lines">
653
+
654
+
655
+ 77
656
+ 78
657
+ 79
658
+ 80
659
+ 81
660
+ 82
661
+ 83
662
+ 84
663
+ 85
664
+ 86
665
+ 87
666
+ 88
667
+ 89
668
+ 90
669
+ 91
670
+ 92
671
+ 93
672
+ 94
673
+ 95
674
+ 96
675
+ 97
676
+ 98</pre>
677
+ </td>
678
+ <td>
679
+ <pre class="code"><span class="info file"># File 'lib/steam-condenser/community/l4d/abstract_l4d_stats.rb', line 77</span>
680
+
681
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_lifetime_stats identifier id'>lifetime_stats</span>
682
+ <span class='rubyid_return return kw'>return</span> <span class='rubyid_unless unless_mod kw'>unless</span> <span class='rubyid_public? fid id'>public?</span>
683
+
684
+ <span class='rubyid_if if kw'>if</span> <span class='rubyid_@lifetime_stats ivar id'>@lifetime_stats</span><span class='dot token'>.</span><span class='rubyid_nil? fid id'>nil?</span>
685
+ <span class='rubyid_lifetime_data identifier id'>lifetime_data</span> <span class='assign token'>=</span> <span class='rubyid_@xml_data ivar id'>@xml_data</span><span class='lbrack token'>[</span><span class='string val'>'stats'</span><span class='rbrack token'>]</span><span class='lbrack token'>[</span><span class='string val'>'lifetime'</span><span class='rbrack token'>]</span>
686
+
687
+ <span class='rubyid_@lifetime_stats ivar id'>@lifetime_stats</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span>
688
+ <span class='symbol val'>:finales_survived</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_lifetime_data identifier id'>lifetime_data</span><span class='lbrack token'>[</span><span class='string val'>'finales'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
689
+ <span class='symbol val'>:games_played</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_lifetime_data identifier id'>lifetime_data</span><span class='lbrack token'>[</span><span class='string val'>'gamesplayed'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
690
+ <span class='symbol val'>:infected_killed</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_lifetime_data identifier id'>lifetime_data</span><span class='lbrack token'>[</span><span class='string val'>'infectedkilled'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
691
+ <span class='symbol val'>:kills_per_hour</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_lifetime_data identifier id'>lifetime_data</span><span class='lbrack token'>[</span><span class='string val'>'killsperhour'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_f identifier id'>to_f</span><span class='comma token'>,</span>
692
+ <span class='symbol val'>:avg_kits_shared</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_lifetime_data identifier id'>lifetime_data</span><span class='lbrack token'>[</span><span class='string val'>'kitsshared'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_f identifier id'>to_f</span><span class='comma token'>,</span>
693
+ <span class='symbol val'>:avg_kits_used</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_lifetime_data identifier id'>lifetime_data</span><span class='lbrack token'>[</span><span class='string val'>'kitsused'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_f identifier id'>to_f</span><span class='comma token'>,</span>
694
+ <span class='symbol val'>:avg_pills_shared</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_lifetime_data identifier id'>lifetime_data</span><span class='lbrack token'>[</span><span class='string val'>'pillsshared'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_f identifier id'>to_f</span><span class='comma token'>,</span>
695
+ <span class='symbol val'>:avg_pills_used</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_lifetime_data identifier id'>lifetime_data</span><span class='lbrack token'>[</span><span class='string val'>'pillsused'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_f identifier id'>to_f</span><span class='comma token'>,</span>
696
+ <span class='symbol val'>:time_played</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_lifetime_data identifier id'>lifetime_data</span><span class='lbrack token'>[</span><span class='string val'>'timeplayed'</span><span class='rbrack token'>]</span><span class='comma token'>,</span>
697
+ <span class='symbol val'>:finales_survived_percentage</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_@lifetime_stats ivar id'>@lifetime_stats</span><span class='lbrack token'>[</span><span class='symbol val'>:finales_survived</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_f identifier id'>to_f</span> <span class='div op'>/</span> <span class='rubyid_@lifetime_stats ivar id'>@lifetime_stats</span><span class='lbrack token'>[</span><span class='symbol val'>:games_played</span><span class='rbrack token'>]</span>
698
+ <span class='rbrace token'>}</span>
699
+ <span class='rubyid_end end kw'>end</span>
700
+
701
+ <span class='rubyid_@lifetime_stats ivar id'>@lifetime_stats</span>
702
+ <span class='rubyid_end end kw'>end</span>
703
+ </pre>
704
+ </td>
705
+ </tr>
706
+ </table>
707
+ </div>
708
+
709
+ <div class="method_details ">
710
+ <h3 class="signature " id="survival_stats-instance_method">
711
+
712
+ - (<tt>Hash&lt;String, Object&gt;</tt>) <strong>survival_stats</strong>
713
+
714
+
715
+
716
+
717
+
718
+ </h3><div class="docstring">
719
+ <div class="discussion">
720
+ <p>Returns a hash of Survival statistics for this user like revived
721
+ teammates</p>
722
+
723
+ <p>If the Survival statistics haven&#39;t been parsed already, parsing is done
724
+ now.</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>Hash&lt;String, Object&gt;</tt>)</span>
738
+
739
+
740
+
741
+ &mdash;
742
+ <div class='inline'><p>The Survival statistics for this user</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
+ 107
756
+ 108
757
+ 109
758
+ 110
759
+ 111
760
+ 112
761
+ 113
762
+ 114
763
+ 115
764
+ 116
765
+ 117
766
+ 118
767
+ 119
768
+ 120
769
+ 121
770
+ 122
771
+ 123</pre>
772
+ </td>
773
+ <td>
774
+ <pre class="code"><span class="info file"># File 'lib/steam-condenser/community/l4d/abstract_l4d_stats.rb', line 107</span>
775
+
776
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_survival_stats identifier id'>survival_stats</span>
777
+ <span class='rubyid_return return kw'>return</span> <span class='rubyid_unless unless_mod kw'>unless</span> <span class='rubyid_public? fid id'>public?</span>
778
+
779
+ <span class='rubyid_if if kw'>if</span> <span class='rubyid_@survival_stats ivar id'>@survival_stats</span><span class='dot token'>.</span><span class='rubyid_nil? fid id'>nil?</span>
780
+ <span class='rubyid_survival_data identifier id'>survival_data</span> <span class='assign token'>=</span> <span class='rubyid_@xml_data ivar id'>@xml_data</span><span class='lbrack token'>[</span><span class='string val'>'stats'</span><span class='rbrack token'>]</span><span class='lbrack token'>[</span><span class='string val'>'survival'</span><span class='rbrack token'>]</span>
781
+
782
+ <span class='rubyid_@survival_stats ivar id'>@survival_stats</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span>
783
+ <span class='symbol val'>:gold_medals</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_survival_data identifier id'>survival_data</span><span class='lbrack token'>[</span><span class='string val'>'goldmedals'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
784
+ <span class='symbol val'>:silver_medals</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_survival_data identifier id'>survival_data</span><span class='lbrack token'>[</span><span class='string val'>'silvermedals'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
785
+ <span class='symbol val'>:bronze_medals</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_survival_data identifier id'>survival_data</span><span class='lbrack token'>[</span><span class='string val'>'bronzemedals'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
786
+ <span class='symbol val'>:rounds_played</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_survival_data identifier id'>survival_data</span><span class='lbrack token'>[</span><span class='string val'>'roundsplayed'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
787
+ <span class='symbol val'>:best_time</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_survival_data identifier id'>survival_data</span><span class='lbrack token'>[</span><span class='string val'>'besttime'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_f identifier id'>to_f</span>
788
+ <span class='rbrace token'>}</span>
789
+ <span class='rubyid_end end kw'>end</span>
790
+
791
+ <span class='rubyid_@survival_stats ivar id'>@survival_stats</span>
792
+ <span class='rubyid_end end kw'>end</span>
793
+ </pre>
794
+ </td>
795
+ </tr>
796
+ </table>
797
+ </div>
798
+
799
+ <div class="method_details ">
800
+ <h3 class="signature " id="teamplay_stats-instance_method">
801
+
802
+ - (<tt>Hash&lt;String, Object&gt;</tt>) <strong>teamplay_stats</strong>
803
+
804
+
805
+
806
+
807
+
808
+ </h3><div class="docstring">
809
+ <div class="discussion">
810
+ <p>Returns a hash of teamplay statistics for this user like revived
811
+ teammates</p>
812
+
813
+ <p>If the teamplay statistics haven&#39;t been parsed already, parsing is done
814
+ now.</p>
815
+
816
+
817
+ </div>
818
+ </div>
819
+ <div class="tags">
820
+
821
+ <p class="tag_title">Returns:</p>
822
+ <ul class="return">
823
+
824
+ <li>
825
+
826
+
827
+ <span class='type'>(<tt>Hash&lt;String, Object&gt;</tt>)</span>
828
+
829
+
830
+
831
+ &mdash;
832
+ <div class='inline'><p>The teamplay statistics for this</p>
833
+ </div>
834
+
835
+ </li>
836
+
837
+ </ul>
838
+
839
+ </div><table class="source_code">
840
+ <tr>
841
+ <td>
842
+ <pre class="lines">
843
+
844
+
845
+ 132
846
+ 133
847
+ 134
848
+ 135
849
+ 136
850
+ 137
851
+ 138
852
+ 139
853
+ 140
854
+ 141
855
+ 142
856
+ 143
857
+ 144
858
+ 145
859
+ 146
860
+ 147
861
+ 148
862
+ 149
863
+ 150
864
+ 151
865
+ 152
866
+ 153
867
+ 154</pre>
868
+ </td>
869
+ <td>
870
+ <pre class="code"><span class="info file"># File 'lib/steam-condenser/community/l4d/abstract_l4d_stats.rb', line 132</span>
871
+
872
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_teamplay_stats identifier id'>teamplay_stats</span>
873
+ <span class='rubyid_return return kw'>return</span> <span class='rubyid_unless unless_mod kw'>unless</span> <span class='rubyid_public? fid id'>public?</span>
874
+
875
+ <span class='rubyid_if if kw'>if</span> <span class='rubyid_@teamplay_stats ivar id'>@teamplay_stats</span><span class='dot token'>.</span><span class='rubyid_nil? fid id'>nil?</span>
876
+ <span class='rubyid_teamplay_data identifier id'>teamplay_data</span> <span class='assign token'>=</span> <span class='rubyid_@xml_data ivar id'>@xml_data</span><span class='lbrack token'>[</span><span class='string val'>'stats'</span><span class='rbrack token'>]</span><span class='lbrack token'>[</span><span class='string val'>'teamplay'</span><span class='rbrack token'>]</span>
877
+
878
+ <span class='rubyid_@teamplay_stats ivar id'>@teamplay_stats</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span>
879
+ <span class='symbol val'>:revived</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_teamplay_data identifier id'>teamplay_data</span><span class='lbrack token'>[</span><span class='string val'>'revived'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
880
+ <span class='symbol val'>:most_revived_difficulty</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_teamplay_data identifier id'>teamplay_data</span><span class='lbrack token'>[</span><span class='string val'>'reviveddiff'</span><span class='rbrack token'>]</span><span class='comma token'>,</span>
881
+ <span class='symbol val'>:avg_revived</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_teamplay_data identifier id'>teamplay_data</span><span class='lbrack token'>[</span><span class='string val'>'revivedavg'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_f identifier id'>to_f</span><span class='comma token'>,</span>
882
+ <span class='symbol val'>:avg_was_revived</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_teamplay_data identifier id'>teamplay_data</span><span class='lbrack token'>[</span><span class='string val'>'wasrevivedavg'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_f identifier id'>to_f</span><span class='comma token'>,</span>
883
+ <span class='symbol val'>:protected</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_teamplay_data identifier id'>teamplay_data</span><span class='lbrack token'>[</span><span class='string val'>'protected'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
884
+ <span class='symbol val'>:most_protected_difficulty</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_teamplay_data identifier id'>teamplay_data</span><span class='lbrack token'>[</span><span class='string val'>'protecteddiff'</span><span class='rbrack token'>]</span><span class='comma token'>,</span>
885
+ <span class='symbol val'>:avg_protected</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_teamplay_data identifier id'>teamplay_data</span><span class='lbrack token'>[</span><span class='string val'>'protectedavg'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_f identifier id'>to_f</span><span class='comma token'>,</span>
886
+ <span class='symbol val'>:avg_was_protected</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_teamplay_data identifier id'>teamplay_data</span><span class='lbrack token'>[</span><span class='string val'>'wasprotectedavg'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_f identifier id'>to_f</span><span class='comma token'>,</span>
887
+ <span class='symbol val'>:friendly_fire_damage</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_teamplay_data identifier id'>teamplay_data</span><span class='lbrack token'>[</span><span class='string val'>'ffdamage'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
888
+ <span class='symbol val'>:most_friendly_fire_difficulty</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_teamplay_data identifier id'>teamplay_data</span><span class='lbrack token'>[</span><span class='string val'>'ffdamagediff'</span><span class='rbrack token'>]</span><span class='comma token'>,</span>
889
+ <span class='symbol val'>:avg_friendly_fire_damage</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_teamplay_data identifier id'>teamplay_data</span><span class='lbrack token'>[</span><span class='string val'>'ffdamageavg'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_f identifier id'>to_f</span>
890
+ <span class='rbrace token'>}</span>
891
+ <span class='rubyid_end end kw'>end</span>
892
+
893
+ <span class='rubyid_@teamplay_stats ivar id'>@teamplay_stats</span>
894
+ <span class='rubyid_end end kw'>end</span>
895
+ </pre>
896
+ </td>
897
+ </tr>
898
+ </table>
899
+ </div>
900
+
901
+ <div class="method_details ">
902
+ <h3 class="signature " id="versus_stats-instance_method">
903
+
904
+ - (<tt>Hash&lt;String, Object&gt;</tt>) <strong>versus_stats</strong>
905
+
906
+
907
+
908
+
909
+
910
+ </h3><div class="docstring">
911
+ <div class="discussion">
912
+ <p>Returns a hash of Versus statistics for this user like percentage of
913
+ rounds won</p>
914
+
915
+ <p>If the Versus statistics haven&#39;t been parsed already, parsing is done
916
+ now.</p>
917
+
918
+
919
+ </div>
920
+ </div>
921
+ <div class="tags">
922
+
923
+ <p class="tag_title">Returns:</p>
924
+ <ul class="return">
925
+
926
+ <li>
927
+
928
+
929
+ <span class='type'>(<tt>Hash&lt;String, Object&gt;</tt>)</span>
930
+
931
+
932
+
933
+ &mdash;
934
+ <div class='inline'><p>The Versus statistics for this user</p>
935
+ </div>
936
+
937
+ </li>
938
+
939
+ </ul>
940
+
941
+ </div><table class="source_code">
942
+ <tr>
943
+ <td>
944
+ <pre class="lines">
945
+
946
+
947
+ 163
948
+ 164
949
+ 165
950
+ 166
951
+ 167
952
+ 168
953
+ 169
954
+ 170
955
+ 171
956
+ 172
957
+ 173
958
+ 174
959
+ 175
960
+ 176
961
+ 177
962
+ 178
963
+ 179
964
+ 180
965
+ 181
966
+ 182
967
+ 183
968
+ 184
969
+ 185
970
+ 186
971
+ 187
972
+ 188
973
+ 189
974
+ 190
975
+ 191</pre>
976
+ </td>
977
+ <td>
978
+ <pre class="code"><span class="info file"># File 'lib/steam-condenser/community/l4d/abstract_l4d_stats.rb', line 163</span>
979
+
980
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_versus_stats identifier id'>versus_stats</span>
981
+ <span class='rubyid_return return kw'>return</span> <span class='rubyid_unless unless_mod kw'>unless</span> <span class='rubyid_public? fid id'>public?</span>
982
+
983
+ <span class='rubyid_if if kw'>if</span> <span class='rubyid_@versus_stats ivar id'>@versus_stats</span><span class='dot token'>.</span><span class='rubyid_nil? fid id'>nil?</span>
984
+ <span class='rubyid_versus_data identifier id'>versus_data</span> <span class='assign token'>=</span> <span class='rubyid_@xml_data ivar id'>@xml_data</span><span class='lbrack token'>[</span><span class='string val'>'stats'</span><span class='rbrack token'>]</span><span class='lbrack token'>[</span><span class='string val'>'versus'</span><span class='rbrack token'>]</span>
985
+
986
+ <span class='rubyid_@versus_stats ivar id'>@versus_stats</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span>
987
+ <span class='symbol val'>:games_played</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_versus_data identifier id'>versus_data</span><span class='lbrack token'>[</span><span class='string val'>'gamesplayed'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
988
+ <span class='symbol val'>:games_completed</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_versus_data identifier id'>versus_data</span><span class='lbrack token'>[</span><span class='string val'>'gamescompleted'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
989
+ <span class='symbol val'>:finales_survived</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_versus_data identifier id'>versus_data</span><span class='lbrack token'>[</span><span class='string val'>'finales'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
990
+ <span class='symbol val'>:points</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_versus_data identifier id'>versus_data</span><span class='lbrack token'>[</span><span class='string val'>'points'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
991
+ <span class='symbol val'>:most_points_infected</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_versus_data identifier id'>versus_data</span><span class='lbrack token'>[</span><span class='string val'>'pointsas'</span><span class='rbrack token'>]</span><span class='comma token'>,</span>
992
+ <span class='symbol val'>:games_won</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_versus_data identifier id'>versus_data</span><span class='lbrack token'>[</span><span class='string val'>'gameswon'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
993
+ <span class='symbol val'>:games_lost</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_versus_data identifier id'>versus_data</span><span class='lbrack token'>[</span><span class='string val'>'gameslost'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
994
+ <span class='symbol val'>:highest_survivor_score</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_versus_data identifier id'>versus_data</span><span class='lbrack token'>[</span><span class='string val'>'survivorscore'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
995
+ <span class='symbol val'>:finales_survived_percentage</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_@versus_stats ivar id'>@versus_stats</span><span class='lbrack token'>[</span><span class='symbol val'>:finales_survived</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_f identifier id'>to_f</span> <span class='div op'>/</span> <span class='rubyid_@versus_stats ivar id'>@versus_stats</span><span class='lbrack token'>[</span><span class='symbol val'>:games_played</span><span class='rbrack token'>]</span>
996
+ <span class='rbrace token'>}</span>
997
+
998
+ <span class='rubyid_self self kw'>self</span><span class='dot token'>.</span><span class='rubyid_class identifier id'>class</span><span class='dot token'>.</span><span class='rubyid_const_get identifier id'>const_get</span><span class='lparen token'>(</span><span class='symbol val'>:SPECIAL_INFECTED</span><span class='rparen token'>)</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_infected identifier id'>infected</span><span class='bitor op'>|</span>
999
+ <span class='rubyid_@versus_stats ivar id'>@versus_stats</span><span class='lbrack token'>[</span><span class='rubyid_infected identifier id'>infected</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span>
1000
+ <span class='symbol val'>:special_attacks</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_versus_data identifier id'>versus_data</span><span class='lbrack token'>[</span><span class='dstring node'>&quot;#{infected}special&quot;</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
1001
+ <span class='symbol val'>:most_damage</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_versus_data identifier id'>versus_data</span><span class='lbrack token'>[</span><span class='dstring node'>&quot;#{infected}dmg&quot;</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
1002
+ <span class='symbol val'>:avg_lifespan</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_versus_data identifier id'>versus_data</span><span class='lbrack token'>[</span><span class='dstring node'>&quot;#{infected}lifespan&quot;</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span>
1003
+ <span class='rbrace token'>}</span>
1004
+ <span class='rubyid_end end kw'>end</span>
1005
+ <span class='rubyid_end end kw'>end</span>
1006
+
1007
+ <span class='rubyid_@versus_stats ivar id'>@versus_stats</span>
1008
+ <span class='rubyid_end end kw'>end</span>
1009
+ </pre>
1010
+ </td>
1011
+ </tr>
1012
+ </table>
1013
+ </div>
1014
+
1015
+ </div>
1016
+
1017
+ </div>
1018
+
1019
+ <div id="footer">
1020
+ Generated on Wed Aug 14 21:47:44 2013 by
1021
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1022
+ 0.8.7 (ruby-1.8.7).
1023
+ </div>
1024
+
1025
+ </body>
1026
+ </html>