loot

package
v0.0.0-...-fe0651d Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SourceData SourceLootStore
	Data       LootStore
)

Functions

func LoadData

func LoadData() error

Types

type ArtifactName

type ArtifactName string

func (ArtifactName) ToEnum

func (n ArtifactName) ToEnum() (api.ArtifactSpec_Name, error)

type ArtifactTierLootStore

type ArtifactTierLootStore struct {
	AfxId    api.ArtifactSpec_Name  `json:"afxId"`
	AfxLevel api.ArtifactSpec_Level `json:"afxLevel"`
	ItemId   string                 `json:"itemId"`
	Counts   [4]int                 `json:"counts"`
	// contains filtered or unexported fields
}

type DurationTypeName

type DurationTypeName string

func (DurationTypeName) ToEnum

type LootStore

type LootStore struct {
	Missions []MissionLootStore `json:"missions"`
}

type MissionLevel

type MissionLevel int

type MissionLevelLootStore

type MissionLevelLootStore struct {
	Level      MissionLevel            `json:"level"`
	TotalDrops int                     `json:"totalDrops"`
	Items      []ArtifactTierLootStore `json:"items"`
}

type MissionLootStore

type MissionLootStore struct {
	AfxShip         api.MissionInfo_Spaceship    `json:"afxShip"`
	AfxDurationType api.MissionInfo_DurationType `json:"afxDurationType"`
	MissionId       string                       `json:"missionId"`
	Levels          []MissionLevelLootStore      `json:"levels"`
}

type RarityName

type RarityName string

type ShipName

type ShipName string

func (ShipName) ToEnum

func (n ShipName) ToEnum() (api.MissionInfo_Spaceship, error)

type SourceArtifactTierLootStore

type SourceArtifactTierLootStore map[RarityName]int

type SourceLootStore

type SourceLootStore map[ShipName]SourceShipLootStore

type SourceMissionLevelLootStore

type SourceMissionLevelLootStore struct {
	TotalDrops int                                            `json:"count"`
	LootCounts map[ArtifactName]SourceArtifactFamilyLootStore `json:"rewards"`
}

type SourceMissionLootStore

type SourceMissionLootStore map[MissionLevel]SourceMissionLevelLootStore

Jump to

Keyboard shortcuts

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