@@ -0,0 +1,24 @@
|
||||
package album
|
||||
|
||||
type UnitList struct {
|
||||
UnitID int `json:"unit_id"`
|
||||
RankMaxFlag bool `json:"rank_max_flag"`
|
||||
LoveMaxFlag bool `json:"love_max_flag"`
|
||||
RankLevelMaxFlag bool `json:"rank_level_max_flag"`
|
||||
AllMaxFlag bool `json:"all_max_flag"`
|
||||
HighestLovePerUnit int `json:"highest_love_per_unit"`
|
||||
TotalLove int `json:"total_love"`
|
||||
FavoritePoint int `json:"favorite_point"`
|
||||
SignFlag bool `json:"sign_flag"`
|
||||
}
|
||||
|
||||
type SeriesAllData struct {
|
||||
SeriesID int `json:"series_id"`
|
||||
UnitList []UnitList `json:"unit_list"`
|
||||
}
|
||||
|
||||
type SeriesAllResp struct {
|
||||
ResponseData []SeriesAllData `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package announce
|
||||
|
||||
type CheckStateData struct {
|
||||
HasUnreadAnnounce bool `json:"has_unread_announce"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
type CheckStateDataResp struct {
|
||||
ResponseData CheckStateData `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package album
|
||||
|
||||
type UnitList struct {
|
||||
UnitID int `json:"unit_id"`
|
||||
RankMaxFlag bool `json:"rank_max_flag"`
|
||||
LoveMaxFlag bool `json:"love_max_flag"`
|
||||
RankLevelMaxFlag bool `json:"rank_level_max_flag"`
|
||||
AllMaxFlag bool `json:"all_max_flag"`
|
||||
HighestLovePerUnit int `json:"highest_love_per_unit"`
|
||||
TotalLove int `json:"total_love"`
|
||||
FavoritePoint int `json:"favorite_point"`
|
||||
SignFlag bool `json:"sign_flag"`
|
||||
}
|
||||
|
||||
type AllResp struct {
|
||||
Result []UnitList `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package api
|
||||
|
||||
type ApiReq struct {
|
||||
Module string `json:"module"`
|
||||
Action string `json:"action"`
|
||||
Timestamp int64 `json:"timeStamp"`
|
||||
}
|
||||
|
||||
type ApiResp struct {
|
||||
ResponseData any `json:"response_data"`
|
||||
ReleaseInfo any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package award
|
||||
|
||||
type Info struct {
|
||||
AwardID int `json:"award_id"`
|
||||
IsSet bool `json:"is_set"`
|
||||
InsertDate string `json:"insert_date"`
|
||||
}
|
||||
|
||||
type InfoData struct {
|
||||
AwardInfo []Info `json:"award_info"`
|
||||
}
|
||||
|
||||
type InfoResp struct {
|
||||
Result InfoData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package background
|
||||
|
||||
type Info struct {
|
||||
BackgroundID int `json:"background_id"`
|
||||
IsSet bool `json:"is_set"`
|
||||
InsertDate string `json:"insert_date"`
|
||||
}
|
||||
|
||||
type InfoData struct {
|
||||
BackgroundInfo []Info `json:"background_info"`
|
||||
}
|
||||
|
||||
type InfoResp struct {
|
||||
Result InfoData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
package banner
|
||||
|
||||
type BannerList struct {
|
||||
BannerType int `json:"banner_type"`
|
||||
TargetID int `json:"target_id"`
|
||||
AssetPath string `json:"asset_path"`
|
||||
FixedFlag bool `json:"fixed_flag"`
|
||||
BackSide bool `json:"back_side"`
|
||||
BannerID int `json:"banner_id"`
|
||||
StartDate string `json:"start_date"`
|
||||
EndDate string `json:"end_date"`
|
||||
AddUnitStartDate string `json:"add_unit_start_date,omitempty"`
|
||||
WebviewURL string `json:"webview_url,omitempty"`
|
||||
}
|
||||
|
||||
type ListData struct {
|
||||
TimeLimit string `json:"time_limit"`
|
||||
BannerList []BannerList `json:"banner_list"`
|
||||
}
|
||||
|
||||
type ListResp struct {
|
||||
Result ListData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package challenge
|
||||
|
||||
type InfoResp struct {
|
||||
Result []any `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package costume
|
||||
|
||||
type CostumeList struct {
|
||||
UnitID int `json:"unit_id"`
|
||||
IsRankMax bool `json:"is_rank_max"`
|
||||
IsSigned bool `json:"is_signed"`
|
||||
}
|
||||
|
||||
type ListData struct {
|
||||
CostumeList []CostumeList `json:"costume_list"`
|
||||
}
|
||||
|
||||
type ListResp struct {
|
||||
Result ListData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package eventscenario
|
||||
|
||||
type ChapterList struct {
|
||||
EventScenarioID int `json:"event_scenario_id"`
|
||||
Chapter int `json:"chapter"`
|
||||
ChapterAsset string `json:"chapter_asset,omitempty"`
|
||||
Status int `json:"status"`
|
||||
OpenFlashFlag int `json:"open_flash_flag"`
|
||||
IsReward bool `json:"is_reward"`
|
||||
CostType int `json:"cost_type"`
|
||||
ItemID int `json:"item_id"`
|
||||
Amount int `json:"amount"`
|
||||
}
|
||||
|
||||
type EventScenarioList struct {
|
||||
EventID int `json:"event_id"`
|
||||
EventScenarioBtnAsset string `json:"event_scenario_btn_asset"`
|
||||
OpenDate string `json:"open_date"`
|
||||
ChapterList []ChapterList `json:"chapter_list"`
|
||||
}
|
||||
|
||||
type StatusData struct {
|
||||
EventScenarioList []EventScenarioList `json:"event_scenario_list"`
|
||||
}
|
||||
|
||||
type StatusResp struct {
|
||||
Result StatusData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package exchange
|
||||
|
||||
type ExchangePointList struct {
|
||||
Rarity int `json:"rarity"`
|
||||
ExchangePoint int `json:"exchange_point"`
|
||||
}
|
||||
|
||||
type OwningPointData struct {
|
||||
ExchangePointList []ExchangePointList `json:"exchange_point_list"`
|
||||
}
|
||||
|
||||
type OwningPointResp struct {
|
||||
Result OwningPointData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
package live
|
||||
|
||||
type LiveList struct {
|
||||
LiveDifficultyID int `json:"live_difficulty_id"`
|
||||
StartDate string `json:"start_date"`
|
||||
EndDate string `json:"end_date"`
|
||||
IsRandom bool `json:"is_random"`
|
||||
}
|
||||
|
||||
type LimitedBonusCommonList struct {
|
||||
LiveType int `json:"live_type"`
|
||||
LimitedBonusType int `json:"limited_bonus_type"`
|
||||
LimitedBonusValue int `json:"limited_bonus_value"`
|
||||
StartDate string `json:"start_date"`
|
||||
EndDate string `json:"end_date"`
|
||||
}
|
||||
|
||||
type RandomLiveList struct {
|
||||
AttributeID int `json:"attribute_id"`
|
||||
StartDate string `json:"start_date"`
|
||||
EndDate string `json:"end_date"`
|
||||
}
|
||||
|
||||
type TrainingLiveList struct {
|
||||
LiveDifficultyID int `json:"live_difficulty_id"`
|
||||
StartDate string `json:"start_date"`
|
||||
IsRandom bool `json:"is_random"`
|
||||
}
|
||||
|
||||
type ScheduleData struct {
|
||||
EventList []any `json:"event_list"`
|
||||
LiveList []LiveList `json:"live_list"`
|
||||
LimitedBonusList []any `json:"limited_bonus_list"`
|
||||
LimitedBonusCommonList []LimitedBonusCommonList `json:"limited_bonus_common_list"`
|
||||
RandomLiveList []RandomLiveList `json:"random_live_list"`
|
||||
FreeLiveList []any `json:"free_live_list"`
|
||||
TrainingLiveList []TrainingLiveList `json:"training_live_list"`
|
||||
}
|
||||
|
||||
type ScheduleResp struct {
|
||||
Result ScheduleData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
package live
|
||||
|
||||
type NormalLiveStatusList struct {
|
||||
LiveDifficultyID int `json:"live_difficulty_id"`
|
||||
Status int `json:"status"`
|
||||
HiScore int `json:"hi_score"`
|
||||
HiComboCount int `json:"hi_combo_count"`
|
||||
ClearCnt int `json:"clear_cnt"`
|
||||
AchievedGoalIDList []int `json:"achieved_goal_id_list"`
|
||||
}
|
||||
|
||||
type SpecialLiveStatusList struct {
|
||||
LiveDifficultyID int `json:"live_difficulty_id"`
|
||||
Status int `json:"status"`
|
||||
HiScore int `json:"hi_score"`
|
||||
HiComboCount int `json:"hi_combo_count"`
|
||||
ClearCnt int `json:"clear_cnt"`
|
||||
AchievedGoalIDList []int `json:"achieved_goal_id_list"`
|
||||
}
|
||||
|
||||
type TrainingLiveStatusList struct {
|
||||
LiveDifficultyID int `json:"live_difficulty_id"`
|
||||
Status int `json:"status"`
|
||||
HiScore int `json:"hi_score"`
|
||||
HiComboCount int `json:"hi_combo_count"`
|
||||
ClearCnt int `json:"clear_cnt"`
|
||||
AchievedGoalIDList []int `json:"achieved_goal_id_list"`
|
||||
}
|
||||
|
||||
type StatusData struct {
|
||||
NormalLiveStatusList []NormalLiveStatusList `json:"normal_live_status_list"`
|
||||
SpecialLiveStatusList []SpecialLiveStatusList `json:"special_live_status_list"`
|
||||
TrainingLiveStatusList []TrainingLiveStatusList `json:"training_live_status_list"`
|
||||
MarathonLiveStatusList []any `json:"marathon_live_status_list"`
|
||||
FreeLiveStatusList []any `json:"free_live_status_list"`
|
||||
CanResumeLive bool `json:"can_resume_live"`
|
||||
}
|
||||
|
||||
type StatusResp struct {
|
||||
Result StatusData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package liveicon
|
||||
|
||||
type InfoData struct {
|
||||
LiveNotesIconList []int `json:"live_notes_icon_list"`
|
||||
}
|
||||
|
||||
type InfoResp struct {
|
||||
Result InfoData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package livese
|
||||
|
||||
type InfoData struct {
|
||||
LiveSeList []int `json:"live_se_list"`
|
||||
}
|
||||
|
||||
type InfoResp struct {
|
||||
Result InfoData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
package login
|
||||
|
||||
type LicenseInfo struct {
|
||||
LicenseList []any `json:"license_list"`
|
||||
LicensedInfo []any `json:"licensed_info"`
|
||||
ExpiredInfo []any `json:"expired_info"`
|
||||
BadgeFlag bool `json:"badge_flag"`
|
||||
}
|
||||
|
||||
type TopInfoData struct {
|
||||
FriendActionCnt int `json:"friend_action_cnt"`
|
||||
FriendGreetCnt int `json:"friend_greet_cnt"`
|
||||
FriendVarietyCnt int `json:"friend_variety_cnt"`
|
||||
FriendNewCnt int `json:"friend_new_cnt"`
|
||||
PresentCnt int `json:"present_cnt"`
|
||||
SecretBoxBadgeFlag bool `json:"secret_box_badge_flag"`
|
||||
ServerDatetime string `json:"server_datetime"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
NoticeFriendDatetime string `json:"notice_friend_datetime"`
|
||||
NoticeMailDatetime string `json:"notice_mail_datetime"`
|
||||
FriendsApprovalWaitCnt int `json:"friends_approval_wait_cnt"`
|
||||
FriendsRequestCnt int `json:"friends_request_cnt"`
|
||||
IsTodayBirthday bool `json:"is_today_birthday"`
|
||||
LicenseInfo LicenseInfo `json:"license_info"`
|
||||
UsingBuffInfo []any `json:"using_buff_info"`
|
||||
IsKlabIDTaskFlag bool `json:"is_klab_id_task_flag"`
|
||||
KlabIDTaskCanSync bool `json:"klab_id_task_can_sync"`
|
||||
HasUnreadAnnounce bool `json:"has_unread_announce"`
|
||||
ExchangeBadgeCnt []int `json:"exchange_badge_cnt"`
|
||||
AdFlag bool `json:"ad_flag"`
|
||||
HasAdReward bool `json:"has_ad_reward"`
|
||||
}
|
||||
|
||||
type TopInfoResp struct {
|
||||
Result TopInfoData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
package login
|
||||
|
||||
type Notification struct {
|
||||
Push bool `json:"push"`
|
||||
Lp bool `json:"lp"`
|
||||
UpdateInfo bool `json:"update_info"`
|
||||
Campaign bool `json:"campaign"`
|
||||
Live bool `json:"live"`
|
||||
Lbonus bool `json:"lbonus"`
|
||||
Event bool `json:"event"`
|
||||
Secretbox bool `json:"secretbox"`
|
||||
Birthday bool `json:"birthday"`
|
||||
}
|
||||
|
||||
type TopInfoOnceData struct {
|
||||
NewAchievementCnt int `json:"new_achievement_cnt"`
|
||||
UnaccomplishedAchievementCnt int `json:"unaccomplished_achievement_cnt"`
|
||||
LiveDailyRewardExist bool `json:"live_daily_reward_exist"`
|
||||
TrainingEnergy int `json:"training_energy"`
|
||||
TrainingEnergyMax int `json:"training_energy_max"`
|
||||
Notification Notification `json:"notification"`
|
||||
OpenArena bool `json:"open_arena"`
|
||||
CostumeStatus bool `json:"costume_status"`
|
||||
OpenAccessory bool `json:"open_accessory"`
|
||||
ArenaSiSkillUniqueCheck bool `json:"arena_si_skill_unique_check"`
|
||||
OpenV98 bool `json:"open_v98"`
|
||||
}
|
||||
|
||||
type TopInfoOnceResp struct {
|
||||
Result TopInfoOnceData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package marathon
|
||||
|
||||
type InfoResp struct {
|
||||
Result []any `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package multiunit
|
||||
|
||||
type ChapterList struct {
|
||||
MultiUnitScenarioID int `json:"multi_unit_scenario_id"`
|
||||
Chapter int `json:"chapter"`
|
||||
Status int `json:"status"`
|
||||
}
|
||||
|
||||
type StatusList struct {
|
||||
MultiUnitID int `json:"multi_unit_id"`
|
||||
Status int `json:"status"`
|
||||
MultiUnitScenarioBtnAsset string `json:"multi_unit_scenario_btn_asset"`
|
||||
OpenDate string `json:"open_date"`
|
||||
ChapterList []ChapterList `json:"chapter_list"`
|
||||
}
|
||||
|
||||
type StatusData struct {
|
||||
MultiUnitScenarioStatusList []StatusList `json:"multi_unit_scenario_status_list"`
|
||||
UnlockedMultiUnitScenarioIds []any `json:"unlocked_multi_unit_scenario_ids"`
|
||||
}
|
||||
|
||||
type StatusResp struct {
|
||||
Result StatusData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package museum
|
||||
|
||||
type Parameter struct {
|
||||
Smile int `json:"smile"`
|
||||
Pure int `json:"pure"`
|
||||
Cool int `json:"cool"`
|
||||
}
|
||||
|
||||
type Info struct {
|
||||
Parameter Parameter `json:"parameter"`
|
||||
ContentsIDList []int `json:"contents_id_list"`
|
||||
}
|
||||
|
||||
type InfoData struct {
|
||||
MuseumInfo Info `json:"museum_info"`
|
||||
}
|
||||
|
||||
type InfoResp struct {
|
||||
Result InfoData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package navigation
|
||||
|
||||
type SpecialCutinData struct {
|
||||
SpecialCutinList []any `json:"special_cutin_list"`
|
||||
}
|
||||
|
||||
type SpecialCutinResp struct {
|
||||
Result SpecialCutinData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package notice
|
||||
|
||||
type MarqueeData struct {
|
||||
ItemCount int `json:"item_count"`
|
||||
MarqueeList []any `json:"marquee_list"`
|
||||
}
|
||||
|
||||
type MarqueeResp struct {
|
||||
Result MarqueeData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
package payment
|
||||
|
||||
type RestrictionInfo struct {
|
||||
Restricted bool `json:"restricted"`
|
||||
}
|
||||
|
||||
type UnderAgeInfo struct {
|
||||
BirthSet bool `json:"birth_set"`
|
||||
HasLimit bool `json:"has_limit"`
|
||||
LimitAmount any `json:"limit_amount"`
|
||||
MonthUsed int `json:"month_used"`
|
||||
}
|
||||
|
||||
type SnsProductItem struct {
|
||||
ItemID int `json:"item_id"`
|
||||
AddType int `json:"add_type"`
|
||||
Amount int `json:"amount"`
|
||||
IsFreebie bool `json:"is_freebie"`
|
||||
}
|
||||
|
||||
type SnsProduct struct {
|
||||
ProductID string `json:"product_id"`
|
||||
Name string `json:"name"`
|
||||
Price int `json:"price"`
|
||||
CanBuy bool `json:"can_buy"`
|
||||
ProductType int `json:"product_type"`
|
||||
ItemList []SnsProductItem `json:"item_list"`
|
||||
}
|
||||
|
||||
type ProductItem struct {
|
||||
ItemID int `json:"item_id"`
|
||||
AddType int `json:"add_type"`
|
||||
Amount int `json:"amount"`
|
||||
IsFreebie bool `json:"is_freebie"`
|
||||
IsRankMax bool `json:"is_rank_max,omitempty"`
|
||||
}
|
||||
|
||||
type LimitStatus struct {
|
||||
TermStartDate string `json:"term_start_date"`
|
||||
RemainingTime string `json:"remaining_time"`
|
||||
RemainingCount int `json:"remaining_count"`
|
||||
}
|
||||
|
||||
type Product struct {
|
||||
ProductID string `json:"product_id"`
|
||||
Name string `json:"name"`
|
||||
BannerImgAsset string `json:"banner_img_asset"`
|
||||
Price int `json:"price"`
|
||||
CanBuy bool `json:"can_buy"`
|
||||
ProductType int `json:"product_type"`
|
||||
AnnounceURL string `json:"announce_url"`
|
||||
ConfirmURL string `json:"confirm_url"`
|
||||
ItemList []ProductItem `json:"item_list"`
|
||||
LimitStatus LimitStatus `json:"limit_status"`
|
||||
}
|
||||
|
||||
type SubscriptionItem struct {
|
||||
ItemID int `json:"item_id"`
|
||||
AddType int `json:"add_type"`
|
||||
Amount int `json:"amount"`
|
||||
IsFreebie bool `json:"is_freebie"`
|
||||
}
|
||||
|
||||
type LicenseReward struct {
|
||||
ItemID int `json:"item_id"`
|
||||
AddType int `json:"add_type"`
|
||||
Amount int `json:"amount"`
|
||||
}
|
||||
|
||||
type LicenseItem struct {
|
||||
Seq int `json:"seq"`
|
||||
RewardList []LicenseReward `json:"reward_list"`
|
||||
}
|
||||
|
||||
type LicenseInfo struct {
|
||||
Name string `json:"name"`
|
||||
Items []LicenseItem `json:"items"`
|
||||
}
|
||||
|
||||
type UserStatus struct {
|
||||
IsLicensed bool `json:"is_licensed"`
|
||||
}
|
||||
|
||||
type SubscriptionStatus struct {
|
||||
LicenseID int `json:"license_id"`
|
||||
LicenseType int `json:"license_type"`
|
||||
LicenseInfo LicenseInfo `json:"license_info,omitempty"`
|
||||
UserStatus UserStatus `json:"user_status"`
|
||||
PurchaseCount int `json:"purchase_count"`
|
||||
BadgeFlag bool `json:"badge_flag"`
|
||||
}
|
||||
|
||||
type Subscription struct {
|
||||
ProductID string `json:"product_id"`
|
||||
Name string `json:"name"`
|
||||
BannerImgAsset string `json:"banner_img_asset"`
|
||||
Price int `json:"price"`
|
||||
CanBuy bool `json:"can_buy"`
|
||||
ProductType int `json:"product_type"`
|
||||
ProductURL string `json:"product_url"`
|
||||
ItemList []SubscriptionItem `json:"item_list"`
|
||||
LimitStatus LimitStatus `json:"limit_status"`
|
||||
SubscriptionStatus SubscriptionStatus `json:"subscription_status"`
|
||||
}
|
||||
|
||||
type ProductListData struct {
|
||||
RestrictionInfo RestrictionInfo `json:"restriction_info"`
|
||||
UnderAgeInfo UnderAgeInfo `json:"under_age_info"`
|
||||
SnsProductList []SnsProduct `json:"sns_product_list"`
|
||||
ProductList []Product `json:"product_list"`
|
||||
SubscriptionList []Subscription `json:"subscription_list"`
|
||||
ShowPointShop bool `json:"show_point_shop"`
|
||||
}
|
||||
|
||||
type ProductListResp struct {
|
||||
Result ProductListData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package profile
|
||||
|
||||
type CardRankingResp struct {
|
||||
Result []any `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,146 @@
|
||||
package profile
|
||||
|
||||
type UnitData struct {
|
||||
UnitOwningUserID int `xorm:"unit_owning_user_id pk autoincr" json:"unit_owning_user_id"`
|
||||
UserID int `xorm:"user_id" json:"-"`
|
||||
UnitID int `xorm:"unit_id" json:"unit_id"`
|
||||
Exp int `xorm:"exp" json:"exp"`
|
||||
NextExp int `xorm:"next_exp" json:"next_exp"`
|
||||
Level int `xorm:"level" json:"level"`
|
||||
MaxLevel int `xorm:"max_level" json:"max_level"`
|
||||
LevelLimitID int `xorm:"level_limit_id" json:"level_limit_id"`
|
||||
Rank int `xorm:"rank" json:"rank"`
|
||||
MaxRank int `xorm:"max_rank" json:"max_rank"`
|
||||
Love int `xorm:"love" json:"love"`
|
||||
MaxLove int `xorm:"max_love" json:"max_love"`
|
||||
UnitSkillExp int `xorm:"unit_skill_exp" json:"unit_skill_exp"`
|
||||
UnitSkillLevel int `xorm:"unit_skill_level" json:"unit_skill_level"`
|
||||
MaxHp int `xorm:"max_hp" json:"max_hp"`
|
||||
UnitRemovableSkillCapacity int `xorm:"unit_removable_skill_capacity" json:"unit_removable_skill_capacity"`
|
||||
FavoriteFlag bool `xorm:"favorite_flag" json:"favorite_flag"`
|
||||
DisplayRank int `xorm:"display_rank" json:"display_rank"`
|
||||
IsRankMax bool `xorm:"is_rank_max" json:"is_rank_max"`
|
||||
IsLoveMax bool `xorm:"is_love_max" json:"is_love_max"`
|
||||
IsLevelMax bool `xorm:"is_level_max" json:"is_level_max"`
|
||||
IsSigned bool `xorm:"is_signed" json:"is_signed"`
|
||||
IsSkillLevelMax bool `xorm:"is_skill_level_max" json:"is_skill_level_max"`
|
||||
IsRemovableSkillCapacityMax bool `xorm:"is_removable_skill_capacity_max" json:"is_removable_skill_capacity_max"`
|
||||
InsertDate string `xorm:"insert_date" json:"insert_date"`
|
||||
}
|
||||
|
||||
type AccessoryInfo struct {
|
||||
AccessoryOwningUserID int `json:"accessory_owning_user_id"`
|
||||
AccessoryID int `json:"accessory_id"`
|
||||
Exp int `json:"exp"`
|
||||
NextExp int `json:"next_exp"`
|
||||
Level int `json:"level"`
|
||||
MaxLevel int `json:"max_level"`
|
||||
RankUpCount int `json:"rank_up_count"`
|
||||
FavoriteFlag bool `json:"favorite_flag"`
|
||||
}
|
||||
|
||||
type Costume struct {
|
||||
UnitID int `json:"unit_id"`
|
||||
IsRankMax bool `json:"is_rank_max"`
|
||||
IsSigned bool `json:"is_signed"`
|
||||
}
|
||||
|
||||
type UserInfo struct {
|
||||
UserID int `json:"user_id"`
|
||||
Name string `json:"name"`
|
||||
Level int `json:"level"`
|
||||
CostMax int `json:"cost_max"`
|
||||
UnitMax int `json:"unit_max"`
|
||||
EnergyMax int `json:"energy_max"`
|
||||
FriendMax int `json:"friend_max"`
|
||||
UnitCnt int `json:"unit_cnt"`
|
||||
InviteCode string `json:"invite_code"`
|
||||
ElapsedTimeFromLogin string `json:"elapsed_time_from_login"`
|
||||
Introduction string `json:"introduction"`
|
||||
}
|
||||
|
||||
type CenterUnitInfo struct {
|
||||
UnitOwningUserID int `json:"unit_owning_user_id"`
|
||||
UnitID int `json:"unit_id"`
|
||||
Exp int `json:"exp"`
|
||||
NextExp int `json:"next_exp"`
|
||||
Level int `json:"level"`
|
||||
LevelLimitID int `json:"level_limit_id"`
|
||||
MaxLevel int `json:"max_level"`
|
||||
Rank int `json:"rank"`
|
||||
MaxRank int `json:"max_rank"`
|
||||
Love int `json:"love"`
|
||||
MaxLove int `json:"max_love"`
|
||||
UnitSkillLevel int `json:"unit_skill_level"`
|
||||
MaxHp int `json:"max_hp"`
|
||||
FavoriteFlag bool `json:"favorite_flag"`
|
||||
DisplayRank int `json:"display_rank"`
|
||||
UnitSkillExp int `json:"unit_skill_exp"`
|
||||
UnitRemovableSkillCapacity int `json:"unit_removable_skill_capacity"`
|
||||
Attribute int `json:"attribute"`
|
||||
Smile int `json:"smile"`
|
||||
Cute int `json:"cute"`
|
||||
Cool int `json:"cool"`
|
||||
IsLoveMax bool `json:"is_love_max"`
|
||||
IsLevelMax bool `json:"is_level_max"`
|
||||
IsRankMax bool `json:"is_rank_max"`
|
||||
IsSigned bool `json:"is_signed"`
|
||||
IsSkillLevelMax bool `json:"is_skill_level_max"`
|
||||
SettingAwardID int `json:"setting_award_id"`
|
||||
RemovableSkillIds []int `json:"removable_skill_ids"`
|
||||
AccessoryInfo AccessoryInfo `json:"accessory_info"`
|
||||
Costume Costume `json:"costume"`
|
||||
TotalSmile int `json:"total_smile"`
|
||||
TotalCute int `json:"total_cute"`
|
||||
TotalCool int `json:"total_cool"`
|
||||
TotalHp int `json:"total_hp"`
|
||||
}
|
||||
|
||||
type NaviUnitInfo struct {
|
||||
UnitOwningUserID int `json:"unit_owning_user_id"`
|
||||
UnitID int `json:"unit_id"`
|
||||
Exp int `json:"exp"`
|
||||
NextExp int `json:"next_exp"`
|
||||
Level int `json:"level"`
|
||||
MaxLevel int `json:"max_level"`
|
||||
LevelLimitID int `json:"level_limit_id"`
|
||||
Rank int `json:"rank"`
|
||||
MaxRank int `json:"max_rank"`
|
||||
Love int `json:"love"`
|
||||
MaxLove int `json:"max_love"`
|
||||
UnitSkillExp int `json:"unit_skill_exp"`
|
||||
UnitSkillLevel int `json:"unit_skill_level"`
|
||||
MaxHp int `json:"max_hp"`
|
||||
UnitRemovableSkillCapacity int `json:"unit_removable_skill_capacity"`
|
||||
FavoriteFlag bool `json:"favorite_flag"`
|
||||
DisplayRank int `json:"display_rank"`
|
||||
IsRankMax bool `json:"is_rank_max"`
|
||||
IsLoveMax bool `json:"is_love_max"`
|
||||
IsLevelMax bool `json:"is_level_max"`
|
||||
IsSigned bool `json:"is_signed"`
|
||||
IsSkillLevelMax bool `json:"is_skill_level_max"`
|
||||
IsRemovableSkillCapacityMax bool `json:"is_removable_skill_capacity_max"`
|
||||
InsertDate string `json:"insert_date"`
|
||||
TotalSmile int `json:"total_smile"`
|
||||
TotalCute int `json:"total_cute"`
|
||||
TotalCool int `json:"total_cool"`
|
||||
TotalHp int `json:"total_hp"`
|
||||
RemovableSkillIds []int `json:"removable_skill_ids"`
|
||||
}
|
||||
|
||||
type InfoData struct {
|
||||
UserInfo UserInfo `json:"user_info"`
|
||||
CenterUnitInfo CenterUnitInfo `json:"center_unit_info"`
|
||||
NaviUnitInfo NaviUnitInfo `json:"navi_unit_info"`
|
||||
IsAlliance bool `json:"is_alliance"`
|
||||
FriendStatus int `json:"friend_status"`
|
||||
SettingAwardID int `json:"setting_award_id"`
|
||||
SettingBackgroundID int `json:"setting_background_id"`
|
||||
}
|
||||
|
||||
type InfoResp struct {
|
||||
Result InfoData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package profile
|
||||
|
||||
type LiveCntData struct {
|
||||
Difficulty int `json:"difficulty"`
|
||||
ClearCnt int `json:"clear_cnt"`
|
||||
}
|
||||
|
||||
type LiveCntResp struct {
|
||||
Result []LiveCntData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package scenario
|
||||
|
||||
type StatusList struct {
|
||||
ScenarioID int `json:"scenario_id"`
|
||||
Status int `json:"status"`
|
||||
}
|
||||
|
||||
type StatusData struct {
|
||||
ScenarioStatusList []StatusList `json:"scenario_status_list"`
|
||||
}
|
||||
|
||||
type StatusResp struct {
|
||||
Result StatusData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package subscenario
|
||||
|
||||
type StatusList struct {
|
||||
SubscenarioID int `json:"subscenario_id"`
|
||||
Status int `json:"status"`
|
||||
}
|
||||
|
||||
type StatusData struct {
|
||||
SubscenarioStatusList []StatusList `json:"subscenario_status_list"`
|
||||
UnlockedSubscenarioIds []any `json:"unlocked_subscenario_ids"`
|
||||
}
|
||||
|
||||
type StatusResp struct {
|
||||
Result StatusData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package unit
|
||||
|
||||
type AccessoryList struct {
|
||||
AccessoryOwningUserID int `json:"accessory_owning_user_id" xorm:"accessory_owning_user_id"`
|
||||
AccessoryID int `json:"accessory_id" xorm:"accessory_id"`
|
||||
Exp int `json:"exp" xorm:"exp"`
|
||||
NextExp int `json:"next_exp" xorm:"-"`
|
||||
Level int `json:"level" xorm:"-"`
|
||||
MaxLevel int `json:"max_level" xorm:"-"`
|
||||
RankUpCount int `json:"rank_up_count" xorm:"-"`
|
||||
FavoriteFlag bool `json:"favorite_flag" xorm:"-"`
|
||||
}
|
||||
|
||||
type WearingInfo struct {
|
||||
UnitOwningUserID int `json:"unit_owning_user_id" xorm:"unit_owning_user_id"`
|
||||
AccessoryOwningUserID int `json:"accessory_owning_user_id" xorm:"accessory_owning_user_id"`
|
||||
}
|
||||
|
||||
type AccessoryAllData struct {
|
||||
AccessoryList []AccessoryList `json:"accessory_list"`
|
||||
WearingInfo []WearingInfo `json:"wearing_info"`
|
||||
EspecialCreateFlag bool `json:"especial_create_flag"`
|
||||
}
|
||||
|
||||
type AccessoryAllResp struct {
|
||||
Result AccessoryAllData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
package unit
|
||||
|
||||
type Costume struct {
|
||||
UnitID int `json:"unit_id"`
|
||||
IsRankMax bool `json:"is_rank_max"`
|
||||
IsSigned bool `json:"is_signed"`
|
||||
}
|
||||
|
||||
type Active struct {
|
||||
UnitOwningUserID int `xorm:"unit_owning_user_id pk autoincr" json:"unit_owning_user_id"`
|
||||
UserID int `xorm:"user_id" json:"-"`
|
||||
UnitID int `xorm:"unit_id" json:"unit_id"`
|
||||
Exp int `xorm:"exp" json:"exp"`
|
||||
NextExp int `xorm:"next_exp" json:"next_exp"`
|
||||
Level int `xorm:"level" json:"level"`
|
||||
MaxLevel int `xorm:"max_level" json:"max_level"`
|
||||
LevelLimitID int `xorm:"level_limit_id" json:"level_limit_id"`
|
||||
Rank int `xorm:"rank" json:"rank"`
|
||||
MaxRank int `xorm:"max_rank" json:"max_rank"`
|
||||
Love int `xorm:"love" json:"love"`
|
||||
MaxLove int `xorm:"max_love" json:"max_love"`
|
||||
UnitSkillExp int `xorm:"unit_skill_exp" json:"unit_skill_exp"`
|
||||
UnitSkillLevel int `xorm:"unit_skill_level" json:"unit_skill_level"`
|
||||
MaxHp int `xorm:"max_hp" json:"max_hp"`
|
||||
UnitRemovableSkillCapacity int `xorm:"unit_removable_skill_capacity" json:"unit_removable_skill_capacity"`
|
||||
FavoriteFlag bool `xorm:"favorite_flag" json:"favorite_flag"`
|
||||
DisplayRank int `xorm:"display_rank" json:"display_rank"`
|
||||
IsRankMax bool `xorm:"is_rank_max" json:"is_rank_max"`
|
||||
IsLoveMax bool `xorm:"is_love_max" json:"is_love_max"`
|
||||
IsLevelMax bool `xorm:"is_level_max" json:"is_level_max"`
|
||||
IsSigned bool `xorm:"is_signed" json:"is_signed"`
|
||||
IsSkillLevelMax bool `xorm:"is_skill_level_max" json:"is_skill_level_max"`
|
||||
IsRemovableSkillCapacityMax bool `xorm:"is_removable_skill_capacity_max" json:"is_removable_skill_capacity_max"`
|
||||
InsertDate string `xorm:"insert_date" json:"insert_date"`
|
||||
// Costume Costume `json:"costume"`
|
||||
}
|
||||
|
||||
type Waiting struct {
|
||||
UnitOwningUserID int64 `json:"unit_owning_user_id"`
|
||||
UnitID int `json:"unit_id"`
|
||||
Exp int `json:"exp"`
|
||||
NextExp int `json:"next_exp"`
|
||||
Level int `json:"level"`
|
||||
MaxLevel int `json:"max_level"`
|
||||
LevelLimitID int `json:"level_limit_id"`
|
||||
Rank int `json:"rank"`
|
||||
MaxRank int `json:"max_rank"`
|
||||
Love int `json:"love"`
|
||||
MaxLove int `json:"max_love"`
|
||||
UnitSkillExp int `json:"unit_skill_exp"`
|
||||
UnitSkillLevel int `json:"unit_skill_level"`
|
||||
MaxHp int `json:"max_hp"`
|
||||
UnitRemovableSkillCapacity int `json:"unit_removable_skill_capacity"`
|
||||
FavoriteFlag bool `json:"favorite_flag"`
|
||||
DisplayRank int `json:"display_rank"`
|
||||
IsRankMax bool `json:"is_rank_max"`
|
||||
IsLoveMax bool `json:"is_love_max"`
|
||||
IsLevelMax bool `json:"is_level_max"`
|
||||
IsSigned bool `json:"is_signed"`
|
||||
IsSkillLevelMax bool `json:"is_skill_level_max"`
|
||||
IsRemovableSkillCapacityMax bool `json:"is_removable_skill_capacity_max"`
|
||||
InsertDate string `json:"insert_date"`
|
||||
}
|
||||
|
||||
type AllData struct {
|
||||
Active []Active `json:"active"`
|
||||
Waiting []Waiting `json:"waiting"`
|
||||
}
|
||||
|
||||
type AllResp struct {
|
||||
Result AllData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
package unit
|
||||
|
||||
type UserDeckData struct {
|
||||
ID int `xorm:"id pk autoincr"`
|
||||
DeckID int `xorm:"deck_id"`
|
||||
MainFlag int `xorm:"main_flag"`
|
||||
DeckName string `xorm:"deck_name"`
|
||||
UserID int `xorm:"user_id"`
|
||||
InsertDate int64 `xorm:"insert_date"`
|
||||
}
|
||||
|
||||
type UnitDeckData struct {
|
||||
ID int `xorm:"id pk autoincr" json:"-"`
|
||||
UserDeckID int `xorm:"user_deck_id" json:"-"`
|
||||
UnitOwningUserID int `xorm:"unit_owning_user_id" json:"unit_owning_user_id"`
|
||||
UnitID int `xorm:"unit_id" json:"unit_id"`
|
||||
Position int `xorm:"position" json:"position"`
|
||||
Level int `xorm:"level" json:"level"`
|
||||
LevelLimitID int `xorm:"level_limit_id" json:"level_limit_id"`
|
||||
DisplayRank int `xorm:"display_rank" json:"display_rank"`
|
||||
Love int `xorm:"love" json:"love"`
|
||||
UnitSkillLevel int `xorm:"unit_skill_level" json:"unit_skill_level"`
|
||||
IsRankMax bool `xorm:"is_rank_max" json:"is_rank_max"`
|
||||
IsLoveMax bool `xorm:"is_love_max" json:"is_love_max"`
|
||||
IsLevelMax bool `xorm:"is_level_max" json:"is_level_max"`
|
||||
IsSigned bool `xorm:"is_signed" json:"is_signed"`
|
||||
BeforeLove int `xorm:"before_love" json:"before_love"`
|
||||
MaxLove int `xorm:"max_love" json:"max_love"`
|
||||
InsertData int64 `xorm:"insert_date" json:"-"`
|
||||
}
|
||||
|
||||
type UnitOwningUserIds struct {
|
||||
Position int `json:"position"`
|
||||
UnitOwningUserID int `json:"unit_owning_user_id"`
|
||||
}
|
||||
|
||||
type DeckInfoData struct {
|
||||
UnitDeckID int `json:"unit_deck_id"`
|
||||
MainFlag bool `json:"main_flag"`
|
||||
DeckName string `json:"deck_name"`
|
||||
UnitOwningUserIds []UnitOwningUserIds `json:"unit_owning_user_ids"`
|
||||
}
|
||||
|
||||
type DeckInfoResp struct {
|
||||
Result []DeckInfoData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
package unit
|
||||
|
||||
type SkillEquipCount struct {
|
||||
UnitRemovableSkillId int `xorm:"unit_removable_skill_id"`
|
||||
Count int `xorm:"ct"`
|
||||
}
|
||||
|
||||
type SkillEquipData struct {
|
||||
Id int `xorm:"id pk autoincr"`
|
||||
UnitRemovableSkillId int `xorm:"unit_removable_skill_id"`
|
||||
UnitOwningUserID int `xorm:"unit_owning_user_id"`
|
||||
UserId string `xorm:"user_id"`
|
||||
}
|
||||
|
||||
type SkillEquipDetail struct {
|
||||
UnitRemovableSkillID int `json:"unit_removable_skill_id" xorm:"unit_removable_skill_id"`
|
||||
}
|
||||
|
||||
type SkillEquipList struct {
|
||||
UnitOwningUserID int `json:"unit_owning_user_id"`
|
||||
Detail []SkillEquipDetail `json:"detail"`
|
||||
}
|
||||
|
||||
type OwningInfo struct {
|
||||
UnitRemovableSkillID int `json:"unit_removable_skill_id"`
|
||||
TotalAmount int `json:"total_amount"`
|
||||
EquippedAmount int `json:"equipped_amount"`
|
||||
InsertDate string `json:"insert_date"`
|
||||
}
|
||||
|
||||
type RemovableSkillInfoData struct {
|
||||
OwningInfo []OwningInfo `json:"owning_info"`
|
||||
EquipmentInfo map[int]any `json:"equipment_info"`
|
||||
}
|
||||
|
||||
type RemovableSkillInfoResp struct {
|
||||
Result RemovableSkillInfoData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package unit
|
||||
|
||||
type SupporterList struct {
|
||||
UnitID int `json:"unit_id"`
|
||||
Amount int `json:"amount"`
|
||||
}
|
||||
|
||||
type SupporterAllData struct {
|
||||
UnitSupportList []SupporterList `json:"unit_support_list"`
|
||||
}
|
||||
|
||||
type SupporterAllResp struct {
|
||||
Result SupporterAllData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package user
|
||||
|
||||
type User struct {
|
||||
UserID int `json:"user_id"`
|
||||
UnitOwningUserID int `json:"unit_owning_user_id"`
|
||||
}
|
||||
|
||||
type GetNaviData struct {
|
||||
User User `json:"user"`
|
||||
}
|
||||
|
||||
type GetNaviResp struct {
|
||||
Result GetNaviData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
package user
|
||||
|
||||
type LpRecoveryItem struct {
|
||||
ItemID int `json:"item_id"`
|
||||
Amount int `json:"amount"`
|
||||
}
|
||||
|
||||
type UserInfo struct {
|
||||
UserID int `json:"user_id"`
|
||||
Name string `json:"name"`
|
||||
Level int `json:"level"`
|
||||
Exp int `json:"exp"`
|
||||
PreviousExp int `json:"previous_exp"`
|
||||
NextExp int `json:"next_exp"`
|
||||
GameCoin int `json:"game_coin"`
|
||||
SnsCoin int `json:"sns_coin"`
|
||||
FreeSnsCoin int `json:"free_sns_coin"`
|
||||
PaidSnsCoin int `json:"paid_sns_coin"`
|
||||
SocialPoint int `json:"social_point"`
|
||||
UnitMax int `json:"unit_max"`
|
||||
WaitingUnitMax int `json:"waiting_unit_max"`
|
||||
EnergyMax int `json:"energy_max"`
|
||||
EnergyFullTime string `json:"energy_full_time"`
|
||||
LicenseLiveEnergyRecoverlyTime int `json:"license_live_energy_recoverly_time"`
|
||||
EnergyFullNeedTime int `json:"energy_full_need_time"`
|
||||
OverMaxEnergy int `json:"over_max_energy"`
|
||||
TrainingEnergy int `json:"training_energy"`
|
||||
TrainingEnergyMax int `json:"training_energy_max"`
|
||||
FriendMax int `json:"friend_max"`
|
||||
InviteCode string `json:"invite_code"`
|
||||
InsertDate string `json:"insert_date"`
|
||||
UpdateDate string `json:"update_date"`
|
||||
TutorialState int `json:"tutorial_state"`
|
||||
DiamondCoin int `json:"diamond_coin"`
|
||||
CrystalCoin int `json:"crystal_coin"`
|
||||
LpRecoveryItem []LpRecoveryItem `json:"lp_recovery_item"`
|
||||
}
|
||||
|
||||
type InfoResp struct {
|
||||
Result UserInfo `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package award
|
||||
|
||||
type SetResp struct {
|
||||
ResponseData []any `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package background
|
||||
|
||||
type SetResp struct {
|
||||
ResponseData []any `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package download
|
||||
|
||||
type AdditionalReq struct {
|
||||
Module string `json:"module"`
|
||||
Mgd int `json:"mgd"`
|
||||
Action string `json:"action"`
|
||||
TimeStamp int `json:"timeStamp"`
|
||||
PackageID int `json:"package_id"`
|
||||
TargetOs string `json:"target_os"`
|
||||
PackageType int `json:"package_type"`
|
||||
CommandNum string `json:"commandNum"`
|
||||
}
|
||||
|
||||
type AdditionalData struct {
|
||||
Size int `json:"size"`
|
||||
URL string `json:"url"`
|
||||
}
|
||||
|
||||
type AdditionalResp struct {
|
||||
ResponseData []AdditionalData `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package download
|
||||
|
||||
type BatchReq struct {
|
||||
ClientVersion string `json:"client_version"`
|
||||
Os string `json:"os"`
|
||||
PackageType int `json:"package_type"`
|
||||
ExcludedPackageIds []int `json:"excluded_package_ids"`
|
||||
CommandNum string `json:"commandNum"`
|
||||
}
|
||||
|
||||
type BatchData struct {
|
||||
Size int `json:"size"`
|
||||
URL string `json:"url"`
|
||||
}
|
||||
|
||||
type BatchResp struct {
|
||||
ResponseData []BatchData `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package download
|
||||
|
||||
type EventResp struct {
|
||||
ResponseData []any `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package download
|
||||
|
||||
type UpdateReq struct {
|
||||
Module string `json:"module"`
|
||||
TargetOs string `json:"target_os"`
|
||||
InstallVersion string `json:"install_version"`
|
||||
TimeStamp int `json:"timeStamp"`
|
||||
Action string `json:"action"`
|
||||
PackageList []any `json:"package_list"`
|
||||
CommandNum string `json:"commandNum"`
|
||||
ExternalVersion string `json:"external_version"`
|
||||
}
|
||||
|
||||
type UpdateData struct {
|
||||
Size int `json:"size"`
|
||||
URL string `json:"url"`
|
||||
Version string `json:"version"`
|
||||
}
|
||||
|
||||
type UpdateResp struct {
|
||||
ResponseData []UpdateData `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package download
|
||||
|
||||
type UrlReq struct {
|
||||
Module string `json:"module"`
|
||||
Os string `json:"os"`
|
||||
Mgd int `json:"mgd"`
|
||||
PathList []string `json:"path_list"`
|
||||
Action string `json:"action"`
|
||||
}
|
||||
|
||||
type UrlData struct {
|
||||
UrlList []string `json:"url_list"`
|
||||
}
|
||||
|
||||
type UrlResp struct {
|
||||
ResponseData UrlData `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package event
|
||||
|
||||
type TargetList struct {
|
||||
Position int `json:"position"`
|
||||
IsDisplayable bool `json:"is_displayable"`
|
||||
}
|
||||
|
||||
type ListData struct {
|
||||
TargetList []TargetList `json:"target_list"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
type ListResp struct {
|
||||
ResponseData any `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package gdpr
|
||||
|
||||
type GetData struct {
|
||||
EnableGdpr bool `json:"enable_gdpr"`
|
||||
IsEea bool `json:"is_eea"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
type GetResp struct {
|
||||
ResponseData GetData `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
package ghome
|
||||
|
||||
type ActiveData struct {
|
||||
Message string `json:"message"`
|
||||
Result int `json:"result"`
|
||||
}
|
||||
|
||||
type ActiveResp struct {
|
||||
Code int `json:"code"`
|
||||
Msg string `json:"msg"`
|
||||
Data ActiveData `json:"data"`
|
||||
}
|
||||
|
||||
type InitializeData struct {
|
||||
BrandLogo string `json:"brand_logo"`
|
||||
BrandName string `json:"brand_name"`
|
||||
DaoyuClientid string `json:"daoyu_clientid"`
|
||||
DaoyuDownloadURL string `json:"daoyu_download_url"`
|
||||
DeviceFeature string `json:"device_feature"`
|
||||
DisplayThirdaccout int `json:"display_thirdaccout"`
|
||||
ForceShowAgreement int `json:"force_show_agreement"`
|
||||
GreportLogLevel string `json:"greport_log_level"`
|
||||
GuestEnable int `json:"guest_enable"`
|
||||
IsMatch int `json:"is_match"`
|
||||
LogLevel string `json:"log_level"`
|
||||
LoginButton []string `json:"login_button"`
|
||||
LoginIcon []any `json:"login_icon"`
|
||||
LoginLimitEnable int `json:"login_limit_enable"`
|
||||
NeedFloatWindowPermission int `json:"need_float_window_permission"`
|
||||
NewDeviceIDServer string `json:"new_device_id_server"`
|
||||
QqAppID string `json:"qq_appId"`
|
||||
QqKey string `json:"qq_key"`
|
||||
ShowGuestConfirm int `json:"show_guest_confirm"`
|
||||
VoicetipButton int `json:"voicetip_button"`
|
||||
VoicetipOne string `json:"voicetip_one"`
|
||||
VoicetipTwo string `json:"voicetip_two"`
|
||||
WegameAppid string `json:"wegame_appid"`
|
||||
WegameAppkey string `json:"wegame_appkey"`
|
||||
WegameClientid string `json:"wegame_clientid"`
|
||||
WegameCompanyID string `json:"wegame_companyId"`
|
||||
WegameLoginURL string `json:"wegame_loginUrl"`
|
||||
WeiboAppKey string `json:"weibo_appKey"`
|
||||
WeiboRedirectURL string `json:"weibo_redirectUrl"`
|
||||
WeixinAppID string `json:"weixin_appId"`
|
||||
WeixinKey string `json:"weixin_key"`
|
||||
}
|
||||
|
||||
type InitializeResp struct {
|
||||
Code int `json:"code"`
|
||||
Msg string `json:"msg"`
|
||||
Data string `json:"data"`
|
||||
}
|
||||
|
||||
type LoginData struct {
|
||||
Activation int `json:"activation"`
|
||||
Autokey string `json:"autokey"`
|
||||
CaptchaParams string `json:"captchaParams"`
|
||||
CheckCodeGUID string `json:"checkCodeGuid"`
|
||||
CheckCodeURL string `json:"checkCodeUrl"`
|
||||
HasExtendAccs int `json:"hasExtendAccs"`
|
||||
HasRealInfo int `json:"has_realInfo"`
|
||||
ImagecodeType int `json:"imagecodeType"`
|
||||
IsNewUser int `json:"isNewUser"`
|
||||
Message string `json:"message"`
|
||||
NextAction int `json:"nextAction"`
|
||||
PromptMsg string `json:"prompt_msg"`
|
||||
RealInfoNotification string `json:"realInfoNotification"`
|
||||
RealInfoForce int `json:"realInfo_force"`
|
||||
RealInfoForcePay int `json:"realInfo_force_pay"`
|
||||
RealInfoStatus int `json:"realInfo_status"`
|
||||
RealInfoStatusPay int `json:"realInfo_status_pay"`
|
||||
Result int `json:"result"`
|
||||
SdgHeight int `json:"sdg_height"`
|
||||
SdgWidth int `json:"sdg_width"`
|
||||
Ticket string `json:"ticket"`
|
||||
UserAttribute string `json:"userAttribute"`
|
||||
UserID int `json:"userid"`
|
||||
}
|
||||
|
||||
type LoginResp struct {
|
||||
Code int `json:"code"`
|
||||
Msg string `json:"msg"`
|
||||
Data string `json:"data"`
|
||||
}
|
||||
|
||||
type LoginAutoData struct {
|
||||
Result int `json:"result"`
|
||||
Message string `json:"message"`
|
||||
Autokey string `json:"autokey,omitempty"`
|
||||
UserId string `json:"userid,omitempty"`
|
||||
Ticket string `json:"ticket,omitempty"`
|
||||
}
|
||||
|
||||
type LoginAutoResp struct {
|
||||
Code int `json:"code"`
|
||||
Msg string `json:"msg"`
|
||||
Data string `json:"data"`
|
||||
}
|
||||
|
||||
type ReportRoleResp struct {
|
||||
Code int `json:"code"`
|
||||
Msg string `json:"msg"`
|
||||
Data string `json:"data"`
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
package ghome
|
||||
|
||||
type GetCodeResp struct {
|
||||
Code int `json:"code"`
|
||||
Msg string `json:"msg"`
|
||||
Data map[string]any `json:"data"`
|
||||
}
|
||||
|
||||
type GetProductListResp struct {
|
||||
Code int `json:"code"`
|
||||
Msg string `json:"msg"`
|
||||
Data GetProductListData `json:"data"`
|
||||
}
|
||||
|
||||
type GetProductListData struct {
|
||||
Message []string `json:"message"`
|
||||
Result int `json:"result"`
|
||||
}
|
||||
|
||||
type HandshakeResp struct {
|
||||
Code int `json:"code"`
|
||||
Msg string `json:"msg"`
|
||||
Data string `json:"data"`
|
||||
}
|
||||
|
||||
type LoginAreaData struct {
|
||||
UserID string `json:"userid"`
|
||||
}
|
||||
|
||||
type LoginAreaResp struct {
|
||||
Code int `json:"code"`
|
||||
Msg string `json:"msg"`
|
||||
Data LoginAreaData `json:"data"`
|
||||
}
|
||||
|
||||
type PublicKeyData struct {
|
||||
Result int `json:"result"`
|
||||
Message string `json:"message"`
|
||||
Key string `json:"key,omitempty"`
|
||||
Method string `json:"method,omitempty"`
|
||||
}
|
||||
|
||||
type PublicKeyResp struct {
|
||||
Code int `json:"code"`
|
||||
Msg string `json:"msg"`
|
||||
Data PublicKeyData `json:"data"`
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package ghome
|
||||
|
||||
type GuestStatusData struct {
|
||||
Disablead int `json:"disablead"`
|
||||
Loginswitch int `json:"loginswitch"`
|
||||
Message string `json:"message"`
|
||||
Result int `json:"result"`
|
||||
}
|
||||
|
||||
type GuestStatusResp struct {
|
||||
Code int `json:"code"`
|
||||
Msg string `json:"msg"`
|
||||
Data GuestStatusData `json:"data"`
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package ghome
|
||||
|
||||
type AgreementData struct {
|
||||
}
|
||||
|
||||
type AgreementResp struct {
|
||||
ReturnCode int `json:"return_code"`
|
||||
ErrorType int `json:"error_type"`
|
||||
ReturnMessage string `json:"return_message"`
|
||||
Data AgreementData `json:"data"`
|
||||
}
|
||||
|
||||
type AppReportData struct {
|
||||
NeedReport int `json:"needReport"`
|
||||
}
|
||||
|
||||
type AppReportResp struct {
|
||||
Code int `json:"code"`
|
||||
Msg string `json:"msg"`
|
||||
Data AppReportData `json:"data"`
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
package lbonus
|
||||
|
||||
type Item struct {
|
||||
ItemID int `json:"item_id"`
|
||||
AddType int `json:"add_type"`
|
||||
Amount int `json:"amount"`
|
||||
}
|
||||
|
||||
type Day struct {
|
||||
Day int `json:"day"`
|
||||
DayOfTheWeek int `json:"day_of_the_week"`
|
||||
SpecialDay bool `json:"special_day"`
|
||||
SpecialImageAsset string `json:"special_image_asset"`
|
||||
Received bool `json:"received"`
|
||||
AdReceived bool `json:"ad_received"`
|
||||
Item Item `json:"item"`
|
||||
}
|
||||
|
||||
type Month struct {
|
||||
Year int `json:"year"`
|
||||
Month int `json:"month"`
|
||||
Days []Day `json:"days"`
|
||||
}
|
||||
|
||||
type CalendarInfo struct {
|
||||
CurrentDate string `json:"current_date"`
|
||||
CurrentMonth Month `json:"current_month"`
|
||||
NextMonth Month `json:"next_month"`
|
||||
}
|
||||
|
||||
type Reward struct {
|
||||
ItemID int `json:"item_id"`
|
||||
AddType int `json:"add_type"`
|
||||
Amount int `json:"amount"`
|
||||
}
|
||||
|
||||
type TotalLoginInfo struct {
|
||||
LoginCount int `json:"login_count"`
|
||||
RemainingCount int `json:"remaining_count"`
|
||||
Reward []Reward `json:"reward"`
|
||||
}
|
||||
|
||||
type RankInfo struct {
|
||||
BeforeClassRankID int `json:"before_class_rank_id"`
|
||||
AfterClassRankID int `json:"after_class_rank_id"`
|
||||
RankUpDate string `json:"rank_up_date"`
|
||||
}
|
||||
|
||||
type ClassSystem struct {
|
||||
RankInfo RankInfo `json:"rank_info"`
|
||||
CompleteFlag bool `json:"complete_flag"`
|
||||
IsOpened bool `json:"is_opened"`
|
||||
IsVisible bool `json:"is_visible"`
|
||||
}
|
||||
|
||||
type Rewards struct {
|
||||
Rarity int `json:"rarity"`
|
||||
ItemID int `json:"item_id"`
|
||||
AddType int `json:"add_type"`
|
||||
Amount int `json:"amount"`
|
||||
ItemCategoryID int `json:"item_category_id"`
|
||||
RewardBoxFlag bool `json:"reward_box_flag"`
|
||||
InsertDate string `json:"insert_date"`
|
||||
}
|
||||
|
||||
type EffortPoint struct {
|
||||
LiveEffortPointBoxSpecID int `json:"live_effort_point_box_spec_id"`
|
||||
Capacity int `json:"capacity"`
|
||||
Before int `json:"before"`
|
||||
After int `json:"after"`
|
||||
Rewards []Rewards `json:"rewards"`
|
||||
}
|
||||
|
||||
type Parameter struct {
|
||||
Smile int `json:"smile"`
|
||||
Pure int `json:"pure"`
|
||||
Cool int `json:"cool"`
|
||||
}
|
||||
|
||||
type Museum struct {
|
||||
Parameter Parameter `json:"parameter"`
|
||||
ContentsIDList []int `json:"contents_id_list"`
|
||||
}
|
||||
|
||||
type ExecuteData struct {
|
||||
Sheets []any `json:"sheets"`
|
||||
CalendarInfo CalendarInfo `json:"calendar_info"`
|
||||
TotalLoginInfo TotalLoginInfo `json:"total_login_info"`
|
||||
LicenseLbonusList []any `json:"license_lbonus_list"`
|
||||
ClassSystem ClassSystem `json:"class_system"`
|
||||
StartDashSheets []any `json:"start_dash_sheets"`
|
||||
EffortPoint []EffortPoint `json:"effort_point"`
|
||||
LimitedEffortBox []any `json:"limited_effort_box"`
|
||||
MuseumInfo Museum `json:"museum_info"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
PresentCnt int `json:"present_cnt"`
|
||||
}
|
||||
|
||||
type ExecuteResp struct {
|
||||
ResponseData ExecuteData `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package live
|
||||
|
||||
type GameOverResp struct {
|
||||
ResponseData []any `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
package live
|
||||
|
||||
type PlayReq struct {
|
||||
Module string `json:"module"`
|
||||
PartyUserID int64 `json:"party_user_id"`
|
||||
Action string `json:"action"`
|
||||
Mgd int `json:"mgd"`
|
||||
IsTraining bool `json:"is_training"`
|
||||
UnitDeckID int `json:"unit_deck_id"`
|
||||
LiveDifficultyID string `json:"live_difficulty_id"`
|
||||
TimeStamp int `json:"timeStamp"`
|
||||
LpFactor int `json:"lp_factor"`
|
||||
CommandNum string `json:"commandNum"`
|
||||
}
|
||||
|
||||
type RankInfo struct {
|
||||
Rank int `json:"rank"`
|
||||
RankMin int `json:"rank_min"`
|
||||
RankMax int `json:"rank_max"`
|
||||
}
|
||||
|
||||
type NotesList struct {
|
||||
TimingSec float64 `json:"timing_sec"`
|
||||
NotesAttribute int `json:"notes_attribute"`
|
||||
NotesLevel int `json:"notes_level"`
|
||||
Effect int `json:"effect"`
|
||||
EffectValue float64 `json:"effect_value"`
|
||||
Position int `json:"position"`
|
||||
}
|
||||
|
||||
type LiveInfo struct {
|
||||
LiveDifficultyID int `json:"live_difficulty_id"`
|
||||
IsRandom bool `json:"is_random"`
|
||||
AcFlag int `json:"ac_flag"`
|
||||
SwingFlag int `json:"swing_flag"`
|
||||
NotesList []NotesList `json:"notes_list"`
|
||||
}
|
||||
|
||||
type Costume struct {
|
||||
UnitID int `json:"unit_id"`
|
||||
IsRankMax bool `json:"is_rank_max"`
|
||||
IsSigned bool `json:"is_signed"`
|
||||
}
|
||||
|
||||
type UnitList struct {
|
||||
Smile int `json:"smile"`
|
||||
Cute int `json:"cute"`
|
||||
Cool int `json:"cool"`
|
||||
// Costume Costume `json:"costume"`
|
||||
}
|
||||
|
||||
type DeckInfo struct {
|
||||
UnitDeckID int `json:"unit_deck_id"`
|
||||
TotalSmile int `json:"total_smile"`
|
||||
TotalCute int `json:"total_cute"`
|
||||
TotalCool int `json:"total_cool"`
|
||||
TotalHp int `json:"total_hp"`
|
||||
PreparedHpDamage int `json:"prepared_hp_damage"`
|
||||
UnitList []UnitList `json:"unit_list"`
|
||||
}
|
||||
|
||||
type PlayLiveList struct {
|
||||
LiveInfo LiveInfo `json:"live_info"`
|
||||
DeckInfo DeckInfo `json:"deck_info"`
|
||||
}
|
||||
|
||||
type PlayData struct {
|
||||
RankInfo []RankInfo `json:"rank_info"`
|
||||
EnergyFullTime string `json:"energy_full_time"`
|
||||
OverMaxEnergy int `json:"over_max_energy"`
|
||||
AvailableLiveResume bool `json:"available_live_resume"`
|
||||
LiveList []PlayLiveList `json:"live_list"`
|
||||
IsMarathonEvent bool `json:"is_marathon_event"`
|
||||
MarathonEventID any `json:"marathon_event_id"`
|
||||
NoSkill bool `json:"no_skill"`
|
||||
CanActivateEffect bool `json:"can_activate_effect"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
type PlayResp struct {
|
||||
ResponseData PlayData `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
package live
|
||||
|
||||
type PlayScoreReq struct {
|
||||
Module string `json:"module"`
|
||||
Action string `json:"action"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
Mgd int `json:"mgd"`
|
||||
LiveDifficultyID string `json:"live_difficulty_id"`
|
||||
CommandNum string `json:"commandNum"`
|
||||
}
|
||||
|
||||
type On struct {
|
||||
HasRecord bool `json:"has_record"`
|
||||
LiveInfo LiveInfo `json:"live_info"`
|
||||
RandomSeed any `json:"random_seed"`
|
||||
MaxCombo any `json:"max_combo"`
|
||||
UpdateDate any `json:"update_date"`
|
||||
PreciseList any `json:"precise_list"`
|
||||
DeckInfo any `json:"deck_info"`
|
||||
TapAdjust any `json:"tap_adjust"`
|
||||
CanReplay bool `json:"can_replay"`
|
||||
}
|
||||
|
||||
type Off struct {
|
||||
HasRecord bool `json:"has_record"`
|
||||
LiveInfo LiveInfo `json:"live_info"`
|
||||
RandomSeed any `json:"random_seed"`
|
||||
MaxCombo any `json:"max_combo"`
|
||||
UpdateDate any `json:"update_date"`
|
||||
PreciseList any `json:"precise_list"`
|
||||
DeckInfo any `json:"deck_info"`
|
||||
TapAdjust any `json:"tap_adjust"`
|
||||
CanReplay bool `json:"can_replay"`
|
||||
}
|
||||
|
||||
type PreciseScoreData struct {
|
||||
On On `json:"on"`
|
||||
Off Off `json:"off"`
|
||||
RankInfo []RankInfo `json:"rank_info"`
|
||||
CanActivateEffect bool `json:"can_activate_effect"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
type PreciseScoreResp struct {
|
||||
ResponseData PreciseScoreData `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,361 @@
|
||||
package live
|
||||
|
||||
type RewardReq struct {
|
||||
Module string `json:"module"`
|
||||
Action string `json:"action"`
|
||||
GoodCnt int `json:"good_cnt"`
|
||||
MissCnt int `json:"miss_cnt"`
|
||||
IsTraining bool `json:"is_training"`
|
||||
GreatCnt int `json:"great_cnt"`
|
||||
CommandNum string `json:"commandNum"`
|
||||
LoveCnt int `json:"love_cnt"`
|
||||
RemainHp int `json:"remain_hp"`
|
||||
MaxCombo int `json:"max_combo"`
|
||||
ScoreSmile int `json:"score_smile"`
|
||||
PerfectCnt int `json:"perfect_cnt"`
|
||||
BadCnt int `json:"bad_cnt"`
|
||||
Mgd int `json:"mgd"`
|
||||
EventPoint int `json:"event_point"`
|
||||
LiveDifficultyID int `json:"live_difficulty_id"`
|
||||
TimeStamp int `json:"timeStamp"`
|
||||
PreciseScoreLog PreciseScoreLog `json:"precise_score_log"`
|
||||
ScoreCute int `json:"score_cute"`
|
||||
EventID any `json:"event_id"`
|
||||
ScoreCool int `json:"score_cool"`
|
||||
}
|
||||
|
||||
type Icon struct {
|
||||
SlideID int `json:"slide_id"`
|
||||
JustID int `json:"just_id"`
|
||||
NormalID int `json:"normal_id"`
|
||||
}
|
||||
|
||||
type LiveSetting struct {
|
||||
StringSize int `json:"string_size"`
|
||||
PreciseScoreAutoUpdateFlag bool `json:"precise_score_auto_update_flag"`
|
||||
SeID int `json:"se_id"`
|
||||
CutinBrightness int `json:"cutin_brightness"`
|
||||
RandomValue int `json:"random_value"`
|
||||
PreciseScoreUpdateType int `json:"precise_score_update_type"`
|
||||
EffectFlag bool `json:"effect_flag"`
|
||||
NotesSpeed float64 `json:"notes_speed"`
|
||||
Icon Icon `json:"icon"`
|
||||
CutinType int `json:"cutin_type"`
|
||||
}
|
||||
|
||||
type PreciseList struct {
|
||||
Effect int `json:"effect"`
|
||||
Count int `json:"count"`
|
||||
Tap float64 `json:"tap"`
|
||||
NoteNumber int `json:"note_number"`
|
||||
Position int `json:"position"`
|
||||
Accuracy int `json:"accuracy"`
|
||||
IsSame bool `json:"is_same"`
|
||||
}
|
||||
|
||||
type BackgroundScore struct {
|
||||
Smile int `json:"smile"`
|
||||
Cute int `json:"cute"`
|
||||
Cool int `json:"cool"`
|
||||
}
|
||||
|
||||
type TriggerLog struct {
|
||||
ActivationRate int `json:"activation_rate"`
|
||||
Position int `json:"position"`
|
||||
}
|
||||
|
||||
type PreciseScoreLog struct {
|
||||
LiveSetting LiveSetting `json:"live_setting"`
|
||||
TapAdjust int `json:"tap_adjust"`
|
||||
PreciseList []PreciseList `json:"precise_list"`
|
||||
BackgroundScore BackgroundScore `json:"background_score"`
|
||||
IsLogOn bool `json:"is_log_on"`
|
||||
ScoreLog []int `json:"score_log"`
|
||||
IsSkillOn bool `json:"is_skill_on"`
|
||||
TriggerLog []TriggerLog `json:"trigger_log"`
|
||||
RandomSeed int `json:"random_seed"`
|
||||
}
|
||||
|
||||
type RewardLiveInfo struct {
|
||||
LiveDifficultyID int `json:"live_difficulty_id"`
|
||||
IsRandom bool `json:"is_random"`
|
||||
AcFlag int `json:"ac_flag"`
|
||||
SwingFlag int `json:"swing_flag"`
|
||||
}
|
||||
|
||||
type PlayerExpUnitMax struct {
|
||||
Before int `json:"before"`
|
||||
After int `json:"after"`
|
||||
}
|
||||
|
||||
type PlayerExpFriendMax struct {
|
||||
Before int `json:"before"`
|
||||
After int `json:"after"`
|
||||
}
|
||||
|
||||
type PlayerExpLpMax struct {
|
||||
Before int `json:"before"`
|
||||
After int `json:"after"`
|
||||
}
|
||||
|
||||
type BaseRewardInfo struct {
|
||||
PlayerExp int `json:"player_exp"`
|
||||
PlayerExpUnitMax PlayerExpUnitMax `json:"player_exp_unit_max"`
|
||||
PlayerExpFriendMax PlayerExpFriendMax `json:"player_exp_friend_max"`
|
||||
PlayerExpLpMax PlayerExpLpMax `json:"player_exp_lp_max"`
|
||||
GameCoin int `json:"game_coin"`
|
||||
GameCoinRewardBoxFlag bool `json:"game_coin_reward_box_flag"`
|
||||
SocialPoint int `json:"social_point"`
|
||||
}
|
||||
|
||||
type LiveClear struct {
|
||||
AddType int `json:"add_type"`
|
||||
Amount int `json:"amount"`
|
||||
ItemCategoryID int `json:"item_category_id"`
|
||||
UnitID int `json:"unit_id"`
|
||||
UnitOwningUserID int64 `json:"unit_owning_user_id"`
|
||||
IsSupportMember bool `json:"is_support_member"`
|
||||
Exp int `json:"exp"`
|
||||
NextExp int `json:"next_exp"`
|
||||
MaxHp int `json:"max_hp"`
|
||||
Level int `json:"level"`
|
||||
MaxLevel int `json:"max_level"`
|
||||
LevelLimitID int `json:"level_limit_id"`
|
||||
SkillLevel int `json:"skill_level"`
|
||||
Rank int `json:"rank"`
|
||||
Love int `json:"love"`
|
||||
IsRankMax bool `json:"is_rank_max"`
|
||||
IsLevelMax bool `json:"is_level_max"`
|
||||
IsLoveMax bool `json:"is_love_max"`
|
||||
IsSigned bool `json:"is_signed"`
|
||||
NewUnitFlag bool `json:"new_unit_flag"`
|
||||
RewardBoxFlag bool `json:"reward_box_flag"`
|
||||
UnitSkillExp int `json:"unit_skill_exp"`
|
||||
DisplayRank int `json:"display_rank"`
|
||||
UnitRemovableSkillCapacity int `json:"unit_removable_skill_capacity"`
|
||||
RemovableSkillIds []any `json:"removable_skill_ids"`
|
||||
}
|
||||
|
||||
type LiveRank struct {
|
||||
AddType int `json:"add_type"`
|
||||
Amount int `json:"amount"`
|
||||
ItemCategoryID int `json:"item_category_id"`
|
||||
UnitID int `json:"unit_id"`
|
||||
UnitOwningUserID int64 `json:"unit_owning_user_id"`
|
||||
IsSupportMember bool `json:"is_support_member"`
|
||||
Exp int `json:"exp"`
|
||||
NextExp int `json:"next_exp"`
|
||||
MaxHp int `json:"max_hp"`
|
||||
Level int `json:"level"`
|
||||
MaxLevel int `json:"max_level"`
|
||||
LevelLimitID int `json:"level_limit_id"`
|
||||
SkillLevel int `json:"skill_level"`
|
||||
Rank int `json:"rank"`
|
||||
Love int `json:"love"`
|
||||
IsRankMax bool `json:"is_rank_max"`
|
||||
IsLevelMax bool `json:"is_level_max"`
|
||||
IsLoveMax bool `json:"is_love_max"`
|
||||
IsSigned bool `json:"is_signed"`
|
||||
NewUnitFlag bool `json:"new_unit_flag"`
|
||||
RewardBoxFlag bool `json:"reward_box_flag"`
|
||||
UnitSkillExp int `json:"unit_skill_exp"`
|
||||
DisplayRank int `json:"display_rank"`
|
||||
UnitRemovableSkillCapacity int `json:"unit_removable_skill_capacity"`
|
||||
RemovableSkillIds []any `json:"removable_skill_ids"`
|
||||
}
|
||||
|
||||
type RewardUnitList struct {
|
||||
LiveClear []LiveClear `json:"live_clear"`
|
||||
LiveRank []LiveRank `json:"live_rank"`
|
||||
LiveCombo []any `json:"live_combo"`
|
||||
}
|
||||
|
||||
type Rewards struct {
|
||||
Rarity int `json:"rarity"`
|
||||
ItemID int `json:"item_id"`
|
||||
AddType int `json:"add_type"`
|
||||
Amount int `json:"amount"`
|
||||
ItemCategoryID int `json:"item_category_id"`
|
||||
RewardBoxFlag bool `json:"reward_box_flag"`
|
||||
InsertDate string `json:"insert_date"`
|
||||
}
|
||||
|
||||
type EffortPoint struct {
|
||||
LiveEffortPointBoxSpecID int `json:"live_effort_point_box_spec_id"`
|
||||
Capacity int `json:"capacity"`
|
||||
Before int `json:"before"`
|
||||
After int `json:"after"`
|
||||
Rewards []Rewards `json:"rewards"`
|
||||
}
|
||||
|
||||
type PlayRewardUnitList struct {
|
||||
ID int `xorm:"id pk autoincr" json:"-"`
|
||||
UserDeckID int `xorm:"user_deck_id" json:"-"`
|
||||
UnitOwningUserID int `xorm:"unit_owning_user_id" json:"unit_owning_user_id"`
|
||||
UnitID int `xorm:"unit_id" json:"unit_id"`
|
||||
Position int `xorm:"position" json:"position"`
|
||||
Level int `xorm:"level" json:"level"`
|
||||
LevelLimitID int `xorm:"level_limit_id" json:"level_limit_id"`
|
||||
DisplayRank int `xorm:"display_rank" json:"display_rank"`
|
||||
Love int `xorm:"love" json:"love"`
|
||||
UnitSkillLevel int `xorm:"unit_skill_level" json:"unit_skill_level"`
|
||||
IsRankMax bool `xorm:"is_rank_max" json:"is_rank_max"`
|
||||
IsLoveMax bool `xorm:"is_love_max" json:"is_love_max"`
|
||||
IsLevelMax bool `xorm:"is_level_max" json:"is_level_max"`
|
||||
IsSigned bool `xorm:"is_signed" json:"is_signed"`
|
||||
BeforeLove int `xorm:"before_love" json:"before_love"`
|
||||
MaxLove int `xorm:"max_love" json:"max_love"`
|
||||
InsertData int64 `xorm:"insert_date" json:"-"`
|
||||
}
|
||||
|
||||
type BeforeUserInfo struct {
|
||||
Level int `json:"level"`
|
||||
Exp int `json:"exp"`
|
||||
PreviousExp int `json:"previous_exp"`
|
||||
NextExp int `json:"next_exp"`
|
||||
GameCoin int `json:"game_coin"`
|
||||
SnsCoin int `json:"sns_coin"`
|
||||
FreeSnsCoin int `json:"free_sns_coin"`
|
||||
PaidSnsCoin int `json:"paid_sns_coin"`
|
||||
SocialPoint int `json:"social_point"`
|
||||
UnitMax int `json:"unit_max"`
|
||||
WaitingUnitMax int `json:"waiting_unit_max"`
|
||||
CurrentEnergy int `json:"current_energy"`
|
||||
EnergyMax int `json:"energy_max"`
|
||||
TrainingEnergy int `json:"training_energy"`
|
||||
TrainingEnergyMax int `json:"training_energy_max"`
|
||||
EnergyFullTime string `json:"energy_full_time"`
|
||||
LicenseLiveEnergyRecoverlyTime int `json:"license_live_energy_recoverly_time"`
|
||||
FriendMax int `json:"friend_max"`
|
||||
TutorialState int `json:"tutorial_state"`
|
||||
OverMaxEnergy int `json:"over_max_energy"`
|
||||
UnlockRandomLiveMuse int `json:"unlock_random_live_muse"`
|
||||
UnlockRandomLiveAqours int `json:"unlock_random_live_aqours"`
|
||||
}
|
||||
|
||||
type AfterUserInfo struct {
|
||||
Level int `json:"level"`
|
||||
Exp int `json:"exp"`
|
||||
PreviousExp int `json:"previous_exp"`
|
||||
NextExp int `json:"next_exp"`
|
||||
GameCoin int `json:"game_coin"`
|
||||
SnsCoin int `json:"sns_coin"`
|
||||
FreeSnsCoin int `json:"free_sns_coin"`
|
||||
PaidSnsCoin int `json:"paid_sns_coin"`
|
||||
SocialPoint int `json:"social_point"`
|
||||
UnitMax int `json:"unit_max"`
|
||||
WaitingUnitMax int `json:"waiting_unit_max"`
|
||||
CurrentEnergy int `json:"current_energy"`
|
||||
EnergyMax int `json:"energy_max"`
|
||||
TrainingEnergy int `json:"training_energy"`
|
||||
TrainingEnergyMax int `json:"training_energy_max"`
|
||||
EnergyFullTime string `json:"energy_full_time"`
|
||||
LicenseLiveEnergyRecoverlyTime int `json:"license_live_energy_recoverly_time"`
|
||||
FriendMax int `json:"friend_max"`
|
||||
TutorialState int `json:"tutorial_state"`
|
||||
OverMaxEnergy int `json:"over_max_energy"`
|
||||
UnlockRandomLiveMuse int `json:"unlock_random_live_muse"`
|
||||
UnlockRandomLiveAqours int `json:"unlock_random_live_aqours"`
|
||||
}
|
||||
|
||||
type NextLevelInfo struct {
|
||||
Level int `json:"level"`
|
||||
FromExp int `json:"from_exp"`
|
||||
}
|
||||
|
||||
type GoalAccompInfo struct {
|
||||
AchievedIds []any `json:"achieved_ids"`
|
||||
Rewards []any `json:"rewards"`
|
||||
}
|
||||
|
||||
type RewardRankInfo struct {
|
||||
BeforeClassRankID int `json:"before_class_rank_id"`
|
||||
AfterClassRankID int `json:"after_class_rank_id"`
|
||||
RankUpDate string `json:"rank_up_date"`
|
||||
}
|
||||
|
||||
type ClassSystem struct {
|
||||
RankInfo RewardRankInfo `json:"rank_info"`
|
||||
CompleteFlag bool `json:"complete_flag"`
|
||||
IsOpened bool `json:"is_opened"`
|
||||
IsVisible bool `json:"is_visible"`
|
||||
}
|
||||
|
||||
type PlayRewardList struct {
|
||||
ItemID int `json:"item_id"`
|
||||
AddType int `json:"add_type"`
|
||||
Amount int `json:"amount"`
|
||||
ItemCategoryID int `json:"item_category_id"`
|
||||
RewardBoxFlag bool `json:"reward_box_flag"`
|
||||
}
|
||||
|
||||
type AccomplishedAchievementList struct {
|
||||
AchievementID int `json:"achievement_id"`
|
||||
Count int `json:"count"`
|
||||
IsAccomplished bool `json:"is_accomplished"`
|
||||
InsertDate string `json:"insert_date"`
|
||||
EndDate string `json:"end_date"`
|
||||
RemainingTime string `json:"remaining_time"`
|
||||
IsNew bool `json:"is_new"`
|
||||
ForDisplay bool `json:"for_display"`
|
||||
IsLocked bool `json:"is_locked"`
|
||||
OpenConditionString string `json:"open_condition_string"`
|
||||
AccomplishID string `json:"accomplish_id"`
|
||||
RewardList []PlayRewardList `json:"reward_list"`
|
||||
}
|
||||
|
||||
type Parameter struct {
|
||||
Smile int `json:"smile"`
|
||||
Pure int `json:"pure"`
|
||||
Cool int `json:"cool"`
|
||||
}
|
||||
|
||||
type Museum struct {
|
||||
Parameter Parameter `json:"parameter"`
|
||||
ContentsIDList []int `json:"contents_id_list"`
|
||||
}
|
||||
|
||||
type RewardUnitSupportList struct {
|
||||
UnitID int `json:"unit_id"`
|
||||
Amount int `json:"amount"`
|
||||
}
|
||||
|
||||
type RewardData struct {
|
||||
LiveInfo []RewardLiveInfo `json:"live_info"`
|
||||
Rank int `json:"rank"`
|
||||
ComboRank int `json:"combo_rank"`
|
||||
TotalLove int `json:"total_love"`
|
||||
IsHighScore bool `json:"is_high_score"`
|
||||
HiScore int `json:"hi_score"`
|
||||
BaseRewardInfo BaseRewardInfo `json:"base_reward_info"`
|
||||
RewardUnitList RewardUnitList `json:"reward_unit_list"`
|
||||
UnlockedSubscenarioIds []any `json:"unlocked_subscenario_ids"`
|
||||
UnlockedMultiUnitScenarioIds []any `json:"unlocked_multi_unit_scenario_ids"`
|
||||
EffortPoint []EffortPoint `json:"effort_point"`
|
||||
IsEffortPointVisible bool `json:"is_effort_point_visible"`
|
||||
LimitedEffortBox []any `json:"limited_effort_box"`
|
||||
UnitList []PlayRewardUnitList `json:"unit_list"`
|
||||
BeforeUserInfo BeforeUserInfo `json:"before_user_info"`
|
||||
AfterUserInfo AfterUserInfo `json:"after_user_info"`
|
||||
NextLevelInfo []NextLevelInfo `json:"next_level_info"`
|
||||
GoalAccompInfo GoalAccompInfo `json:"goal_accomp_info"`
|
||||
SpecialRewardInfo []any `json:"special_reward_info"`
|
||||
EventInfo []any `json:"event_info"`
|
||||
DailyRewardInfo []any `json:"daily_reward_info"`
|
||||
CanSendFriendRequest bool `json:"can_send_friend_request"`
|
||||
UsingBuffInfo []any `json:"using_buff_info"`
|
||||
ClassSystem ClassSystem `json:"class_system"`
|
||||
AccomplishedAchievementList []AccomplishedAchievementList `json:"accomplished_achievement_list"`
|
||||
UnaccomplishedAchievementCnt int `json:"unaccomplished_achievement_cnt"`
|
||||
AddedAchievementList []any `json:"added_achievement_list"`
|
||||
MuseumInfo Museum `json:"museum_info"`
|
||||
UnitSupportList []RewardUnitSupportList `json:"unit_support_list"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
PresentCnt int `json:"present_cnt"`
|
||||
}
|
||||
|
||||
type RewardResp struct {
|
||||
ResponseData RewardData `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package login
|
||||
|
||||
type AuthKeyData struct {
|
||||
AuthorizeToken string `json:"authorize_token"`
|
||||
DummyToken string `json:"dummy_token"`
|
||||
}
|
||||
|
||||
type AuthKeyResp struct {
|
||||
ResponseData AuthKeyData `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package login
|
||||
|
||||
type LoginData struct {
|
||||
AuthorizeToken string `json:"authorize_token"`
|
||||
UserId int `json:"user_id"`
|
||||
ReviewVersion string `json:"review_version"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
IdfaEnabled bool `json:"idfa_enabled"`
|
||||
SkipLoginNews bool `json:"skip_login_news"`
|
||||
AdultFlag int `json:"adult_flag"`
|
||||
}
|
||||
|
||||
type LoginResp struct {
|
||||
ResponseData LoginData `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package multiunit
|
||||
|
||||
type ScenarioStartUpReq struct {
|
||||
Module string `json:"module"`
|
||||
Action string `json:"action"`
|
||||
TimeStamp int `json:"timeStamp"`
|
||||
Mgd int `json:"mgd"`
|
||||
MultiUnitScenarioID int `json:"multi_unit_scenario_id"`
|
||||
CommandNum string `json:"commandNum"`
|
||||
}
|
||||
|
||||
type ScenarioStartUpData struct {
|
||||
MultiUnitScenarioID int `json:"multi_unit_scenario_id"`
|
||||
ScenarioAdjustment int `json:"scenario_adjustment"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
type ScenarioStartUpResp struct {
|
||||
ResponseData ScenarioStartUpData `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package museum
|
||||
|
||||
type Parameter struct {
|
||||
Smile int `json:"smile"`
|
||||
Pure int `json:"pure"`
|
||||
Cool int `json:"cool"`
|
||||
}
|
||||
|
||||
type Museum struct {
|
||||
Parameter Parameter `json:"parameter"`
|
||||
ContentsIDList []int `json:"contents_id_list"`
|
||||
}
|
||||
|
||||
type InfoData struct {
|
||||
MuseumInfo Museum `json:"museum_info"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
type InfoResp struct {
|
||||
ResponseData InfoData `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package notice
|
||||
|
||||
type FriendGreetingData struct {
|
||||
NextId int `json:"next_id"`
|
||||
NoticeList []any `json:"notice_list"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
type FriendGreetingResp struct {
|
||||
ResponseData FriendGreetingData `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package notice
|
||||
|
||||
type FriendVarietyData struct {
|
||||
ItemCount int `json:"item_count"`
|
||||
NoticeList []any `json:"notice_list"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
type FriendVarietyResp struct {
|
||||
ResponseData FriendVarietyData `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package notice
|
||||
|
||||
type UserGreetingData struct {
|
||||
ItemCount int `json:"item_count"`
|
||||
HasNext bool `json:"has_next"`
|
||||
NoticeList []any `json:"notice_list"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
type UserGreetingResp struct {
|
||||
ResponseData UserGreetingData `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package payment
|
||||
|
||||
import "honoka-chan/internal/schema/api/payment"
|
||||
|
||||
type ProductListData struct {
|
||||
RestrictionInfo payment.RestrictionInfo `json:"restriction_info"`
|
||||
UnderAgeInfo payment.UnderAgeInfo `json:"under_age_info"`
|
||||
SnsProductList []any `json:"sns_product_list"`
|
||||
ProductList []any `json:"product_list"`
|
||||
SubscriptionList []any `json:"subscription_list"`
|
||||
ShowPointShop bool `json:"show_point_shop"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
type ProductListResp struct {
|
||||
ResponseData ProductListData `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package personalnotice
|
||||
|
||||
type GetData struct {
|
||||
HasNotice bool `json:"has_notice"`
|
||||
NoticeID int `json:"notice_id"`
|
||||
Type int `json:"type"`
|
||||
Title string `json:"title"`
|
||||
Contents string `json:"contents"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
type GetResp struct {
|
||||
ResponseData GetData `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package profile
|
||||
|
||||
type RegisterResp struct {
|
||||
ResponseData []any `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package scenario
|
||||
|
||||
type StartUpReq struct {
|
||||
Module string `json:"module"`
|
||||
Action string `json:"action"`
|
||||
TimeStamp int `json:"timeStamp"`
|
||||
Mgd int `json:"mgd"`
|
||||
CommandNum string `json:"commandNum"`
|
||||
ScenarioID int `json:"scenario_id"`
|
||||
}
|
||||
|
||||
type StartUpData struct {
|
||||
ScenarioID int `json:"scenario_id"`
|
||||
ScenarioAdjustment int `json:"scenario_adjustment"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
type StartUpResp struct {
|
||||
ResponseData StartUpData `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package subscenario
|
||||
|
||||
type StartUpReq struct {
|
||||
Module string `json:"module"`
|
||||
Action string `json:"action"`
|
||||
TimeStamp int `json:"timeStamp"`
|
||||
SubscenarioID int `json:"subscenario_id"`
|
||||
Mgd int `json:"mgd"`
|
||||
CommandNum string `json:"commandNum"`
|
||||
}
|
||||
|
||||
type StartUpData struct {
|
||||
SubscenarioID int `json:"subscenario_id"`
|
||||
ScenarioAdjustment int `json:"scenario_adjustment"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
type StartUpResp struct {
|
||||
ResponseData StartUpData `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package tos
|
||||
|
||||
type CheckData struct {
|
||||
TosID int `json:"tos_id"`
|
||||
TosType int `json:"tos_type"`
|
||||
IsAgreed bool `json:"is_agreed"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
type CheckResp struct {
|
||||
ResponseData CheckData `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
package unit
|
||||
|
||||
type UnitDeckDetail struct {
|
||||
Position int `json:"position"`
|
||||
UnitOwningUserID int `json:"unit_owning_user_id"`
|
||||
}
|
||||
|
||||
type UnitDeckList struct {
|
||||
UnitDeckDetail []UnitDeckDetail `json:"unit_deck_detail"`
|
||||
UnitDeckID int `json:"unit_deck_id"`
|
||||
MainFlag int `json:"main_flag"`
|
||||
DeckName string `json:"deck_name"`
|
||||
}
|
||||
|
||||
type DeckReq struct {
|
||||
Module string `json:"module"`
|
||||
UnitDeckList []UnitDeckList `json:"unit_deck_list"`
|
||||
Action string `json:"action"`
|
||||
Mgd int `json:"mgd"`
|
||||
}
|
||||
|
||||
type DeckResp struct {
|
||||
ResponseData []any `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package unit
|
||||
|
||||
type DeckNameReq struct {
|
||||
Module string `json:"module"`
|
||||
UnitDeckID int `json:"unit_deck_id"`
|
||||
Action string `json:"action"`
|
||||
TimeStamp int `json:"timeStamp"`
|
||||
Mgd int `json:"mgd"`
|
||||
CommandNum string `json:"commandNum"`
|
||||
DeckName string `json:"deck_name"`
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package unit
|
||||
|
||||
type FavoriteResp struct {
|
||||
ResponseData []any `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
package unit
|
||||
|
||||
type SkillRemove struct {
|
||||
UnitRemovableSkillID int `json:"unit_removable_skill_id"`
|
||||
UnitOwningUserID int `json:"unit_owning_user_id"`
|
||||
}
|
||||
|
||||
type SkillEquip struct {
|
||||
UnitRemovableSkillID int `json:"unit_removable_skill_id"`
|
||||
UnitOwningUserID int `json:"unit_owning_user_id"`
|
||||
}
|
||||
|
||||
type RemovableSkillEquipmentReq struct {
|
||||
Module string `json:"module"`
|
||||
Remove []SkillRemove `json:"remove"`
|
||||
Action string `json:"action"`
|
||||
TimeStamp int `json:"timeStamp"`
|
||||
Equip []SkillEquip `json:"equip"`
|
||||
Mgd int `json:"mgd"`
|
||||
CommandNum string `json:"commandNum"`
|
||||
}
|
||||
|
||||
type RemovableSkillEquipmentData struct {
|
||||
Id int `xorm:"id pk autoincr"`
|
||||
UnitRemovableSkillId int `xorm:"unit_removable_skill_id"`
|
||||
UnitOwningUserID int `xorm:"unit_owning_user_id"`
|
||||
UserID int `xorm:"user_id"`
|
||||
}
|
||||
|
||||
type RemovableSkillEquipmentResp struct {
|
||||
ResponseData []any `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package unit
|
||||
|
||||
type SetDisplayRankResp struct {
|
||||
ResponseData []any `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
package unit
|
||||
|
||||
type AccessoryRemove struct {
|
||||
AccessoryOwningUserID int `json:"accessory_owning_user_id"`
|
||||
UnitOwningUserID int `json:"unit_owning_user_id"`
|
||||
}
|
||||
|
||||
type AccessoryWear struct {
|
||||
AccessoryOwningUserID int `json:"accessory_owning_user_id"`
|
||||
UnitOwningUserID int `json:"unit_owning_user_id"`
|
||||
}
|
||||
|
||||
type WearAccessoryReq struct {
|
||||
Module string `json:"module"`
|
||||
Remove []AccessoryRemove `json:"remove"`
|
||||
Action string `json:"action"`
|
||||
TimeStamp int `json:"timeStamp"`
|
||||
Wear []AccessoryWear `json:"wear"`
|
||||
Mgd int `json:"mgd"`
|
||||
CommandNum string `json:"commandNum"`
|
||||
}
|
||||
|
||||
type WearAccessoryData struct {
|
||||
Id int `xorm:"id pk autoincr"`
|
||||
AccessoryOwningUserID int `xorm:"accessory_owning_user_id"`
|
||||
UnitOwningUserID int `xorm:"unit_owning_user_id"`
|
||||
UserID int `xorm:"user_id"`
|
||||
}
|
||||
|
||||
type WearAccessoryResp struct {
|
||||
ResponseData []any `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package user
|
||||
|
||||
type ChangeNameData struct {
|
||||
BeforeName string `json:"before_name"`
|
||||
AfterName string `json:"after_name"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
type ChangeNameResp struct {
|
||||
ResponseData ChangeNameData `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package user
|
||||
|
||||
type ChangeNaviResp struct {
|
||||
ResponseData []any `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package user
|
||||
|
||||
type SetNotificationTokenResp struct {
|
||||
ResponseData []any `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package user
|
||||
|
||||
import "honoka-chan/internal/schema/api/user"
|
||||
|
||||
type Birth struct {
|
||||
BirthMonth int `json:"birth_month"`
|
||||
BirthDay int `json:"birth_day"`
|
||||
}
|
||||
|
||||
type UserInfoData struct {
|
||||
User user.UserInfo `json:"user"`
|
||||
Birth Birth `json:"birth"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
type UserInfoResp struct {
|
||||
ResponseData UserInfoData `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package webui
|
||||
|
||||
type Msg struct {
|
||||
Code int `json:"code"`
|
||||
Message string `json:"message"`
|
||||
Redirect string `json:"redirect"`
|
||||
}
|
||||
Reference in New Issue
Block a user