Class: PUBG::Telemetry::LogPlayerPosition

Inherits:
Object
  • Object
show all
Defined in:
lib/pubg/telemetry/log_player_position.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#_DObject (readonly)

Returns the value of attribute _D.



6
7
8
# File 'lib/pubg/telemetry/log_player_position.rb', line 6

def _D
  @_D
end

#_TObject (readonly)

Returns the value of attribute _T.



6
7
8
# File 'lib/pubg/telemetry/log_player_position.rb', line 6

def _T
  @_T
end

#_VObject (readonly)

Returns the value of attribute _V.



6
7
8
# File 'lib/pubg/telemetry/log_player_position.rb', line 6

def _V
  @_V
end

#characterObject (readonly)

Returns the value of attribute character.



6
7
8
# File 'lib/pubg/telemetry/log_player_position.rb', line 6

def character
  @character
end

#elapsedtimeObject (readonly)

Returns the value of attribute elapsedtime.



6
7
8
# File 'lib/pubg/telemetry/log_player_position.rb', line 6

def elapsedtime
  @elapsedtime
end

#numaliveplayersObject (readonly)

Returns the value of attribute numaliveplayers.



6
7
8
# File 'lib/pubg/telemetry/log_player_position.rb', line 6

def numaliveplayers
  @numaliveplayers
end