Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Config *api.ArtifactsConfigurationResponse
Functions ¶
func LoadConfig ¶
func LoadConfig() error
Types ¶
type CoreFamily ¶
type CoreFamily struct { Id string `json:"id"` AfxId api.ArtifactSpec_Name `json:"afx_id"` Name string `json:"name"` AfxType api.ArtifactSpec_Type `json:"afx_type"` Type string `json:"type"` SortKey uint32 `json:"sort_key"` ChildAfxIds []api.ArtifactSpec_Name `json:"child_afx_ids"` }
type CoreTier ¶
type CoreTier struct { ItemIdentifiers TierNumber int `json:"tier_number"` TierName string `json:"tier_name"` AfxType api.ArtifactSpec_Type `json:"afx_type"` Type string `json:"type"` IconFilename string `json:"icon_filename"` }
type CraftingPrice ¶
type Effect ¶
type Effect struct { AfxRarity api.ArtifactSpec_Rarity `json:"afx_rarity"` Rarity string `json:"rarity"` Effect string `json:"effect"` EffectTarget string `json:"effect_target"` EffectSize string `json:"effect_size"` FamilyEffect string `json:"family_effect"` // May be null (for stones). Slots *uint32 `json:"slots"` }
type Family ¶
type Family struct { CoreFamily Effect string `json:"effect"` EffectTarget string `json:"effect_target"` Tiers []*Tier `json:"tiers"` }
type Ingredient ¶
type ItemIdentifiers ¶
type ItemIdentifiers struct { Id string `json:"id"` AfxId api.ArtifactSpec_Name `json:"afx_id"` AfxLevel api.ArtifactSpec_Level `json:"afx_level"` Name string `json:"name"` }
type Recipe ¶
type Recipe struct { Ingredients []Ingredient `json:"ingredients"` CraftingPrice CraftingPrice `json:"crafting_price"` }
type Store ¶
type Store struct { Schema string `json:"$schema"` ArtifactFamilies []*Family `json:"artifact_families"` }
var Data *Store
type Tier ¶
type Tier struct { Family *CoreFamily `json:"family"` CoreTier Quality float64 `json:"quality"` Craftable bool `json:"craftable"` BaseCraftingPrices []float64 `json:"base_crafting_prices"` HasRarities bool `json:"has_rarities"` PossibleAfxRarities []api.ArtifactSpec_Rarity `json:"possible_afx_rarities"` HasEffects bool `json:"has_effects"` AvailableFromMissions bool `json:"available_from_missions"` Effects []*Effect `json:"effects"` Recipe *Recipe `json:"recipe"` IngredientsAvailableFromMissions bool `json:"ingredients_available_from_missions"` HardDependencies []Ingredient `json:"hard_dependencies"` }
Click to show internal directories.
Click to hide internal directories.