steam-condenser 1.3.7 → 1.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -7
- data/Gemfile.lock +21 -13
- data/doc/A2M_GET_SERVERS_BATCH2_Packet.html +15 -17
- data/doc/A2S_INFO_Packet.html +5 -6
- data/doc/A2S_PLAYER_Packet.html +8 -9
- data/doc/A2S_RULES_Packet.html +8 -9
- data/doc/A2S_SERVERQUERY_GETCHALLENGE_Packet.html +5 -6
- data/doc/AbstractL4DStats.html +130 -155
- data/doc/AbstractL4DWeapon.html +26 -49
- data/doc/AlienSwarmMission.html +69 -84
- data/doc/AlienSwarmStats.html +134 -142
- data/doc/AlienSwarmWeapon.html +23 -28
- data/doc/AppNews.html +56 -69
- data/doc/C2M_CHECKMD5_Packet.html +8 -10
- data/doc/CSSMap.html +28 -35
- data/doc/CSSStats.html +94 -101
- data/doc/CSSWeapon.html +34 -42
- data/doc/Cacheable.html +51 -59
- data/doc/Cacheable/ClassMethods.html +36 -42
- data/doc/DefenseGridStats.html +154 -179
- data/doc/DoDSClass.html +50 -62
- data/doc/DoDSStats.html +25 -28
- data/doc/DoDSWeapon.html +29 -36
- data/doc/Dota2BetaInventory.html +7 -10
- data/doc/Dota2Inventory.html +7 -10
- data/doc/Dota2Item.html +9 -11
- data/doc/GameAchievement.html +51 -62
- data/doc/GameClass.html +8 -10
- data/doc/GameInventory.html +92 -106
- data/doc/GameItem.html +93 -129
- data/doc/GameItemSchema.html +84 -97
- data/doc/GameLeaderboard.html +111 -132
- data/doc/GameLeaderboardEntry.html +20 -25
- data/doc/GameServer.html +188 -225
- data/doc/GameStats.html +91 -103
- data/doc/GameWeapon.html +19 -41
- data/doc/GoldSrcServer.html +19 -24
- data/doc/GoldSrcSocket.html +80 -85
- data/doc/L4D2Map.html +51 -58
- data/doc/L4D2Stats.html +101 -108
- data/doc/L4D2Weapon.html +15 -18
- data/doc/L4DExplosive.html +10 -12
- data/doc/L4DMap.html +38 -48
- data/doc/L4DStats.html +34 -37
- data/doc/L4DWeapon.html +6 -7
- data/doc/M2A_SERVER_BATCH_Packet.html +25 -27
- data/doc/M2C_ISVALIDMD5_Packet.html +10 -12
- data/doc/M2S_REQUESTRESTART_Packet.html +9 -11
- data/doc/MasterServer.html +75 -92
- data/doc/MasterServerSocket.html +11 -12
- data/doc/PacketFormatError.html +2 -2
- data/doc/Portal2Inventory.html +7 -10
- data/doc/Portal2Item.html +20 -25
- data/doc/Portal2Stats.html +9 -11
- data/doc/RCONAuthRequest.html +5 -6
- data/doc/RCONAuthResponse.html +5 -6
- data/doc/RCONBanError.html +5 -6
- data/doc/RCONExecRequest.html +5 -6
- data/doc/RCONExecResponse.html +8 -10
- data/doc/RCONGoldSrcRequest.html +8 -10
- data/doc/RCONGoldSrcResponse.html +8 -10
- data/doc/RCONNoAuthError.html +5 -6
- data/doc/RCONPacket.html +18 -42
- data/doc/RCONPacketFactory.html +18 -19
- data/doc/RCONSocket.html +37 -42
- data/doc/RCONTerminator.html +5 -6
- data/doc/RequestWithChallenge.html +5 -6
- data/doc/S2A_INFO2_Packet.html +52 -58
- data/doc/S2A_INFO_BasePacket.html +5 -6
- data/doc/S2A_INFO_DETAILED_Packet.html +41 -42
- data/doc/S2A_LOGSTRING_Packet.html +10 -12
- data/doc/S2A_PLAYER_Packet.html +20 -22
- data/doc/S2A_RULES_Packet.html +19 -21
- data/doc/S2C_CHALLENGE_Packet.html +9 -11
- data/doc/S2M_HEARTBEAT2_Packet.html +37 -40
- data/doc/Server.html +47 -71
- data/doc/SourceServer.html +55 -61
- data/doc/SourceSocket.html +48 -49
- data/doc/SteamCondenser.html +3 -4
- data/doc/SteamCondenser/Community.html +2 -2
- data/doc/SteamCondenser/Servers.html +2 -2
- data/doc/SteamCondenser/TimeoutError.html +5 -6
- data/doc/SteamCondenserError.html +9 -11
- data/doc/SteamGame.html +95 -113
- data/doc/SteamGroup.html +665 -155
- data/doc/SteamId.html +377 -418
- data/doc/SteamPacket.html +32 -71
- data/doc/SteamPacketFactory.html +58 -60
- data/doc/SteamPlayer.html +76 -93
- data/doc/SteamSocket.html +42 -65
- data/doc/StringIO.html +35 -40
- data/doc/TF2BetaInventory.html +7 -10
- data/doc/TF2Class.html +46 -57
- data/doc/TF2ClassFactory.html +16 -17
- data/doc/TF2Engineer.html +18 -22
- data/doc/TF2GoldenWrench.html +31 -38
- data/doc/TF2Inventory.html +7 -10
- data/doc/TF2Item.html +20 -25
- data/doc/TF2Medic.html +13 -16
- data/doc/TF2Sniper.html +9 -11
- data/doc/TF2Spy.html +18 -22
- data/doc/TF2Stats.html +35 -40
- data/doc/WebApi.html +53 -62
- data/doc/WebApiError.html +21 -22
- data/doc/XMLData.html +8 -9
- data/doc/_index.html +2 -2
- data/doc/file.CHANGELOG.html +3 -3
- data/doc/file.CONTRIBUTING.html +7 -7
- data/doc/file.LICENSE.html +3 -3
- data/doc/file.README.html +5 -5
- data/doc/frames.html +3 -6
- data/doc/index.html +5 -5
- data/doc/method_list.html +555 -519
- data/doc/top-level-namespace.html +2 -2
- data/lib/core_ext/stringio.rb +5 -3
- data/lib/steam-condenser/version.rb +1 -1
- data/lib/steam/community/steam_group.rb +48 -1
- data/lib/steam/community/steam_id.rb +1 -0
- data/pkg/steam-condenser-1.3.5/Gemfile.lock +21 -13
- data/pkg/steam-condenser-1.3.5/test/fixtures/valve-members.xml +261 -231
- data/pkg/steam-condenser-1.3.6/Gemfile.lock +21 -13
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/Gemfile.lock +21 -13
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/fixtures/valve-members.xml +261 -231
- data/pkg/steam-condenser-1.3.6/test/fixtures/valve-members.xml +261 -231
- data/pkg/steam-condenser-1.3.7.gem +0 -0
- data/pkg/steam-condenser-1.3.7/CHANGELOG.md +233 -0
- data/pkg/steam-condenser-1.3.7/CONTRIBUTING.md +59 -0
- data/pkg/steam-condenser-1.3.7/Gemfile +7 -0
- data/pkg/steam-condenser-1.3.7/Gemfile.lock +53 -0
- data/pkg/steam-condenser-1.3.7/LICENSE +25 -0
- data/pkg/steam-condenser-1.3.7/README.md +75 -0
- data/pkg/steam-condenser-1.3.7/Rakefile +46 -0
- data/pkg/steam-condenser-1.3.7/doc/A2M_GET_SERVERS_BATCH2_Packet.html +424 -0
- data/pkg/steam-condenser-1.3.7/doc/A2S_INFO_Packet.html +259 -0
- data/pkg/steam-condenser-1.3.7/doc/A2S_PLAYER_Packet.html +294 -0
- data/pkg/steam-condenser-1.3.7/doc/A2S_RULES_Packet.html +295 -0
- data/pkg/steam-condenser-1.3.7/doc/A2S_SERVERQUERY_GETCHALLENGE_Packet.html +260 -0
- data/pkg/steam-condenser-1.3.7/doc/AbstractL4DStats.html +998 -0
- data/pkg/steam-condenser-1.3.7/doc/AbstractL4DWeapon.html +726 -0
- data/pkg/steam-condenser-1.3.7/doc/AlienSwarmMission.html +1540 -0
- data/pkg/steam-condenser-1.3.7/doc/AlienSwarmStats.html +1004 -0
- data/pkg/steam-condenser-1.3.7/doc/AlienSwarmWeapon.html +635 -0
- data/pkg/steam-condenser-1.3.7/doc/AppNews.html +1428 -0
- data/pkg/steam-condenser-1.3.7/doc/C2M_CHECKMD5_Packet.html +340 -0
- data/pkg/steam-condenser-1.3.7/doc/CSSMap.html +798 -0
- data/pkg/steam-condenser-1.3.7/doc/CSSStats.html +859 -0
- data/pkg/steam-condenser-1.3.7/doc/CSSWeapon.html +880 -0
- data/pkg/steam-condenser-1.3.7/doc/Cacheable.html +903 -0
- data/pkg/steam-condenser-1.3.7/doc/Cacheable/ClassMethods.html +691 -0
- data/pkg/steam-condenser-1.3.7/doc/DefenseGridStats.html +2567 -0
- data/pkg/steam-condenser-1.3.7/doc/DoDSClass.html +1251 -0
- data/pkg/steam-condenser-1.3.7/doc/DoDSStats.html +516 -0
- data/pkg/steam-condenser-1.3.7/doc/DoDSWeapon.html +796 -0
- data/pkg/steam-condenser-1.3.7/doc/Dota2BetaInventory.html +351 -0
- data/pkg/steam-condenser-1.3.7/doc/Dota2Inventory.html +351 -0
- data/pkg/steam-condenser-1.3.7/doc/Dota2Item.html +386 -0
- data/pkg/steam-condenser-1.3.7/doc/GameAchievement.html +1244 -0
- data/pkg/steam-condenser-1.3.7/doc/GameClass.html +319 -0
- data/pkg/steam-condenser-1.3.7/doc/GameInventory.html +1455 -0
- data/pkg/steam-condenser-1.3.7/doc/GameItem.html +1864 -0
- data/pkg/steam-condenser-1.3.7/doc/GameItemSchema.html +1431 -0
- data/pkg/steam-condenser-1.3.7/doc/GameLeaderboard.html +1685 -0
- data/pkg/steam-condenser-1.3.7/doc/GameLeaderboardEntry.html +624 -0
- data/pkg/steam-condenser-1.3.7/doc/GameServer.html +2382 -0
- data/pkg/steam-condenser-1.3.7/doc/GameStats.html +1447 -0
- data/pkg/steam-condenser-1.3.7/doc/GameWeapon.html +585 -0
- data/pkg/steam-condenser-1.3.7/doc/GoldSrcServer.html +733 -0
- data/pkg/steam-condenser-1.3.7/doc/GoldSrcSocket.html +844 -0
- data/pkg/steam-condenser-1.3.7/doc/L4D2Map.html +730 -0
- data/pkg/steam-condenser-1.3.7/doc/L4D2Stats.html +979 -0
- data/pkg/steam-condenser-1.3.7/doc/L4D2Weapon.html +483 -0
- data/pkg/steam-condenser-1.3.7/doc/L4DExplosive.html +372 -0
- data/pkg/steam-condenser-1.3.7/doc/L4DMap.html +765 -0
- data/pkg/steam-condenser-1.3.7/doc/L4DStats.html +560 -0
- data/pkg/steam-condenser-1.3.7/doc/L4DWeapon.html +295 -0
- data/pkg/steam-condenser-1.3.7/doc/M2A_SERVER_BATCH_Packet.html +428 -0
- data/pkg/steam-condenser-1.3.7/doc/M2C_ISVALIDMD5_Packet.html +381 -0
- data/pkg/steam-condenser-1.3.7/doc/M2S_REQUESTRESTART_Packet.html +380 -0
- data/pkg/steam-condenser-1.3.7/doc/MasterServer.html +1052 -0
- data/pkg/steam-condenser-1.3.7/doc/MasterServerSocket.html +294 -0
- data/pkg/steam-condenser-1.3.7/doc/PacketFormatError.html +173 -0
- data/pkg/steam-condenser-1.3.7/doc/Portal2Inventory.html +351 -0
- data/pkg/steam-condenser-1.3.7/doc/Portal2Item.html +597 -0
- data/pkg/steam-condenser-1.3.7/doc/Portal2Stats.html +398 -0
- data/pkg/steam-condenser-1.3.7/doc/RCONAuthRequest.html +316 -0
- data/pkg/steam-condenser-1.3.7/doc/RCONAuthResponse.html +304 -0
- data/pkg/steam-condenser-1.3.7/doc/RCONBanError.html +251 -0
- data/pkg/steam-condenser-1.3.7/doc/RCONExecRequest.html +316 -0
- data/pkg/steam-condenser-1.3.7/doc/RCONExecResponse.html +404 -0
- data/pkg/steam-condenser-1.3.7/doc/RCONGoldSrcRequest.html +361 -0
- data/pkg/steam-condenser-1.3.7/doc/RCONGoldSrcResponse.html +365 -0
- data/pkg/steam-condenser-1.3.7/doc/RCONNoAuthError.html +251 -0
- data/pkg/steam-condenser-1.3.7/doc/RCONPacket.html +540 -0
- data/pkg/steam-condenser-1.3.7/doc/RCONPacketFactory.html +299 -0
- data/pkg/steam-condenser-1.3.7/doc/RCONSocket.html +691 -0
- data/pkg/steam-condenser-1.3.7/doc/RCONTerminator.html +303 -0
- data/pkg/steam-condenser-1.3.7/doc/RequestWithChallenge.html +232 -0
- data/pkg/steam-condenser-1.3.7/doc/S2A_INFO2_Packet.html +410 -0
- data/pkg/steam-condenser-1.3.7/doc/S2A_INFO_BasePacket.html +265 -0
- data/pkg/steam-condenser-1.3.7/doc/S2A_INFO_DETAILED_Packet.html +370 -0
- data/pkg/steam-condenser-1.3.7/doc/S2A_LOGSTRING_Packet.html +371 -0
- data/pkg/steam-condenser-1.3.7/doc/S2A_PLAYER_Packet.html +415 -0
- data/pkg/steam-condenser-1.3.7/doc/S2A_RULES_Packet.html +409 -0
- data/pkg/steam-condenser-1.3.7/doc/S2C_CHALLENGE_Packet.html +368 -0
- data/pkg/steam-condenser-1.3.7/doc/S2M_HEARTBEAT2_Packet.html +442 -0
- data/pkg/steam-condenser-1.3.7/doc/Server.html +850 -0
- data/pkg/steam-condenser-1.3.7/doc/SourceServer.html +887 -0
- data/pkg/steam-condenser-1.3.7/doc/SourceSocket.html +349 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser.html +154 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community.html +134 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/AbstractL4DStats.html +1026 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/AbstractL4DWeapon.html +749 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/AlienSwarmMission.html +1557 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/AlienSwarmStats.html +1013 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/AlienSwarmWeapon.html +641 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/AppNews.html +1441 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/CSSMap.html +805 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/CSSStats.html +866 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/CSSWeapon.html +889 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/Cacheable.html +911 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/Cacheable/ClassMethods.html +695 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/DefenseGridStats.html +2593 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/DoDSClass.html +1263 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/DoDSStats.html +520 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/DoDSWeapon.html +803 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/Dota2BetaInventory.html +354 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/Dota2Inventory.html +354 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/Dota2Item.html +388 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/Dota2Match.html +505 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/GameAchievement.html +1100 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/GameClass.html +321 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/GameInventory.html +1469 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/GameItem.html +1900 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/GameItemSchema.html +1444 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/GameLeaderboard.html +1707 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/GameLeaderboardEntry.html +630 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/GameStats.html +1461 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/GameStatsSchema.html +771 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/GameStatsValue.html +596 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/GameStatsValue/Instance.html +262 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/GameWeapon.html +608 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/L4D2Map.html +737 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/L4D2Stats.html +989 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/L4D2Weapon.html +486 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/L4DExplosive.html +375 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/L4DMap.html +775 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/L4DStats.html +564 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/L4DWeapon.html +296 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/Portal2Inventory.html +354 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/Portal2Item.html +603 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/Portal2Stats.html +400 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/SteamGame.html +1862 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/SteamGroup.html +1018 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/SteamId.html +4430 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/TF2BetaInventory.html +345 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/TF2Class.html +1186 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/TF2ClassFactory.html +273 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/TF2Engineer.html +555 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/TF2GoldenWrench.html +760 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/TF2Inventory.html +354 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/TF2Item.html +602 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/TF2Medic.html +463 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/TF2Sniper.html +372 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/TF2Spy.html +553 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/TF2Stats.html +728 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/UserStats.html +760 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/WebApi.html +1116 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/XMLData.html +274 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Error.html +380 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Error/PacketFormat.html +173 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Error/RCONBan.html +253 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Error/RCONNoAuth.html +252 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Error/Timeout.html +254 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Error/WebApi.html +354 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Logging.html +616 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers.html +133 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/BaseServer.html +870 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/GameServer.html +2428 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/GoldSrcServer.html +738 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/MasterServer.html +819 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets.html +132 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/A2M_GET_SERVERS_BATCH2_Packet.html +427 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/A2S_INFO_Packet.html +260 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/A2S_PLAYER_Packet.html +295 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/A2S_RULES_Packet.html +296 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/A2S_SERVERQUERY_GETCHALLENGE_Packet.html +261 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/BasePacket.html +462 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/M2A_SERVER_BATCH_Packet.html +430 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/RCON.html +119 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/RCON/BasePacket.html +564 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/RCON/RCONAuthRequest.html +317 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/RCON/RCONAuthResponse.html +305 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/RCON/RCONExecRequest.html +317 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/RCON/RCONExecResponse.html +406 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/RCON/RCONGoldSrcRequest.html +363 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/RCON/RCONGoldSrcResponse.html +368 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/RCON/RCONPacketFactory.html +302 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/RCON/RCONTerminator.html +304 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/RequestWithChallenge.html +233 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/S2A_INFO2_Packet.html +416 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/S2A_INFO_BasePacket.html +266 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/S2A_INFO_DETAILED_Packet.html +371 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/S2A_LOGSTRING_Packet.html +373 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/S2A_PLAYER_Packet.html +417 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/S2A_RULES_Packet.html +411 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/S2C_CHALLENGE_Packet.html +370 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/SteamPacketFactory.html +532 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Sockets.html +119 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Sockets/BaseSocket.html +733 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Sockets/GoldSrcSocket.html +862 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Sockets/MasterServerSocket.html +306 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Sockets/RCONSocket.html +709 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Sockets/SourceSocket.html +367 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/SourceServer.html +892 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/SteamPlayer.html +1764 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/TimeoutError.html +253 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenserError.html +368 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamGame.html +1932 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamGroup.html +1533 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamId.html +4258 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamPacket.html +447 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamPacketFactory.html +554 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamPlayer.html +1747 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamSocket.html +702 -0
- data/pkg/steam-condenser-1.3.7/doc/StringIO.html +934 -0
- data/pkg/steam-condenser-1.3.7/doc/TF2BetaInventory.html +327 -0
- data/pkg/steam-condenser-1.3.7/doc/TF2Class.html +1174 -0
- data/pkg/steam-condenser-1.3.7/doc/TF2ClassFactory.html +272 -0
- data/pkg/steam-condenser-1.3.7/doc/TF2Engineer.html +551 -0
- data/pkg/steam-condenser-1.3.7/doc/TF2GoldenWrench.html +753 -0
- data/pkg/steam-condenser-1.3.7/doc/TF2Inventory.html +351 -0
- data/pkg/steam-condenser-1.3.7/doc/TF2Item.html +597 -0
- data/pkg/steam-condenser-1.3.7/doc/TF2Medic.html +460 -0
- data/pkg/steam-condenser-1.3.7/doc/TF2Sniper.html +370 -0
- data/pkg/steam-condenser-1.3.7/doc/TF2Spy.html +549 -0
- data/pkg/steam-condenser-1.3.7/doc/TF2Stats.html +723 -0
- data/pkg/steam-condenser-1.3.7/doc/WebApi.html +1099 -0
- data/pkg/steam-condenser-1.3.7/doc/WebApiError.html +350 -0
- data/pkg/steam-condenser-1.3.7/doc/XMLData.html +273 -0
- data/pkg/steam-condenser-1.3.7/doc/_index.html +728 -0
- data/pkg/steam-condenser-1.3.7/doc/class_list.html +54 -0
- data/pkg/steam-condenser-1.3.7/doc/css/common.css +1 -0
- data/pkg/steam-condenser-1.3.7/doc/css/full_list.css +57 -0
- data/pkg/steam-condenser-1.3.7/doc/css/style.css +338 -0
- data/pkg/steam-condenser-1.3.7/doc/file.CHANGELOG.html +368 -0
- data/pkg/steam-condenser-1.3.7/doc/file.CONTRIBUTING.html +140 -0
- data/pkg/steam-condenser-1.3.7/doc/file.LICENSE.html +100 -0
- data/pkg/steam-condenser-1.3.7/doc/file.README.html +152 -0
- data/pkg/steam-condenser-1.3.7/doc/file_list.html +65 -0
- data/pkg/steam-condenser-1.3.7/doc/frames.html +25 -0
- data/pkg/steam-condenser-1.3.7/doc/index.html +152 -0
- data/pkg/steam-condenser-1.3.7/doc/js/app.js +214 -0
- data/pkg/steam-condenser-1.3.7/doc/js/full_list.js +178 -0
- data/pkg/steam-condenser-1.3.7/doc/js/jquery.js +4 -0
- data/pkg/steam-condenser-1.3.7/doc/method_list.html +3191 -0
- data/pkg/steam-condenser-1.3.7/doc/top-level-namespace.html +114 -0
- data/pkg/steam-condenser-1.3.7/lib/core_ext/stringio.rb +91 -0
- data/pkg/steam-condenser-1.3.7/lib/errors/packet_format_error.rb +13 -0
- data/pkg/steam-condenser-1.3.7/lib/errors/rcon_ban_error.rb +22 -0
- data/pkg/steam-condenser-1.3.7/lib/errors/rcon_no_auth_error.rb +21 -0
- data/pkg/steam-condenser-1.3.7/lib/errors/steam_condenser_error.rb +26 -0
- data/pkg/steam-condenser-1.3.7/lib/errors/timeout_error.rb +28 -0
- data/pkg/steam-condenser-1.3.7/lib/errors/web_api_error.rb +57 -0
- data/pkg/steam-condenser-1.3.7/lib/steam-condenser.rb +18 -0
- data/pkg/steam-condenser-1.3.7/lib/steam-condenser/community.rb +24 -0
- data/pkg/steam-condenser-1.3.7/lib/steam-condenser/servers.rb +24 -0
- data/pkg/steam-condenser-1.3.7/lib/steam-condenser/version.rb +11 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/alien_swarm/alien_swarm_mission.rb +120 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/alien_swarm/alien_swarm_stats.rb +188 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/alien_swarm/alien_swarm_weapon.rb +49 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/app_news.rb +133 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/cacheable.rb +199 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/css/css_map.rb +61 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/css/css_stats.rb +140 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/css/css_weapon.rb +69 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/defense_grid/defense_grid_stats.rb +238 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/dods/dods_class.rb +90 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/dods/dods_stats.rb +62 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/dods/dods_weapon.rb +67 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/dota2/dota2_beta_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/dota2/dota2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/dota2/dota2_item.rb +33 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/game_achievement.rb +109 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/game_class.rb +22 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/game_inventory.rb +171 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/game_item.rb +155 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/game_item_schema.rb +131 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/game_leaderboard.rb +212 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/game_leaderboard_entry.rb +43 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/game_stats.rb +175 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/game_weapon.rb +41 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/l4d/abstract_l4d_stats.rb +188 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/l4d/abstract_l4d_weapon.rb +56 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/l4d/l4d2_map.rb +90 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/l4d/l4d2_stats.rb +179 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/l4d/l4d2_weapon.rb +38 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/l4d/l4d_explosive.rb +34 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/l4d/l4d_map.rb +65 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/l4d/l4d_stats.rb +73 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/l4d/l4d_weapon.rb +26 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/portal2/portal2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/portal2/portal2_item.rb +55 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/portal2/portal2_stats.rb +33 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/steam_game.rb +193 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/steam_group.rb +129 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/steam_id.rb +495 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/tf2/tf2_beta_inventory.rb +28 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/tf2/tf2_class.rb +92 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/tf2/tf2_class_factory.rb +40 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/tf2/tf2_engineer.rb +43 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/tf2/tf2_golden_wrench.rb +70 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/tf2/tf2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/tf2/tf2_item.rb +55 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/tf2/tf2_medic.rb +35 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/tf2/tf2_sniper.rb +28 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/tf2/tf2_spy.rb +41 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/tf2/tf2_stats.rb +77 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/web_api.rb +139 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/xml_data.rb +27 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/a2m_get_servers_batch2_packet.rb +59 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/a2s_info_packet.rb +24 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/a2s_player_packet.rb +31 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/a2s_rules_packet.rb +32 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/a2s_serverquery_getchallenge_packet.rb +25 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/c2m_checkmd5_packet.rb +31 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/m2a_server_batch_packet.rb +52 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/m2c_isvalidmd5_packet.rb +34 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/m2s_requestrestart_packet.rb +34 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/rcon/rcon_auth_request.rb +28 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/rcon/rcon_auth_response.rb +30 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/rcon/rcon_exec_request.rb +28 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/rcon/rcon_exec_response.rb +37 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/rcon/rcon_goldsrc_request.rb +35 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/rcon/rcon_goldsrc_response.rb +34 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/rcon/rcon_packet.rb +57 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/rcon/rcon_packet_factory.rb +43 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/rcon/rcon_terminator.rb +29 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/request_with_challenge.rb +19 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/s2a_info2_packet.rb +76 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/s2a_info_base_packet.rb +25 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/s2a_info_detailed_packet.rb +64 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/s2a_logstring_packet.rb +30 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/s2a_player_packet.rb +44 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/s2a_rules_packet.rb +48 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/s2c_challenge_packet.rb +35 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/s2m_heartbeat2_packet.rb +72 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/steam_packet.rb +52 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/steam_packet_factory.rb +113 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/servers/game_server.rb +393 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/servers/goldsrc_server.rb +74 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/servers/master_server.rb +188 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/servers/server.rb +115 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/servers/source_server.rb +123 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/sockets/goldsrc_socket.rb +142 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/sockets/master_server_socket.rb +34 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/sockets/rcon_socket.rb +103 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/sockets/source_socket.rb +73 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/sockets/steam_socket.rb +91 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/steam_player.rb +143 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5.gem +0 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/Gemfile +7 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/Gemfile.lock +53 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/LICENSE +25 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/README.md +70 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/Rakefile +46 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/core_ext/stringio.rb +91 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/errors/packet_format_error.rb +13 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/errors/rcon_ban_error.rb +22 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/errors/rcon_no_auth_error.rb +21 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/errors/steam_condenser_error.rb +26 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/errors/timeout_error.rb +28 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/errors/web_api_error.rb +57 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam-condenser.rb +18 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam-condenser/community.rb +24 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam-condenser/servers.rb +24 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam-condenser/version.rb +11 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/alien_swarm/alien_swarm_mission.rb +119 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/alien_swarm/alien_swarm_stats.rb +186 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/alien_swarm/alien_swarm_weapon.rb +49 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/app_news.rb +133 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/cacheable.rb +199 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/css/css_map.rb +61 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/css/css_stats.rb +142 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/css/css_weapon.rb +69 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/defense_grid/defense_grid_stats.rb +238 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/dods/dods_class.rb +90 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/dods/dods_stats.rb +62 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/dods/dods_weapon.rb +67 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/dota2/dota2_beta_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/dota2/dota2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/dota2/dota2_item.rb +33 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/game_achievement.rb +109 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/game_class.rb +22 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/game_inventory.rb +171 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/game_item.rb +156 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/game_item_schema.rb +131 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/game_leaderboard.rb +205 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/game_leaderboard_entry.rb +43 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/game_stats.rb +175 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/game_weapon.rb +41 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/abstract_l4d_stats.rb +185 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/abstract_l4d_weapon.rb +56 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d2_map.rb +90 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d2_stats.rb +174 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d2_weapon.rb +38 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d_explosive.rb +34 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d_map.rb +65 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d_stats.rb +73 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d_weapon.rb +26 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/portal2/portal2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/portal2/portal2_item.rb +55 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/portal2/portal2_stats.rb +33 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/steam_game.rb +193 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/steam_group.rb +129 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/steam_id.rb +498 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_beta_inventory.rb +28 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_class.rb +92 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_class_factory.rb +40 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_engineer.rb +43 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_golden_wrench.rb +70 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_item.rb +55 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_medic.rb +35 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_sniper.rb +28 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_spy.rb +41 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_stats.rb +77 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/web_api.rb +130 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/xml_data.rb +27 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/a2m_get_servers_batch2_packet.rb +59 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/a2s_info_packet.rb +24 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/a2s_player_packet.rb +31 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/a2s_rules_packet.rb +32 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/a2s_serverquery_getchallenge_packet.rb +25 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/c2m_checkmd5_packet.rb +31 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/m2a_server_batch_packet.rb +52 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/m2c_isvalidmd5_packet.rb +34 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/m2s_requestrestart_packet.rb +34 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_auth_request.rb +28 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_auth_response.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_exec_request.rb +28 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_exec_response.rb +37 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_goldsrc_request.rb +35 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_goldsrc_response.rb +34 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_packet.rb +57 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_packet_factory.rb +43 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_terminator.rb +29 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/request_with_challenge.rb +19 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_info2_packet.rb +74 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_info_base_packet.rb +25 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_info_detailed_packet.rb +59 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_logstring_packet.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_player_packet.rb +44 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_rules_packet.rb +48 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/s2c_challenge_packet.rb +35 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/s2m_heartbeat2_packet.rb +72 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/steam_packet.rb +52 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/steam_packet_factory.rb +108 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/servers/game_server.rb +392 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/servers/goldsrc_server.rb +74 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/servers/master_server.rb +188 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/servers/server.rb +115 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/servers/source_server.rb +117 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/sockets/goldsrc_socket.rb +142 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/sockets/master_server_socket.rb +34 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/sockets/rcon_socket.rb +103 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/sockets/source_socket.rb +78 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/sockets/steam_socket.rb +91 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/steam_player.rb +143 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/steam-condenser.gemspec +26 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/core_ext/test_stringio.rb +59 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/fixtures/invalid.xml +2 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/fixtures/sonofthor.xml +882 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/fixtures/status_goldsrc +3 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/fixtures/status_source +3 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/fixtures/valve-members.xml +261 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/helper.rb +48 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/community/test_cacheable.rb +100 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/community/test_steam_group.rb +83 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/community/test_steam_id.rb +144 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/community/test_web_api.rb +98 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/packets/test_steam_packet.rb +37 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/servers/test_game_server.rb +296 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/servers/test_goldsrc_server.rb +59 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/servers/test_master_server.rb +131 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/servers/test_server.rb +72 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/servers/test_source_server.rb +134 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/sockets/test_goldsrc_socket.rb +127 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/sockets/test_master_server_socket.rb +42 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/sockets/test_rcon_socket.rb +118 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/sockets/test_source_socket.rb +77 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/sockets/test_steam_socket.rb +97 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6.gem +0 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/CHANGELOG.md +228 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/CONTRIBUTING.md +59 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/Gemfile +7 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/Gemfile.lock +53 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/LICENSE +25 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/README.md +75 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/Rakefile +46 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/core_ext/stringio.rb +91 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/errors/packet_format_error.rb +13 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/errors/rcon_ban_error.rb +22 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/errors/rcon_no_auth_error.rb +21 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/errors/steam_condenser_error.rb +26 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/errors/timeout_error.rb +28 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/errors/web_api_error.rb +57 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam-condenser.rb +18 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam-condenser/community.rb +24 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam-condenser/servers.rb +24 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam-condenser/version.rb +11 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/alien_swarm/alien_swarm_mission.rb +120 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/alien_swarm/alien_swarm_stats.rb +188 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/alien_swarm/alien_swarm_weapon.rb +49 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/app_news.rb +133 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/cacheable.rb +199 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/css/css_map.rb +61 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/css/css_stats.rb +140 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/css/css_weapon.rb +69 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/defense_grid/defense_grid_stats.rb +238 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/dods/dods_class.rb +90 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/dods/dods_stats.rb +62 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/dods/dods_weapon.rb +67 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/dota2/dota2_beta_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/dota2/dota2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/dota2/dota2_item.rb +33 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/game_achievement.rb +109 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/game_class.rb +22 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/game_inventory.rb +171 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/game_item.rb +155 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/game_item_schema.rb +131 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/game_leaderboard.rb +212 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/game_leaderboard_entry.rb +43 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/game_stats.rb +175 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/game_weapon.rb +41 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/abstract_l4d_stats.rb +188 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/abstract_l4d_weapon.rb +56 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/l4d2_map.rb +90 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/l4d2_stats.rb +179 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/l4d2_weapon.rb +38 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/l4d_explosive.rb +34 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/l4d_map.rb +65 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/l4d_stats.rb +73 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/l4d_weapon.rb +26 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/portal2/portal2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/portal2/portal2_item.rb +55 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/portal2/portal2_stats.rb +33 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/steam_game.rb +193 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/steam_group.rb +129 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/steam_id.rb +495 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_beta_inventory.rb +28 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_class.rb +92 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_class_factory.rb +40 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_engineer.rb +43 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_golden_wrench.rb +70 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_item.rb +55 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_medic.rb +35 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_sniper.rb +28 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_spy.rb +41 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_stats.rb +77 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/web_api.rb +135 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/xml_data.rb +27 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/a2m_get_servers_batch2_packet.rb +59 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/a2s_info_packet.rb +24 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/a2s_player_packet.rb +31 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/a2s_rules_packet.rb +32 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/a2s_serverquery_getchallenge_packet.rb +25 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/c2m_checkmd5_packet.rb +31 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/m2a_server_batch_packet.rb +52 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/m2c_isvalidmd5_packet.rb +34 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/m2s_requestrestart_packet.rb +34 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_auth_request.rb +28 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_auth_response.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_exec_request.rb +28 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_exec_response.rb +37 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_goldsrc_request.rb +35 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_goldsrc_response.rb +34 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_packet.rb +57 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_packet_factory.rb +43 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_terminator.rb +29 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/request_with_challenge.rb +19 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/s2a_info2_packet.rb +76 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/s2a_info_base_packet.rb +25 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/s2a_info_detailed_packet.rb +64 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/s2a_logstring_packet.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/s2a_player_packet.rb +44 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/s2a_rules_packet.rb +48 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/s2c_challenge_packet.rb +35 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/s2m_heartbeat2_packet.rb +72 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/steam_packet.rb +52 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/steam_packet_factory.rb +113 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/servers/game_server.rb +393 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/servers/goldsrc_server.rb +74 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/servers/master_server.rb +188 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/servers/server.rb +115 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/servers/source_server.rb +117 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/sockets/goldsrc_socket.rb +142 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/sockets/master_server_socket.rb +34 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/sockets/rcon_socket.rb +103 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/sockets/source_socket.rb +73 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/sockets/steam_socket.rb +91 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/steam_player.rb +143 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5.gem +0 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/Gemfile +7 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/Gemfile.lock +53 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/LICENSE +25 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/README.md +70 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/Rakefile +46 -0
- data/pkg/steam-condenser-1.3.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam-condenser.rb +18 -0
- data/pkg/steam-condenser-1.3.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/steam-condenser.gemspec +26 -0
- data/pkg/steam-condenser-1.3.7/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.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/fixtures/invalid.xml +2 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/fixtures/sonofthor.xml +882 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/fixtures/status_goldsrc +3 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/fixtures/status_source +3 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/fixtures/valve-members.xml +261 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/helper.rb +48 -0
- data/pkg/steam-condenser-1.3.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/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.7/pkg/steam-condenser-1.3.6/steam-condenser.gemspec +25 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/core_ext/test_stringio.rb +59 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/fixtures/invalid.xml +2 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/fixtures/sonofthor.xml +882 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/fixtures/status_goldsrc +3 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/fixtures/status_source +3 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/fixtures/valve-members.xml +261 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/helper.rb +48 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/community/test_cacheable.rb +103 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/community/test_steam_group.rb +83 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/community/test_steam_id.rb +144 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/community/test_web_api.rb +111 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/packets/test_steam_packet.rb +37 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/servers/test_game_server.rb +296 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/servers/test_goldsrc_server.rb +59 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/servers/test_master_server.rb +131 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/servers/test_server.rb +72 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/servers/test_source_server.rb +134 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/sockets/test_goldsrc_socket.rb +127 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/sockets/test_master_server_socket.rb +42 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/sockets/test_rcon_socket.rb +118 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/sockets/test_source_socket.rb +77 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/sockets/test_steam_socket.rb +97 -0
- data/pkg/steam-condenser-1.3.7/steam-condenser.gemspec +25 -0
- data/pkg/steam-condenser-1.3.7/test/core_ext/test_stringio.rb +59 -0
- data/pkg/steam-condenser-1.3.7/test/fixtures/invalid.xml +2 -0
- data/pkg/steam-condenser-1.3.7/test/fixtures/sonofthor.xml +882 -0
- data/pkg/steam-condenser-1.3.7/test/fixtures/status_goldsrc +3 -0
- data/pkg/steam-condenser-1.3.7/test/fixtures/status_source +3 -0
- data/pkg/steam-condenser-1.3.7/test/fixtures/valve-members.xml +261 -0
- data/pkg/steam-condenser-1.3.7/test/helper.rb +48 -0
- data/pkg/steam-condenser-1.3.7/test/steam/community/test_cacheable.rb +103 -0
- data/pkg/steam-condenser-1.3.7/test/steam/community/test_steam_group.rb +83 -0
- data/pkg/steam-condenser-1.3.7/test/steam/community/test_steam_id.rb +144 -0
- data/pkg/steam-condenser-1.3.7/test/steam/community/test_web_api.rb +124 -0
- data/pkg/steam-condenser-1.3.7/test/steam/packets/test_steam_packet.rb +37 -0
- data/pkg/steam-condenser-1.3.7/test/steam/servers/test_game_server.rb +296 -0
- data/pkg/steam-condenser-1.3.7/test/steam/servers/test_goldsrc_server.rb +59 -0
- data/pkg/steam-condenser-1.3.7/test/steam/servers/test_master_server.rb +131 -0
- data/pkg/steam-condenser-1.3.7/test/steam/servers/test_server.rb +72 -0
- data/pkg/steam-condenser-1.3.7/test/steam/servers/test_source_server.rb +145 -0
- data/pkg/steam-condenser-1.3.7/test/steam/sockets/test_goldsrc_socket.rb +127 -0
- data/pkg/steam-condenser-1.3.7/test/steam/sockets/test_master_server_socket.rb +42 -0
- data/pkg/steam-condenser-1.3.7/test/steam/sockets/test_rcon_socket.rb +118 -0
- data/pkg/steam-condenser-1.3.7/test/steam/sockets/test_source_socket.rb +77 -0
- data/pkg/steam-condenser-1.3.7/test/steam/sockets/test_steam_socket.rb +97 -0
- data/test/fixtures/valve-members.xml +260 -230
- data/test/steam/community/test_steam_group.rb +19 -8
- metadata +840 -65
@@ -0,0 +1,67 @@
|
|
1
|
+
# This code is free software; you can redistribute it and/or modify it under
|
2
|
+
# the terms of the new BSD License.
|
3
|
+
#
|
4
|
+
# Copyright (c) 2009-2011, Sebastian Staudt
|
5
|
+
|
6
|
+
require 'steam/community/game_weapon'
|
7
|
+
|
8
|
+
# Represents the stats for a Day of Defeat: Source weapon for a specific user
|
9
|
+
#
|
10
|
+
# @author Sebastian Staudt
|
11
|
+
class DoDSWeapon
|
12
|
+
|
13
|
+
include GameWeapon
|
14
|
+
|
15
|
+
# Returns the number of headshots achieved with this weapon
|
16
|
+
#
|
17
|
+
# @return [Fixnum] The number of headshots achieved
|
18
|
+
attr_reader :headshots
|
19
|
+
|
20
|
+
# Returns the name of this weapon
|
21
|
+
#
|
22
|
+
# @return [String] The name of this weapon
|
23
|
+
attr_reader :name
|
24
|
+
|
25
|
+
# Returns the number of hits achieved with this weapon
|
26
|
+
#
|
27
|
+
# @return [Fixnum] The number of hits achieved
|
28
|
+
attr_reader :hits
|
29
|
+
|
30
|
+
# Creates a new instance of a Day of Defeat: Source weapon based on the
|
31
|
+
# given XML data
|
32
|
+
#
|
33
|
+
# @param [Hash<String, Object>] weapon_data The XML data of the class
|
34
|
+
def initialize(weapon_data)
|
35
|
+
super weapon_data
|
36
|
+
|
37
|
+
@headshots = weapon_data['headshots'].to_i
|
38
|
+
@id = weapon_data['key']
|
39
|
+
@name = weapon_data['name']
|
40
|
+
@shots = weapon_data['shotsfired'].to_i
|
41
|
+
@hits = weapon_data['shotshit'].to_i
|
42
|
+
end
|
43
|
+
|
44
|
+
# Returns the average number of hits needed for a kill with this weapon
|
45
|
+
#
|
46
|
+
# @return [Float] The average number of hits needed for a kill
|
47
|
+
def avg_hits_per_kill
|
48
|
+
@hits.to_f / @kill
|
49
|
+
end
|
50
|
+
|
51
|
+
# Returns the percentage of headshots relative to the shots hit with this
|
52
|
+
# weapon
|
53
|
+
#
|
54
|
+
# @return [Float] The percentage of headshots
|
55
|
+
def headshot_percentage
|
56
|
+
@headshots.to_f / @hits
|
57
|
+
end
|
58
|
+
|
59
|
+
# Returns the percentage of hits relative to the shots fired with this
|
60
|
+
# weapon
|
61
|
+
#
|
62
|
+
# @return [Float] The percentage of hits
|
63
|
+
def hit_percentage
|
64
|
+
@hits.to_f / @shots
|
65
|
+
end
|
66
|
+
|
67
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# This code is free software; you can redistribute it and/or modify it under
|
2
|
+
# the terms of the new BSD License.
|
3
|
+
#
|
4
|
+
# Copyright (c) 2012, Sebastian Staudt
|
5
|
+
|
6
|
+
require 'steam/community/dota2/dota2_item'
|
7
|
+
require 'steam/community/game_inventory'
|
8
|
+
|
9
|
+
# Represents the inventory of a player of the DotA 2 beta
|
10
|
+
#
|
11
|
+
# @author Sebastian Staudt
|
12
|
+
class Dota2BetaInventory < GameInventory
|
13
|
+
|
14
|
+
# The Steam application ID of the DotA 2 beta
|
15
|
+
APP_ID = 205790
|
16
|
+
|
17
|
+
# Creates a new inventory object for the given SteamID64 in the DotA 2 beta
|
18
|
+
# (App ID 205790)
|
19
|
+
#
|
20
|
+
# @param [Fixnum] steam_id64 The 64bit SteamID of the player to get the
|
21
|
+
# inventory for
|
22
|
+
# @macro cacheable
|
23
|
+
def initialize(steam_id64)
|
24
|
+
super APP_ID, steam_id64
|
25
|
+
end
|
26
|
+
|
27
|
+
# The class representing DotA 2 items
|
28
|
+
@@item_class = Dota2Item
|
29
|
+
|
30
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# This code is free software; you can redistribute it and/or modify it under
|
2
|
+
# the terms of the new BSD License.
|
3
|
+
#
|
4
|
+
# Copyright (c) 2012, Sebastian Staudt
|
5
|
+
|
6
|
+
require 'steam/community/dota2/dota2_item'
|
7
|
+
require 'steam/community/game_inventory'
|
8
|
+
|
9
|
+
# Represents the inventory of a DotA 2 player
|
10
|
+
#
|
11
|
+
# @author Sebastian Staudt
|
12
|
+
class Dota2Inventory < GameInventory
|
13
|
+
|
14
|
+
# The Steam application ID of DotA 2
|
15
|
+
APP_ID = 570
|
16
|
+
|
17
|
+
# Creates a new inventory object for the given SteamID64 in DotA 2
|
18
|
+
# (App ID 570)
|
19
|
+
#
|
20
|
+
# @param [Fixnum] steam_id64 The 64bit SteamID of the player to get the
|
21
|
+
# inventory for
|
22
|
+
# @macro cacheable
|
23
|
+
def initialize(steam_id64)
|
24
|
+
super APP_ID, steam_id64
|
25
|
+
end
|
26
|
+
|
27
|
+
# The class representing DotA 2 items
|
28
|
+
@@item_class = Dota2Item
|
29
|
+
|
30
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# This code is free software; you can redistribute it and/or modify it under
|
2
|
+
# the terms of the new BSD License.
|
3
|
+
#
|
4
|
+
# Copyright (c) 2012, Sebastian Staudt
|
5
|
+
|
6
|
+
require 'steam/community/game_item'
|
7
|
+
|
8
|
+
# Represents a DotA 2 item
|
9
|
+
#
|
10
|
+
# @author Sebastian Staudt
|
11
|
+
class Dota2Item
|
12
|
+
|
13
|
+
include GameItem
|
14
|
+
|
15
|
+
# Creates a new instance of a DotA 2 item with the given data
|
16
|
+
#
|
17
|
+
# @param [Dota2Inventory] inventory The inventory this item is contained in
|
18
|
+
# @param [Hash<Symbol, Object>] item_data The data specifying this item
|
19
|
+
# @raise [WebApiError] on Web API errors
|
20
|
+
def initialize(inventory, item_data)
|
21
|
+
super
|
22
|
+
|
23
|
+
@equipped = !item_data[:equipped].nil?
|
24
|
+
end
|
25
|
+
|
26
|
+
# Returns whether this item is equipped by this player at all
|
27
|
+
#
|
28
|
+
# @return [Boolean] Whether this item is equipped by this player at all
|
29
|
+
def equipped?
|
30
|
+
@equipped
|
31
|
+
end
|
32
|
+
|
33
|
+
end
|
@@ -0,0 +1,109 @@
|
|
1
|
+
# This code is free software; you can redistribute it and/or modify it under
|
2
|
+
# the terms of the new BSD License.
|
3
|
+
#
|
4
|
+
# Copyright (c) 2008-2012, Sebastian Staudt
|
5
|
+
|
6
|
+
require 'multi_json'
|
7
|
+
|
8
|
+
require 'steam/community/web_api'
|
9
|
+
|
10
|
+
# The GameAchievement class represents a specific achievement for a single game
|
11
|
+
# and for a single user
|
12
|
+
#
|
13
|
+
# It also provides the ability to load the global unlock percentages of all
|
14
|
+
# achievements of a specific game.
|
15
|
+
#
|
16
|
+
# @author Sebastian Staudt
|
17
|
+
class GameAchievement
|
18
|
+
|
19
|
+
# Returns the symbolic API name of this achievement
|
20
|
+
#
|
21
|
+
# @return [String] The API name of this achievement
|
22
|
+
attr_reader :api_name
|
23
|
+
|
24
|
+
# Returns the description of this achievement
|
25
|
+
#
|
26
|
+
# @return [String] The description of this achievement
|
27
|
+
attr_reader :description
|
28
|
+
|
29
|
+
# Return the game this achievement belongs to
|
30
|
+
#
|
31
|
+
# @return [Steam] The game this achievement belongs to
|
32
|
+
attr_reader :game
|
33
|
+
|
34
|
+
# Returns the url for the closed icon of this achievement
|
35
|
+
#
|
36
|
+
# @return [String] The url of the closed achievement icon
|
37
|
+
attr_reader :icon_closed_url
|
38
|
+
|
39
|
+
# Returns the url for the open icon of this achievement
|
40
|
+
#
|
41
|
+
# @return [String] The url of the open achievement icon
|
42
|
+
attr_reader :icon_open_url
|
43
|
+
|
44
|
+
# Returns the name of this achievement
|
45
|
+
#
|
46
|
+
# @return [String] The name of this achievement
|
47
|
+
attr_reader :name
|
48
|
+
|
49
|
+
# Returns the time this achievement has been unlocked by its owner
|
50
|
+
#
|
51
|
+
# @return [Time] The time this achievement has been unlocked
|
52
|
+
attr_reader :timestamp
|
53
|
+
|
54
|
+
# Returns the SteamID of the user who owns this achievement
|
55
|
+
#
|
56
|
+
# @return [Fixnum] The SteamID of this achievement's owner
|
57
|
+
attr_reader :user
|
58
|
+
|
59
|
+
# Loads the global unlock percentages of all achievements for the game with
|
60
|
+
# the given Steam Application ID
|
61
|
+
#
|
62
|
+
# @param [Fixnum] app_id The unique Steam Application ID of the game (e.g.
|
63
|
+
# `440` for Team Fortress 2). See
|
64
|
+
# http://developer.valvesoftware.com/wiki/Steam_Application_IDs for
|
65
|
+
# all application IDs
|
66
|
+
# @raise [WebApiError] if the request to Steam's Web API fails
|
67
|
+
# @return [Hash<Symbol, Float>] The symbolic achievement names with their
|
68
|
+
# corresponding unlock percentages
|
69
|
+
def self.global_percentages(app_id)
|
70
|
+
percentages = {}
|
71
|
+
|
72
|
+
data = WebApi.json('ISteamUserStats', 'GetGlobalAchievementPercentagesForApp', 2, { :gameid => app_id })
|
73
|
+
MultiJson.load(data, { :symbolize_keys => true })[:achievementpercentages][:achievements].each do |percentage|
|
74
|
+
percentages[percentage[:name].to_sym] = percentage[:percent]
|
75
|
+
end
|
76
|
+
|
77
|
+
percentages
|
78
|
+
end
|
79
|
+
|
80
|
+
# Creates the achievement with the given name for the given user and game
|
81
|
+
# and achievement data
|
82
|
+
#
|
83
|
+
# @param [SteamId] user The SteamID of the player this achievement belongs to
|
84
|
+
# @param [SteamGame] game The game this achievement belongs to
|
85
|
+
# @param [Hash<String, Object>] achievement_data The achievement data
|
86
|
+
# extracted from XML
|
87
|
+
def initialize(user, game, achievement_data)
|
88
|
+
@api_name = achievement_data['apiname']
|
89
|
+
@description = achievement_data['description']
|
90
|
+
@game = game
|
91
|
+
@icon_closed_url = achievement_data['iconClosed']
|
92
|
+
@icon_open_url = achievement_data['iconOpen']
|
93
|
+
@name = achievement_data['name']
|
94
|
+
@unlocked = (achievement_data['closed'].to_i == 1)
|
95
|
+
@user = user
|
96
|
+
|
97
|
+
if @unlocked && !achievement_data['unlockTimestamp'].nil?
|
98
|
+
@timestamp = Time.at(achievement_data['unlockTimestamp'].to_i)
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
# Returns whether this achievement has been unlocked by its owner
|
103
|
+
#
|
104
|
+
# @return [Boolean] `true` if the achievement has been unlocked by the user
|
105
|
+
def unlocked?
|
106
|
+
@unlocked
|
107
|
+
end
|
108
|
+
|
109
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# This code is free software; you can redistribute it and/or modify it under
|
2
|
+
# the terms of the new BSD License.
|
3
|
+
#
|
4
|
+
# Copyright (c) 2009-2011, Sebastian Staudt
|
5
|
+
|
6
|
+
# A module implementing basic functionality for classes representing player
|
7
|
+
# classes
|
8
|
+
#
|
9
|
+
# @author Sebastian Staudt
|
10
|
+
module GameClass
|
11
|
+
|
12
|
+
# Returns the name of this class
|
13
|
+
#
|
14
|
+
# @return [String] The name of this class
|
15
|
+
attr_reader :name
|
16
|
+
|
17
|
+
# Returns the time in minutes the player has played with this class
|
18
|
+
#
|
19
|
+
# @return [Fixnum] The time this class has been played
|
20
|
+
attr_reader :play_time
|
21
|
+
|
22
|
+
end
|
@@ -0,0 +1,171 @@
|
|
1
|
+
# This code is free software; you can redistribute it and/or modify it under
|
2
|
+
# the terms of the new BSD License.
|
3
|
+
#
|
4
|
+
# Copyright (c) 2011-2013, Sebastian Staudt
|
5
|
+
|
6
|
+
require 'steam/community/cacheable'
|
7
|
+
require 'steam/community/game_item'
|
8
|
+
require 'steam/community/game_item_schema'
|
9
|
+
require 'steam/community/steam_id'
|
10
|
+
require 'steam/community/web_api'
|
11
|
+
|
12
|
+
class GameInventory
|
13
|
+
end
|
14
|
+
|
15
|
+
require 'steam/community/dota2/dota2_beta_inventory'
|
16
|
+
require 'steam/community/dota2/dota2_inventory'
|
17
|
+
require 'steam/community/portal2/portal2_inventory'
|
18
|
+
require 'steam/community/tf2/tf2_beta_inventory'
|
19
|
+
require 'steam/community/tf2/tf2_inventory'
|
20
|
+
|
21
|
+
# Provides basic functionality to represent an inventory of player in a game
|
22
|
+
#
|
23
|
+
# @author Sebastian Staudt
|
24
|
+
class GameInventory
|
25
|
+
|
26
|
+
include Cacheable
|
27
|
+
cacheable_with_ids [:app_id, :steam_id64]
|
28
|
+
|
29
|
+
# Returns the application ID of the game this inventory class belongs to
|
30
|
+
#
|
31
|
+
# @return [Fixnum] The application ID of the game
|
32
|
+
attr_reader :app_id
|
33
|
+
|
34
|
+
# Returns an array of all items in this players inventory.
|
35
|
+
#
|
36
|
+
# @return [Array<GameItem>] All items in the backpack
|
37
|
+
attr_reader :items
|
38
|
+
|
39
|
+
# Returns an array of all items that this player just found or traded
|
40
|
+
#
|
41
|
+
# @return [Array<GameItem>] All preliminary items of the inventory
|
42
|
+
attr_reader :preliminary_items
|
43
|
+
|
44
|
+
# Returns the Steam ID of the player owning this inventory
|
45
|
+
#
|
46
|
+
# @return [SteamId] The Steam ID of the owner of this inventory
|
47
|
+
attr_reader :user
|
48
|
+
|
49
|
+
@@item_class = GameItem
|
50
|
+
|
51
|
+
@@schema_language = 'en'
|
52
|
+
|
53
|
+
# This is a wrapper around all subclasses of `GameInventory` so that an
|
54
|
+
# instance of correct subclass is returned for a given application ID. If
|
55
|
+
# there's no specific subclass for an application ID exists, a generic
|
56
|
+
# instance of `GameInventory` is created.
|
57
|
+
#
|
58
|
+
# @param [Fixnum] app_id The application ID of the game
|
59
|
+
# @param [Fixnum] steam_id The 64bit Steam ID or vanity URL of the user
|
60
|
+
# @return [GameInventory] The inventory for the given user and game
|
61
|
+
# @raise [SteamCondenserException] if creating the inventory fails
|
62
|
+
# @macro cacheable
|
63
|
+
def self.new(app_id, steam_id = nil, *args)
|
64
|
+
args = args.unshift steam_id unless steam_id.nil?
|
65
|
+
if self == GameInventory
|
66
|
+
raise ArgumentError, 'wrong number of arguments (1 for 2)' if args.empty?
|
67
|
+
else
|
68
|
+
args = args.unshift app_id
|
69
|
+
app_id = self::APP_ID
|
70
|
+
end
|
71
|
+
|
72
|
+
cacheable_new = Cacheable::ClassMethods.instance_method :new
|
73
|
+
|
74
|
+
case app_id
|
75
|
+
when Dota2BetaInventory::APP_ID
|
76
|
+
cacheable_new = cacheable_new.bind Dota2BetaInventory
|
77
|
+
when Dota2Inventory::APP_ID
|
78
|
+
cacheable_new = cacheable_new.bind Dota2Inventory
|
79
|
+
when Portal2Inventory::APP_ID
|
80
|
+
cacheable_new = cacheable_new.bind Portal2Inventory
|
81
|
+
when TF2BetaInventory::APP_ID
|
82
|
+
cacheable_new = cacheable_new.bind TF2BetaInventory
|
83
|
+
when TF2Inventory::APP_ID
|
84
|
+
cacheable_new = cacheable_new.bind TF2Inventory
|
85
|
+
else
|
86
|
+
cacheable_new = cacheable_new.bind GameInventory
|
87
|
+
return cacheable_new.call app_id, *args
|
88
|
+
end
|
89
|
+
|
90
|
+
cacheable_new.call *args
|
91
|
+
end
|
92
|
+
|
93
|
+
# Sets the language the schema should be fetched in (default is: `'en'`)
|
94
|
+
#
|
95
|
+
# @param [String] language The ISO 639-1 code of the schema language
|
96
|
+
def self.schema_language=(language)
|
97
|
+
@@schema_language = language
|
98
|
+
end
|
99
|
+
|
100
|
+
# Creates a new inventory object for the given AppID and SteamID64. This
|
101
|
+
# calls update to fetch the data and create the item instances contained in
|
102
|
+
# this players backpack
|
103
|
+
#
|
104
|
+
# @param [Fixnum] app_id The application ID of the game
|
105
|
+
# @param [Fixnum] steam_id64 The 64bit SteamID of the player to get the
|
106
|
+
# inventory for
|
107
|
+
# @macro cacheable
|
108
|
+
def initialize(app_id, steam_id64)
|
109
|
+
unless steam_id64.is_a? Fixnum
|
110
|
+
steam_id64 = SteamId.resolve_vanity_url steam_id64.to_s
|
111
|
+
raise SteamCondenserError.new 'User not found' if steam_id64.nil?
|
112
|
+
end
|
113
|
+
|
114
|
+
@app_id = app_id
|
115
|
+
@items = []
|
116
|
+
@steam_id64 = steam_id64
|
117
|
+
@user = SteamId.new steam_id64, false
|
118
|
+
end
|
119
|
+
|
120
|
+
# Returns the item at the given position in the inventory. The positions
|
121
|
+
# range from 1 to 100 instead of the usual array indices (0 to 99).
|
122
|
+
#
|
123
|
+
# @return [GameItem] The item at the given position in the inventory
|
124
|
+
def [](index)
|
125
|
+
@items[index - 1]
|
126
|
+
end
|
127
|
+
|
128
|
+
# Updates the contents of the inventory using the Steam Web API
|
129
|
+
def fetch
|
130
|
+
params = { :SteamID => @user.steam_id64 }
|
131
|
+
result = WebApi.json! "IEconItems_#@app_id", 'GetPlayerItems', 1, params
|
132
|
+
item_class = self.class.send :class_variable_get, :@@item_class
|
133
|
+
|
134
|
+
@items = []
|
135
|
+
@preliminary_items = []
|
136
|
+
result[:items].each do |item_data|
|
137
|
+
unless item_data.nil?
|
138
|
+
item = item_class.new(self, item_data)
|
139
|
+
if item.preliminary?
|
140
|
+
@preliminary_items << item
|
141
|
+
else
|
142
|
+
@items[item.backpack_position - 1] = item
|
143
|
+
end
|
144
|
+
end
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
148
|
+
# Returns a short, human-readable string representation of this inventory
|
149
|
+
#
|
150
|
+
# @return [String] A string representation of this inventory
|
151
|
+
def inspect
|
152
|
+
"#<#{self.class}:#@app_id #@steam_id64 (#{size} items) - " +
|
153
|
+
"#{fetch_time || 'not fetched'}>"
|
154
|
+
end
|
155
|
+
|
156
|
+
# Returns the item schema for this inventory
|
157
|
+
#
|
158
|
+
# @return [GameItemSchema] The item schema for the game this inventory
|
159
|
+
# belongs to
|
160
|
+
def item_schema
|
161
|
+
@item_schema ||= GameItemSchema.new app_id, @@schema_language
|
162
|
+
end
|
163
|
+
|
164
|
+
# Returns the number of items in the user's inventory
|
165
|
+
#
|
166
|
+
# @return [Fixnum] The number of items in the inventory
|
167
|
+
def size
|
168
|
+
@items.size
|
169
|
+
end
|
170
|
+
|
171
|
+
end
|