@@ -0,0 +1,14 @@
|
||||
package model
|
||||
|
||||
// AnnounceResp ...
|
||||
type AnnounceResp struct {
|
||||
ResponseData AnnounceRes `json:"response_data"`
|
||||
ReleaseInfo []interface{} `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// AnnounceRes ...
|
||||
type AnnounceRes struct {
|
||||
HasUnreadAnnounce bool `json:"has_unread_announce"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package model
|
||||
|
||||
type SifApi struct {
|
||||
Module string `json:"module"`
|
||||
Action string `json:"action"`
|
||||
Timestamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -1,41 +0,0 @@
|
||||
package model
|
||||
|
||||
type SifApi struct {
|
||||
Module string `json:"module"`
|
||||
Action string `json:"action"`
|
||||
Timestamp int64 `json:"timeStamp"`
|
||||
}
|
||||
|
||||
type AuthKeyReq struct {
|
||||
DummyToken string `json:"dummy_token"`
|
||||
AuthData string `json:"auth_data"`
|
||||
}
|
||||
|
||||
type AuthKeyResp struct {
|
||||
ResponseData struct {
|
||||
AuthorizeToken string `json:"authorize_token"`
|
||||
DummyToken string `json:"dummy_token"`
|
||||
} `json:"response_data"`
|
||||
ReleaseInfo [0]interface{} `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
type LoginReq struct {
|
||||
LoginKey string `json:"login_key"`
|
||||
LoginPasswd string `json:"login_passwd"`
|
||||
DevToken string `json:"devtoken"`
|
||||
}
|
||||
|
||||
type LoginResp struct {
|
||||
ResponseData 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"`
|
||||
} `json:"response_data"`
|
||||
ReleaseInfo [0]interface{} `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
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 []interface{} `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package model
|
||||
|
||||
// EventsResp ...
|
||||
type EventsResp struct {
|
||||
ResponseData EventsRes `json:"response_data"`
|
||||
ReleaseInfo []interface{} `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"`
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package model
|
||||
|
||||
// GdprResp ...
|
||||
type GdprResp struct {
|
||||
ResponseData GdprRes `json:"response_data"`
|
||||
ReleaseInfo []interface{} `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"`
|
||||
}
|
||||
+14
-67
@@ -1,72 +1,19 @@
|
||||
package model
|
||||
|
||||
type TopInfoLicenseInfo struct {
|
||||
LicenseList []interface{} `json:"license_list"`
|
||||
LicensedInfo []interface{} `json:"licensed_info"`
|
||||
ExpiredInfo []interface{} `json:"expired_info"`
|
||||
BadgeFlag bool `json:"badge_flag"`
|
||||
// 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"`
|
||||
}
|
||||
|
||||
type TopInfoResult 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 []interface{} `json:"using_buff_info"`
|
||||
IsKlabIDTaskFlag bool `json:"is_klab_id_task_flag"`
|
||||
KlabIDTaskCanSync bool `json:"klab_id_task_can_sync"`
|
||||
HasUnreadAnnounce bool `json:"has_unread_announce"`
|
||||
ExchangeBadgeCnt []int `json:"exchange_badge_cnt"`
|
||||
AdFlag bool `json:"ad_flag"`
|
||||
HasAdReward bool `json:"has_ad_reward"`
|
||||
}
|
||||
|
||||
type TopInfoResp struct {
|
||||
Result TopInfoResult `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
|
||||
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"`
|
||||
}
|
||||
|
||||
type TopInfoOnceResult 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"`
|
||||
}
|
||||
|
||||
type TopInfoOnceResp struct {
|
||||
Result TopInfoOnceResult `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
// LoginResp ...
|
||||
type LoginResp struct {
|
||||
ResponseData LoginRes `json:"response_data"`
|
||||
ReleaseInfo []interface{} `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
package model
|
||||
|
||||
// NoticeFriendVarietyResp ...
|
||||
type NoticeFriendVarietyResp struct {
|
||||
ResponseData NoticeFriendVarietyRes `json:"response_data"`
|
||||
ReleaseInfo []interface{} `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// NoticeFriendVarietyRes ...
|
||||
type NoticeFriendVarietyRes struct {
|
||||
ItemCount int `json:"item_count"`
|
||||
NoticeList []interface{} `json:"notice_list"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
// NoticeFriendGreetingResp ...
|
||||
type NoticeFriendGreetingResp struct {
|
||||
ResponseData NoticeFriendGreetingRes `json:"response_data"`
|
||||
ReleaseInfo []interface{} `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// NoticeFriendGreetingRes ...
|
||||
type NoticeFriendGreetingRes struct {
|
||||
NextId int `json:"next_id"`
|
||||
NoticeList []interface{} `json:"notice_list"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
|
||||
// NoticeUserGreetingResp ...
|
||||
type NoticeUserGreetingResp struct {
|
||||
ResponseData NoticeUserGreetingRes `json:"response_data"`
|
||||
ReleaseInfo []interface{} `json:"release_info"`
|
||||
StatusCode int `json:"status_code"`
|
||||
}
|
||||
|
||||
// NoticeUserGreetingRes ...
|
||||
type NoticeUserGreetingRes struct {
|
||||
ItemCount int `json:"item_count"`
|
||||
HasNext bool `json:"has_next"`
|
||||
NoticeList []interface{} `json:"notice_list"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package model
|
||||
|
||||
// PersonalNoticeResp ...
|
||||
type PersonalNoticeResp struct {
|
||||
ResponseData PersonalNoticeRes `json:"response_data"`
|
||||
ReleaseInfo []interface{} `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"`
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
package model
|
||||
|
||||
type TopInfoLicenseInfo struct {
|
||||
LicenseList []interface{} `json:"license_list"`
|
||||
LicensedInfo []interface{} `json:"licensed_info"`
|
||||
ExpiredInfo []interface{} `json:"expired_info"`
|
||||
BadgeFlag bool `json:"badge_flag"`
|
||||
}
|
||||
|
||||
type TopInfoResult 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 []interface{} `json:"using_buff_info"`
|
||||
IsKlabIDTaskFlag bool `json:"is_klab_id_task_flag"`
|
||||
KlabIDTaskCanSync bool `json:"klab_id_task_can_sync"`
|
||||
HasUnreadAnnounce bool `json:"has_unread_announce"`
|
||||
ExchangeBadgeCnt []int `json:"exchange_badge_cnt"`
|
||||
AdFlag bool `json:"ad_flag"`
|
||||
HasAdReward bool `json:"has_ad_reward"`
|
||||
}
|
||||
|
||||
type TopInfoResp struct {
|
||||
Result TopInfoResult `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
|
||||
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"`
|
||||
}
|
||||
|
||||
type TopInfoOnceResult 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"`
|
||||
}
|
||||
|
||||
type TopInfoOnceResp struct {
|
||||
Result TopInfoOnceResult `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package model
|
||||
|
||||
// TosResp ...
|
||||
type TosResp struct {
|
||||
ResponseData TosRes `json:"response_data"`
|
||||
ReleaseInfo []interface{} `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"`
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
package model
|
||||
|
||||
// UserInfoResp ...
|
||||
type UserInfoResp struct {
|
||||
ResponseData UserInfoRes `json:"response_data"`
|
||||
ReleaseInfo []interface{} `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"`
|
||||
}
|
||||
Reference in New Issue
Block a user