This commit is contained in:
41666 2024-06-13 22:33:29 -04:00
commit c5cc245e25
29 changed files with 926 additions and 0 deletions

10
types/census.go Normal file
View file

@ -0,0 +1,10 @@
package types
type Faction uint8
const (
VS Faction = iota
NC
TR
NSO
)

23
types/payload.go Normal file
View file

@ -0,0 +1,23 @@
package types
type ESSData struct {
Payload ESSEvent
}
type ESSEvent struct {
EventName string `json:"event_name"`
WorldID uint16 `json:"world_id"`
ZoneID uint32 `json:"zone_id"`
CharacterID string `json:"character_id"`
LoadoutID string `json:"loadout_id"`
VehicleID string `json:"vehicle_id"`
TeamID Faction `json:"team_id"`
AttackerCharacterID string `json:"attacker_character_id"`
AttackerLoadoutID string `json:"attacker_loadout_id"`
AttackerVehicleID string `json:"attacker_vehicle_id"`
AttackerTeamID Faction `json:"attacker_team_id"`
ExperienceID uint32
}