Files
honoka-chan/model/login.go
T
2023-05-23 01:12:54 +08:00

247 lines
16 KiB
Go

package model
/* ==== SIF START ==== */
// 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 []interface{} `json:"release_info"`
StatusCode int `json:"status_code"`
}
/* ==== SIF END ==== */
/* ==== AS START ==== */
// AsLoginRes ...
type AsLoginRes struct {
SessionKey string `json:"session_key"`
UserModel UserModel `json:"user_model"`
IsPlatformServiceLinked bool `json:"is_platform_service_linked"`
LastTimestamp int64 `json:"last_timestamp"`
Cautions []interface{} `json:"cautions"`
ShowHomeCaution bool `json:"show_home_caution"`
LiveResume interface{} `json:"live_resume"`
FromEea bool `json:"from_eea"`
GdprConsentedInfo GdprConsentedInfo `json:"gdpr_consented_info"`
UserID int `json:"user_id"`
IsUnderAge int `json:"is_under_age"`
AreaID int `json:"area_id"`
AuthCount int `json:"auth_count"`
MemberLovePanels []MemberLovePanels `json:"member_love_panels"`
CheckMaintenance bool `json:"check_maintenance"`
ReproInfo ReproInfo `json:"repro_info"`
}
// UserModel ...
type UserModel struct {
UserStatus AsUserStatus `json:"user_status"`
UserMemberByMemberID interface{} `json:"user_member_by_member_id"`
UserCardByCardID []interface{} `json:"user_card_by_card_id"`
UserSuitBySuitID []interface{} `json:"user_suit_by_suit_id"`
UserLiveDeckByID []interface{} `json:"user_live_deck_by_id"`
UserLivePartyByID []interface{} `json:"user_live_party_by_id"`
UserLessonDeckByID []interface{} `json:"user_lesson_deck_by_id"`
UserLiveMvDeckByID []interface{} `json:"user_live_mv_deck_by_id"`
UserLiveMvDeckCustomByID interface{} `json:"user_live_mv_deck_custom_by_id"`
UserLiveDifficultyByDifficultyID []interface{} `json:"user_live_difficulty_by_difficulty_id"`
UserStoryMainByStoryMainID []interface{} `json:"user_story_main_by_story_main_id"`
UserStoryMainSelectedByStoryMainCellID []interface{} `json:"user_story_main_selected_by_story_main_cell_id"`
UserVoiceByVoiceID []interface{} `json:"user_voice_by_voice_id"`
UserEmblemByEmblemID []interface{} `json:"user_emblem_by_emblem_id"`
UserGachaTicketByTicketID []interface{} `json:"user_gacha_ticket_by_ticket_id"`
UserGachaPointByPointID []interface{} `json:"user_gacha_point_by_point_id"`
UserLessonEnhancingItemByItemID []interface{} `json:"user_lesson_enhancing_item_by_item_id"`
UserTrainingMaterialByItemID []interface{} `json:"user_training_material_by_item_id"`
UserGradeUpItemByItemID []interface{} `json:"user_grade_up_item_by_item_id"`
UserCustomBackgroundByID []interface{} `json:"user_custom_background_by_id"`
UserStorySideByID []interface{} `json:"user_story_side_by_id"`
UserStoryMemberByID []interface{} `json:"user_story_member_by_id"`
UserCommunicationMemberDetailBadgeByID []interface{} `json:"user_communication_member_detail_badge_by_id"`
UserStoryEventHistoryByID []interface{} `json:"user_story_event_history_by_id"`
UserRecoveryLpByID []interface{} `json:"user_recovery_lp_by_id"`
UserRecoveryApByID []interface{} `json:"user_recovery_ap_by_id"`
UserMissionByMissionID []interface{} `json:"user_mission_by_mission_id"`
UserDailyMissionByMissionID []interface{} `json:"user_daily_mission_by_mission_id"`
UserWeeklyMissionByMissionID []interface{} `json:"user_weekly_mission_by_mission_id"`
UserInfoTriggerBasicByTriggerID []interface{} `json:"user_info_trigger_basic_by_trigger_id"`
UserInfoTriggerCardGradeUpByTriggerID []interface{} `json:"user_info_trigger_card_grade_up_by_trigger_id"`
UserInfoTriggerMemberGuildSupportItemExpiredByTriggerID []interface{} `json:"user_info_trigger_member_guild_support_item_expired_by_trigger_id"`
UserInfoTriggerMemberLoveLevelUpByTriggerID []interface{} `json:"user_info_trigger_member_love_level_up_by_trigger_id"`
UserAccessoryByUserAccessoryID []interface{} `json:"user_accessory_by_user_accessory_id"`
UserAccessoryLevelUpItemByID []interface{} `json:"user_accessory_level_up_item_by_id"`
UserAccessoryRarityUpItemByID []interface{} `json:"user_accessory_rarity_up_item_by_id"`
UserUnlockScenesByEnum []interface{} `json:"user_unlock_scenes_by_enum"`
UserSceneTipsByEnum []interface{} `json:"user_scene_tips_by_enum"`
UserRuleDescriptionByID []interface{} `json:"user_rule_description_by_id"`
UserExchangeEventPointByID []interface{} `json:"user_exchange_event_point_by_id"`
UserSchoolIdolFestivalIDRewardMissionByID []interface{} `json:"user_school_idol_festival_id_reward_mission_by_id"`
UserGpsPresentReceivedByID []interface{} `json:"user_gps_present_received_by_id"`
UserEventMarathonByEventMasterID []interface{} `json:"user_event_marathon_by_event_master_id"`
UserEventMiningByEventMasterID []interface{} `json:"user_event_mining_by_event_master_id"`
UserEventCoopByEventMasterID []interface{} `json:"user_event_coop_by_event_master_id"`
UserLiveSkipTicketByID []interface{} `json:"user_live_skip_ticket_by_id"`
UserStoryEventUnlockItemByID []interface{} `json:"user_story_event_unlock_item_by_id"`
UserEventMarathonBoosterByID []interface{} `json:"user_event_marathon_booster_by_id"`
UserReferenceBookByID []interface{} `json:"user_reference_book_by_id"`
UserReviewRequestProcessFlowByID []interface{} `json:"user_review_request_process_flow_by_id"`
UserRankExpByID []interface{} `json:"user_rank_exp_by_id"`
UserShareByID []interface{} `json:"user_share_by_id"`
UserTowerByTowerID []interface{} `json:"user_tower_by_tower_id"`
UserRecoveryTowerCardUsedCountItemByRecoveryTowerCardUsedCountItemMasterID []interface{} `json:"user_recovery_tower_card_used_count_item_by_recovery_tower_card_used_count_item_master_id"`
UserStoryLinkageByID []interface{} `json:"user_story_linkage_by_id"`
UserSubscriptionStatusByID []interface{} `json:"user_subscription_status_by_id"`
UserStoryMainPartDigestMovieByID []interface{} `json:"user_story_main_part_digest_movie_by_id"`
UserMemberGuildByID []interface{} `json:"user_member_guild_by_id"`
UserMemberGuildSupportItemByID []interface{} `json:"user_member_guild_support_item_by_id"`
UserDailyTheaterByDailyTheaterID []interface{} `json:"user_daily_theater_by_daily_theater_id"`
UserPlayListByID []interface{} `json:"user_play_list_by_id"`
}
// Name ...
type Name struct {
DotUnderText string `json:"dot_under_text"`
}
// Nickname ...
type Nickname struct {
DotUnderText string `json:"dot_under_text"`
}
// Message ...
type Message struct {
DotUnderText string `json:"dot_under_text"`
}
// AsUserStatus ...
type AsUserStatus struct {
Name Name `json:"name"`
Nickname Nickname `json:"nickname"`
LastLoginAt int64 `json:"last_login_at"`
Rank int `json:"rank"`
Exp int `json:"exp"`
Message Message `json:"message"`
RecommendCardMasterID int `json:"recommend_card_master_id"`
MaxFriendNum int `json:"max_friend_num"`
LivePointFullAt int `json:"live_point_full_at"`
LivePointBroken int `json:"live_point_broken"`
LivePointSubscriptionRecoveryDailyCount int `json:"live_point_subscription_recovery_daily_count"`
LivePointSubscriptionRecoveryDailyResetAt int `json:"live_point_subscription_recovery_daily_reset_at"`
ActivityPointCount int `json:"activity_point_count"`
ActivityPointResetAt int `json:"activity_point_reset_at"`
ActivityPointPaymentRecoveryDailyCount int `json:"activity_point_payment_recovery_daily_count"`
ActivityPointPaymentRecoveryDailyResetAt int `json:"activity_point_payment_recovery_daily_reset_at"`
GameMoney int `json:"game_money"`
CardExp int `json:"card_exp"`
FreeSnsCoin int `json:"free_sns_coin"`
AppleSnsCoin int `json:"apple_sns_coin"`
GoogleSnsCoin int `json:"google_sns_coin"`
Cash int `json:"cash"`
SubscriptionCoin int `json:"subscription_coin"`
BirthDate interface{} `json:"birth_date"`
BirthMonth int `json:"birth_month"`
BirthDay int `json:"birth_day"`
LatestLiveDeckID int `json:"latest_live_deck_id"`
MainLessonDeckID int `json:"main_lesson_deck_id"`
FavoriteMemberID int `json:"favorite_member_id"`
LastLiveDifficultyID int `json:"last_live_difficulty_id"`
LpMagnification int `json:"lp_magnification"`
EmblemID int `json:"emblem_id"`
DeviceToken string `json:"device_token"`
TutorialPhase int `json:"tutorial_phase"`
TutorialEndAt int `json:"tutorial_end_at"`
LoginDays int `json:"login_days"`
NaviTapCount int `json:"navi_tap_count"`
NaviTapRecoverAt int `json:"navi_tap_recover_at"`
IsAutoMode bool `json:"is_auto_mode"`
MaxScoreLiveDifficultyMasterID int `json:"max_score_live_difficulty_master_id"`
LiveMaxScore int `json:"live_max_score"`
MaxComboLiveDifficultyMasterID int `json:"max_combo_live_difficulty_master_id"`
LiveMaxCombo int `json:"live_max_combo"`
LessonResumeStatus int `json:"lesson_resume_status"`
AccessoryBoxAdditional int `json:"accessory_box_additional"`
TermsOfUseVersion int `json:"terms_of_use_version"`
BootstrapSifidCheckAt int `json:"bootstrap_sifid_check_at"`
GdprVersion int `json:"gdpr_version"`
MemberGuildMemberMasterID int `json:"member_guild_member_master_id"`
MemberGuildLastUpdatedAt int `json:"member_guild_last_updated_at"`
}
// GdprConsentedInfo ...
type GdprConsentedInfo struct {
HasConsentedAdPurposeOfUse bool `json:"has_consented_ad_purpose_of_use"`
HasConsentedCrashReport bool `json:"has_consented_crash_report"`
}
// MemberLovePanels ...
type MemberLovePanels struct {
MemberID int `json:"member_id"`
MemberLovePanelCellIds []int `json:"member_love_panel_cell_ids"`
}
// ReproInfo ...
type ReproInfo struct {
GroupNo int `json:"group_no"`
}
// AsCardInfo ...
type AsCardInfo struct {
CardMasterID int `json:"card_master_id"`
Level int `json:"level"`
Exp int `json:"exp"`
LovePoint int `json:"love_point"`
IsFavorite bool `json:"is_favorite"`
IsAwakening bool `json:"is_awakening"`
IsAwakeningImage bool `json:"is_awakening_image"`
IsAllTrainingActivated bool `json:"is_all_training_activated"`
TrainingActivatedCellCount int `json:"training_activated_cell_count"`
MaxFreePassiveSkill int `json:"max_free_passive_skill"`
Grade int `json:"grade"`
TrainingLife int `json:"training_life"`
TrainingAttack int `json:"training_attack"`
TrainingDexterity int `json:"training_dexterity"`
ActiveSkillLevel int `json:"active_skill_level"`
PassiveSkillALevel int `json:"passive_skill_a_level"`
PassiveSkillBLevel int `json:"passive_skill_b_level"`
PassiveSkillCLevel int `json:"passive_skill_c_level"`
AdditionalPassiveSkill1ID int `json:"additional_passive_skill_1_id"`
AdditionalPassiveSkill2ID int `json:"additional_passive_skill_2_id"`
AdditionalPassiveSkill3ID int `json:"additional_passive_skill_3_id"`
AdditionalPassiveSkill4ID int `json:"additional_passive_skill_4_id"`
AcquiredAt int `json:"acquired_at"`
IsNew bool `json:"is_new"`
}
// AsSuitInfo ...
type AsSuitInfo struct {
SuitMasterID int `json:"suit_master_id"`
IsNew bool `json:"is_new"`
}
// AsReq ...
type AsReq interface{}
// AsResp ...
type AsResp interface{}
// PackUrlReqBody ...
type PackUrlReqBody struct {
PackNames []string `json:"pack_names"`
}
// PackUrlRespBody ...
type PackUrlRespBody struct {
UrlList []string `json:"url_list"`
}
/* ==== AS END ==== */