model

package
v0.0.0-...-9a6fb03 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type AscensionMaterial

type AscensionMaterial struct {
	ID          int      `json:"id"`
	Concepts    string   `json:"concepts"`
	Rarity      int      `json:"rarity"`
	Type        []string `json:"type"`
	Description string   `json:"description"`
	Story       string   `json:"story"`
	Icon        string   `json:"icon"`
}

type AscensionMaterialWithQuantity

type AscensionMaterialWithQuantity struct {
	Material *AscensionMaterial `json:"material"`
	Quantity string             `json:"quantity"`
}

type AscensionMaterials

type AscensionMaterials struct {
	Quantity int       `json:"quantity"`
	Material *Material `json:"material"`
}

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 Eidolon

type Eidolon struct {
	Index       int    `json:"index"`
	Image       string `json:"image"`
	Title       string `json:"title"`
	Description string `json:"description"`
}

type EidolonInput

type EidolonInput struct {
	Index       int    `json:"index"`
	Image       string `json:"image"`
	Title       string `json:"title"`
	Description string `json:"description"`
}

type ImageInput

type ImageInput struct {
	Splash      string `json:"splash"`
	Profile     string `json:"profile"`
	Transparent string `json:"transparent"`
}

type Images

type Images struct {
	Profile     string  `json:"profile"`
	Splash      string  `json:"splash"`
	Transparent *string `json:"transparent,omitempty"`
}

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 Material

type Material struct {
	Name        string   `json:"name"`
	Rarity      int      `json:"rarity"`
	Type        []string `json:"type"`
	Description string   `json:"description"`
	Story       string   `json:"story"`
}

type MaterialInput

type MaterialInput struct {
	Name        string   `json:"name"`
	Rarity      int      `json:"rarity"`
	Type        []string `json:"type"`
	Description string   `json:"description"`
	Story       string   `json:"story"`
}

type Path

type Path string

An enum representing different paths.

const (
	PathDestruction  Path = "Destruction"
	PathHunt         Path = "Hunt"
	PathErudition    Path = "Erudition"
	PathHarmony      Path = "Harmony"
	PathNihility     Path = "Nihility"
	PathPreservation Path = "Preservation"
	PathAbundance    Path = "Abundance"
)

func (Path) IsValid

func (e Path) IsValid() bool

func (Path) MarshalGQL

func (e Path) MarshalGQL(w io.Writer)

func (Path) String

func (e Path) String() string

func (*Path) UnmarshalGQL

func (e *Path) UnmarshalGQL(v interface{}) error

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 RelicSet

type RelicSet struct {
	Concepts    string  `json:"concepts"`
	Image       string  `json:"image"`
	Type        SetType `json:"type"`
	Description string  `json:"description"`
	Story       string  `json:"story"`
}

type RelicType

type RelicType string

An enum representing different relic types.

const (
	RelicTypeCavernRelics    RelicType = "CavernRelics"
	RelicTypePlanarOrnaments RelicType = "PlanarOrnaments"
)

func (RelicType) IsValid

func (e RelicType) IsValid() bool

func (RelicType) MarshalGQL

func (e RelicType) MarshalGQL(w io.Writer)

func (RelicType) String

func (e RelicType) String() string

func (*RelicType) UnmarshalGQL

func (e *RelicType) UnmarshalGQL(v interface{}) error

type SetType

type SetType string

An enum representing different set types.

const (
	SetTypeHead         SetType = "head"
	SetTypeHeads        SetType = "heads"
	SetTypeBody         SetType = "body"
	SetTypeFeet         SetType = "feet"
	SetTypePlanarSphere SetType = "planarSphere"
	SetTypeLinkRope     SetType = "linkRope"
)

func (SetType) IsValid

func (e SetType) IsValid() bool

func (SetType) MarshalGQL

func (e SetType) MarshalGQL(w io.Writer)

func (SetType) String

func (e SetType) String() string

func (*SetType) UnmarshalGQL

func (e *SetType) UnmarshalGQL(v interface{}) error

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"`
}

Jump to

Keyboard shortcuts

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