Documentation
¶
Index ¶
- Variables
- func LoadData() error
- type ArtifactName
- type ArtifactTierLootStore
- type DurationTypeName
- type LootStore
- type MissionLevel
- type MissionLevelLootStore
- type MissionLootStore
- type RarityName
- type ShipName
- type SourceArtifactFamilyLootStore
- type SourceArtifactTierLootStore
- type SourceLootStore
- type SourceMissionLevelLootStore
- type SourceMissionLootStore
- type SourceShipLootStore
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SourceData SourceLootStore Data LootStore )
Functions ¶
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 ¶
func (n DurationTypeName) ToEnum() (api.MissionInfo_DurationType, error)
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 SourceArtifactFamilyLootStore ¶
type SourceArtifactFamilyLootStore map[api.ArtifactSpec_Level]SourceArtifactTierLootStore
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
type SourceShipLootStore ¶
type SourceShipLootStore map[DurationTypeName]SourceMissionLootStore
Click to show internal directories.
Click to hide internal directories.