Example #1
0
func NewDirection_List(s *capnp.Segment, sz int32) (Direction_List, error) {
	l, err := capnp.NewUInt16List(s, sz)
	if err != nil {
		return Direction_List{}, err
	}
	return Direction_List{l.List}, nil
}
func NewSide_List(s *capnp.Segment, sz int32) (Side_List, error) {
	l, err := capnp.NewUInt16List(s, sz)
	return Side_List{l.List}, err
}
Example #3
0
func NewCellType_List(s *capnp.Segment, sz int32) (CellType_List, error) {
	l, err := capnp.NewUInt16List(s, sz)
	return CellType_List{l.List}, err
}
Example #4
0
func NewFaction_List(s *capnp.Segment, sz int32) (Faction_List, error) {
	l, err := capnp.NewUInt16List(s, sz)
	return Faction_List{l.List}, err
}