12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- package model
- const (
- RecruitTypeHero = 1
- RecruitTypeTreasure = 2
- RecruitTypeEpigraph = 3
- RecruitTypePoint = 4
- )
- // 招募-Recruit exported from 招募配置.xlsx
- type Recruit struct {
- Uid int64 `json:"Uid"` // 唯一ID
- ItemType int64 `json:"ItemType"` // 道具类型 1-英雄 2-道具 3-宝物 4-铭文
- Item int64 `json:"Item"` // 掉落道具
- Num int64 `json:"Num"` // 数量
- Weight int64 `json:"Weight"` // 出现权重
- Acquire int64 `json:"Acquire"` // 获得权重
- NumDrop int64 `json:"NumDrop"` // 必掉组
- } // package model
- // 招募数量权重-RecruitNum exported from 招募配置.xlsx
- type RecruitNum struct {
- Uid int64 `json:"Uid"` // 唯一ID
- Num int64 `json:"Num"` // 中奖数量
- Weight int64 `json:"Weight"` // 出现权重
- } // package model
- // 宝物招募-RecruitTreasure exported from 招募配置.xlsx
- type RecruitTreasure struct {
- Uid int64 `json:"Uid"` // 唯一ID
- Item int64 `json:"Item"` // 宝物ID
- Weight int64 `json:"Weight"` // 权重
- Floors int64 `json:"Floors"` // 十次保底
- } // package model
- // 铭文招募-RecruitEpigraph exported from 招募配置.xlsx
- type RecruitEpigraph struct {
- Uid int64 `json:"Uid"` // 唯一ID
- Item int64 `json:"Item"` // 铭文ID
- Num int64 `json:"Num"` // 数量
- Weight int64 `json:"Weight"` // 权重
- Floors int64 `json:"Floors"` // 十次保底
- } // package model
- // 保底招募-RecruitPoints exported from 招募配置.xlsx
- type RecruitPoints struct {
- Uid int64 `json:"Uid"` // 唯一ID
- Item int64 `json:"Item"` // 英雄ID
- Num int64 `json:"Num"` // 数量
- Weight int64 `json:"Weight"` // 权重
- } // package model
- // 英雄免费数-RecruitFree exported from 招募配置.xlsx
- type RecruitFree struct {
- Uid int64 `json:"Uid"` // 唯一ID
- NumTime int64 `json:"NumTime"` // 免费次数
- } // package model
- // 招募消耗表-RecruitConsume exported from 招募配置.xlsx
- type RecruitConsume struct {
- Uid int64 `json:"Uid"` // 唯一ID
- Type int64 `json:"Type"` // 招募类型 1--英雄招募 2--宝物招募 3--铭文招募 4--积分招募
- Num int64 `json:"Num"` // 招募次数
- Consume []int64 `json:"Consume"` // 招募消耗
- } // package model
- // 招募配置-RecruitBase exported from 招募配置.xlsx
- type RecruitBase struct {
- Uid int64 `json:"Uid"` // 唯一ID
- Type int64 `json:"Type"` // 招募类型 1--英雄招募 2--宝物招募 3--铭文招募
- NumDrop int64 `json:"NumDrop"` // 必掉次数
- }
- // func (r *Recruit) GetWeight() int64 {
- // return r.Weight
- // }
|