30 lines
1.0 KiB
Go
30 lines
1.0 KiB
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_msgDistribData struct {
|
|
Mtype string
|
|
Stype string
|
|
Routrules string
|
|
}
|
|
|
|
func (Game_msgDistribData) GetTypeId() int {
|
|
return -758961622
|
|
}
|
|
|
|
func NewGame_msgDistribData(_buf map[string]interface{}) (_v *Game_msgDistribData, err error) {
|
|
_v = &Game_msgDistribData{}
|
|
{ var _ok_ bool; if _v.Mtype, _ok_ = _buf["mtype"].(string); !_ok_ { err = errors.New("mtype error"); return } }
|
|
{ var _ok_ bool; if _v.Stype, _ok_ = _buf["stype"].(string); !_ok_ { err = errors.New("stype error"); return } }
|
|
{ var _ok_ bool; if _v.Routrules, _ok_ = _buf["routrules"].(string); !_ok_ { err = errors.New("routrules error"); return } }
|
|
return
|
|
}
|