Documentation ¶
Index ¶
- Variables
- type AscensionMaterial
- type AscensionMaterialWithQuantity
- type AscensionMaterials
- type AscensionMaterialsInput
- type Character
- type CharacterInput
- type CombatType
- type Eidolon
- type EidolonInput
- type ImageInput
- type Images
- type LightCone
- type Material
- type MaterialInput
- type Path
- type Relic
- type RelicSet
- type RelicType
- type SetType
- type StatItem
- type StatItemInput
Constants ¶
This section is empty.
Variables ¶
View Source
var AllCombatType = []CombatType{ CombatTypePhysical, CombatTypeFire, CombatTypeIce, CombatTypeLightning, CombatTypeWind, CombatTypeQuantum, CombatTypeImaginary, }
View Source
var AllPath = []Path{ PathDestruction, PathHunt, PathErudition, PathHarmony, PathNihility, PathPreservation, PathAbundance, }
View Source
var AllRelicType = []RelicType{ RelicTypeCavernRelics, RelicTypePlanarOrnaments, }
View Source
var AllSetType = []SetType{ SetTypeHead, SetTypeHeads, SetTypeBody, SetTypeFeet, SetTypePlanarSphere, SetTypeLinkRope, }
Functions ¶
This section is empty.
Types ¶
type AscensionMaterial ¶
type AscensionMaterialWithQuantity ¶
type AscensionMaterialWithQuantity struct { Material *AscensionMaterial `json:"material"` Quantity string `json:"quantity"` }
type AscensionMaterials ¶
type AscensionMaterialsInput ¶
type AscensionMaterialsInput struct { Quantity int `json:"quantity"` Material *MaterialInput `json:"material"` }
type Character ¶
type Character struct { ID int `json:"id"` Name string `json:"name"` Images *Images `json:"images,omitempty"` Faction string `json:"faction"` Rarity int `json:"rarity"` Path Path `json:"path"` CombatType CombatType `json:"combatType"` Story string `json:"story"` Stats []*StatItem `json:"stats"` Eidolons []*Eidolon `json:"eidolons"` }
Character Data
type CharacterInput ¶
type CharacterInput struct { ID int `json:"id"` Name string `json:"name"` Images *ImageInput `json:"images,omitempty"` Faction string `json:"faction"` Rarity int `json:"rarity"` Path Path `json:"path"` CombatType CombatType `json:"combatType"` Story string `json:"story"` Stats []*StatItemInput `json:"stats"` Eidolons []*EidolonInput `json:"eidolons"` }
Input Character
type CombatType ¶
type CombatType string
An enum representing different combat types.
const ( CombatTypePhysical CombatType = "Physical" CombatTypeFire CombatType = "Fire" CombatTypeIce CombatType = "Ice" CombatTypeLightning CombatType = "Lightning" CombatTypeWind CombatType = "Wind" CombatTypeQuantum CombatType = "Quantum" CombatTypeImaginary CombatType = "Imaginary" )
func (CombatType) IsValid ¶
func (e CombatType) IsValid() bool
func (CombatType) MarshalGQL ¶
func (e CombatType) MarshalGQL(w io.Writer)
func (CombatType) String ¶
func (e CombatType) String() string
func (*CombatType) UnmarshalGQL ¶
func (e *CombatType) UnmarshalGQL(v interface{}) error
type EidolonInput ¶
type ImageInput ¶
type LightCone ¶
type LightCone struct { ID int `json:"id"` Concepts string `json:"concepts"` Icon string `json:"icon"` LargeIcon string `json:"largeIcon"` Rarity int `json:"rarity"` Path Path `json:"path"` Skill string `json:"skill"` SkillName string `json:"skillName"` Description string `json:"description"` Story string `json:"story"` AscensionMaterials []*AscensionMaterialWithQuantity `json:"ascensionMaterials"` }
LightCones
type MaterialInput ¶
type Path ¶
type Path string
An enum representing different paths.
func (Path) MarshalGQL ¶
func (*Path) UnmarshalGQL ¶
type Relic ¶
type Relic struct { ID int `json:"id"` Concepts string `json:"concepts"` Image string `json:"image"` Type RelicType `json:"type"` Head *RelicSet `json:"head,omitempty"` Hands *RelicSet `json:"hands,omitempty"` Body *RelicSet `json:"body,omitempty"` Feet *RelicSet `json:"feet,omitempty"` PlanarSphere *RelicSet `json:"planarSphere,omitempty"` LinkRope *RelicSet `json:"linkRope,omitempty"` SetEffect string `json:"setEffect"` }
Relics
type RelicType ¶
type RelicType string
An enum representing different relic types.
func (RelicType) MarshalGQL ¶
func (*RelicType) UnmarshalGQL ¶
type SetType ¶
type SetType string
An enum representing different set types.
func (SetType) MarshalGQL ¶
func (*SetType) UnmarshalGQL ¶
type StatItem ¶
type StatItem struct { Level string `json:"level"` Atk float64 `json:"atk"` Def float64 `json:"def"` Hp int `json:"hp"` Spd int `json:"spd"` CritRate string `json:"critRate"` CritDamage string `json:"critDamage"` Taunt int `json:"taunt"` Enengy int `json:"enengy"` AscensionMaterials []*AscensionMaterials `json:"ascensionMaterials"` }
type StatItemInput ¶
type StatItemInput struct { Level string `json:"level"` Atk float64 `json:"atk"` Def float64 `json:"def"` Hp int `json:"hp"` Spd int `json:"spd"` CritRate string `json:"critRate"` CritDamage string `json:"critDamage"` Taunt int `json:"taunt"` Energy int `json:"energy"` AscensionMaterials []*AscensionMaterialsInput `json:"ascensionMaterials"` }
Click to show internal directories.
Click to hide internal directories.