@@ -1,35 +0,0 @@
|
||||
package model
|
||||
|
||||
// AlbumResult ...
|
||||
type AlbumResult 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"`
|
||||
}
|
||||
|
||||
// AlbumResp ...
|
||||
type AlbumResp struct {
|
||||
Result []AlbumResult `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
|
||||
// AlbumSeriesRes ...
|
||||
type AlbumSeriesRes struct {
|
||||
SeriesID int `json:"series_id"`
|
||||
UnitList []AlbumResult `json:"unit_list"`
|
||||
}
|
||||
|
||||
// AlbumSeriesResp ...
|
||||
type AlbumSeriesResp struct {
|
||||
ResponseData []AlbumSeriesRes `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
package model
|
||||
|
||||
// AnnounceResp ...
|
||||
type AnnounceResp struct {
|
||||
ResponseData AnnounceRes `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// AnnounceRes ...
|
||||
type AnnounceRes struct {
|
||||
HasUnreadAnnounce bool `json:"has_unread_announce"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
package model
|
||||
|
||||
// ApiReq ...
|
||||
type ApiReq struct {
|
||||
Module string `json:"module"`
|
||||
Action string `json:"action"`
|
||||
Timestamp int64 `json:"timeStamp"`
|
||||
}
|
||||
|
||||
// ApiResp ...
|
||||
type ApiResp struct {
|
||||
ResponseData any `json:"response_data"`
|
||||
ReleaseInfo any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// ApiUserInfoResp ...
|
||||
type ApiUserInfoResp struct {
|
||||
Result UserInfo `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
package model
|
||||
|
||||
// AuthKeyRes ...
|
||||
type AuthKeyRes struct {
|
||||
AuthorizeToken string `json:"authorize_token"`
|
||||
DummyToken string `json:"dummy_token"`
|
||||
}
|
||||
|
||||
// AuthKeyResp ...
|
||||
type AuthKeyResp struct {
|
||||
ResponseData AuthKeyRes `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
package model
|
||||
|
||||
// AwardSetResp ...
|
||||
type AwardSetResp struct {
|
||||
ResponseData []any `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// AwardInfo ...
|
||||
type AwardInfo struct {
|
||||
AwardID int `json:"award_id"`
|
||||
IsSet bool `json:"is_set"`
|
||||
InsertDate string `json:"insert_date"`
|
||||
}
|
||||
|
||||
// AwardInfoRes ...
|
||||
type AwardInfoRes struct {
|
||||
AwardInfo []AwardInfo `json:"award_info"`
|
||||
}
|
||||
|
||||
// AwardInfoResp ...
|
||||
type AwardInfoResp struct {
|
||||
Result AwardInfoRes `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
package model
|
||||
|
||||
// BackgroundSetResp ...
|
||||
type BackgroundSetResp struct {
|
||||
ResponseData []any `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// BackgroundInfo ...
|
||||
type BackgroundInfo struct {
|
||||
BackgroundID int `json:"background_id"`
|
||||
IsSet bool `json:"is_set"`
|
||||
InsertDate string `json:"insert_date"`
|
||||
}
|
||||
|
||||
// BackgroundInfoRes ...
|
||||
type BackgroundInfoRes struct {
|
||||
BackgroundInfo []BackgroundInfo `json:"background_info"`
|
||||
}
|
||||
|
||||
// BackgroundInfoResp ...
|
||||
type BackgroundInfoResp struct {
|
||||
Result BackgroundInfoRes `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
package model
|
||||
|
||||
// BannerList ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// BannerListRes ...
|
||||
type BannerListRes struct {
|
||||
TimeLimit string `json:"time_limit"`
|
||||
BannerList []BannerList `json:"banner_list"`
|
||||
}
|
||||
|
||||
// BannerListResp ...
|
||||
type BannerListResp struct {
|
||||
Result BannerListRes `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package model
|
||||
|
||||
// ChallengeInfoResp ...
|
||||
type ChallengeInfoResp struct {
|
||||
Result []any `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
package model
|
||||
|
||||
// CostumeList ...
|
||||
type CostumeList struct {
|
||||
UnitID int `json:"unit_id"`
|
||||
IsRankMax bool `json:"is_rank_max"`
|
||||
IsSigned bool `json:"is_signed"`
|
||||
}
|
||||
|
||||
// CostumeListRes ...
|
||||
type CostumeListRes struct {
|
||||
CostumeList []CostumeList `json:"costume_list"`
|
||||
}
|
||||
|
||||
// CostumeListResp ...
|
||||
type CostumeListResp struct {
|
||||
Result CostumeListRes `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -1,102 +0,0 @@
|
||||
package model
|
||||
|
||||
// AdditionalReq ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// AdditionalRes ...
|
||||
type AdditionalRes struct {
|
||||
Size int `json:"size"`
|
||||
URL string `json:"url"`
|
||||
}
|
||||
|
||||
// AdditionalResp ...
|
||||
type AdditionalResp struct {
|
||||
ResponseData []AdditionalRes `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// BatchReq ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// BatchRes ...
|
||||
type BatchRes struct {
|
||||
Size int `json:"size"`
|
||||
URL string `json:"url"`
|
||||
}
|
||||
|
||||
// BatchResp ...
|
||||
type BatchResp struct {
|
||||
ResponseData []BatchRes `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// UpdateReq ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// UpdateRes ...
|
||||
type UpdateRes struct {
|
||||
Size int `json:"size"`
|
||||
URL string `json:"url"`
|
||||
Version string `json:"version"`
|
||||
}
|
||||
|
||||
// UpdateResp ...
|
||||
type UpdateResp struct {
|
||||
ResponseData []UpdateRes `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// UrlReq ...
|
||||
type UrlReq struct {
|
||||
Module string `json:"module"`
|
||||
Os string `json:"os"`
|
||||
Mgd int `json:"mgd"`
|
||||
PathList []string `json:"path_list"`
|
||||
Action string `json:"action"`
|
||||
}
|
||||
|
||||
// UrlRes ...
|
||||
type UrlRes struct {
|
||||
UrlList []string `json:"url_list"`
|
||||
}
|
||||
|
||||
// UrlResp ...
|
||||
type UrlResp struct {
|
||||
ResponseData UrlRes `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// EventResp ...
|
||||
type EventResp struct {
|
||||
ResponseData []any `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
package model
|
||||
|
||||
// EventsResp ...
|
||||
type EventsResp struct {
|
||||
ResponseData EventsRes `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// EventsRes ...
|
||||
type EventsRes struct {
|
||||
TargetList []TargetList `json:"target_list"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
// TargetList ...
|
||||
type TargetList struct {
|
||||
Position int `json:"position"`
|
||||
IsDisplayable bool `json:"is_displayable"`
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
package model
|
||||
|
||||
// ExchangePointList ...
|
||||
type ExchangePointList struct {
|
||||
Rarity int `json:"rarity"`
|
||||
ExchangePoint int `json:"exchange_point"`
|
||||
}
|
||||
|
||||
// ExchangePointRes ...
|
||||
type ExchangePointRes struct {
|
||||
ExchangePointList []ExchangePointList `json:"exchange_point_list"`
|
||||
}
|
||||
|
||||
// ExchangePointResp ...
|
||||
type ExchangePointResp struct {
|
||||
Result ExchangePointRes `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
package model
|
||||
|
||||
// GdprResp ...
|
||||
type GdprResp struct {
|
||||
ResponseData GdprRes `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// GdprRes ...
|
||||
type GdprRes struct {
|
||||
EnableGdpr bool `json:"enable_gdpr"`
|
||||
IsEea bool `json:"is_eea"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
@@ -1,84 +0,0 @@
|
||||
package model
|
||||
|
||||
// LbDayItem ...
|
||||
type LbDayItem struct {
|
||||
ItemID int `json:"item_id"`
|
||||
AddType int `json:"add_type"`
|
||||
Amount int `json:"amount"`
|
||||
}
|
||||
|
||||
// LbDays ...
|
||||
type LbDays 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 LbDayItem `json:"item"`
|
||||
}
|
||||
|
||||
// LbMonth ...
|
||||
type LbMonth struct {
|
||||
Year int `json:"year"`
|
||||
Month int `json:"month"`
|
||||
Days []LbDays `json:"days"`
|
||||
}
|
||||
|
||||
// CalendarInfo ...
|
||||
type CalendarInfo struct {
|
||||
CurrentDate string `json:"current_date"`
|
||||
CurrentMonth LbMonth `json:"current_month"`
|
||||
NextMonth LbMonth `json:"next_month"`
|
||||
}
|
||||
|
||||
// Reward ...
|
||||
type Reward struct {
|
||||
ItemID int `json:"item_id"`
|
||||
AddType int `json:"add_type"`
|
||||
Amount int `json:"amount"`
|
||||
}
|
||||
|
||||
// TotalLoginInfo ...
|
||||
type TotalLoginInfo struct {
|
||||
LoginCount int `json:"login_count"`
|
||||
RemainingCount int `json:"remaining_count"`
|
||||
Reward []Reward `json:"reward"`
|
||||
}
|
||||
|
||||
// LbRankInfo ...
|
||||
type LbRankInfo struct {
|
||||
BeforeClassRankID int `json:"before_class_rank_id"`
|
||||
AfterClassRankID int `json:"after_class_rank_id"`
|
||||
RankUpDate string `json:"rank_up_date"`
|
||||
}
|
||||
|
||||
// LbClassSystem ...
|
||||
type LbClassSystem struct {
|
||||
RankInfo LbRankInfo `json:"rank_info"`
|
||||
CompleteFlag bool `json:"complete_flag"`
|
||||
IsOpened bool `json:"is_opened"`
|
||||
IsVisible bool `json:"is_visible"`
|
||||
}
|
||||
|
||||
// LbRes ...
|
||||
type LbRes struct {
|
||||
Sheets []any `json:"sheets"`
|
||||
CalendarInfo CalendarInfo `json:"calendar_info"`
|
||||
TotalLoginInfo TotalLoginInfo `json:"total_login_info"`
|
||||
LicenseLbonusList []any `json:"license_lbonus_list"`
|
||||
ClassSystem LbClassSystem `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"`
|
||||
}
|
||||
|
||||
// LbResp ...
|
||||
type LbResp struct {
|
||||
ResponseData LbRes `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -1,655 +0,0 @@
|
||||
package model
|
||||
|
||||
// GameOverResp ...
|
||||
type GameOverResp struct {
|
||||
ResponseData []any `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// NormalLiveStatusList ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// SpecialLiveStatusList ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// TrainingLiveStatusList ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// LiveStatusRes ...
|
||||
type LiveStatusRes 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"`
|
||||
}
|
||||
|
||||
// LiveStatusResp ...
|
||||
type LiveStatusResp struct {
|
||||
Result LiveStatusRes `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
|
||||
// LiveList ...
|
||||
type LiveList struct {
|
||||
LiveDifficultyID int `json:"live_difficulty_id"`
|
||||
StartDate string `json:"start_date"`
|
||||
EndDate string `json:"end_date"`
|
||||
IsRandom bool `json:"is_random"`
|
||||
}
|
||||
|
||||
// LimitedBonusCommonList ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// RandomLiveList ...
|
||||
type RandomLiveList struct {
|
||||
AttributeID int `json:"attribute_id"`
|
||||
StartDate string `json:"start_date"`
|
||||
EndDate string `json:"end_date"`
|
||||
}
|
||||
|
||||
// TrainingLiveList ...
|
||||
type TrainingLiveList struct {
|
||||
LiveDifficultyID int `json:"live_difficulty_id"`
|
||||
StartDate string `json:"start_date"`
|
||||
IsRandom bool `json:"is_random"`
|
||||
}
|
||||
|
||||
// LiveScheduleRes ...
|
||||
type LiveScheduleRes 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"`
|
||||
}
|
||||
|
||||
// LiveScheduleResp ...
|
||||
type LiveScheduleResp struct {
|
||||
Result LiveScheduleRes `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
|
||||
// PlayReq ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// RankInfo ...
|
||||
type RankInfo struct {
|
||||
Rank int `json:"rank"`
|
||||
RankMin int `json:"rank_min"`
|
||||
RankMax int `json:"rank_max"`
|
||||
}
|
||||
|
||||
// NotesList ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// LiveInfo ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// PlayCostume ...
|
||||
type PlayCostume struct {
|
||||
UnitID int `json:"unit_id"`
|
||||
IsRankMax bool `json:"is_rank_max"`
|
||||
IsSigned bool `json:"is_signed"`
|
||||
}
|
||||
|
||||
// UnitList ...
|
||||
type UnitList struct {
|
||||
Smile int `json:"smile"`
|
||||
Cute int `json:"cute"`
|
||||
Cool int `json:"cool"`
|
||||
Costume PlayCostume `json:"costume,omitempty"`
|
||||
}
|
||||
|
||||
// DeckInfo ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// PlayLiveList ...
|
||||
type PlayLiveList struct {
|
||||
LiveInfo LiveInfo `json:"live_info"`
|
||||
DeckInfo DeckInfo `json:"deck_info"`
|
||||
}
|
||||
|
||||
// PlayRes ...
|
||||
type PlayRes 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"`
|
||||
}
|
||||
|
||||
// PlayResp ...
|
||||
type PlayResp struct {
|
||||
ResponseData PlayRes `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// PlayScoreReq ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// On ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// Off ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// PlayScoreRes ...
|
||||
type PlayScoreRes 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"`
|
||||
}
|
||||
|
||||
// PlayScoreResp ...
|
||||
type PlayScoreResp struct {
|
||||
ResponseData PlayScoreRes `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// PlayRewardReq ...
|
||||
type PlayRewardReq 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"`
|
||||
}
|
||||
|
||||
// Icon ...
|
||||
type Icon struct {
|
||||
SlideID int `json:"slide_id"`
|
||||
JustID int `json:"just_id"`
|
||||
NormalID int `json:"normal_id"`
|
||||
}
|
||||
|
||||
// LiveSetting ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// PreciseList ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// BackgroundScore ...
|
||||
type BackgroundScore struct {
|
||||
Smile int `json:"smile"`
|
||||
Cute int `json:"cute"`
|
||||
Cool int `json:"cool"`
|
||||
}
|
||||
|
||||
// TriggerLog ...
|
||||
type TriggerLog struct {
|
||||
ActivationRate int `json:"activation_rate"`
|
||||
Position int `json:"position"`
|
||||
}
|
||||
|
||||
// PreciseScoreLog ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// RewardLiveInfo ...
|
||||
type RewardLiveInfo struct {
|
||||
LiveDifficultyID int `json:"live_difficulty_id"`
|
||||
IsRandom bool `json:"is_random"`
|
||||
AcFlag int `json:"ac_flag"`
|
||||
SwingFlag int `json:"swing_flag"`
|
||||
}
|
||||
|
||||
// PlayerExpUnitMax ...
|
||||
type PlayerExpUnitMax struct {
|
||||
Before int `json:"before"`
|
||||
After int `json:"after"`
|
||||
}
|
||||
|
||||
// PlayerExpFriendMax ...
|
||||
type PlayerExpFriendMax struct {
|
||||
Before int `json:"before"`
|
||||
After int `json:"after"`
|
||||
}
|
||||
|
||||
// PlayerExpLpMax ...
|
||||
type PlayerExpLpMax struct {
|
||||
Before int `json:"before"`
|
||||
After int `json:"after"`
|
||||
}
|
||||
|
||||
// BaseRewardInfo ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// LiveClear ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// LiveRank ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// RewardUnitList ...
|
||||
type RewardUnitList struct {
|
||||
LiveClear []LiveClear `json:"live_clear"`
|
||||
LiveRank []LiveRank `json:"live_rank"`
|
||||
LiveCombo []any `json:"live_combo"`
|
||||
}
|
||||
|
||||
// Rewards ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// EffortPoint ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// PlayRewardUnitList ...
|
||||
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:"-"`
|
||||
}
|
||||
|
||||
// BeforeUserInfo ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// AfterUserInfo ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// NextLevelInfo ...
|
||||
type NextLevelInfo struct {
|
||||
Level int `json:"level"`
|
||||
FromExp int `json:"from_exp"`
|
||||
}
|
||||
|
||||
// GoalAccompInfo ...
|
||||
type GoalAccompInfo struct {
|
||||
AchievedIds []any `json:"achieved_ids"`
|
||||
Rewards []any `json:"rewards"`
|
||||
}
|
||||
|
||||
// RewardRankInfo ...
|
||||
type RewardRankInfo struct {
|
||||
BeforeClassRankID int `json:"before_class_rank_id"`
|
||||
AfterClassRankID int `json:"after_class_rank_id"`
|
||||
RankUpDate string `json:"rank_up_date"`
|
||||
}
|
||||
|
||||
// ClassSystem ...
|
||||
type ClassSystem struct {
|
||||
RankInfo RewardRankInfo `json:"rank_info"`
|
||||
CompleteFlag bool `json:"complete_flag"`
|
||||
IsOpened bool `json:"is_opened"`
|
||||
IsVisible bool `json:"is_visible"`
|
||||
}
|
||||
|
||||
// PlayRewardList ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// AccomplishedAchievementList ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// RewardUnitSupportList ...
|
||||
type RewardUnitSupportList struct {
|
||||
UnitID int `json:"unit_id"`
|
||||
Amount int `json:"amount"`
|
||||
}
|
||||
|
||||
// RewardRes ...
|
||||
type RewardRes 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"`
|
||||
}
|
||||
|
||||
// RewardResp ...
|
||||
type RewardResp struct {
|
||||
ResponseData RewardRes `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// LiveSeInfoRes ...
|
||||
type LiveSeInfoRes struct {
|
||||
LiveSeList []int `json:"live_se_list"`
|
||||
}
|
||||
|
||||
// LiveSeInfoResp ...
|
||||
type LiveSeInfoResp struct {
|
||||
Result LiveSeInfoRes `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
|
||||
// LiveIconInfoRes ...
|
||||
type LiveIconInfoRes struct {
|
||||
LiveNotesIconList []int `json:"live_notes_icon_list"`
|
||||
}
|
||||
|
||||
// LiveIconInfoResp ...
|
||||
type LiveIconInfoResp struct {
|
||||
Result LiveIconInfoRes `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
package model
|
||||
|
||||
// LoginRes ...
|
||||
type LoginRes 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"`
|
||||
}
|
||||
|
||||
// LoginResp ...
|
||||
type LoginResp struct {
|
||||
ResponseData LoginRes `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package model
|
||||
|
||||
// MarathonInfoResp ...
|
||||
type MarathonInfoResp struct {
|
||||
Result []any `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -1,55 +0,0 @@
|
||||
package model
|
||||
|
||||
// MultiUnitScenarioChapterList ...
|
||||
type MultiUnitScenarioChapterList struct {
|
||||
MultiUnitScenarioID int `json:"multi_unit_scenario_id"`
|
||||
Chapter int `json:"chapter"`
|
||||
Status int `json:"status"`
|
||||
}
|
||||
|
||||
// MultiUnitScenarioStatusList ...
|
||||
type MultiUnitScenarioStatusList 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 []MultiUnitScenarioChapterList `json:"chapter_list"`
|
||||
}
|
||||
|
||||
// MultiUnitScenarioStatusRes ...
|
||||
type MultiUnitScenarioStatusRes struct {
|
||||
MultiUnitScenarioStatusList []MultiUnitScenarioStatusList `json:"multi_unit_scenario_status_list"`
|
||||
UnlockedMultiUnitScenarioIds []any `json:"unlocked_multi_unit_scenario_ids"`
|
||||
}
|
||||
|
||||
// MultiUnitScenarioStatusResp ...
|
||||
type MultiUnitScenarioStatusResp struct {
|
||||
Result MultiUnitScenarioStatusRes `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
|
||||
// MultiUnitStartUpResp ...
|
||||
type MultiUnitStartUpResp struct {
|
||||
ResponseData MultiUnitStartUpRes `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// MultiUnitStartUpRes ...
|
||||
type MultiUnitStartUpRes struct {
|
||||
MultiUnitScenarioID int `json:"multi_unit_scenario_id"`
|
||||
ScenarioAdjustment int `json:"scenario_adjustment"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
// MultiUnitStartUpReq ...
|
||||
type MultiUnitStartUpReq 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"`
|
||||
}
|
||||
@@ -1,40 +0,0 @@
|
||||
package model
|
||||
|
||||
// MuseumResp ...
|
||||
type MuseumResp struct {
|
||||
ResponseData MuseumRes `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// MuseumParameter ...
|
||||
type MuseumParameter struct {
|
||||
Smile int `json:"smile"`
|
||||
Pure int `json:"pure"`
|
||||
Cool int `json:"cool"`
|
||||
}
|
||||
|
||||
// Museum ...
|
||||
type Museum struct {
|
||||
Parameter MuseumParameter `json:"parameter"`
|
||||
ContentsIDList []int `json:"contents_id_list"`
|
||||
}
|
||||
|
||||
// MuseumRes ...
|
||||
type MuseumRes struct {
|
||||
MuseumInfo Museum `json:"museum_info"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
// MuseumInfoRes ...
|
||||
type MuseumInfoRes struct {
|
||||
MuseumInfo Museum `json:"museum_info"`
|
||||
}
|
||||
|
||||
// MuseumInfoResp ...
|
||||
type MuseumInfoResp struct {
|
||||
Result MuseumInfoRes `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
package model
|
||||
|
||||
// SpecialCutinRes ...
|
||||
type SpecialCutinRes struct {
|
||||
SpecialCutinList []any `json:"special_cutin_list"`
|
||||
}
|
||||
|
||||
// SpecialCutinResp ...
|
||||
type SpecialCutinResp struct {
|
||||
Result SpecialCutinRes `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -1,58 +0,0 @@
|
||||
package model
|
||||
|
||||
// NoticeFriendVarietyResp ...
|
||||
type NoticeFriendVarietyResp struct {
|
||||
ResponseData NoticeFriendVarietyRes `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// NoticeFriendVarietyRes ...
|
||||
type NoticeFriendVarietyRes struct {
|
||||
ItemCount int `json:"item_count"`
|
||||
NoticeList []any `json:"notice_list"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
// NoticeFriendGreetingResp ...
|
||||
type NoticeFriendGreetingResp struct {
|
||||
ResponseData NoticeFriendGreetingRes `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// NoticeFriendGreetingRes ...
|
||||
type NoticeFriendGreetingRes struct {
|
||||
NextId int `json:"next_id"`
|
||||
NoticeList []any `json:"notice_list"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
// NoticeUserGreetingResp ...
|
||||
type NoticeUserGreetingResp struct {
|
||||
ResponseData NoticeUserGreetingRes `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// NoticeUserGreetingRes ...
|
||||
type NoticeUserGreetingRes struct {
|
||||
ItemCount int `json:"item_count"`
|
||||
HasNext bool `json:"has_next"`
|
||||
NoticeList []any `json:"notice_list"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
// NoticeMarqueeRes ...
|
||||
type NoticeMarqueeRes struct {
|
||||
ItemCount int `json:"item_count"`
|
||||
MarqueeList []any `json:"marquee_list"`
|
||||
}
|
||||
|
||||
// NoticeMarqueeResp ...
|
||||
type NoticeMarqueeResp struct {
|
||||
Result NoticeMarqueeRes `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -1,154 +0,0 @@
|
||||
package model
|
||||
|
||||
// RestrictionInfo ...
|
||||
type RestrictionInfo struct {
|
||||
Restricted bool `json:"restricted"`
|
||||
}
|
||||
|
||||
// UnderAgeInfo ...
|
||||
type UnderAgeInfo struct {
|
||||
BirthSet bool `json:"birth_set"`
|
||||
HasLimit bool `json:"has_limit"`
|
||||
LimitAmount any `json:"limit_amount"`
|
||||
MonthUsed int `json:"month_used"`
|
||||
}
|
||||
|
||||
// SnsProductItemList ...
|
||||
type SnsProductItemList struct {
|
||||
ItemID int `json:"item_id"`
|
||||
AddType int `json:"add_type"`
|
||||
Amount int `json:"amount"`
|
||||
IsFreebie bool `json:"is_freebie"`
|
||||
}
|
||||
|
||||
// SnsProductList ...
|
||||
type SnsProductList 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 []SnsProductItemList `json:"item_list"`
|
||||
}
|
||||
|
||||
// ProductItemList ...
|
||||
type ProductItemList 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"`
|
||||
}
|
||||
|
||||
// LimitStatus ...
|
||||
type LimitStatus struct {
|
||||
TermStartDate string `json:"term_start_date"`
|
||||
RemainingTime string `json:"remaining_time"`
|
||||
RemainingCount int `json:"remaining_count"`
|
||||
}
|
||||
|
||||
// ProductList ...
|
||||
type ProductList 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 []ProductItemList `json:"item_list"`
|
||||
LimitStatus LimitStatus `json:"limit_status"`
|
||||
}
|
||||
|
||||
// SubscriptionItemList ...
|
||||
type SubscriptionItemList struct {
|
||||
ItemID int `json:"item_id"`
|
||||
AddType int `json:"add_type"`
|
||||
Amount int `json:"amount"`
|
||||
IsFreebie bool `json:"is_freebie"`
|
||||
}
|
||||
|
||||
// RewardList ...
|
||||
type RewardList struct {
|
||||
ItemID int `json:"item_id"`
|
||||
AddType int `json:"add_type"`
|
||||
Amount int `json:"amount"`
|
||||
}
|
||||
|
||||
// Items ...
|
||||
type Items struct {
|
||||
Seq int `json:"seq"`
|
||||
RewardList []RewardList `json:"reward_list"`
|
||||
}
|
||||
|
||||
// LicenseInfo ...
|
||||
type LicenseInfo struct {
|
||||
Name string `json:"name"`
|
||||
Items []Items `json:"items"`
|
||||
}
|
||||
|
||||
// UserStatus ...
|
||||
type UserStatus struct {
|
||||
IsLicensed bool `json:"is_licensed"`
|
||||
}
|
||||
|
||||
// SubscriptionStatus ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// SubscriptionList ...
|
||||
type SubscriptionList 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 []SubscriptionItemList `json:"item_list"`
|
||||
LimitStatus LimitStatus `json:"limit_status"`
|
||||
SubscriptionStatus SubscriptionStatus `json:"subscription_status"`
|
||||
}
|
||||
|
||||
// ProductListRes ...
|
||||
type ProductListRes struct {
|
||||
RestrictionInfo RestrictionInfo `json:"restriction_info"`
|
||||
UnderAgeInfo UnderAgeInfo `json:"under_age_info"`
|
||||
SnsProductList []SnsProductList `json:"sns_product_list"`
|
||||
ProductList []ProductList `json:"product_list"`
|
||||
SubscriptionList []SubscriptionList `json:"subscription_list"`
|
||||
ShowPointShop bool `json:"show_point_shop"`
|
||||
}
|
||||
|
||||
// ProductListResp ...
|
||||
type ProductListResp struct {
|
||||
Result ProductListRes `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
|
||||
// ProductResp ...
|
||||
type ProductResp struct {
|
||||
ResponseData ProductRes `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// ProductRes ...
|
||||
type ProductRes struct {
|
||||
RestrictionInfo RestrictionInfo `json:"restriction_info"`
|
||||
UnderAgeInfo 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"`
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package model
|
||||
|
||||
// PersonalNoticeResp ...
|
||||
type PersonalNoticeResp struct {
|
||||
ResponseData PersonalNoticeRes `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// PersonalNoticeRes ...
|
||||
type PersonalNoticeRes 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"`
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
package model
|
||||
|
||||
// AwardSetResp ...
|
||||
type ProfileRegisterResp struct {
|
||||
ResponseData []any `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -1,98 +0,0 @@
|
||||
package model
|
||||
|
||||
// ScenarioStatusList ...
|
||||
type ScenarioStatusList struct {
|
||||
ScenarioID int `json:"scenario_id"`
|
||||
Status int `json:"status"`
|
||||
}
|
||||
|
||||
// ScenarioStatusRes ...
|
||||
type ScenarioStatusRes struct {
|
||||
ScenarioStatusList []ScenarioStatusList `json:"scenario_status_list"`
|
||||
}
|
||||
|
||||
// ScenarioStatusResp ...
|
||||
type ScenarioStatusResp struct {
|
||||
Result ScenarioStatusRes `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
|
||||
// SubscenarioStatusList ...
|
||||
type SubscenarioStatusList struct {
|
||||
SubscenarioID int `json:"subscenario_id"`
|
||||
Status int `json:"status"`
|
||||
}
|
||||
|
||||
// SubscenarioStatusRes ...
|
||||
type SubscenarioStatusRes struct {
|
||||
SubscenarioStatusList []SubscenarioStatusList `json:"subscenario_status_list"`
|
||||
UnlockedSubscenarioIds []any `json:"unlocked_subscenario_ids"`
|
||||
}
|
||||
|
||||
// SubscenarioStatusResp ...
|
||||
type SubscenarioStatusResp struct {
|
||||
Result SubscenarioStatusRes `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
|
||||
// EventScenarioChapterList ...
|
||||
type EventScenarioChapterList 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"`
|
||||
}
|
||||
|
||||
// EventScenarioList ...
|
||||
type EventScenarioList struct {
|
||||
EventID int `json:"event_id"`
|
||||
EventScenarioBtnAsset string `json:"event_scenario_btn_asset"`
|
||||
OpenDate string `json:"open_date"`
|
||||
ChapterList []EventScenarioChapterList `json:"chapter_list"`
|
||||
}
|
||||
|
||||
// EventScenarioStatusRes ...
|
||||
type EventScenarioStatusRes struct {
|
||||
EventScenarioList []EventScenarioList `json:"event_scenario_list"`
|
||||
}
|
||||
|
||||
// EventScenarioStatusResp ...
|
||||
type EventScenarioStatusResp struct {
|
||||
Result EventScenarioStatusRes `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
|
||||
// ScenarioResp ...
|
||||
type ScenarioResp struct {
|
||||
ResponseData ScenarioRes `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// ScenarioRes ...
|
||||
type ScenarioRes struct {
|
||||
ScenarioID int `json:"scenario_id"`
|
||||
ScenarioAdjustment int `json:"scenario_adjustment"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
// ScenarioReq ...
|
||||
type ScenarioReq 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"`
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
package model
|
||||
|
||||
// SubScenarioResp ...
|
||||
type SubScenarioResp struct {
|
||||
ResponseData SubScenarioRes `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// SubScenarioRes ...
|
||||
type SubScenarioRes struct {
|
||||
SubscenarioID int `json:"subscenario_id"`
|
||||
ScenarioAdjustment int `json:"scenario_adjustment"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
// SubScenarioReq ...
|
||||
type SubScenarioReq 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"`
|
||||
}
|
||||
@@ -1,200 +0,0 @@
|
||||
package model
|
||||
|
||||
// UnitData ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// UserDeckData ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// UnitDeckData ...
|
||||
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:"-"`
|
||||
}
|
||||
|
||||
// DifficultyRes ...
|
||||
type DifficultyRes struct {
|
||||
Difficulty int `json:"difficulty"`
|
||||
ClearCnt int `json:"clear_cnt"`
|
||||
}
|
||||
|
||||
// DifficultyResp ...
|
||||
type DifficultyResp struct {
|
||||
Result []DifficultyRes `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
|
||||
// LoveResp ...
|
||||
type LoveResp struct {
|
||||
Result []any `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
|
||||
// AccessoryInfo ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// ProfileUserInfo ...
|
||||
type ProfileUserInfo 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"`
|
||||
}
|
||||
|
||||
// CenterUnitInfo ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// NaviUnitInfo ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// ProfileRes ...
|
||||
type ProfileRes struct {
|
||||
UserInfo ProfileUserInfo `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"`
|
||||
}
|
||||
|
||||
// ProfileResp ...
|
||||
type ProfileResp struct {
|
||||
Result ProfileRes `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -1,78 +0,0 @@
|
||||
package model
|
||||
|
||||
// TopInfoLicenseInfo ...
|
||||
type TopInfoLicenseInfo struct {
|
||||
LicenseList []any `json:"license_list"`
|
||||
LicensedInfo []any `json:"licensed_info"`
|
||||
ExpiredInfo []any `json:"expired_info"`
|
||||
BadgeFlag bool `json:"badge_flag"`
|
||||
}
|
||||
|
||||
// TopInfoRes ...
|
||||
type TopInfoRes 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 TopInfoLicenseInfo `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"`
|
||||
}
|
||||
|
||||
// TopInfoResp ...
|
||||
type TopInfoResp struct {
|
||||
Result TopInfoRes `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
|
||||
// TopInfoOnceNotification ...
|
||||
type TopInfoOnceNotification 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"`
|
||||
}
|
||||
|
||||
// TopInfoOnceRes ...
|
||||
type TopInfoOnceRes 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 TopInfoOnceNotification `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"`
|
||||
}
|
||||
|
||||
// TopInfoOnceResp ...
|
||||
type TopInfoOnceResp struct {
|
||||
Result TopInfoOnceRes `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package model
|
||||
|
||||
// TosResp ...
|
||||
type TosResp struct {
|
||||
ResponseData TosRes `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// TosResp ...
|
||||
type TosRes struct {
|
||||
TosID int `json:"tos_id"`
|
||||
TosType int `json:"tos_type"`
|
||||
IsAgreed bool `json:"is_agreed"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
@@ -1,316 +0,0 @@
|
||||
package model
|
||||
|
||||
// AccessoryList ...
|
||||
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:"-"`
|
||||
}
|
||||
|
||||
// WearingInfo
|
||||
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"`
|
||||
}
|
||||
|
||||
// UnitAccessoryAllResult ...
|
||||
type UnitAccessoryAllResult struct {
|
||||
AccessoryList []AccessoryList `json:"accessory_list"`
|
||||
WearingInfo []WearingInfo `json:"wearing_info"`
|
||||
EspecialCreateFlag bool `json:"especial_create_flag"`
|
||||
}
|
||||
|
||||
// UnitAccessoryAllResp ...
|
||||
type UnitAccessoryAllResp struct {
|
||||
Result UnitAccessoryAllResult `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
|
||||
// WearAccessoryReq ...
|
||||
type WearAccessoryReq struct {
|
||||
Module string `json:"module"`
|
||||
Remove []Remove `json:"remove"`
|
||||
Action string `json:"action"`
|
||||
TimeStamp int `json:"timeStamp"`
|
||||
Wear []Wear `json:"wear"`
|
||||
Mgd int `json:"mgd"`
|
||||
CommandNum string `json:"commandNum"`
|
||||
}
|
||||
|
||||
// Remove ...
|
||||
type Remove struct {
|
||||
AccessoryOwningUserID int `json:"accessory_owning_user_id"`
|
||||
UnitOwningUserID int `json:"unit_owning_user_id"`
|
||||
}
|
||||
|
||||
// Wear ...
|
||||
type Wear struct {
|
||||
AccessoryOwningUserID int `json:"accessory_owning_user_id"`
|
||||
UnitOwningUserID int `json:"unit_owning_user_id"`
|
||||
}
|
||||
|
||||
// AccessoryWearData ...
|
||||
type AccessoryWearData struct {
|
||||
Id int `xorm:"id pk autoincr"`
|
||||
AccessoryOwningUserID int `xorm:"accessory_owning_user_id"`
|
||||
UnitOwningUserID int `xorm:"unit_owning_user_id"`
|
||||
UserId string `xorm:"user_id"`
|
||||
}
|
||||
|
||||
// AccessoryWearResp ...
|
||||
type AccessoryWearResp struct {
|
||||
ResponseData []any `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// SkillEquipReq ...
|
||||
type SkillEquipReq 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"`
|
||||
}
|
||||
|
||||
// SkillRemove ...
|
||||
type SkillRemove struct {
|
||||
UnitRemovableSkillID int `json:"unit_removable_skill_id"`
|
||||
UnitOwningUserID int `json:"unit_owning_user_id"`
|
||||
}
|
||||
|
||||
// SkillEquip ...
|
||||
type SkillEquip struct {
|
||||
UnitRemovableSkillID int `json:"unit_removable_skill_id"`
|
||||
UnitOwningUserID int `json:"unit_owning_user_id"`
|
||||
}
|
||||
|
||||
// SkillEquipCount ...
|
||||
type SkillEquipCount struct {
|
||||
UnitRemovableSkillId int `xorm:"unit_removable_skill_id"`
|
||||
Count int `xorm:"ct"`
|
||||
}
|
||||
|
||||
// SkillEquipData ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// SkillEquipDetail ...
|
||||
type SkillEquipDetail struct {
|
||||
UnitRemovableSkillID int `json:"unit_removable_skill_id" xorm:"unit_removable_skill_id"`
|
||||
}
|
||||
|
||||
// SkillEquipList ...
|
||||
type SkillEquipList struct {
|
||||
UnitOwningUserID int `json:"unit_owning_user_id"`
|
||||
Detail []SkillEquipDetail `json:"detail"`
|
||||
}
|
||||
|
||||
// SkillEquipResp ...
|
||||
type SkillEquipResp struct {
|
||||
ResponseData []any `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// SetDisplayRankResp ...
|
||||
type SetDisplayRankResp struct {
|
||||
ResponseData []any `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// SetDeckResp ...
|
||||
type SetDeckResp struct {
|
||||
ResponseData []any `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// Costume ...
|
||||
type Costume struct {
|
||||
UnitID int `json:"unit_id"`
|
||||
IsRankMax bool `json:"is_rank_max"`
|
||||
IsSigned bool `json:"is_signed"`
|
||||
}
|
||||
|
||||
// Active ...
|
||||
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,omitempty"`
|
||||
}
|
||||
|
||||
// Waiting ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// UnitAllRes ...
|
||||
type UnitAllRes struct {
|
||||
Active []Active `json:"active"`
|
||||
Waiting []Waiting `json:"waiting"`
|
||||
}
|
||||
|
||||
// UnitAllResp ...
|
||||
type UnitAllResp struct {
|
||||
Result UnitAllRes `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
|
||||
// UnitOwningUserIds ...
|
||||
type UnitOwningUserIds struct {
|
||||
Position int `json:"position"`
|
||||
UnitOwningUserID int `json:"unit_owning_user_id"`
|
||||
}
|
||||
|
||||
// UnitDeckInfoRes ...
|
||||
type UnitDeckInfoRes struct {
|
||||
UnitDeckID int `json:"unit_deck_id"`
|
||||
MainFlag bool `json:"main_flag"`
|
||||
DeckName string `json:"deck_name"`
|
||||
UnitOwningUserIds []UnitOwningUserIds `json:"unit_owning_user_ids"`
|
||||
}
|
||||
|
||||
// UnitDeckInfoResp ...
|
||||
type UnitDeckInfoResp struct {
|
||||
Result []UnitDeckInfoRes `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
|
||||
// UnitSupportList ...
|
||||
type UnitSupportList struct {
|
||||
UnitID int `json:"unit_id"`
|
||||
Amount int `json:"amount"`
|
||||
}
|
||||
|
||||
// UnitSupportRes ...
|
||||
type UnitSupportRes struct {
|
||||
UnitSupportList []UnitSupportList `json:"unit_support_list"`
|
||||
}
|
||||
|
||||
// UnitSupportResp ...
|
||||
type UnitSupportResp struct {
|
||||
Result UnitSupportRes `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
|
||||
// OwningInfo ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// RemovableSkillRes ...
|
||||
type RemovableSkillRes struct {
|
||||
OwningInfo []OwningInfo `json:"owning_info"`
|
||||
EquipmentInfo map[int]any `json:"equipment_info"`
|
||||
}
|
||||
|
||||
// RemovableSkillResp ...
|
||||
type RemovableSkillResp struct {
|
||||
Result RemovableSkillRes `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
|
||||
// UnitDeckReq ...
|
||||
type UnitDeckReq struct {
|
||||
Module string `json:"module"`
|
||||
UnitDeckList []UnitDeckList `json:"unit_deck_list"`
|
||||
Action string `json:"action"`
|
||||
Mgd int `json:"mgd"`
|
||||
}
|
||||
|
||||
// UnitDeckDetail ...
|
||||
type UnitDeckDetail struct {
|
||||
Position int `json:"position"`
|
||||
UnitOwningUserID int `json:"unit_owning_user_id"`
|
||||
}
|
||||
|
||||
// UnitDeckList ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// DeckNameReq ...
|
||||
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"`
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
package model
|
||||
|
||||
// UserNaviResp ...
|
||||
type UserNaviChangeResp struct {
|
||||
ResponseData []any `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// UserNameChangeResp ...
|
||||
type UserNameChangeResp struct {
|
||||
ResponseData UserNameChangeRes `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// UserNameChangeRes ...
|
||||
type UserNameChangeRes struct {
|
||||
BeforeName string `json:"before_name"`
|
||||
AfterName string `json:"after_name"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
// User ...
|
||||
type User struct {
|
||||
UserID int `json:"user_id"`
|
||||
UnitOwningUserID int `json:"unit_owning_user_id"`
|
||||
}
|
||||
|
||||
// UserNaviRes ...
|
||||
type UserNaviRes struct {
|
||||
User User `json:"user"`
|
||||
}
|
||||
|
||||
// UserNaviResp ...
|
||||
type UserNaviResp struct {
|
||||
Result UserNaviRes `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
|
||||
// NotificationResp ...
|
||||
type NotificationResp struct {
|
||||
ResponseData []any `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package user
|
||||
|
||||
type UserAccessoryWear 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"`
|
||||
}
|
||||
|
||||
func (u *UserAccessoryWear) TableName() string {
|
||||
return "user_accessory_wear"
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package user
|
||||
|
||||
type UserDeck struct {
|
||||
ID int `xorm:"id pk autoincr"`
|
||||
DeckID int `xorm:"deck_id"`
|
||||
DeckName string `xorm:"deck_name"`
|
||||
MainFlag int `xorm:"main_flag"`
|
||||
UserID int `xorm:"user_id"`
|
||||
InsertDate int64 `xorm:"insert_date"`
|
||||
}
|
||||
|
||||
func (u *UserDeck) TableName() string {
|
||||
return "user_deck"
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package user
|
||||
|
||||
type UserDeckUnit struct {
|
||||
ID int `xorm:"id pk autoincr"`
|
||||
UserDeckID int `xorm:"user_deck_id"`
|
||||
UnitOwningUserID int `xorm:"unit_owning_user_id"`
|
||||
UnitID int `xorm:"unit_id"`
|
||||
Position int `xorm:"position"`
|
||||
Level int `xorm:"level"`
|
||||
LevelLimitID int `xorm:"level_limit_id"`
|
||||
DisplayRank int `xorm:"display_rank"`
|
||||
Love int `xorm:"love"`
|
||||
UnitSkillLevel int `xorm:"unit_skill_level"`
|
||||
IsRankMax int `xorm:"is_rank_max"`
|
||||
IsLoveMax int `xorm:"is_love_max"`
|
||||
IsLevelMax int `xorm:"is_level_max"`
|
||||
IsSigned int `xorm:"is_signed"`
|
||||
BeforeLove int `xorm:"before_love"`
|
||||
MaxLove int `xorm:"max_love"`
|
||||
InsertDate int64 `xorm:"insert_date"`
|
||||
}
|
||||
|
||||
func (u *UserDeckUnit) TableName() string {
|
||||
return "user_deck_unit"
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package user
|
||||
|
||||
type UserKey struct {
|
||||
ID int `xorm:"id pk autoincr"`
|
||||
UserID int `xorm:"user_id"`
|
||||
Key int `xorm:"key"`
|
||||
}
|
||||
|
||||
func (UserKey) TableName() string {
|
||||
return "user_key"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package user
|
||||
|
||||
type UserPref struct {
|
||||
ID int `xorm:"id pk autoincr"`
|
||||
UserID int `xorm:"user_id"`
|
||||
AwardID int `xorm:"award_id"`
|
||||
BackgroundID int `xorm:"background_id"`
|
||||
UnitOwningUserID int `xorm:"unit_owning_user_id"`
|
||||
UserName string `xorm:"user_name"`
|
||||
UserLevel int `xorm:"user_level"`
|
||||
UserDesc string `xorm:"user_desc"`
|
||||
InviteCode string `xorm:"invite_code"`
|
||||
UpdateTime int64 `xorm:"update_time"`
|
||||
}
|
||||
|
||||
func (UserPref) TableName() string {
|
||||
return "user_pref"
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package user
|
||||
|
||||
type Users struct {
|
||||
ID int `xorm:"id pk autoincr"`
|
||||
Phone string `xorm:"phone"`
|
||||
Password string `xorm:"password"`
|
||||
Autokey string `xorm:"autokey"`
|
||||
Ticket string `xorm:"ticket"`
|
||||
UserID int `xorm:"user_id"`
|
||||
LastLoginTime int64 `xorm:"last_login_time"`
|
||||
}
|
||||
|
||||
func (Users) TableName() string {
|
||||
return "users"
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
package user
|
||||
|
||||
type UserUnit struct {
|
||||
ID int `xorm:"id pk autoincr"`
|
||||
UnitOwningUserID int `xorm:"unit_owning_user_id"`
|
||||
UserID int `xorm:"user_id"`
|
||||
UnitID int `xorm:"unit_id"`
|
||||
Exp int `xorm:"exp"`
|
||||
NextExp int `xorm:"next_exp"`
|
||||
Level int `xorm:"level"`
|
||||
MaxLevel int `xorm:"max_level"`
|
||||
LevelLimitID int `xorm:"level_limit_id"`
|
||||
Rank int `xorm:"rank"`
|
||||
MaxRank int `xorm:"max_rank"`
|
||||
Love int `xorm:"love"`
|
||||
MaxLove int `xorm:"max_love"`
|
||||
UnitSkillExp int `xorm:"unit_skill_exp"`
|
||||
UnitSkillLevel int `xorm:"unit_skill_level"`
|
||||
MaxHp int `xorm:"max_hp"`
|
||||
UnitRemovableSkillCapacity int `xorm:"unit_removable_skill_capacity"`
|
||||
FavoriteFlag int `xorm:"favorite_flag"`
|
||||
DisplayRank int `xorm:"display_rank"`
|
||||
IsRankMax int `xorm:"is_rank_max"`
|
||||
IsLoveMax int `xorm:"is_love_max"`
|
||||
IsLevelMax int `xorm:"is_level_max"`
|
||||
IsSigned int `xorm:"is_signed"`
|
||||
IsSkillLevelMax int `xorm:"is_skill_level_max"`
|
||||
IsRemovableSkillCapacityMax int `xorm:"is_removable_skill_capacity_max"`
|
||||
InsertDate string `xorm:"insert_date"`
|
||||
}
|
||||
|
||||
func (UserUnit) TableName() string {
|
||||
return "user_unit"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package user
|
||||
|
||||
type UserUnitSkillEquip struct {
|
||||
ID int `xorm:"id pk autoincr"`
|
||||
UnitOwningUserID int `xorm:"unit_owning_user_id"`
|
||||
UnitRemovableSkillID int `xorm:"unit_removable_skill_id"`
|
||||
UserID int `xorm:"user_id"`
|
||||
}
|
||||
|
||||
func (UserUnitSkillEquip) TableName() string {
|
||||
return "user_unit_skill_equip"
|
||||
}
|
||||
@@ -1,59 +0,0 @@
|
||||
package model
|
||||
|
||||
// UserInfoResp ...
|
||||
type UserInfoResp struct {
|
||||
ResponseData UserInfoRes `json:"response_data"`
|
||||
ReleaseInfo []any `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// UserInfoRes ...
|
||||
type UserInfoRes struct {
|
||||
User UserInfo `json:"user"`
|
||||
Birth Birth `json:"birth"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
// LpRecoveryItem ...
|
||||
type LpRecoveryItem struct {
|
||||
ItemID int `json:"item_id"`
|
||||
Amount int `json:"amount"`
|
||||
}
|
||||
|
||||
// UserInfo ...
|
||||
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"`
|
||||
}
|
||||
|
||||
// Birth ...
|
||||
type Birth struct {
|
||||
BirthMonth int `json:"birth_month"`
|
||||
BirthDay int `json:"birth_day"`
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
package model
|
||||
|
||||
// Msg ...
|
||||
type Msg struct {
|
||||
Code int `json:"code"`
|
||||
Message string `json:"message"`
|
||||
Redirect string `json:"redirect"`
|
||||
}
|
||||
Reference in New Issue
Block a user