Class: OpenDotaApi::Matches::Player
- Inherits:
-
Entity
- Object
- Entity
- OpenDotaApi::Matches::Player
show all
- Defined in:
- lib/open_dota_api/matches/player.rb
Instance Method Summary
collapse
Methods inherited from Entity
define_adder, #initialize
included
Instance Method Details
#account_id ⇒ Object
14
15
16
|
# File 'lib/open_dota_api/matches/player.rb', line 14
def account_id
data['account_id']
end
|
#assists ⇒ Object
18
19
20
|
# File 'lib/open_dota_api/matches/player.rb', line 18
def assists
data['assists']
end
|
#camps_stacked ⇒ Object
22
23
24
|
# File 'lib/open_dota_api/matches/player.rb', line 22
def camps_stacked
data['camps_stacked']
end
|
#deaths ⇒ Object
26
27
28
|
# File 'lib/open_dota_api/matches/player.rb', line 26
def deaths
data['deaths']
end
|
#denies ⇒ Object
30
31
32
|
# File 'lib/open_dota_api/matches/player.rb', line 30
def denies
data['denies']
end
|
#firstblood_claimed ⇒ Object
94
95
96
|
# File 'lib/open_dota_api/matches/player.rb', line 94
def firstblood_claimed
data['firstblood_claimed']
end
|
#gold_per_min ⇒ Object
34
35
36
|
# File 'lib/open_dota_api/matches/player.rb', line 34
def gold_per_min
data['gold_per_min']
end
|
#hero_damage ⇒ Object
98
99
100
|
# File 'lib/open_dota_api/matches/player.rb', line 98
def hero_damage
data['hero_damage']
end
|
#hero_healing ⇒ Object
86
87
88
|
# File 'lib/open_dota_api/matches/player.rb', line 86
def hero_healing
data['hero_healing']
end
|
#hero_id ⇒ Object
38
39
40
|
# File 'lib/open_dota_api/matches/player.rb', line 38
def hero_id
data['hero_id']
end
|
#kda ⇒ Object
74
75
76
|
# File 'lib/open_dota_api/matches/player.rb', line 74
def kda
data['kda']
end
|
#kills ⇒ Object
42
43
44
|
# File 'lib/open_dota_api/matches/player.rb', line 42
def kills
data['kills']
end
|
#last_hits ⇒ Object
90
91
92
|
# File 'lib/open_dota_api/matches/player.rb', line 90
def last_hits
data['last_hits']
end
|
#match_id ⇒ Object
6
7
8
|
# File 'lib/open_dota_api/matches/player.rb', line 6
def match_id
data['match_id']
end
|
#name ⇒ Object
66
67
68
|
# File 'lib/open_dota_api/matches/player.rb', line 66
def name
data['name']
end
|
#obs_placed ⇒ Object
46
47
48
|
# File 'lib/open_dota_api/matches/player.rb', line 46
def obs_placed
data['obs_placed']
end
|
#player_slot ⇒ Object
10
11
12
|
# File 'lib/open_dota_api/matches/player.rb', line 10
def player_slot
data['player_slot']
end
|
#roshan_kills ⇒ Object
82
83
84
|
# File 'lib/open_dota_api/matches/player.rb', line 82
def roshan_kills
data['roshan_kills']
end
|
#rune_pickups ⇒ Object
54
55
56
|
# File 'lib/open_dota_api/matches/player.rb', line 54
def rune_pickups
data['rune_pickups']
end
|
#sen_placed ⇒ Object
50
51
52
|
# File 'lib/open_dota_api/matches/player.rb', line 50
def sen_placed
data['sen_placed']
end
|
#side ⇒ Object
70
71
72
|
# File 'lib/open_dota_api/matches/player.rb', line 70
def side
data['isRadiant'] ? :radiant : :dire
end
|
#stuns ⇒ Object
58
59
60
|
# File 'lib/open_dota_api/matches/player.rb', line 58
def stuns
data['stuns']
end
|
#teamfight_participation ⇒ Object
102
103
104
|
# File 'lib/open_dota_api/matches/player.rb', line 102
def teamfight_participation
data['teamfight_participation']
end
|
#tower_kills ⇒ Object
78
79
80
|
# File 'lib/open_dota_api/matches/player.rb', line 78
def tower_kills
data['tower_kills']
end
|
#xp_per_min ⇒ Object
62
63
64
|
# File 'lib/open_dota_api/matches/player.rb', line 62
def xp_per_min
data['xp_per_min']
end
|