go_dreamfactory/sys/configure/structs/game.msgDistribData.go
2022-08-12 18:53:51 +08:00

40 lines
1.3 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 GamemsgdistribData struct {
Msgid string
Routrules string
Describe string
}
const TypeId_GamemsgdistribData = 1868137034
func (*GamemsgdistribData) GetTypeId() int32 {
return 1868137034
}
func (_v *GamemsgdistribData)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; if _v.Msgid, _ok_ = _buf["msgid"].(string); !_ok_ { err = errors.New("msgid error"); return } }
{ var _ok_ bool; if _v.Routrules, _ok_ = _buf["routrules"].(string); !_ok_ { err = errors.New("routrules error"); return } }
{ var _ok_ bool; if _v.Describe, _ok_ = _buf["describe"].(string); !_ok_ { err = errors.New("describe error"); return } }
return
}
func DeserializeGamemsgdistribData(_buf map[string]interface{}) (*GamemsgdistribData, error) {
v := &GamemsgdistribData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}