Class: PUBG::Telemetry
- Inherits:
-
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
#itemEquip ⇒ Object
40
41
42
|
# File 'lib/pubg/telemetry.rb', line 40
def itemEquip
@args.select {|data| data["_T"] == "LogItemEquip" }
end
|
#itemPickup ⇒ Object
36
37
38
|
# File 'lib/pubg/telemetry.rb', line 36
def itemPickup
@args.select {|data| data["_T"] == "LogItemPickup" }
end
|
#itemUnequip ⇒ Object
44
45
46
|
# File 'lib/pubg/telemetry.rb', line 44
def itemUnequip
@args.select {|data| data["_T"] == "LogItemUnequip" }
end
|
#LogCarePackageLand ⇒ Object
104
105
106
|
# File 'lib/pubg/telemetry.rb', line 104
def LogCarePackageLand
end
|
#LogCarePackageSpawn ⇒ Object
96
97
98
|
# File 'lib/pubg/telemetry.rb', line 96
def LogCarePackageSpawn
end
|
#LogGameStatePeriodic ⇒ Object
60
61
62
|
# File 'lib/pubg/telemetry.rb', line 60
def LogGameStatePeriodic
end
|
#LogItemAttach ⇒ Object
76
77
78
|
# File 'lib/pubg/telemetry.rb', line 76
def LogItemAttach
end
|
#LogItemDetach ⇒ Object
88
89
90
|
# File 'lib/pubg/telemetry.rb', line 88
def LogItemDetach
end
|
#LogItemDrop ⇒ Object
80
81
82
|
# File 'lib/pubg/telemetry.rb', line 80
def LogItemDrop
end
|
#LogItemUse ⇒ Object
92
93
94
|
# File 'lib/pubg/telemetry.rb', line 92
def LogItemUse
end
|
#LogMatchDefinition ⇒ Object
52
53
54
|
# File 'lib/pubg/telemetry.rb', line 52
def LogMatchDefinition
end
|
#LogMatchEnd ⇒ Object
108
109
110
|
# File 'lib/pubg/telemetry.rb', line 108
def LogMatchEnd
end
|
#LogMatchStart ⇒ Object
56
57
58
|
# File 'lib/pubg/telemetry.rb', line 56
def LogMatchStart
end
|
#LogPlayerKill ⇒ Object
84
85
86
|
# File 'lib/pubg/telemetry.rb', line 84
def LogPlayerKill
end
|
#LogPlayerLogout ⇒ Object
72
73
74
|
# File 'lib/pubg/telemetry.rb', line 72
def LogPlayerLogout
end
|
#LogPlayerTakeDamage ⇒ Object
68
69
70
|
# File 'lib/pubg/telemetry.rb', line 68
def LogPlayerTakeDamage
end
|
#LogVehicleDestroy ⇒ Object
100
101
102
|
# File 'lib/pubg/telemetry.rb', line 100
def LogVehicleDestroy
end
|
#LogVehicleLeave ⇒ Object
64
65
66
|
# File 'lib/pubg/telemetry.rb', line 64
def LogVehicleLeave
end
|
#original ⇒ Object
16
17
18
|
# File 'lib/pubg/telemetry.rb', line 16
def original
@args
end
|
#playerAttack ⇒ Object
32
33
34
|
# File 'lib/pubg/telemetry.rb', line 32
def playerAttack
@args.select {|data| data["_T"] == "LogPlayerAttack" }
end
|
#playerCreate ⇒ Object
24
25
26
|
# File 'lib/pubg/telemetry.rb', line 24
def playerCreate
@args.select {|data| data["_T"] == "LogPlayerCreate" }
end
|
#playerLogin ⇒ Object
20
21
22
|
# File 'lib/pubg/telemetry.rb', line 20
def playerLogin
@args.select {|data| data["_T"] == "LogPlayerLogin" }
end
|
#playerPosition ⇒ Object
28
29
30
|
# File 'lib/pubg/telemetry.rb', line 28
def playerPosition
@args.select {|data| data["_T"] == "LogPlayerPosition" }
end
|
#vehicleRide ⇒ Object
48
49
50
|
# File 'lib/pubg/telemetry.rb', line 48
def vehicleRide
@args.select {|data| data["_T"] == "LogVehicleRide" }
end
|