class PUBG::Telemetry::LogPlayerAttack

Attributes

_D[R]
_T[R]
_V[R]
attacker[R]
attackid[R]
attacktype[R]
data[R]
vehicle[R]
weapon[R]

Public Class Methods

new(args) click to toggle source
# File lib/pubg/telemetry/log_player_attack.rb, line 10
def initialize(args)
  @data = args
  @attackid = args["AttackId"]
  @attacker = Attacker.new(args["Attacker"])
  @attacktype = args["AttackType"]
  @weapon = Weapon.new(args["Weapon"])
  @vehicle = Vehicle.new(args["Vehicle"])
  @_V = args["_V"]
  @_D = args["_D"]
  @_T = args["_T"]
end