steam-condenser 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (371) hide show
  1. data/Gemfile.lock +7 -7
  2. data/README.md +9 -2
  3. data/doc/A2M_GET_SERVERS_BATCH2_Packet.html +426 -0
  4. data/doc/A2S_INFO_Packet.html +260 -0
  5. data/doc/A2S_PLAYER_Packet.html +295 -0
  6. data/doc/A2S_RULES_Packet.html +296 -0
  7. data/doc/A2S_SERVERQUERY_GETCHALLENGE_Packet.html +261 -0
  8. data/doc/AbstractL4DStats.html +978 -0
  9. data/doc/AbstractL4DWeapon.html +734 -0
  10. data/doc/Achievement.html +660 -0
  11. data/doc/AlienSwarmMission.html +1557 -0
  12. data/doc/AlienSwarmStats.html +965 -0
  13. data/doc/AlienSwarmWeapon.html +640 -0
  14. data/doc/AppNews.html +1442 -0
  15. data/doc/C2M_CHECKMD5_Packet.html +341 -0
  16. data/doc/CSSMap.html +806 -0
  17. data/doc/CSSStats.html +825 -0
  18. data/doc/CSSWeapon.html +889 -0
  19. data/doc/Cacheable.html +913 -0
  20. data/doc/Cacheable/ClassMethods.html +696 -0
  21. data/doc/DefenseGridStats.html +2559 -0
  22. data/doc/DoDSClass.html +1264 -0
  23. data/doc/DoDSStats.html +486 -0
  24. data/doc/DoDSWeapon.html +806 -0
  25. data/doc/Dota2BetaInventory.html +339 -0
  26. data/doc/Dota2Inventory.html +339 -0
  27. data/doc/Dota2Item.html +388 -0
  28. data/doc/Dota2Stats.html +366 -0
  29. data/doc/GameAchievement.html +1257 -0
  30. data/doc/GameClass.html +321 -0
  31. data/doc/GameInventory.html +1363 -0
  32. data/doc/GameItem.html +1339 -0
  33. data/doc/GameLeaderboard.html +1609 -0
  34. data/doc/GameLeaderboardEntry.html +629 -0
  35. data/doc/GameSchema.html +568 -0
  36. data/doc/GameServer.html +2405 -0
  37. data/doc/GameStats.html +1461 -0
  38. data/doc/GameWeapon.html +590 -0
  39. data/doc/GoldSrcServer.html +740 -0
  40. data/doc/GoldSrcSocket.html +850 -0
  41. data/doc/ItemSchema.html +780 -0
  42. data/doc/L4D2Map.html +739 -0
  43. data/doc/L4D2Stats.html +930 -0
  44. data/doc/L4D2Weapon.html +486 -0
  45. data/doc/L4DExplosive.html +374 -0
  46. data/doc/L4DMap.html +776 -0
  47. data/doc/L4DStats.html +530 -0
  48. data/doc/L4DWeapon.html +296 -0
  49. data/doc/M2A_SERVER_BATCH_Packet.html +430 -0
  50. data/doc/M2C_ISVALIDMD5_Packet.html +383 -0
  51. data/doc/M2S_REQUESTRESTART_Packet.html +382 -0
  52. data/doc/MasterServer.html +1070 -0
  53. data/doc/MasterServerSocket.html +293 -0
  54. data/doc/Module.html +194 -0
  55. data/doc/PacketFormatError.html +257 -0
  56. data/doc/Portal2Inventory.html +339 -0
  57. data/doc/Portal2Item.html +499 -0
  58. data/doc/Portal2Stats.html +368 -0
  59. data/doc/RCONAuthRequest.html +318 -0
  60. data/doc/RCONAuthResponse.html +305 -0
  61. data/doc/RCONBanError.html +247 -0
  62. data/doc/RCONExecRequest.html +318 -0
  63. data/doc/RCONExecResponse.html +407 -0
  64. data/doc/RCONGoldSrcRequest.html +363 -0
  65. data/doc/RCONGoldSrcResponse.html +367 -0
  66. data/doc/RCONNoAuthError.html +247 -0
  67. data/doc/RCONPacket.html +548 -0
  68. data/doc/RCONPacketFactory.html +300 -0
  69. data/doc/RCONSocket.html +669 -0
  70. data/doc/RCONTerminator.html +304 -0
  71. data/doc/RequestWithChallenge.html +233 -0
  72. data/doc/S2A_INFO2_Packet.html +371 -0
  73. data/doc/S2A_INFO_BasePacket.html +357 -0
  74. data/doc/S2A_INFO_DETAILED_Packet.html +370 -0
  75. data/doc/S2A_LOGSTRING_Packet.html +373 -0
  76. data/doc/S2A_PLAYER_Packet.html +417 -0
  77. data/doc/S2A_RULES_Packet.html +411 -0
  78. data/doc/S2C_CHALLENGE_Packet.html +370 -0
  79. data/doc/S2M_HEARTBEAT2_Packet.html +444 -0
  80. data/doc/Server.html +781 -0
  81. data/doc/SourceServer.html +776 -0
  82. data/doc/SourceSocket.html +366 -0
  83. data/doc/StatsAttribute.html +514 -0
  84. data/doc/SteamCondenser.html +155 -0
  85. data/doc/SteamCondenser/A2M_GET_SERVERS_BATCH2_Packet.html +413 -0
  86. data/doc/SteamCondenser/A2S_INFO_Packet.html +249 -0
  87. data/doc/SteamCondenser/A2S_PLAYER_Packet.html +281 -0
  88. data/doc/SteamCondenser/A2S_RULES_Packet.html +282 -0
  89. data/doc/SteamCondenser/A2S_SERVERQUERY_GETCHALLENGE_Packet.html +250 -0
  90. data/doc/SteamCondenser/AbstractL4DStats.html +954 -0
  91. data/doc/SteamCondenser/AbstractL4DWeapon.html +703 -0
  92. data/doc/SteamCondenser/AlienSwarmMission.html +1494 -0
  93. data/doc/SteamCondenser/AlienSwarmStats.html +938 -0
  94. data/doc/SteamCondenser/AlienSwarmWeapon.html +614 -0
  95. data/doc/SteamCondenser/AppNews.html +1387 -0
  96. data/doc/SteamCondenser/C2M_CHECKMD5_Packet.html +327 -0
  97. data/doc/SteamCondenser/CSSMap.html +774 -0
  98. data/doc/SteamCondenser/CSSStats.html +799 -0
  99. data/doc/SteamCondenser/CSSWeapon.html +855 -0
  100. data/doc/SteamCondenser/Cacheable.html +698 -0
  101. data/doc/SteamCondenser/Cacheable/ClassMethods.html +531 -0
  102. data/doc/SteamCondenser/Community.html +134 -0
  103. data/doc/SteamCondenser/DefenseGridStats.html +2455 -0
  104. data/doc/SteamCondenser/DoDSClass.html +1209 -0
  105. data/doc/SteamCondenser/DoDSStats.html +470 -0
  106. data/doc/SteamCondenser/DoDSWeapon.html +774 -0
  107. data/doc/SteamCondenser/Error.html +156 -0
  108. data/doc/SteamCondenser/Error/PacketFormat.html +246 -0
  109. data/doc/SteamCondenser/Error/RCONBan.html +237 -0
  110. data/doc/SteamCondenser/Error/RCONNoAuth.html +236 -0
  111. data/doc/SteamCondenser/Error/Timeout.html +238 -0
  112. data/doc/SteamCondenser/Error/WebApi.html +339 -0
  113. data/doc/SteamCondenser/GameAchievement.html +1210 -0
  114. data/doc/SteamCondenser/GameClass.html +306 -0
  115. data/doc/SteamCondenser/GameInventory.html +1236 -0
  116. data/doc/SteamCondenser/GameItem.html +1282 -0
  117. data/doc/SteamCondenser/GameLeaderboard.html +1562 -0
  118. data/doc/SteamCondenser/GameLeaderboardEntry.html +604 -0
  119. data/doc/SteamCondenser/GameServer.html +2337 -0
  120. data/doc/SteamCondenser/GameStats.html +1416 -0
  121. data/doc/SteamCondenser/GameWeapon.html +566 -0
  122. data/doc/SteamCondenser/GoldSrcServer.html +716 -0
  123. data/doc/SteamCondenser/GoldSrcSocket.html +831 -0
  124. data/doc/SteamCondenser/L4D2Map.html +713 -0
  125. data/doc/SteamCondenser/L4D2Stats.html +906 -0
  126. data/doc/SteamCondenser/L4D2Weapon.html +466 -0
  127. data/doc/SteamCondenser/L4DExplosive.html +362 -0
  128. data/doc/SteamCondenser/L4DMap.html +746 -0
  129. data/doc/SteamCondenser/L4DStats.html +513 -0
  130. data/doc/SteamCondenser/L4DWeapon.html +284 -0
  131. data/doc/SteamCondenser/M2A_SERVER_BATCH_Packet.html +415 -0
  132. data/doc/SteamCondenser/M2C_ISVALIDMD5_Packet.html +368 -0
  133. data/doc/SteamCondenser/M2S_REQUESTRESTART_Packet.html +367 -0
  134. data/doc/SteamCondenser/MasterServer.html +1046 -0
  135. data/doc/SteamCondenser/MasterServerSocket.html +282 -0
  136. data/doc/SteamCondenser/Portal2Inventory.html +217 -0
  137. data/doc/SteamCondenser/Portal2Item.html +483 -0
  138. data/doc/SteamCondenser/Portal2Stats.html +353 -0
  139. data/doc/SteamCondenser/RCONAuthRequest.html +306 -0
  140. data/doc/SteamCondenser/RCONAuthResponse.html +293 -0
  141. data/doc/SteamCondenser/RCONExecRequest.html +306 -0
  142. data/doc/SteamCondenser/RCONExecResponse.html +392 -0
  143. data/doc/SteamCondenser/RCONGoldSrcRequest.html +349 -0
  144. data/doc/SteamCondenser/RCONGoldSrcResponse.html +354 -0
  145. data/doc/SteamCondenser/RCONPacket.html +530 -0
  146. data/doc/SteamCondenser/RCONPacketFactory.html +293 -0
  147. data/doc/SteamCondenser/RCONSocket.html +649 -0
  148. data/doc/SteamCondenser/RCONTerminator.html +292 -0
  149. data/doc/SteamCondenser/RequestWithChallenge.html +223 -0
  150. data/doc/SteamCondenser/S2A_INFO2_Packet.html +359 -0
  151. data/doc/SteamCondenser/S2A_INFO_BasePacket.html +342 -0
  152. data/doc/SteamCondenser/S2A_INFO_DETAILED_Packet.html +358 -0
  153. data/doc/SteamCondenser/S2A_LOGSTRING_Packet.html +358 -0
  154. data/doc/SteamCondenser/S2A_PLAYER_Packet.html +402 -0
  155. data/doc/SteamCondenser/S2A_RULES_Packet.html +396 -0
  156. data/doc/SteamCondenser/S2C_CHALLENGE_Packet.html +356 -0
  157. data/doc/SteamCondenser/S2M_HEARTBEAT2_Packet.html +430 -0
  158. data/doc/SteamCondenser/Server.html +754 -0
  159. data/doc/SteamCondenser/Servers.html +133 -0
  160. data/doc/SteamCondenser/SourceServer.html +752 -0
  161. data/doc/SteamCondenser/SourceSocket.html +355 -0
  162. data/doc/SteamCondenser/SteamGame.html +1802 -0
  163. data/doc/SteamCondenser/SteamGroup.html +969 -0
  164. data/doc/SteamCondenser/SteamId.html +4242 -0
  165. data/doc/SteamCondenser/SteamPacket.html +456 -0
  166. data/doc/SteamCondenser/SteamPacketFactory.html +521 -0
  167. data/doc/SteamCondenser/SteamPlayer.html +1696 -0
  168. data/doc/SteamCondenser/SteamSocket.html +679 -0
  169. data/doc/SteamCondenser/TF2BetaInventory.html +198 -0
  170. data/doc/SteamCondenser/TF2Class.html +1145 -0
  171. data/doc/SteamCondenser/TF2ClassFactory.html +263 -0
  172. data/doc/SteamCondenser/TF2Engineer.html +534 -0
  173. data/doc/SteamCondenser/TF2GoldenWrench.html +731 -0
  174. data/doc/SteamCondenser/TF2Inventory.html +217 -0
  175. data/doc/SteamCondenser/TF2Item.html +482 -0
  176. data/doc/SteamCondenser/TF2Medic.html +445 -0
  177. data/doc/SteamCondenser/TF2Sniper.html +357 -0
  178. data/doc/SteamCondenser/TF2Spy.html +531 -0
  179. data/doc/SteamCondenser/TF2Stats.html +670 -0
  180. data/doc/SteamCondenser/TimeoutError.html +249 -0
  181. data/doc/SteamCondenser/WebApi.html +999 -0
  182. data/doc/SteamCondenser/XMLData.html +171 -0
  183. data/doc/SteamCondenserError.html +153 -0
  184. data/doc/SteamGame.html +1859 -0
  185. data/doc/SteamGroup.html +1012 -0
  186. data/doc/SteamId.html +4369 -0
  187. data/doc/SteamPacket.html +469 -0
  188. data/doc/SteamPacketFactory.html +545 -0
  189. data/doc/SteamPlayer.html +1766 -0
  190. data/doc/SteamSocket.html +699 -0
  191. data/doc/StringIO.html +947 -0
  192. data/doc/TF2BetaInventory.html +315 -0
  193. data/doc/TF2Class.html +1194 -0
  194. data/doc/TF2ClassFactory.html +273 -0
  195. data/doc/TF2Engineer.html +558 -0
  196. data/doc/TF2GoldenWrench.html +760 -0
  197. data/doc/TF2Inventory.html +339 -0
  198. data/doc/TF2Item.html +499 -0
  199. data/doc/TF2Medic.html +465 -0
  200. data/doc/TF2Sniper.html +373 -0
  201. data/doc/TF2Spy.html +555 -0
  202. data/doc/TF2Stats.html +696 -0
  203. data/doc/WebApi.html +1021 -0
  204. data/doc/WebApiError.html +347 -0
  205. data/doc/XMLData.html +253 -0
  206. data/doc/_index.html +717 -0
  207. data/doc/class_list.html +53 -0
  208. data/doc/css/common.css +1 -0
  209. data/doc/css/full_list.css +57 -0
  210. data/doc/css/style.css +328 -0
  211. data/doc/file.LICENSE.html +100 -0
  212. data/doc/file.README.html +136 -0
  213. data/doc/file_list.html +58 -0
  214. data/doc/frames.html +28 -0
  215. data/doc/index.html +136 -0
  216. data/doc/js/app.js +214 -0
  217. data/doc/js/full_list.js +173 -0
  218. data/doc/js/jquery.js +4 -0
  219. data/doc/method_list.html +3988 -0
  220. data/doc/methods_list.html +3900 -0
  221. data/doc/top-level-namespace.html +114 -0
  222. data/lib/steam-condenser/version.rb +1 -1
  223. data/lib/steam/community/cacheable.rb +105 -44
  224. data/lib/steam/community/dota2/dota2_beta_inventory.rb +27 -0
  225. data/lib/steam/community/dota2/dota2_inventory.rb +27 -0
  226. data/lib/steam/community/dota2/dota2_item.rb +33 -0
  227. data/lib/steam/community/game_inventory.rb +18 -16
  228. data/lib/steam/community/game_leaderboard.rb +2 -2
  229. data/lib/steam/community/game_stats.rb +1 -1
  230. data/lib/steam/community/portal2/portal2_inventory.rb +11 -9
  231. data/lib/steam/community/steam_game.rb +0 -2
  232. data/lib/steam/community/steam_group.rb +2 -7
  233. data/lib/steam/community/steam_id.rb +2 -7
  234. data/lib/steam/community/tf2/tf2_beta_inventory.rb +11 -8
  235. data/lib/steam/community/tf2/tf2_inventory.rb +11 -9
  236. data/lib/steam/community/xml_data.rb +8 -1
  237. data/lib/steam/packets/a2s_player_packet.rb +1 -1
  238. data/lib/steam/packets/a2s_rules_packet.rb +1 -1
  239. data/lib/steam/servers/master_server.rb +3 -2
  240. data/lib/steam/sockets/rcon_socket.rb +1 -2
  241. data/pkg/steam-condenser-1.2.0.gem +0 -0
  242. data/pkg/steam-condenser-1.2.0/Gemfile +3 -0
  243. data/pkg/steam-condenser-1.2.0/Gemfile.lock +30 -0
  244. data/pkg/steam-condenser-1.2.0/LICENSE +25 -0
  245. data/pkg/steam-condenser-1.2.0/README.md +47 -0
  246. data/pkg/steam-condenser-1.2.0/Rakefile +46 -0
  247. data/pkg/steam-condenser-1.2.0/lib/core_ext/stringio.rb +91 -0
  248. data/pkg/steam-condenser-1.2.0/lib/errors/packet_format_error.rb +21 -0
  249. data/pkg/steam-condenser-1.2.0/lib/errors/rcon_ban_error.rb +22 -0
  250. data/pkg/steam-condenser-1.2.0/lib/errors/rcon_no_auth_error.rb +21 -0
  251. data/pkg/steam-condenser-1.2.0/lib/errors/steam_condenser_error.rb +11 -0
  252. data/pkg/steam-condenser-1.2.0/lib/errors/timeout_error.rb +28 -0
  253. data/pkg/steam-condenser-1.2.0/lib/errors/web_api_error.rb +57 -0
  254. data/pkg/steam-condenser-1.2.0/lib/steam-condenser.rb +18 -0
  255. data/pkg/steam-condenser-1.2.0/lib/steam-condenser/community.rb +24 -0
  256. data/pkg/steam-condenser-1.2.0/lib/steam-condenser/servers.rb +24 -0
  257. data/pkg/steam-condenser-1.2.0/lib/steam-condenser/version.rb +11 -0
  258. data/pkg/steam-condenser-1.2.0/lib/steam/community/alien_swarm/alien_swarm_mission.rb +119 -0
  259. data/pkg/steam-condenser-1.2.0/lib/steam/community/alien_swarm/alien_swarm_stats.rb +179 -0
  260. data/pkg/steam-condenser-1.2.0/lib/steam/community/alien_swarm/alien_swarm_weapon.rb +49 -0
  261. data/pkg/steam-condenser-1.2.0/lib/steam/community/app_news.rb +133 -0
  262. data/pkg/steam-condenser-1.2.0/lib/steam/community/cacheable.rb +137 -0
  263. data/pkg/steam-condenser-1.2.0/lib/steam/community/css/css_map.rb +61 -0
  264. data/pkg/steam-condenser-1.2.0/lib/steam/community/css/css_stats.rb +136 -0
  265. data/pkg/steam-condenser-1.2.0/lib/steam/community/css/css_weapon.rb +69 -0
  266. data/pkg/steam-condenser-1.2.0/lib/steam/community/defense_grid/defense_grid_stats.rb +237 -0
  267. data/pkg/steam-condenser-1.2.0/lib/steam/community/dods/dods_class.rb +90 -0
  268. data/pkg/steam-condenser-1.2.0/lib/steam/community/dods/dods_stats.rb +61 -0
  269. data/pkg/steam-condenser-1.2.0/lib/steam/community/dods/dods_weapon.rb +67 -0
  270. data/pkg/steam-condenser-1.2.0/lib/steam/community/game_achievement.rb +109 -0
  271. data/pkg/steam-condenser-1.2.0/lib/steam/community/game_class.rb +22 -0
  272. data/pkg/steam-condenser-1.2.0/lib/steam/community/game_inventory.rb +152 -0
  273. data/pkg/steam-condenser-1.2.0/lib/steam/community/game_item.rb +99 -0
  274. data/pkg/steam-condenser-1.2.0/lib/steam/community/game_leaderboard.rb +201 -0
  275. data/pkg/steam-condenser-1.2.0/lib/steam/community/game_leaderboard_entry.rb +43 -0
  276. data/pkg/steam-condenser-1.2.0/lib/steam/community/game_stats.rb +175 -0
  277. data/pkg/steam-condenser-1.2.0/lib/steam/community/game_weapon.rb +41 -0
  278. data/pkg/steam-condenser-1.2.0/lib/steam/community/l4d/abstract_l4d_stats.rb +173 -0
  279. data/pkg/steam-condenser-1.2.0/lib/steam/community/l4d/abstract_l4d_weapon.rb +56 -0
  280. data/pkg/steam-condenser-1.2.0/lib/steam/community/l4d/l4d2_map.rb +90 -0
  281. data/pkg/steam-condenser-1.2.0/lib/steam/community/l4d/l4d2_stats.rb +165 -0
  282. data/pkg/steam-condenser-1.2.0/lib/steam/community/l4d/l4d2_weapon.rb +38 -0
  283. data/pkg/steam-condenser-1.2.0/lib/steam/community/l4d/l4d_explosive.rb +34 -0
  284. data/pkg/steam-condenser-1.2.0/lib/steam/community/l4d/l4d_map.rb +65 -0
  285. data/pkg/steam-condenser-1.2.0/lib/steam/community/l4d/l4d_stats.rb +71 -0
  286. data/pkg/steam-condenser-1.2.0/lib/steam/community/l4d/l4d_weapon.rb +26 -0
  287. data/pkg/steam-condenser-1.2.0/lib/steam/community/portal2/portal2_inventory.rb +25 -0
  288. data/pkg/steam-condenser-1.2.0/lib/steam/community/portal2/portal2_item.rb +47 -0
  289. data/pkg/steam-condenser-1.2.0/lib/steam/community/portal2/portal2_stats.rb +32 -0
  290. data/pkg/steam-condenser-1.2.0/lib/steam/community/steam_game.rb +182 -0
  291. data/pkg/steam-condenser-1.2.0/lib/steam/community/steam_group.rb +135 -0
  292. data/pkg/steam-condenser-1.2.0/lib/steam/community/steam_id.rb +513 -0
  293. data/pkg/steam-condenser-1.2.0/lib/steam/community/tf2/tf2_beta_inventory.rb +22 -0
  294. data/pkg/steam-condenser-1.2.0/lib/steam/community/tf2/tf2_class.rb +92 -0
  295. data/pkg/steam-condenser-1.2.0/lib/steam/community/tf2/tf2_class_factory.rb +40 -0
  296. data/pkg/steam-condenser-1.2.0/lib/steam/community/tf2/tf2_engineer.rb +43 -0
  297. data/pkg/steam-condenser-1.2.0/lib/steam/community/tf2/tf2_golden_wrench.rb +70 -0
  298. data/pkg/steam-condenser-1.2.0/lib/steam/community/tf2/tf2_inventory.rb +25 -0
  299. data/pkg/steam-condenser-1.2.0/lib/steam/community/tf2/tf2_item.rb +47 -0
  300. data/pkg/steam-condenser-1.2.0/lib/steam/community/tf2/tf2_medic.rb +35 -0
  301. data/pkg/steam-condenser-1.2.0/lib/steam/community/tf2/tf2_sniper.rb +28 -0
  302. data/pkg/steam-condenser-1.2.0/lib/steam/community/tf2/tf2_spy.rb +41 -0
  303. data/pkg/steam-condenser-1.2.0/lib/steam/community/tf2/tf2_stats.rb +76 -0
  304. data/pkg/steam-condenser-1.2.0/lib/steam/community/web_api.rb +129 -0
  305. data/pkg/steam-condenser-1.2.0/lib/steam/community/xml_data.rb +17 -0
  306. data/pkg/steam-condenser-1.2.0/lib/steam/packets/a2m_get_servers_batch2_packet.rb +59 -0
  307. data/pkg/steam-condenser-1.2.0/lib/steam/packets/a2s_info_packet.rb +24 -0
  308. data/pkg/steam-condenser-1.2.0/lib/steam/packets/a2s_player_packet.rb +31 -0
  309. data/pkg/steam-condenser-1.2.0/lib/steam/packets/a2s_rules_packet.rb +32 -0
  310. data/pkg/steam-condenser-1.2.0/lib/steam/packets/a2s_serverquery_getchallenge_packet.rb +25 -0
  311. data/pkg/steam-condenser-1.2.0/lib/steam/packets/c2m_checkmd5_packet.rb +30 -0
  312. data/pkg/steam-condenser-1.2.0/lib/steam/packets/m2a_server_batch_packet.rb +52 -0
  313. data/pkg/steam-condenser-1.2.0/lib/steam/packets/m2c_isvalidmd5_packet.rb +34 -0
  314. data/pkg/steam-condenser-1.2.0/lib/steam/packets/m2s_requestrestart_packet.rb +34 -0
  315. data/pkg/steam-condenser-1.2.0/lib/steam/packets/rcon/rcon_auth_request.rb +28 -0
  316. data/pkg/steam-condenser-1.2.0/lib/steam/packets/rcon/rcon_auth_response.rb +30 -0
  317. data/pkg/steam-condenser-1.2.0/lib/steam/packets/rcon/rcon_exec_request.rb +28 -0
  318. data/pkg/steam-condenser-1.2.0/lib/steam/packets/rcon/rcon_exec_response.rb +37 -0
  319. data/pkg/steam-condenser-1.2.0/lib/steam/packets/rcon/rcon_goldsrc_request.rb +35 -0
  320. data/pkg/steam-condenser-1.2.0/lib/steam/packets/rcon/rcon_goldsrc_response.rb +34 -0
  321. data/pkg/steam-condenser-1.2.0/lib/steam/packets/rcon/rcon_packet.rb +57 -0
  322. data/pkg/steam-condenser-1.2.0/lib/steam/packets/rcon/rcon_packet_factory.rb +43 -0
  323. data/pkg/steam-condenser-1.2.0/lib/steam/packets/rcon/rcon_terminator.rb +29 -0
  324. data/pkg/steam-condenser-1.2.0/lib/steam/packets/request_with_challenge.rb +19 -0
  325. data/pkg/steam-condenser-1.2.0/lib/steam/packets/s2a_info2_packet.rb +62 -0
  326. data/pkg/steam-condenser-1.2.0/lib/steam/packets/s2a_info_base_packet.rb +35 -0
  327. data/pkg/steam-condenser-1.2.0/lib/steam/packets/s2a_info_detailed_packet.rb +61 -0
  328. data/pkg/steam-condenser-1.2.0/lib/steam/packets/s2a_logstring_packet.rb +30 -0
  329. data/pkg/steam-condenser-1.2.0/lib/steam/packets/s2a_player_packet.rb +44 -0
  330. data/pkg/steam-condenser-1.2.0/lib/steam/packets/s2a_rules_packet.rb +48 -0
  331. data/pkg/steam-condenser-1.2.0/lib/steam/packets/s2c_challenge_packet.rb +35 -0
  332. data/pkg/steam-condenser-1.2.0/lib/steam/packets/s2m_heartbeat2_packet.rb +71 -0
  333. data/pkg/steam-condenser-1.2.0/lib/steam/packets/steam_packet.rb +52 -0
  334. data/pkg/steam-condenser-1.2.0/lib/steam/packets/steam_packet_factory.rb +108 -0
  335. data/pkg/steam-condenser-1.2.0/lib/steam/servers/game_server.rb +392 -0
  336. data/pkg/steam-condenser-1.2.0/lib/steam/servers/goldsrc_server.rb +74 -0
  337. data/pkg/steam-condenser-1.2.0/lib/steam/servers/master_server.rb +182 -0
  338. data/pkg/steam-condenser-1.2.0/lib/steam/servers/server.rb +104 -0
  339. data/pkg/steam-condenser-1.2.0/lib/steam/servers/source_server.rb +98 -0
  340. data/pkg/steam-condenser-1.2.0/lib/steam/sockets/goldsrc_socket.rb +142 -0
  341. data/pkg/steam-condenser-1.2.0/lib/steam/sockets/master_server_socket.rb +30 -0
  342. data/pkg/steam-condenser-1.2.0/lib/steam/sockets/rcon_socket.rb +94 -0
  343. data/pkg/steam-condenser-1.2.0/lib/steam/sockets/source_socket.rb +78 -0
  344. data/pkg/steam-condenser-1.2.0/lib/steam/sockets/steam_socket.rb +86 -0
  345. data/pkg/steam-condenser-1.2.0/lib/steam/steam_player.rb +143 -0
  346. data/pkg/steam-condenser-1.2.0/steam-condenser.gemspec +25 -0
  347. data/pkg/steam-condenser-1.2.0/test/core_ext/test_stringio.rb +59 -0
  348. data/pkg/steam-condenser-1.2.0/test/fixtures/invalid.xml +2 -0
  349. data/pkg/steam-condenser-1.2.0/test/fixtures/sonofthor.xml +882 -0
  350. data/pkg/steam-condenser-1.2.0/test/fixtures/status_goldsrc +3 -0
  351. data/pkg/steam-condenser-1.2.0/test/fixtures/status_source +3 -0
  352. data/pkg/steam-condenser-1.2.0/test/fixtures/valve-members.xml +231 -0
  353. data/pkg/steam-condenser-1.2.0/test/helper.rb +45 -0
  354. data/pkg/steam-condenser-1.2.0/test/steam/communtiy/test_steam_group.rb +83 -0
  355. data/pkg/steam-condenser-1.2.0/test/steam/communtiy/test_steam_id.rb +111 -0
  356. data/pkg/steam-condenser-1.2.0/test/steam/communtiy/test_web_api.rb +98 -0
  357. data/pkg/steam-condenser-1.2.0/test/steam/packets/test_steam_packet.rb +37 -0
  358. data/pkg/steam-condenser-1.2.0/test/steam/servers/test_game_server.rb +296 -0
  359. data/pkg/steam-condenser-1.2.0/test/steam/servers/test_goldsrc_server.rb +59 -0
  360. data/pkg/steam-condenser-1.2.0/test/steam/servers/test_master_server.rb +131 -0
  361. data/pkg/steam-condenser-1.2.0/test/steam/servers/test_server.rb +72 -0
  362. data/pkg/steam-condenser-1.2.0/test/steam/servers/test_source_server.rb +126 -0
  363. data/pkg/steam-condenser-1.2.0/test/steam/sockets/test_goldsrc_socket.rb +127 -0
  364. data/pkg/steam-condenser-1.2.0/test/steam/sockets/test_master_server_socket.rb +42 -0
  365. data/pkg/steam-condenser-1.2.0/test/steam/sockets/test_rcon_socket.rb +109 -0
  366. data/pkg/steam-condenser-1.2.0/test/steam/sockets/test_source_socket.rb +77 -0
  367. data/pkg/steam-condenser-1.2.0/test/steam/sockets/test_steam_socket.rb +97 -0
  368. data/steam-condenser.gemspec +3 -3
  369. data/test/steam/communtiy/test_cacheable.rb +100 -0
  370. data/test/steam/servers/test_master_server.rb +3 -3
  371. metadata +366 -15
