steam-condenser 1.3.8.1 → 1.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +48 -0
- data/doc/A2M_GET_SERVERS_BATCH2_Packet.html +1 -1
- data/doc/A2S_INFO_Packet.html +1 -1
- data/doc/A2S_PLAYER_Packet.html +1 -1
- data/doc/A2S_RULES_Packet.html +1 -1
- data/doc/A2S_SERVERQUERY_GETCHALLENGE_Packet.html +1 -1
- data/doc/AbstractL4DStats.html +1 -1
- data/doc/AbstractL4DWeapon.html +1 -1
- data/doc/AlienSwarmMission.html +1 -1
- data/doc/AlienSwarmStats.html +1 -1
- data/doc/AlienSwarmWeapon.html +1 -1
- data/doc/AppNews.html +1 -1
- data/doc/C2M_CHECKMD5_Packet.html +1 -1
- data/doc/CSSMap.html +1 -1
- data/doc/CSSStats.html +1 -1
- data/doc/CSSWeapon.html +1 -1
- data/doc/Cacheable.html +1 -1
- data/doc/Cacheable/ClassMethods.html +1 -1
- data/doc/DefenseGridStats.html +1 -1
- data/doc/DoDSClass.html +1 -1
- data/doc/DoDSStats.html +1 -1
- data/doc/DoDSWeapon.html +1 -1
- data/doc/Dota2BetaInventory.html +1 -1
- data/doc/Dota2Inventory.html +1 -1
- data/doc/Dota2Item.html +1 -1
- data/doc/GameAchievement.html +1 -1
- data/doc/GameClass.html +1 -1
- data/doc/GameInventory.html +1 -1
- data/doc/GameItem.html +1 -1
- data/doc/GameItemSchema.html +1 -1
- data/doc/GameLeaderboard.html +1 -1
- data/doc/GameLeaderboardEntry.html +1 -1
- data/doc/GameServer.html +1 -1
- data/doc/GameStats.html +1 -1
- data/doc/GameWeapon.html +1 -1
- data/doc/GoldSrcServer.html +1 -1
- data/doc/GoldSrcSocket.html +1 -1
- data/doc/L4D2Map.html +1 -1
- data/doc/L4D2Stats.html +1 -1
- data/doc/L4D2Weapon.html +1 -1
- data/doc/L4DExplosive.html +1 -1
- data/doc/L4DMap.html +1 -1
- data/doc/L4DStats.html +1 -1
- data/doc/L4DWeapon.html +1 -1
- data/doc/M2A_SERVER_BATCH_Packet.html +1 -1
- data/doc/M2C_ISVALIDMD5_Packet.html +1 -1
- data/doc/M2S_REQUESTRESTART_Packet.html +1 -1
- data/doc/MasterServer.html +1 -1
- data/doc/MasterServerSocket.html +1 -1
- data/doc/PacketFormatError.html +1 -1
- data/doc/Portal2Inventory.html +1 -1
- data/doc/Portal2Item.html +1 -1
- data/doc/Portal2Stats.html +1 -1
- data/doc/RCONAuthRequest.html +1 -1
- data/doc/RCONAuthResponse.html +1 -1
- data/doc/RCONBanError.html +1 -1
- data/doc/RCONExecRequest.html +1 -1
- data/doc/RCONExecResponse.html +1 -1
- data/doc/RCONGoldSrcRequest.html +1 -1
- data/doc/RCONGoldSrcResponse.html +1 -1
- data/doc/RCONNoAuthError.html +1 -1
- data/doc/RCONPacket.html +1 -1
- data/doc/RCONPacketFactory.html +1 -1
- data/doc/RCONSocket.html +13 -5
- data/doc/RCONTerminator.html +1 -1
- data/doc/RequestWithChallenge.html +1 -1
- data/doc/S2A_INFO2_Packet.html +1 -1
- data/doc/S2A_INFO_BasePacket.html +1 -1
- data/doc/S2A_INFO_DETAILED_Packet.html +1 -1
- data/doc/S2A_LOGSTRING_Packet.html +1 -1
- data/doc/S2A_PLAYER_Packet.html +1 -1
- data/doc/S2A_RULES_Packet.html +1 -1
- data/doc/S2C_CHALLENGE_Packet.html +1 -1
- data/doc/S2M_HEARTBEAT2_Packet.html +1 -1
- data/doc/Server.html +1 -1
- data/doc/SourceServer.html +33 -34
- data/doc/SourceSocket.html +1 -1
- data/doc/SteamCondenser.html +2 -2
- data/doc/SteamCondenser/Community.html +1 -1
- data/doc/SteamCondenser/Servers.html +1 -1
- data/doc/SteamCondenser/TimeoutError.html +1 -1
- data/doc/SteamCondenserError.html +1 -1
- data/doc/SteamGame.html +1 -1
- data/doc/SteamGroup.html +1 -1
- data/doc/SteamId.html +1 -1
- data/doc/SteamPacket.html +1 -1
- data/doc/SteamPacketFactory.html +1 -1
- data/doc/SteamPlayer.html +1 -1
- data/doc/SteamSocket.html +1 -1
- data/doc/StringIO.html +1 -1
- data/doc/TF2BetaInventory.html +1 -1
- data/doc/TF2Class.html +1 -1
- data/doc/TF2ClassFactory.html +1 -1
- data/doc/TF2Engineer.html +1 -1
- data/doc/TF2GoldenWrench.html +1 -1
- data/doc/TF2Inventory.html +1 -1
- data/doc/TF2Item.html +1 -1
- data/doc/TF2Medic.html +1 -1
- data/doc/TF2Sniper.html +1 -1
- data/doc/TF2Spy.html +1 -1
- data/doc/TF2Stats.html +1 -1
- data/doc/WebApi.html +1 -1
- data/doc/WebApiError.html +1 -1
- data/doc/XMLData.html +1 -1
- data/doc/_index.html +1 -1
- data/doc/file.CHANGELOG.html +20 -1
- data/doc/file.CONTRIBUTING.html +1 -1
- data/doc/file.LICENSE.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/top-level-namespace.html +1 -1
- data/lib/steam-condenser/version.rb +2 -2
- data/lib/steam/servers/source_server.rb +13 -20
- data/lib/steam/sockets/rcon_socket.rb +7 -3
- data/pkg/steam-condenser-1.3.8.1.gem +0 -0
- data/pkg/steam-condenser-1.3.8.1/CHANGELOG.md +233 -0
- data/pkg/steam-condenser-1.3.8.1/CONTRIBUTING.md +59 -0
- data/pkg/steam-condenser-1.3.8.1/Gemfile +11 -0
- data/pkg/steam-condenser-1.3.8.1/LICENSE +25 -0
- data/pkg/steam-condenser-1.3.8.1/README.md +75 -0
- data/pkg/steam-condenser-1.3.8.1/Rakefile +46 -0
- data/pkg/steam-condenser-1.3.8.1/doc/A2M_GET_SERVERS_BATCH2_Packet.html +446 -0
- data/pkg/steam-condenser-1.3.8.1/doc/A2S_INFO_Packet.html +264 -0
- data/pkg/steam-condenser-1.3.8.1/doc/A2S_PLAYER_Packet.html +300 -0
- data/pkg/steam-condenser-1.3.8.1/doc/A2S_RULES_Packet.html +302 -0
- data/pkg/steam-condenser-1.3.8.1/doc/A2S_SERVERQUERY_GETCHALLENGE_Packet.html +266 -0
- data/pkg/steam-condenser-1.3.8.1/doc/AbstractL4DStats.html +1033 -0
- data/pkg/steam-condenser-1.3.8.1/doc/AbstractL4DWeapon.html +752 -0
- data/pkg/steam-condenser-1.3.8.1/doc/AlienSwarmMission.html +1598 -0
- data/pkg/steam-condenser-1.3.8.1/doc/AlienSwarmStats.html +1035 -0
- data/pkg/steam-condenser-1.3.8.1/doc/AlienSwarmWeapon.html +653 -0
- data/pkg/steam-condenser-1.3.8.1/doc/AppNews.html +1489 -0
- data/pkg/steam-condenser-1.3.8.1/doc/C2M_CHECKMD5_Packet.html +347 -0
- data/pkg/steam-condenser-1.3.8.1/doc/CSSMap.html +824 -0
- data/pkg/steam-condenser-1.3.8.1/doc/CSSStats.html +888 -0
- data/pkg/steam-condenser-1.3.8.1/doc/CSSWeapon.html +910 -0
- data/pkg/steam-condenser-1.3.8.1/doc/Cacheable.html +942 -0
- data/pkg/steam-condenser-1.3.8.1/doc/Cacheable/ClassMethods.html +721 -0
- data/pkg/steam-condenser-1.3.8.1/doc/DefenseGridStats.html +2659 -0
- data/pkg/steam-condenser-1.3.8.1/doc/DoDSClass.html +1291 -0
- data/pkg/steam-condenser-1.3.8.1/doc/DoDSStats.html +537 -0
- data/pkg/steam-condenser-1.3.8.1/doc/DoDSWeapon.html +824 -0
- data/pkg/steam-condenser-1.3.8.1/doc/Dota2BetaInventory.html +363 -0
- data/pkg/steam-condenser-1.3.8.1/doc/Dota2Inventory.html +363 -0
- data/pkg/steam-condenser-1.3.8.1/doc/Dota2Item.html +396 -0
- data/pkg/steam-condenser-1.3.8.1/doc/GameAchievement.html +1292 -0
- data/pkg/steam-condenser-1.3.8.1/doc/GameClass.html +328 -0
- data/pkg/steam-condenser-1.3.8.1/doc/GameInventory.html +1512 -0
- data/pkg/steam-condenser-1.3.8.1/doc/GameItem.html +1926 -0
- data/pkg/steam-condenser-1.3.8.1/doc/GameItemSchema.html +1477 -0
- data/pkg/steam-condenser-1.3.8.1/doc/GameLeaderboard.html +1741 -0
- data/pkg/steam-condenser-1.3.8.1/doc/GameLeaderboardEntry.html +642 -0
- data/pkg/steam-condenser-1.3.8.1/doc/GameServer.html +2495 -0
- data/pkg/steam-condenser-1.3.8.1/doc/GameStats.html +1501 -0
- data/pkg/steam-condenser-1.3.8.1/doc/GameWeapon.html +603 -0
- data/pkg/steam-condenser-1.3.8.1/doc/GoldSrcServer.html +766 -0
- data/pkg/steam-condenser-1.3.8.1/doc/GoldSrcSocket.html +874 -0
- data/pkg/steam-condenser-1.3.8.1/doc/L4D2Map.html +758 -0
- data/pkg/steam-condenser-1.3.8.1/doc/L4D2Stats.html +1020 -0
- data/pkg/steam-condenser-1.3.8.1/doc/L4D2Weapon.html +496 -0
- data/pkg/steam-condenser-1.3.8.1/doc/L4DExplosive.html +383 -0
- data/pkg/steam-condenser-1.3.8.1/doc/L4DMap.html +789 -0
- data/pkg/steam-condenser-1.3.8.1/doc/L4DStats.html +579 -0
- data/pkg/steam-condenser-1.3.8.1/doc/L4DWeapon.html +302 -0
- data/pkg/steam-condenser-1.3.8.1/doc/M2A_SERVER_BATCH_Packet.html +439 -0
- data/pkg/steam-condenser-1.3.8.1/doc/M2C_ISVALIDMD5_Packet.html +390 -0
- data/pkg/steam-condenser-1.3.8.1/doc/M2S_REQUESTRESTART_Packet.html +390 -0
- data/pkg/steam-condenser-1.3.8.1/doc/MasterServer.html +1104 -0
- data/pkg/steam-condenser-1.3.8.1/doc/MasterServerSocket.html +300 -0
- data/pkg/steam-condenser-1.3.8.1/doc/PacketFormatError.html +176 -0
- data/pkg/steam-condenser-1.3.8.1/doc/Portal2Inventory.html +363 -0
- data/pkg/steam-condenser-1.3.8.1/doc/Portal2Item.html +616 -0
- data/pkg/steam-condenser-1.3.8.1/doc/Portal2Stats.html +413 -0
- data/pkg/steam-condenser-1.3.8.1/doc/RCONAuthRequest.html +325 -0
- data/pkg/steam-condenser-1.3.8.1/doc/RCONAuthResponse.html +312 -0
- data/pkg/steam-condenser-1.3.8.1/doc/RCONBanError.html +257 -0
- data/pkg/steam-condenser-1.3.8.1/doc/RCONExecRequest.html +325 -0
- data/pkg/steam-condenser-1.3.8.1/doc/RCONExecResponse.html +416 -0
- data/pkg/steam-condenser-1.3.8.1/doc/RCONGoldSrcRequest.html +369 -0
- data/pkg/steam-condenser-1.3.8.1/doc/RCONGoldSrcResponse.html +375 -0
- data/pkg/steam-condenser-1.3.8.1/doc/RCONNoAuthError.html +256 -0
- data/pkg/steam-condenser-1.3.8.1/doc/RCONPacket.html +561 -0
- data/pkg/steam-condenser-1.3.8.1/doc/RCONPacketFactory.html +308 -0
- data/pkg/steam-condenser-1.3.8.1/doc/RCONSocket.html +725 -0
- data/pkg/steam-condenser-1.3.8.1/doc/RCONTerminator.html +312 -0
- data/pkg/steam-condenser-1.3.8.1/doc/RequestWithChallenge.html +238 -0
- data/pkg/steam-condenser-1.3.8.1/doc/S2A_INFO2_Packet.html +417 -0
- data/pkg/steam-condenser-1.3.8.1/doc/S2A_INFO_BasePacket.html +271 -0
- data/pkg/steam-condenser-1.3.8.1/doc/S2A_INFO_DETAILED_Packet.html +378 -0
- data/pkg/steam-condenser-1.3.8.1/doc/S2A_LOGSTRING_Packet.html +379 -0
- data/pkg/steam-condenser-1.3.8.1/doc/S2A_PLAYER_Packet.html +424 -0
- data/pkg/steam-condenser-1.3.8.1/doc/S2A_RULES_Packet.html +418 -0
- data/pkg/steam-condenser-1.3.8.1/doc/S2C_CHALLENGE_Packet.html +378 -0
- data/pkg/steam-condenser-1.3.8.1/doc/S2M_HEARTBEAT2_Packet.html +455 -0
- data/pkg/steam-condenser-1.3.8.1/doc/Server.html +886 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SourceServer.html +920 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SourceSocket.html +359 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser.html +157 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community.html +138 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/AbstractL4DStats.html +1026 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/AbstractL4DWeapon.html +749 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/AlienSwarmMission.html +1557 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/AlienSwarmStats.html +1013 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/AlienSwarmWeapon.html +641 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/AppNews.html +1441 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/CSSMap.html +805 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/CSSStats.html +866 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/CSSWeapon.html +889 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/Cacheable.html +911 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/Cacheable/ClassMethods.html +695 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/DefenseGridStats.html +2593 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/DoDSClass.html +1263 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/DoDSStats.html +520 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/DoDSWeapon.html +803 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/Dota2BetaInventory.html +354 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/Dota2Inventory.html +354 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/Dota2Item.html +388 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/Dota2Match.html +505 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/GameAchievement.html +1100 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/GameClass.html +321 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/GameInventory.html +1469 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/GameItem.html +1900 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/GameItemSchema.html +1444 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/GameLeaderboard.html +1707 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/GameLeaderboardEntry.html +630 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/GameStats.html +1461 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/GameStatsSchema.html +771 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/GameStatsValue.html +596 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/GameStatsValue/Instance.html +262 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/GameWeapon.html +608 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/L4D2Map.html +737 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/L4D2Stats.html +989 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/L4D2Weapon.html +486 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/L4DExplosive.html +375 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/L4DMap.html +775 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/L4DStats.html +564 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/L4DWeapon.html +296 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/Portal2Inventory.html +354 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/Portal2Item.html +603 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/Portal2Stats.html +400 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/SteamGame.html +1862 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/SteamGroup.html +1018 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/SteamId.html +4430 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/TF2BetaInventory.html +345 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/TF2Class.html +1186 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/TF2ClassFactory.html +273 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/TF2Engineer.html +555 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/TF2GoldenWrench.html +760 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/TF2Inventory.html +354 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/TF2Item.html +602 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/TF2Medic.html +463 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/TF2Sniper.html +372 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/TF2Spy.html +553 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/TF2Stats.html +728 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/UserStats.html +760 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/WebApi.html +1116 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Community/XMLData.html +274 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Error.html +380 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Error/PacketFormat.html +173 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Error/RCONBan.html +253 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Error/RCONNoAuth.html +252 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Error/Timeout.html +254 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Error/WebApi.html +354 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Logging.html +616 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers.html +137 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/BaseServer.html +870 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/GameServer.html +2428 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/GoldSrcServer.html +738 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/MasterServer.html +819 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Packets.html +132 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Packets/A2M_GET_SERVERS_BATCH2_Packet.html +427 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Packets/A2S_INFO_Packet.html +260 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Packets/A2S_PLAYER_Packet.html +295 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Packets/A2S_RULES_Packet.html +296 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Packets/A2S_SERVERQUERY_GETCHALLENGE_Packet.html +261 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Packets/BasePacket.html +462 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Packets/M2A_SERVER_BATCH_Packet.html +430 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Packets/RCON.html +119 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Packets/RCON/BasePacket.html +564 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Packets/RCON/RCONAuthRequest.html +317 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Packets/RCON/RCONAuthResponse.html +305 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Packets/RCON/RCONExecRequest.html +317 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Packets/RCON/RCONExecResponse.html +406 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Packets/RCON/RCONGoldSrcRequest.html +363 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Packets/RCON/RCONGoldSrcResponse.html +368 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Packets/RCON/RCONPacketFactory.html +302 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Packets/RCON/RCONTerminator.html +304 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Packets/RequestWithChallenge.html +233 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Packets/S2A_INFO2_Packet.html +416 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Packets/S2A_INFO_BasePacket.html +266 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Packets/S2A_INFO_DETAILED_Packet.html +371 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Packets/S2A_LOGSTRING_Packet.html +373 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Packets/S2A_PLAYER_Packet.html +417 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Packets/S2A_RULES_Packet.html +411 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Packets/S2C_CHALLENGE_Packet.html +370 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Packets/SteamPacketFactory.html +532 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Sockets.html +119 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Sockets/BaseSocket.html +733 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Sockets/GoldSrcSocket.html +862 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Sockets/MasterServerSocket.html +306 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Sockets/RCONSocket.html +709 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/Sockets/SourceSocket.html +367 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/SourceServer.html +892 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/Servers/SteamPlayer.html +1764 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenser/TimeoutError.html +260 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamCondenserError.html +378 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamGame.html +2001 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamGroup.html +1587 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamId.html +4428 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamPacket.html +457 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamPacketFactory.html +574 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamPlayer.html +1808 -0
- data/pkg/steam-condenser-1.3.8.1/doc/SteamSocket.html +728 -0
- data/pkg/steam-condenser-1.3.8.1/doc/StringIO.html +986 -0
- data/pkg/steam-condenser-1.3.8.1/doc/TF2BetaInventory.html +338 -0
- data/pkg/steam-condenser-1.3.8.1/doc/TF2Class.html +1228 -0
- data/pkg/steam-condenser-1.3.8.1/doc/TF2ClassFactory.html +281 -0
- data/pkg/steam-condenser-1.3.8.1/doc/TF2Engineer.html +572 -0
- data/pkg/steam-condenser-1.3.8.1/doc/TF2GoldenWrench.html +776 -0
- data/pkg/steam-condenser-1.3.8.1/doc/TF2Inventory.html +363 -0
- data/pkg/steam-condenser-1.3.8.1/doc/TF2Item.html +617 -0
- data/pkg/steam-condenser-1.3.8.1/doc/TF2Medic.html +476 -0
- data/pkg/steam-condenser-1.3.8.1/doc/TF2Sniper.html +381 -0
- data/pkg/steam-condenser-1.3.8.1/doc/TF2Spy.html +567 -0
- data/pkg/steam-condenser-1.3.8.1/doc/TF2Stats.html +751 -0
- data/pkg/steam-condenser-1.3.8.1/doc/WebApi.html +1156 -0
- data/pkg/steam-condenser-1.3.8.1/doc/WebApiError.html +375 -0
- data/pkg/steam-condenser-1.3.8.1/doc/XMLData.html +280 -0
- data/pkg/steam-condenser-1.3.8.1/doc/_index.html +728 -0
- data/pkg/steam-condenser-1.3.8.1/doc/class_list.html +54 -0
- data/pkg/steam-condenser-1.3.8.1/doc/css/common.css +1 -0
- data/pkg/steam-condenser-1.3.8.1/doc/css/full_list.css +57 -0
- data/pkg/steam-condenser-1.3.8.1/doc/css/style.css +338 -0
- data/pkg/steam-condenser-1.3.8.1/doc/file.CHANGELOG.html +472 -0
- data/pkg/steam-condenser-1.3.8.1/doc/file.CONTRIBUTING.html +156 -0
- data/pkg/steam-condenser-1.3.8.1/doc/file.LICENSE.html +118 -0
- data/pkg/steam-condenser-1.3.8.1/doc/file.README.html +179 -0
- data/pkg/steam-condenser-1.3.8.1/doc/file_list.html +65 -0
- data/pkg/steam-condenser-1.3.8.1/doc/frames.html +26 -0
- data/pkg/steam-condenser-1.3.8.1/doc/index.html +179 -0
- data/pkg/steam-condenser-1.3.8.1/doc/js/app.js +219 -0
- data/pkg/steam-condenser-1.3.8.1/doc/js/full_list.js +178 -0
- data/pkg/steam-condenser-1.3.8.1/doc/js/jquery.js +4 -0
- data/pkg/steam-condenser-1.3.8.1/doc/method_list.html +3191 -0
- data/pkg/steam-condenser-1.3.8.1/doc/top-level-namespace.html +114 -0
- data/pkg/steam-condenser-1.3.8.1/lib/core_ext/stringio.rb +93 -0
- data/pkg/steam-condenser-1.3.8.1/lib/errors/packet_format_error.rb +13 -0
- data/pkg/steam-condenser-1.3.8.1/lib/errors/rcon_ban_error.rb +22 -0
- data/pkg/steam-condenser-1.3.8.1/lib/errors/rcon_no_auth_error.rb +21 -0
- data/pkg/steam-condenser-1.3.8.1/lib/errors/steam_condenser_error.rb +26 -0
- data/pkg/steam-condenser-1.3.8.1/lib/errors/timeout_error.rb +28 -0
- data/pkg/steam-condenser-1.3.8.1/lib/errors/web_api_error.rb +57 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam-condenser.rb +18 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam-condenser/community.rb +24 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam-condenser/servers.rb +24 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam-condenser/version.rb +11 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/alien_swarm/alien_swarm_mission.rb +120 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/alien_swarm/alien_swarm_stats.rb +188 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/alien_swarm/alien_swarm_weapon.rb +49 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/app_news.rb +133 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/cacheable.rb +199 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/css/css_map.rb +61 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/css/css_stats.rb +140 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/css/css_weapon.rb +69 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/defense_grid/defense_grid_stats.rb +238 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/dods/dods_class.rb +90 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/dods/dods_stats.rb +62 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/dods/dods_weapon.rb +67 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/dota2/dota2_beta_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/dota2/dota2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/dota2/dota2_item.rb +33 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/game_achievement.rb +109 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/game_class.rb +22 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/game_inventory.rb +171 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/game_item.rb +155 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/game_item_schema.rb +131 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/game_leaderboard.rb +212 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/game_leaderboard_entry.rb +43 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/game_stats.rb +175 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/game_weapon.rb +41 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/l4d/abstract_l4d_stats.rb +188 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/l4d/abstract_l4d_weapon.rb +56 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/l4d/l4d2_map.rb +90 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/l4d/l4d2_stats.rb +179 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/l4d/l4d2_weapon.rb +38 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/l4d/l4d_explosive.rb +34 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/l4d/l4d_map.rb +65 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/l4d/l4d_stats.rb +73 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/l4d/l4d_weapon.rb +26 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/portal2/portal2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/portal2/portal2_item.rb +55 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/portal2/portal2_stats.rb +33 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/steam_game.rb +193 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/steam_group.rb +176 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/steam_id.rb +496 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/tf2/tf2_beta_inventory.rb +28 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/tf2/tf2_class.rb +92 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/tf2/tf2_class_factory.rb +40 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/tf2/tf2_engineer.rb +43 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/tf2/tf2_golden_wrench.rb +70 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/tf2/tf2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/tf2/tf2_item.rb +55 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/tf2/tf2_medic.rb +35 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/tf2/tf2_sniper.rb +28 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/tf2/tf2_spy.rb +41 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/tf2/tf2_stats.rb +77 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/web_api.rb +139 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/community/xml_data.rb +27 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/a2m_get_servers_batch2_packet.rb +59 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/a2s_info_packet.rb +24 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/a2s_player_packet.rb +31 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/a2s_rules_packet.rb +32 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/a2s_serverquery_getchallenge_packet.rb +25 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/c2m_checkmd5_packet.rb +31 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/m2a_server_batch_packet.rb +52 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/m2c_isvalidmd5_packet.rb +34 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/m2s_requestrestart_packet.rb +34 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/rcon/rcon_auth_request.rb +28 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/rcon/rcon_auth_response.rb +30 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/rcon/rcon_exec_request.rb +28 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/rcon/rcon_exec_response.rb +37 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/rcon/rcon_goldsrc_request.rb +35 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/rcon/rcon_goldsrc_response.rb +34 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/rcon/rcon_packet.rb +57 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/rcon/rcon_packet_factory.rb +43 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/rcon/rcon_terminator.rb +29 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/request_with_challenge.rb +19 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/s2a_info2_packet.rb +76 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/s2a_info_base_packet.rb +25 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/s2a_info_detailed_packet.rb +64 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/s2a_logstring_packet.rb +30 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/s2a_player_packet.rb +44 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/s2a_rules_packet.rb +48 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/s2c_challenge_packet.rb +35 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/s2m_heartbeat2_packet.rb +72 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/steam_packet.rb +52 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/packets/steam_packet_factory.rb +113 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/servers/game_server.rb +393 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/servers/goldsrc_server.rb +74 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/servers/master_server.rb +188 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/servers/server.rb +115 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/servers/source_server.rb +123 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/sockets/goldsrc_socket.rb +142 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/sockets/master_server_socket.rb +34 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/sockets/rcon_socket.rb +103 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/sockets/source_socket.rb +73 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/sockets/steam_socket.rb +91 -0
- data/pkg/steam-condenser-1.3.8.1/lib/steam/steam_player.rb +143 -0
- data/pkg/steam-condenser-1.3.8.1/steam-condenser.gemspec +25 -0
- data/pkg/steam-condenser-1.3.8.1/test/core_ext/test_stringio.rb +59 -0
- data/pkg/steam-condenser-1.3.8.1/test/fixtures/invalid.xml +2 -0
- data/pkg/steam-condenser-1.3.8.1/test/fixtures/sonofthor.xml +882 -0
- data/pkg/steam-condenser-1.3.8.1/test/fixtures/status_goldsrc +3 -0
- data/pkg/steam-condenser-1.3.8.1/test/fixtures/status_source +3 -0
- data/pkg/steam-condenser-1.3.8.1/test/fixtures/valve-members.xml +261 -0
- data/pkg/steam-condenser-1.3.8.1/test/helper.rb +48 -0
- data/pkg/steam-condenser-1.3.8.1/test/steam/community/test_cacheable.rb +103 -0
- data/pkg/steam-condenser-1.3.8.1/test/steam/community/test_steam_group.rb +94 -0
- data/pkg/steam-condenser-1.3.8.1/test/steam/community/test_steam_id.rb +144 -0
- data/pkg/steam-condenser-1.3.8.1/test/steam/community/test_web_api.rb +124 -0
- data/pkg/steam-condenser-1.3.8.1/test/steam/packets/test_steam_packet.rb +37 -0
- data/pkg/steam-condenser-1.3.8.1/test/steam/servers/test_game_server.rb +296 -0
- data/pkg/steam-condenser-1.3.8.1/test/steam/servers/test_goldsrc_server.rb +59 -0
- data/pkg/steam-condenser-1.3.8.1/test/steam/servers/test_master_server.rb +131 -0
- data/pkg/steam-condenser-1.3.8.1/test/steam/servers/test_server.rb +72 -0
- data/pkg/steam-condenser-1.3.8.1/test/steam/servers/test_source_server.rb +145 -0
- data/pkg/steam-condenser-1.3.8.1/test/steam/sockets/test_goldsrc_socket.rb +127 -0
- data/pkg/steam-condenser-1.3.8.1/test/steam/sockets/test_master_server_socket.rb +42 -0
- data/pkg/steam-condenser-1.3.8.1/test/steam/sockets/test_rcon_socket.rb +118 -0
- data/pkg/steam-condenser-1.3.8.1/test/steam/sockets/test_source_socket.rb +77 -0
- data/pkg/steam-condenser-1.3.8.1/test/steam/sockets/test_steam_socket.rb +97 -0
- data/test/steam/sockets/test_rcon_socket.rb +3 -7
- metadata +360 -2
@@ -0,0 +1,824 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
+
<title>
|
7
|
+
Class: DoDSWeapon
|
8
|
+
|
9
|
+
— Metior — API Documentation
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
|
16
|
+
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
18
|
+
hasFrames = window.top.frames.main ? true : false;
|
19
|
+
relpath = '';
|
20
|
+
framesUrl = "frames.html#!" + escape(window.location.href);
|
21
|
+
</script>
|
22
|
+
|
23
|
+
|
24
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
25
|
+
|
26
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
27
|
+
|
28
|
+
|
29
|
+
</head>
|
30
|
+
<body>
|
31
|
+
<div id="header">
|
32
|
+
<div id="menu">
|
33
|
+
|
34
|
+
<a href="_index.html">Index (D)</a> »
|
35
|
+
|
36
|
+
|
37
|
+
<span class="title">DoDSWeapon</span>
|
38
|
+
|
39
|
+
|
40
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
<div id="search">
|
44
|
+
|
45
|
+
<a class="full_list_link" id="class_list_link"
|
46
|
+
href="class_list.html">
|
47
|
+
Class List
|
48
|
+
</a>
|
49
|
+
|
50
|
+
<a class="full_list_link" id="method_list_link"
|
51
|
+
href="method_list.html">
|
52
|
+
Method List
|
53
|
+
</a>
|
54
|
+
|
55
|
+
<a class="full_list_link" id="file_list_link"
|
56
|
+
href="file_list.html">
|
57
|
+
File List
|
58
|
+
</a>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
<div class="clear"></div>
|
62
|
+
</div>
|
63
|
+
|
64
|
+
<iframe id="search_frame"></iframe>
|
65
|
+
|
66
|
+
<div id="content"><h1>Class: DoDSWeapon
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
</h1>
|
71
|
+
|
72
|
+
<dl class="box">
|
73
|
+
|
74
|
+
<dt class="r1">Inherits:</dt>
|
75
|
+
<dd class="r1">
|
76
|
+
<span class="inheritName">Object</span>
|
77
|
+
|
78
|
+
<ul class="fullTree">
|
79
|
+
<li>Object</li>
|
80
|
+
|
81
|
+
<li class="next">DoDSWeapon</li>
|
82
|
+
|
83
|
+
</ul>
|
84
|
+
<a href="#" class="inheritanceTree">show all</a>
|
85
|
+
|
86
|
+
</dd>
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
<dt class="r2">Includes:</dt>
|
94
|
+
<dd class="r2"><span class='object_link'><a href="GameWeapon.html" title="GameWeapon (module)">GameWeapon</a></span></dd>
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
<dt class="r1 last">Defined in:</dt>
|
101
|
+
<dd class="r1 last">lib/steam/community/dods/dods_weapon.rb</dd>
|
102
|
+
|
103
|
+
</dl>
|
104
|
+
<div class="clear"></div>
|
105
|
+
|
106
|
+
<h2>Overview</h2><div class="docstring">
|
107
|
+
<div class="discussion">
|
108
|
+
|
109
|
+
<p>Represents the stats for a Day of Defeat: Source weapon for a specific user</p>
|
110
|
+
|
111
|
+
|
112
|
+
</div>
|
113
|
+
</div>
|
114
|
+
<div class="tags">
|
115
|
+
|
116
|
+
<p class="tag_title">Author:</p>
|
117
|
+
<ul class="author">
|
118
|
+
|
119
|
+
<li>
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
<div class='inline'>
|
126
|
+
<p>Sebastian Staudt</p>
|
127
|
+
</div>
|
128
|
+
|
129
|
+
</li>
|
130
|
+
|
131
|
+
</ul>
|
132
|
+
|
133
|
+
</div>
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
138
|
+
<ul class="summary">
|
139
|
+
|
140
|
+
<li class="public ">
|
141
|
+
<span class="summary_signature">
|
142
|
+
|
143
|
+
<a href="#headshots-instance_method" title="#headshots (instance method)">- (Fixnum) <strong>headshots</strong> </a>
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
</span>
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
<span class="note title readonly">readonly</span>
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
<span class="summary_desc"><div class='inline'>
|
163
|
+
<p>Returns the number of headshots achieved with this weapon.</p>
|
164
|
+
</div></span>
|
165
|
+
|
166
|
+
</li>
|
167
|
+
|
168
|
+
|
169
|
+
<li class="public ">
|
170
|
+
<span class="summary_signature">
|
171
|
+
|
172
|
+
<a href="#hits-instance_method" title="#hits (instance method)">- (Fixnum) <strong>hits</strong> </a>
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
</span>
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
<span class="note title readonly">readonly</span>
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
<span class="summary_desc"><div class='inline'>
|
192
|
+
<p>Returns the number of hits achieved with this weapon.</p>
|
193
|
+
</div></span>
|
194
|
+
|
195
|
+
</li>
|
196
|
+
|
197
|
+
|
198
|
+
<li class="public ">
|
199
|
+
<span class="summary_signature">
|
200
|
+
|
201
|
+
<a href="#name-instance_method" title="#name (instance method)">- (String) <strong>name</strong> </a>
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
</span>
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
<span class="note title readonly">readonly</span>
|
211
|
+
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
<span class="summary_desc"><div class='inline'>
|
221
|
+
<p>Returns the name of this weapon.</p>
|
222
|
+
</div></span>
|
223
|
+
|
224
|
+
</li>
|
225
|
+
|
226
|
+
|
227
|
+
</ul>
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
<h3 class="inherited">Attributes included from <span class='object_link'><a href="GameWeapon.html" title="GameWeapon (module)">GameWeapon</a></span></h3>
|
234
|
+
<p class="inherited"><span class='object_link'><a href="GameWeapon.html#id-instance_method" title="GameWeapon#id (method)">#id</a></span>, <span class='object_link'><a href="GameWeapon.html#kills-instance_method" title="GameWeapon#kills (method)">#kills</a></span>, <span class='object_link'><a href="GameWeapon.html#shots-instance_method" title="GameWeapon#shots (method)">#shots</a></span></p>
|
235
|
+
|
236
|
+
|
237
|
+
|
238
|
+
<h2>
|
239
|
+
Instance Method Summary
|
240
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
241
|
+
</h2>
|
242
|
+
|
243
|
+
<ul class="summary">
|
244
|
+
|
245
|
+
<li class="public ">
|
246
|
+
<span class="summary_signature">
|
247
|
+
|
248
|
+
<a href="#avg_hits_per_kill-instance_method" title="#avg_hits_per_kill (instance method)">- (Float) <strong>avg_hits_per_kill</strong> </a>
|
249
|
+
|
250
|
+
|
251
|
+
|
252
|
+
</span>
|
253
|
+
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
|
262
|
+
<span class="summary_desc"><div class='inline'>
|
263
|
+
<p>Returns the average number of hits needed for a kill with this weapon.</p>
|
264
|
+
</div></span>
|
265
|
+
|
266
|
+
</li>
|
267
|
+
|
268
|
+
|
269
|
+
<li class="public ">
|
270
|
+
<span class="summary_signature">
|
271
|
+
|
272
|
+
<a href="#headshot_percentage-instance_method" title="#headshot_percentage (instance method)">- (Float) <strong>headshot_percentage</strong> </a>
|
273
|
+
|
274
|
+
|
275
|
+
|
276
|
+
</span>
|
277
|
+
|
278
|
+
|
279
|
+
|
280
|
+
|
281
|
+
|
282
|
+
|
283
|
+
|
284
|
+
|
285
|
+
|
286
|
+
<span class="summary_desc"><div class='inline'>
|
287
|
+
<p>Returns the percentage of headshots relative to the shots hit with this
|
288
|
+
weapon.</p>
|
289
|
+
</div></span>
|
290
|
+
|
291
|
+
</li>
|
292
|
+
|
293
|
+
|
294
|
+
<li class="public ">
|
295
|
+
<span class="summary_signature">
|
296
|
+
|
297
|
+
<a href="#hit_percentage-instance_method" title="#hit_percentage (instance method)">- (Float) <strong>hit_percentage</strong> </a>
|
298
|
+
|
299
|
+
|
300
|
+
|
301
|
+
</span>
|
302
|
+
|
303
|
+
|
304
|
+
|
305
|
+
|
306
|
+
|
307
|
+
|
308
|
+
|
309
|
+
|
310
|
+
|
311
|
+
<span class="summary_desc"><div class='inline'>
|
312
|
+
<p>Returns the percentage of hits relative to the shots fired with this
|
313
|
+
weapon.</p>
|
314
|
+
</div></span>
|
315
|
+
|
316
|
+
</li>
|
317
|
+
|
318
|
+
|
319
|
+
<li class="public ">
|
320
|
+
<span class="summary_signature">
|
321
|
+
|
322
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (DoDSWeapon) <strong>initialize</strong>(weapon_data) </a>
|
323
|
+
|
324
|
+
|
325
|
+
|
326
|
+
</span>
|
327
|
+
|
328
|
+
|
329
|
+
<span class="note title constructor">constructor</span>
|
330
|
+
|
331
|
+
|
332
|
+
|
333
|
+
|
334
|
+
|
335
|
+
|
336
|
+
|
337
|
+
|
338
|
+
<span class="summary_desc"><div class='inline'>
|
339
|
+
<p>Creates a new instance of a Day of Defeat: Source weapon based on the given
|
340
|
+
XML data.</p>
|
341
|
+
</div></span>
|
342
|
+
|
343
|
+
</li>
|
344
|
+
|
345
|
+
|
346
|
+
</ul>
|
347
|
+
|
348
|
+
|
349
|
+
|
350
|
+
|
351
|
+
|
352
|
+
|
353
|
+
|
354
|
+
|
355
|
+
|
356
|
+
|
357
|
+
|
358
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="GameWeapon.html" title="GameWeapon (module)">GameWeapon</a></span></h3>
|
359
|
+
<p class="inherited"><span class='object_link'><a href="GameWeapon.html#avg_shots_per_kill-instance_method" title="GameWeapon#avg_shots_per_kill (method)">#avg_shots_per_kill</a></span></p>
|
360
|
+
<div id="constructor_details" class="method_details_list">
|
361
|
+
<h2>Constructor Details</h2>
|
362
|
+
|
363
|
+
<div class="method_details first">
|
364
|
+
<h3 class="signature first" id="initialize-instance_method">
|
365
|
+
|
366
|
+
- (<tt><span class='object_link'><a href="" title="DoDSWeapon (class)">DoDSWeapon</a></span></tt>) <strong>initialize</strong>(weapon_data)
|
367
|
+
|
368
|
+
|
369
|
+
|
370
|
+
|
371
|
+
|
372
|
+
</h3><div class="docstring">
|
373
|
+
<div class="discussion">
|
374
|
+
|
375
|
+
<p>Creates a new instance of a Day of Defeat: Source weapon based on the
|
376
|
+
given
|
377
|
+
XML data</p>
|
378
|
+
|
379
|
+
|
380
|
+
</div>
|
381
|
+
</div>
|
382
|
+
<div class="tags">
|
383
|
+
<p class="tag_title">Parameters:</p>
|
384
|
+
<ul class="param">
|
385
|
+
|
386
|
+
<li>
|
387
|
+
|
388
|
+
<span class='name'>weapon_data</span>
|
389
|
+
|
390
|
+
|
391
|
+
<span class='type'>(<tt>Hash<String, Object></tt>)</span>
|
392
|
+
|
393
|
+
|
394
|
+
|
395
|
+
—
|
396
|
+
<div class='inline'>
|
397
|
+
<p>The XML data of the class</p>
|
398
|
+
</div>
|
399
|
+
|
400
|
+
</li>
|
401
|
+
|
402
|
+
</ul>
|
403
|
+
|
404
|
+
|
405
|
+
</div><table class="source_code">
|
406
|
+
<tr>
|
407
|
+
<td>
|
408
|
+
<pre class="lines">
|
409
|
+
|
410
|
+
|
411
|
+
34
|
412
|
+
35
|
413
|
+
36
|
414
|
+
37
|
415
|
+
38
|
416
|
+
39
|
417
|
+
40
|
418
|
+
41
|
419
|
+
42</pre>
|
420
|
+
</td>
|
421
|
+
<td>
|
422
|
+
<pre class="code"><span class="info file"># File 'lib/steam/community/dods/dods_weapon.rb', line 34</span>
|
423
|
+
|
424
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_weapon_data'>weapon_data</span><span class='rparen'>)</span>
|
425
|
+
<span class='kw'>super</span> <span class='id identifier rubyid_weapon_data'>weapon_data</span>
|
426
|
+
|
427
|
+
<span class='ivar'>@headshots</span> <span class='op'>=</span> <span class='id identifier rubyid_weapon_data'>weapon_data</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>headshots</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span>
|
428
|
+
<span class='ivar'>@id</span> <span class='op'>=</span> <span class='id identifier rubyid_weapon_data'>weapon_data</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>key</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
429
|
+
<span class='ivar'>@name</span> <span class='op'>=</span> <span class='id identifier rubyid_weapon_data'>weapon_data</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>name</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
430
|
+
<span class='ivar'>@shots</span> <span class='op'>=</span> <span class='id identifier rubyid_weapon_data'>weapon_data</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>shotsfired</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span>
|
431
|
+
<span class='ivar'>@hits</span> <span class='op'>=</span> <span class='id identifier rubyid_weapon_data'>weapon_data</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>shotshit</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span>
|
432
|
+
<span class='kw'>end</span></pre>
|
433
|
+
</td>
|
434
|
+
</tr>
|
435
|
+
</table>
|
436
|
+
</div>
|
437
|
+
|
438
|
+
</div>
|
439
|
+
|
440
|
+
<div id="instance_attr_details" class="attr_details">
|
441
|
+
<h2>Instance Attribute Details</h2>
|
442
|
+
|
443
|
+
|
444
|
+
<span id=""></span>
|
445
|
+
<div class="method_details first">
|
446
|
+
<h3 class="signature first" id="headshots-instance_method">
|
447
|
+
|
448
|
+
- (<tt>Fixnum</tt>) <strong>headshots</strong> <span class="extras">(readonly)</span>
|
449
|
+
|
450
|
+
|
451
|
+
|
452
|
+
|
453
|
+
|
454
|
+
</h3><div class="docstring">
|
455
|
+
<div class="discussion">
|
456
|
+
|
457
|
+
<p>Returns the number of headshots achieved with this weapon</p>
|
458
|
+
|
459
|
+
|
460
|
+
</div>
|
461
|
+
</div>
|
462
|
+
<div class="tags">
|
463
|
+
|
464
|
+
<p class="tag_title">Returns:</p>
|
465
|
+
<ul class="return">
|
466
|
+
|
467
|
+
<li>
|
468
|
+
|
469
|
+
|
470
|
+
<span class='type'>(<tt>Fixnum</tt>)</span>
|
471
|
+
|
472
|
+
|
473
|
+
|
474
|
+
—
|
475
|
+
<div class='inline'>
|
476
|
+
<p>The number of headshots achieved</p>
|
477
|
+
</div>
|
478
|
+
|
479
|
+
</li>
|
480
|
+
|
481
|
+
</ul>
|
482
|
+
|
483
|
+
</div><table class="source_code">
|
484
|
+
<tr>
|
485
|
+
<td>
|
486
|
+
<pre class="lines">
|
487
|
+
|
488
|
+
|
489
|
+
18
|
490
|
+
19
|
491
|
+
20</pre>
|
492
|
+
</td>
|
493
|
+
<td>
|
494
|
+
<pre class="code"><span class="info file"># File 'lib/steam/community/dods/dods_weapon.rb', line 18</span>
|
495
|
+
|
496
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_headshots'>headshots</span>
|
497
|
+
<span class='ivar'>@headshots</span>
|
498
|
+
<span class='kw'>end</span></pre>
|
499
|
+
</td>
|
500
|
+
</tr>
|
501
|
+
</table>
|
502
|
+
</div>
|
503
|
+
|
504
|
+
|
505
|
+
<span id=""></span>
|
506
|
+
<div class="method_details ">
|
507
|
+
<h3 class="signature " id="hits-instance_method">
|
508
|
+
|
509
|
+
- (<tt>Fixnum</tt>) <strong>hits</strong> <span class="extras">(readonly)</span>
|
510
|
+
|
511
|
+
|
512
|
+
|
513
|
+
|
514
|
+
|
515
|
+
</h3><div class="docstring">
|
516
|
+
<div class="discussion">
|
517
|
+
|
518
|
+
<p>Returns the number of hits achieved with this weapon</p>
|
519
|
+
|
520
|
+
|
521
|
+
</div>
|
522
|
+
</div>
|
523
|
+
<div class="tags">
|
524
|
+
|
525
|
+
<p class="tag_title">Returns:</p>
|
526
|
+
<ul class="return">
|
527
|
+
|
528
|
+
<li>
|
529
|
+
|
530
|
+
|
531
|
+
<span class='type'>(<tt>Fixnum</tt>)</span>
|
532
|
+
|
533
|
+
|
534
|
+
|
535
|
+
—
|
536
|
+
<div class='inline'>
|
537
|
+
<p>The number of hits achieved</p>
|
538
|
+
</div>
|
539
|
+
|
540
|
+
</li>
|
541
|
+
|
542
|
+
</ul>
|
543
|
+
|
544
|
+
</div><table class="source_code">
|
545
|
+
<tr>
|
546
|
+
<td>
|
547
|
+
<pre class="lines">
|
548
|
+
|
549
|
+
|
550
|
+
28
|
551
|
+
29
|
552
|
+
30</pre>
|
553
|
+
</td>
|
554
|
+
<td>
|
555
|
+
<pre class="code"><span class="info file"># File 'lib/steam/community/dods/dods_weapon.rb', line 28</span>
|
556
|
+
|
557
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_hits'>hits</span>
|
558
|
+
<span class='ivar'>@hits</span>
|
559
|
+
<span class='kw'>end</span></pre>
|
560
|
+
</td>
|
561
|
+
</tr>
|
562
|
+
</table>
|
563
|
+
</div>
|
564
|
+
|
565
|
+
|
566
|
+
<span id=""></span>
|
567
|
+
<div class="method_details ">
|
568
|
+
<h3 class="signature " id="name-instance_method">
|
569
|
+
|
570
|
+
- (<tt>String</tt>) <strong>name</strong> <span class="extras">(readonly)</span>
|
571
|
+
|
572
|
+
|
573
|
+
|
574
|
+
|
575
|
+
|
576
|
+
</h3><div class="docstring">
|
577
|
+
<div class="discussion">
|
578
|
+
|
579
|
+
<p>Returns the name of this weapon</p>
|
580
|
+
|
581
|
+
|
582
|
+
</div>
|
583
|
+
</div>
|
584
|
+
<div class="tags">
|
585
|
+
|
586
|
+
<p class="tag_title">Returns:</p>
|
587
|
+
<ul class="return">
|
588
|
+
|
589
|
+
<li>
|
590
|
+
|
591
|
+
|
592
|
+
<span class='type'>(<tt>String</tt>)</span>
|
593
|
+
|
594
|
+
|
595
|
+
|
596
|
+
—
|
597
|
+
<div class='inline'>
|
598
|
+
<p>The name of this weapon</p>
|
599
|
+
</div>
|
600
|
+
|
601
|
+
</li>
|
602
|
+
|
603
|
+
</ul>
|
604
|
+
|
605
|
+
</div><table class="source_code">
|
606
|
+
<tr>
|
607
|
+
<td>
|
608
|
+
<pre class="lines">
|
609
|
+
|
610
|
+
|
611
|
+
23
|
612
|
+
24
|
613
|
+
25</pre>
|
614
|
+
</td>
|
615
|
+
<td>
|
616
|
+
<pre class="code"><span class="info file"># File 'lib/steam/community/dods/dods_weapon.rb', line 23</span>
|
617
|
+
|
618
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
|
619
|
+
<span class='ivar'>@name</span>
|
620
|
+
<span class='kw'>end</span></pre>
|
621
|
+
</td>
|
622
|
+
</tr>
|
623
|
+
</table>
|
624
|
+
</div>
|
625
|
+
|
626
|
+
</div>
|
627
|
+
|
628
|
+
|
629
|
+
<div id="instance_method_details" class="method_details_list">
|
630
|
+
<h2>Instance Method Details</h2>
|
631
|
+
|
632
|
+
|
633
|
+
<div class="method_details first">
|
634
|
+
<h3 class="signature first" id="avg_hits_per_kill-instance_method">
|
635
|
+
|
636
|
+
- (<tt>Float</tt>) <strong>avg_hits_per_kill</strong>
|
637
|
+
|
638
|
+
|
639
|
+
|
640
|
+
|
641
|
+
|
642
|
+
</h3><div class="docstring">
|
643
|
+
<div class="discussion">
|
644
|
+
|
645
|
+
<p>Returns the average number of hits needed for a kill with this weapon</p>
|
646
|
+
|
647
|
+
|
648
|
+
</div>
|
649
|
+
</div>
|
650
|
+
<div class="tags">
|
651
|
+
|
652
|
+
<p class="tag_title">Returns:</p>
|
653
|
+
<ul class="return">
|
654
|
+
|
655
|
+
<li>
|
656
|
+
|
657
|
+
|
658
|
+
<span class='type'>(<tt>Float</tt>)</span>
|
659
|
+
|
660
|
+
|
661
|
+
|
662
|
+
—
|
663
|
+
<div class='inline'>
|
664
|
+
<p>The average number of hits needed for a kill</p>
|
665
|
+
</div>
|
666
|
+
|
667
|
+
</li>
|
668
|
+
|
669
|
+
</ul>
|
670
|
+
|
671
|
+
</div><table class="source_code">
|
672
|
+
<tr>
|
673
|
+
<td>
|
674
|
+
<pre class="lines">
|
675
|
+
|
676
|
+
|
677
|
+
47
|
678
|
+
48
|
679
|
+
49</pre>
|
680
|
+
</td>
|
681
|
+
<td>
|
682
|
+
<pre class="code"><span class="info file"># File 'lib/steam/community/dods/dods_weapon.rb', line 47</span>
|
683
|
+
|
684
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_avg_hits_per_kill'>avg_hits_per_kill</span>
|
685
|
+
<span class='ivar'>@hits</span><span class='period'>.</span><span class='id identifier rubyid_to_f'>to_f</span> <span class='op'>/</span> <span class='ivar'>@kill</span>
|
686
|
+
<span class='kw'>end</span></pre>
|
687
|
+
</td>
|
688
|
+
</tr>
|
689
|
+
</table>
|
690
|
+
</div>
|
691
|
+
|
692
|
+
<div class="method_details ">
|
693
|
+
<h3 class="signature " id="headshot_percentage-instance_method">
|
694
|
+
|
695
|
+
- (<tt>Float</tt>) <strong>headshot_percentage</strong>
|
696
|
+
|
697
|
+
|
698
|
+
|
699
|
+
|
700
|
+
|
701
|
+
</h3><div class="docstring">
|
702
|
+
<div class="discussion">
|
703
|
+
|
704
|
+
<p>Returns the percentage of headshots relative to the shots hit with
|
705
|
+
this
|
706
|
+
weapon</p>
|
707
|
+
|
708
|
+
|
709
|
+
</div>
|
710
|
+
</div>
|
711
|
+
<div class="tags">
|
712
|
+
|
713
|
+
<p class="tag_title">Returns:</p>
|
714
|
+
<ul class="return">
|
715
|
+
|
716
|
+
<li>
|
717
|
+
|
718
|
+
|
719
|
+
<span class='type'>(<tt>Float</tt>)</span>
|
720
|
+
|
721
|
+
|
722
|
+
|
723
|
+
—
|
724
|
+
<div class='inline'>
|
725
|
+
<p>The percentage of headshots</p>
|
726
|
+
</div>
|
727
|
+
|
728
|
+
</li>
|
729
|
+
|
730
|
+
</ul>
|
731
|
+
|
732
|
+
</div><table class="source_code">
|
733
|
+
<tr>
|
734
|
+
<td>
|
735
|
+
<pre class="lines">
|
736
|
+
|
737
|
+
|
738
|
+
55
|
739
|
+
56
|
740
|
+
57</pre>
|
741
|
+
</td>
|
742
|
+
<td>
|
743
|
+
<pre class="code"><span class="info file"># File 'lib/steam/community/dods/dods_weapon.rb', line 55</span>
|
744
|
+
|
745
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_headshot_percentage'>headshot_percentage</span>
|
746
|
+
<span class='ivar'>@headshots</span><span class='period'>.</span><span class='id identifier rubyid_to_f'>to_f</span> <span class='op'>/</span> <span class='ivar'>@hits</span>
|
747
|
+
<span class='kw'>end</span></pre>
|
748
|
+
</td>
|
749
|
+
</tr>
|
750
|
+
</table>
|
751
|
+
</div>
|
752
|
+
|
753
|
+
<div class="method_details ">
|
754
|
+
<h3 class="signature " id="hit_percentage-instance_method">
|
755
|
+
|
756
|
+
- (<tt>Float</tt>) <strong>hit_percentage</strong>
|
757
|
+
|
758
|
+
|
759
|
+
|
760
|
+
|
761
|
+
|
762
|
+
</h3><div class="docstring">
|
763
|
+
<div class="discussion">
|
764
|
+
|
765
|
+
<p>Returns the percentage of hits relative to the shots fired with this
|
766
|
+
weapon</p>
|
767
|
+
|
768
|
+
|
769
|
+
</div>
|
770
|
+
</div>
|
771
|
+
<div class="tags">
|
772
|
+
|
773
|
+
<p class="tag_title">Returns:</p>
|
774
|
+
<ul class="return">
|
775
|
+
|
776
|
+
<li>
|
777
|
+
|
778
|
+
|
779
|
+
<span class='type'>(<tt>Float</tt>)</span>
|
780
|
+
|
781
|
+
|
782
|
+
|
783
|
+
—
|
784
|
+
<div class='inline'>
|
785
|
+
<p>The percentage of hits</p>
|
786
|
+
</div>
|
787
|
+
|
788
|
+
</li>
|
789
|
+
|
790
|
+
</ul>
|
791
|
+
|
792
|
+
</div><table class="source_code">
|
793
|
+
<tr>
|
794
|
+
<td>
|
795
|
+
<pre class="lines">
|
796
|
+
|
797
|
+
|
798
|
+
63
|
799
|
+
64
|
800
|
+
65</pre>
|
801
|
+
</td>
|
802
|
+
<td>
|
803
|
+
<pre class="code"><span class="info file"># File 'lib/steam/community/dods/dods_weapon.rb', line 63</span>
|
804
|
+
|
805
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_hit_percentage'>hit_percentage</span>
|
806
|
+
<span class='ivar'>@hits</span><span class='period'>.</span><span class='id identifier rubyid_to_f'>to_f</span> <span class='op'>/</span> <span class='ivar'>@shots</span>
|
807
|
+
<span class='kw'>end</span></pre>
|
808
|
+
</td>
|
809
|
+
</tr>
|
810
|
+
</table>
|
811
|
+
</div>
|
812
|
+
|
813
|
+
</div>
|
814
|
+
|
815
|
+
</div>
|
816
|
+
|
817
|
+
<div id="footer">
|
818
|
+
Generated on Tue Jul 22 07:10:29 2014 by
|
819
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
820
|
+
0.8.7.3 (ruby-2.0.0).
|
821
|
+
</div>
|
822
|
+
|
823
|
+
</body>
|
824
|
+
</html>
|