feat(Go-Tool):

2020/12/31:新增项目案例(角色技能树)
               2020/12/31: 修改diliver包结构
This commit is contained in:
Huangzj
2020-12-31 14:25:25 +08:00
parent 84b5787dd8
commit f3c056f84e
23 changed files with 738 additions and 9 deletions
@@ -0,0 +1,22 @@
/*
* @Author : huangzj
* @Time : 2020/12/29 15:46
* @Description
*/
package SkillTopology
import "Go-Tool/ProgressTest/SkillTopology/model"
var SkillTopologyMap map[int]*model.Topology
func GetSkillTopologyMapById(counsellorId int) *model.Topology {
return SkillTopologyMap[counsellorId]
}
func init() {
SkillTopologyMap = make(map[int]*model.Topology, 0)
SkillTopologyMap[model.CounsellorId] = SimulationParamGetTopology(NewSkilledWorker())
//....下面是不同大臣的初始化技能树链
}