mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-26 19:34:47 +00:00
33 lines
1015 B
Go
33 lines
1015 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 L10nPatchDemo struct {
|
|
Id int32
|
|
Value int32
|
|
}
|
|
|
|
const TypeId_L10nPatchDemo = -1707294656
|
|
|
|
func (*L10nPatchDemo) GetTypeId() int32 {
|
|
return -1707294656
|
|
}
|
|
|
|
func NewL10nPatchDemo(_buf map[string]interface{}) (_v *L10nPatchDemo, err error) {
|
|
_v = &L10nPatchDemo{}
|
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["id"].(float64); !_ok_ { err = errors.New("id error"); return }; _v.Id = int32(_tempNum_) }
|
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["value"].(float64); !_ok_ { err = errors.New("value error"); return }; _v.Value = int32(_tempNum_) }
|
|
return
|
|
}
|
|
|