mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-03-01 00:35:36 +08:00
refactor
This commit is contained in:
@@ -2,9 +2,10 @@ package config
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"hk4e/logger"
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"hk4e/pkg/logger"
|
||||
)
|
||||
|
||||
type AvatarConfigAbility struct {
|
||||
|
||||
@@ -2,10 +2,11 @@ package config
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"hk4e/common/utils/endec"
|
||||
"hk4e/logger"
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"hk4e/pkg/endec"
|
||||
"hk4e/pkg/logger"
|
||||
)
|
||||
|
||||
type AvatarData struct {
|
||||
|
||||
@@ -2,9 +2,10 @@ package config
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"hk4e/gs/constant"
|
||||
"hk4e/logger"
|
||||
"os"
|
||||
|
||||
"hk4e/gs/constant"
|
||||
"hk4e/pkg/logger"
|
||||
)
|
||||
|
||||
type AvatarSkillData struct {
|
||||
|
||||
@@ -2,10 +2,11 @@ package config
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"hk4e/common/utils/endec"
|
||||
"hk4e/gs/constant"
|
||||
"hk4e/logger"
|
||||
"os"
|
||||
|
||||
"hk4e/gs/constant"
|
||||
"hk4e/pkg/endec"
|
||||
"hk4e/pkg/logger"
|
||||
)
|
||||
|
||||
type InherentProudSkillOpens struct {
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
"github.com/jszwec/csvutil"
|
||||
"hk4e/logger"
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"hk4e/pkg/logger"
|
||||
|
||||
"github.com/jszwec/csvutil"
|
||||
)
|
||||
|
||||
type Drop struct {
|
||||
|
||||
@@ -2,8 +2,9 @@ package config
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"hk4e/logger"
|
||||
"os"
|
||||
|
||||
"hk4e/pkg/logger"
|
||||
)
|
||||
|
||||
type FetterData struct {
|
||||
|
||||
@@ -2,9 +2,10 @@ package config
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"hk4e/gs/constant"
|
||||
"hk4e/logger"
|
||||
"os"
|
||||
|
||||
"hk4e/gs/constant"
|
||||
"hk4e/pkg/logger"
|
||||
)
|
||||
|
||||
type GadgetData struct {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
appConfig "hk4e/common/config"
|
||||
"hk4e/logger"
|
||||
"os"
|
||||
|
||||
appConfig "hk4e/common/config"
|
||||
"hk4e/pkg/logger"
|
||||
)
|
||||
|
||||
var CONF *GameDataConfig = nil
|
||||
|
||||
@@ -2,8 +2,9 @@ package config
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"hk4e/logger"
|
||||
"os"
|
||||
|
||||
"hk4e/pkg/logger"
|
||||
)
|
||||
|
||||
type GameDepot struct {
|
||||
|
||||
@@ -2,8 +2,9 @@ package config
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"hk4e/logger"
|
||||
"os"
|
||||
|
||||
"hk4e/pkg/logger"
|
||||
)
|
||||
|
||||
type GatherData struct {
|
||||
|
||||
@@ -2,9 +2,10 @@ package config
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"hk4e/gs/constant"
|
||||
"hk4e/logger"
|
||||
"os"
|
||||
|
||||
"hk4e/gs/constant"
|
||||
"hk4e/pkg/logger"
|
||||
)
|
||||
|
||||
type ItemUseData struct {
|
||||
|
||||
@@ -2,9 +2,10 @@ package config
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"hk4e/logger"
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"hk4e/pkg/logger"
|
||||
)
|
||||
|
||||
type SkillPointModifier struct {
|
||||
|
||||
@@ -2,10 +2,11 @@ package config
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"hk4e/logger"
|
||||
"os"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"hk4e/pkg/logger"
|
||||
)
|
||||
|
||||
type ScenePointEntry struct {
|
||||
|
||||
Reference in New Issue
Block a user