steam-condenser 1.3.8.1 → 1.3.9

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