Documentation
¶
Index ¶
- type Activities
- type Assist
- type AssistCharList
- type Building
- type BuildingChar
- type Campaigns
- type Carpet
- type ChainLogin
- type CharElement
- type Character
- type CheckinInfo
- type ConsumableInfo
- type ControlSlot
- type Coordinate
- type DexNav
- type DiySolution
- type DormInfo
- type DormInfoBuff
- type Dungeon
- type EmptyStruct
- type Enemy
- type Formula
- type Gacha
- type GachaInfo
- type Gain
- type HireInfo
- type Info
- type InfoSlice
- type InstanceInfo
- type Labor
- type ManufactureInfo
- type MeetingInfo
- type Mission
- type MissionInfo
- type MissionRewards
- type Missions
- type Monthly
- type OpenServerCheckIn
- type PowerInfo
- type PushFlags
- type Recruit
- type RecruitNormal
- type RecruitSlot
- type Rewards
- type RoomSlot
- type Rooms
- type SelectTag
- type Shop
- type Skill
- type Social
- type SpeedContainer
- type Squad
- type StageValue
- type Stock
- type StockElement
- type TradingInfo
- type TrainingInfo
- type Troop
- type TroopChar
- type User
- type UserCheckIn
- type UserStatus
- type Weight
- type WorkshopInfo
- type YesterdayReward
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Activities ¶
type Activities struct { Default EmptyStruct `json:"DEFAULT"` MissionOnly map[string]EmptyStruct `json:"MISSION_ONLY"` CheckinOnly map[string]CheckinInfo `json:"CHECKIN_ONLY"` }
type AssistCharList ¶
type Building ¶
type Building struct { Status *struct { Labor Labor `json:"labor"` } `json:"status"` Chars map[string]BuildingChar `json:"chars"` RoomSlots map[string]RoomSlot `json:"roomSlots"` Rooms *Rooms `json:"rooms"` Furniture map[string]struct { Count int64 `json:"count"` InUse int64 `json:"inUse"` } `json:"furniture"` DiyPresetSolutions EmptyStruct `json:"diyPresetSolutions"` Assist []int64 `json:"assist"` }
type BuildingChar ¶
type BuildingChar struct { CharID string `json:"charId"` LastApAddTime int64 `json:"lastApAddTime"` Ap int64 `json:"ap"` RoomSlotID string `json:"roomSlotId"` Index int64 `json:"index"` ChangeScale int64 `json:"changeScale"` Bubble struct { Normal Assist `json:"normal"` Assist Assist `json:"assist"` } `json:"bubble"` WorkTime int64 `json:"workTime"` }
type Campaigns ¶
type Campaigns struct { ActiveGroupID string `json:"activeGroupId"` CampaignCurrentFee int64 `json:"campaignCurrentFee"` CampaignTotalFee int64 `json:"campaignTotalFee"` Instances map[string]InstanceInfo `json:"instances"` }
type Carpet ¶
type Carpet struct { ID string `json:"id"` Coordinate Coordinate `json:"coordinate"` }
type ChainLogin ¶
type CharElement ¶
type CheckinInfo ¶
type ConsumableInfo ¶
type ControlSlot ¶
type ControlSlot struct { Buff struct { Global struct { ApCost int64 `json:"apCost"` } `json:"global"` Manufacture SpeedContainer `json:"manufacture"` Trading SpeedContainer `json:"trading"` ApCost map[string]int64 `json:"apCost"` } `json:"buff"` ApCost int64 `json:"apCost"` }
type Coordinate ¶
type DiySolution ¶
type DormInfo ¶
type DormInfo struct { Buff DormInfoBuff `json:"buff"` Comfort int64 `json:"comfort"` DiySolution DiySolution `json:"diySolution"` }
type DormInfoBuff ¶
type Dungeon ¶
type Dungeon struct { Stages map[string]StageValue `json:"stages"` Campaigns *Campaigns `json:"campaigns"` }
type EmptyStruct ¶
type EmptyStruct struct{}
type Formula ¶
type Formula struct { Shop EmptyStruct `json:"shop"` Manufacture map[string]int64 `json:"manufacture"` Workshop map[string]int64 `json:"workshop"` }
type InstanceInfo ¶
type ManufactureInfo ¶
type ManufactureInfo struct { Buff struct { ApCost struct { Self map[string]int64 `json:"self"` } `json:"apCost"` Speed float64 `json:"speed"` Capacity int64 `json:"capacity"` } `json:"buff"` State int64 `json:"state"` FormulaID string `json:"formulaId"` RemainSolutionCnt int64 `json:"remainSolutionCnt"` OutputSolutionCnt int64 `json:"outputSolutionCnt"` LastUpdateTime int64 `json:"lastUpdateTime"` SaveTime int64 `json:"saveTime"` TailTime float64 `json:"tailTime"` ApCost int64 `json:"apCost"` CompleteWorkTime int64 `json:"completeWorkTime"` Capacity int64 `json:"capacity"` ProcessPoint float64 `json:"processPoint"` }
type MeetingInfo ¶
type MeetingInfo struct { Buff struct { Speed float64 `json:"speed"` Weight Weight `json:"weight"` } `json:"buff"` State int64 `json:"state"` Speed float64 `json:"speed"` ProcessPoint float64 `json:"processPoint"` OwnStock []Stock `json:"ownStock"` ReceiveStock []Stock `json:"receiveStock"` Board map[string]string `json:"board"` SocialReward struct { Daily int64 `json:"daily"` Search int64 `json:"search"` } `json:"socialReward"` DailyReward *Stock `json:"dailyReward"` ExpiredReward int64 `json:"expiredReward"` Received int64 `json:"received"` Ts int64 `json:"ts"` Reward int64 `json:"reward"` } `json:"infoShare"` LastUpdateTime int64 `json:"lastUpdateTime"` CompleteWorkTime int64 `json:"completeWorkTime"` }
type Mission ¶
type Mission struct { Missions *Missions `json:"missions"` MissionRewards *MissionRewards `json:"missionRewards"` MissionGroups map[string]int64 `json:"missionGroups"` }
type MissionInfo ¶
type MissionRewards ¶
type Missions ¶
type Missions struct { Openserver map[string]MissionInfo `json:"OPENSERVER"` Daily map[string]MissionInfo `json:"DAILY"` Weekly map[string]MissionInfo `json:"WEEKLY"` Guide map[string]MissionInfo `json:"GUIDE"` Main map[string]MissionInfo `json:"MAIN"` Activity map[string]MissionInfo `json:"ACTIVITY"` Sub map[string]MissionInfo `json:"SUB"` }
type OpenServerCheckIn ¶
type PowerInfo ¶
type PowerInfo struct { Buff struct { LaborSpeed float64 `json:"laborSpeed"` } `json:"buff"` }
type Recruit ¶
type Recruit struct {
Normal *RecruitNormal `json:"normal"`
}
type RecruitNormal ¶
type RecruitNormal struct {
Slots map[string]RecruitSlot `json:"slots"`
}
type RecruitSlot ¶
type Rooms ¶
type Rooms struct { Control map[string]ControlSlot `json:"CONTROL"` Elevator map[string]EmptyStruct `json:"ELEVATOR"` Power map[string]PowerInfo `json:"POWER"` Manufacture map[string]ManufactureInfo `json:"MANUFACTURE"` Trading map[string]TradingInfo `json:"TRADING"` Dormitory map[string]DormInfo `json:"DORMITORY"` Corridor map[string]EmptyStruct `json:"CORRIDOR"` Workshop map[string]WorkshopInfo `json:"WORKSHOP"` Meeting map[string]MeetingInfo `json:"MEETING"` Hire map[string]HireInfo `json:"HIRE"` Training map[string]TrainingInfo `json:"TRAINING"` }
type Shop ¶
type Shop struct { LS *struct { CurShopID string `json:"curShopId"` CurGroupID string `json:"curGroupId"` Info []Info `json:"info"` } `json:"LS"` HS *struct { CurShopID string `json:"curShopId"` Info []Info `json:"info"` ProgressInfo EmptyStruct `json:"progressInfo"` } `json:"HS"` ES *struct { CurShopID string `json:"curShopId"` Info []Info `json:"info"` } `json:"ES"` Cash InfoSlice `json:"CASH"` GP *struct { OneTime InfoSlice `json:"oneTime"` Level InfoSlice `json:"level"` Weekly Monthly `json:"weekly"` Monthly Monthly `json:"monthly"` } `json:"GP"` Furni InfoSlice `json:"FURNI"` Social Social `json:"SOCIAL"` }
type SpeedContainer ¶
type SpeedContainer struct {
Speed float64 `json:"speed"`
}
type Squad ¶
type Squad struct { SquadID string `json:"squadId"` Name string `json:"name"` Slots []AssistCharList `json:"slots"` }
type StageValue ¶
type StockElement ¶
type TradingInfo ¶
type TradingInfo struct { Buff struct { Speed float64 `json:"speed"` Limit int64 `json:"limit"` ApCost struct { All int64 `json:"all"` Single EmptyStruct `json:"single"` Self map[string]int64 `json:"self"` } `json:"apCost"` Rate EmptyStruct `json:"rate"` } `json:"buff"` State int64 `json:"state"` LastUpdateTime int64 `json:"lastUpdateTime"` Strategy string `json:"strategy"` StockLimit int64 `json:"stockLimit"` ApCost int64 `json:"apCost"` Stock []StockElement `json:"stock"` Next struct { Order int64 `json:"order"` ProcessPoint float64 `json:"processPoint"` MaxPoint int64 `json:"maxPoint"` Speed float64 `json:"speed"` } `json:"next"` CompleteWorkTime int64 `json:"completeWorkTime"` }
type TrainingInfo ¶
type TrainingInfo struct { Buff SpeedContainer `json:"buff"` State int64 `json:"state"` LastUpdateTime int64 `json:"lastUpdateTime"` Trainee struct { CharInstID int64 `json:"charInstId"` State int64 `json:"state"` TargetSkill int64 `json:"targetSkill"` ProcessPoint int64 `json:"processPoint"` Speed float64 `json:"speed"` } `json:"trainee"` Trainer struct { CharInstID int64 `json:"charInstId"` State int64 `json:"state"` } `json:"trainer"` }
type TroopChar ¶
type TroopChar struct { InstID int64 `json:"instId"` CharID string `json:"charId"` FavorPoint int64 `json:"favorPoint"` PotentialRank int64 `json:"potentialRank"` MainSkillLvl int64 `json:"mainSkillLvl"` Skin string `json:"skin"` Level int64 `json:"level"` Exp int64 `json:"exp"` EvolvePhase int64 `json:"evolvePhase"` DefaultSkillIndex int64 `json:"defaultSkillIndex"` GainTime int64 `json:"gainTime"` Skills []Skill `json:"skills"` }
type User ¶
type User struct { Building *Building `json:"building"` Social *struct { AssistCharList []AssistCharList `json:"assistCharList"` YesterdayReward YesterdayReward `json:"yesterdayReward"` } `json:"social"` Ticket EmptyStruct `json:"ticket"` Gacha *Gacha `json:"gacha"` OpenServer *struct { CheckIn OpenServerCheckIn `json:"checkIn"` ChainLogin ChainLogin `json:"chainLogin"` } `json:"openServer"` Dungeon *Dungeon `json:"dungeon"` Shop *Shop `json:"shop"` Skin *struct { CharacterSkins map[string]int64 `json:"characterSkins"` } `json:"skin"` PushFlags *PushFlags `json:"pushFlags"` Troop *Troop `json:"troop"` CheckIn *UserCheckIn `json:"checkIn"` Activity *Activities `json:"activity"` Mission *Mission `json:"mission"` CollectionReward *struct { Team map[string]int64 `json:"team"` } `json:"collectionReward"` Recruit *Recruit `json:"recruit"` Status *UserStatus `json:"status"` Consumable map[string]map[string]ConsumableInfo `json:"consumable"` Inventory map[string]int64 `json:"inventory"` Event *struct { Building int64 `json:"building"` } `json:"event"` }
type UserCheckIn ¶
type UserStatus ¶
type UserStatus struct { NickName string `json:"nickName"` NickNumber string `json:"nickNumber"` Level int64 `json:"level"` Exp int64 `json:"exp"` SocialPoint int64 `json:"socialPoint"` GachaTicket int64 `json:"gachaTicket"` TenGachaTicket int64 `json:"tenGachaTicket"` InstantFinishTicket int64 `json:"instantFinishTicket"` HggShard int64 `json:"hggShard"` LggShard int64 `json:"lggShard"` RecruitLicense int64 `json:"recruitLicense"` Progress int64 `json:"progress"` BuyApRemainTimes int64 `json:"buyApRemainTimes"` ApLimitUpFlag int64 `json:"apLimitUpFlag"` UID string `json:"uid"` Flags map[string]int64 `json:"flags"` Ap int64 `json:"ap"` MaxAp int64 `json:"maxAp"` PayDiamond int64 `json:"payDiamond"` FreeDiamond int64 `json:"freeDiamond"` DiamondShard int64 `json:"diamondShard"` Gold int64 `json:"gold"` PracticeTicket int64 `json:"practiceTicket"` LastRefreshTs int64 `json:"lastRefreshTs"` LastApAddTime int64 `json:"lastApAddTime"` MainStageProgress string `json:"mainStageProgress"` RegisterTs int64 `json:"registerTs"` LastOnlineTs int64 `json:"lastOnlineTs"` ServerName string `json:"serverName"` AvatarID string `json:"avatarId"` Resume string `json:"resume"` FriendNumLimit int64 `json:"friendNumLimit"` MonthlySubscriptionStartTime int64 `json:"monthlySubscriptionStartTime"` MonthlySubscriptionEndTime int64 `json:"monthlySubscriptionEndTime"` Secretary string `json:"secretary"` SecretarySkinID string `json:"secretarySkinId"` }
type WorkshopInfo ¶
type WorkshopInfo struct { Buff struct { Rate *struct { All float64 `json:"all"` WBuilding float64 `json:"W_BUILDING"` WEvolve float64 `json:"W_EVOLVE"` WSkill float64 `json:"W_SKILL"` } `json:"rate"` Cost *struct { Type string `json:"type"` Limit int64 `json:"limit"` Reduction int64 `json:"reduction"` } `json:"cost"` } `json:"buff"` }
Click to show internal directories.
Click to hide internal directories.