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
data/doc/CSSStats.html
ADDED
@@ -0,0 +1,866 @@
|
|
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: CSSStats
|
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 (C)</a> »
|
35
|
+
|
36
|
+
|
37
|
+
<span class="title">CSSStats</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: CSSStats
|
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"><span class='object_link'><a href="GameStats.html" title="GameStats (class)">GameStats</a></span></span>
|
77
|
+
|
78
|
+
<ul class="fullTree">
|
79
|
+
<li>Object</li>
|
80
|
+
|
81
|
+
<li class="next"><span class='object_link'><a href="GameStats.html" title="GameStats (class)">GameStats</a></span></li>
|
82
|
+
|
83
|
+
<li class="next">CSSStats</li>
|
84
|
+
|
85
|
+
</ul>
|
86
|
+
<a href="#" class="inheritanceTree">show all</a>
|
87
|
+
|
88
|
+
</dd>
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
<dt class="r2 last">Defined in:</dt>
|
99
|
+
<dd class="r2 last">lib/steam/community/css/css_stats.rb</dd>
|
100
|
+
|
101
|
+
</dl>
|
102
|
+
<div class="clear"></div>
|
103
|
+
|
104
|
+
<h2>Overview</h2><div class="docstring">
|
105
|
+
<div class="discussion">
|
106
|
+
<p>The is class represents the game statistics for a single user in
|
107
|
+
Counter-Strike: Source</p>
|
108
|
+
|
109
|
+
|
110
|
+
</div>
|
111
|
+
</div>
|
112
|
+
<div class="tags">
|
113
|
+
|
114
|
+
<p class="tag_title">Author:</p>
|
115
|
+
<ul class="author">
|
116
|
+
|
117
|
+
<li>
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
<div class='inline'><p>Sebastian Staudt</p>
|
124
|
+
</div>
|
125
|
+
|
126
|
+
</li>
|
127
|
+
|
128
|
+
</ul>
|
129
|
+
|
130
|
+
</div>
|
131
|
+
<h2>Constant Summary</h2>
|
132
|
+
|
133
|
+
<dl class="constants">
|
134
|
+
|
135
|
+
<dt id="MAPS-constant" class="">MAPS =
|
136
|
+
<div class="docstring">
|
137
|
+
<div class="discussion">
|
138
|
+
<p>The names of the maps in Counter-Strike: Source</p>
|
139
|
+
|
140
|
+
|
141
|
+
</div>
|
142
|
+
</div>
|
143
|
+
<div class="tags">
|
144
|
+
|
145
|
+
|
146
|
+
</div>
|
147
|
+
</dt>
|
148
|
+
<dd><pre class="code"><span class='dstring node'>%w(cs_assault cs_compound cs_havana cs_italy cs_militia cs_office
|
149
|
+
de_aztec de_cbble de_chateau de_dust de_dust2 de_inferno de_nuke
|
150
|
+
de_piranesi de_port de_prodigy de_tides de_train)</span>
|
151
|
+
</pre></dd>
|
152
|
+
|
153
|
+
<dt id="WEAPONS-constant" class="">WEAPONS =
|
154
|
+
<div class="docstring">
|
155
|
+
<div class="discussion">
|
156
|
+
<p>The names of the weapons in Counter-Strike: Source</p>
|
157
|
+
|
158
|
+
|
159
|
+
</div>
|
160
|
+
</div>
|
161
|
+
<div class="tags">
|
162
|
+
|
163
|
+
|
164
|
+
</div>
|
165
|
+
</dt>
|
166
|
+
<dd><pre class="code"><span class='dstring node'>%w(deagle usp glock p228 elite fiveseven awp ak47 m4a1 aug sg552
|
167
|
+
sg550 galil famas scout g3sg1 p90 mp5navy tmp mac10 ump45 m3
|
168
|
+
xm1014 m249 knife grenade)</span>
|
169
|
+
</pre></dd>
|
170
|
+
|
171
|
+
</dl>
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
178
|
+
<ul class="summary">
|
179
|
+
|
180
|
+
<li class="public ">
|
181
|
+
<span class="summary_signature">
|
182
|
+
|
183
|
+
<a href="#last_match_stats-instance_method" title="#last_match_stats (instance method)">- (Hash<Symbol, Object>) <strong>last_match_stats</strong> </a>
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
</span>
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
<span class="note title readonly">readonly</span>
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
<span class="summary_desc"><div class='inline'><p>Returns statistics about the last match the player played.</p>
|
203
|
+
</div></span>
|
204
|
+
|
205
|
+
</li>
|
206
|
+
|
207
|
+
|
208
|
+
<li class="public ">
|
209
|
+
<span class="summary_signature">
|
210
|
+
|
211
|
+
<a href="#total_stats-instance_method" title="#total_stats (instance method)">- (Hash<Symbol, Object>) <strong>total_stats</strong> </a>
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
</span>
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
<span class="note title readonly">readonly</span>
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
<span class="summary_desc"><div class='inline'><p>Returns overall statistics of this player.</p>
|
231
|
+
</div></span>
|
232
|
+
|
233
|
+
</li>
|
234
|
+
|
235
|
+
|
236
|
+
</ul>
|
237
|
+
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
|
242
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="GameStats.html" title="GameStats (class)">GameStats</a></span></h3>
|
243
|
+
<p class="inherited"><span class='object_link'><a href="GameStats.html#game-instance_method" title="GameStats#game (method)">#game</a></span>, <span class='object_link'><a href="GameStats.html#hours_played-instance_method" title="GameStats#hours_played (method)">#hours_played</a></span>, <span class='object_link'><a href="GameStats.html#privacy_state-instance_method" title="GameStats#privacy_state (method)">#privacy_state</a></span>, <span class='object_link'><a href="GameStats.html#user-instance_method" title="GameStats#user (method)">#user</a></span></p>
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
<h2>
|
248
|
+
Instance Method Summary
|
249
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
250
|
+
</h2>
|
251
|
+
|
252
|
+
<ul class="summary">
|
253
|
+
|
254
|
+
<li class="public ">
|
255
|
+
<span class="summary_signature">
|
256
|
+
|
257
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (CSSStats) <strong>initialize</strong>(steam_id, fetch = true, bypass_cache = false) </a>
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
</span>
|
262
|
+
|
263
|
+
|
264
|
+
<span class="note title constructor">constructor</span>
|
265
|
+
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
<span class="summary_desc"><div class='inline'><p>Creates a <code>CSSStats</code> instance by calling the super constructor with the game name <code>'cs:s'</code>.</p>
|
274
|
+
</div></span>
|
275
|
+
|
276
|
+
</li>
|
277
|
+
|
278
|
+
|
279
|
+
<li class="public ">
|
280
|
+
<span class="summary_signature">
|
281
|
+
|
282
|
+
<a href="#map_stats-instance_method" title="#map_stats (instance method)">- (Hash<String, Object>) <strong>map_stats</strong> </a>
|
283
|
+
|
284
|
+
|
285
|
+
|
286
|
+
</span>
|
287
|
+
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
|
296
|
+
<span class="summary_desc"><div class='inline'><p>Returns a map of <code>CSSMap</code> for this user containing all CS:S maps.</p>
|
297
|
+
</div></span>
|
298
|
+
|
299
|
+
</li>
|
300
|
+
|
301
|
+
|
302
|
+
<li class="public ">
|
303
|
+
<span class="summary_signature">
|
304
|
+
|
305
|
+
<a href="#weapon_stats-instance_method" title="#weapon_stats (instance method)">- (Hash<String, Object>) <strong>weapon_stats</strong> </a>
|
306
|
+
|
307
|
+
|
308
|
+
|
309
|
+
</span>
|
310
|
+
|
311
|
+
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
<span class="summary_desc"><div class='inline'><p>Returns a map of <code>CSSWeapon</code> for this user containing all CS:S weapons.</p>
|
320
|
+
</div></span>
|
321
|
+
|
322
|
+
</li>
|
323
|
+
|
324
|
+
|
325
|
+
</ul>
|
326
|
+
|
327
|
+
|
328
|
+
|
329
|
+
|
330
|
+
|
331
|
+
|
332
|
+
|
333
|
+
|
334
|
+
|
335
|
+
|
336
|
+
|
337
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="GameStats.html" title="GameStats (class)">GameStats</a></span></h3>
|
338
|
+
<p class="inherited"><span class='object_link'><a href="GameStats.html#achievements-instance_method" title="GameStats#achievements (method)">#achievements</a></span>, <span class='object_link'><a href="GameStats.html#achievements_done-instance_method" title="GameStats#achievements_done (method)">#achievements_done</a></span>, <span class='object_link'><a href="GameStats.html#achievements_percentage-instance_method" title="GameStats#achievements_percentage (method)">#achievements_percentage</a></span>, <span class='object_link'><a href="GameStats.html#base_url-class_method" title="GameStats.base_url (method)">base_url</a></span>, <span class='object_link'><a href="GameStats.html#base_url-instance_method" title="GameStats#base_url (method)">#base_url</a></span>, <span class='object_link'><a href="GameStats.html#create_game_stats-class_method" title="GameStats.create_game_stats (method)">create_game_stats</a></span>, <span class='object_link'><a href="GameStats.html#public%3F-instance_method" title="GameStats#public? (method)">#public?</a></span></p>
|
339
|
+
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
|
348
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="XMLData.html" title="XMLData (module)">XMLData</a></span></h3>
|
349
|
+
<p class="inherited"><span class='object_link'><a href="XMLData.html#parse-instance_method" title="XMLData#parse (method)">#parse</a></span></p>
|
350
|
+
<div id="constructor_details" class="method_details_list">
|
351
|
+
<h2>Constructor Details</h2>
|
352
|
+
|
353
|
+
<div class="method_details first">
|
354
|
+
<h3 class="signature first" id="initialize-instance_method">
|
355
|
+
|
356
|
+
- (<tt><span class='object_link'><a href="" title="CSSStats (class)">CSSStats</a></span></tt>) <strong>initialize</strong>(steam_id, fetch = true, bypass_cache = false)
|
357
|
+
|
358
|
+
|
359
|
+
|
360
|
+
|
361
|
+
|
362
|
+
</h3><div class="docstring">
|
363
|
+
<div class="discussion">
|
364
|
+
<p>Creates a <code>CSSStats</code> instance by calling the super constructor
|
365
|
+
with the game name <code>'cs:s'</code></p>
|
366
|
+
|
367
|
+
|
368
|
+
</div>
|
369
|
+
</div>
|
370
|
+
<div class="tags">
|
371
|
+
|
372
|
+
|
373
|
+
<p class="tag_title">Parameters:</p>
|
374
|
+
<ul class="param">
|
375
|
+
|
376
|
+
<li>
|
377
|
+
|
378
|
+
<span class='name'>steam_id</span>
|
379
|
+
|
380
|
+
|
381
|
+
<span class='type'>(<tt>String</tt>, <tt>Fixnum</tt>)</span>
|
382
|
+
|
383
|
+
|
384
|
+
|
385
|
+
—
|
386
|
+
<div class='inline'><p>The custom URL or 64bit Steam ID of the
|
387
|
+
user</p>
|
388
|
+
</div>
|
389
|
+
|
390
|
+
</li>
|
391
|
+
|
392
|
+
<li>
|
393
|
+
|
394
|
+
<span class='name'>fetch</span>
|
395
|
+
|
396
|
+
|
397
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
398
|
+
|
399
|
+
|
400
|
+
|
401
|
+
—
|
402
|
+
<div class='inline'><p>if <code>true</code> the object's data is fetched after
|
403
|
+
creation</p>
|
404
|
+
</div>
|
405
|
+
|
406
|
+
</li>
|
407
|
+
|
408
|
+
<li>
|
409
|
+
|
410
|
+
<span class='name'>bypass_cache</span>
|
411
|
+
|
412
|
+
|
413
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
414
|
+
|
415
|
+
|
416
|
+
|
417
|
+
—
|
418
|
+
<div class='inline'><p>if <code>true</code> the object's data is fetched again
|
419
|
+
even if it has been cached already</p>
|
420
|
+
</div>
|
421
|
+
|
422
|
+
</li>
|
423
|
+
|
424
|
+
</ul>
|
425
|
+
|
426
|
+
|
427
|
+
</div><table class="source_code">
|
428
|
+
<tr>
|
429
|
+
<td>
|
430
|
+
<pre class="lines">
|
431
|
+
|
432
|
+
|
433
|
+
41
|
434
|
+
42
|
435
|
+
43
|
436
|
+
44
|
437
|
+
45
|
438
|
+
46
|
439
|
+
47
|
440
|
+
48
|
441
|
+
49
|
442
|
+
50
|
443
|
+
51
|
444
|
+
52
|
445
|
+
53
|
446
|
+
54
|
447
|
+
55
|
448
|
+
56
|
449
|
+
57
|
450
|
+
58
|
451
|
+
59
|
452
|
+
60
|
453
|
+
61
|
454
|
+
62
|
455
|
+
63
|
456
|
+
64
|
457
|
+
65
|
458
|
+
66
|
459
|
+
67
|
460
|
+
68
|
461
|
+
69
|
462
|
+
70
|
463
|
+
71
|
464
|
+
72
|
465
|
+
73
|
466
|
+
74
|
467
|
+
75
|
468
|
+
76
|
469
|
+
77
|
470
|
+
78
|
471
|
+
79
|
472
|
+
80
|
473
|
+
81
|
474
|
+
82
|
475
|
+
83
|
476
|
+
84
|
477
|
+
85
|
478
|
+
86
|
479
|
+
87
|
480
|
+
88
|
481
|
+
89
|
482
|
+
90
|
483
|
+
91
|
484
|
+
92
|
485
|
+
93
|
486
|
+
94
|
487
|
+
95
|
488
|
+
96
|
489
|
+
97
|
490
|
+
98</pre>
|
491
|
+
</td>
|
492
|
+
<td>
|
493
|
+
<pre class="code"><span class="info file"># File 'lib/steam/community/css/css_stats.rb', line 41</span>
|
494
|
+
|
495
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='rubyid_steam_id identifier id'>steam_id</span><span class='rparen token'>)</span>
|
496
|
+
<span class='rubyid_super super kw'>super</span> <span class='rubyid_steam_id identifier id'>steam_id</span><span class='comma token'>,</span> <span class='string val'>'cs:s'</span>
|
497
|
+
|
498
|
+
<span class='rubyid_if if kw'>if</span> <span class='rubyid_public? fid id'>public?</span>
|
499
|
+
<span class='rubyid_last_match_data identifier id'>last_match_data</span> <span class='assign token'>=</span> <span class='rubyid_@xml_data ivar id'>@xml_data</span><span class='lbrack token'>[</span><span class='string val'>'stats'</span><span class='rbrack token'>]</span><span class='lbrack token'>[</span><span class='string val'>'lastmatch'</span><span class='rbrack token'>]</span>
|
500
|
+
<span class='rubyid_lifetime_data identifier id'>lifetime_data</span> <span class='assign token'>=</span> <span class='rubyid_@xml_data ivar id'>@xml_data</span><span class='lbrack token'>[</span><span class='string val'>'stats'</span><span class='rbrack token'>]</span><span class='lbrack token'>[</span><span class='string val'>'lifetime'</span><span class='rbrack token'>]</span>
|
501
|
+
<span class='rubyid_summary_data identifier id'>summary_data</span> <span class='assign token'>=</span> <span class='rubyid_@xml_data ivar id'>@xml_data</span><span class='lbrack token'>[</span><span class='string val'>'stats'</span><span class='rbrack token'>]</span><span class='lbrack token'>[</span><span class='string val'>'summary'</span><span class='rbrack token'>]</span>
|
502
|
+
|
503
|
+
<span class='rubyid_@last_match_stats ivar id'>@last_match_stats</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span>
|
504
|
+
<span class='symbol val'>:cost_per_kill</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_last_match_data identifier id'>last_match_data</span><span class='lbrack token'>[</span><span class='string val'>'costkill'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_f identifier id'>to_f</span><span class='comma token'>,</span>
|
505
|
+
<span class='symbol val'>:ct_wins</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_last_match_data identifier id'>last_match_data</span><span class='lbrack token'>[</span><span class='string val'>'ct_wins'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
506
|
+
<span class='symbol val'>:damage</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_last_match_data identifier id'>last_match_data</span><span class='lbrack token'>[</span><span class='string val'>'dmg'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
507
|
+
<span class='symbol val'>:deaths</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_last_match_data identifier id'>last_match_data</span><span class='lbrack token'>[</span><span class='string val'>'deaths'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
508
|
+
<span class='symbol val'>:dominations</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_last_match_data identifier id'>last_match_data</span><span class='lbrack token'>[</span><span class='string val'>'dominations'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
509
|
+
<span class='symbol val'>:favorite_weapon_id</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_last_match_data identifier id'>last_match_data</span><span class='lbrack token'>[</span><span class='string val'>'favwpnid'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
510
|
+
<span class='symbol val'>:kills</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_last_match_data identifier id'>last_match_data</span><span class='lbrack token'>[</span><span class='string val'>'kills'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
511
|
+
<span class='symbol val'>:max_players</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_last_match_data identifier id'>last_match_data</span><span class='lbrack token'>[</span><span class='string val'>'max_players'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
512
|
+
<span class='symbol val'>:money</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_last_match_data identifier id'>last_match_data</span><span class='lbrack token'>[</span><span class='string val'>'money'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
513
|
+
<span class='symbol val'>:revenges</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_last_match_data identifier id'>last_match_data</span><span class='lbrack token'>[</span><span class='string val'>'revenges'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
514
|
+
<span class='symbol val'>:stars</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_last_match_data identifier id'>last_match_data</span><span class='lbrack token'>[</span><span class='string val'>'stars'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
515
|
+
<span class='symbol val'>:t_wins</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_last_match_data identifier id'>last_match_data</span><span class='lbrack token'>[</span><span class='string val'>'t_wins'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
516
|
+
<span class='symbol val'>:wins</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_last_match_data identifier id'>last_match_data</span><span class='lbrack token'>[</span><span class='string val'>'wins'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
517
|
+
<span class='rbrace token'>}</span>
|
518
|
+
|
519
|
+
<span class='rubyid_@total_stats ivar id'>@total_stats</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span>
|
520
|
+
<span class='symbol val'>:blind_kills</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_lifetime_data identifier id'>lifetime_data</span><span class='lbrack token'>[</span><span class='string val'>'blindkills'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
521
|
+
<span class='symbol val'>:bombs_defused</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_lifetime_data identifier id'>lifetime_data</span><span class='lbrack token'>[</span><span class='string val'>'bombsdefused'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
522
|
+
<span class='symbol val'>:bombs_planted</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_lifetime_data identifier id'>lifetime_data</span><span class='lbrack token'>[</span><span class='string val'>'bombsplanted'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
523
|
+
<span class='symbol val'>:damage</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_lifetime_data identifier id'>lifetime_data</span><span class='lbrack token'>[</span><span class='string val'>'dmg'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
524
|
+
<span class='symbol val'>:deaths</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_summary_data identifier id'>summary_data</span><span class='lbrack token'>[</span><span class='string val'>'deaths'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
525
|
+
<span class='symbol val'>:domination_overkills</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_lifetime_data identifier id'>lifetime_data</span><span class='lbrack token'>[</span><span class='string val'>'dominationoverkills'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
526
|
+
<span class='symbol val'>:dominations</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_lifetime_data identifier id'>lifetime_data</span><span class='lbrack token'>[</span><span class='string val'>'dominations'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
527
|
+
<span class='symbol val'>:earned_money</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_lifetime_data identifier id'>lifetime_data</span><span class='lbrack token'>[</span><span class='string val'>'money'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
528
|
+
<span class='symbol val'>:enemy_weapon_kills</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_lifetime_data identifier id'>lifetime_data</span><span class='lbrack token'>[</span><span class='string val'>'enemywpnkills'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
529
|
+
<span class='symbol val'>:headshots</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_lifetime_data identifier id'>lifetime_data</span><span class='lbrack token'>[</span><span class='string val'>'headshots'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
530
|
+
<span class='symbol val'>:hits</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_summary_data identifier id'>summary_data</span><span class='lbrack token'>[</span><span class='string val'>'shotshit'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
531
|
+
<span class='symbol val'>:hostages_rescued</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_lifetime_data identifier id'>lifetime_data</span><span class='lbrack token'>[</span><span class='string val'>'hostagesrescued'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
532
|
+
<span class='symbol val'>:kills</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_summary_data identifier id'>summary_data</span><span class='lbrack token'>[</span><span class='string val'>'kills'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
533
|
+
<span class='symbol val'>:knife_kills</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_lifetime_data identifier id'>lifetime_data</span><span class='lbrack token'>[</span><span class='string val'>'knifekills'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
534
|
+
<span class='symbol val'>:logos_sprayed</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_lifetime_data identifier id'>lifetime_data</span><span class='lbrack token'>[</span><span class='string val'>'decals'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
535
|
+
<span class='symbol val'>:nightvision_damage</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_lifetime_data identifier id'>lifetime_data</span><span class='lbrack token'>[</span><span class='string val'>'nvgdmg'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
536
|
+
<span class='symbol val'>:pistol_rounds_won</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_lifetime_data identifier id'>lifetime_data</span><span class='lbrack token'>[</span><span class='string val'>'pistolrounds'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
537
|
+
<span class='symbol val'>:revenges</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_lifetime_data identifier id'>lifetime_data</span><span class='lbrack token'>[</span><span class='string val'>'revenges'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
538
|
+
<span class='symbol val'>:rounds_played</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_summary_data identifier id'>summary_data</span><span class='lbrack token'>[</span><span class='string val'>'rounds'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
539
|
+
<span class='symbol val'>:rounds_won</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_summary_data identifier id'>summary_data</span><span class='lbrack token'>[</span><span class='string val'>'wins'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
540
|
+
<span class='symbol val'>:seconds_played</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_summary_data identifier id'>summary_data</span><span class='lbrack token'>[</span><span class='string val'>'timeplayed'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
541
|
+
<span class='symbol val'>:shots</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_summary_data identifier id'>summary_data</span><span class='lbrack token'>[</span><span class='string val'>'shots'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
542
|
+
<span class='symbol val'>:stars</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_summary_data identifier id'>summary_data</span><span class='lbrack token'>[</span><span class='string val'>'stars'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
543
|
+
<span class='symbol val'>:weapons_donated</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_lifetime_data identifier id'>lifetime_data</span><span class='lbrack token'>[</span><span class='string val'>'wpndonated'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
544
|
+
<span class='symbol val'>:windows_broken</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_lifetime_data identifier id'>lifetime_data</span><span class='lbrack token'>[</span><span class='string val'>'winbroken'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
545
|
+
<span class='symbol val'>:zoomed_sniper_kills</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_lifetime_data identifier id'>lifetime_data</span><span class='lbrack token'>[</span><span class='string val'>'zsniperkills'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='comma token'>,</span>
|
546
|
+
<span class='symbol val'>:kdratio</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='lparen token'>(</span><span class='rubyid_@total_stats ivar id'>@total_stats</span><span class='lbrack token'>[</span><span class='symbol val'>:deaths</span><span class='rbrack token'>]</span> <span class='gt op'>></span> <span class='integer val'>0</span><span class='rparen token'>)</span> <span class='question op'>?</span> <span class='rubyid_@last_match_stats ivar id'>@last_match_stats</span><span class='lbrack token'>[</span><span class='symbol val'>:kills</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_f identifier id'>to_f</span> <span class='div op'>/</span> <span class='rubyid_@last_match_stats ivar id'>@last_match_stats</span><span class='lbrack token'>[</span><span class='symbol val'>:deaths</span><span class='rbrack token'>]</span> <span class='colon op'>:</span> <span class='integer val'>0</span><span class='comma token'>,</span>
|
547
|
+
<span class='symbol val'>:accuracy</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='lparen token'>(</span><span class='rubyid_@total_stats ivar id'>@total_stats</span><span class='lbrack token'>[</span><span class='symbol val'>:shots</span><span class='rbrack token'>]</span> <span class='gt op'>></span> <span class='integer val'>0</span><span class='rparen token'>)</span> <span class='question op'>?</span> <span class='rubyid_@total_stats ivar id'>@total_stats</span><span class='lbrack token'>[</span><span class='symbol val'>:hits</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_f identifier id'>to_f</span> <span class='div op'>/</span> <span class='rubyid_@total_stats ivar id'>@total_stats</span><span class='lbrack token'>[</span><span class='symbol val'>:shots</span><span class='rbrack token'>]</span> <span class='colon op'>:</span> <span class='integer val'>0</span><span class='comma token'>,</span>
|
548
|
+
<span class='symbol val'>:kdratio</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='lparen token'>(</span><span class='rubyid_@total_stats ivar id'>@total_stats</span><span class='lbrack token'>[</span><span class='symbol val'>:deaths</span><span class='rbrack token'>]</span> <span class='gt op'>></span> <span class='integer val'>0</span><span class='rparen token'>)</span> <span class='question op'>?</span> <span class='rubyid_@total_stats ivar id'>@total_stats</span><span class='lbrack token'>[</span><span class='symbol val'>:kills</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_to_f identifier id'>to_f</span> <span class='div op'>/</span> <span class='rubyid_@total_stats ivar id'>@total_stats</span><span class='lbrack token'>[</span><span class='symbol val'>:deaths</span><span class='rbrack token'>]</span> <span class='colon op'>:</span> <span class='integer val'>0</span><span class='comma token'>,</span>
|
549
|
+
<span class='symbol val'>:rounds_lost</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='rubyid_@total_stats ivar id'>@total_stats</span><span class='lbrack token'>[</span><span class='symbol val'>:rounds_played</span><span class='rbrack token'>]</span> <span class='minus op'>-</span> <span class='rubyid_@total_stats ivar id'>@total_stats</span><span class='lbrack token'>[</span><span class='symbol val'>:rounds_won</span><span class='rbrack token'>]</span>
|
550
|
+
<span class='rbrace token'>}</span>
|
551
|
+
<span class='rubyid_end end kw'>end</span>
|
552
|
+
<span class='rubyid_end end kw'>end</span>
|
553
|
+
</pre>
|
554
|
+
</td>
|
555
|
+
</tr>
|
556
|
+
</table>
|
557
|
+
</div>
|
558
|
+
|
559
|
+
</div>
|
560
|
+
|
561
|
+
<div id="instance_attr_details" class="attr_details">
|
562
|
+
<h2>Instance Attribute Details</h2>
|
563
|
+
|
564
|
+
|
565
|
+
<span id=""></span>
|
566
|
+
<div class="method_details first">
|
567
|
+
<h3 class="signature first" id="last_match_stats-instance_method">
|
568
|
+
|
569
|
+
- (<tt>Hash<Symbol, Object></tt>) <strong>last_match_stats</strong> <span class="extras">(readonly)</span>
|
570
|
+
|
571
|
+
|
572
|
+
|
573
|
+
|
574
|
+
|
575
|
+
</h3><div class="docstring">
|
576
|
+
<div class="discussion">
|
577
|
+
<p>Returns statistics about the last match the player played</p>
|
578
|
+
|
579
|
+
|
580
|
+
</div>
|
581
|
+
</div>
|
582
|
+
<div class="tags">
|
583
|
+
|
584
|
+
<p class="tag_title">Returns:</p>
|
585
|
+
<ul class="return">
|
586
|
+
|
587
|
+
<li>
|
588
|
+
|
589
|
+
|
590
|
+
<span class='type'>(<tt>Hash<Symbol, Object></tt>)</span>
|
591
|
+
|
592
|
+
|
593
|
+
|
594
|
+
—
|
595
|
+
<div class='inline'><p>The stats of the last match</p>
|
596
|
+
</div>
|
597
|
+
|
598
|
+
</li>
|
599
|
+
|
600
|
+
</ul>
|
601
|
+
|
602
|
+
</div><table class="source_code">
|
603
|
+
<tr>
|
604
|
+
<td>
|
605
|
+
<pre class="lines">
|
606
|
+
|
607
|
+
|
608
|
+
28
|
609
|
+
29
|
610
|
+
30</pre>
|
611
|
+
</td>
|
612
|
+
<td>
|
613
|
+
<pre class="code"><span class="info file"># File 'lib/steam/community/css/css_stats.rb', line 28</span>
|
614
|
+
|
615
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_last_match_stats identifier id'>last_match_stats</span>
|
616
|
+
<span class='rubyid_@last_match_stats ivar id'>@last_match_stats</span>
|
617
|
+
<span class='rubyid_end end kw'>end</span>
|
618
|
+
</pre>
|
619
|
+
</td>
|
620
|
+
</tr>
|
621
|
+
</table>
|
622
|
+
</div>
|
623
|
+
|
624
|
+
|
625
|
+
<span id=""></span>
|
626
|
+
<div class="method_details ">
|
627
|
+
<h3 class="signature " id="total_stats-instance_method">
|
628
|
+
|
629
|
+
- (<tt>Hash<Symbol, Object></tt>) <strong>total_stats</strong> <span class="extras">(readonly)</span>
|
630
|
+
|
631
|
+
|
632
|
+
|
633
|
+
|
634
|
+
|
635
|
+
</h3><div class="docstring">
|
636
|
+
<div class="discussion">
|
637
|
+
<p>Returns overall statistics of this player</p>
|
638
|
+
|
639
|
+
|
640
|
+
</div>
|
641
|
+
</div>
|
642
|
+
<div class="tags">
|
643
|
+
|
644
|
+
<p class="tag_title">Returns:</p>
|
645
|
+
<ul class="return">
|
646
|
+
|
647
|
+
<li>
|
648
|
+
|
649
|
+
|
650
|
+
<span class='type'>(<tt>Hash<Symbol, Object></tt>)</span>
|
651
|
+
|
652
|
+
|
653
|
+
|
654
|
+
—
|
655
|
+
<div class='inline'><p>The overall statistics</p>
|
656
|
+
</div>
|
657
|
+
|
658
|
+
</li>
|
659
|
+
|
660
|
+
</ul>
|
661
|
+
|
662
|
+
</div><table class="source_code">
|
663
|
+
<tr>
|
664
|
+
<td>
|
665
|
+
<pre class="lines">
|
666
|
+
|
667
|
+
|
668
|
+
33
|
669
|
+
34
|
670
|
+
35</pre>
|
671
|
+
</td>
|
672
|
+
<td>
|
673
|
+
<pre class="code"><span class="info file"># File 'lib/steam/community/css/css_stats.rb', line 33</span>
|
674
|
+
|
675
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_total_stats identifier id'>total_stats</span>
|
676
|
+
<span class='rubyid_@total_stats ivar id'>@total_stats</span>
|
677
|
+
<span class='rubyid_end end kw'>end</span>
|
678
|
+
</pre>
|
679
|
+
</td>
|
680
|
+
</tr>
|
681
|
+
</table>
|
682
|
+
</div>
|
683
|
+
|
684
|
+
</div>
|
685
|
+
|
686
|
+
|
687
|
+
<div id="instance_method_details" class="method_details_list">
|
688
|
+
<h2>Instance Method Details</h2>
|
689
|
+
|
690
|
+
|
691
|
+
<div class="method_details first">
|
692
|
+
<h3 class="signature first" id="map_stats-instance_method">
|
693
|
+
|
694
|
+
- (<tt>Hash<String, Object></tt>) <strong>map_stats</strong>
|
695
|
+
|
696
|
+
|
697
|
+
|
698
|
+
|
699
|
+
|
700
|
+
</h3><div class="docstring">
|
701
|
+
<div class="discussion">
|
702
|
+
<p>Returns a map of <code>CSSMap</code> for this user containing all CS:S maps.</p>
|
703
|
+
|
704
|
+
<p>If the maps haven't been parsed already, parsing is done now.</p>
|
705
|
+
|
706
|
+
|
707
|
+
</div>
|
708
|
+
</div>
|
709
|
+
<div class="tags">
|
710
|
+
|
711
|
+
<p class="tag_title">Returns:</p>
|
712
|
+
<ul class="return">
|
713
|
+
|
714
|
+
<li>
|
715
|
+
|
716
|
+
|
717
|
+
<span class='type'>(<tt>Hash<String, Object></tt>)</span>
|
718
|
+
|
719
|
+
|
720
|
+
|
721
|
+
—
|
722
|
+
<div class='inline'><p>The map statistics for this user</p>
|
723
|
+
</div>
|
724
|
+
|
725
|
+
</li>
|
726
|
+
|
727
|
+
</ul>
|
728
|
+
|
729
|
+
</div><table class="source_code">
|
730
|
+
<tr>
|
731
|
+
<td>
|
732
|
+
<pre class="lines">
|
733
|
+
|
734
|
+
|
735
|
+
105
|
736
|
+
106
|
737
|
+
107
|
738
|
+
108
|
739
|
+
109
|
740
|
+
110
|
741
|
+
111
|
742
|
+
112
|
743
|
+
113
|
744
|
+
114
|
745
|
+
115
|
746
|
+
116
|
747
|
+
117
|
748
|
+
118</pre>
|
749
|
+
</td>
|
750
|
+
<td>
|
751
|
+
<pre class="code"><span class="info file"># File 'lib/steam/community/css/css_stats.rb', line 105</span>
|
752
|
+
|
753
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_map_stats identifier id'>map_stats</span>
|
754
|
+
<span class='rubyid_return return kw'>return</span> <span class='rubyid_unless unless_mod kw'>unless</span> <span class='rubyid_public? fid id'>public?</span>
|
755
|
+
|
756
|
+
<span class='rubyid_if if kw'>if</span> <span class='rubyid_@map_stats ivar id'>@map_stats</span><span class='dot token'>.</span><span class='rubyid_nil? fid id'>nil?</span>
|
757
|
+
<span class='rubyid_@map_stats ivar id'>@map_stats</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span>
|
758
|
+
<span class='rubyid_maps_data identifier id'>maps_data</span> <span class='assign token'>=</span> <span class='rubyid_@xml_data ivar id'>@xml_data</span><span class='lbrack token'>[</span><span class='string val'>'stats'</span><span class='rbrack token'>]</span><span class='lbrack token'>[</span><span class='string val'>'maps'</span><span class='rbrack token'>]</span>
|
759
|
+
|
760
|
+
<span class='rubyid_MAPS constant id'>MAPS</span><span class='dot token'>.</span><span class='rubyid_each identifier id'>each</span> <span class='rubyid_do do kw'>do</span> <span class='bitor op'>|</span><span class='rubyid_map_name identifier id'>map_name</span><span class='bitor op'>|</span>
|
761
|
+
<span class='rubyid_@map_stats ivar id'>@map_stats</span><span class='lbrack token'>[</span><span class='rubyid_map_name identifier id'>map_name</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='rubyid_CSSMap constant id'>CSSMap</span><span class='dot token'>.</span><span class='rubyid_new identifier id'>new</span><span class='lparen token'>(</span><span class='rubyid_map_name identifier id'>map_name</span><span class='comma token'>,</span> <span class='rubyid_maps_data identifier id'>maps_data</span><span class='rparen token'>)</span>
|
762
|
+
<span class='rubyid_end end kw'>end</span>
|
763
|
+
<span class='rubyid_end end kw'>end</span>
|
764
|
+
|
765
|
+
<span class='rubyid_@map_stats ivar id'>@map_stats</span>
|
766
|
+
<span class='rubyid_end end kw'>end</span>
|
767
|
+
</pre>
|
768
|
+
</td>
|
769
|
+
</tr>
|
770
|
+
</table>
|
771
|
+
</div>
|
772
|
+
|
773
|
+
<div class="method_details ">
|
774
|
+
<h3 class="signature " id="weapon_stats-instance_method">
|
775
|
+
|
776
|
+
- (<tt>Hash<String, Object></tt>) <strong>weapon_stats</strong>
|
777
|
+
|
778
|
+
|
779
|
+
|
780
|
+
|
781
|
+
|
782
|
+
</h3><div class="docstring">
|
783
|
+
<div class="discussion">
|
784
|
+
<p>Returns a map of <code>CSSWeapon</code> for this user containing all CS:S weapons.</p>
|
785
|
+
|
786
|
+
<p>If the weapons haven't been parsed already, parsing is done now.</p>
|
787
|
+
|
788
|
+
|
789
|
+
</div>
|
790
|
+
</div>
|
791
|
+
<div class="tags">
|
792
|
+
|
793
|
+
<p class="tag_title">Returns:</p>
|
794
|
+
<ul class="return">
|
795
|
+
|
796
|
+
<li>
|
797
|
+
|
798
|
+
|
799
|
+
<span class='type'>(<tt>Hash<String, Object></tt>)</span>
|
800
|
+
|
801
|
+
|
802
|
+
|
803
|
+
—
|
804
|
+
<div class='inline'><p>The weapon statistics for this user</p>
|
805
|
+
</div>
|
806
|
+
|
807
|
+
</li>
|
808
|
+
|
809
|
+
</ul>
|
810
|
+
|
811
|
+
</div><table class="source_code">
|
812
|
+
<tr>
|
813
|
+
<td>
|
814
|
+
<pre class="lines">
|
815
|
+
|
816
|
+
|
817
|
+
125
|
818
|
+
126
|
819
|
+
127
|
820
|
+
128
|
821
|
+
129
|
822
|
+
130
|
823
|
+
131
|
824
|
+
132
|
825
|
+
133
|
826
|
+
134
|
827
|
+
135
|
828
|
+
136
|
829
|
+
137
|
830
|
+
138</pre>
|
831
|
+
</td>
|
832
|
+
<td>
|
833
|
+
<pre class="code"><span class="info file"># File 'lib/steam/community/css/css_stats.rb', line 125</span>
|
834
|
+
|
835
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_weapon_stats identifier id'>weapon_stats</span>
|
836
|
+
<span class='rubyid_return return kw'>return</span> <span class='rubyid_unless unless_mod kw'>unless</span> <span class='rubyid_public? fid id'>public?</span>
|
837
|
+
|
838
|
+
<span class='rubyid_if if kw'>if</span> <span class='rubyid_@weapon_stats ivar id'>@weapon_stats</span><span class='dot token'>.</span><span class='rubyid_nil? fid id'>nil?</span>
|
839
|
+
<span class='rubyid_@weapon_stats ivar id'>@weapon_stats</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span>
|
840
|
+
<span class='rubyid_weapons_data identifier id'>weapons_data</span> <span class='assign token'>=</span> <span class='rubyid_@xml_data ivar id'>@xml_data</span><span class='lbrack token'>[</span><span class='string val'>'stats'</span><span class='rbrack token'>]</span><span class='lbrack token'>[</span><span class='string val'>'weapons'</span><span class='rbrack token'>]</span>
|
841
|
+
|
842
|
+
<span class='rubyid_WEAPONS constant id'>WEAPONS</span><span class='dot token'>.</span><span class='rubyid_each identifier id'>each</span> <span class='rubyid_do do kw'>do</span> <span class='bitor op'>|</span><span class='rubyid_weapon_name identifier id'>weapon_name</span><span class='bitor op'>|</span>
|
843
|
+
<span class='rubyid_@weapon_stats ivar id'>@weapon_stats</span><span class='lbrack token'>[</span><span class='rubyid_weapon_name identifier id'>weapon_name</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='rubyid_CSSWeapon constant id'>CSSWeapon</span><span class='dot token'>.</span><span class='rubyid_new identifier id'>new</span><span class='lparen token'>(</span><span class='rubyid_weapon_name identifier id'>weapon_name</span><span class='comma token'>,</span> <span class='rubyid_weapons_data identifier id'>weapons_data</span><span class='rparen token'>)</span>
|
844
|
+
<span class='rubyid_end end kw'>end</span>
|
845
|
+
<span class='rubyid_end end kw'>end</span>
|
846
|
+
|
847
|
+
<span class='rubyid_@weapon_stats ivar id'>@weapon_stats</span>
|
848
|
+
<span class='rubyid_end end kw'>end</span>
|
849
|
+
</pre>
|
850
|
+
</td>
|
851
|
+
</tr>
|
852
|
+
</table>
|
853
|
+
</div>
|
854
|
+
|
855
|
+
</div>
|
856
|
+
|
857
|
+
</div>
|
858
|
+
|
859
|
+
<div id="footer">
|
860
|
+
Generated on Mon Sep 2 07:13:05 2013 by
|
861
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
862
|
+
0.8.7 (ruby-1.8.7).
|
863
|
+
</div>
|
864
|
+
|
865
|
+
</body>
|
866
|
+
</html>
|