stagetable

package
v0.0.0-...-5ad4fe9 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: BSD-3-Clause Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BreakLadder

type BreakLadder struct {
	KillCnt     int64    `json:"killCnt"`
	BreakFeeAdd int64    `json:"breakFeeAdd"`
	Rewards     []Reward `json:"rewards"`
}

type Camp0

type Camp0 struct {
	StageID              string          `json:"stageId"`
	GainLadders          []GainLadder    `json:"gainLadders"`
	BreakLadders         []BreakLadder   `json:"breakLadders"`
	DropLadders          []DropLadder    `json:"dropLadders"`
	DisplayRewards       []DisplayReward `json:"displayRewards"`
	DisplayDetailRewards []DisplayReward `json:"displayDetailRewards"`
}

type CampG

type CampG struct {
	GroupID     string   `json:"groupId"`
	ActiveCamps []string `json:"activeCamps"`
	StartTs     int64    `json:"startTs"`
	EndTs       int64    `json:"endTs"`
}

type CampaignGroups

type CampaignGroups struct {
	CampG1 CampG `json:"camp_g_1"`
	CampG2 CampG `json:"camp_g_2"`
}

type Campaigns

type Campaigns struct {
	Camp01 Camp0 `json:"camp_01"`
	Camp02 Camp0 `json:"camp_02"`
}

type Difficulty

type Difficulty string
const (
	FourStar Difficulty = "FOUR_STAR"
	Normal   Difficulty = "NORMAL"
)

type DisplayDetailRewardType

type DisplayDetailRewardType string
const (
	ActivityCoin  DisplayDetailRewardType = "ACTIVITY_COIN"
	Char          DisplayDetailRewardType = "CHAR"
	Diamond       DisplayDetailRewardType = "DIAMOND"
	DiamondShd    DisplayDetailRewardType = "DIAMOND_SHD"
	FluffyCARDEXP DisplayDetailRewardType = "CARD_EXP"
	FluffyGOLD    DisplayDetailRewardType = "GOLD"
	Furn          DisplayDetailRewardType = "FURN"
	Material      DisplayDetailRewardType = "MATERIAL"
	TktRecruit    DisplayDetailRewardType = "TKT_RECRUIT"
)

type DisplayReward

type DisplayReward struct {
	OccPercent *int64                  `json:"occPercent,omitempty"`
	Type       DisplayDetailRewardType `json:"type"`
	ID         string                  `json:"id"`
	DropType   int64                   `json:"dropType"`
}

type DropInfo

type DropInfo struct {
	// FirstPassRewards     interface{}     `json:"firstPassRewards"`
	// PassRewards          interface{}     `json:"passRewards"`
	DisplayDetailRewards []DisplayReward `json:"displayDetailRewards"`
}

type DropLadder

type DropLadder struct {
	KillCnt  int64    `json:"killCnt"`
	DropInfo DropInfo `json:"dropInfo"`
}

type ForceOpenTable

type ForceOpenTable struct {
	ID            string   `json:"id"`
	StartTime     int64    `json:"startTime"`
	EndTime       int64    `json:"endTime"`
	ForceOpenList []string `json:"forceOpenList"`
}

type GainLadder

type GainLadder struct {
	KillCnt      int64 `json:"killCnt"`
	ApFailReturn int64 `json:"apFailReturn"`
	Favor        int64 `json:"favor"`
	ExpGain      int64 `json:"expGain"`
	GoldGain     int64 `json:"goldGain"`
}

type LoadingPicID

type LoadingPicID string
const (
	Loading1  LoadingPicID = "loading1"
	Loading2  LoadingPicID = "loading2"
	Loading3  LoadingPicID = "loading3"
	Loading4  LoadingPicID = "loading4"
	LoadingE1 LoadingPicID = "loadingE1"
	LoadingE2 LoadingPicID = "loadingE2"
	LoadingS  LoadingPicID = "loadingS"
)

type MapTheme

type MapTheme struct {
	ThemeID   string  `json:"themeId"`
	UnitColor string  `json:"unitColor"`
	ThemeType *string `json:"themeType"`
}

type Reward

