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.
- checksums.yaml +5 -5
- data/CHANGELOG.md +6 -1
- data/Gemfile.lock +1 -1
- data/doc/A2M_GET_SERVERS_BATCH2_Packet.html +426 -0
- data/doc/A2S_INFO_Packet.html +260 -0
- data/doc/A2S_PLAYER_Packet.html +295 -0
- data/doc/A2S_RULES_Packet.html +296 -0
- data/doc/A2S_SERVERQUERY_GETCHALLENGE_Packet.html +261 -0
- data/doc/AbstractL4DStats.html +1023 -0
- data/doc/AbstractL4DWeapon.html +749 -0
- data/doc/AlienSwarmMission.html +1555 -0
- data/doc/AlienSwarmStats.html +1012 -0
- data/doc/AlienSwarmWeapon.html +640 -0
- data/doc/AppNews.html +1441 -0
- data/doc/C2M_CHECKMD5_Packet.html +342 -0
- data/doc/CSSMap.html +805 -0
- data/doc/CSSStats.html +866 -0
- data/doc/CSSWeapon.html +888 -0
- data/doc/Cacheable/ClassMethods.html +697 -0
- data/doc/Cacheable.html +911 -0
- data/doc/DefenseGridStats.html +2592 -0
- data/doc/DoDSClass.html +1263 -0
- data/doc/DoDSStats.html +519 -0
- data/doc/DoDSWeapon.html +803 -0
- data/doc/Dota2BetaInventory.html +354 -0
- data/doc/Dota2Inventory.html +354 -0
- data/doc/Dota2Item.html +388 -0
- data/doc/GameAchievement.html +1255 -0
- data/doc/GameClass.html +321 -0
- data/doc/GameInventory.html +1469 -0
- data/doc/GameItem.html +1900 -0
- data/doc/GameItemSchema.html +1444 -0
- data/doc/GameLeaderboard.html +1706 -0
- data/doc/GameLeaderboardEntry.html +629 -0
- data/doc/GameServer.html +2419 -0
- data/doc/GameStats.html +1459 -0
- data/doc/GameWeapon.html +607 -0
- data/doc/GoldSrcServer.html +738 -0
- data/doc/GoldSrcSocket.html +849 -0
- data/doc/L4D2Map.html +737 -0
- data/doc/L4D2Stats.html +986 -0
- data/doc/L4D2Weapon.html +486 -0
- data/doc/L4DExplosive.html +374 -0
- data/doc/L4DMap.html +775 -0
- data/doc/L4DStats.html +563 -0
- data/doc/L4DWeapon.html +296 -0
- data/doc/M2A_SERVER_BATCH_Packet.html +430 -0
- data/doc/M2C_ISVALIDMD5_Packet.html +383 -0
- data/doc/M2S_REQUESTRESTART_Packet.html +382 -0
- data/doc/MasterServer.html +1069 -0
- data/doc/MasterServerSocket.html +295 -0
- data/doc/PacketFormatError.html +173 -0
- data/doc/Portal2Inventory.html +354 -0
- data/doc/Portal2Item.html +602 -0
- data/doc/Portal2Stats.html +400 -0
- data/doc/RCONAuthRequest.html +317 -0
- data/doc/RCONAuthResponse.html +305 -0
- data/doc/RCONBanError.html +252 -0
- data/doc/RCONExecRequest.html +317 -0
- data/doc/RCONExecResponse.html +406 -0
- data/doc/RCONGoldSrcRequest.html +363 -0
- data/doc/RCONGoldSrcResponse.html +367 -0
- data/doc/RCONNoAuthError.html +252 -0
- data/doc/RCONPacket.html +564 -0
- data/doc/RCONPacketFactory.html +300 -0
- data/doc/RCONSocket.html +696 -0
- data/doc/RCONTerminator.html +304 -0
- data/doc/RequestWithChallenge.html +233 -0
- data/doc/S2A_INFO2_Packet.html +416 -0
- data/doc/S2A_INFO_BasePacket.html +266 -0
- data/doc/S2A_INFO_DETAILED_Packet.html +371 -0
- data/doc/S2A_LOGSTRING_Packet.html +373 -0
- data/doc/S2A_PLAYER_Packet.html +417 -0
- data/doc/S2A_RULES_Packet.html +411 -0
- data/doc/S2C_CHALLENGE_Packet.html +370 -0
- data/doc/S2M_HEARTBEAT2_Packet.html +445 -0
- data/doc/Server.html +874 -0
- data/doc/SourceServer.html +893 -0
- data/doc/SourceSocket.html +350 -0
- data/doc/SteamCondenser/Community/AbstractL4DStats.html +1026 -0
- data/doc/SteamCondenser/Community/AbstractL4DWeapon.html +749 -0
- data/doc/SteamCondenser/Community/AlienSwarmMission.html +1557 -0
- data/doc/SteamCondenser/Community/AlienSwarmStats.html +1013 -0
- data/doc/SteamCondenser/Community/AlienSwarmWeapon.html +641 -0
- data/doc/SteamCondenser/Community/AppNews.html +1441 -0
- data/doc/SteamCondenser/Community/CSSMap.html +805 -0
- data/doc/SteamCondenser/Community/CSSStats.html +866 -0
- data/doc/SteamCondenser/Community/CSSWeapon.html +889 -0
- data/doc/SteamCondenser/Community/Cacheable/ClassMethods.html +695 -0
- data/doc/SteamCondenser/Community/Cacheable.html +911 -0
- data/doc/SteamCondenser/Community/DefenseGridStats.html +2593 -0
- data/doc/SteamCondenser/Community/DoDSClass.html +1263 -0
- data/doc/SteamCondenser/Community/DoDSStats.html +520 -0
- data/doc/SteamCondenser/Community/DoDSWeapon.html +803 -0
- data/doc/SteamCondenser/Community/Dota2BetaInventory.html +354 -0
- data/doc/SteamCondenser/Community/Dota2Inventory.html +354 -0
- data/doc/SteamCondenser/Community/Dota2Item.html +388 -0
- data/doc/SteamCondenser/Community/Dota2Match.html +505 -0
- data/doc/SteamCondenser/Community/GameAchievement.html +1100 -0
- data/doc/SteamCondenser/Community/GameClass.html +321 -0
- data/doc/SteamCondenser/Community/GameInventory.html +1469 -0
- data/doc/SteamCondenser/Community/GameItem.html +1900 -0
- data/doc/SteamCondenser/Community/GameItemSchema.html +1444 -0
- data/doc/SteamCondenser/Community/GameLeaderboard.html +1707 -0
- data/doc/SteamCondenser/Community/GameLeaderboardEntry.html +630 -0
- data/doc/SteamCondenser/Community/GameStats.html +1461 -0
- data/doc/SteamCondenser/Community/GameStatsSchema.html +771 -0
- data/doc/SteamCondenser/Community/GameStatsValue/Instance.html +262 -0
- data/doc/SteamCondenser/Community/GameStatsValue.html +596 -0
- data/doc/SteamCondenser/Community/GameWeapon.html +608 -0
- data/doc/SteamCondenser/Community/L4D2Map.html +737 -0
- data/doc/SteamCondenser/Community/L4D2Stats.html +989 -0
- data/doc/SteamCondenser/Community/L4D2Weapon.html +486 -0
- data/doc/SteamCondenser/Community/L4DExplosive.html +375 -0
- data/doc/SteamCondenser/Community/L4DMap.html +775 -0
- data/doc/SteamCondenser/Community/L4DStats.html +564 -0
- data/doc/SteamCondenser/Community/L4DWeapon.html +296 -0
- data/doc/SteamCondenser/Community/Portal2Inventory.html +354 -0
- data/doc/SteamCondenser/Community/Portal2Item.html +603 -0
- data/doc/SteamCondenser/Community/Portal2Stats.html +400 -0
- data/doc/SteamCondenser/Community/SteamGame.html +1862 -0
- data/doc/SteamCondenser/Community/SteamGroup.html +1018 -0
- data/doc/SteamCondenser/Community/SteamId.html +4430 -0
- data/doc/SteamCondenser/Community/TF2BetaInventory.html +345 -0
- data/doc/SteamCondenser/Community/TF2Class.html +1186 -0
- data/doc/SteamCondenser/Community/TF2ClassFactory.html +273 -0
- data/doc/SteamCondenser/Community/TF2Engineer.html +555 -0
- data/doc/SteamCondenser/Community/TF2GoldenWrench.html +760 -0
- data/doc/SteamCondenser/Community/TF2Inventory.html +354 -0
- data/doc/SteamCondenser/Community/TF2Item.html +602 -0
- data/doc/SteamCondenser/Community/TF2Medic.html +463 -0
- data/doc/SteamCondenser/Community/TF2Sniper.html +372 -0
- data/doc/SteamCondenser/Community/TF2Spy.html +553 -0
- data/doc/SteamCondenser/Community/TF2Stats.html +728 -0
- data/doc/SteamCondenser/Community/UserStats.html +760 -0
- data/doc/SteamCondenser/Community/WebApi.html +1116 -0
- data/doc/SteamCondenser/Community/XMLData.html +274 -0
- data/doc/SteamCondenser/Community.html +134 -0
- data/doc/SteamCondenser/Error/PacketFormat.html +173 -0
- data/doc/SteamCondenser/Error/RCONBan.html +253 -0
- data/doc/SteamCondenser/Error/RCONNoAuth.html +252 -0
- data/doc/SteamCondenser/Error/Timeout.html +254 -0
- data/doc/SteamCondenser/Error/WebApi.html +354 -0
- data/doc/SteamCondenser/Error.html +380 -0
- data/doc/SteamCondenser/Logging.html +616 -0
- data/doc/SteamCondenser/Servers/BaseServer.html +870 -0
- data/doc/SteamCondenser/Servers/GameServer.html +2428 -0
- data/doc/SteamCondenser/Servers/GoldSrcServer.html +738 -0
- data/doc/SteamCondenser/Servers/MasterServer.html +819 -0
- data/doc/SteamCondenser/Servers/Packets/A2M_GET_SERVERS_BATCH2_Packet.html +427 -0
- data/doc/SteamCondenser/Servers/Packets/A2S_INFO_Packet.html +260 -0
- data/doc/SteamCondenser/Servers/Packets/A2S_PLAYER_Packet.html +295 -0
- data/doc/SteamCondenser/Servers/Packets/A2S_RULES_Packet.html +296 -0
- data/doc/SteamCondenser/Servers/Packets/A2S_SERVERQUERY_GETCHALLENGE_Packet.html +261 -0
- data/doc/SteamCondenser/Servers/Packets/BasePacket.html +462 -0
- data/doc/SteamCondenser/Servers/Packets/M2A_SERVER_BATCH_Packet.html +430 -0
- data/doc/SteamCondenser/Servers/Packets/RCON/BasePacket.html +564 -0
- data/doc/SteamCondenser/Servers/Packets/RCON/RCONAuthRequest.html +317 -0
- data/doc/SteamCondenser/Servers/Packets/RCON/RCONAuthResponse.html +305 -0
- data/doc/SteamCondenser/Servers/Packets/RCON/RCONExecRequest.html +317 -0
- data/doc/SteamCondenser/Servers/Packets/RCON/RCONExecResponse.html +406 -0
- data/doc/SteamCondenser/Servers/Packets/RCON/RCONGoldSrcRequest.html +363 -0
- data/doc/SteamCondenser/Servers/Packets/RCON/RCONGoldSrcResponse.html +368 -0
- data/doc/SteamCondenser/Servers/Packets/RCON/RCONPacketFactory.html +302 -0
- data/doc/SteamCondenser/Servers/Packets/RCON/RCONTerminator.html +304 -0
- data/doc/SteamCondenser/Servers/Packets/RCON.html +119 -0
- data/doc/SteamCondenser/Servers/Packets/RequestWithChallenge.html +233 -0
- data/doc/SteamCondenser/Servers/Packets/S2A_INFO2_Packet.html +416 -0
- data/doc/SteamCondenser/Servers/Packets/S2A_INFO_BasePacket.html +266 -0
- data/doc/SteamCondenser/Servers/Packets/S2A_INFO_DETAILED_Packet.html +371 -0
- data/doc/SteamCondenser/Servers/Packets/S2A_LOGSTRING_Packet.html +373 -0
- data/doc/SteamCondenser/Servers/Packets/S2A_PLAYER_Packet.html +417 -0
- data/doc/SteamCondenser/Servers/Packets/S2A_RULES_Packet.html +411 -0
- data/doc/SteamCondenser/Servers/Packets/S2C_CHALLENGE_Packet.html +370 -0
- data/doc/SteamCondenser/Servers/Packets/SteamPacketFactory.html +532 -0
- data/doc/SteamCondenser/Servers/Packets.html +132 -0
- data/doc/SteamCondenser/Servers/Sockets/BaseSocket.html +733 -0
- data/doc/SteamCondenser/Servers/Sockets/GoldSrcSocket.html +862 -0
- data/doc/SteamCondenser/Servers/Sockets/MasterServerSocket.html +306 -0
- data/doc/SteamCondenser/Servers/Sockets/RCONSocket.html +709 -0
- data/doc/SteamCondenser/Servers/Sockets/SourceSocket.html +367 -0
- data/doc/SteamCondenser/Servers/Sockets.html +119 -0
- data/doc/SteamCondenser/Servers/SourceServer.html +892 -0
- data/doc/SteamCondenser/Servers/SteamPlayer.html +1764 -0
- data/doc/SteamCondenser/Servers.html +133 -0
- data/doc/SteamCondenser/TimeoutError.html +254 -0
- data/doc/SteamCondenser.html +155 -0
- data/doc/SteamCondenserError.html +370 -0
- data/doc/SteamGame.html +1950 -0
- data/doc/SteamGroup.html +1023 -0
- data/doc/SteamId.html +4299 -0
- data/doc/SteamPacket.html +486 -0
- data/doc/SteamPacketFactory.html +556 -0
- data/doc/SteamPlayer.html +1764 -0
- data/doc/SteamSocket.html +725 -0
- data/doc/StringIO.html +939 -0
- data/doc/TF2BetaInventory.html +330 -0
- data/doc/TF2Class.html +1185 -0
- data/doc/TF2ClassFactory.html +273 -0
- data/doc/TF2Engineer.html +555 -0
- data/doc/TF2GoldenWrench.html +760 -0
- data/doc/TF2Inventory.html +354 -0
- data/doc/TF2Item.html +602 -0
- data/doc/TF2Medic.html +463 -0
- data/doc/TF2Sniper.html +372 -0
- data/doc/TF2Spy.html +553 -0
- data/doc/TF2Stats.html +728 -0
- data/doc/WebApi.html +1108 -0
- data/doc/WebApiError.html +351 -0
- data/doc/XMLData.html +274 -0
- data/doc/_index.html +728 -0
- data/doc/class_list.html +54 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +338 -0
- data/doc/file.CHANGELOG.html +368 -0
- data/doc/file.CONTRIBUTING.html +140 -0
- data/doc/file.LICENSE.html +100 -0
- data/doc/file.README.html +152 -0
- data/doc/file_list.html +65 -0
- data/doc/frames.html +28 -0
- data/doc/index.html +152 -0
- data/doc/js/app.js +214 -0
- data/doc/js/full_list.js +178 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +3155 -0
- data/doc/top-level-namespace.html +114 -0
- data/lib/steam/community/web_api.rb +6 -2
- data/lib/steam/servers/source_server.rb +8 -2
- data/lib/steam-condenser/version.rb +1 -1
- data/pkg/steam-condenser-1.3.5/Gemfile.lock +1 -1
- data/pkg/steam-condenser-1.3.6/CHANGELOG.md +228 -0
- data/pkg/steam-condenser-1.3.6/CONTRIBUTING.md +59 -0
- data/pkg/steam-condenser-1.3.6/Gemfile +7 -0
- data/pkg/steam-condenser-1.3.6/Gemfile.lock +45 -0
- data/pkg/steam-condenser-1.3.6/LICENSE +25 -0
- data/pkg/steam-condenser-1.3.6/README.md +75 -0
- data/pkg/steam-condenser-1.3.6/Rakefile +46 -0
- data/pkg/steam-condenser-1.3.6/lib/core_ext/stringio.rb +91 -0
- data/pkg/steam-condenser-1.3.6/lib/errors/packet_format_error.rb +13 -0
- data/pkg/steam-condenser-1.3.6/lib/errors/rcon_ban_error.rb +22 -0
- data/pkg/steam-condenser-1.3.6/lib/errors/rcon_no_auth_error.rb +21 -0
- data/pkg/steam-condenser-1.3.6/lib/errors/steam_condenser_error.rb +26 -0
- data/pkg/steam-condenser-1.3.6/lib/errors/timeout_error.rb +28 -0
- data/pkg/steam-condenser-1.3.6/lib/errors/web_api_error.rb +57 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/alien_swarm/alien_swarm_mission.rb +120 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/alien_swarm/alien_swarm_stats.rb +188 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/alien_swarm/alien_swarm_weapon.rb +49 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/app_news.rb +133 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/cacheable.rb +199 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/css/css_map.rb +61 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/css/css_stats.rb +140 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/css/css_weapon.rb +69 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/defense_grid/defense_grid_stats.rb +238 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/dods/dods_class.rb +90 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/dods/dods_stats.rb +62 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/dods/dods_weapon.rb +67 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/dota2/dota2_beta_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/dota2/dota2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/dota2/dota2_item.rb +33 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/game_achievement.rb +109 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/game_class.rb +22 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/game_inventory.rb +171 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/game_item.rb +155 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/game_item_schema.rb +131 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/game_leaderboard.rb +212 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/game_leaderboard_entry.rb +43 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/game_stats.rb +175 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/game_weapon.rb +41 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/abstract_l4d_stats.rb +188 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/abstract_l4d_weapon.rb +56 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/l4d2_map.rb +90 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/l4d2_stats.rb +179 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/l4d2_weapon.rb +38 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/l4d_explosive.rb +34 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/l4d_map.rb +65 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/l4d_stats.rb +73 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/l4d_weapon.rb +26 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/portal2/portal2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/portal2/portal2_item.rb +55 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/portal2/portal2_stats.rb +33 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/steam_game.rb +193 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/steam_group.rb +129 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/steam_id.rb +495 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_beta_inventory.rb +28 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_class.rb +92 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_class_factory.rb +40 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_engineer.rb +43 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_golden_wrench.rb +70 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_item.rb +55 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_medic.rb +35 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_sniper.rb +28 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_spy.rb +41 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_stats.rb +77 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/web_api.rb +135 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/community/xml_data.rb +27 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/a2m_get_servers_batch2_packet.rb +59 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/a2s_info_packet.rb +24 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/a2s_player_packet.rb +31 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/a2s_rules_packet.rb +32 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/a2s_serverquery_getchallenge_packet.rb +25 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/c2m_checkmd5_packet.rb +31 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/m2a_server_batch_packet.rb +52 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/m2c_isvalidmd5_packet.rb +34 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/m2s_requestrestart_packet.rb +34 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_auth_request.rb +28 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_auth_response.rb +30 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_exec_request.rb +28 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_exec_response.rb +37 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_goldsrc_request.rb +35 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_goldsrc_response.rb +34 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_packet.rb +57 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_packet_factory.rb +43 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_terminator.rb +29 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/request_with_challenge.rb +19 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/s2a_info2_packet.rb +76 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/s2a_info_base_packet.rb +25 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/s2a_info_detailed_packet.rb +64 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/s2a_logstring_packet.rb +30 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/s2a_player_packet.rb +44 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/s2a_rules_packet.rb +48 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/s2c_challenge_packet.rb +35 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/s2m_heartbeat2_packet.rb +72 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/steam_packet.rb +52 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/packets/steam_packet_factory.rb +113 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/servers/game_server.rb +393 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/servers/goldsrc_server.rb +74 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/servers/master_server.rb +188 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/servers/server.rb +115 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/servers/source_server.rb +117 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/sockets/goldsrc_socket.rb +142 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/sockets/master_server_socket.rb +34 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/sockets/rcon_socket.rb +103 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/sockets/source_socket.rb +73 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/sockets/steam_socket.rb +91 -0
- data/pkg/steam-condenser-1.3.6/lib/steam/steam_player.rb +143 -0
- data/pkg/steam-condenser-1.3.6/lib/steam-condenser/community.rb +24 -0
- data/pkg/steam-condenser-1.3.6/lib/steam-condenser/servers.rb +24 -0
- data/pkg/steam-condenser-1.3.6/lib/steam-condenser/version.rb +11 -0
- data/pkg/steam-condenser-1.3.6/lib/steam-condenser.rb +18 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/Gemfile +7 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/Gemfile.lock +45 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/LICENSE +25 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/README.md +70 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/Rakefile +46 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/core_ext/stringio.rb +91 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/errors/packet_format_error.rb +13 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/errors/rcon_ban_error.rb +22 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/errors/rcon_no_auth_error.rb +21 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/errors/steam_condenser_error.rb +26 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/errors/timeout_error.rb +28 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/errors/web_api_error.rb +57 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/alien_swarm/alien_swarm_mission.rb +119 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/alien_swarm/alien_swarm_stats.rb +186 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/alien_swarm/alien_swarm_weapon.rb +49 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/app_news.rb +133 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/cacheable.rb +199 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/css/css_map.rb +61 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/css/css_stats.rb +142 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/css/css_weapon.rb +69 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/defense_grid/defense_grid_stats.rb +238 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/dods/dods_class.rb +90 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/dods/dods_stats.rb +62 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/dods/dods_weapon.rb +67 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/dota2/dota2_beta_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/dota2/dota2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/dota2/dota2_item.rb +33 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/game_achievement.rb +109 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/game_class.rb +22 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/game_inventory.rb +171 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/game_item.rb +156 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/game_item_schema.rb +131 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/game_leaderboard.rb +205 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/game_leaderboard_entry.rb +43 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/game_stats.rb +175 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/game_weapon.rb +41 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/abstract_l4d_stats.rb +185 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/abstract_l4d_weapon.rb +56 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d2_map.rb +90 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d2_stats.rb +174 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d2_weapon.rb +38 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d_explosive.rb +34 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d_map.rb +65 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d_stats.rb +73 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d_weapon.rb +26 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/portal2/portal2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/portal2/portal2_item.rb +55 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/portal2/portal2_stats.rb +33 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/steam_game.rb +193 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/steam_group.rb +129 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/steam_id.rb +498 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_beta_inventory.rb +28 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_class.rb +92 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_class_factory.rb +40 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_engineer.rb +43 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_golden_wrench.rb +70 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_item.rb +55 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_medic.rb +35 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_sniper.rb +28 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_spy.rb +41 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_stats.rb +77 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/web_api.rb +130 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/xml_data.rb +27 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/a2m_get_servers_batch2_packet.rb +59 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/a2s_info_packet.rb +24 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/a2s_player_packet.rb +31 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/a2s_rules_packet.rb +32 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/a2s_serverquery_getchallenge_packet.rb +25 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/c2m_checkmd5_packet.rb +31 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/m2a_server_batch_packet.rb +52 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/m2c_isvalidmd5_packet.rb +34 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/m2s_requestrestart_packet.rb +34 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_auth_request.rb +28 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_auth_response.rb +30 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_exec_request.rb +28 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_exec_response.rb +37 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_goldsrc_request.rb +35 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_goldsrc_response.rb +34 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_packet.rb +57 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_packet_factory.rb +43 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_terminator.rb +29 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/request_with_challenge.rb +19 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_info2_packet.rb +74 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_info_base_packet.rb +25 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_info_detailed_packet.rb +59 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_logstring_packet.rb +30 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_player_packet.rb +44 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_rules_packet.rb +48 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/s2c_challenge_packet.rb +35 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/s2m_heartbeat2_packet.rb +72 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/steam_packet.rb +52 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/steam_packet_factory.rb +108 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/servers/game_server.rb +392 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/servers/goldsrc_server.rb +74 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/servers/master_server.rb +188 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/servers/server.rb +115 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/servers/source_server.rb +117 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/sockets/goldsrc_socket.rb +142 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/sockets/master_server_socket.rb +34 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/sockets/rcon_socket.rb +103 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/sockets/source_socket.rb +78 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/sockets/steam_socket.rb +91 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/steam_player.rb +143 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam-condenser/community.rb +24 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam-condenser/servers.rb +24 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam-condenser/version.rb +11 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam-condenser.rb +18 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/steam-condenser.gemspec +26 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/core_ext/test_stringio.rb +59 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/fixtures/invalid.xml +2 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/fixtures/sonofthor.xml +882 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/fixtures/status_goldsrc +3 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/fixtures/status_source +3 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/fixtures/valve-members.xml +231 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/helper.rb +48 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/community/test_cacheable.rb +100 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/community/test_steam_group.rb +83 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/community/test_steam_id.rb +144 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/community/test_web_api.rb +98 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/packets/test_steam_packet.rb +37 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/servers/test_game_server.rb +296 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/servers/test_goldsrc_server.rb +59 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/servers/test_master_server.rb +131 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/servers/test_server.rb +72 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/servers/test_source_server.rb +134 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/sockets/test_goldsrc_socket.rb +127 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/sockets/test_master_server_socket.rb +42 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/sockets/test_rcon_socket.rb +118 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/sockets/test_source_socket.rb +77 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/sockets/test_steam_socket.rb +97 -0
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5.gem +0 -0
- data/pkg/steam-condenser-1.3.6/steam-condenser.gemspec +25 -0
- data/pkg/steam-condenser-1.3.6/test/core_ext/test_stringio.rb +59 -0
- data/pkg/steam-condenser-1.3.6/test/fixtures/invalid.xml +2 -0
- data/pkg/steam-condenser-1.3.6/test/fixtures/sonofthor.xml +882 -0
- data/pkg/steam-condenser-1.3.6/test/fixtures/status_goldsrc +3 -0
- data/pkg/steam-condenser-1.3.6/test/fixtures/status_source +3 -0
- data/pkg/steam-condenser-1.3.6/test/fixtures/valve-members.xml +231 -0
- data/pkg/steam-condenser-1.3.6/test/helper.rb +48 -0
- data/pkg/steam-condenser-1.3.6/test/steam/community/test_cacheable.rb +103 -0
- data/pkg/steam-condenser-1.3.6/test/steam/community/test_steam_group.rb +83 -0
- data/pkg/steam-condenser-1.3.6/test/steam/community/test_steam_id.rb +144 -0
- data/pkg/steam-condenser-1.3.6/test/steam/community/test_web_api.rb +111 -0
- data/pkg/steam-condenser-1.3.6/test/steam/packets/test_steam_packet.rb +37 -0
- data/pkg/steam-condenser-1.3.6/test/steam/servers/test_game_server.rb +296 -0
- data/pkg/steam-condenser-1.3.6/test/steam/servers/test_goldsrc_server.rb +59 -0
- data/pkg/steam-condenser-1.3.6/test/steam/servers/test_master_server.rb +131 -0
- data/pkg/steam-condenser-1.3.6/test/steam/servers/test_server.rb +72 -0
- data/pkg/steam-condenser-1.3.6/test/steam/servers/test_source_server.rb +134 -0
- data/pkg/steam-condenser-1.3.6/test/steam/sockets/test_goldsrc_socket.rb +127 -0
- data/pkg/steam-condenser-1.3.6/test/steam/sockets/test_master_server_socket.rb +42 -0
- data/pkg/steam-condenser-1.3.6/test/steam/sockets/test_rcon_socket.rb +118 -0
- data/pkg/steam-condenser-1.3.6/test/steam/sockets/test_source_socket.rb +77 -0
- data/pkg/steam-condenser-1.3.6/test/steam/sockets/test_steam_socket.rb +97 -0
- data/pkg/steam-condenser-1.3.6.gem +0 -0
- data/test/steam/community/test_web_api.rb +13 -0
- data/test/steam/servers/test_source_server.rb +18 -7
- 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: SteamCondenser::Servers::SteamPlayer
|
8
|
+
|
9
|
+
— 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> »
|
35
|
+
<span class='title'><span class='object_link'><a href="../../SteamCondenser.html" title="SteamCondenser (module)">SteamCondenser</a></span></span> » <span class='title'><span class='object_link'><a href="../Servers.html" title="SteamCondenser::Servers (module)">Servers</a></span></span>
|
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: SteamCondenser::Servers::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">SteamCondenser::Servers::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-condenser/servers/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'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="SteamCondenser::Servers::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
|
+
—
|
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
|
+
—
|
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
|
+
—
|
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
|
+
—
|
681
|
+
<div class='inline'><p>The time the player is connected to the
|
682
|
+
server</p>
|
683
|
+
</div>
|
684
|
+
|
685
|
+
</li>
|
686
|
+
|
687
|
+
</ul>
|
688
|
+
|
689
|
+
|
690
|
+
</div><table class="source_code">
|
691
|
+
<tr>
|
692
|
+
<td>
|
693
|
+
<pre class="lines">
|
694
|
+
|
695
|
+
|
696
|
+
82
|
697
|
+
83
|
698
|
+
84
|
699
|
+
85
|
700
|
+
86
|
701
|
+
87
|
702
|
+
88</pre>
|
703
|
+
</td>
|
704
|
+
<td>
|
705
|
+
<pre class="code"><span class="info file"># File 'lib/steam-condenser/servers/steam_player.rb', line 82</span>
|
706
|
+
|
707
|
+
<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>
|
708
|
+
<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>
|
709
|
+
<span class='rubyid_@id ivar id'>@id</span> <span class='assign token'>=</span> <span class='rubyid_id identifier id'>id</span>
|
710
|
+
<span class='rubyid_@name ivar id'>@name</span> <span class='assign token'>=</span> <span class='rubyid_name identifier id'>name</span>
|
711
|
+
<span class='rubyid_@score ivar id'>@score</span> <span class='assign token'>=</span> <span class='rubyid_score identifier id'>score</span>
|
712
|
+
<span class='rubyid_@extended ivar id'>@extended</span> <span class='assign token'>=</span> <span class='rubyid_false false kw'>false</span>
|
713
|
+
<span class='rubyid_end end kw'>end</span>
|
714
|
+
</pre>
|
715
|
+
</td>
|
716
|
+
</tr>
|
717
|
+
</table>
|
718
|
+
</div>
|
719
|
+
|
720
|
+
</div>
|
721
|
+
|
722
|
+
<div id="instance_attr_details" class="attr_details">
|
723
|
+
<h2>Instance Attribute Details</h2>
|
724
|
+
|
725
|
+
|
726
|
+
<span id=""></span>
|
727
|
+
<div class="method_details first">
|
728
|
+
<h3 class="signature first" id="client_port-instance_method">
|
729
|
+
|
730
|
+
- (<tt>Fixnum</tt>) <strong>client_port</strong> <span class="extras">(readonly)</span>
|
731
|
+
|
732
|
+
|
733
|
+
|
734
|
+
|
735
|
+
|
736
|
+
</h3><div class="docstring">
|
737
|
+
<div class="discussion">
|
738
|
+
<p>Returns the client port of this player</p>
|
739
|
+
|
740
|
+
|
741
|
+
</div>
|
742
|
+
</div>
|
743
|
+
<div class="tags">
|
744
|
+
|
745
|
+
<p class="tag_title">Returns:</p>
|
746
|
+
<ul class="return">
|
747
|
+
|
748
|
+
<li>
|
749
|
+
|
750
|
+
|
751
|
+
<span class='type'>(<tt>Fixnum</tt>)</span>
|
752
|
+
|
753
|
+
|
754
|
+
|
755
|
+
—
|
756
|
+
<div class='inline'><p>The client port of the player</p>
|
757
|
+
</div>
|
758
|
+
|
759
|
+
</li>
|
760
|
+
|
761
|
+
</ul>
|
762
|
+
|
763
|
+
</div><table class="source_code">
|
764
|
+
<tr>
|
765
|
+
<td>
|
766
|
+
<pre class="lines">
|
767
|
+
|
768
|
+
|
769
|
+
18
|
770
|
+
19
|
771
|
+
20</pre>
|
772
|
+
</td>
|
773
|
+
<td>
|
774
|
+
<pre class="code"><span class="info file"># File 'lib/steam-condenser/servers/steam_player.rb', line 18</span>
|
775
|
+
|
776
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_client_port identifier id'>client_port</span>
|
777
|
+
<span class='rubyid_@client_port ivar id'>@client_port</span>
|
778
|
+
<span class='rubyid_end end kw'>end</span>
|
779
|
+
</pre>
|
780
|
+
</td>
|
781
|
+
</tr>
|
782
|
+
</table>
|
783
|
+
</div>
|
784
|
+
|
785
|
+
|
786
|
+
<span id=""></span>
|
787
|
+
<div class="method_details ">
|
788
|
+
<h3 class="signature " id="connect_time-instance_method">
|
789
|
+
|
790
|
+
- (<tt>Float</tt>) <strong>connect_time</strong> <span class="extras">(readonly)</span>
|
791
|
+
|
792
|
+
|
793
|
+
|
794
|
+
|
795
|
+
|
796
|
+
</h3><div class="docstring">
|
797
|
+
<div class="discussion">
|
798
|
+
<p>Returns the time this player is connected to the server</p>
|
799
|
+
|
800
|
+
|
801
|
+
</div>
|
802
|
+
</div>
|
803
|
+
<div class="tags">
|
804
|
+
|
805
|
+
<p class="tag_title">Returns:</p>
|
806
|
+
<ul class="return">
|
807
|
+
|
808
|
+
<li>
|
809
|
+
|
810
|
+
|
811
|
+
<span class='type'>(<tt>Float</tt>)</span>
|
812
|
+
|
813
|
+
|
814
|
+
|
815
|
+
—
|
816
|
+
<div class='inline'><p>The connection time of the player</p>
|
817
|
+
</div>
|
818
|
+
|
819
|
+
</li>
|
820
|
+
|
821
|
+
</ul>
|
822
|
+
|
823
|
+
</div><table class="source_code">
|
824
|
+
<tr>
|
825
|
+
<td>
|
826
|
+
<pre class="lines">
|
827
|
+
|
828
|
+
|
829
|
+
23
|
830
|
+
24
|
831
|
+
25</pre>
|
832
|
+
</td>
|
833
|
+
<td>
|
834
|
+
<pre class="code"><span class="info file"># File 'lib/steam-condenser/servers/steam_player.rb', line 23</span>
|
835
|
+
|
836
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_connect_time identifier id'>connect_time</span>
|
837
|
+
<span class='rubyid_@connect_time ivar id'>@connect_time</span>
|
838
|
+
<span class='rubyid_end end kw'>end</span>
|
839
|
+
</pre>
|
840
|
+
</td>
|
841
|
+
</tr>
|
842
|
+
</table>
|
843
|
+
</div>
|
844
|
+
|
845
|
+
|
846
|
+
<span id=""></span>
|
847
|
+
<div class="method_details ">
|
848
|
+
<h3 class="signature " id="id-instance_method">
|
849
|
+
|
850
|
+
- (<tt>Fixnum</tt>) <strong>id</strong> <span class="extras">(readonly)</span>
|
851
|
+
|
852
|
+
|
853
|
+
|
854
|
+
|
855
|
+
|
856
|
+
</h3><div class="docstring">
|
857
|
+
<div class="discussion">
|
858
|
+
<p>Returns the ID of this player</p>
|
859
|
+
|
860
|
+
|
861
|
+
</div>
|
862
|
+
</div>
|
863
|
+
<div class="tags">
|
864
|
+
|
865
|
+
<p class="tag_title">Returns:</p>
|
866
|
+
<ul class="return">
|
867
|
+
|
868
|
+
<li>
|
869
|
+
|
870
|
+
|
871
|
+
<span class='type'>(<tt>Fixnum</tt>)</span>
|
872
|
+
|
873
|
+
|
874
|
+
|
875
|
+
—
|
876
|
+
<div class='inline'><p>The ID of this player</p>
|
877
|
+
</div>
|
878
|
+
|
879
|
+
</li>
|
880
|
+
|
881
|
+
</ul>
|
882
|
+
|
883
|
+
</div><table class="source_code">
|
884
|
+
<tr>
|
885
|
+
<td>
|
886
|
+
<pre class="lines">
|
887
|
+
|
888
|
+
|
889
|
+
28
|
890
|
+
29
|
891
|
+
30</pre>
|
892
|
+
</td>
|
893
|
+
<td>
|
894
|
+
<pre class="code"><span class="info file"># File 'lib/steam-condenser/servers/steam_player.rb', line 28</span>
|
895
|
+
|
896
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_id identifier id'>id</span>
|
897
|
+
<span class='rubyid_@id ivar id'>@id</span>
|
898
|
+
<span class='rubyid_end end kw'>end</span>
|
899
|
+
</pre>
|
900
|
+
</td>
|
901
|
+
</tr>
|
902
|
+
</table>
|
903
|
+
</div>
|
904
|
+
|
905
|
+
|
906
|
+
<span id=""></span>
|
907
|
+
<div class="method_details ">
|
908
|
+
<h3 class="signature " id="ip_address-instance_method">
|
909
|
+
|
910
|
+
- (<tt>String</tt>) <strong>ip_address</strong> <span class="extras">(readonly)</span>
|
911
|
+
|
912
|
+
|
913
|
+
|
914
|
+
|
915
|
+
|
916
|
+
</h3><div class="docstring">
|
917
|
+
<div class="discussion">
|
918
|
+
<p>Returns the IP address of this player</p>
|
919
|
+
|
920
|
+
|
921
|
+
</div>
|
922
|
+
</div>
|
923
|
+
<div class="tags">
|
924
|
+
|
925
|
+
<p class="tag_title">Returns:</p>
|
926
|
+
<ul class="return">
|
927
|
+
|
928
|
+
<li>
|
929
|
+
|
930
|
+
|
931
|
+
<span class='type'>(<tt>String</tt>)</span>
|
932
|
+
|
933
|
+
|
934
|
+
|
935
|
+
—
|
936
|
+
<div class='inline'><p>The IP address of this player</p>
|
937
|
+
</div>
|
938
|
+
|
939
|
+
</li>
|
940
|
+
|
941
|
+
</ul>
|
942
|
+
|
943
|
+
</div><table class="source_code">
|
944
|
+
<tr>
|
945
|
+
<td>
|
946
|
+
<pre class="lines">
|
947
|
+
|
948
|
+
|
949
|
+
33
|
950
|
+
34
|
951
|
+
35</pre>
|
952
|
+
</td>
|
953
|
+
<td>
|
954
|
+
<pre class="code"><span class="info file"># File 'lib/steam-condenser/servers/steam_player.rb', line 33</span>
|
955
|
+
|
956
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_ip_address identifier id'>ip_address</span>
|
957
|
+
<span class='rubyid_@ip_address ivar id'>@ip_address</span>
|
958
|
+
<span class='rubyid_end end kw'>end</span>
|
959
|
+
</pre>
|
960
|
+
</td>
|
961
|
+
</tr>
|
962
|
+
</table>
|
963
|
+
</div>
|
964
|
+
|
965
|
+
|
966
|
+
<span id=""></span>
|
967
|
+
<div class="method_details ">
|
968
|
+
<h3 class="signature " id="loss-instance_method">
|
969
|
+
|
970
|
+
- (<tt>String</tt>) <strong>loss</strong> <span class="extras">(readonly)</span>
|
971
|
+
|
972
|
+
|
973
|
+
|
974
|
+
|
975
|
+
|
976
|
+
</h3><div class="docstring">
|
977
|
+
<div class="discussion">
|
978
|
+
<p>Returns the packet loss of this player's connection</p>
|
979
|
+
|
980
|
+
|
981
|
+
</div>
|
982
|
+
</div>
|
983
|
+
<div class="tags">
|
984
|
+
|
985
|
+
<p class="tag_title">Returns:</p>
|
986
|
+
<ul class="return">
|
987
|
+
|
988
|
+
<li>
|
989
|
+
|
990
|
+
|
991
|
+
<span class='type'>(<tt>String</tt>)</span>
|
992
|
+
|
993
|
+
|
994
|
+
|
995
|
+
—
|
996
|
+
<div class='inline'><p>The packet loss of this player's connection</p>
|
997
|
+
</div>
|
998
|
+
|
999
|
+
</li>
|
1000
|
+
|
1001
|
+
</ul>
|
1002
|
+
|
1003
|
+
</div><table class="source_code">
|
1004
|
+
<tr>
|
1005
|
+
<td>
|
1006
|
+
<pre class="lines">
|
1007
|
+
|
1008
|
+
|
1009
|
+
43
|
1010
|
+
44
|
1011
|
+
45</pre>
|
1012
|
+
</td>
|
1013
|
+
<td>
|
1014
|
+
<pre class="code"><span class="info file"># File 'lib/steam-condenser/servers/steam_player.rb', line 43</span>
|
1015
|
+
|
1016
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_loss identifier id'>loss</span>
|
1017
|
+
<span class='rubyid_@loss ivar id'>@loss</span>
|
1018
|
+
<span class='rubyid_end end kw'>end</span>
|
1019
|
+
</pre>
|
1020
|
+
</td>
|
1021
|
+
</tr>
|
1022
|
+
</table>
|
1023
|
+
</div>
|
1024
|
+
|
1025
|
+
|
1026
|
+
<span id=""></span>
|
1027
|
+
<div class="method_details ">
|
1028
|
+
<h3 class="signature " id="name-instance_method">
|
1029
|
+
|
1030
|
+
- (<tt>String</tt>) <strong>name</strong> <span class="extras">(readonly)</span>
|
1031
|
+
|
1032
|
+
|
1033
|
+
|
1034
|
+
|
1035
|
+
|
1036
|
+
</h3><div class="docstring">
|
1037
|
+
<div class="discussion">
|
1038
|
+
<p>Returns the nickname of this player</p>
|
1039
|
+
|
1040
|
+
|
1041
|
+
</div>
|
1042
|
+
</div>
|
1043
|
+
<div class="tags">
|
1044
|
+
|
1045
|
+
<p class="tag_title">Returns:</p>
|
1046
|
+
<ul class="return">
|
1047
|
+
|
1048
|
+
<li>
|
1049
|
+
|
1050
|
+
|
1051
|
+
<span class='type'>(<tt>String</tt>)</span>
|
1052
|
+
|
1053
|
+
|
1054
|
+
|
1055
|
+
—
|
1056
|
+
<div class='inline'><p>The name of this player</p>
|
1057
|
+
</div>
|
1058
|
+
|
1059
|
+
</li>
|
1060
|
+
|
1061
|
+
</ul>
|
1062
|
+
|
1063
|
+
</div><table class="source_code">
|
1064
|
+
<tr>
|
1065
|
+
<td>
|
1066
|
+
<pre class="lines">
|
1067
|
+
|
1068
|
+
|
1069
|
+
38
|
1070
|
+
39
|
1071
|
+
40</pre>
|
1072
|
+
</td>
|
1073
|
+
<td>
|
1074
|
+
<pre class="code"><span class="info file"># File 'lib/steam-condenser/servers/steam_player.rb', line 38</span>
|
1075
|
+
|
1076
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_name identifier id'>name</span>
|
1077
|
+
<span class='rubyid_@name ivar id'>@name</span>
|
1078
|
+
<span class='rubyid_end end kw'>end</span>
|
1079
|
+
</pre>
|
1080
|
+
</td>
|
1081
|
+
</tr>
|
1082
|
+
</table>
|
1083
|
+
</div>
|
1084
|
+
|
1085
|
+
|
1086
|
+
<span id=""></span>
|
1087
|
+
<div class="method_details ">
|
1088
|
+
<h3 class="signature " id="ping-instance_method">
|
1089
|
+
|
1090
|
+
- (<tt>Fixnum</tt>) <strong>ping</strong> <span class="extras">(readonly)</span>
|
1091
|
+
|
1092
|
+
|
1093
|
+
|
1094
|
+
|
1095
|
+
|
1096
|
+
</h3><div class="docstring">
|
1097
|
+
<div class="discussion">
|
1098
|
+
<p>Returns the ping of this player</p>
|
1099
|
+
|
1100
|
+
|
1101
|
+
</div>
|
1102
|
+
</div>
|
1103
|
+
<div class="tags">
|
1104
|
+
|
1105
|
+
<p class="tag_title">Returns:</p>
|
1106
|
+
<ul class="return">
|
1107
|
+
|
1108
|
+
<li>
|
1109
|
+
|
1110
|
+
|
1111
|
+
<span class='type'>(<tt>Fixnum</tt>)</span>
|
1112
|
+
|
1113
|
+
|
1114
|
+
|
1115
|
+
—
|
1116
|
+
<div class='inline'><p>The ping of this player</p>
|
1117
|
+
</div>
|
1118
|
+
|
1119
|
+
</li>
|
1120
|
+
|
1121
|
+
</ul>
|
1122
|
+
|
1123
|
+
</div><table class="source_code">
|
1124
|
+
<tr>
|
1125
|
+
<td>
|
1126
|
+
<pre class="lines">
|
1127
|
+
|
1128
|
+
|
1129
|
+
48
|
1130
|
+
49
|
1131
|
+
50</pre>
|
1132
|
+
</td>
|
1133
|
+
<td>
|
1134
|
+
<pre class="code"><span class="info file"># File 'lib/steam-condenser/servers/steam_player.rb', line 48</span>
|
1135
|
+
|
1136
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_ping identifier id'>ping</span>
|
1137
|
+
<span class='rubyid_@ping ivar id'>@ping</span>
|
1138
|
+
<span class='rubyid_end end kw'>end</span>
|
1139
|
+
</pre>
|
1140
|
+
</td>
|
1141
|
+
</tr>
|
1142
|
+
</table>
|
1143
|
+
</div>
|
1144
|
+
|
1145
|
+
|
1146
|
+
<span id=""></span>
|
1147
|
+
<div class="method_details ">
|
1148
|
+
<h3 class="signature " id="rate-instance_method">
|
1149
|
+
|
1150
|
+
- (<tt>Fixnum</tt>) <strong>rate</strong> <span class="extras">(readonly)</span>
|
1151
|
+
|
1152
|
+
|
1153
|
+
|
1154
|
+
|
1155
|
+
|
1156
|
+
</h3><div class="docstring">
|
1157
|
+
<div class="discussion">
|
1158
|
+
<p>Returns the rate of this player</p>
|
1159
|
+
|
1160
|
+
|
1161
|
+
</div>
|
1162
|
+
</div>
|
1163
|
+
<div class="tags">
|
1164
|
+
|
1165
|
+
<p class="tag_title">Returns:</p>
|
1166
|
+
<ul class="return">
|
1167
|
+
|
1168
|
+
<li>
|
1169
|
+
|
1170
|
+
|
1171
|
+
<span class='type'>(<tt>Fixnum</tt>)</span>
|
1172
|
+
|
1173
|
+
|
1174
|
+
|
1175
|
+
—
|
1176
|
+
<div class='inline'><p>The rate of this player</p>
|
1177
|
+
</div>
|
1178
|
+
|
1179
|
+
</li>
|
1180
|
+
|
1181
|
+
</ul>
|
1182
|
+
|
1183
|
+
</div><table class="source_code">
|
1184
|
+
<tr>
|
1185
|
+
<td>
|
1186
|
+
<pre class="lines">
|
1187
|
+
|
1188
|
+
|
1189
|
+
53
|
1190
|
+
54
|
1191
|
+
55</pre>
|
1192
|
+
</td>
|
1193
|
+
<td>
|
1194
|
+
<pre class="code"><span class="info file"># File 'lib/steam-condenser/servers/steam_player.rb', line 53</span>
|
1195
|
+
|
1196
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_rate identifier id'>rate</span>
|
1197
|
+
<span class='rubyid_@rate ivar id'>@rate</span>
|
1198
|
+
<span class='rubyid_end end kw'>end</span>
|
1199
|
+
</pre>
|
1200
|
+
</td>
|
1201
|
+
</tr>
|
1202
|
+
</table>
|
1203
|
+
</div>
|
1204
|
+
|
1205
|
+
|
1206
|
+
<span id=""></span>
|
1207
|
+
<div class="method_details ">
|
1208
|
+
<h3 class="signature " id="real_id-instance_method">
|
1209
|
+
|
1210
|
+
- (<tt>Fixnum</tt>) <strong>real_id</strong> <span class="extras">(readonly)</span>
|
1211
|
+
|
1212
|
+
|
1213
|
+
|
1214
|
+
|
1215
|
+
|
1216
|
+
</h3><div class="docstring">
|
1217
|
+
<div class="discussion">
|
1218
|
+
<p>Returns the real ID (as used on the server) of this player</p>
|
1219
|
+
|
1220
|
+
|
1221
|
+
</div>
|
1222
|
+
</div>
|
1223
|
+
<div class="tags">
|
1224
|
+
|
1225
|
+
<p class="tag_title">Returns:</p>
|
1226
|
+
<ul class="return">
|
1227
|
+
|
1228
|
+
<li>
|
1229
|
+
|
1230
|
+
|
1231
|
+
<span class='type'>(<tt>Fixnum</tt>)</span>
|
1232
|
+
|
1233
|
+
|
1234
|
+
|
1235
|
+
—
|
1236
|
+
<div class='inline'><p>The real ID of this player</p>
|
1237
|
+
</div>
|
1238
|
+
|
1239
|
+
</li>
|
1240
|
+
|
1241
|
+
</ul>
|
1242
|
+
|
1243
|
+
</div><table class="source_code">
|
1244
|
+
<tr>
|
1245
|
+
<td>
|
1246
|
+
<pre class="lines">
|
1247
|
+
|
1248
|
+
|
1249
|
+
58
|
1250
|
+
59
|
1251
|
+
60</pre>
|
1252
|
+
</td>
|
1253
|
+
<td>
|
1254
|
+
<pre class="code"><span class="info file"># File 'lib/steam-condenser/servers/steam_player.rb', line 58</span>
|
1255
|
+
|
1256
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_real_id identifier id'>real_id</span>
|
1257
|
+
<span class='rubyid_@real_id ivar id'>@real_id</span>
|
1258
|
+
<span class='rubyid_end end kw'>end</span>
|
1259
|
+
</pre>
|
1260
|
+
</td>
|
1261
|
+
</tr>
|
1262
|
+
</table>
|
1263
|
+
</div>
|
1264
|
+
|
1265
|
+
|
1266
|
+
<span id=""></span>
|
1267
|
+
<div class="method_details ">
|
1268
|
+
<h3 class="signature " id="score-instance_method">
|
1269
|
+
|
1270
|
+
- (<tt>Fixnum</tt>) <strong>score</strong> <span class="extras">(readonly)</span>
|
1271
|
+
|
1272
|
+
|
1273
|
+
|
1274
|
+
|
1275
|
+
|
1276
|
+
</h3><div class="docstring">
|
1277
|
+
<div class="discussion">
|
1278
|
+
<p>Returns the score of this player</p>
|
1279
|
+
|
1280
|
+
|
1281
|
+
</div>
|
1282
|
+
</div>
|
1283
|
+
<div class="tags">
|
1284
|
+
|
1285
|
+
<p class="tag_title">Returns:</p>
|
1286
|
+
<ul class="return">
|
1287
|
+
|
1288
|
+
<li>
|
1289
|
+
|
1290
|
+
|
1291
|
+
<span class='type'>(<tt>Fixnum</tt>)</span>
|
1292
|
+
|
1293
|
+
|
1294
|
+
|
1295
|
+
—
|
1296
|
+
<div class='inline'><p>The score of this player</p>
|
1297
|
+
</div>
|
1298
|
+
|
1299
|
+
</li>
|
1300
|
+
|
1301
|
+
</ul>
|
1302
|
+
|
1303
|
+
</div><table class="source_code">
|
1304
|
+
<tr>
|
1305
|
+
<td>
|
1306
|
+
<pre class="lines">
|
1307
|
+
|
1308
|
+
|
1309
|
+
63
|
1310
|
+
64
|
1311
|
+
65</pre>
|
1312
|
+
</td>
|
1313
|
+
<td>
|
1314
|
+
<pre class="code"><span class="info file"># File 'lib/steam-condenser/servers/steam_player.rb', line 63</span>
|
1315
|
+
|
1316
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_score identifier id'>score</span>
|
1317
|
+
<span class='rubyid_@score ivar id'>@score</span>
|
1318
|
+
<span class='rubyid_end end kw'>end</span>
|
1319
|
+
</pre>
|
1320
|
+
</td>
|
1321
|
+
</tr>
|
1322
|
+
</table>
|
1323
|
+
</div>
|
1324
|
+
|
1325
|
+
|
1326
|
+
<span id=""></span>
|
1327
|
+
<div class="method_details ">
|
1328
|
+
<h3 class="signature " id="state-instance_method">
|
1329
|
+
|
1330
|
+
- (<tt>String</tt>) <strong>state</strong> <span class="extras">(readonly)</span>
|
1331
|
+
|
1332
|
+
|
1333
|
+
|
1334
|
+
|
1335
|
+
|
1336
|
+
</h3><div class="docstring">
|
1337
|
+
<div class="discussion">
|
1338
|
+
<p>Returns the connection state of this player</p>
|
1339
|
+
|
1340
|
+
|
1341
|
+
</div>
|
1342
|
+
</div>
|
1343
|
+
<div class="tags">
|
1344
|
+
|
1345
|
+
<p class="tag_title">Returns:</p>
|
1346
|
+
<ul class="return">
|
1347
|
+
|
1348
|
+
<li>
|
1349
|
+
|
1350
|
+
|
1351
|
+
<span class='type'>(<tt>String</tt>)</span>
|
1352
|
+
|
1353
|
+
|
1354
|
+
|
1355
|
+
—
|
1356
|
+
<div class='inline'><p>The connection state of this player</p>
|
1357
|
+
</div>
|
1358
|
+
|
1359
|
+
</li>
|
1360
|
+
|
1361
|
+
</ul>
|
1362
|
+
|
1363
|
+
</div><table class="source_code">
|
1364
|
+
<tr>
|
1365
|
+
<td>
|
1366
|
+
<pre class="lines">
|
1367
|
+
|
1368
|
+
|
1369
|
+
68
|
1370
|
+
69
|
1371
|
+
70</pre>
|
1372
|
+
</td>
|
1373
|
+
<td>
|
1374
|
+
<pre class="code"><span class="info file"># File 'lib/steam-condenser/servers/steam_player.rb', line 68</span>
|
1375
|
+
|
1376
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_state identifier id'>state</span>
|
1377
|
+
<span class='rubyid_@state ivar id'>@state</span>
|
1378
|
+
<span class='rubyid_end end kw'>end</span>
|
1379
|
+
</pre>
|
1380
|
+
</td>
|
1381
|
+
</tr>
|
1382
|
+
</table>
|
1383
|
+
</div>
|
1384
|
+
|
1385
|
+
|
1386
|
+
<span id=""></span>
|
1387
|
+
<div class="method_details ">
|
1388
|
+
<h3 class="signature " id="steam_id-instance_method">
|
1389
|
+
|
1390
|
+
- (<tt>String</tt>) <strong>steam_id</strong> <span class="extras">(readonly)</span>
|
1391
|
+
|
1392
|
+
|
1393
|
+
|
1394
|
+
|
1395
|
+
|
1396
|
+
</h3><div class="docstring">
|
1397
|
+
<div class="discussion">
|
1398
|
+
<p>Returns the SteamID of this player</p>
|
1399
|
+
|
1400
|
+
|
1401
|
+
</div>
|
1402
|
+
</div>
|
1403
|
+
<div class="tags">
|
1404
|
+
|
1405
|
+
<p class="tag_title">Returns:</p>
|
1406
|
+
<ul class="return">
|
1407
|
+
|
1408
|
+
<li>
|
1409
|
+
|
1410
|
+
|
1411
|
+
<span class='type'>(<tt>String</tt>)</span>
|
1412
|
+
|
1413
|
+
|
1414
|
+
|
1415
|
+
—
|
1416
|
+
<div class='inline'><p>The SteamID of this player</p>
|
1417
|
+
</div>
|
1418
|
+
|
1419
|
+
</li>
|
1420
|
+
|
1421
|
+
</ul>
|
1422
|
+
|
1423
|
+
</div><table class="source_code">
|
1424
|
+
<tr>
|
1425
|
+
<td>
|
1426
|
+
<pre class="lines">
|
1427
|
+
|
1428
|
+
|
1429
|
+
73
|
1430
|
+
74
|
1431
|
+
75</pre>
|
1432
|
+
</td>
|
1433
|
+
<td>
|
1434
|
+
<pre class="code"><span class="info file"># File 'lib/steam-condenser/servers/steam_player.rb', line 73</span>
|
1435
|
+
|
1436
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_steam_id identifier id'>steam_id</span>
|
1437
|
+
<span class='rubyid_@steam_id ivar id'>@steam_id</span>
|
1438
|
+
<span class='rubyid_end end kw'>end</span>
|
1439
|
+
</pre>
|
1440
|
+
</td>
|
1441
|
+
</tr>
|
1442
|
+
</table>
|
1443
|
+
</div>
|
1444
|
+
|
1445
|
+
</div>
|
1446
|
+
|
1447
|
+
|
1448
|
+
<div id="instance_method_details" class="method_details_list">
|
1449
|
+
<h2>Instance Method Details</h2>
|
1450
|
+
|
1451
|
+
|
1452
|
+
<div class="method_details first">
|
1453
|
+
<h3 class="signature first" id="add_info-instance_method">
|
1454
|
+
|
1455
|
+
- (<tt>Object</tt>) <strong>add_info</strong>(player_data)
|
1456
|
+
|
1457
|
+
|
1458
|
+
|
1459
|
+
|
1460
|
+
|
1461
|
+
</h3><div class="docstring">
|
1462
|
+
<div class="discussion">
|
1463
|
+
<p>Extends a player object with information retrieved from a RCON call to
|
1464
|
+
the status command</p>
|
1465
|
+
|
1466
|
+
|
1467
|
+
</div>
|
1468
|
+
</div>
|
1469
|
+
<div class="tags">
|
1470
|
+
<p class="tag_title">Parameters:</p>
|
1471
|
+
<ul class="param">
|
1472
|
+
|
1473
|
+
<li>
|
1474
|
+
|
1475
|
+
<span class='name'>player_data</span>
|
1476
|
+
|
1477
|
+
|
1478
|
+
<span class='type'>(<tt>String</tt>)</span>
|
1479
|
+
|
1480
|
+
|
1481
|
+
|
1482
|
+
—
|
1483
|
+
<div class='inline'><p>The player data retrieved from <code>rcon status</code></p>
|
1484
|
+
</div>
|
1485
|
+
|
1486
|
+
</li>
|
1487
|
+
|
1488
|
+
</ul>
|
1489
|
+
|
1490
|
+
<p class="tag_title">Raises:</p>
|
1491
|
+
<ul class="raise">
|
1492
|
+
|
1493
|
+
<li>
|
1494
|
+
|
1495
|
+
|
1496
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Error.html" title="SteamCondenser::Error (class)">Error</a></span></tt>)</span>
|
1497
|
+
|
1498
|
+
|
1499
|
+
|
1500
|
+
—
|
1501
|
+
<div class='inline'><p>if the information belongs to another 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
|
+
95
|
1515
|
+
96
|
1516
|
+
97
|
1517
|
+
98
|
1518
|
+
99
|
1519
|
+
100
|
1520
|
+
101
|
1521
|
+
102
|
1522
|
+
103
|
1523
|
+
104
|
1524
|
+
105
|
1525
|
+
106
|
1526
|
+
107
|
1527
|
+
108
|
1528
|
+
109
|
1529
|
+
110
|
1530
|
+
111
|
1531
|
+
112
|
1532
|
+
113
|
1533
|
+
114
|
1534
|
+
115
|
1535
|
+
116
|
1536
|
+
117</pre>
|
1537
|
+
</td>
|
1538
|
+
<td>
|
1539
|
+
<pre class="code"><span class="info file"># File 'lib/steam-condenser/servers/steam_player.rb', line 95</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_Error constant id'>Error</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
|
+
—
|
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
|
+
122
|
1613
|
+
123
|
1614
|
+
124</pre>
|
1615
|
+
</td>
|
1616
|
+
<td>
|
1617
|
+
<pre class="code"><span class="info file"># File 'lib/steam-condenser/servers/steam_player.rb', line 122</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
|
+
—
|
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
|
+
130
|
1672
|
+
131
|
1673
|
+
132</pre>
|
1674
|
+
</td>
|
1675
|
+
<td>
|
1676
|
+
<pre class="code"><span class="info file"># File 'lib/steam-condenser/servers/steam_player.rb', line 130</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
|
+
—
|
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
|
+
137
|
1730
|
+
138
|
1731
|
+
139
|
1732
|
+
140
|
1733
|
+
141
|
1734
|
+
142
|
1735
|
+
143</pre>
|
1736
|
+
</td>
|
1737
|
+
<td>
|
1738
|
+
<pre class="code"><span class="info file"># File 'lib/steam-condenser/servers/steam_player.rb', line 137</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'>"\##@real_id \"#@name\", SteamID: #@steam_id, Score: #@score, Time: #@connect_time"</span>
|
1743
|
+
<span class='rubyid_else else kw'>else</span>
|
1744
|
+
<span class='string val'>"\##@id \"#@name\", Score: #@score, Time: #@connect_time"</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 Wed Aug 14 21:47:50 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>
|