Class: Rito::Match::Event

Inherits:
ApiBase
  • Object
show all
Defined in:
lib/rito/match/event.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from ApiBase

#attributes=, call_api, from_list, from_map, from_map_of_lists

Constructor Details

#initialize(attributes = {}) ⇒ Event

Returns a new instance of Event


25
26
27
28
# File 'lib/rito/match/event.rb', line 25

def initialize(attributes = {})
	self.position = Rito::Match::Position.new(attributes.delete('position')) if attributes['position']
	super
end

Instance Attribute Details

#ascendedTypeObject

Returns the value of attribute ascendedType


3
4
5
# File 'lib/rito/match/event.rb', line 3

def ascendedType
  @ascendedType
end

#assistingParticipantIdsObject

Returns the value of attribute assistingParticipantIds


3
4
5
# File 'lib/rito/match/event.rb', line 3

def assistingParticipantIds
  @assistingParticipantIds
end

#buildingTypeObject

Returns the value of attribute buildingType


3
4
5
# File 'lib/rito/match/event.rb', line 3

def buildingType
  @buildingType
end

#creatorIdObject

Returns the value of attribute creatorId


3
4
5
# File 'lib/rito/match/event.rb', line 3

def creatorId
  @creatorId
end

#eventTypeObject

Returns the value of attribute eventType


3
4
5
# File 'lib/rito/match/event.rb', line 3

def eventType
  @eventType
end

#itemAfterObject

Returns the value of attribute itemAfter


3
4
5
# File 'lib/rito/match/event.rb', line 3

def itemAfter
  @itemAfter
end

#itemBeforeObject

Returns the value of attribute itemBefore


3
4
5
# File 'lib/rito/match/event.rb', line 3

def itemBefore
  @itemBefore
end

#itemIdObject

Returns the value of attribute itemId


3
4
5
# File 'lib/rito/match/event.rb', line 3

def itemId
  @itemId
end

#killerIdObject

Returns the value of attribute killerId


3
4
5
# File 'lib/rito/match/event.rb', line 3

def killerId
  @killerId
end

#laneTypeObject

Returns the value of attribute laneType


3
4
5
# File 'lib/rito/match/event.rb', line 3

def laneType
  @laneType
end

#levelUpTypeObject

Returns the value of attribute levelUpType


3
4
5
# File 'lib/rito/match/event.rb', line 3

def levelUpType
  @levelUpType
end

#monsterTypeObject

Returns the value of attribute monsterType


3
4
5
# File 'lib/rito/match/event.rb', line 3

def monsterType
  @monsterType
end

#participantIdObject

Returns the value of attribute participantId


3
4
5
# File 'lib/rito/match/event.rb', line 3

def participantId
  @participantId
end

#pointCapturedObject

Returns the value of attribute pointCaptured


3
4
5
# File 'lib/rito/match/event.rb', line 3

def pointCaptured
  @pointCaptured
end

#positionObject

Returns the value of attribute position


3
4
5
# File 'lib/rito/match/event.rb', line 3

def position
  @position
end

#skillSlotObject

Returns the value of attribute skillSlot


3
4
5
# File 'lib/rito/match/event.rb', line 3

def skillSlot
  @skillSlot
end

#teamIdObject

Returns the value of attribute teamId


3
4
5
# File 'lib/rito/match/event.rb', line 3

def teamId
  @teamId
end

#timestampObject

Returns the value of attribute timestamp


3
4
5
# File 'lib/rito/match/event.rb', line 3

def timestamp
  @timestamp
end

#towerTypeObject

Returns the value of attribute towerType


3
4
5
# File 'lib/rito/match/event.rb', line 3

def towerType
  @towerType
end

#victimIdObject

Returns the value of attribute victimId


3
4
5
# File 'lib/rito/match/event.rb', line 3

def victimId
  @victimId
end

#wardTypeObject

Returns the value of attribute wardType


3
4
5
# File 'lib/rito/match/event.rb', line 3

def wardType
  @wardType
end