add vehicle tracking, ESS samples

This commit is contained in:
41666 2024-10-28 23:00:40 -07:00
parent 4a528fe85a
commit 0fa1de3b4e
10 changed files with 824 additions and 7 deletions

View file

@ -54,3 +54,13 @@ func (pe PopEvent) ToPlayer() *Player {
WorldID: pe.WorldID,
}
}
func (pe PopEvent) ToVehicle() *Vehicle {
return &Vehicle{
CharacterID: pe.CharacterID,
VehicleName: string(pe.VehicleName),
FactionID: pe.TeamID,
ZoneID: pe.ZoneID,
WorldID: pe.WorldID,
}
}