Documentation
¶
Index ¶
- type BreakLadder
- type Camp0
- type CampG
- type CampaignGroups
- type Campaigns
- type Difficulty
- type DisplayDetailRewardType
- type DisplayReward
- type DropInfo
- type DropLadder
- type ForceOpenTable
- type GainLadder
- type LoadingPicID
- type MapTheme
- type Reward
- type RewardType
- type RuneStageGroups
- type Stage
- type StageDropInfo
- type StageTable
- type StageType
- type StageValidInfo
- type TileInfo
- type UnlockCondition
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BreakLadder ¶
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 CampaignGroups ¶
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 ForceOpenTable ¶
type GainLadder ¶
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 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 StageValidInfo ¶
type UnlockCondition ¶
Click to show internal directories.
Click to hide internal directories.