37 lines
1.9 KiB
Go
37 lines
1.9 KiB
Go
![]() |
package data
|
|||
|
|
|||
|
type Scene struct {
|
|||
|
Id int `json:"id"` //索引(ID)
|
|||
|
SceneType int `json:"scene_type"` //场景类型
|
|||
|
IsMask float64 `json:"is_mask"` //是否遮罩
|
|||
|
CopyType int `json:"copy_type"` //副本类型
|
|||
|
Landform int `json:"landform"` //地貌
|
|||
|
BattleTime int `json:"battle_time"` //战斗时间
|
|||
|
ResultRule int `json:"result_rule"` //副本失败规则
|
|||
|
ChallengeTimes int `json:"challenge_times"` //每天可挑战次数
|
|||
|
ConsumeItemList []int `json:"consume_item_list"` //进入消耗物品id
|
|||
|
ConsumeNumList []int `json:"consume_num_list"` //进入消耗物品数量
|
|||
|
SuConsumeItemList []int `json:"su_consume_item_list"` //成功消耗物品id
|
|||
|
SuConsumeNumList []int `json:"su_consume_num_list"` //成功消耗物品数量
|
|||
|
BuyNum int `json:"buy_num"` //可购买次数
|
|||
|
FirstRewardId int `json:"first_reward_id"` //首次通关掉落id
|
|||
|
RewardId int `json:"reward_id"` //通关奖励掉落id
|
|||
|
AddExp int `json:"add_exp"` //通关获得经验
|
|||
|
ExtraSweepNum int `json:"extra_sweep_num"` //额外扫荡次数
|
|||
|
ConversionRatio int `json:"conversion_ratio"` //转换比例
|
|||
|
ComboNum []int `json:"comboNum"` //连击数
|
|||
|
ComboItem []int `json:"comboItem"` //连击道具
|
|||
|
ComboItemNum []int `json:"comboItemNum"` //连击道具数量
|
|||
|
ComboItemSpeed int `json:"comboItemSpeed"` //连击道具速度
|
|||
|
ComboDir bool `json:"comboDir"` //连击道具方向
|
|||
|
EntranceAnim bool `json:"entranceAnim"` //出场动画
|
|||
|
}
|
|||
|
|
|||
|
func (data *Scene) id() int {
|
|||
|
return data.Id
|
|||
|
}
|
|||
|
|
|||
|
type SceneTable struct {
|
|||
|
table[int, *Scene]
|
|||
|
}
|