commonstruct

package
v0.0.39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DrawPrizeChanInfo

type DrawPrizeChanInfo struct {
	UserId     string
	GiftNumber int
	UserName   string
	UserAvatar string
}

type LikeInfo

type LikeInfo struct {
	Id           int    `json:"id"`
	GiftId       int    `json:"gift_id"`
	RoleAddValue int    `json:"role_add_value"`
	RoleAddTimes int    `json:"role_add_times"`
	TeamAddValue int    `json:"team_add_value"`
	TeamAddTimes int    `json:"team_add_times"`
	TeamSubValue int    `json:"team_sub_value"`
	TeamSubTimes int    `json:"team_sub_times"`
	AutoSuc      bool   `json:"auto_suc"`
	Des          string `json:"des"`
}

type LivePlayer

type LivePlayer struct {
	SecOpenid string `json:"sec_openid"`
	AvatarUrl string `json:"avatar_url"`
	Nickname  string `json:"nickname"`
}

type NeedPushContent

type NeedPushContent struct {
	Content   string `json:"content"`
	SecOpenid string `json:"sec_openid"`
}

type NeedPushGift

type NeedPushGift struct {
	GiftNum   int    `json:"gift_num"`
	GiftId    int    `json:"gift_id"`
	SecOpenid string `json:"sec_openid"`
}

type NeedPushLike

type NeedPushLike struct {
	LikeNum   string `json:"like_num"`
	SecOpenid string `json:"sec_openid"`
}

type NeedPushSex

type NeedPushSex struct {
	Content   string `json:"content"`
	SecOpenid string `json:"sec_openid"`
}

type NeedPushUser

type NeedPushUser struct {
	On         int    `json:"on"`      //1.红方,2蓝方
	WhoWin     int    `json:"who_win"` //谁赢了
	SecOpenid  string `json:"sec_openid"`
	AvatarUrl  string `json:"avatar_url"`
	Nickname   string `json:"nickname"`
	CreateUnix int64  `json:"create_unix"`
	JoinUnix   int64  `json:"join_unix"`
	Sex        int    `json:"sex"`

	CpPlayerUid     string `json:"cp_player_uid"`     //情侣的ID,对方的用户id
	CpMarriedStatus int32  `json:"cp_married_status"` //0.无任何状态,1:订婚,2:结婚状态
	CpName          string `json:"cp_name"`           //情侣的名字
	CpAvatar        string `json:"cp_avatar"`         //情侣对方的头像Icon
	CpCreateAt      int64  `json:"cp_create_at"`      //结婚时间

	CurrentTitleId          int64 `json:"current_title_id"`           //当前称号
	CurrentHeadbgId         int64 `json:"current_headbg_id"`          //当前头像框id
	CurrentSingleBackbgId   int64 `json:"current_single_backbg_id"`   //用户当前单人背景版id
	CurrentCoupleBackbgId   int64 `json:"current_couple_backbg_id"`   //用户当前双人背景版id
	CurrentPersonCardId     int64 `json:"current_person_card_id"`     //用户当前个人信息版id
	CurrentTripLevel        int64 `json:"current_trip_level"`         //用户当前旅途等级
	CurrentSpecialEffectsId int64 `json:"current_special_effects_id"` //用户当前个人特效卡id
	CurrentFollowPetNo      int64 `json:"current_follow_pet_no"`      //用户当前跟随的宠物编号
	CurrentModelScore       int   `json:"current_model_score"`        //历史累计星光值
	//CurrentModelExperience int    `json:"current_model_experience"` //历史累计星光值
	TotalScore          int                       `json:"total_score"`            //历史累计星光值
	TotalExperience     int                       `json:"total_experience"`       //历史累计经验
	CurrentSuitId       int64                     `json:"current_suit_id"`        //历史累计经验
	RoundId             string                    `json:"round_id"`               //回合id
	HasCheck            bool                      `json:"has_check"`              //是否经过redis检查过
	WorldRank           int32                     `json:"world_rank "`            //世界排行榜
	TitleNo             int32                     `json:"title_no "`              //称号编号
	ComposeSuitIds      []SuitIdInfo              `json:"compose_suit_ids"`       //称号编号
	CurrentElementNos   []int64                   `json:"current_element_nos"`    //称号编号
	MarrySuit           []int64                   `json:"marry_suit"`             //结婚套装
	CurrentActiveScore  int64                     `json:"current_active_score"`   //当前活动的积分
	SoulMates           []UserInfoItem            `json:"soul_mates"`             //知己
	BestFriends         []UserInfoItem            `json:"best_friends"`           //死党
	PieceGiveNumberList []UserPieceGiveNumberItem `json:"piece_give_number_list"` //用户碎片可赠送次数列表
}

type PresentDataItem1

type PresentDataItem1 struct {
	Id           int    `json:"id"`
	GiftId       int    `json:"gift_id"`
	RoleAddValue int    `json:"role_add_value"`
	RoleAddTimes int    `json:"role_add_times"`
	TeamAddValue int    `json:"team_add_value"`
	TeamAddTimes int    `json:"team_add_times"`
	TeamSubValue int    `json:"team_sub_value"`
	TeamSubTimes int    `json:"team_sub_times"`
	AutoSuc      bool   `json:"auto_suc"`
	Des          string `json:"des"`
}

type PresentDataItemBase

type PresentDataItemBase struct {
	Id           string `json:"id"`
	GiftId       string `json:"code"`
	RoleAddValue string `json:"role_add_value"`
	RoleAddTimes string `json:"role_add_times"`
	RoleAddEffH  string `json:"role_add_eff_h"`
	RoleAddEffA  string `json:"role_add_eff_a"`
	TeamAddValue string `json:"team_add_value"`
	TeamAddTimes string `json:"team_add_times"`
	TeamAddEffH  string `json:"team_add_eff_h"`
	TeamAddEffA  string `json:"team_add_eff_a"`
	TeamSubValue string `json:"team_sub_value"`
	TeamSubTimes string `json:"team_sub_times"`
	TeamSubEffH  string `json:"team_sub_eff_h"`
	TeamSubEffA  string `json:"team_sub_eff_a"`
	AutoSuc      string `json:"auto_suc"`
	Des          string `json:"des"`
}

type SuitIdInfo

type SuitIdInfo struct {
	SuitId     int64 `json:"suit_id"`     //套装ID
	ExpireTime int64 `json:"expire_time"` // 道具过期时间戳
}

type UserCurrentTitleHead

type UserCurrentTitleHead struct {
	SecOpenid             string `json:"sec_openid"`
	CurrentTitleId        int64  `json:"current_title_id"`         //当前称号
	CurrentHeadbgId       int64  `json:"current_headbg_id"`        //当前单人头像框id
	CurrentSingleBackbgId int64  `json:"current_single_backbg_id"` //当前单人背景版id
	CurrentCoupleBackbgId int64  `json:"current_couple_backbg_id"` //当前双人背景版id
}

type UserInfoItem

type UserInfoItem struct {
	UserId   string `json:"user_id"`  //玩家id
	Nickname string `json:"nickname"` //玩家昵称
	Avatar   string `json:"avatar"`   // 玩家头像
}

type UserPieceGiveNumberItem

type UserPieceGiveNumberItem struct {
	PieceNo         int64 `json:"piece_no"`          //碎片编号
	PieceGiveNumber int64 `json:"piece_give_number"` //碎片可赠送次数
}

用户碎片可赠送次数

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL