Exemplo n.º 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
}
Exemplo n.º 2
0
func NewSide_List(s *capnp.Segment, sz int32) (Side_List, error) {
	l, err := capnp.NewUInt16List(s, sz)
	return Side_List{l.List}, err
}
Exemplo n.º 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
}
Exemplo n.º 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
}