Class: PUBG::Match::Participants::Attributes
- Inherits:
-
Object
- Object
- PUBG::Match::Participants::Attributes
- Defined in:
- lib/pubg/match/participants/attributes.rb
Instance Attribute Summary collapse
-
#assists ⇒ Object
readonly
Returns the value of attribute assists.
-
#boosts ⇒ Object
readonly
Returns the value of attribute boosts.
-
#damageDealt ⇒ Object
readonly
Returns the value of attribute damageDealt.
-
#DBNOs ⇒ Object
readonly
Returns the value of attribute DBNOs.
-
#deathType ⇒ Object
readonly
Returns the value of attribute deathType.
-
#headshotKills ⇒ Object
readonly
Returns the value of attribute headshotKills.
-
#heals ⇒ Object
readonly
Returns the value of attribute heals.
-
#killPlace ⇒ Object
readonly
Returns the value of attribute killPlace.
-
#killPoints ⇒ Object
readonly
Returns the value of attribute killPoints.
-
#killPointsDelta ⇒ Object
readonly
Returns the value of attribute killPointsDelta.
-
#kills ⇒ Object
readonly
Returns the value of attribute kills.
-
#killStreaks ⇒ Object
readonly
Returns the value of attribute killStreaks.
-
#lastKillPoints ⇒ Object
readonly
Returns the value of attribute lastKillPoints.
-
#lastWinPoints ⇒ Object
readonly
Returns the value of attribute lastWinPoints.
-
#longestKill ⇒ Object
readonly
Returns the value of attribute longestKill.
-
#mostDamage ⇒ Object
readonly
Returns the value of attribute mostDamage.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#playerId ⇒ Object
readonly
Returns the value of attribute playerId.
-
#revives ⇒ Object
readonly
Returns the value of attribute revives.
-
#rideDistance ⇒ Object
readonly
Returns the value of attribute rideDistance.
-
#roadKills ⇒ Object
readonly
Returns the value of attribute roadKills.
-
#teamKills ⇒ Object
readonly
Returns the value of attribute teamKills.
-
#timeSurvived ⇒ Object
readonly
Returns the value of attribute timeSurvived.
-
#vehicleDestroys ⇒ Object
readonly
Returns the value of attribute vehicleDestroys.
-
#walkDistance ⇒ Object
readonly
Returns the value of attribute walkDistance.
-
#weaponsAcquired ⇒ Object
readonly
Returns the value of attribute weaponsAcquired.
-
#winPlace ⇒ Object
readonly
Returns the value of attribute winPlace.
-
#winPoints ⇒ Object
readonly
Returns the value of attribute winPoints.
-
#winPointsDelta ⇒ Object
readonly
Returns the value of attribute winPointsDelta.
Instance Method Summary collapse
-
#initialize(args) ⇒ Attributes
constructor
A new instance of Attributes.
Constructor Details
#initialize(args) ⇒ Attributes
Returns a new instance of Attributes.
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
# File 'lib/pubg/match/participants/attributes.rb', line 11 def initialize(args) @DBNOs = args["stats"]["DBNOs"] @assists = args["stats"]["assists"] @boosts = args["stats"]["boosts"] @damageDealt = args["stats"]["damageDealt"] @deathType = args["stats"]["deathType"] @headshotKills = args["stats"]["headshotKills"] @heals = args["stats"]["heals"] @killPlace = args["stats"]["killPlace"] @killPoints = args["stats"]["killPoints"] @killPointsDelta = args["stats"]["killPointsDelta"] @killStreaks = args["stats"]["killStreaks"] @kills = args["stats"]["kills"] @lastKillPoints = args["stats"]["lastKillPoints"] @lastWinPoints = args["stats"]["lastWinPoints"] @longestKill = args["stats"]["longestKill"] @mostDamage = args["stats"]["mostDamage"] @name = args["stats"]["name"] @playerId = args["stats"]["playerId"] @revives = args["stats"]["revives"] @rideDistance = args["stats"]["rideDistance"] @roadKills = args["stats"]["roadKills"] @teamKills = args["stats"]["teamKills"] @timeSurvived = args["stats"]["timeSurvived"] @vehicleDestroys = args["stats"]["vehicleDestroys"] @walkDistance = args["stats"]["walkDistance"] @weaponsAcquired = args["stats"]["weaponsAcquired"] @winPlace = args["stats"]["winPlace"] @winPoints = args["stats"]["winPoints"] @winPointsDelta = args["stats"]["winPointsDelta"] end |
Instance Attribute Details
#assists ⇒ Object (readonly)
Returns the value of attribute assists.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def assists @assists end |
#boosts ⇒ Object (readonly)
Returns the value of attribute boosts.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def boosts @boosts end |
#damageDealt ⇒ Object (readonly)
Returns the value of attribute damageDealt.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def damageDealt @damageDealt end |
#DBNOs ⇒ Object (readonly)
Returns the value of attribute DBNOs.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def DBNOs @DBNOs end |
#deathType ⇒ Object (readonly)
Returns the value of attribute deathType.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def deathType @deathType end |
#headshotKills ⇒ Object (readonly)
Returns the value of attribute headshotKills.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def headshotKills @headshotKills end |
#heals ⇒ Object (readonly)
Returns the value of attribute heals.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def heals @heals end |
#killPlace ⇒ Object (readonly)
Returns the value of attribute killPlace.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def killPlace @killPlace end |
#killPoints ⇒ Object (readonly)
Returns the value of attribute killPoints.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def killPoints @killPoints end |
#killPointsDelta ⇒ Object (readonly)
Returns the value of attribute killPointsDelta.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def killPointsDelta @killPointsDelta end |
#kills ⇒ Object (readonly)
Returns the value of attribute kills.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def kills @kills end |
#killStreaks ⇒ Object (readonly)
Returns the value of attribute killStreaks.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def killStreaks @killStreaks end |
#lastKillPoints ⇒ Object (readonly)
Returns the value of attribute lastKillPoints.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def lastKillPoints @lastKillPoints end |
#lastWinPoints ⇒ Object (readonly)
Returns the value of attribute lastWinPoints.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def lastWinPoints @lastWinPoints end |
#longestKill ⇒ Object (readonly)
Returns the value of attribute longestKill.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def longestKill @longestKill end |
#mostDamage ⇒ Object (readonly)
Returns the value of attribute mostDamage.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def mostDamage @mostDamage end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def name @name end |
#playerId ⇒ Object (readonly)
Returns the value of attribute playerId.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def playerId @playerId end |
#revives ⇒ Object (readonly)
Returns the value of attribute revives.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def revives @revives end |
#rideDistance ⇒ Object (readonly)
Returns the value of attribute rideDistance.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def rideDistance @rideDistance end |
#roadKills ⇒ Object (readonly)
Returns the value of attribute roadKills.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def roadKills @roadKills end |
#teamKills ⇒ Object (readonly)
Returns the value of attribute teamKills.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def teamKills @teamKills end |
#timeSurvived ⇒ Object (readonly)
Returns the value of attribute timeSurvived.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def timeSurvived @timeSurvived end |
#vehicleDestroys ⇒ Object (readonly)
Returns the value of attribute vehicleDestroys.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def vehicleDestroys @vehicleDestroys end |
#walkDistance ⇒ Object (readonly)
Returns the value of attribute walkDistance.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def walkDistance @walkDistance end |
#weaponsAcquired ⇒ Object (readonly)
Returns the value of attribute weaponsAcquired.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def weaponsAcquired @weaponsAcquired end |
#winPlace ⇒ Object (readonly)
Returns the value of attribute winPlace.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def winPlace @winPlace end |
#winPoints ⇒ Object (readonly)
Returns the value of attribute winPoints.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def winPoints @winPoints end |
#winPointsDelta ⇒ Object (readonly)
Returns the value of attribute winPointsDelta.
5 6 7 |
# File 'lib/pubg/match/participants/attributes.rb', line 5 def winPointsDelta @winPointsDelta end |