//------------------------------------------------------------------------------ // // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ package cfg import "errors" type Game_extserversData struct { Name string Ips string } func (Game_extserversData) GetTypeId() int { return -245856747 } func NewGame_extserversData(_buf map[string]interface{}) (_v *Game_extserversData, err error) { _v = &Game_extserversData{} { var _ok_ bool; if _v.Name, _ok_ = _buf["name"].(string); !_ok_ { err = errors.New("name error"); return } } { var _ok_ bool; if _v.Ips, _ok_ = _buf["ips"].(string); !_ok_ { err = errors.New("ips error"); return } } return }