This commit is contained in:
aozhiwei 2024-11-06 11:22:40 +08:00
parent d0fa752a37
commit 84a52b0729

View File

@ -12,3 +12,8 @@ type Global struct {
type GlobalTable struct {
f5.IdMetaTable[Global]
}
func (this *GlobalTable) GetDice() int32 {
meta := this.GetById(1)
return meta.GetNumber()
}