@@ -0,0 +1,1494 @@
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: SteamCondenser::AlienSwarmMission
8
+
9
+ &mdash; Steam Condenser – Ruby API
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ relpath = '..';
19
+ if (relpath != '') relpath += '/';
20
+ </script>
21
+
22
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
25
+
26
+
27
+ </head>
28
+ <body>
29
+ <script type="text/javascript" charset="utf-8">
30
+ if (window.top.frames.main) document.body.className = 'frames';
31
+ </script>
32
+
33
+ <div id="header">
34
+ <div id="menu">
35
+
36
+ <a href="../_index.html">Index (A)</a> &raquo;
37
+ <span class='title'><span class='object_link'><a href="../SteamCondenser.html" title="SteamCondenser (module)">SteamCondenser</a></span></span>
38
+ &raquo;
39
+ <span class="title">AlienSwarmMission</span>
40
+
41
+
42
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
+ </div>
44
+
45
+ <div id="search">
46
+
47
+ <a id="class_list_link" href="#">Class List</a>
48
+
49
+ <a id="method_list_link" href="#">Method List</a>
50
+
51
+ <a id="file_list_link" href="#">File List</a>
52
+
53
+ </div>
54
+ <div class="clear"></div>
55
+ </div>
56
+
57
+ <iframe id="search_frame"></iframe>
58
+
59
+ <div id="content"><h1>Class: SteamCondenser::AlienSwarmMission
60
+
61
+
62
+
63
+ </h1>
64
+
65
+ <dl class="box">
66
+
67
+ <dt class="r1">Inherits:</dt>
68
+ <dd class="r1">
69
+ <span class="inheritName">Object</span>
70
+
71
+ <ul class="fullTree">
72
+ <li>Object</li>
73
+
74
+ <li class="next">SteamCondenser::AlienSwarmMission</li>
75
+
76
+ </ul>
77
+ <a href="#" class="inheritanceTree">show all</a>
78
+
79
+ </dd>
80
+
81
+
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+ <dt class="r2 last">Defined in:</dt>
90
+ <dd class="r2 last">lib/steam/community/alien_swarm/alien_swarm_mission.rb</dd>
91
+
92
+ </dl>
93
+ <div class="clear"></div>
94
+
95
+ <h2>Overview</h2><div class="docstring">
96
+ <div class="discussion">
97
+ <p>This class holds statistical information about missions played by a player
98
+ in Alien Swarm</p>
99
+
100
+
101
+ </div>
102
+ </div>
103
+ <div class="tags">
104
+
105
+ <h3>Author:</h3>
106
+ <ul class="author">
107
+
108
+ <li>
109
+
110
+
111
+
112
+
113
+
114
+ <div class='inline'><p>Sebastian Staudt</p>
115
+ </div>
116
+
117
+ </li>
118
+
119
+ </ul>
120
+
121
+ </div>
122
+
123
+
124
+
125
+ <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
126
+ <ul class="summary">
127
+
128
+ <li class="public ">
129
+ <span class="summary_signature">
130
+
131
+ <a href="#avg_damage_taken-instance_method" title="#avg_damage_taken (instance method)">- (Float) <strong>avg_damage_taken</strong> </a>
132
+
133
+
134
+
135
+ </span>
136
+
137
+
138
+ <span class="note title readonly">readonly</span>
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+ <span class="summary_desc"><div class='inline'><p>Returns the avarage damage taken by the player while playing a round in
148
+ this mission.</p>
149
+ </div></span>
150
+
151
+ </li>
152
+
153
+
154
+ <li class="public ">
155
+ <span class="summary_signature">
156
+
157
+ <a href="#avg_friendly_fire-instance_method" title="#avg_friendly_fire (instance method)">- (Float) <strong>avg_friendly_fire</strong> </a>
158
+
159
+
160
+
161
+ </span>
162
+
163
+
164
+ <span class="note title readonly">readonly</span>
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+ <span class="summary_desc"><div class='inline'><p>Returns the avarage damage dealt by the player to team mates while
174
+ playing a round in this mission.</p>
175
+ </div></span>
176
+
177
+ </li>
178
+
179
+
180
+ <li class="public ">
181
+ <span class="summary_signature">
182
+
183
+ <a href="#avg_kills-instance_method" title="#avg_kills (instance method)">- (Float) <strong>avg_kills</strong> </a>
184
+
185
+
186
+
187
+ </span>
188
+
189
+
190
+ <span class="note title readonly">readonly</span>
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+ <span class="summary_desc"><div class='inline'><p>Returns the avarage number of aliens killed by the player while playing a
200
+ round in this mission.</p>
201
+ </div></span>
202
+
203
+ </li>
204
+
205
+
206
+ <li class="public ">
207
+ <span class="summary_signature">
208
+
209
+ <a href="#best_difficulty-instance_method" title="#best_difficulty (instance method)">- (String) <strong>best_difficulty</strong> </a>
210
+
211
+
212
+
213
+ </span>
214
+
215
+
216
+ <span class="note title readonly">readonly</span>
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+ <span class="summary_desc"><div class='inline'><p>Returns the highest difficulty the player has beat this mission in.</p>
226
+ </div></span>
227
+
228
+ </li>
229
+
230
+
231
+ <li class="public ">
232
+ <span class="summary_signature">
233
+
234
+ <a href="#damage_taken-instance_method" title="#damage_taken (instance method)">- (Fixnum) <strong>damage_taken</strong> </a>
235
+
236
+
237
+
238
+ </span>
239
+
240
+
241
+ <span class="note title readonly">readonly</span>
242
+
243
+
244
+
245
+
246
+
247
+
248
+
249
+
250
+ <span class="summary_desc"><div class='inline'><p>Returns the total damage taken by the player in this mission.</p>
251
+ </div></span>
252
+
253
+ </li>
254
+
255
+
256
+ <li class="public ">
257
+ <span class="summary_signature">
258
+
259
+ <a href="#friendly_fire-instance_method" title="#friendly_fire (instance method)">- (Fixnum) <strong>friendly_fire</strong> </a>
260
+
261
+
262
+
263
+ </span>
264
+
265
+
266
+ <span class="note title readonly">readonly</span>
267
+
268
+
269
+
270
+
271
+
272
+
273
+
274
+
275
+ <span class="summary_desc"><div class='inline'><p>Returns the total damage dealt by the player to team mates in this
276
+ mission.</p>
277
+ </div></span>
278
+
279
+ </li>
280
+
281
+
282
+ <li class="public ">
283
+ <span class="summary_signature">
284
+
285
+ <a href="#games_successful-instance_method" title="#games_successful (instance method)">- (Fixnum) <strong>games_successful</strong> </a>
286
+
287
+
288
+
289
+ </span>
290
+
291
+
292
+ <span class="note title readonly">readonly</span>
293
+
294
+
295
+
296
+
297
+
298
+
299
+
300
+
301
+ <span class="summary_desc"><div class='inline'><p>Returns the number of successful rounds the player played in this mission.</p>
302
+ </div></span>
303
+
304
+ </li>
305
+
306
+
307
+ <li class="public ">
308
+ <span class="summary_signature">
309
+
310
+ <a href="#img-instance_method" title="#img (instance method)">- (String) <strong>img</strong> </a>
311
+
312
+
313
+
314
+ </span>
315
+
316
+
317
+ <span class="note title readonly">readonly</span>
318
+
319
+
320
+
321
+
322
+
323
+
324
+
325
+
326
+ <span class="summary_desc"><div class='inline'><p>Returns the URL to a image displaying the mission.</p>
327
+ </div></span>
328
+
329
+ </li>
330
+
331
+
332
+ <li class="public ">
333
+ <span class="summary_signature">
334
+
335
+ <a href="#kills-instance_method" title="#kills (instance method)">- (Fixnum) <strong>kills</strong> </a>
336
+
337
+
338
+
339
+ </span>
340
+
341
+
342
+ <span class="note title readonly">readonly</span>
343
+
344
+
345
+
346
+
347
+
348
+
349
+
350
+
351
+ <span class="summary_desc"><div class='inline'><p>Returns the total number of aliens killed by the player in this mission.</p>
352
+ </div></span>
353
+
354
+ </li>
355
+
356
+
357
+ <li class="public ">
358
+ <span class="summary_signature">
359
+
360
+ <a href="#map_name-instance_method" title="#map_name (instance method)">- (String) <strong>map_name</strong> </a>
361
+
362
+
363
+
364
+ </span>
365
+
366
+
367
+ <span class="note title readonly">readonly</span>
368
+
369
+
370
+
371
+
372
+
373
+
374
+
375
+
376
+ <span class="summary_desc"><div class='inline'><p>Returns the file name of the mission&#39;s map.</p>
377
+ </div></span>
378
+
379
+ </li>
380
+
381
+
382
+ <li class="public ">
383
+ <span class="summary_signature">
384
+
385
+ <a href="#name-instance_method" title="#name (instance method)">- (String) <strong>name</strong> </a>
386
+
387
+
388
+
389
+ </span>
390
+
391
+
392
+ <span class="note title readonly">readonly</span>
393
+
394
+
395
+
396
+
397
+
398
+
399
+
400
+
401
+ <span class="summary_desc"><div class='inline'><p>Returns the name of the mission.</p>
402
+ </div></span>
403
+
404
+ </li>
405
+
406
+
407
+ <li class="public ">
408
+ <span class="summary_signature">
409
+
410
+ <a href="#time-instance_method" title="#time (instance method)">- (Hash&lt;Symbol, String&gt;) <strong>time</strong> </a>
411
+
412
+
413
+
414
+ </span>
415
+
416
+
417
+ <span class="note title readonly">readonly</span>
418
+
419
+
420
+
421
+
422
+
423
+
424
+
425
+
426
+ <span class="summary_desc"><div class='inline'><p>Returns various statistics about the times needed to accomplish this
427
+ mission.</p>
428
+ </div></span>
429
+
430
+ </li>
431
+
432
+
433
+ <li class="public ">
434
+ <span class="summary_signature">
435
+
436
+ <a href="#total_games-instance_method" title="#total_games (instance method)">- (Fixnum) <strong>total_games</strong> </a>
437
+
438
+
439
+
440
+ </span>
441
+
442
+
443
+ <span class="note title readonly">readonly</span>
444
+
445
+
446
+
447
+
448
+
449
+
450
+
451
+
452
+ <span class="summary_desc"><div class='inline'><p>Returns the number of games played in this mission.</p>
453
+ </div></span>
454
+
455
+ </li>
456
+
457
+
458
+ <li class="public ">
459
+ <span class="summary_signature">
460
+
461
+ <a href="#total_games_percentage-instance_method" title="#total_games_percentage (instance method)">- (Float) <strong>total_games_percentage</strong> </a>
462
+
463
+
464
+
465
+ </span>
466
+
467
+
468
+ <span class="note title readonly">readonly</span>
469
+
470
+
471
+
472
+
473
+
474
+
475
+
476
+
477
+ <span class="summary_desc"><div class='inline'><p>Returns the percentage of successful games played in this mission.</p>
478
+ </div></span>
479
+
480
+ </li>
481
+
482
+
483
+ </ul>
484
+
485
+
486
+
487
+
488
+
489
+ <h2>
490
+ Instance Method Summary
491
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
492
+ </h2>
493
+
494
+ <ul class="summary">
495
+
496
+ <li class="public ">
497
+ <span class="summary_signature">
498
+
499
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (AlienSwarmMission) <strong>initialize</strong>(map_name, mission_data) </a>
500
+
501
+
502
+
503
+ </span>
504
+
505
+ <span class="note title constructor">constructor</span>
506
+
507
+
508
+
509
+
510
+
511
+
512
+
513
+
514
+ <span class="summary_desc"><div class='inline'><p>Creates a new mission instance of based on the given XML data.</p>
515
+ </div></span>
516
+
517
+ </li>
518
+
519
+
520
+ </ul>
521
+
522
+
523
+ <div id="constructor_details" class="method_details_list">
524
+ <h2>Constructor Details</h2>
525
+
526
+ <div class="method_details first">
527
+ <p class="signature first" id="initialize-instance_method">
528
+
529
+ - (<tt><span class='object_link'><a href="" title="SteamCondenser::AlienSwarmMission (class)">AlienSwarmMission</a></span></tt>) <strong>initialize</strong>(map_name, mission_data)
530
+
531
+
532
+
533
+ </p><div class="docstring">
534
+ <div class="discussion">
535
+ <p>Creates a new mission instance of based on the given XML data</p>
536
+
537
+
538
+ </div>
539
+ </div>
540
+ <div class="tags">
541
+ <h3>Parameters:</h3>
542
+ <ul class="param">
543
+
544
+ <li>
545
+
546
+ <span class='name'>map_name</span>
547
+
548
+
549
+ <span class='type'>(<tt>String</tt>)</span>
550
+
551
+
552
+
553
+ &mdash;
554
+ <div class='inline'><p>The name of the mission&#39;s map</p>
555
+ </div>
556
+
557
+ </li>
558
+
559
+ <li>
560
+
561
+ <span class='name'>mission_data</span>
562
+
563
+
564
+ <span class='type'>(<tt>Hash&lt;String, Object&gt;</tt>)</span>
565
+
566
+
567
+
568
+ &mdash;
569
+ <div class='inline'><p>The data representing this
570
+ mission</p>
571
+ </div>
572
+
573
+ </li>
574
+
575
+ </ul>
576
+
577
+
578
+ </div><table class="source_code">
579
+ <tr>
580
+ <td>
581
+ <pre class="lines">
582
+
583
+
584
+ 98
585
+ 99
586
+ 100
587
+ 101
588
+ 102
589
+ 103
590
+ 104
591
+ 105
592
+ 106
593
+ 107
594
+ 108
595
+ 109
596
+ 110
597
+ 111
598
+ 112
599
+ 113
600
+ 114
601
+ 115
602
+ 116
603
+ 117
604
+ 118
605
+ 119
606
+ 120
607
+ 121</pre>
608
+ </td>
609
+ <td>
610
+ <pre class="code"><span class="info file"># File 'lib/steam/community/alien_swarm/alien_swarm_mission.rb', line 98</span>
611
+
612
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='rubyid_map_name identifier id'>map_name</span><span class='comma token'>,</span> <span class='rubyid_mission_data identifier id'>mission_data</span><span class='rparen token'>)</span>
613
+ <span class='rubyid_@avg_damage_taken ivar id'>@avg_damage_taken</span> <span class='assign token'>=</span> <span class='rubyid_mission_data identifier id'>mission_data</span><span class='lbrack token'>[</span><span class='string val'>'damagetakenavg'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_f identifier id'>to_f</span>
614
+ <span class='rubyid_@avg_friendly_fire ivar id'>@avg_friendly_fire</span> <span class='assign token'>=</span> <span class='rubyid_mission_data identifier id'>mission_data</span><span class='lbrack token'>[</span><span class='string val'>'friendlyfireavg'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_f identifier id'>to_f</span>
615
+ <span class='rubyid_@avg_kills ivar id'>@avg_kills</span> <span class='assign token'>=</span> <span class='rubyid_mission_data identifier id'>mission_data</span><span class='lbrack token'>[</span><span class='string val'>'killsavg'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_f identifier id'>to_f</span>
616
+ <span class='rubyid_@best_difficulty ivar id'>@best_difficulty</span> <span class='assign token'>=</span> <span class='rubyid_mission_data identifier id'>mission_data</span><span class='lbrack token'>[</span><span class='string val'>'bestdifficulty'</span><span class='rbrack token'>]</span>
617
+ <span class='rubyid_@damage_taken ivar id'>@damage_taken</span> <span class='assign token'>=</span> <span class='rubyid_mission_data identifier id'>mission_data</span><span class='lbrack token'>[</span><span class='string val'>'damagetaken'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span>
618
+ <span class='rubyid_@friendly_fire ivar id'>@friendly_fire</span> <span class='assign token'>=</span> <span class='rubyid_mission_data identifier id'>mission_data</span><span class='lbrack token'>[</span><span class='string val'>'friendlyfire'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span>
619
+ <span class='rubyid_@games_successful ivar id'>@games_successful</span> <span class='assign token'>=</span> <span class='rubyid_mission_data identifier id'>mission_data</span><span class='lbrack token'>[</span><span class='string val'>'gamessuccess'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span>
620
+ <span class='rubyid_@img ivar id'>@img</span> <span class='assign token'>=</span> <span class='rubyid_AlienSwarmStats constant id'>AlienSwarmStats</span><span class='colon2 op'>::</span><span class='rubyid_BASE_URL constant id'>BASE_URL</span> <span class='plus op'>+</span> <span class='rubyid_mission_data identifier id'>mission_data</span><span class='lbrack token'>[</span><span class='string val'>'image'</span><span class='rbrack token'>]</span>
621
+ <span class='rubyid_@kills ivar id'>@kills</span> <span class='assign token'>=</span> <span class='rubyid_mission_data identifier id'>mission_data</span><span class='lbrack token'>[</span><span class='string val'>'kills'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span>
622
+ <span class='rubyid_@map_name ivar id'>@map_name</span> <span class='assign token'>=</span> <span class='rubyid_map_name identifier id'>map_name</span>
623
+ <span class='rubyid_@name ivar id'>@name</span> <span class='assign token'>=</span> <span class='rubyid_mission_data identifier id'>mission_data</span><span class='lbrack token'>[</span><span class='string val'>'name'</span><span class='rbrack token'>]</span>
624
+ <span class='rubyid_@total_games ivar id'>@total_games</span> <span class='assign token'>=</span> <span class='rubyid_mission_data identifier id'>mission_data</span><span class='lbrack token'>[</span><span class='string val'>'gamestotal'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span>
625
+ <span class='rubyid_@total_games_percentage ivar id'>@total_games_percentage</span> <span class='assign token'>=</span> <span class='rubyid_mission_data identifier id'>mission_data</span><span class='lbrack token'>[</span><span class='string val'>'gamestotalpct'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_f identifier id'>to_f</span>
626
+
627
+ <span class='rubyid_@time ivar id'>@time</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span>
628
+ <span class='rubyid_@time ivar id'>@time</span><span class='lbrack token'>[</span><span class='symbol val'>:average</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='rubyid_mission_data identifier id'>mission_data</span><span class='lbrack token'>[</span><span class='string val'>'avgtime'</span><span class='rbrack token'>]</span>
629
+ <span class='rubyid_@time ivar id'>@time</span><span class='lbrack token'>[</span><span class='symbol val'>:brutal</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='rubyid_mission_data identifier id'>mission_data</span><span class='lbrack token'>[</span><span class='string val'>'brutaltime'</span><span class='rbrack token'>]</span>
630
+ <span class='rubyid_@time ivar id'>@time</span><span class='lbrack token'>[</span><span class='symbol val'>:easy</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='rubyid_mission_data identifier id'>mission_data</span><span class='lbrack token'>[</span><span class='string val'>'easytime'</span><span class='rbrack token'>]</span>
631
+ <span class='rubyid_@time ivar id'>@time</span><span class='lbrack token'>[</span><span class='symbol val'>:hard</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='rubyid_mission_data identifier id'>mission_data</span><span class='lbrack token'>[</span><span class='string val'>'hardtime'</span><span class='rbrack token'>]</span>
632
+ <span class='rubyid_@time ivar id'>@time</span><span class='lbrack token'>[</span><span class='symbol val'>:insane</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='rubyid_mission_data identifier id'>mission_data</span><span class='lbrack token'>[</span><span class='string val'>'insanetime'</span><span class='rbrack token'>]</span>
633
+ <span class='rubyid_@time ivar id'>@time</span><span class='lbrack token'>[</span><span class='symbol val'>:normal</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='rubyid_mission_data identifier id'>mission_data</span><span class='lbrack token'>[</span><span class='string val'>'normaltime'</span><span class='rbrack token'>]</span>
634
+ <span class='rubyid_@time ivar id'>@time</span><span class='lbrack token'>[</span><span class='symbol val'>:total</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='rubyid_mission_data identifier id'>mission_data</span><span class='lbrack token'>[</span><span class='string val'>'totaltime'</span><span class='rbrack token'>]</span>
635
+ <span class='rubyid_end end kw'>end</span>
636
+ </pre>
637
+ </td>
638
+ </tr>
639
+ </table>
640
+ </div>
641
+
642
+ </div>
643
+
644
+ <div id="instance_attr_details" class="attr_details">
645
+ <h2>Instance Attribute Details</h2>
646
+
647
+
648
+ <span id=""></span>
649
+ <span id="avg_damage_taken-instance_method"></span>
650
+ <div class="method_details first">
651
+ <p class="signature first" id="avg_damage_taken-instance_method">
652
+
653
+ - (<tt>Float</tt>) <strong>avg_damage_taken</strong> <span class="extras">(readonly)</span>
654
+
655
+
656
+
657
+ </p><div class="docstring">
658
+ <div class="discussion">
659
+ <p>Returns the avarage damage taken by the player while playing a round in
660
+ this mission</p>
661
+
662
+
663
+ </div>
664
+ </div>
665
+ <div class="tags">
666
+
667
+ <h3>Returns:</h3>
668
+ <ul class="return">
669
+
670
+ <li>
671
+
672
+
673
+ <span class='type'>(<tt>Float</tt>)</span>
674
+
675
+
676
+
677
+ &mdash;
678
+ <div class='inline'><p>The average damage taken by the player</p>
679
+ </div>
680
+
681
+ </li>
682
+
683
+ </ul>
684
+
685
+ </div><table class="source_code">
686
+ <tr>
687
+ <td>
688
+ <pre class="lines">
689
+
690
+
691
+ 18
692
+ 19
693
+ 20</pre>
694
+ </td>
695
+ <td>
696
+ <pre class="code"><span class="info file"># File 'lib/steam/community/alien_swarm/alien_swarm_mission.rb', line 18</span>
697
+
698
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_avg_damage_taken identifier id'>avg_damage_taken</span>
699
+ <span class='rubyid_@avg_damage_taken ivar id'>@avg_damage_taken</span>
700
+ <span class='rubyid_end end kw'>end</span>
701
+ </pre>
702
+ </td>
703
+ </tr>
704
+ </table>
705
+ </div>
706
+
707
+
708
+ <span id=""></span>
709
+ <span id="avg_friendly_fire-instance_method"></span>
710
+ <div class="method_details ">
711
+ <p class="signature " id="avg_friendly_fire-instance_method">
712
+
713
+ - (<tt>Float</tt>) <strong>avg_friendly_fire</strong> <span class="extras">(readonly)</span>
714
+
715
+
716
+
717
+ </p><div class="docstring">
718
+ <div class="discussion">
719
+ <p>Returns the avarage damage dealt by the player to team mates while
720
+ playing a round in this mission</p>
721
+
722
+
723
+ </div>
724
+ </div>
725
+ <div class="tags">
726
+
727
+ <h3>Returns:</h3>
728
+ <ul class="return">
729
+
730
+ <li>
731
+
732
+
733
+ <span class='type'>(<tt>Float</tt>)</span>
734
+
735
+
736
+
737
+ &mdash;
738
+ <div class='inline'><p>The average damage dealt by the player to team mates</p>
739
+ </div>
740
+
741
+ </li>
742
+
743
+ </ul>
744
+
745
+ </div><table class="source_code">
746
+ <tr>
747
+ <td>
748
+ <pre class="lines">
749
+
750
+
751
+ 24
752
+ 25
753
+ 26</pre>
754
+ </td>
755
+ <td>
756
+ <pre class="code"><span class="info file"># File 'lib/steam/community/alien_swarm/alien_swarm_mission.rb', line 24</span>
757
+
758
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_avg_friendly_fire identifier id'>avg_friendly_fire</span>
759
+ <span class='rubyid_@avg_friendly_fire ivar id'>@avg_friendly_fire</span>
760
+ <span class='rubyid_end end kw'>end</span>
761
+ </pre>
762
+ </td>
763
+ </tr>
764
+ </table>
765
+ </div>
766
+
767
+
768
+ <span id=""></span>
769
+ <span id="avg_kills-instance_method"></span>
770
+ <div class="method_details ">
771
+ <p class="signature " id="avg_kills-instance_method">
772
+
773
+ - (<tt>Float</tt>) <strong>avg_kills</strong> <span class="extras">(readonly)</span>
774
+
775
+
776
+
777
+ </p><div class="docstring">
778
+ <div class="discussion">
779
+ <p>Returns the avarage number of aliens killed by the player while playing a
780
+ round in this mission</p>
781
+
782
+
783
+ </div>
784
+ </div>
785
+ <div class="tags">
786
+
787
+ <h3>Returns:</h3>
788
+ <ul class="return">
789
+
790
+ <li>
791
+
792
+
793
+ <span class='type'>(<tt>Float</tt>)</span>
794
+
795
+
796
+
797
+ &mdash;
798
+ <div class='inline'><p>The avarage number of aliens killed by the player</p>
799
+ </div>
800
+
801
+ </li>
802
+
803
+ </ul>
804
+
805
+ </div><table class="source_code">
806
+ <tr>
807
+ <td>
808
+ <pre class="lines">
809
+
810
+
811
+ 30
812
+ 31
813
+ 32</pre>
814
+ </td>
815
+ <td>
816
+ <pre class="code"><span class="info file"># File 'lib/steam/community/alien_swarm/alien_swarm_mission.rb', line 30</span>
817
+
818
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_avg_kills identifier id'>avg_kills</span>
819
+ <span class='rubyid_@avg_kills ivar id'>@avg_kills</span>
820
+ <span class='rubyid_end end kw'>end</span>
821
+ </pre>
822
+ </td>
823
+ </tr>
824
+ </table>
825
+ </div>
826
+
827
+
828
+ <span id=""></span>
829
+ <span id="best_difficulty-instance_method"></span>
830
+ <div class="method_details ">
831
+ <p class="signature " id="best_difficulty-instance_method">
832
+
833
+ - (<tt>String</tt>) <strong>best_difficulty</strong> <span class="extras">(readonly)</span>
834
+
835
+
836
+
837
+ </p><div class="docstring">
838
+ <div class="discussion">
839
+ <p>Returns the highest difficulty the player has beat this mission in</p>
840
+
841
+
842
+ </div>
843
+ </div>
844
+ <div class="tags">
845
+
846
+ <h3>Returns:</h3>
847
+ <ul class="return">
848
+
849
+ <li>
850
+
851
+
852
+ <span class='type'>(<tt>String</tt>)</span>
853
+
854
+
855
+
856
+ &mdash;
857
+ <div class='inline'><p>The highest difficulty the player has beat this mission
858
+ in</p>
859
+ </div>
860
+
861
+ </li>
862
+
863
+ </ul>
864
+
865
+ </div><table class="source_code">
866
+ <tr>
867
+ <td>
868
+ <pre class="lines">
869
+
870
+
871
+ 36
872
+ 37
873
+ 38</pre>
874
+ </td>
875
+ <td>
876
+ <pre class="code"><span class="info file"># File 'lib/steam/community/alien_swarm/alien_swarm_mission.rb', line 36</span>
877
+
878
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_best_difficulty identifier id'>best_difficulty</span>
879
+ <span class='rubyid_@best_difficulty ivar id'>@best_difficulty</span>
880
+ <span class='rubyid_end end kw'>end</span>
881
+ </pre>
882
+ </td>
883
+ </tr>
884
+ </table>
885
+ </div>
886
+
887
+
888
+ <span id=""></span>
889
+ <span id="damage_taken-instance_method"></span>
890
+ <div class="method_details ">
891
+ <p class="signature " id="damage_taken-instance_method">
892
+
893
+ - (<tt>Fixnum</tt>) <strong>damage_taken</strong> <span class="extras">(readonly)</span>
894
+
895
+
896
+
897
+ </p><div class="docstring">
898
+ <div class="discussion">
899
+ <p>Returns the total damage taken by the player in this mission</p>
900
+
901
+
902
+ </div>
903
+ </div>
904
+ <div class="tags">
905
+
906
+ <h3>Returns:</h3>
907
+ <ul class="return">
908
+
909
+ <li>
910
+
911
+
912
+ <span class='type'>(<tt>Fixnum</tt>)</span>
913
+
914
+
915
+
916
+ &mdash;
917
+ <div class='inline'><p>The total damage taken by the player</p>
918
+ </div>
919
+
920
+ </li>
921
+
922
+ </ul>
923
+
924
+ </div><table class="source_code">
925
+ <tr>
926
+ <td>
927
+ <pre class="lines">
928
+
929
+
930
+ 41
931
+ 42
932
+ 43</pre>
933
+ </td>
934
+ <td>
935
+ <pre class="code"><span class="info file"># File 'lib/steam/community/alien_swarm/alien_swarm_mission.rb', line 41</span>
936
+
937
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_damage_taken identifier id'>damage_taken</span>
938
+ <span class='rubyid_@damage_taken ivar id'>@damage_taken</span>
939
+ <span class='rubyid_end end kw'>end</span>
940
+ </pre>
941
+ </td>
942
+ </tr>
943
+ </table>
944
+ </div>
945
+
946
+
947
+ <span id=""></span>
948
+ <span id="friendly_fire-instance_method"></span>
949
+ <div class="method_details ">
950
+ <p class="signature " id="friendly_fire-instance_method">
951
+
952
+ - (<tt>Fixnum</tt>) <strong>friendly_fire</strong> <span class="extras">(readonly)</span>
953
+
954
+
955
+
956
+ </p><div class="docstring">
957
+ <div class="discussion">
958
+ <p>Returns the total damage dealt by the player to team mates in this
959
+ mission</p>
960
+
961
+
962
+ </div>
963
+ </div>
964
+ <div class="tags">
965
+
966
+ <h3>Returns:</h3>
967
+ <ul class="return">
968
+
969
+ <li>
970
+
971
+
972
+ <span class='type'>(<tt>Fixnum</tt>)</span>
973
+
974
+
975
+
976
+ &mdash;
977
+ <div class='inline'><p>The total damage dealt by the player to team mates</p>
978
+ </div>
979
+
980
+ </li>
981
+
982
+ </ul>
983
+
984
+ </div><table class="source_code">
985
+ <tr>
986
+ <td>
987
+ <pre class="lines">
988
+
989
+
990
+ 47
991
+ 48
992
+ 49</pre>
993
+ </td>
994
+ <td>
995
+ <pre class="code"><span class="info file"># File 'lib/steam/community/alien_swarm/alien_swarm_mission.rb', line 47</span>
996
+
997
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_friendly_fire identifier id'>friendly_fire</span>
998
+ <span class='rubyid_@friendly_fire ivar id'>@friendly_fire</span>
999
+ <span class='rubyid_end end kw'>end</span>
1000
+ </pre>
1001
+ </td>
1002
+ </tr>
1003
+ </table>
1004
+ </div>
1005
+
1006
+
1007
+ <span id=""></span>
1008
+ <span id="games_successful-instance_method"></span>
1009
+ <div class="method_details ">
1010
+ <p class="signature " id="games_successful-instance_method">
1011
+
1012
+ - (<tt>Fixnum</tt>) <strong>games_successful</strong> <span class="extras">(readonly)</span>
1013
+
1014
+
1015
+
1016
+ </p><div class="docstring">
1017
+ <div class="discussion">
1018
+ <p>Returns the number of successful rounds the player played in this mission</p>
1019
+
1020
+
1021
+ </div>
1022
+ </div>
1023
+ <div class="tags">
1024
+
1025
+ <h3>Returns:</h3>
1026
+ <ul class="return">
1027
+
1028
+ <li>
1029
+
1030
+
1031
+ <span class='type'>(<tt>Fixnum</tt>)</span>
1032
+
1033
+
1034
+
1035
+ &mdash;
1036
+ <div class='inline'><p>The number of successful rounds of this mission</p>
1037
+ </div>
1038
+
1039
+ </li>
1040
+
1041
+ </ul>
1042
+
1043
+ </div><table class="source_code">
1044
+ <tr>
1045
+ <td>
1046
+ <pre class="lines">
1047
+
1048
+
1049
+ 52
1050
+ 53
1051
+ 54</pre>
1052
+ </td>
1053
+ <td>
1054
+ <pre class="code"><span class="info file"># File 'lib/steam/community/alien_swarm/alien_swarm_mission.rb', line 52</span>
1055
+
1056
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_games_successful identifier id'>games_successful</span>
1057
+ <span class='rubyid_@games_successful ivar id'>@games_successful</span>
1058
+ <span class='rubyid_end end kw'>end</span>
1059
+ </pre>
1060
+ </td>
1061
+ </tr>
1062
+ </table>
1063
+ </div>
1064
+
1065
+
1066
+ <span id=""></span>
1067
+ <span id="img-instance_method"></span>
1068
+ <div class="method_details ">
1069
+ <p class="signature " id="img-instance_method">
1070
+
1071
+ - (<tt>String</tt>) <strong>img</strong> <span class="extras">(readonly)</span>
1072
+
1073
+
1074
+
1075
+ </p><div class="docstring">
1076
+ <div class="discussion">
1077
+ <p>Returns the URL to a image displaying the mission</p>
1078
+
1079
+
1080
+ </div>
1081
+ </div>
1082
+ <div class="tags">
1083
+
1084
+ <h3>Returns:</h3>
1085
+ <ul class="return">
1086
+
1087
+ <li>
1088
+
1089
+
1090
+ <span class='type'>(<tt>String</tt>)</span>
1091
+
1092
+
1093
+
1094
+ &mdash;
1095
+ <div class='inline'><p>The URL of the mission&#39;s image</p>
1096
+ </div>
1097
+
1098
+ </li>
1099
+
1100
+ </ul>
1101
+
1102
+ </div><table class="source_code">
1103
+ <tr>
1104
+ <td>
1105
+ <pre class="lines">
1106
+
1107
+
1108
+ 57
1109
+ 58
1110
+ 59</pre>
1111
+ </td>
1112
+ <td>
1113
+ <pre class="code"><span class="info file"># File 'lib/steam/community/alien_swarm/alien_swarm_mission.rb', line 57</span>
1114
+
1115
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_img identifier id'>img</span>
1116
+ <span class='rubyid_@img ivar id'>@img</span>
1117
+ <span class='rubyid_end end kw'>end</span>
1118
+ </pre>
1119
+ </td>
1120
+ </tr>
1121
+ </table>
1122
+ </div>
1123
+
1124
+
1125
+ <span id=""></span>
1126
+ <span id="kills-instance_method"></span>
1127
+ <div class="method_details ">
1128
+ <p class="signature " id="kills-instance_method">
1129
+
1130
+ - (<tt>Fixnum</tt>) <strong>kills</strong> <span class="extras">(readonly)</span>
1131
+
1132
+
1133
+
1134
+ </p><div class="docstring">
1135
+ <div class="discussion">
1136
+ <p>Returns the total number of aliens killed by the player in this mission</p>
1137
+
1138
+
1139
+ </div>
1140
+ </div>
1141
+ <div class="tags">
1142
+
1143
+ <h3>Returns:</h3>
1144
+ <ul class="return">
1145
+
1146
+ <li>
1147
+
1148
+
1149
+ <span class='type'>(<tt>Fixnum</tt>)</span>
1150
+
1151
+
1152
+
1153
+ &mdash;
1154
+ <div class='inline'><p>The total number of aliens killed by the player</p>
1155
+ </div>
1156
+
1157
+ </li>
1158
+
1159
+ </ul>
1160
+
1161
+ </div><table class="source_code">
1162
+ <tr>
1163
+ <td>
1164
+ <pre class="lines">
1165
+
1166
+
1167
+ 62
1168
+ 63
1169
+ 64</pre>
1170
+ </td>
1171
+ <td>
1172
+ <pre class="code"><span class="info file"># File 'lib/steam/community/alien_swarm/alien_swarm_mission.rb', line 62</span>
1173
+
1174
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_kills identifier id'>kills</span>
1175
+ <span class='rubyid_@kills ivar id'>@kills</span>
1176
+ <span class='rubyid_end end kw'>end</span>
1177
+ </pre>
1178
+ </td>
1179
+ </tr>
1180
+ </table>
1181
+ </div>
1182
+
1183
+
1184
+ <span id=""></span>
1185
+ <span id="map_name-instance_method"></span>
1186
+ <div class="method_details ">
1187
+ <p class="signature " id="map_name-instance_method">
1188
+
1189
+ - (<tt>String</tt>) <strong>map_name</strong> <span class="extras">(readonly)</span>
1190
+
1191
+
1192
+
1193
+ </p><div class="docstring">
1194
+ <div class="discussion">
1195
+ <p>Returns the file name of the mission&#39;s map</p>
1196
+
1197
+
1198
+ </div>
1199
+ </div>
1200
+ <div class="tags">
1201
+
1202
+ <h3>Returns:</h3>
1203
+ <ul class="return">
1204
+
1205
+ <li>
1206
+
1207
+
1208
+ <span class='type'>(<tt>String</tt>)</span>
1209
+
1210
+
1211
+
1212
+ &mdash;
1213
+ <div class='inline'><p>The file name of the mission&#39;s map</p>
1214
+ </div>
1215
+
1216
+ </li>
1217
+
1218
+ </ul>
1219
+
1220
+ </div><table class="source_code">
1221
+ <tr>
1222
+ <td>
1223
+ <pre class="lines">
1224
+
1225
+
1226
+ 67
1227
+ 68
1228
+ 69</pre>
1229
+ </td>
1230
+ <td>
1231
+ <pre class="code"><span class="info file"># File 'lib/steam/community/alien_swarm/alien_swarm_mission.rb', line 67</span>
1232
+
1233
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_map_name identifier id'>map_name</span>
1234
+ <span class='rubyid_@map_name ivar id'>@map_name</span>
1235
+ <span class='rubyid_end end kw'>end</span>
1236
+ </pre>
1237
+ </td>
1238
+ </tr>
1239
+ </table>
1240
+ </div>
1241
+
1242
+
1243
+ <span id=""></span>
1244
+ <span id="name-instance_method"></span>
1245
+ <div class="method_details ">
1246
+ <p class="signature " id="name-instance_method">
1247
+
1248
+ - (<tt>String</tt>) <strong>name</strong> <span class="extras">(readonly)</span>
1249
+
1250
+
1251
+
1252
+ </p><div class="docstring">
1253
+ <div class="discussion">
1254
+ <p>Returns the name of the mission</p>
1255
+
1256
+
1257
+ </div>
1258
+ </div>
1259
+ <div class="tags">
1260
+
1261
+ <h3>Returns:</h3>
1262
+ <ul class="return">
1263
+
1264
+ <li>
1265
+
1266
+
1267
+ <span class='type'>(<tt>String</tt>)</span>
1268
+
1269
+
1270
+
1271
+ &mdash;
1272
+ <div class='inline'><p>The name of the mission</p>
1273
+ </div>
1274
+
1275
+ </li>
1276
+
1277
+ </ul>
1278
+
1279
+ </div><table class="source_code">
1280
+ <tr>
1281
+ <td>
1282
+ <pre class="lines">
1283
+
1284
+
1285
+ 72
1286
+ 73
1287
+ 74</pre>
1288
+ </td>
1289
+ <td>
1290
+ <pre class="code"><span class="info file"># File 'lib/steam/community/alien_swarm/alien_swarm_mission.rb', line 72</span>
1291
+
1292
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_name identifier id'>name</span>
1293
+ <span class='rubyid_@name ivar id'>@name</span>
1294
+ <span class='rubyid_end end kw'>end</span>
1295
+ </pre>
1296
+ </td>
1297
+ </tr>
1298
+ </table>
1299
+ </div>
1300
+
1301
+
1302
+ <span id=""></span>
1303
+ <span id="time-instance_method"></span>
1304
+ <div class="method_details ">
1305
+ <p class="signature " id="time-instance_method">
1306
+
1307
+ - (<tt>Hash&lt;Symbol, String&gt;</tt>) <strong>time</strong> <span class="extras">(readonly)</span>
1308
+
1309
+
1310
+
1311
+ </p><div class="docstring">
1312
+ <div class="discussion">
1313
+ <p>Returns various statistics about the times needed to accomplish this
1314
+ mission</p>
1315
+
1316
+ <p>This includes the best times for each difficulty, the average time and
1317
+ the total time spent in this mission.</p>
1318
+
1319
+
1320
+ </div>
1321
+ </div>
1322
+ <div class="tags">
1323
+
1324
+ <h3>Returns:</h3>
1325
+ <ul class="return">
1326
+
1327
+ <li>
1328
+
1329
+
1330
+ <span class='type'>(<tt>Hash&lt;Symbol, String&gt;</tt>)</span>
1331
+
1332
+
1333
+
1334
+ &mdash;
1335
+ <div class='inline'><p>Various time statistics about this mission</p>
1336
+ </div>
1337
+
1338
+ </li>
1339
+
1340
+ </ul>
1341
+
1342
+ </div><table class="source_code">
1343
+ <tr>
1344
+ <td>
1345
+ <pre class="lines">
1346
+
1347
+
1348
+ 81
1349
+ 82
1350
+ 83</pre>
1351
+ </td>
1352
+ <td>
1353
+ <pre class="code"><span class="info file"># File 'lib/steam/community/alien_swarm/alien_swarm_mission.rb', line 81</span>
1354
+
1355
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_time identifier id'>time</span>
1356
+ <span class='rubyid_@time ivar id'>@time</span>
1357
+ <span class='rubyid_end end kw'>end</span>
1358
+ </pre>
1359
+ </td>
1360
+ </tr>
1361
+ </table>
1362
+ </div>
1363
+
1364
+
1365
+ <span id=""></span>
1366
+ <span id="total_games-instance_method"></span>
1367
+ <div class="method_details ">
1368
+ <p class="signature " id="total_games-instance_method">
1369
+
1370
+ - (<tt>Fixnum</tt>) <strong>total_games</strong> <span class="extras">(readonly)</span>
1371
+
1372
+
1373
+
1374
+ </p><div class="docstring">
1375
+ <div class="discussion">
1376
+ <p>Returns the number of games played in this mission</p>
1377
+
1378
+
1379
+ </div>
1380
+ </div>
1381
+ <div class="tags">
1382
+
1383
+ <h3>Returns:</h3>
1384
+ <ul class="return">
1385
+
1386
+ <li>
1387
+
1388
+
1389
+ <span class='type'>(<tt>Fixnum</tt>)</span>
1390
+
1391
+
1392
+
1393
+ &mdash;
1394
+ <div class='inline'><p>The number of games played in this mission</p>
1395
+ </div>
1396
+
1397
+ </li>
1398
+
1399
+ </ul>
1400
+
1401
+ </div><table class="source_code">
1402
+ <tr>
1403
+ <td>
1404
+ <pre class="lines">
1405
+
1406
+
1407
+ 86
1408
+ 87
1409
+ 88</pre>
1410
+ </td>
1411
+ <td>
1412
+ <pre class="code"><span class="info file"># File 'lib/steam/community/alien_swarm/alien_swarm_mission.rb', line 86</span>
1413
+
1414
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_total_games identifier id'>total_games</span>
1415
+ <span class='rubyid_@total_games ivar id'>@total_games</span>
1416
+ <span class='rubyid_end end kw'>end</span>
1417
+ </pre>
1418
+ </td>
1419
+ </tr>
1420
+ </table>
1421
+ </div>
1422
+
1423
+
1424
+ <span id=""></span>
1425
+ <span id="total_games_percentage-instance_method"></span>
1426
+ <div class="method_details ">
1427
+ <p class="signature " id="total_games_percentage-instance_method">
1428
+
1429
+ - (<tt>Float</tt>) <strong>total_games_percentage</strong> <span class="extras">(readonly)</span>
1430
+
1431
+
1432
+
1433
+ </p><div class="docstring">
1434
+ <div class="discussion">
1435
+ <p>Returns the percentage of successful games played in this mission</p>
1436
+
1437
+
1438
+ </div>
1439
+ </div>
1440
+ <div class="tags">
1441
+
1442
+ <h3>Returns:</h3>
1443
+ <ul class="return">
1444
+
1445
+ <li>
1446
+
1447
+
1448
+ <span class='type'>(<tt>Float</tt>)</span>
1449
+
1450
+
1451
+
1452
+ &mdash;
1453
+ <div class='inline'><p>The percentage of successful games played in this mission</p>
1454
+ </div>
1455
+
1456
+ </li>
1457
+
1458
+ </ul>
1459
+
1460
+ </div><table class="source_code">
1461
+ <tr>
1462
+ <td>
1463
+ <pre class="lines">
1464
+
1465
+
1466
+ 91
1467
+ 92
1468
+ 93</pre>
1469
+ </td>
1470
+ <td>
1471
+ <pre class="code"><span class="info file"># File 'lib/steam/community/alien_swarm/alien_swarm_mission.rb', line 91</span>
1472
+
1473
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_total_games_percentage identifier id'>total_games_percentage</span>
1474
+ <span class='rubyid_@total_games_percentage ivar id'>@total_games_percentage</span>
1475
+ <span class='rubyid_end end kw'>end</span>
1476
+ </pre>
1477
+ </td>
1478
+ </tr>
1479
+ </table>
1480
+ </div>
1481
+
1482
+ </div>
1483
+
1484
+
1485
+ </div>
1486
+
1487
+ <div id="footer">
1488
+ Generated on Mon Apr 30 07:03:04 2012 by
1489
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1490
+ 0.7.5 (ruby-1.8.7).
1491
+ </div>
1492
+
1493
+ </body>
1494
+ </html>