Class: PUBG::Telemetry

Inherits:
Object
  • Object
show all
Defined in:
lib/pubg/telemetry.rb,
lib/pubg/telemetry/shared/item.rb,
lib/pubg/telemetry/shared/weapon.rb,
lib/pubg/telemetry/log_item_equip.rb,
lib/pubg/telemetry/shared/vehicle.rb,
lib/pubg/telemetry/log_item_pickup.rb,
lib/pubg/telemetry/shared/attacker.rb,
lib/pubg/telemetry/shared/location.rb,
lib/pubg/telemetry/log_item_unequip.rb,
lib/pubg/telemetry/log_player_login.rb,
lib/pubg/telemetry/log_vehicle_ride.rb,
lib/pubg/telemetry/shared/character.rb,
lib/pubg/telemetry/log_player_attack.rb,
lib/pubg/telemetry/log_player_create.rb,
lib/pubg/telemetry/log_player_position.rb

Defined Under Namespace

Classes: Attacker, Character, Item, Location, LogItemEquip, LogItemPickup, LogItemUnequip, LogPlayerAttack, LogPlayerCreate, LogPlayerLogin, LogPlayerPosition, LogVehicleRide, Vehicle, Weapon

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ Telemetry

Returns a new instance of Telemetry.



12
13
14
# File 'lib/pubg/telemetry.rb', line 12

def initialize(args)
  @args = args
end

Instance Method Details

#itemEquipObject



40
41
42
# File 'lib/pubg/telemetry.rb', line 40

def itemEquip
  @args.select {|data| data["_T"] == "LogItemEquip" }
end

#itemPickupObject



36
37
38
# File 'lib/pubg/telemetry.rb', line 36

def itemPickup
  @args.select {|data| data["_T"] == "LogItemPickup" }
end

#itemUnequipObject



44
45
46
# File 'lib/pubg/telemetry.rb', line 44

def itemUnequip
  @args.select {|data| data["_T"] == "LogItemUnequip" }
end

#LogCarePackageLandObject



104
105
106
# File 'lib/pubg/telemetry.rb', line 104

def LogCarePackageLand

end

#LogCarePackageSpawnObject



96
97
98
# File 'lib/pubg/telemetry.rb', line 96

def LogCarePackageSpawn

end

#LogGameStatePeriodicObject



60
61
62
# File 'lib/pubg/telemetry.rb', line 60

def LogGameStatePeriodic

end

#LogItemAttachObject



76
77
78
# File 'lib/pubg/telemetry.rb', line 76

def LogItemAttach

end

#LogItemDetachObject



88
89
90
# File 'lib/pubg/telemetry.rb', line 88

def LogItemDetach

end

#LogItemDropObject



80
81
82
# File 'lib/pubg/telemetry.rb', line 80

def LogItemDrop

end

#LogItemUseObject



92
93
94
# File 'lib/pubg/telemetry.rb', line 92

def LogItemUse

end

#LogMatchDefinitionObject



52
53
54
# File 'lib/pubg/telemetry.rb', line 52

def LogMatchDefinition

end

#LogMatchEndObject



108
109
110
# File 'lib/pubg/telemetry.rb', line 108

def LogMatchEnd

end

#LogMatchStartObject



56
57
58
# File 'lib/pubg/telemetry.rb', line 56

def LogMatchStart

end

#LogPlayerKillObject



84
85
86
# File 'lib/pubg/telemetry.rb', line 84

def LogPlayerKill

end

#LogPlayerLogoutObject



72
73
74
# File 'lib/pubg/telemetry.rb', line 72

def LogPlayerLogout

end

#LogPlayerTakeDamageObject



68
69
70
# File 'lib/pubg/telemetry.rb', line 68

def LogPlayerTakeDamage

end

#LogVehicleDestroyObject



100
101
102
# File 'lib/pubg/telemetry.rb', line 100

def LogVehicleDestroy

end

#LogVehicleLeaveObject



64
65
66
# File 'lib/pubg/telemetry.rb', line 64

def LogVehicleLeave

end

#originalObject



16
17
18
# File 'lib/pubg/telemetry.rb', line 16

def original
  @args
end

#playerAttackObject



32
33
34
# File 'lib/pubg/telemetry.rb', line 32

def playerAttack
  @args.select {|data| data["_T"] == "LogPlayerAttack" }
end

#playerCreateObject



24
25
26
# File 'lib/pubg/telemetry.rb', line 24

def playerCreate
  @args.select {|data| data["_T"] == "LogPlayerCreate" }
end

#playerLoginObject



20
21
22
# File 'lib/pubg/telemetry.rb', line 20

def playerLogin
  @args.select {|data| data["_T"] == "LogPlayerLogin" }
end

#playerPositionObject



28
29
30
# File 'lib/pubg/telemetry.rb', line 28

def playerPosition
  @args.select {|data| data["_T"] == "LogPlayerPosition" }
end

#vehicleRideObject



48
49
50
# File 'lib/pubg/telemetry.rb', line 48

def vehicleRide
  @args.select {|data| data["_T"] == "LogVehicleRide" }
end