func ReadRootAiConnector_connect_Results(msg *capnp.Message) (AiConnector_connect_Results, error) { root, err := msg.Root() if err != nil { return AiConnector_connect_Results{}, err } st := capnp.ToStruct(root) return AiConnector_connect_Results{st}, nil }
func ReadRootAdder_add_Results(msg *capnp.Message) (Adder_add_Results, error) { root, err := msg.Root() if err != nil { return Adder_add_Results{}, err } st := capnp.ToStruct(root) return Adder_add_Results{st}, nil }
func ReadRootTurn(msg *capnp.Message) (Turn, error) { root, err := msg.Root() if err != nil { return Turn{}, err } st := capnp.ToStruct(root) return Turn{st}, nil }
func ReadRootCallOrder_getCallSequence_Results(msg *capnp.Message) (CallOrder_getCallSequence_Results, error) { root, err := msg.Root() if err != nil { return CallOrder_getCallSequence_Results{}, err } st := capnp.ToStruct(root) return CallOrder_getCallSequence_Results{st}, nil }
func ReadRootEchoer_echo_Results(msg *capnp.Message) (Echoer_echo_Results, error) { root, err := msg.Root() if err != nil { return Echoer_echo_Results{}, err } st := capnp.ToStruct(root) return Echoer_echo_Results{st}, nil }
func ReadRootHandleFactory_newHandle_Params(msg *capnp.Message) (HandleFactory_newHandle_Params, error) { root, err := msg.Root() if err != nil { return HandleFactory_newHandle_Params{}, err } st := capnp.ToStruct(root) return HandleFactory_newHandle_Params{st}, nil }
func ReadRootHanger_hang_Results(msg *capnp.Message) (Hanger_hang_Results, error) { root, err := msg.Root() if err != nil { return Hanger_hang_Results{}, err } st := capnp.ToStruct(root) return Hanger_hang_Results{st}, nil }
func ReadRootHashFactory_newSha1_Results(msg *capnp.Message) (HashFactory_newSha1_Results, error) { root, err := msg.Root() if err != nil { return HashFactory_newSha1_Results{}, err } st := capnp.ToStruct(root) return HashFactory_newSha1_Results{st}, nil }
func ReadRootCapnp2A(msg *capnp.Message) (Capnp2A, error) { root, err := msg.Root() if err != nil { return Capnp2A{}, err } st := capnp.ToStruct(root) return Capnp2A{st}, nil }
func ReadRootConnectRequest(msg *capnp.Message) (ConnectRequest, error) { root, err := msg.Root() if err != nil { return ConnectRequest{}, err } st := capnp.ToStruct(root) return ConnectRequest{st}, nil }
func ReadRootBook(msg *capnp.Message) (Book, error) { root, err := msg.Root() if err != nil { return Book{}, err } st := capnp.ToStruct(root) return Book{st}, nil }
func ReadRootReplay_Round(msg *capnp.Message) (Replay_Round, error) { root, err := msg.Root() if err != nil { return Replay_Round{}, err } st := capnp.ToStruct(root) return Replay_Round{st}, nil }
func ReadRootRobot(msg *capnp.Message) (Robot, error) { root, err := msg.Root() if err != nil { return Robot{}, err } st := capnp.ToStruct(root) return Robot{st}, nil }
func ReadRootAi_takeTurn_Params(msg *capnp.Message) (Ai_takeTurn_Params, error) { root, err := msg.Root() if err != nil { return Ai_takeTurn_Params{}, err } st := capnp.ToStruct(root) return Ai_takeTurn_Params{st}, nil }
func ReadRootCredentials(msg *capnp.Message) (Credentials, error) { root, err := msg.Root() if err != nil { return Credentials{}, err } st := capnp.ToStruct(root) return Credentials{st}, nil }
func (s Replay_Round) EndBoard() (Board, error) { p, err := s.Struct.Pointer(1) if err != nil { return Board{}, err } ss := capnp.ToStruct(p) return Board{Struct: ss}, nil }
func (s Ai_takeTurn_Params) Board() (Board, error) { p, err := s.Struct.Pointer(0) if err != nil { return Board{}, err } ss := capnp.ToStruct(p) return Board{Struct: ss}, nil }
func (s ConnectRequest) Credentials() (Credentials, error) { p, err := s.Struct.Pointer(0) if err != nil { return Credentials{}, err } ss := capnp.ToStruct(p) return Credentials{Struct: ss}, nil }