``` feat(pet): 重构宠物繁殖系统,添加蛋孵化功能

This commit is contained in:
1
2026-01-20 22:08:36 +00:00
parent cf4660fbe0
commit 5ef922278a
68 changed files with 4467 additions and 584 deletions

View File

@@ -0,0 +1,17 @@
// Copyright 2020-2024 guonaihong, antlabs. All rights reserved.
//
// mit license
package timer
import (
"fmt"
"testing"
"unsafe"
)
func Test_Look(t *testing.T) {
tmp := newTimeHead(0, 0)
offset := unsafe.Offsetof(tmp.Head)
fmt.Printf("%d\n", offset)
}