// automatically generated by stateify.

package boot

import (
	"gvisor.dev/gvisor/pkg/state"
)

func (x *sandboxNetstackCreator) StateTypeName() string {
	return "runsc/boot.sandboxNetstackCreator"
}

func (x *sandboxNetstackCreator) StateFields() []string {
	return []string{
		"clock",
		"uniqueID",
	}
}

func (x *sandboxNetstackCreator) beforeSave() {}

func (x *sandboxNetstackCreator) StateSave(m state.Sink) {
	x.beforeSave()
	m.Save(0, &x.clock)
	m.Save(1, &x.uniqueID)
}

func (x *sandboxNetstackCreator) afterLoad() {}

func (x *sandboxNetstackCreator) StateLoad(m state.Source) {
	m.Load(0, &x.clock)
	m.Load(1, &x.uniqueID)
}

func init() {
	state.Register((*sandboxNetstackCreator)(nil))
}