go_dreamfactory/sys/configure/structs/game.globalData.go
2022-06-29 11:23:39 +08:00

30 lines
1003 B
Go

//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
import "errors"
type Game_globalData struct {
Index string
Var string
Intr string
}
func (Game_globalData) GetTypeId() int {
return -518904471
}
func NewGame_globalData(_buf map[string]interface{}) (_v *Game_globalData, err error) {
_v = &Game_globalData{}
{ var _ok_ bool; if _v.Index, _ok_ = _buf["index"].(string); !_ok_ { err = errors.New("index error"); return } }
{ var _ok_ bool; if _v.Var, _ok_ = _buf["var"].(string); !_ok_ { err = errors.New("var error"); return } }
{ var _ok_ bool; if _v.Intr, _ok_ = _buf["intr"].(string); !_ok_ { err = errors.New("intr error"); return } }
return
}