InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).Type).serialize(w)
}); err != nil {
if err == io.EOF {
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).Name))) > math.MaxUint16 {
chk(ErrTooLong)
}
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).Name))))
write16(w, uint16(x))
}
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).Name))[:])
chk(err)
}
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).Desc))) > math.MaxUint16 {
chk(ErrTooLong)
}
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).Desc))))
write16(w, uint16(x))
}
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).Desc))[:])
chk(err)
}
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).InvImg).serialize(w)
}); err != nil {
if err == io.EOF {
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).WieldImg).serialize(w)
}); err != nil {
if err == io.EOF {
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).WieldScale {
{
x := ((*(*(struct {
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).WieldScale)[local298]
write32(w, math.Float32bits(x))
}
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).StackMax
write16(w, uint16(x))
}
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).Usable
if x {
write8(w, 1)
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).CanPointLiquids
if x {
write8(w, 1)
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).ToolCaps).serialize(w)
}); err != nil {
if err == io.EOF {
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).Groups)) > math.MaxUint16 {
chk(ErrTooLong)
}
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).Groups)))
write16(w, uint16(x))
}
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).Groups {
if err := pcall(func() {
(((*(*(struct {
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).Groups)[local299]).serialize(w)
}); err != nil {
if err == io.EOF {
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).PlacePredict))) > math.MaxUint16 {
chk(ErrTooLong)
}
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).PlacePredict))))
write16(w, uint16(x))
}
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).PlacePredict))[:])
chk(err)
}
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).PlaceSnd).serialize(w)
}); err != nil {
if err == io.EOF {
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).PlaceFailSnd).serialize(w)
}); err != nil {
if err == io.EOF {
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).PointRange
write32(w, math.Float32bits(x))
}
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).Palette).serialize(w)
}); err != nil {
if err == io.EOF {
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).Color
w.Write([]byte{x.A, x.R, x.G, x.B})
}
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).InvOverlay).serialize(w)
}); err != nil {
if err == io.EOF {
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).WieldOverlay).serialize(w)
}); err != nil {
if err == io.EOF {
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).ShortDesc))) > math.MaxUint16 {
chk(ErrTooLong)
}
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).ShortDesc))))
write16(w, uint16(x))
}
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).ShortDesc))[:])
chk(err)
}
+ {
+ x := (*(*(struct {
+ Type ItemType
+
+ Name, Desc string
+
+ InvImg, WieldImg Texture
+ WieldScale [3]float32
+
+ StackMax uint16
+
+ Usable bool
+ CanPointLiquids bool
+
+ ToolCaps ToolCaps
+
+ Groups []Group
+
+ PlacePredict string
+
+ PlaceSnd, PlaceFailSnd SoundDef
+
+ PointRange float32
+
+ // Set index in Palette with "palette_index" item meta field,
+ // this overrides Color.
+ Palette Texture
+ Color color.NRGBA
+
+ // Texture overlays.
+ InvOverlay, WieldOverlay Texture
+
+ ShortDesc string
+
+ PlaceParam2 uint8
+ }))(obj)).PlaceParam2
+ write8(w, uint8(x))
+ }
{
buf := w
w := ow
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).Type).deserialize(r)
}); err != nil {
if err == io.EOF {
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).Name) = string(local302)
var local304 []uint8
var local305 uint16
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).Desc) = string(local304)
if err := pcall(func() {
((*(*(struct {
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).InvImg).deserialize(r)
}); err != nil {
if err == io.EOF {
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).WieldImg).deserialize(r)
}); err != nil {
if err == io.EOF {
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).WieldScale {
{
p := &((*(*(struct {
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).WieldScale)[local306]
*p = math.Float32frombits(read32(r))
}
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).StackMax
*p = read16(r)
}
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).Usable
switch n := read8(r); n {
case 0:
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).CanPointLiquids
switch n := read8(r); n {
case 0:
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).ToolCaps).deserialize(r)
}); err != nil {
if err == io.EOF {
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).Groups) = make([]Group, local307)
for local308 := range (*(*(struct {
Type ItemType
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).Groups {
if err := pcall(func() {
(((*(*(struct {
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).Groups)[local308]).deserialize(r)
}); err != nil {
if err == io.EOF {
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).PlacePredict) = string(local309)
if err := pcall(func() {
((*(*(struct {
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).PlaceSnd).deserialize(r)
}); err != nil {
if err == io.EOF {
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).PlaceFailSnd).deserialize(r)
}); err != nil {
if err == io.EOF {
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).PointRange
*p = math.Float32frombits(read32(r))
}
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).Palette).deserialize(r)
}); err != nil {
if err == io.EOF {
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).Color
*p = color.NRGBA{A: read8(r), R: read8(r), G: read8(r), B: read8(r)}
}
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).InvOverlay).deserialize(r)
}); err != nil {
if err == io.EOF {
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).WieldOverlay).deserialize(r)
}); err != nil {
if err == io.EOF {
InvOverlay, WieldOverlay Texture
ShortDesc string
+
+ PlaceParam2 uint8
}))(obj)).ShortDesc) = string(local311)
+ {
+ p := &(*(*(struct {
+ Type ItemType
+
+ Name, Desc string
+
+ InvImg, WieldImg Texture
+ WieldScale [3]float32
+
+ StackMax uint16
+
+ Usable bool
+ CanPointLiquids bool
+
+ ToolCaps ToolCaps
+
+ Groups []Group
+
+ PlacePredict string
+
+ PlaceSnd, PlaceFailSnd SoundDef
+
+ PointRange float32
+
+ // Set index in Palette with "palette_index" item meta field,
+ // this overrides Color.
+ Palette Texture
+ Color color.NRGBA
+
+ // Texture overlays.
+ InvOverlay, WieldOverlay Texture
+
+ ShortDesc string
+
+ PlaceParam2 uint8
+ }))(obj)).PlaceParam2
+ *p = read8(r)
+ }
if r.N > 0 {
chk(fmt.Errorf("%d bytes of trailing data", r.N))
}