extract

package
v1.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Extract

type Extract struct {
	ReportIDs     []string `arg:"" optional:"" name:"report-id" help:"Report ID"`
	Folder        string   `name:"folder" help:"Folder to store data in" type:"existingdir"`
	CheckOnRemote bool     `name:"check-on-remote" help:"Instead of checking locally, check on remote"`
	BeginDate     string   `name:"begin-date" help:"Override state date of search"`
}

func (*Extract) Extract added in v1.1.0

func (e *Extract) Extract(app *kong.Context)

type GetReport

type GetReport struct {
	ReportData struct {
		Report struct {
			Code      graphql.String
			EndTime   graphql.Float
			StartTime graphql.Float
			Title     graphql.String
			Zone      struct {
				ID graphql.Int
			}
			MasterData struct {
				Lang      graphql.String
				Abilities []struct {
					GameID graphql.Int `graphql:"gameID"`
					Type   graphql.String
				}
				Actors []struct {
					GameID   graphql.Int `graphql:"gameID"`
					Name     graphql.String
					PetOwner graphql.Int
					Type     graphql.String
					SubType  graphql.String
				}
			}
			Fights []struct {
				EncounterID graphql.Int `graphql:"encounterID"`
				EndTime     graphql.Float
				StartTime   graphql.Float
				Name        graphql.String
				EnemyNPCs   []struct {
					GameID        graphql.Int `graphql:"gameID"`
					ID            graphql.Int
					InstanceCount graphql.Int
					GroupCount    graphql.Int
				} `graphql:"enemyNPCs"`
				FriendlyPlayers []graphql.Int
				FightPercentage graphql.Float
				Kill            graphql.Boolean
			} `graphql:"fights(killType: All)"`
		} `graphql:"report(code: $code)"`
	}
}

type GetReportEvents

type GetReportEvents struct {
	ReportData struct {
		Report struct {
			Events struct {
				Data              []graphql.String
				NextPageTimestamp graphql.Float
			} `graphql:"events(startTime: $startTime, endTime: $endTime, limit: 10000)"`
		} `graphql:"report(code: $code)"`
	}
}

type ListReports

type ListReports struct {
	ReportData struct {
		Reports struct {
			Data []struct {
				Code      graphql.String `graphql:"code"`
				StartTime graphql.Float  `graphql:"startTime"`
				EndTime   graphql.Float  `graphql:"endTime"`
			} `graphql:"data"`
		} `graphql:"reports(guildID: $guildID, startTime: $startTime, endTime: $endTime)"`
	} `graphql:"reportData"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL