api_objects

package
v0.0.0-...-3691266 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

* SplatStats * * This is the API documentation for a future revision of SplatStats. * * API version: 0.4.0 * Contact: splatstats@cass-dlcm.dev * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdditionalGearPowers

type AdditionalGearPowers struct {
	Name  string `json:"name"`
	Image Image  `json:"image"`
}

type AfterGrade

type AfterGrade struct {
	Name string `json:"name"`
	ID   string `json:"id"`
}

func (*AfterGrade) DecodeId

func (ag *AfterGrade) DecodeId() error

func (*AfterGrade) FillFromId

func (ag *AfterGrade) FillFromId()

type Awards

type Awards struct {
	Name string `json:"name"`
	Rank string `json:"rank"`
}

type Background

type Background struct {
	TextColor struct {
		A float64 `json:"a"`
		B float64 `json:"b"`
		G float64 `json:"g"`
		R float64 `json:"r"`
	} `json:"textColor"`
	Image Image  `json:"image"`
	ID    string `json:"id"`
}

func (*Background) DecodeId

func (b *Background) DecodeId() error

func (*Background) FillFromId

func (b *Background) FillFromId()

type Badge

type Badge struct {
	Image Image  `json:"image"`
	ID    string `json:"id"`
}

func (*Badge) DecodeId

func (b *Badge) DecodeId() error

func (*Badge) EncodeId

func (b *Badge) EncodeId()

type Battle2

type Battle2 struct {
	UserId                  int64
	SplatnetJson            *BattleSplatnet         `json:"splatnet_json,omitempty"`
	SplatnetUpload          bool                    `json:"splatnet_upload"`
	StatInkJson             *BattleStatInk          `json:"stat_ink_json,omitempty"`
	StatInkUpload           bool                    `json:"stat_ink_upload"`
	BattleNumber            int64                   `json:"battle_number"`
	PlayerSplatnetId        string                  `json:"player_splatnet_id"`
	ElapsedTime             int                     `json:"elapsed_time"`
	HasDisconnectedPlayer   bool                    `json:"has_disconnected_player"`
	LeaguePoint             *float64                `json:"league_point,omitempty"`
	MatchType               enums.Lobby             `json:"match_type"`
	Rule                    enums.Rule              `json:"rule"`
	MyTeamCount             float64                 `json:"my_team_count"`
	OtherTeamCount          float64                 `json:"other_team_count"`
	SplatfestPoint          *float64                `json:"splatfest_point,omitempty"`
	SplatfestTitle          *string                 `json:"splatfest_title,omitempty"`
	Stage                   enums.BattleStage       `json:"stage"`
	TagId                   *string                 `json:"tag_id,omitempty"`
	Time                    int                     `json:"time,omitempty"`
	Win                     bool                    `json:"win,omitempty"`
	WinMeter                *float64                `json:"win_meter,omitempty"`
	Opponent0SplatnetId     *string                 `json:"opponent0_splatnet_id,omitempty"`
	Opponent0Name           *string                 `json:"opponent0_name,omitempty"`
	Opponent0Rank           *string                 `json:"opponent0_rank,omitempty"`
	Opponent0LevelStar      *int                    `json:"opponent0_level_star,omitempty"`
	Opponent0Level          *int                    `json:"opponent0_level,omitempty"`
	Opponent0Weapon         *enums.BattleWeaponEnum `json:"opponent0_weapon,omitempty"`
	Opponent0Gender         *enums.GenderEnum       `json:"opponent0_gender,omitempty"`
	Opponent0Species        *enums.SpeciesEnum      `json:"opponent0_species,omitempty"`
	Opponent0Assists        *int                    `json:"opponent0_assists,omitempty"`
	Opponent0Deaths         *int                    `json:"opponent0_deaths,omitempty"`
	Opponent0GamePaintPoint *int                    `json:"opponent0_game_paint_point,omitempty"`
	Opponent0Kills          *int                    `json:"opponent0_kills,omitempty"`
	Opponent0Specials       *int                    `json:"opponent0_specials,omitempty"`
	Opponent0Headgear       *string                 `json:"opponent0_headgear,omitempty"`
	Opponent0HeadgearMain   *string                 `json:"opponent0_headgear_main,omitempty"`
	Opponent0HeadgearSub0   *string                 `json:"opponent0_headgear_sub0,omitempty"`
	Opponent0HeadgearSub1   *string                 `json:"opponent0_headgear_sub1,omitempty"`
	Opponent0HeadgearSub2   *string                 `json:"opponent0_headgear_sub2,omitempty"`
	Opponent0Clothes        *string                 `json:"opponent0_clothes,omitempty"`
	Opponent0ClothesMain    *string                 `json:"opponent0_clothes_main,omitempty"`
	Opponent0ClothesSub0    *string                 `json:"opponent0_clothes_sub0,omitempty"`
	Opponent0ClothesSub1    *string                 `json:"opponent0_clothes_sub1,omitempty"`
	Opponent0ClothesSub2    *string                 `json:"opponent0_clothes_sub2,omitempty"`
	Opponent0Shoes          *string                 `json:"opponent0_shoes,omitempty"`
	Opponent0ShoesMain      *string                 `json:"opponent0_shoes_main,omitempty"`
	Opponent0ShoesSub0      *string                 `json:"opponent0_shoes_sub0,omitempty"`
	Opponent0ShoesSub1      *string                 `json:"opponent0_shoes_sub1,omitempty"`
	Opponent0ShoesSub2      *string                 `json:"opponent0_shoes_sub2,omitempty"`
	Opponent1SplatnetId     *string                 `json:"opponent1_splatnet_id,omitempty"`
	Opponent1Name           *string                 `json:"opponent1_name,omitempty"`
	Opponent1Rank           *string                 `json:"opponent1_rank,omitempty"`
	Opponent1LevelStar      *int                    `json:"opponent1_level_star,omitempty"`
	Opponent1Level          *int                    `json:"opponent1_level,omitempty"`
	Opponent1Weapon         *enums.BattleWeaponEnum `json:"opponent1_weapon,omitempty"`
	Opponent1Gender         *enums.GenderEnum       `json:"opponent1_gender,omitempty"`
	Opponent1Species        *enums.SpeciesEnum      `json:"opponent1_species,omitempty"`
	Opponent1Assists        *int                    `json:"opponent1_assists,omitempty"`
	Opponent1Deaths         *int                    `json:"opponent1_deaths,omitempty"`
	Opponent1GamePaintPoint *int                    `json:"opponent1_game_paint_point,omitempty"`
	Opponent1Kills          *int                    `json:"opponent1_kills,omitempty"`
	Opponent1Specials       *int                    `json:"opponent1_specials,omitempty"`
	Opponent1Headgear       *string                 `json:"opponent1_headgear,omitempty"`
	Opponent1HeadgearMain   *string                 `json:"opponent1_headgear_main,omitempty"`
	Opponent1HeadgearSub0   *string                 `json:"opponent1_headgear_sub0,omitempty"`
	Opponent1HeadgearSub1   *string                 `json:"opponent1_headgear_sub1,omitempty"`
	Opponent1HeadgearSub2   *string                 `json:"opponent1_headgear_sub2,omitempty"`
	Opponent1Clothes        *string                 `json:"opponent1_clothes,omitempty"`
	Opponent1ClothesMain    *string                 `json:"opponent1_clothes_main,omitempty"`
	Opponent1ClothesSub0    *string                 `json:"opponent1_clothes_sub0,omitempty"`
	Opponent1ClothesSub1    *string                 `json:"opponent1_clothes_sub1,omitempty"`
	Opponent1ClothesSub2    *string                 `json:"opponent1_clothes_sub2,omitempty"`
	Opponent1Shoes          *string                 `json:"opponent1_shoes,omitempty"`
	Opponent1ShoesMain      *string                 `json:"opponent1_shoes_main,omitempty"`
	Opponent1ShoesSub0      *string                 `json:"opponent1_shoes_sub0,omitempty"`
	Opponent1ShoesSub1      *string                 `json:"opponent1_shoes_sub1,omitempty"`
	Opponent1ShoesSub2      *string                 `json:"opponent1_shoes_sub2,omitempty"`
	Opponent2SplatnetId     *string                 `json:"opponent2_splatnet_id,omitempty"`
	Opponent2Name           *string                 `json:"opponent2_name,omitempty"`
	Opponent2Rank           *string                 `json:"opponent2_rank,omitempty"`
	Opponent2LevelStar      *int                    `json:"opponent2_level_star,omitempty"`
	Opponent2Level          *int                    `json:"opponent2_level,omitempty"`
	Opponent2Weapon         *enums.BattleWeaponEnum `json:"opponent2_weapon,omitempty"`
	Opponent2Gender         *enums.GenderEnum       `json:"opponent2_gender,omitempty"`
	Opponent2Species        *enums.SpeciesEnum      `json:"opponent2_species,omitempty"`
	Opponent2Assists        *int                    `json:"opponent2_assists,omitempty"`
	Opponent2Deaths         *int                    `json:"opponent2_deaths,omitempty"`
	Opponent2GamePaintPoint *int                    `json:"opponent2_game_paint_point,omitempty"`
	Opponent2Kills          *int                    `json:"opponent2_kills,omitempty"`
	Opponent2Specials       *int                    `json:"opponent2_specials,omitempty"`
	Opponent2Headgear       *string                 `json:"opponent2_headgear,omitempty"`
	Opponent2HeadgearMain   *string                 `json:"opponent2_headgear_main,omitempty"`
	Opponent2HeadgearSub0   *string                 `json:"opponent2_headgear_sub0,omitempty"`
	Opponent2HeadgearSub1   *string                 `json:"opponent2_headgear_sub1,omitempty"`
	Opponent2HeadgearSub2   *string                 `json:"opponent2_headgear_sub2,omitempty"`
	Opponent2Clothes        *string                 `json:"opponent2_clothes,omitempty"`
	Opponent2ClothesMain    *string                 `json:"opponent2_clothes_main,omitempty"`
	Opponent2ClothesSub0    *string                 `json:"opponent2_clothes_sub0,omitempty"`
	Opponent2ClothesSub1    *string                 `json:"opponent2_clothes_sub1,omitempty"`
	Opponent2ClothesSub2    *string                 `json:"opponent2_clothes_sub2,omitempty"`
	Opponent2Shoes          *string                 `json:"opponent2_shoes,omitempty"`
	Opponent2ShoesMain      *string                 `json:"opponent2_shoes_main,omitempty"`
	Opponent2ShoesSub0      *string                 `json:"opponent2_shoes_sub0,omitempty"`
	Opponent2ShoesSub1      *string                 `json:"opponent2_shoes_sub1,omitempty"`
	Opponent2ShoesSub2      *string                 `json:"opponent2_shoes_sub2,omitempty"`
	Opponent3SplatnetId     *string                 `json:"opponent3_splatnet_id,omitempty"`
	Opponent3Name           *string                 `json:"opponent3_name,omitempty"`
	Opponent3Rank           *string                 `json:"opponent3_rank,omitempty"`
	Opponent3LevelStar      *int                    `json:"opponent3_level_star,omitempty"`
	Opponent3Level          *int                    `json:"opponent3_level,omitempty"`
	Opponent3Weapon         *enums.BattleWeaponEnum `json:"opponent3_weapon,omitempty"`
	Opponent3Gender         *enums.GenderEnum       `json:"opponent3_gender,omitempty"`
	Opponent3Species        *enums.SpeciesEnum      `json:"opponent3_species,omitempty"`
	Opponent3Assists        *int                    `json:"opponent3_assists,omitempty"`
	Opponent3Deaths         *int                    `json:"opponent3_deaths,omitempty"`
	Opponent3GamePaintPoint *int                    `json:"opponent3_game_paint_point,omitempty"`
	Opponent3Kills          *int                    `json:"opponent3_kills,omitempty"`
	Opponent3Specials       *int                    `json:"opponent3_specials,omitempty"`
	Opponent3Headgear       *string                 `json:"opponent3_headgear,omitempty"`
	Opponent3HeadgearMain   *string                 `json:"opponent3_headgear_main,omitempty"`
	Opponent3HeadgearSub0   *string                 `json:"opponent3_headgear_sub0,omitempty"`
	Opponent3HeadgearSub1   *string                 `json:"opponent3_headgear_sub1,omitempty"`
	Opponent3HeadgearSub2   *string                 `json:"opponent3_headgear_sub2,omitempty"`
	Opponent3Clothes        *string                 `json:"opponent3_clothes,omitempty"`
	Opponent3ClothesMain    *string                 `json:"opponent3_clothes_main,omitempty"`
	Opponent3ClothesSub0    *string                 `json:"opponent3_clothes_sub0,omitempty"`
	Opponent3ClothesSub1    *string                 `json:"opponent3_clothes_sub1,omitempty"`
	Opponent3ClothesSub2    *string                 `json:"opponent3_clothes_sub2,omitempty"`
	Opponent3Shoes          *string                 `json:"opponent3_shoes,omitempty"`
	Opponent3ShoesMain      *string                 `json:"opponent3_shoes_main,omitempty"`
	Opponent3ShoesSub0      *string                 `json:"opponent3_shoes_sub0,omitempty"`
	Opponent3ShoesSub1      *string                 `json:"opponent3_shoes_sub1,omitempty"`
	Opponent3ShoesSub2      *string                 `json:"opponent3_shoes_sub2,omitempty"`
	Teammate0SplatnetId     *string                 `json:"teammate0_splatnet_id,omitempty"`
	Teammate0Name           *string                 `json:"teammate0_name,omitempty"`
	Teammate0Rank           *string                 `json:"teammate0_rank,omitempty"`
	Teammate0LevelStar      *int                    `json:"teammate0_level_star,omitempty"`
	Teammate0Level          *int                    `json:"teammate0_level,omitempty"`
	Teammate0Weapon         *enums.BattleWeaponEnum `json:"teammate0_weapon,omitempty"`
	Teammate0Gender         *enums.GenderEnum       `json:"teammate0_gender,omitempty"`
	Teammate0Species        *enums.SpeciesEnum      `json:"teammate0_species,omitempty"`
	Teammate0Assists        *int                    `json:"teammate0_assists,omitempty"`
	Teammate0Deaths         *int                    `json:"teammate0_deaths,omitempty"`
	Teammate0GamePaintPoint *int                    `json:"teammate0_game_paint_point,omitempty"`
	Teammate0Kills          *int                    `json:"teammate0_kills,omitempty"`
	Teammate0Specials       *int                    `json:"teammate0_specials,omitempty"`
	Teammate0Headgear       *string                 `json:"teammate0_headgear,omitempty"`
	Teammate0HeadgearMain   *string                 `json:"teammate0_headgear_main,omitempty"`
	Teammate0HeadgearSub0   *string                 `json:"teammate0_headgear_sub0,omitempty"`
	Teammate0HeadgearSub1   *string                 `json:"teammate0_headgear_sub1,omitempty"`
	Teammate0HeadgearSub2   *string                 `json:"teammate0_headgear_sub2,omitempty"`
	Teammate0Clothes        *string                 `json:"teammate0_clothes,omitempty"`
	Teammate0ClothesMain    *string                 `json:"teammate0_clothes_main,omitempty"`
	Teammate0ClothesSub0    *string                 `json:"teammate0_clothes_sub0,omitempty"`
	Teammate0ClothesSub1    *string                 `json:"teammate0_clothes_sub1,omitempty"`
	Teammate0ClothesSub2    *string                 `json:"teammate0_clothes_sub2,omitempty"`
	Teammate0Shoes          *string                 `json:"teammate0_shoes,omitempty"`
	Teammate0ShoesMain      *string                 `json:"teammate0_shoes_main,omitempty"`
	Teammate0ShoesSub0      *string                 `json:"teammate0_shoes_sub0,omitempty"`
	Teammate0ShoesSub1      *string                 `json:"teammate0_shoes_sub1,omitempty"`
	Teammate0ShoesSub2      *string                 `json:"teammate0_shoes_sub2,omitempty"`
	Teammate1SplatnetId     *string                 `json:"teammate1_splatnet_id,omitempty"`
	Teammate1Name           *string                 `json:"teammate1_name,omitempty"`
	Teammate1Rank           *string                 `json:"teammate1_rank,omitempty"`
	Teammate1LevelStar      *int                    `json:"teammate1_level_star,omitempty"`
	Teammate1Level          *int                    `json:"teammate1_level,omitempty"`
	Teammate1Weapon         *enums.BattleWeaponEnum `json:"teammate1_weapon,omitempty"`
	Teammate1Gender         *enums.GenderEnum       `json:"teammate1_gender,omitempty"`
	Teammate1Species        *enums.SpeciesEnum      `json:"teammate1_species,omitempty"`
	Teammate1Assists        *int                    `json:"teammate1_assists,omitempty"`
	Teammate1Deaths         *int                    `json:"teammate1_deaths,omitempty"`
	Teammate1GamePaintPoint *int                    `json:"teammate1_game_paint_point,omitempty"`
	Teammate1Kills          *int                    `json:"teammate1_kills,omitempty"`
	Teammate1Specials       *int                    `json:"teammate1_specials,omitempty"`
	Teammate1Headgear       *string                 `json:"teammate1_headgear,omitempty"`
	Teammate1HeadgearMain   *string                 `json:"teammate1_headgear_main,omitempty"`
	Teammate1HeadgearSub0   *string                 `json:"teammate1_headgear_sub0,omitempty"`
	Teammate1HeadgearSub1   *string                 `json:"teammate1_headgear_sub1,omitempty"`
	Teammate1HeadgearSub2   *string                 `json:"teammate1_headgear_sub2,omitempty"`
	Teammate1Clothes        *string                 `json:"teammate1_clothes,omitempty"`
	Teammate1ClothesMain    *string                 `json:"teammate1_clothes_main,omitempty"`
	Teammate1ClothesSub0    *string                 `json:"teammate1_clothes_sub0,omitempty"`
	Teammate1ClothesSub1    *string                 `json:"teammate1_clothes_sub1,omitempty"`
	Teammate1ClothesSub2    *string                 `json:"teammate1_clothes_sub2,omitempty"`
	Teammate1Shoes          *string                 `json:"teammate1_shoes,omitempty"`
	Teammate1ShoesMain      *string                 `json:"teammate1_shoes_main,omitempty"`
	Teammate1ShoesSub0      *string                 `json:"teammate1_shoes_sub0,omitempty"`
	Teammate1ShoesSub1      *string                 `json:"teammate1_shoes_sub1,omitempty"`
	Teammate1ShoesSub2      *string                 `json:"teammate1_shoes_sub2,omitempty"`
	Teammate2SplatnetId     *string                 `json:"teammate2_splatnet_id,omitempty"`
	Teammate2Name           *string                 `json:"teammate2_name,omitempty"`
	Teammate2Rank           *string                 `json:"teammate2_rank,omitempty"`
	Teammate2LevelStar      *int                    `json:"teammate2_level_star,omitempty"`
	Teammate2Level          *int                    `json:"teammate2_level,omitempty"`
	Teammate2Weapon         *enums.BattleWeaponEnum `json:"teammate2_weapon,omitempty"`
	Teammate2Gender         *enums.GenderEnum       `json:"teammate2_gender,omitempty"`
	Teammate2Species        *enums.SpeciesEnum      `json:"teammate2_species,omitempty"`
	Teammate2Assists        *int                    `json:"teammate2_assists,omitempty"`
	Teammate2Deaths         *int                    `json:"teammate2_deaths,omitempty"`
	Teammate2GamePaintPoint *int                    `json:"teammate2_game_paint_point,omitempty"`
	Teammate2Kills          *int                    `json:"teammate2_kills,omitempty"`
	Teammate2Specials       *int                    `json:"teammate2_specials,omitempty"`
	Teammate2Headgear       *string                 `json:"teammate2_headgear,omitempty"`
	Teammate2HeadgearMain   *string                 `json:"teammate2_headgear_main,omitempty"`
	Teammate2HeadgearSub0   *string                 `json:"teammate2_headgear_sub0,omitempty"`
	Teammate2HeadgearSub1   *string                 `json:"teammate2_headgear_sub1,omitempty"`
	Teammate2HeadgearSub2   *string                 `json:"teammate2_headgear_sub2,omitempty"`
	Teammate2Clothes        *string                 `json:"teammate2_clothes,omitempty"`
	Teammate2ClothesMain    *string                 `json:"teammate2_clothes_main,omitempty"`
	Teammate2ClothesSub0    *string                 `json:"teammate2_clothes_sub0,omitempty"`
	Teammate2ClothesSub1    *string                 `json:"teammate2_clothes_sub1,omitempty"`
	Teammate2ClothesSub2    *string                 `json:"teammate2_clothes_sub2,omitempty"`
	Teammate2Shoes          *string                 `json:"teammate2_shoes,omitempty"`
	Teammate2ShoesMain      *string                 `json:"teammate2_shoes_main,omitempty"`
	Teammate2ShoesSub0      *string                 `json:"teammate2_shoes_sub0,omitempty"`
	Teammate2ShoesSub1      *string                 `json:"teammate2_shoes_sub1,omitempty"`
	Teammate2ShoesSub2      *string                 `json:"teammate2_shoes_sub2,omitempty"`
	PlayerName              string                  `json:"player_name"`
	PlayerRank              *string                 `json:"player_rank,omitempty"`
	PlayerLevelStar         int                     `json:"player_level_star"`
	PlayerLevel             int                     `json:"player_level"`
	PlayerWeapon            enums.BattleWeaponEnum  `json:"player_weapon"`
	PlayerGender            enums.GenderEnum        `json:"player_gender"`
	PlayerSpecies           enums.SpeciesEnum       `json:"player_species"`
	PlayerAssists           int                     `json:"player_assists"`
	PlayerDeaths            int                     `json:"player_deaths"`
	PlayerGamePaintPoint    int                     `json:"player_game_paint_point"`
	PlayerKills             int                     `json:"player_kills"`
	PlayerSpecials          int                     `json:"player_specials"`
	PlayerHeadgear          string                  `json:"player_headgear"`
	PlayerHeadgearMain      string                  `json:"player_headgear_main"`
	PlayerHeadgearSub0      *string                 `json:"player_headgear_sub0"`
	PlayerHeadgearSub1      *string                 `json:"player_headgear_sub1"`
	PlayerHeadgearSub2      *string                 `json:"player_headgear_sub2"`
	PlayerClothes           string                  `json:"player_clothes"`
	PlayerClothesMain       string                  `json:"player_clothes_main"`
	PlayerClothesSub0       *string                 `json:"player_clothes_sub0"`
	PlayerClothesSub1       *string                 `json:"player_clothes_sub1"`
	PlayerClothesSub2       *string                 `json:"player_clothes_sub2"`
	PlayerShoes             string                  `json:"player_shoes"`
	PlayerShoesMain         string                  `json:"player_shoes_main"`
	PlayerShoesSub0         *string                 `json:"player_shoes_sub0"`
	PlayerShoesSub1         *string                 `json:"player_shoes_sub1"`
	PlayerShoesSub2         *string                 `json:"player_shoes_sub2"`
}

type Battle3

type Battle3 struct {
	Data struct {
		VsHistoryDetail struct {
			Typename              string        `json:"__typename"`
			ID                    string        `json:"id"`
			VsRule                VsRule        `json:"vsRule"`
			VsMode                VsMode        `json:"vsMode"`
			Player                Player        `json:"player"`
			Judgement             string        `json:"judgement"`
			MyTeam                MyTeam        `json:"myTeam"`
			VsStage               VsStage       `json:"vsStage"`
			FestMatch             any           `json:"festMatch"`
			Knockout              string        `json:"knockout"`
			OtherTeams            []OtherTeams  `json:"otherTeams"`
			BankaraMatch          any           `json:"bankaraMatch"`
			XMatch                any           `json:"xMatch"`
			Duration              int           `json:"duration"`
			PlayedTime            time.Time     `json:"playedTime"`
			Awards                []Awards      `json:"awards"`
			LeagueMatch           any           `json:"leagueMatch"`
			NextHistoryDetail     HistoryDetail `json:"nextHistoryDetail"`
			PreviousHistoryDetail HistoryDetail `json:"previousHistoryDetail"`
		} `json:"vsHistoryDetail"`
	} `json:"data"`
}

func (*Battle3) DecodeId

func (b *Battle3) DecodeId() error

func (*Battle3) EncodeId

func (b *Battle3) EncodeId()

type BattleSpecialWeapon

type BattleSpecialWeapon struct {
	MaskingImage MaskingImage `json:"maskingImage"`
	ID           string       `json:"id"`
	Name         string       `json:"name"`
	Image        Image        `json:"image"`
}

type BattleSplatnet

type BattleSplatnet struct {
	Udemae              *BattleSplatnetUdemae        `json:"udemae,omitempty"`
	Stage               BattleSplatnetTriple         `json:"stage"`
	OtherTeamCount      *int                         `json:"other_team_count,omitempty"`
	MyTeamCount         *int                         `json:"my_team_count,omitempty"`
	StarRank            int                          `json:"star_rank"`
	Rule                BattleSplatnetRule           `json:"rule"`
	PlayerResult        BattleSplatnetPlayerResult   `json:"player_result"`
	EstimateGachiPower  *int                         `json:"estimate_gachi_power"`
	ElapsedTime         int                          `json:"elapsed_time"`
	StartTime           int                          `json:"start_time"`
	GameMode            SplatnetDouble               `json:"game_mode"`
	XPower              *interface{}                 `json:"x_power,omitempty"`
	BattleNumber        string                       `json:"battle_number"`
	Type                string                       `json:"type"`
	PlayerRank          int                          `json:"player_rank"`
	CrownPlayers        *interface{}                 `json:"crown_players,omitempty"`
	MyTeamMembers       []BattleSplatnetPlayerResult `json:"my_team_members"`
	OtherTeamMembers    []BattleSplatnetPlayerResult `json:"other_team_members"`
	WeaponPaintPoint    int                          `json:"weapon_paint_point"`
	Rank                *interface{}                 `json:"rank,omitempty"`
	MyTeamResult        SplatnetDouble               `json:"my_team_result"`
	EstimateXPower      *interface{}                 `json:"estimate_x_power,omitempty"`
	OtherTeamResult     SplatnetDouble               `json:"other_team_result"`
	LeaguePoint         *float64                     `json:"league_point,omitempty"`
	WinMeter            *float64                     `json:"win_meter,omitempty"`
	MyTeamPercentage    *float64                     `json:"my_team_percentage,omitempty"`
	OtherTeamPercentage *float64                     `json:"other_team_percentage,omitempty"`
	TagId               *string                      `json:"tag_id,omitempty"`
}

type BattleSplatnetPlayerResult

type BattleSplatnetPlayerResult struct {
	DeathCount     int                              `json:"death_count"`
	GamePaintPoint int                              `json:"game_paint_point"`
	KillCount      int                              `json:"kill_count"`
	SpecialCount   int                              `json:"special_count"`
	AssistCount    int                              `json:"assist_count"`
	SortScore      int                              `json:"sort_score"`
	Player         BattleSplatnetPlayerResultPlayer `json:"player"`
}

type BattleSplatnetPlayerResultPlayer

type BattleSplatnetPlayerResultPlayer struct {
	HeadSkills    BattleSplatnetPlayerResultPlayerSkills   `json:"head_skills"`
	ShoesSkills   BattleSplatnetPlayerResultPlayerSkills   `json:"shoes_skills"`
	ClothesSkills BattleSplatnetPlayerResultPlayerSkills   `json:"clothes_skills"`
	PlayerRank    int                                      `json:"player_rank"`
	StarRank      int                                      `json:"star_rank"`
	Nickname      string                                   `json:"nickname"`
	PlayerType    SplatnetPlayerType                       `json:"player_type"`
	PrincipalId   string                                   `json:"principal_id"`
	Head          BattleSplatnetPlayerResultPlayerClothing `json:"head"`
	Clothes       BattleSplatnetPlayerResultPlayerClothing `json:"clothes"`
	Shoes         BattleSplatnetPlayerResultPlayerClothing `json:"shoes"`
	Udemae        *BattleSplatnetUdemae                    `json:"udemae,omitempty"`
	Weapon        BattleSplatnetPlayerResultPlayerWeapon   `json:"weapon"`
}

type BattleSplatnetPlayerResultPlayerClothing

type BattleSplatnetPlayerResultPlayerClothing struct {
	Id        string                                        `json:"id"`
	Image     string                                        `json:"image"`
	Name      string                                        `json:"name"`
	Thumbnail string                                        `json:"thumbnail"`
	Kind      string                                        `json:"kind"`
	Rarity    int                                           `json:"rarity"`
	Brand     BattleSplatnetPlayerResultPlayerClothingBrand `json:"brand"`
}

type BattleSplatnetPlayerResultPlayerClothingBrand

type BattleSplatnetPlayerResultPlayerClothingBrand struct {
	Id            string               `json:"id"`
	Image         string               `json:"image"`
	Name          string               `json:"name"`
	FrequentSkill BattleSplatnetTriple `json:"frequent_skill"`
}

type BattleSplatnetPlayerResultPlayerSkills

type BattleSplatnetPlayerResultPlayerSkills struct {
	Main BattleSplatnetTriple   `json:"main,omitempty"`
	Subs []BattleSplatnetTriple `json:"subs,omitempty"`
}

type BattleSplatnetPlayerResultPlayerWeapon

type BattleSplatnetPlayerResultPlayerWeapon struct {
	Id        enums.BattleWeaponEnum `json:"id"`
	Image     string                 `json:"image"`
	Name      string                 `json:"name"`
	Thumbnail string                 `json:"thumbnail"`
	Sub       SplatnetQuad           `json:"sub"`
	Special   SplatnetQuad           `json:"special"`
}

type BattleSplatnetRule

type BattleSplatnetRule struct {
	Key           string `json:"key"`
	Name          string `json:"name"`
	MultilineName string `json:"multiline_name"`
}

type BattleSplatnetTriple

type BattleSplatnetTriple struct {
	Id    string `json:"id"`
	Image string `json:"image"`
	Name  string `json:"name"`
}

type BattleSplatnetUdemae

type BattleSplatnetUdemae struct {
	Name            string `json:"name,omitempty"`
	IsX             bool   `json:"is_x,omitempty"`
	IsNumberReached bool   `json:"is_number_reached,omitempty"`
	Number          int    `json:"number,omitempty"`
	SPlusNumber     int    `json:"s_plus_number,omitempty"`
}

type BattleStatInk

type BattleStatInk struct {
	Id                             int                     `json:"id"`
	SplatnetNumber                 int                     `json:"splatnet_number"`
	Url                            string                  `json:"url"`
	User                           BattleStatInkUser       `json:"user"`
	Lobby                          StatInkKeyName          `json:"lobby"`
	Mode                           StatInkKeyName          `json:"mode"`
	Rule                           StatInkKeyName          `json:"rule"`
	Map                            BattleStatInkMap        `json:"map"`
	Weapon                         BattleStatInkWeapon     `json:"weapon,omitempty"`
	Freshness                      *BattleStatInkFreshness `json:"freshness,omitempty"`
	Rank                           *BattleStatInkRank      `json:"rank,omitempty"`
	RankExp                        *int                    `json:"rank_exp,omitempty"`
	RankAfter                      *BattleStatInkRank      `json:"rank_after,omitempty"`
	XPower                         *interface{}            `json:"x_power,omitempty"`
	XPowerAfter                    *interface{}            `json:"x_power_after,omitempty"`
	EstimateXPower                 *interface{}            `json:"estimate_x_power,omitempty"`
	Level                          int                     `json:"level"`
	LevelAfter                     int                     `json:"level_after"`
	StarRank                       int                     `json:"star_rank"`
	Result                         string                  `json:"result"`
	KnockOut                       bool                    `json:"knock_out"`
	RankInTeam                     int                     `json:"rank_in_team"`
	Kill                           int                     `json:"kill"`
	Death                          int                     `json:"death"`
	KillOrAssist                   int                     `json:"kill_or_assist"`
	Special                        int                     `json:"special"`
	KillRatio                      float64                 `json:"kill_ratio"`
	KillRate                       float64                 `json:"kill_rate"`
	MaxKillCombo                   *interface{}            `json:"max_kill_combo,omitempty"`
	MaxKillStreak                  *interface{}            `json:"max_kill_streak,omitempty"`
	DeathReasons                   *interface{}            `json:"death_reasons,omitempty"`
	MyPoint                        int                     `json:"my_point"`
	EstimateGachiPower             *int                    `json:"estimate_gachi_power,omitempty"`
	LeaguePoint                    *string                 `json:"league_point,omitempty"`
	MyTeamEstimateLeaguePoint      *int                    `json:"my_team_estimate_league_point,omitempty"`
	HisTeamEstimateLeaguePoint     *int                    `json:"his_team_estimate_league_point,omitempty"`
	MyTeamPoint                    *interface{}            `json:"my_team_point,omitempty"`
	HisTeamPoint                   *interface{}            `json:"his_team_point,omitempty"`
	MyTeamPercent                  *string                 `json:"my_team_percent,omitempty"`
	HisTeamPercent                 *string                 `json:"his_team_percent,omitempty"`
	MyTeamId                       *string                 `json:"my_team_id,omitempty"`
	HisTeamId                      *string                 `json:"his_team_id,omitempty"`
	Species                        StatInkKeyName          `json:"species"`
	Gender                         StatInkGender           `json:"gender"`
	FestTitle                      *StatInkKeyName         `json:"fest_title,omitempty"`
	FestExp                        *int                    `json:"fest_exp,omitempty"`
	FestTitleAfter                 *StatInkKeyName         `json:"fest_title_after,omitempty"`
	FestExpAfter                   *int                    `json:"fest_exp_after,omitempty"`
	FestPower                      *string                 `json:"fest_power,omitempty"`
	MyTeamEstimateFestPower        *int                    `json:"my_team_estimate_fest_power,omitempty"`
	HisTeamMyTeamEstimateFestPower *int                    `json:"his_team_my_team_estimate_fest_power,omitempty"`
	MyTeamFestTheme                *string                 `json:"my_team_fest_theme,omitempty"`
	MyTeamNickname                 *string                 `json:"my_team_nickname,omitempty"`
	HisTeamNickname                *string                 `json:"his_team_nickname,omitempty"`
	Clout                          *int                    `json:"clout,omitempty"`
	TotalClout                     *int                    `json:"total_clout,omitempty"`
	TotalCloutAfter                *int                    `json:"total_clout_after,omitempty"`
	MyTeamWinStreak                *int                    `json:"my_team_win_streak,omitempty"`
	HisTeamWinStreak               *int                    `json:"his_team_win_streak,omitempty"`
	SynergyBonus                   *float64                `json:"synergy_bonus,omitempty"`
	SpecialBattle                  *StatInkKeyName         `json:"special_battle,omitempty"`
	ImageResult                    *string                 `json:"image_result"`
	ImageGear                      *string                 `json:"image_gear"`
	Gears                          BattleStatInkGears      `json:"gears"`
	Period                         int                     `json:"period"`
	PeriodRange                    string                  `json:"period_range"`
	Players                        []BattleStatInkPlayer   `json:"players"`
	Events                         *interface{}            `json:"events,omitempty"`
	SplatnetJson                   *interface{}            `json:"splatnet_json,omitempty"`
	Agent                          BattleStatInkAgent      `json:"agent"`
	Automated                      bool                    `json:"automated"`
	Environment                    *interface{}            `json:"environment,omitempty"`
	LinkUrl                        string                  `json:"link_url"`
	Note                           *interface{}            `json:"note,omitempty"`
	GameVersion                    string                  `json:"game_version"`
	NawabariBonus                  *int                    `json:"nawabari_bonus,omitempty"`
	StartAt                        StatInkTime             `json:"start_at"`
	EndAt                          StatInkTime             `json:"end_at"`
	RegisterAt                     StatInkTime             `json:"register_at"`
}

type BattleStatInkAgent

type BattleStatInkAgent struct {
	Name            string                       `json:"name"`
	Version         string                       `json:"version"`
	GameVersion     *interface{}                 `json:"game_version,omitempty"`
	GameVersionDate *interface{}                 `json:"game_version_date,omitempty"`
	Custom          *interface{}                 `json:"custom,omitempty"`
	Variables       *BattleStatInkAgentVariables `json:"variables,omitempty"`
}

type BattleStatInkAgentVariables

type BattleStatInkAgentVariables struct {
	UploadMode string `json:"upload_mode,omitempty"`
}

type BattleStatInkFreshness

type BattleStatInkFreshness struct {
	Freshness float64     `json:"freshness"`
	Title     StatInkName `json:"title"`
}

type BattleStatInkGears

type BattleStatInkGears struct {
	Headgear BattleStatInkGearsClothes `json:"headgear"`
	Clothing BattleStatInkGearsClothes `json:"clothing"`
	Shoes    BattleStatInkGearsClothes `json:"shoes"`
}

type BattleStatInkGearsClothes

type BattleStatInkGearsClothes struct {
	Gear               BattleStatInkGearsClothesGear `json:"gear"`
	PrimaryAbility     StatInkKeyName                `json:"primary_ability"`
	SecondaryAbilities []StatInkKeyName              `json:"secondary_abilities"`
}

type BattleStatInkGearsClothesGear

type BattleStatInkGearsClothesGear struct {
	Key            string         `json:"key"`
	Name           StatInkName    `json:"name"`
	Splatnet       int            `json:"splatnet"`
	Type           StatInkKeyName `json:"type"`
	Brand          StatInkKeyName `json:"brand"`
	PrimaryAbility StatInkKeyName `json:"primary_ability"`
}

type BattleStatInkMap

type BattleStatInkMap struct {
	Key       string      `json:"key"`
	Name      StatInkName `json:"name"`
	Splatnet  int         `json:"splatnet"`
	Area      int         `json:"area"`
	ReleaseAt StatInkTime `json:"release_at"`
	ShortName StatInkName `json:"short_name"`
}

type BattleStatInkPlayer

type BattleStatInkPlayer struct {
	Team         string              `json:"team"`
	IsMe         bool                `json:"is_me"`
	Weapon       BattleStatInkWeapon `json:"weapon"`
	Level        int                 `json:"level"`
	Rank         *BattleStatInkRank  `json:"rank,omitempty"`
	StarRank     int                 `json:"star_rank"`
	RankInTeam   int                 `json:"rank_in_team"`
	Kill         int                 `json:"kill"`
	Death        int                 `json:"death"`
	KillOrAssist int                 `json:"kill_or_assist"`
	Special      int                 `json:"special"`
	MyKill       *interface{}        `json:"my_kill,omitempty"`
	Point        int                 `json:"point"`
	Name         string              `json:"name"`
	Species      *StatInkKeyName     `json:"species"`
	Gender       StatInkGender       `json:"gender"`
	FestTitle    *StatInkKeyName     `json:"fest_title,omitempty"`
	SplatnetId   string              `json:"splatnet_id"`
	Top500       bool                `json:"top_500"`
	Icon         string              `json:"icon"`
}

type BattleStatInkRank

type BattleStatInkRank struct {
	Key  string         `json:"key"`
	Name StatInkName    `json:"name"`
	Zone StatInkKeyName `json:"zone"`
}

type BattleStatInkUser

type BattleStatInkUser struct {
	Id         int            `json:"id"`
	Name       string         `json:"name"`
	ScreenName string         `json:"screen_name"`
	Url        string         `json:"url"`
	JoinAt     StatInkTime    `json:"join_at"`
	Profile    StatInkProfile `json:"profile"`
	//Stat       *interface{}           `json:"stat,omitempty"`
	Stats BattleStatInkUserStats `json:"stats"`
}

type BattleStatInkUserStats

type BattleStatInkUserStats struct {
	V1 *interface{}              `json:"v1,omitempty"`
	V2 *BattleStatInkUserStatsV2 `json:"v2,omitempty"`
}

type BattleStatInkUserStatsV2

type BattleStatInkUserStatsV2 struct {
	UpdatedAt StatInkTime                      `json:"updated_at"`
	Entire    BattleStatInkUserStatsV2Entire   `json:"entire"`
	Nawabari  BattleStatInkUserStatsV2Nawabari `json:"nawabari"`
	Gachi     BattleStatInkUserStatsV2Gachi    `json:"gachi"`
}

type BattleStatInkUserStatsV2Entire

type BattleStatInkUserStatsV2Entire struct {
	Battles     int     `json:"battles"`
	WinPct      float64 `json:"win_pct"`
	KillRatio   float64 `json:"kill_ratio"`
	KillTotal   int     `json:"kill_total"`
	KillAvg     float64 `json:"kill_avg"`
	KillPerMin  float64 `json:"kill_per_min"`
	DeathTotal  int     `json:"death_total"`
	DeathAvg    float64 `json:"death_avg"`
	DeathPerMin float64 `json:"death_per_min"`
}

type BattleStatInkUserStatsV2Gachi

type BattleStatInkUserStatsV2Gachi struct {
	Battles     int                                `json:"battles"`
	WinPct      float64                            `json:"win_pct"`
	KillRatio   float64                            `json:"kill_ratio"`
	KillTotal   int                                `json:"kill_total"`
	KillAvg     float64                            `json:"kill_avg"`
	KillPerMin  float64                            `json:"kill_per_min"`
	DeathTotal  int                                `json:"death_total"`
	DeathAvg    float64                            `json:"death_avg"`
	DeathPerMin float64                            `json:"death_per_min"`
	Rules       BattleStatInkUserStatsV2GachiRules `json:"rules"`
}

type BattleStatInkUserStatsV2GachiRules

type BattleStatInkUserStatsV2GachiRules struct {
	Area   BattleStatInkUserStatsV2GachiRulesSub `json:"area"`
	Yagura BattleStatInkUserStatsV2GachiRulesSub `json:"yagura"`
	Hoko   BattleStatInkUserStatsV2GachiRulesSub `json:"hoko"`
	Asari  BattleStatInkUserStatsV2GachiRulesSub `json:"asari"`
}

type BattleStatInkUserStatsV2GachiRulesSub

type BattleStatInkUserStatsV2GachiRulesSub struct {
	RankPeak    string `json:"rank_peak"`
	RankCurrent string `json:"rank_current"`
}

type BattleStatInkUserStatsV2Nawabari

type BattleStatInkUserStatsV2Nawabari struct {
	Battles     int     `json:"battles"`
	WinPct      float64 `json:"win_pct"`
	KillRatio   float64 `json:"kill_ratio"`
	KillTotal   int     `json:"kill_total"`
	KillAvg     float64 `json:"kill_avg"`
	KillPerMin  float64 `json:"kill_per_min"`
	DeathTotal  int     `json:"death_total"`
	DeathAvg    float64 `json:"death_avg"`
	DeathPerMin float64 `json:"death_per_min"`
	TotalInked  int     `json:"total_inked"`
	MaxInked    int     `json:"max_inked"`
	AvgInked    float64 `json:"avg_inked"`
}

type BattleStatInkWeapon

type BattleStatInkWeapon struct {
	Key         enums.BattleStatinkWeaponEnum `json:"key"`
	Name        StatInkName                   `json:"name"`
	Splatnet    int                           `json:"splatnet"`
	Type        BattleStatInkWeaponType       `json:"type"`
	ReskinOf    *string                       `json:"reskin_of"`
	MainRef     string                        `json:"main_ref"`
	Sub         StatInkKeyName                `json:"sub"`
	Special     StatInkKeyName                `json:"special"`
	MainPowerUp StatInkKeyName                `json:"main_power_up"`
}

type BattleStatInkWeaponType

type BattleStatInkWeaponType struct {
	Key      string         `json:"key"`
	Name     StatInkName    `json:"name"`
	Category StatInkKeyName `json:"category"`
}

type BattleWeapon

type BattleWeapon struct {
	Name             string              `json:"name"`
	Image            Image               `json:"image"`
	SpecialWeapon    BattleSpecialWeapon `json:"specialWeapon"`
	ID               string              `json:"id"`
	Image3D          Image3D             `json:"image3d"`
	Image2D          Image2D             `json:"image2d"`
	Image3DThumbnail Image3DThumbnail    `json:"image3dThumbnail"`
	Image2DThumbnail Image2DThumbnail    `json:"image2dThumbnail"`
	SubWeapon        SubWeapon           `json:"subWeapon"`
}

func (*BattleWeapon) DecodeId

func (bw *BattleWeapon) DecodeId() error

func (*BattleWeapon) EncodeId

func (bw *BattleWeapon) EncodeId()

type BossResult

type BossResult struct {
	HasDefeatBoss bool  `json:"hasDefeatBoss"`
	Boss          Enemy `json:"boss"`
}

type Brand

type Brand struct {
	Name           string         `json:"name"`
	Image          Image          `json:"image"`
	UsualGearPower UsualGearPower `json:"usualGearPower"`
	ID             string         `json:"id"`
}

func (*Brand) DecodeId

func (b *Brand) DecodeId() error

func (*Brand) EncodeId

func (b *Brand) EncodeId()

type ClothingGear

type ClothingGear struct {
	Name                 string                 `json:"name"`
	Image                Image                  `json:"image"`
	IsGear               string                 `json:"__isGear"`
	PrimaryGearPower     PrimaryGearPower       `json:"primaryGearPower"`
	AdditionalGearPowers []AdditionalGearPowers `json:"additionalGearPowers"`
	OriginalImage        OriginalImage          `json:"originalImage"`
	Brand                Brand                  `json:"brand"`
}

type Color

type Color struct {
	A float64 `json:"a"`
	B float64 `json:"b"`
	G float64 `json:"g"`
	R float64 `json:"r"`
}

type CoopStage

type CoopStage struct {
	Name  string `json:"name"`
	Image Image  `json:"image"`
	ID    string `json:"id"`
}

func (*CoopStage) DecodeId

func (cs *CoopStage) DecodeId() error

func (*CoopStage) FillFromId

func (cs *CoopStage) FillFromId()

type Enemy

type Enemy struct {
	Name  string `json:"name"`
	ID    string `json:"id"`
	Image Image  `json:"image"`
}

func (*Enemy) DecodeId

func (e *Enemy) DecodeId() error

func (*Enemy) FillFromId

func (e *Enemy) FillFromId()

type EnemyResult

type EnemyResult struct {
	DefeatCount     int   `json:"defeatCount"`
	TeamDefeatCount int   `json:"teamDefeatCount"`
	PopCount        int   `json:"popCount"`
	Enemy           Enemy `json:"enemy"`
}

type EventWave

type EventWave struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

func (*EventWave) DecodeId

func (ew *EventWave) DecodeId() error

func (*EventWave) FillFromId

func (ew *EventWave) FillFromId()

type HeadGear

type HeadGear struct {
	Name                 string                 `json:"name"`
	Image                Image                  `json:"image"`
	IsGear               string                 `json:"__isGear"`
	PrimaryGearPower     PrimaryGearPower       `json:"primaryGearPower"`
	AdditionalGearPowers []AdditionalGearPowers `json:"additionalGearPowers"`
	OriginalImage        OriginalImage          `json:"originalImage"`
	Brand                Brand                  `json:"brand"`
}

type HistoryDetail

type HistoryDetail struct {
	ID string `json:"id"`
}

type Image

type Image struct {
	URL string `json:"url"`
}

type Image2D

type Image2D struct {
	URL string `json:"url"`
}

type Image2DThumbnail

type Image2DThumbnail struct {
	URL string `json:"url"`
}

type Image3D

type Image3D struct {
	URL string `json:"url"`
}

type Image3DThumbnail

type Image3DThumbnail struct {
	URL string `json:"url"`
}

type MaskingImage

type MaskingImage struct {
	Width           int    `json:"width"`
	Height          int    `json:"height"`
	MaskImageURL    string `json:"maskImageUrl"`
	OverlayImageURL string `json:"overlayImageUrl"`
}

type MemberResults

type MemberResults struct {
	Player struct {
		IsPlayer  string `json:"__isPlayer"`
		Byname    string `json:"byname"`
		Name      string `json:"name"`
		NameID    string `json:"nameId"`
		Nameplate struct {
			Badges     []Badge    `json:"badges"`
			Background Background `json:"background"`
		} `json:"nameplate"`
		Uniform Uniform `json:"uniform"`
		ID      string  `json:"id"`
		Species string  `json:"species"`
	} `json:"player"`
	Weapons            []Weapon      `json:"weapons"`
	SpecialWeapon      SpecialWeapon `json:"specialWeapon"`
	DefeatEnemyCount   int           `json:"defeatEnemyCount"`
	DeliverCount       int           `json:"deliverCount"`
	GoldenAssistCount  int           `json:"goldenAssistCount"`
	GoldenDeliverCount int           `json:"goldenDeliverCount"`
	RescueCount        int           `json:"rescueCount"`
	RescuedCount       int           `json:"rescuedCount"`
}

func (*MemberResults) DecodeId

func (mr *MemberResults) DecodeId() error

func (*MemberResults) EncodeId

func (mr *MemberResults) EncodeId(userGameId, shiftId string, playedTime time.Time)

type MyTeam

type MyTeam struct {
	Color                Color      `json:"color"`
	Result               TeamResult `json:"result"`
	TricolorRole         any        `json:"tricolorRole"`
	FestTeamName         any        `json:"festTeamName"`
	FestUniformBonusRate any        `json:"festUniformBonusRate"`
	Judgement            string     `json:"judgement"`
	Players              []Players  `json:"players"`
	Order                int        `json:"order"`
	FestStreakWinCount   any        `json:"festStreakWinCount"`
	FestUniformName      any        `json:"festUniformName"`
}

type Nameplate

type Nameplate struct {
	Badges     []Badge    `json:"badges"`
	Background Background `json:"background"`
}

type OriginalImage

type OriginalImage struct {
	URL string `json:"url"`
}

type OtherTeams

type OtherTeams struct {
	Color              Color      `json:"color"`
	Result             TeamResult `json:"result"`
	TricolorRole       any        `json:"tricolorRole"`
	Judgement          string     `json:"judgement"`
	Players            []Players  `json:"players"`
	Order              int        `json:"order"`
	FestTeamName       any        `json:"festTeamName"`
	FestStreakWinCount any        `json:"festStreakWinCount"`
	FestUniformName    any        `json:"festUniformName"`
}

type Player

type Player struct {
	IsPlayer     string       `json:"__isPlayer"`
	Byname       string       `json:"byname"`
	Name         string       `json:"name"`
	NameID       string       `json:"nameId"`
	Nameplate    Nameplate    `json:"nameplate"`
	ID           string       `json:"id"`
	HeadGear     HeadGear     `json:"headGear"`
	ClothingGear ClothingGear `json:"clothingGear"`
	ShoesGear    ShoesGear    `json:"shoesGear"`
	Paint        int          `json:"paint"`
}

func (*Player) DecodeId

func (p *Player) DecodeId() error

func (*Player) EncodeId

func (p *Player) EncodeId(mode string, timeStamp time.Time, battleId string)

type PlayerResult

type PlayerResult struct {
	Kill       int `json:"kill"`
	Death      int `json:"death"`
	Assist     int `json:"assist"`
	Special    int `json:"special"`
	NoroshiTry any `json:"noroshiTry"`
}

type Players

type Players struct {
	ID             string       `json:"id"`
	Name           string       `json:"name"`
	IsMyself       bool         `json:"isMyself"`
	Byname         string       `json:"byname"`
	Weapon         BattleWeapon `json:"weapon"`
	Species        string       `json:"species"`
	IsPlayer       string       `json:"__isPlayer"`
	NameID         string       `json:"nameId"`
	Nameplate      Nameplate    `json:"nameplate"`
	HeadGear       HeadGear     `json:"headGear"`
	ClothingGear   ClothingGear `json:"clothingGear"`
	ShoesGear      ShoesGear    `json:"shoesGear"`
	Paint          int          `json:"paint"`
	Result         PlayerResult `json:"result"`
	Crown          bool         `json:"crown"`
	FestDragonCert string       `json:"festDragonCert"`
}

func (*Players) DecodeId

func (p *Players) DecodeId() error

func (*Players) EncodeId

func (p *Players) EncodeId(userPlayerId, mode string, timeStamp time.Time, battleId string)

type PrimaryGearPower

type PrimaryGearPower struct {
	Name  string `json:"name"`
	Image Image  `json:"image"`
}

type Scale

type Scale struct {
	Gold   int `json:"gold"`
	Silver int `json:"silver"`
	Bronze int `json:"bronze"`
}

type Shift2

type Shift2 struct {
	UserId                  int64                           `json:"user_id"`
	PlayerSplatnetId        string                          `json:"player_splatnet_id"`
	JobId                   int64                           `json:"job_id"`
	SplatnetUpload          bool                            `json:"splatnet_upload"`
	StatInkUpload           bool                            `json:"stat_ink_upload"`
	SplatnetJson            *ShiftSplatnet                  `json:"splatnet_json,omitempty"`
	StatInkJson             *ShiftStatInk                   `json:"stat_ink_json,omitempty"`
	StartTime               int64                           `json:"start_time"`
	PlayTime                int64                           `json:"play_time"`
	EndTime                 int64                           `json:"end_time"`
	DangerRate              float64                         `json:"danger_rate"`
	IsClear                 bool                            `json:"is_clear"`
	JobFailureReason        *enums.FailureReasonEnum        `json:"job_failure_reason,omitempty"`
	FailureWave             *int                            `json:"failure_wave,omitempty"`
	GradePoint              int                             `json:"grade_point"`
	GradePointDelta         int                             `json:"grade_point_delta"`
	JobScore                int                             `json:"job_score"`
	DrizzlerCount           int                             `json:"drizzler_count"`
	FlyfishCount            int                             `json:"flyfish_count"`
	GoldieCount             int                             `json:"goldie_count"`
	GrillerCount            int                             `json:"griller_count"`
	MawsCount               int                             `json:"maws_count"`
	ScrapperCount           int                             `json:"scrapper_count"`
	SteelEelCount           int                             `json:"steel_eel_count"`
	SteelheadCount          int                             `json:"steelhead_count"`
	StingerCount            int                             `json:"stinger_count"`
	Stage                   enums.SalmonStageEnum           `json:"stage"`
	PlayerName              string                          `json:"player_name"`
	PlayerDeathCount        int                             `json:"player_death_count"`
	PlayerReviveCount       int                             `json:"player_revive_count"`
	PlayerGoldenEggs        int                             `json:"player_golden_eggs"`
	PlayerPowerEggs         int                             `json:"player_power_eggs"`
	PlayerSpecial           enums.SalmonSpecial             `json:"player_special"`
	PlayerTitle             enums.SalmonTitle               `json:"player_title"`
	PlayerSpecies           enums.SpeciesEnum               `json:"player_species"`
	PlayerGender            enums.GenderEnum                `json:"player_gender"`
	PlayerW1Specials        int                             `json:"player_w1_specials"`
	PlayerW2Specials        *int                            `json:"player_w2_specials,omitempty"`
	PlayerW3Specials        *int                            `json:"player_w3_specials,omitempty"`
	PlayerW1Weapon          enums.SalmonWeaponEnum          `json:"player_w1_weapon"`
	PlayerW2Weapon          *enums.SalmonWeaponEnum         `json:"player_w2_weapon,omitempty"`
	PlayerW3Weapon          *enums.SalmonWeaponEnum         `json:"player_w3_weapon,omitempty"`
	PlayerDrizzlerKills     int                             `json:"player_drizzler_kills"`
	PlayerFlyfishKills      int                             `json:"player_flyfish_kills"`
	PlayerGoldieKills       int                             `json:"player_goldie_kills"`
	PlayerGrillerKills      int                             `json:"player_griller_kills"`
	PlayerMawsKills         int                             `json:"player_maws_kills"`
	PlayerScrapperKills     int                             `json:"player_scrapper_kills"`
	PlayerSteelEelKills     int                             `json:"player_steel_eel_kills"`
	PlayerSteelheadKills    int                             `json:"player_steelhead_kills"`
	PlayerStingerKills      int                             `json:"player_stinger_kills"`
	Teammate0SplatnetId     *string                         `json:"teammate_0_splatnet_id,omitempty"`
	Teammate0Name           *string                         `json:"teammate_0_name,omitempty"`
	Teammate0DeathCount     *int                            `json:"teammate_0_death_count,omitempty"`
	Teammate0ReviveCount    *int                            `json:"teammate_0_revive_count,omitempty"`
	Teammate0GoldenEggs     *int                            `json:"teammate_0_golden_eggs,omitempty"`
	Teammate0PowerEggs      *int                            `json:"teammate_0_power_eggs,omitempty"`
	Teammate0Special        *enums.SalmonSpecial            `json:"teammate_0_special,omitempty"`
	Teammate0Species        *enums.SpeciesEnum              `json:"teammate_0_species,omitempty"`
	Teammate0Gender         *enums.GenderEnum               `json:"teammate_0_gender,omitempty"`
	Teammate0W1Specials     *int                            `json:"teammate_0_w1_specials,omitempty"`
	Teammate0W2Specials     *int                            `json:"teammate_0_w2_specials,omitempty"`
	Teammate0W3Specials     *int                            `json:"teammate_0_w3_specials,omitempty"`
	Teammate0W1Weapon       *enums.SalmonWeaponEnum         `json:"teammate_0_w1_weapon,omitempty"`
	Teammate0W2Weapon       *enums.SalmonWeaponEnum         `json:"teammate_0_w2_weapon,omitempty"`
	Teammate0W3Weapon       *enums.SalmonWeaponEnum         `json:"teammate_0_w3_weapon,omitempty"`
	Teammate0DrizzlerKills  *int                            `json:"teammate_0_drizzler_kills,omitempty"`
	Teammate0FlyfishKills   *int                            `json:"teammate_0_flyfish_kills,omitempty"`
	Teammate0GoldieKills    *int                            `json:"teammate_0_goldie_kills,omitempty"`
	Teammate0GrillerKills   *int                            `json:"teammate_0_griller_kills,omitempty"`
	Teammate0MawsKills      *int                            `json:"teammate_0_maws_kills,omitempty"`
	Teammate0ScrapperKills  *int                            `json:"teammate_0_scrapper_kills,omitempty"`
	Teammate0SteelEelKills  *int                            `json:"teammate_0_steel_eel_kills,omitempty"`
	Teammate0SteelheadKills *int                            `json:"teammate_0_steelhead_kills,omitempty"`
	Teammate0StingerKills   *int                            `json:"teammate_0_stinger_kills,omitempty"`
	Teammate1SplatnetId     *string                         `json:"teammate_1_splatnet_id,omitempty"`
	Teammate1Name           *string                         `json:"teammate_1_name,omitempty"`
	Teammate1DeathCount     *int                            `json:"teammate_1_death_count,omitempty"`
	Teammate1ReviveCount    *int                            `json:"teammate_1_revive_count,omitempty"`
	Teammate1GoldenEggs     *int                            `json:"teammate_1_golden_eggs,omitempty"`
	Teammate1PowerEggs      *int                            `json:"teammate_1_power_eggs,omitempty"`
	Teammate1Special        *enums.SalmonSpecial            `json:"teammate_1_special,omitempty"`
	Teammate1Species        *enums.SpeciesEnum              `json:"teammate_1_species,omitempty"`
	Teammate1Gender         *enums.GenderEnum               `json:"teammate_1_gender,omitempty"`
	Teammate1W1Specials     *int                            `json:"teammate_1_w1_specials,omitempty"`
	Teammate1W2Specials     *int                            `json:"teammate_1_w2_specials,omitempty"`
	Teammate1W3Specials     *int                            `json:"teammate_1_w3_specials,omitempty"`
	Teammate1W1Weapon       *enums.SalmonWeaponEnum         `json:"teammate_1_w1_weapon,omitempty"`
	Teammate1W2Weapon       *enums.SalmonWeaponEnum         `json:"teammate_1_w2_weapon,omitempty"`
	Teammate1W3Weapon       *enums.SalmonWeaponEnum         `json:"teammate_1_w3_weapon,omitempty"`
	Teammate1DrizzlerKills  *int                            `json:"teammate_1_drizzler_kills,omitempty"`
	Teammate1FlyfishKills   *int                            `json:"teammate_1_flyfish_kills,omitempty"`
	Teammate1GoldieKills    *int                            `json:"teammate_1_goldie_kills,omitempty"`
	Teammate1GrillerKills   *int                            `json:"teammate_1_griller_kills,omitempty"`
	Teammate1MawsKills      *int                            `json:"teammate_1_maws_kills,omitempty"`
	Teammate1ScrapperKills  *int                            `json:"teammate_1_scrapper_kills,omitempty"`
	Teammate1SteelEelKills  *int                            `json:"teammate_1_steel_eel_kills,omitempty"`
	Teammate1SteelheadKills *int                            `json:"teammate_1_steelhead_kills,omitempty"`
	Teammate1StingerKills   *int                            `json:"teammate_1_stinger_kills,omitempty"`
	Teammate2SplatnetId     *string                         `json:"teammate_2_splatnet_id,omitempty"`
	Teammate2Name           *string                         `json:"teammate_2_name,omitempty"`
	Teammate2DeathCount     *int                            `json:"teammate_2_death_count,omitempty"`
	Teammate2ReviveCount    *int                            `json:"teammate_2_revive_count,omitempty"`
	Teammate2GoldenEggs     *int                            `json:"teammate_2_golden_eggs,omitempty"`
	Teammate2PowerEggs      *int                            `json:"teammate_2_power_eggs,omitempty"`
	Teammate2Special        *enums.SalmonSpecial            `json:"teammate_2_special,omitempty"`
	Teammate2Species        *enums.SpeciesEnum              `json:"teammate_2_species,omitempty"`
	Teammate2Gender         *enums.GenderEnum               `json:"teammate_2_gender,omitempty"`
	Teammate2W1Specials     *int                            `json:"teammate_2_w1_specials,omitempty"`
	Teammate2W2Specials     *int                            `json:"teammate_2_w2_specials,omitempty"`
	Teammate2W3Specials     *int                            `json:"teammate_2_w3_specials,omitempty"`
	Teammate2W1Weapon       *enums.SalmonWeaponEnum         `json:"teammate_2_w1_weapon,omitempty"`
	Teammate2W2Weapon       *enums.SalmonWeaponEnum         `json:"teammate_2_w2_weapon,omitempty"`
	Teammate2W3Weapon       *enums.SalmonWeaponEnum         `json:"teammate_2_w3_weapon,omitempty"`
	Teammate2DrizzlerKills  *int                            `json:"teammate_2_drizzler_kills,omitempty"`
	Teammate2FlyfishKills   *int                            `json:"teammate_2_flyfish_kills,omitempty"`
	Teammate2GoldieKills    *int                            `json:"teammate_2_goldie_kills,omitempty"`
	Teammate2GrillerKills   *int                            `json:"teammate_2_griller_kills,omitempty"`
	Teammate2MawsKills      *int                            `json:"teammate_2_maws_kills,omitempty"`
	Teammate2ScrapperKills  *int                            `json:"teammate_2_scrapper_kills,omitempty"`
	Teammate2SteelEelKills  *int                            `json:"teammate_2_steel_eel_kills,omitempty"`
	Teammate2SteelheadKills *int                            `json:"teammate_2_steelhead_kills,omitempty"`
	Teammate2StingerKills   *int                            `json:"teammate_2_stinger_kills,omitempty"`
	ScheduleEndTime         *int64                          `json:"schedule_end_time,omitempty"`
	ScheduleStartTime       int64                           `json:"schedule_start_time,omitempty"`
	ScheduleWeapon0         *enums.SalmonWeaponScheduleEnum `json:"schedule_weapon_0,omitempty"`
	ScheduleWeapon1         *enums.SalmonWeaponScheduleEnum `json:"schedule_weapon_1,omitempty"`
	ScheduleWeapon2         *enums.SalmonWeaponScheduleEnum `json:"schedule_weapon_2,omitempty"`
	ScheduleWeapon3         *enums.SalmonWeaponScheduleEnum `json:"schedule_weapon_3,omitempty"`
	Wave1WaterLevel         enums.SalmonWaterLevel          `json:"wave_1_water_level"`
	Wave1EventType          enums.SalmonEvent               `json:"wave_1_event_type"`
	Wave1GoldenDelivered    int                             `json:"wave_1_golden_ikura_num"`
	Wave1GoldenAppear       int                             `json:"wave_1_golden_ikura_pop_num"`
	Wave1PowerEggs          int                             `json:"wave_1_ikura_num"`
	Wave1Quota              int                             `json:"wave_1_quota_num"`
	Wave2WaterLevel         *enums.SalmonWaterLevel         `json:"wave_2_water_level,omitempty"`
	Wave2EventType          *enums.SalmonEvent              `json:"wave_2_event_type,omitempty"`
	Wave2GoldenDelivered    *int                            `json:"wave_2_golden_ikura_num,omitempty"`
	Wave2GoldenAppear       *int                            `json:"wave_2_golden_ikura_pop_num,omitempty"`
	Wave2PowerEggs          *int                            `json:"wave_2_ikura_num,omitempty"`
	Wave2Quota              *int                            `json:"wave_2_quota_num,omitempty"`
	Wave3WaterLevel         *enums.SalmonWaterLevel         `json:"wave_3_water_level,omitempty"`
	Wave3EventType          *enums.SalmonEvent              `json:"wave_3_event_type,omitempty"`
	Wave3GoldenDelivered    *int                            `json:"wave_3_golden_ikura_num,omitempty"`
	Wave3GoldenAppear       *int                            `json:"wave_3_golden_ikura_pop_num,omitempty"`
	Wave3PowerEggs          *int                            `json:"wave_3_ikura_num,omitempty"`
	Wave3Quota              *int                            `json:"wave_3_quota_num,omitempty"`
}

type Shift3

type Shift3 struct {
	Data struct {
		CoopHistoryDetail struct {
			Typename              string          `json:"__typename"`
			ID                    string          `json:"id"`
			AfterGrade            AfterGrade      `json:"afterGrade"`
			MyResult              MemberResults   `json:"myResult"`
			MemberResults         []MemberResults `json:"memberResults"`
			BossResult            *BossResult     `json:"bossResult"`
			EnemyResults          []EnemyResult   `json:"enemyResults"`
			WaveResults           []Wave3         `json:"waveResults"`
			ResultWave            int             `json:"resultWave"`
			PlayedTime            time.Time       `json:"playedTime"`
			Rule                  string          `json:"rule"`
			CoopStage             CoopStage       `json:"coopStage"`
			DangerRate            float64         `json:"dangerRate"`
			ScenarioCode          *string         `json:"scenarioCode"`
			SmellMeter            int             `json:"smellMeter"`
			Weapons               []Weapon        `json:"weapons"`
			AfterGradePoint       int             `json:"afterGradePoint"`
			Scale                 *Scale          `json:"scale"`
			JobPoint              int             `json:"jobPoint"`
			JobScore              int             `json:"jobScore"`
			JobRate               float64         `json:"jobRate"`
			JobBonus              int             `json:"jobBonus"`
			NextHistoryDetail     HistoryDetail   `json:"nextHistoryDetail"`
			PreviousHistoryDetail HistoryDetail   `json:"previousHistoryDetail"`
		} `json:"coopHistoryDetail"`
	} `json:"data"`
}

func (*Shift3) DecodeId

func (s *Shift3) DecodeId() error

func (*Shift3) EncodeId

func (s *Shift3) EncodeId()

type ShiftSplatnet

type ShiftSplatnet struct {
	JobId           int64                   `json:"job_id"`
	DangerRate      float64                 `json:"danger_rate"`
	JobResult       ShiftSplatnetJobResult  `json:"job_result"`
	JobScore        int                     `json:"job_score"`
	JobRate         int                     `json:"job_rate"`
	GradePoint      int                     `json:"grade_point"`
	GradePointDelta int                     `json:"grade_point_delta"`
	OtherResults    []ShiftSplatnetPlayer   `json:"other_results"`
	KumaPoint       int                     `json:"kuma_point"`
	StartTime       int64                   `json:"start_time"`
	PlayerType      SplatnetPlayerType      `json:"player_type"`
	PlayTime        int64                   `json:"play_time"`
	BossCounts      ShiftSplatnetBossCounts `json:"boss_counts"`
	EndTime         int64                   `json:"end_time"`
	MyResult        ShiftSplatnetPlayer     `json:"my_result"`
	WaveDetails     []ShiftSplatnetWave     `json:"wave_details"`
	Grade           ShiftSplatnetGrade      `json:"grade"`
	Schedule        ShiftSplatnetSchedule   `json:"schedule"`
}

type ShiftSplatnetBossCounts

type ShiftSplatnetBossCounts struct {
	Goldie    ShiftSplatnetBossCountsBoss `json:"3"`
	Steelhead ShiftSplatnetBossCountsBoss `json:"6"`
	Flyfish   ShiftSplatnetBossCountsBoss `json:"9"`
	Scrapper  ShiftSplatnetBossCountsBoss `json:"12"`
	SteelEel  ShiftSplatnetBossCountsBoss `json:"13"`
	Stinger   ShiftSplatnetBossCountsBoss `json:"14"`
	Maws      ShiftSplatnetBossCountsBoss `json:"15"`
	Griller   ShiftSplatnetBossCountsBoss `json:"16"`
	Drizzler  ShiftSplatnetBossCountsBoss `json:"21"`
}

type ShiftSplatnetBossCountsBoss

type ShiftSplatnetBossCountsBoss struct {
	Boss  ShiftSplatnetBossCountsBossDouble `json:"boss"`
	Count int                               `json:"count"`
}

type ShiftSplatnetBossCountsBossDouble

type ShiftSplatnetBossCountsBossDouble struct {
	Key  enums.ShiftSplatnetBossCountsBossDoubleKeyEnum `json:"key"`
	Name string                                         `json:"name"`
}

type ShiftSplatnetGrade

type ShiftSplatnetGrade struct {
	Id        string `json:"id,omitempty"`
	ShortName string `json:"short_name,omitempty"`
	LongName  string `json:"long_name,omitempty"`
	Name      string `json:"name,omitempty"`
}

type ShiftSplatnetJobResult

type ShiftSplatnetJobResult struct {
	IsClear       bool                     `json:"is_clear,omitempty"`
	FailureReason *enums.FailureReasonEnum `json:"failure_reason,omitempty"`
	FailureWave   *int                     `json:"failure_wave,omitempty"`
}

type ShiftSplatnetPlayer

type ShiftSplatnetPlayer struct {
	SpecialCounts  []int                           `json:"special_counts"`
	Special        SplatnetQuad                    `json:"special"`
	Pid            string                          `json:"pid"`
	PlayerType     SplatnetPlayerType              `json:"player_type"`
	WeaponList     []ShiftSplatnetPlayerWeaponList `json:"weapon_list"`
	Name           string                          `json:"name"`
	DeadCount      int                             `json:"dead_count"`
	GoldenEggs     int                             `json:"golden_ikura_num"`
	BossKillCounts ShiftSplatnetBossCounts         `json:"boss_kill_counts"`
	PowerEggs      int                             `json:"ikura_num"`
	HelpCount      int                             `json:"help_count"`
}

type ShiftSplatnetPlayerWeaponList

type ShiftSplatnetPlayerWeaponList struct {
	Id     string                              `json:"id"`
	Weapon ShiftSplatnetPlayerWeaponListWeapon `json:"weapon"`
}

type ShiftSplatnetPlayerWeaponListWeapon

type ShiftSplatnetPlayerWeaponListWeapon struct {
	Id        enums.SalmonWeaponEnum `json:"id"`
	Image     string                 `json:"image"`
	Name      string                 `json:"name"`
	Thumbnail string                 `json:"thumbnail"`
}

type ShiftSplatnetSchedule

type ShiftSplatnetSchedule struct {
	StartTime int64                         `json:"start_time"`
	Weapons   []ShiftSplatnetScheduleWeapon `json:"weapons"`
	EndTime   int64                         `json:"end_time"`
	Stage     ShiftSplatnetScheduleStage    `json:"stage"`
}

type ShiftSplatnetScheduleStage

type ShiftSplatnetScheduleStage struct {
	Image enums.SalmonSplatnetScheduleStageImageEnum `json:"image"`
	Name  enums.SalmonStageEnum                      `json:"name"`
}

type ShiftSplatnetScheduleWeapon

type ShiftSplatnetScheduleWeapon struct {
	Id                string                                    `json:"id"`
	Weapon            *ShiftSplatnetScheduleWeaponWeapon        `json:"weapon"`
	CoopSpecialWeapon *ShiftSplatnetScheduleWeaponSpecialWeapon `json:"coop_special_weapon"`
}

type ShiftSplatnetScheduleWeaponSpecialWeapon

type ShiftSplatnetScheduleWeaponSpecialWeapon struct {
	Image string                                `json:"image"`
	Name  enums.SalmonWeaponScheduleSpecialEnum `json:"name"`
}

type ShiftSplatnetScheduleWeaponWeapon

type ShiftSplatnetScheduleWeaponWeapon struct {
	Id        string                         `json:"id"`
	Image     string                         `json:"image"`
	Name      enums.SalmonWeaponScheduleEnum `json:"name"`
	Thumbnail string                         `json:"thumbnail"`
}

type ShiftSplatnetWave

type ShiftSplatnetWave struct {
	WaterLevel   SplatnetDouble `json:"water_level"`
	EventType    SplatnetDouble `json:"event_type"`
	GoldenEggs   int            `json:"golden_ikura_num"`
	GoldenAppear int            `json:"golden_ikura_pop_num"`
	PowerEggs    int            `json:"ikura_num"`
	QuotaNum     int            `json:"quota_num"`
}

type ShiftStatInk

type ShiftStatInk struct {
	Id              int                     `json:"id"`
	Uuid            string                  `json:"uuid"`
	SplatnetNumber  int64                   `json:"splatnet_number"`
	Url             string                  `json:"url"`
	ApiEndpoint     string                  `json:"api_endpoint"`
	User            ShiftStatInkUser        `json:"user"`
	Stage           ShiftStatInkStage       `json:"stage"`
	IsCleared       bool                    `json:"is_cleared"`
	FailReason      *ShiftStatInkFailReason `json:"fail_reason,omitempty"`
	ClearWaves      int                     `json:"clear_waves"`
	DangerRate      string                  `json:"danger_rate"`
	Quota           []int                   `json:"quota"`
	Title           ShiftStatInkTitle       `json:"title"`
	TitleExp        int                     `json:"title_exp"`
	TitleAfter      ShiftStatInkTitle       `json:"title_after"`
	TitleExpAfter   int                     `json:"title_exp_after"`
	BossAppearances []ShiftStatInkBossData  `json:"boss_appearances"`
	Waves           []ShiftStatInkWave      `json:"waves"`
	MyData          ShiftStatInkPlayer      `json:"my_data"`
	Teammates       []ShiftStatInkPlayer    `json:"teammates"`
	Agent           ShiftStatInkAgent       `json:"agent"`
	Automated       bool                    `json:"automated"`
	Note            *interface{}            `json:"note,omitempty"`
	LinkUrl         *interface{}            `json:"link_url,omitempty"`
	ShiftStartAt    StatInkTime             `json:"shift_start_at"`
	StartAt         StatInkTime             `json:"start_at"`
	EndAt           *interface{}            `json:"end_at,omitempty"`
	RegisterAt      StatInkTime             `json:"register_at"`
}

type ShiftStatInkAgent

type ShiftStatInkAgent struct {
	Name    string `json:"name"`
	Version string `json:"version"`
}

type ShiftStatInkBossData

type ShiftStatInkBossData struct {
	Boss  ShiftStatInkBossDataBoss `json:"boss"`
	Count int                      `json:"count"`
}

type ShiftStatInkBossDataBoss

type ShiftStatInkBossDataBoss struct {
	Splatnet    int    `json:"splatnet"`
	SplatnetStr string `json:"splatnetStr"`
}

type ShiftStatInkFailReason

type ShiftStatInkFailReason struct {
	Key  enums.FailureReasonEnum `json:"key"`
	Name StatInkName             `json:"name"`
}

type ShiftStatInkPlayer

type ShiftStatInkPlayer struct {
	SplatnetId         string                  `json:"splatnet_id"`
	Name               string                  `json:"name"`
	Special            ShiftStatInkTripleInt   `json:"special"`
	Rescue             int                     `json:"rescue"`
	Death              int                     `json:"death"`
	GoldenEggDelivered int                     `json:"golden_egg_delivered"`
	PowerEggCollected  int                     `json:"power_egg_collected"`
	Species            StatInkKeyName          `json:"species"`
	Gender             StatInkGender           `json:"gender"`
	SpecialUses        []int                   `json:"special_uses"`
	Weapons            []ShiftStatInkTripleInt `json:"weapons"`
	BossKills          []ShiftStatInkBossData  `json:"boss_kills"`
}

type ShiftStatInkStage

type ShiftStatInkStage struct {
	Key      string                `json:"key"`
	Name     ShiftStatInkStageName `json:"name"`
	Splatnet string                `json:"splatnet"`
}

type ShiftStatInkStageName

type ShiftStatInkStageName struct {
	DeDE string                `json:"de_DE,omitempty"`
	EnGB string                `json:"en_GB,omitempty"`
	EnUS enums.SalmonStageEnum `json:"en_US,omitempty"`
	EsES string                `json:"es_ES,omitempty"`
	EsMX string                `json:"es_MX,omitempty"`
	FrCA string                `json:"fr_CA,omitempty"`
	FrFR string                `json:"fr_FR,omitempty"`
	ItIT string                `json:"it_IT,omitempty"`
	JaJP string                `json:"ja_JP,omitempty"`
	NlNL string                `json:"nl_NL,omitempty"`
	RuRU string                `json:"ru_RU,omitempty"`
	ZhCN string                `json:"zh_CN,omitempty"`
	ZhTW string                `json:"zh_TW,omitempty"`
}

type ShiftStatInkTitle

type ShiftStatInkTitle struct {
	Splatnet    int         `json:"splatnet"`
	GenericName StatInkName `json:"generic_name"`
}

type ShiftStatInkTripleInt

type ShiftStatInkTripleInt struct {
	Key      string      `json:"key"`
	Name     StatInkName `json:"name"`
	Splatnet int         `json:"splatnet"`
}

type ShiftStatInkTripleString

type ShiftStatInkTripleString struct {
	Key      string      `json:"key"`
	Name     StatInkName `json:"name"`
	Splatnet string      `json:"splatnet"`
}

type ShiftStatInkUser

type ShiftStatInkUser struct {
	Id         int                   `json:"id"`
	Name       string                `json:"name"`
	ScreenName string                `json:"screen_name"`
	Url        string                `json:"url"`
	SalmonUrl  string                `json:"salmon_url"`
	BattleUrl  string                `json:"battle_url"`
	JoinAt     StatInkTime           `json:"join_at"`
	Profile    StatInkProfile        `json:"profile"`
	Stats      ShiftStatInkUserStats `json:"stats"`
}

type ShiftStatInkUserStats

type ShiftStatInkUserStats struct {
	WorkCount       int         `json:"work_count"`
	TotalGoldenEggs int         `json:"total_golden_eggs"`
	TotalEggs       int         `json:"total_eggs"`
	TotalRescued    int         `json:"total_rescued"`
	TotalPoint      int         `json:"total_point"`
	AsOf            StatInkTime `json:"as_of"`
	RegisteredAt    StatInkTime `json:"registered_at"`
}

type ShiftStatInkWave

type ShiftStatInkWave struct {
	KnownOccurrence      *ShiftStatInkTripleString `json:"known_occurrence,omitempty"`
	WaterLevel           *ShiftStatInkTripleString `json:"water_level,omitempty"`
	GoldenEggQuota       int                       `json:"golden_egg_quota"`
	GoldenEggAppearances int                       `json:"golden_egg_appearances"`
	GoldenEggDelivered   int                       `json:"golden_egg_delivered"`
	PowerEggCollected    int                       `json:"power_egg_collected"`
}

type ShoesGear

type ShoesGear struct {
	Name                 string                 `json:"name"`
	Image                Image                  `json:"image"`
	IsGear               string                 `json:"__isGear"`
	PrimaryGearPower     PrimaryGearPower       `json:"primaryGearPower"`
	AdditionalGearPowers []AdditionalGearPowers `json:"additionalGearPowers"`
	OriginalImage        OriginalImage          `json:"originalImage"`
	Brand                Brand                  `json:"brand"`
}

type Special

type Special struct {
	Name  string `json:"name"`
	Image Image  `json:"image"`
	ID    string `json:"ID"`
}

func (*Special) DecodeId

func (s *Special) DecodeId() error

func (*Special) FillFromId

func (s *Special) FillFromId()

type SpecialWeapon

type SpecialWeapon struct {
	Name     string `json:"name"`
	Image    Image  `json:"image"`
	WeaponID int    `json:"weaponId"`
}

func (*SpecialWeapon) FillFromId

func (sw *SpecialWeapon) FillFromId()

type SplatnetDouble

type SplatnetDouble struct {
	Key  string `json:"key"`
	Name string `json:"name"`
}

type SplatnetPlayerType

type SplatnetPlayerType struct {
	Gender  enums.GenderEnum  `json:"style,omitempty"`
	Species enums.SpeciesEnum `json:"species,omitempty"`
}

type SplatnetQuad

type SplatnetQuad struct {
	Id     string `json:"id"`
	ImageA string `json:"image_a"`
	ImageB string `json:"image_b"`
	Name   string `json:"name"`
}

type StatInkGender

type StatInkGender struct {
	Key     enums.GenderEnum `json:"key"`
	Name    StatInkName      `json:"name"`
	Iso5218 int              `json:"iso5218"`
}

type StatInkKeyName

type StatInkKeyName struct {
	Key  string      `json:"key"`
	Name StatInkName `json:"name"`
}

type StatInkName

type StatInkName struct {
	DeDE string `json:"de_DE,omitempty"`
	EnGB string `json:"en_GB,omitempty"`
	EnUS string `json:"en_US,omitempty"`
	EsES string `json:"es_ES,omitempty"`
	EsMX string `json:"es_MX,omitempty"`
	FrCA string `json:"fr_CA,omitempty"`
	FrFR string `json:"fr_FR,omitempty"`
	ItIT string `json:"it_IT,omitempty"`
	JaJP string `json:"ja_JP,omitempty"`
	NlNL string `json:"nl_NL,omitempty"`
	RuRU string `json:"ru_RU,omitempty"`
	ZhCN string `json:"zh_CN,omitempty"`
	ZhTW string `json:"zh_TW,omitempty"`
}

type StatInkProfile

type StatInkProfile struct {
	//Nnid        *interface{} `json:"nnid,omitempty"`
	FriendCode *string `json:"friend_code,omitempty"`
	Twitter    *string `json:"twitter,omitempty"`
}

type StatInkTime

type StatInkTime struct {
	Time    int       `json:"time"`
	Iso8601 time.Time `json:"iso8601"`
}

type SubWeapon

type SubWeapon struct {
	Name  string `json:"name"`
	Image Image  `json:"image"`
	ID    string `json:"id"`
}

type TeamResult

type TeamResult struct {
	PaintRatio *float64 `json:"paintRatio"`
	Score      *int     `json:"score"`
	Noroshi    any      `json:"noroshi"`
}

type ThumbnailImage

type ThumbnailImage struct {
	URL string `json:"url"`
}

type Uniform

type Uniform struct {
	Name  string `json:"name"`
	Image Image  `json:"image"`
	ID    string `json:"id"`
}

func (*Uniform) DecodeId

func (u *Uniform) DecodeId() error

func (*Uniform) FillFromId

func (u *Uniform) FillFromId()

type UserVerify

type UserVerify struct {
	Email     string
	EmailCode string
}

type UsualGearPower

type UsualGearPower struct {
	Name        string `json:"name"`
	Desc        string `json:"desc"`
	Image       Image  `json:"image"`
	IsEmptySlot bool   `json:"isEmptySlot"`
}

type VsMode

type VsMode struct {
	Mode string `json:"mode"`
	ID   string `json:"id"`
}

func (*VsMode) DecodeId

func (vm *VsMode) DecodeId() error

func (*VsMode) EncodeId

func (vm *VsMode) EncodeId()

type VsRule

type VsRule struct {
	Name string `json:"name"`
	ID   string `json:"id"`
	Rule string `json:"rule"`
}

func (*VsRule) DecodeId

func (vr *VsRule) DecodeId() error

func (*VsRule) EncodeId

func (vr *VsRule) EncodeId()

type VsStage

type VsStage struct {
	Name  string `json:"name"`
	Image Image  `json:"image"`
	ID    string `json:"id"`
}

func (*VsStage) DecodeId

func (vs *VsStage) DecodeId() error

func (*VsStage) EncodeId

func (vs *VsStage) EncodeId()

type Wave3

type Wave3 struct {
	WaveNumber       int        `json:"waveNumber"`
	WaterLevel       int        `json:"waterLevel"`
	EventWave        *EventWave `json:"eventWave"`
	DeliverNorm      int        `json:"deliverNorm"`
	GoldenPopCount   int        `json:"goldenPopCount"`
	TeamDeliverCount int        `json:"teamDeliverCount"`
	SpecialWeapons   []Special  `json:"specialWeapons"`
}

type Weapon

type Weapon struct {
	Name  string `json:"name"`
	Image Image  `json:"image"`
}

Jump to

Keyboard shortcuts

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