class Dota::API::LiveMatch::Player

Public Instance Methods

deaths() click to toggle source
# File lib/dota/api/live_match/player.rb, line 13
def deaths
  raw["death"]
end
items() click to toggle source
# File lib/dota/api/live_match/player.rb, line 41
def items
  (0..5).map { |i| Item.new(raw["item#{i}"]) }
end
name() click to toggle source
# File lib/dota/api/live_match/player.rb, line 9
def name
  raw["name"]
end
net_worth() click to toggle source
# File lib/dota/api/live_match/player.rb, line 33
def net_worth
  raw["net_worth"]
end
position_x() click to toggle source
# File lib/dota/api/live_match/player.rb, line 25
def position_x
  raw["position_x"]
end
position_y() click to toggle source
# File lib/dota/api/live_match/player.rb, line 29
def position_y
  raw["position_y"]
end
respawn_timer() click to toggle source
# File lib/dota/api/live_match/player.rb, line 37
def respawn_timer
  raw["respawn_timer"]
end
slot() click to toggle source
# File lib/dota/api/live_match/player.rb, line 5
def slot
  raw["player_slot"]
end
ultimate_cooldown() click to toggle source
# File lib/dota/api/live_match/player.rb, line 21
def ultimate_cooldown
  raw["ultimate_cooldown"]
end
ultimate_state() click to toggle source
# File lib/dota/api/live_match/player.rb, line 17
def ultimate_state
  raw["ultimate_state"]
end