type Reward struct {
	ID    string     `json:"id"`
	Count int64      `json:"count"`
	Type  RewardType `json:"type"`
}

type RewardType

type RewardType string
const (
	HggShd        RewardType = "HGG_SHD"
	LggShd        RewardType = "LGG_SHD"
	PurpleCARDEXP RewardType = "CARD_EXP"
	PurpleGOLD    RewardType = "GOLD"
)

type RuneStageGroups

type RuneStageGroups struct {
}

type Stage

type Stage struct {
	StageType          StageType         `json:"stageType"`
	Difficulty         Difficulty        `json:"difficulty"`
	UnlockCondition    []UnlockCondition `json:"unlockCondition"`
	StageID            string            `json:"stageId"`
	LevelID            string            `json:"levelId"`
	ZoneID             string            `json:"zoneId"`
	Code               string            `json:"code"`
	Name               *string           `json:"name"`
	Description        string            `json:"description"`
	HardStagedID       *string           `json:"hardStagedId"`
	DangerLevel        string            `json:"dangerLevel"`
	DangerPoint        float64           `json:"dangerPoint"`
	CanPractice        bool              `json:"canPractice"`
	CanBattleReplay    bool              `json:"canBattleReplay"`
	ApCost             int64             `json:"apCost"`
	ApFailReturn       int64             `json:"apFailReturn"`
	EtCost             int64             `json:"etCost"`
	EtFailReturn       int64             `json:"etFailReturn"`
	PracticeTicketCost int64             `json:"practiceTicketCost"`
	ExpGain            int64             `json:"expGain"`
	GoldGain           int64             `json:"goldGain"`
	PassFavor          int64             `json:"passFavor"`
	CompleteFavor      int64             `json:"completeFavor"`
	SlProgress         int64             `json:"slProgress"`
	DisplayMainItem    *string           `json:"displayMainItem"`
	HilightMark        bool              `json:"hilightMark"`
	BossMark           bool              `json:"bossMark"`
	IsStoryOnly        bool              `json:"isStoryOnly"`
	StageDropInfo      StageDropInfo     `json:"stageDropInfo"`
	MainStageID        *string           `json:"mainStageId"`
}

type StageDropInfo

type StageDropInfo struct {
	DisplayRewards       []DisplayReward `json:"displayRewards"`
	DisplayDetailRewards []DisplayReward `json:"displayDetailRewards"`
}

type StageTable

type StageTable struct {
	Stages              map[string]Stage          `json:"stages"`
	Campaigns           Campaigns                 `json:"campaigns"`
	CampaignGroups      CampaignGroups            `json:"campaignGroups"`
	RuneStageGroups     RuneStageGroups           `json:"runeStageGroups"`
	MapThemes           map[string]MapTheme       `json:"mapThemes"`
	TileInfo            map[string]TileInfo       `json:"tileInfo"`
	ForceOpenTable      map[string]ForceOpenTable `json:"forceOpenTable"`
	TimelyStageDropInfo RuneStageGroups           `json:"timelyStageDropInfo"`
	TimelyTable         RuneStageGroups           `json:"timelyTable"`
	StageValidInfo      map[string]StageValidInfo `json:"stageValidInfo"`
}

func Unmarshal

func Unmarshal(data []byte) (StageTable, error)

func (*StageTable) Marshal

func (r *StageTable) Marshal() ([]byte, error)

type StageType

type StageType string
const (
	Activity StageType = "ACTIVITY"
	Campaign StageType = "CAMPAIGN"
	Daily    StageType = "DAILY"
	Guide    StageType = "GUIDE"
	Main     StageType = "MAIN"
	Sub      StageType = "SUB"
)

type StageValidInfo

type StageValidInfo struct {
	StartTs int64 `json:"startTs"`
	EndTs   int64 `json:"endTs"`
}

type TileInfo

type TileInfo struct {
	TileKey      string `json:"tileKey"`
	Name         string `json:"name"`
	Description  string `json:"description"`
	IsFunctional bool   `json:"isFunctional"`
}

type UnlockCondition

type UnlockCondition struct {
	StageID       string `json:"stageId"`
	CompleteState int64  `json:"completeState"`
}

Jump to

Keyboard shortcuts

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