v3

package
v0.0.0-...-570c91f Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AggregatedItemStats

type AggregatedItemStats struct {
	Matrix []*modelv2.OneDropMatrixElement `json:"matrix"`
	Trends map[string]*modelv2.StageTrend  `json:"trends"`
}

type AggregatedStageStats

type AggregatedStageStats struct {
	Matrix   []*modelv2.OneDropMatrixElement `json:"matrix"`
	Trends   map[string]*modelv2.StageTrend  `json:"trends"`
	Patterns []*OnePatternMatrixElement      `json:"patterns"`
}

type Init

type Init struct {
	Items  []*Item  `json:"items"`
	Stages []*Stage `json:"stages"`
	Zones  []*Zone  `json:"zones"`
}

type Item

type Item struct {
	ItemID    int             `bun:",pk,autoincrement" json:"pgItemId"`
	ArkItemID string          `json:"arkItemId"`
	Name      json.RawMessage `json:"name" swaggertype:"object"`
	Existence json.RawMessage `json:"existence" swaggertype:"object"`
	SortID    int             `json:"sortId"`
	Rarity    int             `json:"rarity"`
	Type      string          `json:"type"`
	Group     null.String     `json:"group,omitempty" swaggertype:"string"`
	Sprite    null.String     `json:"sprite,omitempty" swaggertype:"string"`
	Keywords  json.RawMessage `json:"keywords,omitempty" swaggertype:"object"`
}

type OneDrop

type OneDrop struct {
	ItemID   string `json:"itemId" example:"30012"`
	Quantity int    `json:"quantity" example:"1"`
}

type OnePatternMatrixElement

type OnePatternMatrixElement struct {
	StageID   string   `json:"stageId" example:"main_01-07"`
	Pattern   *Pattern `json:"pattern"`
	Times     int      `json:"times" example:"641734"`
	Quantity  int      `json:"quantity" example:"159486"`
	StartTime int64    `json:"start" example:"1633032000000"`
	EndTime   null.Int `json:"end,omitempty" swaggertype:"integer" extensions:"x-nullable"`
}

type Pattern

type Pattern struct {
	PatternID int        `json:"patternId" example:"1"`
	Drops     []*OneDrop `json:"drops"`
}

type PatternMatrixQueryResult

type PatternMatrixQueryResult struct {
	PatternMatrix []*OnePatternMatrixElement `json:"pattern_matrix"`
}

DropPattern

type Stage

type Stage struct {
	StageID          int             `bun:",pk,autoincrement" json:"pgStageId"`
	ArkStageID       string          `json:"arkStageId"`
	ZoneID           int             `json:"zoneId"`
	StageType        string          `json:"stageType"`
	ExtraProcessType null.String     `json:"extraProcessType,omitempty" swaggertype:"string"`
	Code             json.RawMessage `json:"code"`
	Sanity           null.Int        `json:"sanity" swaggertype:"integer,x-nullable"`
	Existence        json.RawMessage `json:"existence" swaggertype:"object"`
	MinClearTime     null.Int        `json:"minClearTime" swaggertype:"integer,x-nullable"`
}

type Zone

type Zone struct {
	ZoneID     int             `bun:",pk,autoincrement" json:"pgZoneId"`
	ArkZoneID  string          `json:"arkZoneId"`
	Index      int             `json:"index"`
	Category   string          `json:"category" example:"MAINLINE"`
	Type       null.String     `json:"type,omitempty" swaggertype:"string" example:"AWAKENING_HOUR"`
	Name       json.RawMessage `json:"name"`
	Existence  json.RawMessage `json:"existence" swaggertype:"object"`
	Background null.String     `json:"background,omitempty" swaggertype:"string"`
}

Jump to

Keyboard shortcuts

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