Class: PUBG::Telemetry::LogPlayerPosition
- Inherits:
-
Object
- Object
- PUBG::Telemetry::LogPlayerPosition
- Defined in:
- lib/pubg/telemetry/log_player_position.rb
Instance Attribute Summary collapse
-
#_D ⇒ Object
readonly
Returns the value of attribute _D.
-
#_T ⇒ Object
readonly
Returns the value of attribute _T.
-
#_V ⇒ Object
readonly
Returns the value of attribute _V.
-
#character ⇒ Object
readonly
Returns the value of attribute character.
-
#elapsedtime ⇒ Object
readonly
Returns the value of attribute elapsedtime.
-
#numaliveplayers ⇒ Object
readonly
Returns the value of attribute numaliveplayers.
Instance Method Summary collapse
-
#initialize(args) ⇒ LogPlayerPosition
constructor
A new instance of LogPlayerPosition.
Constructor Details
#initialize(args) ⇒ LogPlayerPosition
Returns a new instance of LogPlayerPosition.
8 9 10 11 12 13 14 15 |
# File 'lib/pubg/telemetry/log_player_position.rb', line 8 def initialize(args) @character = Character.new(args["Character"]) @elapsedtime = args["ElapsedTime"] @numaliveplayers = args["NumAlivePlayers"] @_V = args["_V"] @_D = args["_D"] @_T = args["_T"] end |
Instance Attribute Details
#_D ⇒ Object (readonly)
Returns the value of attribute _D.
6 7 8 |
# File 'lib/pubg/telemetry/log_player_position.rb', line 6 def _D @_D end |
#_T ⇒ Object (readonly)
Returns the value of attribute _T.
6 7 8 |
# File 'lib/pubg/telemetry/log_player_position.rb', line 6 def _T @_T end |
#_V ⇒ Object (readonly)
Returns the value of attribute _V.
6 7 8 |
# File 'lib/pubg/telemetry/log_player_position.rb', line 6 def _V @_V end |
#character ⇒ Object (readonly)
Returns the value of attribute character.
6 7 8 |
# File 'lib/pubg/telemetry/log_player_position.rb', line 6 def character @character end |
#elapsedtime ⇒ Object (readonly)
Returns the value of attribute elapsedtime.
6 7 8 |
# File 'lib/pubg/telemetry/log_player_position.rb', line 6 def elapsedtime @elapsedtime end |
#numaliveplayers ⇒ Object (readonly)
Returns the value of attribute numaliveplayers.
6 7 8 |
# File 'lib/pubg/telemetry/log_player_position.rb', line 6 def numaliveplayers @numaliveplayers end |