@@ -0,0 +1,26 @@
|
||||
package itemapischema
|
||||
|
||||
type GeneralItemList struct {
|
||||
ItemID int `json:"item_id"`
|
||||
Amount int `json:"amount"`
|
||||
UseButtonFlag bool `json:"use_button_flag"`
|
||||
GeneralItemType int `json:"general_item_type"`
|
||||
}
|
||||
|
||||
type BuffItemList struct {
|
||||
ItemID int `json:"item_id"`
|
||||
Amount int `json:"amount"`
|
||||
BuffType int `json:"buff_type"`
|
||||
}
|
||||
|
||||
type ListData struct {
|
||||
GeneralItemList []GeneralItemList `json:"general_item_list"`
|
||||
BuffItemList []BuffItemList `json:"buff_item_list"`
|
||||
}
|
||||
|
||||
type ListResp struct {
|
||||
Result ListData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -8,18 +8,18 @@ type LicenseInfo struct {
|
||||
}
|
||||
|
||||
type TopInfoData struct {
|
||||
FriendActionCnt int `json:"friend_action_cnt"`
|
||||
FriendGreetCnt int `json:"friend_greet_cnt"`
|
||||
FriendVarietyCnt int `json:"friend_variety_cnt"`
|
||||
FriendNewCnt int `json:"friend_new_cnt"`
|
||||
PresentCnt int `json:"present_cnt"`
|
||||
FriendActionCnt int64 `json:"friend_action_cnt"`
|
||||
FriendGreetCnt int64 `json:"friend_greet_cnt"`
|
||||
FriendVarietyCnt int64 `json:"friend_variety_cnt"`
|
||||
FriendNewCnt int64 `json:"friend_new_cnt"`
|
||||
PresentCnt int64 `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"`
|
||||
FriendsApprovalWaitCnt int64 `json:"friends_approval_wait_cnt"`
|
||||
FriendsRequestCnt int64 `json:"friends_request_cnt"`
|
||||
IsTodayBirthday bool `json:"is_today_birthday"`
|
||||
LicenseInfo LicenseInfo `json:"license_info"`
|
||||
UsingBuffInfo []any `json:"using_buff_info"`
|
||||
|
||||
@@ -8,8 +8,8 @@ type CardRankingData struct {
|
||||
}
|
||||
|
||||
type CardRankingResp struct {
|
||||
Result any `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
Result []CardRankingData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ type UserInfo struct {
|
||||
UnitMax int `json:"unit_max"`
|
||||
EnergyMax int `json:"energy_max"`
|
||||
FriendMax int `json:"friend_max"`
|
||||
UnitCnt int `json:"unit_cnt"`
|
||||
UnitCnt int64 `json:"unit_cnt"`
|
||||
InviteCode string `json:"invite_code"`
|
||||
ElapsedTimeFromLogin string `json:"elapsed_time_from_login"`
|
||||
Introduction string `json:"introduction"`
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
package stampapischema
|
||||
|
||||
type StampList struct {
|
||||
Position int `json:"position"`
|
||||
StampID int `json:"stamp_id"`
|
||||
}
|
||||
|
||||
type SettingList struct {
|
||||
StampSettingID int `json:"stamp_setting_id"`
|
||||
MainFlag int `json:"main_flag"`
|
||||
StampList []StampList `json:"stamp_list"`
|
||||
}
|
||||
|
||||
type StampSetting struct {
|
||||
StampType int `json:"stamp_type"`
|
||||
SettingList []SettingList `json:"setting_list"`
|
||||
}
|
||||
|
||||
type InfoData struct {
|
||||
OwningStampIds []int `json:"owning_stamp_ids"`
|
||||
StampSetting []StampSetting `json:"stamp_setting"`
|
||||
}
|
||||
|
||||
type InfoResp struct {
|
||||
Result InfoData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
Reference in New Issue
Block a user