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,1764 @@
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: SteamPlayer
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">SteamPlayer</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: SteamPlayer
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">SteamPlayer</li>
82
+
83
+ </ul>
84
+ <a href="#" class="inheritanceTree">show all</a>
85
+
86
+ </dd>
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+ <dt class="r2 last">Defined in:</dt>
97
+ <dd class="r2 last">lib/steam/steam_player.rb</dd>
98
+
99
+ </dl>
100
+ <div class="clear"></div>
101
+
102
+ <h2>Overview</h2><div class="docstring">
103
+ <div class="discussion">
104
+ <p>The SteamPlayer class represents a player connected to a server</p>
105
+
106
+
107
+ </div>
108
+ </div>
109
+ <div class="tags">
110
+
111
+ <p class="tag_title">Author:</p>
112
+ <ul class="author">
113
+
114
+ <li>
115
+
116
+
117
+
118
+
119
+
120
+ <div class='inline'><p>Sebastian Staudt</p>
121
+ </div>
122
+
123
+ </li>
124
+
125
+ </ul>
126
+
127
+ </div>
128
+
129
+
130
+
131
+ <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
132
+ <ul class="summary">
133
+
134
+ <li class="public ">
135
+ <span class="summary_signature">
136
+
137
+ <a href="#client_port-instance_method" title="#client_port (instance method)">- (Fixnum) <strong>client_port</strong> </a>
138
+
139
+
140
+
141
+ </span>
142
+
143
+
144
+
145
+
146
+ <span class="note title readonly">readonly</span>
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+ <span class="summary_desc"><div class='inline'><p>Returns the client port of this player.</p>
157
+ </div></span>
158
+
159
+ </li>
160
+
161
+
162
+ <li class="public ">
163
+ <span class="summary_signature">
164
+
165
+ <a href="#connect_time-instance_method" title="#connect_time (instance method)">- (Float) <strong>connect_time</strong> </a>
166
+
167
+
168
+
169
+ </span>
170
+
171
+
172
+
173
+
174
+ <span class="note title readonly">readonly</span>
175
+
176
+
177
+
178
+
179
+
180
+
181
+
182
+
183
+
184
+ <span class="summary_desc"><div class='inline'><p>Returns the time this player is connected to the server.</p>
185
+ </div></span>
186
+
187
+ </li>
188
+
189
+
190
+ <li class="public ">
191
+ <span class="summary_signature">
192
+
193
+ <a href="#id-instance_method" title="#id (instance method)">- (Fixnum) <strong>id</strong> </a>
194
+
195
+
196
+
197
+ </span>
198
+
199
+
200
+
201
+
202
+ <span class="note title readonly">readonly</span>
203
+
204
+
205
+
206
+
207
+
208
+
209
+
210
+
211
+
212
+ <span class="summary_desc"><div class='inline'><p>Returns the ID of this player.</p>
213
+ </div></span>
214
+
215
+ </li>
216
+
217
+
218
+ <li class="public ">
219
+ <span class="summary_signature">
220
+
221
+ <a href="#ip_address-instance_method" title="#ip_address (instance method)">- (String) <strong>ip_address</strong> </a>
222
+
223
+
224
+
225
+ </span>
226
+
227
+
228
+
229
+
230
+ <span class="note title readonly">readonly</span>
231
+
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+ <span class="summary_desc"><div class='inline'><p>Returns the IP address of this player.</p>
241
+ </div></span>
242
+
243
+ </li>
244
+
245
+
246
+ <li class="public ">
247
+ <span class="summary_signature">
248
+
249
+ <a href="#loss-instance_method" title="#loss (instance method)">- (String) <strong>loss</strong> </a>
250
+
251
+
252
+
253
+ </span>
254
+
255
+
256
+
257
+
258
+ <span class="note title readonly">readonly</span>
259
+
260
+
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+ <span class="summary_desc"><div class='inline'><p>Returns the packet loss of this player&#39;s connection.</p>
269
+ </div></span>
270
+
271
+ </li>
272
+
273
+
274
+ <li class="public ">
275
+ <span class="summary_signature">
276
+
277
+ <a href="#name-instance_method" title="#name (instance method)">- (String) <strong>name</strong> </a>
278
+
279
+
280
+
281
+ </span>
282
+
283
+
284
+
285
+
286
+ <span class="note title readonly">readonly</span>
287
+
288
+
289
+
290
+
291
+
292
+
293
+
294
+
295
+
296
+ <span class="summary_desc"><div class='inline'><p>Returns the nickname of this player.</p>
297
+ </div></span>
298
+
299
+ </li>
300
+
301
+
302
+ <li class="public ">
303
+ <span class="summary_signature">
304
+
305
+ <a href="#ping-instance_method" title="#ping (instance method)">- (Fixnum) <strong>ping</strong> </a>
306
+
307
+
308
+
309
+ </span>
310
+
311
+
312
+
313
+
314
+ <span class="note title readonly">readonly</span>
315
+
316
+
317
+
318
+
319
+
320
+
321
+
322
+
323
+
324
+ <span class="summary_desc"><div class='inline'><p>Returns the ping of this player.</p>
325
+ </div></span>
326
+
327
+ </li>
328
+
329
+
330
+ <li class="public ">
331
+ <span class="summary_signature">
332
+
333
+ <a href="#rate-instance_method" title="#rate (instance method)">- (Fixnum) <strong>rate</strong> </a>
334
+
335
+
336
+
337
+ </span>
338
+
339
+
340
+
341
+
342
+ <span class="note title readonly">readonly</span>
343
+
344
+
345
+
346
+
347
+
348
+
349
+
350
+
351
+
352
+ <span class="summary_desc"><div class='inline'><p>Returns the rate of this player.</p>
353
+ </div></span>
354
+
355
+ </li>
356
+
357
+
358
+ <li class="public ">
359
+ <span class="summary_signature">
360
+
361
+ <a href="#real_id-instance_method" title="#real_id (instance method)">- (Fixnum) <strong>real_id</strong> </a>
362
+
363
+
364
+
365
+ </span>
366
+
367
+
368
+
369
+
370
+ <span class="note title readonly">readonly</span>
371
+
372
+
373
+
374
+
375
+
376
+
377
+
378
+
379
+
380
+ <span class="summary_desc"><div class='inline'><p>Returns the real ID (as used on the server) of this player.</p>
381
+ </div></span>
382
+
383
+ </li>
384
+
385
+
386
+ <li class="public ">
387
+ <span class="summary_signature">
388
+
389
+ <a href="#score-instance_method" title="#score (instance method)">- (Fixnum) <strong>score</strong> </a>
390
+
391
+
392
+
393
+ </span>
394
+
395
+
396
+
397
+
398
+ <span class="note title readonly">readonly</span>
399
+
400
+
401
+
402
+
403
+
404
+
405
+
406
+
407
+
408
+ <span class="summary_desc"><div class='inline'><p>Returns the score of this player.</p>
409
+ </div></span>
410
+
411
+ </li>
412
+
413
+
414
+ <li class="public ">
415
+ <span class="summary_signature">
416
+
417
+ <a href="#state-instance_method" title="#state (instance method)">- (String) <strong>state</strong> </a>
418
+
419
+
420
+
421
+ </span>
422
+
423
+
424
+
425
+
426
+ <span class="note title readonly">readonly</span>
427
+
428
+
429
+
430
+
431
+
432
+
433
+
434
+
435
+
436
+ <span class="summary_desc"><div class='inline'><p>Returns the connection state of this player.</p>
437
+ </div></span>
438
+
439
+ </li>
440
+
441
+
442
+ <li class="public ">
443
+ <span class="summary_signature">
444
+
445
+ <a href="#steam_id-instance_method" title="#steam_id (instance method)">- (String) <strong>steam_id</strong> </a>
446
+
447
+
448
+
449
+ </span>
450
+
451
+
452
+
453
+
454
+ <span class="note title readonly">readonly</span>
455
+
456
+
457
+
458
+
459
+
460
+
461
+
462
+
463
+
464
+ <span class="summary_desc"><div class='inline'><p>Returns the SteamID of this player.</p>
465
+ </div></span>
466
+
467
+ </li>
468
+
469
+
470
+ </ul>
471
+
472
+
473
+
474
+
475
+
476
+ <h2>
477
+ Instance Method Summary
478
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
479
+ </h2>
480
+
481
+ <ul class="summary">
482
+
483
+ <li class="public ">
484
+ <span class="summary_signature">
485
+
486
+ <a href="#add_info-instance_method" title="#add_info (instance method)">- (Object) <strong>add_info</strong>(player_data) </a>
487
+
488
+
489
+
490
+ </span>
491
+
492
+
493
+
494
+
495
+
496
+
497
+
498
+
499
+
500
+ <span class="summary_desc"><div class='inline'><p>Extends a player object with information retrieved from a RCON call to the status command.</p>
501
+ </div></span>
502
+
503
+ </li>
504
+
505
+
506
+ <li class="public ">
507
+ <span class="summary_signature">
508
+
509
+ <a href="#bot%3F-instance_method" title="#bot? (instance method)">- (Boolean) <strong>bot?</strong> </a>
510
+
511
+
512
+
513
+ </span>
514
+
515
+
516
+
517
+
518
+
519
+
520
+
521
+
522
+
523
+ <span class="summary_desc"><div class='inline'><p>Returns whether this player is a bot.</p>
524
+ </div></span>
525
+
526
+ </li>
527
+
528
+
529
+ <li class="public ">
530
+ <span class="summary_signature">
531
+
532
+ <a href="#extended%3F-instance_method" title="#extended? (instance method)">- (Boolean) <strong>extended?</strong> </a>
533
+
534
+
535
+
536
+ </span>
537
+
538
+
539
+
540
+
541
+
542
+
543
+
544
+
545
+
546
+ <span class="summary_desc"><div class='inline'><p>Returns whether this player object has extended information gathered using RCON.</p>
547
+ </div></span>
548
+
549
+ </li>
550
+
551
+
552
+ <li class="public ">
553
+ <span class="summary_signature">
554
+
555
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (SteamPlayer) <strong>initialize</strong>(id, name, score, connect_time) </a>
556
+
557
+
558
+
559
+ </span>
560
+
561
+
562
+ <span class="note title constructor">constructor</span>
563
+
564
+
565
+
566
+
567
+
568
+
569
+
570
+
571
+ <span class="summary_desc"><div class='inline'><p>Creates a new player instance with the given information.</p>
572
+ </div></span>
573
+
574
+ </li>
575
+
576
+
577
+ <li class="public ">
578
+ <span class="summary_signature">
579
+
580
+ <a href="#to_s-instance_method" title="#to_s (instance method)">- (String) <strong>to_s</strong> </a>
581
+
582
+
583
+
584
+ </span>
585
+
586
+
587
+
588
+
589
+
590
+
591
+
592
+
593
+
594
+ <span class="summary_desc"><div class='inline'><p>Returns a string representation of this player.</p>
595
+ </div></span>
596
+
597
+ </li>
598
+
599
+
600
+ </ul>
601
+
602
+
603
+ <div id="constructor_details" class="method_details_list">
604
+ <h2>Constructor Details</h2>
605
+
606
+ <div class="method_details first">
607
+ <h3 class="signature first" id="initialize-instance_method">
608
+
609
+ - (<tt><span class='object_link'><a href="" title="SteamPlayer (class)">SteamPlayer</a></span></tt>) <strong>initialize</strong>(id, name, score, connect_time)
610
+
611
+
612
+
613
+
614
+
615
+ </h3><div class="docstring">
616
+ <div class="discussion">
617
+ <p>Creates a new player instance with the given information</p>
618
+
619
+
620
+ </div>
621
+ </div>
622
+ <div class="tags">
623
+ <p class="tag_title">Parameters:</p>
624
+ <ul class="param">
625
+
626
+ <li>
627
+
628
+ <span class='name'>id</span>
629
+
630
+
631
+ <span class='type'>(<tt>Fixnum</tt>)</span>
632
+
633
+
634
+
635
+ &mdash;
636
+ <div class='inline'><p>The ID of the player on the server</p>
637
+ </div>
638
+
639
+ </li>
640
+
641
+ <li>
642
+
643
+ <span class='name'>name</span>
644
+
645
+
646
+ <span class='type'>(<tt>String</tt>)</span>
647
+
648
+
649
+
650
+ &mdash;
651
+ <div class='inline'><p>The name of the player</p>
652
+ </div>
653
+
654
+ </li>
655
+
656
+ <li>
657
+
658
+ <span class='name'>score</span>
659
+
660
+
661
+ <span class='type'>(<tt>Fixnum</tt>)</span>
662
+
663
+
664
+
665
+ &mdash;
666
+ <div class='inline'><p>The score of the player</p>
667
+ </div>
668
+
669
+ </li>
670
+
671
+ <li>
672
+
673
+ <span class='name'>connect_time</span>
674
+
675
+
676
+ <span class='type'>(<tt>Float</tt>)</span>
677
+
678
+
679
+
680
+ &mdash;
681
+ <div class='inline'><p>The time the player is connected to the server</p>
682
+ </div>
683
+
684
+ </li>
685
+
686
+ </ul>
687
+
688
+
689
+ </div><table class="source_code">
690
+ <tr>
691
+ <td>
692
+ <pre class="lines">
693
+
694
+
695
+ 79
696
+ 80
697
+ 81
698
+ 82
699
+ 83
700
+ 84
701
+ 85</pre>
702
+ </td>
703
+ <td>
704
+ <pre class="code"><span class="info file"># File 'lib/steam/steam_player.rb', line 79</span>
705
+
706
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='rubyid_id identifier id'>id</span><span class='comma token'>,</span> <span class='rubyid_name identifier id'>name</span><span class='comma token'>,</span> <span class='rubyid_score identifier id'>score</span><span class='comma token'>,</span> <span class='rubyid_connect_time identifier id'>connect_time</span><span class='rparen token'>)</span>
707
+ <span class='rubyid_@connect_time ivar id'>@connect_time</span> <span class='assign token'>=</span> <span class='rubyid_connect_time identifier id'>connect_time</span>
708
+ <span class='rubyid_@id ivar id'>@id</span> <span class='assign token'>=</span> <span class='rubyid_id identifier id'>id</span>
709
+ <span class='rubyid_@name ivar id'>@name</span> <span class='assign token'>=</span> <span class='rubyid_name identifier id'>name</span>
710
+ <span class='rubyid_@score ivar id'>@score</span> <span class='assign token'>=</span> <span class='rubyid_score identifier id'>score</span>
711
+ <span class='rubyid_@extended ivar id'>@extended</span> <span class='assign token'>=</span> <span class='rubyid_false false kw'>false</span>
712
+ <span class='rubyid_end end kw'>end</span>
713
+ </pre>
714
+ </td>
715
+ </tr>
716
+ </table>
717
+ </div>
718
+
719
+ </div>
720
+
721
+ <div id="instance_attr_details" class="attr_details">
722
+ <h2>Instance Attribute Details</h2>
723
+
724
+
725
+ <span id=""></span>
726
+ <div class="method_details first">
727
+ <h3 class="signature first" id="client_port-instance_method">
728
+
729
+ - (<tt>Fixnum</tt>) <strong>client_port</strong> <span class="extras">(readonly)</span>
730
+
731
+
732
+
733
+
734
+
735
+ </h3><div class="docstring">
736
+ <div class="discussion">
737
+ <p>Returns the client port of this player</p>
738
+
739
+
740
+ </div>
741
+ </div>
742
+ <div class="tags">
743
+
744
+ <p class="tag_title">Returns:</p>
745
+ <ul class="return">
746
+
747
+ <li>
748
+
749
+
750
+ <span class='type'>(<tt>Fixnum</tt>)</span>
751
+
752
+
753
+
754
+ &mdash;
755
+ <div class='inline'><p>The client port of the player</p>
756
+ </div>
757
+
758
+ </li>
759
+
760
+ </ul>
761
+
762
+ </div><table class="source_code">
763
+ <tr>
764
+ <td>
765
+ <pre class="lines">
766
+
767
+
768
+ 16
769
+ 17
770
+ 18</pre>
771
+ </td>
772
+ <td>
773
+ <pre class="code"><span class="info file"># File 'lib/steam/steam_player.rb', line 16</span>
774
+
775
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_client_port identifier id'>client_port</span>
776
+ <span class='rubyid_@client_port ivar id'>@client_port</span>
777
+ <span class='rubyid_end end kw'>end</span>
778
+ </pre>
779
+ </td>
780
+ </tr>
781
+ </table>
782
+ </div>
783
+
784
+
785
+ <span id=""></span>
786
+ <div class="method_details ">
787
+ <h3 class="signature " id="connect_time-instance_method">
788
+
789
+ - (<tt>Float</tt>) <strong>connect_time</strong> <span class="extras">(readonly)</span>
790
+
791
+
792
+
793
+
794
+
795
+ </h3><div class="docstring">
796
+ <div class="discussion">
797
+ <p>Returns the time this player is connected to the server</p>
798
+
799
+
800
+ </div>
801
+ </div>
802
+ <div class="tags">
803
+
804
+ <p class="tag_title">Returns:</p>
805
+ <ul class="return">
806
+
807
+ <li>
808
+
809
+
810
+ <span class='type'>(<tt>Float</tt>)</span>
811
+
812
+
813
+
814
+ &mdash;
815
+ <div class='inline'><p>The connection time of the player</p>
816
+ </div>
817
+
818
+ </li>
819
+
820
+ </ul>
821
+
822
+ </div><table class="source_code">
823
+ <tr>
824
+ <td>
825
+ <pre class="lines">
826
+
827
+
828
+ 21
829
+ 22
830
+ 23</pre>
831
+ </td>
832
+ <td>
833
+ <pre class="code"><span class="info file"># File 'lib/steam/steam_player.rb', line 21</span>
834
+
835
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_connect_time identifier id'>connect_time</span>
836
+ <span class='rubyid_@connect_time ivar id'>@connect_time</span>
837
+ <span class='rubyid_end end kw'>end</span>
838
+ </pre>
839
+ </td>
840
+ </tr>
841
+ </table>
842
+ </div>
843
+
844
+
845
+ <span id=""></span>
846
+ <div class="method_details ">
847
+ <h3 class="signature " id="id-instance_method">
848
+
849
+ - (<tt>Fixnum</tt>) <strong>id</strong> <span class="extras">(readonly)</span>
850
+
851
+
852
+
853
+
854
+
855
+ </h3><div class="docstring">
856
+ <div class="discussion">
857
+ <p>Returns the ID of this player</p>
858
+
859
+
860
+ </div>
861
+ </div>
862
+ <div class="tags">
863
+
864
+ <p class="tag_title">Returns:</p>
865
+ <ul class="return">
866
+
867
+ <li>
868
+
869
+
870
+ <span class='type'>(<tt>Fixnum</tt>)</span>
871
+
872
+
873
+
874
+ &mdash;
875
+ <div class='inline'><p>The ID of this player</p>
876
+ </div>
877
+
878
+ </li>
879
+
880
+ </ul>
881
+
882
+ </div><table class="source_code">
883
+ <tr>
884
+ <td>
885
+ <pre class="lines">
886
+
887
+
888
+ 26
889
+ 27
890
+ 28</pre>
891
+ </td>
892
+ <td>
893
+ <pre class="code"><span class="info file"># File 'lib/steam/steam_player.rb', line 26</span>
894
+
895
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_id identifier id'>id</span>
896
+ <span class='rubyid_@id ivar id'>@id</span>
897
+ <span class='rubyid_end end kw'>end</span>
898
+ </pre>
899
+ </td>
900
+ </tr>
901
+ </table>
902
+ </div>
903
+
904
+
905
+ <span id=""></span>
906
+ <div class="method_details ">
907
+ <h3 class="signature " id="ip_address-instance_method">
908
+
909
+ - (<tt>String</tt>) <strong>ip_address</strong> <span class="extras">(readonly)</span>
910
+
911
+
912
+
913
+
914
+
915
+ </h3><div class="docstring">
916
+ <div class="discussion">
917
+ <p>Returns the IP address of this player</p>
918
+
919
+
920
+ </div>
921
+ </div>
922
+ <div class="tags">
923
+
924
+ <p class="tag_title">Returns:</p>
925
+ <ul class="return">
926
+
927
+ <li>
928
+
929
+
930
+ <span class='type'>(<tt>String</tt>)</span>
931
+
932
+
933
+
934
+ &mdash;
935
+ <div class='inline'><p>The IP address of this player</p>
936
+ </div>
937
+
938
+ </li>
939
+
940
+ </ul>
941
+
942
+ </div><table class="source_code">
943
+ <tr>
944
+ <td>
945
+ <pre class="lines">
946
+
947
+
948
+ 31
949
+ 32
950
+ 33</pre>
951
+ </td>
952
+ <td>
953
+ <pre class="code"><span class="info file"># File 'lib/steam/steam_player.rb', line 31</span>
954
+
955
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_ip_address identifier id'>ip_address</span>
956
+ <span class='rubyid_@ip_address ivar id'>@ip_address</span>
957
+ <span class='rubyid_end end kw'>end</span>
958
+ </pre>
959
+ </td>
960
+ </tr>
961
+ </table>
962
+ </div>
963
+
964
+
965
+ <span id=""></span>
966
+ <div class="method_details ">
967
+ <h3 class="signature " id="loss-instance_method">
968
+
969
+ - (<tt>String</tt>) <strong>loss</strong> <span class="extras">(readonly)</span>
970
+
971
+
972
+
973
+
974
+
975
+ </h3><div class="docstring">
976
+ <div class="discussion">
977
+ <p>Returns the packet loss of this player&#39;s connection</p>
978
+
979
+
980
+ </div>
981
+ </div>
982
+ <div class="tags">
983
+
984
+ <p class="tag_title">Returns:</p>
985
+ <ul class="return">
986
+
987
+ <li>
988
+
989
+
990
+ <span class='type'>(<tt>String</tt>)</span>
991
+
992
+
993
+
994
+ &mdash;
995
+ <div class='inline'><p>The packet loss of this player&#39;s connection</p>
996
+ </div>
997
+
998
+ </li>
999
+
1000
+ </ul>
1001
+
1002
+ </div><table class="source_code">
1003
+ <tr>
1004
+ <td>
1005
+ <pre class="lines">
1006
+
1007
+
1008
+ 41
1009
+ 42
1010
+ 43</pre>
1011
+ </td>
1012
+ <td>
1013
+ <pre class="code"><span class="info file"># File 'lib/steam/steam_player.rb', line 41</span>
1014
+
1015
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_loss identifier id'>loss</span>
1016
+ <span class='rubyid_@loss ivar id'>@loss</span>
1017
+ <span class='rubyid_end end kw'>end</span>
1018
+ </pre>
1019
+ </td>
1020
+ </tr>
1021
+ </table>
1022
+ </div>
1023
+
1024
+
1025
+ <span id=""></span>
1026
+ <div class="method_details ">
1027
+ <h3 class="signature " id="name-instance_method">
1028
+
1029
+ - (<tt>String</tt>) <strong>name</strong> <span class="extras">(readonly)</span>
1030
+
1031
+
1032
+
1033
+
1034
+
1035
+ </h3><div class="docstring">
1036
+ <div class="discussion">
1037
+ <p>Returns the nickname of this player</p>
1038
+
1039
+
1040
+ </div>
1041
+ </div>
1042
+ <div class="tags">
1043
+
1044
+ <p class="tag_title">Returns:</p>
1045
+ <ul class="return">
1046
+
1047
+ <li>
1048
+
1049
+
1050
+ <span class='type'>(<tt>String</tt>)</span>
1051
+
1052
+
1053
+
1054
+ &mdash;
1055
+ <div class='inline'><p>The name of this player</p>
1056
+ </div>
1057
+
1058
+ </li>
1059
+
1060
+ </ul>
1061
+
1062
+ </div><table class="source_code">
1063
+ <tr>
1064
+ <td>
1065
+ <pre class="lines">
1066
+
1067
+
1068
+ 36
1069
+ 37
1070
+ 38</pre>
1071
+ </td>
1072
+ <td>
1073
+ <pre class="code"><span class="info file"># File 'lib/steam/steam_player.rb', line 36</span>
1074
+
1075
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_name identifier id'>name</span>
1076
+ <span class='rubyid_@name ivar id'>@name</span>
1077
+ <span class='rubyid_end end kw'>end</span>
1078
+ </pre>
1079
+ </td>
1080
+ </tr>
1081
+ </table>
1082
+ </div>
1083
+
1084
+
1085
+ <span id=""></span>
1086
+ <div class="method_details ">
1087
+ <h3 class="signature " id="ping-instance_method">
1088
+
1089
+ - (<tt>Fixnum</tt>) <strong>ping</strong> <span class="extras">(readonly)</span>
1090
+
1091
+
1092
+
1093
+
1094
+
1095
+ </h3><div class="docstring">
1096
+ <div class="discussion">
1097
+ <p>Returns the ping of this player</p>
1098
+
1099
+
1100
+ </div>
1101
+ </div>
1102
+ <div class="tags">
1103
+
1104
+ <p class="tag_title">Returns:</p>
1105
+ <ul class="return">
1106
+
1107
+ <li>
1108
+
1109
+
1110
+ <span class='type'>(<tt>Fixnum</tt>)</span>
1111
+
1112
+
1113
+
1114
+ &mdash;
1115
+ <div class='inline'><p>The ping of this player</p>
1116
+ </div>
1117
+
1118
+ </li>
1119
+
1120
+ </ul>
1121
+
1122
+ </div><table class="source_code">
1123
+ <tr>
1124
+ <td>
1125
+ <pre class="lines">
1126
+
1127
+
1128
+ 46
1129
+ 47
1130
+ 48</pre>
1131
+ </td>
1132
+ <td>
1133
+ <pre class="code"><span class="info file"># File 'lib/steam/steam_player.rb', line 46</span>
1134
+
1135
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_ping identifier id'>ping</span>
1136
+ <span class='rubyid_@ping ivar id'>@ping</span>
1137
+ <span class='rubyid_end end kw'>end</span>
1138
+ </pre>
1139
+ </td>
1140
+ </tr>
1141
+ </table>
1142
+ </div>
1143
+
1144
+
1145
+ <span id=""></span>
1146
+ <div class="method_details ">
1147
+ <h3 class="signature " id="rate-instance_method">
1148
+
1149
+ - (<tt>Fixnum</tt>) <strong>rate</strong> <span class="extras">(readonly)</span>
1150
+
1151
+
1152
+
1153
+
1154
+
1155
+ </h3><div class="docstring">
1156
+ <div class="discussion">
1157
+ <p>Returns the rate of this player</p>
1158
+
1159
+
1160
+ </div>
1161
+ </div>
1162
+ <div class="tags">
1163
+
1164
+ <p class="tag_title">Returns:</p>
1165
+ <ul class="return">
1166
+
1167
+ <li>
1168
+
1169
+
1170
+ <span class='type'>(<tt>Fixnum</tt>)</span>
1171
+
1172
+
1173
+
1174
+ &mdash;
1175
+ <div class='inline'><p>The rate of this player</p>
1176
+ </div>
1177
+
1178
+ </li>
1179
+
1180
+ </ul>
1181
+
1182
+ </div><table class="source_code">
1183
+ <tr>
1184
+ <td>
1185
+ <pre class="lines">
1186
+
1187
+
1188
+ 51
1189
+ 52
1190
+ 53</pre>
1191
+ </td>
1192
+ <td>
1193
+ <pre class="code"><span class="info file"># File 'lib/steam/steam_player.rb', line 51</span>
1194
+
1195
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_rate identifier id'>rate</span>
1196
+ <span class='rubyid_@rate ivar id'>@rate</span>
1197
+ <span class='rubyid_end end kw'>end</span>
1198
+ </pre>
1199
+ </td>
1200
+ </tr>
1201
+ </table>
1202
+ </div>
1203
+
1204
+
1205
+ <span id=""></span>
1206
+ <div class="method_details ">
1207
+ <h3 class="signature " id="real_id-instance_method">
1208
+
1209
+ - (<tt>Fixnum</tt>) <strong>real_id</strong> <span class="extras">(readonly)</span>
1210
+
1211
+
1212
+
1213
+
1214
+
1215
+ </h3><div class="docstring">
1216
+ <div class="discussion">
1217
+ <p>Returns the real ID (as used on the server) of this player</p>
1218
+
1219
+
1220
+ </div>
1221
+ </div>
1222
+ <div class="tags">
1223
+
1224
+ <p class="tag_title">Returns:</p>
1225
+ <ul class="return">
1226
+
1227
+ <li>
1228
+
1229
+
1230
+ <span class='type'>(<tt>Fixnum</tt>)</span>
1231
+
1232
+
1233
+
1234
+ &mdash;
1235
+ <div class='inline'><p>The real ID of this player</p>
1236
+ </div>
1237
+
1238
+ </li>
1239
+
1240
+ </ul>
1241
+
1242
+ </div><table class="source_code">
1243
+ <tr>
1244
+ <td>
1245
+ <pre class="lines">
1246
+
1247
+
1248
+ 56
1249
+ 57
1250
+ 58</pre>
1251
+ </td>
1252
+ <td>
1253
+ <pre class="code"><span class="info file"># File 'lib/steam/steam_player.rb', line 56</span>
1254
+
1255
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_real_id identifier id'>real_id</span>
1256
+ <span class='rubyid_@real_id ivar id'>@real_id</span>
1257
+ <span class='rubyid_end end kw'>end</span>
1258
+ </pre>
1259
+ </td>
1260
+ </tr>
1261
+ </table>
1262
+ </div>
1263
+
1264
+
1265
+ <span id=""></span>
1266
+ <div class="method_details ">
1267
+ <h3 class="signature " id="score-instance_method">
1268
+
1269
+ - (<tt>Fixnum</tt>) <strong>score</strong> <span class="extras">(readonly)</span>
1270
+
1271
+
1272
+
1273
+
1274
+
1275
+ </h3><div class="docstring">
1276
+ <div class="discussion">
1277
+ <p>Returns the score of this player</p>
1278
+
1279
+
1280
+ </div>
1281
+ </div>
1282
+ <div class="tags">
1283
+
1284
+ <p class="tag_title">Returns:</p>
1285
+ <ul class="return">
1286
+
1287
+ <li>
1288
+
1289
+
1290
+ <span class='type'>(<tt>Fixnum</tt>)</span>
1291
+
1292
+
1293
+
1294
+ &mdash;
1295
+ <div class='inline'><p>The score of this player</p>
1296
+ </div>
1297
+
1298
+ </li>
1299
+
1300
+ </ul>
1301
+
1302
+ </div><table class="source_code">
1303
+ <tr>
1304
+ <td>
1305
+ <pre class="lines">
1306
+
1307
+
1308
+ 61
1309
+ 62
1310
+ 63</pre>
1311
+ </td>
1312
+ <td>
1313
+ <pre class="code"><span class="info file"># File 'lib/steam/steam_player.rb', line 61</span>
1314
+
1315
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_score identifier id'>score</span>
1316
+ <span class='rubyid_@score ivar id'>@score</span>
1317
+ <span class='rubyid_end end kw'>end</span>
1318
+ </pre>
1319
+ </td>
1320
+ </tr>
1321
+ </table>
1322
+ </div>
1323
+
1324
+
1325
+ <span id=""></span>
1326
+ <div class="method_details ">
1327
+ <h3 class="signature " id="state-instance_method">
1328
+
1329
+ - (<tt>String</tt>) <strong>state</strong> <span class="extras">(readonly)</span>
1330
+
1331
+
1332
+
1333
+
1334
+
1335
+ </h3><div class="docstring">
1336
+ <div class="discussion">
1337
+ <p>Returns the connection state of this player</p>
1338
+
1339
+
1340
+ </div>
1341
+ </div>
1342
+ <div class="tags">
1343
+
1344
+ <p class="tag_title">Returns:</p>
1345
+ <ul class="return">
1346
+
1347
+ <li>
1348
+
1349
+
1350
+ <span class='type'>(<tt>String</tt>)</span>
1351
+
1352
+
1353
+
1354
+ &mdash;
1355
+ <div class='inline'><p>The connection state of this player</p>
1356
+ </div>
1357
+
1358
+ </li>
1359
+
1360
+ </ul>
1361
+
1362
+ </div><table class="source_code">
1363
+ <tr>
1364
+ <td>
1365
+ <pre class="lines">
1366
+
1367
+
1368
+ 66
1369
+ 67
1370
+ 68</pre>
1371
+ </td>
1372
+ <td>
1373
+ <pre class="code"><span class="info file"># File 'lib/steam/steam_player.rb', line 66</span>
1374
+
1375
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_state identifier id'>state</span>
1376
+ <span class='rubyid_@state ivar id'>@state</span>
1377
+ <span class='rubyid_end end kw'>end</span>
1378
+ </pre>
1379
+ </td>
1380
+ </tr>
1381
+ </table>
1382
+ </div>
1383
+
1384
+
1385
+ <span id=""></span>
1386
+ <div class="method_details ">
1387
+ <h3 class="signature " id="steam_id-instance_method">
1388
+
1389
+ - (<tt>String</tt>) <strong>steam_id</strong> <span class="extras">(readonly)</span>
1390
+
1391
+
1392
+
1393
+
1394
+
1395
+ </h3><div class="docstring">
1396
+ <div class="discussion">
1397
+ <p>Returns the SteamID of this player</p>
1398
+
1399
+
1400
+ </div>
1401
+ </div>
1402
+ <div class="tags">
1403
+
1404
+ <p class="tag_title">Returns:</p>
1405
+ <ul class="return">
1406
+
1407
+ <li>
1408
+
1409
+
1410
+ <span class='type'>(<tt>String</tt>)</span>
1411
+
1412
+
1413
+
1414
+ &mdash;
1415
+ <div class='inline'><p>The SteamID of this player</p>
1416
+ </div>
1417
+
1418
+ </li>
1419
+
1420
+ </ul>
1421
+
1422
+ </div><table class="source_code">
1423
+ <tr>
1424
+ <td>
1425
+ <pre class="lines">
1426
+
1427
+
1428
+ 71
1429
+ 72
1430
+ 73</pre>
1431
+ </td>
1432
+ <td>
1433
+ <pre class="code"><span class="info file"># File 'lib/steam/steam_player.rb', line 71</span>
1434
+
1435
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_steam_id identifier id'>steam_id</span>
1436
+ <span class='rubyid_@steam_id ivar id'>@steam_id</span>
1437
+ <span class='rubyid_end end kw'>end</span>
1438
+ </pre>
1439
+ </td>
1440
+ </tr>
1441
+ </table>
1442
+ </div>
1443
+
1444
+ </div>
1445
+
1446
+
1447
+ <div id="instance_method_details" class="method_details_list">
1448
+ <h2>Instance Method Details</h2>
1449
+
1450
+
1451
+ <div class="method_details first">
1452
+ <h3 class="signature first" id="add_info-instance_method">
1453
+
1454
+ - (<tt>Object</tt>) <strong>add_info</strong>(player_data)
1455
+
1456
+
1457
+
1458
+
1459
+
1460
+ </h3><div class="docstring">
1461
+ <div class="discussion">
1462
+ <p>Extends a player object with information retrieved from a RCON call to
1463
+ the status command</p>
1464
+
1465
+
1466
+ </div>
1467
+ </div>
1468
+ <div class="tags">
1469
+ <p class="tag_title">Parameters:</p>
1470
+ <ul class="param">
1471
+
1472
+ <li>
1473
+
1474
+ <span class='name'>player_data</span>
1475
+
1476
+
1477
+ <span class='type'>(<tt>String</tt>)</span>
1478
+
1479
+
1480
+
1481
+ &mdash;
1482
+ <div class='inline'><p>The player data retrieved from <code>rcon status</code></p>
1483
+ </div>
1484
+
1485
+ </li>
1486
+
1487
+ </ul>
1488
+
1489
+ <p class="tag_title">Raises:</p>
1490
+ <ul class="raise">
1491
+
1492
+ <li>
1493
+
1494
+
1495
+ <span class='type'>(<tt><span class='object_link'><a href="SteamCondenserError.html" title="SteamCondenserError (class)">SteamCondenserError</a></span></tt>)</span>
1496
+
1497
+
1498
+
1499
+ &mdash;
1500
+ <div class='inline'><p>if the information belongs to another
1501
+ player</p>
1502
+ </div>
1503
+
1504
+ </li>
1505
+
1506
+ </ul>
1507
+
1508
+ </div><table class="source_code">
1509
+ <tr>
1510
+ <td>
1511
+ <pre class="lines">
1512
+
1513
+
1514
+ 93
1515
+ 94
1516
+ 95
1517
+ 96
1518
+ 97
1519
+ 98
1520
+ 99
1521
+ 100
1522
+ 101
1523
+ 102
1524
+ 103
1525
+ 104
1526
+ 105
1527
+ 106
1528
+ 107
1529
+ 108
1530
+ 109
1531
+ 110
1532
+ 111
1533
+ 112
1534
+ 113
1535
+ 114
1536
+ 115</pre>
1537
+ </td>
1538
+ <td>
1539
+ <pre class="code"><span class="info file"># File 'lib/steam/steam_player.rb', line 93</span>
1540
+
1541
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_add_info identifier id'>add_info</span><span class='lparen token'>(</span><span class='rubyid_player_data identifier id'>player_data</span><span class='rparen token'>)</span>
1542
+ <span class='rubyid_unless unless kw'>unless</span> <span class='rubyid_player_data identifier id'>player_data</span><span class='lbrack token'>[</span><span class='symbol val'>:name</span><span class='rbrack token'>]</span> <span class='eq op'>==</span> <span class='rubyid_@name ivar id'>@name</span>
1543
+ <span class='rubyid_raise identifier id'>raise</span> <span class='rubyid_SteamCondenserError constant id'>SteamCondenserError</span><span class='comma token'>,</span> <span class='string val'>'Information to add belongs to a different player.'</span>
1544
+ <span class='rubyid_end end kw'>end</span>
1545
+
1546
+ <span class='rubyid_@extended ivar id'>@extended</span> <span class='assign token'>=</span> <span class='rubyid_true true kw'>true</span>
1547
+
1548
+ <span class='rubyid_@real_id ivar id'>@real_id</span> <span class='assign token'>=</span> <span class='rubyid_player_data identifier id'>player_data</span><span class='lbrack token'>[</span><span class='symbol val'>:userid</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span>
1549
+ <span class='rubyid_@steam_id ivar id'>@steam_id</span> <span class='assign token'>=</span> <span class='rubyid_player_data identifier id'>player_data</span><span class='lbrack token'>[</span><span class='symbol val'>:uniqueid</span><span class='rbrack token'>]</span>
1550
+ <span class='rubyid_@state ivar id'>@state</span> <span class='assign token'>=</span> <span class='rubyid_player_data identifier id'>player_data</span><span class='lbrack token'>[</span><span class='symbol val'>:state</span><span class='rbrack token'>]</span> <span class='rubyid_if if_mod kw'>if</span> <span class='rubyid_player_data identifier id'>player_data</span><span class='dot token'>.</span><span class='rubyid_key? fid id'>key?</span> <span class='symbol val'>:state</span>
1551
+
1552
+ <span class='rubyid_if if kw'>if</span> <span class='notop op'>!</span><span class='rubyid_bot? fid id'>bot?</span>
1553
+ <span class='rubyid_@loss ivar id'>@loss</span> <span class='assign token'>=</span> <span class='rubyid_player_data identifier id'>player_data</span><span class='lbrack token'>[</span><span class='symbol val'>:loss</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span>
1554
+ <span class='rubyid_@ping ivar id'>@ping</span> <span class='assign token'>=</span> <span class='rubyid_player_data identifier id'>player_data</span><span class='lbrack token'>[</span><span class='symbol val'>:ping</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span>
1555
+
1556
+ <span class='rubyid_if if kw'>if</span> <span class='rubyid_player_data identifier id'>player_data</span><span class='dot token'>.</span><span class='rubyid_key? fid id'>key?</span> <span class='colon op'>:</span><span class='rubyid_adr identifier id'>adr</span>
1557
+ <span class='rubyid_@ip_address ivar id'>@ip_address</span><span class='comma token'>,</span> <span class='rubyid_@client_port ivar id'>@client_port</span> <span class='assign token'>=</span> <span class='rubyid_player_data identifier id'>player_data</span><span class='lbrack token'>[</span><span class='symbol val'>:adr</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_split identifier id'>split</span><span class='lparen token'>(</span><span class='string val'>':'</span><span class='rparen token'>)</span>
1558
+ <span class='rubyid_@client_port ivar id'>@client_port</span> <span class='assign token'>=</span> <span class='rubyid_@client_port ivar id'>@client_port</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span>
1559
+ <span class='rubyid_end end kw'>end</span>
1560
+
1561
+ <span class='rubyid_@rate ivar id'>@rate</span> <span class='assign token'>=</span> <span class='rubyid_player_data identifier id'>player_data</span><span class='lbrack token'>[</span><span class='symbol val'>:rate</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span> <span class='rubyid_if if_mod kw'>if</span> <span class='rubyid_player_data identifier id'>player_data</span><span class='dot token'>.</span><span class='rubyid_key? fid id'>key?</span> <span class='symbol val'>:rate</span>
1562
+ <span class='rubyid_end end kw'>end</span>
1563
+ <span class='rubyid_end end kw'>end</span>
1564
+ </pre>
1565
+ </td>
1566
+ </tr>
1567
+ </table>
1568
+ </div>
1569
+
1570
+ <div class="method_details ">
1571
+ <h3 class="signature " id="bot?-instance_method">
1572
+
1573
+ - (<tt>Boolean</tt>) <strong>bot?</strong>
1574
+
1575
+
1576
+
1577
+
1578
+
1579
+ </h3><div class="docstring">
1580
+ <div class="discussion">
1581
+ <p>Returns whether this player is a bot</p>
1582
+
1583
+
1584
+ </div>
1585
+ </div>
1586
+ <div class="tags">
1587
+
1588
+ <p class="tag_title">Returns:</p>
1589
+ <ul class="return">
1590
+
1591
+ <li>
1592
+
1593
+
1594
+ <span class='type'>(<tt>Boolean</tt>)</span>
1595
+
1596
+
1597
+
1598
+ &mdash;
1599
+ <div class='inline'><p>bool <code>true</code> if this player is a bot</p>
1600
+ </div>
1601
+
1602
+ </li>
1603
+
1604
+ </ul>
1605
+
1606
+ </div><table class="source_code">
1607
+ <tr>
1608
+ <td>
1609
+ <pre class="lines">
1610
+
1611
+
1612
+ 120
1613
+ 121
1614
+ 122</pre>
1615
+ </td>
1616
+ <td>
1617
+ <pre class="code"><span class="info file"># File 'lib/steam/steam_player.rb', line 120</span>
1618
+
1619
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_bot? fid id'>bot?</span>
1620
+ <span class='rubyid_@steam_id ivar id'>@steam_id</span> <span class='eq op'>==</span> <span class='string val'>'BOT'</span>
1621
+ <span class='rubyid_end end kw'>end</span>
1622
+ </pre>
1623
+ </td>
1624
+ </tr>
1625
+ </table>
1626
+ </div>
1627
+
1628
+ <div class="method_details ">
1629
+ <h3 class="signature " id="extended?-instance_method">
1630
+
1631
+ - (<tt>Boolean</tt>) <strong>extended?</strong>
1632
+
1633
+
1634
+
1635
+
1636
+
1637
+ </h3><div class="docstring">
1638
+ <div class="discussion">
1639
+ <p>Returns whether this player object has extended information gathered
1640
+ using RCON</p>
1641
+
1642
+
1643
+ </div>
1644
+ </div>
1645
+ <div class="tags">
1646
+
1647
+ <p class="tag_title">Returns:</p>
1648
+ <ul class="return">
1649
+
1650
+ <li>
1651
+
1652
+
1653
+ <span class='type'>(<tt>Boolean</tt>)</span>
1654
+
1655
+
1656
+
1657
+ &mdash;
1658
+ <div class='inline'><p>bool <code>true</code> if extended information for this player is available</p>
1659
+ </div>
1660
+
1661
+ </li>
1662
+
1663
+ </ul>
1664
+
1665
+ </div><table class="source_code">
1666
+ <tr>
1667
+ <td>
1668
+ <pre class="lines">
1669
+
1670
+
1671
+ 128
1672
+ 129
1673
+ 130</pre>
1674
+ </td>
1675
+ <td>
1676
+ <pre class="code"><span class="info file"># File 'lib/steam/steam_player.rb', line 128</span>
1677
+
1678
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_extended? fid id'>extended?</span>
1679
+ <span class='rubyid_@extended ivar id'>@extended</span>
1680
+ <span class='rubyid_end end kw'>end</span>
1681
+ </pre>
1682
+ </td>
1683
+ </tr>
1684
+ </table>
1685
+ </div>
1686
+
1687
+ <div class="method_details ">
1688
+ <h3 class="signature " id="to_s-instance_method">
1689
+
1690
+ - (<tt>String</tt>) <strong>to_s</strong>
1691
+
1692
+
1693
+
1694
+
1695
+
1696
+ </h3><div class="docstring">
1697
+ <div class="discussion">
1698
+ <p>Returns a string representation of this player</p>
1699
+
1700
+
1701
+ </div>
1702
+ </div>
1703
+ <div class="tags">
1704
+
1705
+ <p class="tag_title">Returns:</p>
1706
+ <ul class="return">
1707
+
1708
+ <li>
1709
+
1710
+
1711
+ <span class='type'>(<tt>String</tt>)</span>
1712
+
1713
+
1714
+
1715
+ &mdash;
1716
+ <div class='inline'><p>A string representing this player</p>
1717
+ </div>
1718
+
1719
+ </li>
1720
+
1721
+ </ul>
1722
+
1723
+ </div><table class="source_code">
1724
+ <tr>
1725
+ <td>
1726
+ <pre class="lines">
1727
+
1728
+
1729
+ 135
1730
+ 136
1731
+ 137
1732
+ 138
1733
+ 139
1734
+ 140
1735
+ 141</pre>
1736
+ </td>
1737
+ <td>
1738
+ <pre class="code"><span class="info file"># File 'lib/steam/steam_player.rb', line 135</span>
1739
+
1740
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_to_s identifier id'>to_s</span>
1741
+ <span class='rubyid_if if kw'>if</span> <span class='rubyid_@extended ivar id'>@extended</span>
1742
+ <span class='string val'>&quot;\##@real_id \&quot;#@name\&quot;, SteamID: #@steam_id, Score: #@score, Time: #@connect_time&quot;</span>
1743
+ <span class='rubyid_else else kw'>else</span>
1744
+ <span class='string val'>&quot;\##@id \&quot;#@name\&quot;, Score: #@score, Time: #@connect_time&quot;</span>
1745
+ <span class='rubyid_end end kw'>end</span>
1746
+ <span class='rubyid_end end kw'>end</span>
1747
+ </pre>
1748
+ </td>
1749
+ </tr>
1750
+ </table>
1751
+ </div>
1752
+
1753
+ </div>
1754
+
1755
+ </div>
1756
+
1757
+ <div id="footer">
1758
+ Generated on Mon Sep 2 07:12:54 2013 by
1759
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1760
+ 0.8.7 (ruby-1.8.7).
1761
+ </div>
1762
+
1763
+ </body>
1764
+ </html>