refactor(common): 重构 Conn 实体并优化地图进入逻辑
- 优化 Conn 实体的 SendPack 方法,提高代码复用性 - 添加 goja 模块到 go.work 文件 - 重构地图进入逻辑,增加玩家广播和刷怪功能 - 调整 OutInfo 结构中的 Vip 和 Viped 字段类型 - 简化 MonsterRefresh 结构体定义
This commit is contained in:
11
common/utils/goja/.tc39_test262_checkout.sh
Normal file
11
common/utils/goja/.tc39_test262_checkout.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
# this is just the commit it was last tested with
|
||||
sha=926b0960d737b9f1dfd0ec0c1dfd95d836016d33
|
||||
|
||||
mkdir -p testdata/test262
|
||||
cd testdata/test262
|
||||
git init
|
||||
git remote add origin https://github.com/tc39/test262.git
|
||||
git fetch origin --depth=1 "${sha}"
|
||||
git reset --hard "${sha}"
|
||||
cd -
|
||||
Reference in New Issue
Block a user