Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Activity ¶
type Activity struct { ActivityID int `bun:",pk,autoincrement" json:"id"` StartTime *time.Time `json:"startTime"` EndTime *time.Time `json:"endTime"` Name json.RawMessage `json:"name"` Existence json.RawMessage `json:"existence"` }
type Bounds ¶
type DropInfo ¶
type DropInfo struct { DropID int `bun:",pk,autoincrement" json:"id"` Server string `json:"server"` StageID int `json:"stageId"` ItemID null.Int `json:"itemId" swaggertype:"integer"` DropType string `json:"dropType"` RangeID int `json:"rangeId"` Accumulable bool `json:"accumulable"` Bounds *Bounds `json:"bounds"` Extras json.RawMessage `json:"extras,omitempty"` }
type DropReport ¶
type DropReport struct { ReportID int `bun:",pk,autoincrement" json:"id"` StageID int `json:"stageId"` PatternID int `json:"patternId"` Times int `json:"times"` CreatedAt *time.Time `json:"createdAt"` Reliability int `json:"reliability"` Server string `json:"server"` AccountID int `json:"accountId"` }
type Item ¶
type Item struct { // ItemID (penguinItemId) is the numerical ID of the item. ItemID int `bun:",pk,autoincrement" json:"penguinItemId"` // ArkItemID (itemId) is the previously used, string form ID of the item; in JSON-representation `itemId` is used as key. ArkItemID string `json:"itemId"` // Name is a map with language code as key and the name of the item in that language as value. Name json.RawMessage `json:"name" swaggertype:"object"` // Existence is a map with server code as key and the existence of the item in that server as value. Existence json.RawMessage `json:"existence" swaggertype:"object"` // SortID is the sort position of the item. SortID int `json:"sortId"` Rarity int `json:"rarity"` // Group is an identifier of what the item actually is. For example, both orirock and orirock cube would have the same group, `orirock`. Group null.String `json:"group,omitempty" swaggertype:"string"` // Sprite describes the location of the item's sprite on the sprite image, in a form of Y:X. Sprite null.String `json:"sprite,omitempty" swaggertype:"string"` // Keywords is an arbitrary JSON object containing the keywords of the item, for optimizing the results of the frontend built-in search engine. Keywords json.RawMessage `json:"keywords,omitempty" swaggertype:"object"` }
type Notice ¶
type Notice struct { NoticeID int `bun:",pk,autoincrement" json:"id"` Existence json.RawMessage `json:"existence" swaggertype:"object"` Severity null.Int `json:"severity" swaggertype:"integer"` Content json.RawMessage `json:"content_i18n"` }
type Stage ¶
type Stage struct { // StageID (penguinStageId) is the numerical ID of the stage. StageID int `bun:",pk,autoincrement" json:"penguinStageId"` // ArkStageID (stageId) is the previously used, string form ID of the stage; in JSON-representation `stageId` is used as key. ArkStageID string `json:"stageId"` // ZoneID is the numerical ID of the zone the stage is in. ZoneID int `json:"zoneId"` // StageType is the type of the stage, e.g. "MAIN", "SUB", "ACTIVITY" and "DAILY". StageType string `json:"stageType"` // ExtraProcessType is the type of extra process that is used in the stage, e.g. "GACHABOX". ExtraProcessType null.String `json:"extraProcessType" swaggertype:"string"` // Code is a map with language code as key and the code of the stage in that language as value. Code json.RawMessage `json:"code"` // Sanity is the sanity requirement for a full clear of the stage. Sanity null.Int `json:"sanity" swaggertype:"integer"` // Existence is a map with server code as key and the existence of the item in that server as value. Existence json.RawMessage `json:"existence" swaggertype:"object"` // MinClearTime is the minimum time (in milliseconds as a duration) it takes to clear the stage, referencing from prts.wiki MinClearTime null.Int `json:"minClearTime" swaggertype:"integer"` }
type StageExtended ¶
type TimeRange ¶
type TimeRange struct { RangeID int `bun:",pk,autoincrement" json:"id"` Name null.String `json:"name,omitempty" swaggertype:"string"` StartTime *time.Time `json:"startTime"` EndTime *time.Time `json:"endTime"` Comment null.String `json:"comment" swaggertype:"string"` Server string `json:"server"` }
func TimeRangeFromString ¶
type TrendElement ¶
type TrendElement struct { ElementID int `bun:",pk,autoincrement" json:"id"` StageID int `json:"stageId"` ItemID int `json:"itemId"` GroupID int `json:"groupId"` StartTime *time.Time `json:"startTime"` EndTime *time.Time `json:"endTime"` Quantity int `json:"quantity"` Times int `json:"times"` Server string `json:"server"` }
type Zone ¶
type Zone struct { // ZoneID is the numerical ID of the zone. ZoneID int `bun:",pk,autoincrement" json:"penguinZoneId"` ArkZoneID string `json:"zoneId"` Index int `json:"index"` // Category of the zone. Category string `json:"category" example:"MAINLINE"` // Type of the zone, e.g. "AWAKENING_HOUR" or "VISION_SHATTER". Optional and only occurres when `category` is "MAINLINE". Type null.String `json:"type,omitempty" swaggertype:"string" example:"AWAKENING_HOUR"` // Name is a map with language code as key and the name of the item in that language as value. Name json.RawMessage `json:"name"` // Existence is a map with server code as key and the existence of the item in that server as value. Existence json.RawMessage `json:"existence" swaggertype:"object"` // Background is the path of the background image of the zone, relative to the CDN endpoint. Background null.String `json:"background,omitempty" swaggertype:"string"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.