GCG技能初步 但有很多问题

This commit is contained in:
UnKownOwO
2023-01-08 20:33:14 +08:00
parent dee9fea310
commit 99408a745f
10 changed files with 1031 additions and 180 deletions
+2
View File
@@ -22,6 +22,7 @@ type GameDataConfig struct {
AvatarSkillDepotDataMap map[int32]*AvatarSkillDepotData // 角色技能库
DropGroupDataMap map[int32]*DropGroupData // 掉落组
GCGCharDataMap map[int32]*GCGCharData // 角色卡牌
GCGSkillDataMap map[int32]*GCGSkillData // 卡牌技能
}
func InitGameDataConfig() {
@@ -64,6 +65,7 @@ func (g *GameDataConfig) load() {
g.loadAvatarSkillDepotData() // 角色技能库
g.loadDropGroupData() // 掉落组
g.loadGCGCharData() // 角色卡牌
g.loadGCGSkillData() // 卡牌技能
}
func (g *GameDataConfig) readCsvFileData(fileName string) []byte {