refactor(common): 重构 Conn 实体并优化地图进入逻辑
- 优化 Conn 实体的 SendPack 方法,提高代码复用性 - 添加 goja 模块到 go.work 文件 - 重构地图进入逻辑,增加玩家广播和刷怪功能 - 调整 OutInfo 结构中的 Vip 和 Viped 字段类型 - 简化 MonsterRefresh 结构体定义
This commit is contained in:
13
common/utils/goja/go.mod
Normal file
13
common/utils/goja/go.mod
Normal file
@@ -0,0 +1,13 @@
|
||||
module github.com/dop251/goja
|
||||
|
||||
go 1.20
|
||||
|
||||
require (
|
||||
github.com/dlclark/regexp2 v1.7.0
|
||||
github.com/dop251/goja_nodejs v0.0.0-20211022123610-8dd9abb0616d
|
||||
github.com/go-sourcemap/sourcemap v2.1.3+incompatible
|
||||
github.com/google/pprof v0.0.0-20230207041349-798e818bf904
|
||||
gopkg.in/yaml.v2 v2.4.0
|
||||
)
|
||||
|
||||
require github.com/kr/pretty v0.3.0 // indirect
|
||||
Reference in New Issue
Block a user