chore: checkpoint stable battle and eidolon progression

This commit is contained in:
CAtlas0784 committed 2026-10-17 16:38:03 +07:00
1 parent 365e66ffe0
commit a681affdb3
23 files changed
+34511 -11310

No files matched your search

+3 -3
View File
@@ -3,7 +3,7 @@ package gameserver
import (
"encoding/json"
"fmt"
"os"
"gac-hkrpg-go/internal/common"
"sync"
goproto "gac-hkrpg-go/protocol/proto"
@@ -31,7 +31,7 @@ var profileError error
func loadProfileResources() (*profileResources, error) {
profileOnce.Do(func() {
raw, err := os.ReadFile("resources/ProfileConfig.json")
raw, err := common.ReadResourceFile("resources/ProfileConfig.json", "ProfileConfig.json")
if err != nil {
profileError = err
return
@@ -48,7 +48,7 @@ func loadProfileResources() (*profileResources, error) {
profileError = fmt.Errorf("selected phone case is not owned")
return
}
raw, err = os.ReadFile("resources/AvatarPlayerIcon.json")
raw, err = common.ReadResourceFile("resources/AvatarPlayerIcon.json", "AvatarPlayerIcon.json")
if err != nil {
profileError = err
return