迁移配置表

This commit is contained in:
flswld
2023-01-18 15:38:50 +08:00
parent 62ae866b1e
commit a00bee14d0
882 changed files with 1639 additions and 324485 deletions

View File

@@ -3,6 +3,7 @@ package game
import (
"encoding/json"
"reflect"
"runtime"
"time"
appConfig "hk4e/common/config"
@@ -184,6 +185,7 @@ func (g *GameManager) gameMainLoop() {
tickCost := int64(0)
localEventCost := int64(0)
commandCost := int64(0)
runtime.LockOSThread()
for {
// 消耗CPU时间性能统计
now := time.Now().UnixNano()