class Sightstone::TeamHistoryGame
Recent game of a team @attr [Fixnum] gameMode mode of the game @attr [Fixnum] mapId ID of the map @attr [Fixnum] assists assists of the team @attr [String] opposingTeamName name of the enemy team @attr [Boolean] invalid Invalid flag # TODO what is this? @attr [Fixnum] deaths number of deaths summed over all players of the team @attr [Boolean] win true if game has been won by the team @attr [Fixnum] opposingTeamKills number of kills of the enemy team @attr [Fixnum] gameId ID of the game @attr [Fixnum] kills kills of the team
Attributes
assists[RW]
deaths[RW]
gameId[RW]
gameMode[RW]
invalid[RW]
kills[RW]
mapId[RW]
opposingTeamKills[RW]
opposingTeamName[RW]
win[RW]
Public Class Methods
new(data)
click to toggle source
# File lib/sightstone/team.rb, line 104 def initialize(data) @gameMode = data['gameMode'] @mapId = data['mapId'] @assists = data['assists'] @opposingTeamName = data['opposingTeamName'] @invalid = data['invalid'] @deaths = data['deaths'] @gameId = data['gameId'] @kills = data['kills'] @win = data['win'] @opposingTeamKills = data['opposingTeamKills'] end