移出捏脸
This commit is contained in:
parent
899b9d7003
commit
73b734a6ee
@ -14,9 +14,9 @@ import (
|
||||
const (
|
||||
//game_gamecolor = "game_gamecolor.json" //颜色表
|
||||
game_playerlv = "game_playerlv.json" //玩家等级
|
||||
game_facemod = "game_facemod.json" //形象配置表
|
||||
game_drop = "game_drop.json" //掉落
|
||||
new_hero = "game_hero.json"
|
||||
//game_facemod = "game_facemod.json" //形象配置表
|
||||
game_drop = "game_drop.json" //掉落
|
||||
new_hero = "game_hero.json"
|
||||
// 签到
|
||||
game_signreset = "game_signreset.json"
|
||||
game_sign = "game_sign.json"
|
||||
@ -42,7 +42,7 @@ func (this *MCompConfigure) Init(service core.IService, module core.IModule, com
|
||||
//err = this.LoadConfigure(game_gamecolor, cfg.NewGameGameColor)
|
||||
err = this.LoadConfigure(new_hero, cfg.NewGameHero)
|
||||
err = this.LoadConfigure(game_playerlv, cfg.NewGamePlayerlv)
|
||||
err = this.LoadConfigure(game_facemod, cfg.NewGameFacemod)
|
||||
//err = this.LoadConfigure(game_facemod, cfg.NewGameFacemod)
|
||||
err = this.LoadConfigure(game_signreset, cfg.NewGameSignReset)
|
||||
err = this.LoadConfigure(game_equip, cfg.NewGameEquip)
|
||||
//err = this.LoadConfigure(game_sign, cfg.NewGameSign)
|
||||
@ -138,23 +138,6 @@ func (this *MCompConfigure) GetPlayerlvConf(lv int32) (data *cfg.GamePlayerlvDat
|
||||
return
|
||||
}
|
||||
|
||||
// 玩家形象预设配置
|
||||
func (this *MCompConfigure) GetPlayerFigureConf() (list []*cfg.GameFacemodData) {
|
||||
if v, err := this.GetConfigure(game_facemod); err != nil {
|
||||
return
|
||||
} else {
|
||||
if configure, ok := v.(*cfg.GameFacemod); !ok {
|
||||
err = fmt.Errorf("%T no is *cfg.Game_playerlv", v)
|
||||
return
|
||||
} else {
|
||||
if configure != nil {
|
||||
list = configure.GetDataList()
|
||||
}
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func (this *MCompConfigure) GetDropData(dropId int32) (data []*cfg.GameDropData) {
|
||||
data = this._dropMap[dropId]
|
||||
return
|
||||
|
@ -16,7 +16,6 @@ const (
|
||||
game_initial = "game_initial.json" //初始化表
|
||||
//game_gamecolor = "game_gamecolor.json" //颜色表
|
||||
game_playerlv = "game_playerlv.json" //玩家等级
|
||||
game_facemod = "game_facemod.json" //形象配置表
|
||||
game_drop = "game_drop.json" //掉落
|
||||
new_hero = "game_hero.json"
|
||||
// 签到
|
||||
@ -64,7 +63,7 @@ func (this *MCompConfigure) Init(service core.IService, module core.IModule, com
|
||||
//err = this.LoadConfigure(game_gamecolor, cfg.NewGameGameColor)
|
||||
err = this.LoadConfigure(new_hero, cfg.NewGameHero)
|
||||
err = this.LoadConfigure(game_playerlv, cfg.NewGamePlayerlv)
|
||||
err = this.LoadConfigure(game_facemod, cfg.NewGameFacemod)
|
||||
|
||||
err = this.LoadConfigure(game_signreset, cfg.NewGameSignReset)
|
||||
err = this.LoadConfigure(game_equip, cfg.NewGameEquip)
|
||||
//err = this.LoadConfigure(game_sign, cfg.NewGameSign)
|
||||
@ -392,23 +391,6 @@ func (this *MCompConfigure) GetPlayerlvConf(lv int32) (data *cfg.GamePlayerlvDat
|
||||
return
|
||||
}
|
||||
|
||||
// 玩家形象预设配置
|
||||
func (this *MCompConfigure) GetPlayerFigureConf() (list []*cfg.GameFacemodData) {
|
||||
if v, err := this.GetConfigure(game_facemod); err != nil {
|
||||
return
|
||||
} else {
|
||||
if configure, ok := v.(*cfg.GameFacemod); !ok {
|
||||
err = fmt.Errorf("%T no is *cfg.Game_playerlv", v)
|
||||
return
|
||||
} else {
|
||||
if configure != nil {
|
||||
list = configure.GetDataList()
|
||||
}
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func (this *MCompConfigure) GetDropData(dropId int32) (data []*cfg.GameDropData) {
|
||||
data = this._dropMap[dropId]
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user