From e20c68eab1fb54374cb5a4b719050b6e8d1bcfaa Mon Sep 17 00:00:00 2001 From: naderzare Date: Fri, 6 Sep 2024 16:30:39 -0300 Subject: [PATCH 01/21] update grpc --- idl/grpc/service.proto | 56 ++++++++++++++++++++++++++++++++ idl/thrift/soccer_service.thrift | 2 ++ 2 files changed, 58 insertions(+) diff --git a/idl/grpc/service.proto b/idl/grpc/service.proto index 98608ab..b9acd89 100644 --- a/idl/grpc/service.proto +++ b/idl/grpc/service.proto @@ -1,3 +1,5 @@ +// version 0 + syntax = "proto3"; package protos; @@ -758,6 +760,7 @@ message HeliosChainAction { bool simple_pass = 7; bool simple_dribble = 8; bool simple_shoot = 9; + bool server_side_decision = 10; } message HeliosBasicOffensive {} @@ -836,6 +839,7 @@ message PlayerAction { HeliosSetPlay helios_set_play = 62; HeliosPenalty helios_penalty = 63; HeliosCommunicaion helios_communication = 64; + } } @@ -1202,6 +1206,57 @@ message PlayerType { float player_speed_max = 34; } +enum RpcActionCategory { + AC_Hold = 0; + AC_Dribble = 1; + AC_Pass = 2; + AC_Shoot = 3; + AC_Clear = 4; + AC_Move = 5; + AC_NoAction = 6; +} +message RpcCooperativeAction { + RpcActionCategory category = 1; + int32 index = 2; + int32 sender_unum = 3; + int32 target_unum = 4; + RpcVector2D target_point = 5; + double first_ball_speed = 6; + double first_turn_moment = 7; + double first_dash_power = 8; + double first_dash_angle_relative = 9; + int32 duration_step = 10; + int32 kick_count = 11; + int32 turn_count = 12; + int32 dash_count = 13; + bool final_action = 14; + string description = 15; + int32 parent_index = 16; +} + +message RpcPredictState { + int32 spend_time = 1; + int32 ball_holder_unum = 2; + RpcVector2D ball_position = 3; + RpcVector2D ball_velocity = 4; + double our_defense_line_x = 5; + double our_offense_line_x = 6; +} + +message RpcActionStatePair { + RpcCooperativeAction action = 1; + RpcPredictState predict_state = 2; + double evaluation = 3; +} + +message RpcActionStatePairs { + map pairs = 1; +} + +message BestActionStatePair { + int32 index = 1; +} + message Empty { } @@ -1215,4 +1270,5 @@ service Game { rpc SendPlayerType(PlayerType) returns (Empty) {} //should be PlayerTypes rpc Register(RegisterRequest) returns (RegisterResponse) {} rpc SendByeCommand(RegisterResponse) returns (Empty) {} + rpc GetBestActionStatePair(RpcActionStatePairs) returns (BestActionStatePair) {} } \ No newline at end of file diff --git a/idl/thrift/soccer_service.thrift b/idl/thrift/soccer_service.thrift index 40cbe9d..ae4fecd 100644 --- a/idl/thrift/soccer_service.thrift +++ b/idl/thrift/soccer_service.thrift @@ -1,3 +1,5 @@ +// version 0 + namespace cpp soccer namespace py soccer From 2e1c9b3bd932c498d36ed6ea4ba053b5d89b5e65 Mon Sep 17 00:00:00 2001 From: naderzare Date: Fri, 6 Sep 2024 17:40:14 -0300 Subject: [PATCH 02/21] add copy constructor to coop action --- src/player/planner/cooperative_action.h | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/src/player/planner/cooperative_action.h b/src/player/planner/cooperative_action.h index 293adde..74c1d88 100644 --- a/src/player/planner/cooperative_action.h +++ b/src/player/planner/cooperative_action.h @@ -90,10 +90,27 @@ class CooperativeAction { // not used CooperativeAction(); - CooperativeAction( const CooperativeAction & ); + CooperativeAction & operator=( const CooperativeAction & ); -protected: - +public: + CooperativeAction( const CooperativeAction & other){ + M_category = other.M_category; + M_index = other.M_index; + M_player_unum = other.M_player_unum; + M_target_player_unum = other.M_target_player_unum; + M_target_point = other.M_target_point; + M_first_ball_speed = other.M_first_ball_speed; + M_first_turn_moment = other.M_first_turn_moment; + M_first_dash_power = other.M_first_dash_power; + M_first_dash_angle = other.M_first_dash_angle; + M_duration_step = other.M_duration_step; + M_kick_count = other.M_kick_count; + M_turn_count = other.M_turn_count; + M_dash_count = other.M_dash_count; + M_final_action = other.M_final_action; + M_description = other.M_description; + } + /*! \brief construct with necessary variables \param category action category type From 12f07fa1ce2d0296c8d0fa0df8ba25a7e9140a17 Mon Sep 17 00:00:00 2001 From: naderzare Date: Fri, 6 Sep 2024 17:40:42 -0300 Subject: [PATCH 03/21] update action chain graph --- src/player/planner/action_chain_graph.cpp | 23 ++++++++++++++++++++++- src/player/planner/action_chain_graph.h | 7 +++++++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/src/player/planner/action_chain_graph.cpp b/src/player/planner/action_chain_graph.cpp index 988db1f..6e969f4 100644 --- a/src/player/planner/action_chain_graph.cpp +++ b/src/player/planner/action_chain_graph.cpp @@ -30,6 +30,8 @@ #include "hold_ball.h" +#include "cooperative_action.h" + #include #include #include @@ -399,6 +401,7 @@ ActionChainGraph::calculateResultBestFirstSearch( const WorldModel & wm, // // initialize // + M_all_results.clear(); M_result.clear(); M_best_evaluation = -std::numeric_limits< double >::max(); *(n_evaluated) = 0; @@ -434,6 +437,14 @@ ActionChainGraph::calculateResultBestFirstSearch( const WorldModel & wm, queue.push( std::pair< std::vector< ActionStatePair >, double > ( empty_path, current_evaluation ) ); + auto hold_action = std::shared_ptr(new HoldBall(wm.self().unum(), wm.ball().pos(), 1, "Hold")); + hold_action->setFinalAction(true); + hold_action->setTargetPlayerUnum(wm.self().unum()); + hold_action->setTargetPoint(wm.ball().pos()); + hold_action->setKickCount(1); + auto hold_state = std::shared_ptr(new PredictState(current_state, 1)); + auto hold_action_state_pair = std::shared_ptr(new ActionStatePair(hold_action, hold_state)); + M_all_results[-1] = std::make_pair(hold_action_state_pair, std::make_pair(-2, current_evaluation)); // // main loop @@ -488,7 +499,7 @@ ActionChainGraph::calculateResultBestFirstSearch( const WorldModel & wm, // // evaluate each candidate and push to priority queue // - for ( std::vector< ActionStatePair >::const_iterator it = candidates.begin(); + for ( std::vector< ActionStatePair >::iterator it = candidates.begin(); it != candidates.end(); ++ it ) { @@ -497,6 +508,16 @@ ActionChainGraph::calculateResultBestFirstSearch( const WorldModel & wm, candidate_series.push_back( *it ); double ev = (*M_evaluator)( (*it).state(), candidate_series ); + int parent_index = -1; + if (!series.empty()) + { + parent_index = series.rbegin()->action().index(); + } + auto copy_action = std::make_shared(it->action()); + auto copy_state = std::make_shared(it->state()); + auto new_action_state_pair = std::shared_ptr(new ActionStatePair(copy_action, copy_state)); + M_all_results[it->action().index()] = std::make_pair(new_action_state_pair, std::make_pair(parent_index, ev)); + ++(*n_evaluated); #ifdef ACTION_CHAIN_DEBUG write_chain_log( wm, M_chain_count, candidate_series, ev ); diff --git a/src/player/planner/action_chain_graph.h b/src/player/planner/action_chain_graph.h index ef0f62d..c7f7b6e 100644 --- a/src/player/planner/action_chain_graph.h +++ b/src/player/planner/action_chain_graph.h @@ -55,6 +55,7 @@ class ActionChainGraph { typedef std::shared_ptr< ActionChainGraph > Ptr; //!< pointer type alias typedef std::shared_ptr< const ActionChainGraph > ConstPtr; //!< const pointer type alias + typedef std::pair, std::pair> ResultPair; public: static const size_t DEFAULT_MAX_CHAIN_LENGTH; @@ -73,6 +74,7 @@ class ActionChainGraph { static std::vector< std::pair< rcsc::Vector2D, double > > S_evaluated_points; private: + std::map M_all_results; std::vector< ActionStatePair > M_result; double M_best_evaluation; @@ -132,6 +134,11 @@ class ActionChainGraph { return (*(M_result.rbegin())).state(); }; + const std::map &getAllResults() const + { + return M_all_results; + }; + public: static void debug_send_chain( rcsc::PlayerAgent * agent, From 3204aa0604dd7f514e760ffdf0ac8fc4c9976615 Mon Sep 17 00:00:00 2001 From: naderzare Date: Fri, 6 Sep 2024 18:00:06 -0300 Subject: [PATCH 04/21] update proto --- idl/grpc/service.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idl/grpc/service.proto b/idl/grpc/service.proto index b9acd89..8fd8697 100644 --- a/idl/grpc/service.proto +++ b/idl/grpc/service.proto @@ -1270,5 +1270,5 @@ service Game { rpc SendPlayerType(PlayerType) returns (Empty) {} //should be PlayerTypes rpc Register(RegisterRequest) returns (RegisterResponse) {} rpc SendByeCommand(RegisterResponse) returns (Empty) {} - rpc GetBestActionStatePair(RpcActionStatePairs) returns (BestActionStatePair) {} + rpc GetBestPlannerAction(RpcActionStatePairs) returns (BestActionStatePair) {} } \ No newline at end of file From 3774287a5b8a06e743e0449f8266263350db8e11 Mon Sep 17 00:00:00 2001 From: naderzare Date: Fri, 6 Sep 2024 18:00:42 -0300 Subject: [PATCH 05/21] add GetBestPlannerAction --- src/grpc-client/grpc_client_player.cpp | 131 ++++++++++++++++++++++++- src/grpc-client/grpc_client_player.h | 1 + 2 files changed, 127 insertions(+), 5 deletions(-) diff --git a/src/grpc-client/grpc_client_player.cpp b/src/grpc-client/grpc_client_player.cpp index 37439cb..21aec13 100644 --- a/src/grpc-client/grpc_client_player.cpp +++ b/src/grpc-client/grpc_client_player.cpp @@ -629,14 +629,25 @@ void GrpcClientPlayer::getActions() ActionChainHolder::instance().setFieldEvaluator(field_evaluator); ActionChainHolder::instance().setActionGenerator(action_generator); ActionChainHolder::instance().update(agent->world()); - if (Bhv_PlannedAction().execute(agent)) + + if (action.helios_chain_action().server_side_decision()) { - agent->debugClient().addMessage("PlannedAction"); - break; + std::cout << "server side decision" << std::endl; + GetBestPlannerAction(); + std::cout << " end server side decision" << std::endl; } + else + { + if (Bhv_PlannedAction().execute(agent)) + { + agent->debugClient().addMessage("PlannedAction"); + break; + } - Body_HoldBall().execute(agent); - agent->setNeckAction(new Neck_ScanField()); + Body_HoldBall().execute(agent); + agent->setNeckAction(new Neck_ScanField()); + } + break; } @@ -650,6 +661,116 @@ void GrpcClientPlayer::getActions() } } +void GrpcClientPlayer::GetBestPlannerAction() +{ + protos::RpcActionStatePairs *action_state_pairs = new protos::RpcActionStatePairs(); + std::cout << "GetBestActionStatePair:" << "c" << M_agent->world().time().cycle() << std::endl; + std::cout << "results size:" << ActionChainHolder::instance().graph().getAllResults().size() << std::endl; + for (auto &action_state_eval : ActionChainHolder::instance().graph().getAllResults()) + { + try + { + int index = action_state_eval.first; + auto map = action_state_pairs->mutable_pairs(); + auto rpc_action_state_pair = protos::RpcActionStatePair(); + auto rpc_cooperative_action = protos::RpcCooperativeAction(); + auto rpc_predict_state = protos::RpcPredictState(); + auto category = protos::RpcActionCategory::AC_Hold; + auto action = action_state_eval.second.first->actionPtr(); + auto state = action_state_eval.second.first->statePtr(); + auto eval = action_state_eval.second.second; + auto parent_index = action_state_eval.second.first; + // switch (action->category()) + // { + // case CooperativeAction::Hold: + // category = protos::RpcActionCategory::AC_Hold; + // break; + // case CooperativeAction::Dribble: + // category = protos::RpcActionCategory::AC_Dribble; + // break; + // case CooperativeAction::Pass: + // category = protos::RpcActionCategory::AC_Pass; + // break; + // case CooperativeAction::Shoot: + // category = protos::RpcActionCategory::AC_Shoot; + // break; + // case CooperativeAction::Clear: + // category = protos::RpcActionCategory::AC_Clear; + // break; + // case CooperativeAction::Move: + // category = protos::RpcActionCategory::AC_Move; + // break; + // case CooperativeAction::NoAction: + // category = protos::RpcActionCategory::AC_NoAction; + // break; + // default: + // break; + // } + // rpc_cooperative_action.set_category(category); + // rpc_cooperative_action.set_index(action->index()); + // rpc_cooperative_action.set_sender_unum(action->playerUnum()); + // rpc_cooperative_action.set_target_unum(action->targetPlayerUnum()); + // rpc_cooperative_action.set_allocated_target_point(StateGenerator::convertVector2D(action->targetPoint())); + // rpc_cooperative_action.set_first_ball_speed(action->firstBallSpeed()); + // rpc_cooperative_action.set_first_turn_moment(action->firstTurnMoment()); + // rpc_cooperative_action.set_first_dash_power(action->firstDashPower()); + // rpc_cooperative_action.set_first_dash_angle_relative(action->firstDashAngle().degree()); + // rpc_cooperative_action.set_duration_step(action->durationStep()); + // rpc_cooperative_action.set_kick_count(action->kickCount()); + // rpc_cooperative_action.set_turn_count(action->turnCount()); + // rpc_cooperative_action.set_dash_count(action->dashCount()); + // rpc_cooperative_action.set_final_action(action->isFinalAction()); + // rpc_cooperative_action.set_description(action->description()); + // rpc_cooperative_action.set_parent_index(parent_index); + + // rpc_predict_state.set_spend_time(state->spendTime()); + // rpc_predict_state.set_ball_holder_unum(state->ballHolderUnum()); + // rpc_predict_state.set_allocated_ball_position(StateGenerator::convertVector2D(state->ball().pos())); + // rpc_predict_state.set_allocated_ball_velocity(StateGenerator::convertVector2D(state->ball().vel())); + // rpc_predict_state.set_our_defense_line_x(state->ourDefenseLineX()); + // rpc_predict_state.set_our_offense_line_x(state->ourOffensePlayerLineX()); + + // rpc_action_state_pair.set_allocated_action(&rpc_cooperative_action); + // rpc_action_state_pair.set_allocated_predict_state(&rpc_predict_state); + // rpc_action_state_pair.set_evaluation(eval); + + (*map)[action->index()] = rpc_action_state_pair; + } + catch (const std::exception &e) + { + std::cout << e.what() << '\n'; + } + } + + std::cout << "map size:" << action_state_pairs->pairs_size() << std::endl; + + protos::BestActionStatePair best_action; + ClientContext context; + Status status = M_stub_->GetBestPlannerAction(&context, *action_state_pairs, &best_action); + + if (!status.ok()) + { + std::cout << status.error_code() << ": " << status.error_message() + << std::endl; + return; + } + + auto agent = M_agent; + + std::cout << "best action index:" << best_action.index() << std::endl; + + if (Bhv_PlannedAction().execute(agent, best_action.index())) + { + std::cout << "PlannedAction" << std::endl; + agent->debugClient().addMessage("PlannedAction"); + return; + } + + std::cout << "Body_HoldBall" << std::endl; + Body_HoldBall().execute(agent); + agent->setNeckAction(new Neck_ScanField()); +} + void GrpcClientPlayer::addSayMessage(protos::Say sayMessage) const { auto agent = M_agent; diff --git a/src/grpc-client/grpc_client_player.h b/src/grpc-client/grpc_client_player.h index 0b95e19..6406737 100644 --- a/src/grpc-client/grpc_client_player.h +++ b/src/grpc-client/grpc_client_player.h @@ -15,6 +15,7 @@ class GrpcClientPlayer : public GrpcClient, public RpcPlayerClient { bool add_20_to_grpc_port_if_right_side=false) override; void getActions(); + void GetBestPlannerAction(); void addSayMessage(protos::Say sayMessage) const; State generateState() const; void addHomePosition(protos::WorldModel * world_model) const; From fd122e951b482b10e1345880fb201a3527c62c98 Mon Sep 17 00:00:00 2001 From: naderzare Date: Fri, 6 Sep 2024 21:18:00 -0300 Subject: [PATCH 06/21] update and is working --- idl/grpc/service.proto | 1 + src/grpc-client/grpc_client_player.cpp | 112 +++++++++++----------- src/player/planner/bhv_planned_action.cpp | 20 +++- src/player/planner/bhv_planned_action.h | 2 + 4 files changed, 79 insertions(+), 56 deletions(-) diff --git a/idl/grpc/service.proto b/idl/grpc/service.proto index 8fd8697..88701ec 100644 --- a/idl/grpc/service.proto +++ b/idl/grpc/service.proto @@ -1251,6 +1251,7 @@ message RpcActionStatePair { message RpcActionStatePairs { map pairs = 1; + State state = 2; } message BestActionStatePair { diff --git a/src/grpc-client/grpc_client_player.cpp b/src/grpc-client/grpc_client_player.cpp index 21aec13..ab1d5a0 100644 --- a/src/grpc-client/grpc_client_player.cpp +++ b/src/grpc-client/grpc_client_player.cpp @@ -664,6 +664,8 @@ void GrpcClientPlayer::getActions() void GrpcClientPlayer::GetBestPlannerAction() { protos::RpcActionStatePairs *action_state_pairs = new protos::RpcActionStatePairs(); + State state = generateState(); + action_state_pairs->set_allocated_state(&state); std::cout << "GetBestActionStatePair:" << "c" << M_agent->world().time().cycle() << std::endl; std::cout << "results size:" << ActionChainHolder::instance().graph().getAllResults().size() << std::endl; for (auto &action_state_eval : ActionChainHolder::instance().graph().getAllResults()) @@ -673,66 +675,66 @@ void GrpcClientPlayer::GetBestPlannerAction() int index = action_state_eval.first; auto map = action_state_pairs->mutable_pairs(); auto rpc_action_state_pair = protos::RpcActionStatePair(); - auto rpc_cooperative_action = protos::RpcCooperativeAction(); - auto rpc_predict_state = protos::RpcPredictState(); + auto rpc_cooperative_action = new protos::RpcCooperativeAction(); + auto rpc_predict_state = new protos::RpcPredictState(); auto category = protos::RpcActionCategory::AC_Hold; auto action = action_state_eval.second.first->actionPtr(); auto state = action_state_eval.second.first->statePtr(); - auto eval = action_state_eval.second.second; - auto parent_index = action_state_eval.second.first; - // switch (action->category()) - // { - // case CooperativeAction::Hold: - // category = protos::RpcActionCategory::AC_Hold; - // break; - // case CooperativeAction::Dribble: - // category = protos::RpcActionCategory::AC_Dribble; - // break; - // case CooperativeAction::Pass: - // category = protos::RpcActionCategory::AC_Pass; - // break; - // case CooperativeAction::Shoot: - // category = protos::RpcActionCategory::AC_Shoot; - // break; - // case CooperativeAction::Clear: - // category = protos::RpcActionCategory::AC_Clear; - // break; - // case CooperativeAction::Move: - // category = protos::RpcActionCategory::AC_Move; - // break; - // case CooperativeAction::NoAction: - // category = protos::RpcActionCategory::AC_NoAction; - // break; - // default: - // break; - // } - // rpc_cooperative_action.set_category(category); - // rpc_cooperative_action.set_index(action->index()); - // rpc_cooperative_action.set_sender_unum(action->playerUnum()); - // rpc_cooperative_action.set_target_unum(action->targetPlayerUnum()); - // rpc_cooperative_action.set_allocated_target_point(StateGenerator::convertVector2D(action->targetPoint())); - // rpc_cooperative_action.set_first_ball_speed(action->firstBallSpeed()); - // rpc_cooperative_action.set_first_turn_moment(action->firstTurnMoment()); - // rpc_cooperative_action.set_first_dash_power(action->firstDashPower()); - // rpc_cooperative_action.set_first_dash_angle_relative(action->firstDashAngle().degree()); - // rpc_cooperative_action.set_duration_step(action->durationStep()); - // rpc_cooperative_action.set_kick_count(action->kickCount()); - // rpc_cooperative_action.set_turn_count(action->turnCount()); - // rpc_cooperative_action.set_dash_count(action->dashCount()); - // rpc_cooperative_action.set_final_action(action->isFinalAction()); - // rpc_cooperative_action.set_description(action->description()); - // rpc_cooperative_action.set_parent_index(parent_index); + auto eval = action_state_eval.second.second.second; + auto parent_index = action_state_eval.second.second.first; + switch (action->category()) + { + case CooperativeAction::Hold: + category = protos::RpcActionCategory::AC_Hold; + break; + case CooperativeAction::Dribble: + category = protos::RpcActionCategory::AC_Dribble; + break; + case CooperativeAction::Pass: + category = protos::RpcActionCategory::AC_Pass; + break; + case CooperativeAction::Shoot: + category = protos::RpcActionCategory::AC_Shoot; + break; + case CooperativeAction::Clear: + category = protos::RpcActionCategory::AC_Clear; + break; + case CooperativeAction::Move: + category = protos::RpcActionCategory::AC_Move; + break; + case CooperativeAction::NoAction: + category = protos::RpcActionCategory::AC_NoAction; + break; + default: + break; + } + rpc_cooperative_action->set_category(category); + rpc_cooperative_action->set_index(action->index()); + rpc_cooperative_action->set_sender_unum(action->playerUnum()); + rpc_cooperative_action->set_target_unum(action->targetPlayerUnum()); + rpc_cooperative_action->set_allocated_target_point(StateGenerator::convertVector2D(action->targetPoint())); + rpc_cooperative_action->set_first_ball_speed(action->firstBallSpeed()); + rpc_cooperative_action->set_first_turn_moment(action->firstTurnMoment()); + rpc_cooperative_action->set_first_dash_power(action->firstDashPower()); + rpc_cooperative_action->set_first_dash_angle_relative(action->firstDashAngle().degree()); + rpc_cooperative_action->set_duration_step(action->durationStep()); + rpc_cooperative_action->set_kick_count(action->kickCount()); + rpc_cooperative_action->set_turn_count(action->turnCount()); + rpc_cooperative_action->set_dash_count(action->dashCount()); + rpc_cooperative_action->set_final_action(action->isFinalAction()); + rpc_cooperative_action->set_description(action->description()); + rpc_cooperative_action->set_parent_index(parent_index); - // rpc_predict_state.set_spend_time(state->spendTime()); - // rpc_predict_state.set_ball_holder_unum(state->ballHolderUnum()); - // rpc_predict_state.set_allocated_ball_position(StateGenerator::convertVector2D(state->ball().pos())); - // rpc_predict_state.set_allocated_ball_velocity(StateGenerator::convertVector2D(state->ball().vel())); - // rpc_predict_state.set_our_defense_line_x(state->ourDefenseLineX()); - // rpc_predict_state.set_our_offense_line_x(state->ourOffensePlayerLineX()); + rpc_predict_state->set_spend_time(state->spendTime()); + rpc_predict_state->set_ball_holder_unum(state->ballHolderUnum()); + rpc_predict_state->set_allocated_ball_position(StateGenerator::convertVector2D(state->ball().pos())); + rpc_predict_state->set_allocated_ball_velocity(StateGenerator::convertVector2D(state->ball().vel())); + rpc_predict_state->set_our_defense_line_x(state->ourDefenseLineX()); + rpc_predict_state->set_our_offense_line_x(state->ourOffensePlayerLineX()); - // rpc_action_state_pair.set_allocated_action(&rpc_cooperative_action); - // rpc_action_state_pair.set_allocated_predict_state(&rpc_predict_state); - // rpc_action_state_pair.set_evaluation(eval); + rpc_action_state_pair.set_allocated_action(rpc_cooperative_action); + rpc_action_state_pair.set_allocated_predict_state(rpc_predict_state); + rpc_action_state_pair.set_evaluation(eval); (*map)[action->index()] = rpc_action_state_pair; } diff --git a/src/player/planner/bhv_planned_action.cpp b/src/player/planner/bhv_planned_action.cpp index 1905126..bd864c6 100644 --- a/src/player/planner/bhv_planned_action.cpp +++ b/src/player/planner/bhv_planned_action.cpp @@ -202,6 +202,17 @@ Bhv_PlannedAction::Bhv_PlannedAction() */ bool Bhv_PlannedAction::execute( PlayerAgent * agent ) +{ + dlog.addText( Logger::TEAM, + __FILE__": Bhv_PlannedAction" ); + + const CooperativeAction & first_action = M_chain_graph.getFirstAction(); + + return execute( agent, first_action.index() ); +} + +bool +Bhv_PlannedAction::execute( PlayerAgent * agent, int index ) { dlog.addText( Logger::TEAM, __FILE__": Bhv_PlannedAction" ); @@ -214,7 +225,14 @@ Bhv_PlannedAction::execute( PlayerAgent * agent ) const ServerParam & SP = ServerParam::i(); const WorldModel & wm = agent->world(); - const CooperativeAction & first_action = M_chain_graph.getFirstAction(); + if ( M_chain_graph.getAllResults().find( index ) == M_chain_graph.getAllResults().end() ) + { + dlog.addText( Logger::TEAM, + __FILE__" (Bhv_PlannedAction) invalid index" ); + return false; + } + + const CooperativeAction & first_action = M_chain_graph.getAllResults().at( index ).first->action(); ActionChainGraph::debug_send_chain( agent, M_chain_graph.getAllChain() ); diff --git a/src/player/planner/bhv_planned_action.h b/src/player/planner/bhv_planned_action.h index 52dcdf6..2f945fb 100644 --- a/src/player/planner/bhv_planned_action.h +++ b/src/player/planner/bhv_planned_action.h @@ -51,6 +51,8 @@ class Bhv_PlannedAction bool execute( rcsc::PlayerAgent * agent ); + bool execute( rcsc::PlayerAgent * agent, int index ); + private: bool doTurnToForward( rcsc::PlayerAgent * agent ); From 35cffc11d4ce994b9f039bd197df9fba41d6bbed Mon Sep 17 00:00:00 2001 From: naderzare Date: Fri, 6 Sep 2024 23:10:28 -0300 Subject: [PATCH 07/21] update server side decision maker --- src/grpc-client/grpc_client_player.cpp | 80 +- src/grpc-generated/service.grpc.pb.cc | 42 + src/grpc-generated/service.grpc.pb.h | 168 +- src/grpc-generated/service.pb.cc | 4225 +++- src/grpc-generated/service.pb.h | 20196 +++++++++------- src/player/planner/actgen_cross.cpp | 12 + src/player/planner/actgen_direct_pass.cpp | 8 + src/player/planner/actgen_self_pass.cpp | 11 + src/player/planner/actgen_shoot.cpp | 10 +- src/player/planner/actgen_short_dribble.cpp | 12 +- src/player/planner/actgen_simple_dribble.cpp | 9 + .../planner/actgen_strict_check_pass.cpp | 12 +- src/player/planner/action_chain_graph.cpp | 18 +- src/player/planner/action_chain_graph.h | 2 +- src/player/planner/bhv_planned_action.cpp | 31 +- src/player/planner/cooperative_action.cpp | 3 +- src/player/planner/cooperative_action.h | 16 + 17 files changed, 14896 insertions(+), 9959 deletions(-) diff --git a/src/grpc-client/grpc_client_player.cpp b/src/grpc-client/grpc_client_player.cpp index ab1d5a0..756d4c4 100644 --- a/src/grpc-client/grpc_client_player.cpp +++ b/src/grpc-client/grpc_client_player.cpp @@ -68,9 +68,9 @@ using std::chrono::duration_cast; using std::chrono::high_resolution_clock; using std::chrono::milliseconds; -#define DEBUG +// #define DEBUG_CLIENT_PLAYER -#ifdef DEBUG +#ifdef DEBUG_CLIENT_PLAYER #define LOG(x) std::cout << x << std::endl #define LOGV(x) std::cout << #x << ": " << x << std::endl #else @@ -632,9 +632,13 @@ void GrpcClientPlayer::getActions() if (action.helios_chain_action().server_side_decision()) { + #ifdef DEBUG_CLIENT_PLAYER std::cout << "server side decision" << std::endl; + #endif GetBestPlannerAction(); + #ifdef DEBUG_CLIENT_PLAYER std::cout << " end server side decision" << std::endl; + #endif } else { @@ -666,23 +670,31 @@ void GrpcClientPlayer::GetBestPlannerAction() protos::RpcActionStatePairs *action_state_pairs = new protos::RpcActionStatePairs(); State state = generateState(); action_state_pairs->set_allocated_state(&state); + #ifdef DEBUG_CLIENT_PLAYER std::cout << "GetBestActionStatePair:" << "c" << M_agent->world().time().cycle() << std::endl; std::cout << "results size:" << ActionChainHolder::instance().graph().getAllResults().size() << std::endl; - for (auto &action_state_eval : ActionChainHolder::instance().graph().getAllResults()) + #endif + for (auto & index_resultPair : ActionChainHolder::instance().graph().getAllResults()) { try { - int index = action_state_eval.first; + + auto & result_pair = index_resultPair.second; + auto action_ptr = result_pair.first->actionPtr(); + auto state_ptr = result_pair.first->statePtr(); + int unique_index = action_ptr->uniqueIndex(); + int parent_index = action_ptr->parentIndex(); + auto eval = result_pair.second; + #ifdef DEBUG_CLIENT_PLAYER + std::cout<<"index:"<mutable_pairs(); auto rpc_action_state_pair = protos::RpcActionStatePair(); auto rpc_cooperative_action = new protos::RpcCooperativeAction(); auto rpc_predict_state = new protos::RpcPredictState(); auto category = protos::RpcActionCategory::AC_Hold; - auto action = action_state_eval.second.first->actionPtr(); - auto state = action_state_eval.second.first->statePtr(); - auto eval = action_state_eval.second.second.second; - auto parent_index = action_state_eval.second.second.first; - switch (action->category()) + + switch (action_ptr->category()) { case CooperativeAction::Hold: category = protos::RpcActionCategory::AC_Hold; @@ -709,34 +721,34 @@ void GrpcClientPlayer::GetBestPlannerAction() break; } rpc_cooperative_action->set_category(category); - rpc_cooperative_action->set_index(action->index()); - rpc_cooperative_action->set_sender_unum(action->playerUnum()); - rpc_cooperative_action->set_target_unum(action->targetPlayerUnum()); - rpc_cooperative_action->set_allocated_target_point(StateGenerator::convertVector2D(action->targetPoint())); - rpc_cooperative_action->set_first_ball_speed(action->firstBallSpeed()); - rpc_cooperative_action->set_first_turn_moment(action->firstTurnMoment()); - rpc_cooperative_action->set_first_dash_power(action->firstDashPower()); - rpc_cooperative_action->set_first_dash_angle_relative(action->firstDashAngle().degree()); - rpc_cooperative_action->set_duration_step(action->durationStep()); - rpc_cooperative_action->set_kick_count(action->kickCount()); - rpc_cooperative_action->set_turn_count(action->turnCount()); - rpc_cooperative_action->set_dash_count(action->dashCount()); - rpc_cooperative_action->set_final_action(action->isFinalAction()); - rpc_cooperative_action->set_description(action->description()); + rpc_cooperative_action->set_index(unique_index); + rpc_cooperative_action->set_sender_unum(action_ptr->playerUnum()); + rpc_cooperative_action->set_target_unum(action_ptr->targetPlayerUnum()); + rpc_cooperative_action->set_allocated_target_point(StateGenerator::convertVector2D(action_ptr->targetPoint())); + rpc_cooperative_action->set_first_ball_speed(action_ptr->firstBallSpeed()); + rpc_cooperative_action->set_first_turn_moment(action_ptr->firstTurnMoment()); + rpc_cooperative_action->set_first_dash_power(action_ptr->firstDashPower()); + rpc_cooperative_action->set_first_dash_angle_relative(action_ptr->firstDashAngle().degree()); + rpc_cooperative_action->set_duration_step(action_ptr->durationStep()); + rpc_cooperative_action->set_kick_count(action_ptr->kickCount()); + rpc_cooperative_action->set_turn_count(action_ptr->turnCount()); + rpc_cooperative_action->set_dash_count(action_ptr->dashCount()); + rpc_cooperative_action->set_final_action(action_ptr->isFinalAction()); + rpc_cooperative_action->set_description(action_ptr->description()); rpc_cooperative_action->set_parent_index(parent_index); - rpc_predict_state->set_spend_time(state->spendTime()); - rpc_predict_state->set_ball_holder_unum(state->ballHolderUnum()); - rpc_predict_state->set_allocated_ball_position(StateGenerator::convertVector2D(state->ball().pos())); - rpc_predict_state->set_allocated_ball_velocity(StateGenerator::convertVector2D(state->ball().vel())); - rpc_predict_state->set_our_defense_line_x(state->ourDefenseLineX()); - rpc_predict_state->set_our_offense_line_x(state->ourOffensePlayerLineX()); + rpc_predict_state->set_spend_time(state_ptr->spendTime()); + rpc_predict_state->set_ball_holder_unum(state_ptr->ballHolderUnum()); + rpc_predict_state->set_allocated_ball_position(StateGenerator::convertVector2D(state_ptr->ball().pos())); + rpc_predict_state->set_allocated_ball_velocity(StateGenerator::convertVector2D(state_ptr->ball().vel())); + rpc_predict_state->set_our_defense_line_x(state_ptr->ourDefenseLineX()); + rpc_predict_state->set_our_offense_line_x(state_ptr->ourOffensePlayerLineX()); rpc_action_state_pair.set_allocated_action(rpc_cooperative_action); rpc_action_state_pair.set_allocated_predict_state(rpc_predict_state); rpc_action_state_pair.set_evaluation(eval); - (*map)[action->index()] = rpc_action_state_pair; + (*map)[unique_index] = rpc_action_state_pair; } catch (const std::exception &e) { @@ -744,7 +756,9 @@ void GrpcClientPlayer::GetBestPlannerAction() } } + #ifdef DEBUG_CLIENT_PLAYER std::cout << "map size:" << action_state_pairs->pairs_size() << std::endl; + #endif protos::BestActionStatePair best_action; ClientContext context; @@ -759,16 +773,22 @@ void GrpcClientPlayer::GetBestPlannerAction() auto agent = M_agent; + #ifdef DEBUG_CLIENT_PLAYER std::cout << "best action index:" << best_action.index() << std::endl; + #endif if (Bhv_PlannedAction().execute(agent, best_action.index())) { + #ifdef DEBUG_CLIENT_PLAYER std::cout << "PlannedAction" << std::endl; + #endif agent->debugClient().addMessage("PlannedAction"); return; } + #ifdef DEBUG_CLIENT_PLAYER std::cout << "Body_HoldBall" << std::endl; + #endif Body_HoldBall().execute(agent); agent->setNeckAction(new Neck_ScanField()); } diff --git a/src/grpc-generated/service.grpc.pb.cc b/src/grpc-generated/service.grpc.pb.cc index 80d4e9b..6a93839 100644 --- a/src/grpc-generated/service.grpc.pb.cc +++ b/src/grpc-generated/service.grpc.pb.cc @@ -31,6 +31,7 @@ static const char* Game_method_names[] = { "/protos.Game/SendPlayerType", "/protos.Game/Register", "/protos.Game/SendByeCommand", + "/protos.Game/GetBestPlannerAction", }; std::unique_ptr< Game::Stub> Game::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { @@ -49,6 +50,7 @@ Game::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, cons , rpcmethod_SendPlayerType_(Game_method_names[6], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_Register_(Game_method_names[7], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_SendByeCommand_(Game_method_names[8], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetBestPlannerAction_(Game_method_names[9], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) {} ::grpc::Status Game::Stub::GetPlayerActions(::grpc::ClientContext* context, const ::protos::State& request, ::protos::PlayerActions* response) { @@ -258,6 +260,29 @@ ::grpc::ClientAsyncResponseReader< ::protos::Empty>* Game::Stub::AsyncSendByeCom return result; } +::grpc::Status Game::Stub::GetBestPlannerAction(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs& request, ::protos::BestActionStatePair* response) { + return ::grpc::internal::BlockingUnaryCall< ::protos::RpcActionStatePairs, ::protos::BestActionStatePair, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_GetBestPlannerAction_, context, request, response); +} + +void Game::Stub::async::GetBestPlannerAction(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs* request, ::protos::BestActionStatePair* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::protos::RpcActionStatePairs, ::protos::BestActionStatePair, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetBestPlannerAction_, context, request, response, std::move(f)); +} + +void Game::Stub::async::GetBestPlannerAction(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs* request, ::protos::BestActionStatePair* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetBestPlannerAction_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::protos::BestActionStatePair>* Game::Stub::PrepareAsyncGetBestPlannerActionRaw(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::protos::BestActionStatePair, ::protos::RpcActionStatePairs, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_GetBestPlannerAction_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::protos::BestActionStatePair>* Game::Stub::AsyncGetBestPlannerActionRaw(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncGetBestPlannerActionRaw(context, request, cq); + result->StartCall(); + return result; +} + Game::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( Game_method_names[0], @@ -349,6 +374,16 @@ Game::Service::Service() { ::protos::Empty* resp) { return service->SendByeCommand(ctx, req, resp); }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + Game_method_names[9], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< Game::Service, ::protos::RpcActionStatePairs, ::protos::BestActionStatePair, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](Game::Service* service, + ::grpc::ServerContext* ctx, + const ::protos::RpcActionStatePairs* req, + ::protos::BestActionStatePair* resp) { + return service->GetBestPlannerAction(ctx, req, resp); + }, this))); } Game::Service::~Service() { @@ -417,6 +452,13 @@ ::grpc::Status Game::Service::SendByeCommand(::grpc::ServerContext* context, con return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } +::grpc::Status Game::Service::GetBestPlannerAction(::grpc::ServerContext* context, const ::protos::RpcActionStatePairs* request, ::protos::BestActionStatePair* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + } // namespace protos diff --git a/src/grpc-generated/service.grpc.pb.h b/src/grpc-generated/service.grpc.pb.h index db0a5ca..9046b46 100644 --- a/src/grpc-generated/service.grpc.pb.h +++ b/src/grpc-generated/service.grpc.pb.h @@ -1,6 +1,9 @@ // Generated by the gRPC C++ plugin. // If you make any local change, they will be lost. // source: service.proto +// Original file comments: +// version 0 +// #ifndef GRPC_service_2eproto__INCLUDED #define GRPC_service_2eproto__INCLUDED @@ -98,6 +101,13 @@ class Game final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::protos::Empty>> PrepareAsyncSendByeCommand(::grpc::ClientContext* context, const ::protos::RegisterResponse& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::protos::Empty>>(PrepareAsyncSendByeCommandRaw(context, request, cq)); } + virtual ::grpc::Status GetBestPlannerAction(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs& request, ::protos::BestActionStatePair* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::protos::BestActionStatePair>> AsyncGetBestPlannerAction(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::protos::BestActionStatePair>>(AsyncGetBestPlannerActionRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::protos::BestActionStatePair>> PrepareAsyncGetBestPlannerAction(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::protos::BestActionStatePair>>(PrepareAsyncGetBestPlannerActionRaw(context, request, cq)); + } class async_interface { public: virtual ~async_interface() {} @@ -119,6 +129,8 @@ class Game final { virtual void Register(::grpc::ClientContext* context, const ::protos::RegisterRequest* request, ::protos::RegisterResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; virtual void SendByeCommand(::grpc::ClientContext* context, const ::protos::RegisterResponse* request, ::protos::Empty* response, std::function) = 0; virtual void SendByeCommand(::grpc::ClientContext* context, const ::protos::RegisterResponse* request, ::protos::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void GetBestPlannerAction(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs* request, ::protos::BestActionStatePair* response, std::function) = 0; + virtual void GetBestPlannerAction(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs* request, ::protos::BestActionStatePair* response, ::grpc::ClientUnaryReactor* reactor) = 0; }; typedef class async_interface experimental_async_interface; virtual class async_interface* async() { return nullptr; } @@ -142,6 +154,8 @@ class Game final { virtual ::grpc::ClientAsyncResponseReaderInterface< ::protos::RegisterResponse>* PrepareAsyncRegisterRaw(::grpc::ClientContext* context, const ::protos::RegisterRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::protos::Empty>* AsyncSendByeCommandRaw(::grpc::ClientContext* context, const ::protos::RegisterResponse& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::protos::Empty>* PrepareAsyncSendByeCommandRaw(::grpc::ClientContext* context, const ::protos::RegisterResponse& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::protos::BestActionStatePair>* AsyncGetBestPlannerActionRaw(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::protos::BestActionStatePair>* PrepareAsyncGetBestPlannerActionRaw(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs& request, ::grpc::CompletionQueue* cq) = 0; }; class Stub final : public StubInterface { public: @@ -209,6 +223,13 @@ class Game final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::protos::Empty>> PrepareAsyncSendByeCommand(::grpc::ClientContext* context, const ::protos::RegisterResponse& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::protos::Empty>>(PrepareAsyncSendByeCommandRaw(context, request, cq)); } + ::grpc::Status GetBestPlannerAction(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs& request, ::protos::BestActionStatePair* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::protos::BestActionStatePair>> AsyncGetBestPlannerAction(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::protos::BestActionStatePair>>(AsyncGetBestPlannerActionRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::protos::BestActionStatePair>> PrepareAsyncGetBestPlannerAction(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::protos::BestActionStatePair>>(PrepareAsyncGetBestPlannerActionRaw(context, request, cq)); + } class async final : public StubInterface::async_interface { public: @@ -230,6 +251,8 @@ class Game final { void Register(::grpc::ClientContext* context, const ::protos::RegisterRequest* request, ::protos::RegisterResponse* response, ::grpc::ClientUnaryReactor* reactor) override; void SendByeCommand(::grpc::ClientContext* context, const ::protos::RegisterResponse* request, ::protos::Empty* response, std::function) override; void SendByeCommand(::grpc::ClientContext* context, const ::protos::RegisterResponse* request, ::protos::Empty* response, ::grpc::ClientUnaryReactor* reactor) override; + void GetBestPlannerAction(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs* request, ::protos::BestActionStatePair* response, std::function) override; + void GetBestPlannerAction(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs* request, ::protos::BestActionStatePair* response, ::grpc::ClientUnaryReactor* reactor) override; private: friend class Stub; explicit async(Stub* stub): stub_(stub) { } @@ -259,6 +282,8 @@ class Game final { ::grpc::ClientAsyncResponseReader< ::protos::RegisterResponse>* PrepareAsyncRegisterRaw(::grpc::ClientContext* context, const ::protos::RegisterRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::protos::Empty>* AsyncSendByeCommandRaw(::grpc::ClientContext* context, const ::protos::RegisterResponse& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::protos::Empty>* PrepareAsyncSendByeCommandRaw(::grpc::ClientContext* context, const ::protos::RegisterResponse& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::protos::BestActionStatePair>* AsyncGetBestPlannerActionRaw(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::protos::BestActionStatePair>* PrepareAsyncGetBestPlannerActionRaw(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs& request, ::grpc::CompletionQueue* cq) override; const ::grpc::internal::RpcMethod rpcmethod_GetPlayerActions_; const ::grpc::internal::RpcMethod rpcmethod_GetCoachActions_; const ::grpc::internal::RpcMethod rpcmethod_GetTrainerActions_; @@ -268,6 +293,7 @@ class Game final { const ::grpc::internal::RpcMethod rpcmethod_SendPlayerType_; const ::grpc::internal::RpcMethod rpcmethod_Register_; const ::grpc::internal::RpcMethod rpcmethod_SendByeCommand_; + const ::grpc::internal::RpcMethod rpcmethod_GetBestPlannerAction_; }; static std::unique_ptr NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); @@ -284,6 +310,7 @@ class Game final { virtual ::grpc::Status SendPlayerType(::grpc::ServerContext* context, const ::protos::PlayerType* request, ::protos::Empty* response); virtual ::grpc::Status Register(::grpc::ServerContext* context, const ::protos::RegisterRequest* request, ::protos::RegisterResponse* response); virtual ::grpc::Status SendByeCommand(::grpc::ServerContext* context, const ::protos::RegisterResponse* request, ::protos::Empty* response); + virtual ::grpc::Status GetBestPlannerAction(::grpc::ServerContext* context, const ::protos::RpcActionStatePairs* request, ::protos::BestActionStatePair* response); }; template class WithAsyncMethod_GetPlayerActions : public BaseClass { @@ -465,7 +492,27 @@ class Game final { ::grpc::Service::RequestAsyncUnary(8, context, request, response, new_call_cq, notification_cq, tag); } }; - typedef WithAsyncMethod_GetPlayerActions > > > > > > > > AsyncService; + template + class WithAsyncMethod_GetBestPlannerAction : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_GetBestPlannerAction() { + ::grpc::Service::MarkMethodAsync(9); + } + ~WithAsyncMethod_GetBestPlannerAction() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetBestPlannerAction(::grpc::ServerContext* /*context*/, const ::protos::RpcActionStatePairs* /*request*/, ::protos::BestActionStatePair* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetBestPlannerAction(::grpc::ServerContext* context, ::protos::RpcActionStatePairs* request, ::grpc::ServerAsyncResponseWriter< ::protos::BestActionStatePair>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(9, context, request, response, new_call_cq, notification_cq, tag); + } + }; + typedef WithAsyncMethod_GetPlayerActions > > > > > > > > > AsyncService; template class WithCallbackMethod_GetPlayerActions : public BaseClass { private: @@ -709,7 +756,34 @@ class Game final { virtual ::grpc::ServerUnaryReactor* SendByeCommand( ::grpc::CallbackServerContext* /*context*/, const ::protos::RegisterResponse* /*request*/, ::protos::Empty* /*response*/) { return nullptr; } }; - typedef WithCallbackMethod_GetPlayerActions > > > > > > > > CallbackService; + template + class WithCallbackMethod_GetBestPlannerAction : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_GetBestPlannerAction() { + ::grpc::Service::MarkMethodCallback(9, + new ::grpc::internal::CallbackUnaryHandler< ::protos::RpcActionStatePairs, ::protos::BestActionStatePair>( + [this]( + ::grpc::CallbackServerContext* context, const ::protos::RpcActionStatePairs* request, ::protos::BestActionStatePair* response) { return this->GetBestPlannerAction(context, request, response); }));} + void SetMessageAllocatorFor_GetBestPlannerAction( + ::grpc::MessageAllocator< ::protos::RpcActionStatePairs, ::protos::BestActionStatePair>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(9); + static_cast<::grpc::internal::CallbackUnaryHandler< ::protos::RpcActionStatePairs, ::protos::BestActionStatePair>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_GetBestPlannerAction() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetBestPlannerAction(::grpc::ServerContext* /*context*/, const ::protos::RpcActionStatePairs* /*request*/, ::protos::BestActionStatePair* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* GetBestPlannerAction( + ::grpc::CallbackServerContext* /*context*/, const ::protos::RpcActionStatePairs* /*request*/, ::protos::BestActionStatePair* /*response*/) { return nullptr; } + }; + typedef WithCallbackMethod_GetPlayerActions > > > > > > > > > CallbackService; typedef CallbackService ExperimentalCallbackService; template class WithGenericMethod_GetPlayerActions : public BaseClass { @@ -865,6 +939,23 @@ class Game final { } }; template + class WithGenericMethod_GetBestPlannerAction : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_GetBestPlannerAction() { + ::grpc::Service::MarkMethodGeneric(9); + } + ~WithGenericMethod_GetBestPlannerAction() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetBestPlannerAction(::grpc::ServerContext* /*context*/, const ::protos::RpcActionStatePairs* /*request*/, ::protos::BestActionStatePair* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template class WithRawMethod_GetPlayerActions : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} @@ -1045,6 +1136,26 @@ class Game final { } }; template + class WithRawMethod_GetBestPlannerAction : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_GetBestPlannerAction() { + ::grpc::Service::MarkMethodRaw(9); + } + ~WithRawMethod_GetBestPlannerAction() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetBestPlannerAction(::grpc::ServerContext* /*context*/, const ::protos::RpcActionStatePairs* /*request*/, ::protos::BestActionStatePair* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetBestPlannerAction(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(9, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template class WithRawCallbackMethod_GetPlayerActions : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} @@ -1243,6 +1354,28 @@ class Game final { ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template + class WithRawCallbackMethod_GetBestPlannerAction : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_GetBestPlannerAction() { + ::grpc::Service::MarkMethodRawCallback(9, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetBestPlannerAction(context, request, response); })); + } + ~WithRawCallbackMethod_GetBestPlannerAction() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetBestPlannerAction(::grpc::ServerContext* /*context*/, const ::protos::RpcActionStatePairs* /*request*/, ::protos::BestActionStatePair* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* GetBestPlannerAction( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template class WithStreamedUnaryMethod_GetPlayerActions : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} @@ -1485,9 +1618,36 @@ class Game final { // replace default version of method with streamed unary virtual ::grpc::Status StreamedSendByeCommand(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::protos::RegisterResponse,::protos::Empty>* server_unary_streamer) = 0; }; - typedef WithStreamedUnaryMethod_GetPlayerActions > > > > > > > > StreamedUnaryService; + template + class WithStreamedUnaryMethod_GetBestPlannerAction : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_GetBestPlannerAction() { + ::grpc::Service::MarkMethodStreamed(9, + new ::grpc::internal::StreamedUnaryHandler< + ::protos::RpcActionStatePairs, ::protos::BestActionStatePair>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::protos::RpcActionStatePairs, ::protos::BestActionStatePair>* streamer) { + return this->StreamedGetBestPlannerAction(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_GetBestPlannerAction() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status GetBestPlannerAction(::grpc::ServerContext* /*context*/, const ::protos::RpcActionStatePairs* /*request*/, ::protos::BestActionStatePair* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedGetBestPlannerAction(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::protos::RpcActionStatePairs,::protos::BestActionStatePair>* server_unary_streamer) = 0; + }; + typedef WithStreamedUnaryMethod_GetPlayerActions > > > > > > > > > StreamedUnaryService; typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_GetPlayerActions > > > > > > > > StreamedService; + typedef WithStreamedUnaryMethod_GetPlayerActions > > > > > > > > > StreamedService; }; } // namespace protos diff --git a/src/grpc-generated/service.pb.cc b/src/grpc-generated/service.pb.cc index 2f4a74b..ce42998 100644 --- a/src/grpc-generated/service.pb.cc +++ b/src/grpc-generated/service.pb.cc @@ -466,7 +466,9 @@ PROTOBUF_CONSTEXPR State::State( , /*decltype(_impl_._cached_size_)*/{} , /*decltype(_impl_.register_response_)*/nullptr , /*decltype(_impl_.world_model_)*/nullptr - , /*decltype(_impl_.full_world_model_)*/nullptr} {} + , /*decltype(_impl_.full_world_model_)*/nullptr + , /*decltype(_impl_.need_preprocess_)*/ false +} {} struct StateDefaultTypeInternal { PROTOBUF_CONSTEXPR StateDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~StateDefaultTypeInternal() {} @@ -2085,6 +2087,8 @@ PROTOBUF_CONSTEXPR HeliosChainAction::HeliosChainAction( , /*decltype(_impl_.simple_shoot_)*/ false + , /*decltype(_impl_.server_side_decision_)*/ false + , /*decltype(_impl_._cached_size_)*/{}} {} struct HeliosChainActionDefaultTypeInternal { PROTOBUF_CONSTEXPR HeliosChainActionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} @@ -2181,6 +2185,8 @@ template PROTOBUF_CONSTEXPR PlayerActions::PlayerActions( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.actions_)*/{} + , /*decltype(_impl_.ignore_preprocess_)*/ false + , /*decltype(_impl_._cached_size_)*/{}} {} struct PlayerActionsDefaultTypeInternal { PROTOBUF_CONSTEXPR PlayerActionsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} @@ -3046,6 +3052,144 @@ struct PlayerTypeDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PlayerTypeDefaultTypeInternal _PlayerType_default_instance_; template +PROTOBUF_CONSTEXPR RpcCooperativeAction::RpcCooperativeAction( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.description_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.target_point_)*/nullptr + , /*decltype(_impl_.category_)*/ 0 + + , /*decltype(_impl_.index_)*/ 0 + + , /*decltype(_impl_.sender_unum_)*/ 0 + + , /*decltype(_impl_.target_unum_)*/ 0 + + , /*decltype(_impl_.first_ball_speed_)*/ 0 + + , /*decltype(_impl_.first_turn_moment_)*/ 0 + + , /*decltype(_impl_.first_dash_power_)*/ 0 + + , /*decltype(_impl_.first_dash_angle_relative_)*/ 0 + + , /*decltype(_impl_.duration_step_)*/ 0 + + , /*decltype(_impl_.kick_count_)*/ 0 + + , /*decltype(_impl_.turn_count_)*/ 0 + + , /*decltype(_impl_.dash_count_)*/ 0 + + , /*decltype(_impl_.final_action_)*/ false + + , /*decltype(_impl_.parent_index_)*/ 0 +} {} +struct RpcCooperativeActionDefaultTypeInternal { + PROTOBUF_CONSTEXPR RpcCooperativeActionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RpcCooperativeActionDefaultTypeInternal() {} + union { + RpcCooperativeAction _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RpcCooperativeActionDefaultTypeInternal _RpcCooperativeAction_default_instance_; +template +PROTOBUF_CONSTEXPR RpcPredictState::RpcPredictState( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.ball_position_)*/nullptr + , /*decltype(_impl_.ball_velocity_)*/nullptr + , /*decltype(_impl_.spend_time_)*/ 0 + + , /*decltype(_impl_.ball_holder_unum_)*/ 0 + + , /*decltype(_impl_.our_defense_line_x_)*/ 0 + + , /*decltype(_impl_.our_offense_line_x_)*/ 0 +} {} +struct RpcPredictStateDefaultTypeInternal { + PROTOBUF_CONSTEXPR RpcPredictStateDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RpcPredictStateDefaultTypeInternal() {} + union { + RpcPredictState _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RpcPredictStateDefaultTypeInternal _RpcPredictState_default_instance_; +template +PROTOBUF_CONSTEXPR RpcActionStatePair::RpcActionStatePair( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.action_)*/nullptr + , /*decltype(_impl_.predict_state_)*/nullptr + , /*decltype(_impl_.evaluation_)*/ 0 +} {} +struct RpcActionStatePairDefaultTypeInternal { + PROTOBUF_CONSTEXPR RpcActionStatePairDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RpcActionStatePairDefaultTypeInternal() {} + union { + RpcActionStatePair _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RpcActionStatePairDefaultTypeInternal _RpcActionStatePair_default_instance_; +template +PROTOBUF_CONSTEXPR RpcActionStatePairs_PairsEntry_DoNotUse::RpcActionStatePairs_PairsEntry_DoNotUse( + ::_pbi::ConstantInitialized) {} +struct RpcActionStatePairs_PairsEntry_DoNotUseDefaultTypeInternal { + PROTOBUF_CONSTEXPR RpcActionStatePairs_PairsEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RpcActionStatePairs_PairsEntry_DoNotUseDefaultTypeInternal() {} + union { + RpcActionStatePairs_PairsEntry_DoNotUse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RpcActionStatePairs_PairsEntry_DoNotUseDefaultTypeInternal _RpcActionStatePairs_PairsEntry_DoNotUse_default_instance_; +template +PROTOBUF_CONSTEXPR RpcActionStatePairs::RpcActionStatePairs( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.pairs_)*/{} + , /*decltype(_impl_.state_)*/nullptr} {} +struct RpcActionStatePairsDefaultTypeInternal { + PROTOBUF_CONSTEXPR RpcActionStatePairsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RpcActionStatePairsDefaultTypeInternal() {} + union { + RpcActionStatePairs _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RpcActionStatePairsDefaultTypeInternal _RpcActionStatePairs_default_instance_; +template +PROTOBUF_CONSTEXPR BestActionStatePair::BestActionStatePair( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.index_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct BestActionStatePairDefaultTypeInternal { + PROTOBUF_CONSTEXPR BestActionStatePairDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BestActionStatePairDefaultTypeInternal() {} + union { + BestActionStatePair _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BestActionStatePairDefaultTypeInternal _BestActionStatePair_default_instance_; +template PROTOBUF_CONSTEXPR Empty::Empty( ::_pbi::ConstantInitialized) {} struct EmptyDefaultTypeInternal { @@ -3059,8 +3203,8 @@ struct EmptyDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EmptyDefaultTypeInternal _Empty_default_instance_; } // namespace protos -static ::_pb::Metadata file_level_metadata_service_2eproto[128]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_service_2eproto[6]; +static ::_pb::Metadata file_level_metadata_service_2eproto[134]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_service_2eproto[7]; static constexpr const ::_pb::ServiceDescriptor** file_level_service_descriptors_service_2eproto = nullptr; const ::uint32_t TableStruct_service_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE( @@ -3453,9 +3597,11 @@ const ::uint32_t TableStruct_service_2eproto::offsets[] PROTOBUF_SECTION_VARIABL PROTOBUF_FIELD_OFFSET(::protos::State, _impl_.register_response_), PROTOBUF_FIELD_OFFSET(::protos::State, _impl_.world_model_), PROTOBUF_FIELD_OFFSET(::protos::State, _impl_.full_world_model_), + PROTOBUF_FIELD_OFFSET(::protos::State, _impl_.need_preprocess_), 0, 1, 2, + ~0u, PROTOBUF_FIELD_OFFSET(::protos::InitMessage, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::protos::InitMessage, _internal_metadata_), ~0u, // no _extensions_ @@ -4516,6 +4662,7 @@ const ::uint32_t TableStruct_service_2eproto::offsets[] PROTOBUF_SECTION_VARIABL PROTOBUF_FIELD_OFFSET(::protos::HeliosChainAction, _impl_.simple_pass_), PROTOBUF_FIELD_OFFSET(::protos::HeliosChainAction, _impl_.simple_dribble_), PROTOBUF_FIELD_OFFSET(::protos::HeliosChainAction, _impl_.simple_shoot_), + PROTOBUF_FIELD_OFFSET(::protos::HeliosChainAction, _impl_.server_side_decision_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::protos::HeliosBasicOffensive, _internal_metadata_), ~0u, // no _extensions_ @@ -4638,6 +4785,7 @@ const ::uint32_t TableStruct_service_2eproto::offsets[] PROTOBUF_SECTION_VARIABL ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::protos::PlayerActions, _impl_.actions_), + PROTOBUF_FIELD_OFFSET(::protos::PlayerActions, _impl_.ignore_preprocess_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::protos::ChangePlayerType, _internal_metadata_), ~0u, // no _extensions_ @@ -5370,6 +5518,113 @@ const ::uint32_t TableStruct_service_2eproto::offsets[] PROTOBUF_SECTION_VARIABL ~0u, ~0u, ~0u, + PROTOBUF_FIELD_OFFSET(::protos::RpcCooperativeAction, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::protos::RpcCooperativeAction, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::protos::RpcCooperativeAction, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::protos::RpcCooperativeAction, _impl_.index_), + PROTOBUF_FIELD_OFFSET(::protos::RpcCooperativeAction, _impl_.sender_unum_), + PROTOBUF_FIELD_OFFSET(::protos::RpcCooperativeAction, _impl_.target_unum_), + PROTOBUF_FIELD_OFFSET(::protos::RpcCooperativeAction, _impl_.target_point_), + PROTOBUF_FIELD_OFFSET(::protos::RpcCooperativeAction, _impl_.first_ball_speed_), + PROTOBUF_FIELD_OFFSET(::protos::RpcCooperativeAction, _impl_.first_turn_moment_), + PROTOBUF_FIELD_OFFSET(::protos::RpcCooperativeAction, _impl_.first_dash_power_), + PROTOBUF_FIELD_OFFSET(::protos::RpcCooperativeAction, _impl_.first_dash_angle_relative_), + PROTOBUF_FIELD_OFFSET(::protos::RpcCooperativeAction, _impl_.duration_step_), + PROTOBUF_FIELD_OFFSET(::protos::RpcCooperativeAction, _impl_.kick_count_), + PROTOBUF_FIELD_OFFSET(::protos::RpcCooperativeAction, _impl_.turn_count_), + PROTOBUF_FIELD_OFFSET(::protos::RpcCooperativeAction, _impl_.dash_count_), + PROTOBUF_FIELD_OFFSET(::protos::RpcCooperativeAction, _impl_.final_action_), + PROTOBUF_FIELD_OFFSET(::protos::RpcCooperativeAction, _impl_.description_), + PROTOBUF_FIELD_OFFSET(::protos::RpcCooperativeAction, _impl_.parent_index_), + ~0u, + ~0u, + ~0u, + ~0u, + 0, + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, + PROTOBUF_FIELD_OFFSET(::protos::RpcPredictState, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::protos::RpcPredictState, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::protos::RpcPredictState, _impl_.spend_time_), + PROTOBUF_FIELD_OFFSET(::protos::RpcPredictState, _impl_.ball_holder_unum_), + PROTOBUF_FIELD_OFFSET(::protos::RpcPredictState, _impl_.ball_position_), + PROTOBUF_FIELD_OFFSET(::protos::RpcPredictState, _impl_.ball_velocity_), + PROTOBUF_FIELD_OFFSET(::protos::RpcPredictState, _impl_.our_defense_line_x_), + PROTOBUF_FIELD_OFFSET(::protos::RpcPredictState, _impl_.our_offense_line_x_), + ~0u, + ~0u, + 0, + 1, + ~0u, + ~0u, + PROTOBUF_FIELD_OFFSET(::protos::RpcActionStatePair, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::protos::RpcActionStatePair, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::protos::RpcActionStatePair, _impl_.action_), + PROTOBUF_FIELD_OFFSET(::protos::RpcActionStatePair, _impl_.predict_state_), + PROTOBUF_FIELD_OFFSET(::protos::RpcActionStatePair, _impl_.evaluation_), + 0, + 1, + ~0u, + PROTOBUF_FIELD_OFFSET(::protos::RpcActionStatePairs_PairsEntry_DoNotUse, _has_bits_), + PROTOBUF_FIELD_OFFSET(::protos::RpcActionStatePairs_PairsEntry_DoNotUse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::protos::RpcActionStatePairs_PairsEntry_DoNotUse, key_), + PROTOBUF_FIELD_OFFSET(::protos::RpcActionStatePairs_PairsEntry_DoNotUse, value_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::protos::RpcActionStatePairs, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::protos::RpcActionStatePairs, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::protos::RpcActionStatePairs, _impl_.pairs_), + PROTOBUF_FIELD_OFFSET(::protos::RpcActionStatePairs, _impl_.state_), + ~0u, + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::protos::BestActionStatePair, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::protos::BestActionStatePair, _impl_.index_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::protos::Empty, _internal_metadata_), ~0u, // no _extensions_ @@ -5394,122 +5649,128 @@ static const ::_pbi::MigrationSchema { 283, 293, -1, sizeof(::protos::WorldModel_TheirPlayersDictEntry_DoNotUse)}, { 295, 305, -1, sizeof(::protos::WorldModel_HeliosHomePositionsEntry_DoNotUse)}, { 307, 346, -1, sizeof(::protos::WorldModel)}, - { 377, 388, -1, sizeof(::protos::State)}, - { 391, 401, -1, sizeof(::protos::InitMessage)}, - { 403, -1, -1, sizeof(::protos::Dash)}, - { 413, -1, -1, sizeof(::protos::Turn)}, - { 422, -1, -1, sizeof(::protos::Kick)}, - { 432, -1, -1, sizeof(::protos::Tackle)}, - { 442, -1, -1, sizeof(::protos::Catch)}, - { 450, -1, -1, sizeof(::protos::Move)}, - { 460, -1, -1, sizeof(::protos::TurnNeck)}, - { 469, -1, -1, sizeof(::protos::ChangeView)}, - { 478, 488, -1, sizeof(::protos::BallMessage)}, - { 490, 502, -1, sizeof(::protos::PassMessage)}, - { 506, -1, -1, sizeof(::protos::InterceptMessage)}, - { 517, 528, -1, sizeof(::protos::GoalieMessage)}, - { 531, 544, -1, sizeof(::protos::GoalieAndPlayerMessage)}, - { 549, -1, -1, sizeof(::protos::OffsideLineMessage)}, - { 558, -1, -1, sizeof(::protos::DefenseLineMessage)}, - { 567, -1, -1, sizeof(::protos::WaitRequestMessage)}, - { 575, -1, -1, sizeof(::protos::SetplayMessage)}, - { 584, 593, -1, sizeof(::protos::PassRequestMessage)}, - { 594, -1, -1, sizeof(::protos::StaminaMessage)}, - { 603, -1, -1, sizeof(::protos::RecoveryMessage)}, - { 612, -1, -1, sizeof(::protos::StaminaCapacityMessage)}, - { 621, 631, -1, sizeof(::protos::DribbleMessage)}, - { 633, 645, -1, sizeof(::protos::BallGoalieMessage)}, - { 649, 659, -1, sizeof(::protos::OnePlayerMessage)}, - { 661, 673, -1, sizeof(::protos::TwoPlayerMessage)}, - { 677, 691, -1, sizeof(::protos::ThreePlayerMessage)}, - { 697, 708, -1, sizeof(::protos::SelfMessage)}, - { 711, 722, -1, sizeof(::protos::TeammateMessage)}, - { 725, 736, -1, sizeof(::protos::OpponentMessage)}, - { 739, 752, -1, sizeof(::protos::BallPlayerMessage)}, - { 757, -1, -1, sizeof(::protos::Say)}, - { 788, -1, -1, sizeof(::protos::PointTo)}, - { 798, -1, -1, sizeof(::protos::PointToOf)}, - { 806, -1, -1, sizeof(::protos::AttentionTo)}, - { 816, -1, -1, sizeof(::protos::AttentionToOf)}, - { 824, -1, -1, sizeof(::protos::AddText)}, - { 834, 845, -1, sizeof(::protos::AddPoint)}, - { 848, 860, -1, sizeof(::protos::AddLine)}, - { 864, 878, -1, sizeof(::protos::AddArc)}, - { 884, 897, -1, sizeof(::protos::AddCircle)}, - { 902, 916, -1, sizeof(::protos::AddTriangle)}, - { 922, -1, -1, sizeof(::protos::AddRectangle)}, - { 937, 953, -1, sizeof(::protos::AddSector)}, - { 961, 973, -1, sizeof(::protos::AddMessage)}, - { 977, -1, -1, sizeof(::protos::Log)}, - { 995, -1, -1, sizeof(::protos::DebugClient)}, - { 1004, 1015, -1, sizeof(::protos::Body_GoToPoint)}, - { 1018, 1030, -1, sizeof(::protos::Body_SmartKick)}, - { 1034, 1043, -1, sizeof(::protos::Bhv_BeforeKickOff)}, - { 1044, -1, -1, sizeof(::protos::Bhv_BodyNeckToBall)}, - { 1052, 1061, -1, sizeof(::protos::Bhv_BodyNeckToPoint)}, - { 1062, -1, -1, sizeof(::protos::Bhv_Emergency)}, - { 1070, 1081, -1, sizeof(::protos::Bhv_GoToPointLookBall)}, - { 1084, -1, -1, sizeof(::protos::Bhv_NeckBodyToBall)}, - { 1093, 1103, -1, sizeof(::protos::Bhv_NeckBodyToPoint)}, - { 1105, -1, -1, sizeof(::protos::Bhv_ScanField)}, - { 1113, -1, -1, sizeof(::protos::Body_AdvanceBall)}, - { 1121, -1, -1, sizeof(::protos::Body_ClearBall)}, - { 1129, 1142, -1, sizeof(::protos::Body_Dribble)}, - { 1147, 1157, -1, sizeof(::protos::Body_GoToPointDodge)}, - { 1159, 1170, -1, sizeof(::protos::Body_HoldBall)}, - { 1173, 1183, -1, sizeof(::protos::Body_Intercept)}, - { 1185, 1196, -1, sizeof(::protos::Body_KickOneStep)}, - { 1199, -1, -1, sizeof(::protos::Body_StopBall)}, - { 1207, -1, -1, sizeof(::protos::Body_StopDash)}, - { 1216, 1227, -1, sizeof(::protos::Body_TackleToPoint)}, - { 1230, -1, -1, sizeof(::protos::Body_TurnToAngle)}, - { 1239, -1, -1, sizeof(::protos::Body_TurnToBall)}, - { 1248, 1258, -1, sizeof(::protos::Body_TurnToPoint)}, - { 1260, 1269, -1, sizeof(::protos::Focus_MoveToPoint)}, - { 1270, -1, -1, sizeof(::protos::Focus_Reset)}, - { 1278, -1, -1, sizeof(::protos::Neck_ScanField)}, - { 1286, -1, -1, sizeof(::protos::Neck_ScanPlayers)}, - { 1294, -1, -1, sizeof(::protos::Neck_TurnToBallAndPlayer)}, - { 1305, -1, -1, sizeof(::protos::Neck_TurnToBallOrScan)}, - { 1314, -1, -1, sizeof(::protos::Neck_TurnToBall)}, - { 1322, -1, -1, sizeof(::protos::Neck_TurnToGoalieOrScan)}, - { 1331, -1, -1, sizeof(::protos::Neck_TurnToLowConfTeammate)}, - { 1339, -1, -1, sizeof(::protos::Neck_TurnToPlayerOrScan)}, - { 1350, 1359, -1, sizeof(::protos::Neck_TurnToPoint)}, - { 1360, -1, -1, sizeof(::protos::Neck_TurnToRelative)}, - { 1369, -1, -1, sizeof(::protos::View_ChangeWidth)}, - { 1378, -1, -1, sizeof(::protos::View_Normal)}, - { 1386, -1, -1, sizeof(::protos::View_Synch)}, - { 1394, -1, -1, sizeof(::protos::View_Wide)}, - { 1402, -1, -1, sizeof(::protos::HeliosGoalie)}, - { 1410, -1, -1, sizeof(::protos::HeliosGoalieMove)}, - { 1418, -1, -1, sizeof(::protos::HeliosGoalieKick)}, - { 1426, -1, -1, sizeof(::protos::HeliosShoot)}, - { 1434, -1, -1, sizeof(::protos::HeliosChainAction)}, - { 1451, -1, -1, sizeof(::protos::HeliosBasicOffensive)}, - { 1459, -1, -1, sizeof(::protos::HeliosBasicMove)}, - { 1467, -1, -1, sizeof(::protos::HeliosSetPlay)}, - { 1475, -1, -1, sizeof(::protos::HeliosPenalty)}, - { 1483, -1, -1, sizeof(::protos::HeliosCommunicaion)}, - { 1491, -1, -1, sizeof(::protos::PlayerAction)}, - { 1564, -1, -1, sizeof(::protos::PlayerActions)}, - { 1573, -1, -1, sizeof(::protos::ChangePlayerType)}, - { 1583, -1, -1, sizeof(::protos::DoHeliosSubstitute)}, - { 1591, -1, -1, sizeof(::protos::DoHeliosSayPlayerTypes)}, - { 1599, -1, -1, sizeof(::protos::CoachAction)}, - { 1611, -1, -1, sizeof(::protos::CoachActions)}, - { 1620, -1, -1, sizeof(::protos::DoKickOff)}, - { 1628, 1638, -1, sizeof(::protos::DoMoveBall)}, - { 1640, 1652, -1, sizeof(::protos::DoMovePlayer)}, - { 1656, -1, -1, sizeof(::protos::DoRecover)}, - { 1664, -1, -1, sizeof(::protos::DoChangeMode)}, - { 1674, -1, -1, sizeof(::protos::DoChangePlayerType)}, - { 1685, -1, -1, sizeof(::protos::TrainerAction)}, - { 1700, -1, -1, sizeof(::protos::TrainerActions)}, - { 1709, 1939, -1, sizeof(::protos::ServerParam)}, - { 2161, 2199, -1, sizeof(::protos::PlayerParam)}, - { 2229, 2271, -1, sizeof(::protos::PlayerType)}, - { 2305, -1, -1, sizeof(::protos::Empty)}, + { 377, 389, -1, sizeof(::protos::State)}, + { 393, 403, -1, sizeof(::protos::InitMessage)}, + { 405, -1, -1, sizeof(::protos::Dash)}, + { 415, -1, -1, sizeof(::protos::Turn)}, + { 424, -1, -1, sizeof(::protos::Kick)}, + { 434, -1, -1, sizeof(::protos::Tackle)}, + { 444, -1, -1, sizeof(::protos::Catch)}, + { 452, -1, -1, sizeof(::protos::Move)}, + { 462, -1, -1, sizeof(::protos::TurnNeck)}, + { 471, -1, -1, sizeof(::protos::ChangeView)}, + { 480, 490, -1, sizeof(::protos::BallMessage)}, + { 492, 504, -1, sizeof(::protos::PassMessage)}, + { 508, -1, -1, sizeof(::protos::InterceptMessage)}, + { 519, 530, -1, sizeof(::protos::GoalieMessage)}, + { 533, 546, -1, sizeof(::protos::GoalieAndPlayerMessage)}, + { 551, -1, -1, sizeof(::protos::OffsideLineMessage)}, + { 560, -1, -1, sizeof(::protos::DefenseLineMessage)}, + { 569, -1, -1, sizeof(::protos::WaitRequestMessage)}, + { 577, -1, -1, sizeof(::protos::SetplayMessage)}, + { 586, 595, -1, sizeof(::protos::PassRequestMessage)}, + { 596, -1, -1, sizeof(::protos::StaminaMessage)}, + { 605, -1, -1, sizeof(::protos::RecoveryMessage)}, + { 614, -1, -1, sizeof(::protos::StaminaCapacityMessage)}, + { 623, 633, -1, sizeof(::protos::DribbleMessage)}, + { 635, 647, -1, sizeof(::protos::BallGoalieMessage)}, + { 651, 661, -1, sizeof(::protos::OnePlayerMessage)}, + { 663, 675, -1, sizeof(::protos::TwoPlayerMessage)}, + { 679, 693, -1, sizeof(::protos::ThreePlayerMessage)}, + { 699, 710, -1, sizeof(::protos::SelfMessage)}, + { 713, 724, -1, sizeof(::protos::TeammateMessage)}, + { 727, 738, -1, sizeof(::protos::OpponentMessage)}, + { 741, 754, -1, sizeof(::protos::BallPlayerMessage)}, + { 759, -1, -1, sizeof(::protos::Say)}, + { 790, -1, -1, sizeof(::protos::PointTo)}, + { 800, -1, -1, sizeof(::protos::PointToOf)}, + { 808, -1, -1, sizeof(::protos::AttentionTo)}, + { 818, -1, -1, sizeof(::protos::AttentionToOf)}, + { 826, -1, -1, sizeof(::protos::AddText)}, + { 836, 847, -1, sizeof(::protos::AddPoint)}, + { 850, 862, -1, sizeof(::protos::AddLine)}, + { 866, 880, -1, sizeof(::protos::AddArc)}, + { 886, 899, -1, sizeof(::protos::AddCircle)}, + { 904, 918, -1, sizeof(::protos::AddTriangle)}, + { 924, -1, -1, sizeof(::protos::AddRectangle)}, + { 939, 955, -1, sizeof(::protos::AddSector)}, + { 963, 975, -1, sizeof(::protos::AddMessage)}, + { 979, -1, -1, sizeof(::protos::Log)}, + { 997, -1, -1, sizeof(::protos::DebugClient)}, + { 1006, 1017, -1, sizeof(::protos::Body_GoToPoint)}, + { 1020, 1032, -1, sizeof(::protos::Body_SmartKick)}, + { 1036, 1045, -1, sizeof(::protos::Bhv_BeforeKickOff)}, + { 1046, -1, -1, sizeof(::protos::Bhv_BodyNeckToBall)}, + { 1054, 1063, -1, sizeof(::protos::Bhv_BodyNeckToPoint)}, + { 1064, -1, -1, sizeof(::protos::Bhv_Emergency)}, + { 1072, 1083, -1, sizeof(::protos::Bhv_GoToPointLookBall)}, + { 1086, -1, -1, sizeof(::protos::Bhv_NeckBodyToBall)}, + { 1095, 1105, -1, sizeof(::protos::Bhv_NeckBodyToPoint)}, + { 1107, -1, -1, sizeof(::protos::Bhv_ScanField)}, + { 1115, -1, -1, sizeof(::protos::Body_AdvanceBall)}, + { 1123, -1, -1, sizeof(::protos::Body_ClearBall)}, + { 1131, 1144, -1, sizeof(::protos::Body_Dribble)}, + { 1149, 1159, -1, sizeof(::protos::Body_GoToPointDodge)}, + { 1161, 1172, -1, sizeof(::protos::Body_HoldBall)}, + { 1175, 1185, -1, sizeof(::protos::Body_Intercept)}, + { 1187, 1198, -1, sizeof(::protos::Body_KickOneStep)}, + { 1201, -1, -1, sizeof(::protos::Body_StopBall)}, + { 1209, -1, -1, sizeof(::protos::Body_StopDash)}, + { 1218, 1229, -1, sizeof(::protos::Body_TackleToPoint)}, + { 1232, -1, -1, sizeof(::protos::Body_TurnToAngle)}, + { 1241, -1, -1, sizeof(::protos::Body_TurnToBall)}, + { 1250, 1260, -1, sizeof(::protos::Body_TurnToPoint)}, + { 1262, 1271, -1, sizeof(::protos::Focus_MoveToPoint)}, + { 1272, -1, -1, sizeof(::protos::Focus_Reset)}, + { 1280, -1, -1, sizeof(::protos::Neck_ScanField)}, + { 1288, -1, -1, sizeof(::protos::Neck_ScanPlayers)}, + { 1296, -1, -1, sizeof(::protos::Neck_TurnToBallAndPlayer)}, + { 1307, -1, -1, sizeof(::protos::Neck_TurnToBallOrScan)}, + { 1316, -1, -1, sizeof(::protos::Neck_TurnToBall)}, + { 1324, -1, -1, sizeof(::protos::Neck_TurnToGoalieOrScan)}, + { 1333, -1, -1, sizeof(::protos::Neck_TurnToLowConfTeammate)}, + { 1341, -1, -1, sizeof(::protos::Neck_TurnToPlayerOrScan)}, + { 1352, 1361, -1, sizeof(::protos::Neck_TurnToPoint)}, + { 1362, -1, -1, sizeof(::protos::Neck_TurnToRelative)}, + { 1371, -1, -1, sizeof(::protos::View_ChangeWidth)}, + { 1380, -1, -1, sizeof(::protos::View_Normal)}, + { 1388, -1, -1, sizeof(::protos::View_Synch)}, + { 1396, -1, -1, sizeof(::protos::View_Wide)}, + { 1404, -1, -1, sizeof(::protos::HeliosGoalie)}, + { 1412, -1, -1, sizeof(::protos::HeliosGoalieMove)}, + { 1420, -1, -1, sizeof(::protos::HeliosGoalieKick)}, + { 1428, -1, -1, sizeof(::protos::HeliosShoot)}, + { 1436, -1, -1, sizeof(::protos::HeliosChainAction)}, + { 1454, -1, -1, sizeof(::protos::HeliosBasicOffensive)}, + { 1462, -1, -1, sizeof(::protos::HeliosBasicMove)}, + { 1470, -1, -1, sizeof(::protos::HeliosSetPlay)}, + { 1478, -1, -1, sizeof(::protos::HeliosPenalty)}, + { 1486, -1, -1, sizeof(::protos::HeliosCommunicaion)}, + { 1494, -1, -1, sizeof(::protos::PlayerAction)}, + { 1567, -1, -1, sizeof(::protos::PlayerActions)}, + { 1577, -1, -1, sizeof(::protos::ChangePlayerType)}, + { 1587, -1, -1, sizeof(::protos::DoHeliosSubstitute)}, + { 1595, -1, -1, sizeof(::protos::DoHeliosSayPlayerTypes)}, + { 1603, -1, -1, sizeof(::protos::CoachAction)}, + { 1615, -1, -1, sizeof(::protos::CoachActions)}, + { 1624, -1, -1, sizeof(::protos::DoKickOff)}, + { 1632, 1642, -1, sizeof(::protos::DoMoveBall)}, + { 1644, 1656, -1, sizeof(::protos::DoMovePlayer)}, + { 1660, -1, -1, sizeof(::protos::DoRecover)}, + { 1668, -1, -1, sizeof(::protos::DoChangeMode)}, + { 1678, -1, -1, sizeof(::protos::DoChangePlayerType)}, + { 1689, -1, -1, sizeof(::protos::TrainerAction)}, + { 1704, -1, -1, sizeof(::protos::TrainerActions)}, + { 1713, 1943, -1, sizeof(::protos::ServerParam)}, + { 2165, 2203, -1, sizeof(::protos::PlayerParam)}, + { 2233, 2275, -1, sizeof(::protos::PlayerType)}, + { 2309, 2333, -1, sizeof(::protos::RpcCooperativeAction)}, + { 2349, 2363, -1, sizeof(::protos::RpcPredictState)}, + { 2369, 2380, -1, sizeof(::protos::RpcActionStatePair)}, + { 2383, 2393, -1, sizeof(::protos::RpcActionStatePairs_PairsEntry_DoNotUse)}, + { 2395, 2405, -1, sizeof(::protos::RpcActionStatePairs)}, + { 2407, -1, -1, sizeof(::protos::BestActionStatePair)}, + { 2416, -1, -1, sizeof(::protos::Empty)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -5640,6 +5901,12 @@ static const ::_pb::Message* const file_default_instances[] = { &::protos::_ServerParam_default_instance_._instance, &::protos::_PlayerParam_default_instance_._instance, &::protos::_PlayerType_default_instance_._instance, + &::protos::_RpcCooperativeAction_default_instance_._instance, + &::protos::_RpcPredictState_default_instance_._instance, + &::protos::_RpcActionStatePair_default_instance_._instance, + &::protos::_RpcActionStatePairs_PairsEntry_DoNotUse_default_instance_._instance, + &::protos::_RpcActionStatePairs_default_instance_._instance, + &::protos::_BestActionStatePair_default_instance_._instance, &::protos::_Empty_default_instance_._instance, }; const char descriptor_table_protodef_service_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { @@ -5757,580 +6024,612 @@ const char descriptor_table_protodef_service_2eproto[] PROTOBUF_SECTION_VARIABLE "sDictEntry\022\013\n\003key\030\001 \001(\005\022\035\n\005value\030\002 \001(\0132\016" ".protos.Player:\0028\001\032O\n\030HeliosHomePosition" "sEntry\022\013\n\003key\030\001 \001(\005\022\"\n\005value\030\002 \001(\0132\023.pro" - "tos.RpcVector2D:\0028\001\"\223\001\n\005State\0223\n\021registe" + "tos.RpcVector2D:\0028\001\"\254\001\n\005State\0223\n\021registe" "r_response\030\001 \001(\0132\030.protos.RegisterRespon" "se\022\'\n\013world_model\030\002 \001(\0132\022.protos.WorldMo" "del\022,\n\020full_world_model\030\003 \001(\0132\022.protos.W" - "orldModel\"V\n\013InitMessage\0223\n\021register_res" - "ponse\030\001 \001(\0132\030.protos.RegisterResponse\022\022\n" - "\ndebug_mode\030\002 \001(\010\"1\n\004Dash\022\r\n\005power\030\001 \001(\002" - "\022\032\n\022relative_direction\030\002 \001(\002\"\"\n\004Turn\022\032\n\022" - "relative_direction\030\001 \001(\002\"1\n\004Kick\022\r\n\005powe" - "r\030\001 \001(\002\022\032\n\022relative_direction\030\002 \001(\002\",\n\006T" - "ackle\022\024\n\014power_or_dir\030\001 \001(\002\022\014\n\004foul\030\002 \001(" - "\010\"\007\n\005Catch\"\034\n\004Move\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002" - "\"\032\n\010TurnNeck\022\016\n\006moment\030\001 \001(\002\"3\n\nChangeVi" - "ew\022%\n\nview_width\030\001 \001(\0162\021.protos.ViewWidt" - "h\"e\n\013BallMessage\022*\n\rball_position\030\001 \001(\0132" - "\023.protos.RpcVector2D\022*\n\rball_velocity\030\002 " - "\001(\0132\023.protos.RpcVector2D\"\263\001\n\013PassMessage" - "\022\037\n\027receiver_uniform_number\030\001 \001(\005\022+\n\016rec" - "eiver_point\030\002 \001(\0132\023.protos.RpcVector2D\022*" - "\n\rball_position\030\003 \001(\0132\023.protos.RpcVector" - "2D\022*\n\rball_velocity\030\004 \001(\0132\023.protos.RpcVe" - "ctor2D\"F\n\020InterceptMessage\022\013\n\003our\030\001 \001(\010\022" - "\026\n\016uniform_number\030\002 \001(\005\022\r\n\005cycle\030\003 \001(\005\"{" - "\n\rGoalieMessage\022\035\n\025goalie_uniform_number" + "orldModel\022\027\n\017need_preprocess\030\004 \001(\010\"V\n\013In" + "itMessage\0223\n\021register_response\030\001 \001(\0132\030.p" + "rotos.RegisterResponse\022\022\n\ndebug_mode\030\002 \001" + "(\010\"1\n\004Dash\022\r\n\005power\030\001 \001(\002\022\032\n\022relative_di" + "rection\030\002 \001(\002\"\"\n\004Turn\022\032\n\022relative_direct" + "ion\030\001 \001(\002\"1\n\004Kick\022\r\n\005power\030\001 \001(\002\022\032\n\022rela" + "tive_direction\030\002 \001(\002\",\n\006Tackle\022\024\n\014power_" + "or_dir\030\001 \001(\002\022\014\n\004foul\030\002 \001(\010\"\007\n\005Catch\"\034\n\004M" + "ove\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"\032\n\010TurnNeck\022\016\n" + "\006moment\030\001 \001(\002\"3\n\nChangeView\022%\n\nview_widt" + "h\030\001 \001(\0162\021.protos.ViewWidth\"e\n\013BallMessag" + "e\022*\n\rball_position\030\001 \001(\0132\023.protos.RpcVec" + "tor2D\022*\n\rball_velocity\030\002 \001(\0132\023.protos.Rp" + "cVector2D\"\263\001\n\013PassMessage\022\037\n\027receiver_un" + "iform_number\030\001 \001(\005\022+\n\016receiver_point\030\002 \001" + "(\0132\023.protos.RpcVector2D\022*\n\rball_position" + "\030\003 \001(\0132\023.protos.RpcVector2D\022*\n\rball_velo" + "city\030\004 \001(\0132\023.protos.RpcVector2D\"F\n\020Inter" + "ceptMessage\022\013\n\003our\030\001 \001(\010\022\026\n\016uniform_numb" + "er\030\002 \001(\005\022\r\n\005cycle\030\003 \001(\005\"{\n\rGoalieMessage" + "\022\035\n\025goalie_uniform_number\030\001 \001(\005\022,\n\017goali" + "e_position\030\002 \001(\0132\023.protos.RpcVector2D\022\035\n" + "\025goalie_body_direction\030\003 \001(\002\"\321\001\n\026GoalieA" + "ndPlayerMessage\022\035\n\025goalie_uniform_number" "\030\001 \001(\005\022,\n\017goalie_position\030\002 \001(\0132\023.protos" ".RpcVector2D\022\035\n\025goalie_body_direction\030\003 " - "\001(\002\"\321\001\n\026GoalieAndPlayerMessage\022\035\n\025goalie" - "_uniform_number\030\001 \001(\005\022,\n\017goalie_position" - "\030\002 \001(\0132\023.protos.RpcVector2D\022\035\n\025goalie_bo" - "dy_direction\030\003 \001(\002\022\035\n\025player_uniform_num" - "ber\030\004 \001(\005\022,\n\017player_position\030\005 \001(\0132\023.pro" - "tos.RpcVector2D\",\n\022OffsideLineMessage\022\026\n" - "\016offside_line_x\030\001 \001(\002\",\n\022DefenseLineMess" - "age\022\026\n\016defense_line_x\030\001 \001(\002\"\024\n\022WaitReque" - "stMessage\"#\n\016SetplayMessage\022\021\n\twait_step" - "\030\001 \001(\005\"\?\n\022PassRequestMessage\022)\n\014target_p" - "oint\030\001 \001(\0132\023.protos.RpcVector2D\"!\n\016Stami" - "naMessage\022\017\n\007stamina\030\001 \001(\002\"#\n\017RecoveryMe" - "ssage\022\020\n\010recovery\030\001 \001(\002\"2\n\026StaminaCapaci" - "tyMessage\022\030\n\020stamina_capacity\030\001 \001(\002\"P\n\016D" - "ribbleMessage\022)\n\014target_point\030\001 \001(\0132\023.pr" - "otos.RpcVector2D\022\023\n\013queue_count\030\002 \001(\005\"\270\001" - "\n\021BallGoalieMessage\022*\n\rball_position\030\001 \001" - "(\0132\023.protos.RpcVector2D\022*\n\rball_velocity" - "\030\002 \001(\0132\023.protos.RpcVector2D\022,\n\017goalie_po" - "sition\030\003 \001(\0132\023.protos.RpcVector2D\022\035\n\025goa" - "lie_body_direction\030\004 \001(\002\"Q\n\020OnePlayerMes" - "sage\022\026\n\016uniform_number\030\001 \001(\005\022%\n\010position" - "\030\002 \001(\0132\023.protos.RpcVector2D\"\252\001\n\020TwoPlaye" + "\001(\002\022\035\n\025player_uniform_number\030\004 \001(\005\022,\n\017pl" + "ayer_position\030\005 \001(\0132\023.protos.RpcVector2D" + "\",\n\022OffsideLineMessage\022\026\n\016offside_line_x" + "\030\001 \001(\002\",\n\022DefenseLineMessage\022\026\n\016defense_" + "line_x\030\001 \001(\002\"\024\n\022WaitRequestMessage\"#\n\016Se" + "tplayMessage\022\021\n\twait_step\030\001 \001(\005\"\?\n\022PassR" + "equestMessage\022)\n\014target_point\030\001 \001(\0132\023.pr" + "otos.RpcVector2D\"!\n\016StaminaMessage\022\017\n\007st" + "amina\030\001 \001(\002\"#\n\017RecoveryMessage\022\020\n\010recove" + "ry\030\001 \001(\002\"2\n\026StaminaCapacityMessage\022\030\n\020st" + "amina_capacity\030\001 \001(\002\"P\n\016DribbleMessage\022)" + "\n\014target_point\030\001 \001(\0132\023.protos.RpcVector2" + "D\022\023\n\013queue_count\030\002 \001(\005\"\270\001\n\021BallGoalieMes" + "sage\022*\n\rball_position\030\001 \001(\0132\023.protos.Rpc" + "Vector2D\022*\n\rball_velocity\030\002 \001(\0132\023.protos" + ".RpcVector2D\022,\n\017goalie_position\030\003 \001(\0132\023." + "protos.RpcVector2D\022\035\n\025goalie_body_direct" + "ion\030\004 \001(\002\"Q\n\020OnePlayerMessage\022\026\n\016uniform" + "_number\030\001 \001(\005\022%\n\010position\030\002 \001(\0132\023.protos" + ".RpcVector2D\"\252\001\n\020TwoPlayerMessage\022\034\n\024fir" + "st_uniform_number\030\001 \001(\005\022+\n\016first_positio" + "n\030\002 \001(\0132\023.protos.RpcVector2D\022\035\n\025second_u" + "niform_number\030\003 \001(\005\022,\n\017second_position\030\004" + " \001(\0132\023.protos.RpcVector2D\"\367\001\n\022ThreePlaye" "rMessage\022\034\n\024first_uniform_number\030\001 \001(\005\022+" "\n\016first_position\030\002 \001(\0132\023.protos.RpcVecto" "r2D\022\035\n\025second_uniform_number\030\003 \001(\005\022,\n\017se" "cond_position\030\004 \001(\0132\023.protos.RpcVector2D" - "\"\367\001\n\022ThreePlayerMessage\022\034\n\024first_uniform" - "_number\030\001 \001(\005\022+\n\016first_position\030\002 \001(\0132\023." - "protos.RpcVector2D\022\035\n\025second_uniform_num" - "ber\030\003 \001(\005\022,\n\017second_position\030\004 \001(\0132\023.pro" - "tos.RpcVector2D\022\034\n\024third_uniform_number\030" - "\005 \001(\005\022+\n\016third_position\030\006 \001(\0132\023.protos.R" - "pcVector2D\"l\n\013SelfMessage\022*\n\rself_positi" - "on\030\001 \001(\0132\023.protos.RpcVector2D\022\033\n\023self_bo" - "dy_direction\030\002 \001(\002\022\024\n\014self_stamina\030\003 \001(\002" - "\"h\n\017TeammateMessage\022\026\n\016uniform_number\030\001 " - "\001(\005\022%\n\010position\030\002 \001(\0132\023.protos.RpcVector" - "2D\022\026\n\016body_direction\030\003 \001(\002\"h\n\017OpponentMe" - "ssage\022\026\n\016uniform_number\030\001 \001(\005\022%\n\010positio" - "n\030\002 \001(\0132\023.protos.RpcVector2D\022\026\n\016body_dir" - "ection\030\003 \001(\002\"\311\001\n\021BallPlayerMessage\022*\n\rba" - "ll_position\030\001 \001(\0132\023.protos.RpcVector2D\022*" - "\n\rball_velocity\030\002 \001(\0132\023.protos.RpcVector" - "2D\022\026\n\016uniform_number\030\003 \001(\005\022,\n\017player_pos" - "ition\030\004 \001(\0132\023.protos.RpcVector2D\022\026\n\016body" - "_direction\030\005 \001(\002\"\320\t\n\003Say\022+\n\014ball_message" - "\030\001 \001(\0132\023.protos.BallMessageH\000\022+\n\014pass_me" - "ssage\030\002 \001(\0132\023.protos.PassMessageH\000\0225\n\021in" - "tercept_message\030\003 \001(\0132\030.protos.Intercept" - "MessageH\000\022/\n\016goalie_message\030\004 \001(\0132\025.prot" - "os.GoalieMessageH\000\022C\n\031goalie_and_player_" - "message\030\005 \001(\0132\036.protos.GoalieAndPlayerMe" - "ssageH\000\022:\n\024offside_line_message\030\006 \001(\0132\032." - "protos.OffsideLineMessageH\000\022:\n\024defense_l" - "ine_message\030\007 \001(\0132\032.protos.DefenseLineMe" - "ssageH\000\022:\n\024wait_request_message\030\010 \001(\0132\032." - "protos.WaitRequestMessageH\000\0221\n\017setplay_m" - "essage\030\t \001(\0132\026.protos.SetplayMessageH\000\022:" - "\n\024pass_request_message\030\n \001(\0132\032.protos.Pa" - "ssRequestMessageH\000\0221\n\017stamina_message\030\013 " - "\001(\0132\026.protos.StaminaMessageH\000\0223\n\020recover" - "y_message\030\014 \001(\0132\027.protos.RecoveryMessage" - "H\000\022B\n\030stamina_capacity_message\030\r \001(\0132\036.p" - "rotos.StaminaCapacityMessageH\000\0221\n\017dribbl" - "e_message\030\016 \001(\0132\026.protos.DribbleMessageH" - "\000\0228\n\023ball_goalie_message\030\017 \001(\0132\031.protos." - "BallGoalieMessageH\000\0226\n\022one_player_messag" - "e\030\020 \001(\0132\030.protos.OnePlayerMessageH\000\0226\n\022t" - "wo_player_message\030\021 \001(\0132\030.protos.TwoPlay" - "erMessageH\000\022:\n\024three_player_message\030\022 \001(" - "\0132\032.protos.ThreePlayerMessageH\000\022+\n\014self_" - "message\030\023 \001(\0132\023.protos.SelfMessageH\000\0223\n\020" - "teammate_message\030\024 \001(\0132\027.protos.Teammate" - "MessageH\000\0223\n\020opponent_message\030\025 \001(\0132\027.pr" - "otos.OpponentMessageH\000\0228\n\023ball_player_me" - "ssage\030\026 \001(\0132\031.protos.BallPlayerMessageH\000" - "B\t\n\007message\"\037\n\007PointTo\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002" - " \001(\002\"\013\n\tPointToOf\"7\n\013AttentionTo\022\032\n\004side" - "\030\001 \001(\0162\014.protos.Side\022\014\n\004unum\030\002 \001(\005\"\017\n\rAt" - "tentionToOf\">\n\007AddText\022\"\n\005level\030\001 \001(\0162\023." - "protos.LoggerLevel\022\017\n\007message\030\002 \001(\t\"a\n\010A" - "ddPoint\022\"\n\005level\030\001 \001(\0162\023.protos.LoggerLe" - "vel\022\"\n\005point\030\002 \001(\0132\023.protos.RpcVector2D\022" - "\r\n\005color\030\003 \001(\t\"\202\001\n\007AddLine\022\"\n\005level\030\001 \001(" - "\0162\023.protos.LoggerLevel\022\"\n\005start\030\002 \001(\0132\023." - "protos.RpcVector2D\022 \n\003end\030\003 \001(\0132\023.protos" - ".RpcVector2D\022\r\n\005color\030\004 \001(\t\"\231\001\n\006AddArc\022\"" - "\n\005level\030\001 \001(\0162\023.protos.LoggerLevel\022#\n\006ce" - "nter\030\002 \001(\0132\023.protos.RpcVector2D\022\016\n\006radiu" - "s\030\003 \001(\002\022\023\n\013start_angle\030\004 \001(\002\022\022\n\nspan_ang" - "el\030\005 \001(\002\022\r\n\005color\030\006 \001(\t\"\201\001\n\tAddCircle\022\"\n" - "\005level\030\001 \001(\0162\023.protos.LoggerLevel\022#\n\006cen" - "ter\030\002 \001(\0132\023.protos.RpcVector2D\022\016\n\006radius" - "\030\003 \001(\002\022\r\n\005color\030\004 \001(\t\022\014\n\004fill\030\005 \001(\010\"\275\001\n\013" - "AddTriangle\022\"\n\005level\030\001 \001(\0162\023.protos.Logg" - "erLevel\022#\n\006point1\030\002 \001(\0132\023.protos.RpcVect" - "or2D\022#\n\006point2\030\003 \001(\0132\023.protos.RpcVector2" - "D\022#\n\006point3\030\004 \001(\0132\023.protos.RpcVector2D\022\r" - "\n\005color\030\005 \001(\t\022\014\n\004fill\030\006 \001(\010\"\211\001\n\014AddRecta" - "ngle\022\"\n\005level\030\001 \001(\0162\023.protos.LoggerLevel" - "\022\014\n\004left\030\002 \001(\002\022\013\n\003top\030\003 \001(\002\022\016\n\006length\030\004 " - "\001(\002\022\r\n\005width\030\005 \001(\002\022\r\n\005color\030\006 \001(\t\022\014\n\004fil" - "l\030\007 \001(\010\"\302\001\n\tAddSector\022\"\n\005level\030\001 \001(\0162\023.p" - "rotos.LoggerLevel\022#\n\006center\030\002 \001(\0132\023.prot" - "os.RpcVector2D\022\022\n\nmin_radius\030\003 \001(\002\022\022\n\nma" - "x_radius\030\004 \001(\002\022\023\n\013start_angle\030\005 \001(\002\022\022\n\ns" - "pan_angel\030\006 \001(\002\022\r\n\005color\030\007 \001(\t\022\014\n\004fill\030\010" - " \001(\010\"w\n\nAddMessage\022\"\n\005level\030\001 \001(\0162\023.prot" - "os.LoggerLevel\022%\n\010position\030\002 \001(\0132\023.proto" - "s.RpcVector2D\022\017\n\007message\030\003 \001(\t\022\r\n\005color\030" - "\004 \001(\t\"\371\002\n\003Log\022#\n\010add_text\030\001 \001(\0132\017.protos" - ".AddTextH\000\022%\n\tadd_point\030\002 \001(\0132\020.protos.A" - "ddPointH\000\022#\n\010add_line\030\003 \001(\0132\017.protos.Add" - "LineH\000\022!\n\007add_arc\030\004 \001(\0132\016.protos.AddArcH" - "\000\022\'\n\nadd_circle\030\005 \001(\0132\021.protos.AddCircle" - "H\000\022+\n\014add_triangle\030\006 \001(\0132\023.protos.AddTri" - "angleH\000\022-\n\radd_rectangle\030\007 \001(\0132\024.protos." - "AddRectangleH\000\022\'\n\nadd_sector\030\010 \001(\0132\021.pro" - "tos.AddSectorH\000\022)\n\013add_message\030\t \001(\0132\022.p" - "rotos.AddMessageH\000B\005\n\003log\"\036\n\013DebugClient" - "\022\017\n\007message\030\001 \001(\t\"o\n\016Body_GoToPoint\022)\n\014t" - "arget_point\030\001 \001(\0132\023.protos.RpcVector2D\022\032" - "\n\022distance_threshold\030\002 \001(\002\022\026\n\016max_dash_p" - "ower\030\003 \001(\002\"\202\001\n\016Body_SmartKick\022)\n\014target_" - "point\030\001 \001(\0132\023.protos.RpcVector2D\022\023\n\013firs" - "t_speed\030\002 \001(\002\022\035\n\025first_speed_threshold\030\003" - " \001(\002\022\021\n\tmax_steps\030\004 \001(\005\"7\n\021Bhv_BeforeKic" - "kOff\022\"\n\005point\030\001 \001(\0132\023.protos.RpcVector2D" - "\"\024\n\022Bhv_BodyNeckToBall\"9\n\023Bhv_BodyNeckTo" - "Point\022\"\n\005point\030\001 \001(\0132\023.protos.RpcVector2" - "D\"\017\n\rBhv_Emergency\"v\n\025Bhv_GoToPointLookB" - "all\022)\n\014target_point\030\001 \001(\0132\023.protos.RpcVe" - "ctor2D\022\032\n\022distance_threshold\030\002 \001(\002\022\026\n\016ma" - "x_dash_power\030\003 \001(\002\"\'\n\022Bhv_NeckBodyToBall" - "\022\021\n\tangle_buf\030\001 \001(\002\"L\n\023Bhv_NeckBodyToPoi" - "nt\022\"\n\005point\030\001 \001(\0132\023.protos.RpcVector2D\022\021" - "\n\tangle_buf\030\002 \001(\002\"\017\n\rBhv_ScanField\"\022\n\020Bo" - "dy_AdvanceBall\"\020\n\016Body_ClearBall\"\214\001\n\014Bod" - "y_Dribble\022)\n\014target_point\030\001 \001(\0132\023.protos" - ".RpcVector2D\022\032\n\022distance_threshold\030\002 \001(\002" - "\022\022\n\ndash_power\030\003 \001(\002\022\022\n\ndash_count\030\004 \001(\005" - "\022\r\n\005dodge\030\005 \001(\010\"T\n\023Body_GoToPointDodge\022)" - "\n\014target_point\030\001 \001(\0132\023.protos.RpcVector2" - "D\022\022\n\ndash_power\030\002 \001(\002\"\200\001\n\rBody_HoldBall\022" - "\017\n\007do_turn\030\001 \001(\010\022.\n\021turn_target_point\030\002 " - "\001(\0132\023.protos.RpcVector2D\022.\n\021kick_target_" - "point\030\003 \001(\0132\023.protos.RpcVector2D\"P\n\016Body" - "_Intercept\022\025\n\rsave_recovery\030\001 \001(\010\022\'\n\nfac" - "e_point\030\002 \001(\0132\023.protos.RpcVector2D\"f\n\020Bo" - "dy_KickOneStep\022)\n\014target_point\030\001 \001(\0132\023.p" - "rotos.RpcVector2D\022\023\n\013first_speed\030\002 \001(\002\022\022" - "\n\nforce_mode\030\003 \001(\010\"\017\n\rBody_StopBall\"&\n\rB" - "ody_StopDash\022\025\n\rsave_recovery\030\001 \001(\010\"k\n\022B" - "ody_TackleToPoint\022)\n\014target_point\030\001 \001(\0132" - "\023.protos.RpcVector2D\022\027\n\017min_probability\030" - "\002 \001(\002\022\021\n\tmin_speed\030\003 \001(\002\"!\n\020Body_TurnToA" - "ngle\022\r\n\005angle\030\001 \001(\002\" \n\017Body_TurnToBall\022\r" - "\n\005cycle\030\001 \001(\005\"L\n\020Body_TurnToPoint\022)\n\014tar" - "get_point\030\001 \001(\0132\023.protos.RpcVector2D\022\r\n\005" - "cycle\030\002 \001(\005\">\n\021Focus_MoveToPoint\022)\n\014targ" - "et_point\030\001 \001(\0132\023.protos.RpcVector2D\"\r\n\013F" - "ocus_Reset\"\020\n\016Neck_ScanField\"\022\n\020Neck_Sca" - "nPlayers\"g\n\030Neck_TurnToBallAndPlayer\022\032\n\004" + "\022\034\n\024third_uniform_number\030\005 \001(\005\022+\n\016third_" + "position\030\006 \001(\0132\023.protos.RpcVector2D\"l\n\013S" + "elfMessage\022*\n\rself_position\030\001 \001(\0132\023.prot" + "os.RpcVector2D\022\033\n\023self_body_direction\030\002 " + "\001(\002\022\024\n\014self_stamina\030\003 \001(\002\"h\n\017TeammateMes" + "sage\022\026\n\016uniform_number\030\001 \001(\005\022%\n\010position" + "\030\002 \001(\0132\023.protos.RpcVector2D\022\026\n\016body_dire" + "ction\030\003 \001(\002\"h\n\017OpponentMessage\022\026\n\016unifor" + "m_number\030\001 \001(\005\022%\n\010position\030\002 \001(\0132\023.proto" + "s.RpcVector2D\022\026\n\016body_direction\030\003 \001(\002\"\311\001" + "\n\021BallPlayerMessage\022*\n\rball_position\030\001 \001" + "(\0132\023.protos.RpcVector2D\022*\n\rball_velocity" + "\030\002 \001(\0132\023.protos.RpcVector2D\022\026\n\016uniform_n" + "umber\030\003 \001(\005\022,\n\017player_position\030\004 \001(\0132\023.p" + "rotos.RpcVector2D\022\026\n\016body_direction\030\005 \001(" + "\002\"\320\t\n\003Say\022+\n\014ball_message\030\001 \001(\0132\023.protos" + ".BallMessageH\000\022+\n\014pass_message\030\002 \001(\0132\023.p" + "rotos.PassMessageH\000\0225\n\021intercept_message" + "\030\003 \001(\0132\030.protos.InterceptMessageH\000\022/\n\016go" + "alie_message\030\004 \001(\0132\025.protos.GoalieMessag" + "eH\000\022C\n\031goalie_and_player_message\030\005 \001(\0132\036" + ".protos.GoalieAndPlayerMessageH\000\022:\n\024offs" + "ide_line_message\030\006 \001(\0132\032.protos.OffsideL" + "ineMessageH\000\022:\n\024defense_line_message\030\007 \001" + "(\0132\032.protos.DefenseLineMessageH\000\022:\n\024wait" + "_request_message\030\010 \001(\0132\032.protos.WaitRequ" + "estMessageH\000\0221\n\017setplay_message\030\t \001(\0132\026." + "protos.SetplayMessageH\000\022:\n\024pass_request_" + "message\030\n \001(\0132\032.protos.PassRequestMessag" + "eH\000\0221\n\017stamina_message\030\013 \001(\0132\026.protos.St" + "aminaMessageH\000\0223\n\020recovery_message\030\014 \001(\013" + "2\027.protos.RecoveryMessageH\000\022B\n\030stamina_c" + "apacity_message\030\r \001(\0132\036.protos.StaminaCa" + "pacityMessageH\000\0221\n\017dribble_message\030\016 \001(\013" + "2\026.protos.DribbleMessageH\000\0228\n\023ball_goali" + "e_message\030\017 \001(\0132\031.protos.BallGoalieMessa" + "geH\000\0226\n\022one_player_message\030\020 \001(\0132\030.proto" + "s.OnePlayerMessageH\000\0226\n\022two_player_messa" + "ge\030\021 \001(\0132\030.protos.TwoPlayerMessageH\000\022:\n\024" + "three_player_message\030\022 \001(\0132\032.protos.Thre" + "ePlayerMessageH\000\022+\n\014self_message\030\023 \001(\0132\023" + ".protos.SelfMessageH\000\0223\n\020teammate_messag" + "e\030\024 \001(\0132\027.protos.TeammateMessageH\000\0223\n\020op" + "ponent_message\030\025 \001(\0132\027.protos.OpponentMe" + "ssageH\000\0228\n\023ball_player_message\030\026 \001(\0132\031.p" + "rotos.BallPlayerMessageH\000B\t\n\007message\"\037\n\007" + "PointTo\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"\013\n\tPointTo" + "Of\"7\n\013AttentionTo\022\032\n\004side\030\001 \001(\0162\014.protos" + ".Side\022\014\n\004unum\030\002 \001(\005\"\017\n\rAttentionToOf\">\n\007" + "AddText\022\"\n\005level\030\001 \001(\0162\023.protos.LoggerLe" + "vel\022\017\n\007message\030\002 \001(\t\"a\n\010AddPoint\022\"\n\005leve" + "l\030\001 \001(\0162\023.protos.LoggerLevel\022\"\n\005point\030\002 " + "\001(\0132\023.protos.RpcVector2D\022\r\n\005color\030\003 \001(\t\"" + "\202\001\n\007AddLine\022\"\n\005level\030\001 \001(\0162\023.protos.Logg" + "erLevel\022\"\n\005start\030\002 \001(\0132\023.protos.RpcVecto" + "r2D\022 \n\003end\030\003 \001(\0132\023.protos.RpcVector2D\022\r\n" + "\005color\030\004 \001(\t\"\231\001\n\006AddArc\022\"\n\005level\030\001 \001(\0162\023" + ".protos.LoggerLevel\022#\n\006center\030\002 \001(\0132\023.pr" + "otos.RpcVector2D\022\016\n\006radius\030\003 \001(\002\022\023\n\013star" + "t_angle\030\004 \001(\002\022\022\n\nspan_angel\030\005 \001(\002\022\r\n\005col" + "or\030\006 \001(\t\"\201\001\n\tAddCircle\022\"\n\005level\030\001 \001(\0162\023." + "protos.LoggerLevel\022#\n\006center\030\002 \001(\0132\023.pro" + "tos.RpcVector2D\022\016\n\006radius\030\003 \001(\002\022\r\n\005color" + "\030\004 \001(\t\022\014\n\004fill\030\005 \001(\010\"\275\001\n\013AddTriangle\022\"\n\005" + "level\030\001 \001(\0162\023.protos.LoggerLevel\022#\n\006poin" + "t1\030\002 \001(\0132\023.protos.RpcVector2D\022#\n\006point2\030" + "\003 \001(\0132\023.protos.RpcVector2D\022#\n\006point3\030\004 \001" + "(\0132\023.protos.RpcVector2D\022\r\n\005color\030\005 \001(\t\022\014" + "\n\004fill\030\006 \001(\010\"\211\001\n\014AddRectangle\022\"\n\005level\030\001" + " \001(\0162\023.protos.LoggerLevel\022\014\n\004left\030\002 \001(\002\022" + "\013\n\003top\030\003 \001(\002\022\016\n\006length\030\004 \001(\002\022\r\n\005width\030\005 " + "\001(\002\022\r\n\005color\030\006 \001(\t\022\014\n\004fill\030\007 \001(\010\"\302\001\n\tAdd" + "Sector\022\"\n\005level\030\001 \001(\0162\023.protos.LoggerLev" + "el\022#\n\006center\030\002 \001(\0132\023.protos.RpcVector2D\022" + "\022\n\nmin_radius\030\003 \001(\002\022\022\n\nmax_radius\030\004 \001(\002\022" + "\023\n\013start_angle\030\005 \001(\002\022\022\n\nspan_angel\030\006 \001(\002" + "\022\r\n\005color\030\007 \001(\t\022\014\n\004fill\030\010 \001(\010\"w\n\nAddMess" + "age\022\"\n\005level\030\001 \001(\0162\023.protos.LoggerLevel\022" + "%\n\010position\030\002 \001(\0132\023.protos.RpcVector2D\022\017" + "\n\007message\030\003 \001(\t\022\r\n\005color\030\004 \001(\t\"\371\002\n\003Log\022#" + "\n\010add_text\030\001 \001(\0132\017.protos.AddTextH\000\022%\n\ta" + "dd_point\030\002 \001(\0132\020.protos.AddPointH\000\022#\n\010ad" + "d_line\030\003 \001(\0132\017.protos.AddLineH\000\022!\n\007add_a" + "rc\030\004 \001(\0132\016.protos.AddArcH\000\022\'\n\nadd_circle" + "\030\005 \001(\0132\021.protos.AddCircleH\000\022+\n\014add_trian" + "gle\030\006 \001(\0132\023.protos.AddTriangleH\000\022-\n\radd_" + "rectangle\030\007 \001(\0132\024.protos.AddRectangleH\000\022" + "\'\n\nadd_sector\030\010 \001(\0132\021.protos.AddSectorH\000" + "\022)\n\013add_message\030\t \001(\0132\022.protos.AddMessag" + "eH\000B\005\n\003log\"\036\n\013DebugClient\022\017\n\007message\030\001 \001" + "(\t\"o\n\016Body_GoToPoint\022)\n\014target_point\030\001 \001" + "(\0132\023.protos.RpcVector2D\022\032\n\022distance_thre" + "shold\030\002 \001(\002\022\026\n\016max_dash_power\030\003 \001(\002\"\202\001\n\016" + "Body_SmartKick\022)\n\014target_point\030\001 \001(\0132\023.p" + "rotos.RpcVector2D\022\023\n\013first_speed\030\002 \001(\002\022\035" + "\n\025first_speed_threshold\030\003 \001(\002\022\021\n\tmax_ste" + "ps\030\004 \001(\005\"7\n\021Bhv_BeforeKickOff\022\"\n\005point\030\001" + " \001(\0132\023.protos.RpcVector2D\"\024\n\022Bhv_BodyNec" + "kToBall\"9\n\023Bhv_BodyNeckToPoint\022\"\n\005point\030" + "\001 \001(\0132\023.protos.RpcVector2D\"\017\n\rBhv_Emerge" + "ncy\"v\n\025Bhv_GoToPointLookBall\022)\n\014target_p" + "oint\030\001 \001(\0132\023.protos.RpcVector2D\022\032\n\022dista" + "nce_threshold\030\002 \001(\002\022\026\n\016max_dash_power\030\003 " + "\001(\002\"\'\n\022Bhv_NeckBodyToBall\022\021\n\tangle_buf\030\001" + " \001(\002\"L\n\023Bhv_NeckBodyToPoint\022\"\n\005point\030\001 \001" + "(\0132\023.protos.RpcVector2D\022\021\n\tangle_buf\030\002 \001" + "(\002\"\017\n\rBhv_ScanField\"\022\n\020Body_AdvanceBall\"" + "\020\n\016Body_ClearBall\"\214\001\n\014Body_Dribble\022)\n\014ta" + "rget_point\030\001 \001(\0132\023.protos.RpcVector2D\022\032\n" + "\022distance_threshold\030\002 \001(\002\022\022\n\ndash_power\030" + "\003 \001(\002\022\022\n\ndash_count\030\004 \001(\005\022\r\n\005dodge\030\005 \001(\010" + "\"T\n\023Body_GoToPointDodge\022)\n\014target_point\030" + "\001 \001(\0132\023.protos.RpcVector2D\022\022\n\ndash_power" + "\030\002 \001(\002\"\200\001\n\rBody_HoldBall\022\017\n\007do_turn\030\001 \001(" + "\010\022.\n\021turn_target_point\030\002 \001(\0132\023.protos.Rp" + "cVector2D\022.\n\021kick_target_point\030\003 \001(\0132\023.p" + "rotos.RpcVector2D\"P\n\016Body_Intercept\022\025\n\rs" + "ave_recovery\030\001 \001(\010\022\'\n\nface_point\030\002 \001(\0132\023" + ".protos.RpcVector2D\"f\n\020Body_KickOneStep\022" + ")\n\014target_point\030\001 \001(\0132\023.protos.RpcVector" + "2D\022\023\n\013first_speed\030\002 \001(\002\022\022\n\nforce_mode\030\003 " + "\001(\010\"\017\n\rBody_StopBall\"&\n\rBody_StopDash\022\025\n" + "\rsave_recovery\030\001 \001(\010\"k\n\022Body_TackleToPoi" + "nt\022)\n\014target_point\030\001 \001(\0132\023.protos.RpcVec" + "tor2D\022\027\n\017min_probability\030\002 \001(\002\022\021\n\tmin_sp" + "eed\030\003 \001(\002\"!\n\020Body_TurnToAngle\022\r\n\005angle\030\001" + " \001(\002\" \n\017Body_TurnToBall\022\r\n\005cycle\030\001 \001(\005\"L" + "\n\020Body_TurnToPoint\022)\n\014target_point\030\001 \001(\013" + "2\023.protos.RpcVector2D\022\r\n\005cycle\030\002 \001(\005\">\n\021" + "Focus_MoveToPoint\022)\n\014target_point\030\001 \001(\0132" + "\023.protos.RpcVector2D\"\r\n\013Focus_Reset\"\020\n\016N" + "eck_ScanField\"\022\n\020Neck_ScanPlayers\"g\n\030Nec" + "k_TurnToBallAndPlayer\022\032\n\004side\030\001 \001(\0162\014.pr" + "otos.Side\022\026\n\016uniform_number\030\002 \001(\005\022\027\n\017cou" + "nt_threshold\030\003 \001(\005\"0\n\025Neck_TurnToBallOrS" + "can\022\027\n\017count_threshold\030\001 \001(\005\"\021\n\017Neck_Tur" + "nToBall\"2\n\027Neck_TurnToGoalieOrScan\022\027\n\017co" + "unt_threshold\030\001 \001(\005\"\034\n\032Neck_TurnToLowCon" + "fTeammate\"f\n\027Neck_TurnToPlayerOrScan\022\032\n\004" "side\030\001 \001(\0162\014.protos.Side\022\026\n\016uniform_numb" - "er\030\002 \001(\005\022\027\n\017count_threshold\030\003 \001(\005\"0\n\025Nec" - "k_TurnToBallOrScan\022\027\n\017count_threshold\030\001 " - "\001(\005\"\021\n\017Neck_TurnToBall\"2\n\027Neck_TurnToGoa" - "lieOrScan\022\027\n\017count_threshold\030\001 \001(\005\"\034\n\032Ne" - "ck_TurnToLowConfTeammate\"f\n\027Neck_TurnToP" - "layerOrScan\022\032\n\004side\030\001 \001(\0162\014.protos.Side\022" - "\026\n\016uniform_number\030\002 \001(\005\022\027\n\017count_thresho" - "ld\030\003 \001(\005\"=\n\020Neck_TurnToPoint\022)\n\014target_p" - "oint\030\001 \001(\0132\023.protos.RpcVector2D\"$\n\023Neck_" - "TurnToRelative\022\r\n\005angle\030\001 \001(\002\"9\n\020View_Ch" - "angeWidth\022%\n\nview_width\030\001 \001(\0162\021.protos.V" - "iewWidth\"\r\n\013View_Normal\"\014\n\nView_Synch\"\013\n" - "\tView_Wide\"\016\n\014HeliosGoalie\"\022\n\020HeliosGoal" - "ieMove\"\022\n\020HeliosGoalieKick\"\r\n\013HeliosShoo" - "t\"\320\001\n\021HeliosChainAction\022\023\n\013direct_pass\030\001" - " \001(\010\022\021\n\tlead_pass\030\002 \001(\010\022\024\n\014through_pass\030" - "\003 \001(\010\022\025\n\rshort_dribble\030\004 \001(\010\022\024\n\014long_dri" - "bble\030\005 \001(\010\022\r\n\005cross\030\006 \001(\010\022\023\n\013simple_pass" - "\030\007 \001(\010\022\026\n\016simple_dribble\030\010 \001(\010\022\024\n\014simple" - "_shoot\030\t \001(\010\"\026\n\024HeliosBasicOffensive\"\021\n\017" - "HeliosBasicMove\"\017\n\rHeliosSetPlay\"\017\n\rHeli" - "osPenalty\"\024\n\022HeliosCommunicaion\"\343\031\n\014Play" - "erAction\022\034\n\004dash\030\001 \001(\0132\014.protos.DashH\000\022\034" - "\n\004turn\030\002 \001(\0132\014.protos.TurnH\000\022\034\n\004kick\030\003 \001" - "(\0132\014.protos.KickH\000\022 \n\006tackle\030\004 \001(\0132\016.pro" - "tos.TackleH\000\022\036\n\005catch\030\005 \001(\0132\r.protos.Cat" - "chH\000\022\034\n\004move\030\006 \001(\0132\014.protos.MoveH\000\022%\n\ttu" - "rn_neck\030\007 \001(\0132\020.protos.TurnNeckH\000\022)\n\013cha" - "nge_view\030\010 \001(\0132\022.protos.ChangeViewH\000\022\032\n\003" - "say\030\t \001(\0132\013.protos.SayH\000\022#\n\010point_to\030\n \001" - "(\0132\017.protos.PointToH\000\022(\n\013point_to_of\030\013 \001" - "(\0132\021.protos.PointToOfH\000\022+\n\014attention_to\030" - "\014 \001(\0132\023.protos.AttentionToH\000\0220\n\017attentio" - "n_to_of\030\r \001(\0132\025.protos.AttentionToOfH\000\022\032" - "\n\003log\030\016 \001(\0132\013.protos.LogH\000\022+\n\014debug_clie" - "nt\030\017 \001(\0132\023.protos.DebugClientH\000\0222\n\020body_" - "go_to_point\030\020 \001(\0132\026.protos.Body_GoToPoin" - "tH\000\0221\n\017body_smart_kick\030\021 \001(\0132\026.protos.Bo" - "dy_SmartKickH\000\0228\n\023bhv_before_kick_off\030\022 " - "\001(\0132\031.protos.Bhv_BeforeKickOffH\000\022;\n\025bhv_" - "body_neck_to_ball\030\023 \001(\0132\032.protos.Bhv_Bod" - "yNeckToBallH\000\022=\n\026bhv_body_neck_to_point\030" - "\024 \001(\0132\033.protos.Bhv_BodyNeckToPointH\000\022.\n\r" - "bhv_emergency\030\025 \001(\0132\025.protos.Bhv_Emergen" - "cyH\000\022B\n\031bhv_go_to_point_look_ball\030\026 \001(\0132" - "\035.protos.Bhv_GoToPointLookBallH\000\022;\n\025bhv_" - "neck_body_to_ball\030\027 \001(\0132\032.protos.Bhv_Nec" - "kBodyToBallH\000\022=\n\026bhv_neck_body_to_point\030" - "\030 \001(\0132\033.protos.Bhv_NeckBodyToPointH\000\022/\n\016" - "bhv_scan_field\030\031 \001(\0132\025.protos.Bhv_ScanFi" - "eldH\000\0225\n\021body_advance_ball\030\032 \001(\0132\030.proto" - "s.Body_AdvanceBallH\000\0221\n\017body_clear_ball\030" - "\033 \001(\0132\026.protos.Body_ClearBallH\000\022,\n\014body_" - "dribble\030\034 \001(\0132\024.protos.Body_DribbleH\000\022=\n" - "\026body_go_to_point_dodge\030\035 \001(\0132\033.protos.B" - "ody_GoToPointDodgeH\000\022/\n\016body_hold_ball\030\036" - " \001(\0132\025.protos.Body_HoldBallH\000\0220\n\016body_in" - "tercept\030\037 \001(\0132\026.protos.Body_InterceptH\000\022" - "6\n\022body_kick_one_step\030 \001(\0132\030.protos.Bod" - "y_KickOneStepH\000\022/\n\016body_stop_ball\030! \001(\0132" - "\025.protos.Body_StopBallH\000\022/\n\016body_stop_da" - "sh\030\" \001(\0132\025.protos.Body_StopDashH\000\022:\n\024bod" - "y_tackle_to_point\030# \001(\0132\032.protos.Body_Ta" - "ckleToPointH\000\0226\n\022body_turn_to_angle\030$ \001(" - "\0132\030.protos.Body_TurnToAngleH\000\0224\n\021body_tu" - "rn_to_ball\030% \001(\0132\027.protos.Body_TurnToBal" - "lH\000\0226\n\022body_turn_to_point\030& \001(\0132\030.protos" - ".Body_TurnToPointH\000\0228\n\023focus_move_to_poi" - "nt\030\' \001(\0132\031.protos.Focus_MoveToPointH\000\022*\n" - "\013focus_reset\030( \001(\0132\023.protos.Focus_ResetH" - "\000\0221\n\017neck_scan_field\030) \001(\0132\026.protos.Neck" - "_ScanFieldH\000\0225\n\021neck_scan_players\030* \001(\0132" - "\030.protos.Neck_ScanPlayersH\000\022H\n\034neck_turn" - "_to_ball_and_player\030+ \001(\0132 .protos.Neck_" - "TurnToBallAndPlayerH\000\022B\n\031neck_turn_to_ba" - "ll_or_scan\030, \001(\0132\035.protos.Neck_TurnToBal" - "lOrScanH\000\0224\n\021neck_turn_to_ball\030- \001(\0132\027.p" - "rotos.Neck_TurnToBallH\000\022F\n\033neck_turn_to_" - "goalie_or_scan\030. \001(\0132\037.protos.Neck_TurnT" - "oGoalieOrScanH\000\022L\n\036neck_turn_to_low_conf" - "_teammate\030/ \001(\0132\".protos.Neck_TurnToLowC" - "onfTeammateH\000\022F\n\033neck_turn_to_player_or_" - "scan\0300 \001(\0132\037.protos.Neck_TurnToPlayerOrS" - "canH\000\0226\n\022neck_turn_to_point\0301 \001(\0132\030.prot" - "os.Neck_TurnToPointH\000\022<\n\025neck_turn_to_re" - "lative\0302 \001(\0132\033.protos.Neck_TurnToRelativ" - "eH\000\0225\n\021view_change_width\0303 \001(\0132\030.protos." - "View_ChangeWidthH\000\022*\n\013view_normal\0304 \001(\0132" - "\023.protos.View_NormalH\000\022(\n\nview_synch\0305 \001" - "(\0132\022.protos.View_SynchH\000\022&\n\tview_wide\0306 " - "\001(\0132\021.protos.View_WideH\000\022-\n\rhelios_goali" - "e\0307 \001(\0132\024.protos.HeliosGoalieH\000\0226\n\022helio" - "s_goalie_move\0308 \001(\0132\030.protos.HeliosGoali" - "eMoveH\000\0226\n\022helios_goalie_kick\0309 \001(\0132\030.pr" - "otos.HeliosGoalieKickH\000\022+\n\014helios_shoot\030" - ": \001(\0132\023.protos.HeliosShootH\000\0228\n\023helios_c" - "hain_action\030; \001(\0132\031.protos.HeliosChainAc" - "tionH\000\022>\n\026helios_basic_offensive\030< \001(\0132\034" - ".protos.HeliosBasicOffensiveH\000\0224\n\021helios" - "_basic_move\030= \001(\0132\027.protos.HeliosBasicMo" - "veH\000\0220\n\017helios_set_play\030> \001(\0132\025.protos.H" - "eliosSetPlayH\000\022/\n\016helios_penalty\030\? \001(\0132\025" - ".protos.HeliosPenaltyH\000\022:\n\024helios_commun" - "ication\030@ \001(\0132\032.protos.HeliosCommunicaio" - "nH\000B\010\n\006action\"6\n\rPlayerActions\022%\n\007action" - "s\030\001 \003(\0132\024.protos.PlayerAction\"8\n\020ChangeP" - "layerType\022\026\n\016uniform_number\030\001 \001(\005\022\014\n\004typ" - "e\030\002 \001(\005\"\024\n\022DoHeliosSubstitute\"\030\n\026DoHelio" - "sSayPlayerTypes\"\322\001\n\013CoachAction\0227\n\023chang" - "e_player_types\030\001 \001(\0132\030.protos.ChangePlay" - "erTypeH\000\022:\n\024do_helios_substitute\030\002 \001(\0132\032" - ".protos.DoHeliosSubstituteH\000\022D\n\032do_helio" - "s_say_player_types\030\003 \001(\0132\036.protos.DoHeli" - "osSayPlayerTypesH\000B\010\n\006action\"4\n\014CoachAct" - "ions\022$\n\007actions\030\001 \003(\0132\023.protos.CoachActi" - "on\"\013\n\tDoKickOff\"Z\n\nDoMoveBall\022%\n\010positio" - "n\030\001 \001(\0132\023.protos.RpcVector2D\022%\n\010velocity" - "\030\002 \001(\0132\023.protos.RpcVector2D\"w\n\014DoMovePla" - "yer\022\020\n\010our_side\030\001 \001(\010\022\026\n\016uniform_number\030" - "\002 \001(\005\022%\n\010position\030\003 \001(\0132\023.protos.RpcVect" - "or2D\022\026\n\016body_direction\030\004 \001(\002\"\013\n\tDoRecove" - "r\"X\n\014DoChangeMode\022,\n\016game_mode_type\030\001 \001(" - "\0162\024.protos.GameModeType\022\032\n\004side\030\002 \001(\0162\014." - "protos.Side\"L\n\022DoChangePlayerType\022\020\n\010our" - "_side\030\001 \001(\010\022\026\n\016uniform_number\030\002 \001(\005\022\014\n\004t" - "ype\030\003 \001(\005\"\265\002\n\rTrainerAction\022(\n\013do_kick_o" - "ff\030\001 \001(\0132\021.protos.DoKickOffH\000\022*\n\014do_move" - "_ball\030\002 \001(\0132\022.protos.DoMoveBallH\000\022.\n\016do_" - "move_player\030\003 \001(\0132\024.protos.DoMovePlayerH" - "\000\022\'\n\ndo_recover\030\004 \001(\0132\021.protos.DoRecover" - "H\000\022.\n\016do_change_mode\030\005 \001(\0132\024.protos.DoCh" - "angeModeH\000\022;\n\025do_change_player_type\030\006 \001(" - "\0132\032.protos.DoChangePlayerTypeH\000B\010\n\006actio" - "n\"8\n\016TrainerActions\022&\n\007actions\030\001 \003(\0132\025.p" - "rotos.TrainerAction\"\335,\n\013ServerParam\0223\n\021r" - "egister_response\030\001 \001(\0132\030.protos.Register" - "Response\022\026\n\016inertia_moment\030\002 \001(\002\022\023\n\013play" - "er_size\030\003 \001(\002\022\024\n\014player_decay\030\004 \001(\002\022\023\n\013p" - "layer_rand\030\005 \001(\002\022\025\n\rplayer_weight\030\006 \001(\002\022" - "\030\n\020player_speed_max\030\007 \001(\002\022\030\n\020player_acce" - "l_max\030\010 \001(\002\022\023\n\013stamina_max\030\t \001(\002\022\027\n\017stam" - "ina_inc_max\030\n \001(\002\022\024\n\014recover_init\030\013 \001(\002\022" - "\027\n\017recover_dec_thr\030\014 \001(\002\022\023\n\013recover_min\030" - "\r \001(\002\022\023\n\013recover_dec\030\016 \001(\002\022\023\n\013effort_ini" - "t\030\017 \001(\002\022\026\n\016effort_dec_thr\030\020 \001(\002\022\022\n\neffor" - "t_min\030\021 \001(\002\022\022\n\neffort_dec\030\022 \001(\002\022\026\n\016effor" - "t_inc_thr\030\023 \001(\002\022\022\n\neffort_inc\030\024 \001(\002\022\021\n\tk" - "ick_rand\030\025 \001(\002\022\033\n\023team_actuator_noise\030\026 " - "\001(\010\022\034\n\024player_rand_factor_l\030\027 \001(\002\022\034\n\024pla" - "yer_rand_factor_r\030\030 \001(\002\022\032\n\022kick_rand_fac" - "tor_l\030\031 \001(\002\022\032\n\022kick_rand_factor_r\030\032 \001(\002\022" - "\021\n\tball_size\030\033 \001(\002\022\022\n\nball_decay\030\034 \001(\002\022\021" - "\n\tball_rand\030\035 \001(\002\022\023\n\013ball_weight\030\036 \001(\002\022\026" - "\n\016ball_speed_max\030\037 \001(\002\022\026\n\016ball_accel_max" - "\030 \001(\002\022\027\n\017dash_power_rate\030! \001(\002\022\027\n\017kick_" - "power_rate\030\" \001(\002\022\027\n\017kickable_margin\030# \001(" - "\002\022\026\n\016control_radius\030$ \001(\002\022\034\n\024control_rad" - "ius_width\030% \001(\002\022\021\n\tmax_power\030& \001(\002\022\021\n\tmi" - "n_power\030\' \001(\002\022\022\n\nmax_moment\030( \001(\002\022\022\n\nmin" - "_moment\030) \001(\002\022\027\n\017max_neck_moment\030* \001(\002\022\027" - "\n\017min_neck_moment\030+ \001(\002\022\026\n\016max_neck_angl" - "e\030, \001(\002\022\026\n\016min_neck_angle\030- \001(\002\022\025\n\rvisib" - "le_angle\030. \001(\002\022\030\n\020visible_distance\030/ \001(\002" - "\022\020\n\010wind_dir\0300 \001(\002\022\022\n\nwind_force\0301 \001(\002\022\022" - "\n\nwind_angle\0302 \001(\002\022\021\n\twind_rand\0303 \001(\002\022\025\n" - "\rkickable_area\0304 \001(\002\022\024\n\014catch_area_l\0305 \001" - "(\002\022\024\n\014catch_area_w\0306 \001(\002\022\031\n\021catch_probab" - "ility\0307 \001(\002\022\030\n\020goalie_max_moves\0308 \001(\005\022\032\n" - "\022corner_kick_margin\0309 \001(\002\022 \n\030offside_act" - "ive_area_size\030: \001(\002\022\021\n\twind_none\030; \001(\010\022\027" - "\n\017use_wind_random\030< \001(\010\022\033\n\023coach_say_cou" - "nt_max\030= \001(\005\022\032\n\022coach_say_msg_size\030> \001(\005" - "\022\026\n\016clang_win_size\030\? \001(\005\022\030\n\020clang_define" - "_win\030@ \001(\005\022\026\n\016clang_meta_win\030A \001(\005\022\030\n\020cl" - "ang_advice_win\030B \001(\005\022\026\n\016clang_info_win\030C" - " \001(\005\022\030\n\020clang_mess_delay\030D \001(\005\022\034\n\024clang_" - "mess_per_cycle\030E \001(\005\022\021\n\thalf_time\030F \001(\005\022" - "\026\n\016simulator_step\030G \001(\005\022\021\n\tsend_step\030H \001" - "(\005\022\021\n\trecv_step\030I \001(\005\022\027\n\017sense_body_step" - "\030J \001(\005\022\020\n\010lcm_step\030K \001(\005\022\033\n\023player_say_m" - "sg_size\030L \001(\005\022\027\n\017player_hear_max\030M \001(\005\022\027" - "\n\017player_hear_inc\030N \001(\005\022\031\n\021player_hear_d" - "ecay\030O \001(\005\022\027\n\017catch_ban_cycle\030P \001(\005\022\030\n\020s" - "low_down_factor\030Q \001(\005\022\023\n\013use_offside\030R \001" - "(\010\022\027\n\017kickoff_offside\030S \001(\010\022\033\n\023offside_k" - "ick_margin\030T \001(\002\022\026\n\016audio_cut_dist\030U \001(\002" - "\022\032\n\022dist_quantize_step\030V \001(\002\022#\n\033landmark" - "_dist_quantize_step\030W \001(\002\022\031\n\021dir_quantiz" - "e_step\030X \001(\002\022\034\n\024dist_quantize_step_l\030Y \001" - "(\002\022\034\n\024dist_quantize_step_r\030Z \001(\002\022%\n\035land" - "mark_dist_quantize_step_l\030[ \001(\002\022%\n\035landm" - "ark_dist_quantize_step_r\030\\ \001(\002\022\033\n\023dir_qu" - "antize_step_l\030] \001(\002\022\033\n\023dir_quantize_step" - "_r\030^ \001(\002\022\022\n\ncoach_mode\030_ \001(\010\022\037\n\027coach_wi" - "th_referee_mode\030` \001(\010\022\032\n\022use_old_coach_h" - "ear\030a \001(\010\022%\n\035slowness_on_top_for_left_te" - "am\030b \001(\002\022&\n\036slowness_on_top_for_right_te" - "am\030c \001(\002\022\024\n\014start_goal_l\030d \001(\005\022\024\n\014start_" - "goal_r\030e \001(\005\022\023\n\013fullstate_l\030f \001(\010\022\023\n\013ful" - "lstate_r\030g \001(\010\022\026\n\016drop_ball_time\030h \001(\005\022\022" - "\n\nsynch_mode\030i \001(\010\022\024\n\014synch_offset\030j \001(\005" - "\022\031\n\021synch_micro_sleep\030k \001(\005\022\024\n\014point_to_" - "ban\030l \001(\005\022\031\n\021point_to_duration\030m \001(\005\022\023\n\013" - "player_port\030n \001(\005\022\024\n\014trainer_port\030o \001(\005\022" - "\031\n\021online_coach_port\030p \001(\005\022\024\n\014verbose_mo" - "de\030q \001(\010\022\032\n\022coach_send_vi_step\030r \001(\005\022\023\n\013" - "replay_file\030s \001(\t\022\025\n\rlandmark_file\030t \001(\t" - "\022\022\n\nsend_comms\030u \001(\010\022\024\n\014text_logging\030v \001" - "(\010\022\024\n\014game_logging\030w \001(\010\022\030\n\020game_log_ver" - "sion\030x \001(\005\022\024\n\014text_log_dir\030y \001(\t\022\024\n\014game" - "_log_dir\030z \001(\t\022\033\n\023text_log_fixed_name\030{ " - "\001(\t\022\033\n\023game_log_fixed_name\030| \001(\t\022\032\n\022use_" - "text_log_fixed\030} \001(\010\022\032\n\022use_game_log_fix" - "ed\030~ \001(\010\022\032\n\022use_text_log_dated\030\177 \001(\010\022\033\n\022" - "use_game_log_dated\030\200\001 \001(\010\022\030\n\017log_date_fo" - "rmat\030\201\001 \001(\t\022\022\n\tlog_times\030\202\001 \001(\010\022\027\n\016recor" - "d_message\030\203\001 \001(\010\022\035\n\024text_log_compression" - "\030\204\001 \001(\005\022\035\n\024game_log_compression\030\205\001 \001(\005\022\024" - "\n\013use_profile\030\206\001 \001(\010\022\024\n\013tackle_dist\030\207\001 \001" - "(\002\022\031\n\020tackle_back_dist\030\210\001 \001(\002\022\025\n\014tackle_" - "width\030\211\001 \001(\002\022\030\n\017tackle_exponent\030\212\001 \001(\002\022\026" - "\n\rtackle_cycles\030\213\001 \001(\005\022\032\n\021tackle_power_r" - "ate\030\214\001 \001(\002\022\035\n\024freeform_wait_period\030\215\001 \001(" - "\005\022\035\n\024freeform_send_period\030\216\001 \001(\005\022\031\n\020free" - "_kick_faults\030\217\001 \001(\010\022\024\n\013back_passes\030\220\001 \001(" - "\010\022\032\n\021proper_goal_kicks\030\221\001 \001(\010\022\031\n\020stopped" - "_ball_vel\030\222\001 \001(\002\022\027\n\016max_goal_kicks\030\223\001 \001(" - "\005\022\026\n\rclang_del_win\030\224\001 \001(\005\022\027\n\016clang_rule_" - "win\030\225\001 \001(\005\022\022\n\tauto_mode\030\226\001 \001(\010\022\026\n\rkick_o" - "ff_wait\030\227\001 \001(\005\022\025\n\014connect_wait\030\230\001 \001(\005\022\027\n" - "\016game_over_wait\030\231\001 \001(\005\022\025\n\014team_l_start\030\232" - "\001 \001(\t\022\025\n\014team_r_start\030\233\001 \001(\t\022\026\n\rkeepaway" - "_mode\030\234\001 \001(\010\022\030\n\017keepaway_length\030\235\001 \001(\002\022\027" - "\n\016keepaway_width\030\236\001 \001(\002\022\031\n\020keepaway_logg" - "ing\030\237\001 \001(\010\022\031\n\020keepaway_log_dir\030\240\001 \001(\t\022 \n" - "\027keepaway_log_fixed_name\030\241\001 \001(\t\022\033\n\022keepa" - "way_log_fixed\030\242\001 \001(\010\022\033\n\022keepaway_log_dat" - "ed\030\243\001 \001(\010\022\027\n\016keepaway_start\030\244\001 \001(\005\022\030\n\017nr" - "_normal_halfs\030\245\001 \001(\005\022\027\n\016nr_extra_halfs\030\246" - "\001 \001(\005\022\033\n\022penalty_shoot_outs\030\247\001 \001(\010\022\036\n\025pe" - "n_before_setup_wait\030\250\001 \001(\005\022\027\n\016pen_setup_" - "wait\030\251\001 \001(\005\022\027\n\016pen_ready_wait\030\252\001 \001(\005\022\027\n\016" - "pen_taken_wait\030\253\001 \001(\005\022\025\n\014pen_nr_kicks\030\254\001" - " \001(\005\022\034\n\023pen_max_extra_kicks\030\255\001 \001(\005\022\023\n\npe" - "n_dist_x\030\256\001 \001(\002\022\032\n\021pen_random_winner\030\257\001 " - "\001(\010\022\035\n\024pen_allow_mult_kicks\030\260\001 \001(\010\022\036\n\025pe" - "n_max_goalie_dist_x\030\261\001 \001(\002\022 \n\027pen_coach_" - "moves_players\030\262\001 \001(\010\022\023\n\nmodule_dir\030\263\001 \001(" - "\t\022\030\n\017ball_stuck_area\030\264\001 \001(\002\022\027\n\016coach_msg" - "_file\030\265\001 \001(\t\022\031\n\020max_tackle_power\030\266\001 \001(\002\022" - "\036\n\025max_back_tackle_power\030\267\001 \001(\002\022\035\n\024playe" - "r_speed_max_min\030\270\001 \001(\002\022\026\n\rextra_stamina\030" - "\271\001 \001(\002\022\031\n\020synch_see_offset\030\272\001 \001(\005\022\030\n\017ext" - "ra_half_time\030\273\001 \001(\005\022\031\n\020stamina_capacity\030" - "\274\001 \001(\002\022\027\n\016max_dash_angle\030\275\001 \001(\002\022\027\n\016min_d" - "ash_angle\030\276\001 \001(\002\022\030\n\017dash_angle_step\030\277\001 \001" - "(\002\022\027\n\016side_dash_rate\030\300\001 \001(\002\022\027\n\016back_dash" - "_rate\030\301\001 \001(\002\022\027\n\016max_dash_power\030\302\001 \001(\002\022\027\n" - "\016min_dash_power\030\303\001 \001(\002\022\033\n\022tackle_rand_fa" - "ctor\030\304\001 \001(\002\022 \n\027foul_detect_probability\030\305" - "\001 \001(\002\022\026\n\rfoul_exponent\030\306\001 \001(\002\022\024\n\013foul_cy" - "cles\030\307\001 \001(\005\022\024\n\013golden_goal\030\310\001 \001(\010\022\035\n\024red" - "_card_probability\030\311\001 \001(\002\022!\n\030illegal_defe" - "nse_duration\030\312\001 \001(\005\022\037\n\026illegal_defense_n" - "umber\030\313\001 \001(\005\022\037\n\026illegal_defense_dist_x\030\314" - "\001 \001(\002\022\036\n\025illegal_defense_width\030\315\001 \001(\002\022\031\n" - "\020fixed_teamname_l\030\316\001 \001(\t\022\031\n\020fixed_teamna" - "me_r\030\317\001 \001(\t\022\030\n\017max_catch_angle\030\320\001 \001(\002\022\030\n" - "\017min_catch_angle\030\321\001 \001(\002\022\024\n\013random_seed\030\322" - "\001 \001(\005\022\037\n\026long_kick_power_factor\030\323\001 \001(\002\022\030" - "\n\017long_kick_delay\030\324\001 \001(\005\022\025\n\014max_monitors" - "\030\325\001 \001(\005\022\027\n\016catchable_area\030\326\001 \001(\002\022\027\n\016real" - "_speed_max\030\327\001 \001(\002\022\032\n\021pitch_half_length\030\330" - "\001 \001(\002\022\031\n\020pitch_half_width\030\331\001 \001(\002\022 \n\027our_" - "penalty_area_line_x\030\332\001 \001(\002\022\"\n\031their_pena" - "lty_area_line_x\030\333\001 \001(\002\022 \n\027penalty_area_h" - "alf_width\030\334\001 \001(\002\022\034\n\023penalty_area_length\030" - "\335\001 \001(\002\022\023\n\ngoal_width\030\336\001 \001(\002\"\215\010\n\013PlayerPa" - "ram\0223\n\021register_response\030\001 \001(\0132\030.protos." - "RegisterResponse\022\024\n\014player_types\030\002 \001(\005\022\020" - "\n\010subs_max\030\003 \001(\005\022\016\n\006pt_max\030\004 \001(\005\022\037\n\027allo" - "w_mult_default_type\030\005 \001(\010\022\"\n\032player_spee" - "d_max_delta_min\030\006 \001(\002\022\"\n\032player_speed_ma" - "x_delta_max\030\007 \001(\002\022$\n\034stamina_inc_max_del" - "ta_factor\030\010 \001(\002\022\036\n\026player_decay_delta_mi" - "n\030\t \001(\002\022\036\n\026player_decay_delta_max\030\n \001(\002\022" - "#\n\033inertia_moment_delta_factor\030\013 \001(\002\022!\n\031" - "dash_power_rate_delta_min\030\014 \001(\002\022!\n\031dash_" - "power_rate_delta_max\030\r \001(\002\022 \n\030player_siz" - "e_delta_factor\030\016 \001(\002\022!\n\031kickable_margin_" - "delta_min\030\017 \001(\002\022!\n\031kickable_margin_delta" - "_max\030\020 \001(\002\022\036\n\026kick_rand_delta_factor\030\021 \001" - "(\002\022\037\n\027extra_stamina_delta_min\030\022 \001(\002\022\037\n\027e" - "xtra_stamina_delta_max\030\023 \001(\002\022\037\n\027effort_m" - "ax_delta_factor\030\024 \001(\002\022\037\n\027effort_min_delt" - "a_factor\030\025 \001(\002\022\023\n\013random_seed\030\026 \001(\005\022%\n\035n" - "ew_dash_power_rate_delta_min\030\027 \001(\002\022%\n\035ne" - "w_dash_power_rate_delta_max\030\030 \001(\002\022(\n new" - "_stamina_inc_max_delta_factor\030\031 \001(\002\022!\n\031k" - "ick_power_rate_delta_min\030\032 \001(\002\022!\n\031kick_p" - "ower_rate_delta_max\030\033 \001(\002\022,\n$foul_detect" - "_probability_delta_factor\030\034 \001(\002\022$\n\034catch" - "able_area_l_stretch_min\030\035 \001(\002\022$\n\034catchab" - "le_area_l_stretch_max\030\036 \001(\002\"\277\007\n\nPlayerTy" - "pe\0223\n\021register_response\030\001 \001(\0132\030.protos.R" - "egisterResponse\022\n\n\002id\030\002 \001(\005\022\027\n\017stamina_i" - "nc_max\030\003 \001(\002\022\024\n\014player_decay\030\004 \001(\002\022\026\n\016in" - "ertia_moment\030\005 \001(\002\022\027\n\017dash_power_rate\030\006 " - "\001(\002\022\023\n\013player_size\030\007 \001(\002\022\027\n\017kickable_mar" - "gin\030\010 \001(\002\022\021\n\tkick_rand\030\t \001(\002\022\025\n\rextra_st" - "amina\030\n \001(\002\022\022\n\neffort_max\030\013 \001(\002\022\022\n\neffor" - "t_min\030\014 \001(\002\022\027\n\017kick_power_rate\030\r \001(\002\022\037\n\027" - "foul_detect_probability\030\016 \001(\002\022 \n\030catchab" - "le_area_l_stretch\030\017 \001(\002\022\027\n\017unum_far_leng" - "th\030\020 \001(\002\022\033\n\023unum_too_far_length\030\021 \001(\002\022\027\n" - "\017team_far_length\030\022 \001(\002\022\033\n\023team_too_far_l" - "ength\030\023 \001(\002\022%\n\035player_max_observation_le" - "ngth\030\024 \001(\002\022\033\n\023ball_vel_far_length\030\025 \001(\002\022" - "\037\n\027ball_vel_too_far_length\030\026 \001(\002\022#\n\033ball" - "_max_observation_length\030\027 \001(\002\022\033\n\023flag_ch" - "g_far_length\030\030 \001(\002\022\037\n\027flag_chg_too_far_l" - "ength\030\031 \001(\002\022#\n\033flag_max_observation_leng" - "th\030\032 \001(\002\022\025\n\rkickable_area\030\033 \001(\002\022\037\n\027relia" - "ble_catchable_dist\030\034 \001(\002\022\032\n\022max_catchabl" - "e_dist\030\035 \001(\002\022\026\n\016real_speed_max\030\036 \001(\002\022\031\n\021" - "player_speed_max2\030\037 \001(\002\022\027\n\017real_speed_ma" - "x2\030 \001(\002\022!\n\031cycles_to_reach_max_speed\030! " - "\001(\005\022\030\n\020player_speed_max\030\" \001(\002\"\007\n\005Empty*-" - "\n\tViewWidth\022\n\n\006NARROW\020\000\022\n\n\006NORMAL\020\001\022\010\n\004W" - "IDE\020\002*(\n\004Side\022\013\n\007UNKNOWN\020\000\022\010\n\004LEFT\020\001\022\t\n\005" - "RIGHT\020\002*\262\002\n\013LoggerLevel\022\r\n\tNoneLevel\020\000\022\n" - "\n\006SYSTEM\020\001\022\n\n\006SENSOR\020\002\022\t\n\005WORLD\020\004\022\n\n\006ACT" - "ION\020\010\022\r\n\tINTERCEPT\020\020\022\010\n\004KICK\020 \022\010\n\004HOLD\020@" - "\022\014\n\007DRIBBLE\020\200\001\022\t\n\004PASS\020\200\002\022\n\n\005CROSS\020\200\004\022\n\n" - "\005SHOOT\020\200\010\022\n\n\005CLEAR\020\200\020\022\n\n\005BLOCK\020\200 \022\t\n\004MAR" - "K\020\200@\022\021\n\013POSITIONING\020\200\200\001\022\n\n\004ROLE\020\200\200\002\022\n\n\004T" - "EAM\020\200\200\004\022\023\n\rCOMMUNICATION\020\200\200\010\022\016\n\010ANALYZER" - "\020\200\200\020\022\022\n\014ACTION_CHAIN\020\200\200 \022\n\n\004PLAN\020\200\200@*v\n\023" - "InterceptActionType\022!\n\035UNKNOWN_Intercept" - "_Action_Type\020\000\022\r\n\tOMNI_DASH\020\001\022\025\n\021TURN_FO" - "RWARD_DASH\020\002\022\026\n\022TURN_BACKWARD_DASH\020\003*\273\004\n" - "\014GameModeType\022\021\n\rBeforeKickOff\020\000\022\014\n\010Time" - "Over\020\001\022\n\n\006PlayOn\020\002\022\014\n\010KickOff_\020\003\022\013\n\007Kick" - "In_\020\004\022\r\n\tFreeKick_\020\005\022\017\n\013CornerKick_\020\006\022\r\n" - "\tGoalKick_\020\007\022\016\n\nAfterGoal_\020\010\022\014\n\010OffSide_" - "\020\t\022\020\n\014PenaltyKick_\020\n\022\021\n\rFirstHalfOver\020\013\022" - "\t\n\005Pause\020\014\022\t\n\005Human\020\r\022\017\n\013FoulCharge_\020\016\022\r" - "\n\tFoulPush_\020\017\022\031\n\025FoulMultipleAttacker_\020\020" - "\022\020\n\014FoulBallOut_\020\021\022\r\n\tBackPass_\020\022\022\022\n\016Fre" - "eKickFault_\020\023\022\017\n\013CatchFault_\020\024\022\020\n\014IndFre" - "eKick_\020\025\022\021\n\rPenaltySetup_\020\026\022\021\n\rPenaltyRe" - "ady_\020\027\022\021\n\rPenaltyTaken_\020\030\022\020\n\014PenaltyMiss" - "_\020\031\022\021\n\rPenaltyScore_\020\032\022\023\n\017IllegalDefense" - "_\020\033\022\023\n\017PenaltyOnfield_\020\034\022\020\n\014PenaltyFoul_" - "\020\035\022\020\n\014GoalieCatch_\020\036\022\016\n\nExtendHalf\020\037\022\014\n\010" - "MODE_MAX\020 *2\n\tAgentType\022\013\n\007PlayerT\020\000\022\n\n\006" - "CoachT\020\001\022\014\n\010TrainerT\020\0022\234\004\n\004Game\022:\n\020GetPl" - "ayerActions\022\r.protos.State\032\025.protos.Play" - "erActions\"\000\0228\n\017GetCoachActions\022\r.protos." - "State\032\024.protos.CoachActions\"\000\022<\n\021GetTrai" - "nerActions\022\r.protos.State\032\026.protos.Train" - "erActions\"\000\0227\n\017SendInitMessage\022\023.protos." - "InitMessage\032\r.protos.Empty\"\000\0228\n\020SendServ" - "erParams\022\023.protos.ServerParam\032\r.protos.E" - "mpty\"\000\0228\n\020SendPlayerParams\022\023.protos.Play" - "erParam\032\r.protos.Empty\"\000\0225\n\016SendPlayerTy" - "pe\022\022.protos.PlayerType\032\r.protos.Empty\"\000\022" - "\?\n\010Register\022\027.protos.RegisterRequest\032\030.p" - "rotos.RegisterResponse\"\000\022;\n\016SendByeComma" - "nd\022\030.protos.RegisterResponse\032\r.protos.Em" - "pty\"\000b\006proto3" + "er\030\002 \001(\005\022\027\n\017count_threshold\030\003 \001(\005\"=\n\020Nec" + "k_TurnToPoint\022)\n\014target_point\030\001 \001(\0132\023.pr" + "otos.RpcVector2D\"$\n\023Neck_TurnToRelative\022" + "\r\n\005angle\030\001 \001(\002\"9\n\020View_ChangeWidth\022%\n\nvi" + "ew_width\030\001 \001(\0162\021.protos.ViewWidth\"\r\n\013Vie" + "w_Normal\"\014\n\nView_Synch\"\013\n\tView_Wide\"\016\n\014H" + "eliosGoalie\"\022\n\020HeliosGoalieMove\"\022\n\020Helio" + "sGoalieKick\"\r\n\013HeliosShoot\"\356\001\n\021HeliosCha" + "inAction\022\023\n\013direct_pass\030\001 \001(\010\022\021\n\tlead_pa" + "ss\030\002 \001(\010\022\024\n\014through_pass\030\003 \001(\010\022\025\n\rshort_" + "dribble\030\004 \001(\010\022\024\n\014long_dribble\030\005 \001(\010\022\r\n\005c" + "ross\030\006 \001(\010\022\023\n\013simple_pass\030\007 \001(\010\022\026\n\016simpl" + "e_dribble\030\010 \001(\010\022\024\n\014simple_shoot\030\t \001(\010\022\034\n" + "\024server_side_decision\030\n \001(\010\"\026\n\024HeliosBas" + "icOffensive\"\021\n\017HeliosBasicMove\"\017\n\rHelios" + "SetPlay\"\017\n\rHeliosPenalty\"\024\n\022HeliosCommun" + "icaion\"\343\031\n\014PlayerAction\022\034\n\004dash\030\001 \001(\0132\014." + "protos.DashH\000\022\034\n\004turn\030\002 \001(\0132\014.protos.Tur" + "nH\000\022\034\n\004kick\030\003 \001(\0132\014.protos.KickH\000\022 \n\006tac" + "kle\030\004 \001(\0132\016.protos.TackleH\000\022\036\n\005catch\030\005 \001" + "(\0132\r.protos.CatchH\000\022\034\n\004move\030\006 \001(\0132\014.prot" + "os.MoveH\000\022%\n\tturn_neck\030\007 \001(\0132\020.protos.Tu" + "rnNeckH\000\022)\n\013change_view\030\010 \001(\0132\022.protos.C" + "hangeViewH\000\022\032\n\003say\030\t \001(\0132\013.protos.SayH\000\022" + "#\n\010point_to\030\n \001(\0132\017.protos.PointToH\000\022(\n\013" + "point_to_of\030\013 \001(\0132\021.protos.PointToOfH\000\022+" + "\n\014attention_to\030\014 \001(\0132\023.protos.AttentionT" + "oH\000\0220\n\017attention_to_of\030\r \001(\0132\025.protos.At" + "tentionToOfH\000\022\032\n\003log\030\016 \001(\0132\013.protos.LogH" + "\000\022+\n\014debug_client\030\017 \001(\0132\023.protos.DebugCl" + "ientH\000\0222\n\020body_go_to_point\030\020 \001(\0132\026.proto" + "s.Body_GoToPointH\000\0221\n\017body_smart_kick\030\021 " + "\001(\0132\026.protos.Body_SmartKickH\000\0228\n\023bhv_bef" + "ore_kick_off\030\022 \001(\0132\031.protos.Bhv_BeforeKi" + "ckOffH\000\022;\n\025bhv_body_neck_to_ball\030\023 \001(\0132\032" + ".protos.Bhv_BodyNeckToBallH\000\022=\n\026bhv_body" + "_neck_to_point\030\024 \001(\0132\033.protos.Bhv_BodyNe" + "ckToPointH\000\022.\n\rbhv_emergency\030\025 \001(\0132\025.pro" + "tos.Bhv_EmergencyH\000\022B\n\031bhv_go_to_point_l" + "ook_ball\030\026 \001(\0132\035.protos.Bhv_GoToPointLoo" + "kBallH\000\022;\n\025bhv_neck_body_to_ball\030\027 \001(\0132\032" + ".protos.Bhv_NeckBodyToBallH\000\022=\n\026bhv_neck" + "_body_to_point\030\030 \001(\0132\033.protos.Bhv_NeckBo" + "dyToPointH\000\022/\n\016bhv_scan_field\030\031 \001(\0132\025.pr" + "otos.Bhv_ScanFieldH\000\0225\n\021body_advance_bal" + "l\030\032 \001(\0132\030.protos.Body_AdvanceBallH\000\0221\n\017b" + "ody_clear_ball\030\033 \001(\0132\026.protos.Body_Clear" + "BallH\000\022,\n\014body_dribble\030\034 \001(\0132\024.protos.Bo" + "dy_DribbleH\000\022=\n\026body_go_to_point_dodge\030\035" + " \001(\0132\033.protos.Body_GoToPointDodgeH\000\022/\n\016b" + "ody_hold_ball\030\036 \001(\0132\025.protos.Body_HoldBa" + "llH\000\0220\n\016body_intercept\030\037 \001(\0132\026.protos.Bo" + "dy_InterceptH\000\0226\n\022body_kick_one_step\030 \001" + "(\0132\030.protos.Body_KickOneStepH\000\022/\n\016body_s" + "top_ball\030! \001(\0132\025.protos.Body_StopBallH\000\022" + "/\n\016body_stop_dash\030\" \001(\0132\025.protos.Body_St" + "opDashH\000\022:\n\024body_tackle_to_point\030# \001(\0132\032" + ".protos.Body_TackleToPointH\000\0226\n\022body_tur" + "n_to_angle\030$ \001(\0132\030.protos.Body_TurnToAng" + "leH\000\0224\n\021body_turn_to_ball\030% \001(\0132\027.protos" + ".Body_TurnToBallH\000\0226\n\022body_turn_to_point" + "\030& \001(\0132\030.protos.Body_TurnToPointH\000\0228\n\023fo" + "cus_move_to_point\030\' \001(\0132\031.protos.Focus_M" + "oveToPointH\000\022*\n\013focus_reset\030( \001(\0132\023.prot" + "os.Focus_ResetH\000\0221\n\017neck_scan_field\030) \001(" + "\0132\026.protos.Neck_ScanFieldH\000\0225\n\021neck_scan" + "_players\030* \001(\0132\030.protos.Neck_ScanPlayers" + "H\000\022H\n\034neck_turn_to_ball_and_player\030+ \001(\013" + "2 .protos.Neck_TurnToBallAndPlayerH\000\022B\n\031" + "neck_turn_to_ball_or_scan\030, \001(\0132\035.protos" + ".Neck_TurnToBallOrScanH\000\0224\n\021neck_turn_to" + "_ball\030- \001(\0132\027.protos.Neck_TurnToBallH\000\022F" + "\n\033neck_turn_to_goalie_or_scan\030. \001(\0132\037.pr" + "otos.Neck_TurnToGoalieOrScanH\000\022L\n\036neck_t" + "urn_to_low_conf_teammate\030/ \001(\0132\".protos." + "Neck_TurnToLowConfTeammateH\000\022F\n\033neck_tur" + "n_to_player_or_scan\0300 \001(\0132\037.protos.Neck_" + "TurnToPlayerOrScanH\000\0226\n\022neck_turn_to_poi" + "nt\0301 \001(\0132\030.protos.Neck_TurnToPointH\000\022<\n\025" + "neck_turn_to_relative\0302 \001(\0132\033.protos.Nec" + "k_TurnToRelativeH\000\0225\n\021view_change_width\030" + "3 \001(\0132\030.protos.View_ChangeWidthH\000\022*\n\013vie" + "w_normal\0304 \001(\0132\023.protos.View_NormalH\000\022(\n" + "\nview_synch\0305 \001(\0132\022.protos.View_SynchH\000\022" + "&\n\tview_wide\0306 \001(\0132\021.protos.View_WideH\000\022" + "-\n\rhelios_goalie\0307 \001(\0132\024.protos.HeliosGo" + "alieH\000\0226\n\022helios_goalie_move\0308 \001(\0132\030.pro" + "tos.HeliosGoalieMoveH\000\0226\n\022helios_goalie_" + "kick\0309 \001(\0132\030.protos.HeliosGoalieKickH\000\022+" + "\n\014helios_shoot\030: \001(\0132\023.protos.HeliosShoo" + "tH\000\0228\n\023helios_chain_action\030; \001(\0132\031.proto" + "s.HeliosChainActionH\000\022>\n\026helios_basic_of" + "fensive\030< \001(\0132\034.protos.HeliosBasicOffens" + "iveH\000\0224\n\021helios_basic_move\030= \001(\0132\027.proto" + "s.HeliosBasicMoveH\000\0220\n\017helios_set_play\030>" + " \001(\0132\025.protos.HeliosSetPlayH\000\022/\n\016helios_" + "penalty\030\? \001(\0132\025.protos.HeliosPenaltyH\000\022:" + "\n\024helios_communication\030@ \001(\0132\032.protos.He" + "liosCommunicaionH\000B\010\n\006action\"Q\n\rPlayerAc" + "tions\022%\n\007actions\030\001 \003(\0132\024.protos.PlayerAc" + "tion\022\031\n\021ignore_preprocess\030\002 \001(\010\"8\n\020Chang" + "ePlayerType\022\026\n\016uniform_number\030\001 \001(\005\022\014\n\004t" + "ype\030\002 \001(\005\"\024\n\022DoHeliosSubstitute\"\030\n\026DoHel" + "iosSayPlayerTypes\"\322\001\n\013CoachAction\0227\n\023cha" + "nge_player_types\030\001 \001(\0132\030.protos.ChangePl" + "ayerTypeH\000\022:\n\024do_helios_substitute\030\002 \001(\013" + "2\032.protos.DoHeliosSubstituteH\000\022D\n\032do_hel" + "ios_say_player_types\030\003 \001(\0132\036.protos.DoHe" + "liosSayPlayerTypesH\000B\010\n\006action\"4\n\014CoachA" + "ctions\022$\n\007actions\030\001 \003(\0132\023.protos.CoachAc" + "tion\"\013\n\tDoKickOff\"Z\n\nDoMoveBall\022%\n\010posit" + "ion\030\001 \001(\0132\023.protos.RpcVector2D\022%\n\010veloci" + "ty\030\002 \001(\0132\023.protos.RpcVector2D\"w\n\014DoMoveP" + "layer\022\020\n\010our_side\030\001 \001(\010\022\026\n\016uniform_numbe" + "r\030\002 \001(\005\022%\n\010position\030\003 \001(\0132\023.protos.RpcVe" + "ctor2D\022\026\n\016body_direction\030\004 \001(\002\"\013\n\tDoReco" + "ver\"X\n\014DoChangeMode\022,\n\016game_mode_type\030\001 " + "\001(\0162\024.protos.GameModeType\022\032\n\004side\030\002 \001(\0162" + "\014.protos.Side\"L\n\022DoChangePlayerType\022\020\n\010o" + "ur_side\030\001 \001(\010\022\026\n\016uniform_number\030\002 \001(\005\022\014\n" + "\004type\030\003 \001(\005\"\265\002\n\rTrainerAction\022(\n\013do_kick" + "_off\030\001 \001(\0132\021.protos.DoKickOffH\000\022*\n\014do_mo" + "ve_ball\030\002 \001(\0132\022.protos.DoMoveBallH\000\022.\n\016d" + "o_move_player\030\003 \001(\0132\024.protos.DoMovePlaye" + "rH\000\022\'\n\ndo_recover\030\004 \001(\0132\021.protos.DoRecov" + "erH\000\022.\n\016do_change_mode\030\005 \001(\0132\024.protos.Do" + "ChangeModeH\000\022;\n\025do_change_player_type\030\006 " + "\001(\0132\032.protos.DoChangePlayerTypeH\000B\010\n\006act" + "ion\"8\n\016TrainerActions\022&\n\007actions\030\001 \003(\0132\025" + ".protos.TrainerAction\"\335,\n\013ServerParam\0223\n" + "\021register_response\030\001 \001(\0132\030.protos.Regist" + "erResponse\022\026\n\016inertia_moment\030\002 \001(\002\022\023\n\013pl" + "ayer_size\030\003 \001(\002\022\024\n\014player_decay\030\004 \001(\002\022\023\n" + "\013player_rand\030\005 \001(\002\022\025\n\rplayer_weight\030\006 \001(" + "\002\022\030\n\020player_speed_max\030\007 \001(\002\022\030\n\020player_ac" + "cel_max\030\010 \001(\002\022\023\n\013stamina_max\030\t \001(\002\022\027\n\017st" + "amina_inc_max\030\n \001(\002\022\024\n\014recover_init\030\013 \001(" + "\002\022\027\n\017recover_dec_thr\030\014 \001(\002\022\023\n\013recover_mi" + "n\030\r \001(\002\022\023\n\013recover_dec\030\016 \001(\002\022\023\n\013effort_i" + "nit\030\017 \001(\002\022\026\n\016effort_dec_thr\030\020 \001(\002\022\022\n\neff" + "ort_min\030\021 \001(\002\022\022\n\neffort_dec\030\022 \001(\002\022\026\n\016eff" + "ort_inc_thr\030\023 \001(\002\022\022\n\neffort_inc\030\024 \001(\002\022\021\n" + "\tkick_rand\030\025 \001(\002\022\033\n\023team_actuator_noise\030" + "\026 \001(\010\022\034\n\024player_rand_factor_l\030\027 \001(\002\022\034\n\024p" + "layer_rand_factor_r\030\030 \001(\002\022\032\n\022kick_rand_f" + "actor_l\030\031 \001(\002\022\032\n\022kick_rand_factor_r\030\032 \001(" + "\002\022\021\n\tball_size\030\033 \001(\002\022\022\n\nball_decay\030\034 \001(\002" + "\022\021\n\tball_rand\030\035 \001(\002\022\023\n\013ball_weight\030\036 \001(\002" + "\022\026\n\016ball_speed_max\030\037 \001(\002\022\026\n\016ball_accel_m" + "ax\030 \001(\002\022\027\n\017dash_power_rate\030! \001(\002\022\027\n\017kic" + "k_power_rate\030\" \001(\002\022\027\n\017kickable_margin\030# " + "\001(\002\022\026\n\016control_radius\030$ \001(\002\022\034\n\024control_r" + "adius_width\030% \001(\002\022\021\n\tmax_power\030& \001(\002\022\021\n\t" + "min_power\030\' \001(\002\022\022\n\nmax_moment\030( \001(\002\022\022\n\nm" + "in_moment\030) \001(\002\022\027\n\017max_neck_moment\030* \001(\002" + "\022\027\n\017min_neck_moment\030+ \001(\002\022\026\n\016max_neck_an" + "gle\030, \001(\002\022\026\n\016min_neck_angle\030- \001(\002\022\025\n\rvis" + "ible_angle\030. \001(\002\022\030\n\020visible_distance\030/ \001" + "(\002\022\020\n\010wind_dir\0300 \001(\002\022\022\n\nwind_force\0301 \001(\002" + "\022\022\n\nwind_angle\0302 \001(\002\022\021\n\twind_rand\0303 \001(\002\022" + "\025\n\rkickable_area\0304 \001(\002\022\024\n\014catch_area_l\0305" + " \001(\002\022\024\n\014catch_area_w\0306 \001(\002\022\031\n\021catch_prob" + "ability\0307 \001(\002\022\030\n\020goalie_max_moves\0308 \001(\005\022" + "\032\n\022corner_kick_margin\0309 \001(\002\022 \n\030offside_a" + "ctive_area_size\030: \001(\002\022\021\n\twind_none\030; \001(\010" + "\022\027\n\017use_wind_random\030< \001(\010\022\033\n\023coach_say_c" + "ount_max\030= \001(\005\022\032\n\022coach_say_msg_size\030> \001" + "(\005\022\026\n\016clang_win_size\030\? \001(\005\022\030\n\020clang_defi" + "ne_win\030@ \001(\005\022\026\n\016clang_meta_win\030A \001(\005\022\030\n\020" + "clang_advice_win\030B \001(\005\022\026\n\016clang_info_win" + "\030C \001(\005\022\030\n\020clang_mess_delay\030D \001(\005\022\034\n\024clan" + "g_mess_per_cycle\030E \001(\005\022\021\n\thalf_time\030F \001(" + "\005\022\026\n\016simulator_step\030G \001(\005\022\021\n\tsend_step\030H" + " \001(\005\022\021\n\trecv_step\030I \001(\005\022\027\n\017sense_body_st" + "ep\030J \001(\005\022\020\n\010lcm_step\030K \001(\005\022\033\n\023player_say" + "_msg_size\030L \001(\005\022\027\n\017player_hear_max\030M \001(\005" + "\022\027\n\017player_hear_inc\030N \001(\005\022\031\n\021player_hear" + "_decay\030O \001(\005\022\027\n\017catch_ban_cycle\030P \001(\005\022\030\n" + "\020slow_down_factor\030Q \001(\005\022\023\n\013use_offside\030R" + " \001(\010\022\027\n\017kickoff_offside\030S \001(\010\022\033\n\023offside" + "_kick_margin\030T \001(\002\022\026\n\016audio_cut_dist\030U \001" + "(\002\022\032\n\022dist_quantize_step\030V \001(\002\022#\n\033landma" + "rk_dist_quantize_step\030W \001(\002\022\031\n\021dir_quant" + "ize_step\030X \001(\002\022\034\n\024dist_quantize_step_l\030Y" + " \001(\002\022\034\n\024dist_quantize_step_r\030Z \001(\002\022%\n\035la" + "ndmark_dist_quantize_step_l\030[ \001(\002\022%\n\035lan" + "dmark_dist_quantize_step_r\030\\ \001(\002\022\033\n\023dir_" + "quantize_step_l\030] \001(\002\022\033\n\023dir_quantize_st" + "ep_r\030^ \001(\002\022\022\n\ncoach_mode\030_ \001(\010\022\037\n\027coach_" + "with_referee_mode\030` \001(\010\022\032\n\022use_old_coach" + "_hear\030a \001(\010\022%\n\035slowness_on_top_for_left_" + "team\030b \001(\002\022&\n\036slowness_on_top_for_right_" + "team\030c \001(\002\022\024\n\014start_goal_l\030d \001(\005\022\024\n\014star" + "t_goal_r\030e \001(\005\022\023\n\013fullstate_l\030f \001(\010\022\023\n\013f" + "ullstate_r\030g \001(\010\022\026\n\016drop_ball_time\030h \001(\005" + "\022\022\n\nsynch_mode\030i \001(\010\022\024\n\014synch_offset\030j \001" + "(\005\022\031\n\021synch_micro_sleep\030k \001(\005\022\024\n\014point_t" + "o_ban\030l \001(\005\022\031\n\021point_to_duration\030m \001(\005\022\023" + "\n\013player_port\030n \001(\005\022\024\n\014trainer_port\030o \001(" + "\005\022\031\n\021online_coach_port\030p \001(\005\022\024\n\014verbose_" + "mode\030q \001(\010\022\032\n\022coach_send_vi_step\030r \001(\005\022\023" + "\n\013replay_file\030s \001(\t\022\025\n\rlandmark_file\030t \001" + "(\t\022\022\n\nsend_comms\030u \001(\010\022\024\n\014text_logging\030v" + " \001(\010\022\024\n\014game_logging\030w \001(\010\022\030\n\020game_log_v" + "ersion\030x \001(\005\022\024\n\014text_log_dir\030y \001(\t\022\024\n\014ga" + "me_log_dir\030z \001(\t\022\033\n\023text_log_fixed_name\030" + "{ \001(\t\022\033\n\023game_log_fixed_name\030| \001(\t\022\032\n\022us" + "e_text_log_fixed\030} \001(\010\022\032\n\022use_game_log_f" + "ixed\030~ \001(\010\022\032\n\022use_text_log_dated\030\177 \001(\010\022\033" + "\n\022use_game_log_dated\030\200\001 \001(\010\022\030\n\017log_date_" + "format\030\201\001 \001(\t\022\022\n\tlog_times\030\202\001 \001(\010\022\027\n\016rec" + "ord_message\030\203\001 \001(\010\022\035\n\024text_log_compressi" + "on\030\204\001 \001(\005\022\035\n\024game_log_compression\030\205\001 \001(\005" + "\022\024\n\013use_profile\030\206\001 \001(\010\022\024\n\013tackle_dist\030\207\001" + " \001(\002\022\031\n\020tackle_back_dist\030\210\001 \001(\002\022\025\n\014tackl" + "e_width\030\211\001 \001(\002\022\030\n\017tackle_exponent\030\212\001 \001(\002" + "\022\026\n\rtackle_cycles\030\213\001 \001(\005\022\032\n\021tackle_power" + "_rate\030\214\001 \001(\002\022\035\n\024freeform_wait_period\030\215\001 " + "\001(\005\022\035\n\024freeform_send_period\030\216\001 \001(\005\022\031\n\020fr" + "ee_kick_faults\030\217\001 \001(\010\022\024\n\013back_passes\030\220\001 " + "\001(\010\022\032\n\021proper_goal_kicks\030\221\001 \001(\010\022\031\n\020stopp" + "ed_ball_vel\030\222\001 \001(\002\022\027\n\016max_goal_kicks\030\223\001 " + "\001(\005\022\026\n\rclang_del_win\030\224\001 \001(\005\022\027\n\016clang_rul" + "e_win\030\225\001 \001(\005\022\022\n\tauto_mode\030\226\001 \001(\010\022\026\n\rkick" + "_off_wait\030\227\001 \001(\005\022\025\n\014connect_wait\030\230\001 \001(\005\022" + "\027\n\016game_over_wait\030\231\001 \001(\005\022\025\n\014team_l_start" + "\030\232\001 \001(\t\022\025\n\014team_r_start\030\233\001 \001(\t\022\026\n\rkeepaw" + "ay_mode\030\234\001 \001(\010\022\030\n\017keepaway_length\030\235\001 \001(\002" + "\022\027\n\016keepaway_width\030\236\001 \001(\002\022\031\n\020keepaway_lo" + "gging\030\237\001 \001(\010\022\031\n\020keepaway_log_dir\030\240\001 \001(\t\022" + " \n\027keepaway_log_fixed_name\030\241\001 \001(\t\022\033\n\022kee" + "paway_log_fixed\030\242\001 \001(\010\022\033\n\022keepaway_log_d" + "ated\030\243\001 \001(\010\022\027\n\016keepaway_start\030\244\001 \001(\005\022\030\n\017" + "nr_normal_halfs\030\245\001 \001(\005\022\027\n\016nr_extra_halfs" + "\030\246\001 \001(\005\022\033\n\022penalty_shoot_outs\030\247\001 \001(\010\022\036\n\025" + "pen_before_setup_wait\030\250\001 \001(\005\022\027\n\016pen_setu" + "p_wait\030\251\001 \001(\005\022\027\n\016pen_ready_wait\030\252\001 \001(\005\022\027" + "\n\016pen_taken_wait\030\253\001 \001(\005\022\025\n\014pen_nr_kicks\030" + "\254\001 \001(\005\022\034\n\023pen_max_extra_kicks\030\255\001 \001(\005\022\023\n\n" + "pen_dist_x\030\256\001 \001(\002\022\032\n\021pen_random_winner\030\257" + "\001 \001(\010\022\035\n\024pen_allow_mult_kicks\030\260\001 \001(\010\022\036\n\025" + "pen_max_goalie_dist_x\030\261\001 \001(\002\022 \n\027pen_coac" + "h_moves_players\030\262\001 \001(\010\022\023\n\nmodule_dir\030\263\001 " + "\001(\t\022\030\n\017ball_stuck_area\030\264\001 \001(\002\022\027\n\016coach_m" + "sg_file\030\265\001 \001(\t\022\031\n\020max_tackle_power\030\266\001 \001(" + "\002\022\036\n\025max_back_tackle_power\030\267\001 \001(\002\022\035\n\024pla" + "yer_speed_max_min\030\270\001 \001(\002\022\026\n\rextra_stamin" + "a\030\271\001 \001(\002\022\031\n\020synch_see_offset\030\272\001 \001(\005\022\030\n\017e" + "xtra_half_time\030\273\001 \001(\005\022\031\n\020stamina_capacit" + "y\030\274\001 \001(\002\022\027\n\016max_dash_angle\030\275\001 \001(\002\022\027\n\016min" + "_dash_angle\030\276\001 \001(\002\022\030\n\017dash_angle_step\030\277\001" + " \001(\002\022\027\n\016side_dash_rate\030\300\001 \001(\002\022\027\n\016back_da" + "sh_rate\030\301\001 \001(\002\022\027\n\016max_dash_power\030\302\001 \001(\002\022" + "\027\n\016min_dash_power\030\303\001 \001(\002\022\033\n\022tackle_rand_" + "factor\030\304\001 \001(\002\022 \n\027foul_detect_probability" + "\030\305\001 \001(\002\022\026\n\rfoul_exponent\030\306\001 \001(\002\022\024\n\013foul_" + "cycles\030\307\001 \001(\005\022\024\n\013golden_goal\030\310\001 \001(\010\022\035\n\024r" + "ed_card_probability\030\311\001 \001(\002\022!\n\030illegal_de" + "fense_duration\030\312\001 \001(\005\022\037\n\026illegal_defense" + "_number\030\313\001 \001(\005\022\037\n\026illegal_defense_dist_x" + "\030\314\001 \001(\002\022\036\n\025illegal_defense_width\030\315\001 \001(\002\022" + "\031\n\020fixed_teamname_l\030\316\001 \001(\t\022\031\n\020fixed_team" + "name_r\030\317\001 \001(\t\022\030\n\017max_catch_angle\030\320\001 \001(\002\022" + "\030\n\017min_catch_angle\030\321\001 \001(\002\022\024\n\013random_seed" + "\030\322\001 \001(\005\022\037\n\026long_kick_power_factor\030\323\001 \001(\002" + "\022\030\n\017long_kick_delay\030\324\001 \001(\005\022\025\n\014max_monito" + "rs\030\325\001 \001(\005\022\027\n\016catchable_area\030\326\001 \001(\002\022\027\n\016re" + "al_speed_max\030\327\001 \001(\002\022\032\n\021pitch_half_length" + "\030\330\001 \001(\002\022\031\n\020pitch_half_width\030\331\001 \001(\002\022 \n\027ou" + "r_penalty_area_line_x\030\332\001 \001(\002\022\"\n\031their_pe" + "nalty_area_line_x\030\333\001 \001(\002\022 \n\027penalty_area" + "_half_width\030\334\001 \001(\002\022\034\n\023penalty_area_lengt" + "h\030\335\001 \001(\002\022\023\n\ngoal_width\030\336\001 \001(\002\"\215\010\n\013Player" + "Param\0223\n\021register_response\030\001 \001(\0132\030.proto" + "s.RegisterResponse\022\024\n\014player_types\030\002 \001(\005" + "\022\020\n\010subs_max\030\003 \001(\005\022\016\n\006pt_max\030\004 \001(\005\022\037\n\027al" + "low_mult_default_type\030\005 \001(\010\022\"\n\032player_sp" + "eed_max_delta_min\030\006 \001(\002\022\"\n\032player_speed_" + "max_delta_max\030\007 \001(\002\022$\n\034stamina_inc_max_d" + "elta_factor\030\010 \001(\002\022\036\n\026player_decay_delta_" + "min\030\t \001(\002\022\036\n\026player_decay_delta_max\030\n \001(" + "\002\022#\n\033inertia_moment_delta_factor\030\013 \001(\002\022!" + "\n\031dash_power_rate_delta_min\030\014 \001(\002\022!\n\031das" + "h_power_rate_delta_max\030\r \001(\002\022 \n\030player_s" + "ize_delta_factor\030\016 \001(\002\022!\n\031kickable_margi" + "n_delta_min\030\017 \001(\002\022!\n\031kickable_margin_del" + "ta_max\030\020 \001(\002\022\036\n\026kick_rand_delta_factor\030\021" + " \001(\002\022\037\n\027extra_stamina_delta_min\030\022 \001(\002\022\037\n" + "\027extra_stamina_delta_max\030\023 \001(\002\022\037\n\027effort" + "_max_delta_factor\030\024 \001(\002\022\037\n\027effort_min_de" + "lta_factor\030\025 \001(\002\022\023\n\013random_seed\030\026 \001(\005\022%\n" + "\035new_dash_power_rate_delta_min\030\027 \001(\002\022%\n\035" + "new_dash_power_rate_delta_max\030\030 \001(\002\022(\n n" + "ew_stamina_inc_max_delta_factor\030\031 \001(\002\022!\n" + "\031kick_power_rate_delta_min\030\032 \001(\002\022!\n\031kick" + "_power_rate_delta_max\030\033 \001(\002\022,\n$foul_dete" + "ct_probability_delta_factor\030\034 \001(\002\022$\n\034cat" + "chable_area_l_stretch_min\030\035 \001(\002\022$\n\034catch" + "able_area_l_stretch_max\030\036 \001(\002\"\277\007\n\nPlayer" + "Type\0223\n\021register_response\030\001 \001(\0132\030.protos" + ".RegisterResponse\022\n\n\002id\030\002 \001(\005\022\027\n\017stamina" + "_inc_max\030\003 \001(\002\022\024\n\014player_decay\030\004 \001(\002\022\026\n\016" + "inertia_moment\030\005 \001(\002\022\027\n\017dash_power_rate\030" + "\006 \001(\002\022\023\n\013player_size\030\007 \001(\002\022\027\n\017kickable_m" + "argin\030\010 \001(\002\022\021\n\tkick_rand\030\t \001(\002\022\025\n\rextra_" + "stamina\030\n \001(\002\022\022\n\neffort_max\030\013 \001(\002\022\022\n\neff" + "ort_min\030\014 \001(\002\022\027\n\017kick_power_rate\030\r \001(\002\022\037" + "\n\027foul_detect_probability\030\016 \001(\002\022 \n\030catch" + "able_area_l_stretch\030\017 \001(\002\022\027\n\017unum_far_le" + "ngth\030\020 \001(\002\022\033\n\023unum_too_far_length\030\021 \001(\002\022" + "\027\n\017team_far_length\030\022 \001(\002\022\033\n\023team_too_far" + "_length\030\023 \001(\002\022%\n\035player_max_observation_" + "length\030\024 \001(\002\022\033\n\023ball_vel_far_length\030\025 \001(" + "\002\022\037\n\027ball_vel_too_far_length\030\026 \001(\002\022#\n\033ba" + "ll_max_observation_length\030\027 \001(\002\022\033\n\023flag_" + "chg_far_length\030\030 \001(\002\022\037\n\027flag_chg_too_far" + "_length\030\031 \001(\002\022#\n\033flag_max_observation_le" + "ngth\030\032 \001(\002\022\025\n\rkickable_area\030\033 \001(\002\022\037\n\027rel" + "iable_catchable_dist\030\034 \001(\002\022\032\n\022max_catcha" + "ble_dist\030\035 \001(\002\022\026\n\016real_speed_max\030\036 \001(\002\022\031" + "\n\021player_speed_max2\030\037 \001(\002\022\027\n\017real_speed_" + "max2\030 \001(\002\022!\n\031cycles_to_reach_max_speed\030" + "! \001(\005\022\030\n\020player_speed_max\030\" \001(\002\"\255\003\n\024RpcC" + "ooperativeAction\022+\n\010category\030\001 \001(\0162\031.pro" + "tos.RpcActionCategory\022\r\n\005index\030\002 \001(\005\022\023\n\013" + "sender_unum\030\003 \001(\005\022\023\n\013target_unum\030\004 \001(\005\022)" + "\n\014target_point\030\005 \001(\0132\023.protos.RpcVector2" + "D\022\030\n\020first_ball_speed\030\006 \001(\001\022\031\n\021first_tur" + "n_moment\030\007 \001(\001\022\030\n\020first_dash_power\030\010 \001(\001" + "\022!\n\031first_dash_angle_relative\030\t \001(\001\022\025\n\rd" + "uration_step\030\n \001(\005\022\022\n\nkick_count\030\013 \001(\005\022\022" + "\n\nturn_count\030\014 \001(\005\022\022\n\ndash_count\030\r \001(\005\022\024" + "\n\014final_action\030\016 \001(\010\022\023\n\013description\030\017 \001(" + "\t\022\024\n\014parent_index\030\020 \001(\005\"\317\001\n\017RpcPredictSt" + "ate\022\022\n\nspend_time\030\001 \001(\005\022\030\n\020ball_holder_u" + "num\030\002 \001(\005\022*\n\rball_position\030\003 \001(\0132\023.proto" + "s.RpcVector2D\022*\n\rball_velocity\030\004 \001(\0132\023.p" + "rotos.RpcVector2D\022\032\n\022our_defense_line_x\030" + "\005 \001(\001\022\032\n\022our_offense_line_x\030\006 \001(\001\"\206\001\n\022Rp" + "cActionStatePair\022,\n\006action\030\001 \001(\0132\034.proto" + "s.RpcCooperativeAction\022.\n\rpredict_state\030" + "\002 \001(\0132\027.protos.RpcPredictState\022\022\n\nevalua" + "tion\030\003 \001(\001\"\264\001\n\023RpcActionStatePairs\0225\n\005pa" + "irs\030\001 \003(\0132&.protos.RpcActionStatePairs.P" + "airsEntry\022\034\n\005state\030\002 \001(\0132\r.protos.State\032" + "H\n\nPairsEntry\022\013\n\003key\030\001 \001(\005\022)\n\005value\030\002 \001(" + "\0132\032.protos.RpcActionStatePair:\0028\001\"$\n\023Bes" + "tActionStatePair\022\r\n\005index\030\001 \001(\005\"\007\n\005Empty" + "*-\n\tViewWidth\022\n\n\006NARROW\020\000\022\n\n\006NORMAL\020\001\022\010\n" + "\004WIDE\020\002*(\n\004Side\022\013\n\007UNKNOWN\020\000\022\010\n\004LEFT\020\001\022\t" + "\n\005RIGHT\020\002*\262\002\n\013LoggerLevel\022\r\n\tNoneLevel\020\000" + "\022\n\n\006SYSTEM\020\001\022\n\n\006SENSOR\020\002\022\t\n\005WORLD\020\004\022\n\n\006A" + "CTION\020\010\022\r\n\tINTERCEPT\020\020\022\010\n\004KICK\020 \022\010\n\004HOLD" + "\020@\022\014\n\007DRIBBLE\020\200\001\022\t\n\004PASS\020\200\002\022\n\n\005CROSS\020\200\004\022" + "\n\n\005SHOOT\020\200\010\022\n\n\005CLEAR\020\200\020\022\n\n\005BLOCK\020\200 \022\t\n\004M" + "ARK\020\200@\022\021\n\013POSITIONING\020\200\200\001\022\n\n\004ROLE\020\200\200\002\022\n\n" + "\004TEAM\020\200\200\004\022\023\n\rCOMMUNICATION\020\200\200\010\022\016\n\010ANALYZ" + "ER\020\200\200\020\022\022\n\014ACTION_CHAIN\020\200\200 \022\n\n\004PLAN\020\200\200@*v" + "\n\023InterceptActionType\022!\n\035UNKNOWN_Interce" + "pt_Action_Type\020\000\022\r\n\tOMNI_DASH\020\001\022\025\n\021TURN_" + "FORWARD_DASH\020\002\022\026\n\022TURN_BACKWARD_DASH\020\003*\273" + "\004\n\014GameModeType\022\021\n\rBeforeKickOff\020\000\022\014\n\010Ti" + "meOver\020\001\022\n\n\006PlayOn\020\002\022\014\n\010KickOff_\020\003\022\013\n\007Ki" + "ckIn_\020\004\022\r\n\tFreeKick_\020\005\022\017\n\013CornerKick_\020\006\022" + "\r\n\tGoalKick_\020\007\022\016\n\nAfterGoal_\020\010\022\014\n\010OffSid" + "e_\020\t\022\020\n\014PenaltyKick_\020\n\022\021\n\rFirstHalfOver\020" + "\013\022\t\n\005Pause\020\014\022\t\n\005Human\020\r\022\017\n\013FoulCharge_\020\016" + "\022\r\n\tFoulPush_\020\017\022\031\n\025FoulMultipleAttacker_" + "\020\020\022\020\n\014FoulBallOut_\020\021\022\r\n\tBackPass_\020\022\022\022\n\016F" + "reeKickFault_\020\023\022\017\n\013CatchFault_\020\024\022\020\n\014IndF" + "reeKick_\020\025\022\021\n\rPenaltySetup_\020\026\022\021\n\rPenalty" + "Ready_\020\027\022\021\n\rPenaltyTaken_\020\030\022\020\n\014PenaltyMi" + "ss_\020\031\022\021\n\rPenaltyScore_\020\032\022\023\n\017IllegalDefen" + "se_\020\033\022\023\n\017PenaltyOnfield_\020\034\022\020\n\014PenaltyFou" + "l_\020\035\022\020\n\014GoalieCatch_\020\036\022\016\n\nExtendHalf\020\037\022\014" + "\n\010MODE_MAX\020 *2\n\tAgentType\022\013\n\007PlayerT\020\000\022\n" + "\n\006CoachT\020\001\022\014\n\010TrainerT\020\002*w\n\021RpcActionCat" + "egory\022\013\n\007AC_Hold\020\000\022\016\n\nAC_Dribble\020\001\022\013\n\007AC" + "_Pass\020\002\022\014\n\010AC_Shoot\020\003\022\014\n\010AC_Clear\020\004\022\013\n\007A" + "C_Move\020\005\022\017\n\013AC_NoAction\020\0062\360\004\n\004Game\022:\n\020Ge" + "tPlayerActions\022\r.protos.State\032\025.protos.P" + "layerActions\"\000\0228\n\017GetCoachActions\022\r.prot" + "os.State\032\024.protos.CoachActions\"\000\022<\n\021GetT" + "rainerActions\022\r.protos.State\032\026.protos.Tr" + "ainerActions\"\000\0227\n\017SendInitMessage\022\023.prot" + "os.InitMessage\032\r.protos.Empty\"\000\0228\n\020SendS" + "erverParams\022\023.protos.ServerParam\032\r.proto" + "s.Empty\"\000\0228\n\020SendPlayerParams\022\023.protos.P" + "layerParam\032\r.protos.Empty\"\000\0225\n\016SendPlaye" + "rType\022\022.protos.PlayerType\032\r.protos.Empty" + "\"\000\022\?\n\010Register\022\027.protos.RegisterRequest\032" + "\030.protos.RegisterResponse\"\000\022;\n\016SendByeCo" + "mmand\022\030.protos.RegisterResponse\032\r.protos" + ".Empty\"\000\022R\n\024GetBestPlannerAction\022\033.proto" + "s.RpcActionStatePairs\032\033.protos.BestActio" + "nStatePair\"\000b\006proto3" }; static ::absl::once_flag descriptor_table_service_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_service_2eproto = { false, false, - 27013, + 28300, descriptor_table_protodef_service_2eproto, "service.proto", &descriptor_table_service_2eproto_once, nullptr, 0, - 128, + 134, schemas, file_default_instances, TableStruct_service_2eproto::offsets, @@ -6491,6 +6790,24 @@ bool AgentType_IsValid(int value) { return false; } } +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* RpcActionCategory_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_service_2eproto); + return file_level_enum_descriptors_service_2eproto[6]; +} +bool RpcActionCategory_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + return true; + default: + return false; + } +} // =================================================================== class RpcVector2D::_Internal { @@ -13118,7 +13435,9 @@ State::State(const State& from) , /*decltype(_impl_._cached_size_)*/{} , decltype(_impl_.register_response_){nullptr} , decltype(_impl_.world_model_){nullptr} - , decltype(_impl_.full_world_model_){nullptr}}; + , decltype(_impl_.full_world_model_){nullptr} + , decltype(_impl_.need_preprocess_) {} + }; _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { @@ -13130,6 +13449,7 @@ State::State(const State& from) if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) { _this->_impl_.full_world_model_ = new ::protos::WorldModel(*from._impl_.full_world_model_); } + _this->_impl_.need_preprocess_ = from._impl_.need_preprocess_; // @@protoc_insertion_point(copy_constructor:protos.State) } @@ -13141,6 +13461,8 @@ inline void State::SharedCtor(::_pb::Arena* arena) { , decltype(_impl_.register_response_){nullptr} , decltype(_impl_.world_model_){nullptr} , decltype(_impl_.full_world_model_){nullptr} + , decltype(_impl_.need_preprocess_) { false } + }; } @@ -13185,6 +13507,7 @@ void State::Clear() { _impl_.full_world_model_->Clear(); } } + _impl_.need_preprocess_ = false; _impl_._has_bits_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -13223,6 +13546,15 @@ const char* State::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { goto handle_unusual; } continue; + // bool need_preprocess = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.need_preprocess_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; default: goto handle_unusual; } // switch @@ -13275,6 +13607,13 @@ ::uint8_t* State::_InternalSerialize( _Internal::full_world_model(this).GetCachedSize(), target, stream); } + // bool need_preprocess = 4; + if (this->_internal_need_preprocess() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_need_preprocess(), target); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -13315,6 +13654,11 @@ ::size_t State::ByteSizeLong() const { } } + // bool need_preprocess = 4; + if (this->_internal_need_preprocess() != 0) { + total_size += 2; + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } @@ -13348,6 +13692,9 @@ void State::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF from._internal_full_world_model()); } } + if (from._internal_need_preprocess() != 0) { + _this->_internal_set_need_preprocess(from._internal_need_preprocess()); + } _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -13367,8 +13714,8 @@ void State::InternalSwap(State* other) { _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(State, _impl_.full_world_model_) - + sizeof(State::_impl_.full_world_model_) + PROTOBUF_FIELD_OFFSET(State, _impl_.need_preprocess_) + + sizeof(State::_impl_.need_preprocess_) - PROTOBUF_FIELD_OFFSET(State, _impl_.register_response_)>( reinterpret_cast(&_impl_.register_response_), reinterpret_cast(&other->_impl_.register_response_)); @@ -33495,6 +33842,8 @@ inline void HeliosChainAction::SharedCtor(::_pb::Arena* arena) { , decltype(_impl_.simple_shoot_) { false } + , decltype(_impl_.server_side_decision_) { false } + , /*decltype(_impl_._cached_size_)*/{} }; } @@ -33523,8 +33872,8 @@ void HeliosChainAction::Clear() { (void) cached_has_bits; ::memset(&_impl_.direct_pass_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.simple_shoot_) - - reinterpret_cast(&_impl_.direct_pass_)) + sizeof(_impl_.simple_shoot_)); + reinterpret_cast(&_impl_.server_side_decision_) - + reinterpret_cast(&_impl_.direct_pass_)) + sizeof(_impl_.server_side_decision_)); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -33615,6 +33964,15 @@ const char* HeliosChainAction::_InternalParse(const char* ptr, ::_pbi::ParseCont goto handle_unusual; } continue; + // bool server_side_decision = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 80)) { + _impl_.server_side_decision_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; default: goto handle_unusual; } // switch @@ -33707,6 +34065,13 @@ ::uint8_t* HeliosChainAction::_InternalSerialize( 9, this->_internal_simple_shoot(), target); } + // bool server_side_decision = 10; + if (this->_internal_server_side_decision() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 10, this->_internal_server_side_decision(), target); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -33768,6 +34133,11 @@ ::size_t HeliosChainAction::ByteSizeLong() const { total_size += 2; } + // bool server_side_decision = 10; + if (this->_internal_server_side_decision() != 0) { + total_size += 2; + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } @@ -33813,6 +34183,9 @@ void HeliosChainAction::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, cons if (from._internal_simple_shoot() != 0) { _this->_internal_set_simple_shoot(from._internal_simple_shoot()); } + if (from._internal_server_side_decision() != 0) { + _this->_internal_set_server_side_decision(from._internal_server_side_decision()); + } _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -33831,8 +34204,8 @@ void HeliosChainAction::InternalSwap(HeliosChainAction* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(HeliosChainAction, _impl_.simple_shoot_) - + sizeof(HeliosChainAction::_impl_.simple_shoot_) + PROTOBUF_FIELD_OFFSET(HeliosChainAction, _impl_.server_side_decision_) + + sizeof(HeliosChainAction::_impl_.server_side_decision_) - PROTOBUF_FIELD_OFFSET(HeliosChainAction, _impl_.direct_pass_)>( reinterpret_cast(&_impl_.direct_pass_), reinterpret_cast(&other->_impl_.direct_pass_)); @@ -37951,9 +38324,12 @@ PlayerActions::PlayerActions(const PlayerActions& from) PlayerActions* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.actions_){from._impl_.actions_} + , decltype(_impl_.ignore_preprocess_) {} + , /*decltype(_impl_._cached_size_)*/{}}; _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.ignore_preprocess_ = from._impl_.ignore_preprocess_; // @@protoc_insertion_point(copy_constructor:protos.PlayerActions) } @@ -37961,6 +38337,8 @@ inline void PlayerActions::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.actions_){arena} + , decltype(_impl_.ignore_preprocess_) { false } + , /*decltype(_impl_._cached_size_)*/{} }; } @@ -37990,6 +38368,7 @@ void PlayerActions::Clear() { (void) cached_has_bits; _internal_mutable_actions()->Clear(); + _impl_.ignore_preprocess_ = false; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -38013,187 +38392,213 @@ const char* PlayerActions::_InternalParse(const char* ptr, ::_pbi::ParseContext* goto handle_unusual; } continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -::uint8_t* PlayerActions::_InternalSerialize( - ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:protos.PlayerActions) - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .protos.PlayerAction actions = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_actions_size()); i < n; i++) { - const auto& repfield = this->_internal_actions(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:protos.PlayerActions) - return target; -} - -::size_t PlayerActions::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:protos.PlayerActions) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .protos.PlayerAction actions = 1; - total_size += 1UL * this->_internal_actions_size(); - for (const auto& msg : this->_internal_actions()) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PlayerActions::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - PlayerActions::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PlayerActions::GetClassData() const { return &_class_data_; } - - -void PlayerActions::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:protos.PlayerActions) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_internal_mutable_actions()->MergeFrom(from._internal_actions()); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void PlayerActions::CopyFrom(const PlayerActions& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:protos.PlayerActions) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PlayerActions::IsInitialized() const { - return true; -} - -void PlayerActions::InternalSwap(PlayerActions* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _internal_mutable_actions()->InternalSwap(other->_internal_mutable_actions()); -} - -::PROTOBUF_NAMESPACE_ID::Metadata PlayerActions::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_service_2eproto_getter, &descriptor_table_service_2eproto_once, - file_level_metadata_service_2eproto[110]); -} -// =================================================================== - -class ChangePlayerType::_Internal { - public: -}; - -ChangePlayerType::ChangePlayerType(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::Message(arena) { - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:protos.ChangePlayerType) -} -ChangePlayerType::ChangePlayerType(const ChangePlayerType& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( - from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:protos.ChangePlayerType) -} - -inline void ChangePlayerType::SharedCtor(::_pb::Arena* arena) { - (void)arena; - new (&_impl_) Impl_{ - decltype(_impl_.uniform_number_) { 0 } - - , decltype(_impl_.type_) { 0 } - - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -ChangePlayerType::~ChangePlayerType() { - // @@protoc_insertion_point(destructor:protos.ChangePlayerType) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ChangePlayerType::SharedDtor() { - ABSL_DCHECK(GetArenaForAllocation() == nullptr); -} - -void ChangePlayerType::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ChangePlayerType::Clear() { -// @@protoc_insertion_point(message_clear_start:protos.ChangePlayerType) - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - ::memset(&_impl_.uniform_number_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.type_) - - reinterpret_cast(&_impl_.uniform_number_)) + sizeof(_impl_.type_)); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ChangePlayerType::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // int32 uniform_number = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { - _impl_.uniform_number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else { - goto handle_unusual; - } - continue; - // int32 type = 2; + // bool ignore_preprocess = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { - _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + _impl_.ignore_preprocess_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* PlayerActions::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:protos.PlayerActions) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .protos.PlayerAction actions = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_actions_size()); i < n; i++) { + const auto& repfield = this->_internal_actions(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); + } + + // bool ignore_preprocess = 2; + if (this->_internal_ignore_preprocess() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_ignore_preprocess(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:protos.PlayerActions) + return target; +} + +::size_t PlayerActions::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:protos.PlayerActions) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated .protos.PlayerAction actions = 1; + total_size += 1UL * this->_internal_actions_size(); + for (const auto& msg : this->_internal_actions()) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // bool ignore_preprocess = 2; + if (this->_internal_ignore_preprocess() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PlayerActions::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PlayerActions::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PlayerActions::GetClassData() const { return &_class_data_; } + + +void PlayerActions::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:protos.PlayerActions) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_actions()->MergeFrom(from._internal_actions()); + if (from._internal_ignore_preprocess() != 0) { + _this->_internal_set_ignore_preprocess(from._internal_ignore_preprocess()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PlayerActions::CopyFrom(const PlayerActions& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:protos.PlayerActions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PlayerActions::IsInitialized() const { + return true; +} + +void PlayerActions::InternalSwap(PlayerActions* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _internal_mutable_actions()->InternalSwap(other->_internal_mutable_actions()); + + swap(_impl_.ignore_preprocess_, other->_impl_.ignore_preprocess_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PlayerActions::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_service_2eproto_getter, &descriptor_table_service_2eproto_once, + file_level_metadata_service_2eproto[110]); +} +// =================================================================== + +class ChangePlayerType::_Internal { + public: +}; + +ChangePlayerType::ChangePlayerType(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:protos.ChangePlayerType) +} +ChangePlayerType::ChangePlayerType(const ChangePlayerType& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:protos.ChangePlayerType) +} + +inline void ChangePlayerType::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.uniform_number_) { 0 } + + , decltype(_impl_.type_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +ChangePlayerType::~ChangePlayerType() { + // @@protoc_insertion_point(destructor:protos.ChangePlayerType) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void ChangePlayerType::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void ChangePlayerType::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void ChangePlayerType::Clear() { +// @@protoc_insertion_point(message_clear_start:protos.ChangePlayerType) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.uniform_number_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.type_) - + reinterpret_cast(&_impl_.uniform_number_)) + sizeof(_impl_.type_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* ChangePlayerType::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // int32 uniform_number = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.uniform_number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 type = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); } else { goto handle_unusual; @@ -51656,136 +52061,2000 @@ ::PROTOBUF_NAMESPACE_ID::Metadata PlayerType::GetMetadata() const { } // =================================================================== -class Empty::_Internal { +class RpcCooperativeAction::_Internal { public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RpcCooperativeAction, _impl_._has_bits_); + static const ::protos::RpcVector2D& target_point(const RpcCooperativeAction* msg); + static void set_has_target_point(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } }; -Empty::Empty(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena) { - // @@protoc_insertion_point(arena_constructor:protos.Empty) +const ::protos::RpcVector2D& +RpcCooperativeAction::_Internal::target_point(const RpcCooperativeAction* msg) { + return *msg->_impl_.target_point_; } -Empty::Empty(const Empty& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - Empty* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:protos.Empty) +RpcCooperativeAction::RpcCooperativeAction(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:protos.RpcCooperativeAction) } +RpcCooperativeAction::RpcCooperativeAction(const RpcCooperativeAction& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + RpcCooperativeAction* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.description_) {} + , decltype(_impl_.target_point_){nullptr} + , decltype(_impl_.category_) {} + , decltype(_impl_.index_) {} + , decltype(_impl_.sender_unum_) {} + , decltype(_impl_.target_unum_) {} -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Empty::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Empty::GetClassData() const { return &_class_data_; } + , decltype(_impl_.first_ball_speed_) {} + , decltype(_impl_.first_turn_moment_) {} + , decltype(_impl_.first_dash_power_) {} + , decltype(_impl_.first_dash_angle_relative_) {} + , decltype(_impl_.duration_step_) {} + , decltype(_impl_.kick_count_) {} + , decltype(_impl_.turn_count_) {} -::PROTOBUF_NAMESPACE_ID::Metadata Empty::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_service_2eproto_getter, &descriptor_table_service_2eproto_once, - file_level_metadata_service_2eproto[127]); -} -// @@protoc_insertion_point(namespace_scope) -} // namespace protos -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::protos::RpcVector2D* -Arena::CreateMaybeMessage< ::protos::RpcVector2D >(Arena* arena) { - return Arena::CreateMessageInternal< ::protos::RpcVector2D >(arena); -} -template<> PROTOBUF_NOINLINE ::protos::RegisterRequest* -Arena::CreateMaybeMessage< ::protos::RegisterRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::protos::RegisterRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::protos::RegisterResponse* -Arena::CreateMaybeMessage< ::protos::RegisterResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::protos::RegisterResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::protos::Ball* -Arena::CreateMaybeMessage< ::protos::Ball >(Arena* arena) { - return Arena::CreateMessageInternal< ::protos::Ball >(arena); -} -template<> PROTOBUF_NOINLINE ::protos::Player* -Arena::CreateMaybeMessage< ::protos::Player >(Arena* arena) { - return Arena::CreateMessageInternal< ::protos::Player >(arena); -} -template<> PROTOBUF_NOINLINE ::protos::Self* -Arena::CreateMaybeMessage< ::protos::Self >(Arena* arena) { - return Arena::CreateMessageInternal< ::protos::Self >(arena); -} -template<> PROTOBUF_NOINLINE ::protos::InterceptInfo* -Arena::CreateMaybeMessage< ::protos::InterceptInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::protos::InterceptInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::protos::InterceptTable* -Arena::CreateMaybeMessage< ::protos::InterceptTable >(Arena* arena) { - return Arena::CreateMessageInternal< ::protos::InterceptTable >(arena); -} -template<> PROTOBUF_NOINLINE ::protos::WorldModel_OurPlayersDictEntry_DoNotUse* -Arena::CreateMaybeMessage< ::protos::WorldModel_OurPlayersDictEntry_DoNotUse >(Arena* arena) { - return Arena::CreateMessageInternal< ::protos::WorldModel_OurPlayersDictEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::protos::WorldModel_TheirPlayersDictEntry_DoNotUse* -Arena::CreateMaybeMessage< ::protos::WorldModel_TheirPlayersDictEntry_DoNotUse >(Arena* arena) { - return Arena::CreateMessageInternal< ::protos::WorldModel_TheirPlayersDictEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::protos::WorldModel_HeliosHomePositionsEntry_DoNotUse* -Arena::CreateMaybeMessage< ::protos::WorldModel_HeliosHomePositionsEntry_DoNotUse >(Arena* arena) { - return Arena::CreateMessageInternal< ::protos::WorldModel_HeliosHomePositionsEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::protos::WorldModel* -Arena::CreateMaybeMessage< ::protos::WorldModel >(Arena* arena) { - return Arena::CreateMessageInternal< ::protos::WorldModel >(arena); -} -template<> PROTOBUF_NOINLINE ::protos::State* -Arena::CreateMaybeMessage< ::protos::State >(Arena* arena) { - return Arena::CreateMessageInternal< ::protos::State >(arena); -} -template<> PROTOBUF_NOINLINE ::protos::InitMessage* -Arena::CreateMaybeMessage< ::protos::InitMessage >(Arena* arena) { - return Arena::CreateMessageInternal< ::protos::InitMessage >(arena); -} -template<> PROTOBUF_NOINLINE ::protos::Dash* -Arena::CreateMaybeMessage< ::protos::Dash >(Arena* arena) { - return Arena::CreateMessageInternal< ::protos::Dash >(arena); -} -template<> PROTOBUF_NOINLINE ::protos::Turn* -Arena::CreateMaybeMessage< ::protos::Turn >(Arena* arena) { - return Arena::CreateMessageInternal< ::protos::Turn >(arena); -} -template<> PROTOBUF_NOINLINE ::protos::Kick* -Arena::CreateMaybeMessage< ::protos::Kick >(Arena* arena) { - return Arena::CreateMessageInternal< ::protos::Kick >(arena); + , decltype(_impl_.dash_count_) {} + + , decltype(_impl_.final_action_) {} + + , decltype(_impl_.parent_index_) {} + }; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.description_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.description_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_description().empty()) { + _this->_impl_.description_.Set(from._internal_description(), _this->GetArenaForAllocation()); + } + if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { + _this->_impl_.target_point_ = new ::protos::RpcVector2D(*from._impl_.target_point_); + } + ::memcpy(&_impl_.category_, &from._impl_.category_, + static_cast<::size_t>(reinterpret_cast(&_impl_.parent_index_) - + reinterpret_cast(&_impl_.category_)) + sizeof(_impl_.parent_index_)); + // @@protoc_insertion_point(copy_constructor:protos.RpcCooperativeAction) } -template<> PROTOBUF_NOINLINE ::protos::Tackle* -Arena::CreateMaybeMessage< ::protos::Tackle >(Arena* arena) { - return Arena::CreateMessageInternal< ::protos::Tackle >(arena); + +inline void RpcCooperativeAction::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.description_) {} + + , decltype(_impl_.target_point_){nullptr} + , decltype(_impl_.category_) { 0 } + + , decltype(_impl_.index_) { 0 } + + , decltype(_impl_.sender_unum_) { 0 } + + , decltype(_impl_.target_unum_) { 0 } + + , decltype(_impl_.first_ball_speed_) { 0 } + + , decltype(_impl_.first_turn_moment_) { 0 } + + , decltype(_impl_.first_dash_power_) { 0 } + + , decltype(_impl_.first_dash_angle_relative_) { 0 } + + , decltype(_impl_.duration_step_) { 0 } + + , decltype(_impl_.kick_count_) { 0 } + + , decltype(_impl_.turn_count_) { 0 } + + , decltype(_impl_.dash_count_) { 0 } + + , decltype(_impl_.final_action_) { false } + + , decltype(_impl_.parent_index_) { 0 } + + }; + _impl_.description_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.description_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -template<> PROTOBUF_NOINLINE ::protos::Catch* -Arena::CreateMaybeMessage< ::protos::Catch >(Arena* arena) { - return Arena::CreateMessageInternal< ::protos::Catch >(arena); + +RpcCooperativeAction::~RpcCooperativeAction() { + // @@protoc_insertion_point(destructor:protos.RpcCooperativeAction) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); } -template<> PROTOBUF_NOINLINE ::protos::Move* -Arena::CreateMaybeMessage< ::protos::Move >(Arena* arena) { - return Arena::CreateMessageInternal< ::protos::Move >(arena); + +inline void RpcCooperativeAction::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.description_.Destroy(); + if (this != internal_default_instance()) delete _impl_.target_point_; } -template<> PROTOBUF_NOINLINE ::protos::TurnNeck* -Arena::CreateMaybeMessage< ::protos::TurnNeck >(Arena* arena) { - return Arena::CreateMessageInternal< ::protos::TurnNeck >(arena); + +void RpcCooperativeAction::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); } -template<> PROTOBUF_NOINLINE ::protos::ChangeView* -Arena::CreateMaybeMessage< ::protos::ChangeView >(Arena* arena) { - return Arena::CreateMessageInternal< ::protos::ChangeView >(arena); + +void RpcCooperativeAction::Clear() { +// @@protoc_insertion_point(message_clear_start:protos.RpcCooperativeAction) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.description_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.target_point_ != nullptr); + _impl_.target_point_->Clear(); + } + ::memset(&_impl_.category_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.parent_index_) - + reinterpret_cast(&_impl_.category_)) + sizeof(_impl_.parent_index_)); + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -template<> PROTOBUF_NOINLINE ::protos::BallMessage* -Arena::CreateMaybeMessage< ::protos::BallMessage >(Arena* arena) { - return Arena::CreateMessageInternal< ::protos::BallMessage >(arena); + +const char* RpcCooperativeAction::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .protos.RpcActionCategory category = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + ::int32_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + _internal_set_category(static_cast<::protos::RpcActionCategory>(val)); + } else { + goto handle_unusual; + } + continue; + // int32 index = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 sender_unum = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.sender_unum_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 target_unum = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.target_unum_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .protos.RpcVector2D target_point = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_target_point(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // double first_ball_speed = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 49)) { + _impl_.first_ball_speed_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(double); + } else { + goto handle_unusual; + } + continue; + // double first_turn_moment = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 57)) { + _impl_.first_turn_moment_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(double); + } else { + goto handle_unusual; + } + continue; + // double first_dash_power = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 65)) { + _impl_.first_dash_power_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(double); + } else { + goto handle_unusual; + } + continue; + // double first_dash_angle_relative = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 73)) { + _impl_.first_dash_angle_relative_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(double); + } else { + goto handle_unusual; + } + continue; + // int32 duration_step = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 80)) { + _impl_.duration_step_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 kick_count = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 88)) { + _impl_.kick_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 turn_count = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 96)) { + _impl_.turn_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 dash_count = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 104)) { + _impl_.dash_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool final_action = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 112)) { + _impl_.final_action_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // string description = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 122)) { + auto str = _internal_mutable_description(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "protos.RpcCooperativeAction.description")); + } else { + goto handle_unusual; + } + continue; + // int32 parent_index = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 128)) { + _impl_.parent_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* RpcCooperativeAction::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:protos.RpcCooperativeAction) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .protos.RpcActionCategory category = 1; + if (this->_internal_category() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this->_internal_category(), target); + } + + // int32 index = 2; + if (this->_internal_index() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 2, this->_internal_index(), target); + } + + // int32 sender_unum = 3; + if (this->_internal_sender_unum() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 3, this->_internal_sender_unum(), target); + } + + // int32 target_unum = 4; + if (this->_internal_target_unum() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 4, this->_internal_target_unum(), target); + } + + cached_has_bits = _impl_._has_bits_[0]; + // .protos.RpcVector2D target_point = 5; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::target_point(this), + _Internal::target_point(this).GetCachedSize(), target, stream); + } + + // double first_ball_speed = 6; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_first_ball_speed = this->_internal_first_ball_speed(); + ::uint64_t raw_first_ball_speed; + memcpy(&raw_first_ball_speed, &tmp_first_ball_speed, sizeof(tmp_first_ball_speed)); + if (raw_first_ball_speed != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 6, this->_internal_first_ball_speed(), target); + } + + // double first_turn_moment = 7; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_first_turn_moment = this->_internal_first_turn_moment(); + ::uint64_t raw_first_turn_moment; + memcpy(&raw_first_turn_moment, &tmp_first_turn_moment, sizeof(tmp_first_turn_moment)); + if (raw_first_turn_moment != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 7, this->_internal_first_turn_moment(), target); + } + + // double first_dash_power = 8; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_first_dash_power = this->_internal_first_dash_power(); + ::uint64_t raw_first_dash_power; + memcpy(&raw_first_dash_power, &tmp_first_dash_power, sizeof(tmp_first_dash_power)); + if (raw_first_dash_power != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 8, this->_internal_first_dash_power(), target); + } + + // double first_dash_angle_relative = 9; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_first_dash_angle_relative = this->_internal_first_dash_angle_relative(); + ::uint64_t raw_first_dash_angle_relative; + memcpy(&raw_first_dash_angle_relative, &tmp_first_dash_angle_relative, sizeof(tmp_first_dash_angle_relative)); + if (raw_first_dash_angle_relative != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 9, this->_internal_first_dash_angle_relative(), target); + } + + // int32 duration_step = 10; + if (this->_internal_duration_step() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 10, this->_internal_duration_step(), target); + } + + // int32 kick_count = 11; + if (this->_internal_kick_count() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 11, this->_internal_kick_count(), target); + } + + // int32 turn_count = 12; + if (this->_internal_turn_count() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 12, this->_internal_turn_count(), target); + } + + // int32 dash_count = 13; + if (this->_internal_dash_count() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 13, this->_internal_dash_count(), target); + } + + // bool final_action = 14; + if (this->_internal_final_action() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 14, this->_internal_final_action(), target); + } + + // string description = 15; + if (!this->_internal_description().empty()) { + const std::string& _s = this->_internal_description(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "protos.RpcCooperativeAction.description"); + target = stream->WriteStringMaybeAliased(15, _s, target); + } + + // int32 parent_index = 16; + if (this->_internal_parent_index() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 16, this->_internal_parent_index(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:protos.RpcCooperativeAction) + return target; +} + +::size_t RpcCooperativeAction::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:protos.RpcCooperativeAction) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string description = 15; + if (!this->_internal_description().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_description()); + } + + // .protos.RpcVector2D target_point = 5; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.target_point_); + } + + // .protos.RpcActionCategory category = 1; + if (this->_internal_category() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_category()); + } + + // int32 index = 2; + if (this->_internal_index() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_index()); + } + + // int32 sender_unum = 3; + if (this->_internal_sender_unum() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_sender_unum()); + } + + // int32 target_unum = 4; + if (this->_internal_target_unum() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_target_unum()); + } + + // double first_ball_speed = 6; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_first_ball_speed = this->_internal_first_ball_speed(); + ::uint64_t raw_first_ball_speed; + memcpy(&raw_first_ball_speed, &tmp_first_ball_speed, sizeof(tmp_first_ball_speed)); + if (raw_first_ball_speed != 0) { + total_size += 9; + } + + // double first_turn_moment = 7; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_first_turn_moment = this->_internal_first_turn_moment(); + ::uint64_t raw_first_turn_moment; + memcpy(&raw_first_turn_moment, &tmp_first_turn_moment, sizeof(tmp_first_turn_moment)); + if (raw_first_turn_moment != 0) { + total_size += 9; + } + + // double first_dash_power = 8; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_first_dash_power = this->_internal_first_dash_power(); + ::uint64_t raw_first_dash_power; + memcpy(&raw_first_dash_power, &tmp_first_dash_power, sizeof(tmp_first_dash_power)); + if (raw_first_dash_power != 0) { + total_size += 9; + } + + // double first_dash_angle_relative = 9; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_first_dash_angle_relative = this->_internal_first_dash_angle_relative(); + ::uint64_t raw_first_dash_angle_relative; + memcpy(&raw_first_dash_angle_relative, &tmp_first_dash_angle_relative, sizeof(tmp_first_dash_angle_relative)); + if (raw_first_dash_angle_relative != 0) { + total_size += 9; + } + + // int32 duration_step = 10; + if (this->_internal_duration_step() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_duration_step()); + } + + // int32 kick_count = 11; + if (this->_internal_kick_count() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_kick_count()); + } + + // int32 turn_count = 12; + if (this->_internal_turn_count() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_turn_count()); + } + + // int32 dash_count = 13; + if (this->_internal_dash_count() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_dash_count()); + } + + // bool final_action = 14; + if (this->_internal_final_action() != 0) { + total_size += 2; + } + + // int32 parent_index = 16; + if (this->_internal_parent_index() != 0) { + total_size += 2 + ::_pbi::WireFormatLite::Int32Size( + this->_internal_parent_index()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData RpcCooperativeAction::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + RpcCooperativeAction::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RpcCooperativeAction::GetClassData() const { return &_class_data_; } + + +void RpcCooperativeAction::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:protos.RpcCooperativeAction) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_description().empty()) { + _this->_internal_set_description(from._internal_description()); + } + if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { + _this->_internal_mutable_target_point()->::protos::RpcVector2D::MergeFrom( + from._internal_target_point()); + } + if (from._internal_category() != 0) { + _this->_internal_set_category(from._internal_category()); + } + if (from._internal_index() != 0) { + _this->_internal_set_index(from._internal_index()); + } + if (from._internal_sender_unum() != 0) { + _this->_internal_set_sender_unum(from._internal_sender_unum()); + } + if (from._internal_target_unum() != 0) { + _this->_internal_set_target_unum(from._internal_target_unum()); + } + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_first_ball_speed = from._internal_first_ball_speed(); + ::uint64_t raw_first_ball_speed; + memcpy(&raw_first_ball_speed, &tmp_first_ball_speed, sizeof(tmp_first_ball_speed)); + if (raw_first_ball_speed != 0) { + _this->_internal_set_first_ball_speed(from._internal_first_ball_speed()); + } + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_first_turn_moment = from._internal_first_turn_moment(); + ::uint64_t raw_first_turn_moment; + memcpy(&raw_first_turn_moment, &tmp_first_turn_moment, sizeof(tmp_first_turn_moment)); + if (raw_first_turn_moment != 0) { + _this->_internal_set_first_turn_moment(from._internal_first_turn_moment()); + } + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_first_dash_power = from._internal_first_dash_power(); + ::uint64_t raw_first_dash_power; + memcpy(&raw_first_dash_power, &tmp_first_dash_power, sizeof(tmp_first_dash_power)); + if (raw_first_dash_power != 0) { + _this->_internal_set_first_dash_power(from._internal_first_dash_power()); + } + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_first_dash_angle_relative = from._internal_first_dash_angle_relative(); + ::uint64_t raw_first_dash_angle_relative; + memcpy(&raw_first_dash_angle_relative, &tmp_first_dash_angle_relative, sizeof(tmp_first_dash_angle_relative)); + if (raw_first_dash_angle_relative != 0) { + _this->_internal_set_first_dash_angle_relative(from._internal_first_dash_angle_relative()); + } + if (from._internal_duration_step() != 0) { + _this->_internal_set_duration_step(from._internal_duration_step()); + } + if (from._internal_kick_count() != 0) { + _this->_internal_set_kick_count(from._internal_kick_count()); + } + if (from._internal_turn_count() != 0) { + _this->_internal_set_turn_count(from._internal_turn_count()); + } + if (from._internal_dash_count() != 0) { + _this->_internal_set_dash_count(from._internal_dash_count()); + } + if (from._internal_final_action() != 0) { + _this->_internal_set_final_action(from._internal_final_action()); + } + if (from._internal_parent_index() != 0) { + _this->_internal_set_parent_index(from._internal_parent_index()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void RpcCooperativeAction::CopyFrom(const RpcCooperativeAction& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:protos.RpcCooperativeAction) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool RpcCooperativeAction::IsInitialized() const { + return true; +} + +void RpcCooperativeAction::InternalSwap(RpcCooperativeAction* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.description_, lhs_arena, + &other->_impl_.description_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(RpcCooperativeAction, _impl_.parent_index_) + + sizeof(RpcCooperativeAction::_impl_.parent_index_) + - PROTOBUF_FIELD_OFFSET(RpcCooperativeAction, _impl_.target_point_)>( + reinterpret_cast(&_impl_.target_point_), + reinterpret_cast(&other->_impl_.target_point_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata RpcCooperativeAction::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_service_2eproto_getter, &descriptor_table_service_2eproto_once, + file_level_metadata_service_2eproto[127]); +} +// =================================================================== + +class RpcPredictState::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RpcPredictState, _impl_._has_bits_); + static const ::protos::RpcVector2D& ball_position(const RpcPredictState* msg); + static void set_has_ball_position(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::protos::RpcVector2D& ball_velocity(const RpcPredictState* msg); + static void set_has_ball_velocity(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::protos::RpcVector2D& +RpcPredictState::_Internal::ball_position(const RpcPredictState* msg) { + return *msg->_impl_.ball_position_; +} +const ::protos::RpcVector2D& +RpcPredictState::_Internal::ball_velocity(const RpcPredictState* msg) { + return *msg->_impl_.ball_velocity_; +} +RpcPredictState::RpcPredictState(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:protos.RpcPredictState) +} +RpcPredictState::RpcPredictState(const RpcPredictState& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + RpcPredictState* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ball_position_){nullptr} + , decltype(_impl_.ball_velocity_){nullptr} + , decltype(_impl_.spend_time_) {} + + , decltype(_impl_.ball_holder_unum_) {} + + , decltype(_impl_.our_defense_line_x_) {} + + , decltype(_impl_.our_offense_line_x_) {} + }; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { + _this->_impl_.ball_position_ = new ::protos::RpcVector2D(*from._impl_.ball_position_); + } + if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) { + _this->_impl_.ball_velocity_ = new ::protos::RpcVector2D(*from._impl_.ball_velocity_); + } + ::memcpy(&_impl_.spend_time_, &from._impl_.spend_time_, + static_cast<::size_t>(reinterpret_cast(&_impl_.our_offense_line_x_) - + reinterpret_cast(&_impl_.spend_time_)) + sizeof(_impl_.our_offense_line_x_)); + // @@protoc_insertion_point(copy_constructor:protos.RpcPredictState) +} + +inline void RpcPredictState::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ball_position_){nullptr} + , decltype(_impl_.ball_velocity_){nullptr} + , decltype(_impl_.spend_time_) { 0 } + + , decltype(_impl_.ball_holder_unum_) { 0 } + + , decltype(_impl_.our_defense_line_x_) { 0 } + + , decltype(_impl_.our_offense_line_x_) { 0 } + + }; +} + +RpcPredictState::~RpcPredictState() { + // @@protoc_insertion_point(destructor:protos.RpcPredictState) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void RpcPredictState::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.ball_position_; + if (this != internal_default_instance()) delete _impl_.ball_velocity_; +} + +void RpcPredictState::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void RpcPredictState::Clear() { +// @@protoc_insertion_point(message_clear_start:protos.RpcPredictState) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.ball_position_ != nullptr); + _impl_.ball_position_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.ball_velocity_ != nullptr); + _impl_.ball_velocity_->Clear(); + } + } + ::memset(&_impl_.spend_time_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.our_offense_line_x_) - + reinterpret_cast(&_impl_.spend_time_)) + sizeof(_impl_.our_offense_line_x_)); + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* RpcPredictState::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // int32 spend_time = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.spend_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 ball_holder_unum = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.ball_holder_unum_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .protos.RpcVector2D ball_position = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_ball_position(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .protos.RpcVector2D ball_velocity = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_ball_velocity(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // double our_defense_line_x = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 41)) { + _impl_.our_defense_line_x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(double); + } else { + goto handle_unusual; + } + continue; + // double our_offense_line_x = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 49)) { + _impl_.our_offense_line_x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(double); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* RpcPredictState::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:protos.RpcPredictState) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // int32 spend_time = 1; + if (this->_internal_spend_time() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 1, this->_internal_spend_time(), target); + } + + // int32 ball_holder_unum = 2; + if (this->_internal_ball_holder_unum() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 2, this->_internal_ball_holder_unum(), target); + } + + cached_has_bits = _impl_._has_bits_[0]; + // .protos.RpcVector2D ball_position = 3; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::ball_position(this), + _Internal::ball_position(this).GetCachedSize(), target, stream); + } + + // .protos.RpcVector2D ball_velocity = 4; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::ball_velocity(this), + _Internal::ball_velocity(this).GetCachedSize(), target, stream); + } + + // double our_defense_line_x = 5; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_our_defense_line_x = this->_internal_our_defense_line_x(); + ::uint64_t raw_our_defense_line_x; + memcpy(&raw_our_defense_line_x, &tmp_our_defense_line_x, sizeof(tmp_our_defense_line_x)); + if (raw_our_defense_line_x != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 5, this->_internal_our_defense_line_x(), target); + } + + // double our_offense_line_x = 6; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_our_offense_line_x = this->_internal_our_offense_line_x(); + ::uint64_t raw_our_offense_line_x; + memcpy(&raw_our_offense_line_x, &tmp_our_offense_line_x, sizeof(tmp_our_offense_line_x)); + if (raw_our_offense_line_x != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 6, this->_internal_our_offense_line_x(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:protos.RpcPredictState) + return target; +} + +::size_t RpcPredictState::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:protos.RpcPredictState) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .protos.RpcVector2D ball_position = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.ball_position_); + } + + // .protos.RpcVector2D ball_velocity = 4; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.ball_velocity_); + } + + } + // int32 spend_time = 1; + if (this->_internal_spend_time() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_spend_time()); + } + + // int32 ball_holder_unum = 2; + if (this->_internal_ball_holder_unum() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_ball_holder_unum()); + } + + // double our_defense_line_x = 5; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_our_defense_line_x = this->_internal_our_defense_line_x(); + ::uint64_t raw_our_defense_line_x; + memcpy(&raw_our_defense_line_x, &tmp_our_defense_line_x, sizeof(tmp_our_defense_line_x)); + if (raw_our_defense_line_x != 0) { + total_size += 9; + } + + // double our_offense_line_x = 6; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_our_offense_line_x = this->_internal_our_offense_line_x(); + ::uint64_t raw_our_offense_line_x; + memcpy(&raw_our_offense_line_x, &tmp_our_offense_line_x, sizeof(tmp_our_offense_line_x)); + if (raw_our_offense_line_x != 0) { + total_size += 9; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData RpcPredictState::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + RpcPredictState::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RpcPredictState::GetClassData() const { return &_class_data_; } + + +void RpcPredictState::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:protos.RpcPredictState) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_ball_position()->::protos::RpcVector2D::MergeFrom( + from._internal_ball_position()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_ball_velocity()->::protos::RpcVector2D::MergeFrom( + from._internal_ball_velocity()); + } + } + if (from._internal_spend_time() != 0) { + _this->_internal_set_spend_time(from._internal_spend_time()); + } + if (from._internal_ball_holder_unum() != 0) { + _this->_internal_set_ball_holder_unum(from._internal_ball_holder_unum()); + } + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_our_defense_line_x = from._internal_our_defense_line_x(); + ::uint64_t raw_our_defense_line_x; + memcpy(&raw_our_defense_line_x, &tmp_our_defense_line_x, sizeof(tmp_our_defense_line_x)); + if (raw_our_defense_line_x != 0) { + _this->_internal_set_our_defense_line_x(from._internal_our_defense_line_x()); + } + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_our_offense_line_x = from._internal_our_offense_line_x(); + ::uint64_t raw_our_offense_line_x; + memcpy(&raw_our_offense_line_x, &tmp_our_offense_line_x, sizeof(tmp_our_offense_line_x)); + if (raw_our_offense_line_x != 0) { + _this->_internal_set_our_offense_line_x(from._internal_our_offense_line_x()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void RpcPredictState::CopyFrom(const RpcPredictState& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:protos.RpcPredictState) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool RpcPredictState::IsInitialized() const { + return true; +} + +void RpcPredictState::InternalSwap(RpcPredictState* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(RpcPredictState, _impl_.our_offense_line_x_) + + sizeof(RpcPredictState::_impl_.our_offense_line_x_) + - PROTOBUF_FIELD_OFFSET(RpcPredictState, _impl_.ball_position_)>( + reinterpret_cast(&_impl_.ball_position_), + reinterpret_cast(&other->_impl_.ball_position_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata RpcPredictState::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_service_2eproto_getter, &descriptor_table_service_2eproto_once, + file_level_metadata_service_2eproto[128]); +} +// =================================================================== + +class RpcActionStatePair::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RpcActionStatePair, _impl_._has_bits_); + static const ::protos::RpcCooperativeAction& action(const RpcActionStatePair* msg); + static void set_has_action(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::protos::RpcPredictState& predict_state(const RpcActionStatePair* msg); + static void set_has_predict_state(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::protos::RpcCooperativeAction& +RpcActionStatePair::_Internal::action(const RpcActionStatePair* msg) { + return *msg->_impl_.action_; +} +const ::protos::RpcPredictState& +RpcActionStatePair::_Internal::predict_state(const RpcActionStatePair* msg) { + return *msg->_impl_.predict_state_; +} +RpcActionStatePair::RpcActionStatePair(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:protos.RpcActionStatePair) +} +RpcActionStatePair::RpcActionStatePair(const RpcActionStatePair& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + RpcActionStatePair* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.action_){nullptr} + , decltype(_impl_.predict_state_){nullptr} + , decltype(_impl_.evaluation_) {} + }; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { + _this->_impl_.action_ = new ::protos::RpcCooperativeAction(*from._impl_.action_); + } + if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) { + _this->_impl_.predict_state_ = new ::protos::RpcPredictState(*from._impl_.predict_state_); + } + _this->_impl_.evaluation_ = from._impl_.evaluation_; + // @@protoc_insertion_point(copy_constructor:protos.RpcActionStatePair) +} + +inline void RpcActionStatePair::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.action_){nullptr} + , decltype(_impl_.predict_state_){nullptr} + , decltype(_impl_.evaluation_) { 0 } + + }; +} + +RpcActionStatePair::~RpcActionStatePair() { + // @@protoc_insertion_point(destructor:protos.RpcActionStatePair) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void RpcActionStatePair::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.action_; + if (this != internal_default_instance()) delete _impl_.predict_state_; +} + +void RpcActionStatePair::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void RpcActionStatePair::Clear() { +// @@protoc_insertion_point(message_clear_start:protos.RpcActionStatePair) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_ != nullptr); + _impl_.action_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.predict_state_ != nullptr); + _impl_.predict_state_->Clear(); + } + } + _impl_.evaluation_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* RpcActionStatePair::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .protos.RpcCooperativeAction action = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_action(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .protos.RpcPredictState predict_state = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_predict_state(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // double evaluation = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 25)) { + _impl_.evaluation_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(double); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* RpcActionStatePair::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:protos.RpcActionStatePair) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // .protos.RpcCooperativeAction action = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::action(this), + _Internal::action(this).GetCachedSize(), target, stream); + } + + // .protos.RpcPredictState predict_state = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::predict_state(this), + _Internal::predict_state(this).GetCachedSize(), target, stream); + } + + // double evaluation = 3; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_evaluation = this->_internal_evaluation(); + ::uint64_t raw_evaluation; + memcpy(&raw_evaluation, &tmp_evaluation, sizeof(tmp_evaluation)); + if (raw_evaluation != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 3, this->_internal_evaluation(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:protos.RpcActionStatePair) + return target; +} + +::size_t RpcActionStatePair::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:protos.RpcActionStatePair) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .protos.RpcCooperativeAction action = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.action_); + } + + // .protos.RpcPredictState predict_state = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.predict_state_); + } + + } + // double evaluation = 3; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_evaluation = this->_internal_evaluation(); + ::uint64_t raw_evaluation; + memcpy(&raw_evaluation, &tmp_evaluation, sizeof(tmp_evaluation)); + if (raw_evaluation != 0) { + total_size += 9; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData RpcActionStatePair::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + RpcActionStatePair::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RpcActionStatePair::GetClassData() const { return &_class_data_; } + + +void RpcActionStatePair::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:protos.RpcActionStatePair) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_action()->::protos::RpcCooperativeAction::MergeFrom( + from._internal_action()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_predict_state()->::protos::RpcPredictState::MergeFrom( + from._internal_predict_state()); + } + } + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_evaluation = from._internal_evaluation(); + ::uint64_t raw_evaluation; + memcpy(&raw_evaluation, &tmp_evaluation, sizeof(tmp_evaluation)); + if (raw_evaluation != 0) { + _this->_internal_set_evaluation(from._internal_evaluation()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void RpcActionStatePair::CopyFrom(const RpcActionStatePair& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:protos.RpcActionStatePair) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool RpcActionStatePair::IsInitialized() const { + return true; +} + +void RpcActionStatePair::InternalSwap(RpcActionStatePair* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(RpcActionStatePair, _impl_.evaluation_) + + sizeof(RpcActionStatePair::_impl_.evaluation_) + - PROTOBUF_FIELD_OFFSET(RpcActionStatePair, _impl_.action_)>( + reinterpret_cast(&_impl_.action_), + reinterpret_cast(&other->_impl_.action_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata RpcActionStatePair::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_service_2eproto_getter, &descriptor_table_service_2eproto_once, + file_level_metadata_service_2eproto[129]); +} +// =================================================================== + +RpcActionStatePairs_PairsEntry_DoNotUse::RpcActionStatePairs_PairsEntry_DoNotUse() {} +RpcActionStatePairs_PairsEntry_DoNotUse::RpcActionStatePairs_PairsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : SuperType(arena) {} +void RpcActionStatePairs_PairsEntry_DoNotUse::MergeFrom(const RpcActionStatePairs_PairsEntry_DoNotUse& other) { + MergeFromInternal(other); +} +::PROTOBUF_NAMESPACE_ID::Metadata RpcActionStatePairs_PairsEntry_DoNotUse::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_service_2eproto_getter, &descriptor_table_service_2eproto_once, + file_level_metadata_service_2eproto[130]); +} +// =================================================================== + +class RpcActionStatePairs::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RpcActionStatePairs, _impl_._has_bits_); + static const ::protos::State& state(const RpcActionStatePairs* msg); + static void set_has_state(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::protos::State& +RpcActionStatePairs::_Internal::state(const RpcActionStatePairs* msg) { + return *msg->_impl_.state_; +} +RpcActionStatePairs::RpcActionStatePairs(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:protos.RpcActionStatePairs) +} +RpcActionStatePairs::RpcActionStatePairs(const RpcActionStatePairs& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + RpcActionStatePairs* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.pairs_)*/{} + , decltype(_impl_.state_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.pairs_.MergeFrom(from._impl_.pairs_); + if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { + _this->_impl_.state_ = new ::protos::State(*from._impl_.state_); + } + // @@protoc_insertion_point(copy_constructor:protos.RpcActionStatePairs) +} + +inline void RpcActionStatePairs::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.pairs_)*/{::_pbi::ArenaInitialized(), arena} + , decltype(_impl_.state_){nullptr} + }; +} + +RpcActionStatePairs::~RpcActionStatePairs() { + // @@protoc_insertion_point(destructor:protos.RpcActionStatePairs) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void RpcActionStatePairs::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.pairs_.~MapField(); + if (this != internal_default_instance()) delete _impl_.state_; +} + +void RpcActionStatePairs::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void RpcActionStatePairs::Clear() { +// @@protoc_insertion_point(message_clear_start:protos.RpcActionStatePairs) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.pairs_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.state_ != nullptr); + _impl_.state_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* RpcActionStatePairs::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // map pairs = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(&_impl_.pairs_, ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + } else { + goto handle_unusual; + } + continue; + // .protos.State state = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_state(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* RpcActionStatePairs::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:protos.RpcActionStatePairs) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // map pairs = 1; + if (!this->_internal_pairs().empty()) { + using MapType = ::_pb::Map<::int32_t, ::protos::RpcActionStatePair>; + using WireHelper = RpcActionStatePairs_PairsEntry_DoNotUse::Funcs; + const auto& map_field = this->_internal_pairs(); + + if (stream->IsSerializationDeterministic() && map_field.size() > 1) { + for (const auto& entry : ::_pbi::MapSorterFlat(map_field)) { + target = WireHelper::InternalSerialize(1, entry.first, entry.second, target, stream); + } + } else { + for (const auto& entry : map_field) { + target = WireHelper::InternalSerialize(1, entry.first, entry.second, target, stream); + } + } + } + + cached_has_bits = _impl_._has_bits_[0]; + // .protos.State state = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::state(this), + _Internal::state(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:protos.RpcActionStatePairs) + return target; +} + +::size_t RpcActionStatePairs::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:protos.RpcActionStatePairs) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // map pairs = 1; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_pairs_size()); + for (::PROTOBUF_NAMESPACE_ID::Map< ::int32_t, ::protos::RpcActionStatePair >::const_iterator + it = this->_internal_pairs().begin(); + it != this->_internal_pairs().end(); ++it) { + total_size += RpcActionStatePairs_PairsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); + } + + // .protos.State state = 2; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.state_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData RpcActionStatePairs::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + RpcActionStatePairs::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RpcActionStatePairs::GetClassData() const { return &_class_data_; } + + +void RpcActionStatePairs::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:protos.RpcActionStatePairs) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.pairs_.MergeFrom(from._impl_.pairs_); + if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { + _this->_internal_mutable_state()->::protos::State::MergeFrom( + from._internal_state()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void RpcActionStatePairs::CopyFrom(const RpcActionStatePairs& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:protos.RpcActionStatePairs) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool RpcActionStatePairs::IsInitialized() const { + return true; +} + +void RpcActionStatePairs::InternalSwap(RpcActionStatePairs* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.pairs_.InternalSwap(&other->_impl_.pairs_); + swap(_impl_.state_, other->_impl_.state_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata RpcActionStatePairs::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_service_2eproto_getter, &descriptor_table_service_2eproto_once, + file_level_metadata_service_2eproto[131]); +} +// =================================================================== + +class BestActionStatePair::_Internal { + public: +}; + +BestActionStatePair::BestActionStatePair(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:protos.BestActionStatePair) +} +BestActionStatePair::BestActionStatePair(const BestActionStatePair& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:protos.BestActionStatePair) +} + +inline void BestActionStatePair::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.index_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +BestActionStatePair::~BestActionStatePair() { + // @@protoc_insertion_point(destructor:protos.BestActionStatePair) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void BestActionStatePair::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void BestActionStatePair::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void BestActionStatePair::Clear() { +// @@protoc_insertion_point(message_clear_start:protos.BestActionStatePair) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.index_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* BestActionStatePair::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // int32 index = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* BestActionStatePair::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:protos.BestActionStatePair) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // int32 index = 1; + if (this->_internal_index() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 1, this->_internal_index(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:protos.BestActionStatePair) + return target; +} + +::size_t BestActionStatePair::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:protos.BestActionStatePair) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // int32 index = 1; + if (this->_internal_index() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_index()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BestActionStatePair::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + BestActionStatePair::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BestActionStatePair::GetClassData() const { return &_class_data_; } + + +void BestActionStatePair::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:protos.BestActionStatePair) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_index() != 0) { + _this->_internal_set_index(from._internal_index()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void BestActionStatePair::CopyFrom(const BestActionStatePair& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:protos.BestActionStatePair) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool BestActionStatePair::IsInitialized() const { + return true; +} + +void BestActionStatePair::InternalSwap(BestActionStatePair* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + + swap(_impl_.index_, other->_impl_.index_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata BestActionStatePair::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_service_2eproto_getter, &descriptor_table_service_2eproto_once, + file_level_metadata_service_2eproto[132]); +} +// =================================================================== + +class Empty::_Internal { + public: +}; + +Empty::Empty(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena) { + // @@protoc_insertion_point(arena_constructor:protos.Empty) +} +Empty::Empty(const Empty& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + Empty* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:protos.Empty) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Empty::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Empty::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata Empty::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_service_2eproto_getter, &descriptor_table_service_2eproto_once, + file_level_metadata_service_2eproto[133]); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace protos +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::protos::RpcVector2D* +Arena::CreateMaybeMessage< ::protos::RpcVector2D >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::RpcVector2D >(arena); +} +template<> PROTOBUF_NOINLINE ::protos::RegisterRequest* +Arena::CreateMaybeMessage< ::protos::RegisterRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::RegisterRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::protos::RegisterResponse* +Arena::CreateMaybeMessage< ::protos::RegisterResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::RegisterResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::protos::Ball* +Arena::CreateMaybeMessage< ::protos::Ball >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::Ball >(arena); +} +template<> PROTOBUF_NOINLINE ::protos::Player* +Arena::CreateMaybeMessage< ::protos::Player >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::Player >(arena); +} +template<> PROTOBUF_NOINLINE ::protos::Self* +Arena::CreateMaybeMessage< ::protos::Self >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::Self >(arena); +} +template<> PROTOBUF_NOINLINE ::protos::InterceptInfo* +Arena::CreateMaybeMessage< ::protos::InterceptInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::InterceptInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::protos::InterceptTable* +Arena::CreateMaybeMessage< ::protos::InterceptTable >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::InterceptTable >(arena); +} +template<> PROTOBUF_NOINLINE ::protos::WorldModel_OurPlayersDictEntry_DoNotUse* +Arena::CreateMaybeMessage< ::protos::WorldModel_OurPlayersDictEntry_DoNotUse >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::WorldModel_OurPlayersDictEntry_DoNotUse >(arena); +} +template<> PROTOBUF_NOINLINE ::protos::WorldModel_TheirPlayersDictEntry_DoNotUse* +Arena::CreateMaybeMessage< ::protos::WorldModel_TheirPlayersDictEntry_DoNotUse >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::WorldModel_TheirPlayersDictEntry_DoNotUse >(arena); +} +template<> PROTOBUF_NOINLINE ::protos::WorldModel_HeliosHomePositionsEntry_DoNotUse* +Arena::CreateMaybeMessage< ::protos::WorldModel_HeliosHomePositionsEntry_DoNotUse >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::WorldModel_HeliosHomePositionsEntry_DoNotUse >(arena); +} +template<> PROTOBUF_NOINLINE ::protos::WorldModel* +Arena::CreateMaybeMessage< ::protos::WorldModel >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::WorldModel >(arena); +} +template<> PROTOBUF_NOINLINE ::protos::State* +Arena::CreateMaybeMessage< ::protos::State >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::State >(arena); +} +template<> PROTOBUF_NOINLINE ::protos::InitMessage* +Arena::CreateMaybeMessage< ::protos::InitMessage >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::InitMessage >(arena); +} +template<> PROTOBUF_NOINLINE ::protos::Dash* +Arena::CreateMaybeMessage< ::protos::Dash >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::Dash >(arena); +} +template<> PROTOBUF_NOINLINE ::protos::Turn* +Arena::CreateMaybeMessage< ::protos::Turn >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::Turn >(arena); +} +template<> PROTOBUF_NOINLINE ::protos::Kick* +Arena::CreateMaybeMessage< ::protos::Kick >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::Kick >(arena); +} +template<> PROTOBUF_NOINLINE ::protos::Tackle* +Arena::CreateMaybeMessage< ::protos::Tackle >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::Tackle >(arena); +} +template<> PROTOBUF_NOINLINE ::protos::Catch* +Arena::CreateMaybeMessage< ::protos::Catch >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::Catch >(arena); +} +template<> PROTOBUF_NOINLINE ::protos::Move* +Arena::CreateMaybeMessage< ::protos::Move >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::Move >(arena); +} +template<> PROTOBUF_NOINLINE ::protos::TurnNeck* +Arena::CreateMaybeMessage< ::protos::TurnNeck >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::TurnNeck >(arena); +} +template<> PROTOBUF_NOINLINE ::protos::ChangeView* +Arena::CreateMaybeMessage< ::protos::ChangeView >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::ChangeView >(arena); +} +template<> PROTOBUF_NOINLINE ::protos::BallMessage* +Arena::CreateMaybeMessage< ::protos::BallMessage >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::BallMessage >(arena); } template<> PROTOBUF_NOINLINE ::protos::PassMessage* Arena::CreateMaybeMessage< ::protos::PassMessage >(Arena* arena) { @@ -52203,6 +54472,30 @@ template<> PROTOBUF_NOINLINE ::protos::PlayerType* Arena::CreateMaybeMessage< ::protos::PlayerType >(Arena* arena) { return Arena::CreateMessageInternal< ::protos::PlayerType >(arena); } +template<> PROTOBUF_NOINLINE ::protos::RpcCooperativeAction* +Arena::CreateMaybeMessage< ::protos::RpcCooperativeAction >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::RpcCooperativeAction >(arena); +} +template<> PROTOBUF_NOINLINE ::protos::RpcPredictState* +Arena::CreateMaybeMessage< ::protos::RpcPredictState >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::RpcPredictState >(arena); +} +template<> PROTOBUF_NOINLINE ::protos::RpcActionStatePair* +Arena::CreateMaybeMessage< ::protos::RpcActionStatePair >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::RpcActionStatePair >(arena); +} +template<> PROTOBUF_NOINLINE ::protos::RpcActionStatePairs_PairsEntry_DoNotUse* +Arena::CreateMaybeMessage< ::protos::RpcActionStatePairs_PairsEntry_DoNotUse >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::RpcActionStatePairs_PairsEntry_DoNotUse >(arena); +} +template<> PROTOBUF_NOINLINE ::protos::RpcActionStatePairs* +Arena::CreateMaybeMessage< ::protos::RpcActionStatePairs >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::RpcActionStatePairs >(arena); +} +template<> PROTOBUF_NOINLINE ::protos::BestActionStatePair* +Arena::CreateMaybeMessage< ::protos::BestActionStatePair >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::BestActionStatePair >(arena); +} template<> PROTOBUF_NOINLINE ::protos::Empty* Arena::CreateMaybeMessage< ::protos::Empty >(Arena* arena) { return Arena::CreateMessageInternal< ::protos::Empty >(arena); diff --git a/src/grpc-generated/service.pb.h b/src/grpc-generated/service.pb.h index 586c85f..ba78730 100644 --- a/src/grpc-generated/service.pb.h +++ b/src/grpc-generated/service.pb.h @@ -101,6 +101,9 @@ extern BallMessageDefaultTypeInternal _BallMessage_default_instance_; class BallPlayerMessage; struct BallPlayerMessageDefaultTypeInternal; extern BallPlayerMessageDefaultTypeInternal _BallPlayerMessage_default_instance_; +class BestActionStatePair; +struct BestActionStatePairDefaultTypeInternal; +extern BestActionStatePairDefaultTypeInternal _BestActionStatePair_default_instance_; class Bhv_BeforeKickOff; struct Bhv_BeforeKickOffDefaultTypeInternal; extern Bhv_BeforeKickOffDefaultTypeInternal _Bhv_BeforeKickOff_default_instance_; @@ -362,6 +365,21 @@ extern RegisterRequestDefaultTypeInternal _RegisterRequest_default_instance_; class RegisterResponse; struct RegisterResponseDefaultTypeInternal; extern RegisterResponseDefaultTypeInternal _RegisterResponse_default_instance_; +class RpcActionStatePair; +struct RpcActionStatePairDefaultTypeInternal; +extern RpcActionStatePairDefaultTypeInternal _RpcActionStatePair_default_instance_; +class RpcActionStatePairs; +struct RpcActionStatePairsDefaultTypeInternal; +extern RpcActionStatePairsDefaultTypeInternal _RpcActionStatePairs_default_instance_; +class RpcActionStatePairs_PairsEntry_DoNotUse; +struct RpcActionStatePairs_PairsEntry_DoNotUseDefaultTypeInternal; +extern RpcActionStatePairs_PairsEntry_DoNotUseDefaultTypeInternal _RpcActionStatePairs_PairsEntry_DoNotUse_default_instance_; +class RpcCooperativeAction; +struct RpcCooperativeActionDefaultTypeInternal; +extern RpcCooperativeActionDefaultTypeInternal _RpcCooperativeAction_default_instance_; +class RpcPredictState; +struct RpcPredictStateDefaultTypeInternal; +extern RpcPredictStateDefaultTypeInternal _RpcPredictState_default_instance_; class RpcVector2D; struct RpcVector2DDefaultTypeInternal; extern RpcVector2DDefaultTypeInternal _RpcVector2D_default_instance_; @@ -473,6 +491,8 @@ ::protos::BallMessage* Arena::CreateMaybeMessage<::protos::BallMessage>(Arena*); template <> ::protos::BallPlayerMessage* Arena::CreateMaybeMessage<::protos::BallPlayerMessage>(Arena*); template <> +::protos::BestActionStatePair* Arena::CreateMaybeMessage<::protos::BestActionStatePair>(Arena*); +template <> ::protos::Bhv_BeforeKickOff* Arena::CreateMaybeMessage<::protos::Bhv_BeforeKickOff>(Arena*); template <> ::protos::Bhv_BodyNeckToBall* Arena::CreateMaybeMessage<::protos::Bhv_BodyNeckToBall>(Arena*); @@ -647,6 +667,16 @@ ::protos::RegisterRequest* Arena::CreateMaybeMessage<::protos::RegisterRequest>( template <> ::protos::RegisterResponse* Arena::CreateMaybeMessage<::protos::RegisterResponse>(Arena*); template <> +::protos::RpcActionStatePair* Arena::CreateMaybeMessage<::protos::RpcActionStatePair>(Arena*); +template <> +::protos::RpcActionStatePairs* Arena::CreateMaybeMessage<::protos::RpcActionStatePairs>(Arena*); +template <> +::protos::RpcActionStatePairs_PairsEntry_DoNotUse* Arena::CreateMaybeMessage<::protos::RpcActionStatePairs_PairsEntry_DoNotUse>(Arena*); +template <> +::protos::RpcCooperativeAction* Arena::CreateMaybeMessage<::protos::RpcCooperativeAction>(Arena*); +template <> +::protos::RpcPredictState* Arena::CreateMaybeMessage<::protos::RpcPredictState>(Arena*); +template <> ::protos::RpcVector2D* Arena::CreateMaybeMessage<::protos::RpcVector2D>(Arena*); template <> ::protos::Say* Arena::CreateMaybeMessage<::protos::Say>(Arena*); @@ -943,6 +973,43 @@ inline bool AgentType_Parse(absl::string_view name, AgentType* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( AgentType_descriptor(), name, value); } +enum RpcActionCategory : int { + AC_Hold = 0, + AC_Dribble = 1, + AC_Pass = 2, + AC_Shoot = 3, + AC_Clear = 4, + AC_Move = 5, + AC_NoAction = 6, + RpcActionCategory_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + RpcActionCategory_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool RpcActionCategory_IsValid(int value); +constexpr RpcActionCategory RpcActionCategory_MIN = static_cast(0); +constexpr RpcActionCategory RpcActionCategory_MAX = static_cast(6); +constexpr int RpcActionCategory_ARRAYSIZE = 6 + 1; +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* +RpcActionCategory_descriptor(); +template +const std::string& RpcActionCategory_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to RpcActionCategory_Name()."); + return RpcActionCategory_Name(static_cast(value)); +} +template <> +inline const std::string& RpcActionCategory_Name(RpcActionCategory value) { + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool RpcActionCategory_Parse(absl::string_view name, RpcActionCategory* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + RpcActionCategory_descriptor(), name, value); +} // =================================================================== @@ -4382,6 +4449,7 @@ class State final : kRegisterResponseFieldNumber = 1, kWorldModelFieldNumber = 2, kFullWorldModelFieldNumber = 3, + kNeedPreprocessFieldNumber = 4, }; // .protos.RegisterResponse register_response = 1; bool has_register_response() const; @@ -4425,6 +4493,16 @@ class State final : void unsafe_arena_set_allocated_full_world_model( ::protos::WorldModel* full_world_model); ::protos::WorldModel* unsafe_arena_release_full_world_model(); + // bool need_preprocess = 4; + void clear_need_preprocess() ; + bool need_preprocess() const; + void set_need_preprocess(bool value); + + private: + bool _internal_need_preprocess() const; + void _internal_set_need_preprocess(bool value); + + public: // @@protoc_insertion_point(class_scope:protos.State) private: class _Internal; @@ -4438,6 +4516,7 @@ class State final : ::protos::RegisterResponse* register_response_; ::protos::WorldModel* world_model_; ::protos::WorldModel* full_world_model_; + bool need_preprocess_; }; union { Impl_ _impl_; }; friend struct ::TableStruct_service_2eproto; @@ -20127,6 +20206,7 @@ class HeliosChainAction final : kSimplePassFieldNumber = 7, kSimpleDribbleFieldNumber = 8, kSimpleShootFieldNumber = 9, + kServerSideDecisionFieldNumber = 10, }; // bool direct_pass = 1; void clear_direct_pass() ; @@ -20217,6 +20297,16 @@ class HeliosChainAction final : bool _internal_simple_shoot() const; void _internal_set_simple_shoot(bool value); + public: + // bool server_side_decision = 10; + void clear_server_side_decision() ; + bool server_side_decision() const; + void set_server_side_decision(bool value); + + private: + bool _internal_server_side_decision() const; + void _internal_set_server_side_decision(bool value); + public: // @@protoc_insertion_point(class_scope:protos.HeliosChainAction) private: @@ -20235,6 +20325,7 @@ class HeliosChainAction final : bool simple_pass_; bool simple_dribble_; bool simple_shoot_; + bool server_side_decision_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; }; union { Impl_ _impl_; }; @@ -22556,6 +22647,7 @@ class PlayerActions final : enum : int { kActionsFieldNumber = 1, + kIgnorePreprocessFieldNumber = 2, }; // repeated .protos.PlayerAction actions = 1; int actions_size() const; @@ -22577,6 +22669,16 @@ class PlayerActions final : ::protos::PlayerAction* add_actions(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::protos::PlayerAction >& actions() const; + // bool ignore_preprocess = 2; + void clear_ignore_preprocess() ; + bool ignore_preprocess() const; + void set_ignore_preprocess(bool value); + + private: + bool _internal_ignore_preprocess() const; + void _internal_set_ignore_preprocess(bool value); + + public: // @@protoc_insertion_point(class_scope:protos.PlayerActions) private: class _Internal; @@ -22586,6 +22688,7 @@ class PlayerActions final : typedef void DestructorSkippable_; struct Impl_ { ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::protos::PlayerAction > actions_; + bool ignore_preprocess_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; }; union { Impl_ _impl_; }; @@ -28843,24 +28946,25 @@ class PlayerType final : friend struct ::TableStruct_service_2eproto; };// ------------------------------------------------------------------- -class Empty final : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:protos.Empty) */ { +class RpcCooperativeAction final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protos.RpcCooperativeAction) */ { public: - inline Empty() : Empty(nullptr) {} + inline RpcCooperativeAction() : RpcCooperativeAction(nullptr) {} + ~RpcCooperativeAction() override; template - explicit PROTOBUF_CONSTEXPR Empty(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR RpcCooperativeAction(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - Empty(const Empty& from); - Empty(Empty&& from) noexcept - : Empty() { + RpcCooperativeAction(const RpcCooperativeAction& from); + RpcCooperativeAction(RpcCooperativeAction&& from) noexcept + : RpcCooperativeAction() { *this = ::std::move(from); } - inline Empty& operator=(const Empty& from) { + inline RpcCooperativeAction& operator=(const RpcCooperativeAction& from) { CopyFrom(from); return *this; } - inline Empty& operator=(Empty&& from) noexcept { + inline RpcCooperativeAction& operator=(RpcCooperativeAction&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -28890,20 +28994,20 @@ class Empty final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const Empty& default_instance() { + static const RpcCooperativeAction& default_instance() { return *internal_default_instance(); } - static inline const Empty* internal_default_instance() { - return reinterpret_cast( - &_Empty_default_instance_); + static inline const RpcCooperativeAction* internal_default_instance() { + return reinterpret_cast( + &_RpcCooperativeAction_default_instance_); } static constexpr int kIndexInFileMessages = 127; - friend void swap(Empty& a, Empty& b) { + friend void swap(RpcCooperativeAction& a, RpcCooperativeAction& b) { a.Swap(&b); } - inline void Swap(Empty* other) { + inline void Swap(RpcCooperativeAction* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -28916,7 +29020,7 @@ class Empty final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(Empty* other) { + void UnsafeArenaSwap(RpcCooperativeAction* other) { if (other == this) return; ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -28924,26 +29028,40 @@ class Empty final : // implements Message ---------------------------------------------- - Empty* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + RpcCooperativeAction* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const Empty& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const Empty& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const RpcCooperativeAction& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const RpcCooperativeAction& from) { + RpcCooperativeAction::MergeImpl(*this, from); } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + ::size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(RpcCooperativeAction* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::absl::string_view FullMessageName() { - return "protos.Empty"; + return "protos.RpcCooperativeAction"; } protected: - explicit Empty(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit RpcCooperativeAction(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -28955,387 +29073,1497 @@ class Empty final : // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:protos.Empty) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { + enum : int { + kDescriptionFieldNumber = 15, + kTargetPointFieldNumber = 5, + kCategoryFieldNumber = 1, + kIndexFieldNumber = 2, + kSenderUnumFieldNumber = 3, + kTargetUnumFieldNumber = 4, + kFirstBallSpeedFieldNumber = 6, + kFirstTurnMomentFieldNumber = 7, + kFirstDashPowerFieldNumber = 8, + kFirstDashAngleRelativeFieldNumber = 9, + kDurationStepFieldNumber = 10, + kKickCountFieldNumber = 11, + kTurnCountFieldNumber = 12, + kDashCountFieldNumber = 13, + kFinalActionFieldNumber = 14, + kParentIndexFieldNumber = 16, }; - friend struct ::TableStruct_service_2eproto; -}; + // string description = 15; + void clear_description() ; + const std::string& description() const; -// =================================================================== + template + void set_description(Arg_&& arg, Args_... args); + std::string* mutable_description(); + PROTOBUF_NODISCARD std::string* release_description(); + void set_allocated_description(std::string* ptr); -// =================================================================== + private: + const std::string& _internal_description() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_description( + const std::string& value); + std::string* _internal_mutable_description(); + public: + // .protos.RpcVector2D target_point = 5; + bool has_target_point() const; + void clear_target_point() ; + const ::protos::RpcVector2D& target_point() const; + PROTOBUF_NODISCARD ::protos::RpcVector2D* release_target_point(); + ::protos::RpcVector2D* mutable_target_point(); + void set_allocated_target_point(::protos::RpcVector2D* target_point); + private: + const ::protos::RpcVector2D& _internal_target_point() const; + ::protos::RpcVector2D* _internal_mutable_target_point(); + public: + void unsafe_arena_set_allocated_target_point( + ::protos::RpcVector2D* target_point); + ::protos::RpcVector2D* unsafe_arena_release_target_point(); + // .protos.RpcActionCategory category = 1; + void clear_category() ; + ::protos::RpcActionCategory category() const; + void set_category(::protos::RpcActionCategory value); -#ifdef __GNUC__ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// ------------------------------------------------------------------- + private: + ::protos::RpcActionCategory _internal_category() const; + void _internal_set_category(::protos::RpcActionCategory value); -// RpcVector2D + public: + // int32 index = 2; + void clear_index() ; + ::int32_t index() const; + void set_index(::int32_t value); -// float x = 1; -inline void RpcVector2D::clear_x() { - _impl_.x_ = 0; -} -inline float RpcVector2D::x() const { - // @@protoc_insertion_point(field_get:protos.RpcVector2D.x) - return _internal_x(); -} -inline void RpcVector2D::set_x(float value) { - _internal_set_x(value); - // @@protoc_insertion_point(field_set:protos.RpcVector2D.x) -} -inline float RpcVector2D::_internal_x() const { - return _impl_.x_; -} -inline void RpcVector2D::_internal_set_x(float value) { - ; - _impl_.x_ = value; -} + private: + ::int32_t _internal_index() const; + void _internal_set_index(::int32_t value); -// float y = 2; -inline void RpcVector2D::clear_y() { - _impl_.y_ = 0; -} -inline float RpcVector2D::y() const { - // @@protoc_insertion_point(field_get:protos.RpcVector2D.y) - return _internal_y(); -} -inline void RpcVector2D::set_y(float value) { - _internal_set_y(value); - // @@protoc_insertion_point(field_set:protos.RpcVector2D.y) -} -inline float RpcVector2D::_internal_y() const { - return _impl_.y_; -} -inline void RpcVector2D::_internal_set_y(float value) { - ; - _impl_.y_ = value; -} + public: + // int32 sender_unum = 3; + void clear_sender_unum() ; + ::int32_t sender_unum() const; + void set_sender_unum(::int32_t value); -// float dist = 3; -inline void RpcVector2D::clear_dist() { - _impl_.dist_ = 0; -} -inline float RpcVector2D::dist() const { - // @@protoc_insertion_point(field_get:protos.RpcVector2D.dist) - return _internal_dist(); -} -inline void RpcVector2D::set_dist(float value) { - _internal_set_dist(value); - // @@protoc_insertion_point(field_set:protos.RpcVector2D.dist) -} -inline float RpcVector2D::_internal_dist() const { - return _impl_.dist_; -} -inline void RpcVector2D::_internal_set_dist(float value) { - ; - _impl_.dist_ = value; -} + private: + ::int32_t _internal_sender_unum() const; + void _internal_set_sender_unum(::int32_t value); -// float angle = 4; -inline void RpcVector2D::clear_angle() { - _impl_.angle_ = 0; -} -inline float RpcVector2D::angle() const { - // @@protoc_insertion_point(field_get:protos.RpcVector2D.angle) - return _internal_angle(); -} -inline void RpcVector2D::set_angle(float value) { - _internal_set_angle(value); - // @@protoc_insertion_point(field_set:protos.RpcVector2D.angle) -} -inline float RpcVector2D::_internal_angle() const { - return _impl_.angle_; -} -inline void RpcVector2D::_internal_set_angle(float value) { - ; - _impl_.angle_ = value; -} + public: + // int32 target_unum = 4; + void clear_target_unum() ; + ::int32_t target_unum() const; + void set_target_unum(::int32_t value); -// ------------------------------------------------------------------- + private: + ::int32_t _internal_target_unum() const; + void _internal_set_target_unum(::int32_t value); -// RegisterRequest + public: + // double first_ball_speed = 6; + void clear_first_ball_speed() ; + double first_ball_speed() const; + void set_first_ball_speed(double value); -// .protos.AgentType agent_type = 1; -inline void RegisterRequest::clear_agent_type() { - _impl_.agent_type_ = 0; -} -inline ::protos::AgentType RegisterRequest::agent_type() const { - // @@protoc_insertion_point(field_get:protos.RegisterRequest.agent_type) - return _internal_agent_type(); -} -inline void RegisterRequest::set_agent_type(::protos::AgentType value) { - _internal_set_agent_type(value); - // @@protoc_insertion_point(field_set:protos.RegisterRequest.agent_type) -} -inline ::protos::AgentType RegisterRequest::_internal_agent_type() const { - return static_cast<::protos::AgentType>(_impl_.agent_type_); -} -inline void RegisterRequest::_internal_set_agent_type(::protos::AgentType value) { - ; - _impl_.agent_type_ = value; -} + private: + double _internal_first_ball_speed() const; + void _internal_set_first_ball_speed(double value); -// string team_name = 2; -inline void RegisterRequest::clear_team_name() { - _impl_.team_name_.ClearToEmpty(); -} -inline const std::string& RegisterRequest::team_name() const { - // @@protoc_insertion_point(field_get:protos.RegisterRequest.team_name) - return _internal_team_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE void RegisterRequest::set_team_name(Arg_&& arg, - Args_... args) { - ; - _impl_.team_name_.Set(static_cast(arg), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:protos.RegisterRequest.team_name) -} -inline std::string* RegisterRequest::mutable_team_name() { - std::string* _s = _internal_mutable_team_name(); - // @@protoc_insertion_point(field_mutable:protos.RegisterRequest.team_name) - return _s; -} -inline const std::string& RegisterRequest::_internal_team_name() const { - return _impl_.team_name_.Get(); -} -inline void RegisterRequest::_internal_set_team_name(const std::string& value) { - ; + public: + // double first_turn_moment = 7; + void clear_first_turn_moment() ; + double first_turn_moment() const; + void set_first_turn_moment(double value); + private: + double _internal_first_turn_moment() const; + void _internal_set_first_turn_moment(double value); - _impl_.team_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* RegisterRequest::_internal_mutable_team_name() { - ; - return _impl_.team_name_.Mutable( GetArenaForAllocation()); -} -inline std::string* RegisterRequest::release_team_name() { - // @@protoc_insertion_point(field_release:protos.RegisterRequest.team_name) - return _impl_.team_name_.Release(); -} -inline void RegisterRequest::set_allocated_team_name(std::string* value) { - _impl_.team_name_.SetAllocated(value, GetArenaForAllocation()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.team_name_.IsDefault()) { - _impl_.team_name_.Set("", GetArenaForAllocation()); - } - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:protos.RegisterRequest.team_name) -} + public: + // double first_dash_power = 8; + void clear_first_dash_power() ; + double first_dash_power() const; + void set_first_dash_power(double value); -// int32 uniform_number = 3; -inline void RegisterRequest::clear_uniform_number() { - _impl_.uniform_number_ = 0; -} -inline ::int32_t RegisterRequest::uniform_number() const { - // @@protoc_insertion_point(field_get:protos.RegisterRequest.uniform_number) - return _internal_uniform_number(); -} -inline void RegisterRequest::set_uniform_number(::int32_t value) { - _internal_set_uniform_number(value); - // @@protoc_insertion_point(field_set:protos.RegisterRequest.uniform_number) -} -inline ::int32_t RegisterRequest::_internal_uniform_number() const { - return _impl_.uniform_number_; -} -inline void RegisterRequest::_internal_set_uniform_number(::int32_t value) { - ; - _impl_.uniform_number_ = value; -} + private: + double _internal_first_dash_power() const; + void _internal_set_first_dash_power(double value); -// ------------------------------------------------------------------- + public: + // double first_dash_angle_relative = 9; + void clear_first_dash_angle_relative() ; + double first_dash_angle_relative() const; + void set_first_dash_angle_relative(double value); -// RegisterResponse + private: + double _internal_first_dash_angle_relative() const; + void _internal_set_first_dash_angle_relative(double value); -// int32 client_id = 1; -inline void RegisterResponse::clear_client_id() { - _impl_.client_id_ = 0; -} -inline ::int32_t RegisterResponse::client_id() const { - // @@protoc_insertion_point(field_get:protos.RegisterResponse.client_id) - return _internal_client_id(); -} -inline void RegisterResponse::set_client_id(::int32_t value) { - _internal_set_client_id(value); - // @@protoc_insertion_point(field_set:protos.RegisterResponse.client_id) -} -inline ::int32_t RegisterResponse::_internal_client_id() const { - return _impl_.client_id_; -} -inline void RegisterResponse::_internal_set_client_id(::int32_t value) { - ; - _impl_.client_id_ = value; -} + public: + // int32 duration_step = 10; + void clear_duration_step() ; + ::int32_t duration_step() const; + void set_duration_step(::int32_t value); -// .protos.AgentType agent_type = 2; -inline void RegisterResponse::clear_agent_type() { - _impl_.agent_type_ = 0; -} -inline ::protos::AgentType RegisterResponse::agent_type() const { - // @@protoc_insertion_point(field_get:protos.RegisterResponse.agent_type) - return _internal_agent_type(); -} -inline void RegisterResponse::set_agent_type(::protos::AgentType value) { - _internal_set_agent_type(value); - // @@protoc_insertion_point(field_set:protos.RegisterResponse.agent_type) -} -inline ::protos::AgentType RegisterResponse::_internal_agent_type() const { - return static_cast<::protos::AgentType>(_impl_.agent_type_); -} -inline void RegisterResponse::_internal_set_agent_type(::protos::AgentType value) { - ; - _impl_.agent_type_ = value; -} + private: + ::int32_t _internal_duration_step() const; + void _internal_set_duration_step(::int32_t value); -// string team_name = 3; -inline void RegisterResponse::clear_team_name() { - _impl_.team_name_.ClearToEmpty(); -} -inline const std::string& RegisterResponse::team_name() const { - // @@protoc_insertion_point(field_get:protos.RegisterResponse.team_name) - return _internal_team_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE void RegisterResponse::set_team_name(Arg_&& arg, - Args_... args) { - ; - _impl_.team_name_.Set(static_cast(arg), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:protos.RegisterResponse.team_name) -} -inline std::string* RegisterResponse::mutable_team_name() { - std::string* _s = _internal_mutable_team_name(); - // @@protoc_insertion_point(field_mutable:protos.RegisterResponse.team_name) - return _s; -} -inline const std::string& RegisterResponse::_internal_team_name() const { - return _impl_.team_name_.Get(); -} -inline void RegisterResponse::_internal_set_team_name(const std::string& value) { - ; + public: + // int32 kick_count = 11; + void clear_kick_count() ; + ::int32_t kick_count() const; + void set_kick_count(::int32_t value); + private: + ::int32_t _internal_kick_count() const; + void _internal_set_kick_count(::int32_t value); - _impl_.team_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* RegisterResponse::_internal_mutable_team_name() { - ; - return _impl_.team_name_.Mutable( GetArenaForAllocation()); -} -inline std::string* RegisterResponse::release_team_name() { - // @@protoc_insertion_point(field_release:protos.RegisterResponse.team_name) - return _impl_.team_name_.Release(); -} -inline void RegisterResponse::set_allocated_team_name(std::string* value) { - _impl_.team_name_.SetAllocated(value, GetArenaForAllocation()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.team_name_.IsDefault()) { - _impl_.team_name_.Set("", GetArenaForAllocation()); - } - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:protos.RegisterResponse.team_name) -} + public: + // int32 turn_count = 12; + void clear_turn_count() ; + ::int32_t turn_count() const; + void set_turn_count(::int32_t value); -// int32 uniform_number = 4; -inline void RegisterResponse::clear_uniform_number() { - _impl_.uniform_number_ = 0; -} -inline ::int32_t RegisterResponse::uniform_number() const { - // @@protoc_insertion_point(field_get:protos.RegisterResponse.uniform_number) - return _internal_uniform_number(); -} -inline void RegisterResponse::set_uniform_number(::int32_t value) { - _internal_set_uniform_number(value); - // @@protoc_insertion_point(field_set:protos.RegisterResponse.uniform_number) -} -inline ::int32_t RegisterResponse::_internal_uniform_number() const { - return _impl_.uniform_number_; -} -inline void RegisterResponse::_internal_set_uniform_number(::int32_t value) { - ; - _impl_.uniform_number_ = value; -} + private: + ::int32_t _internal_turn_count() const; + void _internal_set_turn_count(::int32_t value); -// ------------------------------------------------------------------- + public: + // int32 dash_count = 13; + void clear_dash_count() ; + ::int32_t dash_count() const; + void set_dash_count(::int32_t value); -// Ball + private: + ::int32_t _internal_dash_count() const; + void _internal_set_dash_count(::int32_t value); -// .protos.RpcVector2D position = 1; -inline bool Ball::has_position() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.position_ != nullptr); - return value; -} -inline void Ball::clear_position() { - if (_impl_.position_ != nullptr) _impl_.position_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::protos::RpcVector2D& Ball::_internal_position() const { - const ::protos::RpcVector2D* p = _impl_.position_; - return p != nullptr ? *p : reinterpret_cast( - ::protos::_RpcVector2D_default_instance_); -} -inline const ::protos::RpcVector2D& Ball::position() const { - // @@protoc_insertion_point(field_get:protos.Ball.position) - return _internal_position(); -} -inline void Ball::unsafe_arena_set_allocated_position( - ::protos::RpcVector2D* position) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); + public: + // bool final_action = 14; + void clear_final_action() ; + bool final_action() const; + void set_final_action(bool value); + + private: + bool _internal_final_action() const; + void _internal_set_final_action(bool value); + + public: + // int32 parent_index = 16; + void clear_parent_index() ; + ::int32_t parent_index() const; + void set_parent_index(::int32_t value); + + private: + ::int32_t _internal_parent_index() const; + void _internal_set_parent_index(::int32_t value); + + public: + // @@protoc_insertion_point(class_scope:protos.RpcCooperativeAction) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_; + ::protos::RpcVector2D* target_point_; + int category_; + ::int32_t index_; + ::int32_t sender_unum_; + ::int32_t target_unum_; + double first_ball_speed_; + double first_turn_moment_; + double first_dash_power_; + double first_dash_angle_relative_; + ::int32_t duration_step_; + ::int32_t kick_count_; + ::int32_t turn_count_; + ::int32_t dash_count_; + bool final_action_; + ::int32_t parent_index_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_service_2eproto; +};// ------------------------------------------------------------------- + +class RpcPredictState final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protos.RpcPredictState) */ { + public: + inline RpcPredictState() : RpcPredictState(nullptr) {} + ~RpcPredictState() override; + template + explicit PROTOBUF_CONSTEXPR RpcPredictState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + RpcPredictState(const RpcPredictState& from); + RpcPredictState(RpcPredictState&& from) noexcept + : RpcPredictState() { + *this = ::std::move(from); } - _impl_.position_ = position; - if (position) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; + + inline RpcPredictState& operator=(const RpcPredictState& from) { + CopyFrom(from); + return *this; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.Ball.position) -} -inline ::protos::RpcVector2D* Ball::release_position() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::protos::RpcVector2D* temp = _impl_.position_; - _impl_.position_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + inline RpcPredictState& operator=(RpcPredictState&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::protos::RpcVector2D* Ball::unsafe_arena_release_position() { - // @@protoc_insertion_point(field_release:protos.Ball.position) - _impl_._has_bits_[0] &= ~0x00000001u; - ::protos::RpcVector2D* temp = _impl_.position_; - _impl_.position_ = nullptr; - return temp; -} -inline ::protos::RpcVector2D* Ball::_internal_mutable_position() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.position_ == nullptr) { - auto* p = CreateMaybeMessage<::protos::RpcVector2D>(GetArenaForAllocation()); - _impl_.position_ = p; + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); } - return _impl_.position_; -} -inline ::protos::RpcVector2D* Ball::mutable_position() { - ::protos::RpcVector2D* _msg = _internal_mutable_position(); - // @@protoc_insertion_point(field_mutable:protos.Ball.position) - return _msg; -} + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const RpcPredictState& default_instance() { + return *internal_default_instance(); + } + static inline const RpcPredictState* internal_default_instance() { + return reinterpret_cast( + &_RpcPredictState_default_instance_); + } + static constexpr int kIndexInFileMessages = + 128; + + friend void swap(RpcPredictState& a, RpcPredictState& b) { + a.Swap(&b); + } + inline void Swap(RpcPredictState* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RpcPredictState* other) { + if (other == this) return; + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RpcPredictState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const RpcPredictState& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const RpcPredictState& from) { + RpcPredictState::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + ::size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(RpcPredictState* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::absl::string_view FullMessageName() { + return "protos.RpcPredictState"; + } + protected: + explicit RpcPredictState(::PROTOBUF_NAMESPACE_ID::Arena* arena); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kBallPositionFieldNumber = 3, + kBallVelocityFieldNumber = 4, + kSpendTimeFieldNumber = 1, + kBallHolderUnumFieldNumber = 2, + kOurDefenseLineXFieldNumber = 5, + kOurOffenseLineXFieldNumber = 6, + }; + // .protos.RpcVector2D ball_position = 3; + bool has_ball_position() const; + void clear_ball_position() ; + const ::protos::RpcVector2D& ball_position() const; + PROTOBUF_NODISCARD ::protos::RpcVector2D* release_ball_position(); + ::protos::RpcVector2D* mutable_ball_position(); + void set_allocated_ball_position(::protos::RpcVector2D* ball_position); + private: + const ::protos::RpcVector2D& _internal_ball_position() const; + ::protos::RpcVector2D* _internal_mutable_ball_position(); + public: + void unsafe_arena_set_allocated_ball_position( + ::protos::RpcVector2D* ball_position); + ::protos::RpcVector2D* unsafe_arena_release_ball_position(); + // .protos.RpcVector2D ball_velocity = 4; + bool has_ball_velocity() const; + void clear_ball_velocity() ; + const ::protos::RpcVector2D& ball_velocity() const; + PROTOBUF_NODISCARD ::protos::RpcVector2D* release_ball_velocity(); + ::protos::RpcVector2D* mutable_ball_velocity(); + void set_allocated_ball_velocity(::protos::RpcVector2D* ball_velocity); + private: + const ::protos::RpcVector2D& _internal_ball_velocity() const; + ::protos::RpcVector2D* _internal_mutable_ball_velocity(); + public: + void unsafe_arena_set_allocated_ball_velocity( + ::protos::RpcVector2D* ball_velocity); + ::protos::RpcVector2D* unsafe_arena_release_ball_velocity(); + // int32 spend_time = 1; + void clear_spend_time() ; + ::int32_t spend_time() const; + void set_spend_time(::int32_t value); + + private: + ::int32_t _internal_spend_time() const; + void _internal_set_spend_time(::int32_t value); + + public: + // int32 ball_holder_unum = 2; + void clear_ball_holder_unum() ; + ::int32_t ball_holder_unum() const; + void set_ball_holder_unum(::int32_t value); + + private: + ::int32_t _internal_ball_holder_unum() const; + void _internal_set_ball_holder_unum(::int32_t value); + + public: + // double our_defense_line_x = 5; + void clear_our_defense_line_x() ; + double our_defense_line_x() const; + void set_our_defense_line_x(double value); + + private: + double _internal_our_defense_line_x() const; + void _internal_set_our_defense_line_x(double value); + + public: + // double our_offense_line_x = 6; + void clear_our_offense_line_x() ; + double our_offense_line_x() const; + void set_our_offense_line_x(double value); + + private: + double _internal_our_offense_line_x() const; + void _internal_set_our_offense_line_x(double value); + + public: + // @@protoc_insertion_point(class_scope:protos.RpcPredictState) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::protos::RpcVector2D* ball_position_; + ::protos::RpcVector2D* ball_velocity_; + ::int32_t spend_time_; + ::int32_t ball_holder_unum_; + double our_defense_line_x_; + double our_offense_line_x_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_service_2eproto; +};// ------------------------------------------------------------------- + +class RpcActionStatePair final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protos.RpcActionStatePair) */ { + public: + inline RpcActionStatePair() : RpcActionStatePair(nullptr) {} + ~RpcActionStatePair() override; + template + explicit PROTOBUF_CONSTEXPR RpcActionStatePair(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + RpcActionStatePair(const RpcActionStatePair& from); + RpcActionStatePair(RpcActionStatePair&& from) noexcept + : RpcActionStatePair() { + *this = ::std::move(from); + } + + inline RpcActionStatePair& operator=(const RpcActionStatePair& from) { + CopyFrom(from); + return *this; + } + inline RpcActionStatePair& operator=(RpcActionStatePair&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const RpcActionStatePair& default_instance() { + return *internal_default_instance(); + } + static inline const RpcActionStatePair* internal_default_instance() { + return reinterpret_cast( + &_RpcActionStatePair_default_instance_); + } + static constexpr int kIndexInFileMessages = + 129; + + friend void swap(RpcActionStatePair& a, RpcActionStatePair& b) { + a.Swap(&b); + } + inline void Swap(RpcActionStatePair* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RpcActionStatePair* other) { + if (other == this) return; + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RpcActionStatePair* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const RpcActionStatePair& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const RpcActionStatePair& from) { + RpcActionStatePair::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + ::size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(RpcActionStatePair* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::absl::string_view FullMessageName() { + return "protos.RpcActionStatePair"; + } + protected: + explicit RpcActionStatePair(::PROTOBUF_NAMESPACE_ID::Arena* arena); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kActionFieldNumber = 1, + kPredictStateFieldNumber = 2, + kEvaluationFieldNumber = 3, + }; + // .protos.RpcCooperativeAction action = 1; + bool has_action() const; + void clear_action() ; + const ::protos::RpcCooperativeAction& action() const; + PROTOBUF_NODISCARD ::protos::RpcCooperativeAction* release_action(); + ::protos::RpcCooperativeAction* mutable_action(); + void set_allocated_action(::protos::RpcCooperativeAction* action); + private: + const ::protos::RpcCooperativeAction& _internal_action() const; + ::protos::RpcCooperativeAction* _internal_mutable_action(); + public: + void unsafe_arena_set_allocated_action( + ::protos::RpcCooperativeAction* action); + ::protos::RpcCooperativeAction* unsafe_arena_release_action(); + // .protos.RpcPredictState predict_state = 2; + bool has_predict_state() const; + void clear_predict_state() ; + const ::protos::RpcPredictState& predict_state() const; + PROTOBUF_NODISCARD ::protos::RpcPredictState* release_predict_state(); + ::protos::RpcPredictState* mutable_predict_state(); + void set_allocated_predict_state(::protos::RpcPredictState* predict_state); + private: + const ::protos::RpcPredictState& _internal_predict_state() const; + ::protos::RpcPredictState* _internal_mutable_predict_state(); + public: + void unsafe_arena_set_allocated_predict_state( + ::protos::RpcPredictState* predict_state); + ::protos::RpcPredictState* unsafe_arena_release_predict_state(); + // double evaluation = 3; + void clear_evaluation() ; + double evaluation() const; + void set_evaluation(double value); + + private: + double _internal_evaluation() const; + void _internal_set_evaluation(double value); + + public: + // @@protoc_insertion_point(class_scope:protos.RpcActionStatePair) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::protos::RpcCooperativeAction* action_; + ::protos::RpcPredictState* predict_state_; + double evaluation_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_service_2eproto; +};// ------------------------------------------------------------------- + +class RpcActionStatePairs_PairsEntry_DoNotUse final : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry { +public: + typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry SuperType; + RpcActionStatePairs_PairsEntry_DoNotUse(); + template + explicit PROTOBUF_CONSTEXPR RpcActionStatePairs_PairsEntry_DoNotUse( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit RpcActionStatePairs_PairsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); + void MergeFrom(const RpcActionStatePairs_PairsEntry_DoNotUse& other); + static const RpcActionStatePairs_PairsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_RpcActionStatePairs_PairsEntry_DoNotUse_default_instance_); } + static bool ValidateKey(void*) { return true; } + static bool ValidateValue(void*) { return true; } + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + friend struct ::TableStruct_service_2eproto; +}; +// ------------------------------------------------------------------- + +class RpcActionStatePairs final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protos.RpcActionStatePairs) */ { + public: + inline RpcActionStatePairs() : RpcActionStatePairs(nullptr) {} + ~RpcActionStatePairs() override; + template + explicit PROTOBUF_CONSTEXPR RpcActionStatePairs(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + RpcActionStatePairs(const RpcActionStatePairs& from); + RpcActionStatePairs(RpcActionStatePairs&& from) noexcept + : RpcActionStatePairs() { + *this = ::std::move(from); + } + + inline RpcActionStatePairs& operator=(const RpcActionStatePairs& from) { + CopyFrom(from); + return *this; + } + inline RpcActionStatePairs& operator=(RpcActionStatePairs&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const RpcActionStatePairs& default_instance() { + return *internal_default_instance(); + } + static inline const RpcActionStatePairs* internal_default_instance() { + return reinterpret_cast( + &_RpcActionStatePairs_default_instance_); + } + static constexpr int kIndexInFileMessages = + 131; + + friend void swap(RpcActionStatePairs& a, RpcActionStatePairs& b) { + a.Swap(&b); + } + inline void Swap(RpcActionStatePairs* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RpcActionStatePairs* other) { + if (other == this) return; + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RpcActionStatePairs* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const RpcActionStatePairs& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const RpcActionStatePairs& from) { + RpcActionStatePairs::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + ::size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(RpcActionStatePairs* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::absl::string_view FullMessageName() { + return "protos.RpcActionStatePairs"; + } + protected: + explicit RpcActionStatePairs(::PROTOBUF_NAMESPACE_ID::Arena* arena); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + + // accessors ------------------------------------------------------- + + enum : int { + kPairsFieldNumber = 1, + kStateFieldNumber = 2, + }; + // map pairs = 1; + int pairs_size() const; + private: + int _internal_pairs_size() const; + + public: + void clear_pairs() ; + private: + const ::PROTOBUF_NAMESPACE_ID::Map< ::int32_t, ::protos::RpcActionStatePair >& + _internal_pairs() const; + ::PROTOBUF_NAMESPACE_ID::Map< ::int32_t, ::protos::RpcActionStatePair >* + _internal_mutable_pairs(); + public: + const ::PROTOBUF_NAMESPACE_ID::Map< ::int32_t, ::protos::RpcActionStatePair >& + pairs() const; + ::PROTOBUF_NAMESPACE_ID::Map< ::int32_t, ::protos::RpcActionStatePair >* + mutable_pairs(); + // .protos.State state = 2; + bool has_state() const; + void clear_state() ; + const ::protos::State& state() const; + PROTOBUF_NODISCARD ::protos::State* release_state(); + ::protos::State* mutable_state(); + void set_allocated_state(::protos::State* state); + private: + const ::protos::State& _internal_state() const; + ::protos::State* _internal_mutable_state(); + public: + void unsafe_arena_set_allocated_state( + ::protos::State* state); + ::protos::State* unsafe_arena_release_state(); + // @@protoc_insertion_point(class_scope:protos.RpcActionStatePairs) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::MapField< + RpcActionStatePairs_PairsEntry_DoNotUse, + ::int32_t, ::protos::RpcActionStatePair, + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32, + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> pairs_; + ::protos::State* state_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_service_2eproto; +};// ------------------------------------------------------------------- + +class BestActionStatePair final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protos.BestActionStatePair) */ { + public: + inline BestActionStatePair() : BestActionStatePair(nullptr) {} + ~BestActionStatePair() override; + template + explicit PROTOBUF_CONSTEXPR BestActionStatePair(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + BestActionStatePair(const BestActionStatePair& from); + BestActionStatePair(BestActionStatePair&& from) noexcept + : BestActionStatePair() { + *this = ::std::move(from); + } + + inline BestActionStatePair& operator=(const BestActionStatePair& from) { + CopyFrom(from); + return *this; + } + inline BestActionStatePair& operator=(BestActionStatePair&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BestActionStatePair& default_instance() { + return *internal_default_instance(); + } + static inline const BestActionStatePair* internal_default_instance() { + return reinterpret_cast( + &_BestActionStatePair_default_instance_); + } + static constexpr int kIndexInFileMessages = + 132; + + friend void swap(BestActionStatePair& a, BestActionStatePair& b) { + a.Swap(&b); + } + inline void Swap(BestActionStatePair* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BestActionStatePair* other) { + if (other == this) return; + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BestActionStatePair* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const BestActionStatePair& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const BestActionStatePair& from) { + BestActionStatePair::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + ::size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(BestActionStatePair* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::absl::string_view FullMessageName() { + return "protos.BestActionStatePair"; + } + protected: + explicit BestActionStatePair(::PROTOBUF_NAMESPACE_ID::Arena* arena); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kIndexFieldNumber = 1, + }; + // int32 index = 1; + void clear_index() ; + ::int32_t index() const; + void set_index(::int32_t value); + + private: + ::int32_t _internal_index() const; + void _internal_set_index(::int32_t value); + + public: + // @@protoc_insertion_point(class_scope:protos.BestActionStatePair) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::int32_t index_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_service_2eproto; +};// ------------------------------------------------------------------- + +class Empty final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:protos.Empty) */ { + public: + inline Empty() : Empty(nullptr) {} + template + explicit PROTOBUF_CONSTEXPR Empty(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + Empty(const Empty& from); + Empty(Empty&& from) noexcept + : Empty() { + *this = ::std::move(from); + } + + inline Empty& operator=(const Empty& from) { + CopyFrom(from); + return *this; + } + inline Empty& operator=(Empty&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Empty& default_instance() { + return *internal_default_instance(); + } + static inline const Empty* internal_default_instance() { + return reinterpret_cast( + &_Empty_default_instance_); + } + static constexpr int kIndexInFileMessages = + 133; + + friend void swap(Empty& a, Empty& b) { + a.Swap(&b); + } + inline void Swap(Empty* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Empty* other) { + if (other == this) return; + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Empty* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const Empty& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const Empty& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + public: + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::absl::string_view FullMessageName() { + return "protos.Empty"; + } + protected: + explicit Empty(::PROTOBUF_NAMESPACE_ID::Arena* arena); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:protos.Empty) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_service_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// RpcVector2D + +// float x = 1; +inline void RpcVector2D::clear_x() { + _impl_.x_ = 0; +} +inline float RpcVector2D::x() const { + // @@protoc_insertion_point(field_get:protos.RpcVector2D.x) + return _internal_x(); +} +inline void RpcVector2D::set_x(float value) { + _internal_set_x(value); + // @@protoc_insertion_point(field_set:protos.RpcVector2D.x) +} +inline float RpcVector2D::_internal_x() const { + return _impl_.x_; +} +inline void RpcVector2D::_internal_set_x(float value) { + ; + _impl_.x_ = value; +} + +// float y = 2; +inline void RpcVector2D::clear_y() { + _impl_.y_ = 0; +} +inline float RpcVector2D::y() const { + // @@protoc_insertion_point(field_get:protos.RpcVector2D.y) + return _internal_y(); +} +inline void RpcVector2D::set_y(float value) { + _internal_set_y(value); + // @@protoc_insertion_point(field_set:protos.RpcVector2D.y) +} +inline float RpcVector2D::_internal_y() const { + return _impl_.y_; +} +inline void RpcVector2D::_internal_set_y(float value) { + ; + _impl_.y_ = value; +} + +// float dist = 3; +inline void RpcVector2D::clear_dist() { + _impl_.dist_ = 0; +} +inline float RpcVector2D::dist() const { + // @@protoc_insertion_point(field_get:protos.RpcVector2D.dist) + return _internal_dist(); +} +inline void RpcVector2D::set_dist(float value) { + _internal_set_dist(value); + // @@protoc_insertion_point(field_set:protos.RpcVector2D.dist) +} +inline float RpcVector2D::_internal_dist() const { + return _impl_.dist_; +} +inline void RpcVector2D::_internal_set_dist(float value) { + ; + _impl_.dist_ = value; +} + +// float angle = 4; +inline void RpcVector2D::clear_angle() { + _impl_.angle_ = 0; +} +inline float RpcVector2D::angle() const { + // @@protoc_insertion_point(field_get:protos.RpcVector2D.angle) + return _internal_angle(); +} +inline void RpcVector2D::set_angle(float value) { + _internal_set_angle(value); + // @@protoc_insertion_point(field_set:protos.RpcVector2D.angle) +} +inline float RpcVector2D::_internal_angle() const { + return _impl_.angle_; +} +inline void RpcVector2D::_internal_set_angle(float value) { + ; + _impl_.angle_ = value; +} + +// ------------------------------------------------------------------- + +// RegisterRequest + +// .protos.AgentType agent_type = 1; +inline void RegisterRequest::clear_agent_type() { + _impl_.agent_type_ = 0; +} +inline ::protos::AgentType RegisterRequest::agent_type() const { + // @@protoc_insertion_point(field_get:protos.RegisterRequest.agent_type) + return _internal_agent_type(); +} +inline void RegisterRequest::set_agent_type(::protos::AgentType value) { + _internal_set_agent_type(value); + // @@protoc_insertion_point(field_set:protos.RegisterRequest.agent_type) +} +inline ::protos::AgentType RegisterRequest::_internal_agent_type() const { + return static_cast<::protos::AgentType>(_impl_.agent_type_); +} +inline void RegisterRequest::_internal_set_agent_type(::protos::AgentType value) { + ; + _impl_.agent_type_ = value; +} + +// string team_name = 2; +inline void RegisterRequest::clear_team_name() { + _impl_.team_name_.ClearToEmpty(); +} +inline const std::string& RegisterRequest::team_name() const { + // @@protoc_insertion_point(field_get:protos.RegisterRequest.team_name) + return _internal_team_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE void RegisterRequest::set_team_name(Arg_&& arg, + Args_... args) { + ; + _impl_.team_name_.Set(static_cast(arg), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:protos.RegisterRequest.team_name) +} +inline std::string* RegisterRequest::mutable_team_name() { + std::string* _s = _internal_mutable_team_name(); + // @@protoc_insertion_point(field_mutable:protos.RegisterRequest.team_name) + return _s; +} +inline const std::string& RegisterRequest::_internal_team_name() const { + return _impl_.team_name_.Get(); +} +inline void RegisterRequest::_internal_set_team_name(const std::string& value) { + ; + + + _impl_.team_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* RegisterRequest::_internal_mutable_team_name() { + ; + return _impl_.team_name_.Mutable( GetArenaForAllocation()); +} +inline std::string* RegisterRequest::release_team_name() { + // @@protoc_insertion_point(field_release:protos.RegisterRequest.team_name) + return _impl_.team_name_.Release(); +} +inline void RegisterRequest::set_allocated_team_name(std::string* value) { + _impl_.team_name_.SetAllocated(value, GetArenaForAllocation()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.team_name_.IsDefault()) { + _impl_.team_name_.Set("", GetArenaForAllocation()); + } + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:protos.RegisterRequest.team_name) +} + +// int32 uniform_number = 3; +inline void RegisterRequest::clear_uniform_number() { + _impl_.uniform_number_ = 0; +} +inline ::int32_t RegisterRequest::uniform_number() const { + // @@protoc_insertion_point(field_get:protos.RegisterRequest.uniform_number) + return _internal_uniform_number(); +} +inline void RegisterRequest::set_uniform_number(::int32_t value) { + _internal_set_uniform_number(value); + // @@protoc_insertion_point(field_set:protos.RegisterRequest.uniform_number) +} +inline ::int32_t RegisterRequest::_internal_uniform_number() const { + return _impl_.uniform_number_; +} +inline void RegisterRequest::_internal_set_uniform_number(::int32_t value) { + ; + _impl_.uniform_number_ = value; +} + +// ------------------------------------------------------------------- + +// RegisterResponse + +// int32 client_id = 1; +inline void RegisterResponse::clear_client_id() { + _impl_.client_id_ = 0; +} +inline ::int32_t RegisterResponse::client_id() const { + // @@protoc_insertion_point(field_get:protos.RegisterResponse.client_id) + return _internal_client_id(); +} +inline void RegisterResponse::set_client_id(::int32_t value) { + _internal_set_client_id(value); + // @@protoc_insertion_point(field_set:protos.RegisterResponse.client_id) +} +inline ::int32_t RegisterResponse::_internal_client_id() const { + return _impl_.client_id_; +} +inline void RegisterResponse::_internal_set_client_id(::int32_t value) { + ; + _impl_.client_id_ = value; +} + +// .protos.AgentType agent_type = 2; +inline void RegisterResponse::clear_agent_type() { + _impl_.agent_type_ = 0; +} +inline ::protos::AgentType RegisterResponse::agent_type() const { + // @@protoc_insertion_point(field_get:protos.RegisterResponse.agent_type) + return _internal_agent_type(); +} +inline void RegisterResponse::set_agent_type(::protos::AgentType value) { + _internal_set_agent_type(value); + // @@protoc_insertion_point(field_set:protos.RegisterResponse.agent_type) +} +inline ::protos::AgentType RegisterResponse::_internal_agent_type() const { + return static_cast<::protos::AgentType>(_impl_.agent_type_); +} +inline void RegisterResponse::_internal_set_agent_type(::protos::AgentType value) { + ; + _impl_.agent_type_ = value; +} + +// string team_name = 3; +inline void RegisterResponse::clear_team_name() { + _impl_.team_name_.ClearToEmpty(); +} +inline const std::string& RegisterResponse::team_name() const { + // @@protoc_insertion_point(field_get:protos.RegisterResponse.team_name) + return _internal_team_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE void RegisterResponse::set_team_name(Arg_&& arg, + Args_... args) { + ; + _impl_.team_name_.Set(static_cast(arg), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:protos.RegisterResponse.team_name) +} +inline std::string* RegisterResponse::mutable_team_name() { + std::string* _s = _internal_mutable_team_name(); + // @@protoc_insertion_point(field_mutable:protos.RegisterResponse.team_name) + return _s; +} +inline const std::string& RegisterResponse::_internal_team_name() const { + return _impl_.team_name_.Get(); +} +inline void RegisterResponse::_internal_set_team_name(const std::string& value) { + ; + + + _impl_.team_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* RegisterResponse::_internal_mutable_team_name() { + ; + return _impl_.team_name_.Mutable( GetArenaForAllocation()); +} +inline std::string* RegisterResponse::release_team_name() { + // @@protoc_insertion_point(field_release:protos.RegisterResponse.team_name) + return _impl_.team_name_.Release(); +} +inline void RegisterResponse::set_allocated_team_name(std::string* value) { + _impl_.team_name_.SetAllocated(value, GetArenaForAllocation()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.team_name_.IsDefault()) { + _impl_.team_name_.Set("", GetArenaForAllocation()); + } + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:protos.RegisterResponse.team_name) +} + +// int32 uniform_number = 4; +inline void RegisterResponse::clear_uniform_number() { + _impl_.uniform_number_ = 0; +} +inline ::int32_t RegisterResponse::uniform_number() const { + // @@protoc_insertion_point(field_get:protos.RegisterResponse.uniform_number) + return _internal_uniform_number(); +} +inline void RegisterResponse::set_uniform_number(::int32_t value) { + _internal_set_uniform_number(value); + // @@protoc_insertion_point(field_set:protos.RegisterResponse.uniform_number) +} +inline ::int32_t RegisterResponse::_internal_uniform_number() const { + return _impl_.uniform_number_; +} +inline void RegisterResponse::_internal_set_uniform_number(::int32_t value) { + ; + _impl_.uniform_number_ = value; +} + +// ------------------------------------------------------------------- + +// Ball + +// .protos.RpcVector2D position = 1; +inline bool Ball::has_position() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.position_ != nullptr); + return value; +} +inline void Ball::clear_position() { + if (_impl_.position_ != nullptr) _impl_.position_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::protos::RpcVector2D& Ball::_internal_position() const { + const ::protos::RpcVector2D* p = _impl_.position_; + return p != nullptr ? *p : reinterpret_cast( + ::protos::_RpcVector2D_default_instance_); +} +inline const ::protos::RpcVector2D& Ball::position() const { + // @@protoc_insertion_point(field_get:protos.Ball.position) + return _internal_position(); +} +inline void Ball::unsafe_arena_set_allocated_position( + ::protos::RpcVector2D* position) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); + } + _impl_.position_ = position; + if (position) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.Ball.position) +} +inline ::protos::RpcVector2D* Ball::release_position() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::protos::RpcVector2D* temp = _impl_.position_; + _impl_.position_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::protos::RpcVector2D* Ball::unsafe_arena_release_position() { + // @@protoc_insertion_point(field_release:protos.Ball.position) + _impl_._has_bits_[0] &= ~0x00000001u; + ::protos::RpcVector2D* temp = _impl_.position_; + _impl_.position_ = nullptr; + return temp; +} +inline ::protos::RpcVector2D* Ball::_internal_mutable_position() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.position_ == nullptr) { + auto* p = CreateMaybeMessage<::protos::RpcVector2D>(GetArenaForAllocation()); + _impl_.position_ = p; + } + return _impl_.position_; +} +inline ::protos::RpcVector2D* Ball::mutable_position() { + ::protos::RpcVector2D* _msg = _internal_mutable_position(); + // @@protoc_insertion_point(field_mutable:protos.Ball.position) + return _msg; +} inline void Ball::set_allocated_position(::protos::RpcVector2D* position) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { @@ -33840,6 +35068,26 @@ inline void State::set_allocated_full_world_model(::protos::WorldModel* full_wor // @@protoc_insertion_point(field_set_allocated:protos.State.full_world_model) } +// bool need_preprocess = 4; +inline void State::clear_need_preprocess() { + _impl_.need_preprocess_ = false; +} +inline bool State::need_preprocess() const { + // @@protoc_insertion_point(field_get:protos.State.need_preprocess) + return _internal_need_preprocess(); +} +inline void State::set_need_preprocess(bool value) { + _internal_set_need_preprocess(value); + // @@protoc_insertion_point(field_set:protos.State.need_preprocess) +} +inline bool State::_internal_need_preprocess() const { + return _impl_.need_preprocess_; +} +inline void State::_internal_set_need_preprocess(bool value) { + ; + _impl_.need_preprocess_ = value; +} + // ------------------------------------------------------------------- // InitMessage @@ -42924,35 +44172,325 @@ inline void Body_StopDash::set_save_recovery(bool value) { inline bool Body_StopDash::_internal_save_recovery() const { return _impl_.save_recovery_; } -inline void Body_StopDash::_internal_set_save_recovery(bool value) { +inline void Body_StopDash::_internal_set_save_recovery(bool value) { + ; + _impl_.save_recovery_ = value; +} + +// ------------------------------------------------------------------- + +// Body_TackleToPoint + +// .protos.RpcVector2D target_point = 1; +inline bool Body_TackleToPoint::has_target_point() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.target_point_ != nullptr); + return value; +} +inline void Body_TackleToPoint::clear_target_point() { + if (_impl_.target_point_ != nullptr) _impl_.target_point_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::protos::RpcVector2D& Body_TackleToPoint::_internal_target_point() const { + const ::protos::RpcVector2D* p = _impl_.target_point_; + return p != nullptr ? *p : reinterpret_cast( + ::protos::_RpcVector2D_default_instance_); +} +inline const ::protos::RpcVector2D& Body_TackleToPoint::target_point() const { + // @@protoc_insertion_point(field_get:protos.Body_TackleToPoint.target_point) + return _internal_target_point(); +} +inline void Body_TackleToPoint::unsafe_arena_set_allocated_target_point( + ::protos::RpcVector2D* target_point) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.target_point_); + } + _impl_.target_point_ = target_point; + if (target_point) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.Body_TackleToPoint.target_point) +} +inline ::protos::RpcVector2D* Body_TackleToPoint::release_target_point() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::protos::RpcVector2D* temp = _impl_.target_point_; + _impl_.target_point_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::protos::RpcVector2D* Body_TackleToPoint::unsafe_arena_release_target_point() { + // @@protoc_insertion_point(field_release:protos.Body_TackleToPoint.target_point) + _impl_._has_bits_[0] &= ~0x00000001u; + ::protos::RpcVector2D* temp = _impl_.target_point_; + _impl_.target_point_ = nullptr; + return temp; +} +inline ::protos::RpcVector2D* Body_TackleToPoint::_internal_mutable_target_point() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.target_point_ == nullptr) { + auto* p = CreateMaybeMessage<::protos::RpcVector2D>(GetArenaForAllocation()); + _impl_.target_point_ = p; + } + return _impl_.target_point_; +} +inline ::protos::RpcVector2D* Body_TackleToPoint::mutable_target_point() { + ::protos::RpcVector2D* _msg = _internal_mutable_target_point(); + // @@protoc_insertion_point(field_mutable:protos.Body_TackleToPoint.target_point) + return _msg; +} +inline void Body_TackleToPoint::set_allocated_target_point(::protos::RpcVector2D* target_point) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.target_point_; + } + if (target_point) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(target_point); + if (message_arena != submessage_arena) { + target_point = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, target_point, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.target_point_ = target_point; + // @@protoc_insertion_point(field_set_allocated:protos.Body_TackleToPoint.target_point) +} + +// float min_probability = 2; +inline void Body_TackleToPoint::clear_min_probability() { + _impl_.min_probability_ = 0; +} +inline float Body_TackleToPoint::min_probability() const { + // @@protoc_insertion_point(field_get:protos.Body_TackleToPoint.min_probability) + return _internal_min_probability(); +} +inline void Body_TackleToPoint::set_min_probability(float value) { + _internal_set_min_probability(value); + // @@protoc_insertion_point(field_set:protos.Body_TackleToPoint.min_probability) +} +inline float Body_TackleToPoint::_internal_min_probability() const { + return _impl_.min_probability_; +} +inline void Body_TackleToPoint::_internal_set_min_probability(float value) { + ; + _impl_.min_probability_ = value; +} + +// float min_speed = 3; +inline void Body_TackleToPoint::clear_min_speed() { + _impl_.min_speed_ = 0; +} +inline float Body_TackleToPoint::min_speed() const { + // @@protoc_insertion_point(field_get:protos.Body_TackleToPoint.min_speed) + return _internal_min_speed(); +} +inline void Body_TackleToPoint::set_min_speed(float value) { + _internal_set_min_speed(value); + // @@protoc_insertion_point(field_set:protos.Body_TackleToPoint.min_speed) +} +inline float Body_TackleToPoint::_internal_min_speed() const { + return _impl_.min_speed_; +} +inline void Body_TackleToPoint::_internal_set_min_speed(float value) { + ; + _impl_.min_speed_ = value; +} + +// ------------------------------------------------------------------- + +// Body_TurnToAngle + +// float angle = 1; +inline void Body_TurnToAngle::clear_angle() { + _impl_.angle_ = 0; +} +inline float Body_TurnToAngle::angle() const { + // @@protoc_insertion_point(field_get:protos.Body_TurnToAngle.angle) + return _internal_angle(); +} +inline void Body_TurnToAngle::set_angle(float value) { + _internal_set_angle(value); + // @@protoc_insertion_point(field_set:protos.Body_TurnToAngle.angle) +} +inline float Body_TurnToAngle::_internal_angle() const { + return _impl_.angle_; +} +inline void Body_TurnToAngle::_internal_set_angle(float value) { + ; + _impl_.angle_ = value; +} + +// ------------------------------------------------------------------- + +// Body_TurnToBall + +// int32 cycle = 1; +inline void Body_TurnToBall::clear_cycle() { + _impl_.cycle_ = 0; +} +inline ::int32_t Body_TurnToBall::cycle() const { + // @@protoc_insertion_point(field_get:protos.Body_TurnToBall.cycle) + return _internal_cycle(); +} +inline void Body_TurnToBall::set_cycle(::int32_t value) { + _internal_set_cycle(value); + // @@protoc_insertion_point(field_set:protos.Body_TurnToBall.cycle) +} +inline ::int32_t Body_TurnToBall::_internal_cycle() const { + return _impl_.cycle_; +} +inline void Body_TurnToBall::_internal_set_cycle(::int32_t value) { + ; + _impl_.cycle_ = value; +} + +// ------------------------------------------------------------------- + +// Body_TurnToPoint + +// .protos.RpcVector2D target_point = 1; +inline bool Body_TurnToPoint::has_target_point() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.target_point_ != nullptr); + return value; +} +inline void Body_TurnToPoint::clear_target_point() { + if (_impl_.target_point_ != nullptr) _impl_.target_point_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::protos::RpcVector2D& Body_TurnToPoint::_internal_target_point() const { + const ::protos::RpcVector2D* p = _impl_.target_point_; + return p != nullptr ? *p : reinterpret_cast( + ::protos::_RpcVector2D_default_instance_); +} +inline const ::protos::RpcVector2D& Body_TurnToPoint::target_point() const { + // @@protoc_insertion_point(field_get:protos.Body_TurnToPoint.target_point) + return _internal_target_point(); +} +inline void Body_TurnToPoint::unsafe_arena_set_allocated_target_point( + ::protos::RpcVector2D* target_point) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.target_point_); + } + _impl_.target_point_ = target_point; + if (target_point) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.Body_TurnToPoint.target_point) +} +inline ::protos::RpcVector2D* Body_TurnToPoint::release_target_point() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::protos::RpcVector2D* temp = _impl_.target_point_; + _impl_.target_point_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::protos::RpcVector2D* Body_TurnToPoint::unsafe_arena_release_target_point() { + // @@protoc_insertion_point(field_release:protos.Body_TurnToPoint.target_point) + _impl_._has_bits_[0] &= ~0x00000001u; + ::protos::RpcVector2D* temp = _impl_.target_point_; + _impl_.target_point_ = nullptr; + return temp; +} +inline ::protos::RpcVector2D* Body_TurnToPoint::_internal_mutable_target_point() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.target_point_ == nullptr) { + auto* p = CreateMaybeMessage<::protos::RpcVector2D>(GetArenaForAllocation()); + _impl_.target_point_ = p; + } + return _impl_.target_point_; +} +inline ::protos::RpcVector2D* Body_TurnToPoint::mutable_target_point() { + ::protos::RpcVector2D* _msg = _internal_mutable_target_point(); + // @@protoc_insertion_point(field_mutable:protos.Body_TurnToPoint.target_point) + return _msg; +} +inline void Body_TurnToPoint::set_allocated_target_point(::protos::RpcVector2D* target_point) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.target_point_; + } + if (target_point) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(target_point); + if (message_arena != submessage_arena) { + target_point = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, target_point, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.target_point_ = target_point; + // @@protoc_insertion_point(field_set_allocated:protos.Body_TurnToPoint.target_point) +} + +// int32 cycle = 2; +inline void Body_TurnToPoint::clear_cycle() { + _impl_.cycle_ = 0; +} +inline ::int32_t Body_TurnToPoint::cycle() const { + // @@protoc_insertion_point(field_get:protos.Body_TurnToPoint.cycle) + return _internal_cycle(); +} +inline void Body_TurnToPoint::set_cycle(::int32_t value) { + _internal_set_cycle(value); + // @@protoc_insertion_point(field_set:protos.Body_TurnToPoint.cycle) +} +inline ::int32_t Body_TurnToPoint::_internal_cycle() const { + return _impl_.cycle_; +} +inline void Body_TurnToPoint::_internal_set_cycle(::int32_t value) { ; - _impl_.save_recovery_ = value; + _impl_.cycle_ = value; } // ------------------------------------------------------------------- -// Body_TackleToPoint +// Focus_MoveToPoint // .protos.RpcVector2D target_point = 1; -inline bool Body_TackleToPoint::has_target_point() const { +inline bool Focus_MoveToPoint::has_target_point() const { bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; PROTOBUF_ASSUME(!value || _impl_.target_point_ != nullptr); return value; } -inline void Body_TackleToPoint::clear_target_point() { +inline void Focus_MoveToPoint::clear_target_point() { if (_impl_.target_point_ != nullptr) _impl_.target_point_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } -inline const ::protos::RpcVector2D& Body_TackleToPoint::_internal_target_point() const { +inline const ::protos::RpcVector2D& Focus_MoveToPoint::_internal_target_point() const { const ::protos::RpcVector2D* p = _impl_.target_point_; return p != nullptr ? *p : reinterpret_cast( ::protos::_RpcVector2D_default_instance_); } -inline const ::protos::RpcVector2D& Body_TackleToPoint::target_point() const { - // @@protoc_insertion_point(field_get:protos.Body_TackleToPoint.target_point) +inline const ::protos::RpcVector2D& Focus_MoveToPoint::target_point() const { + // @@protoc_insertion_point(field_get:protos.Focus_MoveToPoint.target_point) return _internal_target_point(); } -inline void Body_TackleToPoint::unsafe_arena_set_allocated_target_point( +inline void Focus_MoveToPoint::unsafe_arena_set_allocated_target_point( ::protos::RpcVector2D* target_point) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.target_point_); @@ -42963,9 +44501,9 @@ inline void Body_TackleToPoint::unsafe_arena_set_allocated_target_point( } else { _impl_._has_bits_[0] &= ~0x00000001u; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.Body_TackleToPoint.target_point) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.Focus_MoveToPoint.target_point) } -inline ::protos::RpcVector2D* Body_TackleToPoint::release_target_point() { +inline ::protos::RpcVector2D* Focus_MoveToPoint::release_target_point() { _impl_._has_bits_[0] &= ~0x00000001u; ::protos::RpcVector2D* temp = _impl_.target_point_; _impl_.target_point_ = nullptr; @@ -42980,14 +44518,14 @@ inline ::protos::RpcVector2D* Body_TackleToPoint::release_target_point() { #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::protos::RpcVector2D* Body_TackleToPoint::unsafe_arena_release_target_point() { - // @@protoc_insertion_point(field_release:protos.Body_TackleToPoint.target_point) +inline ::protos::RpcVector2D* Focus_MoveToPoint::unsafe_arena_release_target_point() { + // @@protoc_insertion_point(field_release:protos.Focus_MoveToPoint.target_point) _impl_._has_bits_[0] &= ~0x00000001u; ::protos::RpcVector2D* temp = _impl_.target_point_; _impl_.target_point_ = nullptr; return temp; } -inline ::protos::RpcVector2D* Body_TackleToPoint::_internal_mutable_target_point() { +inline ::protos::RpcVector2D* Focus_MoveToPoint::_internal_mutable_target_point() { _impl_._has_bits_[0] |= 0x00000001u; if (_impl_.target_point_ == nullptr) { auto* p = CreateMaybeMessage<::protos::RpcVector2D>(GetArenaForAllocation()); @@ -42995,12 +44533,12 @@ inline ::protos::RpcVector2D* Body_TackleToPoint::_internal_mutable_target_point } return _impl_.target_point_; } -inline ::protos::RpcVector2D* Body_TackleToPoint::mutable_target_point() { +inline ::protos::RpcVector2D* Focus_MoveToPoint::mutable_target_point() { ::protos::RpcVector2D* _msg = _internal_mutable_target_point(); - // @@protoc_insertion_point(field_mutable:protos.Body_TackleToPoint.target_point) + // @@protoc_insertion_point(field_mutable:protos.Focus_MoveToPoint.target_point) return _msg; } -inline void Body_TackleToPoint::set_allocated_target_point(::protos::RpcVector2D* target_point) { +inline void Focus_MoveToPoint::set_allocated_target_point(::protos::RpcVector2D* target_point) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete _impl_.target_point_; @@ -43017,121 +44555,229 @@ inline void Body_TackleToPoint::set_allocated_target_point(::protos::RpcVector2D _impl_._has_bits_[0] &= ~0x00000001u; } _impl_.target_point_ = target_point; - // @@protoc_insertion_point(field_set_allocated:protos.Body_TackleToPoint.target_point) + // @@protoc_insertion_point(field_set_allocated:protos.Focus_MoveToPoint.target_point) } -// float min_probability = 2; -inline void Body_TackleToPoint::clear_min_probability() { - _impl_.min_probability_ = 0; +// ------------------------------------------------------------------- + +// Focus_Reset + +// ------------------------------------------------------------------- + +// Neck_ScanField + +// ------------------------------------------------------------------- + +// Neck_ScanPlayers + +// ------------------------------------------------------------------- + +// Neck_TurnToBallAndPlayer + +// .protos.Side side = 1; +inline void Neck_TurnToBallAndPlayer::clear_side() { + _impl_.side_ = 0; } -inline float Body_TackleToPoint::min_probability() const { - // @@protoc_insertion_point(field_get:protos.Body_TackleToPoint.min_probability) - return _internal_min_probability(); +inline ::protos::Side Neck_TurnToBallAndPlayer::side() const { + // @@protoc_insertion_point(field_get:protos.Neck_TurnToBallAndPlayer.side) + return _internal_side(); } -inline void Body_TackleToPoint::set_min_probability(float value) { - _internal_set_min_probability(value); - // @@protoc_insertion_point(field_set:protos.Body_TackleToPoint.min_probability) +inline void Neck_TurnToBallAndPlayer::set_side(::protos::Side value) { + _internal_set_side(value); + // @@protoc_insertion_point(field_set:protos.Neck_TurnToBallAndPlayer.side) } -inline float Body_TackleToPoint::_internal_min_probability() const { - return _impl_.min_probability_; +inline ::protos::Side Neck_TurnToBallAndPlayer::_internal_side() const { + return static_cast<::protos::Side>(_impl_.side_); } -inline void Body_TackleToPoint::_internal_set_min_probability(float value) { +inline void Neck_TurnToBallAndPlayer::_internal_set_side(::protos::Side value) { ; - _impl_.min_probability_ = value; + _impl_.side_ = value; } -// float min_speed = 3; -inline void Body_TackleToPoint::clear_min_speed() { - _impl_.min_speed_ = 0; +// int32 uniform_number = 2; +inline void Neck_TurnToBallAndPlayer::clear_uniform_number() { + _impl_.uniform_number_ = 0; } -inline float Body_TackleToPoint::min_speed() const { - // @@protoc_insertion_point(field_get:protos.Body_TackleToPoint.min_speed) - return _internal_min_speed(); +inline ::int32_t Neck_TurnToBallAndPlayer::uniform_number() const { + // @@protoc_insertion_point(field_get:protos.Neck_TurnToBallAndPlayer.uniform_number) + return _internal_uniform_number(); } -inline void Body_TackleToPoint::set_min_speed(float value) { - _internal_set_min_speed(value); - // @@protoc_insertion_point(field_set:protos.Body_TackleToPoint.min_speed) +inline void Neck_TurnToBallAndPlayer::set_uniform_number(::int32_t value) { + _internal_set_uniform_number(value); + // @@protoc_insertion_point(field_set:protos.Neck_TurnToBallAndPlayer.uniform_number) } -inline float Body_TackleToPoint::_internal_min_speed() const { - return _impl_.min_speed_; +inline ::int32_t Neck_TurnToBallAndPlayer::_internal_uniform_number() const { + return _impl_.uniform_number_; } -inline void Body_TackleToPoint::_internal_set_min_speed(float value) { +inline void Neck_TurnToBallAndPlayer::_internal_set_uniform_number(::int32_t value) { ; - _impl_.min_speed_ = value; + _impl_.uniform_number_ = value; +} + +// int32 count_threshold = 3; +inline void Neck_TurnToBallAndPlayer::clear_count_threshold() { + _impl_.count_threshold_ = 0; +} +inline ::int32_t Neck_TurnToBallAndPlayer::count_threshold() const { + // @@protoc_insertion_point(field_get:protos.Neck_TurnToBallAndPlayer.count_threshold) + return _internal_count_threshold(); +} +inline void Neck_TurnToBallAndPlayer::set_count_threshold(::int32_t value) { + _internal_set_count_threshold(value); + // @@protoc_insertion_point(field_set:protos.Neck_TurnToBallAndPlayer.count_threshold) +} +inline ::int32_t Neck_TurnToBallAndPlayer::_internal_count_threshold() const { + return _impl_.count_threshold_; +} +inline void Neck_TurnToBallAndPlayer::_internal_set_count_threshold(::int32_t value) { + ; + _impl_.count_threshold_ = value; } // ------------------------------------------------------------------- -// Body_TurnToAngle +// Neck_TurnToBallOrScan -// float angle = 1; -inline void Body_TurnToAngle::clear_angle() { - _impl_.angle_ = 0; +// int32 count_threshold = 1; +inline void Neck_TurnToBallOrScan::clear_count_threshold() { + _impl_.count_threshold_ = 0; } -inline float Body_TurnToAngle::angle() const { - // @@protoc_insertion_point(field_get:protos.Body_TurnToAngle.angle) - return _internal_angle(); +inline ::int32_t Neck_TurnToBallOrScan::count_threshold() const { + // @@protoc_insertion_point(field_get:protos.Neck_TurnToBallOrScan.count_threshold) + return _internal_count_threshold(); } -inline void Body_TurnToAngle::set_angle(float value) { - _internal_set_angle(value); - // @@protoc_insertion_point(field_set:protos.Body_TurnToAngle.angle) +inline void Neck_TurnToBallOrScan::set_count_threshold(::int32_t value) { + _internal_set_count_threshold(value); + // @@protoc_insertion_point(field_set:protos.Neck_TurnToBallOrScan.count_threshold) } -inline float Body_TurnToAngle::_internal_angle() const { - return _impl_.angle_; +inline ::int32_t Neck_TurnToBallOrScan::_internal_count_threshold() const { + return _impl_.count_threshold_; } -inline void Body_TurnToAngle::_internal_set_angle(float value) { +inline void Neck_TurnToBallOrScan::_internal_set_count_threshold(::int32_t value) { ; - _impl_.angle_ = value; + _impl_.count_threshold_ = value; } // ------------------------------------------------------------------- -// Body_TurnToBall +// Neck_TurnToBall -// int32 cycle = 1; -inline void Body_TurnToBall::clear_cycle() { - _impl_.cycle_ = 0; +// ------------------------------------------------------------------- + +// Neck_TurnToGoalieOrScan + +// int32 count_threshold = 1; +inline void Neck_TurnToGoalieOrScan::clear_count_threshold() { + _impl_.count_threshold_ = 0; } -inline ::int32_t Body_TurnToBall::cycle() const { - // @@protoc_insertion_point(field_get:protos.Body_TurnToBall.cycle) - return _internal_cycle(); +inline ::int32_t Neck_TurnToGoalieOrScan::count_threshold() const { + // @@protoc_insertion_point(field_get:protos.Neck_TurnToGoalieOrScan.count_threshold) + return _internal_count_threshold(); } -inline void Body_TurnToBall::set_cycle(::int32_t value) { - _internal_set_cycle(value); - // @@protoc_insertion_point(field_set:protos.Body_TurnToBall.cycle) +inline void Neck_TurnToGoalieOrScan::set_count_threshold(::int32_t value) { + _internal_set_count_threshold(value); + // @@protoc_insertion_point(field_set:protos.Neck_TurnToGoalieOrScan.count_threshold) } -inline ::int32_t Body_TurnToBall::_internal_cycle() const { - return _impl_.cycle_; +inline ::int32_t Neck_TurnToGoalieOrScan::_internal_count_threshold() const { + return _impl_.count_threshold_; } -inline void Body_TurnToBall::_internal_set_cycle(::int32_t value) { +inline void Neck_TurnToGoalieOrScan::_internal_set_count_threshold(::int32_t value) { ; - _impl_.cycle_ = value; + _impl_.count_threshold_ = value; } // ------------------------------------------------------------------- -// Body_TurnToPoint +// Neck_TurnToLowConfTeammate + +// ------------------------------------------------------------------- + +// Neck_TurnToPlayerOrScan + +// .protos.Side side = 1; +inline void Neck_TurnToPlayerOrScan::clear_side() { + _impl_.side_ = 0; +} +inline ::protos::Side Neck_TurnToPlayerOrScan::side() const { + // @@protoc_insertion_point(field_get:protos.Neck_TurnToPlayerOrScan.side) + return _internal_side(); +} +inline void Neck_TurnToPlayerOrScan::set_side(::protos::Side value) { + _internal_set_side(value); + // @@protoc_insertion_point(field_set:protos.Neck_TurnToPlayerOrScan.side) +} +inline ::protos::Side Neck_TurnToPlayerOrScan::_internal_side() const { + return static_cast<::protos::Side>(_impl_.side_); +} +inline void Neck_TurnToPlayerOrScan::_internal_set_side(::protos::Side value) { + ; + _impl_.side_ = value; +} + +// int32 uniform_number = 2; +inline void Neck_TurnToPlayerOrScan::clear_uniform_number() { + _impl_.uniform_number_ = 0; +} +inline ::int32_t Neck_TurnToPlayerOrScan::uniform_number() const { + // @@protoc_insertion_point(field_get:protos.Neck_TurnToPlayerOrScan.uniform_number) + return _internal_uniform_number(); +} +inline void Neck_TurnToPlayerOrScan::set_uniform_number(::int32_t value) { + _internal_set_uniform_number(value); + // @@protoc_insertion_point(field_set:protos.Neck_TurnToPlayerOrScan.uniform_number) +} +inline ::int32_t Neck_TurnToPlayerOrScan::_internal_uniform_number() const { + return _impl_.uniform_number_; +} +inline void Neck_TurnToPlayerOrScan::_internal_set_uniform_number(::int32_t value) { + ; + _impl_.uniform_number_ = value; +} + +// int32 count_threshold = 3; +inline void Neck_TurnToPlayerOrScan::clear_count_threshold() { + _impl_.count_threshold_ = 0; +} +inline ::int32_t Neck_TurnToPlayerOrScan::count_threshold() const { + // @@protoc_insertion_point(field_get:protos.Neck_TurnToPlayerOrScan.count_threshold) + return _internal_count_threshold(); +} +inline void Neck_TurnToPlayerOrScan::set_count_threshold(::int32_t value) { + _internal_set_count_threshold(value); + // @@protoc_insertion_point(field_set:protos.Neck_TurnToPlayerOrScan.count_threshold) +} +inline ::int32_t Neck_TurnToPlayerOrScan::_internal_count_threshold() const { + return _impl_.count_threshold_; +} +inline void Neck_TurnToPlayerOrScan::_internal_set_count_threshold(::int32_t value) { + ; + _impl_.count_threshold_ = value; +} + +// ------------------------------------------------------------------- + +// Neck_TurnToPoint // .protos.RpcVector2D target_point = 1; -inline bool Body_TurnToPoint::has_target_point() const { +inline bool Neck_TurnToPoint::has_target_point() const { bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; PROTOBUF_ASSUME(!value || _impl_.target_point_ != nullptr); return value; } -inline void Body_TurnToPoint::clear_target_point() { +inline void Neck_TurnToPoint::clear_target_point() { if (_impl_.target_point_ != nullptr) _impl_.target_point_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } -inline const ::protos::RpcVector2D& Body_TurnToPoint::_internal_target_point() const { +inline const ::protos::RpcVector2D& Neck_TurnToPoint::_internal_target_point() const { const ::protos::RpcVector2D* p = _impl_.target_point_; return p != nullptr ? *p : reinterpret_cast( ::protos::_RpcVector2D_default_instance_); } -inline const ::protos::RpcVector2D& Body_TurnToPoint::target_point() const { - // @@protoc_insertion_point(field_get:protos.Body_TurnToPoint.target_point) +inline const ::protos::RpcVector2D& Neck_TurnToPoint::target_point() const { + // @@protoc_insertion_point(field_get:protos.Neck_TurnToPoint.target_point) return _internal_target_point(); } -inline void Body_TurnToPoint::unsafe_arena_set_allocated_target_point( +inline void Neck_TurnToPoint::unsafe_arena_set_allocated_target_point( ::protos::RpcVector2D* target_point) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.target_point_); @@ -43142,9 +44788,9 @@ inline void Body_TurnToPoint::unsafe_arena_set_allocated_target_point( } else { _impl_._has_bits_[0] &= ~0x00000001u; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.Body_TurnToPoint.target_point) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.Neck_TurnToPoint.target_point) } -inline ::protos::RpcVector2D* Body_TurnToPoint::release_target_point() { +inline ::protos::RpcVector2D* Neck_TurnToPoint::release_target_point() { _impl_._has_bits_[0] &= ~0x00000001u; ::protos::RpcVector2D* temp = _impl_.target_point_; _impl_.target_point_ = nullptr; @@ -43159,14 +44805,14 @@ inline ::protos::RpcVector2D* Body_TurnToPoint::release_target_point() { #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::protos::RpcVector2D* Body_TurnToPoint::unsafe_arena_release_target_point() { - // @@protoc_insertion_point(field_release:protos.Body_TurnToPoint.target_point) +inline ::protos::RpcVector2D* Neck_TurnToPoint::unsafe_arena_release_target_point() { + // @@protoc_insertion_point(field_release:protos.Neck_TurnToPoint.target_point) _impl_._has_bits_[0] &= ~0x00000001u; ::protos::RpcVector2D* temp = _impl_.target_point_; _impl_.target_point_ = nullptr; return temp; } -inline ::protos::RpcVector2D* Body_TurnToPoint::_internal_mutable_target_point() { +inline ::protos::RpcVector2D* Neck_TurnToPoint::_internal_mutable_target_point() { _impl_._has_bits_[0] |= 0x00000001u; if (_impl_.target_point_ == nullptr) { auto* p = CreateMaybeMessage<::protos::RpcVector2D>(GetArenaForAllocation()); @@ -43174,5893 +44820,6485 @@ inline ::protos::RpcVector2D* Body_TurnToPoint::_internal_mutable_target_point() } return _impl_.target_point_; } -inline ::protos::RpcVector2D* Body_TurnToPoint::mutable_target_point() { - ::protos::RpcVector2D* _msg = _internal_mutable_target_point(); - // @@protoc_insertion_point(field_mutable:protos.Body_TurnToPoint.target_point) - return _msg; +inline ::protos::RpcVector2D* Neck_TurnToPoint::mutable_target_point() { + ::protos::RpcVector2D* _msg = _internal_mutable_target_point(); + // @@protoc_insertion_point(field_mutable:protos.Neck_TurnToPoint.target_point) + return _msg; +} +inline void Neck_TurnToPoint::set_allocated_target_point(::protos::RpcVector2D* target_point) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.target_point_; + } + if (target_point) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(target_point); + if (message_arena != submessage_arena) { + target_point = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, target_point, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.target_point_ = target_point; + // @@protoc_insertion_point(field_set_allocated:protos.Neck_TurnToPoint.target_point) +} + +// ------------------------------------------------------------------- + +// Neck_TurnToRelative + +// float angle = 1; +inline void Neck_TurnToRelative::clear_angle() { + _impl_.angle_ = 0; +} +inline float Neck_TurnToRelative::angle() const { + // @@protoc_insertion_point(field_get:protos.Neck_TurnToRelative.angle) + return _internal_angle(); +} +inline void Neck_TurnToRelative::set_angle(float value) { + _internal_set_angle(value); + // @@protoc_insertion_point(field_set:protos.Neck_TurnToRelative.angle) +} +inline float Neck_TurnToRelative::_internal_angle() const { + return _impl_.angle_; +} +inline void Neck_TurnToRelative::_internal_set_angle(float value) { + ; + _impl_.angle_ = value; +} + +// ------------------------------------------------------------------- + +// View_ChangeWidth + +// .protos.ViewWidth view_width = 1; +inline void View_ChangeWidth::clear_view_width() { + _impl_.view_width_ = 0; +} +inline ::protos::ViewWidth View_ChangeWidth::view_width() const { + // @@protoc_insertion_point(field_get:protos.View_ChangeWidth.view_width) + return _internal_view_width(); +} +inline void View_ChangeWidth::set_view_width(::protos::ViewWidth value) { + _internal_set_view_width(value); + // @@protoc_insertion_point(field_set:protos.View_ChangeWidth.view_width) +} +inline ::protos::ViewWidth View_ChangeWidth::_internal_view_width() const { + return static_cast<::protos::ViewWidth>(_impl_.view_width_); +} +inline void View_ChangeWidth::_internal_set_view_width(::protos::ViewWidth value) { + ; + _impl_.view_width_ = value; +} + +// ------------------------------------------------------------------- + +// View_Normal + +// ------------------------------------------------------------------- + +// View_Synch + +// ------------------------------------------------------------------- + +// View_Wide + +// ------------------------------------------------------------------- + +// HeliosGoalie + +// ------------------------------------------------------------------- + +// HeliosGoalieMove + +// ------------------------------------------------------------------- + +// HeliosGoalieKick + +// ------------------------------------------------------------------- + +// HeliosShoot + +// ------------------------------------------------------------------- + +// HeliosChainAction + +// bool direct_pass = 1; +inline void HeliosChainAction::clear_direct_pass() { + _impl_.direct_pass_ = false; +} +inline bool HeliosChainAction::direct_pass() const { + // @@protoc_insertion_point(field_get:protos.HeliosChainAction.direct_pass) + return _internal_direct_pass(); +} +inline void HeliosChainAction::set_direct_pass(bool value) { + _internal_set_direct_pass(value); + // @@protoc_insertion_point(field_set:protos.HeliosChainAction.direct_pass) +} +inline bool HeliosChainAction::_internal_direct_pass() const { + return _impl_.direct_pass_; +} +inline void HeliosChainAction::_internal_set_direct_pass(bool value) { + ; + _impl_.direct_pass_ = value; +} + +// bool lead_pass = 2; +inline void HeliosChainAction::clear_lead_pass() { + _impl_.lead_pass_ = false; +} +inline bool HeliosChainAction::lead_pass() const { + // @@protoc_insertion_point(field_get:protos.HeliosChainAction.lead_pass) + return _internal_lead_pass(); +} +inline void HeliosChainAction::set_lead_pass(bool value) { + _internal_set_lead_pass(value); + // @@protoc_insertion_point(field_set:protos.HeliosChainAction.lead_pass) +} +inline bool HeliosChainAction::_internal_lead_pass() const { + return _impl_.lead_pass_; +} +inline void HeliosChainAction::_internal_set_lead_pass(bool value) { + ; + _impl_.lead_pass_ = value; +} + +// bool through_pass = 3; +inline void HeliosChainAction::clear_through_pass() { + _impl_.through_pass_ = false; +} +inline bool HeliosChainAction::through_pass() const { + // @@protoc_insertion_point(field_get:protos.HeliosChainAction.through_pass) + return _internal_through_pass(); +} +inline void HeliosChainAction::set_through_pass(bool value) { + _internal_set_through_pass(value); + // @@protoc_insertion_point(field_set:protos.HeliosChainAction.through_pass) +} +inline bool HeliosChainAction::_internal_through_pass() const { + return _impl_.through_pass_; +} +inline void HeliosChainAction::_internal_set_through_pass(bool value) { + ; + _impl_.through_pass_ = value; +} + +// bool short_dribble = 4; +inline void HeliosChainAction::clear_short_dribble() { + _impl_.short_dribble_ = false; +} +inline bool HeliosChainAction::short_dribble() const { + // @@protoc_insertion_point(field_get:protos.HeliosChainAction.short_dribble) + return _internal_short_dribble(); +} +inline void HeliosChainAction::set_short_dribble(bool value) { + _internal_set_short_dribble(value); + // @@protoc_insertion_point(field_set:protos.HeliosChainAction.short_dribble) +} +inline bool HeliosChainAction::_internal_short_dribble() const { + return _impl_.short_dribble_; +} +inline void HeliosChainAction::_internal_set_short_dribble(bool value) { + ; + _impl_.short_dribble_ = value; +} + +// bool long_dribble = 5; +inline void HeliosChainAction::clear_long_dribble() { + _impl_.long_dribble_ = false; +} +inline bool HeliosChainAction::long_dribble() const { + // @@protoc_insertion_point(field_get:protos.HeliosChainAction.long_dribble) + return _internal_long_dribble(); +} +inline void HeliosChainAction::set_long_dribble(bool value) { + _internal_set_long_dribble(value); + // @@protoc_insertion_point(field_set:protos.HeliosChainAction.long_dribble) +} +inline bool HeliosChainAction::_internal_long_dribble() const { + return _impl_.long_dribble_; +} +inline void HeliosChainAction::_internal_set_long_dribble(bool value) { + ; + _impl_.long_dribble_ = value; +} + +// bool cross = 6; +inline void HeliosChainAction::clear_cross() { + _impl_.cross_ = false; +} +inline bool HeliosChainAction::cross() const { + // @@protoc_insertion_point(field_get:protos.HeliosChainAction.cross) + return _internal_cross(); +} +inline void HeliosChainAction::set_cross(bool value) { + _internal_set_cross(value); + // @@protoc_insertion_point(field_set:protos.HeliosChainAction.cross) +} +inline bool HeliosChainAction::_internal_cross() const { + return _impl_.cross_; +} +inline void HeliosChainAction::_internal_set_cross(bool value) { + ; + _impl_.cross_ = value; +} + +// bool simple_pass = 7; +inline void HeliosChainAction::clear_simple_pass() { + _impl_.simple_pass_ = false; +} +inline bool HeliosChainAction::simple_pass() const { + // @@protoc_insertion_point(field_get:protos.HeliosChainAction.simple_pass) + return _internal_simple_pass(); +} +inline void HeliosChainAction::set_simple_pass(bool value) { + _internal_set_simple_pass(value); + // @@protoc_insertion_point(field_set:protos.HeliosChainAction.simple_pass) +} +inline bool HeliosChainAction::_internal_simple_pass() const { + return _impl_.simple_pass_; } -inline void Body_TurnToPoint::set_allocated_target_point(::protos::RpcVector2D* target_point) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.target_point_; - } - if (target_point) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(target_point); - if (message_arena != submessage_arena) { - target_point = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, target_point, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.target_point_ = target_point; - // @@protoc_insertion_point(field_set_allocated:protos.Body_TurnToPoint.target_point) +inline void HeliosChainAction::_internal_set_simple_pass(bool value) { + ; + _impl_.simple_pass_ = value; } -// int32 cycle = 2; -inline void Body_TurnToPoint::clear_cycle() { - _impl_.cycle_ = 0; +// bool simple_dribble = 8; +inline void HeliosChainAction::clear_simple_dribble() { + _impl_.simple_dribble_ = false; } -inline ::int32_t Body_TurnToPoint::cycle() const { - // @@protoc_insertion_point(field_get:protos.Body_TurnToPoint.cycle) - return _internal_cycle(); +inline bool HeliosChainAction::simple_dribble() const { + // @@protoc_insertion_point(field_get:protos.HeliosChainAction.simple_dribble) + return _internal_simple_dribble(); } -inline void Body_TurnToPoint::set_cycle(::int32_t value) { - _internal_set_cycle(value); - // @@protoc_insertion_point(field_set:protos.Body_TurnToPoint.cycle) +inline void HeliosChainAction::set_simple_dribble(bool value) { + _internal_set_simple_dribble(value); + // @@protoc_insertion_point(field_set:protos.HeliosChainAction.simple_dribble) } -inline ::int32_t Body_TurnToPoint::_internal_cycle() const { - return _impl_.cycle_; +inline bool HeliosChainAction::_internal_simple_dribble() const { + return _impl_.simple_dribble_; } -inline void Body_TurnToPoint::_internal_set_cycle(::int32_t value) { +inline void HeliosChainAction::_internal_set_simple_dribble(bool value) { ; - _impl_.cycle_ = value; + _impl_.simple_dribble_ = value; } -// ------------------------------------------------------------------- - -// Focus_MoveToPoint - -// .protos.RpcVector2D target_point = 1; -inline bool Focus_MoveToPoint::has_target_point() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.target_point_ != nullptr); - return value; +// bool simple_shoot = 9; +inline void HeliosChainAction::clear_simple_shoot() { + _impl_.simple_shoot_ = false; } -inline void Focus_MoveToPoint::clear_target_point() { - if (_impl_.target_point_ != nullptr) _impl_.target_point_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; +inline bool HeliosChainAction::simple_shoot() const { + // @@protoc_insertion_point(field_get:protos.HeliosChainAction.simple_shoot) + return _internal_simple_shoot(); } -inline const ::protos::RpcVector2D& Focus_MoveToPoint::_internal_target_point() const { - const ::protos::RpcVector2D* p = _impl_.target_point_; - return p != nullptr ? *p : reinterpret_cast( - ::protos::_RpcVector2D_default_instance_); +inline void HeliosChainAction::set_simple_shoot(bool value) { + _internal_set_simple_shoot(value); + // @@protoc_insertion_point(field_set:protos.HeliosChainAction.simple_shoot) } -inline const ::protos::RpcVector2D& Focus_MoveToPoint::target_point() const { - // @@protoc_insertion_point(field_get:protos.Focus_MoveToPoint.target_point) - return _internal_target_point(); +inline bool HeliosChainAction::_internal_simple_shoot() const { + return _impl_.simple_shoot_; } -inline void Focus_MoveToPoint::unsafe_arena_set_allocated_target_point( - ::protos::RpcVector2D* target_point) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.target_point_); - } - _impl_.target_point_ = target_point; - if (target_point) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.Focus_MoveToPoint.target_point) +inline void HeliosChainAction::_internal_set_simple_shoot(bool value) { + ; + _impl_.simple_shoot_ = value; } -inline ::protos::RpcVector2D* Focus_MoveToPoint::release_target_point() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::protos::RpcVector2D* temp = _impl_.target_point_; - _impl_.target_point_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; + +// bool server_side_decision = 10; +inline void HeliosChainAction::clear_server_side_decision() { + _impl_.server_side_decision_ = false; } -inline ::protos::RpcVector2D* Focus_MoveToPoint::unsafe_arena_release_target_point() { - // @@protoc_insertion_point(field_release:protos.Focus_MoveToPoint.target_point) - _impl_._has_bits_[0] &= ~0x00000001u; - ::protos::RpcVector2D* temp = _impl_.target_point_; - _impl_.target_point_ = nullptr; - return temp; +inline bool HeliosChainAction::server_side_decision() const { + // @@protoc_insertion_point(field_get:protos.HeliosChainAction.server_side_decision) + return _internal_server_side_decision(); } -inline ::protos::RpcVector2D* Focus_MoveToPoint::_internal_mutable_target_point() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.target_point_ == nullptr) { - auto* p = CreateMaybeMessage<::protos::RpcVector2D>(GetArenaForAllocation()); - _impl_.target_point_ = p; - } - return _impl_.target_point_; +inline void HeliosChainAction::set_server_side_decision(bool value) { + _internal_set_server_side_decision(value); + // @@protoc_insertion_point(field_set:protos.HeliosChainAction.server_side_decision) } -inline ::protos::RpcVector2D* Focus_MoveToPoint::mutable_target_point() { - ::protos::RpcVector2D* _msg = _internal_mutable_target_point(); - // @@protoc_insertion_point(field_mutable:protos.Focus_MoveToPoint.target_point) - return _msg; +inline bool HeliosChainAction::_internal_server_side_decision() const { + return _impl_.server_side_decision_; } -inline void Focus_MoveToPoint::set_allocated_target_point(::protos::RpcVector2D* target_point) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.target_point_; - } - if (target_point) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(target_point); - if (message_arena != submessage_arena) { - target_point = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, target_point, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.target_point_ = target_point; - // @@protoc_insertion_point(field_set_allocated:protos.Focus_MoveToPoint.target_point) +inline void HeliosChainAction::_internal_set_server_side_decision(bool value) { + ; + _impl_.server_side_decision_ = value; } // ------------------------------------------------------------------- -// Focus_Reset +// HeliosBasicOffensive // ------------------------------------------------------------------- -// Neck_ScanField +// HeliosBasicMove // ------------------------------------------------------------------- -// Neck_ScanPlayers +// HeliosSetPlay // ------------------------------------------------------------------- -// Neck_TurnToBallAndPlayer +// HeliosPenalty -// .protos.Side side = 1; -inline void Neck_TurnToBallAndPlayer::clear_side() { - _impl_.side_ = 0; +// ------------------------------------------------------------------- + +// HeliosCommunicaion + +// ------------------------------------------------------------------- + +// PlayerAction + +// .protos.Dash dash = 1; +inline bool PlayerAction::has_dash() const { + return action_case() == kDash; } -inline ::protos::Side Neck_TurnToBallAndPlayer::side() const { - // @@protoc_insertion_point(field_get:protos.Neck_TurnToBallAndPlayer.side) - return _internal_side(); +inline bool PlayerAction::_internal_has_dash() const { + return action_case() == kDash; } -inline void Neck_TurnToBallAndPlayer::set_side(::protos::Side value) { - _internal_set_side(value); - // @@protoc_insertion_point(field_set:protos.Neck_TurnToBallAndPlayer.side) +inline void PlayerAction::set_has_dash() { + _impl_._oneof_case_[0] = kDash; } -inline ::protos::Side Neck_TurnToBallAndPlayer::_internal_side() const { - return static_cast<::protos::Side>(_impl_.side_); +inline void PlayerAction::clear_dash() { + if (action_case() == kDash) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.action_.dash_; + } + clear_has_action(); + } } -inline void Neck_TurnToBallAndPlayer::_internal_set_side(::protos::Side value) { - ; - _impl_.side_ = value; +inline ::protos::Dash* PlayerAction::release_dash() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.dash) + if (action_case() == kDash) { + clear_has_action(); + ::protos::Dash* temp = _impl_.action_.dash_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.action_.dash_ = nullptr; + return temp; + } else { + return nullptr; + } } - -// int32 uniform_number = 2; -inline void Neck_TurnToBallAndPlayer::clear_uniform_number() { - _impl_.uniform_number_ = 0; +inline const ::protos::Dash& PlayerAction::_internal_dash() const { + return action_case() == kDash + ? *_impl_.action_.dash_ + : reinterpret_cast<::protos::Dash&>(::protos::_Dash_default_instance_); } -inline ::int32_t Neck_TurnToBallAndPlayer::uniform_number() const { - // @@protoc_insertion_point(field_get:protos.Neck_TurnToBallAndPlayer.uniform_number) - return _internal_uniform_number(); +inline const ::protos::Dash& PlayerAction::dash() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.dash) + return _internal_dash(); } -inline void Neck_TurnToBallAndPlayer::set_uniform_number(::int32_t value) { - _internal_set_uniform_number(value); - // @@protoc_insertion_point(field_set:protos.Neck_TurnToBallAndPlayer.uniform_number) +inline ::protos::Dash* PlayerAction::unsafe_arena_release_dash() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.dash) + if (action_case() == kDash) { + clear_has_action(); + ::protos::Dash* temp = _impl_.action_.dash_; + _impl_.action_.dash_ = nullptr; + return temp; + } else { + return nullptr; + } } -inline ::int32_t Neck_TurnToBallAndPlayer::_internal_uniform_number() const { - return _impl_.uniform_number_; +inline void PlayerAction::unsafe_arena_set_allocated_dash(::protos::Dash* dash) { + clear_action(); + if (dash) { + set_has_dash(); + _impl_.action_.dash_ = dash; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.dash) } -inline void Neck_TurnToBallAndPlayer::_internal_set_uniform_number(::int32_t value) { - ; - _impl_.uniform_number_ = value; +inline ::protos::Dash* PlayerAction::_internal_mutable_dash() { + if (action_case() != kDash) { + clear_action(); + set_has_dash(); + _impl_.action_.dash_ = CreateMaybeMessage< ::protos::Dash >(GetArenaForAllocation()); + } + return _impl_.action_.dash_; +} +inline ::protos::Dash* PlayerAction::mutable_dash() { + ::protos::Dash* _msg = _internal_mutable_dash(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.dash) + return _msg; } -// int32 count_threshold = 3; -inline void Neck_TurnToBallAndPlayer::clear_count_threshold() { - _impl_.count_threshold_ = 0; +// .protos.Turn turn = 2; +inline bool PlayerAction::has_turn() const { + return action_case() == kTurn; } -inline ::int32_t Neck_TurnToBallAndPlayer::count_threshold() const { - // @@protoc_insertion_point(field_get:protos.Neck_TurnToBallAndPlayer.count_threshold) - return _internal_count_threshold(); +inline bool PlayerAction::_internal_has_turn() const { + return action_case() == kTurn; } -inline void Neck_TurnToBallAndPlayer::set_count_threshold(::int32_t value) { - _internal_set_count_threshold(value); - // @@protoc_insertion_point(field_set:protos.Neck_TurnToBallAndPlayer.count_threshold) +inline void PlayerAction::set_has_turn() { + _impl_._oneof_case_[0] = kTurn; } -inline ::int32_t Neck_TurnToBallAndPlayer::_internal_count_threshold() const { - return _impl_.count_threshold_; +inline void PlayerAction::clear_turn() { + if (action_case() == kTurn) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.action_.turn_; + } + clear_has_action(); + } } -inline void Neck_TurnToBallAndPlayer::_internal_set_count_threshold(::int32_t value) { - ; - _impl_.count_threshold_ = value; +inline ::protos::Turn* PlayerAction::release_turn() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.turn) + if (action_case() == kTurn) { + clear_has_action(); + ::protos::Turn* temp = _impl_.action_.turn_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.action_.turn_ = nullptr; + return temp; + } else { + return nullptr; + } } - -// ------------------------------------------------------------------- - -// Neck_TurnToBallOrScan - -// int32 count_threshold = 1; -inline void Neck_TurnToBallOrScan::clear_count_threshold() { - _impl_.count_threshold_ = 0; +inline const ::protos::Turn& PlayerAction::_internal_turn() const { + return action_case() == kTurn + ? *_impl_.action_.turn_ + : reinterpret_cast<::protos::Turn&>(::protos::_Turn_default_instance_); } -inline ::int32_t Neck_TurnToBallOrScan::count_threshold() const { - // @@protoc_insertion_point(field_get:protos.Neck_TurnToBallOrScan.count_threshold) - return _internal_count_threshold(); +inline const ::protos::Turn& PlayerAction::turn() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.turn) + return _internal_turn(); } -inline void Neck_TurnToBallOrScan::set_count_threshold(::int32_t value) { - _internal_set_count_threshold(value); - // @@protoc_insertion_point(field_set:protos.Neck_TurnToBallOrScan.count_threshold) +inline ::protos::Turn* PlayerAction::unsafe_arena_release_turn() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.turn) + if (action_case() == kTurn) { + clear_has_action(); + ::protos::Turn* temp = _impl_.action_.turn_; + _impl_.action_.turn_ = nullptr; + return temp; + } else { + return nullptr; + } } -inline ::int32_t Neck_TurnToBallOrScan::_internal_count_threshold() const { - return _impl_.count_threshold_; +inline void PlayerAction::unsafe_arena_set_allocated_turn(::protos::Turn* turn) { + clear_action(); + if (turn) { + set_has_turn(); + _impl_.action_.turn_ = turn; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.turn) } -inline void Neck_TurnToBallOrScan::_internal_set_count_threshold(::int32_t value) { - ; - _impl_.count_threshold_ = value; +inline ::protos::Turn* PlayerAction::_internal_mutable_turn() { + if (action_case() != kTurn) { + clear_action(); + set_has_turn(); + _impl_.action_.turn_ = CreateMaybeMessage< ::protos::Turn >(GetArenaForAllocation()); + } + return _impl_.action_.turn_; +} +inline ::protos::Turn* PlayerAction::mutable_turn() { + ::protos::Turn* _msg = _internal_mutable_turn(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.turn) + return _msg; } -// ------------------------------------------------------------------- - -// Neck_TurnToBall - -// ------------------------------------------------------------------- - -// Neck_TurnToGoalieOrScan - -// int32 count_threshold = 1; -inline void Neck_TurnToGoalieOrScan::clear_count_threshold() { - _impl_.count_threshold_ = 0; +// .protos.Kick kick = 3; +inline bool PlayerAction::has_kick() const { + return action_case() == kKick; } -inline ::int32_t Neck_TurnToGoalieOrScan::count_threshold() const { - // @@protoc_insertion_point(field_get:protos.Neck_TurnToGoalieOrScan.count_threshold) - return _internal_count_threshold(); +inline bool PlayerAction::_internal_has_kick() const { + return action_case() == kKick; } -inline void Neck_TurnToGoalieOrScan::set_count_threshold(::int32_t value) { - _internal_set_count_threshold(value); - // @@protoc_insertion_point(field_set:protos.Neck_TurnToGoalieOrScan.count_threshold) +inline void PlayerAction::set_has_kick() { + _impl_._oneof_case_[0] = kKick; } -inline ::int32_t Neck_TurnToGoalieOrScan::_internal_count_threshold() const { - return _impl_.count_threshold_; +inline void PlayerAction::clear_kick() { + if (action_case() == kKick) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.action_.kick_; + } + clear_has_action(); + } } -inline void Neck_TurnToGoalieOrScan::_internal_set_count_threshold(::int32_t value) { - ; - _impl_.count_threshold_ = value; +inline ::protos::Kick* PlayerAction::release_kick() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.kick) + if (action_case() == kKick) { + clear_has_action(); + ::protos::Kick* temp = _impl_.action_.kick_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.action_.kick_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::protos::Kick& PlayerAction::_internal_kick() const { + return action_case() == kKick + ? *_impl_.action_.kick_ + : reinterpret_cast<::protos::Kick&>(::protos::_Kick_default_instance_); +} +inline const ::protos::Kick& PlayerAction::kick() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.kick) + return _internal_kick(); +} +inline ::protos::Kick* PlayerAction::unsafe_arena_release_kick() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.kick) + if (action_case() == kKick) { + clear_has_action(); + ::protos::Kick* temp = _impl_.action_.kick_; + _impl_.action_.kick_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void PlayerAction::unsafe_arena_set_allocated_kick(::protos::Kick* kick) { + clear_action(); + if (kick) { + set_has_kick(); + _impl_.action_.kick_ = kick; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.kick) +} +inline ::protos::Kick* PlayerAction::_internal_mutable_kick() { + if (action_case() != kKick) { + clear_action(); + set_has_kick(); + _impl_.action_.kick_ = CreateMaybeMessage< ::protos::Kick >(GetArenaForAllocation()); + } + return _impl_.action_.kick_; +} +inline ::protos::Kick* PlayerAction::mutable_kick() { + ::protos::Kick* _msg = _internal_mutable_kick(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.kick) + return _msg; } -// ------------------------------------------------------------------- - -// Neck_TurnToLowConfTeammate - -// ------------------------------------------------------------------- - -// Neck_TurnToPlayerOrScan - -// .protos.Side side = 1; -inline void Neck_TurnToPlayerOrScan::clear_side() { - _impl_.side_ = 0; +// .protos.Tackle tackle = 4; +inline bool PlayerAction::has_tackle() const { + return action_case() == kTackle; } -inline ::protos::Side Neck_TurnToPlayerOrScan::side() const { - // @@protoc_insertion_point(field_get:protos.Neck_TurnToPlayerOrScan.side) - return _internal_side(); +inline bool PlayerAction::_internal_has_tackle() const { + return action_case() == kTackle; } -inline void Neck_TurnToPlayerOrScan::set_side(::protos::Side value) { - _internal_set_side(value); - // @@protoc_insertion_point(field_set:protos.Neck_TurnToPlayerOrScan.side) +inline void PlayerAction::set_has_tackle() { + _impl_._oneof_case_[0] = kTackle; +} +inline void PlayerAction::clear_tackle() { + if (action_case() == kTackle) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.action_.tackle_; + } + clear_has_action(); + } +} +inline ::protos::Tackle* PlayerAction::release_tackle() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.tackle) + if (action_case() == kTackle) { + clear_has_action(); + ::protos::Tackle* temp = _impl_.action_.tackle_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.action_.tackle_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::protos::Tackle& PlayerAction::_internal_tackle() const { + return action_case() == kTackle + ? *_impl_.action_.tackle_ + : reinterpret_cast<::protos::Tackle&>(::protos::_Tackle_default_instance_); +} +inline const ::protos::Tackle& PlayerAction::tackle() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.tackle) + return _internal_tackle(); +} +inline ::protos::Tackle* PlayerAction::unsafe_arena_release_tackle() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.tackle) + if (action_case() == kTackle) { + clear_has_action(); + ::protos::Tackle* temp = _impl_.action_.tackle_; + _impl_.action_.tackle_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void PlayerAction::unsafe_arena_set_allocated_tackle(::protos::Tackle* tackle) { + clear_action(); + if (tackle) { + set_has_tackle(); + _impl_.action_.tackle_ = tackle; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.tackle) } -inline ::protos::Side Neck_TurnToPlayerOrScan::_internal_side() const { - return static_cast<::protos::Side>(_impl_.side_); +inline ::protos::Tackle* PlayerAction::_internal_mutable_tackle() { + if (action_case() != kTackle) { + clear_action(); + set_has_tackle(); + _impl_.action_.tackle_ = CreateMaybeMessage< ::protos::Tackle >(GetArenaForAllocation()); + } + return _impl_.action_.tackle_; } -inline void Neck_TurnToPlayerOrScan::_internal_set_side(::protos::Side value) { - ; - _impl_.side_ = value; +inline ::protos::Tackle* PlayerAction::mutable_tackle() { + ::protos::Tackle* _msg = _internal_mutable_tackle(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.tackle) + return _msg; } -// int32 uniform_number = 2; -inline void Neck_TurnToPlayerOrScan::clear_uniform_number() { - _impl_.uniform_number_ = 0; +// .protos.Catch catch = 5; +inline bool PlayerAction::has_catch_() const { + return action_case() == kCatch; } -inline ::int32_t Neck_TurnToPlayerOrScan::uniform_number() const { - // @@protoc_insertion_point(field_get:protos.Neck_TurnToPlayerOrScan.uniform_number) - return _internal_uniform_number(); +inline bool PlayerAction::_internal_has_catch_() const { + return action_case() == kCatch; } -inline void Neck_TurnToPlayerOrScan::set_uniform_number(::int32_t value) { - _internal_set_uniform_number(value); - // @@protoc_insertion_point(field_set:protos.Neck_TurnToPlayerOrScan.uniform_number) +inline void PlayerAction::set_has_catch_() { + _impl_._oneof_case_[0] = kCatch; } -inline ::int32_t Neck_TurnToPlayerOrScan::_internal_uniform_number() const { - return _impl_.uniform_number_; +inline void PlayerAction::clear_catch_() { + if (action_case() == kCatch) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.action_.catch__; + } + clear_has_action(); + } } -inline void Neck_TurnToPlayerOrScan::_internal_set_uniform_number(::int32_t value) { - ; - _impl_.uniform_number_ = value; +inline ::protos::Catch* PlayerAction::release_catch_() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.catch) + if (action_case() == kCatch) { + clear_has_action(); + ::protos::Catch* temp = _impl_.action_.catch__; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.action_.catch__ = nullptr; + return temp; + } else { + return nullptr; + } } - -// int32 count_threshold = 3; -inline void Neck_TurnToPlayerOrScan::clear_count_threshold() { - _impl_.count_threshold_ = 0; +inline const ::protos::Catch& PlayerAction::_internal_catch_() const { + return action_case() == kCatch + ? *_impl_.action_.catch__ + : reinterpret_cast<::protos::Catch&>(::protos::_Catch_default_instance_); } -inline ::int32_t Neck_TurnToPlayerOrScan::count_threshold() const { - // @@protoc_insertion_point(field_get:protos.Neck_TurnToPlayerOrScan.count_threshold) - return _internal_count_threshold(); +inline const ::protos::Catch& PlayerAction::catch_() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.catch) + return _internal_catch_(); } -inline void Neck_TurnToPlayerOrScan::set_count_threshold(::int32_t value) { - _internal_set_count_threshold(value); - // @@protoc_insertion_point(field_set:protos.Neck_TurnToPlayerOrScan.count_threshold) +inline ::protos::Catch* PlayerAction::unsafe_arena_release_catch_() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.catch) + if (action_case() == kCatch) { + clear_has_action(); + ::protos::Catch* temp = _impl_.action_.catch__; + _impl_.action_.catch__ = nullptr; + return temp; + } else { + return nullptr; + } } -inline ::int32_t Neck_TurnToPlayerOrScan::_internal_count_threshold() const { - return _impl_.count_threshold_; +inline void PlayerAction::unsafe_arena_set_allocated_catch_(::protos::Catch* catch_) { + clear_action(); + if (catch_) { + set_has_catch_(); + _impl_.action_.catch__ = catch_; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.catch) } -inline void Neck_TurnToPlayerOrScan::_internal_set_count_threshold(::int32_t value) { - ; - _impl_.count_threshold_ = value; +inline ::protos::Catch* PlayerAction::_internal_mutable_catch_() { + if (action_case() != kCatch) { + clear_action(); + set_has_catch_(); + _impl_.action_.catch__ = CreateMaybeMessage< ::protos::Catch >(GetArenaForAllocation()); + } + return _impl_.action_.catch__; } - -// ------------------------------------------------------------------- - -// Neck_TurnToPoint - -// .protos.RpcVector2D target_point = 1; -inline bool Neck_TurnToPoint::has_target_point() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.target_point_ != nullptr); - return value; +inline ::protos::Catch* PlayerAction::mutable_catch_() { + ::protos::Catch* _msg = _internal_mutable_catch_(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.catch) + return _msg; } -inline void Neck_TurnToPoint::clear_target_point() { - if (_impl_.target_point_ != nullptr) _impl_.target_point_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; + +// .protos.Move move = 6; +inline bool PlayerAction::has_move() const { + return action_case() == kMove; } -inline const ::protos::RpcVector2D& Neck_TurnToPoint::_internal_target_point() const { - const ::protos::RpcVector2D* p = _impl_.target_point_; - return p != nullptr ? *p : reinterpret_cast( - ::protos::_RpcVector2D_default_instance_); +inline bool PlayerAction::_internal_has_move() const { + return action_case() == kMove; } -inline const ::protos::RpcVector2D& Neck_TurnToPoint::target_point() const { - // @@protoc_insertion_point(field_get:protos.Neck_TurnToPoint.target_point) - return _internal_target_point(); +inline void PlayerAction::set_has_move() { + _impl_._oneof_case_[0] = kMove; } -inline void Neck_TurnToPoint::unsafe_arena_set_allocated_target_point( - ::protos::RpcVector2D* target_point) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.target_point_); +inline void PlayerAction::clear_move() { + if (action_case() == kMove) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.action_.move_; + } + clear_has_action(); } - _impl_.target_point_ = target_point; - if (target_point) { - _impl_._has_bits_[0] |= 0x00000001u; +} +inline ::protos::Move* PlayerAction::release_move() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.move) + if (action_case() == kMove) { + clear_has_action(); + ::protos::Move* temp = _impl_.action_.move_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.action_.move_ = nullptr; + return temp; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + return nullptr; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.Neck_TurnToPoint.target_point) } -inline ::protos::RpcVector2D* Neck_TurnToPoint::release_target_point() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::protos::RpcVector2D* temp = _impl_.target_point_; - _impl_.target_point_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); +inline const ::protos::Move& PlayerAction::_internal_move() const { + return action_case() == kMove + ? *_impl_.action_.move_ + : reinterpret_cast<::protos::Move&>(::protos::_Move_default_instance_); +} +inline const ::protos::Move& PlayerAction::move() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.move) + return _internal_move(); +} +inline ::protos::Move* PlayerAction::unsafe_arena_release_move() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.move) + if (action_case() == kMove) { + clear_has_action(); + ::protos::Move* temp = _impl_.action_.move_; + _impl_.action_.move_ = nullptr; + return temp; + } else { + return nullptr; } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; } -inline ::protos::RpcVector2D* Neck_TurnToPoint::unsafe_arena_release_target_point() { - // @@protoc_insertion_point(field_release:protos.Neck_TurnToPoint.target_point) - _impl_._has_bits_[0] &= ~0x00000001u; - ::protos::RpcVector2D* temp = _impl_.target_point_; - _impl_.target_point_ = nullptr; - return temp; +inline void PlayerAction::unsafe_arena_set_allocated_move(::protos::Move* move) { + clear_action(); + if (move) { + set_has_move(); + _impl_.action_.move_ = move; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.move) } -inline ::protos::RpcVector2D* Neck_TurnToPoint::_internal_mutable_target_point() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.target_point_ == nullptr) { - auto* p = CreateMaybeMessage<::protos::RpcVector2D>(GetArenaForAllocation()); - _impl_.target_point_ = p; +inline ::protos::Move* PlayerAction::_internal_mutable_move() { + if (action_case() != kMove) { + clear_action(); + set_has_move(); + _impl_.action_.move_ = CreateMaybeMessage< ::protos::Move >(GetArenaForAllocation()); } - return _impl_.target_point_; + return _impl_.action_.move_; } -inline ::protos::RpcVector2D* Neck_TurnToPoint::mutable_target_point() { - ::protos::RpcVector2D* _msg = _internal_mutable_target_point(); - // @@protoc_insertion_point(field_mutable:protos.Neck_TurnToPoint.target_point) +inline ::protos::Move* PlayerAction::mutable_move() { + ::protos::Move* _msg = _internal_mutable_move(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.move) return _msg; } -inline void Neck_TurnToPoint::set_allocated_target_point(::protos::RpcVector2D* target_point) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.target_point_; + +// .protos.TurnNeck turn_neck = 7; +inline bool PlayerAction::has_turn_neck() const { + return action_case() == kTurnNeck; +} +inline bool PlayerAction::_internal_has_turn_neck() const { + return action_case() == kTurnNeck; +} +inline void PlayerAction::set_has_turn_neck() { + _impl_._oneof_case_[0] = kTurnNeck; +} +inline void PlayerAction::clear_turn_neck() { + if (action_case() == kTurnNeck) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.action_.turn_neck_; + } + clear_has_action(); } - if (target_point) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(target_point); - if (message_arena != submessage_arena) { - target_point = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, target_point, submessage_arena); +} +inline ::protos::TurnNeck* PlayerAction::release_turn_neck() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.turn_neck) + if (action_case() == kTurnNeck) { + clear_has_action(); + ::protos::TurnNeck* temp = _impl_.action_.turn_neck_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_._has_bits_[0] |= 0x00000001u; + _impl_.action_.turn_neck_ = nullptr; + return temp; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + return nullptr; } - _impl_.target_point_ = target_point; - // @@protoc_insertion_point(field_set_allocated:protos.Neck_TurnToPoint.target_point) } - -// ------------------------------------------------------------------- - -// Neck_TurnToRelative - -// float angle = 1; -inline void Neck_TurnToRelative::clear_angle() { - _impl_.angle_ = 0; +inline const ::protos::TurnNeck& PlayerAction::_internal_turn_neck() const { + return action_case() == kTurnNeck + ? *_impl_.action_.turn_neck_ + : reinterpret_cast<::protos::TurnNeck&>(::protos::_TurnNeck_default_instance_); } -inline float Neck_TurnToRelative::angle() const { - // @@protoc_insertion_point(field_get:protos.Neck_TurnToRelative.angle) - return _internal_angle(); +inline const ::protos::TurnNeck& PlayerAction::turn_neck() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.turn_neck) + return _internal_turn_neck(); } -inline void Neck_TurnToRelative::set_angle(float value) { - _internal_set_angle(value); - // @@protoc_insertion_point(field_set:protos.Neck_TurnToRelative.angle) +inline ::protos::TurnNeck* PlayerAction::unsafe_arena_release_turn_neck() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.turn_neck) + if (action_case() == kTurnNeck) { + clear_has_action(); + ::protos::TurnNeck* temp = _impl_.action_.turn_neck_; + _impl_.action_.turn_neck_ = nullptr; + return temp; + } else { + return nullptr; + } } -inline float Neck_TurnToRelative::_internal_angle() const { - return _impl_.angle_; +inline void PlayerAction::unsafe_arena_set_allocated_turn_neck(::protos::TurnNeck* turn_neck) { + clear_action(); + if (turn_neck) { + set_has_turn_neck(); + _impl_.action_.turn_neck_ = turn_neck; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.turn_neck) } -inline void Neck_TurnToRelative::_internal_set_angle(float value) { - ; - _impl_.angle_ = value; +inline ::protos::TurnNeck* PlayerAction::_internal_mutable_turn_neck() { + if (action_case() != kTurnNeck) { + clear_action(); + set_has_turn_neck(); + _impl_.action_.turn_neck_ = CreateMaybeMessage< ::protos::TurnNeck >(GetArenaForAllocation()); + } + return _impl_.action_.turn_neck_; +} +inline ::protos::TurnNeck* PlayerAction::mutable_turn_neck() { + ::protos::TurnNeck* _msg = _internal_mutable_turn_neck(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.turn_neck) + return _msg; } -// ------------------------------------------------------------------- - -// View_ChangeWidth - -// .protos.ViewWidth view_width = 1; -inline void View_ChangeWidth::clear_view_width() { - _impl_.view_width_ = 0; +// .protos.ChangeView change_view = 8; +inline bool PlayerAction::has_change_view() const { + return action_case() == kChangeView; } -inline ::protos::ViewWidth View_ChangeWidth::view_width() const { - // @@protoc_insertion_point(field_get:protos.View_ChangeWidth.view_width) - return _internal_view_width(); +inline bool PlayerAction::_internal_has_change_view() const { + return action_case() == kChangeView; } -inline void View_ChangeWidth::set_view_width(::protos::ViewWidth value) { - _internal_set_view_width(value); - // @@protoc_insertion_point(field_set:protos.View_ChangeWidth.view_width) +inline void PlayerAction::set_has_change_view() { + _impl_._oneof_case_[0] = kChangeView; } -inline ::protos::ViewWidth View_ChangeWidth::_internal_view_width() const { - return static_cast<::protos::ViewWidth>(_impl_.view_width_); +inline void PlayerAction::clear_change_view() { + if (action_case() == kChangeView) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.action_.change_view_; + } + clear_has_action(); + } } -inline void View_ChangeWidth::_internal_set_view_width(::protos::ViewWidth value) { - ; - _impl_.view_width_ = value; +inline ::protos::ChangeView* PlayerAction::release_change_view() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.change_view) + if (action_case() == kChangeView) { + clear_has_action(); + ::protos::ChangeView* temp = _impl_.action_.change_view_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.action_.change_view_ = nullptr; + return temp; + } else { + return nullptr; + } } - -// ------------------------------------------------------------------- - -// View_Normal - -// ------------------------------------------------------------------- - -// View_Synch - -// ------------------------------------------------------------------- - -// View_Wide - -// ------------------------------------------------------------------- - -// HeliosGoalie - -// ------------------------------------------------------------------- - -// HeliosGoalieMove - -// ------------------------------------------------------------------- - -// HeliosGoalieKick - -// ------------------------------------------------------------------- - -// HeliosShoot - -// ------------------------------------------------------------------- - -// HeliosChainAction - -// bool direct_pass = 1; -inline void HeliosChainAction::clear_direct_pass() { - _impl_.direct_pass_ = false; +inline const ::protos::ChangeView& PlayerAction::_internal_change_view() const { + return action_case() == kChangeView + ? *_impl_.action_.change_view_ + : reinterpret_cast<::protos::ChangeView&>(::protos::_ChangeView_default_instance_); } -inline bool HeliosChainAction::direct_pass() const { - // @@protoc_insertion_point(field_get:protos.HeliosChainAction.direct_pass) - return _internal_direct_pass(); +inline const ::protos::ChangeView& PlayerAction::change_view() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.change_view) + return _internal_change_view(); } -inline void HeliosChainAction::set_direct_pass(bool value) { - _internal_set_direct_pass(value); - // @@protoc_insertion_point(field_set:protos.HeliosChainAction.direct_pass) +inline ::protos::ChangeView* PlayerAction::unsafe_arena_release_change_view() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.change_view) + if (action_case() == kChangeView) { + clear_has_action(); + ::protos::ChangeView* temp = _impl_.action_.change_view_; + _impl_.action_.change_view_ = nullptr; + return temp; + } else { + return nullptr; + } } -inline bool HeliosChainAction::_internal_direct_pass() const { - return _impl_.direct_pass_; +inline void PlayerAction::unsafe_arena_set_allocated_change_view(::protos::ChangeView* change_view) { + clear_action(); + if (change_view) { + set_has_change_view(); + _impl_.action_.change_view_ = change_view; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.change_view) } -inline void HeliosChainAction::_internal_set_direct_pass(bool value) { - ; - _impl_.direct_pass_ = value; +inline ::protos::ChangeView* PlayerAction::_internal_mutable_change_view() { + if (action_case() != kChangeView) { + clear_action(); + set_has_change_view(); + _impl_.action_.change_view_ = CreateMaybeMessage< ::protos::ChangeView >(GetArenaForAllocation()); + } + return _impl_.action_.change_view_; +} +inline ::protos::ChangeView* PlayerAction::mutable_change_view() { + ::protos::ChangeView* _msg = _internal_mutable_change_view(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.change_view) + return _msg; } -// bool lead_pass = 2; -inline void HeliosChainAction::clear_lead_pass() { - _impl_.lead_pass_ = false; +// .protos.Say say = 9; +inline bool PlayerAction::has_say() const { + return action_case() == kSay; } -inline bool HeliosChainAction::lead_pass() const { - // @@protoc_insertion_point(field_get:protos.HeliosChainAction.lead_pass) - return _internal_lead_pass(); +inline bool PlayerAction::_internal_has_say() const { + return action_case() == kSay; } -inline void HeliosChainAction::set_lead_pass(bool value) { - _internal_set_lead_pass(value); - // @@protoc_insertion_point(field_set:protos.HeliosChainAction.lead_pass) +inline void PlayerAction::set_has_say() { + _impl_._oneof_case_[0] = kSay; } -inline bool HeliosChainAction::_internal_lead_pass() const { - return _impl_.lead_pass_; +inline void PlayerAction::clear_say() { + if (action_case() == kSay) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.action_.say_; + } + clear_has_action(); + } } -inline void HeliosChainAction::_internal_set_lead_pass(bool value) { - ; - _impl_.lead_pass_ = value; +inline ::protos::Say* PlayerAction::release_say() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.say) + if (action_case() == kSay) { + clear_has_action(); + ::protos::Say* temp = _impl_.action_.say_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.action_.say_ = nullptr; + return temp; + } else { + return nullptr; + } } - -// bool through_pass = 3; -inline void HeliosChainAction::clear_through_pass() { - _impl_.through_pass_ = false; +inline const ::protos::Say& PlayerAction::_internal_say() const { + return action_case() == kSay + ? *_impl_.action_.say_ + : reinterpret_cast<::protos::Say&>(::protos::_Say_default_instance_); } -inline bool HeliosChainAction::through_pass() const { - // @@protoc_insertion_point(field_get:protos.HeliosChainAction.through_pass) - return _internal_through_pass(); +inline const ::protos::Say& PlayerAction::say() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.say) + return _internal_say(); +} +inline ::protos::Say* PlayerAction::unsafe_arena_release_say() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.say) + if (action_case() == kSay) { + clear_has_action(); + ::protos::Say* temp = _impl_.action_.say_; + _impl_.action_.say_ = nullptr; + return temp; + } else { + return nullptr; + } } -inline void HeliosChainAction::set_through_pass(bool value) { - _internal_set_through_pass(value); - // @@protoc_insertion_point(field_set:protos.HeliosChainAction.through_pass) +inline void PlayerAction::unsafe_arena_set_allocated_say(::protos::Say* say) { + clear_action(); + if (say) { + set_has_say(); + _impl_.action_.say_ = say; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.say) } -inline bool HeliosChainAction::_internal_through_pass() const { - return _impl_.through_pass_; +inline ::protos::Say* PlayerAction::_internal_mutable_say() { + if (action_case() != kSay) { + clear_action(); + set_has_say(); + _impl_.action_.say_ = CreateMaybeMessage< ::protos::Say >(GetArenaForAllocation()); + } + return _impl_.action_.say_; } -inline void HeliosChainAction::_internal_set_through_pass(bool value) { - ; - _impl_.through_pass_ = value; +inline ::protos::Say* PlayerAction::mutable_say() { + ::protos::Say* _msg = _internal_mutable_say(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.say) + return _msg; } -// bool short_dribble = 4; -inline void HeliosChainAction::clear_short_dribble() { - _impl_.short_dribble_ = false; +// .protos.PointTo point_to = 10; +inline bool PlayerAction::has_point_to() const { + return action_case() == kPointTo; } -inline bool HeliosChainAction::short_dribble() const { - // @@protoc_insertion_point(field_get:protos.HeliosChainAction.short_dribble) - return _internal_short_dribble(); +inline bool PlayerAction::_internal_has_point_to() const { + return action_case() == kPointTo; } -inline void HeliosChainAction::set_short_dribble(bool value) { - _internal_set_short_dribble(value); - // @@protoc_insertion_point(field_set:protos.HeliosChainAction.short_dribble) +inline void PlayerAction::set_has_point_to() { + _impl_._oneof_case_[0] = kPointTo; } -inline bool HeliosChainAction::_internal_short_dribble() const { - return _impl_.short_dribble_; +inline void PlayerAction::clear_point_to() { + if (action_case() == kPointTo) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.action_.point_to_; + } + clear_has_action(); + } } -inline void HeliosChainAction::_internal_set_short_dribble(bool value) { - ; - _impl_.short_dribble_ = value; +inline ::protos::PointTo* PlayerAction::release_point_to() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.point_to) + if (action_case() == kPointTo) { + clear_has_action(); + ::protos::PointTo* temp = _impl_.action_.point_to_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.action_.point_to_ = nullptr; + return temp; + } else { + return nullptr; + } } - -// bool long_dribble = 5; -inline void HeliosChainAction::clear_long_dribble() { - _impl_.long_dribble_ = false; +inline const ::protos::PointTo& PlayerAction::_internal_point_to() const { + return action_case() == kPointTo + ? *_impl_.action_.point_to_ + : reinterpret_cast<::protos::PointTo&>(::protos::_PointTo_default_instance_); } -inline bool HeliosChainAction::long_dribble() const { - // @@protoc_insertion_point(field_get:protos.HeliosChainAction.long_dribble) - return _internal_long_dribble(); +inline const ::protos::PointTo& PlayerAction::point_to() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.point_to) + return _internal_point_to(); } -inline void HeliosChainAction::set_long_dribble(bool value) { - _internal_set_long_dribble(value); - // @@protoc_insertion_point(field_set:protos.HeliosChainAction.long_dribble) +inline ::protos::PointTo* PlayerAction::unsafe_arena_release_point_to() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.point_to) + if (action_case() == kPointTo) { + clear_has_action(); + ::protos::PointTo* temp = _impl_.action_.point_to_; + _impl_.action_.point_to_ = nullptr; + return temp; + } else { + return nullptr; + } } -inline bool HeliosChainAction::_internal_long_dribble() const { - return _impl_.long_dribble_; +inline void PlayerAction::unsafe_arena_set_allocated_point_to(::protos::PointTo* point_to) { + clear_action(); + if (point_to) { + set_has_point_to(); + _impl_.action_.point_to_ = point_to; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.point_to) } -inline void HeliosChainAction::_internal_set_long_dribble(bool value) { - ; - _impl_.long_dribble_ = value; +inline ::protos::PointTo* PlayerAction::_internal_mutable_point_to() { + if (action_case() != kPointTo) { + clear_action(); + set_has_point_to(); + _impl_.action_.point_to_ = CreateMaybeMessage< ::protos::PointTo >(GetArenaForAllocation()); + } + return _impl_.action_.point_to_; +} +inline ::protos::PointTo* PlayerAction::mutable_point_to() { + ::protos::PointTo* _msg = _internal_mutable_point_to(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.point_to) + return _msg; } -// bool cross = 6; -inline void HeliosChainAction::clear_cross() { - _impl_.cross_ = false; +// .protos.PointToOf point_to_of = 11; +inline bool PlayerAction::has_point_to_of() const { + return action_case() == kPointToOf; } -inline bool HeliosChainAction::cross() const { - // @@protoc_insertion_point(field_get:protos.HeliosChainAction.cross) - return _internal_cross(); +inline bool PlayerAction::_internal_has_point_to_of() const { + return action_case() == kPointToOf; } -inline void HeliosChainAction::set_cross(bool value) { - _internal_set_cross(value); - // @@protoc_insertion_point(field_set:protos.HeliosChainAction.cross) +inline void PlayerAction::set_has_point_to_of() { + _impl_._oneof_case_[0] = kPointToOf; } -inline bool HeliosChainAction::_internal_cross() const { - return _impl_.cross_; +inline void PlayerAction::clear_point_to_of() { + if (action_case() == kPointToOf) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.action_.point_to_of_; + } + clear_has_action(); + } } -inline void HeliosChainAction::_internal_set_cross(bool value) { - ; - _impl_.cross_ = value; +inline ::protos::PointToOf* PlayerAction::release_point_to_of() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.point_to_of) + if (action_case() == kPointToOf) { + clear_has_action(); + ::protos::PointToOf* temp = _impl_.action_.point_to_of_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.action_.point_to_of_ = nullptr; + return temp; + } else { + return nullptr; + } } - -// bool simple_pass = 7; -inline void HeliosChainAction::clear_simple_pass() { - _impl_.simple_pass_ = false; +inline const ::protos::PointToOf& PlayerAction::_internal_point_to_of() const { + return action_case() == kPointToOf + ? *_impl_.action_.point_to_of_ + : reinterpret_cast<::protos::PointToOf&>(::protos::_PointToOf_default_instance_); } -inline bool HeliosChainAction::simple_pass() const { - // @@protoc_insertion_point(field_get:protos.HeliosChainAction.simple_pass) - return _internal_simple_pass(); +inline const ::protos::PointToOf& PlayerAction::point_to_of() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.point_to_of) + return _internal_point_to_of(); } -inline void HeliosChainAction::set_simple_pass(bool value) { - _internal_set_simple_pass(value); - // @@protoc_insertion_point(field_set:protos.HeliosChainAction.simple_pass) +inline ::protos::PointToOf* PlayerAction::unsafe_arena_release_point_to_of() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.point_to_of) + if (action_case() == kPointToOf) { + clear_has_action(); + ::protos::PointToOf* temp = _impl_.action_.point_to_of_; + _impl_.action_.point_to_of_ = nullptr; + return temp; + } else { + return nullptr; + } } -inline bool HeliosChainAction::_internal_simple_pass() const { - return _impl_.simple_pass_; +inline void PlayerAction::unsafe_arena_set_allocated_point_to_of(::protos::PointToOf* point_to_of) { + clear_action(); + if (point_to_of) { + set_has_point_to_of(); + _impl_.action_.point_to_of_ = point_to_of; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.point_to_of) } -inline void HeliosChainAction::_internal_set_simple_pass(bool value) { - ; - _impl_.simple_pass_ = value; +inline ::protos::PointToOf* PlayerAction::_internal_mutable_point_to_of() { + if (action_case() != kPointToOf) { + clear_action(); + set_has_point_to_of(); + _impl_.action_.point_to_of_ = CreateMaybeMessage< ::protos::PointToOf >(GetArenaForAllocation()); + } + return _impl_.action_.point_to_of_; +} +inline ::protos::PointToOf* PlayerAction::mutable_point_to_of() { + ::protos::PointToOf* _msg = _internal_mutable_point_to_of(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.point_to_of) + return _msg; } -// bool simple_dribble = 8; -inline void HeliosChainAction::clear_simple_dribble() { - _impl_.simple_dribble_ = false; +// .protos.AttentionTo attention_to = 12; +inline bool PlayerAction::has_attention_to() const { + return action_case() == kAttentionTo; } -inline bool HeliosChainAction::simple_dribble() const { - // @@protoc_insertion_point(field_get:protos.HeliosChainAction.simple_dribble) - return _internal_simple_dribble(); +inline bool PlayerAction::_internal_has_attention_to() const { + return action_case() == kAttentionTo; } -inline void HeliosChainAction::set_simple_dribble(bool value) { - _internal_set_simple_dribble(value); - // @@protoc_insertion_point(field_set:protos.HeliosChainAction.simple_dribble) +inline void PlayerAction::set_has_attention_to() { + _impl_._oneof_case_[0] = kAttentionTo; } -inline bool HeliosChainAction::_internal_simple_dribble() const { - return _impl_.simple_dribble_; +inline void PlayerAction::clear_attention_to() { + if (action_case() == kAttentionTo) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.action_.attention_to_; + } + clear_has_action(); + } } -inline void HeliosChainAction::_internal_set_simple_dribble(bool value) { - ; - _impl_.simple_dribble_ = value; +inline ::protos::AttentionTo* PlayerAction::release_attention_to() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.attention_to) + if (action_case() == kAttentionTo) { + clear_has_action(); + ::protos::AttentionTo* temp = _impl_.action_.attention_to_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.action_.attention_to_ = nullptr; + return temp; + } else { + return nullptr; + } } - -// bool simple_shoot = 9; -inline void HeliosChainAction::clear_simple_shoot() { - _impl_.simple_shoot_ = false; +inline const ::protos::AttentionTo& PlayerAction::_internal_attention_to() const { + return action_case() == kAttentionTo + ? *_impl_.action_.attention_to_ + : reinterpret_cast<::protos::AttentionTo&>(::protos::_AttentionTo_default_instance_); } -inline bool HeliosChainAction::simple_shoot() const { - // @@protoc_insertion_point(field_get:protos.HeliosChainAction.simple_shoot) - return _internal_simple_shoot(); +inline const ::protos::AttentionTo& PlayerAction::attention_to() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.attention_to) + return _internal_attention_to(); } -inline void HeliosChainAction::set_simple_shoot(bool value) { - _internal_set_simple_shoot(value); - // @@protoc_insertion_point(field_set:protos.HeliosChainAction.simple_shoot) +inline ::protos::AttentionTo* PlayerAction::unsafe_arena_release_attention_to() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.attention_to) + if (action_case() == kAttentionTo) { + clear_has_action(); + ::protos::AttentionTo* temp = _impl_.action_.attention_to_; + _impl_.action_.attention_to_ = nullptr; + return temp; + } else { + return nullptr; + } } -inline bool HeliosChainAction::_internal_simple_shoot() const { - return _impl_.simple_shoot_; +inline void PlayerAction::unsafe_arena_set_allocated_attention_to(::protos::AttentionTo* attention_to) { + clear_action(); + if (attention_to) { + set_has_attention_to(); + _impl_.action_.attention_to_ = attention_to; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.attention_to) } -inline void HeliosChainAction::_internal_set_simple_shoot(bool value) { - ; - _impl_.simple_shoot_ = value; +inline ::protos::AttentionTo* PlayerAction::_internal_mutable_attention_to() { + if (action_case() != kAttentionTo) { + clear_action(); + set_has_attention_to(); + _impl_.action_.attention_to_ = CreateMaybeMessage< ::protos::AttentionTo >(GetArenaForAllocation()); + } + return _impl_.action_.attention_to_; +} +inline ::protos::AttentionTo* PlayerAction::mutable_attention_to() { + ::protos::AttentionTo* _msg = _internal_mutable_attention_to(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.attention_to) + return _msg; } -// ------------------------------------------------------------------- - -// HeliosBasicOffensive - -// ------------------------------------------------------------------- - -// HeliosBasicMove - -// ------------------------------------------------------------------- - -// HeliosSetPlay - -// ------------------------------------------------------------------- - -// HeliosPenalty - -// ------------------------------------------------------------------- - -// HeliosCommunicaion - -// ------------------------------------------------------------------- - -// PlayerAction - -// .protos.Dash dash = 1; -inline bool PlayerAction::has_dash() const { - return action_case() == kDash; +// .protos.AttentionToOf attention_to_of = 13; +inline bool PlayerAction::has_attention_to_of() const { + return action_case() == kAttentionToOf; } -inline bool PlayerAction::_internal_has_dash() const { - return action_case() == kDash; +inline bool PlayerAction::_internal_has_attention_to_of() const { + return action_case() == kAttentionToOf; } -inline void PlayerAction::set_has_dash() { - _impl_._oneof_case_[0] = kDash; +inline void PlayerAction::set_has_attention_to_of() { + _impl_._oneof_case_[0] = kAttentionToOf; } -inline void PlayerAction::clear_dash() { - if (action_case() == kDash) { +inline void PlayerAction::clear_attention_to_of() { + if (action_case() == kAttentionToOf) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.dash_; + delete _impl_.action_.attention_to_of_; } clear_has_action(); } } -inline ::protos::Dash* PlayerAction::release_dash() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.dash) - if (action_case() == kDash) { +inline ::protos::AttentionToOf* PlayerAction::release_attention_to_of() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.attention_to_of) + if (action_case() == kAttentionToOf) { clear_has_action(); - ::protos::Dash* temp = _impl_.action_.dash_; + ::protos::AttentionToOf* temp = _impl_.action_.attention_to_of_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.dash_ = nullptr; + _impl_.action_.attention_to_of_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Dash& PlayerAction::_internal_dash() const { - return action_case() == kDash - ? *_impl_.action_.dash_ - : reinterpret_cast<::protos::Dash&>(::protos::_Dash_default_instance_); +inline const ::protos::AttentionToOf& PlayerAction::_internal_attention_to_of() const { + return action_case() == kAttentionToOf + ? *_impl_.action_.attention_to_of_ + : reinterpret_cast<::protos::AttentionToOf&>(::protos::_AttentionToOf_default_instance_); } -inline const ::protos::Dash& PlayerAction::dash() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.dash) - return _internal_dash(); +inline const ::protos::AttentionToOf& PlayerAction::attention_to_of() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.attention_to_of) + return _internal_attention_to_of(); } -inline ::protos::Dash* PlayerAction::unsafe_arena_release_dash() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.dash) - if (action_case() == kDash) { +inline ::protos::AttentionToOf* PlayerAction::unsafe_arena_release_attention_to_of() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.attention_to_of) + if (action_case() == kAttentionToOf) { clear_has_action(); - ::protos::Dash* temp = _impl_.action_.dash_; - _impl_.action_.dash_ = nullptr; + ::protos::AttentionToOf* temp = _impl_.action_.attention_to_of_; + _impl_.action_.attention_to_of_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_dash(::protos::Dash* dash) { +inline void PlayerAction::unsafe_arena_set_allocated_attention_to_of(::protos::AttentionToOf* attention_to_of) { clear_action(); - if (dash) { - set_has_dash(); - _impl_.action_.dash_ = dash; + if (attention_to_of) { + set_has_attention_to_of(); + _impl_.action_.attention_to_of_ = attention_to_of; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.dash) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.attention_to_of) } -inline ::protos::Dash* PlayerAction::_internal_mutable_dash() { - if (action_case() != kDash) { +inline ::protos::AttentionToOf* PlayerAction::_internal_mutable_attention_to_of() { + if (action_case() != kAttentionToOf) { clear_action(); - set_has_dash(); - _impl_.action_.dash_ = CreateMaybeMessage< ::protos::Dash >(GetArenaForAllocation()); + set_has_attention_to_of(); + _impl_.action_.attention_to_of_ = CreateMaybeMessage< ::protos::AttentionToOf >(GetArenaForAllocation()); } - return _impl_.action_.dash_; + return _impl_.action_.attention_to_of_; } -inline ::protos::Dash* PlayerAction::mutable_dash() { - ::protos::Dash* _msg = _internal_mutable_dash(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.dash) +inline ::protos::AttentionToOf* PlayerAction::mutable_attention_to_of() { + ::protos::AttentionToOf* _msg = _internal_mutable_attention_to_of(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.attention_to_of) return _msg; } -// .protos.Turn turn = 2; -inline bool PlayerAction::has_turn() const { - return action_case() == kTurn; +// .protos.Log log = 14; +inline bool PlayerAction::has_log() const { + return action_case() == kLog; } -inline bool PlayerAction::_internal_has_turn() const { - return action_case() == kTurn; +inline bool PlayerAction::_internal_has_log() const { + return action_case() == kLog; } -inline void PlayerAction::set_has_turn() { - _impl_._oneof_case_[0] = kTurn; +inline void PlayerAction::set_has_log() { + _impl_._oneof_case_[0] = kLog; } -inline void PlayerAction::clear_turn() { - if (action_case() == kTurn) { +inline void PlayerAction::clear_log() { + if (action_case() == kLog) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.turn_; + delete _impl_.action_.log_; } clear_has_action(); } } -inline ::protos::Turn* PlayerAction::release_turn() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.turn) - if (action_case() == kTurn) { +inline ::protos::Log* PlayerAction::release_log() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.log) + if (action_case() == kLog) { clear_has_action(); - ::protos::Turn* temp = _impl_.action_.turn_; + ::protos::Log* temp = _impl_.action_.log_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.turn_ = nullptr; + _impl_.action_.log_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Turn& PlayerAction::_internal_turn() const { - return action_case() == kTurn - ? *_impl_.action_.turn_ - : reinterpret_cast<::protos::Turn&>(::protos::_Turn_default_instance_); +inline const ::protos::Log& PlayerAction::_internal_log() const { + return action_case() == kLog + ? *_impl_.action_.log_ + : reinterpret_cast<::protos::Log&>(::protos::_Log_default_instance_); } -inline const ::protos::Turn& PlayerAction::turn() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.turn) - return _internal_turn(); +inline const ::protos::Log& PlayerAction::log() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.log) + return _internal_log(); } -inline ::protos::Turn* PlayerAction::unsafe_arena_release_turn() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.turn) - if (action_case() == kTurn) { +inline ::protos::Log* PlayerAction::unsafe_arena_release_log() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.log) + if (action_case() == kLog) { clear_has_action(); - ::protos::Turn* temp = _impl_.action_.turn_; - _impl_.action_.turn_ = nullptr; + ::protos::Log* temp = _impl_.action_.log_; + _impl_.action_.log_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_turn(::protos::Turn* turn) { +inline void PlayerAction::unsafe_arena_set_allocated_log(::protos::Log* log) { clear_action(); - if (turn) { - set_has_turn(); - _impl_.action_.turn_ = turn; + if (log) { + set_has_log(); + _impl_.action_.log_ = log; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.turn) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.log) } -inline ::protos::Turn* PlayerAction::_internal_mutable_turn() { - if (action_case() != kTurn) { +inline ::protos::Log* PlayerAction::_internal_mutable_log() { + if (action_case() != kLog) { clear_action(); - set_has_turn(); - _impl_.action_.turn_ = CreateMaybeMessage< ::protos::Turn >(GetArenaForAllocation()); + set_has_log(); + _impl_.action_.log_ = CreateMaybeMessage< ::protos::Log >(GetArenaForAllocation()); } - return _impl_.action_.turn_; + return _impl_.action_.log_; } -inline ::protos::Turn* PlayerAction::mutable_turn() { - ::protos::Turn* _msg = _internal_mutable_turn(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.turn) +inline ::protos::Log* PlayerAction::mutable_log() { + ::protos::Log* _msg = _internal_mutable_log(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.log) return _msg; } -// .protos.Kick kick = 3; -inline bool PlayerAction::has_kick() const { - return action_case() == kKick; +// .protos.DebugClient debug_client = 15; +inline bool PlayerAction::has_debug_client() const { + return action_case() == kDebugClient; } -inline bool PlayerAction::_internal_has_kick() const { - return action_case() == kKick; +inline bool PlayerAction::_internal_has_debug_client() const { + return action_case() == kDebugClient; } -inline void PlayerAction::set_has_kick() { - _impl_._oneof_case_[0] = kKick; +inline void PlayerAction::set_has_debug_client() { + _impl_._oneof_case_[0] = kDebugClient; } -inline void PlayerAction::clear_kick() { - if (action_case() == kKick) { +inline void PlayerAction::clear_debug_client() { + if (action_case() == kDebugClient) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.kick_; + delete _impl_.action_.debug_client_; } clear_has_action(); } } -inline ::protos::Kick* PlayerAction::release_kick() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.kick) - if (action_case() == kKick) { +inline ::protos::DebugClient* PlayerAction::release_debug_client() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.debug_client) + if (action_case() == kDebugClient) { clear_has_action(); - ::protos::Kick* temp = _impl_.action_.kick_; + ::protos::DebugClient* temp = _impl_.action_.debug_client_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.kick_ = nullptr; + _impl_.action_.debug_client_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Kick& PlayerAction::_internal_kick() const { - return action_case() == kKick - ? *_impl_.action_.kick_ - : reinterpret_cast<::protos::Kick&>(::protos::_Kick_default_instance_); +inline const ::protos::DebugClient& PlayerAction::_internal_debug_client() const { + return action_case() == kDebugClient + ? *_impl_.action_.debug_client_ + : reinterpret_cast<::protos::DebugClient&>(::protos::_DebugClient_default_instance_); } -inline const ::protos::Kick& PlayerAction::kick() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.kick) - return _internal_kick(); +inline const ::protos::DebugClient& PlayerAction::debug_client() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.debug_client) + return _internal_debug_client(); } -inline ::protos::Kick* PlayerAction::unsafe_arena_release_kick() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.kick) - if (action_case() == kKick) { +inline ::protos::DebugClient* PlayerAction::unsafe_arena_release_debug_client() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.debug_client) + if (action_case() == kDebugClient) { clear_has_action(); - ::protos::Kick* temp = _impl_.action_.kick_; - _impl_.action_.kick_ = nullptr; + ::protos::DebugClient* temp = _impl_.action_.debug_client_; + _impl_.action_.debug_client_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_kick(::protos::Kick* kick) { +inline void PlayerAction::unsafe_arena_set_allocated_debug_client(::protos::DebugClient* debug_client) { clear_action(); - if (kick) { - set_has_kick(); - _impl_.action_.kick_ = kick; + if (debug_client) { + set_has_debug_client(); + _impl_.action_.debug_client_ = debug_client; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.kick) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.debug_client) } -inline ::protos::Kick* PlayerAction::_internal_mutable_kick() { - if (action_case() != kKick) { +inline ::protos::DebugClient* PlayerAction::_internal_mutable_debug_client() { + if (action_case() != kDebugClient) { clear_action(); - set_has_kick(); - _impl_.action_.kick_ = CreateMaybeMessage< ::protos::Kick >(GetArenaForAllocation()); + set_has_debug_client(); + _impl_.action_.debug_client_ = CreateMaybeMessage< ::protos::DebugClient >(GetArenaForAllocation()); } - return _impl_.action_.kick_; + return _impl_.action_.debug_client_; } -inline ::protos::Kick* PlayerAction::mutable_kick() { - ::protos::Kick* _msg = _internal_mutable_kick(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.kick) +inline ::protos::DebugClient* PlayerAction::mutable_debug_client() { + ::protos::DebugClient* _msg = _internal_mutable_debug_client(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.debug_client) return _msg; } -// .protos.Tackle tackle = 4; -inline bool PlayerAction::has_tackle() const { - return action_case() == kTackle; +// .protos.Body_GoToPoint body_go_to_point = 16; +inline bool PlayerAction::has_body_go_to_point() const { + return action_case() == kBodyGoToPoint; } -inline bool PlayerAction::_internal_has_tackle() const { - return action_case() == kTackle; +inline bool PlayerAction::_internal_has_body_go_to_point() const { + return action_case() == kBodyGoToPoint; } -inline void PlayerAction::set_has_tackle() { - _impl_._oneof_case_[0] = kTackle; +inline void PlayerAction::set_has_body_go_to_point() { + _impl_._oneof_case_[0] = kBodyGoToPoint; } -inline void PlayerAction::clear_tackle() { - if (action_case() == kTackle) { +inline void PlayerAction::clear_body_go_to_point() { + if (action_case() == kBodyGoToPoint) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.tackle_; + delete _impl_.action_.body_go_to_point_; } clear_has_action(); } } -inline ::protos::Tackle* PlayerAction::release_tackle() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.tackle) - if (action_case() == kTackle) { +inline ::protos::Body_GoToPoint* PlayerAction::release_body_go_to_point() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.body_go_to_point) + if (action_case() == kBodyGoToPoint) { clear_has_action(); - ::protos::Tackle* temp = _impl_.action_.tackle_; + ::protos::Body_GoToPoint* temp = _impl_.action_.body_go_to_point_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.tackle_ = nullptr; + _impl_.action_.body_go_to_point_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Tackle& PlayerAction::_internal_tackle() const { - return action_case() == kTackle - ? *_impl_.action_.tackle_ - : reinterpret_cast<::protos::Tackle&>(::protos::_Tackle_default_instance_); +inline const ::protos::Body_GoToPoint& PlayerAction::_internal_body_go_to_point() const { + return action_case() == kBodyGoToPoint + ? *_impl_.action_.body_go_to_point_ + : reinterpret_cast<::protos::Body_GoToPoint&>(::protos::_Body_GoToPoint_default_instance_); } -inline const ::protos::Tackle& PlayerAction::tackle() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.tackle) - return _internal_tackle(); +inline const ::protos::Body_GoToPoint& PlayerAction::body_go_to_point() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.body_go_to_point) + return _internal_body_go_to_point(); } -inline ::protos::Tackle* PlayerAction::unsafe_arena_release_tackle() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.tackle) - if (action_case() == kTackle) { +inline ::protos::Body_GoToPoint* PlayerAction::unsafe_arena_release_body_go_to_point() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_go_to_point) + if (action_case() == kBodyGoToPoint) { clear_has_action(); - ::protos::Tackle* temp = _impl_.action_.tackle_; - _impl_.action_.tackle_ = nullptr; + ::protos::Body_GoToPoint* temp = _impl_.action_.body_go_to_point_; + _impl_.action_.body_go_to_point_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_tackle(::protos::Tackle* tackle) { +inline void PlayerAction::unsafe_arena_set_allocated_body_go_to_point(::protos::Body_GoToPoint* body_go_to_point) { clear_action(); - if (tackle) { - set_has_tackle(); - _impl_.action_.tackle_ = tackle; + if (body_go_to_point) { + set_has_body_go_to_point(); + _impl_.action_.body_go_to_point_ = body_go_to_point; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.tackle) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_go_to_point) } -inline ::protos::Tackle* PlayerAction::_internal_mutable_tackle() { - if (action_case() != kTackle) { +inline ::protos::Body_GoToPoint* PlayerAction::_internal_mutable_body_go_to_point() { + if (action_case() != kBodyGoToPoint) { clear_action(); - set_has_tackle(); - _impl_.action_.tackle_ = CreateMaybeMessage< ::protos::Tackle >(GetArenaForAllocation()); + set_has_body_go_to_point(); + _impl_.action_.body_go_to_point_ = CreateMaybeMessage< ::protos::Body_GoToPoint >(GetArenaForAllocation()); } - return _impl_.action_.tackle_; + return _impl_.action_.body_go_to_point_; } -inline ::protos::Tackle* PlayerAction::mutable_tackle() { - ::protos::Tackle* _msg = _internal_mutable_tackle(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.tackle) +inline ::protos::Body_GoToPoint* PlayerAction::mutable_body_go_to_point() { + ::protos::Body_GoToPoint* _msg = _internal_mutable_body_go_to_point(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_go_to_point) return _msg; } -// .protos.Catch catch = 5; -inline bool PlayerAction::has_catch_() const { - return action_case() == kCatch; +// .protos.Body_SmartKick body_smart_kick = 17; +inline bool PlayerAction::has_body_smart_kick() const { + return action_case() == kBodySmartKick; } -inline bool PlayerAction::_internal_has_catch_() const { - return action_case() == kCatch; +inline bool PlayerAction::_internal_has_body_smart_kick() const { + return action_case() == kBodySmartKick; } -inline void PlayerAction::set_has_catch_() { - _impl_._oneof_case_[0] = kCatch; +inline void PlayerAction::set_has_body_smart_kick() { + _impl_._oneof_case_[0] = kBodySmartKick; } -inline void PlayerAction::clear_catch_() { - if (action_case() == kCatch) { +inline void PlayerAction::clear_body_smart_kick() { + if (action_case() == kBodySmartKick) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.catch__; + delete _impl_.action_.body_smart_kick_; } clear_has_action(); } } -inline ::protos::Catch* PlayerAction::release_catch_() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.catch) - if (action_case() == kCatch) { +inline ::protos::Body_SmartKick* PlayerAction::release_body_smart_kick() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.body_smart_kick) + if (action_case() == kBodySmartKick) { clear_has_action(); - ::protos::Catch* temp = _impl_.action_.catch__; + ::protos::Body_SmartKick* temp = _impl_.action_.body_smart_kick_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.catch__ = nullptr; + _impl_.action_.body_smart_kick_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Catch& PlayerAction::_internal_catch_() const { - return action_case() == kCatch - ? *_impl_.action_.catch__ - : reinterpret_cast<::protos::Catch&>(::protos::_Catch_default_instance_); +inline const ::protos::Body_SmartKick& PlayerAction::_internal_body_smart_kick() const { + return action_case() == kBodySmartKick + ? *_impl_.action_.body_smart_kick_ + : reinterpret_cast<::protos::Body_SmartKick&>(::protos::_Body_SmartKick_default_instance_); } -inline const ::protos::Catch& PlayerAction::catch_() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.catch) - return _internal_catch_(); +inline const ::protos::Body_SmartKick& PlayerAction::body_smart_kick() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.body_smart_kick) + return _internal_body_smart_kick(); } -inline ::protos::Catch* PlayerAction::unsafe_arena_release_catch_() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.catch) - if (action_case() == kCatch) { +inline ::protos::Body_SmartKick* PlayerAction::unsafe_arena_release_body_smart_kick() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_smart_kick) + if (action_case() == kBodySmartKick) { clear_has_action(); - ::protos::Catch* temp = _impl_.action_.catch__; - _impl_.action_.catch__ = nullptr; + ::protos::Body_SmartKick* temp = _impl_.action_.body_smart_kick_; + _impl_.action_.body_smart_kick_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_catch_(::protos::Catch* catch_) { +inline void PlayerAction::unsafe_arena_set_allocated_body_smart_kick(::protos::Body_SmartKick* body_smart_kick) { clear_action(); - if (catch_) { - set_has_catch_(); - _impl_.action_.catch__ = catch_; + if (body_smart_kick) { + set_has_body_smart_kick(); + _impl_.action_.body_smart_kick_ = body_smart_kick; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.catch) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_smart_kick) } -inline ::protos::Catch* PlayerAction::_internal_mutable_catch_() { - if (action_case() != kCatch) { +inline ::protos::Body_SmartKick* PlayerAction::_internal_mutable_body_smart_kick() { + if (action_case() != kBodySmartKick) { clear_action(); - set_has_catch_(); - _impl_.action_.catch__ = CreateMaybeMessage< ::protos::Catch >(GetArenaForAllocation()); + set_has_body_smart_kick(); + _impl_.action_.body_smart_kick_ = CreateMaybeMessage< ::protos::Body_SmartKick >(GetArenaForAllocation()); } - return _impl_.action_.catch__; + return _impl_.action_.body_smart_kick_; } -inline ::protos::Catch* PlayerAction::mutable_catch_() { - ::protos::Catch* _msg = _internal_mutable_catch_(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.catch) +inline ::protos::Body_SmartKick* PlayerAction::mutable_body_smart_kick() { + ::protos::Body_SmartKick* _msg = _internal_mutable_body_smart_kick(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_smart_kick) return _msg; } -// .protos.Move move = 6; -inline bool PlayerAction::has_move() const { - return action_case() == kMove; +// .protos.Bhv_BeforeKickOff bhv_before_kick_off = 18; +inline bool PlayerAction::has_bhv_before_kick_off() const { + return action_case() == kBhvBeforeKickOff; } -inline bool PlayerAction::_internal_has_move() const { - return action_case() == kMove; +inline bool PlayerAction::_internal_has_bhv_before_kick_off() const { + return action_case() == kBhvBeforeKickOff; } -inline void PlayerAction::set_has_move() { - _impl_._oneof_case_[0] = kMove; +inline void PlayerAction::set_has_bhv_before_kick_off() { + _impl_._oneof_case_[0] = kBhvBeforeKickOff; } -inline void PlayerAction::clear_move() { - if (action_case() == kMove) { +inline void PlayerAction::clear_bhv_before_kick_off() { + if (action_case() == kBhvBeforeKickOff) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.move_; + delete _impl_.action_.bhv_before_kick_off_; } clear_has_action(); } } -inline ::protos::Move* PlayerAction::release_move() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.move) - if (action_case() == kMove) { +inline ::protos::Bhv_BeforeKickOff* PlayerAction::release_bhv_before_kick_off() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.bhv_before_kick_off) + if (action_case() == kBhvBeforeKickOff) { clear_has_action(); - ::protos::Move* temp = _impl_.action_.move_; + ::protos::Bhv_BeforeKickOff* temp = _impl_.action_.bhv_before_kick_off_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.move_ = nullptr; + _impl_.action_.bhv_before_kick_off_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Move& PlayerAction::_internal_move() const { - return action_case() == kMove - ? *_impl_.action_.move_ - : reinterpret_cast<::protos::Move&>(::protos::_Move_default_instance_); +inline const ::protos::Bhv_BeforeKickOff& PlayerAction::_internal_bhv_before_kick_off() const { + return action_case() == kBhvBeforeKickOff + ? *_impl_.action_.bhv_before_kick_off_ + : reinterpret_cast<::protos::Bhv_BeforeKickOff&>(::protos::_Bhv_BeforeKickOff_default_instance_); } -inline const ::protos::Move& PlayerAction::move() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.move) - return _internal_move(); +inline const ::protos::Bhv_BeforeKickOff& PlayerAction::bhv_before_kick_off() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.bhv_before_kick_off) + return _internal_bhv_before_kick_off(); } -inline ::protos::Move* PlayerAction::unsafe_arena_release_move() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.move) - if (action_case() == kMove) { +inline ::protos::Bhv_BeforeKickOff* PlayerAction::unsafe_arena_release_bhv_before_kick_off() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.bhv_before_kick_off) + if (action_case() == kBhvBeforeKickOff) { clear_has_action(); - ::protos::Move* temp = _impl_.action_.move_; - _impl_.action_.move_ = nullptr; + ::protos::Bhv_BeforeKickOff* temp = _impl_.action_.bhv_before_kick_off_; + _impl_.action_.bhv_before_kick_off_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_move(::protos::Move* move) { +inline void PlayerAction::unsafe_arena_set_allocated_bhv_before_kick_off(::protos::Bhv_BeforeKickOff* bhv_before_kick_off) { clear_action(); - if (move) { - set_has_move(); - _impl_.action_.move_ = move; + if (bhv_before_kick_off) { + set_has_bhv_before_kick_off(); + _impl_.action_.bhv_before_kick_off_ = bhv_before_kick_off; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.move) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.bhv_before_kick_off) } -inline ::protos::Move* PlayerAction::_internal_mutable_move() { - if (action_case() != kMove) { +inline ::protos::Bhv_BeforeKickOff* PlayerAction::_internal_mutable_bhv_before_kick_off() { + if (action_case() != kBhvBeforeKickOff) { clear_action(); - set_has_move(); - _impl_.action_.move_ = CreateMaybeMessage< ::protos::Move >(GetArenaForAllocation()); + set_has_bhv_before_kick_off(); + _impl_.action_.bhv_before_kick_off_ = CreateMaybeMessage< ::protos::Bhv_BeforeKickOff >(GetArenaForAllocation()); } - return _impl_.action_.move_; + return _impl_.action_.bhv_before_kick_off_; } -inline ::protos::Move* PlayerAction::mutable_move() { - ::protos::Move* _msg = _internal_mutable_move(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.move) +inline ::protos::Bhv_BeforeKickOff* PlayerAction::mutable_bhv_before_kick_off() { + ::protos::Bhv_BeforeKickOff* _msg = _internal_mutable_bhv_before_kick_off(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.bhv_before_kick_off) return _msg; } -// .protos.TurnNeck turn_neck = 7; -inline bool PlayerAction::has_turn_neck() const { - return action_case() == kTurnNeck; +// .protos.Bhv_BodyNeckToBall bhv_body_neck_to_ball = 19; +inline bool PlayerAction::has_bhv_body_neck_to_ball() const { + return action_case() == kBhvBodyNeckToBall; } -inline bool PlayerAction::_internal_has_turn_neck() const { - return action_case() == kTurnNeck; +inline bool PlayerAction::_internal_has_bhv_body_neck_to_ball() const { + return action_case() == kBhvBodyNeckToBall; } -inline void PlayerAction::set_has_turn_neck() { - _impl_._oneof_case_[0] = kTurnNeck; +inline void PlayerAction::set_has_bhv_body_neck_to_ball() { + _impl_._oneof_case_[0] = kBhvBodyNeckToBall; } -inline void PlayerAction::clear_turn_neck() { - if (action_case() == kTurnNeck) { +inline void PlayerAction::clear_bhv_body_neck_to_ball() { + if (action_case() == kBhvBodyNeckToBall) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.turn_neck_; + delete _impl_.action_.bhv_body_neck_to_ball_; } clear_has_action(); } } -inline ::protos::TurnNeck* PlayerAction::release_turn_neck() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.turn_neck) - if (action_case() == kTurnNeck) { +inline ::protos::Bhv_BodyNeckToBall* PlayerAction::release_bhv_body_neck_to_ball() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.bhv_body_neck_to_ball) + if (action_case() == kBhvBodyNeckToBall) { clear_has_action(); - ::protos::TurnNeck* temp = _impl_.action_.turn_neck_; + ::protos::Bhv_BodyNeckToBall* temp = _impl_.action_.bhv_body_neck_to_ball_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.turn_neck_ = nullptr; + _impl_.action_.bhv_body_neck_to_ball_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::TurnNeck& PlayerAction::_internal_turn_neck() const { - return action_case() == kTurnNeck - ? *_impl_.action_.turn_neck_ - : reinterpret_cast<::protos::TurnNeck&>(::protos::_TurnNeck_default_instance_); +inline const ::protos::Bhv_BodyNeckToBall& PlayerAction::_internal_bhv_body_neck_to_ball() const { + return action_case() == kBhvBodyNeckToBall + ? *_impl_.action_.bhv_body_neck_to_ball_ + : reinterpret_cast<::protos::Bhv_BodyNeckToBall&>(::protos::_Bhv_BodyNeckToBall_default_instance_); } -inline const ::protos::TurnNeck& PlayerAction::turn_neck() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.turn_neck) - return _internal_turn_neck(); +inline const ::protos::Bhv_BodyNeckToBall& PlayerAction::bhv_body_neck_to_ball() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.bhv_body_neck_to_ball) + return _internal_bhv_body_neck_to_ball(); } -inline ::protos::TurnNeck* PlayerAction::unsafe_arena_release_turn_neck() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.turn_neck) - if (action_case() == kTurnNeck) { +inline ::protos::Bhv_BodyNeckToBall* PlayerAction::unsafe_arena_release_bhv_body_neck_to_ball() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.bhv_body_neck_to_ball) + if (action_case() == kBhvBodyNeckToBall) { clear_has_action(); - ::protos::TurnNeck* temp = _impl_.action_.turn_neck_; - _impl_.action_.turn_neck_ = nullptr; + ::protos::Bhv_BodyNeckToBall* temp = _impl_.action_.bhv_body_neck_to_ball_; + _impl_.action_.bhv_body_neck_to_ball_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_turn_neck(::protos::TurnNeck* turn_neck) { +inline void PlayerAction::unsafe_arena_set_allocated_bhv_body_neck_to_ball(::protos::Bhv_BodyNeckToBall* bhv_body_neck_to_ball) { clear_action(); - if (turn_neck) { - set_has_turn_neck(); - _impl_.action_.turn_neck_ = turn_neck; + if (bhv_body_neck_to_ball) { + set_has_bhv_body_neck_to_ball(); + _impl_.action_.bhv_body_neck_to_ball_ = bhv_body_neck_to_ball; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.turn_neck) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.bhv_body_neck_to_ball) } -inline ::protos::TurnNeck* PlayerAction::_internal_mutable_turn_neck() { - if (action_case() != kTurnNeck) { +inline ::protos::Bhv_BodyNeckToBall* PlayerAction::_internal_mutable_bhv_body_neck_to_ball() { + if (action_case() != kBhvBodyNeckToBall) { clear_action(); - set_has_turn_neck(); - _impl_.action_.turn_neck_ = CreateMaybeMessage< ::protos::TurnNeck >(GetArenaForAllocation()); + set_has_bhv_body_neck_to_ball(); + _impl_.action_.bhv_body_neck_to_ball_ = CreateMaybeMessage< ::protos::Bhv_BodyNeckToBall >(GetArenaForAllocation()); } - return _impl_.action_.turn_neck_; + return _impl_.action_.bhv_body_neck_to_ball_; } -inline ::protos::TurnNeck* PlayerAction::mutable_turn_neck() { - ::protos::TurnNeck* _msg = _internal_mutable_turn_neck(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.turn_neck) +inline ::protos::Bhv_BodyNeckToBall* PlayerAction::mutable_bhv_body_neck_to_ball() { + ::protos::Bhv_BodyNeckToBall* _msg = _internal_mutable_bhv_body_neck_to_ball(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.bhv_body_neck_to_ball) return _msg; } -// .protos.ChangeView change_view = 8; -inline bool PlayerAction::has_change_view() const { - return action_case() == kChangeView; +// .protos.Bhv_BodyNeckToPoint bhv_body_neck_to_point = 20; +inline bool PlayerAction::has_bhv_body_neck_to_point() const { + return action_case() == kBhvBodyNeckToPoint; } -inline bool PlayerAction::_internal_has_change_view() const { - return action_case() == kChangeView; +inline bool PlayerAction::_internal_has_bhv_body_neck_to_point() const { + return action_case() == kBhvBodyNeckToPoint; } -inline void PlayerAction::set_has_change_view() { - _impl_._oneof_case_[0] = kChangeView; +inline void PlayerAction::set_has_bhv_body_neck_to_point() { + _impl_._oneof_case_[0] = kBhvBodyNeckToPoint; } -inline void PlayerAction::clear_change_view() { - if (action_case() == kChangeView) { +inline void PlayerAction::clear_bhv_body_neck_to_point() { + if (action_case() == kBhvBodyNeckToPoint) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.change_view_; + delete _impl_.action_.bhv_body_neck_to_point_; } clear_has_action(); } } -inline ::protos::ChangeView* PlayerAction::release_change_view() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.change_view) - if (action_case() == kChangeView) { +inline ::protos::Bhv_BodyNeckToPoint* PlayerAction::release_bhv_body_neck_to_point() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.bhv_body_neck_to_point) + if (action_case() == kBhvBodyNeckToPoint) { clear_has_action(); - ::protos::ChangeView* temp = _impl_.action_.change_view_; + ::protos::Bhv_BodyNeckToPoint* temp = _impl_.action_.bhv_body_neck_to_point_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.change_view_ = nullptr; + _impl_.action_.bhv_body_neck_to_point_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::ChangeView& PlayerAction::_internal_change_view() const { - return action_case() == kChangeView - ? *_impl_.action_.change_view_ - : reinterpret_cast<::protos::ChangeView&>(::protos::_ChangeView_default_instance_); +inline const ::protos::Bhv_BodyNeckToPoint& PlayerAction::_internal_bhv_body_neck_to_point() const { + return action_case() == kBhvBodyNeckToPoint + ? *_impl_.action_.bhv_body_neck_to_point_ + : reinterpret_cast<::protos::Bhv_BodyNeckToPoint&>(::protos::_Bhv_BodyNeckToPoint_default_instance_); } -inline const ::protos::ChangeView& PlayerAction::change_view() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.change_view) - return _internal_change_view(); +inline const ::protos::Bhv_BodyNeckToPoint& PlayerAction::bhv_body_neck_to_point() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.bhv_body_neck_to_point) + return _internal_bhv_body_neck_to_point(); } -inline ::protos::ChangeView* PlayerAction::unsafe_arena_release_change_view() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.change_view) - if (action_case() == kChangeView) { +inline ::protos::Bhv_BodyNeckToPoint* PlayerAction::unsafe_arena_release_bhv_body_neck_to_point() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.bhv_body_neck_to_point) + if (action_case() == kBhvBodyNeckToPoint) { clear_has_action(); - ::protos::ChangeView* temp = _impl_.action_.change_view_; - _impl_.action_.change_view_ = nullptr; + ::protos::Bhv_BodyNeckToPoint* temp = _impl_.action_.bhv_body_neck_to_point_; + _impl_.action_.bhv_body_neck_to_point_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_change_view(::protos::ChangeView* change_view) { +inline void PlayerAction::unsafe_arena_set_allocated_bhv_body_neck_to_point(::protos::Bhv_BodyNeckToPoint* bhv_body_neck_to_point) { clear_action(); - if (change_view) { - set_has_change_view(); - _impl_.action_.change_view_ = change_view; + if (bhv_body_neck_to_point) { + set_has_bhv_body_neck_to_point(); + _impl_.action_.bhv_body_neck_to_point_ = bhv_body_neck_to_point; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.change_view) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.bhv_body_neck_to_point) } -inline ::protos::ChangeView* PlayerAction::_internal_mutable_change_view() { - if (action_case() != kChangeView) { +inline ::protos::Bhv_BodyNeckToPoint* PlayerAction::_internal_mutable_bhv_body_neck_to_point() { + if (action_case() != kBhvBodyNeckToPoint) { clear_action(); - set_has_change_view(); - _impl_.action_.change_view_ = CreateMaybeMessage< ::protos::ChangeView >(GetArenaForAllocation()); + set_has_bhv_body_neck_to_point(); + _impl_.action_.bhv_body_neck_to_point_ = CreateMaybeMessage< ::protos::Bhv_BodyNeckToPoint >(GetArenaForAllocation()); } - return _impl_.action_.change_view_; + return _impl_.action_.bhv_body_neck_to_point_; } -inline ::protos::ChangeView* PlayerAction::mutable_change_view() { - ::protos::ChangeView* _msg = _internal_mutable_change_view(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.change_view) +inline ::protos::Bhv_BodyNeckToPoint* PlayerAction::mutable_bhv_body_neck_to_point() { + ::protos::Bhv_BodyNeckToPoint* _msg = _internal_mutable_bhv_body_neck_to_point(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.bhv_body_neck_to_point) return _msg; } -// .protos.Say say = 9; -inline bool PlayerAction::has_say() const { - return action_case() == kSay; +// .protos.Bhv_Emergency bhv_emergency = 21; +inline bool PlayerAction::has_bhv_emergency() const { + return action_case() == kBhvEmergency; } -inline bool PlayerAction::_internal_has_say() const { - return action_case() == kSay; +inline bool PlayerAction::_internal_has_bhv_emergency() const { + return action_case() == kBhvEmergency; } -inline void PlayerAction::set_has_say() { - _impl_._oneof_case_[0] = kSay; +inline void PlayerAction::set_has_bhv_emergency() { + _impl_._oneof_case_[0] = kBhvEmergency; } -inline void PlayerAction::clear_say() { - if (action_case() == kSay) { +inline void PlayerAction::clear_bhv_emergency() { + if (action_case() == kBhvEmergency) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.say_; + delete _impl_.action_.bhv_emergency_; } clear_has_action(); } } -inline ::protos::Say* PlayerAction::release_say() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.say) - if (action_case() == kSay) { +inline ::protos::Bhv_Emergency* PlayerAction::release_bhv_emergency() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.bhv_emergency) + if (action_case() == kBhvEmergency) { clear_has_action(); - ::protos::Say* temp = _impl_.action_.say_; + ::protos::Bhv_Emergency* temp = _impl_.action_.bhv_emergency_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.say_ = nullptr; + _impl_.action_.bhv_emergency_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Say& PlayerAction::_internal_say() const { - return action_case() == kSay - ? *_impl_.action_.say_ - : reinterpret_cast<::protos::Say&>(::protos::_Say_default_instance_); -} -inline const ::protos::Say& PlayerAction::say() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.say) - return _internal_say(); +inline const ::protos::Bhv_Emergency& PlayerAction::_internal_bhv_emergency() const { + return action_case() == kBhvEmergency + ? *_impl_.action_.bhv_emergency_ + : reinterpret_cast<::protos::Bhv_Emergency&>(::protos::_Bhv_Emergency_default_instance_); } -inline ::protos::Say* PlayerAction::unsafe_arena_release_say() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.say) - if (action_case() == kSay) { +inline const ::protos::Bhv_Emergency& PlayerAction::bhv_emergency() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.bhv_emergency) + return _internal_bhv_emergency(); +} +inline ::protos::Bhv_Emergency* PlayerAction::unsafe_arena_release_bhv_emergency() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.bhv_emergency) + if (action_case() == kBhvEmergency) { clear_has_action(); - ::protos::Say* temp = _impl_.action_.say_; - _impl_.action_.say_ = nullptr; + ::protos::Bhv_Emergency* temp = _impl_.action_.bhv_emergency_; + _impl_.action_.bhv_emergency_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_say(::protos::Say* say) { +inline void PlayerAction::unsafe_arena_set_allocated_bhv_emergency(::protos::Bhv_Emergency* bhv_emergency) { clear_action(); - if (say) { - set_has_say(); - _impl_.action_.say_ = say; + if (bhv_emergency) { + set_has_bhv_emergency(); + _impl_.action_.bhv_emergency_ = bhv_emergency; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.say) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.bhv_emergency) } -inline ::protos::Say* PlayerAction::_internal_mutable_say() { - if (action_case() != kSay) { +inline ::protos::Bhv_Emergency* PlayerAction::_internal_mutable_bhv_emergency() { + if (action_case() != kBhvEmergency) { clear_action(); - set_has_say(); - _impl_.action_.say_ = CreateMaybeMessage< ::protos::Say >(GetArenaForAllocation()); + set_has_bhv_emergency(); + _impl_.action_.bhv_emergency_ = CreateMaybeMessage< ::protos::Bhv_Emergency >(GetArenaForAllocation()); } - return _impl_.action_.say_; + return _impl_.action_.bhv_emergency_; } -inline ::protos::Say* PlayerAction::mutable_say() { - ::protos::Say* _msg = _internal_mutable_say(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.say) +inline ::protos::Bhv_Emergency* PlayerAction::mutable_bhv_emergency() { + ::protos::Bhv_Emergency* _msg = _internal_mutable_bhv_emergency(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.bhv_emergency) return _msg; } -// .protos.PointTo point_to = 10; -inline bool PlayerAction::has_point_to() const { - return action_case() == kPointTo; +// .protos.Bhv_GoToPointLookBall bhv_go_to_point_look_ball = 22; +inline bool PlayerAction::has_bhv_go_to_point_look_ball() const { + return action_case() == kBhvGoToPointLookBall; } -inline bool PlayerAction::_internal_has_point_to() const { - return action_case() == kPointTo; +inline bool PlayerAction::_internal_has_bhv_go_to_point_look_ball() const { + return action_case() == kBhvGoToPointLookBall; } -inline void PlayerAction::set_has_point_to() { - _impl_._oneof_case_[0] = kPointTo; +inline void PlayerAction::set_has_bhv_go_to_point_look_ball() { + _impl_._oneof_case_[0] = kBhvGoToPointLookBall; } -inline void PlayerAction::clear_point_to() { - if (action_case() == kPointTo) { +inline void PlayerAction::clear_bhv_go_to_point_look_ball() { + if (action_case() == kBhvGoToPointLookBall) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.point_to_; + delete _impl_.action_.bhv_go_to_point_look_ball_; } clear_has_action(); } } -inline ::protos::PointTo* PlayerAction::release_point_to() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.point_to) - if (action_case() == kPointTo) { +inline ::protos::Bhv_GoToPointLookBall* PlayerAction::release_bhv_go_to_point_look_ball() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.bhv_go_to_point_look_ball) + if (action_case() == kBhvGoToPointLookBall) { clear_has_action(); - ::protos::PointTo* temp = _impl_.action_.point_to_; + ::protos::Bhv_GoToPointLookBall* temp = _impl_.action_.bhv_go_to_point_look_ball_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.point_to_ = nullptr; + _impl_.action_.bhv_go_to_point_look_ball_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::PointTo& PlayerAction::_internal_point_to() const { - return action_case() == kPointTo - ? *_impl_.action_.point_to_ - : reinterpret_cast<::protos::PointTo&>(::protos::_PointTo_default_instance_); +inline const ::protos::Bhv_GoToPointLookBall& PlayerAction::_internal_bhv_go_to_point_look_ball() const { + return action_case() == kBhvGoToPointLookBall + ? *_impl_.action_.bhv_go_to_point_look_ball_ + : reinterpret_cast<::protos::Bhv_GoToPointLookBall&>(::protos::_Bhv_GoToPointLookBall_default_instance_); } -inline const ::protos::PointTo& PlayerAction::point_to() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.point_to) - return _internal_point_to(); +inline const ::protos::Bhv_GoToPointLookBall& PlayerAction::bhv_go_to_point_look_ball() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.bhv_go_to_point_look_ball) + return _internal_bhv_go_to_point_look_ball(); } -inline ::protos::PointTo* PlayerAction::unsafe_arena_release_point_to() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.point_to) - if (action_case() == kPointTo) { +inline ::protos::Bhv_GoToPointLookBall* PlayerAction::unsafe_arena_release_bhv_go_to_point_look_ball() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.bhv_go_to_point_look_ball) + if (action_case() == kBhvGoToPointLookBall) { clear_has_action(); - ::protos::PointTo* temp = _impl_.action_.point_to_; - _impl_.action_.point_to_ = nullptr; + ::protos::Bhv_GoToPointLookBall* temp = _impl_.action_.bhv_go_to_point_look_ball_; + _impl_.action_.bhv_go_to_point_look_ball_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_point_to(::protos::PointTo* point_to) { +inline void PlayerAction::unsafe_arena_set_allocated_bhv_go_to_point_look_ball(::protos::Bhv_GoToPointLookBall* bhv_go_to_point_look_ball) { clear_action(); - if (point_to) { - set_has_point_to(); - _impl_.action_.point_to_ = point_to; + if (bhv_go_to_point_look_ball) { + set_has_bhv_go_to_point_look_ball(); + _impl_.action_.bhv_go_to_point_look_ball_ = bhv_go_to_point_look_ball; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.point_to) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.bhv_go_to_point_look_ball) } -inline ::protos::PointTo* PlayerAction::_internal_mutable_point_to() { - if (action_case() != kPointTo) { +inline ::protos::Bhv_GoToPointLookBall* PlayerAction::_internal_mutable_bhv_go_to_point_look_ball() { + if (action_case() != kBhvGoToPointLookBall) { clear_action(); - set_has_point_to(); - _impl_.action_.point_to_ = CreateMaybeMessage< ::protos::PointTo >(GetArenaForAllocation()); + set_has_bhv_go_to_point_look_ball(); + _impl_.action_.bhv_go_to_point_look_ball_ = CreateMaybeMessage< ::protos::Bhv_GoToPointLookBall >(GetArenaForAllocation()); } - return _impl_.action_.point_to_; + return _impl_.action_.bhv_go_to_point_look_ball_; } -inline ::protos::PointTo* PlayerAction::mutable_point_to() { - ::protos::PointTo* _msg = _internal_mutable_point_to(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.point_to) +inline ::protos::Bhv_GoToPointLookBall* PlayerAction::mutable_bhv_go_to_point_look_ball() { + ::protos::Bhv_GoToPointLookBall* _msg = _internal_mutable_bhv_go_to_point_look_ball(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.bhv_go_to_point_look_ball) return _msg; } -// .protos.PointToOf point_to_of = 11; -inline bool PlayerAction::has_point_to_of() const { - return action_case() == kPointToOf; +// .protos.Bhv_NeckBodyToBall bhv_neck_body_to_ball = 23; +inline bool PlayerAction::has_bhv_neck_body_to_ball() const { + return action_case() == kBhvNeckBodyToBall; } -inline bool PlayerAction::_internal_has_point_to_of() const { - return action_case() == kPointToOf; +inline bool PlayerAction::_internal_has_bhv_neck_body_to_ball() const { + return action_case() == kBhvNeckBodyToBall; } -inline void PlayerAction::set_has_point_to_of() { - _impl_._oneof_case_[0] = kPointToOf; +inline void PlayerAction::set_has_bhv_neck_body_to_ball() { + _impl_._oneof_case_[0] = kBhvNeckBodyToBall; } -inline void PlayerAction::clear_point_to_of() { - if (action_case() == kPointToOf) { +inline void PlayerAction::clear_bhv_neck_body_to_ball() { + if (action_case() == kBhvNeckBodyToBall) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.point_to_of_; + delete _impl_.action_.bhv_neck_body_to_ball_; } clear_has_action(); } } -inline ::protos::PointToOf* PlayerAction::release_point_to_of() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.point_to_of) - if (action_case() == kPointToOf) { +inline ::protos::Bhv_NeckBodyToBall* PlayerAction::release_bhv_neck_body_to_ball() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.bhv_neck_body_to_ball) + if (action_case() == kBhvNeckBodyToBall) { clear_has_action(); - ::protos::PointToOf* temp = _impl_.action_.point_to_of_; + ::protos::Bhv_NeckBodyToBall* temp = _impl_.action_.bhv_neck_body_to_ball_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.point_to_of_ = nullptr; + _impl_.action_.bhv_neck_body_to_ball_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::PointToOf& PlayerAction::_internal_point_to_of() const { - return action_case() == kPointToOf - ? *_impl_.action_.point_to_of_ - : reinterpret_cast<::protos::PointToOf&>(::protos::_PointToOf_default_instance_); +inline const ::protos::Bhv_NeckBodyToBall& PlayerAction::_internal_bhv_neck_body_to_ball() const { + return action_case() == kBhvNeckBodyToBall + ? *_impl_.action_.bhv_neck_body_to_ball_ + : reinterpret_cast<::protos::Bhv_NeckBodyToBall&>(::protos::_Bhv_NeckBodyToBall_default_instance_); } -inline const ::protos::PointToOf& PlayerAction::point_to_of() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.point_to_of) - return _internal_point_to_of(); +inline const ::protos::Bhv_NeckBodyToBall& PlayerAction::bhv_neck_body_to_ball() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.bhv_neck_body_to_ball) + return _internal_bhv_neck_body_to_ball(); } -inline ::protos::PointToOf* PlayerAction::unsafe_arena_release_point_to_of() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.point_to_of) - if (action_case() == kPointToOf) { +inline ::protos::Bhv_NeckBodyToBall* PlayerAction::unsafe_arena_release_bhv_neck_body_to_ball() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.bhv_neck_body_to_ball) + if (action_case() == kBhvNeckBodyToBall) { clear_has_action(); - ::protos::PointToOf* temp = _impl_.action_.point_to_of_; - _impl_.action_.point_to_of_ = nullptr; + ::protos::Bhv_NeckBodyToBall* temp = _impl_.action_.bhv_neck_body_to_ball_; + _impl_.action_.bhv_neck_body_to_ball_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_point_to_of(::protos::PointToOf* point_to_of) { +inline void PlayerAction::unsafe_arena_set_allocated_bhv_neck_body_to_ball(::protos::Bhv_NeckBodyToBall* bhv_neck_body_to_ball) { clear_action(); - if (point_to_of) { - set_has_point_to_of(); - _impl_.action_.point_to_of_ = point_to_of; + if (bhv_neck_body_to_ball) { + set_has_bhv_neck_body_to_ball(); + _impl_.action_.bhv_neck_body_to_ball_ = bhv_neck_body_to_ball; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.point_to_of) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.bhv_neck_body_to_ball) } -inline ::protos::PointToOf* PlayerAction::_internal_mutable_point_to_of() { - if (action_case() != kPointToOf) { +inline ::protos::Bhv_NeckBodyToBall* PlayerAction::_internal_mutable_bhv_neck_body_to_ball() { + if (action_case() != kBhvNeckBodyToBall) { clear_action(); - set_has_point_to_of(); - _impl_.action_.point_to_of_ = CreateMaybeMessage< ::protos::PointToOf >(GetArenaForAllocation()); + set_has_bhv_neck_body_to_ball(); + _impl_.action_.bhv_neck_body_to_ball_ = CreateMaybeMessage< ::protos::Bhv_NeckBodyToBall >(GetArenaForAllocation()); } - return _impl_.action_.point_to_of_; + return _impl_.action_.bhv_neck_body_to_ball_; } -inline ::protos::PointToOf* PlayerAction::mutable_point_to_of() { - ::protos::PointToOf* _msg = _internal_mutable_point_to_of(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.point_to_of) +inline ::protos::Bhv_NeckBodyToBall* PlayerAction::mutable_bhv_neck_body_to_ball() { + ::protos::Bhv_NeckBodyToBall* _msg = _internal_mutable_bhv_neck_body_to_ball(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.bhv_neck_body_to_ball) return _msg; } -// .protos.AttentionTo attention_to = 12; -inline bool PlayerAction::has_attention_to() const { - return action_case() == kAttentionTo; +// .protos.Bhv_NeckBodyToPoint bhv_neck_body_to_point = 24; +inline bool PlayerAction::has_bhv_neck_body_to_point() const { + return action_case() == kBhvNeckBodyToPoint; } -inline bool PlayerAction::_internal_has_attention_to() const { - return action_case() == kAttentionTo; +inline bool PlayerAction::_internal_has_bhv_neck_body_to_point() const { + return action_case() == kBhvNeckBodyToPoint; } -inline void PlayerAction::set_has_attention_to() { - _impl_._oneof_case_[0] = kAttentionTo; +inline void PlayerAction::set_has_bhv_neck_body_to_point() { + _impl_._oneof_case_[0] = kBhvNeckBodyToPoint; } -inline void PlayerAction::clear_attention_to() { - if (action_case() == kAttentionTo) { +inline void PlayerAction::clear_bhv_neck_body_to_point() { + if (action_case() == kBhvNeckBodyToPoint) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.attention_to_; + delete _impl_.action_.bhv_neck_body_to_point_; } clear_has_action(); } } -inline ::protos::AttentionTo* PlayerAction::release_attention_to() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.attention_to) - if (action_case() == kAttentionTo) { +inline ::protos::Bhv_NeckBodyToPoint* PlayerAction::release_bhv_neck_body_to_point() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.bhv_neck_body_to_point) + if (action_case() == kBhvNeckBodyToPoint) { clear_has_action(); - ::protos::AttentionTo* temp = _impl_.action_.attention_to_; + ::protos::Bhv_NeckBodyToPoint* temp = _impl_.action_.bhv_neck_body_to_point_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.attention_to_ = nullptr; + _impl_.action_.bhv_neck_body_to_point_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::AttentionTo& PlayerAction::_internal_attention_to() const { - return action_case() == kAttentionTo - ? *_impl_.action_.attention_to_ - : reinterpret_cast<::protos::AttentionTo&>(::protos::_AttentionTo_default_instance_); +inline const ::protos::Bhv_NeckBodyToPoint& PlayerAction::_internal_bhv_neck_body_to_point() const { + return action_case() == kBhvNeckBodyToPoint + ? *_impl_.action_.bhv_neck_body_to_point_ + : reinterpret_cast<::protos::Bhv_NeckBodyToPoint&>(::protos::_Bhv_NeckBodyToPoint_default_instance_); } -inline const ::protos::AttentionTo& PlayerAction::attention_to() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.attention_to) - return _internal_attention_to(); +inline const ::protos::Bhv_NeckBodyToPoint& PlayerAction::bhv_neck_body_to_point() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.bhv_neck_body_to_point) + return _internal_bhv_neck_body_to_point(); } -inline ::protos::AttentionTo* PlayerAction::unsafe_arena_release_attention_to() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.attention_to) - if (action_case() == kAttentionTo) { +inline ::protos::Bhv_NeckBodyToPoint* PlayerAction::unsafe_arena_release_bhv_neck_body_to_point() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.bhv_neck_body_to_point) + if (action_case() == kBhvNeckBodyToPoint) { clear_has_action(); - ::protos::AttentionTo* temp = _impl_.action_.attention_to_; - _impl_.action_.attention_to_ = nullptr; + ::protos::Bhv_NeckBodyToPoint* temp = _impl_.action_.bhv_neck_body_to_point_; + _impl_.action_.bhv_neck_body_to_point_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_attention_to(::protos::AttentionTo* attention_to) { +inline void PlayerAction::unsafe_arena_set_allocated_bhv_neck_body_to_point(::protos::Bhv_NeckBodyToPoint* bhv_neck_body_to_point) { clear_action(); - if (attention_to) { - set_has_attention_to(); - _impl_.action_.attention_to_ = attention_to; + if (bhv_neck_body_to_point) { + set_has_bhv_neck_body_to_point(); + _impl_.action_.bhv_neck_body_to_point_ = bhv_neck_body_to_point; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.attention_to) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.bhv_neck_body_to_point) } -inline ::protos::AttentionTo* PlayerAction::_internal_mutable_attention_to() { - if (action_case() != kAttentionTo) { +inline ::protos::Bhv_NeckBodyToPoint* PlayerAction::_internal_mutable_bhv_neck_body_to_point() { + if (action_case() != kBhvNeckBodyToPoint) { clear_action(); - set_has_attention_to(); - _impl_.action_.attention_to_ = CreateMaybeMessage< ::protos::AttentionTo >(GetArenaForAllocation()); + set_has_bhv_neck_body_to_point(); + _impl_.action_.bhv_neck_body_to_point_ = CreateMaybeMessage< ::protos::Bhv_NeckBodyToPoint >(GetArenaForAllocation()); } - return _impl_.action_.attention_to_; + return _impl_.action_.bhv_neck_body_to_point_; } -inline ::protos::AttentionTo* PlayerAction::mutable_attention_to() { - ::protos::AttentionTo* _msg = _internal_mutable_attention_to(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.attention_to) +inline ::protos::Bhv_NeckBodyToPoint* PlayerAction::mutable_bhv_neck_body_to_point() { + ::protos::Bhv_NeckBodyToPoint* _msg = _internal_mutable_bhv_neck_body_to_point(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.bhv_neck_body_to_point) return _msg; } -// .protos.AttentionToOf attention_to_of = 13; -inline bool PlayerAction::has_attention_to_of() const { - return action_case() == kAttentionToOf; +// .protos.Bhv_ScanField bhv_scan_field = 25; +inline bool PlayerAction::has_bhv_scan_field() const { + return action_case() == kBhvScanField; } -inline bool PlayerAction::_internal_has_attention_to_of() const { - return action_case() == kAttentionToOf; +inline bool PlayerAction::_internal_has_bhv_scan_field() const { + return action_case() == kBhvScanField; } -inline void PlayerAction::set_has_attention_to_of() { - _impl_._oneof_case_[0] = kAttentionToOf; +inline void PlayerAction::set_has_bhv_scan_field() { + _impl_._oneof_case_[0] = kBhvScanField; } -inline void PlayerAction::clear_attention_to_of() { - if (action_case() == kAttentionToOf) { +inline void PlayerAction::clear_bhv_scan_field() { + if (action_case() == kBhvScanField) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.attention_to_of_; + delete _impl_.action_.bhv_scan_field_; } clear_has_action(); } } -inline ::protos::AttentionToOf* PlayerAction::release_attention_to_of() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.attention_to_of) - if (action_case() == kAttentionToOf) { +inline ::protos::Bhv_ScanField* PlayerAction::release_bhv_scan_field() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.bhv_scan_field) + if (action_case() == kBhvScanField) { clear_has_action(); - ::protos::AttentionToOf* temp = _impl_.action_.attention_to_of_; + ::protos::Bhv_ScanField* temp = _impl_.action_.bhv_scan_field_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.attention_to_of_ = nullptr; + _impl_.action_.bhv_scan_field_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::AttentionToOf& PlayerAction::_internal_attention_to_of() const { - return action_case() == kAttentionToOf - ? *_impl_.action_.attention_to_of_ - : reinterpret_cast<::protos::AttentionToOf&>(::protos::_AttentionToOf_default_instance_); +inline const ::protos::Bhv_ScanField& PlayerAction::_internal_bhv_scan_field() const { + return action_case() == kBhvScanField + ? *_impl_.action_.bhv_scan_field_ + : reinterpret_cast<::protos::Bhv_ScanField&>(::protos::_Bhv_ScanField_default_instance_); } -inline const ::protos::AttentionToOf& PlayerAction::attention_to_of() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.attention_to_of) - return _internal_attention_to_of(); +inline const ::protos::Bhv_ScanField& PlayerAction::bhv_scan_field() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.bhv_scan_field) + return _internal_bhv_scan_field(); } -inline ::protos::AttentionToOf* PlayerAction::unsafe_arena_release_attention_to_of() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.attention_to_of) - if (action_case() == kAttentionToOf) { +inline ::protos::Bhv_ScanField* PlayerAction::unsafe_arena_release_bhv_scan_field() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.bhv_scan_field) + if (action_case() == kBhvScanField) { clear_has_action(); - ::protos::AttentionToOf* temp = _impl_.action_.attention_to_of_; - _impl_.action_.attention_to_of_ = nullptr; + ::protos::Bhv_ScanField* temp = _impl_.action_.bhv_scan_field_; + _impl_.action_.bhv_scan_field_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_attention_to_of(::protos::AttentionToOf* attention_to_of) { +inline void PlayerAction::unsafe_arena_set_allocated_bhv_scan_field(::protos::Bhv_ScanField* bhv_scan_field) { clear_action(); - if (attention_to_of) { - set_has_attention_to_of(); - _impl_.action_.attention_to_of_ = attention_to_of; + if (bhv_scan_field) { + set_has_bhv_scan_field(); + _impl_.action_.bhv_scan_field_ = bhv_scan_field; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.attention_to_of) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.bhv_scan_field) } -inline ::protos::AttentionToOf* PlayerAction::_internal_mutable_attention_to_of() { - if (action_case() != kAttentionToOf) { +inline ::protos::Bhv_ScanField* PlayerAction::_internal_mutable_bhv_scan_field() { + if (action_case() != kBhvScanField) { clear_action(); - set_has_attention_to_of(); - _impl_.action_.attention_to_of_ = CreateMaybeMessage< ::protos::AttentionToOf >(GetArenaForAllocation()); + set_has_bhv_scan_field(); + _impl_.action_.bhv_scan_field_ = CreateMaybeMessage< ::protos::Bhv_ScanField >(GetArenaForAllocation()); } - return _impl_.action_.attention_to_of_; + return _impl_.action_.bhv_scan_field_; } -inline ::protos::AttentionToOf* PlayerAction::mutable_attention_to_of() { - ::protos::AttentionToOf* _msg = _internal_mutable_attention_to_of(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.attention_to_of) +inline ::protos::Bhv_ScanField* PlayerAction::mutable_bhv_scan_field() { + ::protos::Bhv_ScanField* _msg = _internal_mutable_bhv_scan_field(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.bhv_scan_field) return _msg; } -// .protos.Log log = 14; -inline bool PlayerAction::has_log() const { - return action_case() == kLog; +// .protos.Body_AdvanceBall body_advance_ball = 26; +inline bool PlayerAction::has_body_advance_ball() const { + return action_case() == kBodyAdvanceBall; } -inline bool PlayerAction::_internal_has_log() const { - return action_case() == kLog; +inline bool PlayerAction::_internal_has_body_advance_ball() const { + return action_case() == kBodyAdvanceBall; } -inline void PlayerAction::set_has_log() { - _impl_._oneof_case_[0] = kLog; +inline void PlayerAction::set_has_body_advance_ball() { + _impl_._oneof_case_[0] = kBodyAdvanceBall; } -inline void PlayerAction::clear_log() { - if (action_case() == kLog) { +inline void PlayerAction::clear_body_advance_ball() { + if (action_case() == kBodyAdvanceBall) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.log_; + delete _impl_.action_.body_advance_ball_; } clear_has_action(); } } -inline ::protos::Log* PlayerAction::release_log() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.log) - if (action_case() == kLog) { +inline ::protos::Body_AdvanceBall* PlayerAction::release_body_advance_ball() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.body_advance_ball) + if (action_case() == kBodyAdvanceBall) { clear_has_action(); - ::protos::Log* temp = _impl_.action_.log_; + ::protos::Body_AdvanceBall* temp = _impl_.action_.body_advance_ball_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.log_ = nullptr; + _impl_.action_.body_advance_ball_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Log& PlayerAction::_internal_log() const { - return action_case() == kLog - ? *_impl_.action_.log_ - : reinterpret_cast<::protos::Log&>(::protos::_Log_default_instance_); +inline const ::protos::Body_AdvanceBall& PlayerAction::_internal_body_advance_ball() const { + return action_case() == kBodyAdvanceBall + ? *_impl_.action_.body_advance_ball_ + : reinterpret_cast<::protos::Body_AdvanceBall&>(::protos::_Body_AdvanceBall_default_instance_); } -inline const ::protos::Log& PlayerAction::log() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.log) - return _internal_log(); +inline const ::protos::Body_AdvanceBall& PlayerAction::body_advance_ball() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.body_advance_ball) + return _internal_body_advance_ball(); } -inline ::protos::Log* PlayerAction::unsafe_arena_release_log() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.log) - if (action_case() == kLog) { +inline ::protos::Body_AdvanceBall* PlayerAction::unsafe_arena_release_body_advance_ball() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_advance_ball) + if (action_case() == kBodyAdvanceBall) { clear_has_action(); - ::protos::Log* temp = _impl_.action_.log_; - _impl_.action_.log_ = nullptr; + ::protos::Body_AdvanceBall* temp = _impl_.action_.body_advance_ball_; + _impl_.action_.body_advance_ball_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_log(::protos::Log* log) { +inline void PlayerAction::unsafe_arena_set_allocated_body_advance_ball(::protos::Body_AdvanceBall* body_advance_ball) { clear_action(); - if (log) { - set_has_log(); - _impl_.action_.log_ = log; + if (body_advance_ball) { + set_has_body_advance_ball(); + _impl_.action_.body_advance_ball_ = body_advance_ball; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.log) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_advance_ball) } -inline ::protos::Log* PlayerAction::_internal_mutable_log() { - if (action_case() != kLog) { +inline ::protos::Body_AdvanceBall* PlayerAction::_internal_mutable_body_advance_ball() { + if (action_case() != kBodyAdvanceBall) { clear_action(); - set_has_log(); - _impl_.action_.log_ = CreateMaybeMessage< ::protos::Log >(GetArenaForAllocation()); + set_has_body_advance_ball(); + _impl_.action_.body_advance_ball_ = CreateMaybeMessage< ::protos::Body_AdvanceBall >(GetArenaForAllocation()); } - return _impl_.action_.log_; + return _impl_.action_.body_advance_ball_; } -inline ::protos::Log* PlayerAction::mutable_log() { - ::protos::Log* _msg = _internal_mutable_log(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.log) +inline ::protos::Body_AdvanceBall* PlayerAction::mutable_body_advance_ball() { + ::protos::Body_AdvanceBall* _msg = _internal_mutable_body_advance_ball(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_advance_ball) return _msg; } -// .protos.DebugClient debug_client = 15; -inline bool PlayerAction::has_debug_client() const { - return action_case() == kDebugClient; +// .protos.Body_ClearBall body_clear_ball = 27; +inline bool PlayerAction::has_body_clear_ball() const { + return action_case() == kBodyClearBall; } -inline bool PlayerAction::_internal_has_debug_client() const { - return action_case() == kDebugClient; +inline bool PlayerAction::_internal_has_body_clear_ball() const { + return action_case() == kBodyClearBall; } -inline void PlayerAction::set_has_debug_client() { - _impl_._oneof_case_[0] = kDebugClient; +inline void PlayerAction::set_has_body_clear_ball() { + _impl_._oneof_case_[0] = kBodyClearBall; } -inline void PlayerAction::clear_debug_client() { - if (action_case() == kDebugClient) { +inline void PlayerAction::clear_body_clear_ball() { + if (action_case() == kBodyClearBall) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.debug_client_; + delete _impl_.action_.body_clear_ball_; } clear_has_action(); } } -inline ::protos::DebugClient* PlayerAction::release_debug_client() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.debug_client) - if (action_case() == kDebugClient) { +inline ::protos::Body_ClearBall* PlayerAction::release_body_clear_ball() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.body_clear_ball) + if (action_case() == kBodyClearBall) { clear_has_action(); - ::protos::DebugClient* temp = _impl_.action_.debug_client_; + ::protos::Body_ClearBall* temp = _impl_.action_.body_clear_ball_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.debug_client_ = nullptr; + _impl_.action_.body_clear_ball_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::DebugClient& PlayerAction::_internal_debug_client() const { - return action_case() == kDebugClient - ? *_impl_.action_.debug_client_ - : reinterpret_cast<::protos::DebugClient&>(::protos::_DebugClient_default_instance_); +inline const ::protos::Body_ClearBall& PlayerAction::_internal_body_clear_ball() const { + return action_case() == kBodyClearBall + ? *_impl_.action_.body_clear_ball_ + : reinterpret_cast<::protos::Body_ClearBall&>(::protos::_Body_ClearBall_default_instance_); } -inline const ::protos::DebugClient& PlayerAction::debug_client() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.debug_client) - return _internal_debug_client(); +inline const ::protos::Body_ClearBall& PlayerAction::body_clear_ball() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.body_clear_ball) + return _internal_body_clear_ball(); } -inline ::protos::DebugClient* PlayerAction::unsafe_arena_release_debug_client() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.debug_client) - if (action_case() == kDebugClient) { +inline ::protos::Body_ClearBall* PlayerAction::unsafe_arena_release_body_clear_ball() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_clear_ball) + if (action_case() == kBodyClearBall) { clear_has_action(); - ::protos::DebugClient* temp = _impl_.action_.debug_client_; - _impl_.action_.debug_client_ = nullptr; + ::protos::Body_ClearBall* temp = _impl_.action_.body_clear_ball_; + _impl_.action_.body_clear_ball_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_debug_client(::protos::DebugClient* debug_client) { +inline void PlayerAction::unsafe_arena_set_allocated_body_clear_ball(::protos::Body_ClearBall* body_clear_ball) { clear_action(); - if (debug_client) { - set_has_debug_client(); - _impl_.action_.debug_client_ = debug_client; + if (body_clear_ball) { + set_has_body_clear_ball(); + _impl_.action_.body_clear_ball_ = body_clear_ball; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.debug_client) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_clear_ball) } -inline ::protos::DebugClient* PlayerAction::_internal_mutable_debug_client() { - if (action_case() != kDebugClient) { +inline ::protos::Body_ClearBall* PlayerAction::_internal_mutable_body_clear_ball() { + if (action_case() != kBodyClearBall) { clear_action(); - set_has_debug_client(); - _impl_.action_.debug_client_ = CreateMaybeMessage< ::protos::DebugClient >(GetArenaForAllocation()); + set_has_body_clear_ball(); + _impl_.action_.body_clear_ball_ = CreateMaybeMessage< ::protos::Body_ClearBall >(GetArenaForAllocation()); } - return _impl_.action_.debug_client_; -} -inline ::protos::DebugClient* PlayerAction::mutable_debug_client() { - ::protos::DebugClient* _msg = _internal_mutable_debug_client(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.debug_client) + return _impl_.action_.body_clear_ball_; +} +inline ::protos::Body_ClearBall* PlayerAction::mutable_body_clear_ball() { + ::protos::Body_ClearBall* _msg = _internal_mutable_body_clear_ball(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_clear_ball) return _msg; } -// .protos.Body_GoToPoint body_go_to_point = 16; -inline bool PlayerAction::has_body_go_to_point() const { - return action_case() == kBodyGoToPoint; +// .protos.Body_Dribble body_dribble = 28; +inline bool PlayerAction::has_body_dribble() const { + return action_case() == kBodyDribble; } -inline bool PlayerAction::_internal_has_body_go_to_point() const { - return action_case() == kBodyGoToPoint; +inline bool PlayerAction::_internal_has_body_dribble() const { + return action_case() == kBodyDribble; } -inline void PlayerAction::set_has_body_go_to_point() { - _impl_._oneof_case_[0] = kBodyGoToPoint; +inline void PlayerAction::set_has_body_dribble() { + _impl_._oneof_case_[0] = kBodyDribble; } -inline void PlayerAction::clear_body_go_to_point() { - if (action_case() == kBodyGoToPoint) { +inline void PlayerAction::clear_body_dribble() { + if (action_case() == kBodyDribble) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.body_go_to_point_; + delete _impl_.action_.body_dribble_; } clear_has_action(); } } -inline ::protos::Body_GoToPoint* PlayerAction::release_body_go_to_point() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.body_go_to_point) - if (action_case() == kBodyGoToPoint) { +inline ::protos::Body_Dribble* PlayerAction::release_body_dribble() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.body_dribble) + if (action_case() == kBodyDribble) { clear_has_action(); - ::protos::Body_GoToPoint* temp = _impl_.action_.body_go_to_point_; + ::protos::Body_Dribble* temp = _impl_.action_.body_dribble_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.body_go_to_point_ = nullptr; + _impl_.action_.body_dribble_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Body_GoToPoint& PlayerAction::_internal_body_go_to_point() const { - return action_case() == kBodyGoToPoint - ? *_impl_.action_.body_go_to_point_ - : reinterpret_cast<::protos::Body_GoToPoint&>(::protos::_Body_GoToPoint_default_instance_); +inline const ::protos::Body_Dribble& PlayerAction::_internal_body_dribble() const { + return action_case() == kBodyDribble + ? *_impl_.action_.body_dribble_ + : reinterpret_cast<::protos::Body_Dribble&>(::protos::_Body_Dribble_default_instance_); } -inline const ::protos::Body_GoToPoint& PlayerAction::body_go_to_point() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.body_go_to_point) - return _internal_body_go_to_point(); +inline const ::protos::Body_Dribble& PlayerAction::body_dribble() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.body_dribble) + return _internal_body_dribble(); } -inline ::protos::Body_GoToPoint* PlayerAction::unsafe_arena_release_body_go_to_point() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_go_to_point) - if (action_case() == kBodyGoToPoint) { +inline ::protos::Body_Dribble* PlayerAction::unsafe_arena_release_body_dribble() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_dribble) + if (action_case() == kBodyDribble) { clear_has_action(); - ::protos::Body_GoToPoint* temp = _impl_.action_.body_go_to_point_; - _impl_.action_.body_go_to_point_ = nullptr; + ::protos::Body_Dribble* temp = _impl_.action_.body_dribble_; + _impl_.action_.body_dribble_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_body_go_to_point(::protos::Body_GoToPoint* body_go_to_point) { +inline void PlayerAction::unsafe_arena_set_allocated_body_dribble(::protos::Body_Dribble* body_dribble) { clear_action(); - if (body_go_to_point) { - set_has_body_go_to_point(); - _impl_.action_.body_go_to_point_ = body_go_to_point; + if (body_dribble) { + set_has_body_dribble(); + _impl_.action_.body_dribble_ = body_dribble; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_go_to_point) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_dribble) } -inline ::protos::Body_GoToPoint* PlayerAction::_internal_mutable_body_go_to_point() { - if (action_case() != kBodyGoToPoint) { +inline ::protos::Body_Dribble* PlayerAction::_internal_mutable_body_dribble() { + if (action_case() != kBodyDribble) { clear_action(); - set_has_body_go_to_point(); - _impl_.action_.body_go_to_point_ = CreateMaybeMessage< ::protos::Body_GoToPoint >(GetArenaForAllocation()); + set_has_body_dribble(); + _impl_.action_.body_dribble_ = CreateMaybeMessage< ::protos::Body_Dribble >(GetArenaForAllocation()); } - return _impl_.action_.body_go_to_point_; + return _impl_.action_.body_dribble_; } -inline ::protos::Body_GoToPoint* PlayerAction::mutable_body_go_to_point() { - ::protos::Body_GoToPoint* _msg = _internal_mutable_body_go_to_point(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_go_to_point) +inline ::protos::Body_Dribble* PlayerAction::mutable_body_dribble() { + ::protos::Body_Dribble* _msg = _internal_mutable_body_dribble(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_dribble) return _msg; } -// .protos.Body_SmartKick body_smart_kick = 17; -inline bool PlayerAction::has_body_smart_kick() const { - return action_case() == kBodySmartKick; +// .protos.Body_GoToPointDodge body_go_to_point_dodge = 29; +inline bool PlayerAction::has_body_go_to_point_dodge() const { + return action_case() == kBodyGoToPointDodge; } -inline bool PlayerAction::_internal_has_body_smart_kick() const { - return action_case() == kBodySmartKick; +inline bool PlayerAction::_internal_has_body_go_to_point_dodge() const { + return action_case() == kBodyGoToPointDodge; } -inline void PlayerAction::set_has_body_smart_kick() { - _impl_._oneof_case_[0] = kBodySmartKick; +inline void PlayerAction::set_has_body_go_to_point_dodge() { + _impl_._oneof_case_[0] = kBodyGoToPointDodge; } -inline void PlayerAction::clear_body_smart_kick() { - if (action_case() == kBodySmartKick) { +inline void PlayerAction::clear_body_go_to_point_dodge() { + if (action_case() == kBodyGoToPointDodge) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.body_smart_kick_; + delete _impl_.action_.body_go_to_point_dodge_; } clear_has_action(); } } -inline ::protos::Body_SmartKick* PlayerAction::release_body_smart_kick() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.body_smart_kick) - if (action_case() == kBodySmartKick) { +inline ::protos::Body_GoToPointDodge* PlayerAction::release_body_go_to_point_dodge() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.body_go_to_point_dodge) + if (action_case() == kBodyGoToPointDodge) { clear_has_action(); - ::protos::Body_SmartKick* temp = _impl_.action_.body_smart_kick_; + ::protos::Body_GoToPointDodge* temp = _impl_.action_.body_go_to_point_dodge_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.body_smart_kick_ = nullptr; + _impl_.action_.body_go_to_point_dodge_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Body_SmartKick& PlayerAction::_internal_body_smart_kick() const { - return action_case() == kBodySmartKick - ? *_impl_.action_.body_smart_kick_ - : reinterpret_cast<::protos::Body_SmartKick&>(::protos::_Body_SmartKick_default_instance_); +inline const ::protos::Body_GoToPointDodge& PlayerAction::_internal_body_go_to_point_dodge() const { + return action_case() == kBodyGoToPointDodge + ? *_impl_.action_.body_go_to_point_dodge_ + : reinterpret_cast<::protos::Body_GoToPointDodge&>(::protos::_Body_GoToPointDodge_default_instance_); } -inline const ::protos::Body_SmartKick& PlayerAction::body_smart_kick() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.body_smart_kick) - return _internal_body_smart_kick(); +inline const ::protos::Body_GoToPointDodge& PlayerAction::body_go_to_point_dodge() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.body_go_to_point_dodge) + return _internal_body_go_to_point_dodge(); } -inline ::protos::Body_SmartKick* PlayerAction::unsafe_arena_release_body_smart_kick() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_smart_kick) - if (action_case() == kBodySmartKick) { +inline ::protos::Body_GoToPointDodge* PlayerAction::unsafe_arena_release_body_go_to_point_dodge() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_go_to_point_dodge) + if (action_case() == kBodyGoToPointDodge) { clear_has_action(); - ::protos::Body_SmartKick* temp = _impl_.action_.body_smart_kick_; - _impl_.action_.body_smart_kick_ = nullptr; + ::protos::Body_GoToPointDodge* temp = _impl_.action_.body_go_to_point_dodge_; + _impl_.action_.body_go_to_point_dodge_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_body_smart_kick(::protos::Body_SmartKick* body_smart_kick) { +inline void PlayerAction::unsafe_arena_set_allocated_body_go_to_point_dodge(::protos::Body_GoToPointDodge* body_go_to_point_dodge) { clear_action(); - if (body_smart_kick) { - set_has_body_smart_kick(); - _impl_.action_.body_smart_kick_ = body_smart_kick; + if (body_go_to_point_dodge) { + set_has_body_go_to_point_dodge(); + _impl_.action_.body_go_to_point_dodge_ = body_go_to_point_dodge; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_smart_kick) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_go_to_point_dodge) } -inline ::protos::Body_SmartKick* PlayerAction::_internal_mutable_body_smart_kick() { - if (action_case() != kBodySmartKick) { +inline ::protos::Body_GoToPointDodge* PlayerAction::_internal_mutable_body_go_to_point_dodge() { + if (action_case() != kBodyGoToPointDodge) { clear_action(); - set_has_body_smart_kick(); - _impl_.action_.body_smart_kick_ = CreateMaybeMessage< ::protos::Body_SmartKick >(GetArenaForAllocation()); + set_has_body_go_to_point_dodge(); + _impl_.action_.body_go_to_point_dodge_ = CreateMaybeMessage< ::protos::Body_GoToPointDodge >(GetArenaForAllocation()); } - return _impl_.action_.body_smart_kick_; + return _impl_.action_.body_go_to_point_dodge_; } -inline ::protos::Body_SmartKick* PlayerAction::mutable_body_smart_kick() { - ::protos::Body_SmartKick* _msg = _internal_mutable_body_smart_kick(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_smart_kick) +inline ::protos::Body_GoToPointDodge* PlayerAction::mutable_body_go_to_point_dodge() { + ::protos::Body_GoToPointDodge* _msg = _internal_mutable_body_go_to_point_dodge(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_go_to_point_dodge) return _msg; } -// .protos.Bhv_BeforeKickOff bhv_before_kick_off = 18; -inline bool PlayerAction::has_bhv_before_kick_off() const { - return action_case() == kBhvBeforeKickOff; +// .protos.Body_HoldBall body_hold_ball = 30; +inline bool PlayerAction::has_body_hold_ball() const { + return action_case() == kBodyHoldBall; } -inline bool PlayerAction::_internal_has_bhv_before_kick_off() const { - return action_case() == kBhvBeforeKickOff; +inline bool PlayerAction::_internal_has_body_hold_ball() const { + return action_case() == kBodyHoldBall; } -inline void PlayerAction::set_has_bhv_before_kick_off() { - _impl_._oneof_case_[0] = kBhvBeforeKickOff; +inline void PlayerAction::set_has_body_hold_ball() { + _impl_._oneof_case_[0] = kBodyHoldBall; } -inline void PlayerAction::clear_bhv_before_kick_off() { - if (action_case() == kBhvBeforeKickOff) { +inline void PlayerAction::clear_body_hold_ball() { + if (action_case() == kBodyHoldBall) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.bhv_before_kick_off_; + delete _impl_.action_.body_hold_ball_; } clear_has_action(); } } -inline ::protos::Bhv_BeforeKickOff* PlayerAction::release_bhv_before_kick_off() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.bhv_before_kick_off) - if (action_case() == kBhvBeforeKickOff) { +inline ::protos::Body_HoldBall* PlayerAction::release_body_hold_ball() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.body_hold_ball) + if (action_case() == kBodyHoldBall) { clear_has_action(); - ::protos::Bhv_BeforeKickOff* temp = _impl_.action_.bhv_before_kick_off_; + ::protos::Body_HoldBall* temp = _impl_.action_.body_hold_ball_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.bhv_before_kick_off_ = nullptr; + _impl_.action_.body_hold_ball_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Bhv_BeforeKickOff& PlayerAction::_internal_bhv_before_kick_off() const { - return action_case() == kBhvBeforeKickOff - ? *_impl_.action_.bhv_before_kick_off_ - : reinterpret_cast<::protos::Bhv_BeforeKickOff&>(::protos::_Bhv_BeforeKickOff_default_instance_); +inline const ::protos::Body_HoldBall& PlayerAction::_internal_body_hold_ball() const { + return action_case() == kBodyHoldBall + ? *_impl_.action_.body_hold_ball_ + : reinterpret_cast<::protos::Body_HoldBall&>(::protos::_Body_HoldBall_default_instance_); } -inline const ::protos::Bhv_BeforeKickOff& PlayerAction::bhv_before_kick_off() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.bhv_before_kick_off) - return _internal_bhv_before_kick_off(); +inline const ::protos::Body_HoldBall& PlayerAction::body_hold_ball() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.body_hold_ball) + return _internal_body_hold_ball(); } -inline ::protos::Bhv_BeforeKickOff* PlayerAction::unsafe_arena_release_bhv_before_kick_off() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.bhv_before_kick_off) - if (action_case() == kBhvBeforeKickOff) { +inline ::protos::Body_HoldBall* PlayerAction::unsafe_arena_release_body_hold_ball() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_hold_ball) + if (action_case() == kBodyHoldBall) { clear_has_action(); - ::protos::Bhv_BeforeKickOff* temp = _impl_.action_.bhv_before_kick_off_; - _impl_.action_.bhv_before_kick_off_ = nullptr; + ::protos::Body_HoldBall* temp = _impl_.action_.body_hold_ball_; + _impl_.action_.body_hold_ball_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_bhv_before_kick_off(::protos::Bhv_BeforeKickOff* bhv_before_kick_off) { +inline void PlayerAction::unsafe_arena_set_allocated_body_hold_ball(::protos::Body_HoldBall* body_hold_ball) { clear_action(); - if (bhv_before_kick_off) { - set_has_bhv_before_kick_off(); - _impl_.action_.bhv_before_kick_off_ = bhv_before_kick_off; + if (body_hold_ball) { + set_has_body_hold_ball(); + _impl_.action_.body_hold_ball_ = body_hold_ball; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.bhv_before_kick_off) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_hold_ball) } -inline ::protos::Bhv_BeforeKickOff* PlayerAction::_internal_mutable_bhv_before_kick_off() { - if (action_case() != kBhvBeforeKickOff) { +inline ::protos::Body_HoldBall* PlayerAction::_internal_mutable_body_hold_ball() { + if (action_case() != kBodyHoldBall) { clear_action(); - set_has_bhv_before_kick_off(); - _impl_.action_.bhv_before_kick_off_ = CreateMaybeMessage< ::protos::Bhv_BeforeKickOff >(GetArenaForAllocation()); + set_has_body_hold_ball(); + _impl_.action_.body_hold_ball_ = CreateMaybeMessage< ::protos::Body_HoldBall >(GetArenaForAllocation()); } - return _impl_.action_.bhv_before_kick_off_; + return _impl_.action_.body_hold_ball_; } -inline ::protos::Bhv_BeforeKickOff* PlayerAction::mutable_bhv_before_kick_off() { - ::protos::Bhv_BeforeKickOff* _msg = _internal_mutable_bhv_before_kick_off(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.bhv_before_kick_off) +inline ::protos::Body_HoldBall* PlayerAction::mutable_body_hold_ball() { + ::protos::Body_HoldBall* _msg = _internal_mutable_body_hold_ball(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_hold_ball) return _msg; } -// .protos.Bhv_BodyNeckToBall bhv_body_neck_to_ball = 19; -inline bool PlayerAction::has_bhv_body_neck_to_ball() const { - return action_case() == kBhvBodyNeckToBall; +// .protos.Body_Intercept body_intercept = 31; +inline bool PlayerAction::has_body_intercept() const { + return action_case() == kBodyIntercept; } -inline bool PlayerAction::_internal_has_bhv_body_neck_to_ball() const { - return action_case() == kBhvBodyNeckToBall; +inline bool PlayerAction::_internal_has_body_intercept() const { + return action_case() == kBodyIntercept; } -inline void PlayerAction::set_has_bhv_body_neck_to_ball() { - _impl_._oneof_case_[0] = kBhvBodyNeckToBall; +inline void PlayerAction::set_has_body_intercept() { + _impl_._oneof_case_[0] = kBodyIntercept; } -inline void PlayerAction::clear_bhv_body_neck_to_ball() { - if (action_case() == kBhvBodyNeckToBall) { +inline void PlayerAction::clear_body_intercept() { + if (action_case() == kBodyIntercept) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.bhv_body_neck_to_ball_; + delete _impl_.action_.body_intercept_; } clear_has_action(); } } -inline ::protos::Bhv_BodyNeckToBall* PlayerAction::release_bhv_body_neck_to_ball() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.bhv_body_neck_to_ball) - if (action_case() == kBhvBodyNeckToBall) { +inline ::protos::Body_Intercept* PlayerAction::release_body_intercept() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.body_intercept) + if (action_case() == kBodyIntercept) { clear_has_action(); - ::protos::Bhv_BodyNeckToBall* temp = _impl_.action_.bhv_body_neck_to_ball_; + ::protos::Body_Intercept* temp = _impl_.action_.body_intercept_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.bhv_body_neck_to_ball_ = nullptr; + _impl_.action_.body_intercept_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Bhv_BodyNeckToBall& PlayerAction::_internal_bhv_body_neck_to_ball() const { - return action_case() == kBhvBodyNeckToBall - ? *_impl_.action_.bhv_body_neck_to_ball_ - : reinterpret_cast<::protos::Bhv_BodyNeckToBall&>(::protos::_Bhv_BodyNeckToBall_default_instance_); +inline const ::protos::Body_Intercept& PlayerAction::_internal_body_intercept() const { + return action_case() == kBodyIntercept + ? *_impl_.action_.body_intercept_ + : reinterpret_cast<::protos::Body_Intercept&>(::protos::_Body_Intercept_default_instance_); } -inline const ::protos::Bhv_BodyNeckToBall& PlayerAction::bhv_body_neck_to_ball() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.bhv_body_neck_to_ball) - return _internal_bhv_body_neck_to_ball(); +inline const ::protos::Body_Intercept& PlayerAction::body_intercept() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.body_intercept) + return _internal_body_intercept(); } -inline ::protos::Bhv_BodyNeckToBall* PlayerAction::unsafe_arena_release_bhv_body_neck_to_ball() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.bhv_body_neck_to_ball) - if (action_case() == kBhvBodyNeckToBall) { +inline ::protos::Body_Intercept* PlayerAction::unsafe_arena_release_body_intercept() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_intercept) + if (action_case() == kBodyIntercept) { clear_has_action(); - ::protos::Bhv_BodyNeckToBall* temp = _impl_.action_.bhv_body_neck_to_ball_; - _impl_.action_.bhv_body_neck_to_ball_ = nullptr; + ::protos::Body_Intercept* temp = _impl_.action_.body_intercept_; + _impl_.action_.body_intercept_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_bhv_body_neck_to_ball(::protos::Bhv_BodyNeckToBall* bhv_body_neck_to_ball) { +inline void PlayerAction::unsafe_arena_set_allocated_body_intercept(::protos::Body_Intercept* body_intercept) { clear_action(); - if (bhv_body_neck_to_ball) { - set_has_bhv_body_neck_to_ball(); - _impl_.action_.bhv_body_neck_to_ball_ = bhv_body_neck_to_ball; + if (body_intercept) { + set_has_body_intercept(); + _impl_.action_.body_intercept_ = body_intercept; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.bhv_body_neck_to_ball) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_intercept) } -inline ::protos::Bhv_BodyNeckToBall* PlayerAction::_internal_mutable_bhv_body_neck_to_ball() { - if (action_case() != kBhvBodyNeckToBall) { +inline ::protos::Body_Intercept* PlayerAction::_internal_mutable_body_intercept() { + if (action_case() != kBodyIntercept) { clear_action(); - set_has_bhv_body_neck_to_ball(); - _impl_.action_.bhv_body_neck_to_ball_ = CreateMaybeMessage< ::protos::Bhv_BodyNeckToBall >(GetArenaForAllocation()); + set_has_body_intercept(); + _impl_.action_.body_intercept_ = CreateMaybeMessage< ::protos::Body_Intercept >(GetArenaForAllocation()); } - return _impl_.action_.bhv_body_neck_to_ball_; + return _impl_.action_.body_intercept_; } -inline ::protos::Bhv_BodyNeckToBall* PlayerAction::mutable_bhv_body_neck_to_ball() { - ::protos::Bhv_BodyNeckToBall* _msg = _internal_mutable_bhv_body_neck_to_ball(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.bhv_body_neck_to_ball) +inline ::protos::Body_Intercept* PlayerAction::mutable_body_intercept() { + ::protos::Body_Intercept* _msg = _internal_mutable_body_intercept(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_intercept) return _msg; } -// .protos.Bhv_BodyNeckToPoint bhv_body_neck_to_point = 20; -inline bool PlayerAction::has_bhv_body_neck_to_point() const { - return action_case() == kBhvBodyNeckToPoint; +// .protos.Body_KickOneStep body_kick_one_step = 32; +inline bool PlayerAction::has_body_kick_one_step() const { + return action_case() == kBodyKickOneStep; } -inline bool PlayerAction::_internal_has_bhv_body_neck_to_point() const { - return action_case() == kBhvBodyNeckToPoint; +inline bool PlayerAction::_internal_has_body_kick_one_step() const { + return action_case() == kBodyKickOneStep; } -inline void PlayerAction::set_has_bhv_body_neck_to_point() { - _impl_._oneof_case_[0] = kBhvBodyNeckToPoint; +inline void PlayerAction::set_has_body_kick_one_step() { + _impl_._oneof_case_[0] = kBodyKickOneStep; } -inline void PlayerAction::clear_bhv_body_neck_to_point() { - if (action_case() == kBhvBodyNeckToPoint) { +inline void PlayerAction::clear_body_kick_one_step() { + if (action_case() == kBodyKickOneStep) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.bhv_body_neck_to_point_; + delete _impl_.action_.body_kick_one_step_; } clear_has_action(); } } -inline ::protos::Bhv_BodyNeckToPoint* PlayerAction::release_bhv_body_neck_to_point() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.bhv_body_neck_to_point) - if (action_case() == kBhvBodyNeckToPoint) { +inline ::protos::Body_KickOneStep* PlayerAction::release_body_kick_one_step() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.body_kick_one_step) + if (action_case() == kBodyKickOneStep) { clear_has_action(); - ::protos::Bhv_BodyNeckToPoint* temp = _impl_.action_.bhv_body_neck_to_point_; + ::protos::Body_KickOneStep* temp = _impl_.action_.body_kick_one_step_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.bhv_body_neck_to_point_ = nullptr; + _impl_.action_.body_kick_one_step_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Bhv_BodyNeckToPoint& PlayerAction::_internal_bhv_body_neck_to_point() const { - return action_case() == kBhvBodyNeckToPoint - ? *_impl_.action_.bhv_body_neck_to_point_ - : reinterpret_cast<::protos::Bhv_BodyNeckToPoint&>(::protos::_Bhv_BodyNeckToPoint_default_instance_); +inline const ::protos::Body_KickOneStep& PlayerAction::_internal_body_kick_one_step() const { + return action_case() == kBodyKickOneStep + ? *_impl_.action_.body_kick_one_step_ + : reinterpret_cast<::protos::Body_KickOneStep&>(::protos::_Body_KickOneStep_default_instance_); } -inline const ::protos::Bhv_BodyNeckToPoint& PlayerAction::bhv_body_neck_to_point() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.bhv_body_neck_to_point) - return _internal_bhv_body_neck_to_point(); +inline const ::protos::Body_KickOneStep& PlayerAction::body_kick_one_step() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.body_kick_one_step) + return _internal_body_kick_one_step(); } -inline ::protos::Bhv_BodyNeckToPoint* PlayerAction::unsafe_arena_release_bhv_body_neck_to_point() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.bhv_body_neck_to_point) - if (action_case() == kBhvBodyNeckToPoint) { +inline ::protos::Body_KickOneStep* PlayerAction::unsafe_arena_release_body_kick_one_step() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_kick_one_step) + if (action_case() == kBodyKickOneStep) { clear_has_action(); - ::protos::Bhv_BodyNeckToPoint* temp = _impl_.action_.bhv_body_neck_to_point_; - _impl_.action_.bhv_body_neck_to_point_ = nullptr; + ::protos::Body_KickOneStep* temp = _impl_.action_.body_kick_one_step_; + _impl_.action_.body_kick_one_step_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_bhv_body_neck_to_point(::protos::Bhv_BodyNeckToPoint* bhv_body_neck_to_point) { +inline void PlayerAction::unsafe_arena_set_allocated_body_kick_one_step(::protos::Body_KickOneStep* body_kick_one_step) { clear_action(); - if (bhv_body_neck_to_point) { - set_has_bhv_body_neck_to_point(); - _impl_.action_.bhv_body_neck_to_point_ = bhv_body_neck_to_point; + if (body_kick_one_step) { + set_has_body_kick_one_step(); + _impl_.action_.body_kick_one_step_ = body_kick_one_step; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.bhv_body_neck_to_point) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_kick_one_step) } -inline ::protos::Bhv_BodyNeckToPoint* PlayerAction::_internal_mutable_bhv_body_neck_to_point() { - if (action_case() != kBhvBodyNeckToPoint) { +inline ::protos::Body_KickOneStep* PlayerAction::_internal_mutable_body_kick_one_step() { + if (action_case() != kBodyKickOneStep) { clear_action(); - set_has_bhv_body_neck_to_point(); - _impl_.action_.bhv_body_neck_to_point_ = CreateMaybeMessage< ::protos::Bhv_BodyNeckToPoint >(GetArenaForAllocation()); + set_has_body_kick_one_step(); + _impl_.action_.body_kick_one_step_ = CreateMaybeMessage< ::protos::Body_KickOneStep >(GetArenaForAllocation()); } - return _impl_.action_.bhv_body_neck_to_point_; + return _impl_.action_.body_kick_one_step_; } -inline ::protos::Bhv_BodyNeckToPoint* PlayerAction::mutable_bhv_body_neck_to_point() { - ::protos::Bhv_BodyNeckToPoint* _msg = _internal_mutable_bhv_body_neck_to_point(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.bhv_body_neck_to_point) +inline ::protos::Body_KickOneStep* PlayerAction::mutable_body_kick_one_step() { + ::protos::Body_KickOneStep* _msg = _internal_mutable_body_kick_one_step(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_kick_one_step) return _msg; } -// .protos.Bhv_Emergency bhv_emergency = 21; -inline bool PlayerAction::has_bhv_emergency() const { - return action_case() == kBhvEmergency; +// .protos.Body_StopBall body_stop_ball = 33; +inline bool PlayerAction::has_body_stop_ball() const { + return action_case() == kBodyStopBall; } -inline bool PlayerAction::_internal_has_bhv_emergency() const { - return action_case() == kBhvEmergency; +inline bool PlayerAction::_internal_has_body_stop_ball() const { + return action_case() == kBodyStopBall; } -inline void PlayerAction::set_has_bhv_emergency() { - _impl_._oneof_case_[0] = kBhvEmergency; +inline void PlayerAction::set_has_body_stop_ball() { + _impl_._oneof_case_[0] = kBodyStopBall; } -inline void PlayerAction::clear_bhv_emergency() { - if (action_case() == kBhvEmergency) { +inline void PlayerAction::clear_body_stop_ball() { + if (action_case() == kBodyStopBall) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.bhv_emergency_; + delete _impl_.action_.body_stop_ball_; } clear_has_action(); } } -inline ::protos::Bhv_Emergency* PlayerAction::release_bhv_emergency() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.bhv_emergency) - if (action_case() == kBhvEmergency) { +inline ::protos::Body_StopBall* PlayerAction::release_body_stop_ball() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.body_stop_ball) + if (action_case() == kBodyStopBall) { clear_has_action(); - ::protos::Bhv_Emergency* temp = _impl_.action_.bhv_emergency_; + ::protos::Body_StopBall* temp = _impl_.action_.body_stop_ball_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.bhv_emergency_ = nullptr; + _impl_.action_.body_stop_ball_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Bhv_Emergency& PlayerAction::_internal_bhv_emergency() const { - return action_case() == kBhvEmergency - ? *_impl_.action_.bhv_emergency_ - : reinterpret_cast<::protos::Bhv_Emergency&>(::protos::_Bhv_Emergency_default_instance_); +inline const ::protos::Body_StopBall& PlayerAction::_internal_body_stop_ball() const { + return action_case() == kBodyStopBall + ? *_impl_.action_.body_stop_ball_ + : reinterpret_cast<::protos::Body_StopBall&>(::protos::_Body_StopBall_default_instance_); } -inline const ::protos::Bhv_Emergency& PlayerAction::bhv_emergency() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.bhv_emergency) - return _internal_bhv_emergency(); +inline const ::protos::Body_StopBall& PlayerAction::body_stop_ball() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.body_stop_ball) + return _internal_body_stop_ball(); } -inline ::protos::Bhv_Emergency* PlayerAction::unsafe_arena_release_bhv_emergency() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.bhv_emergency) - if (action_case() == kBhvEmergency) { +inline ::protos::Body_StopBall* PlayerAction::unsafe_arena_release_body_stop_ball() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_stop_ball) + if (action_case() == kBodyStopBall) { clear_has_action(); - ::protos::Bhv_Emergency* temp = _impl_.action_.bhv_emergency_; - _impl_.action_.bhv_emergency_ = nullptr; + ::protos::Body_StopBall* temp = _impl_.action_.body_stop_ball_; + _impl_.action_.body_stop_ball_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_bhv_emergency(::protos::Bhv_Emergency* bhv_emergency) { +inline void PlayerAction::unsafe_arena_set_allocated_body_stop_ball(::protos::Body_StopBall* body_stop_ball) { clear_action(); - if (bhv_emergency) { - set_has_bhv_emergency(); - _impl_.action_.bhv_emergency_ = bhv_emergency; + if (body_stop_ball) { + set_has_body_stop_ball(); + _impl_.action_.body_stop_ball_ = body_stop_ball; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.bhv_emergency) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_stop_ball) } -inline ::protos::Bhv_Emergency* PlayerAction::_internal_mutable_bhv_emergency() { - if (action_case() != kBhvEmergency) { +inline ::protos::Body_StopBall* PlayerAction::_internal_mutable_body_stop_ball() { + if (action_case() != kBodyStopBall) { clear_action(); - set_has_bhv_emergency(); - _impl_.action_.bhv_emergency_ = CreateMaybeMessage< ::protos::Bhv_Emergency >(GetArenaForAllocation()); + set_has_body_stop_ball(); + _impl_.action_.body_stop_ball_ = CreateMaybeMessage< ::protos::Body_StopBall >(GetArenaForAllocation()); } - return _impl_.action_.bhv_emergency_; + return _impl_.action_.body_stop_ball_; } -inline ::protos::Bhv_Emergency* PlayerAction::mutable_bhv_emergency() { - ::protos::Bhv_Emergency* _msg = _internal_mutable_bhv_emergency(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.bhv_emergency) +inline ::protos::Body_StopBall* PlayerAction::mutable_body_stop_ball() { + ::protos::Body_StopBall* _msg = _internal_mutable_body_stop_ball(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_stop_ball) return _msg; } -// .protos.Bhv_GoToPointLookBall bhv_go_to_point_look_ball = 22; -inline bool PlayerAction::has_bhv_go_to_point_look_ball() const { - return action_case() == kBhvGoToPointLookBall; +// .protos.Body_StopDash body_stop_dash = 34; +inline bool PlayerAction::has_body_stop_dash() const { + return action_case() == kBodyStopDash; } -inline bool PlayerAction::_internal_has_bhv_go_to_point_look_ball() const { - return action_case() == kBhvGoToPointLookBall; +inline bool PlayerAction::_internal_has_body_stop_dash() const { + return action_case() == kBodyStopDash; } -inline void PlayerAction::set_has_bhv_go_to_point_look_ball() { - _impl_._oneof_case_[0] = kBhvGoToPointLookBall; +inline void PlayerAction::set_has_body_stop_dash() { + _impl_._oneof_case_[0] = kBodyStopDash; } -inline void PlayerAction::clear_bhv_go_to_point_look_ball() { - if (action_case() == kBhvGoToPointLookBall) { +inline void PlayerAction::clear_body_stop_dash() { + if (action_case() == kBodyStopDash) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.bhv_go_to_point_look_ball_; + delete _impl_.action_.body_stop_dash_; } clear_has_action(); } } -inline ::protos::Bhv_GoToPointLookBall* PlayerAction::release_bhv_go_to_point_look_ball() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.bhv_go_to_point_look_ball) - if (action_case() == kBhvGoToPointLookBall) { +inline ::protos::Body_StopDash* PlayerAction::release_body_stop_dash() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.body_stop_dash) + if (action_case() == kBodyStopDash) { clear_has_action(); - ::protos::Bhv_GoToPointLookBall* temp = _impl_.action_.bhv_go_to_point_look_ball_; + ::protos::Body_StopDash* temp = _impl_.action_.body_stop_dash_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.bhv_go_to_point_look_ball_ = nullptr; + _impl_.action_.body_stop_dash_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Bhv_GoToPointLookBall& PlayerAction::_internal_bhv_go_to_point_look_ball() const { - return action_case() == kBhvGoToPointLookBall - ? *_impl_.action_.bhv_go_to_point_look_ball_ - : reinterpret_cast<::protos::Bhv_GoToPointLookBall&>(::protos::_Bhv_GoToPointLookBall_default_instance_); +inline const ::protos::Body_StopDash& PlayerAction::_internal_body_stop_dash() const { + return action_case() == kBodyStopDash + ? *_impl_.action_.body_stop_dash_ + : reinterpret_cast<::protos::Body_StopDash&>(::protos::_Body_StopDash_default_instance_); } -inline const ::protos::Bhv_GoToPointLookBall& PlayerAction::bhv_go_to_point_look_ball() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.bhv_go_to_point_look_ball) - return _internal_bhv_go_to_point_look_ball(); +inline const ::protos::Body_StopDash& PlayerAction::body_stop_dash() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.body_stop_dash) + return _internal_body_stop_dash(); } -inline ::protos::Bhv_GoToPointLookBall* PlayerAction::unsafe_arena_release_bhv_go_to_point_look_ball() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.bhv_go_to_point_look_ball) - if (action_case() == kBhvGoToPointLookBall) { +inline ::protos::Body_StopDash* PlayerAction::unsafe_arena_release_body_stop_dash() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_stop_dash) + if (action_case() == kBodyStopDash) { clear_has_action(); - ::protos::Bhv_GoToPointLookBall* temp = _impl_.action_.bhv_go_to_point_look_ball_; - _impl_.action_.bhv_go_to_point_look_ball_ = nullptr; + ::protos::Body_StopDash* temp = _impl_.action_.body_stop_dash_; + _impl_.action_.body_stop_dash_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_bhv_go_to_point_look_ball(::protos::Bhv_GoToPointLookBall* bhv_go_to_point_look_ball) { +inline void PlayerAction::unsafe_arena_set_allocated_body_stop_dash(::protos::Body_StopDash* body_stop_dash) { clear_action(); - if (bhv_go_to_point_look_ball) { - set_has_bhv_go_to_point_look_ball(); - _impl_.action_.bhv_go_to_point_look_ball_ = bhv_go_to_point_look_ball; + if (body_stop_dash) { + set_has_body_stop_dash(); + _impl_.action_.body_stop_dash_ = body_stop_dash; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.bhv_go_to_point_look_ball) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_stop_dash) } -inline ::protos::Bhv_GoToPointLookBall* PlayerAction::_internal_mutable_bhv_go_to_point_look_ball() { - if (action_case() != kBhvGoToPointLookBall) { +inline ::protos::Body_StopDash* PlayerAction::_internal_mutable_body_stop_dash() { + if (action_case() != kBodyStopDash) { clear_action(); - set_has_bhv_go_to_point_look_ball(); - _impl_.action_.bhv_go_to_point_look_ball_ = CreateMaybeMessage< ::protos::Bhv_GoToPointLookBall >(GetArenaForAllocation()); + set_has_body_stop_dash(); + _impl_.action_.body_stop_dash_ = CreateMaybeMessage< ::protos::Body_StopDash >(GetArenaForAllocation()); } - return _impl_.action_.bhv_go_to_point_look_ball_; + return _impl_.action_.body_stop_dash_; } -inline ::protos::Bhv_GoToPointLookBall* PlayerAction::mutable_bhv_go_to_point_look_ball() { - ::protos::Bhv_GoToPointLookBall* _msg = _internal_mutable_bhv_go_to_point_look_ball(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.bhv_go_to_point_look_ball) +inline ::protos::Body_StopDash* PlayerAction::mutable_body_stop_dash() { + ::protos::Body_StopDash* _msg = _internal_mutable_body_stop_dash(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_stop_dash) return _msg; } -// .protos.Bhv_NeckBodyToBall bhv_neck_body_to_ball = 23; -inline bool PlayerAction::has_bhv_neck_body_to_ball() const { - return action_case() == kBhvNeckBodyToBall; +// .protos.Body_TackleToPoint body_tackle_to_point = 35; +inline bool PlayerAction::has_body_tackle_to_point() const { + return action_case() == kBodyTackleToPoint; } -inline bool PlayerAction::_internal_has_bhv_neck_body_to_ball() const { - return action_case() == kBhvNeckBodyToBall; +inline bool PlayerAction::_internal_has_body_tackle_to_point() const { + return action_case() == kBodyTackleToPoint; } -inline void PlayerAction::set_has_bhv_neck_body_to_ball() { - _impl_._oneof_case_[0] = kBhvNeckBodyToBall; +inline void PlayerAction::set_has_body_tackle_to_point() { + _impl_._oneof_case_[0] = kBodyTackleToPoint; } -inline void PlayerAction::clear_bhv_neck_body_to_ball() { - if (action_case() == kBhvNeckBodyToBall) { +inline void PlayerAction::clear_body_tackle_to_point() { + if (action_case() == kBodyTackleToPoint) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.bhv_neck_body_to_ball_; + delete _impl_.action_.body_tackle_to_point_; } clear_has_action(); } } -inline ::protos::Bhv_NeckBodyToBall* PlayerAction::release_bhv_neck_body_to_ball() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.bhv_neck_body_to_ball) - if (action_case() == kBhvNeckBodyToBall) { +inline ::protos::Body_TackleToPoint* PlayerAction::release_body_tackle_to_point() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.body_tackle_to_point) + if (action_case() == kBodyTackleToPoint) { clear_has_action(); - ::protos::Bhv_NeckBodyToBall* temp = _impl_.action_.bhv_neck_body_to_ball_; + ::protos::Body_TackleToPoint* temp = _impl_.action_.body_tackle_to_point_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.bhv_neck_body_to_ball_ = nullptr; + _impl_.action_.body_tackle_to_point_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Bhv_NeckBodyToBall& PlayerAction::_internal_bhv_neck_body_to_ball() const { - return action_case() == kBhvNeckBodyToBall - ? *_impl_.action_.bhv_neck_body_to_ball_ - : reinterpret_cast<::protos::Bhv_NeckBodyToBall&>(::protos::_Bhv_NeckBodyToBall_default_instance_); +inline const ::protos::Body_TackleToPoint& PlayerAction::_internal_body_tackle_to_point() const { + return action_case() == kBodyTackleToPoint + ? *_impl_.action_.body_tackle_to_point_ + : reinterpret_cast<::protos::Body_TackleToPoint&>(::protos::_Body_TackleToPoint_default_instance_); } -inline const ::protos::Bhv_NeckBodyToBall& PlayerAction::bhv_neck_body_to_ball() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.bhv_neck_body_to_ball) - return _internal_bhv_neck_body_to_ball(); +inline const ::protos::Body_TackleToPoint& PlayerAction::body_tackle_to_point() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.body_tackle_to_point) + return _internal_body_tackle_to_point(); } -inline ::protos::Bhv_NeckBodyToBall* PlayerAction::unsafe_arena_release_bhv_neck_body_to_ball() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.bhv_neck_body_to_ball) - if (action_case() == kBhvNeckBodyToBall) { +inline ::protos::Body_TackleToPoint* PlayerAction::unsafe_arena_release_body_tackle_to_point() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_tackle_to_point) + if (action_case() == kBodyTackleToPoint) { clear_has_action(); - ::protos::Bhv_NeckBodyToBall* temp = _impl_.action_.bhv_neck_body_to_ball_; - _impl_.action_.bhv_neck_body_to_ball_ = nullptr; + ::protos::Body_TackleToPoint* temp = _impl_.action_.body_tackle_to_point_; + _impl_.action_.body_tackle_to_point_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_bhv_neck_body_to_ball(::protos::Bhv_NeckBodyToBall* bhv_neck_body_to_ball) { +inline void PlayerAction::unsafe_arena_set_allocated_body_tackle_to_point(::protos::Body_TackleToPoint* body_tackle_to_point) { clear_action(); - if (bhv_neck_body_to_ball) { - set_has_bhv_neck_body_to_ball(); - _impl_.action_.bhv_neck_body_to_ball_ = bhv_neck_body_to_ball; + if (body_tackle_to_point) { + set_has_body_tackle_to_point(); + _impl_.action_.body_tackle_to_point_ = body_tackle_to_point; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.bhv_neck_body_to_ball) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_tackle_to_point) } -inline ::protos::Bhv_NeckBodyToBall* PlayerAction::_internal_mutable_bhv_neck_body_to_ball() { - if (action_case() != kBhvNeckBodyToBall) { +inline ::protos::Body_TackleToPoint* PlayerAction::_internal_mutable_body_tackle_to_point() { + if (action_case() != kBodyTackleToPoint) { clear_action(); - set_has_bhv_neck_body_to_ball(); - _impl_.action_.bhv_neck_body_to_ball_ = CreateMaybeMessage< ::protos::Bhv_NeckBodyToBall >(GetArenaForAllocation()); + set_has_body_tackle_to_point(); + _impl_.action_.body_tackle_to_point_ = CreateMaybeMessage< ::protos::Body_TackleToPoint >(GetArenaForAllocation()); } - return _impl_.action_.bhv_neck_body_to_ball_; + return _impl_.action_.body_tackle_to_point_; } -inline ::protos::Bhv_NeckBodyToBall* PlayerAction::mutable_bhv_neck_body_to_ball() { - ::protos::Bhv_NeckBodyToBall* _msg = _internal_mutable_bhv_neck_body_to_ball(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.bhv_neck_body_to_ball) +inline ::protos::Body_TackleToPoint* PlayerAction::mutable_body_tackle_to_point() { + ::protos::Body_TackleToPoint* _msg = _internal_mutable_body_tackle_to_point(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_tackle_to_point) return _msg; } -// .protos.Bhv_NeckBodyToPoint bhv_neck_body_to_point = 24; -inline bool PlayerAction::has_bhv_neck_body_to_point() const { - return action_case() == kBhvNeckBodyToPoint; +// .protos.Body_TurnToAngle body_turn_to_angle = 36; +inline bool PlayerAction::has_body_turn_to_angle() const { + return action_case() == kBodyTurnToAngle; } -inline bool PlayerAction::_internal_has_bhv_neck_body_to_point() const { - return action_case() == kBhvNeckBodyToPoint; +inline bool PlayerAction::_internal_has_body_turn_to_angle() const { + return action_case() == kBodyTurnToAngle; } -inline void PlayerAction::set_has_bhv_neck_body_to_point() { - _impl_._oneof_case_[0] = kBhvNeckBodyToPoint; +inline void PlayerAction::set_has_body_turn_to_angle() { + _impl_._oneof_case_[0] = kBodyTurnToAngle; } -inline void PlayerAction::clear_bhv_neck_body_to_point() { - if (action_case() == kBhvNeckBodyToPoint) { +inline void PlayerAction::clear_body_turn_to_angle() { + if (action_case() == kBodyTurnToAngle) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.bhv_neck_body_to_point_; + delete _impl_.action_.body_turn_to_angle_; } clear_has_action(); } } -inline ::protos::Bhv_NeckBodyToPoint* PlayerAction::release_bhv_neck_body_to_point() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.bhv_neck_body_to_point) - if (action_case() == kBhvNeckBodyToPoint) { +inline ::protos::Body_TurnToAngle* PlayerAction::release_body_turn_to_angle() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.body_turn_to_angle) + if (action_case() == kBodyTurnToAngle) { clear_has_action(); - ::protos::Bhv_NeckBodyToPoint* temp = _impl_.action_.bhv_neck_body_to_point_; + ::protos::Body_TurnToAngle* temp = _impl_.action_.body_turn_to_angle_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.bhv_neck_body_to_point_ = nullptr; + _impl_.action_.body_turn_to_angle_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Bhv_NeckBodyToPoint& PlayerAction::_internal_bhv_neck_body_to_point() const { - return action_case() == kBhvNeckBodyToPoint - ? *_impl_.action_.bhv_neck_body_to_point_ - : reinterpret_cast<::protos::Bhv_NeckBodyToPoint&>(::protos::_Bhv_NeckBodyToPoint_default_instance_); +inline const ::protos::Body_TurnToAngle& PlayerAction::_internal_body_turn_to_angle() const { + return action_case() == kBodyTurnToAngle + ? *_impl_.action_.body_turn_to_angle_ + : reinterpret_cast<::protos::Body_TurnToAngle&>(::protos::_Body_TurnToAngle_default_instance_); } -inline const ::protos::Bhv_NeckBodyToPoint& PlayerAction::bhv_neck_body_to_point() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.bhv_neck_body_to_point) - return _internal_bhv_neck_body_to_point(); +inline const ::protos::Body_TurnToAngle& PlayerAction::body_turn_to_angle() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.body_turn_to_angle) + return _internal_body_turn_to_angle(); } -inline ::protos::Bhv_NeckBodyToPoint* PlayerAction::unsafe_arena_release_bhv_neck_body_to_point() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.bhv_neck_body_to_point) - if (action_case() == kBhvNeckBodyToPoint) { +inline ::protos::Body_TurnToAngle* PlayerAction::unsafe_arena_release_body_turn_to_angle() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_turn_to_angle) + if (action_case() == kBodyTurnToAngle) { clear_has_action(); - ::protos::Bhv_NeckBodyToPoint* temp = _impl_.action_.bhv_neck_body_to_point_; - _impl_.action_.bhv_neck_body_to_point_ = nullptr; + ::protos::Body_TurnToAngle* temp = _impl_.action_.body_turn_to_angle_; + _impl_.action_.body_turn_to_angle_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_bhv_neck_body_to_point(::protos::Bhv_NeckBodyToPoint* bhv_neck_body_to_point) { +inline void PlayerAction::unsafe_arena_set_allocated_body_turn_to_angle(::protos::Body_TurnToAngle* body_turn_to_angle) { clear_action(); - if (bhv_neck_body_to_point) { - set_has_bhv_neck_body_to_point(); - _impl_.action_.bhv_neck_body_to_point_ = bhv_neck_body_to_point; + if (body_turn_to_angle) { + set_has_body_turn_to_angle(); + _impl_.action_.body_turn_to_angle_ = body_turn_to_angle; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.bhv_neck_body_to_point) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_turn_to_angle) } -inline ::protos::Bhv_NeckBodyToPoint* PlayerAction::_internal_mutable_bhv_neck_body_to_point() { - if (action_case() != kBhvNeckBodyToPoint) { +inline ::protos::Body_TurnToAngle* PlayerAction::_internal_mutable_body_turn_to_angle() { + if (action_case() != kBodyTurnToAngle) { clear_action(); - set_has_bhv_neck_body_to_point(); - _impl_.action_.bhv_neck_body_to_point_ = CreateMaybeMessage< ::protos::Bhv_NeckBodyToPoint >(GetArenaForAllocation()); + set_has_body_turn_to_angle(); + _impl_.action_.body_turn_to_angle_ = CreateMaybeMessage< ::protos::Body_TurnToAngle >(GetArenaForAllocation()); } - return _impl_.action_.bhv_neck_body_to_point_; + return _impl_.action_.body_turn_to_angle_; } -inline ::protos::Bhv_NeckBodyToPoint* PlayerAction::mutable_bhv_neck_body_to_point() { - ::protos::Bhv_NeckBodyToPoint* _msg = _internal_mutable_bhv_neck_body_to_point(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.bhv_neck_body_to_point) +inline ::protos::Body_TurnToAngle* PlayerAction::mutable_body_turn_to_angle() { + ::protos::Body_TurnToAngle* _msg = _internal_mutable_body_turn_to_angle(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_turn_to_angle) return _msg; } -// .protos.Bhv_ScanField bhv_scan_field = 25; -inline bool PlayerAction::has_bhv_scan_field() const { - return action_case() == kBhvScanField; +// .protos.Body_TurnToBall body_turn_to_ball = 37; +inline bool PlayerAction::has_body_turn_to_ball() const { + return action_case() == kBodyTurnToBall; } -inline bool PlayerAction::_internal_has_bhv_scan_field() const { - return action_case() == kBhvScanField; +inline bool PlayerAction::_internal_has_body_turn_to_ball() const { + return action_case() == kBodyTurnToBall; } -inline void PlayerAction::set_has_bhv_scan_field() { - _impl_._oneof_case_[0] = kBhvScanField; +inline void PlayerAction::set_has_body_turn_to_ball() { + _impl_._oneof_case_[0] = kBodyTurnToBall; } -inline void PlayerAction::clear_bhv_scan_field() { - if (action_case() == kBhvScanField) { +inline void PlayerAction::clear_body_turn_to_ball() { + if (action_case() == kBodyTurnToBall) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.bhv_scan_field_; + delete _impl_.action_.body_turn_to_ball_; } clear_has_action(); } } -inline ::protos::Bhv_ScanField* PlayerAction::release_bhv_scan_field() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.bhv_scan_field) - if (action_case() == kBhvScanField) { +inline ::protos::Body_TurnToBall* PlayerAction::release_body_turn_to_ball() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.body_turn_to_ball) + if (action_case() == kBodyTurnToBall) { clear_has_action(); - ::protos::Bhv_ScanField* temp = _impl_.action_.bhv_scan_field_; + ::protos::Body_TurnToBall* temp = _impl_.action_.body_turn_to_ball_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.bhv_scan_field_ = nullptr; + _impl_.action_.body_turn_to_ball_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Bhv_ScanField& PlayerAction::_internal_bhv_scan_field() const { - return action_case() == kBhvScanField - ? *_impl_.action_.bhv_scan_field_ - : reinterpret_cast<::protos::Bhv_ScanField&>(::protos::_Bhv_ScanField_default_instance_); +inline const ::protos::Body_TurnToBall& PlayerAction::_internal_body_turn_to_ball() const { + return action_case() == kBodyTurnToBall + ? *_impl_.action_.body_turn_to_ball_ + : reinterpret_cast<::protos::Body_TurnToBall&>(::protos::_Body_TurnToBall_default_instance_); } -inline const ::protos::Bhv_ScanField& PlayerAction::bhv_scan_field() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.bhv_scan_field) - return _internal_bhv_scan_field(); +inline const ::protos::Body_TurnToBall& PlayerAction::body_turn_to_ball() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.body_turn_to_ball) + return _internal_body_turn_to_ball(); } -inline ::protos::Bhv_ScanField* PlayerAction::unsafe_arena_release_bhv_scan_field() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.bhv_scan_field) - if (action_case() == kBhvScanField) { +inline ::protos::Body_TurnToBall* PlayerAction::unsafe_arena_release_body_turn_to_ball() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_turn_to_ball) + if (action_case() == kBodyTurnToBall) { clear_has_action(); - ::protos::Bhv_ScanField* temp = _impl_.action_.bhv_scan_field_; - _impl_.action_.bhv_scan_field_ = nullptr; + ::protos::Body_TurnToBall* temp = _impl_.action_.body_turn_to_ball_; + _impl_.action_.body_turn_to_ball_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_bhv_scan_field(::protos::Bhv_ScanField* bhv_scan_field) { +inline void PlayerAction::unsafe_arena_set_allocated_body_turn_to_ball(::protos::Body_TurnToBall* body_turn_to_ball) { clear_action(); - if (bhv_scan_field) { - set_has_bhv_scan_field(); - _impl_.action_.bhv_scan_field_ = bhv_scan_field; + if (body_turn_to_ball) { + set_has_body_turn_to_ball(); + _impl_.action_.body_turn_to_ball_ = body_turn_to_ball; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.bhv_scan_field) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_turn_to_ball) } -inline ::protos::Bhv_ScanField* PlayerAction::_internal_mutable_bhv_scan_field() { - if (action_case() != kBhvScanField) { +inline ::protos::Body_TurnToBall* PlayerAction::_internal_mutable_body_turn_to_ball() { + if (action_case() != kBodyTurnToBall) { clear_action(); - set_has_bhv_scan_field(); - _impl_.action_.bhv_scan_field_ = CreateMaybeMessage< ::protos::Bhv_ScanField >(GetArenaForAllocation()); + set_has_body_turn_to_ball(); + _impl_.action_.body_turn_to_ball_ = CreateMaybeMessage< ::protos::Body_TurnToBall >(GetArenaForAllocation()); } - return _impl_.action_.bhv_scan_field_; + return _impl_.action_.body_turn_to_ball_; } -inline ::protos::Bhv_ScanField* PlayerAction::mutable_bhv_scan_field() { - ::protos::Bhv_ScanField* _msg = _internal_mutable_bhv_scan_field(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.bhv_scan_field) +inline ::protos::Body_TurnToBall* PlayerAction::mutable_body_turn_to_ball() { + ::protos::Body_TurnToBall* _msg = _internal_mutable_body_turn_to_ball(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_turn_to_ball) return _msg; } -// .protos.Body_AdvanceBall body_advance_ball = 26; -inline bool PlayerAction::has_body_advance_ball() const { - return action_case() == kBodyAdvanceBall; +// .protos.Body_TurnToPoint body_turn_to_point = 38; +inline bool PlayerAction::has_body_turn_to_point() const { + return action_case() == kBodyTurnToPoint; } -inline bool PlayerAction::_internal_has_body_advance_ball() const { - return action_case() == kBodyAdvanceBall; +inline bool PlayerAction::_internal_has_body_turn_to_point() const { + return action_case() == kBodyTurnToPoint; } -inline void PlayerAction::set_has_body_advance_ball() { - _impl_._oneof_case_[0] = kBodyAdvanceBall; +inline void PlayerAction::set_has_body_turn_to_point() { + _impl_._oneof_case_[0] = kBodyTurnToPoint; } -inline void PlayerAction::clear_body_advance_ball() { - if (action_case() == kBodyAdvanceBall) { +inline void PlayerAction::clear_body_turn_to_point() { + if (action_case() == kBodyTurnToPoint) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.body_advance_ball_; + delete _impl_.action_.body_turn_to_point_; } clear_has_action(); } } -inline ::protos::Body_AdvanceBall* PlayerAction::release_body_advance_ball() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.body_advance_ball) - if (action_case() == kBodyAdvanceBall) { +inline ::protos::Body_TurnToPoint* PlayerAction::release_body_turn_to_point() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.body_turn_to_point) + if (action_case() == kBodyTurnToPoint) { clear_has_action(); - ::protos::Body_AdvanceBall* temp = _impl_.action_.body_advance_ball_; + ::protos::Body_TurnToPoint* temp = _impl_.action_.body_turn_to_point_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.body_advance_ball_ = nullptr; + _impl_.action_.body_turn_to_point_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Body_AdvanceBall& PlayerAction::_internal_body_advance_ball() const { - return action_case() == kBodyAdvanceBall - ? *_impl_.action_.body_advance_ball_ - : reinterpret_cast<::protos::Body_AdvanceBall&>(::protos::_Body_AdvanceBall_default_instance_); +inline const ::protos::Body_TurnToPoint& PlayerAction::_internal_body_turn_to_point() const { + return action_case() == kBodyTurnToPoint + ? *_impl_.action_.body_turn_to_point_ + : reinterpret_cast<::protos::Body_TurnToPoint&>(::protos::_Body_TurnToPoint_default_instance_); } -inline const ::protos::Body_AdvanceBall& PlayerAction::body_advance_ball() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.body_advance_ball) - return _internal_body_advance_ball(); +inline const ::protos::Body_TurnToPoint& PlayerAction::body_turn_to_point() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.body_turn_to_point) + return _internal_body_turn_to_point(); } -inline ::protos::Body_AdvanceBall* PlayerAction::unsafe_arena_release_body_advance_ball() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_advance_ball) - if (action_case() == kBodyAdvanceBall) { +inline ::protos::Body_TurnToPoint* PlayerAction::unsafe_arena_release_body_turn_to_point() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_turn_to_point) + if (action_case() == kBodyTurnToPoint) { clear_has_action(); - ::protos::Body_AdvanceBall* temp = _impl_.action_.body_advance_ball_; - _impl_.action_.body_advance_ball_ = nullptr; + ::protos::Body_TurnToPoint* temp = _impl_.action_.body_turn_to_point_; + _impl_.action_.body_turn_to_point_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_body_advance_ball(::protos::Body_AdvanceBall* body_advance_ball) { +inline void PlayerAction::unsafe_arena_set_allocated_body_turn_to_point(::protos::Body_TurnToPoint* body_turn_to_point) { clear_action(); - if (body_advance_ball) { - set_has_body_advance_ball(); - _impl_.action_.body_advance_ball_ = body_advance_ball; + if (body_turn_to_point) { + set_has_body_turn_to_point(); + _impl_.action_.body_turn_to_point_ = body_turn_to_point; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_advance_ball) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_turn_to_point) } -inline ::protos::Body_AdvanceBall* PlayerAction::_internal_mutable_body_advance_ball() { - if (action_case() != kBodyAdvanceBall) { +inline ::protos::Body_TurnToPoint* PlayerAction::_internal_mutable_body_turn_to_point() { + if (action_case() != kBodyTurnToPoint) { clear_action(); - set_has_body_advance_ball(); - _impl_.action_.body_advance_ball_ = CreateMaybeMessage< ::protos::Body_AdvanceBall >(GetArenaForAllocation()); + set_has_body_turn_to_point(); + _impl_.action_.body_turn_to_point_ = CreateMaybeMessage< ::protos::Body_TurnToPoint >(GetArenaForAllocation()); } - return _impl_.action_.body_advance_ball_; + return _impl_.action_.body_turn_to_point_; } -inline ::protos::Body_AdvanceBall* PlayerAction::mutable_body_advance_ball() { - ::protos::Body_AdvanceBall* _msg = _internal_mutable_body_advance_ball(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_advance_ball) +inline ::protos::Body_TurnToPoint* PlayerAction::mutable_body_turn_to_point() { + ::protos::Body_TurnToPoint* _msg = _internal_mutable_body_turn_to_point(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_turn_to_point) return _msg; } -// .protos.Body_ClearBall body_clear_ball = 27; -inline bool PlayerAction::has_body_clear_ball() const { - return action_case() == kBodyClearBall; +// .protos.Focus_MoveToPoint focus_move_to_point = 39; +inline bool PlayerAction::has_focus_move_to_point() const { + return action_case() == kFocusMoveToPoint; } -inline bool PlayerAction::_internal_has_body_clear_ball() const { - return action_case() == kBodyClearBall; +inline bool PlayerAction::_internal_has_focus_move_to_point() const { + return action_case() == kFocusMoveToPoint; } -inline void PlayerAction::set_has_body_clear_ball() { - _impl_._oneof_case_[0] = kBodyClearBall; +inline void PlayerAction::set_has_focus_move_to_point() { + _impl_._oneof_case_[0] = kFocusMoveToPoint; } -inline void PlayerAction::clear_body_clear_ball() { - if (action_case() == kBodyClearBall) { +inline void PlayerAction::clear_focus_move_to_point() { + if (action_case() == kFocusMoveToPoint) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.body_clear_ball_; + delete _impl_.action_.focus_move_to_point_; } clear_has_action(); } } -inline ::protos::Body_ClearBall* PlayerAction::release_body_clear_ball() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.body_clear_ball) - if (action_case() == kBodyClearBall) { +inline ::protos::Focus_MoveToPoint* PlayerAction::release_focus_move_to_point() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.focus_move_to_point) + if (action_case() == kFocusMoveToPoint) { clear_has_action(); - ::protos::Body_ClearBall* temp = _impl_.action_.body_clear_ball_; + ::protos::Focus_MoveToPoint* temp = _impl_.action_.focus_move_to_point_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.body_clear_ball_ = nullptr; + _impl_.action_.focus_move_to_point_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Body_ClearBall& PlayerAction::_internal_body_clear_ball() const { - return action_case() == kBodyClearBall - ? *_impl_.action_.body_clear_ball_ - : reinterpret_cast<::protos::Body_ClearBall&>(::protos::_Body_ClearBall_default_instance_); +inline const ::protos::Focus_MoveToPoint& PlayerAction::_internal_focus_move_to_point() const { + return action_case() == kFocusMoveToPoint + ? *_impl_.action_.focus_move_to_point_ + : reinterpret_cast<::protos::Focus_MoveToPoint&>(::protos::_Focus_MoveToPoint_default_instance_); } -inline const ::protos::Body_ClearBall& PlayerAction::body_clear_ball() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.body_clear_ball) - return _internal_body_clear_ball(); +inline const ::protos::Focus_MoveToPoint& PlayerAction::focus_move_to_point() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.focus_move_to_point) + return _internal_focus_move_to_point(); } -inline ::protos::Body_ClearBall* PlayerAction::unsafe_arena_release_body_clear_ball() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_clear_ball) - if (action_case() == kBodyClearBall) { +inline ::protos::Focus_MoveToPoint* PlayerAction::unsafe_arena_release_focus_move_to_point() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.focus_move_to_point) + if (action_case() == kFocusMoveToPoint) { clear_has_action(); - ::protos::Body_ClearBall* temp = _impl_.action_.body_clear_ball_; - _impl_.action_.body_clear_ball_ = nullptr; + ::protos::Focus_MoveToPoint* temp = _impl_.action_.focus_move_to_point_; + _impl_.action_.focus_move_to_point_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_body_clear_ball(::protos::Body_ClearBall* body_clear_ball) { +inline void PlayerAction::unsafe_arena_set_allocated_focus_move_to_point(::protos::Focus_MoveToPoint* focus_move_to_point) { clear_action(); - if (body_clear_ball) { - set_has_body_clear_ball(); - _impl_.action_.body_clear_ball_ = body_clear_ball; + if (focus_move_to_point) { + set_has_focus_move_to_point(); + _impl_.action_.focus_move_to_point_ = focus_move_to_point; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_clear_ball) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.focus_move_to_point) } -inline ::protos::Body_ClearBall* PlayerAction::_internal_mutable_body_clear_ball() { - if (action_case() != kBodyClearBall) { +inline ::protos::Focus_MoveToPoint* PlayerAction::_internal_mutable_focus_move_to_point() { + if (action_case() != kFocusMoveToPoint) { clear_action(); - set_has_body_clear_ball(); - _impl_.action_.body_clear_ball_ = CreateMaybeMessage< ::protos::Body_ClearBall >(GetArenaForAllocation()); + set_has_focus_move_to_point(); + _impl_.action_.focus_move_to_point_ = CreateMaybeMessage< ::protos::Focus_MoveToPoint >(GetArenaForAllocation()); } - return _impl_.action_.body_clear_ball_; + return _impl_.action_.focus_move_to_point_; } -inline ::protos::Body_ClearBall* PlayerAction::mutable_body_clear_ball() { - ::protos::Body_ClearBall* _msg = _internal_mutable_body_clear_ball(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_clear_ball) +inline ::protos::Focus_MoveToPoint* PlayerAction::mutable_focus_move_to_point() { + ::protos::Focus_MoveToPoint* _msg = _internal_mutable_focus_move_to_point(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.focus_move_to_point) return _msg; } -// .protos.Body_Dribble body_dribble = 28; -inline bool PlayerAction::has_body_dribble() const { - return action_case() == kBodyDribble; +// .protos.Focus_Reset focus_reset = 40; +inline bool PlayerAction::has_focus_reset() const { + return action_case() == kFocusReset; } -inline bool PlayerAction::_internal_has_body_dribble() const { - return action_case() == kBodyDribble; +inline bool PlayerAction::_internal_has_focus_reset() const { + return action_case() == kFocusReset; } -inline void PlayerAction::set_has_body_dribble() { - _impl_._oneof_case_[0] = kBodyDribble; +inline void PlayerAction::set_has_focus_reset() { + _impl_._oneof_case_[0] = kFocusReset; } -inline void PlayerAction::clear_body_dribble() { - if (action_case() == kBodyDribble) { +inline void PlayerAction::clear_focus_reset() { + if (action_case() == kFocusReset) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.body_dribble_; + delete _impl_.action_.focus_reset_; } clear_has_action(); } } -inline ::protos::Body_Dribble* PlayerAction::release_body_dribble() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.body_dribble) - if (action_case() == kBodyDribble) { +inline ::protos::Focus_Reset* PlayerAction::release_focus_reset() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.focus_reset) + if (action_case() == kFocusReset) { clear_has_action(); - ::protos::Body_Dribble* temp = _impl_.action_.body_dribble_; + ::protos::Focus_Reset* temp = _impl_.action_.focus_reset_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.body_dribble_ = nullptr; + _impl_.action_.focus_reset_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Body_Dribble& PlayerAction::_internal_body_dribble() const { - return action_case() == kBodyDribble - ? *_impl_.action_.body_dribble_ - : reinterpret_cast<::protos::Body_Dribble&>(::protos::_Body_Dribble_default_instance_); +inline const ::protos::Focus_Reset& PlayerAction::_internal_focus_reset() const { + return action_case() == kFocusReset + ? *_impl_.action_.focus_reset_ + : reinterpret_cast<::protos::Focus_Reset&>(::protos::_Focus_Reset_default_instance_); } -inline const ::protos::Body_Dribble& PlayerAction::body_dribble() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.body_dribble) - return _internal_body_dribble(); +inline const ::protos::Focus_Reset& PlayerAction::focus_reset() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.focus_reset) + return _internal_focus_reset(); } -inline ::protos::Body_Dribble* PlayerAction::unsafe_arena_release_body_dribble() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_dribble) - if (action_case() == kBodyDribble) { +inline ::protos::Focus_Reset* PlayerAction::unsafe_arena_release_focus_reset() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.focus_reset) + if (action_case() == kFocusReset) { clear_has_action(); - ::protos::Body_Dribble* temp = _impl_.action_.body_dribble_; - _impl_.action_.body_dribble_ = nullptr; + ::protos::Focus_Reset* temp = _impl_.action_.focus_reset_; + _impl_.action_.focus_reset_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_body_dribble(::protos::Body_Dribble* body_dribble) { - clear_action(); - if (body_dribble) { - set_has_body_dribble(); - _impl_.action_.body_dribble_ = body_dribble; +inline void PlayerAction::unsafe_arena_set_allocated_focus_reset(::protos::Focus_Reset* focus_reset) { + clear_action(); + if (focus_reset) { + set_has_focus_reset(); + _impl_.action_.focus_reset_ = focus_reset; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_dribble) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.focus_reset) } -inline ::protos::Body_Dribble* PlayerAction::_internal_mutable_body_dribble() { - if (action_case() != kBodyDribble) { +inline ::protos::Focus_Reset* PlayerAction::_internal_mutable_focus_reset() { + if (action_case() != kFocusReset) { clear_action(); - set_has_body_dribble(); - _impl_.action_.body_dribble_ = CreateMaybeMessage< ::protos::Body_Dribble >(GetArenaForAllocation()); + set_has_focus_reset(); + _impl_.action_.focus_reset_ = CreateMaybeMessage< ::protos::Focus_Reset >(GetArenaForAllocation()); } - return _impl_.action_.body_dribble_; + return _impl_.action_.focus_reset_; } -inline ::protos::Body_Dribble* PlayerAction::mutable_body_dribble() { - ::protos::Body_Dribble* _msg = _internal_mutable_body_dribble(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_dribble) +inline ::protos::Focus_Reset* PlayerAction::mutable_focus_reset() { + ::protos::Focus_Reset* _msg = _internal_mutable_focus_reset(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.focus_reset) return _msg; } -// .protos.Body_GoToPointDodge body_go_to_point_dodge = 29; -inline bool PlayerAction::has_body_go_to_point_dodge() const { - return action_case() == kBodyGoToPointDodge; +// .protos.Neck_ScanField neck_scan_field = 41; +inline bool PlayerAction::has_neck_scan_field() const { + return action_case() == kNeckScanField; } -inline bool PlayerAction::_internal_has_body_go_to_point_dodge() const { - return action_case() == kBodyGoToPointDodge; +inline bool PlayerAction::_internal_has_neck_scan_field() const { + return action_case() == kNeckScanField; } -inline void PlayerAction::set_has_body_go_to_point_dodge() { - _impl_._oneof_case_[0] = kBodyGoToPointDodge; +inline void PlayerAction::set_has_neck_scan_field() { + _impl_._oneof_case_[0] = kNeckScanField; } -inline void PlayerAction::clear_body_go_to_point_dodge() { - if (action_case() == kBodyGoToPointDodge) { +inline void PlayerAction::clear_neck_scan_field() { + if (action_case() == kNeckScanField) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.body_go_to_point_dodge_; + delete _impl_.action_.neck_scan_field_; } clear_has_action(); } } -inline ::protos::Body_GoToPointDodge* PlayerAction::release_body_go_to_point_dodge() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.body_go_to_point_dodge) - if (action_case() == kBodyGoToPointDodge) { +inline ::protos::Neck_ScanField* PlayerAction::release_neck_scan_field() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.neck_scan_field) + if (action_case() == kNeckScanField) { clear_has_action(); - ::protos::Body_GoToPointDodge* temp = _impl_.action_.body_go_to_point_dodge_; + ::protos::Neck_ScanField* temp = _impl_.action_.neck_scan_field_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.body_go_to_point_dodge_ = nullptr; + _impl_.action_.neck_scan_field_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Body_GoToPointDodge& PlayerAction::_internal_body_go_to_point_dodge() const { - return action_case() == kBodyGoToPointDodge - ? *_impl_.action_.body_go_to_point_dodge_ - : reinterpret_cast<::protos::Body_GoToPointDodge&>(::protos::_Body_GoToPointDodge_default_instance_); +inline const ::protos::Neck_ScanField& PlayerAction::_internal_neck_scan_field() const { + return action_case() == kNeckScanField + ? *_impl_.action_.neck_scan_field_ + : reinterpret_cast<::protos::Neck_ScanField&>(::protos::_Neck_ScanField_default_instance_); } -inline const ::protos::Body_GoToPointDodge& PlayerAction::body_go_to_point_dodge() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.body_go_to_point_dodge) - return _internal_body_go_to_point_dodge(); +inline const ::protos::Neck_ScanField& PlayerAction::neck_scan_field() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.neck_scan_field) + return _internal_neck_scan_field(); } -inline ::protos::Body_GoToPointDodge* PlayerAction::unsafe_arena_release_body_go_to_point_dodge() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_go_to_point_dodge) - if (action_case() == kBodyGoToPointDodge) { +inline ::protos::Neck_ScanField* PlayerAction::unsafe_arena_release_neck_scan_field() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.neck_scan_field) + if (action_case() == kNeckScanField) { clear_has_action(); - ::protos::Body_GoToPointDodge* temp = _impl_.action_.body_go_to_point_dodge_; - _impl_.action_.body_go_to_point_dodge_ = nullptr; + ::protos::Neck_ScanField* temp = _impl_.action_.neck_scan_field_; + _impl_.action_.neck_scan_field_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_body_go_to_point_dodge(::protos::Body_GoToPointDodge* body_go_to_point_dodge) { +inline void PlayerAction::unsafe_arena_set_allocated_neck_scan_field(::protos::Neck_ScanField* neck_scan_field) { clear_action(); - if (body_go_to_point_dodge) { - set_has_body_go_to_point_dodge(); - _impl_.action_.body_go_to_point_dodge_ = body_go_to_point_dodge; + if (neck_scan_field) { + set_has_neck_scan_field(); + _impl_.action_.neck_scan_field_ = neck_scan_field; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_go_to_point_dodge) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.neck_scan_field) } -inline ::protos::Body_GoToPointDodge* PlayerAction::_internal_mutable_body_go_to_point_dodge() { - if (action_case() != kBodyGoToPointDodge) { +inline ::protos::Neck_ScanField* PlayerAction::_internal_mutable_neck_scan_field() { + if (action_case() != kNeckScanField) { clear_action(); - set_has_body_go_to_point_dodge(); - _impl_.action_.body_go_to_point_dodge_ = CreateMaybeMessage< ::protos::Body_GoToPointDodge >(GetArenaForAllocation()); + set_has_neck_scan_field(); + _impl_.action_.neck_scan_field_ = CreateMaybeMessage< ::protos::Neck_ScanField >(GetArenaForAllocation()); } - return _impl_.action_.body_go_to_point_dodge_; + return _impl_.action_.neck_scan_field_; } -inline ::protos::Body_GoToPointDodge* PlayerAction::mutable_body_go_to_point_dodge() { - ::protos::Body_GoToPointDodge* _msg = _internal_mutable_body_go_to_point_dodge(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_go_to_point_dodge) +inline ::protos::Neck_ScanField* PlayerAction::mutable_neck_scan_field() { + ::protos::Neck_ScanField* _msg = _internal_mutable_neck_scan_field(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.neck_scan_field) return _msg; } -// .protos.Body_HoldBall body_hold_ball = 30; -inline bool PlayerAction::has_body_hold_ball() const { - return action_case() == kBodyHoldBall; +// .protos.Neck_ScanPlayers neck_scan_players = 42; +inline bool PlayerAction::has_neck_scan_players() const { + return action_case() == kNeckScanPlayers; } -inline bool PlayerAction::_internal_has_body_hold_ball() const { - return action_case() == kBodyHoldBall; +inline bool PlayerAction::_internal_has_neck_scan_players() const { + return action_case() == kNeckScanPlayers; } -inline void PlayerAction::set_has_body_hold_ball() { - _impl_._oneof_case_[0] = kBodyHoldBall; +inline void PlayerAction::set_has_neck_scan_players() { + _impl_._oneof_case_[0] = kNeckScanPlayers; } -inline void PlayerAction::clear_body_hold_ball() { - if (action_case() == kBodyHoldBall) { +inline void PlayerAction::clear_neck_scan_players() { + if (action_case() == kNeckScanPlayers) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.body_hold_ball_; + delete _impl_.action_.neck_scan_players_; } clear_has_action(); } } -inline ::protos::Body_HoldBall* PlayerAction::release_body_hold_ball() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.body_hold_ball) - if (action_case() == kBodyHoldBall) { +inline ::protos::Neck_ScanPlayers* PlayerAction::release_neck_scan_players() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.neck_scan_players) + if (action_case() == kNeckScanPlayers) { clear_has_action(); - ::protos::Body_HoldBall* temp = _impl_.action_.body_hold_ball_; + ::protos::Neck_ScanPlayers* temp = _impl_.action_.neck_scan_players_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.body_hold_ball_ = nullptr; + _impl_.action_.neck_scan_players_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Body_HoldBall& PlayerAction::_internal_body_hold_ball() const { - return action_case() == kBodyHoldBall - ? *_impl_.action_.body_hold_ball_ - : reinterpret_cast<::protos::Body_HoldBall&>(::protos::_Body_HoldBall_default_instance_); +inline const ::protos::Neck_ScanPlayers& PlayerAction::_internal_neck_scan_players() const { + return action_case() == kNeckScanPlayers + ? *_impl_.action_.neck_scan_players_ + : reinterpret_cast<::protos::Neck_ScanPlayers&>(::protos::_Neck_ScanPlayers_default_instance_); } -inline const ::protos::Body_HoldBall& PlayerAction::body_hold_ball() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.body_hold_ball) - return _internal_body_hold_ball(); +inline const ::protos::Neck_ScanPlayers& PlayerAction::neck_scan_players() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.neck_scan_players) + return _internal_neck_scan_players(); } -inline ::protos::Body_HoldBall* PlayerAction::unsafe_arena_release_body_hold_ball() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_hold_ball) - if (action_case() == kBodyHoldBall) { +inline ::protos::Neck_ScanPlayers* PlayerAction::unsafe_arena_release_neck_scan_players() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.neck_scan_players) + if (action_case() == kNeckScanPlayers) { clear_has_action(); - ::protos::Body_HoldBall* temp = _impl_.action_.body_hold_ball_; - _impl_.action_.body_hold_ball_ = nullptr; + ::protos::Neck_ScanPlayers* temp = _impl_.action_.neck_scan_players_; + _impl_.action_.neck_scan_players_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_body_hold_ball(::protos::Body_HoldBall* body_hold_ball) { +inline void PlayerAction::unsafe_arena_set_allocated_neck_scan_players(::protos::Neck_ScanPlayers* neck_scan_players) { clear_action(); - if (body_hold_ball) { - set_has_body_hold_ball(); - _impl_.action_.body_hold_ball_ = body_hold_ball; + if (neck_scan_players) { + set_has_neck_scan_players(); + _impl_.action_.neck_scan_players_ = neck_scan_players; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_hold_ball) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.neck_scan_players) } -inline ::protos::Body_HoldBall* PlayerAction::_internal_mutable_body_hold_ball() { - if (action_case() != kBodyHoldBall) { +inline ::protos::Neck_ScanPlayers* PlayerAction::_internal_mutable_neck_scan_players() { + if (action_case() != kNeckScanPlayers) { clear_action(); - set_has_body_hold_ball(); - _impl_.action_.body_hold_ball_ = CreateMaybeMessage< ::protos::Body_HoldBall >(GetArenaForAllocation()); + set_has_neck_scan_players(); + _impl_.action_.neck_scan_players_ = CreateMaybeMessage< ::protos::Neck_ScanPlayers >(GetArenaForAllocation()); } - return _impl_.action_.body_hold_ball_; + return _impl_.action_.neck_scan_players_; } -inline ::protos::Body_HoldBall* PlayerAction::mutable_body_hold_ball() { - ::protos::Body_HoldBall* _msg = _internal_mutable_body_hold_ball(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_hold_ball) +inline ::protos::Neck_ScanPlayers* PlayerAction::mutable_neck_scan_players() { + ::protos::Neck_ScanPlayers* _msg = _internal_mutable_neck_scan_players(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.neck_scan_players) return _msg; } -// .protos.Body_Intercept body_intercept = 31; -inline bool PlayerAction::has_body_intercept() const { - return action_case() == kBodyIntercept; +// .protos.Neck_TurnToBallAndPlayer neck_turn_to_ball_and_player = 43; +inline bool PlayerAction::has_neck_turn_to_ball_and_player() const { + return action_case() == kNeckTurnToBallAndPlayer; } -inline bool PlayerAction::_internal_has_body_intercept() const { - return action_case() == kBodyIntercept; +inline bool PlayerAction::_internal_has_neck_turn_to_ball_and_player() const { + return action_case() == kNeckTurnToBallAndPlayer; } -inline void PlayerAction::set_has_body_intercept() { - _impl_._oneof_case_[0] = kBodyIntercept; +inline void PlayerAction::set_has_neck_turn_to_ball_and_player() { + _impl_._oneof_case_[0] = kNeckTurnToBallAndPlayer; } -inline void PlayerAction::clear_body_intercept() { - if (action_case() == kBodyIntercept) { +inline void PlayerAction::clear_neck_turn_to_ball_and_player() { + if (action_case() == kNeckTurnToBallAndPlayer) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.body_intercept_; + delete _impl_.action_.neck_turn_to_ball_and_player_; } clear_has_action(); } } -inline ::protos::Body_Intercept* PlayerAction::release_body_intercept() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.body_intercept) - if (action_case() == kBodyIntercept) { +inline ::protos::Neck_TurnToBallAndPlayer* PlayerAction::release_neck_turn_to_ball_and_player() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.neck_turn_to_ball_and_player) + if (action_case() == kNeckTurnToBallAndPlayer) { clear_has_action(); - ::protos::Body_Intercept* temp = _impl_.action_.body_intercept_; + ::protos::Neck_TurnToBallAndPlayer* temp = _impl_.action_.neck_turn_to_ball_and_player_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.body_intercept_ = nullptr; + _impl_.action_.neck_turn_to_ball_and_player_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Body_Intercept& PlayerAction::_internal_body_intercept() const { - return action_case() == kBodyIntercept - ? *_impl_.action_.body_intercept_ - : reinterpret_cast<::protos::Body_Intercept&>(::protos::_Body_Intercept_default_instance_); +inline const ::protos::Neck_TurnToBallAndPlayer& PlayerAction::_internal_neck_turn_to_ball_and_player() const { + return action_case() == kNeckTurnToBallAndPlayer + ? *_impl_.action_.neck_turn_to_ball_and_player_ + : reinterpret_cast<::protos::Neck_TurnToBallAndPlayer&>(::protos::_Neck_TurnToBallAndPlayer_default_instance_); } -inline const ::protos::Body_Intercept& PlayerAction::body_intercept() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.body_intercept) - return _internal_body_intercept(); +inline const ::protos::Neck_TurnToBallAndPlayer& PlayerAction::neck_turn_to_ball_and_player() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.neck_turn_to_ball_and_player) + return _internal_neck_turn_to_ball_and_player(); } -inline ::protos::Body_Intercept* PlayerAction::unsafe_arena_release_body_intercept() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_intercept) - if (action_case() == kBodyIntercept) { +inline ::protos::Neck_TurnToBallAndPlayer* PlayerAction::unsafe_arena_release_neck_turn_to_ball_and_player() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.neck_turn_to_ball_and_player) + if (action_case() == kNeckTurnToBallAndPlayer) { clear_has_action(); - ::protos::Body_Intercept* temp = _impl_.action_.body_intercept_; - _impl_.action_.body_intercept_ = nullptr; + ::protos::Neck_TurnToBallAndPlayer* temp = _impl_.action_.neck_turn_to_ball_and_player_; + _impl_.action_.neck_turn_to_ball_and_player_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_body_intercept(::protos::Body_Intercept* body_intercept) { +inline void PlayerAction::unsafe_arena_set_allocated_neck_turn_to_ball_and_player(::protos::Neck_TurnToBallAndPlayer* neck_turn_to_ball_and_player) { clear_action(); - if (body_intercept) { - set_has_body_intercept(); - _impl_.action_.body_intercept_ = body_intercept; + if (neck_turn_to_ball_and_player) { + set_has_neck_turn_to_ball_and_player(); + _impl_.action_.neck_turn_to_ball_and_player_ = neck_turn_to_ball_and_player; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_intercept) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.neck_turn_to_ball_and_player) } -inline ::protos::Body_Intercept* PlayerAction::_internal_mutable_body_intercept() { - if (action_case() != kBodyIntercept) { +inline ::protos::Neck_TurnToBallAndPlayer* PlayerAction::_internal_mutable_neck_turn_to_ball_and_player() { + if (action_case() != kNeckTurnToBallAndPlayer) { clear_action(); - set_has_body_intercept(); - _impl_.action_.body_intercept_ = CreateMaybeMessage< ::protos::Body_Intercept >(GetArenaForAllocation()); + set_has_neck_turn_to_ball_and_player(); + _impl_.action_.neck_turn_to_ball_and_player_ = CreateMaybeMessage< ::protos::Neck_TurnToBallAndPlayer >(GetArenaForAllocation()); } - return _impl_.action_.body_intercept_; + return _impl_.action_.neck_turn_to_ball_and_player_; } -inline ::protos::Body_Intercept* PlayerAction::mutable_body_intercept() { - ::protos::Body_Intercept* _msg = _internal_mutable_body_intercept(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_intercept) +inline ::protos::Neck_TurnToBallAndPlayer* PlayerAction::mutable_neck_turn_to_ball_and_player() { + ::protos::Neck_TurnToBallAndPlayer* _msg = _internal_mutable_neck_turn_to_ball_and_player(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.neck_turn_to_ball_and_player) return _msg; } -// .protos.Body_KickOneStep body_kick_one_step = 32; -inline bool PlayerAction::has_body_kick_one_step() const { - return action_case() == kBodyKickOneStep; +// .protos.Neck_TurnToBallOrScan neck_turn_to_ball_or_scan = 44; +inline bool PlayerAction::has_neck_turn_to_ball_or_scan() const { + return action_case() == kNeckTurnToBallOrScan; } -inline bool PlayerAction::_internal_has_body_kick_one_step() const { - return action_case() == kBodyKickOneStep; +inline bool PlayerAction::_internal_has_neck_turn_to_ball_or_scan() const { + return action_case() == kNeckTurnToBallOrScan; } -inline void PlayerAction::set_has_body_kick_one_step() { - _impl_._oneof_case_[0] = kBodyKickOneStep; +inline void PlayerAction::set_has_neck_turn_to_ball_or_scan() { + _impl_._oneof_case_[0] = kNeckTurnToBallOrScan; } -inline void PlayerAction::clear_body_kick_one_step() { - if (action_case() == kBodyKickOneStep) { +inline void PlayerAction::clear_neck_turn_to_ball_or_scan() { + if (action_case() == kNeckTurnToBallOrScan) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.body_kick_one_step_; + delete _impl_.action_.neck_turn_to_ball_or_scan_; } clear_has_action(); } } -inline ::protos::Body_KickOneStep* PlayerAction::release_body_kick_one_step() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.body_kick_one_step) - if (action_case() == kBodyKickOneStep) { +inline ::protos::Neck_TurnToBallOrScan* PlayerAction::release_neck_turn_to_ball_or_scan() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.neck_turn_to_ball_or_scan) + if (action_case() == kNeckTurnToBallOrScan) { clear_has_action(); - ::protos::Body_KickOneStep* temp = _impl_.action_.body_kick_one_step_; + ::protos::Neck_TurnToBallOrScan* temp = _impl_.action_.neck_turn_to_ball_or_scan_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.body_kick_one_step_ = nullptr; + _impl_.action_.neck_turn_to_ball_or_scan_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Body_KickOneStep& PlayerAction::_internal_body_kick_one_step() const { - return action_case() == kBodyKickOneStep - ? *_impl_.action_.body_kick_one_step_ - : reinterpret_cast<::protos::Body_KickOneStep&>(::protos::_Body_KickOneStep_default_instance_); +inline const ::protos::Neck_TurnToBallOrScan& PlayerAction::_internal_neck_turn_to_ball_or_scan() const { + return action_case() == kNeckTurnToBallOrScan + ? *_impl_.action_.neck_turn_to_ball_or_scan_ + : reinterpret_cast<::protos::Neck_TurnToBallOrScan&>(::protos::_Neck_TurnToBallOrScan_default_instance_); } -inline const ::protos::Body_KickOneStep& PlayerAction::body_kick_one_step() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.body_kick_one_step) - return _internal_body_kick_one_step(); +inline const ::protos::Neck_TurnToBallOrScan& PlayerAction::neck_turn_to_ball_or_scan() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.neck_turn_to_ball_or_scan) + return _internal_neck_turn_to_ball_or_scan(); } -inline ::protos::Body_KickOneStep* PlayerAction::unsafe_arena_release_body_kick_one_step() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_kick_one_step) - if (action_case() == kBodyKickOneStep) { +inline ::protos::Neck_TurnToBallOrScan* PlayerAction::unsafe_arena_release_neck_turn_to_ball_or_scan() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.neck_turn_to_ball_or_scan) + if (action_case() == kNeckTurnToBallOrScan) { clear_has_action(); - ::protos::Body_KickOneStep* temp = _impl_.action_.body_kick_one_step_; - _impl_.action_.body_kick_one_step_ = nullptr; + ::protos::Neck_TurnToBallOrScan* temp = _impl_.action_.neck_turn_to_ball_or_scan_; + _impl_.action_.neck_turn_to_ball_or_scan_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_body_kick_one_step(::protos::Body_KickOneStep* body_kick_one_step) { +inline void PlayerAction::unsafe_arena_set_allocated_neck_turn_to_ball_or_scan(::protos::Neck_TurnToBallOrScan* neck_turn_to_ball_or_scan) { clear_action(); - if (body_kick_one_step) { - set_has_body_kick_one_step(); - _impl_.action_.body_kick_one_step_ = body_kick_one_step; + if (neck_turn_to_ball_or_scan) { + set_has_neck_turn_to_ball_or_scan(); + _impl_.action_.neck_turn_to_ball_or_scan_ = neck_turn_to_ball_or_scan; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_kick_one_step) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.neck_turn_to_ball_or_scan) } -inline ::protos::Body_KickOneStep* PlayerAction::_internal_mutable_body_kick_one_step() { - if (action_case() != kBodyKickOneStep) { +inline ::protos::Neck_TurnToBallOrScan* PlayerAction::_internal_mutable_neck_turn_to_ball_or_scan() { + if (action_case() != kNeckTurnToBallOrScan) { clear_action(); - set_has_body_kick_one_step(); - _impl_.action_.body_kick_one_step_ = CreateMaybeMessage< ::protos::Body_KickOneStep >(GetArenaForAllocation()); + set_has_neck_turn_to_ball_or_scan(); + _impl_.action_.neck_turn_to_ball_or_scan_ = CreateMaybeMessage< ::protos::Neck_TurnToBallOrScan >(GetArenaForAllocation()); } - return _impl_.action_.body_kick_one_step_; + return _impl_.action_.neck_turn_to_ball_or_scan_; } -inline ::protos::Body_KickOneStep* PlayerAction::mutable_body_kick_one_step() { - ::protos::Body_KickOneStep* _msg = _internal_mutable_body_kick_one_step(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_kick_one_step) +inline ::protos::Neck_TurnToBallOrScan* PlayerAction::mutable_neck_turn_to_ball_or_scan() { + ::protos::Neck_TurnToBallOrScan* _msg = _internal_mutable_neck_turn_to_ball_or_scan(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.neck_turn_to_ball_or_scan) return _msg; } -// .protos.Body_StopBall body_stop_ball = 33; -inline bool PlayerAction::has_body_stop_ball() const { - return action_case() == kBodyStopBall; +// .protos.Neck_TurnToBall neck_turn_to_ball = 45; +inline bool PlayerAction::has_neck_turn_to_ball() const { + return action_case() == kNeckTurnToBall; } -inline bool PlayerAction::_internal_has_body_stop_ball() const { - return action_case() == kBodyStopBall; +inline bool PlayerAction::_internal_has_neck_turn_to_ball() const { + return action_case() == kNeckTurnToBall; } -inline void PlayerAction::set_has_body_stop_ball() { - _impl_._oneof_case_[0] = kBodyStopBall; +inline void PlayerAction::set_has_neck_turn_to_ball() { + _impl_._oneof_case_[0] = kNeckTurnToBall; } -inline void PlayerAction::clear_body_stop_ball() { - if (action_case() == kBodyStopBall) { +inline void PlayerAction::clear_neck_turn_to_ball() { + if (action_case() == kNeckTurnToBall) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.body_stop_ball_; + delete _impl_.action_.neck_turn_to_ball_; } clear_has_action(); } } -inline ::protos::Body_StopBall* PlayerAction::release_body_stop_ball() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.body_stop_ball) - if (action_case() == kBodyStopBall) { +inline ::protos::Neck_TurnToBall* PlayerAction::release_neck_turn_to_ball() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.neck_turn_to_ball) + if (action_case() == kNeckTurnToBall) { clear_has_action(); - ::protos::Body_StopBall* temp = _impl_.action_.body_stop_ball_; + ::protos::Neck_TurnToBall* temp = _impl_.action_.neck_turn_to_ball_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.body_stop_ball_ = nullptr; + _impl_.action_.neck_turn_to_ball_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Body_StopBall& PlayerAction::_internal_body_stop_ball() const { - return action_case() == kBodyStopBall - ? *_impl_.action_.body_stop_ball_ - : reinterpret_cast<::protos::Body_StopBall&>(::protos::_Body_StopBall_default_instance_); +inline const ::protos::Neck_TurnToBall& PlayerAction::_internal_neck_turn_to_ball() const { + return action_case() == kNeckTurnToBall + ? *_impl_.action_.neck_turn_to_ball_ + : reinterpret_cast<::protos::Neck_TurnToBall&>(::protos::_Neck_TurnToBall_default_instance_); } -inline const ::protos::Body_StopBall& PlayerAction::body_stop_ball() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.body_stop_ball) - return _internal_body_stop_ball(); +inline const ::protos::Neck_TurnToBall& PlayerAction::neck_turn_to_ball() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.neck_turn_to_ball) + return _internal_neck_turn_to_ball(); } -inline ::protos::Body_StopBall* PlayerAction::unsafe_arena_release_body_stop_ball() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_stop_ball) - if (action_case() == kBodyStopBall) { +inline ::protos::Neck_TurnToBall* PlayerAction::unsafe_arena_release_neck_turn_to_ball() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.neck_turn_to_ball) + if (action_case() == kNeckTurnToBall) { clear_has_action(); - ::protos::Body_StopBall* temp = _impl_.action_.body_stop_ball_; - _impl_.action_.body_stop_ball_ = nullptr; + ::protos::Neck_TurnToBall* temp = _impl_.action_.neck_turn_to_ball_; + _impl_.action_.neck_turn_to_ball_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_body_stop_ball(::protos::Body_StopBall* body_stop_ball) { +inline void PlayerAction::unsafe_arena_set_allocated_neck_turn_to_ball(::protos::Neck_TurnToBall* neck_turn_to_ball) { clear_action(); - if (body_stop_ball) { - set_has_body_stop_ball(); - _impl_.action_.body_stop_ball_ = body_stop_ball; + if (neck_turn_to_ball) { + set_has_neck_turn_to_ball(); + _impl_.action_.neck_turn_to_ball_ = neck_turn_to_ball; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_stop_ball) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.neck_turn_to_ball) } -inline ::protos::Body_StopBall* PlayerAction::_internal_mutable_body_stop_ball() { - if (action_case() != kBodyStopBall) { +inline ::protos::Neck_TurnToBall* PlayerAction::_internal_mutable_neck_turn_to_ball() { + if (action_case() != kNeckTurnToBall) { clear_action(); - set_has_body_stop_ball(); - _impl_.action_.body_stop_ball_ = CreateMaybeMessage< ::protos::Body_StopBall >(GetArenaForAllocation()); + set_has_neck_turn_to_ball(); + _impl_.action_.neck_turn_to_ball_ = CreateMaybeMessage< ::protos::Neck_TurnToBall >(GetArenaForAllocation()); } - return _impl_.action_.body_stop_ball_; + return _impl_.action_.neck_turn_to_ball_; } -inline ::protos::Body_StopBall* PlayerAction::mutable_body_stop_ball() { - ::protos::Body_StopBall* _msg = _internal_mutable_body_stop_ball(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_stop_ball) +inline ::protos::Neck_TurnToBall* PlayerAction::mutable_neck_turn_to_ball() { + ::protos::Neck_TurnToBall* _msg = _internal_mutable_neck_turn_to_ball(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.neck_turn_to_ball) return _msg; } -// .protos.Body_StopDash body_stop_dash = 34; -inline bool PlayerAction::has_body_stop_dash() const { - return action_case() == kBodyStopDash; +// .protos.Neck_TurnToGoalieOrScan neck_turn_to_goalie_or_scan = 46; +inline bool PlayerAction::has_neck_turn_to_goalie_or_scan() const { + return action_case() == kNeckTurnToGoalieOrScan; } -inline bool PlayerAction::_internal_has_body_stop_dash() const { - return action_case() == kBodyStopDash; +inline bool PlayerAction::_internal_has_neck_turn_to_goalie_or_scan() const { + return action_case() == kNeckTurnToGoalieOrScan; } -inline void PlayerAction::set_has_body_stop_dash() { - _impl_._oneof_case_[0] = kBodyStopDash; +inline void PlayerAction::set_has_neck_turn_to_goalie_or_scan() { + _impl_._oneof_case_[0] = kNeckTurnToGoalieOrScan; } -inline void PlayerAction::clear_body_stop_dash() { - if (action_case() == kBodyStopDash) { +inline void PlayerAction::clear_neck_turn_to_goalie_or_scan() { + if (action_case() == kNeckTurnToGoalieOrScan) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.body_stop_dash_; + delete _impl_.action_.neck_turn_to_goalie_or_scan_; } clear_has_action(); } } -inline ::protos::Body_StopDash* PlayerAction::release_body_stop_dash() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.body_stop_dash) - if (action_case() == kBodyStopDash) { +inline ::protos::Neck_TurnToGoalieOrScan* PlayerAction::release_neck_turn_to_goalie_or_scan() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.neck_turn_to_goalie_or_scan) + if (action_case() == kNeckTurnToGoalieOrScan) { clear_has_action(); - ::protos::Body_StopDash* temp = _impl_.action_.body_stop_dash_; + ::protos::Neck_TurnToGoalieOrScan* temp = _impl_.action_.neck_turn_to_goalie_or_scan_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.body_stop_dash_ = nullptr; + _impl_.action_.neck_turn_to_goalie_or_scan_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Body_StopDash& PlayerAction::_internal_body_stop_dash() const { - return action_case() == kBodyStopDash - ? *_impl_.action_.body_stop_dash_ - : reinterpret_cast<::protos::Body_StopDash&>(::protos::_Body_StopDash_default_instance_); +inline const ::protos::Neck_TurnToGoalieOrScan& PlayerAction::_internal_neck_turn_to_goalie_or_scan() const { + return action_case() == kNeckTurnToGoalieOrScan + ? *_impl_.action_.neck_turn_to_goalie_or_scan_ + : reinterpret_cast<::protos::Neck_TurnToGoalieOrScan&>(::protos::_Neck_TurnToGoalieOrScan_default_instance_); } -inline const ::protos::Body_StopDash& PlayerAction::body_stop_dash() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.body_stop_dash) - return _internal_body_stop_dash(); +inline const ::protos::Neck_TurnToGoalieOrScan& PlayerAction::neck_turn_to_goalie_or_scan() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.neck_turn_to_goalie_or_scan) + return _internal_neck_turn_to_goalie_or_scan(); } -inline ::protos::Body_StopDash* PlayerAction::unsafe_arena_release_body_stop_dash() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_stop_dash) - if (action_case() == kBodyStopDash) { +inline ::protos::Neck_TurnToGoalieOrScan* PlayerAction::unsafe_arena_release_neck_turn_to_goalie_or_scan() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.neck_turn_to_goalie_or_scan) + if (action_case() == kNeckTurnToGoalieOrScan) { clear_has_action(); - ::protos::Body_StopDash* temp = _impl_.action_.body_stop_dash_; - _impl_.action_.body_stop_dash_ = nullptr; + ::protos::Neck_TurnToGoalieOrScan* temp = _impl_.action_.neck_turn_to_goalie_or_scan_; + _impl_.action_.neck_turn_to_goalie_or_scan_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_body_stop_dash(::protos::Body_StopDash* body_stop_dash) { +inline void PlayerAction::unsafe_arena_set_allocated_neck_turn_to_goalie_or_scan(::protos::Neck_TurnToGoalieOrScan* neck_turn_to_goalie_or_scan) { clear_action(); - if (body_stop_dash) { - set_has_body_stop_dash(); - _impl_.action_.body_stop_dash_ = body_stop_dash; + if (neck_turn_to_goalie_or_scan) { + set_has_neck_turn_to_goalie_or_scan(); + _impl_.action_.neck_turn_to_goalie_or_scan_ = neck_turn_to_goalie_or_scan; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_stop_dash) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.neck_turn_to_goalie_or_scan) } -inline ::protos::Body_StopDash* PlayerAction::_internal_mutable_body_stop_dash() { - if (action_case() != kBodyStopDash) { +inline ::protos::Neck_TurnToGoalieOrScan* PlayerAction::_internal_mutable_neck_turn_to_goalie_or_scan() { + if (action_case() != kNeckTurnToGoalieOrScan) { clear_action(); - set_has_body_stop_dash(); - _impl_.action_.body_stop_dash_ = CreateMaybeMessage< ::protos::Body_StopDash >(GetArenaForAllocation()); + set_has_neck_turn_to_goalie_or_scan(); + _impl_.action_.neck_turn_to_goalie_or_scan_ = CreateMaybeMessage< ::protos::Neck_TurnToGoalieOrScan >(GetArenaForAllocation()); } - return _impl_.action_.body_stop_dash_; + return _impl_.action_.neck_turn_to_goalie_or_scan_; } -inline ::protos::Body_StopDash* PlayerAction::mutable_body_stop_dash() { - ::protos::Body_StopDash* _msg = _internal_mutable_body_stop_dash(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_stop_dash) +inline ::protos::Neck_TurnToGoalieOrScan* PlayerAction::mutable_neck_turn_to_goalie_or_scan() { + ::protos::Neck_TurnToGoalieOrScan* _msg = _internal_mutable_neck_turn_to_goalie_or_scan(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.neck_turn_to_goalie_or_scan) return _msg; } -// .protos.Body_TackleToPoint body_tackle_to_point = 35; -inline bool PlayerAction::has_body_tackle_to_point() const { - return action_case() == kBodyTackleToPoint; +// .protos.Neck_TurnToLowConfTeammate neck_turn_to_low_conf_teammate = 47; +inline bool PlayerAction::has_neck_turn_to_low_conf_teammate() const { + return action_case() == kNeckTurnToLowConfTeammate; } -inline bool PlayerAction::_internal_has_body_tackle_to_point() const { - return action_case() == kBodyTackleToPoint; +inline bool PlayerAction::_internal_has_neck_turn_to_low_conf_teammate() const { + return action_case() == kNeckTurnToLowConfTeammate; } -inline void PlayerAction::set_has_body_tackle_to_point() { - _impl_._oneof_case_[0] = kBodyTackleToPoint; +inline void PlayerAction::set_has_neck_turn_to_low_conf_teammate() { + _impl_._oneof_case_[0] = kNeckTurnToLowConfTeammate; } -inline void PlayerAction::clear_body_tackle_to_point() { - if (action_case() == kBodyTackleToPoint) { +inline void PlayerAction::clear_neck_turn_to_low_conf_teammate() { + if (action_case() == kNeckTurnToLowConfTeammate) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.body_tackle_to_point_; + delete _impl_.action_.neck_turn_to_low_conf_teammate_; } clear_has_action(); } } -inline ::protos::Body_TackleToPoint* PlayerAction::release_body_tackle_to_point() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.body_tackle_to_point) - if (action_case() == kBodyTackleToPoint) { +inline ::protos::Neck_TurnToLowConfTeammate* PlayerAction::release_neck_turn_to_low_conf_teammate() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.neck_turn_to_low_conf_teammate) + if (action_case() == kNeckTurnToLowConfTeammate) { clear_has_action(); - ::protos::Body_TackleToPoint* temp = _impl_.action_.body_tackle_to_point_; + ::protos::Neck_TurnToLowConfTeammate* temp = _impl_.action_.neck_turn_to_low_conf_teammate_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.body_tackle_to_point_ = nullptr; + _impl_.action_.neck_turn_to_low_conf_teammate_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Body_TackleToPoint& PlayerAction::_internal_body_tackle_to_point() const { - return action_case() == kBodyTackleToPoint - ? *_impl_.action_.body_tackle_to_point_ - : reinterpret_cast<::protos::Body_TackleToPoint&>(::protos::_Body_TackleToPoint_default_instance_); +inline const ::protos::Neck_TurnToLowConfTeammate& PlayerAction::_internal_neck_turn_to_low_conf_teammate() const { + return action_case() == kNeckTurnToLowConfTeammate + ? *_impl_.action_.neck_turn_to_low_conf_teammate_ + : reinterpret_cast<::protos::Neck_TurnToLowConfTeammate&>(::protos::_Neck_TurnToLowConfTeammate_default_instance_); } -inline const ::protos::Body_TackleToPoint& PlayerAction::body_tackle_to_point() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.body_tackle_to_point) - return _internal_body_tackle_to_point(); +inline const ::protos::Neck_TurnToLowConfTeammate& PlayerAction::neck_turn_to_low_conf_teammate() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.neck_turn_to_low_conf_teammate) + return _internal_neck_turn_to_low_conf_teammate(); } -inline ::protos::Body_TackleToPoint* PlayerAction::unsafe_arena_release_body_tackle_to_point() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_tackle_to_point) - if (action_case() == kBodyTackleToPoint) { +inline ::protos::Neck_TurnToLowConfTeammate* PlayerAction::unsafe_arena_release_neck_turn_to_low_conf_teammate() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.neck_turn_to_low_conf_teammate) + if (action_case() == kNeckTurnToLowConfTeammate) { clear_has_action(); - ::protos::Body_TackleToPoint* temp = _impl_.action_.body_tackle_to_point_; - _impl_.action_.body_tackle_to_point_ = nullptr; + ::protos::Neck_TurnToLowConfTeammate* temp = _impl_.action_.neck_turn_to_low_conf_teammate_; + _impl_.action_.neck_turn_to_low_conf_teammate_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_body_tackle_to_point(::protos::Body_TackleToPoint* body_tackle_to_point) { +inline void PlayerAction::unsafe_arena_set_allocated_neck_turn_to_low_conf_teammate(::protos::Neck_TurnToLowConfTeammate* neck_turn_to_low_conf_teammate) { clear_action(); - if (body_tackle_to_point) { - set_has_body_tackle_to_point(); - _impl_.action_.body_tackle_to_point_ = body_tackle_to_point; + if (neck_turn_to_low_conf_teammate) { + set_has_neck_turn_to_low_conf_teammate(); + _impl_.action_.neck_turn_to_low_conf_teammate_ = neck_turn_to_low_conf_teammate; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_tackle_to_point) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.neck_turn_to_low_conf_teammate) } -inline ::protos::Body_TackleToPoint* PlayerAction::_internal_mutable_body_tackle_to_point() { - if (action_case() != kBodyTackleToPoint) { +inline ::protos::Neck_TurnToLowConfTeammate* PlayerAction::_internal_mutable_neck_turn_to_low_conf_teammate() { + if (action_case() != kNeckTurnToLowConfTeammate) { clear_action(); - set_has_body_tackle_to_point(); - _impl_.action_.body_tackle_to_point_ = CreateMaybeMessage< ::protos::Body_TackleToPoint >(GetArenaForAllocation()); + set_has_neck_turn_to_low_conf_teammate(); + _impl_.action_.neck_turn_to_low_conf_teammate_ = CreateMaybeMessage< ::protos::Neck_TurnToLowConfTeammate >(GetArenaForAllocation()); } - return _impl_.action_.body_tackle_to_point_; + return _impl_.action_.neck_turn_to_low_conf_teammate_; } -inline ::protos::Body_TackleToPoint* PlayerAction::mutable_body_tackle_to_point() { - ::protos::Body_TackleToPoint* _msg = _internal_mutable_body_tackle_to_point(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_tackle_to_point) +inline ::protos::Neck_TurnToLowConfTeammate* PlayerAction::mutable_neck_turn_to_low_conf_teammate() { + ::protos::Neck_TurnToLowConfTeammate* _msg = _internal_mutable_neck_turn_to_low_conf_teammate(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.neck_turn_to_low_conf_teammate) return _msg; } -// .protos.Body_TurnToAngle body_turn_to_angle = 36; -inline bool PlayerAction::has_body_turn_to_angle() const { - return action_case() == kBodyTurnToAngle; +// .protos.Neck_TurnToPlayerOrScan neck_turn_to_player_or_scan = 48; +inline bool PlayerAction::has_neck_turn_to_player_or_scan() const { + return action_case() == kNeckTurnToPlayerOrScan; } -inline bool PlayerAction::_internal_has_body_turn_to_angle() const { - return action_case() == kBodyTurnToAngle; +inline bool PlayerAction::_internal_has_neck_turn_to_player_or_scan() const { + return action_case() == kNeckTurnToPlayerOrScan; } -inline void PlayerAction::set_has_body_turn_to_angle() { - _impl_._oneof_case_[0] = kBodyTurnToAngle; +inline void PlayerAction::set_has_neck_turn_to_player_or_scan() { + _impl_._oneof_case_[0] = kNeckTurnToPlayerOrScan; } -inline void PlayerAction::clear_body_turn_to_angle() { - if (action_case() == kBodyTurnToAngle) { +inline void PlayerAction::clear_neck_turn_to_player_or_scan() { + if (action_case() == kNeckTurnToPlayerOrScan) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.body_turn_to_angle_; + delete _impl_.action_.neck_turn_to_player_or_scan_; } clear_has_action(); } } -inline ::protos::Body_TurnToAngle* PlayerAction::release_body_turn_to_angle() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.body_turn_to_angle) - if (action_case() == kBodyTurnToAngle) { +inline ::protos::Neck_TurnToPlayerOrScan* PlayerAction::release_neck_turn_to_player_or_scan() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.neck_turn_to_player_or_scan) + if (action_case() == kNeckTurnToPlayerOrScan) { clear_has_action(); - ::protos::Body_TurnToAngle* temp = _impl_.action_.body_turn_to_angle_; + ::protos::Neck_TurnToPlayerOrScan* temp = _impl_.action_.neck_turn_to_player_or_scan_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.body_turn_to_angle_ = nullptr; + _impl_.action_.neck_turn_to_player_or_scan_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Body_TurnToAngle& PlayerAction::_internal_body_turn_to_angle() const { - return action_case() == kBodyTurnToAngle - ? *_impl_.action_.body_turn_to_angle_ - : reinterpret_cast<::protos::Body_TurnToAngle&>(::protos::_Body_TurnToAngle_default_instance_); +inline const ::protos::Neck_TurnToPlayerOrScan& PlayerAction::_internal_neck_turn_to_player_or_scan() const { + return action_case() == kNeckTurnToPlayerOrScan + ? *_impl_.action_.neck_turn_to_player_or_scan_ + : reinterpret_cast<::protos::Neck_TurnToPlayerOrScan&>(::protos::_Neck_TurnToPlayerOrScan_default_instance_); } -inline const ::protos::Body_TurnToAngle& PlayerAction::body_turn_to_angle() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.body_turn_to_angle) - return _internal_body_turn_to_angle(); +inline const ::protos::Neck_TurnToPlayerOrScan& PlayerAction::neck_turn_to_player_or_scan() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.neck_turn_to_player_or_scan) + return _internal_neck_turn_to_player_or_scan(); } -inline ::protos::Body_TurnToAngle* PlayerAction::unsafe_arena_release_body_turn_to_angle() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_turn_to_angle) - if (action_case() == kBodyTurnToAngle) { +inline ::protos::Neck_TurnToPlayerOrScan* PlayerAction::unsafe_arena_release_neck_turn_to_player_or_scan() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.neck_turn_to_player_or_scan) + if (action_case() == kNeckTurnToPlayerOrScan) { clear_has_action(); - ::protos::Body_TurnToAngle* temp = _impl_.action_.body_turn_to_angle_; - _impl_.action_.body_turn_to_angle_ = nullptr; + ::protos::Neck_TurnToPlayerOrScan* temp = _impl_.action_.neck_turn_to_player_or_scan_; + _impl_.action_.neck_turn_to_player_or_scan_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_body_turn_to_angle(::protos::Body_TurnToAngle* body_turn_to_angle) { +inline void PlayerAction::unsafe_arena_set_allocated_neck_turn_to_player_or_scan(::protos::Neck_TurnToPlayerOrScan* neck_turn_to_player_or_scan) { clear_action(); - if (body_turn_to_angle) { - set_has_body_turn_to_angle(); - _impl_.action_.body_turn_to_angle_ = body_turn_to_angle; + if (neck_turn_to_player_or_scan) { + set_has_neck_turn_to_player_or_scan(); + _impl_.action_.neck_turn_to_player_or_scan_ = neck_turn_to_player_or_scan; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_turn_to_angle) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.neck_turn_to_player_or_scan) } -inline ::protos::Body_TurnToAngle* PlayerAction::_internal_mutable_body_turn_to_angle() { - if (action_case() != kBodyTurnToAngle) { +inline ::protos::Neck_TurnToPlayerOrScan* PlayerAction::_internal_mutable_neck_turn_to_player_or_scan() { + if (action_case() != kNeckTurnToPlayerOrScan) { clear_action(); - set_has_body_turn_to_angle(); - _impl_.action_.body_turn_to_angle_ = CreateMaybeMessage< ::protos::Body_TurnToAngle >(GetArenaForAllocation()); + set_has_neck_turn_to_player_or_scan(); + _impl_.action_.neck_turn_to_player_or_scan_ = CreateMaybeMessage< ::protos::Neck_TurnToPlayerOrScan >(GetArenaForAllocation()); } - return _impl_.action_.body_turn_to_angle_; + return _impl_.action_.neck_turn_to_player_or_scan_; } -inline ::protos::Body_TurnToAngle* PlayerAction::mutable_body_turn_to_angle() { - ::protos::Body_TurnToAngle* _msg = _internal_mutable_body_turn_to_angle(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_turn_to_angle) +inline ::protos::Neck_TurnToPlayerOrScan* PlayerAction::mutable_neck_turn_to_player_or_scan() { + ::protos::Neck_TurnToPlayerOrScan* _msg = _internal_mutable_neck_turn_to_player_or_scan(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.neck_turn_to_player_or_scan) return _msg; } -// .protos.Body_TurnToBall body_turn_to_ball = 37; -inline bool PlayerAction::has_body_turn_to_ball() const { - return action_case() == kBodyTurnToBall; +// .protos.Neck_TurnToPoint neck_turn_to_point = 49; +inline bool PlayerAction::has_neck_turn_to_point() const { + return action_case() == kNeckTurnToPoint; } -inline bool PlayerAction::_internal_has_body_turn_to_ball() const { - return action_case() == kBodyTurnToBall; +inline bool PlayerAction::_internal_has_neck_turn_to_point() const { + return action_case() == kNeckTurnToPoint; } -inline void PlayerAction::set_has_body_turn_to_ball() { - _impl_._oneof_case_[0] = kBodyTurnToBall; +inline void PlayerAction::set_has_neck_turn_to_point() { + _impl_._oneof_case_[0] = kNeckTurnToPoint; } -inline void PlayerAction::clear_body_turn_to_ball() { - if (action_case() == kBodyTurnToBall) { +inline void PlayerAction::clear_neck_turn_to_point() { + if (action_case() == kNeckTurnToPoint) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.body_turn_to_ball_; + delete _impl_.action_.neck_turn_to_point_; } clear_has_action(); } } -inline ::protos::Body_TurnToBall* PlayerAction::release_body_turn_to_ball() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.body_turn_to_ball) - if (action_case() == kBodyTurnToBall) { +inline ::protos::Neck_TurnToPoint* PlayerAction::release_neck_turn_to_point() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.neck_turn_to_point) + if (action_case() == kNeckTurnToPoint) { clear_has_action(); - ::protos::Body_TurnToBall* temp = _impl_.action_.body_turn_to_ball_; + ::protos::Neck_TurnToPoint* temp = _impl_.action_.neck_turn_to_point_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.body_turn_to_ball_ = nullptr; + _impl_.action_.neck_turn_to_point_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Body_TurnToBall& PlayerAction::_internal_body_turn_to_ball() const { - return action_case() == kBodyTurnToBall - ? *_impl_.action_.body_turn_to_ball_ - : reinterpret_cast<::protos::Body_TurnToBall&>(::protos::_Body_TurnToBall_default_instance_); +inline const ::protos::Neck_TurnToPoint& PlayerAction::_internal_neck_turn_to_point() const { + return action_case() == kNeckTurnToPoint + ? *_impl_.action_.neck_turn_to_point_ + : reinterpret_cast<::protos::Neck_TurnToPoint&>(::protos::_Neck_TurnToPoint_default_instance_); } -inline const ::protos::Body_TurnToBall& PlayerAction::body_turn_to_ball() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.body_turn_to_ball) - return _internal_body_turn_to_ball(); +inline const ::protos::Neck_TurnToPoint& PlayerAction::neck_turn_to_point() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.neck_turn_to_point) + return _internal_neck_turn_to_point(); } -inline ::protos::Body_TurnToBall* PlayerAction::unsafe_arena_release_body_turn_to_ball() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_turn_to_ball) - if (action_case() == kBodyTurnToBall) { +inline ::protos::Neck_TurnToPoint* PlayerAction::unsafe_arena_release_neck_turn_to_point() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.neck_turn_to_point) + if (action_case() == kNeckTurnToPoint) { clear_has_action(); - ::protos::Body_TurnToBall* temp = _impl_.action_.body_turn_to_ball_; - _impl_.action_.body_turn_to_ball_ = nullptr; + ::protos::Neck_TurnToPoint* temp = _impl_.action_.neck_turn_to_point_; + _impl_.action_.neck_turn_to_point_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_body_turn_to_ball(::protos::Body_TurnToBall* body_turn_to_ball) { +inline void PlayerAction::unsafe_arena_set_allocated_neck_turn_to_point(::protos::Neck_TurnToPoint* neck_turn_to_point) { clear_action(); - if (body_turn_to_ball) { - set_has_body_turn_to_ball(); - _impl_.action_.body_turn_to_ball_ = body_turn_to_ball; + if (neck_turn_to_point) { + set_has_neck_turn_to_point(); + _impl_.action_.neck_turn_to_point_ = neck_turn_to_point; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_turn_to_ball) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.neck_turn_to_point) } -inline ::protos::Body_TurnToBall* PlayerAction::_internal_mutable_body_turn_to_ball() { - if (action_case() != kBodyTurnToBall) { +inline ::protos::Neck_TurnToPoint* PlayerAction::_internal_mutable_neck_turn_to_point() { + if (action_case() != kNeckTurnToPoint) { clear_action(); - set_has_body_turn_to_ball(); - _impl_.action_.body_turn_to_ball_ = CreateMaybeMessage< ::protos::Body_TurnToBall >(GetArenaForAllocation()); + set_has_neck_turn_to_point(); + _impl_.action_.neck_turn_to_point_ = CreateMaybeMessage< ::protos::Neck_TurnToPoint >(GetArenaForAllocation()); } - return _impl_.action_.body_turn_to_ball_; + return _impl_.action_.neck_turn_to_point_; } -inline ::protos::Body_TurnToBall* PlayerAction::mutable_body_turn_to_ball() { - ::protos::Body_TurnToBall* _msg = _internal_mutable_body_turn_to_ball(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_turn_to_ball) +inline ::protos::Neck_TurnToPoint* PlayerAction::mutable_neck_turn_to_point() { + ::protos::Neck_TurnToPoint* _msg = _internal_mutable_neck_turn_to_point(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.neck_turn_to_point) return _msg; } -// .protos.Body_TurnToPoint body_turn_to_point = 38; -inline bool PlayerAction::has_body_turn_to_point() const { - return action_case() == kBodyTurnToPoint; +// .protos.Neck_TurnToRelative neck_turn_to_relative = 50; +inline bool PlayerAction::has_neck_turn_to_relative() const { + return action_case() == kNeckTurnToRelative; } -inline bool PlayerAction::_internal_has_body_turn_to_point() const { - return action_case() == kBodyTurnToPoint; +inline bool PlayerAction::_internal_has_neck_turn_to_relative() const { + return action_case() == kNeckTurnToRelative; } -inline void PlayerAction::set_has_body_turn_to_point() { - _impl_._oneof_case_[0] = kBodyTurnToPoint; +inline void PlayerAction::set_has_neck_turn_to_relative() { + _impl_._oneof_case_[0] = kNeckTurnToRelative; } -inline void PlayerAction::clear_body_turn_to_point() { - if (action_case() == kBodyTurnToPoint) { +inline void PlayerAction::clear_neck_turn_to_relative() { + if (action_case() == kNeckTurnToRelative) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.body_turn_to_point_; + delete _impl_.action_.neck_turn_to_relative_; } clear_has_action(); } } -inline ::protos::Body_TurnToPoint* PlayerAction::release_body_turn_to_point() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.body_turn_to_point) - if (action_case() == kBodyTurnToPoint) { +inline ::protos::Neck_TurnToRelative* PlayerAction::release_neck_turn_to_relative() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.neck_turn_to_relative) + if (action_case() == kNeckTurnToRelative) { clear_has_action(); - ::protos::Body_TurnToPoint* temp = _impl_.action_.body_turn_to_point_; + ::protos::Neck_TurnToRelative* temp = _impl_.action_.neck_turn_to_relative_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.body_turn_to_point_ = nullptr; + _impl_.action_.neck_turn_to_relative_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Body_TurnToPoint& PlayerAction::_internal_body_turn_to_point() const { - return action_case() == kBodyTurnToPoint - ? *_impl_.action_.body_turn_to_point_ - : reinterpret_cast<::protos::Body_TurnToPoint&>(::protos::_Body_TurnToPoint_default_instance_); +inline const ::protos::Neck_TurnToRelative& PlayerAction::_internal_neck_turn_to_relative() const { + return action_case() == kNeckTurnToRelative + ? *_impl_.action_.neck_turn_to_relative_ + : reinterpret_cast<::protos::Neck_TurnToRelative&>(::protos::_Neck_TurnToRelative_default_instance_); } -inline const ::protos::Body_TurnToPoint& PlayerAction::body_turn_to_point() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.body_turn_to_point) - return _internal_body_turn_to_point(); +inline const ::protos::Neck_TurnToRelative& PlayerAction::neck_turn_to_relative() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.neck_turn_to_relative) + return _internal_neck_turn_to_relative(); } -inline ::protos::Body_TurnToPoint* PlayerAction::unsafe_arena_release_body_turn_to_point() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.body_turn_to_point) - if (action_case() == kBodyTurnToPoint) { +inline ::protos::Neck_TurnToRelative* PlayerAction::unsafe_arena_release_neck_turn_to_relative() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.neck_turn_to_relative) + if (action_case() == kNeckTurnToRelative) { clear_has_action(); - ::protos::Body_TurnToPoint* temp = _impl_.action_.body_turn_to_point_; - _impl_.action_.body_turn_to_point_ = nullptr; + ::protos::Neck_TurnToRelative* temp = _impl_.action_.neck_turn_to_relative_; + _impl_.action_.neck_turn_to_relative_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_body_turn_to_point(::protos::Body_TurnToPoint* body_turn_to_point) { +inline void PlayerAction::unsafe_arena_set_allocated_neck_turn_to_relative(::protos::Neck_TurnToRelative* neck_turn_to_relative) { clear_action(); - if (body_turn_to_point) { - set_has_body_turn_to_point(); - _impl_.action_.body_turn_to_point_ = body_turn_to_point; + if (neck_turn_to_relative) { + set_has_neck_turn_to_relative(); + _impl_.action_.neck_turn_to_relative_ = neck_turn_to_relative; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.body_turn_to_point) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.neck_turn_to_relative) } -inline ::protos::Body_TurnToPoint* PlayerAction::_internal_mutable_body_turn_to_point() { - if (action_case() != kBodyTurnToPoint) { +inline ::protos::Neck_TurnToRelative* PlayerAction::_internal_mutable_neck_turn_to_relative() { + if (action_case() != kNeckTurnToRelative) { clear_action(); - set_has_body_turn_to_point(); - _impl_.action_.body_turn_to_point_ = CreateMaybeMessage< ::protos::Body_TurnToPoint >(GetArenaForAllocation()); + set_has_neck_turn_to_relative(); + _impl_.action_.neck_turn_to_relative_ = CreateMaybeMessage< ::protos::Neck_TurnToRelative >(GetArenaForAllocation()); } - return _impl_.action_.body_turn_to_point_; + return _impl_.action_.neck_turn_to_relative_; } -inline ::protos::Body_TurnToPoint* PlayerAction::mutable_body_turn_to_point() { - ::protos::Body_TurnToPoint* _msg = _internal_mutable_body_turn_to_point(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.body_turn_to_point) +inline ::protos::Neck_TurnToRelative* PlayerAction::mutable_neck_turn_to_relative() { + ::protos::Neck_TurnToRelative* _msg = _internal_mutable_neck_turn_to_relative(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.neck_turn_to_relative) return _msg; } -// .protos.Focus_MoveToPoint focus_move_to_point = 39; -inline bool PlayerAction::has_focus_move_to_point() const { - return action_case() == kFocusMoveToPoint; +// .protos.View_ChangeWidth view_change_width = 51; +inline bool PlayerAction::has_view_change_width() const { + return action_case() == kViewChangeWidth; } -inline bool PlayerAction::_internal_has_focus_move_to_point() const { - return action_case() == kFocusMoveToPoint; +inline bool PlayerAction::_internal_has_view_change_width() const { + return action_case() == kViewChangeWidth; } -inline void PlayerAction::set_has_focus_move_to_point() { - _impl_._oneof_case_[0] = kFocusMoveToPoint; +inline void PlayerAction::set_has_view_change_width() { + _impl_._oneof_case_[0] = kViewChangeWidth; } -inline void PlayerAction::clear_focus_move_to_point() { - if (action_case() == kFocusMoveToPoint) { +inline void PlayerAction::clear_view_change_width() { + if (action_case() == kViewChangeWidth) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.focus_move_to_point_; + delete _impl_.action_.view_change_width_; } clear_has_action(); } } -inline ::protos::Focus_MoveToPoint* PlayerAction::release_focus_move_to_point() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.focus_move_to_point) - if (action_case() == kFocusMoveToPoint) { +inline ::protos::View_ChangeWidth* PlayerAction::release_view_change_width() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.view_change_width) + if (action_case() == kViewChangeWidth) { clear_has_action(); - ::protos::Focus_MoveToPoint* temp = _impl_.action_.focus_move_to_point_; + ::protos::View_ChangeWidth* temp = _impl_.action_.view_change_width_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.focus_move_to_point_ = nullptr; + _impl_.action_.view_change_width_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Focus_MoveToPoint& PlayerAction::_internal_focus_move_to_point() const { - return action_case() == kFocusMoveToPoint - ? *_impl_.action_.focus_move_to_point_ - : reinterpret_cast<::protos::Focus_MoveToPoint&>(::protos::_Focus_MoveToPoint_default_instance_); +inline const ::protos::View_ChangeWidth& PlayerAction::_internal_view_change_width() const { + return action_case() == kViewChangeWidth + ? *_impl_.action_.view_change_width_ + : reinterpret_cast<::protos::View_ChangeWidth&>(::protos::_View_ChangeWidth_default_instance_); } -inline const ::protos::Focus_MoveToPoint& PlayerAction::focus_move_to_point() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.focus_move_to_point) - return _internal_focus_move_to_point(); +inline const ::protos::View_ChangeWidth& PlayerAction::view_change_width() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.view_change_width) + return _internal_view_change_width(); } -inline ::protos::Focus_MoveToPoint* PlayerAction::unsafe_arena_release_focus_move_to_point() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.focus_move_to_point) - if (action_case() == kFocusMoveToPoint) { +inline ::protos::View_ChangeWidth* PlayerAction::unsafe_arena_release_view_change_width() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.view_change_width) + if (action_case() == kViewChangeWidth) { clear_has_action(); - ::protos::Focus_MoveToPoint* temp = _impl_.action_.focus_move_to_point_; - _impl_.action_.focus_move_to_point_ = nullptr; + ::protos::View_ChangeWidth* temp = _impl_.action_.view_change_width_; + _impl_.action_.view_change_width_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_focus_move_to_point(::protos::Focus_MoveToPoint* focus_move_to_point) { +inline void PlayerAction::unsafe_arena_set_allocated_view_change_width(::protos::View_ChangeWidth* view_change_width) { clear_action(); - if (focus_move_to_point) { - set_has_focus_move_to_point(); - _impl_.action_.focus_move_to_point_ = focus_move_to_point; + if (view_change_width) { + set_has_view_change_width(); + _impl_.action_.view_change_width_ = view_change_width; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.focus_move_to_point) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.view_change_width) } -inline ::protos::Focus_MoveToPoint* PlayerAction::_internal_mutable_focus_move_to_point() { - if (action_case() != kFocusMoveToPoint) { +inline ::protos::View_ChangeWidth* PlayerAction::_internal_mutable_view_change_width() { + if (action_case() != kViewChangeWidth) { clear_action(); - set_has_focus_move_to_point(); - _impl_.action_.focus_move_to_point_ = CreateMaybeMessage< ::protos::Focus_MoveToPoint >(GetArenaForAllocation()); + set_has_view_change_width(); + _impl_.action_.view_change_width_ = CreateMaybeMessage< ::protos::View_ChangeWidth >(GetArenaForAllocation()); } - return _impl_.action_.focus_move_to_point_; + return _impl_.action_.view_change_width_; } -inline ::protos::Focus_MoveToPoint* PlayerAction::mutable_focus_move_to_point() { - ::protos::Focus_MoveToPoint* _msg = _internal_mutable_focus_move_to_point(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.focus_move_to_point) +inline ::protos::View_ChangeWidth* PlayerAction::mutable_view_change_width() { + ::protos::View_ChangeWidth* _msg = _internal_mutable_view_change_width(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.view_change_width) return _msg; } -// .protos.Focus_Reset focus_reset = 40; -inline bool PlayerAction::has_focus_reset() const { - return action_case() == kFocusReset; +// .protos.View_Normal view_normal = 52; +inline bool PlayerAction::has_view_normal() const { + return action_case() == kViewNormal; } -inline bool PlayerAction::_internal_has_focus_reset() const { - return action_case() == kFocusReset; +inline bool PlayerAction::_internal_has_view_normal() const { + return action_case() == kViewNormal; } -inline void PlayerAction::set_has_focus_reset() { - _impl_._oneof_case_[0] = kFocusReset; +inline void PlayerAction::set_has_view_normal() { + _impl_._oneof_case_[0] = kViewNormal; } -inline void PlayerAction::clear_focus_reset() { - if (action_case() == kFocusReset) { +inline void PlayerAction::clear_view_normal() { + if (action_case() == kViewNormal) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.focus_reset_; + delete _impl_.action_.view_normal_; } clear_has_action(); } } -inline ::protos::Focus_Reset* PlayerAction::release_focus_reset() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.focus_reset) - if (action_case() == kFocusReset) { +inline ::protos::View_Normal* PlayerAction::release_view_normal() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.view_normal) + if (action_case() == kViewNormal) { clear_has_action(); - ::protos::Focus_Reset* temp = _impl_.action_.focus_reset_; + ::protos::View_Normal* temp = _impl_.action_.view_normal_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.focus_reset_ = nullptr; + _impl_.action_.view_normal_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Focus_Reset& PlayerAction::_internal_focus_reset() const { - return action_case() == kFocusReset - ? *_impl_.action_.focus_reset_ - : reinterpret_cast<::protos::Focus_Reset&>(::protos::_Focus_Reset_default_instance_); +inline const ::protos::View_Normal& PlayerAction::_internal_view_normal() const { + return action_case() == kViewNormal + ? *_impl_.action_.view_normal_ + : reinterpret_cast<::protos::View_Normal&>(::protos::_View_Normal_default_instance_); } -inline const ::protos::Focus_Reset& PlayerAction::focus_reset() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.focus_reset) - return _internal_focus_reset(); +inline const ::protos::View_Normal& PlayerAction::view_normal() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.view_normal) + return _internal_view_normal(); } -inline ::protos::Focus_Reset* PlayerAction::unsafe_arena_release_focus_reset() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.focus_reset) - if (action_case() == kFocusReset) { +inline ::protos::View_Normal* PlayerAction::unsafe_arena_release_view_normal() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.view_normal) + if (action_case() == kViewNormal) { clear_has_action(); - ::protos::Focus_Reset* temp = _impl_.action_.focus_reset_; - _impl_.action_.focus_reset_ = nullptr; + ::protos::View_Normal* temp = _impl_.action_.view_normal_; + _impl_.action_.view_normal_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_focus_reset(::protos::Focus_Reset* focus_reset) { +inline void PlayerAction::unsafe_arena_set_allocated_view_normal(::protos::View_Normal* view_normal) { clear_action(); - if (focus_reset) { - set_has_focus_reset(); - _impl_.action_.focus_reset_ = focus_reset; + if (view_normal) { + set_has_view_normal(); + _impl_.action_.view_normal_ = view_normal; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.focus_reset) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.view_normal) } -inline ::protos::Focus_Reset* PlayerAction::_internal_mutable_focus_reset() { - if (action_case() != kFocusReset) { +inline ::protos::View_Normal* PlayerAction::_internal_mutable_view_normal() { + if (action_case() != kViewNormal) { clear_action(); - set_has_focus_reset(); - _impl_.action_.focus_reset_ = CreateMaybeMessage< ::protos::Focus_Reset >(GetArenaForAllocation()); + set_has_view_normal(); + _impl_.action_.view_normal_ = CreateMaybeMessage< ::protos::View_Normal >(GetArenaForAllocation()); } - return _impl_.action_.focus_reset_; + return _impl_.action_.view_normal_; } -inline ::protos::Focus_Reset* PlayerAction::mutable_focus_reset() { - ::protos::Focus_Reset* _msg = _internal_mutable_focus_reset(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.focus_reset) +inline ::protos::View_Normal* PlayerAction::mutable_view_normal() { + ::protos::View_Normal* _msg = _internal_mutable_view_normal(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.view_normal) return _msg; } -// .protos.Neck_ScanField neck_scan_field = 41; -inline bool PlayerAction::has_neck_scan_field() const { - return action_case() == kNeckScanField; +// .protos.View_Synch view_synch = 53; +inline bool PlayerAction::has_view_synch() const { + return action_case() == kViewSynch; } -inline bool PlayerAction::_internal_has_neck_scan_field() const { - return action_case() == kNeckScanField; +inline bool PlayerAction::_internal_has_view_synch() const { + return action_case() == kViewSynch; } -inline void PlayerAction::set_has_neck_scan_field() { - _impl_._oneof_case_[0] = kNeckScanField; +inline void PlayerAction::set_has_view_synch() { + _impl_._oneof_case_[0] = kViewSynch; } -inline void PlayerAction::clear_neck_scan_field() { - if (action_case() == kNeckScanField) { +inline void PlayerAction::clear_view_synch() { + if (action_case() == kViewSynch) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.neck_scan_field_; + delete _impl_.action_.view_synch_; } clear_has_action(); } } -inline ::protos::Neck_ScanField* PlayerAction::release_neck_scan_field() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.neck_scan_field) - if (action_case() == kNeckScanField) { +inline ::protos::View_Synch* PlayerAction::release_view_synch() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.view_synch) + if (action_case() == kViewSynch) { clear_has_action(); - ::protos::Neck_ScanField* temp = _impl_.action_.neck_scan_field_; + ::protos::View_Synch* temp = _impl_.action_.view_synch_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.neck_scan_field_ = nullptr; + _impl_.action_.view_synch_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Neck_ScanField& PlayerAction::_internal_neck_scan_field() const { - return action_case() == kNeckScanField - ? *_impl_.action_.neck_scan_field_ - : reinterpret_cast<::protos::Neck_ScanField&>(::protos::_Neck_ScanField_default_instance_); +inline const ::protos::View_Synch& PlayerAction::_internal_view_synch() const { + return action_case() == kViewSynch + ? *_impl_.action_.view_synch_ + : reinterpret_cast<::protos::View_Synch&>(::protos::_View_Synch_default_instance_); } -inline const ::protos::Neck_ScanField& PlayerAction::neck_scan_field() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.neck_scan_field) - return _internal_neck_scan_field(); +inline const ::protos::View_Synch& PlayerAction::view_synch() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.view_synch) + return _internal_view_synch(); } -inline ::protos::Neck_ScanField* PlayerAction::unsafe_arena_release_neck_scan_field() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.neck_scan_field) - if (action_case() == kNeckScanField) { +inline ::protos::View_Synch* PlayerAction::unsafe_arena_release_view_synch() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.view_synch) + if (action_case() == kViewSynch) { clear_has_action(); - ::protos::Neck_ScanField* temp = _impl_.action_.neck_scan_field_; - _impl_.action_.neck_scan_field_ = nullptr; + ::protos::View_Synch* temp = _impl_.action_.view_synch_; + _impl_.action_.view_synch_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_neck_scan_field(::protos::Neck_ScanField* neck_scan_field) { +inline void PlayerAction::unsafe_arena_set_allocated_view_synch(::protos::View_Synch* view_synch) { clear_action(); - if (neck_scan_field) { - set_has_neck_scan_field(); - _impl_.action_.neck_scan_field_ = neck_scan_field; + if (view_synch) { + set_has_view_synch(); + _impl_.action_.view_synch_ = view_synch; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.neck_scan_field) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.view_synch) } -inline ::protos::Neck_ScanField* PlayerAction::_internal_mutable_neck_scan_field() { - if (action_case() != kNeckScanField) { +inline ::protos::View_Synch* PlayerAction::_internal_mutable_view_synch() { + if (action_case() != kViewSynch) { clear_action(); - set_has_neck_scan_field(); - _impl_.action_.neck_scan_field_ = CreateMaybeMessage< ::protos::Neck_ScanField >(GetArenaForAllocation()); + set_has_view_synch(); + _impl_.action_.view_synch_ = CreateMaybeMessage< ::protos::View_Synch >(GetArenaForAllocation()); } - return _impl_.action_.neck_scan_field_; + return _impl_.action_.view_synch_; } -inline ::protos::Neck_ScanField* PlayerAction::mutable_neck_scan_field() { - ::protos::Neck_ScanField* _msg = _internal_mutable_neck_scan_field(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.neck_scan_field) +inline ::protos::View_Synch* PlayerAction::mutable_view_synch() { + ::protos::View_Synch* _msg = _internal_mutable_view_synch(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.view_synch) return _msg; } -// .protos.Neck_ScanPlayers neck_scan_players = 42; -inline bool PlayerAction::has_neck_scan_players() const { - return action_case() == kNeckScanPlayers; +// .protos.View_Wide view_wide = 54; +inline bool PlayerAction::has_view_wide() const { + return action_case() == kViewWide; } -inline bool PlayerAction::_internal_has_neck_scan_players() const { - return action_case() == kNeckScanPlayers; +inline bool PlayerAction::_internal_has_view_wide() const { + return action_case() == kViewWide; } -inline void PlayerAction::set_has_neck_scan_players() { - _impl_._oneof_case_[0] = kNeckScanPlayers; +inline void PlayerAction::set_has_view_wide() { + _impl_._oneof_case_[0] = kViewWide; } -inline void PlayerAction::clear_neck_scan_players() { - if (action_case() == kNeckScanPlayers) { +inline void PlayerAction::clear_view_wide() { + if (action_case() == kViewWide) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.neck_scan_players_; + delete _impl_.action_.view_wide_; } clear_has_action(); } } -inline ::protos::Neck_ScanPlayers* PlayerAction::release_neck_scan_players() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.neck_scan_players) - if (action_case() == kNeckScanPlayers) { +inline ::protos::View_Wide* PlayerAction::release_view_wide() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.view_wide) + if (action_case() == kViewWide) { clear_has_action(); - ::protos::Neck_ScanPlayers* temp = _impl_.action_.neck_scan_players_; + ::protos::View_Wide* temp = _impl_.action_.view_wide_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.neck_scan_players_ = nullptr; + _impl_.action_.view_wide_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Neck_ScanPlayers& PlayerAction::_internal_neck_scan_players() const { - return action_case() == kNeckScanPlayers - ? *_impl_.action_.neck_scan_players_ - : reinterpret_cast<::protos::Neck_ScanPlayers&>(::protos::_Neck_ScanPlayers_default_instance_); +inline const ::protos::View_Wide& PlayerAction::_internal_view_wide() const { + return action_case() == kViewWide + ? *_impl_.action_.view_wide_ + : reinterpret_cast<::protos::View_Wide&>(::protos::_View_Wide_default_instance_); } -inline const ::protos::Neck_ScanPlayers& PlayerAction::neck_scan_players() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.neck_scan_players) - return _internal_neck_scan_players(); +inline const ::protos::View_Wide& PlayerAction::view_wide() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.view_wide) + return _internal_view_wide(); } -inline ::protos::Neck_ScanPlayers* PlayerAction::unsafe_arena_release_neck_scan_players() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.neck_scan_players) - if (action_case() == kNeckScanPlayers) { +inline ::protos::View_Wide* PlayerAction::unsafe_arena_release_view_wide() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.view_wide) + if (action_case() == kViewWide) { clear_has_action(); - ::protos::Neck_ScanPlayers* temp = _impl_.action_.neck_scan_players_; - _impl_.action_.neck_scan_players_ = nullptr; + ::protos::View_Wide* temp = _impl_.action_.view_wide_; + _impl_.action_.view_wide_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_neck_scan_players(::protos::Neck_ScanPlayers* neck_scan_players) { +inline void PlayerAction::unsafe_arena_set_allocated_view_wide(::protos::View_Wide* view_wide) { clear_action(); - if (neck_scan_players) { - set_has_neck_scan_players(); - _impl_.action_.neck_scan_players_ = neck_scan_players; + if (view_wide) { + set_has_view_wide(); + _impl_.action_.view_wide_ = view_wide; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.neck_scan_players) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.view_wide) } -inline ::protos::Neck_ScanPlayers* PlayerAction::_internal_mutable_neck_scan_players() { - if (action_case() != kNeckScanPlayers) { +inline ::protos::View_Wide* PlayerAction::_internal_mutable_view_wide() { + if (action_case() != kViewWide) { clear_action(); - set_has_neck_scan_players(); - _impl_.action_.neck_scan_players_ = CreateMaybeMessage< ::protos::Neck_ScanPlayers >(GetArenaForAllocation()); + set_has_view_wide(); + _impl_.action_.view_wide_ = CreateMaybeMessage< ::protos::View_Wide >(GetArenaForAllocation()); } - return _impl_.action_.neck_scan_players_; + return _impl_.action_.view_wide_; } -inline ::protos::Neck_ScanPlayers* PlayerAction::mutable_neck_scan_players() { - ::protos::Neck_ScanPlayers* _msg = _internal_mutable_neck_scan_players(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.neck_scan_players) +inline ::protos::View_Wide* PlayerAction::mutable_view_wide() { + ::protos::View_Wide* _msg = _internal_mutable_view_wide(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.view_wide) return _msg; } -// .protos.Neck_TurnToBallAndPlayer neck_turn_to_ball_and_player = 43; -inline bool PlayerAction::has_neck_turn_to_ball_and_player() const { - return action_case() == kNeckTurnToBallAndPlayer; +// .protos.HeliosGoalie helios_goalie = 55; +inline bool PlayerAction::has_helios_goalie() const { + return action_case() == kHeliosGoalie; } -inline bool PlayerAction::_internal_has_neck_turn_to_ball_and_player() const { - return action_case() == kNeckTurnToBallAndPlayer; +inline bool PlayerAction::_internal_has_helios_goalie() const { + return action_case() == kHeliosGoalie; } -inline void PlayerAction::set_has_neck_turn_to_ball_and_player() { - _impl_._oneof_case_[0] = kNeckTurnToBallAndPlayer; +inline void PlayerAction::set_has_helios_goalie() { + _impl_._oneof_case_[0] = kHeliosGoalie; } -inline void PlayerAction::clear_neck_turn_to_ball_and_player() { - if (action_case() == kNeckTurnToBallAndPlayer) { +inline void PlayerAction::clear_helios_goalie() { + if (action_case() == kHeliosGoalie) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.neck_turn_to_ball_and_player_; + delete _impl_.action_.helios_goalie_; } clear_has_action(); } } -inline ::protos::Neck_TurnToBallAndPlayer* PlayerAction::release_neck_turn_to_ball_and_player() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.neck_turn_to_ball_and_player) - if (action_case() == kNeckTurnToBallAndPlayer) { +inline ::protos::HeliosGoalie* PlayerAction::release_helios_goalie() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.helios_goalie) + if (action_case() == kHeliosGoalie) { clear_has_action(); - ::protos::Neck_TurnToBallAndPlayer* temp = _impl_.action_.neck_turn_to_ball_and_player_; + ::protos::HeliosGoalie* temp = _impl_.action_.helios_goalie_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.neck_turn_to_ball_and_player_ = nullptr; + _impl_.action_.helios_goalie_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Neck_TurnToBallAndPlayer& PlayerAction::_internal_neck_turn_to_ball_and_player() const { - return action_case() == kNeckTurnToBallAndPlayer - ? *_impl_.action_.neck_turn_to_ball_and_player_ - : reinterpret_cast<::protos::Neck_TurnToBallAndPlayer&>(::protos::_Neck_TurnToBallAndPlayer_default_instance_); +inline const ::protos::HeliosGoalie& PlayerAction::_internal_helios_goalie() const { + return action_case() == kHeliosGoalie + ? *_impl_.action_.helios_goalie_ + : reinterpret_cast<::protos::HeliosGoalie&>(::protos::_HeliosGoalie_default_instance_); } -inline const ::protos::Neck_TurnToBallAndPlayer& PlayerAction::neck_turn_to_ball_and_player() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.neck_turn_to_ball_and_player) - return _internal_neck_turn_to_ball_and_player(); +inline const ::protos::HeliosGoalie& PlayerAction::helios_goalie() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.helios_goalie) + return _internal_helios_goalie(); } -inline ::protos::Neck_TurnToBallAndPlayer* PlayerAction::unsafe_arena_release_neck_turn_to_ball_and_player() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.neck_turn_to_ball_and_player) - if (action_case() == kNeckTurnToBallAndPlayer) { +inline ::protos::HeliosGoalie* PlayerAction::unsafe_arena_release_helios_goalie() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.helios_goalie) + if (action_case() == kHeliosGoalie) { clear_has_action(); - ::protos::Neck_TurnToBallAndPlayer* temp = _impl_.action_.neck_turn_to_ball_and_player_; - _impl_.action_.neck_turn_to_ball_and_player_ = nullptr; + ::protos::HeliosGoalie* temp = _impl_.action_.helios_goalie_; + _impl_.action_.helios_goalie_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_neck_turn_to_ball_and_player(::protos::Neck_TurnToBallAndPlayer* neck_turn_to_ball_and_player) { +inline void PlayerAction::unsafe_arena_set_allocated_helios_goalie(::protos::HeliosGoalie* helios_goalie) { clear_action(); - if (neck_turn_to_ball_and_player) { - set_has_neck_turn_to_ball_and_player(); - _impl_.action_.neck_turn_to_ball_and_player_ = neck_turn_to_ball_and_player; + if (helios_goalie) { + set_has_helios_goalie(); + _impl_.action_.helios_goalie_ = helios_goalie; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.neck_turn_to_ball_and_player) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.helios_goalie) } -inline ::protos::Neck_TurnToBallAndPlayer* PlayerAction::_internal_mutable_neck_turn_to_ball_and_player() { - if (action_case() != kNeckTurnToBallAndPlayer) { +inline ::protos::HeliosGoalie* PlayerAction::_internal_mutable_helios_goalie() { + if (action_case() != kHeliosGoalie) { clear_action(); - set_has_neck_turn_to_ball_and_player(); - _impl_.action_.neck_turn_to_ball_and_player_ = CreateMaybeMessage< ::protos::Neck_TurnToBallAndPlayer >(GetArenaForAllocation()); + set_has_helios_goalie(); + _impl_.action_.helios_goalie_ = CreateMaybeMessage< ::protos::HeliosGoalie >(GetArenaForAllocation()); } - return _impl_.action_.neck_turn_to_ball_and_player_; + return _impl_.action_.helios_goalie_; } -inline ::protos::Neck_TurnToBallAndPlayer* PlayerAction::mutable_neck_turn_to_ball_and_player() { - ::protos::Neck_TurnToBallAndPlayer* _msg = _internal_mutable_neck_turn_to_ball_and_player(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.neck_turn_to_ball_and_player) +inline ::protos::HeliosGoalie* PlayerAction::mutable_helios_goalie() { + ::protos::HeliosGoalie* _msg = _internal_mutable_helios_goalie(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.helios_goalie) return _msg; } -// .protos.Neck_TurnToBallOrScan neck_turn_to_ball_or_scan = 44; -inline bool PlayerAction::has_neck_turn_to_ball_or_scan() const { - return action_case() == kNeckTurnToBallOrScan; +// .protos.HeliosGoalieMove helios_goalie_move = 56; +inline bool PlayerAction::has_helios_goalie_move() const { + return action_case() == kHeliosGoalieMove; } -inline bool PlayerAction::_internal_has_neck_turn_to_ball_or_scan() const { - return action_case() == kNeckTurnToBallOrScan; +inline bool PlayerAction::_internal_has_helios_goalie_move() const { + return action_case() == kHeliosGoalieMove; } -inline void PlayerAction::set_has_neck_turn_to_ball_or_scan() { - _impl_._oneof_case_[0] = kNeckTurnToBallOrScan; +inline void PlayerAction::set_has_helios_goalie_move() { + _impl_._oneof_case_[0] = kHeliosGoalieMove; } -inline void PlayerAction::clear_neck_turn_to_ball_or_scan() { - if (action_case() == kNeckTurnToBallOrScan) { +inline void PlayerAction::clear_helios_goalie_move() { + if (action_case() == kHeliosGoalieMove) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.neck_turn_to_ball_or_scan_; + delete _impl_.action_.helios_goalie_move_; } clear_has_action(); } } -inline ::protos::Neck_TurnToBallOrScan* PlayerAction::release_neck_turn_to_ball_or_scan() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.neck_turn_to_ball_or_scan) - if (action_case() == kNeckTurnToBallOrScan) { +inline ::protos::HeliosGoalieMove* PlayerAction::release_helios_goalie_move() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.helios_goalie_move) + if (action_case() == kHeliosGoalieMove) { clear_has_action(); - ::protos::Neck_TurnToBallOrScan* temp = _impl_.action_.neck_turn_to_ball_or_scan_; + ::protos::HeliosGoalieMove* temp = _impl_.action_.helios_goalie_move_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.neck_turn_to_ball_or_scan_ = nullptr; + _impl_.action_.helios_goalie_move_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Neck_TurnToBallOrScan& PlayerAction::_internal_neck_turn_to_ball_or_scan() const { - return action_case() == kNeckTurnToBallOrScan - ? *_impl_.action_.neck_turn_to_ball_or_scan_ - : reinterpret_cast<::protos::Neck_TurnToBallOrScan&>(::protos::_Neck_TurnToBallOrScan_default_instance_); +inline const ::protos::HeliosGoalieMove& PlayerAction::_internal_helios_goalie_move() const { + return action_case() == kHeliosGoalieMove + ? *_impl_.action_.helios_goalie_move_ + : reinterpret_cast<::protos::HeliosGoalieMove&>(::protos::_HeliosGoalieMove_default_instance_); } -inline const ::protos::Neck_TurnToBallOrScan& PlayerAction::neck_turn_to_ball_or_scan() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.neck_turn_to_ball_or_scan) - return _internal_neck_turn_to_ball_or_scan(); +inline const ::protos::HeliosGoalieMove& PlayerAction::helios_goalie_move() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.helios_goalie_move) + return _internal_helios_goalie_move(); } -inline ::protos::Neck_TurnToBallOrScan* PlayerAction::unsafe_arena_release_neck_turn_to_ball_or_scan() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.neck_turn_to_ball_or_scan) - if (action_case() == kNeckTurnToBallOrScan) { +inline ::protos::HeliosGoalieMove* PlayerAction::unsafe_arena_release_helios_goalie_move() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.helios_goalie_move) + if (action_case() == kHeliosGoalieMove) { clear_has_action(); - ::protos::Neck_TurnToBallOrScan* temp = _impl_.action_.neck_turn_to_ball_or_scan_; - _impl_.action_.neck_turn_to_ball_or_scan_ = nullptr; + ::protos::HeliosGoalieMove* temp = _impl_.action_.helios_goalie_move_; + _impl_.action_.helios_goalie_move_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_neck_turn_to_ball_or_scan(::protos::Neck_TurnToBallOrScan* neck_turn_to_ball_or_scan) { +inline void PlayerAction::unsafe_arena_set_allocated_helios_goalie_move(::protos::HeliosGoalieMove* helios_goalie_move) { clear_action(); - if (neck_turn_to_ball_or_scan) { - set_has_neck_turn_to_ball_or_scan(); - _impl_.action_.neck_turn_to_ball_or_scan_ = neck_turn_to_ball_or_scan; + if (helios_goalie_move) { + set_has_helios_goalie_move(); + _impl_.action_.helios_goalie_move_ = helios_goalie_move; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.neck_turn_to_ball_or_scan) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.helios_goalie_move) } -inline ::protos::Neck_TurnToBallOrScan* PlayerAction::_internal_mutable_neck_turn_to_ball_or_scan() { - if (action_case() != kNeckTurnToBallOrScan) { +inline ::protos::HeliosGoalieMove* PlayerAction::_internal_mutable_helios_goalie_move() { + if (action_case() != kHeliosGoalieMove) { clear_action(); - set_has_neck_turn_to_ball_or_scan(); - _impl_.action_.neck_turn_to_ball_or_scan_ = CreateMaybeMessage< ::protos::Neck_TurnToBallOrScan >(GetArenaForAllocation()); + set_has_helios_goalie_move(); + _impl_.action_.helios_goalie_move_ = CreateMaybeMessage< ::protos::HeliosGoalieMove >(GetArenaForAllocation()); } - return _impl_.action_.neck_turn_to_ball_or_scan_; + return _impl_.action_.helios_goalie_move_; } -inline ::protos::Neck_TurnToBallOrScan* PlayerAction::mutable_neck_turn_to_ball_or_scan() { - ::protos::Neck_TurnToBallOrScan* _msg = _internal_mutable_neck_turn_to_ball_or_scan(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.neck_turn_to_ball_or_scan) +inline ::protos::HeliosGoalieMove* PlayerAction::mutable_helios_goalie_move() { + ::protos::HeliosGoalieMove* _msg = _internal_mutable_helios_goalie_move(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.helios_goalie_move) return _msg; } -// .protos.Neck_TurnToBall neck_turn_to_ball = 45; -inline bool PlayerAction::has_neck_turn_to_ball() const { - return action_case() == kNeckTurnToBall; +// .protos.HeliosGoalieKick helios_goalie_kick = 57; +inline bool PlayerAction::has_helios_goalie_kick() const { + return action_case() == kHeliosGoalieKick; } -inline bool PlayerAction::_internal_has_neck_turn_to_ball() const { - return action_case() == kNeckTurnToBall; +inline bool PlayerAction::_internal_has_helios_goalie_kick() const { + return action_case() == kHeliosGoalieKick; } -inline void PlayerAction::set_has_neck_turn_to_ball() { - _impl_._oneof_case_[0] = kNeckTurnToBall; +inline void PlayerAction::set_has_helios_goalie_kick() { + _impl_._oneof_case_[0] = kHeliosGoalieKick; } -inline void PlayerAction::clear_neck_turn_to_ball() { - if (action_case() == kNeckTurnToBall) { +inline void PlayerAction::clear_helios_goalie_kick() { + if (action_case() == kHeliosGoalieKick) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.neck_turn_to_ball_; + delete _impl_.action_.helios_goalie_kick_; } clear_has_action(); } } -inline ::protos::Neck_TurnToBall* PlayerAction::release_neck_turn_to_ball() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.neck_turn_to_ball) - if (action_case() == kNeckTurnToBall) { +inline ::protos::HeliosGoalieKick* PlayerAction::release_helios_goalie_kick() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.helios_goalie_kick) + if (action_case() == kHeliosGoalieKick) { clear_has_action(); - ::protos::Neck_TurnToBall* temp = _impl_.action_.neck_turn_to_ball_; + ::protos::HeliosGoalieKick* temp = _impl_.action_.helios_goalie_kick_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.neck_turn_to_ball_ = nullptr; + _impl_.action_.helios_goalie_kick_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Neck_TurnToBall& PlayerAction::_internal_neck_turn_to_ball() const { - return action_case() == kNeckTurnToBall - ? *_impl_.action_.neck_turn_to_ball_ - : reinterpret_cast<::protos::Neck_TurnToBall&>(::protos::_Neck_TurnToBall_default_instance_); +inline const ::protos::HeliosGoalieKick& PlayerAction::_internal_helios_goalie_kick() const { + return action_case() == kHeliosGoalieKick + ? *_impl_.action_.helios_goalie_kick_ + : reinterpret_cast<::protos::HeliosGoalieKick&>(::protos::_HeliosGoalieKick_default_instance_); } -inline const ::protos::Neck_TurnToBall& PlayerAction::neck_turn_to_ball() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.neck_turn_to_ball) - return _internal_neck_turn_to_ball(); +inline const ::protos::HeliosGoalieKick& PlayerAction::helios_goalie_kick() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.helios_goalie_kick) + return _internal_helios_goalie_kick(); } -inline ::protos::Neck_TurnToBall* PlayerAction::unsafe_arena_release_neck_turn_to_ball() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.neck_turn_to_ball) - if (action_case() == kNeckTurnToBall) { +inline ::protos::HeliosGoalieKick* PlayerAction::unsafe_arena_release_helios_goalie_kick() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.helios_goalie_kick) + if (action_case() == kHeliosGoalieKick) { clear_has_action(); - ::protos::Neck_TurnToBall* temp = _impl_.action_.neck_turn_to_ball_; - _impl_.action_.neck_turn_to_ball_ = nullptr; + ::protos::HeliosGoalieKick* temp = _impl_.action_.helios_goalie_kick_; + _impl_.action_.helios_goalie_kick_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_neck_turn_to_ball(::protos::Neck_TurnToBall* neck_turn_to_ball) { +inline void PlayerAction::unsafe_arena_set_allocated_helios_goalie_kick(::protos::HeliosGoalieKick* helios_goalie_kick) { clear_action(); - if (neck_turn_to_ball) { - set_has_neck_turn_to_ball(); - _impl_.action_.neck_turn_to_ball_ = neck_turn_to_ball; + if (helios_goalie_kick) { + set_has_helios_goalie_kick(); + _impl_.action_.helios_goalie_kick_ = helios_goalie_kick; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.neck_turn_to_ball) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.helios_goalie_kick) } -inline ::protos::Neck_TurnToBall* PlayerAction::_internal_mutable_neck_turn_to_ball() { - if (action_case() != kNeckTurnToBall) { +inline ::protos::HeliosGoalieKick* PlayerAction::_internal_mutable_helios_goalie_kick() { + if (action_case() != kHeliosGoalieKick) { clear_action(); - set_has_neck_turn_to_ball(); - _impl_.action_.neck_turn_to_ball_ = CreateMaybeMessage< ::protos::Neck_TurnToBall >(GetArenaForAllocation()); + set_has_helios_goalie_kick(); + _impl_.action_.helios_goalie_kick_ = CreateMaybeMessage< ::protos::HeliosGoalieKick >(GetArenaForAllocation()); } - return _impl_.action_.neck_turn_to_ball_; + return _impl_.action_.helios_goalie_kick_; } -inline ::protos::Neck_TurnToBall* PlayerAction::mutable_neck_turn_to_ball() { - ::protos::Neck_TurnToBall* _msg = _internal_mutable_neck_turn_to_ball(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.neck_turn_to_ball) +inline ::protos::HeliosGoalieKick* PlayerAction::mutable_helios_goalie_kick() { + ::protos::HeliosGoalieKick* _msg = _internal_mutable_helios_goalie_kick(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.helios_goalie_kick) return _msg; } -// .protos.Neck_TurnToGoalieOrScan neck_turn_to_goalie_or_scan = 46; -inline bool PlayerAction::has_neck_turn_to_goalie_or_scan() const { - return action_case() == kNeckTurnToGoalieOrScan; +// .protos.HeliosShoot helios_shoot = 58; +inline bool PlayerAction::has_helios_shoot() const { + return action_case() == kHeliosShoot; } -inline bool PlayerAction::_internal_has_neck_turn_to_goalie_or_scan() const { - return action_case() == kNeckTurnToGoalieOrScan; +inline bool PlayerAction::_internal_has_helios_shoot() const { + return action_case() == kHeliosShoot; } -inline void PlayerAction::set_has_neck_turn_to_goalie_or_scan() { - _impl_._oneof_case_[0] = kNeckTurnToGoalieOrScan; +inline void PlayerAction::set_has_helios_shoot() { + _impl_._oneof_case_[0] = kHeliosShoot; } -inline void PlayerAction::clear_neck_turn_to_goalie_or_scan() { - if (action_case() == kNeckTurnToGoalieOrScan) { +inline void PlayerAction::clear_helios_shoot() { + if (action_case() == kHeliosShoot) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.neck_turn_to_goalie_or_scan_; + delete _impl_.action_.helios_shoot_; } clear_has_action(); } } -inline ::protos::Neck_TurnToGoalieOrScan* PlayerAction::release_neck_turn_to_goalie_or_scan() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.neck_turn_to_goalie_or_scan) - if (action_case() == kNeckTurnToGoalieOrScan) { +inline ::protos::HeliosShoot* PlayerAction::release_helios_shoot() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.helios_shoot) + if (action_case() == kHeliosShoot) { clear_has_action(); - ::protos::Neck_TurnToGoalieOrScan* temp = _impl_.action_.neck_turn_to_goalie_or_scan_; + ::protos::HeliosShoot* temp = _impl_.action_.helios_shoot_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.neck_turn_to_goalie_or_scan_ = nullptr; + _impl_.action_.helios_shoot_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Neck_TurnToGoalieOrScan& PlayerAction::_internal_neck_turn_to_goalie_or_scan() const { - return action_case() == kNeckTurnToGoalieOrScan - ? *_impl_.action_.neck_turn_to_goalie_or_scan_ - : reinterpret_cast<::protos::Neck_TurnToGoalieOrScan&>(::protos::_Neck_TurnToGoalieOrScan_default_instance_); +inline const ::protos::HeliosShoot& PlayerAction::_internal_helios_shoot() const { + return action_case() == kHeliosShoot + ? *_impl_.action_.helios_shoot_ + : reinterpret_cast<::protos::HeliosShoot&>(::protos::_HeliosShoot_default_instance_); } -inline const ::protos::Neck_TurnToGoalieOrScan& PlayerAction::neck_turn_to_goalie_or_scan() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.neck_turn_to_goalie_or_scan) - return _internal_neck_turn_to_goalie_or_scan(); +inline const ::protos::HeliosShoot& PlayerAction::helios_shoot() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.helios_shoot) + return _internal_helios_shoot(); } -inline ::protos::Neck_TurnToGoalieOrScan* PlayerAction::unsafe_arena_release_neck_turn_to_goalie_or_scan() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.neck_turn_to_goalie_or_scan) - if (action_case() == kNeckTurnToGoalieOrScan) { +inline ::protos::HeliosShoot* PlayerAction::unsafe_arena_release_helios_shoot() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.helios_shoot) + if (action_case() == kHeliosShoot) { clear_has_action(); - ::protos::Neck_TurnToGoalieOrScan* temp = _impl_.action_.neck_turn_to_goalie_or_scan_; - _impl_.action_.neck_turn_to_goalie_or_scan_ = nullptr; + ::protos::HeliosShoot* temp = _impl_.action_.helios_shoot_; + _impl_.action_.helios_shoot_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_neck_turn_to_goalie_or_scan(::protos::Neck_TurnToGoalieOrScan* neck_turn_to_goalie_or_scan) { +inline void PlayerAction::unsafe_arena_set_allocated_helios_shoot(::protos::HeliosShoot* helios_shoot) { clear_action(); - if (neck_turn_to_goalie_or_scan) { - set_has_neck_turn_to_goalie_or_scan(); - _impl_.action_.neck_turn_to_goalie_or_scan_ = neck_turn_to_goalie_or_scan; + if (helios_shoot) { + set_has_helios_shoot(); + _impl_.action_.helios_shoot_ = helios_shoot; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.neck_turn_to_goalie_or_scan) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.helios_shoot) } -inline ::protos::Neck_TurnToGoalieOrScan* PlayerAction::_internal_mutable_neck_turn_to_goalie_or_scan() { - if (action_case() != kNeckTurnToGoalieOrScan) { +inline ::protos::HeliosShoot* PlayerAction::_internal_mutable_helios_shoot() { + if (action_case() != kHeliosShoot) { clear_action(); - set_has_neck_turn_to_goalie_or_scan(); - _impl_.action_.neck_turn_to_goalie_or_scan_ = CreateMaybeMessage< ::protos::Neck_TurnToGoalieOrScan >(GetArenaForAllocation()); + set_has_helios_shoot(); + _impl_.action_.helios_shoot_ = CreateMaybeMessage< ::protos::HeliosShoot >(GetArenaForAllocation()); } - return _impl_.action_.neck_turn_to_goalie_or_scan_; + return _impl_.action_.helios_shoot_; } -inline ::protos::Neck_TurnToGoalieOrScan* PlayerAction::mutable_neck_turn_to_goalie_or_scan() { - ::protos::Neck_TurnToGoalieOrScan* _msg = _internal_mutable_neck_turn_to_goalie_or_scan(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.neck_turn_to_goalie_or_scan) +inline ::protos::HeliosShoot* PlayerAction::mutable_helios_shoot() { + ::protos::HeliosShoot* _msg = _internal_mutable_helios_shoot(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.helios_shoot) return _msg; } -// .protos.Neck_TurnToLowConfTeammate neck_turn_to_low_conf_teammate = 47; -inline bool PlayerAction::has_neck_turn_to_low_conf_teammate() const { - return action_case() == kNeckTurnToLowConfTeammate; +// .protos.HeliosChainAction helios_chain_action = 59; +inline bool PlayerAction::has_helios_chain_action() const { + return action_case() == kHeliosChainAction; } -inline bool PlayerAction::_internal_has_neck_turn_to_low_conf_teammate() const { - return action_case() == kNeckTurnToLowConfTeammate; +inline bool PlayerAction::_internal_has_helios_chain_action() const { + return action_case() == kHeliosChainAction; } -inline void PlayerAction::set_has_neck_turn_to_low_conf_teammate() { - _impl_._oneof_case_[0] = kNeckTurnToLowConfTeammate; +inline void PlayerAction::set_has_helios_chain_action() { + _impl_._oneof_case_[0] = kHeliosChainAction; } -inline void PlayerAction::clear_neck_turn_to_low_conf_teammate() { - if (action_case() == kNeckTurnToLowConfTeammate) { +inline void PlayerAction::clear_helios_chain_action() { + if (action_case() == kHeliosChainAction) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.neck_turn_to_low_conf_teammate_; + delete _impl_.action_.helios_chain_action_; } clear_has_action(); } } -inline ::protos::Neck_TurnToLowConfTeammate* PlayerAction::release_neck_turn_to_low_conf_teammate() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.neck_turn_to_low_conf_teammate) - if (action_case() == kNeckTurnToLowConfTeammate) { +inline ::protos::HeliosChainAction* PlayerAction::release_helios_chain_action() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.helios_chain_action) + if (action_case() == kHeliosChainAction) { clear_has_action(); - ::protos::Neck_TurnToLowConfTeammate* temp = _impl_.action_.neck_turn_to_low_conf_teammate_; + ::protos::HeliosChainAction* temp = _impl_.action_.helios_chain_action_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.neck_turn_to_low_conf_teammate_ = nullptr; + _impl_.action_.helios_chain_action_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Neck_TurnToLowConfTeammate& PlayerAction::_internal_neck_turn_to_low_conf_teammate() const { - return action_case() == kNeckTurnToLowConfTeammate - ? *_impl_.action_.neck_turn_to_low_conf_teammate_ - : reinterpret_cast<::protos::Neck_TurnToLowConfTeammate&>(::protos::_Neck_TurnToLowConfTeammate_default_instance_); +inline const ::protos::HeliosChainAction& PlayerAction::_internal_helios_chain_action() const { + return action_case() == kHeliosChainAction + ? *_impl_.action_.helios_chain_action_ + : reinterpret_cast<::protos::HeliosChainAction&>(::protos::_HeliosChainAction_default_instance_); } -inline const ::protos::Neck_TurnToLowConfTeammate& PlayerAction::neck_turn_to_low_conf_teammate() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.neck_turn_to_low_conf_teammate) - return _internal_neck_turn_to_low_conf_teammate(); +inline const ::protos::HeliosChainAction& PlayerAction::helios_chain_action() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.helios_chain_action) + return _internal_helios_chain_action(); } -inline ::protos::Neck_TurnToLowConfTeammate* PlayerAction::unsafe_arena_release_neck_turn_to_low_conf_teammate() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.neck_turn_to_low_conf_teammate) - if (action_case() == kNeckTurnToLowConfTeammate) { +inline ::protos::HeliosChainAction* PlayerAction::unsafe_arena_release_helios_chain_action() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.helios_chain_action) + if (action_case() == kHeliosChainAction) { clear_has_action(); - ::protos::Neck_TurnToLowConfTeammate* temp = _impl_.action_.neck_turn_to_low_conf_teammate_; - _impl_.action_.neck_turn_to_low_conf_teammate_ = nullptr; + ::protos::HeliosChainAction* temp = _impl_.action_.helios_chain_action_; + _impl_.action_.helios_chain_action_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_neck_turn_to_low_conf_teammate(::protos::Neck_TurnToLowConfTeammate* neck_turn_to_low_conf_teammate) { +inline void PlayerAction::unsafe_arena_set_allocated_helios_chain_action(::protos::HeliosChainAction* helios_chain_action) { clear_action(); - if (neck_turn_to_low_conf_teammate) { - set_has_neck_turn_to_low_conf_teammate(); - _impl_.action_.neck_turn_to_low_conf_teammate_ = neck_turn_to_low_conf_teammate; + if (helios_chain_action) { + set_has_helios_chain_action(); + _impl_.action_.helios_chain_action_ = helios_chain_action; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.neck_turn_to_low_conf_teammate) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.helios_chain_action) } -inline ::protos::Neck_TurnToLowConfTeammate* PlayerAction::_internal_mutable_neck_turn_to_low_conf_teammate() { - if (action_case() != kNeckTurnToLowConfTeammate) { +inline ::protos::HeliosChainAction* PlayerAction::_internal_mutable_helios_chain_action() { + if (action_case() != kHeliosChainAction) { clear_action(); - set_has_neck_turn_to_low_conf_teammate(); - _impl_.action_.neck_turn_to_low_conf_teammate_ = CreateMaybeMessage< ::protos::Neck_TurnToLowConfTeammate >(GetArenaForAllocation()); + set_has_helios_chain_action(); + _impl_.action_.helios_chain_action_ = CreateMaybeMessage< ::protos::HeliosChainAction >(GetArenaForAllocation()); } - return _impl_.action_.neck_turn_to_low_conf_teammate_; + return _impl_.action_.helios_chain_action_; } -inline ::protos::Neck_TurnToLowConfTeammate* PlayerAction::mutable_neck_turn_to_low_conf_teammate() { - ::protos::Neck_TurnToLowConfTeammate* _msg = _internal_mutable_neck_turn_to_low_conf_teammate(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.neck_turn_to_low_conf_teammate) +inline ::protos::HeliosChainAction* PlayerAction::mutable_helios_chain_action() { + ::protos::HeliosChainAction* _msg = _internal_mutable_helios_chain_action(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.helios_chain_action) return _msg; } -// .protos.Neck_TurnToPlayerOrScan neck_turn_to_player_or_scan = 48; -inline bool PlayerAction::has_neck_turn_to_player_or_scan() const { - return action_case() == kNeckTurnToPlayerOrScan; +// .protos.HeliosBasicOffensive helios_basic_offensive = 60; +inline bool PlayerAction::has_helios_basic_offensive() const { + return action_case() == kHeliosBasicOffensive; } -inline bool PlayerAction::_internal_has_neck_turn_to_player_or_scan() const { - return action_case() == kNeckTurnToPlayerOrScan; +inline bool PlayerAction::_internal_has_helios_basic_offensive() const { + return action_case() == kHeliosBasicOffensive; } -inline void PlayerAction::set_has_neck_turn_to_player_or_scan() { - _impl_._oneof_case_[0] = kNeckTurnToPlayerOrScan; +inline void PlayerAction::set_has_helios_basic_offensive() { + _impl_._oneof_case_[0] = kHeliosBasicOffensive; } -inline void PlayerAction::clear_neck_turn_to_player_or_scan() { - if (action_case() == kNeckTurnToPlayerOrScan) { +inline void PlayerAction::clear_helios_basic_offensive() { + if (action_case() == kHeliosBasicOffensive) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.neck_turn_to_player_or_scan_; + delete _impl_.action_.helios_basic_offensive_; } clear_has_action(); } } -inline ::protos::Neck_TurnToPlayerOrScan* PlayerAction::release_neck_turn_to_player_or_scan() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.neck_turn_to_player_or_scan) - if (action_case() == kNeckTurnToPlayerOrScan) { +inline ::protos::HeliosBasicOffensive* PlayerAction::release_helios_basic_offensive() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.helios_basic_offensive) + if (action_case() == kHeliosBasicOffensive) { clear_has_action(); - ::protos::Neck_TurnToPlayerOrScan* temp = _impl_.action_.neck_turn_to_player_or_scan_; + ::protos::HeliosBasicOffensive* temp = _impl_.action_.helios_basic_offensive_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.neck_turn_to_player_or_scan_ = nullptr; + _impl_.action_.helios_basic_offensive_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Neck_TurnToPlayerOrScan& PlayerAction::_internal_neck_turn_to_player_or_scan() const { - return action_case() == kNeckTurnToPlayerOrScan - ? *_impl_.action_.neck_turn_to_player_or_scan_ - : reinterpret_cast<::protos::Neck_TurnToPlayerOrScan&>(::protos::_Neck_TurnToPlayerOrScan_default_instance_); +inline const ::protos::HeliosBasicOffensive& PlayerAction::_internal_helios_basic_offensive() const { + return action_case() == kHeliosBasicOffensive + ? *_impl_.action_.helios_basic_offensive_ + : reinterpret_cast<::protos::HeliosBasicOffensive&>(::protos::_HeliosBasicOffensive_default_instance_); } -inline const ::protos::Neck_TurnToPlayerOrScan& PlayerAction::neck_turn_to_player_or_scan() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.neck_turn_to_player_or_scan) - return _internal_neck_turn_to_player_or_scan(); +inline const ::protos::HeliosBasicOffensive& PlayerAction::helios_basic_offensive() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.helios_basic_offensive) + return _internal_helios_basic_offensive(); } -inline ::protos::Neck_TurnToPlayerOrScan* PlayerAction::unsafe_arena_release_neck_turn_to_player_or_scan() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.neck_turn_to_player_or_scan) - if (action_case() == kNeckTurnToPlayerOrScan) { +inline ::protos::HeliosBasicOffensive* PlayerAction::unsafe_arena_release_helios_basic_offensive() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.helios_basic_offensive) + if (action_case() == kHeliosBasicOffensive) { clear_has_action(); - ::protos::Neck_TurnToPlayerOrScan* temp = _impl_.action_.neck_turn_to_player_or_scan_; - _impl_.action_.neck_turn_to_player_or_scan_ = nullptr; + ::protos::HeliosBasicOffensive* temp = _impl_.action_.helios_basic_offensive_; + _impl_.action_.helios_basic_offensive_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_neck_turn_to_player_or_scan(::protos::Neck_TurnToPlayerOrScan* neck_turn_to_player_or_scan) { +inline void PlayerAction::unsafe_arena_set_allocated_helios_basic_offensive(::protos::HeliosBasicOffensive* helios_basic_offensive) { clear_action(); - if (neck_turn_to_player_or_scan) { - set_has_neck_turn_to_player_or_scan(); - _impl_.action_.neck_turn_to_player_or_scan_ = neck_turn_to_player_or_scan; + if (helios_basic_offensive) { + set_has_helios_basic_offensive(); + _impl_.action_.helios_basic_offensive_ = helios_basic_offensive; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.neck_turn_to_player_or_scan) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.helios_basic_offensive) } -inline ::protos::Neck_TurnToPlayerOrScan* PlayerAction::_internal_mutable_neck_turn_to_player_or_scan() { - if (action_case() != kNeckTurnToPlayerOrScan) { +inline ::protos::HeliosBasicOffensive* PlayerAction::_internal_mutable_helios_basic_offensive() { + if (action_case() != kHeliosBasicOffensive) { clear_action(); - set_has_neck_turn_to_player_or_scan(); - _impl_.action_.neck_turn_to_player_or_scan_ = CreateMaybeMessage< ::protos::Neck_TurnToPlayerOrScan >(GetArenaForAllocation()); + set_has_helios_basic_offensive(); + _impl_.action_.helios_basic_offensive_ = CreateMaybeMessage< ::protos::HeliosBasicOffensive >(GetArenaForAllocation()); } - return _impl_.action_.neck_turn_to_player_or_scan_; + return _impl_.action_.helios_basic_offensive_; } -inline ::protos::Neck_TurnToPlayerOrScan* PlayerAction::mutable_neck_turn_to_player_or_scan() { - ::protos::Neck_TurnToPlayerOrScan* _msg = _internal_mutable_neck_turn_to_player_or_scan(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.neck_turn_to_player_or_scan) +inline ::protos::HeliosBasicOffensive* PlayerAction::mutable_helios_basic_offensive() { + ::protos::HeliosBasicOffensive* _msg = _internal_mutable_helios_basic_offensive(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.helios_basic_offensive) return _msg; } -// .protos.Neck_TurnToPoint neck_turn_to_point = 49; -inline bool PlayerAction::has_neck_turn_to_point() const { - return action_case() == kNeckTurnToPoint; +// .protos.HeliosBasicMove helios_basic_move = 61; +inline bool PlayerAction::has_helios_basic_move() const { + return action_case() == kHeliosBasicMove; } -inline bool PlayerAction::_internal_has_neck_turn_to_point() const { - return action_case() == kNeckTurnToPoint; +inline bool PlayerAction::_internal_has_helios_basic_move() const { + return action_case() == kHeliosBasicMove; } -inline void PlayerAction::set_has_neck_turn_to_point() { - _impl_._oneof_case_[0] = kNeckTurnToPoint; +inline void PlayerAction::set_has_helios_basic_move() { + _impl_._oneof_case_[0] = kHeliosBasicMove; } -inline void PlayerAction::clear_neck_turn_to_point() { - if (action_case() == kNeckTurnToPoint) { +inline void PlayerAction::clear_helios_basic_move() { + if (action_case() == kHeliosBasicMove) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.neck_turn_to_point_; + delete _impl_.action_.helios_basic_move_; } clear_has_action(); } } -inline ::protos::Neck_TurnToPoint* PlayerAction::release_neck_turn_to_point() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.neck_turn_to_point) - if (action_case() == kNeckTurnToPoint) { +inline ::protos::HeliosBasicMove* PlayerAction::release_helios_basic_move() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.helios_basic_move) + if (action_case() == kHeliosBasicMove) { clear_has_action(); - ::protos::Neck_TurnToPoint* temp = _impl_.action_.neck_turn_to_point_; + ::protos::HeliosBasicMove* temp = _impl_.action_.helios_basic_move_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.neck_turn_to_point_ = nullptr; + _impl_.action_.helios_basic_move_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Neck_TurnToPoint& PlayerAction::_internal_neck_turn_to_point() const { - return action_case() == kNeckTurnToPoint - ? *_impl_.action_.neck_turn_to_point_ - : reinterpret_cast<::protos::Neck_TurnToPoint&>(::protos::_Neck_TurnToPoint_default_instance_); +inline const ::protos::HeliosBasicMove& PlayerAction::_internal_helios_basic_move() const { + return action_case() == kHeliosBasicMove + ? *_impl_.action_.helios_basic_move_ + : reinterpret_cast<::protos::HeliosBasicMove&>(::protos::_HeliosBasicMove_default_instance_); } -inline const ::protos::Neck_TurnToPoint& PlayerAction::neck_turn_to_point() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.neck_turn_to_point) - return _internal_neck_turn_to_point(); +inline const ::protos::HeliosBasicMove& PlayerAction::helios_basic_move() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.helios_basic_move) + return _internal_helios_basic_move(); } -inline ::protos::Neck_TurnToPoint* PlayerAction::unsafe_arena_release_neck_turn_to_point() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.neck_turn_to_point) - if (action_case() == kNeckTurnToPoint) { +inline ::protos::HeliosBasicMove* PlayerAction::unsafe_arena_release_helios_basic_move() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.helios_basic_move) + if (action_case() == kHeliosBasicMove) { clear_has_action(); - ::protos::Neck_TurnToPoint* temp = _impl_.action_.neck_turn_to_point_; - _impl_.action_.neck_turn_to_point_ = nullptr; + ::protos::HeliosBasicMove* temp = _impl_.action_.helios_basic_move_; + _impl_.action_.helios_basic_move_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_neck_turn_to_point(::protos::Neck_TurnToPoint* neck_turn_to_point) { +inline void PlayerAction::unsafe_arena_set_allocated_helios_basic_move(::protos::HeliosBasicMove* helios_basic_move) { clear_action(); - if (neck_turn_to_point) { - set_has_neck_turn_to_point(); - _impl_.action_.neck_turn_to_point_ = neck_turn_to_point; + if (helios_basic_move) { + set_has_helios_basic_move(); + _impl_.action_.helios_basic_move_ = helios_basic_move; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.neck_turn_to_point) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.helios_basic_move) } -inline ::protos::Neck_TurnToPoint* PlayerAction::_internal_mutable_neck_turn_to_point() { - if (action_case() != kNeckTurnToPoint) { +inline ::protos::HeliosBasicMove* PlayerAction::_internal_mutable_helios_basic_move() { + if (action_case() != kHeliosBasicMove) { clear_action(); - set_has_neck_turn_to_point(); - _impl_.action_.neck_turn_to_point_ = CreateMaybeMessage< ::protos::Neck_TurnToPoint >(GetArenaForAllocation()); + set_has_helios_basic_move(); + _impl_.action_.helios_basic_move_ = CreateMaybeMessage< ::protos::HeliosBasicMove >(GetArenaForAllocation()); } - return _impl_.action_.neck_turn_to_point_; + return _impl_.action_.helios_basic_move_; } -inline ::protos::Neck_TurnToPoint* PlayerAction::mutable_neck_turn_to_point() { - ::protos::Neck_TurnToPoint* _msg = _internal_mutable_neck_turn_to_point(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.neck_turn_to_point) +inline ::protos::HeliosBasicMove* PlayerAction::mutable_helios_basic_move() { + ::protos::HeliosBasicMove* _msg = _internal_mutable_helios_basic_move(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.helios_basic_move) return _msg; } -// .protos.Neck_TurnToRelative neck_turn_to_relative = 50; -inline bool PlayerAction::has_neck_turn_to_relative() const { - return action_case() == kNeckTurnToRelative; +// .protos.HeliosSetPlay helios_set_play = 62; +inline bool PlayerAction::has_helios_set_play() const { + return action_case() == kHeliosSetPlay; } -inline bool PlayerAction::_internal_has_neck_turn_to_relative() const { - return action_case() == kNeckTurnToRelative; +inline bool PlayerAction::_internal_has_helios_set_play() const { + return action_case() == kHeliosSetPlay; } -inline void PlayerAction::set_has_neck_turn_to_relative() { - _impl_._oneof_case_[0] = kNeckTurnToRelative; +inline void PlayerAction::set_has_helios_set_play() { + _impl_._oneof_case_[0] = kHeliosSetPlay; } -inline void PlayerAction::clear_neck_turn_to_relative() { - if (action_case() == kNeckTurnToRelative) { +inline void PlayerAction::clear_helios_set_play() { + if (action_case() == kHeliosSetPlay) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.neck_turn_to_relative_; + delete _impl_.action_.helios_set_play_; } clear_has_action(); } } -inline ::protos::Neck_TurnToRelative* PlayerAction::release_neck_turn_to_relative() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.neck_turn_to_relative) - if (action_case() == kNeckTurnToRelative) { +inline ::protos::HeliosSetPlay* PlayerAction::release_helios_set_play() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.helios_set_play) + if (action_case() == kHeliosSetPlay) { clear_has_action(); - ::protos::Neck_TurnToRelative* temp = _impl_.action_.neck_turn_to_relative_; + ::protos::HeliosSetPlay* temp = _impl_.action_.helios_set_play_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.neck_turn_to_relative_ = nullptr; + _impl_.action_.helios_set_play_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::Neck_TurnToRelative& PlayerAction::_internal_neck_turn_to_relative() const { - return action_case() == kNeckTurnToRelative - ? *_impl_.action_.neck_turn_to_relative_ - : reinterpret_cast<::protos::Neck_TurnToRelative&>(::protos::_Neck_TurnToRelative_default_instance_); +inline const ::protos::HeliosSetPlay& PlayerAction::_internal_helios_set_play() const { + return action_case() == kHeliosSetPlay + ? *_impl_.action_.helios_set_play_ + : reinterpret_cast<::protos::HeliosSetPlay&>(::protos::_HeliosSetPlay_default_instance_); } -inline const ::protos::Neck_TurnToRelative& PlayerAction::neck_turn_to_relative() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.neck_turn_to_relative) - return _internal_neck_turn_to_relative(); +inline const ::protos::HeliosSetPlay& PlayerAction::helios_set_play() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.helios_set_play) + return _internal_helios_set_play(); } -inline ::protos::Neck_TurnToRelative* PlayerAction::unsafe_arena_release_neck_turn_to_relative() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.neck_turn_to_relative) - if (action_case() == kNeckTurnToRelative) { +inline ::protos::HeliosSetPlay* PlayerAction::unsafe_arena_release_helios_set_play() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.helios_set_play) + if (action_case() == kHeliosSetPlay) { clear_has_action(); - ::protos::Neck_TurnToRelative* temp = _impl_.action_.neck_turn_to_relative_; - _impl_.action_.neck_turn_to_relative_ = nullptr; + ::protos::HeliosSetPlay* temp = _impl_.action_.helios_set_play_; + _impl_.action_.helios_set_play_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_neck_turn_to_relative(::protos::Neck_TurnToRelative* neck_turn_to_relative) { +inline void PlayerAction::unsafe_arena_set_allocated_helios_set_play(::protos::HeliosSetPlay* helios_set_play) { clear_action(); - if (neck_turn_to_relative) { - set_has_neck_turn_to_relative(); - _impl_.action_.neck_turn_to_relative_ = neck_turn_to_relative; + if (helios_set_play) { + set_has_helios_set_play(); + _impl_.action_.helios_set_play_ = helios_set_play; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.neck_turn_to_relative) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.helios_set_play) } -inline ::protos::Neck_TurnToRelative* PlayerAction::_internal_mutable_neck_turn_to_relative() { - if (action_case() != kNeckTurnToRelative) { +inline ::protos::HeliosSetPlay* PlayerAction::_internal_mutable_helios_set_play() { + if (action_case() != kHeliosSetPlay) { clear_action(); - set_has_neck_turn_to_relative(); - _impl_.action_.neck_turn_to_relative_ = CreateMaybeMessage< ::protos::Neck_TurnToRelative >(GetArenaForAllocation()); + set_has_helios_set_play(); + _impl_.action_.helios_set_play_ = CreateMaybeMessage< ::protos::HeliosSetPlay >(GetArenaForAllocation()); } - return _impl_.action_.neck_turn_to_relative_; + return _impl_.action_.helios_set_play_; } -inline ::protos::Neck_TurnToRelative* PlayerAction::mutable_neck_turn_to_relative() { - ::protos::Neck_TurnToRelative* _msg = _internal_mutable_neck_turn_to_relative(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.neck_turn_to_relative) +inline ::protos::HeliosSetPlay* PlayerAction::mutable_helios_set_play() { + ::protos::HeliosSetPlay* _msg = _internal_mutable_helios_set_play(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.helios_set_play) return _msg; } -// .protos.View_ChangeWidth view_change_width = 51; -inline bool PlayerAction::has_view_change_width() const { - return action_case() == kViewChangeWidth; +// .protos.HeliosPenalty helios_penalty = 63; +inline bool PlayerAction::has_helios_penalty() const { + return action_case() == kHeliosPenalty; } -inline bool PlayerAction::_internal_has_view_change_width() const { - return action_case() == kViewChangeWidth; +inline bool PlayerAction::_internal_has_helios_penalty() const { + return action_case() == kHeliosPenalty; } -inline void PlayerAction::set_has_view_change_width() { - _impl_._oneof_case_[0] = kViewChangeWidth; +inline void PlayerAction::set_has_helios_penalty() { + _impl_._oneof_case_[0] = kHeliosPenalty; } -inline void PlayerAction::clear_view_change_width() { - if (action_case() == kViewChangeWidth) { +inline void PlayerAction::clear_helios_penalty() { + if (action_case() == kHeliosPenalty) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.view_change_width_; + delete _impl_.action_.helios_penalty_; } clear_has_action(); } } -inline ::protos::View_ChangeWidth* PlayerAction::release_view_change_width() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.view_change_width) - if (action_case() == kViewChangeWidth) { +inline ::protos::HeliosPenalty* PlayerAction::release_helios_penalty() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.helios_penalty) + if (action_case() == kHeliosPenalty) { clear_has_action(); - ::protos::View_ChangeWidth* temp = _impl_.action_.view_change_width_; + ::protos::HeliosPenalty* temp = _impl_.action_.helios_penalty_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.view_change_width_ = nullptr; + _impl_.action_.helios_penalty_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::View_ChangeWidth& PlayerAction::_internal_view_change_width() const { - return action_case() == kViewChangeWidth - ? *_impl_.action_.view_change_width_ - : reinterpret_cast<::protos::View_ChangeWidth&>(::protos::_View_ChangeWidth_default_instance_); +inline const ::protos::HeliosPenalty& PlayerAction::_internal_helios_penalty() const { + return action_case() == kHeliosPenalty + ? *_impl_.action_.helios_penalty_ + : reinterpret_cast<::protos::HeliosPenalty&>(::protos::_HeliosPenalty_default_instance_); } -inline const ::protos::View_ChangeWidth& PlayerAction::view_change_width() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.view_change_width) - return _internal_view_change_width(); +inline const ::protos::HeliosPenalty& PlayerAction::helios_penalty() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.helios_penalty) + return _internal_helios_penalty(); } -inline ::protos::View_ChangeWidth* PlayerAction::unsafe_arena_release_view_change_width() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.view_change_width) - if (action_case() == kViewChangeWidth) { +inline ::protos::HeliosPenalty* PlayerAction::unsafe_arena_release_helios_penalty() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.helios_penalty) + if (action_case() == kHeliosPenalty) { clear_has_action(); - ::protos::View_ChangeWidth* temp = _impl_.action_.view_change_width_; - _impl_.action_.view_change_width_ = nullptr; + ::protos::HeliosPenalty* temp = _impl_.action_.helios_penalty_; + _impl_.action_.helios_penalty_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_view_change_width(::protos::View_ChangeWidth* view_change_width) { +inline void PlayerAction::unsafe_arena_set_allocated_helios_penalty(::protos::HeliosPenalty* helios_penalty) { clear_action(); - if (view_change_width) { - set_has_view_change_width(); - _impl_.action_.view_change_width_ = view_change_width; + if (helios_penalty) { + set_has_helios_penalty(); + _impl_.action_.helios_penalty_ = helios_penalty; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.view_change_width) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.helios_penalty) } -inline ::protos::View_ChangeWidth* PlayerAction::_internal_mutable_view_change_width() { - if (action_case() != kViewChangeWidth) { +inline ::protos::HeliosPenalty* PlayerAction::_internal_mutable_helios_penalty() { + if (action_case() != kHeliosPenalty) { clear_action(); - set_has_view_change_width(); - _impl_.action_.view_change_width_ = CreateMaybeMessage< ::protos::View_ChangeWidth >(GetArenaForAllocation()); + set_has_helios_penalty(); + _impl_.action_.helios_penalty_ = CreateMaybeMessage< ::protos::HeliosPenalty >(GetArenaForAllocation()); } - return _impl_.action_.view_change_width_; + return _impl_.action_.helios_penalty_; } -inline ::protos::View_ChangeWidth* PlayerAction::mutable_view_change_width() { - ::protos::View_ChangeWidth* _msg = _internal_mutable_view_change_width(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.view_change_width) +inline ::protos::HeliosPenalty* PlayerAction::mutable_helios_penalty() { + ::protos::HeliosPenalty* _msg = _internal_mutable_helios_penalty(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.helios_penalty) return _msg; } -// .protos.View_Normal view_normal = 52; -inline bool PlayerAction::has_view_normal() const { - return action_case() == kViewNormal; +// .protos.HeliosCommunicaion helios_communication = 64; +inline bool PlayerAction::has_helios_communication() const { + return action_case() == kHeliosCommunication; } -inline bool PlayerAction::_internal_has_view_normal() const { - return action_case() == kViewNormal; +inline bool PlayerAction::_internal_has_helios_communication() const { + return action_case() == kHeliosCommunication; } -inline void PlayerAction::set_has_view_normal() { - _impl_._oneof_case_[0] = kViewNormal; +inline void PlayerAction::set_has_helios_communication() { + _impl_._oneof_case_[0] = kHeliosCommunication; } -inline void PlayerAction::clear_view_normal() { - if (action_case() == kViewNormal) { +inline void PlayerAction::clear_helios_communication() { + if (action_case() == kHeliosCommunication) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.view_normal_; + delete _impl_.action_.helios_communication_; } clear_has_action(); } } -inline ::protos::View_Normal* PlayerAction::release_view_normal() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.view_normal) - if (action_case() == kViewNormal) { +inline ::protos::HeliosCommunicaion* PlayerAction::release_helios_communication() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.helios_communication) + if (action_case() == kHeliosCommunication) { clear_has_action(); - ::protos::View_Normal* temp = _impl_.action_.view_normal_; + ::protos::HeliosCommunicaion* temp = _impl_.action_.helios_communication_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.view_normal_ = nullptr; + _impl_.action_.helios_communication_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::View_Normal& PlayerAction::_internal_view_normal() const { - return action_case() == kViewNormal - ? *_impl_.action_.view_normal_ - : reinterpret_cast<::protos::View_Normal&>(::protos::_View_Normal_default_instance_); +inline const ::protos::HeliosCommunicaion& PlayerAction::_internal_helios_communication() const { + return action_case() == kHeliosCommunication + ? *_impl_.action_.helios_communication_ + : reinterpret_cast<::protos::HeliosCommunicaion&>(::protos::_HeliosCommunicaion_default_instance_); } -inline const ::protos::View_Normal& PlayerAction::view_normal() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.view_normal) - return _internal_view_normal(); +inline const ::protos::HeliosCommunicaion& PlayerAction::helios_communication() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.helios_communication) + return _internal_helios_communication(); } -inline ::protos::View_Normal* PlayerAction::unsafe_arena_release_view_normal() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.view_normal) - if (action_case() == kViewNormal) { +inline ::protos::HeliosCommunicaion* PlayerAction::unsafe_arena_release_helios_communication() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.helios_communication) + if (action_case() == kHeliosCommunication) { clear_has_action(); - ::protos::View_Normal* temp = _impl_.action_.view_normal_; - _impl_.action_.view_normal_ = nullptr; + ::protos::HeliosCommunicaion* temp = _impl_.action_.helios_communication_; + _impl_.action_.helios_communication_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_view_normal(::protos::View_Normal* view_normal) { +inline void PlayerAction::unsafe_arena_set_allocated_helios_communication(::protos::HeliosCommunicaion* helios_communication) { clear_action(); - if (view_normal) { - set_has_view_normal(); - _impl_.action_.view_normal_ = view_normal; + if (helios_communication) { + set_has_helios_communication(); + _impl_.action_.helios_communication_ = helios_communication; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.view_normal) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.helios_communication) } -inline ::protos::View_Normal* PlayerAction::_internal_mutable_view_normal() { - if (action_case() != kViewNormal) { +inline ::protos::HeliosCommunicaion* PlayerAction::_internal_mutable_helios_communication() { + if (action_case() != kHeliosCommunication) { clear_action(); - set_has_view_normal(); - _impl_.action_.view_normal_ = CreateMaybeMessage< ::protos::View_Normal >(GetArenaForAllocation()); + set_has_helios_communication(); + _impl_.action_.helios_communication_ = CreateMaybeMessage< ::protos::HeliosCommunicaion >(GetArenaForAllocation()); } - return _impl_.action_.view_normal_; + return _impl_.action_.helios_communication_; +} +inline ::protos::HeliosCommunicaion* PlayerAction::mutable_helios_communication() { + ::protos::HeliosCommunicaion* _msg = _internal_mutable_helios_communication(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.helios_communication) + return _msg; +} + +inline bool PlayerAction::has_action() const { + return action_case() != ACTION_NOT_SET; +} +inline void PlayerAction::clear_has_action() { + _impl_._oneof_case_[0] = ACTION_NOT_SET; +} +inline PlayerAction::ActionCase PlayerAction::action_case() const { + return PlayerAction::ActionCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// PlayerActions + +// repeated .protos.PlayerAction actions = 1; +inline int PlayerActions::_internal_actions_size() const { + return _impl_.actions_.size(); +} +inline int PlayerActions::actions_size() const { + return _internal_actions_size(); +} +inline void PlayerActions::clear_actions() { + _internal_mutable_actions()->Clear(); +} +inline ::protos::PlayerAction* PlayerActions::mutable_actions(int index) { + // @@protoc_insertion_point(field_mutable:protos.PlayerActions.actions) + return _internal_mutable_actions()->Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::protos::PlayerAction >* +PlayerActions::mutable_actions() { + // @@protoc_insertion_point(field_mutable_list:protos.PlayerActions.actions) + return _internal_mutable_actions(); +} +inline const ::protos::PlayerAction& PlayerActions::_internal_actions(int index) const { + return _internal_actions().Get(index); +} +inline const ::protos::PlayerAction& PlayerActions::actions(int index) const { + // @@protoc_insertion_point(field_get:protos.PlayerActions.actions) + return _internal_actions(index); +} +inline ::protos::PlayerAction* PlayerActions::_internal_add_actions() { + return _internal_mutable_actions()->Add(); +} +inline ::protos::PlayerAction* PlayerActions::add_actions() { + ::protos::PlayerAction* _add = _internal_add_actions(); + // @@protoc_insertion_point(field_add:protos.PlayerActions.actions) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::protos::PlayerAction >& +PlayerActions::actions() const { + // @@protoc_insertion_point(field_list:protos.PlayerActions.actions) + return _internal_actions(); +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protos::PlayerAction>& +PlayerActions::_internal_actions() const { + return _impl_.actions_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protos::PlayerAction>* +PlayerActions::_internal_mutable_actions() { + return &_impl_.actions_; +} + +// bool ignore_preprocess = 2; +inline void PlayerActions::clear_ignore_preprocess() { + _impl_.ignore_preprocess_ = false; +} +inline bool PlayerActions::ignore_preprocess() const { + // @@protoc_insertion_point(field_get:protos.PlayerActions.ignore_preprocess) + return _internal_ignore_preprocess(); +} +inline void PlayerActions::set_ignore_preprocess(bool value) { + _internal_set_ignore_preprocess(value); + // @@protoc_insertion_point(field_set:protos.PlayerActions.ignore_preprocess) +} +inline bool PlayerActions::_internal_ignore_preprocess() const { + return _impl_.ignore_preprocess_; +} +inline void PlayerActions::_internal_set_ignore_preprocess(bool value) { + ; + _impl_.ignore_preprocess_ = value; +} + +// ------------------------------------------------------------------- + +// ChangePlayerType + +// int32 uniform_number = 1; +inline void ChangePlayerType::clear_uniform_number() { + _impl_.uniform_number_ = 0; +} +inline ::int32_t ChangePlayerType::uniform_number() const { + // @@protoc_insertion_point(field_get:protos.ChangePlayerType.uniform_number) + return _internal_uniform_number(); +} +inline void ChangePlayerType::set_uniform_number(::int32_t value) { + _internal_set_uniform_number(value); + // @@protoc_insertion_point(field_set:protos.ChangePlayerType.uniform_number) +} +inline ::int32_t ChangePlayerType::_internal_uniform_number() const { + return _impl_.uniform_number_; +} +inline void ChangePlayerType::_internal_set_uniform_number(::int32_t value) { + ; + _impl_.uniform_number_ = value; +} + +// int32 type = 2; +inline void ChangePlayerType::clear_type() { + _impl_.type_ = 0; +} +inline ::int32_t ChangePlayerType::type() const { + // @@protoc_insertion_point(field_get:protos.ChangePlayerType.type) + return _internal_type(); +} +inline void ChangePlayerType::set_type(::int32_t value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:protos.ChangePlayerType.type) +} +inline ::int32_t ChangePlayerType::_internal_type() const { + return _impl_.type_; } -inline ::protos::View_Normal* PlayerAction::mutable_view_normal() { - ::protos::View_Normal* _msg = _internal_mutable_view_normal(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.view_normal) - return _msg; +inline void ChangePlayerType::_internal_set_type(::int32_t value) { + ; + _impl_.type_ = value; } -// .protos.View_Synch view_synch = 53; -inline bool PlayerAction::has_view_synch() const { - return action_case() == kViewSynch; +// ------------------------------------------------------------------- + +// DoHeliosSubstitute + +// ------------------------------------------------------------------- + +// DoHeliosSayPlayerTypes + +// ------------------------------------------------------------------- + +// CoachAction + +// .protos.ChangePlayerType change_player_types = 1; +inline bool CoachAction::has_change_player_types() const { + return action_case() == kChangePlayerTypes; } -inline bool PlayerAction::_internal_has_view_synch() const { - return action_case() == kViewSynch; +inline bool CoachAction::_internal_has_change_player_types() const { + return action_case() == kChangePlayerTypes; } -inline void PlayerAction::set_has_view_synch() { - _impl_._oneof_case_[0] = kViewSynch; +inline void CoachAction::set_has_change_player_types() { + _impl_._oneof_case_[0] = kChangePlayerTypes; } -inline void PlayerAction::clear_view_synch() { - if (action_case() == kViewSynch) { +inline void CoachAction::clear_change_player_types() { + if (action_case() == kChangePlayerTypes) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.view_synch_; + delete _impl_.action_.change_player_types_; } clear_has_action(); } } -inline ::protos::View_Synch* PlayerAction::release_view_synch() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.view_synch) - if (action_case() == kViewSynch) { +inline ::protos::ChangePlayerType* CoachAction::release_change_player_types() { + // @@protoc_insertion_point(field_release:protos.CoachAction.change_player_types) + if (action_case() == kChangePlayerTypes) { clear_has_action(); - ::protos::View_Synch* temp = _impl_.action_.view_synch_; + ::protos::ChangePlayerType* temp = _impl_.action_.change_player_types_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.view_synch_ = nullptr; + _impl_.action_.change_player_types_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::View_Synch& PlayerAction::_internal_view_synch() const { - return action_case() == kViewSynch - ? *_impl_.action_.view_synch_ - : reinterpret_cast<::protos::View_Synch&>(::protos::_View_Synch_default_instance_); +inline const ::protos::ChangePlayerType& CoachAction::_internal_change_player_types() const { + return action_case() == kChangePlayerTypes + ? *_impl_.action_.change_player_types_ + : reinterpret_cast<::protos::ChangePlayerType&>(::protos::_ChangePlayerType_default_instance_); } -inline const ::protos::View_Synch& PlayerAction::view_synch() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.view_synch) - return _internal_view_synch(); +inline const ::protos::ChangePlayerType& CoachAction::change_player_types() const { + // @@protoc_insertion_point(field_get:protos.CoachAction.change_player_types) + return _internal_change_player_types(); } -inline ::protos::View_Synch* PlayerAction::unsafe_arena_release_view_synch() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.view_synch) - if (action_case() == kViewSynch) { +inline ::protos::ChangePlayerType* CoachAction::unsafe_arena_release_change_player_types() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.CoachAction.change_player_types) + if (action_case() == kChangePlayerTypes) { clear_has_action(); - ::protos::View_Synch* temp = _impl_.action_.view_synch_; - _impl_.action_.view_synch_ = nullptr; + ::protos::ChangePlayerType* temp = _impl_.action_.change_player_types_; + _impl_.action_.change_player_types_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_view_synch(::protos::View_Synch* view_synch) { +inline void CoachAction::unsafe_arena_set_allocated_change_player_types(::protos::ChangePlayerType* change_player_types) { clear_action(); - if (view_synch) { - set_has_view_synch(); - _impl_.action_.view_synch_ = view_synch; + if (change_player_types) { + set_has_change_player_types(); + _impl_.action_.change_player_types_ = change_player_types; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.view_synch) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.CoachAction.change_player_types) } -inline ::protos::View_Synch* PlayerAction::_internal_mutable_view_synch() { - if (action_case() != kViewSynch) { +inline ::protos::ChangePlayerType* CoachAction::_internal_mutable_change_player_types() { + if (action_case() != kChangePlayerTypes) { clear_action(); - set_has_view_synch(); - _impl_.action_.view_synch_ = CreateMaybeMessage< ::protos::View_Synch >(GetArenaForAllocation()); + set_has_change_player_types(); + _impl_.action_.change_player_types_ = CreateMaybeMessage< ::protos::ChangePlayerType >(GetArenaForAllocation()); } - return _impl_.action_.view_synch_; + return _impl_.action_.change_player_types_; } -inline ::protos::View_Synch* PlayerAction::mutable_view_synch() { - ::protos::View_Synch* _msg = _internal_mutable_view_synch(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.view_synch) +inline ::protos::ChangePlayerType* CoachAction::mutable_change_player_types() { + ::protos::ChangePlayerType* _msg = _internal_mutable_change_player_types(); + // @@protoc_insertion_point(field_mutable:protos.CoachAction.change_player_types) return _msg; } -// .protos.View_Wide view_wide = 54; -inline bool PlayerAction::has_view_wide() const { - return action_case() == kViewWide; +// .protos.DoHeliosSubstitute do_helios_substitute = 2; +inline bool CoachAction::has_do_helios_substitute() const { + return action_case() == kDoHeliosSubstitute; } -inline bool PlayerAction::_internal_has_view_wide() const { - return action_case() == kViewWide; +inline bool CoachAction::_internal_has_do_helios_substitute() const { + return action_case() == kDoHeliosSubstitute; } -inline void PlayerAction::set_has_view_wide() { - _impl_._oneof_case_[0] = kViewWide; +inline void CoachAction::set_has_do_helios_substitute() { + _impl_._oneof_case_[0] = kDoHeliosSubstitute; } -inline void PlayerAction::clear_view_wide() { - if (action_case() == kViewWide) { +inline void CoachAction::clear_do_helios_substitute() { + if (action_case() == kDoHeliosSubstitute) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.view_wide_; + delete _impl_.action_.do_helios_substitute_; } clear_has_action(); } } -inline ::protos::View_Wide* PlayerAction::release_view_wide() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.view_wide) - if (action_case() == kViewWide) { +inline ::protos::DoHeliosSubstitute* CoachAction::release_do_helios_substitute() { + // @@protoc_insertion_point(field_release:protos.CoachAction.do_helios_substitute) + if (action_case() == kDoHeliosSubstitute) { clear_has_action(); - ::protos::View_Wide* temp = _impl_.action_.view_wide_; + ::protos::DoHeliosSubstitute* temp = _impl_.action_.do_helios_substitute_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.view_wide_ = nullptr; + _impl_.action_.do_helios_substitute_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::View_Wide& PlayerAction::_internal_view_wide() const { - return action_case() == kViewWide - ? *_impl_.action_.view_wide_ - : reinterpret_cast<::protos::View_Wide&>(::protos::_View_Wide_default_instance_); +inline const ::protos::DoHeliosSubstitute& CoachAction::_internal_do_helios_substitute() const { + return action_case() == kDoHeliosSubstitute + ? *_impl_.action_.do_helios_substitute_ + : reinterpret_cast<::protos::DoHeliosSubstitute&>(::protos::_DoHeliosSubstitute_default_instance_); } -inline const ::protos::View_Wide& PlayerAction::view_wide() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.view_wide) - return _internal_view_wide(); +inline const ::protos::DoHeliosSubstitute& CoachAction::do_helios_substitute() const { + // @@protoc_insertion_point(field_get:protos.CoachAction.do_helios_substitute) + return _internal_do_helios_substitute(); } -inline ::protos::View_Wide* PlayerAction::unsafe_arena_release_view_wide() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.view_wide) - if (action_case() == kViewWide) { +inline ::protos::DoHeliosSubstitute* CoachAction::unsafe_arena_release_do_helios_substitute() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.CoachAction.do_helios_substitute) + if (action_case() == kDoHeliosSubstitute) { clear_has_action(); - ::protos::View_Wide* temp = _impl_.action_.view_wide_; - _impl_.action_.view_wide_ = nullptr; + ::protos::DoHeliosSubstitute* temp = _impl_.action_.do_helios_substitute_; + _impl_.action_.do_helios_substitute_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_view_wide(::protos::View_Wide* view_wide) { +inline void CoachAction::unsafe_arena_set_allocated_do_helios_substitute(::protos::DoHeliosSubstitute* do_helios_substitute) { clear_action(); - if (view_wide) { - set_has_view_wide(); - _impl_.action_.view_wide_ = view_wide; + if (do_helios_substitute) { + set_has_do_helios_substitute(); + _impl_.action_.do_helios_substitute_ = do_helios_substitute; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.view_wide) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.CoachAction.do_helios_substitute) } -inline ::protos::View_Wide* PlayerAction::_internal_mutable_view_wide() { - if (action_case() != kViewWide) { +inline ::protos::DoHeliosSubstitute* CoachAction::_internal_mutable_do_helios_substitute() { + if (action_case() != kDoHeliosSubstitute) { clear_action(); - set_has_view_wide(); - _impl_.action_.view_wide_ = CreateMaybeMessage< ::protos::View_Wide >(GetArenaForAllocation()); + set_has_do_helios_substitute(); + _impl_.action_.do_helios_substitute_ = CreateMaybeMessage< ::protos::DoHeliosSubstitute >(GetArenaForAllocation()); } - return _impl_.action_.view_wide_; + return _impl_.action_.do_helios_substitute_; } -inline ::protos::View_Wide* PlayerAction::mutable_view_wide() { - ::protos::View_Wide* _msg = _internal_mutable_view_wide(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.view_wide) +inline ::protos::DoHeliosSubstitute* CoachAction::mutable_do_helios_substitute() { + ::protos::DoHeliosSubstitute* _msg = _internal_mutable_do_helios_substitute(); + // @@protoc_insertion_point(field_mutable:protos.CoachAction.do_helios_substitute) return _msg; } -// .protos.HeliosGoalie helios_goalie = 55; -inline bool PlayerAction::has_helios_goalie() const { - return action_case() == kHeliosGoalie; +// .protos.DoHeliosSayPlayerTypes do_helios_say_player_types = 3; +inline bool CoachAction::has_do_helios_say_player_types() const { + return action_case() == kDoHeliosSayPlayerTypes; } -inline bool PlayerAction::_internal_has_helios_goalie() const { - return action_case() == kHeliosGoalie; +inline bool CoachAction::_internal_has_do_helios_say_player_types() const { + return action_case() == kDoHeliosSayPlayerTypes; } -inline void PlayerAction::set_has_helios_goalie() { - _impl_._oneof_case_[0] = kHeliosGoalie; +inline void CoachAction::set_has_do_helios_say_player_types() { + _impl_._oneof_case_[0] = kDoHeliosSayPlayerTypes; } -inline void PlayerAction::clear_helios_goalie() { - if (action_case() == kHeliosGoalie) { +inline void CoachAction::clear_do_helios_say_player_types() { + if (action_case() == kDoHeliosSayPlayerTypes) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.helios_goalie_; + delete _impl_.action_.do_helios_say_player_types_; } clear_has_action(); } } -inline ::protos::HeliosGoalie* PlayerAction::release_helios_goalie() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.helios_goalie) - if (action_case() == kHeliosGoalie) { +inline ::protos::DoHeliosSayPlayerTypes* CoachAction::release_do_helios_say_player_types() { + // @@protoc_insertion_point(field_release:protos.CoachAction.do_helios_say_player_types) + if (action_case() == kDoHeliosSayPlayerTypes) { clear_has_action(); - ::protos::HeliosGoalie* temp = _impl_.action_.helios_goalie_; + ::protos::DoHeliosSayPlayerTypes* temp = _impl_.action_.do_helios_say_player_types_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.helios_goalie_ = nullptr; + _impl_.action_.do_helios_say_player_types_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::HeliosGoalie& PlayerAction::_internal_helios_goalie() const { - return action_case() == kHeliosGoalie - ? *_impl_.action_.helios_goalie_ - : reinterpret_cast<::protos::HeliosGoalie&>(::protos::_HeliosGoalie_default_instance_); +inline const ::protos::DoHeliosSayPlayerTypes& CoachAction::_internal_do_helios_say_player_types() const { + return action_case() == kDoHeliosSayPlayerTypes + ? *_impl_.action_.do_helios_say_player_types_ + : reinterpret_cast<::protos::DoHeliosSayPlayerTypes&>(::protos::_DoHeliosSayPlayerTypes_default_instance_); } -inline const ::protos::HeliosGoalie& PlayerAction::helios_goalie() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.helios_goalie) - return _internal_helios_goalie(); +inline const ::protos::DoHeliosSayPlayerTypes& CoachAction::do_helios_say_player_types() const { + // @@protoc_insertion_point(field_get:protos.CoachAction.do_helios_say_player_types) + return _internal_do_helios_say_player_types(); } -inline ::protos::HeliosGoalie* PlayerAction::unsafe_arena_release_helios_goalie() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.helios_goalie) - if (action_case() == kHeliosGoalie) { +inline ::protos::DoHeliosSayPlayerTypes* CoachAction::unsafe_arena_release_do_helios_say_player_types() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.CoachAction.do_helios_say_player_types) + if (action_case() == kDoHeliosSayPlayerTypes) { clear_has_action(); - ::protos::HeliosGoalie* temp = _impl_.action_.helios_goalie_; - _impl_.action_.helios_goalie_ = nullptr; + ::protos::DoHeliosSayPlayerTypes* temp = _impl_.action_.do_helios_say_player_types_; + _impl_.action_.do_helios_say_player_types_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_helios_goalie(::protos::HeliosGoalie* helios_goalie) { +inline void CoachAction::unsafe_arena_set_allocated_do_helios_say_player_types(::protos::DoHeliosSayPlayerTypes* do_helios_say_player_types) { clear_action(); - if (helios_goalie) { - set_has_helios_goalie(); - _impl_.action_.helios_goalie_ = helios_goalie; + if (do_helios_say_player_types) { + set_has_do_helios_say_player_types(); + _impl_.action_.do_helios_say_player_types_ = do_helios_say_player_types; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.helios_goalie) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.CoachAction.do_helios_say_player_types) } -inline ::protos::HeliosGoalie* PlayerAction::_internal_mutable_helios_goalie() { - if (action_case() != kHeliosGoalie) { +inline ::protos::DoHeliosSayPlayerTypes* CoachAction::_internal_mutable_do_helios_say_player_types() { + if (action_case() != kDoHeliosSayPlayerTypes) { clear_action(); - set_has_helios_goalie(); - _impl_.action_.helios_goalie_ = CreateMaybeMessage< ::protos::HeliosGoalie >(GetArenaForAllocation()); + set_has_do_helios_say_player_types(); + _impl_.action_.do_helios_say_player_types_ = CreateMaybeMessage< ::protos::DoHeliosSayPlayerTypes >(GetArenaForAllocation()); } - return _impl_.action_.helios_goalie_; + return _impl_.action_.do_helios_say_player_types_; } -inline ::protos::HeliosGoalie* PlayerAction::mutable_helios_goalie() { - ::protos::HeliosGoalie* _msg = _internal_mutable_helios_goalie(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.helios_goalie) +inline ::protos::DoHeliosSayPlayerTypes* CoachAction::mutable_do_helios_say_player_types() { + ::protos::DoHeliosSayPlayerTypes* _msg = _internal_mutable_do_helios_say_player_types(); + // @@protoc_insertion_point(field_mutable:protos.CoachAction.do_helios_say_player_types) return _msg; } -// .protos.HeliosGoalieMove helios_goalie_move = 56; -inline bool PlayerAction::has_helios_goalie_move() const { - return action_case() == kHeliosGoalieMove; +inline bool CoachAction::has_action() const { + return action_case() != ACTION_NOT_SET; } -inline bool PlayerAction::_internal_has_helios_goalie_move() const { - return action_case() == kHeliosGoalieMove; +inline void CoachAction::clear_has_action() { + _impl_._oneof_case_[0] = ACTION_NOT_SET; } -inline void PlayerAction::set_has_helios_goalie_move() { - _impl_._oneof_case_[0] = kHeliosGoalieMove; +inline CoachAction::ActionCase CoachAction::action_case() const { + return CoachAction::ActionCase(_impl_._oneof_case_[0]); } -inline void PlayerAction::clear_helios_goalie_move() { - if (action_case() == kHeliosGoalieMove) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.helios_goalie_move_; - } - clear_has_action(); - } +// ------------------------------------------------------------------- + +// CoachActions + +// repeated .protos.CoachAction actions = 1; +inline int CoachActions::_internal_actions_size() const { + return _impl_.actions_.size(); } -inline ::protos::HeliosGoalieMove* PlayerAction::release_helios_goalie_move() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.helios_goalie_move) - if (action_case() == kHeliosGoalieMove) { - clear_has_action(); - ::protos::HeliosGoalieMove* temp = _impl_.action_.helios_goalie_move_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.action_.helios_goalie_move_ = nullptr; - return temp; - } else { - return nullptr; - } +inline int CoachActions::actions_size() const { + return _internal_actions_size(); } -inline const ::protos::HeliosGoalieMove& PlayerAction::_internal_helios_goalie_move() const { - return action_case() == kHeliosGoalieMove - ? *_impl_.action_.helios_goalie_move_ - : reinterpret_cast<::protos::HeliosGoalieMove&>(::protos::_HeliosGoalieMove_default_instance_); +inline void CoachActions::clear_actions() { + _internal_mutable_actions()->Clear(); } -inline const ::protos::HeliosGoalieMove& PlayerAction::helios_goalie_move() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.helios_goalie_move) - return _internal_helios_goalie_move(); +inline ::protos::CoachAction* CoachActions::mutable_actions(int index) { + // @@protoc_insertion_point(field_mutable:protos.CoachActions.actions) + return _internal_mutable_actions()->Mutable(index); } -inline ::protos::HeliosGoalieMove* PlayerAction::unsafe_arena_release_helios_goalie_move() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.helios_goalie_move) - if (action_case() == kHeliosGoalieMove) { - clear_has_action(); - ::protos::HeliosGoalieMove* temp = _impl_.action_.helios_goalie_move_; - _impl_.action_.helios_goalie_move_ = nullptr; - return temp; +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::protos::CoachAction >* +CoachActions::mutable_actions() { + // @@protoc_insertion_point(field_mutable_list:protos.CoachActions.actions) + return _internal_mutable_actions(); +} +inline const ::protos::CoachAction& CoachActions::_internal_actions(int index) const { + return _internal_actions().Get(index); +} +inline const ::protos::CoachAction& CoachActions::actions(int index) const { + // @@protoc_insertion_point(field_get:protos.CoachActions.actions) + return _internal_actions(index); +} +inline ::protos::CoachAction* CoachActions::_internal_add_actions() { + return _internal_mutable_actions()->Add(); +} +inline ::protos::CoachAction* CoachActions::add_actions() { + ::protos::CoachAction* _add = _internal_add_actions(); + // @@protoc_insertion_point(field_add:protos.CoachActions.actions) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::protos::CoachAction >& +CoachActions::actions() const { + // @@protoc_insertion_point(field_list:protos.CoachActions.actions) + return _internal_actions(); +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protos::CoachAction>& +CoachActions::_internal_actions() const { + return _impl_.actions_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protos::CoachAction>* +CoachActions::_internal_mutable_actions() { + return &_impl_.actions_; +} + +// ------------------------------------------------------------------- + +// DoKickOff + +// ------------------------------------------------------------------- + +// DoMoveBall + +// .protos.RpcVector2D position = 1; +inline bool DoMoveBall::has_position() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.position_ != nullptr); + return value; +} +inline void DoMoveBall::clear_position() { + if (_impl_.position_ != nullptr) _impl_.position_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::protos::RpcVector2D& DoMoveBall::_internal_position() const { + const ::protos::RpcVector2D* p = _impl_.position_; + return p != nullptr ? *p : reinterpret_cast( + ::protos::_RpcVector2D_default_instance_); +} +inline const ::protos::RpcVector2D& DoMoveBall::position() const { + // @@protoc_insertion_point(field_get:protos.DoMoveBall.position) + return _internal_position(); +} +inline void DoMoveBall::unsafe_arena_set_allocated_position( + ::protos::RpcVector2D* position) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); + } + _impl_.position_ = position; + if (position) { + _impl_._has_bits_[0] |= 0x00000001u; } else { - return nullptr; + _impl_._has_bits_[0] &= ~0x00000001u; } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.DoMoveBall.position) } -inline void PlayerAction::unsafe_arena_set_allocated_helios_goalie_move(::protos::HeliosGoalieMove* helios_goalie_move) { - clear_action(); - if (helios_goalie_move) { - set_has_helios_goalie_move(); - _impl_.action_.helios_goalie_move_ = helios_goalie_move; +inline ::protos::RpcVector2D* DoMoveBall::release_position() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::protos::RpcVector2D* temp = _impl_.position_; + _impl_.position_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.helios_goalie_move) +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; } -inline ::protos::HeliosGoalieMove* PlayerAction::_internal_mutable_helios_goalie_move() { - if (action_case() != kHeliosGoalieMove) { - clear_action(); - set_has_helios_goalie_move(); - _impl_.action_.helios_goalie_move_ = CreateMaybeMessage< ::protos::HeliosGoalieMove >(GetArenaForAllocation()); +inline ::protos::RpcVector2D* DoMoveBall::unsafe_arena_release_position() { + // @@protoc_insertion_point(field_release:protos.DoMoveBall.position) + _impl_._has_bits_[0] &= ~0x00000001u; + ::protos::RpcVector2D* temp = _impl_.position_; + _impl_.position_ = nullptr; + return temp; +} +inline ::protos::RpcVector2D* DoMoveBall::_internal_mutable_position() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.position_ == nullptr) { + auto* p = CreateMaybeMessage<::protos::RpcVector2D>(GetArenaForAllocation()); + _impl_.position_ = p; } - return _impl_.action_.helios_goalie_move_; + return _impl_.position_; } -inline ::protos::HeliosGoalieMove* PlayerAction::mutable_helios_goalie_move() { - ::protos::HeliosGoalieMove* _msg = _internal_mutable_helios_goalie_move(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.helios_goalie_move) +inline ::protos::RpcVector2D* DoMoveBall::mutable_position() { + ::protos::RpcVector2D* _msg = _internal_mutable_position(); + // @@protoc_insertion_point(field_mutable:protos.DoMoveBall.position) return _msg; } +inline void DoMoveBall::set_allocated_position(::protos::RpcVector2D* position) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.position_; + } + if (position) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(position); + if (message_arena != submessage_arena) { + position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, position, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.position_ = position; + // @@protoc_insertion_point(field_set_allocated:protos.DoMoveBall.position) +} -// .protos.HeliosGoalieKick helios_goalie_kick = 57; -inline bool PlayerAction::has_helios_goalie_kick() const { - return action_case() == kHeliosGoalieKick; +// .protos.RpcVector2D velocity = 2; +inline bool DoMoveBall::has_velocity() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.velocity_ != nullptr); + return value; +} +inline void DoMoveBall::clear_velocity() { + if (_impl_.velocity_ != nullptr) _impl_.velocity_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::protos::RpcVector2D& DoMoveBall::_internal_velocity() const { + const ::protos::RpcVector2D* p = _impl_.velocity_; + return p != nullptr ? *p : reinterpret_cast( + ::protos::_RpcVector2D_default_instance_); +} +inline const ::protos::RpcVector2D& DoMoveBall::velocity() const { + // @@protoc_insertion_point(field_get:protos.DoMoveBall.velocity) + return _internal_velocity(); +} +inline void DoMoveBall::unsafe_arena_set_allocated_velocity( + ::protos::RpcVector2D* velocity) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.velocity_); + } + _impl_.velocity_ = velocity; + if (velocity) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.DoMoveBall.velocity) +} +inline ::protos::RpcVector2D* DoMoveBall::release_velocity() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::protos::RpcVector2D* temp = _impl_.velocity_; + _impl_.velocity_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::protos::RpcVector2D* DoMoveBall::unsafe_arena_release_velocity() { + // @@protoc_insertion_point(field_release:protos.DoMoveBall.velocity) + _impl_._has_bits_[0] &= ~0x00000002u; + ::protos::RpcVector2D* temp = _impl_.velocity_; + _impl_.velocity_ = nullptr; + return temp; } -inline bool PlayerAction::_internal_has_helios_goalie_kick() const { - return action_case() == kHeliosGoalieKick; +inline ::protos::RpcVector2D* DoMoveBall::_internal_mutable_velocity() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.velocity_ == nullptr) { + auto* p = CreateMaybeMessage<::protos::RpcVector2D>(GetArenaForAllocation()); + _impl_.velocity_ = p; + } + return _impl_.velocity_; } -inline void PlayerAction::set_has_helios_goalie_kick() { - _impl_._oneof_case_[0] = kHeliosGoalieKick; +inline ::protos::RpcVector2D* DoMoveBall::mutable_velocity() { + ::protos::RpcVector2D* _msg = _internal_mutable_velocity(); + // @@protoc_insertion_point(field_mutable:protos.DoMoveBall.velocity) + return _msg; } -inline void PlayerAction::clear_helios_goalie_kick() { - if (action_case() == kHeliosGoalieKick) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.helios_goalie_kick_; - } - clear_has_action(); +inline void DoMoveBall::set_allocated_velocity(::protos::RpcVector2D* velocity) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.velocity_; } -} -inline ::protos::HeliosGoalieKick* PlayerAction::release_helios_goalie_kick() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.helios_goalie_kick) - if (action_case() == kHeliosGoalieKick) { - clear_has_action(); - ::protos::HeliosGoalieKick* temp = _impl_.action_.helios_goalie_kick_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (velocity) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(velocity); + if (message_arena != submessage_arena) { + velocity = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, velocity, submessage_arena); } - _impl_.action_.helios_goalie_kick_ = nullptr; - return temp; + _impl_._has_bits_[0] |= 0x00000002u; } else { - return nullptr; + _impl_._has_bits_[0] &= ~0x00000002u; } + _impl_.velocity_ = velocity; + // @@protoc_insertion_point(field_set_allocated:protos.DoMoveBall.velocity) } -inline const ::protos::HeliosGoalieKick& PlayerAction::_internal_helios_goalie_kick() const { - return action_case() == kHeliosGoalieKick - ? *_impl_.action_.helios_goalie_kick_ - : reinterpret_cast<::protos::HeliosGoalieKick&>(::protos::_HeliosGoalieKick_default_instance_); -} -inline const ::protos::HeliosGoalieKick& PlayerAction::helios_goalie_kick() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.helios_goalie_kick) - return _internal_helios_goalie_kick(); + +// ------------------------------------------------------------------- + +// DoMovePlayer + +// bool our_side = 1; +inline void DoMovePlayer::clear_our_side() { + _impl_.our_side_ = false; } -inline ::protos::HeliosGoalieKick* PlayerAction::unsafe_arena_release_helios_goalie_kick() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.helios_goalie_kick) - if (action_case() == kHeliosGoalieKick) { - clear_has_action(); - ::protos::HeliosGoalieKick* temp = _impl_.action_.helios_goalie_kick_; - _impl_.action_.helios_goalie_kick_ = nullptr; - return temp; - } else { - return nullptr; - } +inline bool DoMovePlayer::our_side() const { + // @@protoc_insertion_point(field_get:protos.DoMovePlayer.our_side) + return _internal_our_side(); } -inline void PlayerAction::unsafe_arena_set_allocated_helios_goalie_kick(::protos::HeliosGoalieKick* helios_goalie_kick) { - clear_action(); - if (helios_goalie_kick) { - set_has_helios_goalie_kick(); - _impl_.action_.helios_goalie_kick_ = helios_goalie_kick; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.helios_goalie_kick) +inline void DoMovePlayer::set_our_side(bool value) { + _internal_set_our_side(value); + // @@protoc_insertion_point(field_set:protos.DoMovePlayer.our_side) } -inline ::protos::HeliosGoalieKick* PlayerAction::_internal_mutable_helios_goalie_kick() { - if (action_case() != kHeliosGoalieKick) { - clear_action(); - set_has_helios_goalie_kick(); - _impl_.action_.helios_goalie_kick_ = CreateMaybeMessage< ::protos::HeliosGoalieKick >(GetArenaForAllocation()); - } - return _impl_.action_.helios_goalie_kick_; +inline bool DoMovePlayer::_internal_our_side() const { + return _impl_.our_side_; } -inline ::protos::HeliosGoalieKick* PlayerAction::mutable_helios_goalie_kick() { - ::protos::HeliosGoalieKick* _msg = _internal_mutable_helios_goalie_kick(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.helios_goalie_kick) - return _msg; +inline void DoMovePlayer::_internal_set_our_side(bool value) { + ; + _impl_.our_side_ = value; } -// .protos.HeliosShoot helios_shoot = 58; -inline bool PlayerAction::has_helios_shoot() const { - return action_case() == kHeliosShoot; +// int32 uniform_number = 2; +inline void DoMovePlayer::clear_uniform_number() { + _impl_.uniform_number_ = 0; } -inline bool PlayerAction::_internal_has_helios_shoot() const { - return action_case() == kHeliosShoot; +inline ::int32_t DoMovePlayer::uniform_number() const { + // @@protoc_insertion_point(field_get:protos.DoMovePlayer.uniform_number) + return _internal_uniform_number(); } -inline void PlayerAction::set_has_helios_shoot() { - _impl_._oneof_case_[0] = kHeliosShoot; +inline void DoMovePlayer::set_uniform_number(::int32_t value) { + _internal_set_uniform_number(value); + // @@protoc_insertion_point(field_set:protos.DoMovePlayer.uniform_number) } -inline void PlayerAction::clear_helios_shoot() { - if (action_case() == kHeliosShoot) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.helios_shoot_; - } - clear_has_action(); - } +inline ::int32_t DoMovePlayer::_internal_uniform_number() const { + return _impl_.uniform_number_; } -inline ::protos::HeliosShoot* PlayerAction::release_helios_shoot() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.helios_shoot) - if (action_case() == kHeliosShoot) { - clear_has_action(); - ::protos::HeliosShoot* temp = _impl_.action_.helios_shoot_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.action_.helios_shoot_ = nullptr; - return temp; - } else { - return nullptr; - } +inline void DoMovePlayer::_internal_set_uniform_number(::int32_t value) { + ; + _impl_.uniform_number_ = value; } -inline const ::protos::HeliosShoot& PlayerAction::_internal_helios_shoot() const { - return action_case() == kHeliosShoot - ? *_impl_.action_.helios_shoot_ - : reinterpret_cast<::protos::HeliosShoot&>(::protos::_HeliosShoot_default_instance_); + +// .protos.RpcVector2D position = 3; +inline bool DoMovePlayer::has_position() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.position_ != nullptr); + return value; } -inline const ::protos::HeliosShoot& PlayerAction::helios_shoot() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.helios_shoot) - return _internal_helios_shoot(); +inline void DoMovePlayer::clear_position() { + if (_impl_.position_ != nullptr) _impl_.position_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline ::protos::HeliosShoot* PlayerAction::unsafe_arena_release_helios_shoot() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.helios_shoot) - if (action_case() == kHeliosShoot) { - clear_has_action(); - ::protos::HeliosShoot* temp = _impl_.action_.helios_shoot_; - _impl_.action_.helios_shoot_ = nullptr; - return temp; +inline const ::protos::RpcVector2D& DoMovePlayer::_internal_position() const { + const ::protos::RpcVector2D* p = _impl_.position_; + return p != nullptr ? *p : reinterpret_cast( + ::protos::_RpcVector2D_default_instance_); +} +inline const ::protos::RpcVector2D& DoMovePlayer::position() const { + // @@protoc_insertion_point(field_get:protos.DoMovePlayer.position) + return _internal_position(); +} +inline void DoMovePlayer::unsafe_arena_set_allocated_position( + ::protos::RpcVector2D* position) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); + } + _impl_.position_ = position; + if (position) { + _impl_._has_bits_[0] |= 0x00000001u; } else { - return nullptr; + _impl_._has_bits_[0] &= ~0x00000001u; } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.DoMovePlayer.position) } -inline void PlayerAction::unsafe_arena_set_allocated_helios_shoot(::protos::HeliosShoot* helios_shoot) { - clear_action(); - if (helios_shoot) { - set_has_helios_shoot(); - _impl_.action_.helios_shoot_ = helios_shoot; +inline ::protos::RpcVector2D* DoMovePlayer::release_position() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::protos::RpcVector2D* temp = _impl_.position_; + _impl_.position_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.helios_shoot) +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; } -inline ::protos::HeliosShoot* PlayerAction::_internal_mutable_helios_shoot() { - if (action_case() != kHeliosShoot) { - clear_action(); - set_has_helios_shoot(); - _impl_.action_.helios_shoot_ = CreateMaybeMessage< ::protos::HeliosShoot >(GetArenaForAllocation()); +inline ::protos::RpcVector2D* DoMovePlayer::unsafe_arena_release_position() { + // @@protoc_insertion_point(field_release:protos.DoMovePlayer.position) + _impl_._has_bits_[0] &= ~0x00000001u; + ::protos::RpcVector2D* temp = _impl_.position_; + _impl_.position_ = nullptr; + return temp; +} +inline ::protos::RpcVector2D* DoMovePlayer::_internal_mutable_position() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.position_ == nullptr) { + auto* p = CreateMaybeMessage<::protos::RpcVector2D>(GetArenaForAllocation()); + _impl_.position_ = p; } - return _impl_.action_.helios_shoot_; + return _impl_.position_; } -inline ::protos::HeliosShoot* PlayerAction::mutable_helios_shoot() { - ::protos::HeliosShoot* _msg = _internal_mutable_helios_shoot(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.helios_shoot) +inline ::protos::RpcVector2D* DoMovePlayer::mutable_position() { + ::protos::RpcVector2D* _msg = _internal_mutable_position(); + // @@protoc_insertion_point(field_mutable:protos.DoMovePlayer.position) return _msg; } - -// .protos.HeliosChainAction helios_chain_action = 59; -inline bool PlayerAction::has_helios_chain_action() const { - return action_case() == kHeliosChainAction; -} -inline bool PlayerAction::_internal_has_helios_chain_action() const { - return action_case() == kHeliosChainAction; -} -inline void PlayerAction::set_has_helios_chain_action() { - _impl_._oneof_case_[0] = kHeliosChainAction; -} -inline void PlayerAction::clear_helios_chain_action() { - if (action_case() == kHeliosChainAction) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.helios_chain_action_; - } - clear_has_action(); +inline void DoMovePlayer::set_allocated_position(::protos::RpcVector2D* position) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.position_; } -} -inline ::protos::HeliosChainAction* PlayerAction::release_helios_chain_action() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.helios_chain_action) - if (action_case() == kHeliosChainAction) { - clear_has_action(); - ::protos::HeliosChainAction* temp = _impl_.action_.helios_chain_action_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (position) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(position); + if (message_arena != submessage_arena) { + position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, position, submessage_arena); } - _impl_.action_.helios_chain_action_ = nullptr; - return temp; + _impl_._has_bits_[0] |= 0x00000001u; } else { - return nullptr; + _impl_._has_bits_[0] &= ~0x00000001u; } + _impl_.position_ = position; + // @@protoc_insertion_point(field_set_allocated:protos.DoMovePlayer.position) } -inline const ::protos::HeliosChainAction& PlayerAction::_internal_helios_chain_action() const { - return action_case() == kHeliosChainAction - ? *_impl_.action_.helios_chain_action_ - : reinterpret_cast<::protos::HeliosChainAction&>(::protos::_HeliosChainAction_default_instance_); -} -inline const ::protos::HeliosChainAction& PlayerAction::helios_chain_action() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.helios_chain_action) - return _internal_helios_chain_action(); + +// float body_direction = 4; +inline void DoMovePlayer::clear_body_direction() { + _impl_.body_direction_ = 0; } -inline ::protos::HeliosChainAction* PlayerAction::unsafe_arena_release_helios_chain_action() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.helios_chain_action) - if (action_case() == kHeliosChainAction) { - clear_has_action(); - ::protos::HeliosChainAction* temp = _impl_.action_.helios_chain_action_; - _impl_.action_.helios_chain_action_ = nullptr; - return temp; - } else { - return nullptr; - } +inline float DoMovePlayer::body_direction() const { + // @@protoc_insertion_point(field_get:protos.DoMovePlayer.body_direction) + return _internal_body_direction(); } -inline void PlayerAction::unsafe_arena_set_allocated_helios_chain_action(::protos::HeliosChainAction* helios_chain_action) { - clear_action(); - if (helios_chain_action) { - set_has_helios_chain_action(); - _impl_.action_.helios_chain_action_ = helios_chain_action; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.helios_chain_action) +inline void DoMovePlayer::set_body_direction(float value) { + _internal_set_body_direction(value); + // @@protoc_insertion_point(field_set:protos.DoMovePlayer.body_direction) } -inline ::protos::HeliosChainAction* PlayerAction::_internal_mutable_helios_chain_action() { - if (action_case() != kHeliosChainAction) { - clear_action(); - set_has_helios_chain_action(); - _impl_.action_.helios_chain_action_ = CreateMaybeMessage< ::protos::HeliosChainAction >(GetArenaForAllocation()); - } - return _impl_.action_.helios_chain_action_; +inline float DoMovePlayer::_internal_body_direction() const { + return _impl_.body_direction_; } -inline ::protos::HeliosChainAction* PlayerAction::mutable_helios_chain_action() { - ::protos::HeliosChainAction* _msg = _internal_mutable_helios_chain_action(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.helios_chain_action) - return _msg; +inline void DoMovePlayer::_internal_set_body_direction(float value) { + ; + _impl_.body_direction_ = value; } -// .protos.HeliosBasicOffensive helios_basic_offensive = 60; -inline bool PlayerAction::has_helios_basic_offensive() const { - return action_case() == kHeliosBasicOffensive; -} -inline bool PlayerAction::_internal_has_helios_basic_offensive() const { - return action_case() == kHeliosBasicOffensive; +// ------------------------------------------------------------------- + +// DoRecover + +// ------------------------------------------------------------------- + +// DoChangeMode + +// .protos.GameModeType game_mode_type = 1; +inline void DoChangeMode::clear_game_mode_type() { + _impl_.game_mode_type_ = 0; } -inline void PlayerAction::set_has_helios_basic_offensive() { - _impl_._oneof_case_[0] = kHeliosBasicOffensive; +inline ::protos::GameModeType DoChangeMode::game_mode_type() const { + // @@protoc_insertion_point(field_get:protos.DoChangeMode.game_mode_type) + return _internal_game_mode_type(); } -inline void PlayerAction::clear_helios_basic_offensive() { - if (action_case() == kHeliosBasicOffensive) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.helios_basic_offensive_; - } - clear_has_action(); - } +inline void DoChangeMode::set_game_mode_type(::protos::GameModeType value) { + _internal_set_game_mode_type(value); + // @@protoc_insertion_point(field_set:protos.DoChangeMode.game_mode_type) } -inline ::protos::HeliosBasicOffensive* PlayerAction::release_helios_basic_offensive() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.helios_basic_offensive) - if (action_case() == kHeliosBasicOffensive) { - clear_has_action(); - ::protos::HeliosBasicOffensive* temp = _impl_.action_.helios_basic_offensive_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.action_.helios_basic_offensive_ = nullptr; - return temp; - } else { - return nullptr; - } +inline ::protos::GameModeType DoChangeMode::_internal_game_mode_type() const { + return static_cast<::protos::GameModeType>(_impl_.game_mode_type_); } -inline const ::protos::HeliosBasicOffensive& PlayerAction::_internal_helios_basic_offensive() const { - return action_case() == kHeliosBasicOffensive - ? *_impl_.action_.helios_basic_offensive_ - : reinterpret_cast<::protos::HeliosBasicOffensive&>(::protos::_HeliosBasicOffensive_default_instance_); +inline void DoChangeMode::_internal_set_game_mode_type(::protos::GameModeType value) { + ; + _impl_.game_mode_type_ = value; } -inline const ::protos::HeliosBasicOffensive& PlayerAction::helios_basic_offensive() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.helios_basic_offensive) - return _internal_helios_basic_offensive(); + +// .protos.Side side = 2; +inline void DoChangeMode::clear_side() { + _impl_.side_ = 0; } -inline ::protos::HeliosBasicOffensive* PlayerAction::unsafe_arena_release_helios_basic_offensive() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.helios_basic_offensive) - if (action_case() == kHeliosBasicOffensive) { - clear_has_action(); - ::protos::HeliosBasicOffensive* temp = _impl_.action_.helios_basic_offensive_; - _impl_.action_.helios_basic_offensive_ = nullptr; - return temp; - } else { - return nullptr; - } +inline ::protos::Side DoChangeMode::side() const { + // @@protoc_insertion_point(field_get:protos.DoChangeMode.side) + return _internal_side(); } -inline void PlayerAction::unsafe_arena_set_allocated_helios_basic_offensive(::protos::HeliosBasicOffensive* helios_basic_offensive) { - clear_action(); - if (helios_basic_offensive) { - set_has_helios_basic_offensive(); - _impl_.action_.helios_basic_offensive_ = helios_basic_offensive; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.helios_basic_offensive) +inline void DoChangeMode::set_side(::protos::Side value) { + _internal_set_side(value); + // @@protoc_insertion_point(field_set:protos.DoChangeMode.side) } -inline ::protos::HeliosBasicOffensive* PlayerAction::_internal_mutable_helios_basic_offensive() { - if (action_case() != kHeliosBasicOffensive) { - clear_action(); - set_has_helios_basic_offensive(); - _impl_.action_.helios_basic_offensive_ = CreateMaybeMessage< ::protos::HeliosBasicOffensive >(GetArenaForAllocation()); - } - return _impl_.action_.helios_basic_offensive_; +inline ::protos::Side DoChangeMode::_internal_side() const { + return static_cast<::protos::Side>(_impl_.side_); } -inline ::protos::HeliosBasicOffensive* PlayerAction::mutable_helios_basic_offensive() { - ::protos::HeliosBasicOffensive* _msg = _internal_mutable_helios_basic_offensive(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.helios_basic_offensive) - return _msg; +inline void DoChangeMode::_internal_set_side(::protos::Side value) { + ; + _impl_.side_ = value; } -// .protos.HeliosBasicMove helios_basic_move = 61; -inline bool PlayerAction::has_helios_basic_move() const { - return action_case() == kHeliosBasicMove; +// ------------------------------------------------------------------- + +// DoChangePlayerType + +// bool our_side = 1; +inline void DoChangePlayerType::clear_our_side() { + _impl_.our_side_ = false; } -inline bool PlayerAction::_internal_has_helios_basic_move() const { - return action_case() == kHeliosBasicMove; +inline bool DoChangePlayerType::our_side() const { + // @@protoc_insertion_point(field_get:protos.DoChangePlayerType.our_side) + return _internal_our_side(); } -inline void PlayerAction::set_has_helios_basic_move() { - _impl_._oneof_case_[0] = kHeliosBasicMove; +inline void DoChangePlayerType::set_our_side(bool value) { + _internal_set_our_side(value); + // @@protoc_insertion_point(field_set:protos.DoChangePlayerType.our_side) } -inline void PlayerAction::clear_helios_basic_move() { - if (action_case() == kHeliosBasicMove) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.helios_basic_move_; - } - clear_has_action(); - } +inline bool DoChangePlayerType::_internal_our_side() const { + return _impl_.our_side_; } -inline ::protos::HeliosBasicMove* PlayerAction::release_helios_basic_move() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.helios_basic_move) - if (action_case() == kHeliosBasicMove) { - clear_has_action(); - ::protos::HeliosBasicMove* temp = _impl_.action_.helios_basic_move_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.action_.helios_basic_move_ = nullptr; - return temp; - } else { - return nullptr; - } +inline void DoChangePlayerType::_internal_set_our_side(bool value) { + ; + _impl_.our_side_ = value; } -inline const ::protos::HeliosBasicMove& PlayerAction::_internal_helios_basic_move() const { - return action_case() == kHeliosBasicMove - ? *_impl_.action_.helios_basic_move_ - : reinterpret_cast<::protos::HeliosBasicMove&>(::protos::_HeliosBasicMove_default_instance_); + +// int32 uniform_number = 2; +inline void DoChangePlayerType::clear_uniform_number() { + _impl_.uniform_number_ = 0; } -inline const ::protos::HeliosBasicMove& PlayerAction::helios_basic_move() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.helios_basic_move) - return _internal_helios_basic_move(); +inline ::int32_t DoChangePlayerType::uniform_number() const { + // @@protoc_insertion_point(field_get:protos.DoChangePlayerType.uniform_number) + return _internal_uniform_number(); } -inline ::protos::HeliosBasicMove* PlayerAction::unsafe_arena_release_helios_basic_move() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.helios_basic_move) - if (action_case() == kHeliosBasicMove) { - clear_has_action(); - ::protos::HeliosBasicMove* temp = _impl_.action_.helios_basic_move_; - _impl_.action_.helios_basic_move_ = nullptr; - return temp; - } else { - return nullptr; - } +inline void DoChangePlayerType::set_uniform_number(::int32_t value) { + _internal_set_uniform_number(value); + // @@protoc_insertion_point(field_set:protos.DoChangePlayerType.uniform_number) } -inline void PlayerAction::unsafe_arena_set_allocated_helios_basic_move(::protos::HeliosBasicMove* helios_basic_move) { - clear_action(); - if (helios_basic_move) { - set_has_helios_basic_move(); - _impl_.action_.helios_basic_move_ = helios_basic_move; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.helios_basic_move) +inline ::int32_t DoChangePlayerType::_internal_uniform_number() const { + return _impl_.uniform_number_; +} +inline void DoChangePlayerType::_internal_set_uniform_number(::int32_t value) { + ; + _impl_.uniform_number_ = value; +} + +// int32 type = 3; +inline void DoChangePlayerType::clear_type() { + _impl_.type_ = 0; } -inline ::protos::HeliosBasicMove* PlayerAction::_internal_mutable_helios_basic_move() { - if (action_case() != kHeliosBasicMove) { - clear_action(); - set_has_helios_basic_move(); - _impl_.action_.helios_basic_move_ = CreateMaybeMessage< ::protos::HeliosBasicMove >(GetArenaForAllocation()); - } - return _impl_.action_.helios_basic_move_; +inline ::int32_t DoChangePlayerType::type() const { + // @@protoc_insertion_point(field_get:protos.DoChangePlayerType.type) + return _internal_type(); } -inline ::protos::HeliosBasicMove* PlayerAction::mutable_helios_basic_move() { - ::protos::HeliosBasicMove* _msg = _internal_mutable_helios_basic_move(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.helios_basic_move) - return _msg; +inline void DoChangePlayerType::set_type(::int32_t value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:protos.DoChangePlayerType.type) +} +inline ::int32_t DoChangePlayerType::_internal_type() const { + return _impl_.type_; +} +inline void DoChangePlayerType::_internal_set_type(::int32_t value) { + ; + _impl_.type_ = value; } -// .protos.HeliosSetPlay helios_set_play = 62; -inline bool PlayerAction::has_helios_set_play() const { - return action_case() == kHeliosSetPlay; +// ------------------------------------------------------------------- + +// TrainerAction + +// .protos.DoKickOff do_kick_off = 1; +inline bool TrainerAction::has_do_kick_off() const { + return action_case() == kDoKickOff; } -inline bool PlayerAction::_internal_has_helios_set_play() const { - return action_case() == kHeliosSetPlay; +inline bool TrainerAction::_internal_has_do_kick_off() const { + return action_case() == kDoKickOff; } -inline void PlayerAction::set_has_helios_set_play() { - _impl_._oneof_case_[0] = kHeliosSetPlay; +inline void TrainerAction::set_has_do_kick_off() { + _impl_._oneof_case_[0] = kDoKickOff; } -inline void PlayerAction::clear_helios_set_play() { - if (action_case() == kHeliosSetPlay) { +inline void TrainerAction::clear_do_kick_off() { + if (action_case() == kDoKickOff) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.helios_set_play_; + delete _impl_.action_.do_kick_off_; } clear_has_action(); } } -inline ::protos::HeliosSetPlay* PlayerAction::release_helios_set_play() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.helios_set_play) - if (action_case() == kHeliosSetPlay) { +inline ::protos::DoKickOff* TrainerAction::release_do_kick_off() { + // @@protoc_insertion_point(field_release:protos.TrainerAction.do_kick_off) + if (action_case() == kDoKickOff) { clear_has_action(); - ::protos::HeliosSetPlay* temp = _impl_.action_.helios_set_play_; + ::protos::DoKickOff* temp = _impl_.action_.do_kick_off_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.helios_set_play_ = nullptr; + _impl_.action_.do_kick_off_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::HeliosSetPlay& PlayerAction::_internal_helios_set_play() const { - return action_case() == kHeliosSetPlay - ? *_impl_.action_.helios_set_play_ - : reinterpret_cast<::protos::HeliosSetPlay&>(::protos::_HeliosSetPlay_default_instance_); +inline const ::protos::DoKickOff& TrainerAction::_internal_do_kick_off() const { + return action_case() == kDoKickOff + ? *_impl_.action_.do_kick_off_ + : reinterpret_cast<::protos::DoKickOff&>(::protos::_DoKickOff_default_instance_); } -inline const ::protos::HeliosSetPlay& PlayerAction::helios_set_play() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.helios_set_play) - return _internal_helios_set_play(); +inline const ::protos::DoKickOff& TrainerAction::do_kick_off() const { + // @@protoc_insertion_point(field_get:protos.TrainerAction.do_kick_off) + return _internal_do_kick_off(); } -inline ::protos::HeliosSetPlay* PlayerAction::unsafe_arena_release_helios_set_play() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.helios_set_play) - if (action_case() == kHeliosSetPlay) { +inline ::protos::DoKickOff* TrainerAction::unsafe_arena_release_do_kick_off() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.TrainerAction.do_kick_off) + if (action_case() == kDoKickOff) { clear_has_action(); - ::protos::HeliosSetPlay* temp = _impl_.action_.helios_set_play_; - _impl_.action_.helios_set_play_ = nullptr; + ::protos::DoKickOff* temp = _impl_.action_.do_kick_off_; + _impl_.action_.do_kick_off_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_helios_set_play(::protos::HeliosSetPlay* helios_set_play) { +inline void TrainerAction::unsafe_arena_set_allocated_do_kick_off(::protos::DoKickOff* do_kick_off) { clear_action(); - if (helios_set_play) { - set_has_helios_set_play(); - _impl_.action_.helios_set_play_ = helios_set_play; + if (do_kick_off) { + set_has_do_kick_off(); + _impl_.action_.do_kick_off_ = do_kick_off; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.helios_set_play) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.TrainerAction.do_kick_off) } -inline ::protos::HeliosSetPlay* PlayerAction::_internal_mutable_helios_set_play() { - if (action_case() != kHeliosSetPlay) { +inline ::protos::DoKickOff* TrainerAction::_internal_mutable_do_kick_off() { + if (action_case() != kDoKickOff) { clear_action(); - set_has_helios_set_play(); - _impl_.action_.helios_set_play_ = CreateMaybeMessage< ::protos::HeliosSetPlay >(GetArenaForAllocation()); + set_has_do_kick_off(); + _impl_.action_.do_kick_off_ = CreateMaybeMessage< ::protos::DoKickOff >(GetArenaForAllocation()); } - return _impl_.action_.helios_set_play_; + return _impl_.action_.do_kick_off_; } -inline ::protos::HeliosSetPlay* PlayerAction::mutable_helios_set_play() { - ::protos::HeliosSetPlay* _msg = _internal_mutable_helios_set_play(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.helios_set_play) +inline ::protos::DoKickOff* TrainerAction::mutable_do_kick_off() { + ::protos::DoKickOff* _msg = _internal_mutable_do_kick_off(); + // @@protoc_insertion_point(field_mutable:protos.TrainerAction.do_kick_off) return _msg; } -// .protos.HeliosPenalty helios_penalty = 63; -inline bool PlayerAction::has_helios_penalty() const { - return action_case() == kHeliosPenalty; +// .protos.DoMoveBall do_move_ball = 2; +inline bool TrainerAction::has_do_move_ball() const { + return action_case() == kDoMoveBall; } -inline bool PlayerAction::_internal_has_helios_penalty() const { - return action_case() == kHeliosPenalty; +inline bool TrainerAction::_internal_has_do_move_ball() const { + return action_case() == kDoMoveBall; } -inline void PlayerAction::set_has_helios_penalty() { - _impl_._oneof_case_[0] = kHeliosPenalty; +inline void TrainerAction::set_has_do_move_ball() { + _impl_._oneof_case_[0] = kDoMoveBall; } -inline void PlayerAction::clear_helios_penalty() { - if (action_case() == kHeliosPenalty) { +inline void TrainerAction::clear_do_move_ball() { + if (action_case() == kDoMoveBall) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.helios_penalty_; + delete _impl_.action_.do_move_ball_; } clear_has_action(); } } -inline ::protos::HeliosPenalty* PlayerAction::release_helios_penalty() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.helios_penalty) - if (action_case() == kHeliosPenalty) { +inline ::protos::DoMoveBall* TrainerAction::release_do_move_ball() { + // @@protoc_insertion_point(field_release:protos.TrainerAction.do_move_ball) + if (action_case() == kDoMoveBall) { clear_has_action(); - ::protos::HeliosPenalty* temp = _impl_.action_.helios_penalty_; + ::protos::DoMoveBall* temp = _impl_.action_.do_move_ball_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.helios_penalty_ = nullptr; + _impl_.action_.do_move_ball_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::HeliosPenalty& PlayerAction::_internal_helios_penalty() const { - return action_case() == kHeliosPenalty - ? *_impl_.action_.helios_penalty_ - : reinterpret_cast<::protos::HeliosPenalty&>(::protos::_HeliosPenalty_default_instance_); +inline const ::protos::DoMoveBall& TrainerAction::_internal_do_move_ball() const { + return action_case() == kDoMoveBall + ? *_impl_.action_.do_move_ball_ + : reinterpret_cast<::protos::DoMoveBall&>(::protos::_DoMoveBall_default_instance_); } -inline const ::protos::HeliosPenalty& PlayerAction::helios_penalty() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.helios_penalty) - return _internal_helios_penalty(); +inline const ::protos::DoMoveBall& TrainerAction::do_move_ball() const { + // @@protoc_insertion_point(field_get:protos.TrainerAction.do_move_ball) + return _internal_do_move_ball(); } -inline ::protos::HeliosPenalty* PlayerAction::unsafe_arena_release_helios_penalty() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.helios_penalty) - if (action_case() == kHeliosPenalty) { +inline ::protos::DoMoveBall* TrainerAction::unsafe_arena_release_do_move_ball() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.TrainerAction.do_move_ball) + if (action_case() == kDoMoveBall) { clear_has_action(); - ::protos::HeliosPenalty* temp = _impl_.action_.helios_penalty_; - _impl_.action_.helios_penalty_ = nullptr; + ::protos::DoMoveBall* temp = _impl_.action_.do_move_ball_; + _impl_.action_.do_move_ball_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_helios_penalty(::protos::HeliosPenalty* helios_penalty) { +inline void TrainerAction::unsafe_arena_set_allocated_do_move_ball(::protos::DoMoveBall* do_move_ball) { clear_action(); - if (helios_penalty) { - set_has_helios_penalty(); - _impl_.action_.helios_penalty_ = helios_penalty; + if (do_move_ball) { + set_has_do_move_ball(); + _impl_.action_.do_move_ball_ = do_move_ball; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.helios_penalty) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.TrainerAction.do_move_ball) } -inline ::protos::HeliosPenalty* PlayerAction::_internal_mutable_helios_penalty() { - if (action_case() != kHeliosPenalty) { +inline ::protos::DoMoveBall* TrainerAction::_internal_mutable_do_move_ball() { + if (action_case() != kDoMoveBall) { clear_action(); - set_has_helios_penalty(); - _impl_.action_.helios_penalty_ = CreateMaybeMessage< ::protos::HeliosPenalty >(GetArenaForAllocation()); + set_has_do_move_ball(); + _impl_.action_.do_move_ball_ = CreateMaybeMessage< ::protos::DoMoveBall >(GetArenaForAllocation()); } - return _impl_.action_.helios_penalty_; + return _impl_.action_.do_move_ball_; } -inline ::protos::HeliosPenalty* PlayerAction::mutable_helios_penalty() { - ::protos::HeliosPenalty* _msg = _internal_mutable_helios_penalty(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.helios_penalty) +inline ::protos::DoMoveBall* TrainerAction::mutable_do_move_ball() { + ::protos::DoMoveBall* _msg = _internal_mutable_do_move_ball(); + // @@protoc_insertion_point(field_mutable:protos.TrainerAction.do_move_ball) return _msg; } -// .protos.HeliosCommunicaion helios_communication = 64; -inline bool PlayerAction::has_helios_communication() const { - return action_case() == kHeliosCommunication; +// .protos.DoMovePlayer do_move_player = 3; +inline bool TrainerAction::has_do_move_player() const { + return action_case() == kDoMovePlayer; } -inline bool PlayerAction::_internal_has_helios_communication() const { - return action_case() == kHeliosCommunication; +inline bool TrainerAction::_internal_has_do_move_player() const { + return action_case() == kDoMovePlayer; } -inline void PlayerAction::set_has_helios_communication() { - _impl_._oneof_case_[0] = kHeliosCommunication; +inline void TrainerAction::set_has_do_move_player() { + _impl_._oneof_case_[0] = kDoMovePlayer; } -inline void PlayerAction::clear_helios_communication() { - if (action_case() == kHeliosCommunication) { +inline void TrainerAction::clear_do_move_player() { + if (action_case() == kDoMovePlayer) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.helios_communication_; + delete _impl_.action_.do_move_player_; } clear_has_action(); } } -inline ::protos::HeliosCommunicaion* PlayerAction::release_helios_communication() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.helios_communication) - if (action_case() == kHeliosCommunication) { +inline ::protos::DoMovePlayer* TrainerAction::release_do_move_player() { + // @@protoc_insertion_point(field_release:protos.TrainerAction.do_move_player) + if (action_case() == kDoMovePlayer) { clear_has_action(); - ::protos::HeliosCommunicaion* temp = _impl_.action_.helios_communication_; + ::protos::DoMovePlayer* temp = _impl_.action_.do_move_player_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.helios_communication_ = nullptr; + _impl_.action_.do_move_player_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::HeliosCommunicaion& PlayerAction::_internal_helios_communication() const { - return action_case() == kHeliosCommunication - ? *_impl_.action_.helios_communication_ - : reinterpret_cast<::protos::HeliosCommunicaion&>(::protos::_HeliosCommunicaion_default_instance_); +inline const ::protos::DoMovePlayer& TrainerAction::_internal_do_move_player() const { + return action_case() == kDoMovePlayer + ? *_impl_.action_.do_move_player_ + : reinterpret_cast<::protos::DoMovePlayer&>(::protos::_DoMovePlayer_default_instance_); } -inline const ::protos::HeliosCommunicaion& PlayerAction::helios_communication() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.helios_communication) - return _internal_helios_communication(); +inline const ::protos::DoMovePlayer& TrainerAction::do_move_player() const { + // @@protoc_insertion_point(field_get:protos.TrainerAction.do_move_player) + return _internal_do_move_player(); } -inline ::protos::HeliosCommunicaion* PlayerAction::unsafe_arena_release_helios_communication() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.helios_communication) - if (action_case() == kHeliosCommunication) { +inline ::protos::DoMovePlayer* TrainerAction::unsafe_arena_release_do_move_player() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.TrainerAction.do_move_player) + if (action_case() == kDoMovePlayer) { clear_has_action(); - ::protos::HeliosCommunicaion* temp = _impl_.action_.helios_communication_; - _impl_.action_.helios_communication_ = nullptr; + ::protos::DoMovePlayer* temp = _impl_.action_.do_move_player_; + _impl_.action_.do_move_player_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_helios_communication(::protos::HeliosCommunicaion* helios_communication) { +inline void TrainerAction::unsafe_arena_set_allocated_do_move_player(::protos::DoMovePlayer* do_move_player) { clear_action(); - if (helios_communication) { - set_has_helios_communication(); - _impl_.action_.helios_communication_ = helios_communication; + if (do_move_player) { + set_has_do_move_player(); + _impl_.action_.do_move_player_ = do_move_player; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.helios_communication) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.TrainerAction.do_move_player) } -inline ::protos::HeliosCommunicaion* PlayerAction::_internal_mutable_helios_communication() { - if (action_case() != kHeliosCommunication) { +inline ::protos::DoMovePlayer* TrainerAction::_internal_mutable_do_move_player() { + if (action_case() != kDoMovePlayer) { clear_action(); - set_has_helios_communication(); - _impl_.action_.helios_communication_ = CreateMaybeMessage< ::protos::HeliosCommunicaion >(GetArenaForAllocation()); + set_has_do_move_player(); + _impl_.action_.do_move_player_ = CreateMaybeMessage< ::protos::DoMovePlayer >(GetArenaForAllocation()); } - return _impl_.action_.helios_communication_; + return _impl_.action_.do_move_player_; } -inline ::protos::HeliosCommunicaion* PlayerAction::mutable_helios_communication() { - ::protos::HeliosCommunicaion* _msg = _internal_mutable_helios_communication(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.helios_communication) +inline ::protos::DoMovePlayer* TrainerAction::mutable_do_move_player() { + ::protos::DoMovePlayer* _msg = _internal_mutable_do_move_player(); + // @@protoc_insertion_point(field_mutable:protos.TrainerAction.do_move_player) return _msg; } -inline bool PlayerAction::has_action() const { - return action_case() != ACTION_NOT_SET; -} -inline void PlayerAction::clear_has_action() { - _impl_._oneof_case_[0] = ACTION_NOT_SET; -} -inline PlayerAction::ActionCase PlayerAction::action_case() const { - return PlayerAction::ActionCase(_impl_._oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// PlayerActions - -// repeated .protos.PlayerAction actions = 1; -inline int PlayerActions::_internal_actions_size() const { - return _impl_.actions_.size(); -} -inline int PlayerActions::actions_size() const { - return _internal_actions_size(); -} -inline void PlayerActions::clear_actions() { - _internal_mutable_actions()->Clear(); -} -inline ::protos::PlayerAction* PlayerActions::mutable_actions(int index) { - // @@protoc_insertion_point(field_mutable:protos.PlayerActions.actions) - return _internal_mutable_actions()->Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::protos::PlayerAction >* -PlayerActions::mutable_actions() { - // @@protoc_insertion_point(field_mutable_list:protos.PlayerActions.actions) - return _internal_mutable_actions(); -} -inline const ::protos::PlayerAction& PlayerActions::_internal_actions(int index) const { - return _internal_actions().Get(index); -} -inline const ::protos::PlayerAction& PlayerActions::actions(int index) const { - // @@protoc_insertion_point(field_get:protos.PlayerActions.actions) - return _internal_actions(index); -} -inline ::protos::PlayerAction* PlayerActions::_internal_add_actions() { - return _internal_mutable_actions()->Add(); -} -inline ::protos::PlayerAction* PlayerActions::add_actions() { - ::protos::PlayerAction* _add = _internal_add_actions(); - // @@protoc_insertion_point(field_add:protos.PlayerActions.actions) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::protos::PlayerAction >& -PlayerActions::actions() const { - // @@protoc_insertion_point(field_list:protos.PlayerActions.actions) - return _internal_actions(); -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protos::PlayerAction>& -PlayerActions::_internal_actions() const { - return _impl_.actions_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protos::PlayerAction>* -PlayerActions::_internal_mutable_actions() { - return &_impl_.actions_; -} - -// ------------------------------------------------------------------- - -// ChangePlayerType - -// int32 uniform_number = 1; -inline void ChangePlayerType::clear_uniform_number() { - _impl_.uniform_number_ = 0; -} -inline ::int32_t ChangePlayerType::uniform_number() const { - // @@protoc_insertion_point(field_get:protos.ChangePlayerType.uniform_number) - return _internal_uniform_number(); -} -inline void ChangePlayerType::set_uniform_number(::int32_t value) { - _internal_set_uniform_number(value); - // @@protoc_insertion_point(field_set:protos.ChangePlayerType.uniform_number) -} -inline ::int32_t ChangePlayerType::_internal_uniform_number() const { - return _impl_.uniform_number_; -} -inline void ChangePlayerType::_internal_set_uniform_number(::int32_t value) { - ; - _impl_.uniform_number_ = value; -} - -// int32 type = 2; -inline void ChangePlayerType::clear_type() { - _impl_.type_ = 0; -} -inline ::int32_t ChangePlayerType::type() const { - // @@protoc_insertion_point(field_get:protos.ChangePlayerType.type) - return _internal_type(); -} -inline void ChangePlayerType::set_type(::int32_t value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:protos.ChangePlayerType.type) -} -inline ::int32_t ChangePlayerType::_internal_type() const { - return _impl_.type_; -} -inline void ChangePlayerType::_internal_set_type(::int32_t value) { - ; - _impl_.type_ = value; -} - -// ------------------------------------------------------------------- - -// DoHeliosSubstitute - -// ------------------------------------------------------------------- - -// DoHeliosSayPlayerTypes - -// ------------------------------------------------------------------- - -// CoachAction - -// .protos.ChangePlayerType change_player_types = 1; -inline bool CoachAction::has_change_player_types() const { - return action_case() == kChangePlayerTypes; +// .protos.DoRecover do_recover = 4; +inline bool TrainerAction::has_do_recover() const { + return action_case() == kDoRecover; } -inline bool CoachAction::_internal_has_change_player_types() const { - return action_case() == kChangePlayerTypes; +inline bool TrainerAction::_internal_has_do_recover() const { + return action_case() == kDoRecover; } -inline void CoachAction::set_has_change_player_types() { - _impl_._oneof_case_[0] = kChangePlayerTypes; +inline void TrainerAction::set_has_do_recover() { + _impl_._oneof_case_[0] = kDoRecover; } -inline void CoachAction::clear_change_player_types() { - if (action_case() == kChangePlayerTypes) { +inline void TrainerAction::clear_do_recover() { + if (action_case() == kDoRecover) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.change_player_types_; + delete _impl_.action_.do_recover_; } clear_has_action(); } } -inline ::protos::ChangePlayerType* CoachAction::release_change_player_types() { - // @@protoc_insertion_point(field_release:protos.CoachAction.change_player_types) - if (action_case() == kChangePlayerTypes) { +inline ::protos::DoRecover* TrainerAction::release_do_recover() { + // @@protoc_insertion_point(field_release:protos.TrainerAction.do_recover) + if (action_case() == kDoRecover) { clear_has_action(); - ::protos::ChangePlayerType* temp = _impl_.action_.change_player_types_; + ::protos::DoRecover* temp = _impl_.action_.do_recover_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.change_player_types_ = nullptr; + _impl_.action_.do_recover_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::ChangePlayerType& CoachAction::_internal_change_player_types() const { - return action_case() == kChangePlayerTypes - ? *_impl_.action_.change_player_types_ - : reinterpret_cast<::protos::ChangePlayerType&>(::protos::_ChangePlayerType_default_instance_); +inline const ::protos::DoRecover& TrainerAction::_internal_do_recover() const { + return action_case() == kDoRecover + ? *_impl_.action_.do_recover_ + : reinterpret_cast<::protos::DoRecover&>(::protos::_DoRecover_default_instance_); } -inline const ::protos::ChangePlayerType& CoachAction::change_player_types() const { - // @@protoc_insertion_point(field_get:protos.CoachAction.change_player_types) - return _internal_change_player_types(); +inline const ::protos::DoRecover& TrainerAction::do_recover() const { + // @@protoc_insertion_point(field_get:protos.TrainerAction.do_recover) + return _internal_do_recover(); } -inline ::protos::ChangePlayerType* CoachAction::unsafe_arena_release_change_player_types() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.CoachAction.change_player_types) - if (action_case() == kChangePlayerTypes) { +inline ::protos::DoRecover* TrainerAction::unsafe_arena_release_do_recover() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.TrainerAction.do_recover) + if (action_case() == kDoRecover) { clear_has_action(); - ::protos::ChangePlayerType* temp = _impl_.action_.change_player_types_; - _impl_.action_.change_player_types_ = nullptr; + ::protos::DoRecover* temp = _impl_.action_.do_recover_; + _impl_.action_.do_recover_ = nullptr; return temp; } else { return nullptr; } } -inline void CoachAction::unsafe_arena_set_allocated_change_player_types(::protos::ChangePlayerType* change_player_types) { +inline void TrainerAction::unsafe_arena_set_allocated_do_recover(::protos::DoRecover* do_recover) { clear_action(); - if (change_player_types) { - set_has_change_player_types(); - _impl_.action_.change_player_types_ = change_player_types; + if (do_recover) { + set_has_do_recover(); + _impl_.action_.do_recover_ = do_recover; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.CoachAction.change_player_types) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.TrainerAction.do_recover) } -inline ::protos::ChangePlayerType* CoachAction::_internal_mutable_change_player_types() { - if (action_case() != kChangePlayerTypes) { +inline ::protos::DoRecover* TrainerAction::_internal_mutable_do_recover() { + if (action_case() != kDoRecover) { clear_action(); - set_has_change_player_types(); - _impl_.action_.change_player_types_ = CreateMaybeMessage< ::protos::ChangePlayerType >(GetArenaForAllocation()); + set_has_do_recover(); + _impl_.action_.do_recover_ = CreateMaybeMessage< ::protos::DoRecover >(GetArenaForAllocation()); } - return _impl_.action_.change_player_types_; + return _impl_.action_.do_recover_; } -inline ::protos::ChangePlayerType* CoachAction::mutable_change_player_types() { - ::protos::ChangePlayerType* _msg = _internal_mutable_change_player_types(); - // @@protoc_insertion_point(field_mutable:protos.CoachAction.change_player_types) +inline ::protos::DoRecover* TrainerAction::mutable_do_recover() { + ::protos::DoRecover* _msg = _internal_mutable_do_recover(); + // @@protoc_insertion_point(field_mutable:protos.TrainerAction.do_recover) return _msg; } -// .protos.DoHeliosSubstitute do_helios_substitute = 2; -inline bool CoachAction::has_do_helios_substitute() const { - return action_case() == kDoHeliosSubstitute; +// .protos.DoChangeMode do_change_mode = 5; +inline bool TrainerAction::has_do_change_mode() const { + return action_case() == kDoChangeMode; } -inline bool CoachAction::_internal_has_do_helios_substitute() const { - return action_case() == kDoHeliosSubstitute; +inline bool TrainerAction::_internal_has_do_change_mode() const { + return action_case() == kDoChangeMode; } -inline void CoachAction::set_has_do_helios_substitute() { - _impl_._oneof_case_[0] = kDoHeliosSubstitute; +inline void TrainerAction::set_has_do_change_mode() { + _impl_._oneof_case_[0] = kDoChangeMode; } -inline void CoachAction::clear_do_helios_substitute() { - if (action_case() == kDoHeliosSubstitute) { +inline void TrainerAction::clear_do_change_mode() { + if (action_case() == kDoChangeMode) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.do_helios_substitute_; + delete _impl_.action_.do_change_mode_; } clear_has_action(); } } -inline ::protos::DoHeliosSubstitute* CoachAction::release_do_helios_substitute() { - // @@protoc_insertion_point(field_release:protos.CoachAction.do_helios_substitute) - if (action_case() == kDoHeliosSubstitute) { +inline ::protos::DoChangeMode* TrainerAction::release_do_change_mode() { + // @@protoc_insertion_point(field_release:protos.TrainerAction.do_change_mode) + if (action_case() == kDoChangeMode) { clear_has_action(); - ::protos::DoHeliosSubstitute* temp = _impl_.action_.do_helios_substitute_; + ::protos::DoChangeMode* temp = _impl_.action_.do_change_mode_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.do_helios_substitute_ = nullptr; + _impl_.action_.do_change_mode_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::DoHeliosSubstitute& CoachAction::_internal_do_helios_substitute() const { - return action_case() == kDoHeliosSubstitute - ? *_impl_.action_.do_helios_substitute_ - : reinterpret_cast<::protos::DoHeliosSubstitute&>(::protos::_DoHeliosSubstitute_default_instance_); -} -inline const ::protos::DoHeliosSubstitute& CoachAction::do_helios_substitute() const { - // @@protoc_insertion_point(field_get:protos.CoachAction.do_helios_substitute) - return _internal_do_helios_substitute(); +inline const ::protos::DoChangeMode& TrainerAction::_internal_do_change_mode() const { + return action_case() == kDoChangeMode + ? *_impl_.action_.do_change_mode_ + : reinterpret_cast<::protos::DoChangeMode&>(::protos::_DoChangeMode_default_instance_); } -inline ::protos::DoHeliosSubstitute* CoachAction::unsafe_arena_release_do_helios_substitute() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.CoachAction.do_helios_substitute) - if (action_case() == kDoHeliosSubstitute) { +inline const ::protos::DoChangeMode& TrainerAction::do_change_mode() const { + // @@protoc_insertion_point(field_get:protos.TrainerAction.do_change_mode) + return _internal_do_change_mode(); +} +inline ::protos::DoChangeMode* TrainerAction::unsafe_arena_release_do_change_mode() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.TrainerAction.do_change_mode) + if (action_case() == kDoChangeMode) { clear_has_action(); - ::protos::DoHeliosSubstitute* temp = _impl_.action_.do_helios_substitute_; - _impl_.action_.do_helios_substitute_ = nullptr; + ::protos::DoChangeMode* temp = _impl_.action_.do_change_mode_; + _impl_.action_.do_change_mode_ = nullptr; return temp; } else { return nullptr; } } -inline void CoachAction::unsafe_arena_set_allocated_do_helios_substitute(::protos::DoHeliosSubstitute* do_helios_substitute) { +inline void TrainerAction::unsafe_arena_set_allocated_do_change_mode(::protos::DoChangeMode* do_change_mode) { clear_action(); - if (do_helios_substitute) { - set_has_do_helios_substitute(); - _impl_.action_.do_helios_substitute_ = do_helios_substitute; + if (do_change_mode) { + set_has_do_change_mode(); + _impl_.action_.do_change_mode_ = do_change_mode; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.CoachAction.do_helios_substitute) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.TrainerAction.do_change_mode) } -inline ::protos::DoHeliosSubstitute* CoachAction::_internal_mutable_do_helios_substitute() { - if (action_case() != kDoHeliosSubstitute) { +inline ::protos::DoChangeMode* TrainerAction::_internal_mutable_do_change_mode() { + if (action_case() != kDoChangeMode) { clear_action(); - set_has_do_helios_substitute(); - _impl_.action_.do_helios_substitute_ = CreateMaybeMessage< ::protos::DoHeliosSubstitute >(GetArenaForAllocation()); + set_has_do_change_mode(); + _impl_.action_.do_change_mode_ = CreateMaybeMessage< ::protos::DoChangeMode >(GetArenaForAllocation()); } - return _impl_.action_.do_helios_substitute_; + return _impl_.action_.do_change_mode_; } -inline ::protos::DoHeliosSubstitute* CoachAction::mutable_do_helios_substitute() { - ::protos::DoHeliosSubstitute* _msg = _internal_mutable_do_helios_substitute(); - // @@protoc_insertion_point(field_mutable:protos.CoachAction.do_helios_substitute) +inline ::protos::DoChangeMode* TrainerAction::mutable_do_change_mode() { + ::protos::DoChangeMode* _msg = _internal_mutable_do_change_mode(); + // @@protoc_insertion_point(field_mutable:protos.TrainerAction.do_change_mode) return _msg; } -// .protos.DoHeliosSayPlayerTypes do_helios_say_player_types = 3; -inline bool CoachAction::has_do_helios_say_player_types() const { - return action_case() == kDoHeliosSayPlayerTypes; +// .protos.DoChangePlayerType do_change_player_type = 6; +inline bool TrainerAction::has_do_change_player_type() const { + return action_case() == kDoChangePlayerType; } -inline bool CoachAction::_internal_has_do_helios_say_player_types() const { - return action_case() == kDoHeliosSayPlayerTypes; +inline bool TrainerAction::_internal_has_do_change_player_type() const { + return action_case() == kDoChangePlayerType; } -inline void CoachAction::set_has_do_helios_say_player_types() { - _impl_._oneof_case_[0] = kDoHeliosSayPlayerTypes; +inline void TrainerAction::set_has_do_change_player_type() { + _impl_._oneof_case_[0] = kDoChangePlayerType; } -inline void CoachAction::clear_do_helios_say_player_types() { - if (action_case() == kDoHeliosSayPlayerTypes) { +inline void TrainerAction::clear_do_change_player_type() { + if (action_case() == kDoChangePlayerType) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.do_helios_say_player_types_; + delete _impl_.action_.do_change_player_type_; } clear_has_action(); } } -inline ::protos::DoHeliosSayPlayerTypes* CoachAction::release_do_helios_say_player_types() { - // @@protoc_insertion_point(field_release:protos.CoachAction.do_helios_say_player_types) - if (action_case() == kDoHeliosSayPlayerTypes) { +inline ::protos::DoChangePlayerType* TrainerAction::release_do_change_player_type() { + // @@protoc_insertion_point(field_release:protos.TrainerAction.do_change_player_type) + if (action_case() == kDoChangePlayerType) { clear_has_action(); - ::protos::DoHeliosSayPlayerTypes* temp = _impl_.action_.do_helios_say_player_types_; + ::protos::DoChangePlayerType* temp = _impl_.action_.do_change_player_type_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.do_helios_say_player_types_ = nullptr; + _impl_.action_.do_change_player_type_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::DoHeliosSayPlayerTypes& CoachAction::_internal_do_helios_say_player_types() const { - return action_case() == kDoHeliosSayPlayerTypes - ? *_impl_.action_.do_helios_say_player_types_ - : reinterpret_cast<::protos::DoHeliosSayPlayerTypes&>(::protos::_DoHeliosSayPlayerTypes_default_instance_); +inline const ::protos::DoChangePlayerType& TrainerAction::_internal_do_change_player_type() const { + return action_case() == kDoChangePlayerType + ? *_impl_.action_.do_change_player_type_ + : reinterpret_cast<::protos::DoChangePlayerType&>(::protos::_DoChangePlayerType_default_instance_); } -inline const ::protos::DoHeliosSayPlayerTypes& CoachAction::do_helios_say_player_types() const { - // @@protoc_insertion_point(field_get:protos.CoachAction.do_helios_say_player_types) - return _internal_do_helios_say_player_types(); +inline const ::protos::DoChangePlayerType& TrainerAction::do_change_player_type() const { + // @@protoc_insertion_point(field_get:protos.TrainerAction.do_change_player_type) + return _internal_do_change_player_type(); } -inline ::protos::DoHeliosSayPlayerTypes* CoachAction::unsafe_arena_release_do_helios_say_player_types() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.CoachAction.do_helios_say_player_types) - if (action_case() == kDoHeliosSayPlayerTypes) { +inline ::protos::DoChangePlayerType* TrainerAction::unsafe_arena_release_do_change_player_type() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.TrainerAction.do_change_player_type) + if (action_case() == kDoChangePlayerType) { clear_has_action(); - ::protos::DoHeliosSayPlayerTypes* temp = _impl_.action_.do_helios_say_player_types_; - _impl_.action_.do_helios_say_player_types_ = nullptr; + ::protos::DoChangePlayerType* temp = _impl_.action_.do_change_player_type_; + _impl_.action_.do_change_player_type_ = nullptr; return temp; } else { return nullptr; } } -inline void CoachAction::unsafe_arena_set_allocated_do_helios_say_player_types(::protos::DoHeliosSayPlayerTypes* do_helios_say_player_types) { +inline void TrainerAction::unsafe_arena_set_allocated_do_change_player_type(::protos::DoChangePlayerType* do_change_player_type) { clear_action(); - if (do_helios_say_player_types) { - set_has_do_helios_say_player_types(); - _impl_.action_.do_helios_say_player_types_ = do_helios_say_player_types; + if (do_change_player_type) { + set_has_do_change_player_type(); + _impl_.action_.do_change_player_type_ = do_change_player_type; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.CoachAction.do_helios_say_player_types) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.TrainerAction.do_change_player_type) } -inline ::protos::DoHeliosSayPlayerTypes* CoachAction::_internal_mutable_do_helios_say_player_types() { - if (action_case() != kDoHeliosSayPlayerTypes) { +inline ::protos::DoChangePlayerType* TrainerAction::_internal_mutable_do_change_player_type() { + if (action_case() != kDoChangePlayerType) { clear_action(); - set_has_do_helios_say_player_types(); - _impl_.action_.do_helios_say_player_types_ = CreateMaybeMessage< ::protos::DoHeliosSayPlayerTypes >(GetArenaForAllocation()); + set_has_do_change_player_type(); + _impl_.action_.do_change_player_type_ = CreateMaybeMessage< ::protos::DoChangePlayerType >(GetArenaForAllocation()); } - return _impl_.action_.do_helios_say_player_types_; + return _impl_.action_.do_change_player_type_; } -inline ::protos::DoHeliosSayPlayerTypes* CoachAction::mutable_do_helios_say_player_types() { - ::protos::DoHeliosSayPlayerTypes* _msg = _internal_mutable_do_helios_say_player_types(); - // @@protoc_insertion_point(field_mutable:protos.CoachAction.do_helios_say_player_types) +inline ::protos::DoChangePlayerType* TrainerAction::mutable_do_change_player_type() { + ::protos::DoChangePlayerType* _msg = _internal_mutable_do_change_player_type(); + // @@protoc_insertion_point(field_mutable:protos.TrainerAction.do_change_player_type) return _msg; } -inline bool CoachAction::has_action() const { +inline bool TrainerAction::has_action() const { return action_case() != ACTION_NOT_SET; } -inline void CoachAction::clear_has_action() { +inline void TrainerAction::clear_has_action() { _impl_._oneof_case_[0] = ACTION_NOT_SET; } -inline CoachAction::ActionCase CoachAction::action_case() const { - return CoachAction::ActionCase(_impl_._oneof_case_[0]); +inline TrainerAction::ActionCase TrainerAction::action_case() const { + return TrainerAction::ActionCase(_impl_._oneof_case_[0]); } // ------------------------------------------------------------------- -// CoachActions +// TrainerActions -// repeated .protos.CoachAction actions = 1; -inline int CoachActions::_internal_actions_size() const { +// repeated .protos.TrainerAction actions = 1; +inline int TrainerActions::_internal_actions_size() const { return _impl_.actions_.size(); } -inline int CoachActions::actions_size() const { +inline int TrainerActions::actions_size() const { return _internal_actions_size(); } -inline void CoachActions::clear_actions() { +inline void TrainerActions::clear_actions() { _internal_mutable_actions()->Clear(); } -inline ::protos::CoachAction* CoachActions::mutable_actions(int index) { - // @@protoc_insertion_point(field_mutable:protos.CoachActions.actions) +inline ::protos::TrainerAction* TrainerActions::mutable_actions(int index) { + // @@protoc_insertion_point(field_mutable:protos.TrainerActions.actions) return _internal_mutable_actions()->Mutable(index); } -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::protos::CoachAction >* -CoachActions::mutable_actions() { - // @@protoc_insertion_point(field_mutable_list:protos.CoachActions.actions) +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::protos::TrainerAction >* +TrainerActions::mutable_actions() { + // @@protoc_insertion_point(field_mutable_list:protos.TrainerActions.actions) return _internal_mutable_actions(); } -inline const ::protos::CoachAction& CoachActions::_internal_actions(int index) const { +inline const ::protos::TrainerAction& TrainerActions::_internal_actions(int index) const { return _internal_actions().Get(index); } -inline const ::protos::CoachAction& CoachActions::actions(int index) const { - // @@protoc_insertion_point(field_get:protos.CoachActions.actions) +inline const ::protos::TrainerAction& TrainerActions::actions(int index) const { + // @@protoc_insertion_point(field_get:protos.TrainerActions.actions) return _internal_actions(index); } -inline ::protos::CoachAction* CoachActions::_internal_add_actions() { +inline ::protos::TrainerAction* TrainerActions::_internal_add_actions() { return _internal_mutable_actions()->Add(); } -inline ::protos::CoachAction* CoachActions::add_actions() { - ::protos::CoachAction* _add = _internal_add_actions(); - // @@protoc_insertion_point(field_add:protos.CoachActions.actions) +inline ::protos::TrainerAction* TrainerActions::add_actions() { + ::protos::TrainerAction* _add = _internal_add_actions(); + // @@protoc_insertion_point(field_add:protos.TrainerActions.actions) return _add; } -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::protos::CoachAction >& -CoachActions::actions() const { - // @@protoc_insertion_point(field_list:protos.CoachActions.actions) +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::protos::TrainerAction >& +TrainerActions::actions() const { + // @@protoc_insertion_point(field_list:protos.TrainerActions.actions) return _internal_actions(); } -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protos::CoachAction>& -CoachActions::_internal_actions() const { +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protos::TrainerAction>& +TrainerActions::_internal_actions() const { return _impl_.actions_; } -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protos::CoachAction>* -CoachActions::_internal_mutable_actions() { +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protos::TrainerAction>* +TrainerActions::_internal_mutable_actions() { return &_impl_.actions_; } // ------------------------------------------------------------------- -// DoKickOff - -// ------------------------------------------------------------------- - -// DoMoveBall +// ServerParam -// .protos.RpcVector2D position = 1; -inline bool DoMoveBall::has_position() const { +// .protos.RegisterResponse register_response = 1; +inline bool ServerParam::has_register_response() const { bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.position_ != nullptr); + PROTOBUF_ASSUME(!value || _impl_.register_response_ != nullptr); return value; } -inline void DoMoveBall::clear_position() { - if (_impl_.position_ != nullptr) _impl_.position_->Clear(); +inline void ServerParam::clear_register_response() { + if (_impl_.register_response_ != nullptr) _impl_.register_response_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } -inline const ::protos::RpcVector2D& DoMoveBall::_internal_position() const { - const ::protos::RpcVector2D* p = _impl_.position_; - return p != nullptr ? *p : reinterpret_cast( - ::protos::_RpcVector2D_default_instance_); +inline const ::protos::RegisterResponse& ServerParam::_internal_register_response() const { + const ::protos::RegisterResponse* p = _impl_.register_response_; + return p != nullptr ? *p : reinterpret_cast( + ::protos::_RegisterResponse_default_instance_); } -inline const ::protos::RpcVector2D& DoMoveBall::position() const { - // @@protoc_insertion_point(field_get:protos.DoMoveBall.position) - return _internal_position(); +inline const ::protos::RegisterResponse& ServerParam::register_response() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.register_response) + return _internal_register_response(); } -inline void DoMoveBall::unsafe_arena_set_allocated_position( - ::protos::RpcVector2D* position) { +inline void ServerParam::unsafe_arena_set_allocated_register_response( + ::protos::RegisterResponse* register_response) { if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.register_response_); } - _impl_.position_ = position; - if (position) { + _impl_.register_response_ = register_response; + if (register_response) { _impl_._has_bits_[0] |= 0x00000001u; } else { _impl_._has_bits_[0] &= ~0x00000001u; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.DoMoveBall.position) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.ServerParam.register_response) } -inline ::protos::RpcVector2D* DoMoveBall::release_position() { +inline ::protos::RegisterResponse* ServerParam::release_register_response() { _impl_._has_bits_[0] &= ~0x00000001u; - ::protos::RpcVector2D* temp = _impl_.position_; - _impl_.position_ = nullptr; + ::protos::RegisterResponse* temp = _impl_.register_response_; + _impl_.register_response_ = nullptr; #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); @@ -49072,5845 +51310,5566 @@ inline ::protos::RpcVector2D* DoMoveBall::release_position() { #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::protos::RpcVector2D* DoMoveBall::unsafe_arena_release_position() { - // @@protoc_insertion_point(field_release:protos.DoMoveBall.position) +inline ::protos::RegisterResponse* ServerParam::unsafe_arena_release_register_response() { + // @@protoc_insertion_point(field_release:protos.ServerParam.register_response) _impl_._has_bits_[0] &= ~0x00000001u; - ::protos::RpcVector2D* temp = _impl_.position_; - _impl_.position_ = nullptr; + ::protos::RegisterResponse* temp = _impl_.register_response_; + _impl_.register_response_ = nullptr; return temp; } -inline ::protos::RpcVector2D* DoMoveBall::_internal_mutable_position() { +inline ::protos::RegisterResponse* ServerParam::_internal_mutable_register_response() { _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.position_ == nullptr) { - auto* p = CreateMaybeMessage<::protos::RpcVector2D>(GetArenaForAllocation()); - _impl_.position_ = p; + if (_impl_.register_response_ == nullptr) { + auto* p = CreateMaybeMessage<::protos::RegisterResponse>(GetArenaForAllocation()); + _impl_.register_response_ = p; } - return _impl_.position_; + return _impl_.register_response_; } -inline ::protos::RpcVector2D* DoMoveBall::mutable_position() { - ::protos::RpcVector2D* _msg = _internal_mutable_position(); - // @@protoc_insertion_point(field_mutable:protos.DoMoveBall.position) +inline ::protos::RegisterResponse* ServerParam::mutable_register_response() { + ::protos::RegisterResponse* _msg = _internal_mutable_register_response(); + // @@protoc_insertion_point(field_mutable:protos.ServerParam.register_response) return _msg; } -inline void DoMoveBall::set_allocated_position(::protos::RpcVector2D* position) { +inline void ServerParam::set_allocated_register_response(::protos::RegisterResponse* register_response) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { - delete _impl_.position_; + delete _impl_.register_response_; } - if (position) { + if (register_response) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(position); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(register_response); if (message_arena != submessage_arena) { - position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, position, submessage_arena); + register_response = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, register_response, submessage_arena); } _impl_._has_bits_[0] |= 0x00000001u; } else { _impl_._has_bits_[0] &= ~0x00000001u; } - _impl_.position_ = position; - // @@protoc_insertion_point(field_set_allocated:protos.DoMoveBall.position) + _impl_.register_response_ = register_response; + // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.register_response) } -// .protos.RpcVector2D velocity = 2; -inline bool DoMoveBall::has_velocity() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.velocity_ != nullptr); - return value; -} -inline void DoMoveBall::clear_velocity() { - if (_impl_.velocity_ != nullptr) _impl_.velocity_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::protos::RpcVector2D& DoMoveBall::_internal_velocity() const { - const ::protos::RpcVector2D* p = _impl_.velocity_; - return p != nullptr ? *p : reinterpret_cast( - ::protos::_RpcVector2D_default_instance_); -} -inline const ::protos::RpcVector2D& DoMoveBall::velocity() const { - // @@protoc_insertion_point(field_get:protos.DoMoveBall.velocity) - return _internal_velocity(); -} -inline void DoMoveBall::unsafe_arena_set_allocated_velocity( - ::protos::RpcVector2D* velocity) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.velocity_); - } - _impl_.velocity_ = velocity; - if (velocity) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.DoMoveBall.velocity) -} -inline ::protos::RpcVector2D* DoMoveBall::release_velocity() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::protos::RpcVector2D* temp = _impl_.velocity_; - _impl_.velocity_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; +// float inertia_moment = 2; +inline void ServerParam::clear_inertia_moment() { + _impl_.inertia_moment_ = 0; } -inline ::protos::RpcVector2D* DoMoveBall::unsafe_arena_release_velocity() { - // @@protoc_insertion_point(field_release:protos.DoMoveBall.velocity) - _impl_._has_bits_[0] &= ~0x00000002u; - ::protos::RpcVector2D* temp = _impl_.velocity_; - _impl_.velocity_ = nullptr; - return temp; +inline float ServerParam::inertia_moment() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.inertia_moment) + return _internal_inertia_moment(); } -inline ::protos::RpcVector2D* DoMoveBall::_internal_mutable_velocity() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.velocity_ == nullptr) { - auto* p = CreateMaybeMessage<::protos::RpcVector2D>(GetArenaForAllocation()); - _impl_.velocity_ = p; - } - return _impl_.velocity_; +inline void ServerParam::set_inertia_moment(float value) { + _internal_set_inertia_moment(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.inertia_moment) } -inline ::protos::RpcVector2D* DoMoveBall::mutable_velocity() { - ::protos::RpcVector2D* _msg = _internal_mutable_velocity(); - // @@protoc_insertion_point(field_mutable:protos.DoMoveBall.velocity) - return _msg; +inline float ServerParam::_internal_inertia_moment() const { + return _impl_.inertia_moment_; } -inline void DoMoveBall::set_allocated_velocity(::protos::RpcVector2D* velocity) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.velocity_; - } - if (velocity) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(velocity); - if (message_arena != submessage_arena) { - velocity = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, velocity, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.velocity_ = velocity; - // @@protoc_insertion_point(field_set_allocated:protos.DoMoveBall.velocity) +inline void ServerParam::_internal_set_inertia_moment(float value) { + ; + _impl_.inertia_moment_ = value; } -// ------------------------------------------------------------------- - -// DoMovePlayer - -// bool our_side = 1; -inline void DoMovePlayer::clear_our_side() { - _impl_.our_side_ = false; +// float player_size = 3; +inline void ServerParam::clear_player_size() { + _impl_.player_size_ = 0; } -inline bool DoMovePlayer::our_side() const { - // @@protoc_insertion_point(field_get:protos.DoMovePlayer.our_side) - return _internal_our_side(); +inline float ServerParam::player_size() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.player_size) + return _internal_player_size(); } -inline void DoMovePlayer::set_our_side(bool value) { - _internal_set_our_side(value); - // @@protoc_insertion_point(field_set:protos.DoMovePlayer.our_side) +inline void ServerParam::set_player_size(float value) { + _internal_set_player_size(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.player_size) } -inline bool DoMovePlayer::_internal_our_side() const { - return _impl_.our_side_; +inline float ServerParam::_internal_player_size() const { + return _impl_.player_size_; } -inline void DoMovePlayer::_internal_set_our_side(bool value) { +inline void ServerParam::_internal_set_player_size(float value) { ; - _impl_.our_side_ = value; + _impl_.player_size_ = value; } -// int32 uniform_number = 2; -inline void DoMovePlayer::clear_uniform_number() { - _impl_.uniform_number_ = 0; +// float player_decay = 4; +inline void ServerParam::clear_player_decay() { + _impl_.player_decay_ = 0; } -inline ::int32_t DoMovePlayer::uniform_number() const { - // @@protoc_insertion_point(field_get:protos.DoMovePlayer.uniform_number) - return _internal_uniform_number(); +inline float ServerParam::player_decay() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.player_decay) + return _internal_player_decay(); } -inline void DoMovePlayer::set_uniform_number(::int32_t value) { - _internal_set_uniform_number(value); - // @@protoc_insertion_point(field_set:protos.DoMovePlayer.uniform_number) +inline void ServerParam::set_player_decay(float value) { + _internal_set_player_decay(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.player_decay) } -inline ::int32_t DoMovePlayer::_internal_uniform_number() const { - return _impl_.uniform_number_; +inline float ServerParam::_internal_player_decay() const { + return _impl_.player_decay_; } -inline void DoMovePlayer::_internal_set_uniform_number(::int32_t value) { +inline void ServerParam::_internal_set_player_decay(float value) { ; - _impl_.uniform_number_ = value; + _impl_.player_decay_ = value; } -// .protos.RpcVector2D position = 3; -inline bool DoMovePlayer::has_position() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.position_ != nullptr); - return value; -} -inline void DoMovePlayer::clear_position() { - if (_impl_.position_ != nullptr) _impl_.position_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::protos::RpcVector2D& DoMovePlayer::_internal_position() const { - const ::protos::RpcVector2D* p = _impl_.position_; - return p != nullptr ? *p : reinterpret_cast( - ::protos::_RpcVector2D_default_instance_); +// float player_rand = 5; +inline void ServerParam::clear_player_rand() { + _impl_.player_rand_ = 0; } -inline const ::protos::RpcVector2D& DoMovePlayer::position() const { - // @@protoc_insertion_point(field_get:protos.DoMovePlayer.position) - return _internal_position(); +inline float ServerParam::player_rand() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.player_rand) + return _internal_player_rand(); } -inline void DoMovePlayer::unsafe_arena_set_allocated_position( - ::protos::RpcVector2D* position) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); - } - _impl_.position_ = position; - if (position) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.DoMovePlayer.position) +inline void ServerParam::set_player_rand(float value) { + _internal_set_player_rand(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.player_rand) } -inline ::protos::RpcVector2D* DoMovePlayer::release_position() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::protos::RpcVector2D* temp = _impl_.position_; - _impl_.position_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; +inline float ServerParam::_internal_player_rand() const { + return _impl_.player_rand_; } -inline ::protos::RpcVector2D* DoMovePlayer::unsafe_arena_release_position() { - // @@protoc_insertion_point(field_release:protos.DoMovePlayer.position) - _impl_._has_bits_[0] &= ~0x00000001u; - ::protos::RpcVector2D* temp = _impl_.position_; - _impl_.position_ = nullptr; - return temp; +inline void ServerParam::_internal_set_player_rand(float value) { + ; + _impl_.player_rand_ = value; } -inline ::protos::RpcVector2D* DoMovePlayer::_internal_mutable_position() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.position_ == nullptr) { - auto* p = CreateMaybeMessage<::protos::RpcVector2D>(GetArenaForAllocation()); - _impl_.position_ = p; - } - return _impl_.position_; + +// float player_weight = 6; +inline void ServerParam::clear_player_weight() { + _impl_.player_weight_ = 0; } -inline ::protos::RpcVector2D* DoMovePlayer::mutable_position() { - ::protos::RpcVector2D* _msg = _internal_mutable_position(); - // @@protoc_insertion_point(field_mutable:protos.DoMovePlayer.position) - return _msg; +inline float ServerParam::player_weight() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.player_weight) + return _internal_player_weight(); } -inline void DoMovePlayer::set_allocated_position(::protos::RpcVector2D* position) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.position_; - } - if (position) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(position); - if (message_arena != submessage_arena) { - position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, position, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.position_ = position; - // @@protoc_insertion_point(field_set_allocated:protos.DoMovePlayer.position) +inline void ServerParam::set_player_weight(float value) { + _internal_set_player_weight(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.player_weight) +} +inline float ServerParam::_internal_player_weight() const { + return _impl_.player_weight_; +} +inline void ServerParam::_internal_set_player_weight(float value) { + ; + _impl_.player_weight_ = value; } -// float body_direction = 4; -inline void DoMovePlayer::clear_body_direction() { - _impl_.body_direction_ = 0; +// float player_speed_max = 7; +inline void ServerParam::clear_player_speed_max() { + _impl_.player_speed_max_ = 0; } -inline float DoMovePlayer::body_direction() const { - // @@protoc_insertion_point(field_get:protos.DoMovePlayer.body_direction) - return _internal_body_direction(); +inline float ServerParam::player_speed_max() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.player_speed_max) + return _internal_player_speed_max(); } -inline void DoMovePlayer::set_body_direction(float value) { - _internal_set_body_direction(value); - // @@protoc_insertion_point(field_set:protos.DoMovePlayer.body_direction) +inline void ServerParam::set_player_speed_max(float value) { + _internal_set_player_speed_max(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.player_speed_max) } -inline float DoMovePlayer::_internal_body_direction() const { - return _impl_.body_direction_; +inline float ServerParam::_internal_player_speed_max() const { + return _impl_.player_speed_max_; } -inline void DoMovePlayer::_internal_set_body_direction(float value) { +inline void ServerParam::_internal_set_player_speed_max(float value) { ; - _impl_.body_direction_ = value; + _impl_.player_speed_max_ = value; } -// ------------------------------------------------------------------- - -// DoRecover - -// ------------------------------------------------------------------- - -// DoChangeMode - -// .protos.GameModeType game_mode_type = 1; -inline void DoChangeMode::clear_game_mode_type() { - _impl_.game_mode_type_ = 0; +// float player_accel_max = 8; +inline void ServerParam::clear_player_accel_max() { + _impl_.player_accel_max_ = 0; } -inline ::protos::GameModeType DoChangeMode::game_mode_type() const { - // @@protoc_insertion_point(field_get:protos.DoChangeMode.game_mode_type) - return _internal_game_mode_type(); +inline float ServerParam::player_accel_max() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.player_accel_max) + return _internal_player_accel_max(); } -inline void DoChangeMode::set_game_mode_type(::protos::GameModeType value) { - _internal_set_game_mode_type(value); - // @@protoc_insertion_point(field_set:protos.DoChangeMode.game_mode_type) +inline void ServerParam::set_player_accel_max(float value) { + _internal_set_player_accel_max(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.player_accel_max) } -inline ::protos::GameModeType DoChangeMode::_internal_game_mode_type() const { - return static_cast<::protos::GameModeType>(_impl_.game_mode_type_); +inline float ServerParam::_internal_player_accel_max() const { + return _impl_.player_accel_max_; } -inline void DoChangeMode::_internal_set_game_mode_type(::protos::GameModeType value) { +inline void ServerParam::_internal_set_player_accel_max(float value) { ; - _impl_.game_mode_type_ = value; + _impl_.player_accel_max_ = value; } -// .protos.Side side = 2; -inline void DoChangeMode::clear_side() { - _impl_.side_ = 0; +// float stamina_max = 9; +inline void ServerParam::clear_stamina_max() { + _impl_.stamina_max_ = 0; } -inline ::protos::Side DoChangeMode::side() const { - // @@protoc_insertion_point(field_get:protos.DoChangeMode.side) - return _internal_side(); +inline float ServerParam::stamina_max() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.stamina_max) + return _internal_stamina_max(); } -inline void DoChangeMode::set_side(::protos::Side value) { - _internal_set_side(value); - // @@protoc_insertion_point(field_set:protos.DoChangeMode.side) +inline void ServerParam::set_stamina_max(float value) { + _internal_set_stamina_max(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.stamina_max) } -inline ::protos::Side DoChangeMode::_internal_side() const { - return static_cast<::protos::Side>(_impl_.side_); +inline float ServerParam::_internal_stamina_max() const { + return _impl_.stamina_max_; } -inline void DoChangeMode::_internal_set_side(::protos::Side value) { +inline void ServerParam::_internal_set_stamina_max(float value) { ; - _impl_.side_ = value; + _impl_.stamina_max_ = value; } -// ------------------------------------------------------------------- - -// DoChangePlayerType - -// bool our_side = 1; -inline void DoChangePlayerType::clear_our_side() { - _impl_.our_side_ = false; +// float stamina_inc_max = 10; +inline void ServerParam::clear_stamina_inc_max() { + _impl_.stamina_inc_max_ = 0; } -inline bool DoChangePlayerType::our_side() const { - // @@protoc_insertion_point(field_get:protos.DoChangePlayerType.our_side) - return _internal_our_side(); +inline float ServerParam::stamina_inc_max() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.stamina_inc_max) + return _internal_stamina_inc_max(); } -inline void DoChangePlayerType::set_our_side(bool value) { - _internal_set_our_side(value); - // @@protoc_insertion_point(field_set:protos.DoChangePlayerType.our_side) +inline void ServerParam::set_stamina_inc_max(float value) { + _internal_set_stamina_inc_max(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.stamina_inc_max) } -inline bool DoChangePlayerType::_internal_our_side() const { - return _impl_.our_side_; +inline float ServerParam::_internal_stamina_inc_max() const { + return _impl_.stamina_inc_max_; } -inline void DoChangePlayerType::_internal_set_our_side(bool value) { +inline void ServerParam::_internal_set_stamina_inc_max(float value) { ; - _impl_.our_side_ = value; + _impl_.stamina_inc_max_ = value; } -// int32 uniform_number = 2; -inline void DoChangePlayerType::clear_uniform_number() { - _impl_.uniform_number_ = 0; +// float recover_init = 11; +inline void ServerParam::clear_recover_init() { + _impl_.recover_init_ = 0; } -inline ::int32_t DoChangePlayerType::uniform_number() const { - // @@protoc_insertion_point(field_get:protos.DoChangePlayerType.uniform_number) - return _internal_uniform_number(); +inline float ServerParam::recover_init() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.recover_init) + return _internal_recover_init(); } -inline void DoChangePlayerType::set_uniform_number(::int32_t value) { - _internal_set_uniform_number(value); - // @@protoc_insertion_point(field_set:protos.DoChangePlayerType.uniform_number) +inline void ServerParam::set_recover_init(float value) { + _internal_set_recover_init(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.recover_init) } -inline ::int32_t DoChangePlayerType::_internal_uniform_number() const { - return _impl_.uniform_number_; +inline float ServerParam::_internal_recover_init() const { + return _impl_.recover_init_; } -inline void DoChangePlayerType::_internal_set_uniform_number(::int32_t value) { +inline void ServerParam::_internal_set_recover_init(float value) { ; - _impl_.uniform_number_ = value; + _impl_.recover_init_ = value; } -// int32 type = 3; -inline void DoChangePlayerType::clear_type() { - _impl_.type_ = 0; +// float recover_dec_thr = 12; +inline void ServerParam::clear_recover_dec_thr() { + _impl_.recover_dec_thr_ = 0; } -inline ::int32_t DoChangePlayerType::type() const { - // @@protoc_insertion_point(field_get:protos.DoChangePlayerType.type) - return _internal_type(); +inline float ServerParam::recover_dec_thr() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.recover_dec_thr) + return _internal_recover_dec_thr(); } -inline void DoChangePlayerType::set_type(::int32_t value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:protos.DoChangePlayerType.type) +inline void ServerParam::set_recover_dec_thr(float value) { + _internal_set_recover_dec_thr(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.recover_dec_thr) } -inline ::int32_t DoChangePlayerType::_internal_type() const { - return _impl_.type_; +inline float ServerParam::_internal_recover_dec_thr() const { + return _impl_.recover_dec_thr_; } -inline void DoChangePlayerType::_internal_set_type(::int32_t value) { +inline void ServerParam::_internal_set_recover_dec_thr(float value) { ; - _impl_.type_ = value; + _impl_.recover_dec_thr_ = value; } -// ------------------------------------------------------------------- - -// TrainerAction - -// .protos.DoKickOff do_kick_off = 1; -inline bool TrainerAction::has_do_kick_off() const { - return action_case() == kDoKickOff; -} -inline bool TrainerAction::_internal_has_do_kick_off() const { - return action_case() == kDoKickOff; +// float recover_min = 13; +inline void ServerParam::clear_recover_min() { + _impl_.recover_min_ = 0; } -inline void TrainerAction::set_has_do_kick_off() { - _impl_._oneof_case_[0] = kDoKickOff; +inline float ServerParam::recover_min() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.recover_min) + return _internal_recover_min(); } -inline void TrainerAction::clear_do_kick_off() { - if (action_case() == kDoKickOff) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.do_kick_off_; - } - clear_has_action(); - } +inline void ServerParam::set_recover_min(float value) { + _internal_set_recover_min(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.recover_min) } -inline ::protos::DoKickOff* TrainerAction::release_do_kick_off() { - // @@protoc_insertion_point(field_release:protos.TrainerAction.do_kick_off) - if (action_case() == kDoKickOff) { - clear_has_action(); - ::protos::DoKickOff* temp = _impl_.action_.do_kick_off_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.action_.do_kick_off_ = nullptr; - return temp; - } else { - return nullptr; - } +inline float ServerParam::_internal_recover_min() const { + return _impl_.recover_min_; } -inline const ::protos::DoKickOff& TrainerAction::_internal_do_kick_off() const { - return action_case() == kDoKickOff - ? *_impl_.action_.do_kick_off_ - : reinterpret_cast<::protos::DoKickOff&>(::protos::_DoKickOff_default_instance_); +inline void ServerParam::_internal_set_recover_min(float value) { + ; + _impl_.recover_min_ = value; } -inline const ::protos::DoKickOff& TrainerAction::do_kick_off() const { - // @@protoc_insertion_point(field_get:protos.TrainerAction.do_kick_off) - return _internal_do_kick_off(); + +// float recover_dec = 14; +inline void ServerParam::clear_recover_dec() { + _impl_.recover_dec_ = 0; } -inline ::protos::DoKickOff* TrainerAction::unsafe_arena_release_do_kick_off() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.TrainerAction.do_kick_off) - if (action_case() == kDoKickOff) { - clear_has_action(); - ::protos::DoKickOff* temp = _impl_.action_.do_kick_off_; - _impl_.action_.do_kick_off_ = nullptr; - return temp; - } else { - return nullptr; - } +inline float ServerParam::recover_dec() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.recover_dec) + return _internal_recover_dec(); } -inline void TrainerAction::unsafe_arena_set_allocated_do_kick_off(::protos::DoKickOff* do_kick_off) { - clear_action(); - if (do_kick_off) { - set_has_do_kick_off(); - _impl_.action_.do_kick_off_ = do_kick_off; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.TrainerAction.do_kick_off) +inline void ServerParam::set_recover_dec(float value) { + _internal_set_recover_dec(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.recover_dec) } -inline ::protos::DoKickOff* TrainerAction::_internal_mutable_do_kick_off() { - if (action_case() != kDoKickOff) { - clear_action(); - set_has_do_kick_off(); - _impl_.action_.do_kick_off_ = CreateMaybeMessage< ::protos::DoKickOff >(GetArenaForAllocation()); - } - return _impl_.action_.do_kick_off_; +inline float ServerParam::_internal_recover_dec() const { + return _impl_.recover_dec_; } -inline ::protos::DoKickOff* TrainerAction::mutable_do_kick_off() { - ::protos::DoKickOff* _msg = _internal_mutable_do_kick_off(); - // @@protoc_insertion_point(field_mutable:protos.TrainerAction.do_kick_off) - return _msg; +inline void ServerParam::_internal_set_recover_dec(float value) { + ; + _impl_.recover_dec_ = value; } -// .protos.DoMoveBall do_move_ball = 2; -inline bool TrainerAction::has_do_move_ball() const { - return action_case() == kDoMoveBall; -} -inline bool TrainerAction::_internal_has_do_move_ball() const { - return action_case() == kDoMoveBall; +// float effort_init = 15; +inline void ServerParam::clear_effort_init() { + _impl_.effort_init_ = 0; } -inline void TrainerAction::set_has_do_move_ball() { - _impl_._oneof_case_[0] = kDoMoveBall; +inline float ServerParam::effort_init() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.effort_init) + return _internal_effort_init(); } -inline void TrainerAction::clear_do_move_ball() { - if (action_case() == kDoMoveBall) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.do_move_ball_; - } - clear_has_action(); - } +inline void ServerParam::set_effort_init(float value) { + _internal_set_effort_init(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.effort_init) } -inline ::protos::DoMoveBall* TrainerAction::release_do_move_ball() { - // @@protoc_insertion_point(field_release:protos.TrainerAction.do_move_ball) - if (action_case() == kDoMoveBall) { - clear_has_action(); - ::protos::DoMoveBall* temp = _impl_.action_.do_move_ball_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.action_.do_move_ball_ = nullptr; - return temp; - } else { - return nullptr; - } +inline float ServerParam::_internal_effort_init() const { + return _impl_.effort_init_; } -inline const ::protos::DoMoveBall& TrainerAction::_internal_do_move_ball() const { - return action_case() == kDoMoveBall - ? *_impl_.action_.do_move_ball_ - : reinterpret_cast<::protos::DoMoveBall&>(::protos::_DoMoveBall_default_instance_); +inline void ServerParam::_internal_set_effort_init(float value) { + ; + _impl_.effort_init_ = value; } -inline const ::protos::DoMoveBall& TrainerAction::do_move_ball() const { - // @@protoc_insertion_point(field_get:protos.TrainerAction.do_move_ball) - return _internal_do_move_ball(); + +// float effort_dec_thr = 16; +inline void ServerParam::clear_effort_dec_thr() { + _impl_.effort_dec_thr_ = 0; } -inline ::protos::DoMoveBall* TrainerAction::unsafe_arena_release_do_move_ball() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.TrainerAction.do_move_ball) - if (action_case() == kDoMoveBall) { - clear_has_action(); - ::protos::DoMoveBall* temp = _impl_.action_.do_move_ball_; - _impl_.action_.do_move_ball_ = nullptr; - return temp; - } else { - return nullptr; - } +inline float ServerParam::effort_dec_thr() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.effort_dec_thr) + return _internal_effort_dec_thr(); } -inline void TrainerAction::unsafe_arena_set_allocated_do_move_ball(::protos::DoMoveBall* do_move_ball) { - clear_action(); - if (do_move_ball) { - set_has_do_move_ball(); - _impl_.action_.do_move_ball_ = do_move_ball; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.TrainerAction.do_move_ball) +inline void ServerParam::set_effort_dec_thr(float value) { + _internal_set_effort_dec_thr(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.effort_dec_thr) } -inline ::protos::DoMoveBall* TrainerAction::_internal_mutable_do_move_ball() { - if (action_case() != kDoMoveBall) { - clear_action(); - set_has_do_move_ball(); - _impl_.action_.do_move_ball_ = CreateMaybeMessage< ::protos::DoMoveBall >(GetArenaForAllocation()); - } - return _impl_.action_.do_move_ball_; +inline float ServerParam::_internal_effort_dec_thr() const { + return _impl_.effort_dec_thr_; } -inline ::protos::DoMoveBall* TrainerAction::mutable_do_move_ball() { - ::protos::DoMoveBall* _msg = _internal_mutable_do_move_ball(); - // @@protoc_insertion_point(field_mutable:protos.TrainerAction.do_move_ball) - return _msg; +inline void ServerParam::_internal_set_effort_dec_thr(float value) { + ; + _impl_.effort_dec_thr_ = value; } -// .protos.DoMovePlayer do_move_player = 3; -inline bool TrainerAction::has_do_move_player() const { - return action_case() == kDoMovePlayer; -} -inline bool TrainerAction::_internal_has_do_move_player() const { - return action_case() == kDoMovePlayer; +// float effort_min = 17; +inline void ServerParam::clear_effort_min() { + _impl_.effort_min_ = 0; } -inline void TrainerAction::set_has_do_move_player() { - _impl_._oneof_case_[0] = kDoMovePlayer; +inline float ServerParam::effort_min() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.effort_min) + return _internal_effort_min(); } -inline void TrainerAction::clear_do_move_player() { - if (action_case() == kDoMovePlayer) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.do_move_player_; - } - clear_has_action(); - } +inline void ServerParam::set_effort_min(float value) { + _internal_set_effort_min(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.effort_min) } -inline ::protos::DoMovePlayer* TrainerAction::release_do_move_player() { - // @@protoc_insertion_point(field_release:protos.TrainerAction.do_move_player) - if (action_case() == kDoMovePlayer) { - clear_has_action(); - ::protos::DoMovePlayer* temp = _impl_.action_.do_move_player_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.action_.do_move_player_ = nullptr; - return temp; - } else { - return nullptr; - } +inline float ServerParam::_internal_effort_min() const { + return _impl_.effort_min_; } -inline const ::protos::DoMovePlayer& TrainerAction::_internal_do_move_player() const { - return action_case() == kDoMovePlayer - ? *_impl_.action_.do_move_player_ - : reinterpret_cast<::protos::DoMovePlayer&>(::protos::_DoMovePlayer_default_instance_); +inline void ServerParam::_internal_set_effort_min(float value) { + ; + _impl_.effort_min_ = value; } -inline const ::protos::DoMovePlayer& TrainerAction::do_move_player() const { - // @@protoc_insertion_point(field_get:protos.TrainerAction.do_move_player) - return _internal_do_move_player(); + +// float effort_dec = 18; +inline void ServerParam::clear_effort_dec() { + _impl_.effort_dec_ = 0; } -inline ::protos::DoMovePlayer* TrainerAction::unsafe_arena_release_do_move_player() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.TrainerAction.do_move_player) - if (action_case() == kDoMovePlayer) { - clear_has_action(); - ::protos::DoMovePlayer* temp = _impl_.action_.do_move_player_; - _impl_.action_.do_move_player_ = nullptr; - return temp; - } else { - return nullptr; - } +inline float ServerParam::effort_dec() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.effort_dec) + return _internal_effort_dec(); } -inline void TrainerAction::unsafe_arena_set_allocated_do_move_player(::protos::DoMovePlayer* do_move_player) { - clear_action(); - if (do_move_player) { - set_has_do_move_player(); - _impl_.action_.do_move_player_ = do_move_player; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.TrainerAction.do_move_player) +inline void ServerParam::set_effort_dec(float value) { + _internal_set_effort_dec(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.effort_dec) } -inline ::protos::DoMovePlayer* TrainerAction::_internal_mutable_do_move_player() { - if (action_case() != kDoMovePlayer) { - clear_action(); - set_has_do_move_player(); - _impl_.action_.do_move_player_ = CreateMaybeMessage< ::protos::DoMovePlayer >(GetArenaForAllocation()); - } - return _impl_.action_.do_move_player_; +inline float ServerParam::_internal_effort_dec() const { + return _impl_.effort_dec_; } -inline ::protos::DoMovePlayer* TrainerAction::mutable_do_move_player() { - ::protos::DoMovePlayer* _msg = _internal_mutable_do_move_player(); - // @@protoc_insertion_point(field_mutable:protos.TrainerAction.do_move_player) - return _msg; +inline void ServerParam::_internal_set_effort_dec(float value) { + ; + _impl_.effort_dec_ = value; } -// .protos.DoRecover do_recover = 4; -inline bool TrainerAction::has_do_recover() const { - return action_case() == kDoRecover; +// float effort_inc_thr = 19; +inline void ServerParam::clear_effort_inc_thr() { + _impl_.effort_inc_thr_ = 0; } -inline bool TrainerAction::_internal_has_do_recover() const { - return action_case() == kDoRecover; +inline float ServerParam::effort_inc_thr() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.effort_inc_thr) + return _internal_effort_inc_thr(); } -inline void TrainerAction::set_has_do_recover() { - _impl_._oneof_case_[0] = kDoRecover; +inline void ServerParam::set_effort_inc_thr(float value) { + _internal_set_effort_inc_thr(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.effort_inc_thr) } -inline void TrainerAction::clear_do_recover() { - if (action_case() == kDoRecover) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.do_recover_; - } - clear_has_action(); - } +inline float ServerParam::_internal_effort_inc_thr() const { + return _impl_.effort_inc_thr_; } -inline ::protos::DoRecover* TrainerAction::release_do_recover() { - // @@protoc_insertion_point(field_release:protos.TrainerAction.do_recover) - if (action_case() == kDoRecover) { - clear_has_action(); - ::protos::DoRecover* temp = _impl_.action_.do_recover_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.action_.do_recover_ = nullptr; - return temp; - } else { - return nullptr; - } +inline void ServerParam::_internal_set_effort_inc_thr(float value) { + ; + _impl_.effort_inc_thr_ = value; +} + +// float effort_inc = 20; +inline void ServerParam::clear_effort_inc() { + _impl_.effort_inc_ = 0; +} +inline float ServerParam::effort_inc() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.effort_inc) + return _internal_effort_inc(); +} +inline void ServerParam::set_effort_inc(float value) { + _internal_set_effort_inc(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.effort_inc) +} +inline float ServerParam::_internal_effort_inc() const { + return _impl_.effort_inc_; } -inline const ::protos::DoRecover& TrainerAction::_internal_do_recover() const { - return action_case() == kDoRecover - ? *_impl_.action_.do_recover_ - : reinterpret_cast<::protos::DoRecover&>(::protos::_DoRecover_default_instance_); +inline void ServerParam::_internal_set_effort_inc(float value) { + ; + _impl_.effort_inc_ = value; } -inline const ::protos::DoRecover& TrainerAction::do_recover() const { - // @@protoc_insertion_point(field_get:protos.TrainerAction.do_recover) - return _internal_do_recover(); + +// float kick_rand = 21; +inline void ServerParam::clear_kick_rand() { + _impl_.kick_rand_ = 0; } -inline ::protos::DoRecover* TrainerAction::unsafe_arena_release_do_recover() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.TrainerAction.do_recover) - if (action_case() == kDoRecover) { - clear_has_action(); - ::protos::DoRecover* temp = _impl_.action_.do_recover_; - _impl_.action_.do_recover_ = nullptr; - return temp; - } else { - return nullptr; - } +inline float ServerParam::kick_rand() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.kick_rand) + return _internal_kick_rand(); } -inline void TrainerAction::unsafe_arena_set_allocated_do_recover(::protos::DoRecover* do_recover) { - clear_action(); - if (do_recover) { - set_has_do_recover(); - _impl_.action_.do_recover_ = do_recover; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.TrainerAction.do_recover) +inline void ServerParam::set_kick_rand(float value) { + _internal_set_kick_rand(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.kick_rand) } -inline ::protos::DoRecover* TrainerAction::_internal_mutable_do_recover() { - if (action_case() != kDoRecover) { - clear_action(); - set_has_do_recover(); - _impl_.action_.do_recover_ = CreateMaybeMessage< ::protos::DoRecover >(GetArenaForAllocation()); - } - return _impl_.action_.do_recover_; +inline float ServerParam::_internal_kick_rand() const { + return _impl_.kick_rand_; } -inline ::protos::DoRecover* TrainerAction::mutable_do_recover() { - ::protos::DoRecover* _msg = _internal_mutable_do_recover(); - // @@protoc_insertion_point(field_mutable:protos.TrainerAction.do_recover) - return _msg; +inline void ServerParam::_internal_set_kick_rand(float value) { + ; + _impl_.kick_rand_ = value; } -// .protos.DoChangeMode do_change_mode = 5; -inline bool TrainerAction::has_do_change_mode() const { - return action_case() == kDoChangeMode; -} -inline bool TrainerAction::_internal_has_do_change_mode() const { - return action_case() == kDoChangeMode; +// bool team_actuator_noise = 22; +inline void ServerParam::clear_team_actuator_noise() { + _impl_.team_actuator_noise_ = false; } -inline void TrainerAction::set_has_do_change_mode() { - _impl_._oneof_case_[0] = kDoChangeMode; +inline bool ServerParam::team_actuator_noise() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.team_actuator_noise) + return _internal_team_actuator_noise(); } -inline void TrainerAction::clear_do_change_mode() { - if (action_case() == kDoChangeMode) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.do_change_mode_; - } - clear_has_action(); - } +inline void ServerParam::set_team_actuator_noise(bool value) { + _internal_set_team_actuator_noise(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.team_actuator_noise) } -inline ::protos::DoChangeMode* TrainerAction::release_do_change_mode() { - // @@protoc_insertion_point(field_release:protos.TrainerAction.do_change_mode) - if (action_case() == kDoChangeMode) { - clear_has_action(); - ::protos::DoChangeMode* temp = _impl_.action_.do_change_mode_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.action_.do_change_mode_ = nullptr; - return temp; - } else { - return nullptr; - } +inline bool ServerParam::_internal_team_actuator_noise() const { + return _impl_.team_actuator_noise_; } -inline const ::protos::DoChangeMode& TrainerAction::_internal_do_change_mode() const { - return action_case() == kDoChangeMode - ? *_impl_.action_.do_change_mode_ - : reinterpret_cast<::protos::DoChangeMode&>(::protos::_DoChangeMode_default_instance_); +inline void ServerParam::_internal_set_team_actuator_noise(bool value) { + ; + _impl_.team_actuator_noise_ = value; } -inline const ::protos::DoChangeMode& TrainerAction::do_change_mode() const { - // @@protoc_insertion_point(field_get:protos.TrainerAction.do_change_mode) - return _internal_do_change_mode(); + +// float player_rand_factor_l = 23; +inline void ServerParam::clear_player_rand_factor_l() { + _impl_.player_rand_factor_l_ = 0; } -inline ::protos::DoChangeMode* TrainerAction::unsafe_arena_release_do_change_mode() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.TrainerAction.do_change_mode) - if (action_case() == kDoChangeMode) { - clear_has_action(); - ::protos::DoChangeMode* temp = _impl_.action_.do_change_mode_; - _impl_.action_.do_change_mode_ = nullptr; - return temp; - } else { - return nullptr; - } +inline float ServerParam::player_rand_factor_l() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.player_rand_factor_l) + return _internal_player_rand_factor_l(); } -inline void TrainerAction::unsafe_arena_set_allocated_do_change_mode(::protos::DoChangeMode* do_change_mode) { - clear_action(); - if (do_change_mode) { - set_has_do_change_mode(); - _impl_.action_.do_change_mode_ = do_change_mode; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.TrainerAction.do_change_mode) +inline void ServerParam::set_player_rand_factor_l(float value) { + _internal_set_player_rand_factor_l(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.player_rand_factor_l) } -inline ::protos::DoChangeMode* TrainerAction::_internal_mutable_do_change_mode() { - if (action_case() != kDoChangeMode) { - clear_action(); - set_has_do_change_mode(); - _impl_.action_.do_change_mode_ = CreateMaybeMessage< ::protos::DoChangeMode >(GetArenaForAllocation()); - } - return _impl_.action_.do_change_mode_; +inline float ServerParam::_internal_player_rand_factor_l() const { + return _impl_.player_rand_factor_l_; } -inline ::protos::DoChangeMode* TrainerAction::mutable_do_change_mode() { - ::protos::DoChangeMode* _msg = _internal_mutable_do_change_mode(); - // @@protoc_insertion_point(field_mutable:protos.TrainerAction.do_change_mode) - return _msg; +inline void ServerParam::_internal_set_player_rand_factor_l(float value) { + ; + _impl_.player_rand_factor_l_ = value; } -// .protos.DoChangePlayerType do_change_player_type = 6; -inline bool TrainerAction::has_do_change_player_type() const { - return action_case() == kDoChangePlayerType; -} -inline bool TrainerAction::_internal_has_do_change_player_type() const { - return action_case() == kDoChangePlayerType; +// float player_rand_factor_r = 24; +inline void ServerParam::clear_player_rand_factor_r() { + _impl_.player_rand_factor_r_ = 0; } -inline void TrainerAction::set_has_do_change_player_type() { - _impl_._oneof_case_[0] = kDoChangePlayerType; +inline float ServerParam::player_rand_factor_r() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.player_rand_factor_r) + return _internal_player_rand_factor_r(); } -inline void TrainerAction::clear_do_change_player_type() { - if (action_case() == kDoChangePlayerType) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.do_change_player_type_; - } - clear_has_action(); - } +inline void ServerParam::set_player_rand_factor_r(float value) { + _internal_set_player_rand_factor_r(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.player_rand_factor_r) } -inline ::protos::DoChangePlayerType* TrainerAction::release_do_change_player_type() { - // @@protoc_insertion_point(field_release:protos.TrainerAction.do_change_player_type) - if (action_case() == kDoChangePlayerType) { - clear_has_action(); - ::protos::DoChangePlayerType* temp = _impl_.action_.do_change_player_type_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.action_.do_change_player_type_ = nullptr; - return temp; - } else { - return nullptr; - } +inline float ServerParam::_internal_player_rand_factor_r() const { + return _impl_.player_rand_factor_r_; } -inline const ::protos::DoChangePlayerType& TrainerAction::_internal_do_change_player_type() const { - return action_case() == kDoChangePlayerType - ? *_impl_.action_.do_change_player_type_ - : reinterpret_cast<::protos::DoChangePlayerType&>(::protos::_DoChangePlayerType_default_instance_); +inline void ServerParam::_internal_set_player_rand_factor_r(float value) { + ; + _impl_.player_rand_factor_r_ = value; } -inline const ::protos::DoChangePlayerType& TrainerAction::do_change_player_type() const { - // @@protoc_insertion_point(field_get:protos.TrainerAction.do_change_player_type) - return _internal_do_change_player_type(); + +// float kick_rand_factor_l = 25; +inline void ServerParam::clear_kick_rand_factor_l() { + _impl_.kick_rand_factor_l_ = 0; } -inline ::protos::DoChangePlayerType* TrainerAction::unsafe_arena_release_do_change_player_type() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.TrainerAction.do_change_player_type) - if (action_case() == kDoChangePlayerType) { - clear_has_action(); - ::protos::DoChangePlayerType* temp = _impl_.action_.do_change_player_type_; - _impl_.action_.do_change_player_type_ = nullptr; - return temp; - } else { - return nullptr; - } +inline float ServerParam::kick_rand_factor_l() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.kick_rand_factor_l) + return _internal_kick_rand_factor_l(); } -inline void TrainerAction::unsafe_arena_set_allocated_do_change_player_type(::protos::DoChangePlayerType* do_change_player_type) { - clear_action(); - if (do_change_player_type) { - set_has_do_change_player_type(); - _impl_.action_.do_change_player_type_ = do_change_player_type; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.TrainerAction.do_change_player_type) +inline void ServerParam::set_kick_rand_factor_l(float value) { + _internal_set_kick_rand_factor_l(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.kick_rand_factor_l) } -inline ::protos::DoChangePlayerType* TrainerAction::_internal_mutable_do_change_player_type() { - if (action_case() != kDoChangePlayerType) { - clear_action(); - set_has_do_change_player_type(); - _impl_.action_.do_change_player_type_ = CreateMaybeMessage< ::protos::DoChangePlayerType >(GetArenaForAllocation()); - } - return _impl_.action_.do_change_player_type_; +inline float ServerParam::_internal_kick_rand_factor_l() const { + return _impl_.kick_rand_factor_l_; } -inline ::protos::DoChangePlayerType* TrainerAction::mutable_do_change_player_type() { - ::protos::DoChangePlayerType* _msg = _internal_mutable_do_change_player_type(); - // @@protoc_insertion_point(field_mutable:protos.TrainerAction.do_change_player_type) - return _msg; +inline void ServerParam::_internal_set_kick_rand_factor_l(float value) { + ; + _impl_.kick_rand_factor_l_ = value; } -inline bool TrainerAction::has_action() const { - return action_case() != ACTION_NOT_SET; +// float kick_rand_factor_r = 26; +inline void ServerParam::clear_kick_rand_factor_r() { + _impl_.kick_rand_factor_r_ = 0; } -inline void TrainerAction::clear_has_action() { - _impl_._oneof_case_[0] = ACTION_NOT_SET; +inline float ServerParam::kick_rand_factor_r() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.kick_rand_factor_r) + return _internal_kick_rand_factor_r(); } -inline TrainerAction::ActionCase TrainerAction::action_case() const { - return TrainerAction::ActionCase(_impl_._oneof_case_[0]); +inline void ServerParam::set_kick_rand_factor_r(float value) { + _internal_set_kick_rand_factor_r(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.kick_rand_factor_r) } -// ------------------------------------------------------------------- - -// TrainerActions - -// repeated .protos.TrainerAction actions = 1; -inline int TrainerActions::_internal_actions_size() const { - return _impl_.actions_.size(); +inline float ServerParam::_internal_kick_rand_factor_r() const { + return _impl_.kick_rand_factor_r_; } -inline int TrainerActions::actions_size() const { - return _internal_actions_size(); +inline void ServerParam::_internal_set_kick_rand_factor_r(float value) { + ; + _impl_.kick_rand_factor_r_ = value; } -inline void TrainerActions::clear_actions() { - _internal_mutable_actions()->Clear(); + +// float ball_size = 27; +inline void ServerParam::clear_ball_size() { + _impl_.ball_size_ = 0; } -inline ::protos::TrainerAction* TrainerActions::mutable_actions(int index) { - // @@protoc_insertion_point(field_mutable:protos.TrainerActions.actions) - return _internal_mutable_actions()->Mutable(index); +inline float ServerParam::ball_size() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.ball_size) + return _internal_ball_size(); } -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::protos::TrainerAction >* -TrainerActions::mutable_actions() { - // @@protoc_insertion_point(field_mutable_list:protos.TrainerActions.actions) - return _internal_mutable_actions(); +inline void ServerParam::set_ball_size(float value) { + _internal_set_ball_size(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.ball_size) } -inline const ::protos::TrainerAction& TrainerActions::_internal_actions(int index) const { - return _internal_actions().Get(index); +inline float ServerParam::_internal_ball_size() const { + return _impl_.ball_size_; } -inline const ::protos::TrainerAction& TrainerActions::actions(int index) const { - // @@protoc_insertion_point(field_get:protos.TrainerActions.actions) - return _internal_actions(index); +inline void ServerParam::_internal_set_ball_size(float value) { + ; + _impl_.ball_size_ = value; } -inline ::protos::TrainerAction* TrainerActions::_internal_add_actions() { - return _internal_mutable_actions()->Add(); + +// float ball_decay = 28; +inline void ServerParam::clear_ball_decay() { + _impl_.ball_decay_ = 0; } -inline ::protos::TrainerAction* TrainerActions::add_actions() { - ::protos::TrainerAction* _add = _internal_add_actions(); - // @@protoc_insertion_point(field_add:protos.TrainerActions.actions) - return _add; +inline float ServerParam::ball_decay() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.ball_decay) + return _internal_ball_decay(); } -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::protos::TrainerAction >& -TrainerActions::actions() const { - // @@protoc_insertion_point(field_list:protos.TrainerActions.actions) - return _internal_actions(); +inline void ServerParam::set_ball_decay(float value) { + _internal_set_ball_decay(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.ball_decay) } -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protos::TrainerAction>& -TrainerActions::_internal_actions() const { - return _impl_.actions_; +inline float ServerParam::_internal_ball_decay() const { + return _impl_.ball_decay_; } -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protos::TrainerAction>* -TrainerActions::_internal_mutable_actions() { - return &_impl_.actions_; +inline void ServerParam::_internal_set_ball_decay(float value) { + ; + _impl_.ball_decay_ = value; } -// ------------------------------------------------------------------- - -// ServerParam - -// .protos.RegisterResponse register_response = 1; -inline bool ServerParam::has_register_response() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.register_response_ != nullptr); - return value; +// float ball_rand = 29; +inline void ServerParam::clear_ball_rand() { + _impl_.ball_rand_ = 0; } -inline void ServerParam::clear_register_response() { - if (_impl_.register_response_ != nullptr) _impl_.register_response_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; +inline float ServerParam::ball_rand() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.ball_rand) + return _internal_ball_rand(); } -inline const ::protos::RegisterResponse& ServerParam::_internal_register_response() const { - const ::protos::RegisterResponse* p = _impl_.register_response_; - return p != nullptr ? *p : reinterpret_cast( - ::protos::_RegisterResponse_default_instance_); +inline void ServerParam::set_ball_rand(float value) { + _internal_set_ball_rand(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.ball_rand) } -inline const ::protos::RegisterResponse& ServerParam::register_response() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.register_response) - return _internal_register_response(); +inline float ServerParam::_internal_ball_rand() const { + return _impl_.ball_rand_; } -inline void ServerParam::unsafe_arena_set_allocated_register_response( - ::protos::RegisterResponse* register_response) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.register_response_); - } - _impl_.register_response_ = register_response; - if (register_response) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.ServerParam.register_response) +inline void ServerParam::_internal_set_ball_rand(float value) { + ; + _impl_.ball_rand_ = value; } -inline ::protos::RegisterResponse* ServerParam::release_register_response() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::protos::RegisterResponse* temp = _impl_.register_response_; - _impl_.register_response_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; + +// float ball_weight = 30; +inline void ServerParam::clear_ball_weight() { + _impl_.ball_weight_ = 0; } -inline ::protos::RegisterResponse* ServerParam::unsafe_arena_release_register_response() { - // @@protoc_insertion_point(field_release:protos.ServerParam.register_response) - _impl_._has_bits_[0] &= ~0x00000001u; - ::protos::RegisterResponse* temp = _impl_.register_response_; - _impl_.register_response_ = nullptr; - return temp; +inline float ServerParam::ball_weight() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.ball_weight) + return _internal_ball_weight(); } -inline ::protos::RegisterResponse* ServerParam::_internal_mutable_register_response() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.register_response_ == nullptr) { - auto* p = CreateMaybeMessage<::protos::RegisterResponse>(GetArenaForAllocation()); - _impl_.register_response_ = p; - } - return _impl_.register_response_; +inline void ServerParam::set_ball_weight(float value) { + _internal_set_ball_weight(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.ball_weight) } -inline ::protos::RegisterResponse* ServerParam::mutable_register_response() { - ::protos::RegisterResponse* _msg = _internal_mutable_register_response(); - // @@protoc_insertion_point(field_mutable:protos.ServerParam.register_response) - return _msg; +inline float ServerParam::_internal_ball_weight() const { + return _impl_.ball_weight_; } -inline void ServerParam::set_allocated_register_response(::protos::RegisterResponse* register_response) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.register_response_; - } - if (register_response) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(register_response); - if (message_arena != submessage_arena) { - register_response = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, register_response, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.register_response_ = register_response; - // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.register_response) +inline void ServerParam::_internal_set_ball_weight(float value) { + ; + _impl_.ball_weight_ = value; } -// float inertia_moment = 2; -inline void ServerParam::clear_inertia_moment() { - _impl_.inertia_moment_ = 0; +// float ball_speed_max = 31; +inline void ServerParam::clear_ball_speed_max() { + _impl_.ball_speed_max_ = 0; } -inline float ServerParam::inertia_moment() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.inertia_moment) - return _internal_inertia_moment(); +inline float ServerParam::ball_speed_max() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.ball_speed_max) + return _internal_ball_speed_max(); } -inline void ServerParam::set_inertia_moment(float value) { - _internal_set_inertia_moment(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.inertia_moment) +inline void ServerParam::set_ball_speed_max(float value) { + _internal_set_ball_speed_max(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.ball_speed_max) } -inline float ServerParam::_internal_inertia_moment() const { - return _impl_.inertia_moment_; +inline float ServerParam::_internal_ball_speed_max() const { + return _impl_.ball_speed_max_; } -inline void ServerParam::_internal_set_inertia_moment(float value) { +inline void ServerParam::_internal_set_ball_speed_max(float value) { ; - _impl_.inertia_moment_ = value; + _impl_.ball_speed_max_ = value; } -// float player_size = 3; -inline void ServerParam::clear_player_size() { - _impl_.player_size_ = 0; +// float ball_accel_max = 32; +inline void ServerParam::clear_ball_accel_max() { + _impl_.ball_accel_max_ = 0; } -inline float ServerParam::player_size() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.player_size) - return _internal_player_size(); +inline float ServerParam::ball_accel_max() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.ball_accel_max) + return _internal_ball_accel_max(); } -inline void ServerParam::set_player_size(float value) { - _internal_set_player_size(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.player_size) +inline void ServerParam::set_ball_accel_max(float value) { + _internal_set_ball_accel_max(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.ball_accel_max) } -inline float ServerParam::_internal_player_size() const { - return _impl_.player_size_; +inline float ServerParam::_internal_ball_accel_max() const { + return _impl_.ball_accel_max_; } -inline void ServerParam::_internal_set_player_size(float value) { +inline void ServerParam::_internal_set_ball_accel_max(float value) { ; - _impl_.player_size_ = value; + _impl_.ball_accel_max_ = value; } -// float player_decay = 4; -inline void ServerParam::clear_player_decay() { - _impl_.player_decay_ = 0; +// float dash_power_rate = 33; +inline void ServerParam::clear_dash_power_rate() { + _impl_.dash_power_rate_ = 0; } -inline float ServerParam::player_decay() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.player_decay) - return _internal_player_decay(); +inline float ServerParam::dash_power_rate() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.dash_power_rate) + return _internal_dash_power_rate(); } -inline void ServerParam::set_player_decay(float value) { - _internal_set_player_decay(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.player_decay) +inline void ServerParam::set_dash_power_rate(float value) { + _internal_set_dash_power_rate(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.dash_power_rate) } -inline float ServerParam::_internal_player_decay() const { - return _impl_.player_decay_; +inline float ServerParam::_internal_dash_power_rate() const { + return _impl_.dash_power_rate_; } -inline void ServerParam::_internal_set_player_decay(float value) { +inline void ServerParam::_internal_set_dash_power_rate(float value) { ; - _impl_.player_decay_ = value; + _impl_.dash_power_rate_ = value; } -// float player_rand = 5; -inline void ServerParam::clear_player_rand() { - _impl_.player_rand_ = 0; +// float kick_power_rate = 34; +inline void ServerParam::clear_kick_power_rate() { + _impl_.kick_power_rate_ = 0; } -inline float ServerParam::player_rand() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.player_rand) - return _internal_player_rand(); +inline float ServerParam::kick_power_rate() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.kick_power_rate) + return _internal_kick_power_rate(); } -inline void ServerParam::set_player_rand(float value) { - _internal_set_player_rand(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.player_rand) +inline void ServerParam::set_kick_power_rate(float value) { + _internal_set_kick_power_rate(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.kick_power_rate) } -inline float ServerParam::_internal_player_rand() const { - return _impl_.player_rand_; +inline float ServerParam::_internal_kick_power_rate() const { + return _impl_.kick_power_rate_; } -inline void ServerParam::_internal_set_player_rand(float value) { +inline void ServerParam::_internal_set_kick_power_rate(float value) { ; - _impl_.player_rand_ = value; + _impl_.kick_power_rate_ = value; } -// float player_weight = 6; -inline void ServerParam::clear_player_weight() { - _impl_.player_weight_ = 0; +// float kickable_margin = 35; +inline void ServerParam::clear_kickable_margin() { + _impl_.kickable_margin_ = 0; } -inline float ServerParam::player_weight() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.player_weight) - return _internal_player_weight(); +inline float ServerParam::kickable_margin() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.kickable_margin) + return _internal_kickable_margin(); } -inline void ServerParam::set_player_weight(float value) { - _internal_set_player_weight(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.player_weight) +inline void ServerParam::set_kickable_margin(float value) { + _internal_set_kickable_margin(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.kickable_margin) } -inline float ServerParam::_internal_player_weight() const { - return _impl_.player_weight_; +inline float ServerParam::_internal_kickable_margin() const { + return _impl_.kickable_margin_; } -inline void ServerParam::_internal_set_player_weight(float value) { +inline void ServerParam::_internal_set_kickable_margin(float value) { ; - _impl_.player_weight_ = value; + _impl_.kickable_margin_ = value; } -// float player_speed_max = 7; -inline void ServerParam::clear_player_speed_max() { - _impl_.player_speed_max_ = 0; +// float control_radius = 36; +inline void ServerParam::clear_control_radius() { + _impl_.control_radius_ = 0; } -inline float ServerParam::player_speed_max() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.player_speed_max) - return _internal_player_speed_max(); +inline float ServerParam::control_radius() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.control_radius) + return _internal_control_radius(); } -inline void ServerParam::set_player_speed_max(float value) { - _internal_set_player_speed_max(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.player_speed_max) +inline void ServerParam::set_control_radius(float value) { + _internal_set_control_radius(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.control_radius) } -inline float ServerParam::_internal_player_speed_max() const { - return _impl_.player_speed_max_; +inline float ServerParam::_internal_control_radius() const { + return _impl_.control_radius_; } -inline void ServerParam::_internal_set_player_speed_max(float value) { +inline void ServerParam::_internal_set_control_radius(float value) { ; - _impl_.player_speed_max_ = value; + _impl_.control_radius_ = value; } -// float player_accel_max = 8; -inline void ServerParam::clear_player_accel_max() { - _impl_.player_accel_max_ = 0; +// float control_radius_width = 37; +inline void ServerParam::clear_control_radius_width() { + _impl_.control_radius_width_ = 0; } -inline float ServerParam::player_accel_max() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.player_accel_max) - return _internal_player_accel_max(); +inline float ServerParam::control_radius_width() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.control_radius_width) + return _internal_control_radius_width(); } -inline void ServerParam::set_player_accel_max(float value) { - _internal_set_player_accel_max(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.player_accel_max) +inline void ServerParam::set_control_radius_width(float value) { + _internal_set_control_radius_width(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.control_radius_width) } -inline float ServerParam::_internal_player_accel_max() const { - return _impl_.player_accel_max_; +inline float ServerParam::_internal_control_radius_width() const { + return _impl_.control_radius_width_; } -inline void ServerParam::_internal_set_player_accel_max(float value) { +inline void ServerParam::_internal_set_control_radius_width(float value) { ; - _impl_.player_accel_max_ = value; + _impl_.control_radius_width_ = value; } -// float stamina_max = 9; -inline void ServerParam::clear_stamina_max() { - _impl_.stamina_max_ = 0; +// float max_power = 38; +inline void ServerParam::clear_max_power() { + _impl_.max_power_ = 0; } -inline float ServerParam::stamina_max() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.stamina_max) - return _internal_stamina_max(); +inline float ServerParam::max_power() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.max_power) + return _internal_max_power(); } -inline void ServerParam::set_stamina_max(float value) { - _internal_set_stamina_max(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.stamina_max) +inline void ServerParam::set_max_power(float value) { + _internal_set_max_power(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.max_power) } -inline float ServerParam::_internal_stamina_max() const { - return _impl_.stamina_max_; +inline float ServerParam::_internal_max_power() const { + return _impl_.max_power_; } -inline void ServerParam::_internal_set_stamina_max(float value) { +inline void ServerParam::_internal_set_max_power(float value) { ; - _impl_.stamina_max_ = value; + _impl_.max_power_ = value; } -// float stamina_inc_max = 10; -inline void ServerParam::clear_stamina_inc_max() { - _impl_.stamina_inc_max_ = 0; +// float min_power = 39; +inline void ServerParam::clear_min_power() { + _impl_.min_power_ = 0; } -inline float ServerParam::stamina_inc_max() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.stamina_inc_max) - return _internal_stamina_inc_max(); +inline float ServerParam::min_power() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.min_power) + return _internal_min_power(); } -inline void ServerParam::set_stamina_inc_max(float value) { - _internal_set_stamina_inc_max(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.stamina_inc_max) +inline void ServerParam::set_min_power(float value) { + _internal_set_min_power(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.min_power) } -inline float ServerParam::_internal_stamina_inc_max() const { - return _impl_.stamina_inc_max_; +inline float ServerParam::_internal_min_power() const { + return _impl_.min_power_; } -inline void ServerParam::_internal_set_stamina_inc_max(float value) { +inline void ServerParam::_internal_set_min_power(float value) { ; - _impl_.stamina_inc_max_ = value; + _impl_.min_power_ = value; } -// float recover_init = 11; -inline void ServerParam::clear_recover_init() { - _impl_.recover_init_ = 0; +// float max_moment = 40; +inline void ServerParam::clear_max_moment() { + _impl_.max_moment_ = 0; } -inline float ServerParam::recover_init() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.recover_init) - return _internal_recover_init(); +inline float ServerParam::max_moment() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.max_moment) + return _internal_max_moment(); } -inline void ServerParam::set_recover_init(float value) { - _internal_set_recover_init(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.recover_init) +inline void ServerParam::set_max_moment(float value) { + _internal_set_max_moment(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.max_moment) } -inline float ServerParam::_internal_recover_init() const { - return _impl_.recover_init_; +inline float ServerParam::_internal_max_moment() const { + return _impl_.max_moment_; } -inline void ServerParam::_internal_set_recover_init(float value) { +inline void ServerParam::_internal_set_max_moment(float value) { ; - _impl_.recover_init_ = value; + _impl_.max_moment_ = value; } -// float recover_dec_thr = 12; -inline void ServerParam::clear_recover_dec_thr() { - _impl_.recover_dec_thr_ = 0; +// float min_moment = 41; +inline void ServerParam::clear_min_moment() { + _impl_.min_moment_ = 0; } -inline float ServerParam::recover_dec_thr() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.recover_dec_thr) - return _internal_recover_dec_thr(); +inline float ServerParam::min_moment() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.min_moment) + return _internal_min_moment(); } -inline void ServerParam::set_recover_dec_thr(float value) { - _internal_set_recover_dec_thr(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.recover_dec_thr) +inline void ServerParam::set_min_moment(float value) { + _internal_set_min_moment(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.min_moment) } -inline float ServerParam::_internal_recover_dec_thr() const { - return _impl_.recover_dec_thr_; +inline float ServerParam::_internal_min_moment() const { + return _impl_.min_moment_; } -inline void ServerParam::_internal_set_recover_dec_thr(float value) { +inline void ServerParam::_internal_set_min_moment(float value) { ; - _impl_.recover_dec_thr_ = value; + _impl_.min_moment_ = value; } -// float recover_min = 13; -inline void ServerParam::clear_recover_min() { - _impl_.recover_min_ = 0; +// float max_neck_moment = 42; +inline void ServerParam::clear_max_neck_moment() { + _impl_.max_neck_moment_ = 0; } -inline float ServerParam::recover_min() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.recover_min) - return _internal_recover_min(); +inline float ServerParam::max_neck_moment() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.max_neck_moment) + return _internal_max_neck_moment(); } -inline void ServerParam::set_recover_min(float value) { - _internal_set_recover_min(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.recover_min) +inline void ServerParam::set_max_neck_moment(float value) { + _internal_set_max_neck_moment(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.max_neck_moment) } -inline float ServerParam::_internal_recover_min() const { - return _impl_.recover_min_; +inline float ServerParam::_internal_max_neck_moment() const { + return _impl_.max_neck_moment_; } -inline void ServerParam::_internal_set_recover_min(float value) { +inline void ServerParam::_internal_set_max_neck_moment(float value) { ; - _impl_.recover_min_ = value; + _impl_.max_neck_moment_ = value; } -// float recover_dec = 14; -inline void ServerParam::clear_recover_dec() { - _impl_.recover_dec_ = 0; +// float min_neck_moment = 43; +inline void ServerParam::clear_min_neck_moment() { + _impl_.min_neck_moment_ = 0; } -inline float ServerParam::recover_dec() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.recover_dec) - return _internal_recover_dec(); +inline float ServerParam::min_neck_moment() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.min_neck_moment) + return _internal_min_neck_moment(); } -inline void ServerParam::set_recover_dec(float value) { - _internal_set_recover_dec(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.recover_dec) +inline void ServerParam::set_min_neck_moment(float value) { + _internal_set_min_neck_moment(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.min_neck_moment) } -inline float ServerParam::_internal_recover_dec() const { - return _impl_.recover_dec_; +inline float ServerParam::_internal_min_neck_moment() const { + return _impl_.min_neck_moment_; } -inline void ServerParam::_internal_set_recover_dec(float value) { +inline void ServerParam::_internal_set_min_neck_moment(float value) { ; - _impl_.recover_dec_ = value; + _impl_.min_neck_moment_ = value; } -// float effort_init = 15; -inline void ServerParam::clear_effort_init() { - _impl_.effort_init_ = 0; +// float max_neck_angle = 44; +inline void ServerParam::clear_max_neck_angle() { + _impl_.max_neck_angle_ = 0; } -inline float ServerParam::effort_init() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.effort_init) - return _internal_effort_init(); +inline float ServerParam::max_neck_angle() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.max_neck_angle) + return _internal_max_neck_angle(); } -inline void ServerParam::set_effort_init(float value) { - _internal_set_effort_init(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.effort_init) +inline void ServerParam::set_max_neck_angle(float value) { + _internal_set_max_neck_angle(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.max_neck_angle) } -inline float ServerParam::_internal_effort_init() const { - return _impl_.effort_init_; +inline float ServerParam::_internal_max_neck_angle() const { + return _impl_.max_neck_angle_; } -inline void ServerParam::_internal_set_effort_init(float value) { +inline void ServerParam::_internal_set_max_neck_angle(float value) { ; - _impl_.effort_init_ = value; + _impl_.max_neck_angle_ = value; } -// float effort_dec_thr = 16; -inline void ServerParam::clear_effort_dec_thr() { - _impl_.effort_dec_thr_ = 0; +// float min_neck_angle = 45; +inline void ServerParam::clear_min_neck_angle() { + _impl_.min_neck_angle_ = 0; } -inline float ServerParam::effort_dec_thr() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.effort_dec_thr) - return _internal_effort_dec_thr(); +inline float ServerParam::min_neck_angle() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.min_neck_angle) + return _internal_min_neck_angle(); } -inline void ServerParam::set_effort_dec_thr(float value) { - _internal_set_effort_dec_thr(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.effort_dec_thr) +inline void ServerParam::set_min_neck_angle(float value) { + _internal_set_min_neck_angle(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.min_neck_angle) } -inline float ServerParam::_internal_effort_dec_thr() const { - return _impl_.effort_dec_thr_; +inline float ServerParam::_internal_min_neck_angle() const { + return _impl_.min_neck_angle_; } -inline void ServerParam::_internal_set_effort_dec_thr(float value) { +inline void ServerParam::_internal_set_min_neck_angle(float value) { ; - _impl_.effort_dec_thr_ = value; + _impl_.min_neck_angle_ = value; } -// float effort_min = 17; -inline void ServerParam::clear_effort_min() { - _impl_.effort_min_ = 0; +// float visible_angle = 46; +inline void ServerParam::clear_visible_angle() { + _impl_.visible_angle_ = 0; } -inline float ServerParam::effort_min() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.effort_min) - return _internal_effort_min(); +inline float ServerParam::visible_angle() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.visible_angle) + return _internal_visible_angle(); } -inline void ServerParam::set_effort_min(float value) { - _internal_set_effort_min(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.effort_min) +inline void ServerParam::set_visible_angle(float value) { + _internal_set_visible_angle(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.visible_angle) } -inline float ServerParam::_internal_effort_min() const { - return _impl_.effort_min_; +inline float ServerParam::_internal_visible_angle() const { + return _impl_.visible_angle_; } -inline void ServerParam::_internal_set_effort_min(float value) { +inline void ServerParam::_internal_set_visible_angle(float value) { ; - _impl_.effort_min_ = value; + _impl_.visible_angle_ = value; } -// float effort_dec = 18; -inline void ServerParam::clear_effort_dec() { - _impl_.effort_dec_ = 0; +// float visible_distance = 47; +inline void ServerParam::clear_visible_distance() { + _impl_.visible_distance_ = 0; } -inline float ServerParam::effort_dec() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.effort_dec) - return _internal_effort_dec(); +inline float ServerParam::visible_distance() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.visible_distance) + return _internal_visible_distance(); } -inline void ServerParam::set_effort_dec(float value) { - _internal_set_effort_dec(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.effort_dec) +inline void ServerParam::set_visible_distance(float value) { + _internal_set_visible_distance(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.visible_distance) } -inline float ServerParam::_internal_effort_dec() const { - return _impl_.effort_dec_; +inline float ServerParam::_internal_visible_distance() const { + return _impl_.visible_distance_; } -inline void ServerParam::_internal_set_effort_dec(float value) { +inline void ServerParam::_internal_set_visible_distance(float value) { ; - _impl_.effort_dec_ = value; + _impl_.visible_distance_ = value; } -// float effort_inc_thr = 19; -inline void ServerParam::clear_effort_inc_thr() { - _impl_.effort_inc_thr_ = 0; +// float wind_dir = 48; +inline void ServerParam::clear_wind_dir() { + _impl_.wind_dir_ = 0; } -inline float ServerParam::effort_inc_thr() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.effort_inc_thr) - return _internal_effort_inc_thr(); +inline float ServerParam::wind_dir() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.wind_dir) + return _internal_wind_dir(); } -inline void ServerParam::set_effort_inc_thr(float value) { - _internal_set_effort_inc_thr(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.effort_inc_thr) +inline void ServerParam::set_wind_dir(float value) { + _internal_set_wind_dir(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.wind_dir) } -inline float ServerParam::_internal_effort_inc_thr() const { - return _impl_.effort_inc_thr_; +inline float ServerParam::_internal_wind_dir() const { + return _impl_.wind_dir_; } -inline void ServerParam::_internal_set_effort_inc_thr(float value) { +inline void ServerParam::_internal_set_wind_dir(float value) { ; - _impl_.effort_inc_thr_ = value; + _impl_.wind_dir_ = value; } -// float effort_inc = 20; -inline void ServerParam::clear_effort_inc() { - _impl_.effort_inc_ = 0; +// float wind_force = 49; +inline void ServerParam::clear_wind_force() { + _impl_.wind_force_ = 0; } -inline float ServerParam::effort_inc() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.effort_inc) - return _internal_effort_inc(); +inline float ServerParam::wind_force() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.wind_force) + return _internal_wind_force(); } -inline void ServerParam::set_effort_inc(float value) { - _internal_set_effort_inc(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.effort_inc) +inline void ServerParam::set_wind_force(float value) { + _internal_set_wind_force(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.wind_force) } -inline float ServerParam::_internal_effort_inc() const { - return _impl_.effort_inc_; +inline float ServerParam::_internal_wind_force() const { + return _impl_.wind_force_; } -inline void ServerParam::_internal_set_effort_inc(float value) { +inline void ServerParam::_internal_set_wind_force(float value) { ; - _impl_.effort_inc_ = value; + _impl_.wind_force_ = value; } -// float kick_rand = 21; -inline void ServerParam::clear_kick_rand() { - _impl_.kick_rand_ = 0; +// float wind_angle = 50; +inline void ServerParam::clear_wind_angle() { + _impl_.wind_angle_ = 0; } -inline float ServerParam::kick_rand() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.kick_rand) - return _internal_kick_rand(); +inline float ServerParam::wind_angle() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.wind_angle) + return _internal_wind_angle(); } -inline void ServerParam::set_kick_rand(float value) { - _internal_set_kick_rand(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.kick_rand) +inline void ServerParam::set_wind_angle(float value) { + _internal_set_wind_angle(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.wind_angle) } -inline float ServerParam::_internal_kick_rand() const { - return _impl_.kick_rand_; +inline float ServerParam::_internal_wind_angle() const { + return _impl_.wind_angle_; } -inline void ServerParam::_internal_set_kick_rand(float value) { +inline void ServerParam::_internal_set_wind_angle(float value) { ; - _impl_.kick_rand_ = value; + _impl_.wind_angle_ = value; } -// bool team_actuator_noise = 22; -inline void ServerParam::clear_team_actuator_noise() { - _impl_.team_actuator_noise_ = false; +// float wind_rand = 51; +inline void ServerParam::clear_wind_rand() { + _impl_.wind_rand_ = 0; } -inline bool ServerParam::team_actuator_noise() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.team_actuator_noise) - return _internal_team_actuator_noise(); +inline float ServerParam::wind_rand() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.wind_rand) + return _internal_wind_rand(); } -inline void ServerParam::set_team_actuator_noise(bool value) { - _internal_set_team_actuator_noise(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.team_actuator_noise) +inline void ServerParam::set_wind_rand(float value) { + _internal_set_wind_rand(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.wind_rand) } -inline bool ServerParam::_internal_team_actuator_noise() const { - return _impl_.team_actuator_noise_; +inline float ServerParam::_internal_wind_rand() const { + return _impl_.wind_rand_; } -inline void ServerParam::_internal_set_team_actuator_noise(bool value) { +inline void ServerParam::_internal_set_wind_rand(float value) { ; - _impl_.team_actuator_noise_ = value; + _impl_.wind_rand_ = value; } -// float player_rand_factor_l = 23; -inline void ServerParam::clear_player_rand_factor_l() { - _impl_.player_rand_factor_l_ = 0; +// float kickable_area = 52; +inline void ServerParam::clear_kickable_area() { + _impl_.kickable_area_ = 0; } -inline float ServerParam::player_rand_factor_l() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.player_rand_factor_l) - return _internal_player_rand_factor_l(); +inline float ServerParam::kickable_area() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.kickable_area) + return _internal_kickable_area(); } -inline void ServerParam::set_player_rand_factor_l(float value) { - _internal_set_player_rand_factor_l(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.player_rand_factor_l) +inline void ServerParam::set_kickable_area(float value) { + _internal_set_kickable_area(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.kickable_area) } -inline float ServerParam::_internal_player_rand_factor_l() const { - return _impl_.player_rand_factor_l_; +inline float ServerParam::_internal_kickable_area() const { + return _impl_.kickable_area_; } -inline void ServerParam::_internal_set_player_rand_factor_l(float value) { +inline void ServerParam::_internal_set_kickable_area(float value) { ; - _impl_.player_rand_factor_l_ = value; + _impl_.kickable_area_ = value; } -// float player_rand_factor_r = 24; -inline void ServerParam::clear_player_rand_factor_r() { - _impl_.player_rand_factor_r_ = 0; +// float catch_area_l = 53; +inline void ServerParam::clear_catch_area_l() { + _impl_.catch_area_l_ = 0; } -inline float ServerParam::player_rand_factor_r() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.player_rand_factor_r) - return _internal_player_rand_factor_r(); +inline float ServerParam::catch_area_l() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.catch_area_l) + return _internal_catch_area_l(); } -inline void ServerParam::set_player_rand_factor_r(float value) { - _internal_set_player_rand_factor_r(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.player_rand_factor_r) +inline void ServerParam::set_catch_area_l(float value) { + _internal_set_catch_area_l(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.catch_area_l) } -inline float ServerParam::_internal_player_rand_factor_r() const { - return _impl_.player_rand_factor_r_; +inline float ServerParam::_internal_catch_area_l() const { + return _impl_.catch_area_l_; } -inline void ServerParam::_internal_set_player_rand_factor_r(float value) { +inline void ServerParam::_internal_set_catch_area_l(float value) { ; - _impl_.player_rand_factor_r_ = value; + _impl_.catch_area_l_ = value; } -// float kick_rand_factor_l = 25; -inline void ServerParam::clear_kick_rand_factor_l() { - _impl_.kick_rand_factor_l_ = 0; +// float catch_area_w = 54; +inline void ServerParam::clear_catch_area_w() { + _impl_.catch_area_w_ = 0; } -inline float ServerParam::kick_rand_factor_l() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.kick_rand_factor_l) - return _internal_kick_rand_factor_l(); +inline float ServerParam::catch_area_w() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.catch_area_w) + return _internal_catch_area_w(); } -inline void ServerParam::set_kick_rand_factor_l(float value) { - _internal_set_kick_rand_factor_l(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.kick_rand_factor_l) +inline void ServerParam::set_catch_area_w(float value) { + _internal_set_catch_area_w(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.catch_area_w) } -inline float ServerParam::_internal_kick_rand_factor_l() const { - return _impl_.kick_rand_factor_l_; +inline float ServerParam::_internal_catch_area_w() const { + return _impl_.catch_area_w_; } -inline void ServerParam::_internal_set_kick_rand_factor_l(float value) { +inline void ServerParam::_internal_set_catch_area_w(float value) { ; - _impl_.kick_rand_factor_l_ = value; + _impl_.catch_area_w_ = value; } -// float kick_rand_factor_r = 26; -inline void ServerParam::clear_kick_rand_factor_r() { - _impl_.kick_rand_factor_r_ = 0; +// float catch_probability = 55; +inline void ServerParam::clear_catch_probability() { + _impl_.catch_probability_ = 0; } -inline float ServerParam::kick_rand_factor_r() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.kick_rand_factor_r) - return _internal_kick_rand_factor_r(); +inline float ServerParam::catch_probability() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.catch_probability) + return _internal_catch_probability(); } -inline void ServerParam::set_kick_rand_factor_r(float value) { - _internal_set_kick_rand_factor_r(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.kick_rand_factor_r) +inline void ServerParam::set_catch_probability(float value) { + _internal_set_catch_probability(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.catch_probability) } -inline float ServerParam::_internal_kick_rand_factor_r() const { - return _impl_.kick_rand_factor_r_; +inline float ServerParam::_internal_catch_probability() const { + return _impl_.catch_probability_; } -inline void ServerParam::_internal_set_kick_rand_factor_r(float value) { +inline void ServerParam::_internal_set_catch_probability(float value) { ; - _impl_.kick_rand_factor_r_ = value; + _impl_.catch_probability_ = value; } -// float ball_size = 27; -inline void ServerParam::clear_ball_size() { - _impl_.ball_size_ = 0; +// int32 goalie_max_moves = 56; +inline void ServerParam::clear_goalie_max_moves() { + _impl_.goalie_max_moves_ = 0; } -inline float ServerParam::ball_size() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.ball_size) - return _internal_ball_size(); +inline ::int32_t ServerParam::goalie_max_moves() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.goalie_max_moves) + return _internal_goalie_max_moves(); } -inline void ServerParam::set_ball_size(float value) { - _internal_set_ball_size(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.ball_size) +inline void ServerParam::set_goalie_max_moves(::int32_t value) { + _internal_set_goalie_max_moves(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.goalie_max_moves) } -inline float ServerParam::_internal_ball_size() const { - return _impl_.ball_size_; +inline ::int32_t ServerParam::_internal_goalie_max_moves() const { + return _impl_.goalie_max_moves_; } -inline void ServerParam::_internal_set_ball_size(float value) { +inline void ServerParam::_internal_set_goalie_max_moves(::int32_t value) { ; - _impl_.ball_size_ = value; + _impl_.goalie_max_moves_ = value; } -// float ball_decay = 28; -inline void ServerParam::clear_ball_decay() { - _impl_.ball_decay_ = 0; +// float corner_kick_margin = 57; +inline void ServerParam::clear_corner_kick_margin() { + _impl_.corner_kick_margin_ = 0; } -inline float ServerParam::ball_decay() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.ball_decay) - return _internal_ball_decay(); +inline float ServerParam::corner_kick_margin() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.corner_kick_margin) + return _internal_corner_kick_margin(); } -inline void ServerParam::set_ball_decay(float value) { - _internal_set_ball_decay(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.ball_decay) +inline void ServerParam::set_corner_kick_margin(float value) { + _internal_set_corner_kick_margin(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.corner_kick_margin) } -inline float ServerParam::_internal_ball_decay() const { - return _impl_.ball_decay_; +inline float ServerParam::_internal_corner_kick_margin() const { + return _impl_.corner_kick_margin_; } -inline void ServerParam::_internal_set_ball_decay(float value) { +inline void ServerParam::_internal_set_corner_kick_margin(float value) { ; - _impl_.ball_decay_ = value; + _impl_.corner_kick_margin_ = value; } -// float ball_rand = 29; -inline void ServerParam::clear_ball_rand() { - _impl_.ball_rand_ = 0; +// float offside_active_area_size = 58; +inline void ServerParam::clear_offside_active_area_size() { + _impl_.offside_active_area_size_ = 0; } -inline float ServerParam::ball_rand() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.ball_rand) - return _internal_ball_rand(); +inline float ServerParam::offside_active_area_size() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.offside_active_area_size) + return _internal_offside_active_area_size(); } -inline void ServerParam::set_ball_rand(float value) { - _internal_set_ball_rand(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.ball_rand) +inline void ServerParam::set_offside_active_area_size(float value) { + _internal_set_offside_active_area_size(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.offside_active_area_size) } -inline float ServerParam::_internal_ball_rand() const { - return _impl_.ball_rand_; +inline float ServerParam::_internal_offside_active_area_size() const { + return _impl_.offside_active_area_size_; } -inline void ServerParam::_internal_set_ball_rand(float value) { +inline void ServerParam::_internal_set_offside_active_area_size(float value) { ; - _impl_.ball_rand_ = value; + _impl_.offside_active_area_size_ = value; } -// float ball_weight = 30; -inline void ServerParam::clear_ball_weight() { - _impl_.ball_weight_ = 0; +// bool wind_none = 59; +inline void ServerParam::clear_wind_none() { + _impl_.wind_none_ = false; } -inline float ServerParam::ball_weight() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.ball_weight) - return _internal_ball_weight(); +inline bool ServerParam::wind_none() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.wind_none) + return _internal_wind_none(); } -inline void ServerParam::set_ball_weight(float value) { - _internal_set_ball_weight(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.ball_weight) +inline void ServerParam::set_wind_none(bool value) { + _internal_set_wind_none(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.wind_none) } -inline float ServerParam::_internal_ball_weight() const { - return _impl_.ball_weight_; +inline bool ServerParam::_internal_wind_none() const { + return _impl_.wind_none_; } -inline void ServerParam::_internal_set_ball_weight(float value) { +inline void ServerParam::_internal_set_wind_none(bool value) { ; - _impl_.ball_weight_ = value; + _impl_.wind_none_ = value; } -// float ball_speed_max = 31; -inline void ServerParam::clear_ball_speed_max() { - _impl_.ball_speed_max_ = 0; +// bool use_wind_random = 60; +inline void ServerParam::clear_use_wind_random() { + _impl_.use_wind_random_ = false; } -inline float ServerParam::ball_speed_max() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.ball_speed_max) - return _internal_ball_speed_max(); +inline bool ServerParam::use_wind_random() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.use_wind_random) + return _internal_use_wind_random(); } -inline void ServerParam::set_ball_speed_max(float value) { - _internal_set_ball_speed_max(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.ball_speed_max) +inline void ServerParam::set_use_wind_random(bool value) { + _internal_set_use_wind_random(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.use_wind_random) } -inline float ServerParam::_internal_ball_speed_max() const { - return _impl_.ball_speed_max_; +inline bool ServerParam::_internal_use_wind_random() const { + return _impl_.use_wind_random_; } -inline void ServerParam::_internal_set_ball_speed_max(float value) { +inline void ServerParam::_internal_set_use_wind_random(bool value) { ; - _impl_.ball_speed_max_ = value; + _impl_.use_wind_random_ = value; } -// float ball_accel_max = 32; -inline void ServerParam::clear_ball_accel_max() { - _impl_.ball_accel_max_ = 0; +// int32 coach_say_count_max = 61; +inline void ServerParam::clear_coach_say_count_max() { + _impl_.coach_say_count_max_ = 0; } -inline float ServerParam::ball_accel_max() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.ball_accel_max) - return _internal_ball_accel_max(); +inline ::int32_t ServerParam::coach_say_count_max() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.coach_say_count_max) + return _internal_coach_say_count_max(); } -inline void ServerParam::set_ball_accel_max(float value) { - _internal_set_ball_accel_max(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.ball_accel_max) +inline void ServerParam::set_coach_say_count_max(::int32_t value) { + _internal_set_coach_say_count_max(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.coach_say_count_max) } -inline float ServerParam::_internal_ball_accel_max() const { - return _impl_.ball_accel_max_; +inline ::int32_t ServerParam::_internal_coach_say_count_max() const { + return _impl_.coach_say_count_max_; } -inline void ServerParam::_internal_set_ball_accel_max(float value) { +inline void ServerParam::_internal_set_coach_say_count_max(::int32_t value) { ; - _impl_.ball_accel_max_ = value; + _impl_.coach_say_count_max_ = value; } -// float dash_power_rate = 33; -inline void ServerParam::clear_dash_power_rate() { - _impl_.dash_power_rate_ = 0; +// int32 coach_say_msg_size = 62; +inline void ServerParam::clear_coach_say_msg_size() { + _impl_.coach_say_msg_size_ = 0; } -inline float ServerParam::dash_power_rate() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.dash_power_rate) - return _internal_dash_power_rate(); +inline ::int32_t ServerParam::coach_say_msg_size() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.coach_say_msg_size) + return _internal_coach_say_msg_size(); } -inline void ServerParam::set_dash_power_rate(float value) { - _internal_set_dash_power_rate(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.dash_power_rate) +inline void ServerParam::set_coach_say_msg_size(::int32_t value) { + _internal_set_coach_say_msg_size(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.coach_say_msg_size) } -inline float ServerParam::_internal_dash_power_rate() const { - return _impl_.dash_power_rate_; +inline ::int32_t ServerParam::_internal_coach_say_msg_size() const { + return _impl_.coach_say_msg_size_; } -inline void ServerParam::_internal_set_dash_power_rate(float value) { +inline void ServerParam::_internal_set_coach_say_msg_size(::int32_t value) { ; - _impl_.dash_power_rate_ = value; + _impl_.coach_say_msg_size_ = value; } -// float kick_power_rate = 34; -inline void ServerParam::clear_kick_power_rate() { - _impl_.kick_power_rate_ = 0; +// int32 clang_win_size = 63; +inline void ServerParam::clear_clang_win_size() { + _impl_.clang_win_size_ = 0; } -inline float ServerParam::kick_power_rate() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.kick_power_rate) - return _internal_kick_power_rate(); +inline ::int32_t ServerParam::clang_win_size() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.clang_win_size) + return _internal_clang_win_size(); } -inline void ServerParam::set_kick_power_rate(float value) { - _internal_set_kick_power_rate(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.kick_power_rate) +inline void ServerParam::set_clang_win_size(::int32_t value) { + _internal_set_clang_win_size(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.clang_win_size) } -inline float ServerParam::_internal_kick_power_rate() const { - return _impl_.kick_power_rate_; +inline ::int32_t ServerParam::_internal_clang_win_size() const { + return _impl_.clang_win_size_; } -inline void ServerParam::_internal_set_kick_power_rate(float value) { +inline void ServerParam::_internal_set_clang_win_size(::int32_t value) { ; - _impl_.kick_power_rate_ = value; + _impl_.clang_win_size_ = value; } -// float kickable_margin = 35; -inline void ServerParam::clear_kickable_margin() { - _impl_.kickable_margin_ = 0; +// int32 clang_define_win = 64; +inline void ServerParam::clear_clang_define_win() { + _impl_.clang_define_win_ = 0; } -inline float ServerParam::kickable_margin() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.kickable_margin) - return _internal_kickable_margin(); +inline ::int32_t ServerParam::clang_define_win() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.clang_define_win) + return _internal_clang_define_win(); } -inline void ServerParam::set_kickable_margin(float value) { - _internal_set_kickable_margin(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.kickable_margin) +inline void ServerParam::set_clang_define_win(::int32_t value) { + _internal_set_clang_define_win(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.clang_define_win) } -inline float ServerParam::_internal_kickable_margin() const { - return _impl_.kickable_margin_; +inline ::int32_t ServerParam::_internal_clang_define_win() const { + return _impl_.clang_define_win_; } -inline void ServerParam::_internal_set_kickable_margin(float value) { +inline void ServerParam::_internal_set_clang_define_win(::int32_t value) { ; - _impl_.kickable_margin_ = value; + _impl_.clang_define_win_ = value; } -// float control_radius = 36; -inline void ServerParam::clear_control_radius() { - _impl_.control_radius_ = 0; +// int32 clang_meta_win = 65; +inline void ServerParam::clear_clang_meta_win() { + _impl_.clang_meta_win_ = 0; } -inline float ServerParam::control_radius() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.control_radius) - return _internal_control_radius(); +inline ::int32_t ServerParam::clang_meta_win() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.clang_meta_win) + return _internal_clang_meta_win(); } -inline void ServerParam::set_control_radius(float value) { - _internal_set_control_radius(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.control_radius) +inline void ServerParam::set_clang_meta_win(::int32_t value) { + _internal_set_clang_meta_win(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.clang_meta_win) } -inline float ServerParam::_internal_control_radius() const { - return _impl_.control_radius_; +inline ::int32_t ServerParam::_internal_clang_meta_win() const { + return _impl_.clang_meta_win_; } -inline void ServerParam::_internal_set_control_radius(float value) { +inline void ServerParam::_internal_set_clang_meta_win(::int32_t value) { ; - _impl_.control_radius_ = value; + _impl_.clang_meta_win_ = value; } -// float control_radius_width = 37; -inline void ServerParam::clear_control_radius_width() { - _impl_.control_radius_width_ = 0; +// int32 clang_advice_win = 66; +inline void ServerParam::clear_clang_advice_win() { + _impl_.clang_advice_win_ = 0; } -inline float ServerParam::control_radius_width() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.control_radius_width) - return _internal_control_radius_width(); +inline ::int32_t ServerParam::clang_advice_win() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.clang_advice_win) + return _internal_clang_advice_win(); } -inline void ServerParam::set_control_radius_width(float value) { - _internal_set_control_radius_width(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.control_radius_width) +inline void ServerParam::set_clang_advice_win(::int32_t value) { + _internal_set_clang_advice_win(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.clang_advice_win) } -inline float ServerParam::_internal_control_radius_width() const { - return _impl_.control_radius_width_; +inline ::int32_t ServerParam::_internal_clang_advice_win() const { + return _impl_.clang_advice_win_; } -inline void ServerParam::_internal_set_control_radius_width(float value) { +inline void ServerParam::_internal_set_clang_advice_win(::int32_t value) { ; - _impl_.control_radius_width_ = value; + _impl_.clang_advice_win_ = value; } -// float max_power = 38; -inline void ServerParam::clear_max_power() { - _impl_.max_power_ = 0; +// int32 clang_info_win = 67; +inline void ServerParam::clear_clang_info_win() { + _impl_.clang_info_win_ = 0; } -inline float ServerParam::max_power() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.max_power) - return _internal_max_power(); +inline ::int32_t ServerParam::clang_info_win() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.clang_info_win) + return _internal_clang_info_win(); } -inline void ServerParam::set_max_power(float value) { - _internal_set_max_power(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.max_power) +inline void ServerParam::set_clang_info_win(::int32_t value) { + _internal_set_clang_info_win(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.clang_info_win) } -inline float ServerParam::_internal_max_power() const { - return _impl_.max_power_; +inline ::int32_t ServerParam::_internal_clang_info_win() const { + return _impl_.clang_info_win_; } -inline void ServerParam::_internal_set_max_power(float value) { +inline void ServerParam::_internal_set_clang_info_win(::int32_t value) { ; - _impl_.max_power_ = value; + _impl_.clang_info_win_ = value; } -// float min_power = 39; -inline void ServerParam::clear_min_power() { - _impl_.min_power_ = 0; +// int32 clang_mess_delay = 68; +inline void ServerParam::clear_clang_mess_delay() { + _impl_.clang_mess_delay_ = 0; } -inline float ServerParam::min_power() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.min_power) - return _internal_min_power(); +inline ::int32_t ServerParam::clang_mess_delay() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.clang_mess_delay) + return _internal_clang_mess_delay(); } -inline void ServerParam::set_min_power(float value) { - _internal_set_min_power(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.min_power) +inline void ServerParam::set_clang_mess_delay(::int32_t value) { + _internal_set_clang_mess_delay(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.clang_mess_delay) } -inline float ServerParam::_internal_min_power() const { - return _impl_.min_power_; +inline ::int32_t ServerParam::_internal_clang_mess_delay() const { + return _impl_.clang_mess_delay_; } -inline void ServerParam::_internal_set_min_power(float value) { +inline void ServerParam::_internal_set_clang_mess_delay(::int32_t value) { ; - _impl_.min_power_ = value; + _impl_.clang_mess_delay_ = value; } -// float max_moment = 40; -inline void ServerParam::clear_max_moment() { - _impl_.max_moment_ = 0; +// int32 clang_mess_per_cycle = 69; +inline void ServerParam::clear_clang_mess_per_cycle() { + _impl_.clang_mess_per_cycle_ = 0; } -inline float ServerParam::max_moment() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.max_moment) - return _internal_max_moment(); +inline ::int32_t ServerParam::clang_mess_per_cycle() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.clang_mess_per_cycle) + return _internal_clang_mess_per_cycle(); } -inline void ServerParam::set_max_moment(float value) { - _internal_set_max_moment(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.max_moment) +inline void ServerParam::set_clang_mess_per_cycle(::int32_t value) { + _internal_set_clang_mess_per_cycle(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.clang_mess_per_cycle) } -inline float ServerParam::_internal_max_moment() const { - return _impl_.max_moment_; +inline ::int32_t ServerParam::_internal_clang_mess_per_cycle() const { + return _impl_.clang_mess_per_cycle_; } -inline void ServerParam::_internal_set_max_moment(float value) { +inline void ServerParam::_internal_set_clang_mess_per_cycle(::int32_t value) { ; - _impl_.max_moment_ = value; + _impl_.clang_mess_per_cycle_ = value; } -// float min_moment = 41; -inline void ServerParam::clear_min_moment() { - _impl_.min_moment_ = 0; +// int32 half_time = 70; +inline void ServerParam::clear_half_time() { + _impl_.half_time_ = 0; } -inline float ServerParam::min_moment() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.min_moment) - return _internal_min_moment(); +inline ::int32_t ServerParam::half_time() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.half_time) + return _internal_half_time(); } -inline void ServerParam::set_min_moment(float value) { - _internal_set_min_moment(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.min_moment) +inline void ServerParam::set_half_time(::int32_t value) { + _internal_set_half_time(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.half_time) } -inline float ServerParam::_internal_min_moment() const { - return _impl_.min_moment_; +inline ::int32_t ServerParam::_internal_half_time() const { + return _impl_.half_time_; } -inline void ServerParam::_internal_set_min_moment(float value) { +inline void ServerParam::_internal_set_half_time(::int32_t value) { ; - _impl_.min_moment_ = value; + _impl_.half_time_ = value; } -// float max_neck_moment = 42; -inline void ServerParam::clear_max_neck_moment() { - _impl_.max_neck_moment_ = 0; +// int32 simulator_step = 71; +inline void ServerParam::clear_simulator_step() { + _impl_.simulator_step_ = 0; } -inline float ServerParam::max_neck_moment() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.max_neck_moment) - return _internal_max_neck_moment(); +inline ::int32_t ServerParam::simulator_step() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.simulator_step) + return _internal_simulator_step(); } -inline void ServerParam::set_max_neck_moment(float value) { - _internal_set_max_neck_moment(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.max_neck_moment) +inline void ServerParam::set_simulator_step(::int32_t value) { + _internal_set_simulator_step(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.simulator_step) } -inline float ServerParam::_internal_max_neck_moment() const { - return _impl_.max_neck_moment_; +inline ::int32_t ServerParam::_internal_simulator_step() const { + return _impl_.simulator_step_; } -inline void ServerParam::_internal_set_max_neck_moment(float value) { +inline void ServerParam::_internal_set_simulator_step(::int32_t value) { ; - _impl_.max_neck_moment_ = value; + _impl_.simulator_step_ = value; } -// float min_neck_moment = 43; -inline void ServerParam::clear_min_neck_moment() { - _impl_.min_neck_moment_ = 0; +// int32 send_step = 72; +inline void ServerParam::clear_send_step() { + _impl_.send_step_ = 0; } -inline float ServerParam::min_neck_moment() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.min_neck_moment) - return _internal_min_neck_moment(); +inline ::int32_t ServerParam::send_step() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.send_step) + return _internal_send_step(); } -inline void ServerParam::set_min_neck_moment(float value) { - _internal_set_min_neck_moment(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.min_neck_moment) +inline void ServerParam::set_send_step(::int32_t value) { + _internal_set_send_step(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.send_step) } -inline float ServerParam::_internal_min_neck_moment() const { - return _impl_.min_neck_moment_; +inline ::int32_t ServerParam::_internal_send_step() const { + return _impl_.send_step_; } -inline void ServerParam::_internal_set_min_neck_moment(float value) { +inline void ServerParam::_internal_set_send_step(::int32_t value) { ; - _impl_.min_neck_moment_ = value; + _impl_.send_step_ = value; } -// float max_neck_angle = 44; -inline void ServerParam::clear_max_neck_angle() { - _impl_.max_neck_angle_ = 0; -} -inline float ServerParam::max_neck_angle() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.max_neck_angle) - return _internal_max_neck_angle(); +// int32 recv_step = 73; +inline void ServerParam::clear_recv_step() { + _impl_.recv_step_ = 0; } -inline void ServerParam::set_max_neck_angle(float value) { - _internal_set_max_neck_angle(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.max_neck_angle) +inline ::int32_t ServerParam::recv_step() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.recv_step) + return _internal_recv_step(); } -inline float ServerParam::_internal_max_neck_angle() const { - return _impl_.max_neck_angle_; +inline void ServerParam::set_recv_step(::int32_t value) { + _internal_set_recv_step(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.recv_step) } -inline void ServerParam::_internal_set_max_neck_angle(float value) { +inline ::int32_t ServerParam::_internal_recv_step() const { + return _impl_.recv_step_; +} +inline void ServerParam::_internal_set_recv_step(::int32_t value) { ; - _impl_.max_neck_angle_ = value; + _impl_.recv_step_ = value; } -// float min_neck_angle = 45; -inline void ServerParam::clear_min_neck_angle() { - _impl_.min_neck_angle_ = 0; +// int32 sense_body_step = 74; +inline void ServerParam::clear_sense_body_step() { + _impl_.sense_body_step_ = 0; } -inline float ServerParam::min_neck_angle() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.min_neck_angle) - return _internal_min_neck_angle(); +inline ::int32_t ServerParam::sense_body_step() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.sense_body_step) + return _internal_sense_body_step(); } -inline void ServerParam::set_min_neck_angle(float value) { - _internal_set_min_neck_angle(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.min_neck_angle) +inline void ServerParam::set_sense_body_step(::int32_t value) { + _internal_set_sense_body_step(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.sense_body_step) } -inline float ServerParam::_internal_min_neck_angle() const { - return _impl_.min_neck_angle_; +inline ::int32_t ServerParam::_internal_sense_body_step() const { + return _impl_.sense_body_step_; } -inline void ServerParam::_internal_set_min_neck_angle(float value) { +inline void ServerParam::_internal_set_sense_body_step(::int32_t value) { ; - _impl_.min_neck_angle_ = value; + _impl_.sense_body_step_ = value; } -// float visible_angle = 46; -inline void ServerParam::clear_visible_angle() { - _impl_.visible_angle_ = 0; +// int32 lcm_step = 75; +inline void ServerParam::clear_lcm_step() { + _impl_.lcm_step_ = 0; } -inline float ServerParam::visible_angle() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.visible_angle) - return _internal_visible_angle(); +inline ::int32_t ServerParam::lcm_step() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.lcm_step) + return _internal_lcm_step(); } -inline void ServerParam::set_visible_angle(float value) { - _internal_set_visible_angle(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.visible_angle) +inline void ServerParam::set_lcm_step(::int32_t value) { + _internal_set_lcm_step(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.lcm_step) } -inline float ServerParam::_internal_visible_angle() const { - return _impl_.visible_angle_; +inline ::int32_t ServerParam::_internal_lcm_step() const { + return _impl_.lcm_step_; } -inline void ServerParam::_internal_set_visible_angle(float value) { +inline void ServerParam::_internal_set_lcm_step(::int32_t value) { ; - _impl_.visible_angle_ = value; + _impl_.lcm_step_ = value; } -// float visible_distance = 47; -inline void ServerParam::clear_visible_distance() { - _impl_.visible_distance_ = 0; +// int32 player_say_msg_size = 76; +inline void ServerParam::clear_player_say_msg_size() { + _impl_.player_say_msg_size_ = 0; } -inline float ServerParam::visible_distance() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.visible_distance) - return _internal_visible_distance(); +inline ::int32_t ServerParam::player_say_msg_size() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.player_say_msg_size) + return _internal_player_say_msg_size(); } -inline void ServerParam::set_visible_distance(float value) { - _internal_set_visible_distance(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.visible_distance) +inline void ServerParam::set_player_say_msg_size(::int32_t value) { + _internal_set_player_say_msg_size(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.player_say_msg_size) } -inline float ServerParam::_internal_visible_distance() const { - return _impl_.visible_distance_; +inline ::int32_t ServerParam::_internal_player_say_msg_size() const { + return _impl_.player_say_msg_size_; } -inline void ServerParam::_internal_set_visible_distance(float value) { +inline void ServerParam::_internal_set_player_say_msg_size(::int32_t value) { ; - _impl_.visible_distance_ = value; + _impl_.player_say_msg_size_ = value; } -// float wind_dir = 48; -inline void ServerParam::clear_wind_dir() { - _impl_.wind_dir_ = 0; +// int32 player_hear_max = 77; +inline void ServerParam::clear_player_hear_max() { + _impl_.player_hear_max_ = 0; } -inline float ServerParam::wind_dir() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.wind_dir) - return _internal_wind_dir(); +inline ::int32_t ServerParam::player_hear_max() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.player_hear_max) + return _internal_player_hear_max(); } -inline void ServerParam::set_wind_dir(float value) { - _internal_set_wind_dir(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.wind_dir) +inline void ServerParam::set_player_hear_max(::int32_t value) { + _internal_set_player_hear_max(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.player_hear_max) } -inline float ServerParam::_internal_wind_dir() const { - return _impl_.wind_dir_; +inline ::int32_t ServerParam::_internal_player_hear_max() const { + return _impl_.player_hear_max_; } -inline void ServerParam::_internal_set_wind_dir(float value) { +inline void ServerParam::_internal_set_player_hear_max(::int32_t value) { ; - _impl_.wind_dir_ = value; + _impl_.player_hear_max_ = value; } -// float wind_force = 49; -inline void ServerParam::clear_wind_force() { - _impl_.wind_force_ = 0; +// int32 player_hear_inc = 78; +inline void ServerParam::clear_player_hear_inc() { + _impl_.player_hear_inc_ = 0; } -inline float ServerParam::wind_force() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.wind_force) - return _internal_wind_force(); +inline ::int32_t ServerParam::player_hear_inc() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.player_hear_inc) + return _internal_player_hear_inc(); } -inline void ServerParam::set_wind_force(float value) { - _internal_set_wind_force(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.wind_force) +inline void ServerParam::set_player_hear_inc(::int32_t value) { + _internal_set_player_hear_inc(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.player_hear_inc) } -inline float ServerParam::_internal_wind_force() const { - return _impl_.wind_force_; +inline ::int32_t ServerParam::_internal_player_hear_inc() const { + return _impl_.player_hear_inc_; } -inline void ServerParam::_internal_set_wind_force(float value) { +inline void ServerParam::_internal_set_player_hear_inc(::int32_t value) { ; - _impl_.wind_force_ = value; + _impl_.player_hear_inc_ = value; } -// float wind_angle = 50; -inline void ServerParam::clear_wind_angle() { - _impl_.wind_angle_ = 0; +// int32 player_hear_decay = 79; +inline void ServerParam::clear_player_hear_decay() { + _impl_.player_hear_decay_ = 0; } -inline float ServerParam::wind_angle() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.wind_angle) - return _internal_wind_angle(); +inline ::int32_t ServerParam::player_hear_decay() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.player_hear_decay) + return _internal_player_hear_decay(); } -inline void ServerParam::set_wind_angle(float value) { - _internal_set_wind_angle(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.wind_angle) +inline void ServerParam::set_player_hear_decay(::int32_t value) { + _internal_set_player_hear_decay(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.player_hear_decay) } -inline float ServerParam::_internal_wind_angle() const { - return _impl_.wind_angle_; +inline ::int32_t ServerParam::_internal_player_hear_decay() const { + return _impl_.player_hear_decay_; } -inline void ServerParam::_internal_set_wind_angle(float value) { +inline void ServerParam::_internal_set_player_hear_decay(::int32_t value) { ; - _impl_.wind_angle_ = value; + _impl_.player_hear_decay_ = value; } -// float wind_rand = 51; -inline void ServerParam::clear_wind_rand() { - _impl_.wind_rand_ = 0; +// int32 catch_ban_cycle = 80; +inline void ServerParam::clear_catch_ban_cycle() { + _impl_.catch_ban_cycle_ = 0; } -inline float ServerParam::wind_rand() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.wind_rand) - return _internal_wind_rand(); +inline ::int32_t ServerParam::catch_ban_cycle() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.catch_ban_cycle) + return _internal_catch_ban_cycle(); } -inline void ServerParam::set_wind_rand(float value) { - _internal_set_wind_rand(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.wind_rand) +inline void ServerParam::set_catch_ban_cycle(::int32_t value) { + _internal_set_catch_ban_cycle(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.catch_ban_cycle) } -inline float ServerParam::_internal_wind_rand() const { - return _impl_.wind_rand_; +inline ::int32_t ServerParam::_internal_catch_ban_cycle() const { + return _impl_.catch_ban_cycle_; } -inline void ServerParam::_internal_set_wind_rand(float value) { +inline void ServerParam::_internal_set_catch_ban_cycle(::int32_t value) { ; - _impl_.wind_rand_ = value; + _impl_.catch_ban_cycle_ = value; } -// float kickable_area = 52; -inline void ServerParam::clear_kickable_area() { - _impl_.kickable_area_ = 0; +// int32 slow_down_factor = 81; +inline void ServerParam::clear_slow_down_factor() { + _impl_.slow_down_factor_ = 0; } -inline float ServerParam::kickable_area() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.kickable_area) - return _internal_kickable_area(); +inline ::int32_t ServerParam::slow_down_factor() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.slow_down_factor) + return _internal_slow_down_factor(); } -inline void ServerParam::set_kickable_area(float value) { - _internal_set_kickable_area(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.kickable_area) +inline void ServerParam::set_slow_down_factor(::int32_t value) { + _internal_set_slow_down_factor(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.slow_down_factor) } -inline float ServerParam::_internal_kickable_area() const { - return _impl_.kickable_area_; +inline ::int32_t ServerParam::_internal_slow_down_factor() const { + return _impl_.slow_down_factor_; } -inline void ServerParam::_internal_set_kickable_area(float value) { +inline void ServerParam::_internal_set_slow_down_factor(::int32_t value) { ; - _impl_.kickable_area_ = value; + _impl_.slow_down_factor_ = value; } -// float catch_area_l = 53; -inline void ServerParam::clear_catch_area_l() { - _impl_.catch_area_l_ = 0; +// bool use_offside = 82; +inline void ServerParam::clear_use_offside() { + _impl_.use_offside_ = false; } -inline float ServerParam::catch_area_l() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.catch_area_l) - return _internal_catch_area_l(); +inline bool ServerParam::use_offside() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.use_offside) + return _internal_use_offside(); } -inline void ServerParam::set_catch_area_l(float value) { - _internal_set_catch_area_l(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.catch_area_l) +inline void ServerParam::set_use_offside(bool value) { + _internal_set_use_offside(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.use_offside) } -inline float ServerParam::_internal_catch_area_l() const { - return _impl_.catch_area_l_; +inline bool ServerParam::_internal_use_offside() const { + return _impl_.use_offside_; } -inline void ServerParam::_internal_set_catch_area_l(float value) { +inline void ServerParam::_internal_set_use_offside(bool value) { ; - _impl_.catch_area_l_ = value; + _impl_.use_offside_ = value; } -// float catch_area_w = 54; -inline void ServerParam::clear_catch_area_w() { - _impl_.catch_area_w_ = 0; +// bool kickoff_offside = 83; +inline void ServerParam::clear_kickoff_offside() { + _impl_.kickoff_offside_ = false; } -inline float ServerParam::catch_area_w() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.catch_area_w) - return _internal_catch_area_w(); +inline bool ServerParam::kickoff_offside() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.kickoff_offside) + return _internal_kickoff_offside(); } -inline void ServerParam::set_catch_area_w(float value) { - _internal_set_catch_area_w(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.catch_area_w) +inline void ServerParam::set_kickoff_offside(bool value) { + _internal_set_kickoff_offside(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.kickoff_offside) } -inline float ServerParam::_internal_catch_area_w() const { - return _impl_.catch_area_w_; +inline bool ServerParam::_internal_kickoff_offside() const { + return _impl_.kickoff_offside_; } -inline void ServerParam::_internal_set_catch_area_w(float value) { +inline void ServerParam::_internal_set_kickoff_offside(bool value) { ; - _impl_.catch_area_w_ = value; + _impl_.kickoff_offside_ = value; } -// float catch_probability = 55; -inline void ServerParam::clear_catch_probability() { - _impl_.catch_probability_ = 0; +// float offside_kick_margin = 84; +inline void ServerParam::clear_offside_kick_margin() { + _impl_.offside_kick_margin_ = 0; } -inline float ServerParam::catch_probability() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.catch_probability) - return _internal_catch_probability(); +inline float ServerParam::offside_kick_margin() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.offside_kick_margin) + return _internal_offside_kick_margin(); } -inline void ServerParam::set_catch_probability(float value) { - _internal_set_catch_probability(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.catch_probability) +inline void ServerParam::set_offside_kick_margin(float value) { + _internal_set_offside_kick_margin(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.offside_kick_margin) } -inline float ServerParam::_internal_catch_probability() const { - return _impl_.catch_probability_; +inline float ServerParam::_internal_offside_kick_margin() const { + return _impl_.offside_kick_margin_; } -inline void ServerParam::_internal_set_catch_probability(float value) { +inline void ServerParam::_internal_set_offside_kick_margin(float value) { ; - _impl_.catch_probability_ = value; + _impl_.offside_kick_margin_ = value; } -// int32 goalie_max_moves = 56; -inline void ServerParam::clear_goalie_max_moves() { - _impl_.goalie_max_moves_ = 0; +// float audio_cut_dist = 85; +inline void ServerParam::clear_audio_cut_dist() { + _impl_.audio_cut_dist_ = 0; } -inline ::int32_t ServerParam::goalie_max_moves() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.goalie_max_moves) - return _internal_goalie_max_moves(); +inline float ServerParam::audio_cut_dist() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.audio_cut_dist) + return _internal_audio_cut_dist(); } -inline void ServerParam::set_goalie_max_moves(::int32_t value) { - _internal_set_goalie_max_moves(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.goalie_max_moves) +inline void ServerParam::set_audio_cut_dist(float value) { + _internal_set_audio_cut_dist(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.audio_cut_dist) } -inline ::int32_t ServerParam::_internal_goalie_max_moves() const { - return _impl_.goalie_max_moves_; +inline float ServerParam::_internal_audio_cut_dist() const { + return _impl_.audio_cut_dist_; } -inline void ServerParam::_internal_set_goalie_max_moves(::int32_t value) { +inline void ServerParam::_internal_set_audio_cut_dist(float value) { ; - _impl_.goalie_max_moves_ = value; + _impl_.audio_cut_dist_ = value; } -// float corner_kick_margin = 57; -inline void ServerParam::clear_corner_kick_margin() { - _impl_.corner_kick_margin_ = 0; +// float dist_quantize_step = 86; +inline void ServerParam::clear_dist_quantize_step() { + _impl_.dist_quantize_step_ = 0; } -inline float ServerParam::corner_kick_margin() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.corner_kick_margin) - return _internal_corner_kick_margin(); +inline float ServerParam::dist_quantize_step() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.dist_quantize_step) + return _internal_dist_quantize_step(); } -inline void ServerParam::set_corner_kick_margin(float value) { - _internal_set_corner_kick_margin(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.corner_kick_margin) +inline void ServerParam::set_dist_quantize_step(float value) { + _internal_set_dist_quantize_step(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.dist_quantize_step) } -inline float ServerParam::_internal_corner_kick_margin() const { - return _impl_.corner_kick_margin_; +inline float ServerParam::_internal_dist_quantize_step() const { + return _impl_.dist_quantize_step_; } -inline void ServerParam::_internal_set_corner_kick_margin(float value) { +inline void ServerParam::_internal_set_dist_quantize_step(float value) { ; - _impl_.corner_kick_margin_ = value; + _impl_.dist_quantize_step_ = value; } -// float offside_active_area_size = 58; -inline void ServerParam::clear_offside_active_area_size() { - _impl_.offside_active_area_size_ = 0; +// float landmark_dist_quantize_step = 87; +inline void ServerParam::clear_landmark_dist_quantize_step() { + _impl_.landmark_dist_quantize_step_ = 0; } -inline float ServerParam::offside_active_area_size() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.offside_active_area_size) - return _internal_offside_active_area_size(); +inline float ServerParam::landmark_dist_quantize_step() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.landmark_dist_quantize_step) + return _internal_landmark_dist_quantize_step(); } -inline void ServerParam::set_offside_active_area_size(float value) { - _internal_set_offside_active_area_size(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.offside_active_area_size) +inline void ServerParam::set_landmark_dist_quantize_step(float value) { + _internal_set_landmark_dist_quantize_step(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.landmark_dist_quantize_step) } -inline float ServerParam::_internal_offside_active_area_size() const { - return _impl_.offside_active_area_size_; +inline float ServerParam::_internal_landmark_dist_quantize_step() const { + return _impl_.landmark_dist_quantize_step_; } -inline void ServerParam::_internal_set_offside_active_area_size(float value) { +inline void ServerParam::_internal_set_landmark_dist_quantize_step(float value) { ; - _impl_.offside_active_area_size_ = value; + _impl_.landmark_dist_quantize_step_ = value; } -// bool wind_none = 59; -inline void ServerParam::clear_wind_none() { - _impl_.wind_none_ = false; +// float dir_quantize_step = 88; +inline void ServerParam::clear_dir_quantize_step() { + _impl_.dir_quantize_step_ = 0; } -inline bool ServerParam::wind_none() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.wind_none) - return _internal_wind_none(); +inline float ServerParam::dir_quantize_step() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.dir_quantize_step) + return _internal_dir_quantize_step(); } -inline void ServerParam::set_wind_none(bool value) { - _internal_set_wind_none(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.wind_none) +inline void ServerParam::set_dir_quantize_step(float value) { + _internal_set_dir_quantize_step(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.dir_quantize_step) } -inline bool ServerParam::_internal_wind_none() const { - return _impl_.wind_none_; +inline float ServerParam::_internal_dir_quantize_step() const { + return _impl_.dir_quantize_step_; } -inline void ServerParam::_internal_set_wind_none(bool value) { +inline void ServerParam::_internal_set_dir_quantize_step(float value) { ; - _impl_.wind_none_ = value; + _impl_.dir_quantize_step_ = value; } -// bool use_wind_random = 60; -inline void ServerParam::clear_use_wind_random() { - _impl_.use_wind_random_ = false; +// float dist_quantize_step_l = 89; +inline void ServerParam::clear_dist_quantize_step_l() { + _impl_.dist_quantize_step_l_ = 0; } -inline bool ServerParam::use_wind_random() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.use_wind_random) - return _internal_use_wind_random(); +inline float ServerParam::dist_quantize_step_l() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.dist_quantize_step_l) + return _internal_dist_quantize_step_l(); } -inline void ServerParam::set_use_wind_random(bool value) { - _internal_set_use_wind_random(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.use_wind_random) +inline void ServerParam::set_dist_quantize_step_l(float value) { + _internal_set_dist_quantize_step_l(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.dist_quantize_step_l) } -inline bool ServerParam::_internal_use_wind_random() const { - return _impl_.use_wind_random_; +inline float ServerParam::_internal_dist_quantize_step_l() const { + return _impl_.dist_quantize_step_l_; } -inline void ServerParam::_internal_set_use_wind_random(bool value) { +inline void ServerParam::_internal_set_dist_quantize_step_l(float value) { ; - _impl_.use_wind_random_ = value; + _impl_.dist_quantize_step_l_ = value; } -// int32 coach_say_count_max = 61; -inline void ServerParam::clear_coach_say_count_max() { - _impl_.coach_say_count_max_ = 0; +// float dist_quantize_step_r = 90; +inline void ServerParam::clear_dist_quantize_step_r() { + _impl_.dist_quantize_step_r_ = 0; } -inline ::int32_t ServerParam::coach_say_count_max() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.coach_say_count_max) - return _internal_coach_say_count_max(); +inline float ServerParam::dist_quantize_step_r() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.dist_quantize_step_r) + return _internal_dist_quantize_step_r(); } -inline void ServerParam::set_coach_say_count_max(::int32_t value) { - _internal_set_coach_say_count_max(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.coach_say_count_max) +inline void ServerParam::set_dist_quantize_step_r(float value) { + _internal_set_dist_quantize_step_r(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.dist_quantize_step_r) } -inline ::int32_t ServerParam::_internal_coach_say_count_max() const { - return _impl_.coach_say_count_max_; +inline float ServerParam::_internal_dist_quantize_step_r() const { + return _impl_.dist_quantize_step_r_; } -inline void ServerParam::_internal_set_coach_say_count_max(::int32_t value) { +inline void ServerParam::_internal_set_dist_quantize_step_r(float value) { ; - _impl_.coach_say_count_max_ = value; + _impl_.dist_quantize_step_r_ = value; } -// int32 coach_say_msg_size = 62; -inline void ServerParam::clear_coach_say_msg_size() { - _impl_.coach_say_msg_size_ = 0; +// float landmark_dist_quantize_step_l = 91; +inline void ServerParam::clear_landmark_dist_quantize_step_l() { + _impl_.landmark_dist_quantize_step_l_ = 0; } -inline ::int32_t ServerParam::coach_say_msg_size() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.coach_say_msg_size) - return _internal_coach_say_msg_size(); +inline float ServerParam::landmark_dist_quantize_step_l() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.landmark_dist_quantize_step_l) + return _internal_landmark_dist_quantize_step_l(); } -inline void ServerParam::set_coach_say_msg_size(::int32_t value) { - _internal_set_coach_say_msg_size(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.coach_say_msg_size) +inline void ServerParam::set_landmark_dist_quantize_step_l(float value) { + _internal_set_landmark_dist_quantize_step_l(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.landmark_dist_quantize_step_l) } -inline ::int32_t ServerParam::_internal_coach_say_msg_size() const { - return _impl_.coach_say_msg_size_; +inline float ServerParam::_internal_landmark_dist_quantize_step_l() const { + return _impl_.landmark_dist_quantize_step_l_; } -inline void ServerParam::_internal_set_coach_say_msg_size(::int32_t value) { +inline void ServerParam::_internal_set_landmark_dist_quantize_step_l(float value) { ; - _impl_.coach_say_msg_size_ = value; + _impl_.landmark_dist_quantize_step_l_ = value; } -// int32 clang_win_size = 63; -inline void ServerParam::clear_clang_win_size() { - _impl_.clang_win_size_ = 0; +// float landmark_dist_quantize_step_r = 92; +inline void ServerParam::clear_landmark_dist_quantize_step_r() { + _impl_.landmark_dist_quantize_step_r_ = 0; } -inline ::int32_t ServerParam::clang_win_size() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.clang_win_size) - return _internal_clang_win_size(); +inline float ServerParam::landmark_dist_quantize_step_r() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.landmark_dist_quantize_step_r) + return _internal_landmark_dist_quantize_step_r(); } -inline void ServerParam::set_clang_win_size(::int32_t value) { - _internal_set_clang_win_size(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.clang_win_size) +inline void ServerParam::set_landmark_dist_quantize_step_r(float value) { + _internal_set_landmark_dist_quantize_step_r(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.landmark_dist_quantize_step_r) } -inline ::int32_t ServerParam::_internal_clang_win_size() const { - return _impl_.clang_win_size_; +inline float ServerParam::_internal_landmark_dist_quantize_step_r() const { + return _impl_.landmark_dist_quantize_step_r_; } -inline void ServerParam::_internal_set_clang_win_size(::int32_t value) { +inline void ServerParam::_internal_set_landmark_dist_quantize_step_r(float value) { ; - _impl_.clang_win_size_ = value; + _impl_.landmark_dist_quantize_step_r_ = value; } -// int32 clang_define_win = 64; -inline void ServerParam::clear_clang_define_win() { - _impl_.clang_define_win_ = 0; +// float dir_quantize_step_l = 93; +inline void ServerParam::clear_dir_quantize_step_l() { + _impl_.dir_quantize_step_l_ = 0; } -inline ::int32_t ServerParam::clang_define_win() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.clang_define_win) - return _internal_clang_define_win(); +inline float ServerParam::dir_quantize_step_l() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.dir_quantize_step_l) + return _internal_dir_quantize_step_l(); } -inline void ServerParam::set_clang_define_win(::int32_t value) { - _internal_set_clang_define_win(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.clang_define_win) +inline void ServerParam::set_dir_quantize_step_l(float value) { + _internal_set_dir_quantize_step_l(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.dir_quantize_step_l) } -inline ::int32_t ServerParam::_internal_clang_define_win() const { - return _impl_.clang_define_win_; +inline float ServerParam::_internal_dir_quantize_step_l() const { + return _impl_.dir_quantize_step_l_; } -inline void ServerParam::_internal_set_clang_define_win(::int32_t value) { +inline void ServerParam::_internal_set_dir_quantize_step_l(float value) { ; - _impl_.clang_define_win_ = value; + _impl_.dir_quantize_step_l_ = value; } -// int32 clang_meta_win = 65; -inline void ServerParam::clear_clang_meta_win() { - _impl_.clang_meta_win_ = 0; +// float dir_quantize_step_r = 94; +inline void ServerParam::clear_dir_quantize_step_r() { + _impl_.dir_quantize_step_r_ = 0; } -inline ::int32_t ServerParam::clang_meta_win() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.clang_meta_win) - return _internal_clang_meta_win(); +inline float ServerParam::dir_quantize_step_r() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.dir_quantize_step_r) + return _internal_dir_quantize_step_r(); } -inline void ServerParam::set_clang_meta_win(::int32_t value) { - _internal_set_clang_meta_win(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.clang_meta_win) +inline void ServerParam::set_dir_quantize_step_r(float value) { + _internal_set_dir_quantize_step_r(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.dir_quantize_step_r) } -inline ::int32_t ServerParam::_internal_clang_meta_win() const { - return _impl_.clang_meta_win_; +inline float ServerParam::_internal_dir_quantize_step_r() const { + return _impl_.dir_quantize_step_r_; } -inline void ServerParam::_internal_set_clang_meta_win(::int32_t value) { +inline void ServerParam::_internal_set_dir_quantize_step_r(float value) { ; - _impl_.clang_meta_win_ = value; + _impl_.dir_quantize_step_r_ = value; } -// int32 clang_advice_win = 66; -inline void ServerParam::clear_clang_advice_win() { - _impl_.clang_advice_win_ = 0; +// bool coach_mode = 95; +inline void ServerParam::clear_coach_mode() { + _impl_.coach_mode_ = false; } -inline ::int32_t ServerParam::clang_advice_win() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.clang_advice_win) - return _internal_clang_advice_win(); +inline bool ServerParam::coach_mode() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.coach_mode) + return _internal_coach_mode(); } -inline void ServerParam::set_clang_advice_win(::int32_t value) { - _internal_set_clang_advice_win(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.clang_advice_win) +inline void ServerParam::set_coach_mode(bool value) { + _internal_set_coach_mode(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.coach_mode) } -inline ::int32_t ServerParam::_internal_clang_advice_win() const { - return _impl_.clang_advice_win_; +inline bool ServerParam::_internal_coach_mode() const { + return _impl_.coach_mode_; } -inline void ServerParam::_internal_set_clang_advice_win(::int32_t value) { +inline void ServerParam::_internal_set_coach_mode(bool value) { ; - _impl_.clang_advice_win_ = value; + _impl_.coach_mode_ = value; } -// int32 clang_info_win = 67; -inline void ServerParam::clear_clang_info_win() { - _impl_.clang_info_win_ = 0; +// bool coach_with_referee_mode = 96; +inline void ServerParam::clear_coach_with_referee_mode() { + _impl_.coach_with_referee_mode_ = false; } -inline ::int32_t ServerParam::clang_info_win() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.clang_info_win) - return _internal_clang_info_win(); +inline bool ServerParam::coach_with_referee_mode() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.coach_with_referee_mode) + return _internal_coach_with_referee_mode(); } -inline void ServerParam::set_clang_info_win(::int32_t value) { - _internal_set_clang_info_win(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.clang_info_win) +inline void ServerParam::set_coach_with_referee_mode(bool value) { + _internal_set_coach_with_referee_mode(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.coach_with_referee_mode) } -inline ::int32_t ServerParam::_internal_clang_info_win() const { - return _impl_.clang_info_win_; +inline bool ServerParam::_internal_coach_with_referee_mode() const { + return _impl_.coach_with_referee_mode_; } -inline void ServerParam::_internal_set_clang_info_win(::int32_t value) { +inline void ServerParam::_internal_set_coach_with_referee_mode(bool value) { ; - _impl_.clang_info_win_ = value; + _impl_.coach_with_referee_mode_ = value; } -// int32 clang_mess_delay = 68; -inline void ServerParam::clear_clang_mess_delay() { - _impl_.clang_mess_delay_ = 0; +// bool use_old_coach_hear = 97; +inline void ServerParam::clear_use_old_coach_hear() { + _impl_.use_old_coach_hear_ = false; } -inline ::int32_t ServerParam::clang_mess_delay() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.clang_mess_delay) - return _internal_clang_mess_delay(); +inline bool ServerParam::use_old_coach_hear() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.use_old_coach_hear) + return _internal_use_old_coach_hear(); } -inline void ServerParam::set_clang_mess_delay(::int32_t value) { - _internal_set_clang_mess_delay(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.clang_mess_delay) +inline void ServerParam::set_use_old_coach_hear(bool value) { + _internal_set_use_old_coach_hear(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.use_old_coach_hear) } -inline ::int32_t ServerParam::_internal_clang_mess_delay() const { - return _impl_.clang_mess_delay_; +inline bool ServerParam::_internal_use_old_coach_hear() const { + return _impl_.use_old_coach_hear_; } -inline void ServerParam::_internal_set_clang_mess_delay(::int32_t value) { +inline void ServerParam::_internal_set_use_old_coach_hear(bool value) { ; - _impl_.clang_mess_delay_ = value; + _impl_.use_old_coach_hear_ = value; } -// int32 clang_mess_per_cycle = 69; -inline void ServerParam::clear_clang_mess_per_cycle() { - _impl_.clang_mess_per_cycle_ = 0; +// float slowness_on_top_for_left_team = 98; +inline void ServerParam::clear_slowness_on_top_for_left_team() { + _impl_.slowness_on_top_for_left_team_ = 0; } -inline ::int32_t ServerParam::clang_mess_per_cycle() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.clang_mess_per_cycle) - return _internal_clang_mess_per_cycle(); +inline float ServerParam::slowness_on_top_for_left_team() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.slowness_on_top_for_left_team) + return _internal_slowness_on_top_for_left_team(); } -inline void ServerParam::set_clang_mess_per_cycle(::int32_t value) { - _internal_set_clang_mess_per_cycle(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.clang_mess_per_cycle) +inline void ServerParam::set_slowness_on_top_for_left_team(float value) { + _internal_set_slowness_on_top_for_left_team(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.slowness_on_top_for_left_team) } -inline ::int32_t ServerParam::_internal_clang_mess_per_cycle() const { - return _impl_.clang_mess_per_cycle_; +inline float ServerParam::_internal_slowness_on_top_for_left_team() const { + return _impl_.slowness_on_top_for_left_team_; } -inline void ServerParam::_internal_set_clang_mess_per_cycle(::int32_t value) { +inline void ServerParam::_internal_set_slowness_on_top_for_left_team(float value) { ; - _impl_.clang_mess_per_cycle_ = value; + _impl_.slowness_on_top_for_left_team_ = value; } -// int32 half_time = 70; -inline void ServerParam::clear_half_time() { - _impl_.half_time_ = 0; +// float slowness_on_top_for_right_team = 99; +inline void ServerParam::clear_slowness_on_top_for_right_team() { + _impl_.slowness_on_top_for_right_team_ = 0; } -inline ::int32_t ServerParam::half_time() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.half_time) - return _internal_half_time(); +inline float ServerParam::slowness_on_top_for_right_team() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.slowness_on_top_for_right_team) + return _internal_slowness_on_top_for_right_team(); } -inline void ServerParam::set_half_time(::int32_t value) { - _internal_set_half_time(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.half_time) +inline void ServerParam::set_slowness_on_top_for_right_team(float value) { + _internal_set_slowness_on_top_for_right_team(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.slowness_on_top_for_right_team) } -inline ::int32_t ServerParam::_internal_half_time() const { - return _impl_.half_time_; +inline float ServerParam::_internal_slowness_on_top_for_right_team() const { + return _impl_.slowness_on_top_for_right_team_; } -inline void ServerParam::_internal_set_half_time(::int32_t value) { +inline void ServerParam::_internal_set_slowness_on_top_for_right_team(float value) { ; - _impl_.half_time_ = value; + _impl_.slowness_on_top_for_right_team_ = value; } -// int32 simulator_step = 71; -inline void ServerParam::clear_simulator_step() { - _impl_.simulator_step_ = 0; +// int32 start_goal_l = 100; +inline void ServerParam::clear_start_goal_l() { + _impl_.start_goal_l_ = 0; } -inline ::int32_t ServerParam::simulator_step() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.simulator_step) - return _internal_simulator_step(); +inline ::int32_t ServerParam::start_goal_l() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.start_goal_l) + return _internal_start_goal_l(); } -inline void ServerParam::set_simulator_step(::int32_t value) { - _internal_set_simulator_step(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.simulator_step) +inline void ServerParam::set_start_goal_l(::int32_t value) { + _internal_set_start_goal_l(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.start_goal_l) } -inline ::int32_t ServerParam::_internal_simulator_step() const { - return _impl_.simulator_step_; +inline ::int32_t ServerParam::_internal_start_goal_l() const { + return _impl_.start_goal_l_; } -inline void ServerParam::_internal_set_simulator_step(::int32_t value) { +inline void ServerParam::_internal_set_start_goal_l(::int32_t value) { ; - _impl_.simulator_step_ = value; + _impl_.start_goal_l_ = value; } -// int32 send_step = 72; -inline void ServerParam::clear_send_step() { - _impl_.send_step_ = 0; +// int32 start_goal_r = 101; +inline void ServerParam::clear_start_goal_r() { + _impl_.start_goal_r_ = 0; } -inline ::int32_t ServerParam::send_step() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.send_step) - return _internal_send_step(); +inline ::int32_t ServerParam::start_goal_r() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.start_goal_r) + return _internal_start_goal_r(); } -inline void ServerParam::set_send_step(::int32_t value) { - _internal_set_send_step(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.send_step) +inline void ServerParam::set_start_goal_r(::int32_t value) { + _internal_set_start_goal_r(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.start_goal_r) } -inline ::int32_t ServerParam::_internal_send_step() const { - return _impl_.send_step_; +inline ::int32_t ServerParam::_internal_start_goal_r() const { + return _impl_.start_goal_r_; } -inline void ServerParam::_internal_set_send_step(::int32_t value) { +inline void ServerParam::_internal_set_start_goal_r(::int32_t value) { ; - _impl_.send_step_ = value; + _impl_.start_goal_r_ = value; } -// int32 recv_step = 73; -inline void ServerParam::clear_recv_step() { - _impl_.recv_step_ = 0; +// bool fullstate_l = 102; +inline void ServerParam::clear_fullstate_l() { + _impl_.fullstate_l_ = false; } -inline ::int32_t ServerParam::recv_step() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.recv_step) - return _internal_recv_step(); +inline bool ServerParam::fullstate_l() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.fullstate_l) + return _internal_fullstate_l(); } -inline void ServerParam::set_recv_step(::int32_t value) { - _internal_set_recv_step(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.recv_step) +inline void ServerParam::set_fullstate_l(bool value) { + _internal_set_fullstate_l(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.fullstate_l) } -inline ::int32_t ServerParam::_internal_recv_step() const { - return _impl_.recv_step_; +inline bool ServerParam::_internal_fullstate_l() const { + return _impl_.fullstate_l_; } -inline void ServerParam::_internal_set_recv_step(::int32_t value) { +inline void ServerParam::_internal_set_fullstate_l(bool value) { ; - _impl_.recv_step_ = value; + _impl_.fullstate_l_ = value; } -// int32 sense_body_step = 74; -inline void ServerParam::clear_sense_body_step() { - _impl_.sense_body_step_ = 0; +// bool fullstate_r = 103; +inline void ServerParam::clear_fullstate_r() { + _impl_.fullstate_r_ = false; } -inline ::int32_t ServerParam::sense_body_step() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.sense_body_step) - return _internal_sense_body_step(); +inline bool ServerParam::fullstate_r() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.fullstate_r) + return _internal_fullstate_r(); } -inline void ServerParam::set_sense_body_step(::int32_t value) { - _internal_set_sense_body_step(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.sense_body_step) +inline void ServerParam::set_fullstate_r(bool value) { + _internal_set_fullstate_r(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.fullstate_r) } -inline ::int32_t ServerParam::_internal_sense_body_step() const { - return _impl_.sense_body_step_; +inline bool ServerParam::_internal_fullstate_r() const { + return _impl_.fullstate_r_; } -inline void ServerParam::_internal_set_sense_body_step(::int32_t value) { +inline void ServerParam::_internal_set_fullstate_r(bool value) { ; - _impl_.sense_body_step_ = value; + _impl_.fullstate_r_ = value; } -// int32 lcm_step = 75; -inline void ServerParam::clear_lcm_step() { - _impl_.lcm_step_ = 0; +// int32 drop_ball_time = 104; +inline void ServerParam::clear_drop_ball_time() { + _impl_.drop_ball_time_ = 0; } -inline ::int32_t ServerParam::lcm_step() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.lcm_step) - return _internal_lcm_step(); +inline ::int32_t ServerParam::drop_ball_time() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.drop_ball_time) + return _internal_drop_ball_time(); } -inline void ServerParam::set_lcm_step(::int32_t value) { - _internal_set_lcm_step(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.lcm_step) +inline void ServerParam::set_drop_ball_time(::int32_t value) { + _internal_set_drop_ball_time(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.drop_ball_time) } -inline ::int32_t ServerParam::_internal_lcm_step() const { - return _impl_.lcm_step_; +inline ::int32_t ServerParam::_internal_drop_ball_time() const { + return _impl_.drop_ball_time_; } -inline void ServerParam::_internal_set_lcm_step(::int32_t value) { +inline void ServerParam::_internal_set_drop_ball_time(::int32_t value) { ; - _impl_.lcm_step_ = value; + _impl_.drop_ball_time_ = value; } -// int32 player_say_msg_size = 76; -inline void ServerParam::clear_player_say_msg_size() { - _impl_.player_say_msg_size_ = 0; +// bool synch_mode = 105; +inline void ServerParam::clear_synch_mode() { + _impl_.synch_mode_ = false; } -inline ::int32_t ServerParam::player_say_msg_size() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.player_say_msg_size) - return _internal_player_say_msg_size(); +inline bool ServerParam::synch_mode() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.synch_mode) + return _internal_synch_mode(); } -inline void ServerParam::set_player_say_msg_size(::int32_t value) { - _internal_set_player_say_msg_size(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.player_say_msg_size) +inline void ServerParam::set_synch_mode(bool value) { + _internal_set_synch_mode(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.synch_mode) } -inline ::int32_t ServerParam::_internal_player_say_msg_size() const { - return _impl_.player_say_msg_size_; +inline bool ServerParam::_internal_synch_mode() const { + return _impl_.synch_mode_; } -inline void ServerParam::_internal_set_player_say_msg_size(::int32_t value) { +inline void ServerParam::_internal_set_synch_mode(bool value) { ; - _impl_.player_say_msg_size_ = value; + _impl_.synch_mode_ = value; } -// int32 player_hear_max = 77; -inline void ServerParam::clear_player_hear_max() { - _impl_.player_hear_max_ = 0; +// int32 synch_offset = 106; +inline void ServerParam::clear_synch_offset() { + _impl_.synch_offset_ = 0; } -inline ::int32_t ServerParam::player_hear_max() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.player_hear_max) - return _internal_player_hear_max(); +inline ::int32_t ServerParam::synch_offset() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.synch_offset) + return _internal_synch_offset(); } -inline void ServerParam::set_player_hear_max(::int32_t value) { - _internal_set_player_hear_max(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.player_hear_max) +inline void ServerParam::set_synch_offset(::int32_t value) { + _internal_set_synch_offset(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.synch_offset) } -inline ::int32_t ServerParam::_internal_player_hear_max() const { - return _impl_.player_hear_max_; +inline ::int32_t ServerParam::_internal_synch_offset() const { + return _impl_.synch_offset_; } -inline void ServerParam::_internal_set_player_hear_max(::int32_t value) { +inline void ServerParam::_internal_set_synch_offset(::int32_t value) { ; - _impl_.player_hear_max_ = value; + _impl_.synch_offset_ = value; } -// int32 player_hear_inc = 78; -inline void ServerParam::clear_player_hear_inc() { - _impl_.player_hear_inc_ = 0; +// int32 synch_micro_sleep = 107; +inline void ServerParam::clear_synch_micro_sleep() { + _impl_.synch_micro_sleep_ = 0; } -inline ::int32_t ServerParam::player_hear_inc() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.player_hear_inc) - return _internal_player_hear_inc(); +inline ::int32_t ServerParam::synch_micro_sleep() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.synch_micro_sleep) + return _internal_synch_micro_sleep(); } -inline void ServerParam::set_player_hear_inc(::int32_t value) { - _internal_set_player_hear_inc(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.player_hear_inc) +inline void ServerParam::set_synch_micro_sleep(::int32_t value) { + _internal_set_synch_micro_sleep(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.synch_micro_sleep) } -inline ::int32_t ServerParam::_internal_player_hear_inc() const { - return _impl_.player_hear_inc_; +inline ::int32_t ServerParam::_internal_synch_micro_sleep() const { + return _impl_.synch_micro_sleep_; } -inline void ServerParam::_internal_set_player_hear_inc(::int32_t value) { +inline void ServerParam::_internal_set_synch_micro_sleep(::int32_t value) { ; - _impl_.player_hear_inc_ = value; + _impl_.synch_micro_sleep_ = value; } -// int32 player_hear_decay = 79; -inline void ServerParam::clear_player_hear_decay() { - _impl_.player_hear_decay_ = 0; +// int32 point_to_ban = 108; +inline void ServerParam::clear_point_to_ban() { + _impl_.point_to_ban_ = 0; } -inline ::int32_t ServerParam::player_hear_decay() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.player_hear_decay) - return _internal_player_hear_decay(); +inline ::int32_t ServerParam::point_to_ban() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.point_to_ban) + return _internal_point_to_ban(); } -inline void ServerParam::set_player_hear_decay(::int32_t value) { - _internal_set_player_hear_decay(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.player_hear_decay) +inline void ServerParam::set_point_to_ban(::int32_t value) { + _internal_set_point_to_ban(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.point_to_ban) } -inline ::int32_t ServerParam::_internal_player_hear_decay() const { - return _impl_.player_hear_decay_; +inline ::int32_t ServerParam::_internal_point_to_ban() const { + return _impl_.point_to_ban_; } -inline void ServerParam::_internal_set_player_hear_decay(::int32_t value) { +inline void ServerParam::_internal_set_point_to_ban(::int32_t value) { ; - _impl_.player_hear_decay_ = value; + _impl_.point_to_ban_ = value; } -// int32 catch_ban_cycle = 80; -inline void ServerParam::clear_catch_ban_cycle() { - _impl_.catch_ban_cycle_ = 0; +// int32 point_to_duration = 109; +inline void ServerParam::clear_point_to_duration() { + _impl_.point_to_duration_ = 0; } -inline ::int32_t ServerParam::catch_ban_cycle() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.catch_ban_cycle) - return _internal_catch_ban_cycle(); +inline ::int32_t ServerParam::point_to_duration() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.point_to_duration) + return _internal_point_to_duration(); } -inline void ServerParam::set_catch_ban_cycle(::int32_t value) { - _internal_set_catch_ban_cycle(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.catch_ban_cycle) +inline void ServerParam::set_point_to_duration(::int32_t value) { + _internal_set_point_to_duration(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.point_to_duration) } -inline ::int32_t ServerParam::_internal_catch_ban_cycle() const { - return _impl_.catch_ban_cycle_; +inline ::int32_t ServerParam::_internal_point_to_duration() const { + return _impl_.point_to_duration_; } -inline void ServerParam::_internal_set_catch_ban_cycle(::int32_t value) { +inline void ServerParam::_internal_set_point_to_duration(::int32_t value) { ; - _impl_.catch_ban_cycle_ = value; + _impl_.point_to_duration_ = value; } -// int32 slow_down_factor = 81; -inline void ServerParam::clear_slow_down_factor() { - _impl_.slow_down_factor_ = 0; +// int32 player_port = 110; +inline void ServerParam::clear_player_port() { + _impl_.player_port_ = 0; } -inline ::int32_t ServerParam::slow_down_factor() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.slow_down_factor) - return _internal_slow_down_factor(); +inline ::int32_t ServerParam::player_port() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.player_port) + return _internal_player_port(); } -inline void ServerParam::set_slow_down_factor(::int32_t value) { - _internal_set_slow_down_factor(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.slow_down_factor) +inline void ServerParam::set_player_port(::int32_t value) { + _internal_set_player_port(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.player_port) } -inline ::int32_t ServerParam::_internal_slow_down_factor() const { - return _impl_.slow_down_factor_; +inline ::int32_t ServerParam::_internal_player_port() const { + return _impl_.player_port_; } -inline void ServerParam::_internal_set_slow_down_factor(::int32_t value) { +inline void ServerParam::_internal_set_player_port(::int32_t value) { ; - _impl_.slow_down_factor_ = value; + _impl_.player_port_ = value; } -// bool use_offside = 82; -inline void ServerParam::clear_use_offside() { - _impl_.use_offside_ = false; +// int32 trainer_port = 111; +inline void ServerParam::clear_trainer_port() { + _impl_.trainer_port_ = 0; } -inline bool ServerParam::use_offside() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.use_offside) - return _internal_use_offside(); +inline ::int32_t ServerParam::trainer_port() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.trainer_port) + return _internal_trainer_port(); } -inline void ServerParam::set_use_offside(bool value) { - _internal_set_use_offside(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.use_offside) +inline void ServerParam::set_trainer_port(::int32_t value) { + _internal_set_trainer_port(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.trainer_port) } -inline bool ServerParam::_internal_use_offside() const { - return _impl_.use_offside_; +inline ::int32_t ServerParam::_internal_trainer_port() const { + return _impl_.trainer_port_; } -inline void ServerParam::_internal_set_use_offside(bool value) { +inline void ServerParam::_internal_set_trainer_port(::int32_t value) { ; - _impl_.use_offside_ = value; + _impl_.trainer_port_ = value; } -// bool kickoff_offside = 83; -inline void ServerParam::clear_kickoff_offside() { - _impl_.kickoff_offside_ = false; +// int32 online_coach_port = 112; +inline void ServerParam::clear_online_coach_port() { + _impl_.online_coach_port_ = 0; } -inline bool ServerParam::kickoff_offside() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.kickoff_offside) - return _internal_kickoff_offside(); +inline ::int32_t ServerParam::online_coach_port() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.online_coach_port) + return _internal_online_coach_port(); } -inline void ServerParam::set_kickoff_offside(bool value) { - _internal_set_kickoff_offside(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.kickoff_offside) +inline void ServerParam::set_online_coach_port(::int32_t value) { + _internal_set_online_coach_port(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.online_coach_port) } -inline bool ServerParam::_internal_kickoff_offside() const { - return _impl_.kickoff_offside_; +inline ::int32_t ServerParam::_internal_online_coach_port() const { + return _impl_.online_coach_port_; } -inline void ServerParam::_internal_set_kickoff_offside(bool value) { +inline void ServerParam::_internal_set_online_coach_port(::int32_t value) { ; - _impl_.kickoff_offside_ = value; + _impl_.online_coach_port_ = value; } -// float offside_kick_margin = 84; -inline void ServerParam::clear_offside_kick_margin() { - _impl_.offside_kick_margin_ = 0; +// bool verbose_mode = 113; +inline void ServerParam::clear_verbose_mode() { + _impl_.verbose_mode_ = false; } -inline float ServerParam::offside_kick_margin() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.offside_kick_margin) - return _internal_offside_kick_margin(); +inline bool ServerParam::verbose_mode() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.verbose_mode) + return _internal_verbose_mode(); } -inline void ServerParam::set_offside_kick_margin(float value) { - _internal_set_offside_kick_margin(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.offside_kick_margin) +inline void ServerParam::set_verbose_mode(bool value) { + _internal_set_verbose_mode(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.verbose_mode) } -inline float ServerParam::_internal_offside_kick_margin() const { - return _impl_.offside_kick_margin_; +inline bool ServerParam::_internal_verbose_mode() const { + return _impl_.verbose_mode_; } -inline void ServerParam::_internal_set_offside_kick_margin(float value) { +inline void ServerParam::_internal_set_verbose_mode(bool value) { ; - _impl_.offside_kick_margin_ = value; + _impl_.verbose_mode_ = value; } -// float audio_cut_dist = 85; -inline void ServerParam::clear_audio_cut_dist() { - _impl_.audio_cut_dist_ = 0; +// int32 coach_send_vi_step = 114; +inline void ServerParam::clear_coach_send_vi_step() { + _impl_.coach_send_vi_step_ = 0; } -inline float ServerParam::audio_cut_dist() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.audio_cut_dist) - return _internal_audio_cut_dist(); +inline ::int32_t ServerParam::coach_send_vi_step() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.coach_send_vi_step) + return _internal_coach_send_vi_step(); } -inline void ServerParam::set_audio_cut_dist(float value) { - _internal_set_audio_cut_dist(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.audio_cut_dist) +inline void ServerParam::set_coach_send_vi_step(::int32_t value) { + _internal_set_coach_send_vi_step(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.coach_send_vi_step) } -inline float ServerParam::_internal_audio_cut_dist() const { - return _impl_.audio_cut_dist_; +inline ::int32_t ServerParam::_internal_coach_send_vi_step() const { + return _impl_.coach_send_vi_step_; } -inline void ServerParam::_internal_set_audio_cut_dist(float value) { +inline void ServerParam::_internal_set_coach_send_vi_step(::int32_t value) { ; - _impl_.audio_cut_dist_ = value; + _impl_.coach_send_vi_step_ = value; } -// float dist_quantize_step = 86; -inline void ServerParam::clear_dist_quantize_step() { - _impl_.dist_quantize_step_ = 0; +// string replay_file = 115; +inline void ServerParam::clear_replay_file() { + _impl_.replay_file_.ClearToEmpty(); } -inline float ServerParam::dist_quantize_step() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.dist_quantize_step) - return _internal_dist_quantize_step(); +inline const std::string& ServerParam::replay_file() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.replay_file) + return _internal_replay_file(); } -inline void ServerParam::set_dist_quantize_step(float value) { - _internal_set_dist_quantize_step(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.dist_quantize_step) +template +inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_replay_file(Arg_&& arg, + Args_... args) { + ; + _impl_.replay_file_.Set(static_cast(arg), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:protos.ServerParam.replay_file) } -inline float ServerParam::_internal_dist_quantize_step() const { - return _impl_.dist_quantize_step_; +inline std::string* ServerParam::mutable_replay_file() { + std::string* _s = _internal_mutable_replay_file(); + // @@protoc_insertion_point(field_mutable:protos.ServerParam.replay_file) + return _s; } -inline void ServerParam::_internal_set_dist_quantize_step(float value) { - ; - _impl_.dist_quantize_step_ = value; +inline const std::string& ServerParam::_internal_replay_file() const { + return _impl_.replay_file_.Get(); } +inline void ServerParam::_internal_set_replay_file(const std::string& value) { + ; -// float landmark_dist_quantize_step = 87; -inline void ServerParam::clear_landmark_dist_quantize_step() { - _impl_.landmark_dist_quantize_step_ = 0; -} -inline float ServerParam::landmark_dist_quantize_step() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.landmark_dist_quantize_step) - return _internal_landmark_dist_quantize_step(); + + _impl_.replay_file_.Set(value, GetArenaForAllocation()); } -inline void ServerParam::set_landmark_dist_quantize_step(float value) { - _internal_set_landmark_dist_quantize_step(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.landmark_dist_quantize_step) +inline std::string* ServerParam::_internal_mutable_replay_file() { + ; + return _impl_.replay_file_.Mutable( GetArenaForAllocation()); } -inline float ServerParam::_internal_landmark_dist_quantize_step() const { - return _impl_.landmark_dist_quantize_step_; +inline std::string* ServerParam::release_replay_file() { + // @@protoc_insertion_point(field_release:protos.ServerParam.replay_file) + return _impl_.replay_file_.Release(); } -inline void ServerParam::_internal_set_landmark_dist_quantize_step(float value) { - ; - _impl_.landmark_dist_quantize_step_ = value; +inline void ServerParam::set_allocated_replay_file(std::string* value) { + _impl_.replay_file_.SetAllocated(value, GetArenaForAllocation()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.replay_file_.IsDefault()) { + _impl_.replay_file_.Set("", GetArenaForAllocation()); + } + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.replay_file) } -// float dir_quantize_step = 88; -inline void ServerParam::clear_dir_quantize_step() { - _impl_.dir_quantize_step_ = 0; +// string landmark_file = 116; +inline void ServerParam::clear_landmark_file() { + _impl_.landmark_file_.ClearToEmpty(); } -inline float ServerParam::dir_quantize_step() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.dir_quantize_step) - return _internal_dir_quantize_step(); +inline const std::string& ServerParam::landmark_file() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.landmark_file) + return _internal_landmark_file(); } -inline void ServerParam::set_dir_quantize_step(float value) { - _internal_set_dir_quantize_step(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.dir_quantize_step) +template +inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_landmark_file(Arg_&& arg, + Args_... args) { + ; + _impl_.landmark_file_.Set(static_cast(arg), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:protos.ServerParam.landmark_file) } -inline float ServerParam::_internal_dir_quantize_step() const { - return _impl_.dir_quantize_step_; +inline std::string* ServerParam::mutable_landmark_file() { + std::string* _s = _internal_mutable_landmark_file(); + // @@protoc_insertion_point(field_mutable:protos.ServerParam.landmark_file) + return _s; } -inline void ServerParam::_internal_set_dir_quantize_step(float value) { - ; - _impl_.dir_quantize_step_ = value; +inline const std::string& ServerParam::_internal_landmark_file() const { + return _impl_.landmark_file_.Get(); } +inline void ServerParam::_internal_set_landmark_file(const std::string& value) { + ; -// float dist_quantize_step_l = 89; -inline void ServerParam::clear_dist_quantize_step_l() { - _impl_.dist_quantize_step_l_ = 0; -} -inline float ServerParam::dist_quantize_step_l() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.dist_quantize_step_l) - return _internal_dist_quantize_step_l(); + + _impl_.landmark_file_.Set(value, GetArenaForAllocation()); } -inline void ServerParam::set_dist_quantize_step_l(float value) { - _internal_set_dist_quantize_step_l(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.dist_quantize_step_l) +inline std::string* ServerParam::_internal_mutable_landmark_file() { + ; + return _impl_.landmark_file_.Mutable( GetArenaForAllocation()); } -inline float ServerParam::_internal_dist_quantize_step_l() const { - return _impl_.dist_quantize_step_l_; +inline std::string* ServerParam::release_landmark_file() { + // @@protoc_insertion_point(field_release:protos.ServerParam.landmark_file) + return _impl_.landmark_file_.Release(); } -inline void ServerParam::_internal_set_dist_quantize_step_l(float value) { - ; - _impl_.dist_quantize_step_l_ = value; +inline void ServerParam::set_allocated_landmark_file(std::string* value) { + _impl_.landmark_file_.SetAllocated(value, GetArenaForAllocation()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.landmark_file_.IsDefault()) { + _impl_.landmark_file_.Set("", GetArenaForAllocation()); + } + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.landmark_file) } -// float dist_quantize_step_r = 90; -inline void ServerParam::clear_dist_quantize_step_r() { - _impl_.dist_quantize_step_r_ = 0; +// bool send_comms = 117; +inline void ServerParam::clear_send_comms() { + _impl_.send_comms_ = false; } -inline float ServerParam::dist_quantize_step_r() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.dist_quantize_step_r) - return _internal_dist_quantize_step_r(); +inline bool ServerParam::send_comms() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.send_comms) + return _internal_send_comms(); } -inline void ServerParam::set_dist_quantize_step_r(float value) { - _internal_set_dist_quantize_step_r(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.dist_quantize_step_r) +inline void ServerParam::set_send_comms(bool value) { + _internal_set_send_comms(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.send_comms) } -inline float ServerParam::_internal_dist_quantize_step_r() const { - return _impl_.dist_quantize_step_r_; +inline bool ServerParam::_internal_send_comms() const { + return _impl_.send_comms_; } -inline void ServerParam::_internal_set_dist_quantize_step_r(float value) { +inline void ServerParam::_internal_set_send_comms(bool value) { ; - _impl_.dist_quantize_step_r_ = value; + _impl_.send_comms_ = value; } -// float landmark_dist_quantize_step_l = 91; -inline void ServerParam::clear_landmark_dist_quantize_step_l() { - _impl_.landmark_dist_quantize_step_l_ = 0; +// bool text_logging = 118; +inline void ServerParam::clear_text_logging() { + _impl_.text_logging_ = false; } -inline float ServerParam::landmark_dist_quantize_step_l() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.landmark_dist_quantize_step_l) - return _internal_landmark_dist_quantize_step_l(); +inline bool ServerParam::text_logging() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.text_logging) + return _internal_text_logging(); } -inline void ServerParam::set_landmark_dist_quantize_step_l(float value) { - _internal_set_landmark_dist_quantize_step_l(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.landmark_dist_quantize_step_l) +inline void ServerParam::set_text_logging(bool value) { + _internal_set_text_logging(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.text_logging) } -inline float ServerParam::_internal_landmark_dist_quantize_step_l() const { - return _impl_.landmark_dist_quantize_step_l_; +inline bool ServerParam::_internal_text_logging() const { + return _impl_.text_logging_; } -inline void ServerParam::_internal_set_landmark_dist_quantize_step_l(float value) { +inline void ServerParam::_internal_set_text_logging(bool value) { ; - _impl_.landmark_dist_quantize_step_l_ = value; + _impl_.text_logging_ = value; } -// float landmark_dist_quantize_step_r = 92; -inline void ServerParam::clear_landmark_dist_quantize_step_r() { - _impl_.landmark_dist_quantize_step_r_ = 0; +// bool game_logging = 119; +inline void ServerParam::clear_game_logging() { + _impl_.game_logging_ = false; } -inline float ServerParam::landmark_dist_quantize_step_r() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.landmark_dist_quantize_step_r) - return _internal_landmark_dist_quantize_step_r(); +inline bool ServerParam::game_logging() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.game_logging) + return _internal_game_logging(); } -inline void ServerParam::set_landmark_dist_quantize_step_r(float value) { - _internal_set_landmark_dist_quantize_step_r(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.landmark_dist_quantize_step_r) +inline void ServerParam::set_game_logging(bool value) { + _internal_set_game_logging(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.game_logging) } -inline float ServerParam::_internal_landmark_dist_quantize_step_r() const { - return _impl_.landmark_dist_quantize_step_r_; +inline bool ServerParam::_internal_game_logging() const { + return _impl_.game_logging_; } -inline void ServerParam::_internal_set_landmark_dist_quantize_step_r(float value) { +inline void ServerParam::_internal_set_game_logging(bool value) { ; - _impl_.landmark_dist_quantize_step_r_ = value; + _impl_.game_logging_ = value; } -// float dir_quantize_step_l = 93; -inline void ServerParam::clear_dir_quantize_step_l() { - _impl_.dir_quantize_step_l_ = 0; +// int32 game_log_version = 120; +inline void ServerParam::clear_game_log_version() { + _impl_.game_log_version_ = 0; } -inline float ServerParam::dir_quantize_step_l() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.dir_quantize_step_l) - return _internal_dir_quantize_step_l(); +inline ::int32_t ServerParam::game_log_version() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.game_log_version) + return _internal_game_log_version(); } -inline void ServerParam::set_dir_quantize_step_l(float value) { - _internal_set_dir_quantize_step_l(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.dir_quantize_step_l) +inline void ServerParam::set_game_log_version(::int32_t value) { + _internal_set_game_log_version(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.game_log_version) } -inline float ServerParam::_internal_dir_quantize_step_l() const { - return _impl_.dir_quantize_step_l_; +inline ::int32_t ServerParam::_internal_game_log_version() const { + return _impl_.game_log_version_; } -inline void ServerParam::_internal_set_dir_quantize_step_l(float value) { +inline void ServerParam::_internal_set_game_log_version(::int32_t value) { ; - _impl_.dir_quantize_step_l_ = value; + _impl_.game_log_version_ = value; } -// float dir_quantize_step_r = 94; -inline void ServerParam::clear_dir_quantize_step_r() { - _impl_.dir_quantize_step_r_ = 0; +// string text_log_dir = 121; +inline void ServerParam::clear_text_log_dir() { + _impl_.text_log_dir_.ClearToEmpty(); } -inline float ServerParam::dir_quantize_step_r() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.dir_quantize_step_r) - return _internal_dir_quantize_step_r(); +inline const std::string& ServerParam::text_log_dir() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.text_log_dir) + return _internal_text_log_dir(); } -inline void ServerParam::set_dir_quantize_step_r(float value) { - _internal_set_dir_quantize_step_r(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.dir_quantize_step_r) +template +inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_text_log_dir(Arg_&& arg, + Args_... args) { + ; + _impl_.text_log_dir_.Set(static_cast(arg), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:protos.ServerParam.text_log_dir) } -inline float ServerParam::_internal_dir_quantize_step_r() const { - return _impl_.dir_quantize_step_r_; +inline std::string* ServerParam::mutable_text_log_dir() { + std::string* _s = _internal_mutable_text_log_dir(); + // @@protoc_insertion_point(field_mutable:protos.ServerParam.text_log_dir) + return _s; } -inline void ServerParam::_internal_set_dir_quantize_step_r(float value) { - ; - _impl_.dir_quantize_step_r_ = value; +inline const std::string& ServerParam::_internal_text_log_dir() const { + return _impl_.text_log_dir_.Get(); } +inline void ServerParam::_internal_set_text_log_dir(const std::string& value) { + ; -// bool coach_mode = 95; -inline void ServerParam::clear_coach_mode() { - _impl_.coach_mode_ = false; -} -inline bool ServerParam::coach_mode() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.coach_mode) - return _internal_coach_mode(); + + _impl_.text_log_dir_.Set(value, GetArenaForAllocation()); } -inline void ServerParam::set_coach_mode(bool value) { - _internal_set_coach_mode(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.coach_mode) +inline std::string* ServerParam::_internal_mutable_text_log_dir() { + ; + return _impl_.text_log_dir_.Mutable( GetArenaForAllocation()); } -inline bool ServerParam::_internal_coach_mode() const { - return _impl_.coach_mode_; +inline std::string* ServerParam::release_text_log_dir() { + // @@protoc_insertion_point(field_release:protos.ServerParam.text_log_dir) + return _impl_.text_log_dir_.Release(); } -inline void ServerParam::_internal_set_coach_mode(bool value) { - ; - _impl_.coach_mode_ = value; +inline void ServerParam::set_allocated_text_log_dir(std::string* value) { + _impl_.text_log_dir_.SetAllocated(value, GetArenaForAllocation()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.text_log_dir_.IsDefault()) { + _impl_.text_log_dir_.Set("", GetArenaForAllocation()); + } + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.text_log_dir) } -// bool coach_with_referee_mode = 96; -inline void ServerParam::clear_coach_with_referee_mode() { - _impl_.coach_with_referee_mode_ = false; +// string game_log_dir = 122; +inline void ServerParam::clear_game_log_dir() { + _impl_.game_log_dir_.ClearToEmpty(); } -inline bool ServerParam::coach_with_referee_mode() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.coach_with_referee_mode) - return _internal_coach_with_referee_mode(); +inline const std::string& ServerParam::game_log_dir() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.game_log_dir) + return _internal_game_log_dir(); } -inline void ServerParam::set_coach_with_referee_mode(bool value) { - _internal_set_coach_with_referee_mode(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.coach_with_referee_mode) +template +inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_game_log_dir(Arg_&& arg, + Args_... args) { + ; + _impl_.game_log_dir_.Set(static_cast(arg), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:protos.ServerParam.game_log_dir) } -inline bool ServerParam::_internal_coach_with_referee_mode() const { - return _impl_.coach_with_referee_mode_; +inline std::string* ServerParam::mutable_game_log_dir() { + std::string* _s = _internal_mutable_game_log_dir(); + // @@protoc_insertion_point(field_mutable:protos.ServerParam.game_log_dir) + return _s; } -inline void ServerParam::_internal_set_coach_with_referee_mode(bool value) { - ; - _impl_.coach_with_referee_mode_ = value; +inline const std::string& ServerParam::_internal_game_log_dir() const { + return _impl_.game_log_dir_.Get(); } +inline void ServerParam::_internal_set_game_log_dir(const std::string& value) { + ; -// bool use_old_coach_hear = 97; -inline void ServerParam::clear_use_old_coach_hear() { - _impl_.use_old_coach_hear_ = false; -} -inline bool ServerParam::use_old_coach_hear() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.use_old_coach_hear) - return _internal_use_old_coach_hear(); + + _impl_.game_log_dir_.Set(value, GetArenaForAllocation()); } -inline void ServerParam::set_use_old_coach_hear(bool value) { - _internal_set_use_old_coach_hear(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.use_old_coach_hear) +inline std::string* ServerParam::_internal_mutable_game_log_dir() { + ; + return _impl_.game_log_dir_.Mutable( GetArenaForAllocation()); } -inline bool ServerParam::_internal_use_old_coach_hear() const { - return _impl_.use_old_coach_hear_; +inline std::string* ServerParam::release_game_log_dir() { + // @@protoc_insertion_point(field_release:protos.ServerParam.game_log_dir) + return _impl_.game_log_dir_.Release(); } -inline void ServerParam::_internal_set_use_old_coach_hear(bool value) { - ; - _impl_.use_old_coach_hear_ = value; +inline void ServerParam::set_allocated_game_log_dir(std::string* value) { + _impl_.game_log_dir_.SetAllocated(value, GetArenaForAllocation()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_log_dir_.IsDefault()) { + _impl_.game_log_dir_.Set("", GetArenaForAllocation()); + } + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.game_log_dir) } -// float slowness_on_top_for_left_team = 98; -inline void ServerParam::clear_slowness_on_top_for_left_team() { - _impl_.slowness_on_top_for_left_team_ = 0; +// string text_log_fixed_name = 123; +inline void ServerParam::clear_text_log_fixed_name() { + _impl_.text_log_fixed_name_.ClearToEmpty(); } -inline float ServerParam::slowness_on_top_for_left_team() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.slowness_on_top_for_left_team) - return _internal_slowness_on_top_for_left_team(); +inline const std::string& ServerParam::text_log_fixed_name() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.text_log_fixed_name) + return _internal_text_log_fixed_name(); } -inline void ServerParam::set_slowness_on_top_for_left_team(float value) { - _internal_set_slowness_on_top_for_left_team(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.slowness_on_top_for_left_team) +template +inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_text_log_fixed_name(Arg_&& arg, + Args_... args) { + ; + _impl_.text_log_fixed_name_.Set(static_cast(arg), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:protos.ServerParam.text_log_fixed_name) } -inline float ServerParam::_internal_slowness_on_top_for_left_team() const { - return _impl_.slowness_on_top_for_left_team_; +inline std::string* ServerParam::mutable_text_log_fixed_name() { + std::string* _s = _internal_mutable_text_log_fixed_name(); + // @@protoc_insertion_point(field_mutable:protos.ServerParam.text_log_fixed_name) + return _s; } -inline void ServerParam::_internal_set_slowness_on_top_for_left_team(float value) { - ; - _impl_.slowness_on_top_for_left_team_ = value; +inline const std::string& ServerParam::_internal_text_log_fixed_name() const { + return _impl_.text_log_fixed_name_.Get(); } +inline void ServerParam::_internal_set_text_log_fixed_name(const std::string& value) { + ; -// float slowness_on_top_for_right_team = 99; -inline void ServerParam::clear_slowness_on_top_for_right_team() { - _impl_.slowness_on_top_for_right_team_ = 0; -} -inline float ServerParam::slowness_on_top_for_right_team() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.slowness_on_top_for_right_team) - return _internal_slowness_on_top_for_right_team(); + + _impl_.text_log_fixed_name_.Set(value, GetArenaForAllocation()); } -inline void ServerParam::set_slowness_on_top_for_right_team(float value) { - _internal_set_slowness_on_top_for_right_team(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.slowness_on_top_for_right_team) +inline std::string* ServerParam::_internal_mutable_text_log_fixed_name() { + ; + return _impl_.text_log_fixed_name_.Mutable( GetArenaForAllocation()); } -inline float ServerParam::_internal_slowness_on_top_for_right_team() const { - return _impl_.slowness_on_top_for_right_team_; +inline std::string* ServerParam::release_text_log_fixed_name() { + // @@protoc_insertion_point(field_release:protos.ServerParam.text_log_fixed_name) + return _impl_.text_log_fixed_name_.Release(); } -inline void ServerParam::_internal_set_slowness_on_top_for_right_team(float value) { - ; - _impl_.slowness_on_top_for_right_team_ = value; +inline void ServerParam::set_allocated_text_log_fixed_name(std::string* value) { + _impl_.text_log_fixed_name_.SetAllocated(value, GetArenaForAllocation()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.text_log_fixed_name_.IsDefault()) { + _impl_.text_log_fixed_name_.Set("", GetArenaForAllocation()); + } + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.text_log_fixed_name) } -// int32 start_goal_l = 100; -inline void ServerParam::clear_start_goal_l() { - _impl_.start_goal_l_ = 0; +// string game_log_fixed_name = 124; +inline void ServerParam::clear_game_log_fixed_name() { + _impl_.game_log_fixed_name_.ClearToEmpty(); } -inline ::int32_t ServerParam::start_goal_l() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.start_goal_l) - return _internal_start_goal_l(); +inline const std::string& ServerParam::game_log_fixed_name() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.game_log_fixed_name) + return _internal_game_log_fixed_name(); } -inline void ServerParam::set_start_goal_l(::int32_t value) { - _internal_set_start_goal_l(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.start_goal_l) +template +inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_game_log_fixed_name(Arg_&& arg, + Args_... args) { + ; + _impl_.game_log_fixed_name_.Set(static_cast(arg), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:protos.ServerParam.game_log_fixed_name) +} +inline std::string* ServerParam::mutable_game_log_fixed_name() { + std::string* _s = _internal_mutable_game_log_fixed_name(); + // @@protoc_insertion_point(field_mutable:protos.ServerParam.game_log_fixed_name) + return _s; } -inline ::int32_t ServerParam::_internal_start_goal_l() const { - return _impl_.start_goal_l_; +inline const std::string& ServerParam::_internal_game_log_fixed_name() const { + return _impl_.game_log_fixed_name_.Get(); } -inline void ServerParam::_internal_set_start_goal_l(::int32_t value) { +inline void ServerParam::_internal_set_game_log_fixed_name(const std::string& value) { ; - _impl_.start_goal_l_ = value; -} -// int32 start_goal_r = 101; -inline void ServerParam::clear_start_goal_r() { - _impl_.start_goal_r_ = 0; -} -inline ::int32_t ServerParam::start_goal_r() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.start_goal_r) - return _internal_start_goal_r(); + + _impl_.game_log_fixed_name_.Set(value, GetArenaForAllocation()); } -inline void ServerParam::set_start_goal_r(::int32_t value) { - _internal_set_start_goal_r(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.start_goal_r) +inline std::string* ServerParam::_internal_mutable_game_log_fixed_name() { + ; + return _impl_.game_log_fixed_name_.Mutable( GetArenaForAllocation()); } -inline ::int32_t ServerParam::_internal_start_goal_r() const { - return _impl_.start_goal_r_; +inline std::string* ServerParam::release_game_log_fixed_name() { + // @@protoc_insertion_point(field_release:protos.ServerParam.game_log_fixed_name) + return _impl_.game_log_fixed_name_.Release(); } -inline void ServerParam::_internal_set_start_goal_r(::int32_t value) { - ; - _impl_.start_goal_r_ = value; +inline void ServerParam::set_allocated_game_log_fixed_name(std::string* value) { + _impl_.game_log_fixed_name_.SetAllocated(value, GetArenaForAllocation()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_log_fixed_name_.IsDefault()) { + _impl_.game_log_fixed_name_.Set("", GetArenaForAllocation()); + } + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.game_log_fixed_name) } -// bool fullstate_l = 102; -inline void ServerParam::clear_fullstate_l() { - _impl_.fullstate_l_ = false; +// bool use_text_log_fixed = 125; +inline void ServerParam::clear_use_text_log_fixed() { + _impl_.use_text_log_fixed_ = false; } -inline bool ServerParam::fullstate_l() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.fullstate_l) - return _internal_fullstate_l(); +inline bool ServerParam::use_text_log_fixed() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.use_text_log_fixed) + return _internal_use_text_log_fixed(); } -inline void ServerParam::set_fullstate_l(bool value) { - _internal_set_fullstate_l(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.fullstate_l) +inline void ServerParam::set_use_text_log_fixed(bool value) { + _internal_set_use_text_log_fixed(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.use_text_log_fixed) } -inline bool ServerParam::_internal_fullstate_l() const { - return _impl_.fullstate_l_; +inline bool ServerParam::_internal_use_text_log_fixed() const { + return _impl_.use_text_log_fixed_; } -inline void ServerParam::_internal_set_fullstate_l(bool value) { +inline void ServerParam::_internal_set_use_text_log_fixed(bool value) { ; - _impl_.fullstate_l_ = value; + _impl_.use_text_log_fixed_ = value; } -// bool fullstate_r = 103; -inline void ServerParam::clear_fullstate_r() { - _impl_.fullstate_r_ = false; +// bool use_game_log_fixed = 126; +inline void ServerParam::clear_use_game_log_fixed() { + _impl_.use_game_log_fixed_ = false; } -inline bool ServerParam::fullstate_r() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.fullstate_r) - return _internal_fullstate_r(); +inline bool ServerParam::use_game_log_fixed() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.use_game_log_fixed) + return _internal_use_game_log_fixed(); } -inline void ServerParam::set_fullstate_r(bool value) { - _internal_set_fullstate_r(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.fullstate_r) +inline void ServerParam::set_use_game_log_fixed(bool value) { + _internal_set_use_game_log_fixed(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.use_game_log_fixed) } -inline bool ServerParam::_internal_fullstate_r() const { - return _impl_.fullstate_r_; +inline bool ServerParam::_internal_use_game_log_fixed() const { + return _impl_.use_game_log_fixed_; } -inline void ServerParam::_internal_set_fullstate_r(bool value) { +inline void ServerParam::_internal_set_use_game_log_fixed(bool value) { ; - _impl_.fullstate_r_ = value; + _impl_.use_game_log_fixed_ = value; } -// int32 drop_ball_time = 104; -inline void ServerParam::clear_drop_ball_time() { - _impl_.drop_ball_time_ = 0; +// bool use_text_log_dated = 127; +inline void ServerParam::clear_use_text_log_dated() { + _impl_.use_text_log_dated_ = false; } -inline ::int32_t ServerParam::drop_ball_time() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.drop_ball_time) - return _internal_drop_ball_time(); +inline bool ServerParam::use_text_log_dated() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.use_text_log_dated) + return _internal_use_text_log_dated(); } -inline void ServerParam::set_drop_ball_time(::int32_t value) { - _internal_set_drop_ball_time(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.drop_ball_time) +inline void ServerParam::set_use_text_log_dated(bool value) { + _internal_set_use_text_log_dated(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.use_text_log_dated) } -inline ::int32_t ServerParam::_internal_drop_ball_time() const { - return _impl_.drop_ball_time_; +inline bool ServerParam::_internal_use_text_log_dated() const { + return _impl_.use_text_log_dated_; } -inline void ServerParam::_internal_set_drop_ball_time(::int32_t value) { +inline void ServerParam::_internal_set_use_text_log_dated(bool value) { ; - _impl_.drop_ball_time_ = value; + _impl_.use_text_log_dated_ = value; } -// bool synch_mode = 105; -inline void ServerParam::clear_synch_mode() { - _impl_.synch_mode_ = false; +// bool use_game_log_dated = 128; +inline void ServerParam::clear_use_game_log_dated() { + _impl_.use_game_log_dated_ = false; } -inline bool ServerParam::synch_mode() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.synch_mode) - return _internal_synch_mode(); +inline bool ServerParam::use_game_log_dated() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.use_game_log_dated) + return _internal_use_game_log_dated(); } -inline void ServerParam::set_synch_mode(bool value) { - _internal_set_synch_mode(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.synch_mode) +inline void ServerParam::set_use_game_log_dated(bool value) { + _internal_set_use_game_log_dated(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.use_game_log_dated) } -inline bool ServerParam::_internal_synch_mode() const { - return _impl_.synch_mode_; +inline bool ServerParam::_internal_use_game_log_dated() const { + return _impl_.use_game_log_dated_; } -inline void ServerParam::_internal_set_synch_mode(bool value) { +inline void ServerParam::_internal_set_use_game_log_dated(bool value) { ; - _impl_.synch_mode_ = value; + _impl_.use_game_log_dated_ = value; } -// int32 synch_offset = 106; -inline void ServerParam::clear_synch_offset() { - _impl_.synch_offset_ = 0; +// string log_date_format = 129; +inline void ServerParam::clear_log_date_format() { + _impl_.log_date_format_.ClearToEmpty(); } -inline ::int32_t ServerParam::synch_offset() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.synch_offset) - return _internal_synch_offset(); +inline const std::string& ServerParam::log_date_format() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.log_date_format) + return _internal_log_date_format(); } -inline void ServerParam::set_synch_offset(::int32_t value) { - _internal_set_synch_offset(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.synch_offset) +template +inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_log_date_format(Arg_&& arg, + Args_... args) { + ; + _impl_.log_date_format_.Set(static_cast(arg), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:protos.ServerParam.log_date_format) } -inline ::int32_t ServerParam::_internal_synch_offset() const { - return _impl_.synch_offset_; +inline std::string* ServerParam::mutable_log_date_format() { + std::string* _s = _internal_mutable_log_date_format(); + // @@protoc_insertion_point(field_mutable:protos.ServerParam.log_date_format) + return _s; } -inline void ServerParam::_internal_set_synch_offset(::int32_t value) { - ; - _impl_.synch_offset_ = value; +inline const std::string& ServerParam::_internal_log_date_format() const { + return _impl_.log_date_format_.Get(); } +inline void ServerParam::_internal_set_log_date_format(const std::string& value) { + ; -// int32 synch_micro_sleep = 107; -inline void ServerParam::clear_synch_micro_sleep() { - _impl_.synch_micro_sleep_ = 0; -} -inline ::int32_t ServerParam::synch_micro_sleep() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.synch_micro_sleep) - return _internal_synch_micro_sleep(); + + _impl_.log_date_format_.Set(value, GetArenaForAllocation()); } -inline void ServerParam::set_synch_micro_sleep(::int32_t value) { - _internal_set_synch_micro_sleep(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.synch_micro_sleep) +inline std::string* ServerParam::_internal_mutable_log_date_format() { + ; + return _impl_.log_date_format_.Mutable( GetArenaForAllocation()); } -inline ::int32_t ServerParam::_internal_synch_micro_sleep() const { - return _impl_.synch_micro_sleep_; +inline std::string* ServerParam::release_log_date_format() { + // @@protoc_insertion_point(field_release:protos.ServerParam.log_date_format) + return _impl_.log_date_format_.Release(); } -inline void ServerParam::_internal_set_synch_micro_sleep(::int32_t value) { - ; - _impl_.synch_micro_sleep_ = value; +inline void ServerParam::set_allocated_log_date_format(std::string* value) { + _impl_.log_date_format_.SetAllocated(value, GetArenaForAllocation()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.log_date_format_.IsDefault()) { + _impl_.log_date_format_.Set("", GetArenaForAllocation()); + } + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.log_date_format) } -// int32 point_to_ban = 108; -inline void ServerParam::clear_point_to_ban() { - _impl_.point_to_ban_ = 0; +// bool log_times = 130; +inline void ServerParam::clear_log_times() { + _impl_.log_times_ = false; } -inline ::int32_t ServerParam::point_to_ban() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.point_to_ban) - return _internal_point_to_ban(); +inline bool ServerParam::log_times() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.log_times) + return _internal_log_times(); } -inline void ServerParam::set_point_to_ban(::int32_t value) { - _internal_set_point_to_ban(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.point_to_ban) +inline void ServerParam::set_log_times(bool value) { + _internal_set_log_times(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.log_times) } -inline ::int32_t ServerParam::_internal_point_to_ban() const { - return _impl_.point_to_ban_; +inline bool ServerParam::_internal_log_times() const { + return _impl_.log_times_; } -inline void ServerParam::_internal_set_point_to_ban(::int32_t value) { +inline void ServerParam::_internal_set_log_times(bool value) { ; - _impl_.point_to_ban_ = value; + _impl_.log_times_ = value; } -// int32 point_to_duration = 109; -inline void ServerParam::clear_point_to_duration() { - _impl_.point_to_duration_ = 0; +// bool record_message = 131; +inline void ServerParam::clear_record_message() { + _impl_.record_message_ = false; } -inline ::int32_t ServerParam::point_to_duration() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.point_to_duration) - return _internal_point_to_duration(); +inline bool ServerParam::record_message() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.record_message) + return _internal_record_message(); } -inline void ServerParam::set_point_to_duration(::int32_t value) { - _internal_set_point_to_duration(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.point_to_duration) +inline void ServerParam::set_record_message(bool value) { + _internal_set_record_message(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.record_message) } -inline ::int32_t ServerParam::_internal_point_to_duration() const { - return _impl_.point_to_duration_; +inline bool ServerParam::_internal_record_message() const { + return _impl_.record_message_; } -inline void ServerParam::_internal_set_point_to_duration(::int32_t value) { +inline void ServerParam::_internal_set_record_message(bool value) { ; - _impl_.point_to_duration_ = value; + _impl_.record_message_ = value; } -// int32 player_port = 110; -inline void ServerParam::clear_player_port() { - _impl_.player_port_ = 0; +// int32 text_log_compression = 132; +inline void ServerParam::clear_text_log_compression() { + _impl_.text_log_compression_ = 0; } -inline ::int32_t ServerParam::player_port() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.player_port) - return _internal_player_port(); +inline ::int32_t ServerParam::text_log_compression() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.text_log_compression) + return _internal_text_log_compression(); } -inline void ServerParam::set_player_port(::int32_t value) { - _internal_set_player_port(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.player_port) +inline void ServerParam::set_text_log_compression(::int32_t value) { + _internal_set_text_log_compression(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.text_log_compression) } -inline ::int32_t ServerParam::_internal_player_port() const { - return _impl_.player_port_; +inline ::int32_t ServerParam::_internal_text_log_compression() const { + return _impl_.text_log_compression_; } -inline void ServerParam::_internal_set_player_port(::int32_t value) { +inline void ServerParam::_internal_set_text_log_compression(::int32_t value) { ; - _impl_.player_port_ = value; + _impl_.text_log_compression_ = value; } -// int32 trainer_port = 111; -inline void ServerParam::clear_trainer_port() { - _impl_.trainer_port_ = 0; +// int32 game_log_compression = 133; +inline void ServerParam::clear_game_log_compression() { + _impl_.game_log_compression_ = 0; } -inline ::int32_t ServerParam::trainer_port() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.trainer_port) - return _internal_trainer_port(); +inline ::int32_t ServerParam::game_log_compression() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.game_log_compression) + return _internal_game_log_compression(); } -inline void ServerParam::set_trainer_port(::int32_t value) { - _internal_set_trainer_port(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.trainer_port) +inline void ServerParam::set_game_log_compression(::int32_t value) { + _internal_set_game_log_compression(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.game_log_compression) } -inline ::int32_t ServerParam::_internal_trainer_port() const { - return _impl_.trainer_port_; +inline ::int32_t ServerParam::_internal_game_log_compression() const { + return _impl_.game_log_compression_; } -inline void ServerParam::_internal_set_trainer_port(::int32_t value) { +inline void ServerParam::_internal_set_game_log_compression(::int32_t value) { ; - _impl_.trainer_port_ = value; + _impl_.game_log_compression_ = value; } -// int32 online_coach_port = 112; -inline void ServerParam::clear_online_coach_port() { - _impl_.online_coach_port_ = 0; +// bool use_profile = 134; +inline void ServerParam::clear_use_profile() { + _impl_.use_profile_ = false; } -inline ::int32_t ServerParam::online_coach_port() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.online_coach_port) - return _internal_online_coach_port(); +inline bool ServerParam::use_profile() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.use_profile) + return _internal_use_profile(); } -inline void ServerParam::set_online_coach_port(::int32_t value) { - _internal_set_online_coach_port(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.online_coach_port) +inline void ServerParam::set_use_profile(bool value) { + _internal_set_use_profile(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.use_profile) } -inline ::int32_t ServerParam::_internal_online_coach_port() const { - return _impl_.online_coach_port_; +inline bool ServerParam::_internal_use_profile() const { + return _impl_.use_profile_; } -inline void ServerParam::_internal_set_online_coach_port(::int32_t value) { +inline void ServerParam::_internal_set_use_profile(bool value) { ; - _impl_.online_coach_port_ = value; + _impl_.use_profile_ = value; } -// bool verbose_mode = 113; -inline void ServerParam::clear_verbose_mode() { - _impl_.verbose_mode_ = false; +// float tackle_dist = 135; +inline void ServerParam::clear_tackle_dist() { + _impl_.tackle_dist_ = 0; } -inline bool ServerParam::verbose_mode() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.verbose_mode) - return _internal_verbose_mode(); +inline float ServerParam::tackle_dist() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.tackle_dist) + return _internal_tackle_dist(); } -inline void ServerParam::set_verbose_mode(bool value) { - _internal_set_verbose_mode(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.verbose_mode) +inline void ServerParam::set_tackle_dist(float value) { + _internal_set_tackle_dist(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.tackle_dist) } -inline bool ServerParam::_internal_verbose_mode() const { - return _impl_.verbose_mode_; +inline float ServerParam::_internal_tackle_dist() const { + return _impl_.tackle_dist_; } -inline void ServerParam::_internal_set_verbose_mode(bool value) { +inline void ServerParam::_internal_set_tackle_dist(float value) { ; - _impl_.verbose_mode_ = value; + _impl_.tackle_dist_ = value; } -// int32 coach_send_vi_step = 114; -inline void ServerParam::clear_coach_send_vi_step() { - _impl_.coach_send_vi_step_ = 0; +// float tackle_back_dist = 136; +inline void ServerParam::clear_tackle_back_dist() { + _impl_.tackle_back_dist_ = 0; } -inline ::int32_t ServerParam::coach_send_vi_step() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.coach_send_vi_step) - return _internal_coach_send_vi_step(); +inline float ServerParam::tackle_back_dist() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.tackle_back_dist) + return _internal_tackle_back_dist(); } -inline void ServerParam::set_coach_send_vi_step(::int32_t value) { - _internal_set_coach_send_vi_step(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.coach_send_vi_step) +inline void ServerParam::set_tackle_back_dist(float value) { + _internal_set_tackle_back_dist(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.tackle_back_dist) } -inline ::int32_t ServerParam::_internal_coach_send_vi_step() const { - return _impl_.coach_send_vi_step_; +inline float ServerParam::_internal_tackle_back_dist() const { + return _impl_.tackle_back_dist_; } -inline void ServerParam::_internal_set_coach_send_vi_step(::int32_t value) { +inline void ServerParam::_internal_set_tackle_back_dist(float value) { ; - _impl_.coach_send_vi_step_ = value; + _impl_.tackle_back_dist_ = value; } -// string replay_file = 115; -inline void ServerParam::clear_replay_file() { - _impl_.replay_file_.ClearToEmpty(); -} -inline const std::string& ServerParam::replay_file() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.replay_file) - return _internal_replay_file(); -} -template -inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_replay_file(Arg_&& arg, - Args_... args) { - ; - _impl_.replay_file_.Set(static_cast(arg), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:protos.ServerParam.replay_file) +// float tackle_width = 137; +inline void ServerParam::clear_tackle_width() { + _impl_.tackle_width_ = 0; } -inline std::string* ServerParam::mutable_replay_file() { - std::string* _s = _internal_mutable_replay_file(); - // @@protoc_insertion_point(field_mutable:protos.ServerParam.replay_file) - return _s; +inline float ServerParam::tackle_width() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.tackle_width) + return _internal_tackle_width(); } -inline const std::string& ServerParam::_internal_replay_file() const { - return _impl_.replay_file_.Get(); +inline void ServerParam::set_tackle_width(float value) { + _internal_set_tackle_width(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.tackle_width) } -inline void ServerParam::_internal_set_replay_file(const std::string& value) { - ; - - - _impl_.replay_file_.Set(value, GetArenaForAllocation()); +inline float ServerParam::_internal_tackle_width() const { + return _impl_.tackle_width_; } -inline std::string* ServerParam::_internal_mutable_replay_file() { +inline void ServerParam::_internal_set_tackle_width(float value) { ; - return _impl_.replay_file_.Mutable( GetArenaForAllocation()); -} -inline std::string* ServerParam::release_replay_file() { - // @@protoc_insertion_point(field_release:protos.ServerParam.replay_file) - return _impl_.replay_file_.Release(); -} -inline void ServerParam::set_allocated_replay_file(std::string* value) { - _impl_.replay_file_.SetAllocated(value, GetArenaForAllocation()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.replay_file_.IsDefault()) { - _impl_.replay_file_.Set("", GetArenaForAllocation()); - } - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.replay_file) + _impl_.tackle_width_ = value; } -// string landmark_file = 116; -inline void ServerParam::clear_landmark_file() { - _impl_.landmark_file_.ClearToEmpty(); -} -inline const std::string& ServerParam::landmark_file() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.landmark_file) - return _internal_landmark_file(); +// float tackle_exponent = 138; +inline void ServerParam::clear_tackle_exponent() { + _impl_.tackle_exponent_ = 0; } -template -inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_landmark_file(Arg_&& arg, - Args_... args) { - ; - _impl_.landmark_file_.Set(static_cast(arg), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:protos.ServerParam.landmark_file) +inline float ServerParam::tackle_exponent() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.tackle_exponent) + return _internal_tackle_exponent(); } -inline std::string* ServerParam::mutable_landmark_file() { - std::string* _s = _internal_mutable_landmark_file(); - // @@protoc_insertion_point(field_mutable:protos.ServerParam.landmark_file) - return _s; +inline void ServerParam::set_tackle_exponent(float value) { + _internal_set_tackle_exponent(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.tackle_exponent) } -inline const std::string& ServerParam::_internal_landmark_file() const { - return _impl_.landmark_file_.Get(); +inline float ServerParam::_internal_tackle_exponent() const { + return _impl_.tackle_exponent_; } -inline void ServerParam::_internal_set_landmark_file(const std::string& value) { +inline void ServerParam::_internal_set_tackle_exponent(float value) { ; + _impl_.tackle_exponent_ = value; +} - - _impl_.landmark_file_.Set(value, GetArenaForAllocation()); +// int32 tackle_cycles = 139; +inline void ServerParam::clear_tackle_cycles() { + _impl_.tackle_cycles_ = 0; } -inline std::string* ServerParam::_internal_mutable_landmark_file() { - ; - return _impl_.landmark_file_.Mutable( GetArenaForAllocation()); +inline ::int32_t ServerParam::tackle_cycles() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.tackle_cycles) + return _internal_tackle_cycles(); } -inline std::string* ServerParam::release_landmark_file() { - // @@protoc_insertion_point(field_release:protos.ServerParam.landmark_file) - return _impl_.landmark_file_.Release(); +inline void ServerParam::set_tackle_cycles(::int32_t value) { + _internal_set_tackle_cycles(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.tackle_cycles) } -inline void ServerParam::set_allocated_landmark_file(std::string* value) { - _impl_.landmark_file_.SetAllocated(value, GetArenaForAllocation()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.landmark_file_.IsDefault()) { - _impl_.landmark_file_.Set("", GetArenaForAllocation()); - } - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.landmark_file) +inline ::int32_t ServerParam::_internal_tackle_cycles() const { + return _impl_.tackle_cycles_; +} +inline void ServerParam::_internal_set_tackle_cycles(::int32_t value) { + ; + _impl_.tackle_cycles_ = value; } -// bool send_comms = 117; -inline void ServerParam::clear_send_comms() { - _impl_.send_comms_ = false; +// float tackle_power_rate = 140; +inline void ServerParam::clear_tackle_power_rate() { + _impl_.tackle_power_rate_ = 0; } -inline bool ServerParam::send_comms() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.send_comms) - return _internal_send_comms(); +inline float ServerParam::tackle_power_rate() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.tackle_power_rate) + return _internal_tackle_power_rate(); } -inline void ServerParam::set_send_comms(bool value) { - _internal_set_send_comms(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.send_comms) +inline void ServerParam::set_tackle_power_rate(float value) { + _internal_set_tackle_power_rate(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.tackle_power_rate) } -inline bool ServerParam::_internal_send_comms() const { - return _impl_.send_comms_; +inline float ServerParam::_internal_tackle_power_rate() const { + return _impl_.tackle_power_rate_; } -inline void ServerParam::_internal_set_send_comms(bool value) { +inline void ServerParam::_internal_set_tackle_power_rate(float value) { ; - _impl_.send_comms_ = value; + _impl_.tackle_power_rate_ = value; } -// bool text_logging = 118; -inline void ServerParam::clear_text_logging() { - _impl_.text_logging_ = false; +// int32 freeform_wait_period = 141; +inline void ServerParam::clear_freeform_wait_period() { + _impl_.freeform_wait_period_ = 0; } -inline bool ServerParam::text_logging() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.text_logging) - return _internal_text_logging(); +inline ::int32_t ServerParam::freeform_wait_period() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.freeform_wait_period) + return _internal_freeform_wait_period(); } -inline void ServerParam::set_text_logging(bool value) { - _internal_set_text_logging(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.text_logging) +inline void ServerParam::set_freeform_wait_period(::int32_t value) { + _internal_set_freeform_wait_period(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.freeform_wait_period) } -inline bool ServerParam::_internal_text_logging() const { - return _impl_.text_logging_; +inline ::int32_t ServerParam::_internal_freeform_wait_period() const { + return _impl_.freeform_wait_period_; } -inline void ServerParam::_internal_set_text_logging(bool value) { +inline void ServerParam::_internal_set_freeform_wait_period(::int32_t value) { ; - _impl_.text_logging_ = value; + _impl_.freeform_wait_period_ = value; } -// bool game_logging = 119; -inline void ServerParam::clear_game_logging() { - _impl_.game_logging_ = false; +// int32 freeform_send_period = 142; +inline void ServerParam::clear_freeform_send_period() { + _impl_.freeform_send_period_ = 0; } -inline bool ServerParam::game_logging() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.game_logging) - return _internal_game_logging(); +inline ::int32_t ServerParam::freeform_send_period() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.freeform_send_period) + return _internal_freeform_send_period(); } -inline void ServerParam::set_game_logging(bool value) { - _internal_set_game_logging(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.game_logging) +inline void ServerParam::set_freeform_send_period(::int32_t value) { + _internal_set_freeform_send_period(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.freeform_send_period) } -inline bool ServerParam::_internal_game_logging() const { - return _impl_.game_logging_; +inline ::int32_t ServerParam::_internal_freeform_send_period() const { + return _impl_.freeform_send_period_; } -inline void ServerParam::_internal_set_game_logging(bool value) { +inline void ServerParam::_internal_set_freeform_send_period(::int32_t value) { ; - _impl_.game_logging_ = value; + _impl_.freeform_send_period_ = value; } -// int32 game_log_version = 120; -inline void ServerParam::clear_game_log_version() { - _impl_.game_log_version_ = 0; +// bool free_kick_faults = 143; +inline void ServerParam::clear_free_kick_faults() { + _impl_.free_kick_faults_ = false; } -inline ::int32_t ServerParam::game_log_version() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.game_log_version) - return _internal_game_log_version(); +inline bool ServerParam::free_kick_faults() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.free_kick_faults) + return _internal_free_kick_faults(); } -inline void ServerParam::set_game_log_version(::int32_t value) { - _internal_set_game_log_version(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.game_log_version) +inline void ServerParam::set_free_kick_faults(bool value) { + _internal_set_free_kick_faults(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.free_kick_faults) } -inline ::int32_t ServerParam::_internal_game_log_version() const { - return _impl_.game_log_version_; +inline bool ServerParam::_internal_free_kick_faults() const { + return _impl_.free_kick_faults_; } -inline void ServerParam::_internal_set_game_log_version(::int32_t value) { +inline void ServerParam::_internal_set_free_kick_faults(bool value) { ; - _impl_.game_log_version_ = value; + _impl_.free_kick_faults_ = value; } -// string text_log_dir = 121; -inline void ServerParam::clear_text_log_dir() { - _impl_.text_log_dir_.ClearToEmpty(); -} -inline const std::string& ServerParam::text_log_dir() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.text_log_dir) - return _internal_text_log_dir(); +// bool back_passes = 144; +inline void ServerParam::clear_back_passes() { + _impl_.back_passes_ = false; } -template -inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_text_log_dir(Arg_&& arg, - Args_... args) { - ; - _impl_.text_log_dir_.Set(static_cast(arg), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:protos.ServerParam.text_log_dir) +inline bool ServerParam::back_passes() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.back_passes) + return _internal_back_passes(); } -inline std::string* ServerParam::mutable_text_log_dir() { - std::string* _s = _internal_mutable_text_log_dir(); - // @@protoc_insertion_point(field_mutable:protos.ServerParam.text_log_dir) - return _s; +inline void ServerParam::set_back_passes(bool value) { + _internal_set_back_passes(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.back_passes) } -inline const std::string& ServerParam::_internal_text_log_dir() const { - return _impl_.text_log_dir_.Get(); +inline bool ServerParam::_internal_back_passes() const { + return _impl_.back_passes_; } -inline void ServerParam::_internal_set_text_log_dir(const std::string& value) { +inline void ServerParam::_internal_set_back_passes(bool value) { ; + _impl_.back_passes_ = value; +} - - _impl_.text_log_dir_.Set(value, GetArenaForAllocation()); +// bool proper_goal_kicks = 145; +inline void ServerParam::clear_proper_goal_kicks() { + _impl_.proper_goal_kicks_ = false; } -inline std::string* ServerParam::_internal_mutable_text_log_dir() { - ; - return _impl_.text_log_dir_.Mutable( GetArenaForAllocation()); +inline bool ServerParam::proper_goal_kicks() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.proper_goal_kicks) + return _internal_proper_goal_kicks(); } -inline std::string* ServerParam::release_text_log_dir() { - // @@protoc_insertion_point(field_release:protos.ServerParam.text_log_dir) - return _impl_.text_log_dir_.Release(); +inline void ServerParam::set_proper_goal_kicks(bool value) { + _internal_set_proper_goal_kicks(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.proper_goal_kicks) } -inline void ServerParam::set_allocated_text_log_dir(std::string* value) { - _impl_.text_log_dir_.SetAllocated(value, GetArenaForAllocation()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.text_log_dir_.IsDefault()) { - _impl_.text_log_dir_.Set("", GetArenaForAllocation()); - } - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.text_log_dir) +inline bool ServerParam::_internal_proper_goal_kicks() const { + return _impl_.proper_goal_kicks_; } - -// string game_log_dir = 122; -inline void ServerParam::clear_game_log_dir() { - _impl_.game_log_dir_.ClearToEmpty(); +inline void ServerParam::_internal_set_proper_goal_kicks(bool value) { + ; + _impl_.proper_goal_kicks_ = value; } -inline const std::string& ServerParam::game_log_dir() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.game_log_dir) - return _internal_game_log_dir(); + +// float stopped_ball_vel = 146; +inline void ServerParam::clear_stopped_ball_vel() { + _impl_.stopped_ball_vel_ = 0; } -template -inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_game_log_dir(Arg_&& arg, - Args_... args) { - ; - _impl_.game_log_dir_.Set(static_cast(arg), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:protos.ServerParam.game_log_dir) +inline float ServerParam::stopped_ball_vel() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.stopped_ball_vel) + return _internal_stopped_ball_vel(); } -inline std::string* ServerParam::mutable_game_log_dir() { - std::string* _s = _internal_mutable_game_log_dir(); - // @@protoc_insertion_point(field_mutable:protos.ServerParam.game_log_dir) - return _s; +inline void ServerParam::set_stopped_ball_vel(float value) { + _internal_set_stopped_ball_vel(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.stopped_ball_vel) } -inline const std::string& ServerParam::_internal_game_log_dir() const { - return _impl_.game_log_dir_.Get(); +inline float ServerParam::_internal_stopped_ball_vel() const { + return _impl_.stopped_ball_vel_; } -inline void ServerParam::_internal_set_game_log_dir(const std::string& value) { +inline void ServerParam::_internal_set_stopped_ball_vel(float value) { ; + _impl_.stopped_ball_vel_ = value; +} - - _impl_.game_log_dir_.Set(value, GetArenaForAllocation()); +// int32 max_goal_kicks = 147; +inline void ServerParam::clear_max_goal_kicks() { + _impl_.max_goal_kicks_ = 0; } -inline std::string* ServerParam::_internal_mutable_game_log_dir() { - ; - return _impl_.game_log_dir_.Mutable( GetArenaForAllocation()); +inline ::int32_t ServerParam::max_goal_kicks() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.max_goal_kicks) + return _internal_max_goal_kicks(); } -inline std::string* ServerParam::release_game_log_dir() { - // @@protoc_insertion_point(field_release:protos.ServerParam.game_log_dir) - return _impl_.game_log_dir_.Release(); +inline void ServerParam::set_max_goal_kicks(::int32_t value) { + _internal_set_max_goal_kicks(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.max_goal_kicks) } -inline void ServerParam::set_allocated_game_log_dir(std::string* value) { - _impl_.game_log_dir_.SetAllocated(value, GetArenaForAllocation()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_log_dir_.IsDefault()) { - _impl_.game_log_dir_.Set("", GetArenaForAllocation()); - } - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.game_log_dir) +inline ::int32_t ServerParam::_internal_max_goal_kicks() const { + return _impl_.max_goal_kicks_; } - -// string text_log_fixed_name = 123; -inline void ServerParam::clear_text_log_fixed_name() { - _impl_.text_log_fixed_name_.ClearToEmpty(); +inline void ServerParam::_internal_set_max_goal_kicks(::int32_t value) { + ; + _impl_.max_goal_kicks_ = value; } -inline const std::string& ServerParam::text_log_fixed_name() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.text_log_fixed_name) - return _internal_text_log_fixed_name(); + +// int32 clang_del_win = 148; +inline void ServerParam::clear_clang_del_win() { + _impl_.clang_del_win_ = 0; } -template -inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_text_log_fixed_name(Arg_&& arg, - Args_... args) { - ; - _impl_.text_log_fixed_name_.Set(static_cast(arg), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:protos.ServerParam.text_log_fixed_name) +inline ::int32_t ServerParam::clang_del_win() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.clang_del_win) + return _internal_clang_del_win(); } -inline std::string* ServerParam::mutable_text_log_fixed_name() { - std::string* _s = _internal_mutable_text_log_fixed_name(); - // @@protoc_insertion_point(field_mutable:protos.ServerParam.text_log_fixed_name) - return _s; +inline void ServerParam::set_clang_del_win(::int32_t value) { + _internal_set_clang_del_win(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.clang_del_win) } -inline const std::string& ServerParam::_internal_text_log_fixed_name() const { - return _impl_.text_log_fixed_name_.Get(); +inline ::int32_t ServerParam::_internal_clang_del_win() const { + return _impl_.clang_del_win_; } -inline void ServerParam::_internal_set_text_log_fixed_name(const std::string& value) { +inline void ServerParam::_internal_set_clang_del_win(::int32_t value) { ; + _impl_.clang_del_win_ = value; +} - - _impl_.text_log_fixed_name_.Set(value, GetArenaForAllocation()); +// int32 clang_rule_win = 149; +inline void ServerParam::clear_clang_rule_win() { + _impl_.clang_rule_win_ = 0; } -inline std::string* ServerParam::_internal_mutable_text_log_fixed_name() { - ; - return _impl_.text_log_fixed_name_.Mutable( GetArenaForAllocation()); +inline ::int32_t ServerParam::clang_rule_win() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.clang_rule_win) + return _internal_clang_rule_win(); } -inline std::string* ServerParam::release_text_log_fixed_name() { - // @@protoc_insertion_point(field_release:protos.ServerParam.text_log_fixed_name) - return _impl_.text_log_fixed_name_.Release(); +inline void ServerParam::set_clang_rule_win(::int32_t value) { + _internal_set_clang_rule_win(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.clang_rule_win) } -inline void ServerParam::set_allocated_text_log_fixed_name(std::string* value) { - _impl_.text_log_fixed_name_.SetAllocated(value, GetArenaForAllocation()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.text_log_fixed_name_.IsDefault()) { - _impl_.text_log_fixed_name_.Set("", GetArenaForAllocation()); - } - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.text_log_fixed_name) +inline ::int32_t ServerParam::_internal_clang_rule_win() const { + return _impl_.clang_rule_win_; } - -// string game_log_fixed_name = 124; -inline void ServerParam::clear_game_log_fixed_name() { - _impl_.game_log_fixed_name_.ClearToEmpty(); +inline void ServerParam::_internal_set_clang_rule_win(::int32_t value) { + ; + _impl_.clang_rule_win_ = value; } -inline const std::string& ServerParam::game_log_fixed_name() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.game_log_fixed_name) - return _internal_game_log_fixed_name(); + +// bool auto_mode = 150; +inline void ServerParam::clear_auto_mode() { + _impl_.auto_mode_ = false; } -template -inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_game_log_fixed_name(Arg_&& arg, - Args_... args) { - ; - _impl_.game_log_fixed_name_.Set(static_cast(arg), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:protos.ServerParam.game_log_fixed_name) +inline bool ServerParam::auto_mode() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.auto_mode) + return _internal_auto_mode(); } -inline std::string* ServerParam::mutable_game_log_fixed_name() { - std::string* _s = _internal_mutable_game_log_fixed_name(); - // @@protoc_insertion_point(field_mutable:protos.ServerParam.game_log_fixed_name) - return _s; +inline void ServerParam::set_auto_mode(bool value) { + _internal_set_auto_mode(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.auto_mode) } -inline const std::string& ServerParam::_internal_game_log_fixed_name() const { - return _impl_.game_log_fixed_name_.Get(); +inline bool ServerParam::_internal_auto_mode() const { + return _impl_.auto_mode_; } -inline void ServerParam::_internal_set_game_log_fixed_name(const std::string& value) { +inline void ServerParam::_internal_set_auto_mode(bool value) { ; + _impl_.auto_mode_ = value; +} - - _impl_.game_log_fixed_name_.Set(value, GetArenaForAllocation()); +// int32 kick_off_wait = 151; +inline void ServerParam::clear_kick_off_wait() { + _impl_.kick_off_wait_ = 0; } -inline std::string* ServerParam::_internal_mutable_game_log_fixed_name() { - ; - return _impl_.game_log_fixed_name_.Mutable( GetArenaForAllocation()); +inline ::int32_t ServerParam::kick_off_wait() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.kick_off_wait) + return _internal_kick_off_wait(); } -inline std::string* ServerParam::release_game_log_fixed_name() { - // @@protoc_insertion_point(field_release:protos.ServerParam.game_log_fixed_name) - return _impl_.game_log_fixed_name_.Release(); +inline void ServerParam::set_kick_off_wait(::int32_t value) { + _internal_set_kick_off_wait(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.kick_off_wait) } -inline void ServerParam::set_allocated_game_log_fixed_name(std::string* value) { - _impl_.game_log_fixed_name_.SetAllocated(value, GetArenaForAllocation()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_log_fixed_name_.IsDefault()) { - _impl_.game_log_fixed_name_.Set("", GetArenaForAllocation()); - } - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.game_log_fixed_name) +inline ::int32_t ServerParam::_internal_kick_off_wait() const { + return _impl_.kick_off_wait_; +} +inline void ServerParam::_internal_set_kick_off_wait(::int32_t value) { + ; + _impl_.kick_off_wait_ = value; } -// bool use_text_log_fixed = 125; -inline void ServerParam::clear_use_text_log_fixed() { - _impl_.use_text_log_fixed_ = false; +// int32 connect_wait = 152; +inline void ServerParam::clear_connect_wait() { + _impl_.connect_wait_ = 0; } -inline bool ServerParam::use_text_log_fixed() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.use_text_log_fixed) - return _internal_use_text_log_fixed(); +inline ::int32_t ServerParam::connect_wait() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.connect_wait) + return _internal_connect_wait(); } -inline void ServerParam::set_use_text_log_fixed(bool value) { - _internal_set_use_text_log_fixed(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.use_text_log_fixed) +inline void ServerParam::set_connect_wait(::int32_t value) { + _internal_set_connect_wait(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.connect_wait) } -inline bool ServerParam::_internal_use_text_log_fixed() const { - return _impl_.use_text_log_fixed_; +inline ::int32_t ServerParam::_internal_connect_wait() const { + return _impl_.connect_wait_; } -inline void ServerParam::_internal_set_use_text_log_fixed(bool value) { +inline void ServerParam::_internal_set_connect_wait(::int32_t value) { ; - _impl_.use_text_log_fixed_ = value; + _impl_.connect_wait_ = value; } -// bool use_game_log_fixed = 126; -inline void ServerParam::clear_use_game_log_fixed() { - _impl_.use_game_log_fixed_ = false; +// int32 game_over_wait = 153; +inline void ServerParam::clear_game_over_wait() { + _impl_.game_over_wait_ = 0; } -inline bool ServerParam::use_game_log_fixed() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.use_game_log_fixed) - return _internal_use_game_log_fixed(); +inline ::int32_t ServerParam::game_over_wait() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.game_over_wait) + return _internal_game_over_wait(); } -inline void ServerParam::set_use_game_log_fixed(bool value) { - _internal_set_use_game_log_fixed(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.use_game_log_fixed) +inline void ServerParam::set_game_over_wait(::int32_t value) { + _internal_set_game_over_wait(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.game_over_wait) } -inline bool ServerParam::_internal_use_game_log_fixed() const { - return _impl_.use_game_log_fixed_; +inline ::int32_t ServerParam::_internal_game_over_wait() const { + return _impl_.game_over_wait_; } -inline void ServerParam::_internal_set_use_game_log_fixed(bool value) { +inline void ServerParam::_internal_set_game_over_wait(::int32_t value) { ; - _impl_.use_game_log_fixed_ = value; + _impl_.game_over_wait_ = value; } -// bool use_text_log_dated = 127; -inline void ServerParam::clear_use_text_log_dated() { - _impl_.use_text_log_dated_ = false; +// string team_l_start = 154; +inline void ServerParam::clear_team_l_start() { + _impl_.team_l_start_.ClearToEmpty(); } -inline bool ServerParam::use_text_log_dated() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.use_text_log_dated) - return _internal_use_text_log_dated(); +inline const std::string& ServerParam::team_l_start() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.team_l_start) + return _internal_team_l_start(); } -inline void ServerParam::set_use_text_log_dated(bool value) { - _internal_set_use_text_log_dated(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.use_text_log_dated) +template +inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_team_l_start(Arg_&& arg, + Args_... args) { + ; + _impl_.team_l_start_.Set(static_cast(arg), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:protos.ServerParam.team_l_start) } -inline bool ServerParam::_internal_use_text_log_dated() const { - return _impl_.use_text_log_dated_; +inline std::string* ServerParam::mutable_team_l_start() { + std::string* _s = _internal_mutable_team_l_start(); + // @@protoc_insertion_point(field_mutable:protos.ServerParam.team_l_start) + return _s; } -inline void ServerParam::_internal_set_use_text_log_dated(bool value) { - ; - _impl_.use_text_log_dated_ = value; +inline const std::string& ServerParam::_internal_team_l_start() const { + return _impl_.team_l_start_.Get(); } +inline void ServerParam::_internal_set_team_l_start(const std::string& value) { + ; -// bool use_game_log_dated = 128; -inline void ServerParam::clear_use_game_log_dated() { - _impl_.use_game_log_dated_ = false; -} -inline bool ServerParam::use_game_log_dated() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.use_game_log_dated) - return _internal_use_game_log_dated(); + + _impl_.team_l_start_.Set(value, GetArenaForAllocation()); } -inline void ServerParam::set_use_game_log_dated(bool value) { - _internal_set_use_game_log_dated(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.use_game_log_dated) +inline std::string* ServerParam::_internal_mutable_team_l_start() { + ; + return _impl_.team_l_start_.Mutable( GetArenaForAllocation()); } -inline bool ServerParam::_internal_use_game_log_dated() const { - return _impl_.use_game_log_dated_; +inline std::string* ServerParam::release_team_l_start() { + // @@protoc_insertion_point(field_release:protos.ServerParam.team_l_start) + return _impl_.team_l_start_.Release(); } -inline void ServerParam::_internal_set_use_game_log_dated(bool value) { - ; - _impl_.use_game_log_dated_ = value; +inline void ServerParam::set_allocated_team_l_start(std::string* value) { + _impl_.team_l_start_.SetAllocated(value, GetArenaForAllocation()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.team_l_start_.IsDefault()) { + _impl_.team_l_start_.Set("", GetArenaForAllocation()); + } + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.team_l_start) } -// string log_date_format = 129; -inline void ServerParam::clear_log_date_format() { - _impl_.log_date_format_.ClearToEmpty(); +// string team_r_start = 155; +inline void ServerParam::clear_team_r_start() { + _impl_.team_r_start_.ClearToEmpty(); } -inline const std::string& ServerParam::log_date_format() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.log_date_format) - return _internal_log_date_format(); +inline const std::string& ServerParam::team_r_start() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.team_r_start) + return _internal_team_r_start(); } template -inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_log_date_format(Arg_&& arg, +inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_team_r_start(Arg_&& arg, Args_... args) { ; - _impl_.log_date_format_.Set(static_cast(arg), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:protos.ServerParam.log_date_format) + _impl_.team_r_start_.Set(static_cast(arg), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:protos.ServerParam.team_r_start) } -inline std::string* ServerParam::mutable_log_date_format() { - std::string* _s = _internal_mutable_log_date_format(); - // @@protoc_insertion_point(field_mutable:protos.ServerParam.log_date_format) +inline std::string* ServerParam::mutable_team_r_start() { + std::string* _s = _internal_mutable_team_r_start(); + // @@protoc_insertion_point(field_mutable:protos.ServerParam.team_r_start) return _s; } -inline const std::string& ServerParam::_internal_log_date_format() const { - return _impl_.log_date_format_.Get(); +inline const std::string& ServerParam::_internal_team_r_start() const { + return _impl_.team_r_start_.Get(); } -inline void ServerParam::_internal_set_log_date_format(const std::string& value) { +inline void ServerParam::_internal_set_team_r_start(const std::string& value) { ; - _impl_.log_date_format_.Set(value, GetArenaForAllocation()); + _impl_.team_r_start_.Set(value, GetArenaForAllocation()); } -inline std::string* ServerParam::_internal_mutable_log_date_format() { +inline std::string* ServerParam::_internal_mutable_team_r_start() { ; - return _impl_.log_date_format_.Mutable( GetArenaForAllocation()); + return _impl_.team_r_start_.Mutable( GetArenaForAllocation()); } -inline std::string* ServerParam::release_log_date_format() { - // @@protoc_insertion_point(field_release:protos.ServerParam.log_date_format) - return _impl_.log_date_format_.Release(); +inline std::string* ServerParam::release_team_r_start() { + // @@protoc_insertion_point(field_release:protos.ServerParam.team_r_start) + return _impl_.team_r_start_.Release(); } -inline void ServerParam::set_allocated_log_date_format(std::string* value) { - _impl_.log_date_format_.SetAllocated(value, GetArenaForAllocation()); +inline void ServerParam::set_allocated_team_r_start(std::string* value) { + _impl_.team_r_start_.SetAllocated(value, GetArenaForAllocation()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.log_date_format_.IsDefault()) { - _impl_.log_date_format_.Set("", GetArenaForAllocation()); + if (_impl_.team_r_start_.IsDefault()) { + _impl_.team_r_start_.Set("", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.log_date_format) + // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.team_r_start) } -// bool log_times = 130; -inline void ServerParam::clear_log_times() { - _impl_.log_times_ = false; +// bool keepaway_mode = 156; +inline void ServerParam::clear_keepaway_mode() { + _impl_.keepaway_mode_ = false; } -inline bool ServerParam::log_times() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.log_times) - return _internal_log_times(); +inline bool ServerParam::keepaway_mode() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.keepaway_mode) + return _internal_keepaway_mode(); } -inline void ServerParam::set_log_times(bool value) { - _internal_set_log_times(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.log_times) +inline void ServerParam::set_keepaway_mode(bool value) { + _internal_set_keepaway_mode(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.keepaway_mode) } -inline bool ServerParam::_internal_log_times() const { - return _impl_.log_times_; +inline bool ServerParam::_internal_keepaway_mode() const { + return _impl_.keepaway_mode_; } -inline void ServerParam::_internal_set_log_times(bool value) { +inline void ServerParam::_internal_set_keepaway_mode(bool value) { ; - _impl_.log_times_ = value; + _impl_.keepaway_mode_ = value; } -// bool record_message = 131; -inline void ServerParam::clear_record_message() { - _impl_.record_message_ = false; +// float keepaway_length = 157; +inline void ServerParam::clear_keepaway_length() { + _impl_.keepaway_length_ = 0; } -inline bool ServerParam::record_message() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.record_message) - return _internal_record_message(); +inline float ServerParam::keepaway_length() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.keepaway_length) + return _internal_keepaway_length(); } -inline void ServerParam::set_record_message(bool value) { - _internal_set_record_message(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.record_message) +inline void ServerParam::set_keepaway_length(float value) { + _internal_set_keepaway_length(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.keepaway_length) } -inline bool ServerParam::_internal_record_message() const { - return _impl_.record_message_; +inline float ServerParam::_internal_keepaway_length() const { + return _impl_.keepaway_length_; } -inline void ServerParam::_internal_set_record_message(bool value) { +inline void ServerParam::_internal_set_keepaway_length(float value) { ; - _impl_.record_message_ = value; + _impl_.keepaway_length_ = value; } -// int32 text_log_compression = 132; -inline void ServerParam::clear_text_log_compression() { - _impl_.text_log_compression_ = 0; +// float keepaway_width = 158; +inline void ServerParam::clear_keepaway_width() { + _impl_.keepaway_width_ = 0; } -inline ::int32_t ServerParam::text_log_compression() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.text_log_compression) - return _internal_text_log_compression(); +inline float ServerParam::keepaway_width() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.keepaway_width) + return _internal_keepaway_width(); } -inline void ServerParam::set_text_log_compression(::int32_t value) { - _internal_set_text_log_compression(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.text_log_compression) +inline void ServerParam::set_keepaway_width(float value) { + _internal_set_keepaway_width(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.keepaway_width) } -inline ::int32_t ServerParam::_internal_text_log_compression() const { - return _impl_.text_log_compression_; +inline float ServerParam::_internal_keepaway_width() const { + return _impl_.keepaway_width_; } -inline void ServerParam::_internal_set_text_log_compression(::int32_t value) { +inline void ServerParam::_internal_set_keepaway_width(float value) { ; - _impl_.text_log_compression_ = value; + _impl_.keepaway_width_ = value; } -// int32 game_log_compression = 133; -inline void ServerParam::clear_game_log_compression() { - _impl_.game_log_compression_ = 0; +// bool keepaway_logging = 159; +inline void ServerParam::clear_keepaway_logging() { + _impl_.keepaway_logging_ = false; } -inline ::int32_t ServerParam::game_log_compression() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.game_log_compression) - return _internal_game_log_compression(); +inline bool ServerParam::keepaway_logging() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.keepaway_logging) + return _internal_keepaway_logging(); } -inline void ServerParam::set_game_log_compression(::int32_t value) { - _internal_set_game_log_compression(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.game_log_compression) +inline void ServerParam::set_keepaway_logging(bool value) { + _internal_set_keepaway_logging(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.keepaway_logging) } -inline ::int32_t ServerParam::_internal_game_log_compression() const { - return _impl_.game_log_compression_; +inline bool ServerParam::_internal_keepaway_logging() const { + return _impl_.keepaway_logging_; } -inline void ServerParam::_internal_set_game_log_compression(::int32_t value) { +inline void ServerParam::_internal_set_keepaway_logging(bool value) { ; - _impl_.game_log_compression_ = value; + _impl_.keepaway_logging_ = value; } -// bool use_profile = 134; -inline void ServerParam::clear_use_profile() { - _impl_.use_profile_ = false; +// string keepaway_log_dir = 160; +inline void ServerParam::clear_keepaway_log_dir() { + _impl_.keepaway_log_dir_.ClearToEmpty(); } -inline bool ServerParam::use_profile() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.use_profile) - return _internal_use_profile(); +inline const std::string& ServerParam::keepaway_log_dir() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.keepaway_log_dir) + return _internal_keepaway_log_dir(); } -inline void ServerParam::set_use_profile(bool value) { - _internal_set_use_profile(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.use_profile) +template +inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_keepaway_log_dir(Arg_&& arg, + Args_... args) { + ; + _impl_.keepaway_log_dir_.Set(static_cast(arg), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:protos.ServerParam.keepaway_log_dir) } -inline bool ServerParam::_internal_use_profile() const { - return _impl_.use_profile_; +inline std::string* ServerParam::mutable_keepaway_log_dir() { + std::string* _s = _internal_mutable_keepaway_log_dir(); + // @@protoc_insertion_point(field_mutable:protos.ServerParam.keepaway_log_dir) + return _s; } -inline void ServerParam::_internal_set_use_profile(bool value) { - ; - _impl_.use_profile_ = value; +inline const std::string& ServerParam::_internal_keepaway_log_dir() const { + return _impl_.keepaway_log_dir_.Get(); } +inline void ServerParam::_internal_set_keepaway_log_dir(const std::string& value) { + ; -// float tackle_dist = 135; -inline void ServerParam::clear_tackle_dist() { - _impl_.tackle_dist_ = 0; -} -inline float ServerParam::tackle_dist() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.tackle_dist) - return _internal_tackle_dist(); + + _impl_.keepaway_log_dir_.Set(value, GetArenaForAllocation()); } -inline void ServerParam::set_tackle_dist(float value) { - _internal_set_tackle_dist(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.tackle_dist) +inline std::string* ServerParam::_internal_mutable_keepaway_log_dir() { + ; + return _impl_.keepaway_log_dir_.Mutable( GetArenaForAllocation()); } -inline float ServerParam::_internal_tackle_dist() const { - return _impl_.tackle_dist_; +inline std::string* ServerParam::release_keepaway_log_dir() { + // @@protoc_insertion_point(field_release:protos.ServerParam.keepaway_log_dir) + return _impl_.keepaway_log_dir_.Release(); } -inline void ServerParam::_internal_set_tackle_dist(float value) { - ; - _impl_.tackle_dist_ = value; +inline void ServerParam::set_allocated_keepaway_log_dir(std::string* value) { + _impl_.keepaway_log_dir_.SetAllocated(value, GetArenaForAllocation()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.keepaway_log_dir_.IsDefault()) { + _impl_.keepaway_log_dir_.Set("", GetArenaForAllocation()); + } + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.keepaway_log_dir) } -// float tackle_back_dist = 136; -inline void ServerParam::clear_tackle_back_dist() { - _impl_.tackle_back_dist_ = 0; +// string keepaway_log_fixed_name = 161; +inline void ServerParam::clear_keepaway_log_fixed_name() { + _impl_.keepaway_log_fixed_name_.ClearToEmpty(); } -inline float ServerParam::tackle_back_dist() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.tackle_back_dist) - return _internal_tackle_back_dist(); +inline const std::string& ServerParam::keepaway_log_fixed_name() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.keepaway_log_fixed_name) + return _internal_keepaway_log_fixed_name(); } -inline void ServerParam::set_tackle_back_dist(float value) { - _internal_set_tackle_back_dist(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.tackle_back_dist) +template +inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_keepaway_log_fixed_name(Arg_&& arg, + Args_... args) { + ; + _impl_.keepaway_log_fixed_name_.Set(static_cast(arg), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:protos.ServerParam.keepaway_log_fixed_name) } -inline float ServerParam::_internal_tackle_back_dist() const { - return _impl_.tackle_back_dist_; +inline std::string* ServerParam::mutable_keepaway_log_fixed_name() { + std::string* _s = _internal_mutable_keepaway_log_fixed_name(); + // @@protoc_insertion_point(field_mutable:protos.ServerParam.keepaway_log_fixed_name) + return _s; } -inline void ServerParam::_internal_set_tackle_back_dist(float value) { +inline const std::string& ServerParam::_internal_keepaway_log_fixed_name() const { + return _impl_.keepaway_log_fixed_name_.Get(); +} +inline void ServerParam::_internal_set_keepaway_log_fixed_name(const std::string& value) { ; - _impl_.tackle_back_dist_ = value; + + + _impl_.keepaway_log_fixed_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* ServerParam::_internal_mutable_keepaway_log_fixed_name() { + ; + return _impl_.keepaway_log_fixed_name_.Mutable( GetArenaForAllocation()); +} +inline std::string* ServerParam::release_keepaway_log_fixed_name() { + // @@protoc_insertion_point(field_release:protos.ServerParam.keepaway_log_fixed_name) + return _impl_.keepaway_log_fixed_name_.Release(); +} +inline void ServerParam::set_allocated_keepaway_log_fixed_name(std::string* value) { + _impl_.keepaway_log_fixed_name_.SetAllocated(value, GetArenaForAllocation()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.keepaway_log_fixed_name_.IsDefault()) { + _impl_.keepaway_log_fixed_name_.Set("", GetArenaForAllocation()); + } + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.keepaway_log_fixed_name) } -// float tackle_width = 137; -inline void ServerParam::clear_tackle_width() { - _impl_.tackle_width_ = 0; +// bool keepaway_log_fixed = 162; +inline void ServerParam::clear_keepaway_log_fixed() { + _impl_.keepaway_log_fixed_ = false; } -inline float ServerParam::tackle_width() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.tackle_width) - return _internal_tackle_width(); +inline bool ServerParam::keepaway_log_fixed() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.keepaway_log_fixed) + return _internal_keepaway_log_fixed(); } -inline void ServerParam::set_tackle_width(float value) { - _internal_set_tackle_width(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.tackle_width) +inline void ServerParam::set_keepaway_log_fixed(bool value) { + _internal_set_keepaway_log_fixed(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.keepaway_log_fixed) } -inline float ServerParam::_internal_tackle_width() const { - return _impl_.tackle_width_; +inline bool ServerParam::_internal_keepaway_log_fixed() const { + return _impl_.keepaway_log_fixed_; } -inline void ServerParam::_internal_set_tackle_width(float value) { +inline void ServerParam::_internal_set_keepaway_log_fixed(bool value) { ; - _impl_.tackle_width_ = value; + _impl_.keepaway_log_fixed_ = value; } -// float tackle_exponent = 138; -inline void ServerParam::clear_tackle_exponent() { - _impl_.tackle_exponent_ = 0; +// bool keepaway_log_dated = 163; +inline void ServerParam::clear_keepaway_log_dated() { + _impl_.keepaway_log_dated_ = false; } -inline float ServerParam::tackle_exponent() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.tackle_exponent) - return _internal_tackle_exponent(); +inline bool ServerParam::keepaway_log_dated() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.keepaway_log_dated) + return _internal_keepaway_log_dated(); } -inline void ServerParam::set_tackle_exponent(float value) { - _internal_set_tackle_exponent(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.tackle_exponent) +inline void ServerParam::set_keepaway_log_dated(bool value) { + _internal_set_keepaway_log_dated(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.keepaway_log_dated) } -inline float ServerParam::_internal_tackle_exponent() const { - return _impl_.tackle_exponent_; +inline bool ServerParam::_internal_keepaway_log_dated() const { + return _impl_.keepaway_log_dated_; } -inline void ServerParam::_internal_set_tackle_exponent(float value) { +inline void ServerParam::_internal_set_keepaway_log_dated(bool value) { ; - _impl_.tackle_exponent_ = value; + _impl_.keepaway_log_dated_ = value; } -// int32 tackle_cycles = 139; -inline void ServerParam::clear_tackle_cycles() { - _impl_.tackle_cycles_ = 0; +// int32 keepaway_start = 164; +inline void ServerParam::clear_keepaway_start() { + _impl_.keepaway_start_ = 0; } -inline ::int32_t ServerParam::tackle_cycles() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.tackle_cycles) - return _internal_tackle_cycles(); +inline ::int32_t ServerParam::keepaway_start() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.keepaway_start) + return _internal_keepaway_start(); } -inline void ServerParam::set_tackle_cycles(::int32_t value) { - _internal_set_tackle_cycles(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.tackle_cycles) +inline void ServerParam::set_keepaway_start(::int32_t value) { + _internal_set_keepaway_start(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.keepaway_start) } -inline ::int32_t ServerParam::_internal_tackle_cycles() const { - return _impl_.tackle_cycles_; +inline ::int32_t ServerParam::_internal_keepaway_start() const { + return _impl_.keepaway_start_; } -inline void ServerParam::_internal_set_tackle_cycles(::int32_t value) { +inline void ServerParam::_internal_set_keepaway_start(::int32_t value) { ; - _impl_.tackle_cycles_ = value; + _impl_.keepaway_start_ = value; } -// float tackle_power_rate = 140; -inline void ServerParam::clear_tackle_power_rate() { - _impl_.tackle_power_rate_ = 0; +// int32 nr_normal_halfs = 165; +inline void ServerParam::clear_nr_normal_halfs() { + _impl_.nr_normal_halfs_ = 0; } -inline float ServerParam::tackle_power_rate() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.tackle_power_rate) - return _internal_tackle_power_rate(); +inline ::int32_t ServerParam::nr_normal_halfs() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.nr_normal_halfs) + return _internal_nr_normal_halfs(); } -inline void ServerParam::set_tackle_power_rate(float value) { - _internal_set_tackle_power_rate(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.tackle_power_rate) +inline void ServerParam::set_nr_normal_halfs(::int32_t value) { + _internal_set_nr_normal_halfs(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.nr_normal_halfs) } -inline float ServerParam::_internal_tackle_power_rate() const { - return _impl_.tackle_power_rate_; +inline ::int32_t ServerParam::_internal_nr_normal_halfs() const { + return _impl_.nr_normal_halfs_; } -inline void ServerParam::_internal_set_tackle_power_rate(float value) { +inline void ServerParam::_internal_set_nr_normal_halfs(::int32_t value) { ; - _impl_.tackle_power_rate_ = value; + _impl_.nr_normal_halfs_ = value; } -// int32 freeform_wait_period = 141; -inline void ServerParam::clear_freeform_wait_period() { - _impl_.freeform_wait_period_ = 0; +// int32 nr_extra_halfs = 166; +inline void ServerParam::clear_nr_extra_halfs() { + _impl_.nr_extra_halfs_ = 0; } -inline ::int32_t ServerParam::freeform_wait_period() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.freeform_wait_period) - return _internal_freeform_wait_period(); +inline ::int32_t ServerParam::nr_extra_halfs() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.nr_extra_halfs) + return _internal_nr_extra_halfs(); } -inline void ServerParam::set_freeform_wait_period(::int32_t value) { - _internal_set_freeform_wait_period(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.freeform_wait_period) +inline void ServerParam::set_nr_extra_halfs(::int32_t value) { + _internal_set_nr_extra_halfs(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.nr_extra_halfs) } -inline ::int32_t ServerParam::_internal_freeform_wait_period() const { - return _impl_.freeform_wait_period_; +inline ::int32_t ServerParam::_internal_nr_extra_halfs() const { + return _impl_.nr_extra_halfs_; } -inline void ServerParam::_internal_set_freeform_wait_period(::int32_t value) { +inline void ServerParam::_internal_set_nr_extra_halfs(::int32_t value) { ; - _impl_.freeform_wait_period_ = value; + _impl_.nr_extra_halfs_ = value; } -// int32 freeform_send_period = 142; -inline void ServerParam::clear_freeform_send_period() { - _impl_.freeform_send_period_ = 0; +// bool penalty_shoot_outs = 167; +inline void ServerParam::clear_penalty_shoot_outs() { + _impl_.penalty_shoot_outs_ = false; } -inline ::int32_t ServerParam::freeform_send_period() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.freeform_send_period) - return _internal_freeform_send_period(); +inline bool ServerParam::penalty_shoot_outs() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.penalty_shoot_outs) + return _internal_penalty_shoot_outs(); } -inline void ServerParam::set_freeform_send_period(::int32_t value) { - _internal_set_freeform_send_period(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.freeform_send_period) +inline void ServerParam::set_penalty_shoot_outs(bool value) { + _internal_set_penalty_shoot_outs(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.penalty_shoot_outs) } -inline ::int32_t ServerParam::_internal_freeform_send_period() const { - return _impl_.freeform_send_period_; +inline bool ServerParam::_internal_penalty_shoot_outs() const { + return _impl_.penalty_shoot_outs_; } -inline void ServerParam::_internal_set_freeform_send_period(::int32_t value) { +inline void ServerParam::_internal_set_penalty_shoot_outs(bool value) { ; - _impl_.freeform_send_period_ = value; + _impl_.penalty_shoot_outs_ = value; } -// bool free_kick_faults = 143; -inline void ServerParam::clear_free_kick_faults() { - _impl_.free_kick_faults_ = false; +// int32 pen_before_setup_wait = 168; +inline void ServerParam::clear_pen_before_setup_wait() { + _impl_.pen_before_setup_wait_ = 0; } -inline bool ServerParam::free_kick_faults() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.free_kick_faults) - return _internal_free_kick_faults(); +inline ::int32_t ServerParam::pen_before_setup_wait() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.pen_before_setup_wait) + return _internal_pen_before_setup_wait(); } -inline void ServerParam::set_free_kick_faults(bool value) { - _internal_set_free_kick_faults(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.free_kick_faults) +inline void ServerParam::set_pen_before_setup_wait(::int32_t value) { + _internal_set_pen_before_setup_wait(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.pen_before_setup_wait) } -inline bool ServerParam::_internal_free_kick_faults() const { - return _impl_.free_kick_faults_; +inline ::int32_t ServerParam::_internal_pen_before_setup_wait() const { + return _impl_.pen_before_setup_wait_; } -inline void ServerParam::_internal_set_free_kick_faults(bool value) { +inline void ServerParam::_internal_set_pen_before_setup_wait(::int32_t value) { ; - _impl_.free_kick_faults_ = value; + _impl_.pen_before_setup_wait_ = value; } -// bool back_passes = 144; -inline void ServerParam::clear_back_passes() { - _impl_.back_passes_ = false; +// int32 pen_setup_wait = 169; +inline void ServerParam::clear_pen_setup_wait() { + _impl_.pen_setup_wait_ = 0; } -inline bool ServerParam::back_passes() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.back_passes) - return _internal_back_passes(); +inline ::int32_t ServerParam::pen_setup_wait() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.pen_setup_wait) + return _internal_pen_setup_wait(); } -inline void ServerParam::set_back_passes(bool value) { - _internal_set_back_passes(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.back_passes) +inline void ServerParam::set_pen_setup_wait(::int32_t value) { + _internal_set_pen_setup_wait(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.pen_setup_wait) } -inline bool ServerParam::_internal_back_passes() const { - return _impl_.back_passes_; +inline ::int32_t ServerParam::_internal_pen_setup_wait() const { + return _impl_.pen_setup_wait_; } -inline void ServerParam::_internal_set_back_passes(bool value) { +inline void ServerParam::_internal_set_pen_setup_wait(::int32_t value) { ; - _impl_.back_passes_ = value; + _impl_.pen_setup_wait_ = value; } -// bool proper_goal_kicks = 145; -inline void ServerParam::clear_proper_goal_kicks() { - _impl_.proper_goal_kicks_ = false; +// int32 pen_ready_wait = 170; +inline void ServerParam::clear_pen_ready_wait() { + _impl_.pen_ready_wait_ = 0; } -inline bool ServerParam::proper_goal_kicks() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.proper_goal_kicks) - return _internal_proper_goal_kicks(); +inline ::int32_t ServerParam::pen_ready_wait() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.pen_ready_wait) + return _internal_pen_ready_wait(); } -inline void ServerParam::set_proper_goal_kicks(bool value) { - _internal_set_proper_goal_kicks(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.proper_goal_kicks) +inline void ServerParam::set_pen_ready_wait(::int32_t value) { + _internal_set_pen_ready_wait(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.pen_ready_wait) } -inline bool ServerParam::_internal_proper_goal_kicks() const { - return _impl_.proper_goal_kicks_; +inline ::int32_t ServerParam::_internal_pen_ready_wait() const { + return _impl_.pen_ready_wait_; } -inline void ServerParam::_internal_set_proper_goal_kicks(bool value) { +inline void ServerParam::_internal_set_pen_ready_wait(::int32_t value) { ; - _impl_.proper_goal_kicks_ = value; + _impl_.pen_ready_wait_ = value; } -// float stopped_ball_vel = 146; -inline void ServerParam::clear_stopped_ball_vel() { - _impl_.stopped_ball_vel_ = 0; +// int32 pen_taken_wait = 171; +inline void ServerParam::clear_pen_taken_wait() { + _impl_.pen_taken_wait_ = 0; } -inline float ServerParam::stopped_ball_vel() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.stopped_ball_vel) - return _internal_stopped_ball_vel(); +inline ::int32_t ServerParam::pen_taken_wait() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.pen_taken_wait) + return _internal_pen_taken_wait(); } -inline void ServerParam::set_stopped_ball_vel(float value) { - _internal_set_stopped_ball_vel(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.stopped_ball_vel) +inline void ServerParam::set_pen_taken_wait(::int32_t value) { + _internal_set_pen_taken_wait(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.pen_taken_wait) } -inline float ServerParam::_internal_stopped_ball_vel() const { - return _impl_.stopped_ball_vel_; +inline ::int32_t ServerParam::_internal_pen_taken_wait() const { + return _impl_.pen_taken_wait_; } -inline void ServerParam::_internal_set_stopped_ball_vel(float value) { +inline void ServerParam::_internal_set_pen_taken_wait(::int32_t value) { ; - _impl_.stopped_ball_vel_ = value; + _impl_.pen_taken_wait_ = value; } -// int32 max_goal_kicks = 147; -inline void ServerParam::clear_max_goal_kicks() { - _impl_.max_goal_kicks_ = 0; +// int32 pen_nr_kicks = 172; +inline void ServerParam::clear_pen_nr_kicks() { + _impl_.pen_nr_kicks_ = 0; } -inline ::int32_t ServerParam::max_goal_kicks() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.max_goal_kicks) - return _internal_max_goal_kicks(); +inline ::int32_t ServerParam::pen_nr_kicks() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.pen_nr_kicks) + return _internal_pen_nr_kicks(); } -inline void ServerParam::set_max_goal_kicks(::int32_t value) { - _internal_set_max_goal_kicks(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.max_goal_kicks) +inline void ServerParam::set_pen_nr_kicks(::int32_t value) { + _internal_set_pen_nr_kicks(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.pen_nr_kicks) } -inline ::int32_t ServerParam::_internal_max_goal_kicks() const { - return _impl_.max_goal_kicks_; +inline ::int32_t ServerParam::_internal_pen_nr_kicks() const { + return _impl_.pen_nr_kicks_; } -inline void ServerParam::_internal_set_max_goal_kicks(::int32_t value) { +inline void ServerParam::_internal_set_pen_nr_kicks(::int32_t value) { ; - _impl_.max_goal_kicks_ = value; + _impl_.pen_nr_kicks_ = value; } -// int32 clang_del_win = 148; -inline void ServerParam::clear_clang_del_win() { - _impl_.clang_del_win_ = 0; +// int32 pen_max_extra_kicks = 173; +inline void ServerParam::clear_pen_max_extra_kicks() { + _impl_.pen_max_extra_kicks_ = 0; } -inline ::int32_t ServerParam::clang_del_win() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.clang_del_win) - return _internal_clang_del_win(); +inline ::int32_t ServerParam::pen_max_extra_kicks() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.pen_max_extra_kicks) + return _internal_pen_max_extra_kicks(); } -inline void ServerParam::set_clang_del_win(::int32_t value) { - _internal_set_clang_del_win(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.clang_del_win) +inline void ServerParam::set_pen_max_extra_kicks(::int32_t value) { + _internal_set_pen_max_extra_kicks(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.pen_max_extra_kicks) } -inline ::int32_t ServerParam::_internal_clang_del_win() const { - return _impl_.clang_del_win_; +inline ::int32_t ServerParam::_internal_pen_max_extra_kicks() const { + return _impl_.pen_max_extra_kicks_; } -inline void ServerParam::_internal_set_clang_del_win(::int32_t value) { +inline void ServerParam::_internal_set_pen_max_extra_kicks(::int32_t value) { ; - _impl_.clang_del_win_ = value; + _impl_.pen_max_extra_kicks_ = value; } -// int32 clang_rule_win = 149; -inline void ServerParam::clear_clang_rule_win() { - _impl_.clang_rule_win_ = 0; +// float pen_dist_x = 174; +inline void ServerParam::clear_pen_dist_x() { + _impl_.pen_dist_x_ = 0; } -inline ::int32_t ServerParam::clang_rule_win() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.clang_rule_win) - return _internal_clang_rule_win(); +inline float ServerParam::pen_dist_x() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.pen_dist_x) + return _internal_pen_dist_x(); } -inline void ServerParam::set_clang_rule_win(::int32_t value) { - _internal_set_clang_rule_win(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.clang_rule_win) +inline void ServerParam::set_pen_dist_x(float value) { + _internal_set_pen_dist_x(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.pen_dist_x) } -inline ::int32_t ServerParam::_internal_clang_rule_win() const { - return _impl_.clang_rule_win_; +inline float ServerParam::_internal_pen_dist_x() const { + return _impl_.pen_dist_x_; } -inline void ServerParam::_internal_set_clang_rule_win(::int32_t value) { +inline void ServerParam::_internal_set_pen_dist_x(float value) { ; - _impl_.clang_rule_win_ = value; + _impl_.pen_dist_x_ = value; } -// bool auto_mode = 150; -inline void ServerParam::clear_auto_mode() { - _impl_.auto_mode_ = false; +// bool pen_random_winner = 175; +inline void ServerParam::clear_pen_random_winner() { + _impl_.pen_random_winner_ = false; } -inline bool ServerParam::auto_mode() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.auto_mode) - return _internal_auto_mode(); +inline bool ServerParam::pen_random_winner() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.pen_random_winner) + return _internal_pen_random_winner(); } -inline void ServerParam::set_auto_mode(bool value) { - _internal_set_auto_mode(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.auto_mode) +inline void ServerParam::set_pen_random_winner(bool value) { + _internal_set_pen_random_winner(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.pen_random_winner) } -inline bool ServerParam::_internal_auto_mode() const { - return _impl_.auto_mode_; +inline bool ServerParam::_internal_pen_random_winner() const { + return _impl_.pen_random_winner_; } -inline void ServerParam::_internal_set_auto_mode(bool value) { +inline void ServerParam::_internal_set_pen_random_winner(bool value) { ; - _impl_.auto_mode_ = value; + _impl_.pen_random_winner_ = value; } -// int32 kick_off_wait = 151; -inline void ServerParam::clear_kick_off_wait() { - _impl_.kick_off_wait_ = 0; +// bool pen_allow_mult_kicks = 176; +inline void ServerParam::clear_pen_allow_mult_kicks() { + _impl_.pen_allow_mult_kicks_ = false; } -inline ::int32_t ServerParam::kick_off_wait() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.kick_off_wait) - return _internal_kick_off_wait(); +inline bool ServerParam::pen_allow_mult_kicks() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.pen_allow_mult_kicks) + return _internal_pen_allow_mult_kicks(); } -inline void ServerParam::set_kick_off_wait(::int32_t value) { - _internal_set_kick_off_wait(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.kick_off_wait) +inline void ServerParam::set_pen_allow_mult_kicks(bool value) { + _internal_set_pen_allow_mult_kicks(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.pen_allow_mult_kicks) } -inline ::int32_t ServerParam::_internal_kick_off_wait() const { - return _impl_.kick_off_wait_; +inline bool ServerParam::_internal_pen_allow_mult_kicks() const { + return _impl_.pen_allow_mult_kicks_; } -inline void ServerParam::_internal_set_kick_off_wait(::int32_t value) { +inline void ServerParam::_internal_set_pen_allow_mult_kicks(bool value) { ; - _impl_.kick_off_wait_ = value; + _impl_.pen_allow_mult_kicks_ = value; } -// int32 connect_wait = 152; -inline void ServerParam::clear_connect_wait() { - _impl_.connect_wait_ = 0; +// float pen_max_goalie_dist_x = 177; +inline void ServerParam::clear_pen_max_goalie_dist_x() { + _impl_.pen_max_goalie_dist_x_ = 0; } -inline ::int32_t ServerParam::connect_wait() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.connect_wait) - return _internal_connect_wait(); +inline float ServerParam::pen_max_goalie_dist_x() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.pen_max_goalie_dist_x) + return _internal_pen_max_goalie_dist_x(); } -inline void ServerParam::set_connect_wait(::int32_t value) { - _internal_set_connect_wait(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.connect_wait) +inline void ServerParam::set_pen_max_goalie_dist_x(float value) { + _internal_set_pen_max_goalie_dist_x(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.pen_max_goalie_dist_x) } -inline ::int32_t ServerParam::_internal_connect_wait() const { - return _impl_.connect_wait_; +inline float ServerParam::_internal_pen_max_goalie_dist_x() const { + return _impl_.pen_max_goalie_dist_x_; } -inline void ServerParam::_internal_set_connect_wait(::int32_t value) { +inline void ServerParam::_internal_set_pen_max_goalie_dist_x(float value) { ; - _impl_.connect_wait_ = value; + _impl_.pen_max_goalie_dist_x_ = value; } -// int32 game_over_wait = 153; -inline void ServerParam::clear_game_over_wait() { - _impl_.game_over_wait_ = 0; +// bool pen_coach_moves_players = 178; +inline void ServerParam::clear_pen_coach_moves_players() { + _impl_.pen_coach_moves_players_ = false; } -inline ::int32_t ServerParam::game_over_wait() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.game_over_wait) - return _internal_game_over_wait(); +inline bool ServerParam::pen_coach_moves_players() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.pen_coach_moves_players) + return _internal_pen_coach_moves_players(); } -inline void ServerParam::set_game_over_wait(::int32_t value) { - _internal_set_game_over_wait(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.game_over_wait) +inline void ServerParam::set_pen_coach_moves_players(bool value) { + _internal_set_pen_coach_moves_players(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.pen_coach_moves_players) } -inline ::int32_t ServerParam::_internal_game_over_wait() const { - return _impl_.game_over_wait_; +inline bool ServerParam::_internal_pen_coach_moves_players() const { + return _impl_.pen_coach_moves_players_; } -inline void ServerParam::_internal_set_game_over_wait(::int32_t value) { +inline void ServerParam::_internal_set_pen_coach_moves_players(bool value) { ; - _impl_.game_over_wait_ = value; + _impl_.pen_coach_moves_players_ = value; } -// string team_l_start = 154; -inline void ServerParam::clear_team_l_start() { - _impl_.team_l_start_.ClearToEmpty(); +// string module_dir = 179; +inline void ServerParam::clear_module_dir() { + _impl_.module_dir_.ClearToEmpty(); } -inline const std::string& ServerParam::team_l_start() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.team_l_start) - return _internal_team_l_start(); +inline const std::string& ServerParam::module_dir() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.module_dir) + return _internal_module_dir(); } template -inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_team_l_start(Arg_&& arg, +inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_module_dir(Arg_&& arg, Args_... args) { ; - _impl_.team_l_start_.Set(static_cast(arg), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:protos.ServerParam.team_l_start) + _impl_.module_dir_.Set(static_cast(arg), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:protos.ServerParam.module_dir) } -inline std::string* ServerParam::mutable_team_l_start() { - std::string* _s = _internal_mutable_team_l_start(); - // @@protoc_insertion_point(field_mutable:protos.ServerParam.team_l_start) +inline std::string* ServerParam::mutable_module_dir() { + std::string* _s = _internal_mutable_module_dir(); + // @@protoc_insertion_point(field_mutable:protos.ServerParam.module_dir) return _s; } -inline const std::string& ServerParam::_internal_team_l_start() const { - return _impl_.team_l_start_.Get(); +inline const std::string& ServerParam::_internal_module_dir() const { + return _impl_.module_dir_.Get(); } -inline void ServerParam::_internal_set_team_l_start(const std::string& value) { +inline void ServerParam::_internal_set_module_dir(const std::string& value) { ; - _impl_.team_l_start_.Set(value, GetArenaForAllocation()); + _impl_.module_dir_.Set(value, GetArenaForAllocation()); } -inline std::string* ServerParam::_internal_mutable_team_l_start() { +inline std::string* ServerParam::_internal_mutable_module_dir() { ; - return _impl_.team_l_start_.Mutable( GetArenaForAllocation()); + return _impl_.module_dir_.Mutable( GetArenaForAllocation()); } -inline std::string* ServerParam::release_team_l_start() { - // @@protoc_insertion_point(field_release:protos.ServerParam.team_l_start) - return _impl_.team_l_start_.Release(); +inline std::string* ServerParam::release_module_dir() { + // @@protoc_insertion_point(field_release:protos.ServerParam.module_dir) + return _impl_.module_dir_.Release(); } -inline void ServerParam::set_allocated_team_l_start(std::string* value) { - _impl_.team_l_start_.SetAllocated(value, GetArenaForAllocation()); +inline void ServerParam::set_allocated_module_dir(std::string* value) { + _impl_.module_dir_.SetAllocated(value, GetArenaForAllocation()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.team_l_start_.IsDefault()) { - _impl_.team_l_start_.Set("", GetArenaForAllocation()); + if (_impl_.module_dir_.IsDefault()) { + _impl_.module_dir_.Set("", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.team_l_start) + // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.module_dir) } -// string team_r_start = 155; -inline void ServerParam::clear_team_r_start() { - _impl_.team_r_start_.ClearToEmpty(); +// float ball_stuck_area = 180; +inline void ServerParam::clear_ball_stuck_area() { + _impl_.ball_stuck_area_ = 0; } -inline const std::string& ServerParam::team_r_start() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.team_r_start) - return _internal_team_r_start(); +inline float ServerParam::ball_stuck_area() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.ball_stuck_area) + return _internal_ball_stuck_area(); +} +inline void ServerParam::set_ball_stuck_area(float value) { + _internal_set_ball_stuck_area(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.ball_stuck_area) +} +inline float ServerParam::_internal_ball_stuck_area() const { + return _impl_.ball_stuck_area_; +} +inline void ServerParam::_internal_set_ball_stuck_area(float value) { + ; + _impl_.ball_stuck_area_ = value; +} + +// string coach_msg_file = 181; +inline void ServerParam::clear_coach_msg_file() { + _impl_.coach_msg_file_.ClearToEmpty(); +} +inline const std::string& ServerParam::coach_msg_file() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.coach_msg_file) + return _internal_coach_msg_file(); } template -inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_team_r_start(Arg_&& arg, +inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_coach_msg_file(Arg_&& arg, Args_... args) { ; - _impl_.team_r_start_.Set(static_cast(arg), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:protos.ServerParam.team_r_start) + _impl_.coach_msg_file_.Set(static_cast(arg), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:protos.ServerParam.coach_msg_file) } -inline std::string* ServerParam::mutable_team_r_start() { - std::string* _s = _internal_mutable_team_r_start(); - // @@protoc_insertion_point(field_mutable:protos.ServerParam.team_r_start) +inline std::string* ServerParam::mutable_coach_msg_file() { + std::string* _s = _internal_mutable_coach_msg_file(); + // @@protoc_insertion_point(field_mutable:protos.ServerParam.coach_msg_file) return _s; } -inline const std::string& ServerParam::_internal_team_r_start() const { - return _impl_.team_r_start_.Get(); +inline const std::string& ServerParam::_internal_coach_msg_file() const { + return _impl_.coach_msg_file_.Get(); } -inline void ServerParam::_internal_set_team_r_start(const std::string& value) { +inline void ServerParam::_internal_set_coach_msg_file(const std::string& value) { ; - _impl_.team_r_start_.Set(value, GetArenaForAllocation()); + _impl_.coach_msg_file_.Set(value, GetArenaForAllocation()); } -inline std::string* ServerParam::_internal_mutable_team_r_start() { +inline std::string* ServerParam::_internal_mutable_coach_msg_file() { ; - return _impl_.team_r_start_.Mutable( GetArenaForAllocation()); + return _impl_.coach_msg_file_.Mutable( GetArenaForAllocation()); } -inline std::string* ServerParam::release_team_r_start() { - // @@protoc_insertion_point(field_release:protos.ServerParam.team_r_start) - return _impl_.team_r_start_.Release(); +inline std::string* ServerParam::release_coach_msg_file() { + // @@protoc_insertion_point(field_release:protos.ServerParam.coach_msg_file) + return _impl_.coach_msg_file_.Release(); } -inline void ServerParam::set_allocated_team_r_start(std::string* value) { - _impl_.team_r_start_.SetAllocated(value, GetArenaForAllocation()); +inline void ServerParam::set_allocated_coach_msg_file(std::string* value) { + _impl_.coach_msg_file_.SetAllocated(value, GetArenaForAllocation()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.team_r_start_.IsDefault()) { - _impl_.team_r_start_.Set("", GetArenaForAllocation()); + if (_impl_.coach_msg_file_.IsDefault()) { + _impl_.coach_msg_file_.Set("", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.team_r_start) + // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.coach_msg_file) } -// bool keepaway_mode = 156; -inline void ServerParam::clear_keepaway_mode() { - _impl_.keepaway_mode_ = false; +// float max_tackle_power = 182; +inline void ServerParam::clear_max_tackle_power() { + _impl_.max_tackle_power_ = 0; } -inline bool ServerParam::keepaway_mode() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.keepaway_mode) - return _internal_keepaway_mode(); +inline float ServerParam::max_tackle_power() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.max_tackle_power) + return _internal_max_tackle_power(); } -inline void ServerParam::set_keepaway_mode(bool value) { - _internal_set_keepaway_mode(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.keepaway_mode) +inline void ServerParam::set_max_tackle_power(float value) { + _internal_set_max_tackle_power(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.max_tackle_power) } -inline bool ServerParam::_internal_keepaway_mode() const { - return _impl_.keepaway_mode_; +inline float ServerParam::_internal_max_tackle_power() const { + return _impl_.max_tackle_power_; } -inline void ServerParam::_internal_set_keepaway_mode(bool value) { +inline void ServerParam::_internal_set_max_tackle_power(float value) { ; - _impl_.keepaway_mode_ = value; + _impl_.max_tackle_power_ = value; } -// float keepaway_length = 157; -inline void ServerParam::clear_keepaway_length() { - _impl_.keepaway_length_ = 0; +// float max_back_tackle_power = 183; +inline void ServerParam::clear_max_back_tackle_power() { + _impl_.max_back_tackle_power_ = 0; } -inline float ServerParam::keepaway_length() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.keepaway_length) - return _internal_keepaway_length(); +inline float ServerParam::max_back_tackle_power() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.max_back_tackle_power) + return _internal_max_back_tackle_power(); } -inline void ServerParam::set_keepaway_length(float value) { - _internal_set_keepaway_length(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.keepaway_length) +inline void ServerParam::set_max_back_tackle_power(float value) { + _internal_set_max_back_tackle_power(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.max_back_tackle_power) } -inline float ServerParam::_internal_keepaway_length() const { - return _impl_.keepaway_length_; +inline float ServerParam::_internal_max_back_tackle_power() const { + return _impl_.max_back_tackle_power_; } -inline void ServerParam::_internal_set_keepaway_length(float value) { +inline void ServerParam::_internal_set_max_back_tackle_power(float value) { ; - _impl_.keepaway_length_ = value; + _impl_.max_back_tackle_power_ = value; } -// float keepaway_width = 158; -inline void ServerParam::clear_keepaway_width() { - _impl_.keepaway_width_ = 0; +// float player_speed_max_min = 184; +inline void ServerParam::clear_player_speed_max_min() { + _impl_.player_speed_max_min_ = 0; } -inline float ServerParam::keepaway_width() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.keepaway_width) - return _internal_keepaway_width(); +inline float ServerParam::player_speed_max_min() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.player_speed_max_min) + return _internal_player_speed_max_min(); } -inline void ServerParam::set_keepaway_width(float value) { - _internal_set_keepaway_width(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.keepaway_width) +inline void ServerParam::set_player_speed_max_min(float value) { + _internal_set_player_speed_max_min(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.player_speed_max_min) } -inline float ServerParam::_internal_keepaway_width() const { - return _impl_.keepaway_width_; +inline float ServerParam::_internal_player_speed_max_min() const { + return _impl_.player_speed_max_min_; } -inline void ServerParam::_internal_set_keepaway_width(float value) { +inline void ServerParam::_internal_set_player_speed_max_min(float value) { ; - _impl_.keepaway_width_ = value; + _impl_.player_speed_max_min_ = value; } -// bool keepaway_logging = 159; -inline void ServerParam::clear_keepaway_logging() { - _impl_.keepaway_logging_ = false; +// float extra_stamina = 185; +inline void ServerParam::clear_extra_stamina() { + _impl_.extra_stamina_ = 0; } -inline bool ServerParam::keepaway_logging() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.keepaway_logging) - return _internal_keepaway_logging(); +inline float ServerParam::extra_stamina() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.extra_stamina) + return _internal_extra_stamina(); } -inline void ServerParam::set_keepaway_logging(bool value) { - _internal_set_keepaway_logging(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.keepaway_logging) +inline void ServerParam::set_extra_stamina(float value) { + _internal_set_extra_stamina(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.extra_stamina) } -inline bool ServerParam::_internal_keepaway_logging() const { - return _impl_.keepaway_logging_; +inline float ServerParam::_internal_extra_stamina() const { + return _impl_.extra_stamina_; } -inline void ServerParam::_internal_set_keepaway_logging(bool value) { +inline void ServerParam::_internal_set_extra_stamina(float value) { ; - _impl_.keepaway_logging_ = value; + _impl_.extra_stamina_ = value; } -// string keepaway_log_dir = 160; -inline void ServerParam::clear_keepaway_log_dir() { - _impl_.keepaway_log_dir_.ClearToEmpty(); -} -inline const std::string& ServerParam::keepaway_log_dir() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.keepaway_log_dir) - return _internal_keepaway_log_dir(); +// int32 synch_see_offset = 186; +inline void ServerParam::clear_synch_see_offset() { + _impl_.synch_see_offset_ = 0; } -template -inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_keepaway_log_dir(Arg_&& arg, - Args_... args) { - ; - _impl_.keepaway_log_dir_.Set(static_cast(arg), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:protos.ServerParam.keepaway_log_dir) +inline ::int32_t ServerParam::synch_see_offset() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.synch_see_offset) + return _internal_synch_see_offset(); } -inline std::string* ServerParam::mutable_keepaway_log_dir() { - std::string* _s = _internal_mutable_keepaway_log_dir(); - // @@protoc_insertion_point(field_mutable:protos.ServerParam.keepaway_log_dir) - return _s; +inline void ServerParam::set_synch_see_offset(::int32_t value) { + _internal_set_synch_see_offset(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.synch_see_offset) } -inline const std::string& ServerParam::_internal_keepaway_log_dir() const { - return _impl_.keepaway_log_dir_.Get(); +inline ::int32_t ServerParam::_internal_synch_see_offset() const { + return _impl_.synch_see_offset_; } -inline void ServerParam::_internal_set_keepaway_log_dir(const std::string& value) { +inline void ServerParam::_internal_set_synch_see_offset(::int32_t value) { ; + _impl_.synch_see_offset_ = value; +} - - _impl_.keepaway_log_dir_.Set(value, GetArenaForAllocation()); +// int32 extra_half_time = 187; +inline void ServerParam::clear_extra_half_time() { + _impl_.extra_half_time_ = 0; } -inline std::string* ServerParam::_internal_mutable_keepaway_log_dir() { - ; - return _impl_.keepaway_log_dir_.Mutable( GetArenaForAllocation()); +inline ::int32_t ServerParam::extra_half_time() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.extra_half_time) + return _internal_extra_half_time(); } -inline std::string* ServerParam::release_keepaway_log_dir() { - // @@protoc_insertion_point(field_release:protos.ServerParam.keepaway_log_dir) - return _impl_.keepaway_log_dir_.Release(); +inline void ServerParam::set_extra_half_time(::int32_t value) { + _internal_set_extra_half_time(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.extra_half_time) } -inline void ServerParam::set_allocated_keepaway_log_dir(std::string* value) { - _impl_.keepaway_log_dir_.SetAllocated(value, GetArenaForAllocation()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.keepaway_log_dir_.IsDefault()) { - _impl_.keepaway_log_dir_.Set("", GetArenaForAllocation()); - } - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.keepaway_log_dir) +inline ::int32_t ServerParam::_internal_extra_half_time() const { + return _impl_.extra_half_time_; +} +inline void ServerParam::_internal_set_extra_half_time(::int32_t value) { + ; + _impl_.extra_half_time_ = value; } -// string keepaway_log_fixed_name = 161; -inline void ServerParam::clear_keepaway_log_fixed_name() { - _impl_.keepaway_log_fixed_name_.ClearToEmpty(); +// float stamina_capacity = 188; +inline void ServerParam::clear_stamina_capacity() { + _impl_.stamina_capacity_ = 0; } -inline const std::string& ServerParam::keepaway_log_fixed_name() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.keepaway_log_fixed_name) - return _internal_keepaway_log_fixed_name(); +inline float ServerParam::stamina_capacity() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.stamina_capacity) + return _internal_stamina_capacity(); } -template -inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_keepaway_log_fixed_name(Arg_&& arg, - Args_... args) { +inline void ServerParam::set_stamina_capacity(float value) { + _internal_set_stamina_capacity(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.stamina_capacity) +} +inline float ServerParam::_internal_stamina_capacity() const { + return _impl_.stamina_capacity_; +} +inline void ServerParam::_internal_set_stamina_capacity(float value) { ; - _impl_.keepaway_log_fixed_name_.Set(static_cast(arg), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:protos.ServerParam.keepaway_log_fixed_name) + _impl_.stamina_capacity_ = value; } -inline std::string* ServerParam::mutable_keepaway_log_fixed_name() { - std::string* _s = _internal_mutable_keepaway_log_fixed_name(); - // @@protoc_insertion_point(field_mutable:protos.ServerParam.keepaway_log_fixed_name) - return _s; + +// float max_dash_angle = 189; +inline void ServerParam::clear_max_dash_angle() { + _impl_.max_dash_angle_ = 0; } -inline const std::string& ServerParam::_internal_keepaway_log_fixed_name() const { - return _impl_.keepaway_log_fixed_name_.Get(); +inline float ServerParam::max_dash_angle() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.max_dash_angle) + return _internal_max_dash_angle(); +} +inline void ServerParam::set_max_dash_angle(float value) { + _internal_set_max_dash_angle(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.max_dash_angle) +} +inline float ServerParam::_internal_max_dash_angle() const { + return _impl_.max_dash_angle_; } -inline void ServerParam::_internal_set_keepaway_log_fixed_name(const std::string& value) { +inline void ServerParam::_internal_set_max_dash_angle(float value) { ; + _impl_.max_dash_angle_ = value; +} - - _impl_.keepaway_log_fixed_name_.Set(value, GetArenaForAllocation()); +// float min_dash_angle = 190; +inline void ServerParam::clear_min_dash_angle() { + _impl_.min_dash_angle_ = 0; } -inline std::string* ServerParam::_internal_mutable_keepaway_log_fixed_name() { - ; - return _impl_.keepaway_log_fixed_name_.Mutable( GetArenaForAllocation()); +inline float ServerParam::min_dash_angle() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.min_dash_angle) + return _internal_min_dash_angle(); } -inline std::string* ServerParam::release_keepaway_log_fixed_name() { - // @@protoc_insertion_point(field_release:protos.ServerParam.keepaway_log_fixed_name) - return _impl_.keepaway_log_fixed_name_.Release(); +inline void ServerParam::set_min_dash_angle(float value) { + _internal_set_min_dash_angle(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.min_dash_angle) } -inline void ServerParam::set_allocated_keepaway_log_fixed_name(std::string* value) { - _impl_.keepaway_log_fixed_name_.SetAllocated(value, GetArenaForAllocation()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.keepaway_log_fixed_name_.IsDefault()) { - _impl_.keepaway_log_fixed_name_.Set("", GetArenaForAllocation()); - } - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.keepaway_log_fixed_name) +inline float ServerParam::_internal_min_dash_angle() const { + return _impl_.min_dash_angle_; +} +inline void ServerParam::_internal_set_min_dash_angle(float value) { + ; + _impl_.min_dash_angle_ = value; } -// bool keepaway_log_fixed = 162; -inline void ServerParam::clear_keepaway_log_fixed() { - _impl_.keepaway_log_fixed_ = false; +// float dash_angle_step = 191; +inline void ServerParam::clear_dash_angle_step() { + _impl_.dash_angle_step_ = 0; } -inline bool ServerParam::keepaway_log_fixed() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.keepaway_log_fixed) - return _internal_keepaway_log_fixed(); +inline float ServerParam::dash_angle_step() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.dash_angle_step) + return _internal_dash_angle_step(); } -inline void ServerParam::set_keepaway_log_fixed(bool value) { - _internal_set_keepaway_log_fixed(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.keepaway_log_fixed) +inline void ServerParam::set_dash_angle_step(float value) { + _internal_set_dash_angle_step(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.dash_angle_step) } -inline bool ServerParam::_internal_keepaway_log_fixed() const { - return _impl_.keepaway_log_fixed_; +inline float ServerParam::_internal_dash_angle_step() const { + return _impl_.dash_angle_step_; } -inline void ServerParam::_internal_set_keepaway_log_fixed(bool value) { +inline void ServerParam::_internal_set_dash_angle_step(float value) { ; - _impl_.keepaway_log_fixed_ = value; + _impl_.dash_angle_step_ = value; } -// bool keepaway_log_dated = 163; -inline void ServerParam::clear_keepaway_log_dated() { - _impl_.keepaway_log_dated_ = false; +// float side_dash_rate = 192; +inline void ServerParam::clear_side_dash_rate() { + _impl_.side_dash_rate_ = 0; } -inline bool ServerParam::keepaway_log_dated() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.keepaway_log_dated) - return _internal_keepaway_log_dated(); +inline float ServerParam::side_dash_rate() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.side_dash_rate) + return _internal_side_dash_rate(); } -inline void ServerParam::set_keepaway_log_dated(bool value) { - _internal_set_keepaway_log_dated(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.keepaway_log_dated) +inline void ServerParam::set_side_dash_rate(float value) { + _internal_set_side_dash_rate(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.side_dash_rate) } -inline bool ServerParam::_internal_keepaway_log_dated() const { - return _impl_.keepaway_log_dated_; +inline float ServerParam::_internal_side_dash_rate() const { + return _impl_.side_dash_rate_; } -inline void ServerParam::_internal_set_keepaway_log_dated(bool value) { +inline void ServerParam::_internal_set_side_dash_rate(float value) { ; - _impl_.keepaway_log_dated_ = value; + _impl_.side_dash_rate_ = value; } -// int32 keepaway_start = 164; -inline void ServerParam::clear_keepaway_start() { - _impl_.keepaway_start_ = 0; +// float back_dash_rate = 193; +inline void ServerParam::clear_back_dash_rate() { + _impl_.back_dash_rate_ = 0; } -inline ::int32_t ServerParam::keepaway_start() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.keepaway_start) - return _internal_keepaway_start(); +inline float ServerParam::back_dash_rate() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.back_dash_rate) + return _internal_back_dash_rate(); } -inline void ServerParam::set_keepaway_start(::int32_t value) { - _internal_set_keepaway_start(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.keepaway_start) +inline void ServerParam::set_back_dash_rate(float value) { + _internal_set_back_dash_rate(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.back_dash_rate) } -inline ::int32_t ServerParam::_internal_keepaway_start() const { - return _impl_.keepaway_start_; +inline float ServerParam::_internal_back_dash_rate() const { + return _impl_.back_dash_rate_; } -inline void ServerParam::_internal_set_keepaway_start(::int32_t value) { +inline void ServerParam::_internal_set_back_dash_rate(float value) { ; - _impl_.keepaway_start_ = value; + _impl_.back_dash_rate_ = value; } -// int32 nr_normal_halfs = 165; -inline void ServerParam::clear_nr_normal_halfs() { - _impl_.nr_normal_halfs_ = 0; +// float max_dash_power = 194; +inline void ServerParam::clear_max_dash_power() { + _impl_.max_dash_power_ = 0; } -inline ::int32_t ServerParam::nr_normal_halfs() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.nr_normal_halfs) - return _internal_nr_normal_halfs(); +inline float ServerParam::max_dash_power() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.max_dash_power) + return _internal_max_dash_power(); } -inline void ServerParam::set_nr_normal_halfs(::int32_t value) { - _internal_set_nr_normal_halfs(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.nr_normal_halfs) +inline void ServerParam::set_max_dash_power(float value) { + _internal_set_max_dash_power(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.max_dash_power) } -inline ::int32_t ServerParam::_internal_nr_normal_halfs() const { - return _impl_.nr_normal_halfs_; +inline float ServerParam::_internal_max_dash_power() const { + return _impl_.max_dash_power_; } -inline void ServerParam::_internal_set_nr_normal_halfs(::int32_t value) { +inline void ServerParam::_internal_set_max_dash_power(float value) { ; - _impl_.nr_normal_halfs_ = value; + _impl_.max_dash_power_ = value; } -// int32 nr_extra_halfs = 166; -inline void ServerParam::clear_nr_extra_halfs() { - _impl_.nr_extra_halfs_ = 0; +// float min_dash_power = 195; +inline void ServerParam::clear_min_dash_power() { + _impl_.min_dash_power_ = 0; } -inline ::int32_t ServerParam::nr_extra_halfs() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.nr_extra_halfs) - return _internal_nr_extra_halfs(); +inline float ServerParam::min_dash_power() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.min_dash_power) + return _internal_min_dash_power(); } -inline void ServerParam::set_nr_extra_halfs(::int32_t value) { - _internal_set_nr_extra_halfs(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.nr_extra_halfs) +inline void ServerParam::set_min_dash_power(float value) { + _internal_set_min_dash_power(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.min_dash_power) } -inline ::int32_t ServerParam::_internal_nr_extra_halfs() const { - return _impl_.nr_extra_halfs_; +inline float ServerParam::_internal_min_dash_power() const { + return _impl_.min_dash_power_; } -inline void ServerParam::_internal_set_nr_extra_halfs(::int32_t value) { +inline void ServerParam::_internal_set_min_dash_power(float value) { ; - _impl_.nr_extra_halfs_ = value; + _impl_.min_dash_power_ = value; } -// bool penalty_shoot_outs = 167; -inline void ServerParam::clear_penalty_shoot_outs() { - _impl_.penalty_shoot_outs_ = false; +// float tackle_rand_factor = 196; +inline void ServerParam::clear_tackle_rand_factor() { + _impl_.tackle_rand_factor_ = 0; } -inline bool ServerParam::penalty_shoot_outs() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.penalty_shoot_outs) - return _internal_penalty_shoot_outs(); +inline float ServerParam::tackle_rand_factor() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.tackle_rand_factor) + return _internal_tackle_rand_factor(); } -inline void ServerParam::set_penalty_shoot_outs(bool value) { - _internal_set_penalty_shoot_outs(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.penalty_shoot_outs) +inline void ServerParam::set_tackle_rand_factor(float value) { + _internal_set_tackle_rand_factor(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.tackle_rand_factor) } -inline bool ServerParam::_internal_penalty_shoot_outs() const { - return _impl_.penalty_shoot_outs_; +inline float ServerParam::_internal_tackle_rand_factor() const { + return _impl_.tackle_rand_factor_; } -inline void ServerParam::_internal_set_penalty_shoot_outs(bool value) { +inline void ServerParam::_internal_set_tackle_rand_factor(float value) { ; - _impl_.penalty_shoot_outs_ = value; + _impl_.tackle_rand_factor_ = value; } -// int32 pen_before_setup_wait = 168; -inline void ServerParam::clear_pen_before_setup_wait() { - _impl_.pen_before_setup_wait_ = 0; +// float foul_detect_probability = 197; +inline void ServerParam::clear_foul_detect_probability() { + _impl_.foul_detect_probability_ = 0; } -inline ::int32_t ServerParam::pen_before_setup_wait() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.pen_before_setup_wait) - return _internal_pen_before_setup_wait(); +inline float ServerParam::foul_detect_probability() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.foul_detect_probability) + return _internal_foul_detect_probability(); } -inline void ServerParam::set_pen_before_setup_wait(::int32_t value) { - _internal_set_pen_before_setup_wait(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.pen_before_setup_wait) +inline void ServerParam::set_foul_detect_probability(float value) { + _internal_set_foul_detect_probability(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.foul_detect_probability) } -inline ::int32_t ServerParam::_internal_pen_before_setup_wait() const { - return _impl_.pen_before_setup_wait_; +inline float ServerParam::_internal_foul_detect_probability() const { + return _impl_.foul_detect_probability_; } -inline void ServerParam::_internal_set_pen_before_setup_wait(::int32_t value) { +inline void ServerParam::_internal_set_foul_detect_probability(float value) { ; - _impl_.pen_before_setup_wait_ = value; + _impl_.foul_detect_probability_ = value; } -// int32 pen_setup_wait = 169; -inline void ServerParam::clear_pen_setup_wait() { - _impl_.pen_setup_wait_ = 0; +// float foul_exponent = 198; +inline void ServerParam::clear_foul_exponent() { + _impl_.foul_exponent_ = 0; } -inline ::int32_t ServerParam::pen_setup_wait() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.pen_setup_wait) - return _internal_pen_setup_wait(); +inline float ServerParam::foul_exponent() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.foul_exponent) + return _internal_foul_exponent(); } -inline void ServerParam::set_pen_setup_wait(::int32_t value) { - _internal_set_pen_setup_wait(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.pen_setup_wait) +inline void ServerParam::set_foul_exponent(float value) { + _internal_set_foul_exponent(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.foul_exponent) } -inline ::int32_t ServerParam::_internal_pen_setup_wait() const { - return _impl_.pen_setup_wait_; +inline float ServerParam::_internal_foul_exponent() const { + return _impl_.foul_exponent_; } -inline void ServerParam::_internal_set_pen_setup_wait(::int32_t value) { +inline void ServerParam::_internal_set_foul_exponent(float value) { ; - _impl_.pen_setup_wait_ = value; + _impl_.foul_exponent_ = value; } -// int32 pen_ready_wait = 170; -inline void ServerParam::clear_pen_ready_wait() { - _impl_.pen_ready_wait_ = 0; +// int32 foul_cycles = 199; +inline void ServerParam::clear_foul_cycles() { + _impl_.foul_cycles_ = 0; } -inline ::int32_t ServerParam::pen_ready_wait() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.pen_ready_wait) - return _internal_pen_ready_wait(); +inline ::int32_t ServerParam::foul_cycles() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.foul_cycles) + return _internal_foul_cycles(); } -inline void ServerParam::set_pen_ready_wait(::int32_t value) { - _internal_set_pen_ready_wait(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.pen_ready_wait) +inline void ServerParam::set_foul_cycles(::int32_t value) { + _internal_set_foul_cycles(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.foul_cycles) } -inline ::int32_t ServerParam::_internal_pen_ready_wait() const { - return _impl_.pen_ready_wait_; +inline ::int32_t ServerParam::_internal_foul_cycles() const { + return _impl_.foul_cycles_; } -inline void ServerParam::_internal_set_pen_ready_wait(::int32_t value) { +inline void ServerParam::_internal_set_foul_cycles(::int32_t value) { ; - _impl_.pen_ready_wait_ = value; + _impl_.foul_cycles_ = value; } -// int32 pen_taken_wait = 171; -inline void ServerParam::clear_pen_taken_wait() { - _impl_.pen_taken_wait_ = 0; +// bool golden_goal = 200; +inline void ServerParam::clear_golden_goal() { + _impl_.golden_goal_ = false; } -inline ::int32_t ServerParam::pen_taken_wait() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.pen_taken_wait) - return _internal_pen_taken_wait(); +inline bool ServerParam::golden_goal() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.golden_goal) + return _internal_golden_goal(); } -inline void ServerParam::set_pen_taken_wait(::int32_t value) { - _internal_set_pen_taken_wait(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.pen_taken_wait) +inline void ServerParam::set_golden_goal(bool value) { + _internal_set_golden_goal(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.golden_goal) } -inline ::int32_t ServerParam::_internal_pen_taken_wait() const { - return _impl_.pen_taken_wait_; +inline bool ServerParam::_internal_golden_goal() const { + return _impl_.golden_goal_; } -inline void ServerParam::_internal_set_pen_taken_wait(::int32_t value) { +inline void ServerParam::_internal_set_golden_goal(bool value) { ; - _impl_.pen_taken_wait_ = value; + _impl_.golden_goal_ = value; } -// int32 pen_nr_kicks = 172; -inline void ServerParam::clear_pen_nr_kicks() { - _impl_.pen_nr_kicks_ = 0; +// float red_card_probability = 201; +inline void ServerParam::clear_red_card_probability() { + _impl_.red_card_probability_ = 0; } -inline ::int32_t ServerParam::pen_nr_kicks() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.pen_nr_kicks) - return _internal_pen_nr_kicks(); +inline float ServerParam::red_card_probability() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.red_card_probability) + return _internal_red_card_probability(); } -inline void ServerParam::set_pen_nr_kicks(::int32_t value) { - _internal_set_pen_nr_kicks(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.pen_nr_kicks) +inline void ServerParam::set_red_card_probability(float value) { + _internal_set_red_card_probability(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.red_card_probability) } -inline ::int32_t ServerParam::_internal_pen_nr_kicks() const { - return _impl_.pen_nr_kicks_; +inline float ServerParam::_internal_red_card_probability() const { + return _impl_.red_card_probability_; } -inline void ServerParam::_internal_set_pen_nr_kicks(::int32_t value) { +inline void ServerParam::_internal_set_red_card_probability(float value) { ; - _impl_.pen_nr_kicks_ = value; + _impl_.red_card_probability_ = value; } -// int32 pen_max_extra_kicks = 173; -inline void ServerParam::clear_pen_max_extra_kicks() { - _impl_.pen_max_extra_kicks_ = 0; +// int32 illegal_defense_duration = 202; +inline void ServerParam::clear_illegal_defense_duration() { + _impl_.illegal_defense_duration_ = 0; } -inline ::int32_t ServerParam::pen_max_extra_kicks() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.pen_max_extra_kicks) - return _internal_pen_max_extra_kicks(); +inline ::int32_t ServerParam::illegal_defense_duration() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.illegal_defense_duration) + return _internal_illegal_defense_duration(); } -inline void ServerParam::set_pen_max_extra_kicks(::int32_t value) { - _internal_set_pen_max_extra_kicks(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.pen_max_extra_kicks) +inline void ServerParam::set_illegal_defense_duration(::int32_t value) { + _internal_set_illegal_defense_duration(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.illegal_defense_duration) } -inline ::int32_t ServerParam::_internal_pen_max_extra_kicks() const { - return _impl_.pen_max_extra_kicks_; +inline ::int32_t ServerParam::_internal_illegal_defense_duration() const { + return _impl_.illegal_defense_duration_; } -inline void ServerParam::_internal_set_pen_max_extra_kicks(::int32_t value) { +inline void ServerParam::_internal_set_illegal_defense_duration(::int32_t value) { ; - _impl_.pen_max_extra_kicks_ = value; + _impl_.illegal_defense_duration_ = value; } -// float pen_dist_x = 174; -inline void ServerParam::clear_pen_dist_x() { - _impl_.pen_dist_x_ = 0; +// int32 illegal_defense_number = 203; +inline void ServerParam::clear_illegal_defense_number() { + _impl_.illegal_defense_number_ = 0; } -inline float ServerParam::pen_dist_x() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.pen_dist_x) - return _internal_pen_dist_x(); +inline ::int32_t ServerParam::illegal_defense_number() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.illegal_defense_number) + return _internal_illegal_defense_number(); } -inline void ServerParam::set_pen_dist_x(float value) { - _internal_set_pen_dist_x(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.pen_dist_x) +inline void ServerParam::set_illegal_defense_number(::int32_t value) { + _internal_set_illegal_defense_number(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.illegal_defense_number) } -inline float ServerParam::_internal_pen_dist_x() const { - return _impl_.pen_dist_x_; +inline ::int32_t ServerParam::_internal_illegal_defense_number() const { + return _impl_.illegal_defense_number_; } -inline void ServerParam::_internal_set_pen_dist_x(float value) { +inline void ServerParam::_internal_set_illegal_defense_number(::int32_t value) { ; - _impl_.pen_dist_x_ = value; + _impl_.illegal_defense_number_ = value; } -// bool pen_random_winner = 175; -inline void ServerParam::clear_pen_random_winner() { - _impl_.pen_random_winner_ = false; +// float illegal_defense_dist_x = 204; +inline void ServerParam::clear_illegal_defense_dist_x() { + _impl_.illegal_defense_dist_x_ = 0; } -inline bool ServerParam::pen_random_winner() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.pen_random_winner) - return _internal_pen_random_winner(); +inline float ServerParam::illegal_defense_dist_x() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.illegal_defense_dist_x) + return _internal_illegal_defense_dist_x(); } -inline void ServerParam::set_pen_random_winner(bool value) { - _internal_set_pen_random_winner(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.pen_random_winner) +inline void ServerParam::set_illegal_defense_dist_x(float value) { + _internal_set_illegal_defense_dist_x(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.illegal_defense_dist_x) } -inline bool ServerParam::_internal_pen_random_winner() const { - return _impl_.pen_random_winner_; +inline float ServerParam::_internal_illegal_defense_dist_x() const { + return _impl_.illegal_defense_dist_x_; } -inline void ServerParam::_internal_set_pen_random_winner(bool value) { +inline void ServerParam::_internal_set_illegal_defense_dist_x(float value) { ; - _impl_.pen_random_winner_ = value; + _impl_.illegal_defense_dist_x_ = value; } -// bool pen_allow_mult_kicks = 176; -inline void ServerParam::clear_pen_allow_mult_kicks() { - _impl_.pen_allow_mult_kicks_ = false; +// float illegal_defense_width = 205; +inline void ServerParam::clear_illegal_defense_width() { + _impl_.illegal_defense_width_ = 0; } -inline bool ServerParam::pen_allow_mult_kicks() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.pen_allow_mult_kicks) - return _internal_pen_allow_mult_kicks(); +inline float ServerParam::illegal_defense_width() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.illegal_defense_width) + return _internal_illegal_defense_width(); } -inline void ServerParam::set_pen_allow_mult_kicks(bool value) { - _internal_set_pen_allow_mult_kicks(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.pen_allow_mult_kicks) +inline void ServerParam::set_illegal_defense_width(float value) { + _internal_set_illegal_defense_width(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.illegal_defense_width) } -inline bool ServerParam::_internal_pen_allow_mult_kicks() const { - return _impl_.pen_allow_mult_kicks_; +inline float ServerParam::_internal_illegal_defense_width() const { + return _impl_.illegal_defense_width_; } -inline void ServerParam::_internal_set_pen_allow_mult_kicks(bool value) { +inline void ServerParam::_internal_set_illegal_defense_width(float value) { ; - _impl_.pen_allow_mult_kicks_ = value; + _impl_.illegal_defense_width_ = value; } -// float pen_max_goalie_dist_x = 177; -inline void ServerParam::clear_pen_max_goalie_dist_x() { - _impl_.pen_max_goalie_dist_x_ = 0; +// string fixed_teamname_l = 206; +inline void ServerParam::clear_fixed_teamname_l() { + _impl_.fixed_teamname_l_.ClearToEmpty(); } -inline float ServerParam::pen_max_goalie_dist_x() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.pen_max_goalie_dist_x) - return _internal_pen_max_goalie_dist_x(); +inline const std::string& ServerParam::fixed_teamname_l() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.fixed_teamname_l) + return _internal_fixed_teamname_l(); } -inline void ServerParam::set_pen_max_goalie_dist_x(float value) { - _internal_set_pen_max_goalie_dist_x(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.pen_max_goalie_dist_x) +template +inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_fixed_teamname_l(Arg_&& arg, + Args_... args) { + ; + _impl_.fixed_teamname_l_.Set(static_cast(arg), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:protos.ServerParam.fixed_teamname_l) } -inline float ServerParam::_internal_pen_max_goalie_dist_x() const { - return _impl_.pen_max_goalie_dist_x_; +inline std::string* ServerParam::mutable_fixed_teamname_l() { + std::string* _s = _internal_mutable_fixed_teamname_l(); + // @@protoc_insertion_point(field_mutable:protos.ServerParam.fixed_teamname_l) + return _s; } -inline void ServerParam::_internal_set_pen_max_goalie_dist_x(float value) { - ; - _impl_.pen_max_goalie_dist_x_ = value; +inline const std::string& ServerParam::_internal_fixed_teamname_l() const { + return _impl_.fixed_teamname_l_.Get(); } +inline void ServerParam::_internal_set_fixed_teamname_l(const std::string& value) { + ; -// bool pen_coach_moves_players = 178; -inline void ServerParam::clear_pen_coach_moves_players() { - _impl_.pen_coach_moves_players_ = false; -} -inline bool ServerParam::pen_coach_moves_players() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.pen_coach_moves_players) - return _internal_pen_coach_moves_players(); + + _impl_.fixed_teamname_l_.Set(value, GetArenaForAllocation()); } -inline void ServerParam::set_pen_coach_moves_players(bool value) { - _internal_set_pen_coach_moves_players(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.pen_coach_moves_players) +inline std::string* ServerParam::_internal_mutable_fixed_teamname_l() { + ; + return _impl_.fixed_teamname_l_.Mutable( GetArenaForAllocation()); } -inline bool ServerParam::_internal_pen_coach_moves_players() const { - return _impl_.pen_coach_moves_players_; +inline std::string* ServerParam::release_fixed_teamname_l() { + // @@protoc_insertion_point(field_release:protos.ServerParam.fixed_teamname_l) + return _impl_.fixed_teamname_l_.Release(); } -inline void ServerParam::_internal_set_pen_coach_moves_players(bool value) { - ; - _impl_.pen_coach_moves_players_ = value; +inline void ServerParam::set_allocated_fixed_teamname_l(std::string* value) { + _impl_.fixed_teamname_l_.SetAllocated(value, GetArenaForAllocation()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.fixed_teamname_l_.IsDefault()) { + _impl_.fixed_teamname_l_.Set("", GetArenaForAllocation()); + } + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.fixed_teamname_l) } -// string module_dir = 179; -inline void ServerParam::clear_module_dir() { - _impl_.module_dir_.ClearToEmpty(); +// string fixed_teamname_r = 207; +inline void ServerParam::clear_fixed_teamname_r() { + _impl_.fixed_teamname_r_.ClearToEmpty(); } -inline const std::string& ServerParam::module_dir() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.module_dir) - return _internal_module_dir(); +inline const std::string& ServerParam::fixed_teamname_r() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.fixed_teamname_r) + return _internal_fixed_teamname_r(); } template -inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_module_dir(Arg_&& arg, +inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_fixed_teamname_r(Arg_&& arg, Args_... args) { ; - _impl_.module_dir_.Set(static_cast(arg), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:protos.ServerParam.module_dir) -} -inline std::string* ServerParam::mutable_module_dir() { - std::string* _s = _internal_mutable_module_dir(); - // @@protoc_insertion_point(field_mutable:protos.ServerParam.module_dir) + _impl_.fixed_teamname_r_.Set(static_cast(arg), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:protos.ServerParam.fixed_teamname_r) +} +inline std::string* ServerParam::mutable_fixed_teamname_r() { + std::string* _s = _internal_mutable_fixed_teamname_r(); + // @@protoc_insertion_point(field_mutable:protos.ServerParam.fixed_teamname_r) return _s; } -inline const std::string& ServerParam::_internal_module_dir() const { - return _impl_.module_dir_.Get(); +inline const std::string& ServerParam::_internal_fixed_teamname_r() const { + return _impl_.fixed_teamname_r_.Get(); } -inline void ServerParam::_internal_set_module_dir(const std::string& value) { +inline void ServerParam::_internal_set_fixed_teamname_r(const std::string& value) { ; - _impl_.module_dir_.Set(value, GetArenaForAllocation()); + _impl_.fixed_teamname_r_.Set(value, GetArenaForAllocation()); } -inline std::string* ServerParam::_internal_mutable_module_dir() { +inline std::string* ServerParam::_internal_mutable_fixed_teamname_r() { ; - return _impl_.module_dir_.Mutable( GetArenaForAllocation()); + return _impl_.fixed_teamname_r_.Mutable( GetArenaForAllocation()); } -inline std::string* ServerParam::release_module_dir() { - // @@protoc_insertion_point(field_release:protos.ServerParam.module_dir) - return _impl_.module_dir_.Release(); +inline std::string* ServerParam::release_fixed_teamname_r() { + // @@protoc_insertion_point(field_release:protos.ServerParam.fixed_teamname_r) + return _impl_.fixed_teamname_r_.Release(); } -inline void ServerParam::set_allocated_module_dir(std::string* value) { - _impl_.module_dir_.SetAllocated(value, GetArenaForAllocation()); +inline void ServerParam::set_allocated_fixed_teamname_r(std::string* value) { + _impl_.fixed_teamname_r_.SetAllocated(value, GetArenaForAllocation()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.module_dir_.IsDefault()) { - _impl_.module_dir_.Set("", GetArenaForAllocation()); + if (_impl_.fixed_teamname_r_.IsDefault()) { + _impl_.fixed_teamname_r_.Set("", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.module_dir) + // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.fixed_teamname_r) } -// float ball_stuck_area = 180; -inline void ServerParam::clear_ball_stuck_area() { - _impl_.ball_stuck_area_ = 0; +// float max_catch_angle = 208; +inline void ServerParam::clear_max_catch_angle() { + _impl_.max_catch_angle_ = 0; } -inline float ServerParam::ball_stuck_area() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.ball_stuck_area) - return _internal_ball_stuck_area(); +inline float ServerParam::max_catch_angle() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.max_catch_angle) + return _internal_max_catch_angle(); } -inline void ServerParam::set_ball_stuck_area(float value) { - _internal_set_ball_stuck_area(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.ball_stuck_area) +inline void ServerParam::set_max_catch_angle(float value) { + _internal_set_max_catch_angle(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.max_catch_angle) } -inline float ServerParam::_internal_ball_stuck_area() const { - return _impl_.ball_stuck_area_; +inline float ServerParam::_internal_max_catch_angle() const { + return _impl_.max_catch_angle_; } -inline void ServerParam::_internal_set_ball_stuck_area(float value) { +inline void ServerParam::_internal_set_max_catch_angle(float value) { ; - _impl_.ball_stuck_area_ = value; + _impl_.max_catch_angle_ = value; } -// string coach_msg_file = 181; -inline void ServerParam::clear_coach_msg_file() { - _impl_.coach_msg_file_.ClearToEmpty(); +// float min_catch_angle = 209; +inline void ServerParam::clear_min_catch_angle() { + _impl_.min_catch_angle_ = 0; } -inline const std::string& ServerParam::coach_msg_file() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.coach_msg_file) - return _internal_coach_msg_file(); +inline float ServerParam::min_catch_angle() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.min_catch_angle) + return _internal_min_catch_angle(); } -template -inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_coach_msg_file(Arg_&& arg, - Args_... args) { +inline void ServerParam::set_min_catch_angle(float value) { + _internal_set_min_catch_angle(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.min_catch_angle) +} +inline float ServerParam::_internal_min_catch_angle() const { + return _impl_.min_catch_angle_; +} +inline void ServerParam::_internal_set_min_catch_angle(float value) { ; - _impl_.coach_msg_file_.Set(static_cast(arg), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:protos.ServerParam.coach_msg_file) + _impl_.min_catch_angle_ = value; } -inline std::string* ServerParam::mutable_coach_msg_file() { - std::string* _s = _internal_mutable_coach_msg_file(); - // @@protoc_insertion_point(field_mutable:protos.ServerParam.coach_msg_file) - return _s; + +// int32 random_seed = 210; +inline void ServerParam::clear_random_seed() { + _impl_.random_seed_ = 0; } -inline const std::string& ServerParam::_internal_coach_msg_file() const { - return _impl_.coach_msg_file_.Get(); +inline ::int32_t ServerParam::random_seed() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.random_seed) + return _internal_random_seed(); } -inline void ServerParam::_internal_set_coach_msg_file(const std::string& value) { +inline void ServerParam::set_random_seed(::int32_t value) { + _internal_set_random_seed(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.random_seed) +} +inline ::int32_t ServerParam::_internal_random_seed() const { + return _impl_.random_seed_; +} +inline void ServerParam::_internal_set_random_seed(::int32_t value) { ; + _impl_.random_seed_ = value; +} - - _impl_.coach_msg_file_.Set(value, GetArenaForAllocation()); +// float long_kick_power_factor = 211; +inline void ServerParam::clear_long_kick_power_factor() { + _impl_.long_kick_power_factor_ = 0; } -inline std::string* ServerParam::_internal_mutable_coach_msg_file() { - ; - return _impl_.coach_msg_file_.Mutable( GetArenaForAllocation()); +inline float ServerParam::long_kick_power_factor() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.long_kick_power_factor) + return _internal_long_kick_power_factor(); } -inline std::string* ServerParam::release_coach_msg_file() { - // @@protoc_insertion_point(field_release:protos.ServerParam.coach_msg_file) - return _impl_.coach_msg_file_.Release(); +inline void ServerParam::set_long_kick_power_factor(float value) { + _internal_set_long_kick_power_factor(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.long_kick_power_factor) } -inline void ServerParam::set_allocated_coach_msg_file(std::string* value) { - _impl_.coach_msg_file_.SetAllocated(value, GetArenaForAllocation()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.coach_msg_file_.IsDefault()) { - _impl_.coach_msg_file_.Set("", GetArenaForAllocation()); - } - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.coach_msg_file) +inline float ServerParam::_internal_long_kick_power_factor() const { + return _impl_.long_kick_power_factor_; +} +inline void ServerParam::_internal_set_long_kick_power_factor(float value) { + ; + _impl_.long_kick_power_factor_ = value; } -// float max_tackle_power = 182; -inline void ServerParam::clear_max_tackle_power() { - _impl_.max_tackle_power_ = 0; +// int32 long_kick_delay = 212; +inline void ServerParam::clear_long_kick_delay() { + _impl_.long_kick_delay_ = 0; } -inline float ServerParam::max_tackle_power() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.max_tackle_power) - return _internal_max_tackle_power(); +inline ::int32_t ServerParam::long_kick_delay() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.long_kick_delay) + return _internal_long_kick_delay(); } -inline void ServerParam::set_max_tackle_power(float value) { - _internal_set_max_tackle_power(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.max_tackle_power) +inline void ServerParam::set_long_kick_delay(::int32_t value) { + _internal_set_long_kick_delay(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.long_kick_delay) } -inline float ServerParam::_internal_max_tackle_power() const { - return _impl_.max_tackle_power_; +inline ::int32_t ServerParam::_internal_long_kick_delay() const { + return _impl_.long_kick_delay_; } -inline void ServerParam::_internal_set_max_tackle_power(float value) { +inline void ServerParam::_internal_set_long_kick_delay(::int32_t value) { ; - _impl_.max_tackle_power_ = value; + _impl_.long_kick_delay_ = value; } -// float max_back_tackle_power = 183; -inline void ServerParam::clear_max_back_tackle_power() { - _impl_.max_back_tackle_power_ = 0; +// int32 max_monitors = 213; +inline void ServerParam::clear_max_monitors() { + _impl_.max_monitors_ = 0; } -inline float ServerParam::max_back_tackle_power() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.max_back_tackle_power) - return _internal_max_back_tackle_power(); +inline ::int32_t ServerParam::max_monitors() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.max_monitors) + return _internal_max_monitors(); } -inline void ServerParam::set_max_back_tackle_power(float value) { - _internal_set_max_back_tackle_power(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.max_back_tackle_power) +inline void ServerParam::set_max_monitors(::int32_t value) { + _internal_set_max_monitors(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.max_monitors) } -inline float ServerParam::_internal_max_back_tackle_power() const { - return _impl_.max_back_tackle_power_; +inline ::int32_t ServerParam::_internal_max_monitors() const { + return _impl_.max_monitors_; } -inline void ServerParam::_internal_set_max_back_tackle_power(float value) { +inline void ServerParam::_internal_set_max_monitors(::int32_t value) { ; - _impl_.max_back_tackle_power_ = value; + _impl_.max_monitors_ = value; } -// float player_speed_max_min = 184; -inline void ServerParam::clear_player_speed_max_min() { - _impl_.player_speed_max_min_ = 0; +// float catchable_area = 214; +inline void ServerParam::clear_catchable_area() { + _impl_.catchable_area_ = 0; } -inline float ServerParam::player_speed_max_min() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.player_speed_max_min) - return _internal_player_speed_max_min(); +inline float ServerParam::catchable_area() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.catchable_area) + return _internal_catchable_area(); } -inline void ServerParam::set_player_speed_max_min(float value) { - _internal_set_player_speed_max_min(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.player_speed_max_min) +inline void ServerParam::set_catchable_area(float value) { + _internal_set_catchable_area(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.catchable_area) } -inline float ServerParam::_internal_player_speed_max_min() const { - return _impl_.player_speed_max_min_; +inline float ServerParam::_internal_catchable_area() const { + return _impl_.catchable_area_; } -inline void ServerParam::_internal_set_player_speed_max_min(float value) { +inline void ServerParam::_internal_set_catchable_area(float value) { ; - _impl_.player_speed_max_min_ = value; + _impl_.catchable_area_ = value; } -// float extra_stamina = 185; -inline void ServerParam::clear_extra_stamina() { - _impl_.extra_stamina_ = 0; +// float real_speed_max = 215; +inline void ServerParam::clear_real_speed_max() { + _impl_.real_speed_max_ = 0; } -inline float ServerParam::extra_stamina() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.extra_stamina) - return _internal_extra_stamina(); +inline float ServerParam::real_speed_max() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.real_speed_max) + return _internal_real_speed_max(); } -inline void ServerParam::set_extra_stamina(float value) { - _internal_set_extra_stamina(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.extra_stamina) +inline void ServerParam::set_real_speed_max(float value) { + _internal_set_real_speed_max(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.real_speed_max) } -inline float ServerParam::_internal_extra_stamina() const { - return _impl_.extra_stamina_; +inline float ServerParam::_internal_real_speed_max() const { + return _impl_.real_speed_max_; } -inline void ServerParam::_internal_set_extra_stamina(float value) { +inline void ServerParam::_internal_set_real_speed_max(float value) { ; - _impl_.extra_stamina_ = value; + _impl_.real_speed_max_ = value; } -// int32 synch_see_offset = 186; -inline void ServerParam::clear_synch_see_offset() { - _impl_.synch_see_offset_ = 0; +// float pitch_half_length = 216; +inline void ServerParam::clear_pitch_half_length() { + _impl_.pitch_half_length_ = 0; } -inline ::int32_t ServerParam::synch_see_offset() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.synch_see_offset) - return _internal_synch_see_offset(); +inline float ServerParam::pitch_half_length() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.pitch_half_length) + return _internal_pitch_half_length(); } -inline void ServerParam::set_synch_see_offset(::int32_t value) { - _internal_set_synch_see_offset(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.synch_see_offset) +inline void ServerParam::set_pitch_half_length(float value) { + _internal_set_pitch_half_length(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.pitch_half_length) } -inline ::int32_t ServerParam::_internal_synch_see_offset() const { - return _impl_.synch_see_offset_; +inline float ServerParam::_internal_pitch_half_length() const { + return _impl_.pitch_half_length_; } -inline void ServerParam::_internal_set_synch_see_offset(::int32_t value) { +inline void ServerParam::_internal_set_pitch_half_length(float value) { ; - _impl_.synch_see_offset_ = value; + _impl_.pitch_half_length_ = value; } -// int32 extra_half_time = 187; -inline void ServerParam::clear_extra_half_time() { - _impl_.extra_half_time_ = 0; +// float pitch_half_width = 217; +inline void ServerParam::clear_pitch_half_width() { + _impl_.pitch_half_width_ = 0; } -inline ::int32_t ServerParam::extra_half_time() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.extra_half_time) - return _internal_extra_half_time(); +inline float ServerParam::pitch_half_width() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.pitch_half_width) + return _internal_pitch_half_width(); } -inline void ServerParam::set_extra_half_time(::int32_t value) { - _internal_set_extra_half_time(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.extra_half_time) +inline void ServerParam::set_pitch_half_width(float value) { + _internal_set_pitch_half_width(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.pitch_half_width) } -inline ::int32_t ServerParam::_internal_extra_half_time() const { - return _impl_.extra_half_time_; +inline float ServerParam::_internal_pitch_half_width() const { + return _impl_.pitch_half_width_; } -inline void ServerParam::_internal_set_extra_half_time(::int32_t value) { +inline void ServerParam::_internal_set_pitch_half_width(float value) { ; - _impl_.extra_half_time_ = value; + _impl_.pitch_half_width_ = value; } -// float stamina_capacity = 188; -inline void ServerParam::clear_stamina_capacity() { - _impl_.stamina_capacity_ = 0; +// float our_penalty_area_line_x = 218; +inline void ServerParam::clear_our_penalty_area_line_x() { + _impl_.our_penalty_area_line_x_ = 0; } -inline float ServerParam::stamina_capacity() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.stamina_capacity) - return _internal_stamina_capacity(); +inline float ServerParam::our_penalty_area_line_x() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.our_penalty_area_line_x) + return _internal_our_penalty_area_line_x(); } -inline void ServerParam::set_stamina_capacity(float value) { - _internal_set_stamina_capacity(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.stamina_capacity) +inline void ServerParam::set_our_penalty_area_line_x(float value) { + _internal_set_our_penalty_area_line_x(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.our_penalty_area_line_x) } -inline float ServerParam::_internal_stamina_capacity() const { - return _impl_.stamina_capacity_; +inline float ServerParam::_internal_our_penalty_area_line_x() const { + return _impl_.our_penalty_area_line_x_; } -inline void ServerParam::_internal_set_stamina_capacity(float value) { +inline void ServerParam::_internal_set_our_penalty_area_line_x(float value) { ; - _impl_.stamina_capacity_ = value; + _impl_.our_penalty_area_line_x_ = value; } -// float max_dash_angle = 189; -inline void ServerParam::clear_max_dash_angle() { - _impl_.max_dash_angle_ = 0; +// float their_penalty_area_line_x = 219; +inline void ServerParam::clear_their_penalty_area_line_x() { + _impl_.their_penalty_area_line_x_ = 0; } -inline float ServerParam::max_dash_angle() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.max_dash_angle) - return _internal_max_dash_angle(); +inline float ServerParam::their_penalty_area_line_x() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.their_penalty_area_line_x) + return _internal_their_penalty_area_line_x(); } -inline void ServerParam::set_max_dash_angle(float value) { - _internal_set_max_dash_angle(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.max_dash_angle) +inline void ServerParam::set_their_penalty_area_line_x(float value) { + _internal_set_their_penalty_area_line_x(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.their_penalty_area_line_x) } -inline float ServerParam::_internal_max_dash_angle() const { - return _impl_.max_dash_angle_; +inline float ServerParam::_internal_their_penalty_area_line_x() const { + return _impl_.their_penalty_area_line_x_; } -inline void ServerParam::_internal_set_max_dash_angle(float value) { +inline void ServerParam::_internal_set_their_penalty_area_line_x(float value) { ; - _impl_.max_dash_angle_ = value; + _impl_.their_penalty_area_line_x_ = value; } -// float min_dash_angle = 190; -inline void ServerParam::clear_min_dash_angle() { - _impl_.min_dash_angle_ = 0; +// float penalty_area_half_width = 220; +inline void ServerParam::clear_penalty_area_half_width() { + _impl_.penalty_area_half_width_ = 0; } -inline float ServerParam::min_dash_angle() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.min_dash_angle) - return _internal_min_dash_angle(); +inline float ServerParam::penalty_area_half_width() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.penalty_area_half_width) + return _internal_penalty_area_half_width(); } -inline void ServerParam::set_min_dash_angle(float value) { - _internal_set_min_dash_angle(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.min_dash_angle) +inline void ServerParam::set_penalty_area_half_width(float value) { + _internal_set_penalty_area_half_width(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.penalty_area_half_width) } -inline float ServerParam::_internal_min_dash_angle() const { - return _impl_.min_dash_angle_; +inline float ServerParam::_internal_penalty_area_half_width() const { + return _impl_.penalty_area_half_width_; } -inline void ServerParam::_internal_set_min_dash_angle(float value) { +inline void ServerParam::_internal_set_penalty_area_half_width(float value) { ; - _impl_.min_dash_angle_ = value; + _impl_.penalty_area_half_width_ = value; } -// float dash_angle_step = 191; -inline void ServerParam::clear_dash_angle_step() { - _impl_.dash_angle_step_ = 0; +// float penalty_area_length = 221; +inline void ServerParam::clear_penalty_area_length() { + _impl_.penalty_area_length_ = 0; } -inline float ServerParam::dash_angle_step() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.dash_angle_step) - return _internal_dash_angle_step(); +inline float ServerParam::penalty_area_length() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.penalty_area_length) + return _internal_penalty_area_length(); } -inline void ServerParam::set_dash_angle_step(float value) { - _internal_set_dash_angle_step(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.dash_angle_step) +inline void ServerParam::set_penalty_area_length(float value) { + _internal_set_penalty_area_length(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.penalty_area_length) } -inline float ServerParam::_internal_dash_angle_step() const { - return _impl_.dash_angle_step_; +inline float ServerParam::_internal_penalty_area_length() const { + return _impl_.penalty_area_length_; } -inline void ServerParam::_internal_set_dash_angle_step(float value) { +inline void ServerParam::_internal_set_penalty_area_length(float value) { ; - _impl_.dash_angle_step_ = value; + _impl_.penalty_area_length_ = value; } -// float side_dash_rate = 192; -inline void ServerParam::clear_side_dash_rate() { - _impl_.side_dash_rate_ = 0; +// float goal_width = 222; +inline void ServerParam::clear_goal_width() { + _impl_.goal_width_ = 0; } -inline float ServerParam::side_dash_rate() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.side_dash_rate) - return _internal_side_dash_rate(); +inline float ServerParam::goal_width() const { + // @@protoc_insertion_point(field_get:protos.ServerParam.goal_width) + return _internal_goal_width(); } -inline void ServerParam::set_side_dash_rate(float value) { - _internal_set_side_dash_rate(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.side_dash_rate) +inline void ServerParam::set_goal_width(float value) { + _internal_set_goal_width(value); + // @@protoc_insertion_point(field_set:protos.ServerParam.goal_width) } -inline float ServerParam::_internal_side_dash_rate() const { - return _impl_.side_dash_rate_; +inline float ServerParam::_internal_goal_width() const { + return _impl_.goal_width_; } -inline void ServerParam::_internal_set_side_dash_rate(float value) { +inline void ServerParam::_internal_set_goal_width(float value) { ; - _impl_.side_dash_rate_ = value; + _impl_.goal_width_ = value; } -// float back_dash_rate = 193; -inline void ServerParam::clear_back_dash_rate() { - _impl_.back_dash_rate_ = 0; +// ------------------------------------------------------------------- + +// PlayerParam + +// .protos.RegisterResponse register_response = 1; +inline bool PlayerParam::has_register_response() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.register_response_ != nullptr); + return value; } -inline float ServerParam::back_dash_rate() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.back_dash_rate) - return _internal_back_dash_rate(); +inline void PlayerParam::clear_register_response() { + if (_impl_.register_response_ != nullptr) _impl_.register_response_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline void ServerParam::set_back_dash_rate(float value) { - _internal_set_back_dash_rate(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.back_dash_rate) +inline const ::protos::RegisterResponse& PlayerParam::_internal_register_response() const { + const ::protos::RegisterResponse* p = _impl_.register_response_; + return p != nullptr ? *p : reinterpret_cast( + ::protos::_RegisterResponse_default_instance_); } -inline float ServerParam::_internal_back_dash_rate() const { - return _impl_.back_dash_rate_; +inline const ::protos::RegisterResponse& PlayerParam::register_response() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.register_response) + return _internal_register_response(); } -inline void ServerParam::_internal_set_back_dash_rate(float value) { - ; - _impl_.back_dash_rate_ = value; +inline void PlayerParam::unsafe_arena_set_allocated_register_response( + ::protos::RegisterResponse* register_response) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.register_response_); + } + _impl_.register_response_ = register_response; + if (register_response) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerParam.register_response) +} +inline ::protos::RegisterResponse* PlayerParam::release_register_response() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::protos::RegisterResponse* temp = _impl_.register_response_; + _impl_.register_response_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::protos::RegisterResponse* PlayerParam::unsafe_arena_release_register_response() { + // @@protoc_insertion_point(field_release:protos.PlayerParam.register_response) + _impl_._has_bits_[0] &= ~0x00000001u; + ::protos::RegisterResponse* temp = _impl_.register_response_; + _impl_.register_response_ = nullptr; + return temp; +} +inline ::protos::RegisterResponse* PlayerParam::_internal_mutable_register_response() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.register_response_ == nullptr) { + auto* p = CreateMaybeMessage<::protos::RegisterResponse>(GetArenaForAllocation()); + _impl_.register_response_ = p; + } + return _impl_.register_response_; +} +inline ::protos::RegisterResponse* PlayerParam::mutable_register_response() { + ::protos::RegisterResponse* _msg = _internal_mutable_register_response(); + // @@protoc_insertion_point(field_mutable:protos.PlayerParam.register_response) + return _msg; +} +inline void PlayerParam::set_allocated_register_response(::protos::RegisterResponse* register_response) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.register_response_; + } + if (register_response) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(register_response); + if (message_arena != submessage_arena) { + register_response = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, register_response, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.register_response_ = register_response; + // @@protoc_insertion_point(field_set_allocated:protos.PlayerParam.register_response) } -// float max_dash_power = 194; -inline void ServerParam::clear_max_dash_power() { - _impl_.max_dash_power_ = 0; +// int32 player_types = 2; +inline void PlayerParam::clear_player_types() { + _impl_.player_types_ = 0; } -inline float ServerParam::max_dash_power() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.max_dash_power) - return _internal_max_dash_power(); +inline ::int32_t PlayerParam::player_types() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.player_types) + return _internal_player_types(); } -inline void ServerParam::set_max_dash_power(float value) { - _internal_set_max_dash_power(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.max_dash_power) +inline void PlayerParam::set_player_types(::int32_t value) { + _internal_set_player_types(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.player_types) } -inline float ServerParam::_internal_max_dash_power() const { - return _impl_.max_dash_power_; +inline ::int32_t PlayerParam::_internal_player_types() const { + return _impl_.player_types_; } -inline void ServerParam::_internal_set_max_dash_power(float value) { +inline void PlayerParam::_internal_set_player_types(::int32_t value) { ; - _impl_.max_dash_power_ = value; + _impl_.player_types_ = value; } -// float min_dash_power = 195; -inline void ServerParam::clear_min_dash_power() { - _impl_.min_dash_power_ = 0; +// int32 subs_max = 3; +inline void PlayerParam::clear_subs_max() { + _impl_.subs_max_ = 0; } -inline float ServerParam::min_dash_power() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.min_dash_power) - return _internal_min_dash_power(); +inline ::int32_t PlayerParam::subs_max() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.subs_max) + return _internal_subs_max(); } -inline void ServerParam::set_min_dash_power(float value) { - _internal_set_min_dash_power(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.min_dash_power) +inline void PlayerParam::set_subs_max(::int32_t value) { + _internal_set_subs_max(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.subs_max) } -inline float ServerParam::_internal_min_dash_power() const { - return _impl_.min_dash_power_; +inline ::int32_t PlayerParam::_internal_subs_max() const { + return _impl_.subs_max_; } -inline void ServerParam::_internal_set_min_dash_power(float value) { +inline void PlayerParam::_internal_set_subs_max(::int32_t value) { ; - _impl_.min_dash_power_ = value; + _impl_.subs_max_ = value; } -// float tackle_rand_factor = 196; -inline void ServerParam::clear_tackle_rand_factor() { - _impl_.tackle_rand_factor_ = 0; +// int32 pt_max = 4; +inline void PlayerParam::clear_pt_max() { + _impl_.pt_max_ = 0; } -inline float ServerParam::tackle_rand_factor() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.tackle_rand_factor) - return _internal_tackle_rand_factor(); +inline ::int32_t PlayerParam::pt_max() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.pt_max) + return _internal_pt_max(); } -inline void ServerParam::set_tackle_rand_factor(float value) { - _internal_set_tackle_rand_factor(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.tackle_rand_factor) +inline void PlayerParam::set_pt_max(::int32_t value) { + _internal_set_pt_max(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.pt_max) } -inline float ServerParam::_internal_tackle_rand_factor() const { - return _impl_.tackle_rand_factor_; +inline ::int32_t PlayerParam::_internal_pt_max() const { + return _impl_.pt_max_; } -inline void ServerParam::_internal_set_tackle_rand_factor(float value) { +inline void PlayerParam::_internal_set_pt_max(::int32_t value) { ; - _impl_.tackle_rand_factor_ = value; + _impl_.pt_max_ = value; } -// float foul_detect_probability = 197; -inline void ServerParam::clear_foul_detect_probability() { - _impl_.foul_detect_probability_ = 0; +// bool allow_mult_default_type = 5; +inline void PlayerParam::clear_allow_mult_default_type() { + _impl_.allow_mult_default_type_ = false; } -inline float ServerParam::foul_detect_probability() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.foul_detect_probability) - return _internal_foul_detect_probability(); +inline bool PlayerParam::allow_mult_default_type() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.allow_mult_default_type) + return _internal_allow_mult_default_type(); } -inline void ServerParam::set_foul_detect_probability(float value) { - _internal_set_foul_detect_probability(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.foul_detect_probability) +inline void PlayerParam::set_allow_mult_default_type(bool value) { + _internal_set_allow_mult_default_type(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.allow_mult_default_type) } -inline float ServerParam::_internal_foul_detect_probability() const { - return _impl_.foul_detect_probability_; +inline bool PlayerParam::_internal_allow_mult_default_type() const { + return _impl_.allow_mult_default_type_; } -inline void ServerParam::_internal_set_foul_detect_probability(float value) { +inline void PlayerParam::_internal_set_allow_mult_default_type(bool value) { ; - _impl_.foul_detect_probability_ = value; + _impl_.allow_mult_default_type_ = value; } -// float foul_exponent = 198; -inline void ServerParam::clear_foul_exponent() { - _impl_.foul_exponent_ = 0; +// float player_speed_max_delta_min = 6; +inline void PlayerParam::clear_player_speed_max_delta_min() { + _impl_.player_speed_max_delta_min_ = 0; } -inline float ServerParam::foul_exponent() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.foul_exponent) - return _internal_foul_exponent(); +inline float PlayerParam::player_speed_max_delta_min() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.player_speed_max_delta_min) + return _internal_player_speed_max_delta_min(); } -inline void ServerParam::set_foul_exponent(float value) { - _internal_set_foul_exponent(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.foul_exponent) +inline void PlayerParam::set_player_speed_max_delta_min(float value) { + _internal_set_player_speed_max_delta_min(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.player_speed_max_delta_min) } -inline float ServerParam::_internal_foul_exponent() const { - return _impl_.foul_exponent_; +inline float PlayerParam::_internal_player_speed_max_delta_min() const { + return _impl_.player_speed_max_delta_min_; } -inline void ServerParam::_internal_set_foul_exponent(float value) { +inline void PlayerParam::_internal_set_player_speed_max_delta_min(float value) { ; - _impl_.foul_exponent_ = value; + _impl_.player_speed_max_delta_min_ = value; } -// int32 foul_cycles = 199; -inline void ServerParam::clear_foul_cycles() { - _impl_.foul_cycles_ = 0; +// float player_speed_max_delta_max = 7; +inline void PlayerParam::clear_player_speed_max_delta_max() { + _impl_.player_speed_max_delta_max_ = 0; } -inline ::int32_t ServerParam::foul_cycles() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.foul_cycles) - return _internal_foul_cycles(); +inline float PlayerParam::player_speed_max_delta_max() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.player_speed_max_delta_max) + return _internal_player_speed_max_delta_max(); } -inline void ServerParam::set_foul_cycles(::int32_t value) { - _internal_set_foul_cycles(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.foul_cycles) +inline void PlayerParam::set_player_speed_max_delta_max(float value) { + _internal_set_player_speed_max_delta_max(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.player_speed_max_delta_max) } -inline ::int32_t ServerParam::_internal_foul_cycles() const { - return _impl_.foul_cycles_; +inline float PlayerParam::_internal_player_speed_max_delta_max() const { + return _impl_.player_speed_max_delta_max_; } -inline void ServerParam::_internal_set_foul_cycles(::int32_t value) { +inline void PlayerParam::_internal_set_player_speed_max_delta_max(float value) { ; - _impl_.foul_cycles_ = value; + _impl_.player_speed_max_delta_max_ = value; } -// bool golden_goal = 200; -inline void ServerParam::clear_golden_goal() { - _impl_.golden_goal_ = false; +// float stamina_inc_max_delta_factor = 8; +inline void PlayerParam::clear_stamina_inc_max_delta_factor() { + _impl_.stamina_inc_max_delta_factor_ = 0; } -inline bool ServerParam::golden_goal() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.golden_goal) - return _internal_golden_goal(); +inline float PlayerParam::stamina_inc_max_delta_factor() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.stamina_inc_max_delta_factor) + return _internal_stamina_inc_max_delta_factor(); } -inline void ServerParam::set_golden_goal(bool value) { - _internal_set_golden_goal(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.golden_goal) +inline void PlayerParam::set_stamina_inc_max_delta_factor(float value) { + _internal_set_stamina_inc_max_delta_factor(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.stamina_inc_max_delta_factor) } -inline bool ServerParam::_internal_golden_goal() const { - return _impl_.golden_goal_; +inline float PlayerParam::_internal_stamina_inc_max_delta_factor() const { + return _impl_.stamina_inc_max_delta_factor_; } -inline void ServerParam::_internal_set_golden_goal(bool value) { +inline void PlayerParam::_internal_set_stamina_inc_max_delta_factor(float value) { ; - _impl_.golden_goal_ = value; + _impl_.stamina_inc_max_delta_factor_ = value; } -// float red_card_probability = 201; -inline void ServerParam::clear_red_card_probability() { - _impl_.red_card_probability_ = 0; +// float player_decay_delta_min = 9; +inline void PlayerParam::clear_player_decay_delta_min() { + _impl_.player_decay_delta_min_ = 0; } -inline float ServerParam::red_card_probability() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.red_card_probability) - return _internal_red_card_probability(); +inline float PlayerParam::player_decay_delta_min() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.player_decay_delta_min) + return _internal_player_decay_delta_min(); } -inline void ServerParam::set_red_card_probability(float value) { - _internal_set_red_card_probability(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.red_card_probability) +inline void PlayerParam::set_player_decay_delta_min(float value) { + _internal_set_player_decay_delta_min(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.player_decay_delta_min) } -inline float ServerParam::_internal_red_card_probability() const { - return _impl_.red_card_probability_; +inline float PlayerParam::_internal_player_decay_delta_min() const { + return _impl_.player_decay_delta_min_; } -inline void ServerParam::_internal_set_red_card_probability(float value) { +inline void PlayerParam::_internal_set_player_decay_delta_min(float value) { ; - _impl_.red_card_probability_ = value; + _impl_.player_decay_delta_min_ = value; } -// int32 illegal_defense_duration = 202; -inline void ServerParam::clear_illegal_defense_duration() { - _impl_.illegal_defense_duration_ = 0; +// float player_decay_delta_max = 10; +inline void PlayerParam::clear_player_decay_delta_max() { + _impl_.player_decay_delta_max_ = 0; } -inline ::int32_t ServerParam::illegal_defense_duration() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.illegal_defense_duration) - return _internal_illegal_defense_duration(); +inline float PlayerParam::player_decay_delta_max() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.player_decay_delta_max) + return _internal_player_decay_delta_max(); } -inline void ServerParam::set_illegal_defense_duration(::int32_t value) { - _internal_set_illegal_defense_duration(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.illegal_defense_duration) +inline void PlayerParam::set_player_decay_delta_max(float value) { + _internal_set_player_decay_delta_max(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.player_decay_delta_max) } -inline ::int32_t ServerParam::_internal_illegal_defense_duration() const { - return _impl_.illegal_defense_duration_; +inline float PlayerParam::_internal_player_decay_delta_max() const { + return _impl_.player_decay_delta_max_; } -inline void ServerParam::_internal_set_illegal_defense_duration(::int32_t value) { +inline void PlayerParam::_internal_set_player_decay_delta_max(float value) { ; - _impl_.illegal_defense_duration_ = value; + _impl_.player_decay_delta_max_ = value; } -// int32 illegal_defense_number = 203; -inline void ServerParam::clear_illegal_defense_number() { - _impl_.illegal_defense_number_ = 0; +// float inertia_moment_delta_factor = 11; +inline void PlayerParam::clear_inertia_moment_delta_factor() { + _impl_.inertia_moment_delta_factor_ = 0; } -inline ::int32_t ServerParam::illegal_defense_number() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.illegal_defense_number) - return _internal_illegal_defense_number(); +inline float PlayerParam::inertia_moment_delta_factor() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.inertia_moment_delta_factor) + return _internal_inertia_moment_delta_factor(); } -inline void ServerParam::set_illegal_defense_number(::int32_t value) { - _internal_set_illegal_defense_number(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.illegal_defense_number) +inline void PlayerParam::set_inertia_moment_delta_factor(float value) { + _internal_set_inertia_moment_delta_factor(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.inertia_moment_delta_factor) } -inline ::int32_t ServerParam::_internal_illegal_defense_number() const { - return _impl_.illegal_defense_number_; +inline float PlayerParam::_internal_inertia_moment_delta_factor() const { + return _impl_.inertia_moment_delta_factor_; } -inline void ServerParam::_internal_set_illegal_defense_number(::int32_t value) { +inline void PlayerParam::_internal_set_inertia_moment_delta_factor(float value) { ; - _impl_.illegal_defense_number_ = value; + _impl_.inertia_moment_delta_factor_ = value; } -// float illegal_defense_dist_x = 204; -inline void ServerParam::clear_illegal_defense_dist_x() { - _impl_.illegal_defense_dist_x_ = 0; +// float dash_power_rate_delta_min = 12; +inline void PlayerParam::clear_dash_power_rate_delta_min() { + _impl_.dash_power_rate_delta_min_ = 0; } -inline float ServerParam::illegal_defense_dist_x() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.illegal_defense_dist_x) - return _internal_illegal_defense_dist_x(); +inline float PlayerParam::dash_power_rate_delta_min() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.dash_power_rate_delta_min) + return _internal_dash_power_rate_delta_min(); } -inline void ServerParam::set_illegal_defense_dist_x(float value) { - _internal_set_illegal_defense_dist_x(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.illegal_defense_dist_x) +inline void PlayerParam::set_dash_power_rate_delta_min(float value) { + _internal_set_dash_power_rate_delta_min(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.dash_power_rate_delta_min) } -inline float ServerParam::_internal_illegal_defense_dist_x() const { - return _impl_.illegal_defense_dist_x_; +inline float PlayerParam::_internal_dash_power_rate_delta_min() const { + return _impl_.dash_power_rate_delta_min_; } -inline void ServerParam::_internal_set_illegal_defense_dist_x(float value) { +inline void PlayerParam::_internal_set_dash_power_rate_delta_min(float value) { ; - _impl_.illegal_defense_dist_x_ = value; + _impl_.dash_power_rate_delta_min_ = value; } -// float illegal_defense_width = 205; -inline void ServerParam::clear_illegal_defense_width() { - _impl_.illegal_defense_width_ = 0; +// float dash_power_rate_delta_max = 13; +inline void PlayerParam::clear_dash_power_rate_delta_max() { + _impl_.dash_power_rate_delta_max_ = 0; } -inline float ServerParam::illegal_defense_width() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.illegal_defense_width) - return _internal_illegal_defense_width(); +inline float PlayerParam::dash_power_rate_delta_max() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.dash_power_rate_delta_max) + return _internal_dash_power_rate_delta_max(); } -inline void ServerParam::set_illegal_defense_width(float value) { - _internal_set_illegal_defense_width(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.illegal_defense_width) +inline void PlayerParam::set_dash_power_rate_delta_max(float value) { + _internal_set_dash_power_rate_delta_max(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.dash_power_rate_delta_max) } -inline float ServerParam::_internal_illegal_defense_width() const { - return _impl_.illegal_defense_width_; +inline float PlayerParam::_internal_dash_power_rate_delta_max() const { + return _impl_.dash_power_rate_delta_max_; } -inline void ServerParam::_internal_set_illegal_defense_width(float value) { +inline void PlayerParam::_internal_set_dash_power_rate_delta_max(float value) { ; - _impl_.illegal_defense_width_ = value; + _impl_.dash_power_rate_delta_max_ = value; } -// string fixed_teamname_l = 206; -inline void ServerParam::clear_fixed_teamname_l() { - _impl_.fixed_teamname_l_.ClearToEmpty(); -} -inline const std::string& ServerParam::fixed_teamname_l() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.fixed_teamname_l) - return _internal_fixed_teamname_l(); -} -template -inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_fixed_teamname_l(Arg_&& arg, - Args_... args) { - ; - _impl_.fixed_teamname_l_.Set(static_cast(arg), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:protos.ServerParam.fixed_teamname_l) +// float player_size_delta_factor = 14; +inline void PlayerParam::clear_player_size_delta_factor() { + _impl_.player_size_delta_factor_ = 0; } -inline std::string* ServerParam::mutable_fixed_teamname_l() { - std::string* _s = _internal_mutable_fixed_teamname_l(); - // @@protoc_insertion_point(field_mutable:protos.ServerParam.fixed_teamname_l) - return _s; +inline float PlayerParam::player_size_delta_factor() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.player_size_delta_factor) + return _internal_player_size_delta_factor(); } -inline const std::string& ServerParam::_internal_fixed_teamname_l() const { - return _impl_.fixed_teamname_l_.Get(); +inline void PlayerParam::set_player_size_delta_factor(float value) { + _internal_set_player_size_delta_factor(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.player_size_delta_factor) } -inline void ServerParam::_internal_set_fixed_teamname_l(const std::string& value) { - ; - - - _impl_.fixed_teamname_l_.Set(value, GetArenaForAllocation()); +inline float PlayerParam::_internal_player_size_delta_factor() const { + return _impl_.player_size_delta_factor_; } -inline std::string* ServerParam::_internal_mutable_fixed_teamname_l() { +inline void PlayerParam::_internal_set_player_size_delta_factor(float value) { ; - return _impl_.fixed_teamname_l_.Mutable( GetArenaForAllocation()); -} -inline std::string* ServerParam::release_fixed_teamname_l() { - // @@protoc_insertion_point(field_release:protos.ServerParam.fixed_teamname_l) - return _impl_.fixed_teamname_l_.Release(); -} -inline void ServerParam::set_allocated_fixed_teamname_l(std::string* value) { - _impl_.fixed_teamname_l_.SetAllocated(value, GetArenaForAllocation()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.fixed_teamname_l_.IsDefault()) { - _impl_.fixed_teamname_l_.Set("", GetArenaForAllocation()); - } - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.fixed_teamname_l) + _impl_.player_size_delta_factor_ = value; } -// string fixed_teamname_r = 207; -inline void ServerParam::clear_fixed_teamname_r() { - _impl_.fixed_teamname_r_.ClearToEmpty(); -} -inline const std::string& ServerParam::fixed_teamname_r() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.fixed_teamname_r) - return _internal_fixed_teamname_r(); -} -template -inline PROTOBUF_ALWAYS_INLINE void ServerParam::set_fixed_teamname_r(Arg_&& arg, - Args_... args) { - ; - _impl_.fixed_teamname_r_.Set(static_cast(arg), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:protos.ServerParam.fixed_teamname_r) +// float kickable_margin_delta_min = 15; +inline void PlayerParam::clear_kickable_margin_delta_min() { + _impl_.kickable_margin_delta_min_ = 0; } -inline std::string* ServerParam::mutable_fixed_teamname_r() { - std::string* _s = _internal_mutable_fixed_teamname_r(); - // @@protoc_insertion_point(field_mutable:protos.ServerParam.fixed_teamname_r) - return _s; +inline float PlayerParam::kickable_margin_delta_min() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.kickable_margin_delta_min) + return _internal_kickable_margin_delta_min(); } -inline const std::string& ServerParam::_internal_fixed_teamname_r() const { - return _impl_.fixed_teamname_r_.Get(); +inline void PlayerParam::set_kickable_margin_delta_min(float value) { + _internal_set_kickable_margin_delta_min(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.kickable_margin_delta_min) } -inline void ServerParam::_internal_set_fixed_teamname_r(const std::string& value) { - ; - - - _impl_.fixed_teamname_r_.Set(value, GetArenaForAllocation()); +inline float PlayerParam::_internal_kickable_margin_delta_min() const { + return _impl_.kickable_margin_delta_min_; } -inline std::string* ServerParam::_internal_mutable_fixed_teamname_r() { +inline void PlayerParam::_internal_set_kickable_margin_delta_min(float value) { ; - return _impl_.fixed_teamname_r_.Mutable( GetArenaForAllocation()); -} -inline std::string* ServerParam::release_fixed_teamname_r() { - // @@protoc_insertion_point(field_release:protos.ServerParam.fixed_teamname_r) - return _impl_.fixed_teamname_r_.Release(); -} -inline void ServerParam::set_allocated_fixed_teamname_r(std::string* value) { - _impl_.fixed_teamname_r_.SetAllocated(value, GetArenaForAllocation()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.fixed_teamname_r_.IsDefault()) { - _impl_.fixed_teamname_r_.Set("", GetArenaForAllocation()); - } - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:protos.ServerParam.fixed_teamname_r) + _impl_.kickable_margin_delta_min_ = value; } -// float max_catch_angle = 208; -inline void ServerParam::clear_max_catch_angle() { - _impl_.max_catch_angle_ = 0; +// float kickable_margin_delta_max = 16; +inline void PlayerParam::clear_kickable_margin_delta_max() { + _impl_.kickable_margin_delta_max_ = 0; } -inline float ServerParam::max_catch_angle() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.max_catch_angle) - return _internal_max_catch_angle(); +inline float PlayerParam::kickable_margin_delta_max() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.kickable_margin_delta_max) + return _internal_kickable_margin_delta_max(); } -inline void ServerParam::set_max_catch_angle(float value) { - _internal_set_max_catch_angle(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.max_catch_angle) +inline void PlayerParam::set_kickable_margin_delta_max(float value) { + _internal_set_kickable_margin_delta_max(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.kickable_margin_delta_max) } -inline float ServerParam::_internal_max_catch_angle() const { - return _impl_.max_catch_angle_; +inline float PlayerParam::_internal_kickable_margin_delta_max() const { + return _impl_.kickable_margin_delta_max_; } -inline void ServerParam::_internal_set_max_catch_angle(float value) { +inline void PlayerParam::_internal_set_kickable_margin_delta_max(float value) { ; - _impl_.max_catch_angle_ = value; + _impl_.kickable_margin_delta_max_ = value; } -// float min_catch_angle = 209; -inline void ServerParam::clear_min_catch_angle() { - _impl_.min_catch_angle_ = 0; +// float kick_rand_delta_factor = 17; +inline void PlayerParam::clear_kick_rand_delta_factor() { + _impl_.kick_rand_delta_factor_ = 0; } -inline float ServerParam::min_catch_angle() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.min_catch_angle) - return _internal_min_catch_angle(); +inline float PlayerParam::kick_rand_delta_factor() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.kick_rand_delta_factor) + return _internal_kick_rand_delta_factor(); } -inline void ServerParam::set_min_catch_angle(float value) { - _internal_set_min_catch_angle(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.min_catch_angle) +inline void PlayerParam::set_kick_rand_delta_factor(float value) { + _internal_set_kick_rand_delta_factor(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.kick_rand_delta_factor) } -inline float ServerParam::_internal_min_catch_angle() const { - return _impl_.min_catch_angle_; +inline float PlayerParam::_internal_kick_rand_delta_factor() const { + return _impl_.kick_rand_delta_factor_; } -inline void ServerParam::_internal_set_min_catch_angle(float value) { +inline void PlayerParam::_internal_set_kick_rand_delta_factor(float value) { ; - _impl_.min_catch_angle_ = value; + _impl_.kick_rand_delta_factor_ = value; } -// int32 random_seed = 210; -inline void ServerParam::clear_random_seed() { - _impl_.random_seed_ = 0; +// float extra_stamina_delta_min = 18; +inline void PlayerParam::clear_extra_stamina_delta_min() { + _impl_.extra_stamina_delta_min_ = 0; } -inline ::int32_t ServerParam::random_seed() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.random_seed) - return _internal_random_seed(); +inline float PlayerParam::extra_stamina_delta_min() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.extra_stamina_delta_min) + return _internal_extra_stamina_delta_min(); } -inline void ServerParam::set_random_seed(::int32_t value) { - _internal_set_random_seed(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.random_seed) +inline void PlayerParam::set_extra_stamina_delta_min(float value) { + _internal_set_extra_stamina_delta_min(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.extra_stamina_delta_min) } -inline ::int32_t ServerParam::_internal_random_seed() const { - return _impl_.random_seed_; +inline float PlayerParam::_internal_extra_stamina_delta_min() const { + return _impl_.extra_stamina_delta_min_; } -inline void ServerParam::_internal_set_random_seed(::int32_t value) { +inline void PlayerParam::_internal_set_extra_stamina_delta_min(float value) { ; - _impl_.random_seed_ = value; + _impl_.extra_stamina_delta_min_ = value; } - -// float long_kick_power_factor = 211; -inline void ServerParam::clear_long_kick_power_factor() { - _impl_.long_kick_power_factor_ = 0; + +// float extra_stamina_delta_max = 19; +inline void PlayerParam::clear_extra_stamina_delta_max() { + _impl_.extra_stamina_delta_max_ = 0; } -inline float ServerParam::long_kick_power_factor() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.long_kick_power_factor) - return _internal_long_kick_power_factor(); +inline float PlayerParam::extra_stamina_delta_max() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.extra_stamina_delta_max) + return _internal_extra_stamina_delta_max(); } -inline void ServerParam::set_long_kick_power_factor(float value) { - _internal_set_long_kick_power_factor(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.long_kick_power_factor) +inline void PlayerParam::set_extra_stamina_delta_max(float value) { + _internal_set_extra_stamina_delta_max(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.extra_stamina_delta_max) } -inline float ServerParam::_internal_long_kick_power_factor() const { - return _impl_.long_kick_power_factor_; +inline float PlayerParam::_internal_extra_stamina_delta_max() const { + return _impl_.extra_stamina_delta_max_; } -inline void ServerParam::_internal_set_long_kick_power_factor(float value) { +inline void PlayerParam::_internal_set_extra_stamina_delta_max(float value) { ; - _impl_.long_kick_power_factor_ = value; + _impl_.extra_stamina_delta_max_ = value; } -// int32 long_kick_delay = 212; -inline void ServerParam::clear_long_kick_delay() { - _impl_.long_kick_delay_ = 0; +// float effort_max_delta_factor = 20; +inline void PlayerParam::clear_effort_max_delta_factor() { + _impl_.effort_max_delta_factor_ = 0; } -inline ::int32_t ServerParam::long_kick_delay() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.long_kick_delay) - return _internal_long_kick_delay(); +inline float PlayerParam::effort_max_delta_factor() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.effort_max_delta_factor) + return _internal_effort_max_delta_factor(); } -inline void ServerParam::set_long_kick_delay(::int32_t value) { - _internal_set_long_kick_delay(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.long_kick_delay) +inline void PlayerParam::set_effort_max_delta_factor(float value) { + _internal_set_effort_max_delta_factor(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.effort_max_delta_factor) } -inline ::int32_t ServerParam::_internal_long_kick_delay() const { - return _impl_.long_kick_delay_; +inline float PlayerParam::_internal_effort_max_delta_factor() const { + return _impl_.effort_max_delta_factor_; } -inline void ServerParam::_internal_set_long_kick_delay(::int32_t value) { +inline void PlayerParam::_internal_set_effort_max_delta_factor(float value) { ; - _impl_.long_kick_delay_ = value; + _impl_.effort_max_delta_factor_ = value; } -// int32 max_monitors = 213; -inline void ServerParam::clear_max_monitors() { - _impl_.max_monitors_ = 0; +// float effort_min_delta_factor = 21; +inline void PlayerParam::clear_effort_min_delta_factor() { + _impl_.effort_min_delta_factor_ = 0; } -inline ::int32_t ServerParam::max_monitors() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.max_monitors) - return _internal_max_monitors(); +inline float PlayerParam::effort_min_delta_factor() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.effort_min_delta_factor) + return _internal_effort_min_delta_factor(); } -inline void ServerParam::set_max_monitors(::int32_t value) { - _internal_set_max_monitors(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.max_monitors) +inline void PlayerParam::set_effort_min_delta_factor(float value) { + _internal_set_effort_min_delta_factor(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.effort_min_delta_factor) } -inline ::int32_t ServerParam::_internal_max_monitors() const { - return _impl_.max_monitors_; +inline float PlayerParam::_internal_effort_min_delta_factor() const { + return _impl_.effort_min_delta_factor_; } -inline void ServerParam::_internal_set_max_monitors(::int32_t value) { +inline void PlayerParam::_internal_set_effort_min_delta_factor(float value) { ; - _impl_.max_monitors_ = value; + _impl_.effort_min_delta_factor_ = value; } -// float catchable_area = 214; -inline void ServerParam::clear_catchable_area() { - _impl_.catchable_area_ = 0; +// int32 random_seed = 22; +inline void PlayerParam::clear_random_seed() { + _impl_.random_seed_ = 0; } -inline float ServerParam::catchable_area() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.catchable_area) - return _internal_catchable_area(); +inline ::int32_t PlayerParam::random_seed() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.random_seed) + return _internal_random_seed(); } -inline void ServerParam::set_catchable_area(float value) { - _internal_set_catchable_area(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.catchable_area) +inline void PlayerParam::set_random_seed(::int32_t value) { + _internal_set_random_seed(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.random_seed) } -inline float ServerParam::_internal_catchable_area() const { - return _impl_.catchable_area_; +inline ::int32_t PlayerParam::_internal_random_seed() const { + return _impl_.random_seed_; } -inline void ServerParam::_internal_set_catchable_area(float value) { +inline void PlayerParam::_internal_set_random_seed(::int32_t value) { ; - _impl_.catchable_area_ = value; + _impl_.random_seed_ = value; } -// float real_speed_max = 215; -inline void ServerParam::clear_real_speed_max() { - _impl_.real_speed_max_ = 0; +// float new_dash_power_rate_delta_min = 23; +inline void PlayerParam::clear_new_dash_power_rate_delta_min() { + _impl_.new_dash_power_rate_delta_min_ = 0; } -inline float ServerParam::real_speed_max() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.real_speed_max) - return _internal_real_speed_max(); +inline float PlayerParam::new_dash_power_rate_delta_min() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.new_dash_power_rate_delta_min) + return _internal_new_dash_power_rate_delta_min(); } -inline void ServerParam::set_real_speed_max(float value) { - _internal_set_real_speed_max(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.real_speed_max) +inline void PlayerParam::set_new_dash_power_rate_delta_min(float value) { + _internal_set_new_dash_power_rate_delta_min(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.new_dash_power_rate_delta_min) } -inline float ServerParam::_internal_real_speed_max() const { - return _impl_.real_speed_max_; +inline float PlayerParam::_internal_new_dash_power_rate_delta_min() const { + return _impl_.new_dash_power_rate_delta_min_; } -inline void ServerParam::_internal_set_real_speed_max(float value) { +inline void PlayerParam::_internal_set_new_dash_power_rate_delta_min(float value) { ; - _impl_.real_speed_max_ = value; + _impl_.new_dash_power_rate_delta_min_ = value; } -// float pitch_half_length = 216; -inline void ServerParam::clear_pitch_half_length() { - _impl_.pitch_half_length_ = 0; +// float new_dash_power_rate_delta_max = 24; +inline void PlayerParam::clear_new_dash_power_rate_delta_max() { + _impl_.new_dash_power_rate_delta_max_ = 0; } -inline float ServerParam::pitch_half_length() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.pitch_half_length) - return _internal_pitch_half_length(); +inline float PlayerParam::new_dash_power_rate_delta_max() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.new_dash_power_rate_delta_max) + return _internal_new_dash_power_rate_delta_max(); } -inline void ServerParam::set_pitch_half_length(float value) { - _internal_set_pitch_half_length(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.pitch_half_length) +inline void PlayerParam::set_new_dash_power_rate_delta_max(float value) { + _internal_set_new_dash_power_rate_delta_max(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.new_dash_power_rate_delta_max) } -inline float ServerParam::_internal_pitch_half_length() const { - return _impl_.pitch_half_length_; +inline float PlayerParam::_internal_new_dash_power_rate_delta_max() const { + return _impl_.new_dash_power_rate_delta_max_; } -inline void ServerParam::_internal_set_pitch_half_length(float value) { +inline void PlayerParam::_internal_set_new_dash_power_rate_delta_max(float value) { ; - _impl_.pitch_half_length_ = value; + _impl_.new_dash_power_rate_delta_max_ = value; } -// float pitch_half_width = 217; -inline void ServerParam::clear_pitch_half_width() { - _impl_.pitch_half_width_ = 0; +// float new_stamina_inc_max_delta_factor = 25; +inline void PlayerParam::clear_new_stamina_inc_max_delta_factor() { + _impl_.new_stamina_inc_max_delta_factor_ = 0; } -inline float ServerParam::pitch_half_width() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.pitch_half_width) - return _internal_pitch_half_width(); +inline float PlayerParam::new_stamina_inc_max_delta_factor() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.new_stamina_inc_max_delta_factor) + return _internal_new_stamina_inc_max_delta_factor(); } -inline void ServerParam::set_pitch_half_width(float value) { - _internal_set_pitch_half_width(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.pitch_half_width) +inline void PlayerParam::set_new_stamina_inc_max_delta_factor(float value) { + _internal_set_new_stamina_inc_max_delta_factor(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.new_stamina_inc_max_delta_factor) } -inline float ServerParam::_internal_pitch_half_width() const { - return _impl_.pitch_half_width_; +inline float PlayerParam::_internal_new_stamina_inc_max_delta_factor() const { + return _impl_.new_stamina_inc_max_delta_factor_; } -inline void ServerParam::_internal_set_pitch_half_width(float value) { +inline void PlayerParam::_internal_set_new_stamina_inc_max_delta_factor(float value) { ; - _impl_.pitch_half_width_ = value; + _impl_.new_stamina_inc_max_delta_factor_ = value; } -// float our_penalty_area_line_x = 218; -inline void ServerParam::clear_our_penalty_area_line_x() { - _impl_.our_penalty_area_line_x_ = 0; +// float kick_power_rate_delta_min = 26; +inline void PlayerParam::clear_kick_power_rate_delta_min() { + _impl_.kick_power_rate_delta_min_ = 0; } -inline float ServerParam::our_penalty_area_line_x() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.our_penalty_area_line_x) - return _internal_our_penalty_area_line_x(); +inline float PlayerParam::kick_power_rate_delta_min() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.kick_power_rate_delta_min) + return _internal_kick_power_rate_delta_min(); } -inline void ServerParam::set_our_penalty_area_line_x(float value) { - _internal_set_our_penalty_area_line_x(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.our_penalty_area_line_x) +inline void PlayerParam::set_kick_power_rate_delta_min(float value) { + _internal_set_kick_power_rate_delta_min(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.kick_power_rate_delta_min) } -inline float ServerParam::_internal_our_penalty_area_line_x() const { - return _impl_.our_penalty_area_line_x_; +inline float PlayerParam::_internal_kick_power_rate_delta_min() const { + return _impl_.kick_power_rate_delta_min_; } -inline void ServerParam::_internal_set_our_penalty_area_line_x(float value) { +inline void PlayerParam::_internal_set_kick_power_rate_delta_min(float value) { ; - _impl_.our_penalty_area_line_x_ = value; + _impl_.kick_power_rate_delta_min_ = value; } -// float their_penalty_area_line_x = 219; -inline void ServerParam::clear_their_penalty_area_line_x() { - _impl_.their_penalty_area_line_x_ = 0; +// float kick_power_rate_delta_max = 27; +inline void PlayerParam::clear_kick_power_rate_delta_max() { + _impl_.kick_power_rate_delta_max_ = 0; } -inline float ServerParam::their_penalty_area_line_x() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.their_penalty_area_line_x) - return _internal_their_penalty_area_line_x(); +inline float PlayerParam::kick_power_rate_delta_max() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.kick_power_rate_delta_max) + return _internal_kick_power_rate_delta_max(); } -inline void ServerParam::set_their_penalty_area_line_x(float value) { - _internal_set_their_penalty_area_line_x(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.their_penalty_area_line_x) +inline void PlayerParam::set_kick_power_rate_delta_max(float value) { + _internal_set_kick_power_rate_delta_max(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.kick_power_rate_delta_max) } -inline float ServerParam::_internal_their_penalty_area_line_x() const { - return _impl_.their_penalty_area_line_x_; +inline float PlayerParam::_internal_kick_power_rate_delta_max() const { + return _impl_.kick_power_rate_delta_max_; } -inline void ServerParam::_internal_set_their_penalty_area_line_x(float value) { +inline void PlayerParam::_internal_set_kick_power_rate_delta_max(float value) { ; - _impl_.their_penalty_area_line_x_ = value; + _impl_.kick_power_rate_delta_max_ = value; } -// float penalty_area_half_width = 220; -inline void ServerParam::clear_penalty_area_half_width() { - _impl_.penalty_area_half_width_ = 0; +// float foul_detect_probability_delta_factor = 28; +inline void PlayerParam::clear_foul_detect_probability_delta_factor() { + _impl_.foul_detect_probability_delta_factor_ = 0; } -inline float ServerParam::penalty_area_half_width() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.penalty_area_half_width) - return _internal_penalty_area_half_width(); +inline float PlayerParam::foul_detect_probability_delta_factor() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.foul_detect_probability_delta_factor) + return _internal_foul_detect_probability_delta_factor(); } -inline void ServerParam::set_penalty_area_half_width(float value) { - _internal_set_penalty_area_half_width(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.penalty_area_half_width) +inline void PlayerParam::set_foul_detect_probability_delta_factor(float value) { + _internal_set_foul_detect_probability_delta_factor(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.foul_detect_probability_delta_factor) } -inline float ServerParam::_internal_penalty_area_half_width() const { - return _impl_.penalty_area_half_width_; +inline float PlayerParam::_internal_foul_detect_probability_delta_factor() const { + return _impl_.foul_detect_probability_delta_factor_; } -inline void ServerParam::_internal_set_penalty_area_half_width(float value) { +inline void PlayerParam::_internal_set_foul_detect_probability_delta_factor(float value) { ; - _impl_.penalty_area_half_width_ = value; + _impl_.foul_detect_probability_delta_factor_ = value; } -// float penalty_area_length = 221; -inline void ServerParam::clear_penalty_area_length() { - _impl_.penalty_area_length_ = 0; +// float catchable_area_l_stretch_min = 29; +inline void PlayerParam::clear_catchable_area_l_stretch_min() { + _impl_.catchable_area_l_stretch_min_ = 0; } -inline float ServerParam::penalty_area_length() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.penalty_area_length) - return _internal_penalty_area_length(); +inline float PlayerParam::catchable_area_l_stretch_min() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.catchable_area_l_stretch_min) + return _internal_catchable_area_l_stretch_min(); } -inline void ServerParam::set_penalty_area_length(float value) { - _internal_set_penalty_area_length(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.penalty_area_length) +inline void PlayerParam::set_catchable_area_l_stretch_min(float value) { + _internal_set_catchable_area_l_stretch_min(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.catchable_area_l_stretch_min) } -inline float ServerParam::_internal_penalty_area_length() const { - return _impl_.penalty_area_length_; +inline float PlayerParam::_internal_catchable_area_l_stretch_min() const { + return _impl_.catchable_area_l_stretch_min_; } -inline void ServerParam::_internal_set_penalty_area_length(float value) { +inline void PlayerParam::_internal_set_catchable_area_l_stretch_min(float value) { ; - _impl_.penalty_area_length_ = value; + _impl_.catchable_area_l_stretch_min_ = value; } -// float goal_width = 222; -inline void ServerParam::clear_goal_width() { - _impl_.goal_width_ = 0; +// float catchable_area_l_stretch_max = 30; +inline void PlayerParam::clear_catchable_area_l_stretch_max() { + _impl_.catchable_area_l_stretch_max_ = 0; } -inline float ServerParam::goal_width() const { - // @@protoc_insertion_point(field_get:protos.ServerParam.goal_width) - return _internal_goal_width(); +inline float PlayerParam::catchable_area_l_stretch_max() const { + // @@protoc_insertion_point(field_get:protos.PlayerParam.catchable_area_l_stretch_max) + return _internal_catchable_area_l_stretch_max(); } -inline void ServerParam::set_goal_width(float value) { - _internal_set_goal_width(value); - // @@protoc_insertion_point(field_set:protos.ServerParam.goal_width) +inline void PlayerParam::set_catchable_area_l_stretch_max(float value) { + _internal_set_catchable_area_l_stretch_max(value); + // @@protoc_insertion_point(field_set:protos.PlayerParam.catchable_area_l_stretch_max) } -inline float ServerParam::_internal_goal_width() const { - return _impl_.goal_width_; +inline float PlayerParam::_internal_catchable_area_l_stretch_max() const { + return _impl_.catchable_area_l_stretch_max_; } -inline void ServerParam::_internal_set_goal_width(float value) { +inline void PlayerParam::_internal_set_catchable_area_l_stretch_max(float value) { ; - _impl_.goal_width_ = value; + _impl_.catchable_area_l_stretch_max_ = value; } // ------------------------------------------------------------------- -// PlayerParam +// PlayerType // .protos.RegisterResponse register_response = 1; -inline bool PlayerParam::has_register_response() const { +inline bool PlayerType::has_register_response() const { bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; PROTOBUF_ASSUME(!value || _impl_.register_response_ != nullptr); return value; } -inline void PlayerParam::clear_register_response() { +inline void PlayerType::clear_register_response() { if (_impl_.register_response_ != nullptr) _impl_.register_response_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } -inline const ::protos::RegisterResponse& PlayerParam::_internal_register_response() const { +inline const ::protos::RegisterResponse& PlayerType::_internal_register_response() const { const ::protos::RegisterResponse* p = _impl_.register_response_; return p != nullptr ? *p : reinterpret_cast( ::protos::_RegisterResponse_default_instance_); } -inline const ::protos::RegisterResponse& PlayerParam::register_response() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.register_response) +inline const ::protos::RegisterResponse& PlayerType::register_response() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.register_response) return _internal_register_response(); } -inline void PlayerParam::unsafe_arena_set_allocated_register_response( +inline void PlayerType::unsafe_arena_set_allocated_register_response( ::protos::RegisterResponse* register_response) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.register_response_); @@ -54921,9 +56880,9 @@ inline void PlayerParam::unsafe_arena_set_allocated_register_response( } else { _impl_._has_bits_[0] &= ~0x00000001u; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerParam.register_response) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerType.register_response) } -inline ::protos::RegisterResponse* PlayerParam::release_register_response() { +inline ::protos::RegisterResponse* PlayerType::release_register_response() { _impl_._has_bits_[0] &= ~0x00000001u; ::protos::RegisterResponse* temp = _impl_.register_response_; _impl_.register_response_ = nullptr; @@ -54938,14 +56897,14 @@ inline ::protos::RegisterResponse* PlayerParam::release_register_response() { #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::protos::RegisterResponse* PlayerParam::unsafe_arena_release_register_response() { - // @@protoc_insertion_point(field_release:protos.PlayerParam.register_response) +inline ::protos::RegisterResponse* PlayerType::unsafe_arena_release_register_response() { + // @@protoc_insertion_point(field_release:protos.PlayerType.register_response) _impl_._has_bits_[0] &= ~0x00000001u; ::protos::RegisterResponse* temp = _impl_.register_response_; _impl_.register_response_ = nullptr; return temp; } -inline ::protos::RegisterResponse* PlayerParam::_internal_mutable_register_response() { +inline ::protos::RegisterResponse* PlayerType::_internal_mutable_register_response() { _impl_._has_bits_[0] |= 0x00000001u; if (_impl_.register_response_ == nullptr) { auto* p = CreateMaybeMessage<::protos::RegisterResponse>(GetArenaForAllocation()); @@ -54953,651 +56912,811 @@ inline ::protos::RegisterResponse* PlayerParam::_internal_mutable_register_respo } return _impl_.register_response_; } -inline ::protos::RegisterResponse* PlayerParam::mutable_register_response() { +inline ::protos::RegisterResponse* PlayerType::mutable_register_response() { ::protos::RegisterResponse* _msg = _internal_mutable_register_response(); - // @@protoc_insertion_point(field_mutable:protos.PlayerParam.register_response) + // @@protoc_insertion_point(field_mutable:protos.PlayerType.register_response) return _msg; } -inline void PlayerParam::set_allocated_register_response(::protos::RegisterResponse* register_response) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.register_response_; - } - if (register_response) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(register_response); - if (message_arena != submessage_arena) { - register_response = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, register_response, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.register_response_ = register_response; - // @@protoc_insertion_point(field_set_allocated:protos.PlayerParam.register_response) +inline void PlayerType::set_allocated_register_response(::protos::RegisterResponse* register_response) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.register_response_; + } + if (register_response) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(register_response); + if (message_arena != submessage_arena) { + register_response = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, register_response, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.register_response_ = register_response; + // @@protoc_insertion_point(field_set_allocated:protos.PlayerType.register_response) +} + +// int32 id = 2; +inline void PlayerType::clear_id() { + _impl_.id_ = 0; +} +inline ::int32_t PlayerType::id() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.id) + return _internal_id(); +} +inline void PlayerType::set_id(::int32_t value) { + _internal_set_id(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.id) +} +inline ::int32_t PlayerType::_internal_id() const { + return _impl_.id_; +} +inline void PlayerType::_internal_set_id(::int32_t value) { + ; + _impl_.id_ = value; +} + +// float stamina_inc_max = 3; +inline void PlayerType::clear_stamina_inc_max() { + _impl_.stamina_inc_max_ = 0; +} +inline float PlayerType::stamina_inc_max() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.stamina_inc_max) + return _internal_stamina_inc_max(); +} +inline void PlayerType::set_stamina_inc_max(float value) { + _internal_set_stamina_inc_max(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.stamina_inc_max) +} +inline float PlayerType::_internal_stamina_inc_max() const { + return _impl_.stamina_inc_max_; +} +inline void PlayerType::_internal_set_stamina_inc_max(float value) { + ; + _impl_.stamina_inc_max_ = value; +} + +// float player_decay = 4; +inline void PlayerType::clear_player_decay() { + _impl_.player_decay_ = 0; +} +inline float PlayerType::player_decay() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.player_decay) + return _internal_player_decay(); +} +inline void PlayerType::set_player_decay(float value) { + _internal_set_player_decay(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.player_decay) +} +inline float PlayerType::_internal_player_decay() const { + return _impl_.player_decay_; +} +inline void PlayerType::_internal_set_player_decay(float value) { + ; + _impl_.player_decay_ = value; +} + +// float inertia_moment = 5; +inline void PlayerType::clear_inertia_moment() { + _impl_.inertia_moment_ = 0; +} +inline float PlayerType::inertia_moment() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.inertia_moment) + return _internal_inertia_moment(); +} +inline void PlayerType::set_inertia_moment(float value) { + _internal_set_inertia_moment(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.inertia_moment) +} +inline float PlayerType::_internal_inertia_moment() const { + return _impl_.inertia_moment_; +} +inline void PlayerType::_internal_set_inertia_moment(float value) { + ; + _impl_.inertia_moment_ = value; +} + +// float dash_power_rate = 6; +inline void PlayerType::clear_dash_power_rate() { + _impl_.dash_power_rate_ = 0; +} +inline float PlayerType::dash_power_rate() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.dash_power_rate) + return _internal_dash_power_rate(); +} +inline void PlayerType::set_dash_power_rate(float value) { + _internal_set_dash_power_rate(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.dash_power_rate) +} +inline float PlayerType::_internal_dash_power_rate() const { + return _impl_.dash_power_rate_; +} +inline void PlayerType::_internal_set_dash_power_rate(float value) { + ; + _impl_.dash_power_rate_ = value; +} + +// float player_size = 7; +inline void PlayerType::clear_player_size() { + _impl_.player_size_ = 0; +} +inline float PlayerType::player_size() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.player_size) + return _internal_player_size(); +} +inline void PlayerType::set_player_size(float value) { + _internal_set_player_size(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.player_size) +} +inline float PlayerType::_internal_player_size() const { + return _impl_.player_size_; +} +inline void PlayerType::_internal_set_player_size(float value) { + ; + _impl_.player_size_ = value; +} + +// float kickable_margin = 8; +inline void PlayerType::clear_kickable_margin() { + _impl_.kickable_margin_ = 0; +} +inline float PlayerType::kickable_margin() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.kickable_margin) + return _internal_kickable_margin(); +} +inline void PlayerType::set_kickable_margin(float value) { + _internal_set_kickable_margin(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.kickable_margin) +} +inline float PlayerType::_internal_kickable_margin() const { + return _impl_.kickable_margin_; +} +inline void PlayerType::_internal_set_kickable_margin(float value) { + ; + _impl_.kickable_margin_ = value; +} + +// float kick_rand = 9; +inline void PlayerType::clear_kick_rand() { + _impl_.kick_rand_ = 0; +} +inline float PlayerType::kick_rand() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.kick_rand) + return _internal_kick_rand(); +} +inline void PlayerType::set_kick_rand(float value) { + _internal_set_kick_rand(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.kick_rand) +} +inline float PlayerType::_internal_kick_rand() const { + return _impl_.kick_rand_; +} +inline void PlayerType::_internal_set_kick_rand(float value) { + ; + _impl_.kick_rand_ = value; } -// int32 player_types = 2; -inline void PlayerParam::clear_player_types() { - _impl_.player_types_ = 0; +// float extra_stamina = 10; +inline void PlayerType::clear_extra_stamina() { + _impl_.extra_stamina_ = 0; } -inline ::int32_t PlayerParam::player_types() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.player_types) - return _internal_player_types(); +inline float PlayerType::extra_stamina() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.extra_stamina) + return _internal_extra_stamina(); } -inline void PlayerParam::set_player_types(::int32_t value) { - _internal_set_player_types(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.player_types) +inline void PlayerType::set_extra_stamina(float value) { + _internal_set_extra_stamina(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.extra_stamina) } -inline ::int32_t PlayerParam::_internal_player_types() const { - return _impl_.player_types_; +inline float PlayerType::_internal_extra_stamina() const { + return _impl_.extra_stamina_; } -inline void PlayerParam::_internal_set_player_types(::int32_t value) { +inline void PlayerType::_internal_set_extra_stamina(float value) { ; - _impl_.player_types_ = value; + _impl_.extra_stamina_ = value; } -// int32 subs_max = 3; -inline void PlayerParam::clear_subs_max() { - _impl_.subs_max_ = 0; +// float effort_max = 11; +inline void PlayerType::clear_effort_max() { + _impl_.effort_max_ = 0; } -inline ::int32_t PlayerParam::subs_max() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.subs_max) - return _internal_subs_max(); +inline float PlayerType::effort_max() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.effort_max) + return _internal_effort_max(); } -inline void PlayerParam::set_subs_max(::int32_t value) { - _internal_set_subs_max(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.subs_max) +inline void PlayerType::set_effort_max(float value) { + _internal_set_effort_max(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.effort_max) } -inline ::int32_t PlayerParam::_internal_subs_max() const { - return _impl_.subs_max_; +inline float PlayerType::_internal_effort_max() const { + return _impl_.effort_max_; } -inline void PlayerParam::_internal_set_subs_max(::int32_t value) { +inline void PlayerType::_internal_set_effort_max(float value) { ; - _impl_.subs_max_ = value; + _impl_.effort_max_ = value; } -// int32 pt_max = 4; -inline void PlayerParam::clear_pt_max() { - _impl_.pt_max_ = 0; +// float effort_min = 12; +inline void PlayerType::clear_effort_min() { + _impl_.effort_min_ = 0; } -inline ::int32_t PlayerParam::pt_max() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.pt_max) - return _internal_pt_max(); +inline float PlayerType::effort_min() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.effort_min) + return _internal_effort_min(); } -inline void PlayerParam::set_pt_max(::int32_t value) { - _internal_set_pt_max(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.pt_max) +inline void PlayerType::set_effort_min(float value) { + _internal_set_effort_min(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.effort_min) } -inline ::int32_t PlayerParam::_internal_pt_max() const { - return _impl_.pt_max_; +inline float PlayerType::_internal_effort_min() const { + return _impl_.effort_min_; } -inline void PlayerParam::_internal_set_pt_max(::int32_t value) { +inline void PlayerType::_internal_set_effort_min(float value) { ; - _impl_.pt_max_ = value; + _impl_.effort_min_ = value; } -// bool allow_mult_default_type = 5; -inline void PlayerParam::clear_allow_mult_default_type() { - _impl_.allow_mult_default_type_ = false; +// float kick_power_rate = 13; +inline void PlayerType::clear_kick_power_rate() { + _impl_.kick_power_rate_ = 0; } -inline bool PlayerParam::allow_mult_default_type() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.allow_mult_default_type) - return _internal_allow_mult_default_type(); +inline float PlayerType::kick_power_rate() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.kick_power_rate) + return _internal_kick_power_rate(); } -inline void PlayerParam::set_allow_mult_default_type(bool value) { - _internal_set_allow_mult_default_type(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.allow_mult_default_type) +inline void PlayerType::set_kick_power_rate(float value) { + _internal_set_kick_power_rate(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.kick_power_rate) } -inline bool PlayerParam::_internal_allow_mult_default_type() const { - return _impl_.allow_mult_default_type_; +inline float PlayerType::_internal_kick_power_rate() const { + return _impl_.kick_power_rate_; } -inline void PlayerParam::_internal_set_allow_mult_default_type(bool value) { +inline void PlayerType::_internal_set_kick_power_rate(float value) { ; - _impl_.allow_mult_default_type_ = value; + _impl_.kick_power_rate_ = value; } -// float player_speed_max_delta_min = 6; -inline void PlayerParam::clear_player_speed_max_delta_min() { - _impl_.player_speed_max_delta_min_ = 0; +// float foul_detect_probability = 14; +inline void PlayerType::clear_foul_detect_probability() { + _impl_.foul_detect_probability_ = 0; } -inline float PlayerParam::player_speed_max_delta_min() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.player_speed_max_delta_min) - return _internal_player_speed_max_delta_min(); +inline float PlayerType::foul_detect_probability() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.foul_detect_probability) + return _internal_foul_detect_probability(); } -inline void PlayerParam::set_player_speed_max_delta_min(float value) { - _internal_set_player_speed_max_delta_min(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.player_speed_max_delta_min) +inline void PlayerType::set_foul_detect_probability(float value) { + _internal_set_foul_detect_probability(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.foul_detect_probability) } -inline float PlayerParam::_internal_player_speed_max_delta_min() const { - return _impl_.player_speed_max_delta_min_; +inline float PlayerType::_internal_foul_detect_probability() const { + return _impl_.foul_detect_probability_; } -inline void PlayerParam::_internal_set_player_speed_max_delta_min(float value) { +inline void PlayerType::_internal_set_foul_detect_probability(float value) { ; - _impl_.player_speed_max_delta_min_ = value; + _impl_.foul_detect_probability_ = value; } -// float player_speed_max_delta_max = 7; -inline void PlayerParam::clear_player_speed_max_delta_max() { - _impl_.player_speed_max_delta_max_ = 0; +// float catchable_area_l_stretch = 15; +inline void PlayerType::clear_catchable_area_l_stretch() { + _impl_.catchable_area_l_stretch_ = 0; } -inline float PlayerParam::player_speed_max_delta_max() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.player_speed_max_delta_max) - return _internal_player_speed_max_delta_max(); +inline float PlayerType::catchable_area_l_stretch() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.catchable_area_l_stretch) + return _internal_catchable_area_l_stretch(); } -inline void PlayerParam::set_player_speed_max_delta_max(float value) { - _internal_set_player_speed_max_delta_max(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.player_speed_max_delta_max) +inline void PlayerType::set_catchable_area_l_stretch(float value) { + _internal_set_catchable_area_l_stretch(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.catchable_area_l_stretch) } -inline float PlayerParam::_internal_player_speed_max_delta_max() const { - return _impl_.player_speed_max_delta_max_; +inline float PlayerType::_internal_catchable_area_l_stretch() const { + return _impl_.catchable_area_l_stretch_; } -inline void PlayerParam::_internal_set_player_speed_max_delta_max(float value) { +inline void PlayerType::_internal_set_catchable_area_l_stretch(float value) { ; - _impl_.player_speed_max_delta_max_ = value; + _impl_.catchable_area_l_stretch_ = value; } -// float stamina_inc_max_delta_factor = 8; -inline void PlayerParam::clear_stamina_inc_max_delta_factor() { - _impl_.stamina_inc_max_delta_factor_ = 0; +// float unum_far_length = 16; +inline void PlayerType::clear_unum_far_length() { + _impl_.unum_far_length_ = 0; } -inline float PlayerParam::stamina_inc_max_delta_factor() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.stamina_inc_max_delta_factor) - return _internal_stamina_inc_max_delta_factor(); +inline float PlayerType::unum_far_length() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.unum_far_length) + return _internal_unum_far_length(); } -inline void PlayerParam::set_stamina_inc_max_delta_factor(float value) { - _internal_set_stamina_inc_max_delta_factor(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.stamina_inc_max_delta_factor) +inline void PlayerType::set_unum_far_length(float value) { + _internal_set_unum_far_length(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.unum_far_length) } -inline float PlayerParam::_internal_stamina_inc_max_delta_factor() const { - return _impl_.stamina_inc_max_delta_factor_; +inline float PlayerType::_internal_unum_far_length() const { + return _impl_.unum_far_length_; } -inline void PlayerParam::_internal_set_stamina_inc_max_delta_factor(float value) { +inline void PlayerType::_internal_set_unum_far_length(float value) { ; - _impl_.stamina_inc_max_delta_factor_ = value; + _impl_.unum_far_length_ = value; } -// float player_decay_delta_min = 9; -inline void PlayerParam::clear_player_decay_delta_min() { - _impl_.player_decay_delta_min_ = 0; +// float unum_too_far_length = 17; +inline void PlayerType::clear_unum_too_far_length() { + _impl_.unum_too_far_length_ = 0; } -inline float PlayerParam::player_decay_delta_min() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.player_decay_delta_min) - return _internal_player_decay_delta_min(); +inline float PlayerType::unum_too_far_length() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.unum_too_far_length) + return _internal_unum_too_far_length(); } -inline void PlayerParam::set_player_decay_delta_min(float value) { - _internal_set_player_decay_delta_min(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.player_decay_delta_min) +inline void PlayerType::set_unum_too_far_length(float value) { + _internal_set_unum_too_far_length(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.unum_too_far_length) } -inline float PlayerParam::_internal_player_decay_delta_min() const { - return _impl_.player_decay_delta_min_; +inline float PlayerType::_internal_unum_too_far_length() const { + return _impl_.unum_too_far_length_; } -inline void PlayerParam::_internal_set_player_decay_delta_min(float value) { +inline void PlayerType::_internal_set_unum_too_far_length(float value) { ; - _impl_.player_decay_delta_min_ = value; + _impl_.unum_too_far_length_ = value; } -// float player_decay_delta_max = 10; -inline void PlayerParam::clear_player_decay_delta_max() { - _impl_.player_decay_delta_max_ = 0; +// float team_far_length = 18; +inline void PlayerType::clear_team_far_length() { + _impl_.team_far_length_ = 0; } -inline float PlayerParam::player_decay_delta_max() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.player_decay_delta_max) - return _internal_player_decay_delta_max(); +inline float PlayerType::team_far_length() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.team_far_length) + return _internal_team_far_length(); } -inline void PlayerParam::set_player_decay_delta_max(float value) { - _internal_set_player_decay_delta_max(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.player_decay_delta_max) +inline void PlayerType::set_team_far_length(float value) { + _internal_set_team_far_length(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.team_far_length) } -inline float PlayerParam::_internal_player_decay_delta_max() const { - return _impl_.player_decay_delta_max_; +inline float PlayerType::_internal_team_far_length() const { + return _impl_.team_far_length_; } -inline void PlayerParam::_internal_set_player_decay_delta_max(float value) { +inline void PlayerType::_internal_set_team_far_length(float value) { ; - _impl_.player_decay_delta_max_ = value; + _impl_.team_far_length_ = value; } -// float inertia_moment_delta_factor = 11; -inline void PlayerParam::clear_inertia_moment_delta_factor() { - _impl_.inertia_moment_delta_factor_ = 0; +// float team_too_far_length = 19; +inline void PlayerType::clear_team_too_far_length() { + _impl_.team_too_far_length_ = 0; } -inline float PlayerParam::inertia_moment_delta_factor() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.inertia_moment_delta_factor) - return _internal_inertia_moment_delta_factor(); +inline float PlayerType::team_too_far_length() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.team_too_far_length) + return _internal_team_too_far_length(); } -inline void PlayerParam::set_inertia_moment_delta_factor(float value) { - _internal_set_inertia_moment_delta_factor(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.inertia_moment_delta_factor) +inline void PlayerType::set_team_too_far_length(float value) { + _internal_set_team_too_far_length(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.team_too_far_length) } -inline float PlayerParam::_internal_inertia_moment_delta_factor() const { - return _impl_.inertia_moment_delta_factor_; +inline float PlayerType::_internal_team_too_far_length() const { + return _impl_.team_too_far_length_; } -inline void PlayerParam::_internal_set_inertia_moment_delta_factor(float value) { +inline void PlayerType::_internal_set_team_too_far_length(float value) { ; - _impl_.inertia_moment_delta_factor_ = value; + _impl_.team_too_far_length_ = value; } -// float dash_power_rate_delta_min = 12; -inline void PlayerParam::clear_dash_power_rate_delta_min() { - _impl_.dash_power_rate_delta_min_ = 0; +// float player_max_observation_length = 20; +inline void PlayerType::clear_player_max_observation_length() { + _impl_.player_max_observation_length_ = 0; } -inline float PlayerParam::dash_power_rate_delta_min() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.dash_power_rate_delta_min) - return _internal_dash_power_rate_delta_min(); +inline float PlayerType::player_max_observation_length() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.player_max_observation_length) + return _internal_player_max_observation_length(); } -inline void PlayerParam::set_dash_power_rate_delta_min(float value) { - _internal_set_dash_power_rate_delta_min(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.dash_power_rate_delta_min) +inline void PlayerType::set_player_max_observation_length(float value) { + _internal_set_player_max_observation_length(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.player_max_observation_length) } -inline float PlayerParam::_internal_dash_power_rate_delta_min() const { - return _impl_.dash_power_rate_delta_min_; +inline float PlayerType::_internal_player_max_observation_length() const { + return _impl_.player_max_observation_length_; } -inline void PlayerParam::_internal_set_dash_power_rate_delta_min(float value) { +inline void PlayerType::_internal_set_player_max_observation_length(float value) { ; - _impl_.dash_power_rate_delta_min_ = value; + _impl_.player_max_observation_length_ = value; } -// float dash_power_rate_delta_max = 13; -inline void PlayerParam::clear_dash_power_rate_delta_max() { - _impl_.dash_power_rate_delta_max_ = 0; +// float ball_vel_far_length = 21; +inline void PlayerType::clear_ball_vel_far_length() { + _impl_.ball_vel_far_length_ = 0; } -inline float PlayerParam::dash_power_rate_delta_max() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.dash_power_rate_delta_max) - return _internal_dash_power_rate_delta_max(); +inline float PlayerType::ball_vel_far_length() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.ball_vel_far_length) + return _internal_ball_vel_far_length(); } -inline void PlayerParam::set_dash_power_rate_delta_max(float value) { - _internal_set_dash_power_rate_delta_max(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.dash_power_rate_delta_max) +inline void PlayerType::set_ball_vel_far_length(float value) { + _internal_set_ball_vel_far_length(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.ball_vel_far_length) } -inline float PlayerParam::_internal_dash_power_rate_delta_max() const { - return _impl_.dash_power_rate_delta_max_; +inline float PlayerType::_internal_ball_vel_far_length() const { + return _impl_.ball_vel_far_length_; } -inline void PlayerParam::_internal_set_dash_power_rate_delta_max(float value) { +inline void PlayerType::_internal_set_ball_vel_far_length(float value) { ; - _impl_.dash_power_rate_delta_max_ = value; + _impl_.ball_vel_far_length_ = value; } -// float player_size_delta_factor = 14; -inline void PlayerParam::clear_player_size_delta_factor() { - _impl_.player_size_delta_factor_ = 0; +// float ball_vel_too_far_length = 22; +inline void PlayerType::clear_ball_vel_too_far_length() { + _impl_.ball_vel_too_far_length_ = 0; } -inline float PlayerParam::player_size_delta_factor() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.player_size_delta_factor) - return _internal_player_size_delta_factor(); +inline float PlayerType::ball_vel_too_far_length() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.ball_vel_too_far_length) + return _internal_ball_vel_too_far_length(); } -inline void PlayerParam::set_player_size_delta_factor(float value) { - _internal_set_player_size_delta_factor(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.player_size_delta_factor) +inline void PlayerType::set_ball_vel_too_far_length(float value) { + _internal_set_ball_vel_too_far_length(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.ball_vel_too_far_length) } -inline float PlayerParam::_internal_player_size_delta_factor() const { - return _impl_.player_size_delta_factor_; +inline float PlayerType::_internal_ball_vel_too_far_length() const { + return _impl_.ball_vel_too_far_length_; } -inline void PlayerParam::_internal_set_player_size_delta_factor(float value) { +inline void PlayerType::_internal_set_ball_vel_too_far_length(float value) { ; - _impl_.player_size_delta_factor_ = value; + _impl_.ball_vel_too_far_length_ = value; } -// float kickable_margin_delta_min = 15; -inline void PlayerParam::clear_kickable_margin_delta_min() { - _impl_.kickable_margin_delta_min_ = 0; +// float ball_max_observation_length = 23; +inline void PlayerType::clear_ball_max_observation_length() { + _impl_.ball_max_observation_length_ = 0; } -inline float PlayerParam::kickable_margin_delta_min() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.kickable_margin_delta_min) - return _internal_kickable_margin_delta_min(); +inline float PlayerType::ball_max_observation_length() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.ball_max_observation_length) + return _internal_ball_max_observation_length(); } -inline void PlayerParam::set_kickable_margin_delta_min(float value) { - _internal_set_kickable_margin_delta_min(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.kickable_margin_delta_min) +inline void PlayerType::set_ball_max_observation_length(float value) { + _internal_set_ball_max_observation_length(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.ball_max_observation_length) } -inline float PlayerParam::_internal_kickable_margin_delta_min() const { - return _impl_.kickable_margin_delta_min_; +inline float PlayerType::_internal_ball_max_observation_length() const { + return _impl_.ball_max_observation_length_; } -inline void PlayerParam::_internal_set_kickable_margin_delta_min(float value) { +inline void PlayerType::_internal_set_ball_max_observation_length(float value) { ; - _impl_.kickable_margin_delta_min_ = value; + _impl_.ball_max_observation_length_ = value; } -// float kickable_margin_delta_max = 16; -inline void PlayerParam::clear_kickable_margin_delta_max() { - _impl_.kickable_margin_delta_max_ = 0; +// float flag_chg_far_length = 24; +inline void PlayerType::clear_flag_chg_far_length() { + _impl_.flag_chg_far_length_ = 0; } -inline float PlayerParam::kickable_margin_delta_max() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.kickable_margin_delta_max) - return _internal_kickable_margin_delta_max(); +inline float PlayerType::flag_chg_far_length() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.flag_chg_far_length) + return _internal_flag_chg_far_length(); } -inline void PlayerParam::set_kickable_margin_delta_max(float value) { - _internal_set_kickable_margin_delta_max(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.kickable_margin_delta_max) +inline void PlayerType::set_flag_chg_far_length(float value) { + _internal_set_flag_chg_far_length(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.flag_chg_far_length) } -inline float PlayerParam::_internal_kickable_margin_delta_max() const { - return _impl_.kickable_margin_delta_max_; +inline float PlayerType::_internal_flag_chg_far_length() const { + return _impl_.flag_chg_far_length_; } -inline void PlayerParam::_internal_set_kickable_margin_delta_max(float value) { +inline void PlayerType::_internal_set_flag_chg_far_length(float value) { ; - _impl_.kickable_margin_delta_max_ = value; + _impl_.flag_chg_far_length_ = value; } -// float kick_rand_delta_factor = 17; -inline void PlayerParam::clear_kick_rand_delta_factor() { - _impl_.kick_rand_delta_factor_ = 0; +// float flag_chg_too_far_length = 25; +inline void PlayerType::clear_flag_chg_too_far_length() { + _impl_.flag_chg_too_far_length_ = 0; } -inline float PlayerParam::kick_rand_delta_factor() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.kick_rand_delta_factor) - return _internal_kick_rand_delta_factor(); +inline float PlayerType::flag_chg_too_far_length() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.flag_chg_too_far_length) + return _internal_flag_chg_too_far_length(); } -inline void PlayerParam::set_kick_rand_delta_factor(float value) { - _internal_set_kick_rand_delta_factor(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.kick_rand_delta_factor) +inline void PlayerType::set_flag_chg_too_far_length(float value) { + _internal_set_flag_chg_too_far_length(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.flag_chg_too_far_length) } -inline float PlayerParam::_internal_kick_rand_delta_factor() const { - return _impl_.kick_rand_delta_factor_; +inline float PlayerType::_internal_flag_chg_too_far_length() const { + return _impl_.flag_chg_too_far_length_; } -inline void PlayerParam::_internal_set_kick_rand_delta_factor(float value) { +inline void PlayerType::_internal_set_flag_chg_too_far_length(float value) { ; - _impl_.kick_rand_delta_factor_ = value; + _impl_.flag_chg_too_far_length_ = value; } -// float extra_stamina_delta_min = 18; -inline void PlayerParam::clear_extra_stamina_delta_min() { - _impl_.extra_stamina_delta_min_ = 0; +// float flag_max_observation_length = 26; +inline void PlayerType::clear_flag_max_observation_length() { + _impl_.flag_max_observation_length_ = 0; } -inline float PlayerParam::extra_stamina_delta_min() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.extra_stamina_delta_min) - return _internal_extra_stamina_delta_min(); +inline float PlayerType::flag_max_observation_length() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.flag_max_observation_length) + return _internal_flag_max_observation_length(); } -inline void PlayerParam::set_extra_stamina_delta_min(float value) { - _internal_set_extra_stamina_delta_min(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.extra_stamina_delta_min) +inline void PlayerType::set_flag_max_observation_length(float value) { + _internal_set_flag_max_observation_length(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.flag_max_observation_length) } -inline float PlayerParam::_internal_extra_stamina_delta_min() const { - return _impl_.extra_stamina_delta_min_; +inline float PlayerType::_internal_flag_max_observation_length() const { + return _impl_.flag_max_observation_length_; } -inline void PlayerParam::_internal_set_extra_stamina_delta_min(float value) { +inline void PlayerType::_internal_set_flag_max_observation_length(float value) { ; - _impl_.extra_stamina_delta_min_ = value; + _impl_.flag_max_observation_length_ = value; } -// float extra_stamina_delta_max = 19; -inline void PlayerParam::clear_extra_stamina_delta_max() { - _impl_.extra_stamina_delta_max_ = 0; +// float kickable_area = 27; +inline void PlayerType::clear_kickable_area() { + _impl_.kickable_area_ = 0; } -inline float PlayerParam::extra_stamina_delta_max() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.extra_stamina_delta_max) - return _internal_extra_stamina_delta_max(); +inline float PlayerType::kickable_area() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.kickable_area) + return _internal_kickable_area(); } -inline void PlayerParam::set_extra_stamina_delta_max(float value) { - _internal_set_extra_stamina_delta_max(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.extra_stamina_delta_max) +inline void PlayerType::set_kickable_area(float value) { + _internal_set_kickable_area(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.kickable_area) } -inline float PlayerParam::_internal_extra_stamina_delta_max() const { - return _impl_.extra_stamina_delta_max_; +inline float PlayerType::_internal_kickable_area() const { + return _impl_.kickable_area_; } -inline void PlayerParam::_internal_set_extra_stamina_delta_max(float value) { +inline void PlayerType::_internal_set_kickable_area(float value) { ; - _impl_.extra_stamina_delta_max_ = value; + _impl_.kickable_area_ = value; } -// float effort_max_delta_factor = 20; -inline void PlayerParam::clear_effort_max_delta_factor() { - _impl_.effort_max_delta_factor_ = 0; +// float reliable_catchable_dist = 28; +inline void PlayerType::clear_reliable_catchable_dist() { + _impl_.reliable_catchable_dist_ = 0; } -inline float PlayerParam::effort_max_delta_factor() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.effort_max_delta_factor) - return _internal_effort_max_delta_factor(); +inline float PlayerType::reliable_catchable_dist() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.reliable_catchable_dist) + return _internal_reliable_catchable_dist(); } -inline void PlayerParam::set_effort_max_delta_factor(float value) { - _internal_set_effort_max_delta_factor(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.effort_max_delta_factor) +inline void PlayerType::set_reliable_catchable_dist(float value) { + _internal_set_reliable_catchable_dist(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.reliable_catchable_dist) } -inline float PlayerParam::_internal_effort_max_delta_factor() const { - return _impl_.effort_max_delta_factor_; +inline float PlayerType::_internal_reliable_catchable_dist() const { + return _impl_.reliable_catchable_dist_; } -inline void PlayerParam::_internal_set_effort_max_delta_factor(float value) { +inline void PlayerType::_internal_set_reliable_catchable_dist(float value) { ; - _impl_.effort_max_delta_factor_ = value; + _impl_.reliable_catchable_dist_ = value; } -// float effort_min_delta_factor = 21; -inline void PlayerParam::clear_effort_min_delta_factor() { - _impl_.effort_min_delta_factor_ = 0; +// float max_catchable_dist = 29; +inline void PlayerType::clear_max_catchable_dist() { + _impl_.max_catchable_dist_ = 0; } -inline float PlayerParam::effort_min_delta_factor() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.effort_min_delta_factor) - return _internal_effort_min_delta_factor(); +inline float PlayerType::max_catchable_dist() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.max_catchable_dist) + return _internal_max_catchable_dist(); } -inline void PlayerParam::set_effort_min_delta_factor(float value) { - _internal_set_effort_min_delta_factor(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.effort_min_delta_factor) +inline void PlayerType::set_max_catchable_dist(float value) { + _internal_set_max_catchable_dist(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.max_catchable_dist) } -inline float PlayerParam::_internal_effort_min_delta_factor() const { - return _impl_.effort_min_delta_factor_; +inline float PlayerType::_internal_max_catchable_dist() const { + return _impl_.max_catchable_dist_; } -inline void PlayerParam::_internal_set_effort_min_delta_factor(float value) { +inline void PlayerType::_internal_set_max_catchable_dist(float value) { ; - _impl_.effort_min_delta_factor_ = value; + _impl_.max_catchable_dist_ = value; } -// int32 random_seed = 22; -inline void PlayerParam::clear_random_seed() { - _impl_.random_seed_ = 0; +// float real_speed_max = 30; +inline void PlayerType::clear_real_speed_max() { + _impl_.real_speed_max_ = 0; } -inline ::int32_t PlayerParam::random_seed() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.random_seed) - return _internal_random_seed(); +inline float PlayerType::real_speed_max() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.real_speed_max) + return _internal_real_speed_max(); } -inline void PlayerParam::set_random_seed(::int32_t value) { - _internal_set_random_seed(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.random_seed) +inline void PlayerType::set_real_speed_max(float value) { + _internal_set_real_speed_max(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.real_speed_max) } -inline ::int32_t PlayerParam::_internal_random_seed() const { - return _impl_.random_seed_; +inline float PlayerType::_internal_real_speed_max() const { + return _impl_.real_speed_max_; } -inline void PlayerParam::_internal_set_random_seed(::int32_t value) { +inline void PlayerType::_internal_set_real_speed_max(float value) { ; - _impl_.random_seed_ = value; + _impl_.real_speed_max_ = value; } -// float new_dash_power_rate_delta_min = 23; -inline void PlayerParam::clear_new_dash_power_rate_delta_min() { - _impl_.new_dash_power_rate_delta_min_ = 0; +// float player_speed_max2 = 31; +inline void PlayerType::clear_player_speed_max2() { + _impl_.player_speed_max2_ = 0; } -inline float PlayerParam::new_dash_power_rate_delta_min() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.new_dash_power_rate_delta_min) - return _internal_new_dash_power_rate_delta_min(); +inline float PlayerType::player_speed_max2() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.player_speed_max2) + return _internal_player_speed_max2(); } -inline void PlayerParam::set_new_dash_power_rate_delta_min(float value) { - _internal_set_new_dash_power_rate_delta_min(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.new_dash_power_rate_delta_min) +inline void PlayerType::set_player_speed_max2(float value) { + _internal_set_player_speed_max2(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.player_speed_max2) } -inline float PlayerParam::_internal_new_dash_power_rate_delta_min() const { - return _impl_.new_dash_power_rate_delta_min_; +inline float PlayerType::_internal_player_speed_max2() const { + return _impl_.player_speed_max2_; } -inline void PlayerParam::_internal_set_new_dash_power_rate_delta_min(float value) { +inline void PlayerType::_internal_set_player_speed_max2(float value) { ; - _impl_.new_dash_power_rate_delta_min_ = value; + _impl_.player_speed_max2_ = value; } -// float new_dash_power_rate_delta_max = 24; -inline void PlayerParam::clear_new_dash_power_rate_delta_max() { - _impl_.new_dash_power_rate_delta_max_ = 0; +// float real_speed_max2 = 32; +inline void PlayerType::clear_real_speed_max2() { + _impl_.real_speed_max2_ = 0; } -inline float PlayerParam::new_dash_power_rate_delta_max() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.new_dash_power_rate_delta_max) - return _internal_new_dash_power_rate_delta_max(); +inline float PlayerType::real_speed_max2() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.real_speed_max2) + return _internal_real_speed_max2(); } -inline void PlayerParam::set_new_dash_power_rate_delta_max(float value) { - _internal_set_new_dash_power_rate_delta_max(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.new_dash_power_rate_delta_max) +inline void PlayerType::set_real_speed_max2(float value) { + _internal_set_real_speed_max2(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.real_speed_max2) } -inline float PlayerParam::_internal_new_dash_power_rate_delta_max() const { - return _impl_.new_dash_power_rate_delta_max_; +inline float PlayerType::_internal_real_speed_max2() const { + return _impl_.real_speed_max2_; } -inline void PlayerParam::_internal_set_new_dash_power_rate_delta_max(float value) { +inline void PlayerType::_internal_set_real_speed_max2(float value) { ; - _impl_.new_dash_power_rate_delta_max_ = value; + _impl_.real_speed_max2_ = value; } -// float new_stamina_inc_max_delta_factor = 25; -inline void PlayerParam::clear_new_stamina_inc_max_delta_factor() { - _impl_.new_stamina_inc_max_delta_factor_ = 0; +// int32 cycles_to_reach_max_speed = 33; +inline void PlayerType::clear_cycles_to_reach_max_speed() { + _impl_.cycles_to_reach_max_speed_ = 0; } -inline float PlayerParam::new_stamina_inc_max_delta_factor() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.new_stamina_inc_max_delta_factor) - return _internal_new_stamina_inc_max_delta_factor(); +inline ::int32_t PlayerType::cycles_to_reach_max_speed() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.cycles_to_reach_max_speed) + return _internal_cycles_to_reach_max_speed(); } -inline void PlayerParam::set_new_stamina_inc_max_delta_factor(float value) { - _internal_set_new_stamina_inc_max_delta_factor(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.new_stamina_inc_max_delta_factor) +inline void PlayerType::set_cycles_to_reach_max_speed(::int32_t value) { + _internal_set_cycles_to_reach_max_speed(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.cycles_to_reach_max_speed) } -inline float PlayerParam::_internal_new_stamina_inc_max_delta_factor() const { - return _impl_.new_stamina_inc_max_delta_factor_; +inline ::int32_t PlayerType::_internal_cycles_to_reach_max_speed() const { + return _impl_.cycles_to_reach_max_speed_; } -inline void PlayerParam::_internal_set_new_stamina_inc_max_delta_factor(float value) { +inline void PlayerType::_internal_set_cycles_to_reach_max_speed(::int32_t value) { ; - _impl_.new_stamina_inc_max_delta_factor_ = value; + _impl_.cycles_to_reach_max_speed_ = value; } -// float kick_power_rate_delta_min = 26; -inline void PlayerParam::clear_kick_power_rate_delta_min() { - _impl_.kick_power_rate_delta_min_ = 0; +// float player_speed_max = 34; +inline void PlayerType::clear_player_speed_max() { + _impl_.player_speed_max_ = 0; } -inline float PlayerParam::kick_power_rate_delta_min() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.kick_power_rate_delta_min) - return _internal_kick_power_rate_delta_min(); +inline float PlayerType::player_speed_max() const { + // @@protoc_insertion_point(field_get:protos.PlayerType.player_speed_max) + return _internal_player_speed_max(); } -inline void PlayerParam::set_kick_power_rate_delta_min(float value) { - _internal_set_kick_power_rate_delta_min(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.kick_power_rate_delta_min) +inline void PlayerType::set_player_speed_max(float value) { + _internal_set_player_speed_max(value); + // @@protoc_insertion_point(field_set:protos.PlayerType.player_speed_max) } -inline float PlayerParam::_internal_kick_power_rate_delta_min() const { - return _impl_.kick_power_rate_delta_min_; +inline float PlayerType::_internal_player_speed_max() const { + return _impl_.player_speed_max_; } -inline void PlayerParam::_internal_set_kick_power_rate_delta_min(float value) { +inline void PlayerType::_internal_set_player_speed_max(float value) { ; - _impl_.kick_power_rate_delta_min_ = value; + _impl_.player_speed_max_ = value; } -// float kick_power_rate_delta_max = 27; -inline void PlayerParam::clear_kick_power_rate_delta_max() { - _impl_.kick_power_rate_delta_max_ = 0; +// ------------------------------------------------------------------- + +// RpcCooperativeAction + +// .protos.RpcActionCategory category = 1; +inline void RpcCooperativeAction::clear_category() { + _impl_.category_ = 0; } -inline float PlayerParam::kick_power_rate_delta_max() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.kick_power_rate_delta_max) - return _internal_kick_power_rate_delta_max(); +inline ::protos::RpcActionCategory RpcCooperativeAction::category() const { + // @@protoc_insertion_point(field_get:protos.RpcCooperativeAction.category) + return _internal_category(); } -inline void PlayerParam::set_kick_power_rate_delta_max(float value) { - _internal_set_kick_power_rate_delta_max(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.kick_power_rate_delta_max) +inline void RpcCooperativeAction::set_category(::protos::RpcActionCategory value) { + _internal_set_category(value); + // @@protoc_insertion_point(field_set:protos.RpcCooperativeAction.category) } -inline float PlayerParam::_internal_kick_power_rate_delta_max() const { - return _impl_.kick_power_rate_delta_max_; +inline ::protos::RpcActionCategory RpcCooperativeAction::_internal_category() const { + return static_cast<::protos::RpcActionCategory>(_impl_.category_); } -inline void PlayerParam::_internal_set_kick_power_rate_delta_max(float value) { +inline void RpcCooperativeAction::_internal_set_category(::protos::RpcActionCategory value) { ; - _impl_.kick_power_rate_delta_max_ = value; + _impl_.category_ = value; } -// float foul_detect_probability_delta_factor = 28; -inline void PlayerParam::clear_foul_detect_probability_delta_factor() { - _impl_.foul_detect_probability_delta_factor_ = 0; +// int32 index = 2; +inline void RpcCooperativeAction::clear_index() { + _impl_.index_ = 0; } -inline float PlayerParam::foul_detect_probability_delta_factor() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.foul_detect_probability_delta_factor) - return _internal_foul_detect_probability_delta_factor(); +inline ::int32_t RpcCooperativeAction::index() const { + // @@protoc_insertion_point(field_get:protos.RpcCooperativeAction.index) + return _internal_index(); } -inline void PlayerParam::set_foul_detect_probability_delta_factor(float value) { - _internal_set_foul_detect_probability_delta_factor(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.foul_detect_probability_delta_factor) +inline void RpcCooperativeAction::set_index(::int32_t value) { + _internal_set_index(value); + // @@protoc_insertion_point(field_set:protos.RpcCooperativeAction.index) } -inline float PlayerParam::_internal_foul_detect_probability_delta_factor() const { - return _impl_.foul_detect_probability_delta_factor_; +inline ::int32_t RpcCooperativeAction::_internal_index() const { + return _impl_.index_; } -inline void PlayerParam::_internal_set_foul_detect_probability_delta_factor(float value) { +inline void RpcCooperativeAction::_internal_set_index(::int32_t value) { ; - _impl_.foul_detect_probability_delta_factor_ = value; + _impl_.index_ = value; } -// float catchable_area_l_stretch_min = 29; -inline void PlayerParam::clear_catchable_area_l_stretch_min() { - _impl_.catchable_area_l_stretch_min_ = 0; +// int32 sender_unum = 3; +inline void RpcCooperativeAction::clear_sender_unum() { + _impl_.sender_unum_ = 0; } -inline float PlayerParam::catchable_area_l_stretch_min() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.catchable_area_l_stretch_min) - return _internal_catchable_area_l_stretch_min(); +inline ::int32_t RpcCooperativeAction::sender_unum() const { + // @@protoc_insertion_point(field_get:protos.RpcCooperativeAction.sender_unum) + return _internal_sender_unum(); } -inline void PlayerParam::set_catchable_area_l_stretch_min(float value) { - _internal_set_catchable_area_l_stretch_min(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.catchable_area_l_stretch_min) +inline void RpcCooperativeAction::set_sender_unum(::int32_t value) { + _internal_set_sender_unum(value); + // @@protoc_insertion_point(field_set:protos.RpcCooperativeAction.sender_unum) } -inline float PlayerParam::_internal_catchable_area_l_stretch_min() const { - return _impl_.catchable_area_l_stretch_min_; +inline ::int32_t RpcCooperativeAction::_internal_sender_unum() const { + return _impl_.sender_unum_; } -inline void PlayerParam::_internal_set_catchable_area_l_stretch_min(float value) { +inline void RpcCooperativeAction::_internal_set_sender_unum(::int32_t value) { ; - _impl_.catchable_area_l_stretch_min_ = value; + _impl_.sender_unum_ = value; } -// float catchable_area_l_stretch_max = 30; -inline void PlayerParam::clear_catchable_area_l_stretch_max() { - _impl_.catchable_area_l_stretch_max_ = 0; +// int32 target_unum = 4; +inline void RpcCooperativeAction::clear_target_unum() { + _impl_.target_unum_ = 0; } -inline float PlayerParam::catchable_area_l_stretch_max() const { - // @@protoc_insertion_point(field_get:protos.PlayerParam.catchable_area_l_stretch_max) - return _internal_catchable_area_l_stretch_max(); +inline ::int32_t RpcCooperativeAction::target_unum() const { + // @@protoc_insertion_point(field_get:protos.RpcCooperativeAction.target_unum) + return _internal_target_unum(); } -inline void PlayerParam::set_catchable_area_l_stretch_max(float value) { - _internal_set_catchable_area_l_stretch_max(value); - // @@protoc_insertion_point(field_set:protos.PlayerParam.catchable_area_l_stretch_max) +inline void RpcCooperativeAction::set_target_unum(::int32_t value) { + _internal_set_target_unum(value); + // @@protoc_insertion_point(field_set:protos.RpcCooperativeAction.target_unum) } -inline float PlayerParam::_internal_catchable_area_l_stretch_max() const { - return _impl_.catchable_area_l_stretch_max_; +inline ::int32_t RpcCooperativeAction::_internal_target_unum() const { + return _impl_.target_unum_; } -inline void PlayerParam::_internal_set_catchable_area_l_stretch_max(float value) { +inline void RpcCooperativeAction::_internal_set_target_unum(::int32_t value) { ; - _impl_.catchable_area_l_stretch_max_ = value; + _impl_.target_unum_ = value; } -// ------------------------------------------------------------------- - -// PlayerType - -// .protos.RegisterResponse register_response = 1; -inline bool PlayerType::has_register_response() const { +// .protos.RpcVector2D target_point = 5; +inline bool RpcCooperativeAction::has_target_point() const { bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.register_response_ != nullptr); + PROTOBUF_ASSUME(!value || _impl_.target_point_ != nullptr); return value; } -inline void PlayerType::clear_register_response() { - if (_impl_.register_response_ != nullptr) _impl_.register_response_->Clear(); +inline void RpcCooperativeAction::clear_target_point() { + if (_impl_.target_point_ != nullptr) _impl_.target_point_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } -inline const ::protos::RegisterResponse& PlayerType::_internal_register_response() const { - const ::protos::RegisterResponse* p = _impl_.register_response_; - return p != nullptr ? *p : reinterpret_cast( - ::protos::_RegisterResponse_default_instance_); +inline const ::protos::RpcVector2D& RpcCooperativeAction::_internal_target_point() const { + const ::protos::RpcVector2D* p = _impl_.target_point_; + return p != nullptr ? *p : reinterpret_cast( + ::protos::_RpcVector2D_default_instance_); } -inline const ::protos::RegisterResponse& PlayerType::register_response() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.register_response) - return _internal_register_response(); +inline const ::protos::RpcVector2D& RpcCooperativeAction::target_point() const { + // @@protoc_insertion_point(field_get:protos.RpcCooperativeAction.target_point) + return _internal_target_point(); } -inline void PlayerType::unsafe_arena_set_allocated_register_response( - ::protos::RegisterResponse* register_response) { +inline void RpcCooperativeAction::unsafe_arena_set_allocated_target_point( + ::protos::RpcVector2D* target_point) { if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.register_response_); + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.target_point_); } - _impl_.register_response_ = register_response; - if (register_response) { + _impl_.target_point_ = target_point; + if (target_point) { _impl_._has_bits_[0] |= 0x00000001u; } else { _impl_._has_bits_[0] &= ~0x00000001u; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerType.register_response) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.RpcCooperativeAction.target_point) } -inline ::protos::RegisterResponse* PlayerType::release_register_response() { +inline ::protos::RpcVector2D* RpcCooperativeAction::release_target_point() { _impl_._has_bits_[0] &= ~0x00000001u; - ::protos::RegisterResponse* temp = _impl_.register_response_; - _impl_.register_response_ = nullptr; + ::protos::RpcVector2D* temp = _impl_.target_point_; + _impl_.target_point_ = nullptr; #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); @@ -55609,704 +57728,893 @@ inline ::protos::RegisterResponse* PlayerType::release_register_response() { #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::protos::RegisterResponse* PlayerType::unsafe_arena_release_register_response() { - // @@protoc_insertion_point(field_release:protos.PlayerType.register_response) +inline ::protos::RpcVector2D* RpcCooperativeAction::unsafe_arena_release_target_point() { + // @@protoc_insertion_point(field_release:protos.RpcCooperativeAction.target_point) _impl_._has_bits_[0] &= ~0x00000001u; - ::protos::RegisterResponse* temp = _impl_.register_response_; - _impl_.register_response_ = nullptr; + ::protos::RpcVector2D* temp = _impl_.target_point_; + _impl_.target_point_ = nullptr; return temp; } -inline ::protos::RegisterResponse* PlayerType::_internal_mutable_register_response() { +inline ::protos::RpcVector2D* RpcCooperativeAction::_internal_mutable_target_point() { _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.register_response_ == nullptr) { - auto* p = CreateMaybeMessage<::protos::RegisterResponse>(GetArenaForAllocation()); - _impl_.register_response_ = p; + if (_impl_.target_point_ == nullptr) { + auto* p = CreateMaybeMessage<::protos::RpcVector2D>(GetArenaForAllocation()); + _impl_.target_point_ = p; } - return _impl_.register_response_; + return _impl_.target_point_; } -inline ::protos::RegisterResponse* PlayerType::mutable_register_response() { - ::protos::RegisterResponse* _msg = _internal_mutable_register_response(); - // @@protoc_insertion_point(field_mutable:protos.PlayerType.register_response) +inline ::protos::RpcVector2D* RpcCooperativeAction::mutable_target_point() { + ::protos::RpcVector2D* _msg = _internal_mutable_target_point(); + // @@protoc_insertion_point(field_mutable:protos.RpcCooperativeAction.target_point) return _msg; } -inline void PlayerType::set_allocated_register_response(::protos::RegisterResponse* register_response) { +inline void RpcCooperativeAction::set_allocated_target_point(::protos::RpcVector2D* target_point) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { - delete _impl_.register_response_; + delete _impl_.target_point_; } - if (register_response) { + if (target_point) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(register_response); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(target_point); if (message_arena != submessage_arena) { - register_response = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, register_response, submessage_arena); + target_point = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, target_point, submessage_arena); } _impl_._has_bits_[0] |= 0x00000001u; } else { _impl_._has_bits_[0] &= ~0x00000001u; } - _impl_.register_response_ = register_response; - // @@protoc_insertion_point(field_set_allocated:protos.PlayerType.register_response) -} - -// int32 id = 2; -inline void PlayerType::clear_id() { - _impl_.id_ = 0; -} -inline ::int32_t PlayerType::id() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.id) - return _internal_id(); -} -inline void PlayerType::set_id(::int32_t value) { - _internal_set_id(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.id) -} -inline ::int32_t PlayerType::_internal_id() const { - return _impl_.id_; -} -inline void PlayerType::_internal_set_id(::int32_t value) { - ; - _impl_.id_ = value; -} - -// float stamina_inc_max = 3; -inline void PlayerType::clear_stamina_inc_max() { - _impl_.stamina_inc_max_ = 0; -} -inline float PlayerType::stamina_inc_max() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.stamina_inc_max) - return _internal_stamina_inc_max(); -} -inline void PlayerType::set_stamina_inc_max(float value) { - _internal_set_stamina_inc_max(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.stamina_inc_max) -} -inline float PlayerType::_internal_stamina_inc_max() const { - return _impl_.stamina_inc_max_; -} -inline void PlayerType::_internal_set_stamina_inc_max(float value) { - ; - _impl_.stamina_inc_max_ = value; -} - -// float player_decay = 4; -inline void PlayerType::clear_player_decay() { - _impl_.player_decay_ = 0; -} -inline float PlayerType::player_decay() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.player_decay) - return _internal_player_decay(); -} -inline void PlayerType::set_player_decay(float value) { - _internal_set_player_decay(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.player_decay) -} -inline float PlayerType::_internal_player_decay() const { - return _impl_.player_decay_; -} -inline void PlayerType::_internal_set_player_decay(float value) { - ; - _impl_.player_decay_ = value; -} - -// float inertia_moment = 5; -inline void PlayerType::clear_inertia_moment() { - _impl_.inertia_moment_ = 0; -} -inline float PlayerType::inertia_moment() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.inertia_moment) - return _internal_inertia_moment(); -} -inline void PlayerType::set_inertia_moment(float value) { - _internal_set_inertia_moment(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.inertia_moment) -} -inline float PlayerType::_internal_inertia_moment() const { - return _impl_.inertia_moment_; -} -inline void PlayerType::_internal_set_inertia_moment(float value) { - ; - _impl_.inertia_moment_ = value; + _impl_.target_point_ = target_point; + // @@protoc_insertion_point(field_set_allocated:protos.RpcCooperativeAction.target_point) } -// float dash_power_rate = 6; -inline void PlayerType::clear_dash_power_rate() { - _impl_.dash_power_rate_ = 0; +// double first_ball_speed = 6; +inline void RpcCooperativeAction::clear_first_ball_speed() { + _impl_.first_ball_speed_ = 0; } -inline float PlayerType::dash_power_rate() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.dash_power_rate) - return _internal_dash_power_rate(); +inline double RpcCooperativeAction::first_ball_speed() const { + // @@protoc_insertion_point(field_get:protos.RpcCooperativeAction.first_ball_speed) + return _internal_first_ball_speed(); } -inline void PlayerType::set_dash_power_rate(float value) { - _internal_set_dash_power_rate(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.dash_power_rate) +inline void RpcCooperativeAction::set_first_ball_speed(double value) { + _internal_set_first_ball_speed(value); + // @@protoc_insertion_point(field_set:protos.RpcCooperativeAction.first_ball_speed) } -inline float PlayerType::_internal_dash_power_rate() const { - return _impl_.dash_power_rate_; +inline double RpcCooperativeAction::_internal_first_ball_speed() const { + return _impl_.first_ball_speed_; } -inline void PlayerType::_internal_set_dash_power_rate(float value) { +inline void RpcCooperativeAction::_internal_set_first_ball_speed(double value) { ; - _impl_.dash_power_rate_ = value; + _impl_.first_ball_speed_ = value; } -// float player_size = 7; -inline void PlayerType::clear_player_size() { - _impl_.player_size_ = 0; +// double first_turn_moment = 7; +inline void RpcCooperativeAction::clear_first_turn_moment() { + _impl_.first_turn_moment_ = 0; } -inline float PlayerType::player_size() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.player_size) - return _internal_player_size(); +inline double RpcCooperativeAction::first_turn_moment() const { + // @@protoc_insertion_point(field_get:protos.RpcCooperativeAction.first_turn_moment) + return _internal_first_turn_moment(); } -inline void PlayerType::set_player_size(float value) { - _internal_set_player_size(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.player_size) +inline void RpcCooperativeAction::set_first_turn_moment(double value) { + _internal_set_first_turn_moment(value); + // @@protoc_insertion_point(field_set:protos.RpcCooperativeAction.first_turn_moment) } -inline float PlayerType::_internal_player_size() const { - return _impl_.player_size_; +inline double RpcCooperativeAction::_internal_first_turn_moment() const { + return _impl_.first_turn_moment_; } -inline void PlayerType::_internal_set_player_size(float value) { +inline void RpcCooperativeAction::_internal_set_first_turn_moment(double value) { ; - _impl_.player_size_ = value; + _impl_.first_turn_moment_ = value; } -// float kickable_margin = 8; -inline void PlayerType::clear_kickable_margin() { - _impl_.kickable_margin_ = 0; +// double first_dash_power = 8; +inline void RpcCooperativeAction::clear_first_dash_power() { + _impl_.first_dash_power_ = 0; } -inline float PlayerType::kickable_margin() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.kickable_margin) - return _internal_kickable_margin(); +inline double RpcCooperativeAction::first_dash_power() const { + // @@protoc_insertion_point(field_get:protos.RpcCooperativeAction.first_dash_power) + return _internal_first_dash_power(); } -inline void PlayerType::set_kickable_margin(float value) { - _internal_set_kickable_margin(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.kickable_margin) +inline void RpcCooperativeAction::set_first_dash_power(double value) { + _internal_set_first_dash_power(value); + // @@protoc_insertion_point(field_set:protos.RpcCooperativeAction.first_dash_power) } -inline float PlayerType::_internal_kickable_margin() const { - return _impl_.kickable_margin_; +inline double RpcCooperativeAction::_internal_first_dash_power() const { + return _impl_.first_dash_power_; } -inline void PlayerType::_internal_set_kickable_margin(float value) { +inline void RpcCooperativeAction::_internal_set_first_dash_power(double value) { ; - _impl_.kickable_margin_ = value; + _impl_.first_dash_power_ = value; } -// float kick_rand = 9; -inline void PlayerType::clear_kick_rand() { - _impl_.kick_rand_ = 0; +// double first_dash_angle_relative = 9; +inline void RpcCooperativeAction::clear_first_dash_angle_relative() { + _impl_.first_dash_angle_relative_ = 0; } -inline float PlayerType::kick_rand() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.kick_rand) - return _internal_kick_rand(); +inline double RpcCooperativeAction::first_dash_angle_relative() const { + // @@protoc_insertion_point(field_get:protos.RpcCooperativeAction.first_dash_angle_relative) + return _internal_first_dash_angle_relative(); } -inline void PlayerType::set_kick_rand(float value) { - _internal_set_kick_rand(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.kick_rand) +inline void RpcCooperativeAction::set_first_dash_angle_relative(double value) { + _internal_set_first_dash_angle_relative(value); + // @@protoc_insertion_point(field_set:protos.RpcCooperativeAction.first_dash_angle_relative) } -inline float PlayerType::_internal_kick_rand() const { - return _impl_.kick_rand_; +inline double RpcCooperativeAction::_internal_first_dash_angle_relative() const { + return _impl_.first_dash_angle_relative_; } -inline void PlayerType::_internal_set_kick_rand(float value) { +inline void RpcCooperativeAction::_internal_set_first_dash_angle_relative(double value) { ; - _impl_.kick_rand_ = value; + _impl_.first_dash_angle_relative_ = value; } -// float extra_stamina = 10; -inline void PlayerType::clear_extra_stamina() { - _impl_.extra_stamina_ = 0; +// int32 duration_step = 10; +inline void RpcCooperativeAction::clear_duration_step() { + _impl_.duration_step_ = 0; } -inline float PlayerType::extra_stamina() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.extra_stamina) - return _internal_extra_stamina(); +inline ::int32_t RpcCooperativeAction::duration_step() const { + // @@protoc_insertion_point(field_get:protos.RpcCooperativeAction.duration_step) + return _internal_duration_step(); } -inline void PlayerType::set_extra_stamina(float value) { - _internal_set_extra_stamina(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.extra_stamina) +inline void RpcCooperativeAction::set_duration_step(::int32_t value) { + _internal_set_duration_step(value); + // @@protoc_insertion_point(field_set:protos.RpcCooperativeAction.duration_step) } -inline float PlayerType::_internal_extra_stamina() const { - return _impl_.extra_stamina_; +inline ::int32_t RpcCooperativeAction::_internal_duration_step() const { + return _impl_.duration_step_; } -inline void PlayerType::_internal_set_extra_stamina(float value) { +inline void RpcCooperativeAction::_internal_set_duration_step(::int32_t value) { ; - _impl_.extra_stamina_ = value; + _impl_.duration_step_ = value; } -// float effort_max = 11; -inline void PlayerType::clear_effort_max() { - _impl_.effort_max_ = 0; +// int32 kick_count = 11; +inline void RpcCooperativeAction::clear_kick_count() { + _impl_.kick_count_ = 0; } -inline float PlayerType::effort_max() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.effort_max) - return _internal_effort_max(); +inline ::int32_t RpcCooperativeAction::kick_count() const { + // @@protoc_insertion_point(field_get:protos.RpcCooperativeAction.kick_count) + return _internal_kick_count(); } -inline void PlayerType::set_effort_max(float value) { - _internal_set_effort_max(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.effort_max) +inline void RpcCooperativeAction::set_kick_count(::int32_t value) { + _internal_set_kick_count(value); + // @@protoc_insertion_point(field_set:protos.RpcCooperativeAction.kick_count) } -inline float PlayerType::_internal_effort_max() const { - return _impl_.effort_max_; +inline ::int32_t RpcCooperativeAction::_internal_kick_count() const { + return _impl_.kick_count_; } -inline void PlayerType::_internal_set_effort_max(float value) { +inline void RpcCooperativeAction::_internal_set_kick_count(::int32_t value) { ; - _impl_.effort_max_ = value; + _impl_.kick_count_ = value; } -// float effort_min = 12; -inline void PlayerType::clear_effort_min() { - _impl_.effort_min_ = 0; +// int32 turn_count = 12; +inline void RpcCooperativeAction::clear_turn_count() { + _impl_.turn_count_ = 0; } -inline float PlayerType::effort_min() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.effort_min) - return _internal_effort_min(); +inline ::int32_t RpcCooperativeAction::turn_count() const { + // @@protoc_insertion_point(field_get:protos.RpcCooperativeAction.turn_count) + return _internal_turn_count(); } -inline void PlayerType::set_effort_min(float value) { - _internal_set_effort_min(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.effort_min) +inline void RpcCooperativeAction::set_turn_count(::int32_t value) { + _internal_set_turn_count(value); + // @@protoc_insertion_point(field_set:protos.RpcCooperativeAction.turn_count) } -inline float PlayerType::_internal_effort_min() const { - return _impl_.effort_min_; +inline ::int32_t RpcCooperativeAction::_internal_turn_count() const { + return _impl_.turn_count_; } -inline void PlayerType::_internal_set_effort_min(float value) { +inline void RpcCooperativeAction::_internal_set_turn_count(::int32_t value) { ; - _impl_.effort_min_ = value; + _impl_.turn_count_ = value; } -// float kick_power_rate = 13; -inline void PlayerType::clear_kick_power_rate() { - _impl_.kick_power_rate_ = 0; +// int32 dash_count = 13; +inline void RpcCooperativeAction::clear_dash_count() { + _impl_.dash_count_ = 0; } -inline float PlayerType::kick_power_rate() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.kick_power_rate) - return _internal_kick_power_rate(); +inline ::int32_t RpcCooperativeAction::dash_count() const { + // @@protoc_insertion_point(field_get:protos.RpcCooperativeAction.dash_count) + return _internal_dash_count(); } -inline void PlayerType::set_kick_power_rate(float value) { - _internal_set_kick_power_rate(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.kick_power_rate) +inline void RpcCooperativeAction::set_dash_count(::int32_t value) { + _internal_set_dash_count(value); + // @@protoc_insertion_point(field_set:protos.RpcCooperativeAction.dash_count) } -inline float PlayerType::_internal_kick_power_rate() const { - return _impl_.kick_power_rate_; +inline ::int32_t RpcCooperativeAction::_internal_dash_count() const { + return _impl_.dash_count_; } -inline void PlayerType::_internal_set_kick_power_rate(float value) { +inline void RpcCooperativeAction::_internal_set_dash_count(::int32_t value) { ; - _impl_.kick_power_rate_ = value; + _impl_.dash_count_ = value; } -// float foul_detect_probability = 14; -inline void PlayerType::clear_foul_detect_probability() { - _impl_.foul_detect_probability_ = 0; +// bool final_action = 14; +inline void RpcCooperativeAction::clear_final_action() { + _impl_.final_action_ = false; } -inline float PlayerType::foul_detect_probability() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.foul_detect_probability) - return _internal_foul_detect_probability(); +inline bool RpcCooperativeAction::final_action() const { + // @@protoc_insertion_point(field_get:protos.RpcCooperativeAction.final_action) + return _internal_final_action(); } -inline void PlayerType::set_foul_detect_probability(float value) { - _internal_set_foul_detect_probability(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.foul_detect_probability) +inline void RpcCooperativeAction::set_final_action(bool value) { + _internal_set_final_action(value); + // @@protoc_insertion_point(field_set:protos.RpcCooperativeAction.final_action) } -inline float PlayerType::_internal_foul_detect_probability() const { - return _impl_.foul_detect_probability_; +inline bool RpcCooperativeAction::_internal_final_action() const { + return _impl_.final_action_; } -inline void PlayerType::_internal_set_foul_detect_probability(float value) { +inline void RpcCooperativeAction::_internal_set_final_action(bool value) { ; - _impl_.foul_detect_probability_ = value; + _impl_.final_action_ = value; } -// float catchable_area_l_stretch = 15; -inline void PlayerType::clear_catchable_area_l_stretch() { - _impl_.catchable_area_l_stretch_ = 0; -} -inline float PlayerType::catchable_area_l_stretch() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.catchable_area_l_stretch) - return _internal_catchable_area_l_stretch(); -} -inline void PlayerType::set_catchable_area_l_stretch(float value) { - _internal_set_catchable_area_l_stretch(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.catchable_area_l_stretch) +// string description = 15; +inline void RpcCooperativeAction::clear_description() { + _impl_.description_.ClearToEmpty(); } -inline float PlayerType::_internal_catchable_area_l_stretch() const { - return _impl_.catchable_area_l_stretch_; +inline const std::string& RpcCooperativeAction::description() const { + // @@protoc_insertion_point(field_get:protos.RpcCooperativeAction.description) + return _internal_description(); } -inline void PlayerType::_internal_set_catchable_area_l_stretch(float value) { +template +inline PROTOBUF_ALWAYS_INLINE void RpcCooperativeAction::set_description(Arg_&& arg, + Args_... args) { ; - _impl_.catchable_area_l_stretch_ = value; + _impl_.description_.Set(static_cast(arg), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:protos.RpcCooperativeAction.description) } - -// float unum_far_length = 16; -inline void PlayerType::clear_unum_far_length() { - _impl_.unum_far_length_ = 0; -} -inline float PlayerType::unum_far_length() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.unum_far_length) - return _internal_unum_far_length(); +inline std::string* RpcCooperativeAction::mutable_description() { + std::string* _s = _internal_mutable_description(); + // @@protoc_insertion_point(field_mutable:protos.RpcCooperativeAction.description) + return _s; } -inline void PlayerType::set_unum_far_length(float value) { - _internal_set_unum_far_length(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.unum_far_length) +inline const std::string& RpcCooperativeAction::_internal_description() const { + return _impl_.description_.Get(); } -inline float PlayerType::_internal_unum_far_length() const { - return _impl_.unum_far_length_; +inline void RpcCooperativeAction::_internal_set_description(const std::string& value) { + ; + + + _impl_.description_.Set(value, GetArenaForAllocation()); } -inline void PlayerType::_internal_set_unum_far_length(float value) { +inline std::string* RpcCooperativeAction::_internal_mutable_description() { ; - _impl_.unum_far_length_ = value; + return _impl_.description_.Mutable( GetArenaForAllocation()); +} +inline std::string* RpcCooperativeAction::release_description() { + // @@protoc_insertion_point(field_release:protos.RpcCooperativeAction.description) + return _impl_.description_.Release(); +} +inline void RpcCooperativeAction::set_allocated_description(std::string* value) { + _impl_.description_.SetAllocated(value, GetArenaForAllocation()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.description_.IsDefault()) { + _impl_.description_.Set("", GetArenaForAllocation()); + } + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:protos.RpcCooperativeAction.description) } -// float unum_too_far_length = 17; -inline void PlayerType::clear_unum_too_far_length() { - _impl_.unum_too_far_length_ = 0; +// int32 parent_index = 16; +inline void RpcCooperativeAction::clear_parent_index() { + _impl_.parent_index_ = 0; } -inline float PlayerType::unum_too_far_length() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.unum_too_far_length) - return _internal_unum_too_far_length(); +inline ::int32_t RpcCooperativeAction::parent_index() const { + // @@protoc_insertion_point(field_get:protos.RpcCooperativeAction.parent_index) + return _internal_parent_index(); } -inline void PlayerType::set_unum_too_far_length(float value) { - _internal_set_unum_too_far_length(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.unum_too_far_length) +inline void RpcCooperativeAction::set_parent_index(::int32_t value) { + _internal_set_parent_index(value); + // @@protoc_insertion_point(field_set:protos.RpcCooperativeAction.parent_index) } -inline float PlayerType::_internal_unum_too_far_length() const { - return _impl_.unum_too_far_length_; +inline ::int32_t RpcCooperativeAction::_internal_parent_index() const { + return _impl_.parent_index_; } -inline void PlayerType::_internal_set_unum_too_far_length(float value) { +inline void RpcCooperativeAction::_internal_set_parent_index(::int32_t value) { ; - _impl_.unum_too_far_length_ = value; + _impl_.parent_index_ = value; } -// float team_far_length = 18; -inline void PlayerType::clear_team_far_length() { - _impl_.team_far_length_ = 0; +// ------------------------------------------------------------------- + +// RpcPredictState + +// int32 spend_time = 1; +inline void RpcPredictState::clear_spend_time() { + _impl_.spend_time_ = 0; } -inline float PlayerType::team_far_length() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.team_far_length) - return _internal_team_far_length(); +inline ::int32_t RpcPredictState::spend_time() const { + // @@protoc_insertion_point(field_get:protos.RpcPredictState.spend_time) + return _internal_spend_time(); } -inline void PlayerType::set_team_far_length(float value) { - _internal_set_team_far_length(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.team_far_length) +inline void RpcPredictState::set_spend_time(::int32_t value) { + _internal_set_spend_time(value); + // @@protoc_insertion_point(field_set:protos.RpcPredictState.spend_time) } -inline float PlayerType::_internal_team_far_length() const { - return _impl_.team_far_length_; +inline ::int32_t RpcPredictState::_internal_spend_time() const { + return _impl_.spend_time_; } -inline void PlayerType::_internal_set_team_far_length(float value) { +inline void RpcPredictState::_internal_set_spend_time(::int32_t value) { ; - _impl_.team_far_length_ = value; + _impl_.spend_time_ = value; } -// float team_too_far_length = 19; -inline void PlayerType::clear_team_too_far_length() { - _impl_.team_too_far_length_ = 0; +// int32 ball_holder_unum = 2; +inline void RpcPredictState::clear_ball_holder_unum() { + _impl_.ball_holder_unum_ = 0; } -inline float PlayerType::team_too_far_length() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.team_too_far_length) - return _internal_team_too_far_length(); +inline ::int32_t RpcPredictState::ball_holder_unum() const { + // @@protoc_insertion_point(field_get:protos.RpcPredictState.ball_holder_unum) + return _internal_ball_holder_unum(); } -inline void PlayerType::set_team_too_far_length(float value) { - _internal_set_team_too_far_length(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.team_too_far_length) +inline void RpcPredictState::set_ball_holder_unum(::int32_t value) { + _internal_set_ball_holder_unum(value); + // @@protoc_insertion_point(field_set:protos.RpcPredictState.ball_holder_unum) } -inline float PlayerType::_internal_team_too_far_length() const { - return _impl_.team_too_far_length_; +inline ::int32_t RpcPredictState::_internal_ball_holder_unum() const { + return _impl_.ball_holder_unum_; } -inline void PlayerType::_internal_set_team_too_far_length(float value) { +inline void RpcPredictState::_internal_set_ball_holder_unum(::int32_t value) { ; - _impl_.team_too_far_length_ = value; + _impl_.ball_holder_unum_ = value; } -// float player_max_observation_length = 20; -inline void PlayerType::clear_player_max_observation_length() { - _impl_.player_max_observation_length_ = 0; +// .protos.RpcVector2D ball_position = 3; +inline bool RpcPredictState::has_ball_position() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.ball_position_ != nullptr); + return value; } -inline float PlayerType::player_max_observation_length() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.player_max_observation_length) - return _internal_player_max_observation_length(); +inline void RpcPredictState::clear_ball_position() { + if (_impl_.ball_position_ != nullptr) _impl_.ball_position_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline void PlayerType::set_player_max_observation_length(float value) { - _internal_set_player_max_observation_length(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.player_max_observation_length) +inline const ::protos::RpcVector2D& RpcPredictState::_internal_ball_position() const { + const ::protos::RpcVector2D* p = _impl_.ball_position_; + return p != nullptr ? *p : reinterpret_cast( + ::protos::_RpcVector2D_default_instance_); } -inline float PlayerType::_internal_player_max_observation_length() const { - return _impl_.player_max_observation_length_; +inline const ::protos::RpcVector2D& RpcPredictState::ball_position() const { + // @@protoc_insertion_point(field_get:protos.RpcPredictState.ball_position) + return _internal_ball_position(); } -inline void PlayerType::_internal_set_player_max_observation_length(float value) { - ; - _impl_.player_max_observation_length_ = value; +inline void RpcPredictState::unsafe_arena_set_allocated_ball_position( + ::protos::RpcVector2D* ball_position) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ball_position_); + } + _impl_.ball_position_ = ball_position; + if (ball_position) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.RpcPredictState.ball_position) } - -// float ball_vel_far_length = 21; -inline void PlayerType::clear_ball_vel_far_length() { - _impl_.ball_vel_far_length_ = 0; +inline ::protos::RpcVector2D* RpcPredictState::release_ball_position() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::protos::RpcVector2D* temp = _impl_.ball_position_; + _impl_.ball_position_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; } -inline float PlayerType::ball_vel_far_length() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.ball_vel_far_length) - return _internal_ball_vel_far_length(); +inline ::protos::RpcVector2D* RpcPredictState::unsafe_arena_release_ball_position() { + // @@protoc_insertion_point(field_release:protos.RpcPredictState.ball_position) + _impl_._has_bits_[0] &= ~0x00000001u; + ::protos::RpcVector2D* temp = _impl_.ball_position_; + _impl_.ball_position_ = nullptr; + return temp; } -inline void PlayerType::set_ball_vel_far_length(float value) { - _internal_set_ball_vel_far_length(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.ball_vel_far_length) +inline ::protos::RpcVector2D* RpcPredictState::_internal_mutable_ball_position() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.ball_position_ == nullptr) { + auto* p = CreateMaybeMessage<::protos::RpcVector2D>(GetArenaForAllocation()); + _impl_.ball_position_ = p; + } + return _impl_.ball_position_; } -inline float PlayerType::_internal_ball_vel_far_length() const { - return _impl_.ball_vel_far_length_; +inline ::protos::RpcVector2D* RpcPredictState::mutable_ball_position() { + ::protos::RpcVector2D* _msg = _internal_mutable_ball_position(); + // @@protoc_insertion_point(field_mutable:protos.RpcPredictState.ball_position) + return _msg; } -inline void PlayerType::_internal_set_ball_vel_far_length(float value) { - ; - _impl_.ball_vel_far_length_ = value; +inline void RpcPredictState::set_allocated_ball_position(::protos::RpcVector2D* ball_position) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.ball_position_; + } + if (ball_position) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ball_position); + if (message_arena != submessage_arena) { + ball_position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, ball_position, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.ball_position_ = ball_position; + // @@protoc_insertion_point(field_set_allocated:protos.RpcPredictState.ball_position) } -// float ball_vel_too_far_length = 22; -inline void PlayerType::clear_ball_vel_too_far_length() { - _impl_.ball_vel_too_far_length_ = 0; +// .protos.RpcVector2D ball_velocity = 4; +inline bool RpcPredictState::has_ball_velocity() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.ball_velocity_ != nullptr); + return value; } -inline float PlayerType::ball_vel_too_far_length() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.ball_vel_too_far_length) - return _internal_ball_vel_too_far_length(); +inline void RpcPredictState::clear_ball_velocity() { + if (_impl_.ball_velocity_ != nullptr) _impl_.ball_velocity_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; } -inline void PlayerType::set_ball_vel_too_far_length(float value) { - _internal_set_ball_vel_too_far_length(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.ball_vel_too_far_length) +inline const ::protos::RpcVector2D& RpcPredictState::_internal_ball_velocity() const { + const ::protos::RpcVector2D* p = _impl_.ball_velocity_; + return p != nullptr ? *p : reinterpret_cast( + ::protos::_RpcVector2D_default_instance_); } -inline float PlayerType::_internal_ball_vel_too_far_length() const { - return _impl_.ball_vel_too_far_length_; +inline const ::protos::RpcVector2D& RpcPredictState::ball_velocity() const { + // @@protoc_insertion_point(field_get:protos.RpcPredictState.ball_velocity) + return _internal_ball_velocity(); } -inline void PlayerType::_internal_set_ball_vel_too_far_length(float value) { - ; - _impl_.ball_vel_too_far_length_ = value; +inline void RpcPredictState::unsafe_arena_set_allocated_ball_velocity( + ::protos::RpcVector2D* ball_velocity) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ball_velocity_); + } + _impl_.ball_velocity_ = ball_velocity; + if (ball_velocity) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.RpcPredictState.ball_velocity) } - -// float ball_max_observation_length = 23; -inline void PlayerType::clear_ball_max_observation_length() { - _impl_.ball_max_observation_length_ = 0; +inline ::protos::RpcVector2D* RpcPredictState::release_ball_velocity() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::protos::RpcVector2D* temp = _impl_.ball_velocity_; + _impl_.ball_velocity_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; } -inline float PlayerType::ball_max_observation_length() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.ball_max_observation_length) - return _internal_ball_max_observation_length(); +inline ::protos::RpcVector2D* RpcPredictState::unsafe_arena_release_ball_velocity() { + // @@protoc_insertion_point(field_release:protos.RpcPredictState.ball_velocity) + _impl_._has_bits_[0] &= ~0x00000002u; + ::protos::RpcVector2D* temp = _impl_.ball_velocity_; + _impl_.ball_velocity_ = nullptr; + return temp; } -inline void PlayerType::set_ball_max_observation_length(float value) { - _internal_set_ball_max_observation_length(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.ball_max_observation_length) +inline ::protos::RpcVector2D* RpcPredictState::_internal_mutable_ball_velocity() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.ball_velocity_ == nullptr) { + auto* p = CreateMaybeMessage<::protos::RpcVector2D>(GetArenaForAllocation()); + _impl_.ball_velocity_ = p; + } + return _impl_.ball_velocity_; } -inline float PlayerType::_internal_ball_max_observation_length() const { - return _impl_.ball_max_observation_length_; +inline ::protos::RpcVector2D* RpcPredictState::mutable_ball_velocity() { + ::protos::RpcVector2D* _msg = _internal_mutable_ball_velocity(); + // @@protoc_insertion_point(field_mutable:protos.RpcPredictState.ball_velocity) + return _msg; } -inline void PlayerType::_internal_set_ball_max_observation_length(float value) { - ; - _impl_.ball_max_observation_length_ = value; +inline void RpcPredictState::set_allocated_ball_velocity(::protos::RpcVector2D* ball_velocity) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.ball_velocity_; + } + if (ball_velocity) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ball_velocity); + if (message_arena != submessage_arena) { + ball_velocity = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, ball_velocity, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.ball_velocity_ = ball_velocity; + // @@protoc_insertion_point(field_set_allocated:protos.RpcPredictState.ball_velocity) } -// float flag_chg_far_length = 24; -inline void PlayerType::clear_flag_chg_far_length() { - _impl_.flag_chg_far_length_ = 0; +// double our_defense_line_x = 5; +inline void RpcPredictState::clear_our_defense_line_x() { + _impl_.our_defense_line_x_ = 0; } -inline float PlayerType::flag_chg_far_length() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.flag_chg_far_length) - return _internal_flag_chg_far_length(); +inline double RpcPredictState::our_defense_line_x() const { + // @@protoc_insertion_point(field_get:protos.RpcPredictState.our_defense_line_x) + return _internal_our_defense_line_x(); } -inline void PlayerType::set_flag_chg_far_length(float value) { - _internal_set_flag_chg_far_length(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.flag_chg_far_length) +inline void RpcPredictState::set_our_defense_line_x(double value) { + _internal_set_our_defense_line_x(value); + // @@protoc_insertion_point(field_set:protos.RpcPredictState.our_defense_line_x) } -inline float PlayerType::_internal_flag_chg_far_length() const { - return _impl_.flag_chg_far_length_; +inline double RpcPredictState::_internal_our_defense_line_x() const { + return _impl_.our_defense_line_x_; } -inline void PlayerType::_internal_set_flag_chg_far_length(float value) { +inline void RpcPredictState::_internal_set_our_defense_line_x(double value) { ; - _impl_.flag_chg_far_length_ = value; + _impl_.our_defense_line_x_ = value; } -// float flag_chg_too_far_length = 25; -inline void PlayerType::clear_flag_chg_too_far_length() { - _impl_.flag_chg_too_far_length_ = 0; +// double our_offense_line_x = 6; +inline void RpcPredictState::clear_our_offense_line_x() { + _impl_.our_offense_line_x_ = 0; } -inline float PlayerType::flag_chg_too_far_length() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.flag_chg_too_far_length) - return _internal_flag_chg_too_far_length(); +inline double RpcPredictState::our_offense_line_x() const { + // @@protoc_insertion_point(field_get:protos.RpcPredictState.our_offense_line_x) + return _internal_our_offense_line_x(); } -inline void PlayerType::set_flag_chg_too_far_length(float value) { - _internal_set_flag_chg_too_far_length(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.flag_chg_too_far_length) +inline void RpcPredictState::set_our_offense_line_x(double value) { + _internal_set_our_offense_line_x(value); + // @@protoc_insertion_point(field_set:protos.RpcPredictState.our_offense_line_x) } -inline float PlayerType::_internal_flag_chg_too_far_length() const { - return _impl_.flag_chg_too_far_length_; +inline double RpcPredictState::_internal_our_offense_line_x() const { + return _impl_.our_offense_line_x_; } -inline void PlayerType::_internal_set_flag_chg_too_far_length(float value) { +inline void RpcPredictState::_internal_set_our_offense_line_x(double value) { ; - _impl_.flag_chg_too_far_length_ = value; + _impl_.our_offense_line_x_ = value; } -// float flag_max_observation_length = 26; -inline void PlayerType::clear_flag_max_observation_length() { - _impl_.flag_max_observation_length_ = 0; +// ------------------------------------------------------------------- + +// RpcActionStatePair + +// .protos.RpcCooperativeAction action = 1; +inline bool RpcActionStatePair::has_action() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_ != nullptr); + return value; } -inline float PlayerType::flag_max_observation_length() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.flag_max_observation_length) - return _internal_flag_max_observation_length(); +inline void RpcActionStatePair::clear_action() { + if (_impl_.action_ != nullptr) _impl_.action_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline void PlayerType::set_flag_max_observation_length(float value) { - _internal_set_flag_max_observation_length(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.flag_max_observation_length) +inline const ::protos::RpcCooperativeAction& RpcActionStatePair::_internal_action() const { + const ::protos::RpcCooperativeAction* p = _impl_.action_; + return p != nullptr ? *p : reinterpret_cast( + ::protos::_RpcCooperativeAction_default_instance_); } -inline float PlayerType::_internal_flag_max_observation_length() const { - return _impl_.flag_max_observation_length_; +inline const ::protos::RpcCooperativeAction& RpcActionStatePair::action() const { + // @@protoc_insertion_point(field_get:protos.RpcActionStatePair.action) + return _internal_action(); } -inline void PlayerType::_internal_set_flag_max_observation_length(float value) { - ; - _impl_.flag_max_observation_length_ = value; +inline void RpcActionStatePair::unsafe_arena_set_allocated_action( + ::protos::RpcCooperativeAction* action) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.action_); + } + _impl_.action_ = action; + if (action) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.RpcActionStatePair.action) } - -// float kickable_area = 27; -inline void PlayerType::clear_kickable_area() { - _impl_.kickable_area_ = 0; +inline ::protos::RpcCooperativeAction* RpcActionStatePair::release_action() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::protos::RpcCooperativeAction* temp = _impl_.action_; + _impl_.action_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; } -inline float PlayerType::kickable_area() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.kickable_area) - return _internal_kickable_area(); +inline ::protos::RpcCooperativeAction* RpcActionStatePair::unsafe_arena_release_action() { + // @@protoc_insertion_point(field_release:protos.RpcActionStatePair.action) + _impl_._has_bits_[0] &= ~0x00000001u; + ::protos::RpcCooperativeAction* temp = _impl_.action_; + _impl_.action_ = nullptr; + return temp; } -inline void PlayerType::set_kickable_area(float value) { - _internal_set_kickable_area(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.kickable_area) +inline ::protos::RpcCooperativeAction* RpcActionStatePair::_internal_mutable_action() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.action_ == nullptr) { + auto* p = CreateMaybeMessage<::protos::RpcCooperativeAction>(GetArenaForAllocation()); + _impl_.action_ = p; + } + return _impl_.action_; } -inline float PlayerType::_internal_kickable_area() const { - return _impl_.kickable_area_; +inline ::protos::RpcCooperativeAction* RpcActionStatePair::mutable_action() { + ::protos::RpcCooperativeAction* _msg = _internal_mutable_action(); + // @@protoc_insertion_point(field_mutable:protos.RpcActionStatePair.action) + return _msg; } -inline void PlayerType::_internal_set_kickable_area(float value) { - ; - _impl_.kickable_area_ = value; +inline void RpcActionStatePair::set_allocated_action(::protos::RpcCooperativeAction* action) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.action_; + } + if (action) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(action); + if (message_arena != submessage_arena) { + action = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, action, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.action_ = action; + // @@protoc_insertion_point(field_set_allocated:protos.RpcActionStatePair.action) } -// float reliable_catchable_dist = 28; -inline void PlayerType::clear_reliable_catchable_dist() { - _impl_.reliable_catchable_dist_ = 0; +// .protos.RpcPredictState predict_state = 2; +inline bool RpcActionStatePair::has_predict_state() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.predict_state_ != nullptr); + return value; } -inline float PlayerType::reliable_catchable_dist() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.reliable_catchable_dist) - return _internal_reliable_catchable_dist(); +inline void RpcActionStatePair::clear_predict_state() { + if (_impl_.predict_state_ != nullptr) _impl_.predict_state_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; } -inline void PlayerType::set_reliable_catchable_dist(float value) { - _internal_set_reliable_catchable_dist(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.reliable_catchable_dist) +inline const ::protos::RpcPredictState& RpcActionStatePair::_internal_predict_state() const { + const ::protos::RpcPredictState* p = _impl_.predict_state_; + return p != nullptr ? *p : reinterpret_cast( + ::protos::_RpcPredictState_default_instance_); } -inline float PlayerType::_internal_reliable_catchable_dist() const { - return _impl_.reliable_catchable_dist_; +inline const ::protos::RpcPredictState& RpcActionStatePair::predict_state() const { + // @@protoc_insertion_point(field_get:protos.RpcActionStatePair.predict_state) + return _internal_predict_state(); } -inline void PlayerType::_internal_set_reliable_catchable_dist(float value) { - ; - _impl_.reliable_catchable_dist_ = value; +inline void RpcActionStatePair::unsafe_arena_set_allocated_predict_state( + ::protos::RpcPredictState* predict_state) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.predict_state_); + } + _impl_.predict_state_ = predict_state; + if (predict_state) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.RpcActionStatePair.predict_state) } - -// float max_catchable_dist = 29; -inline void PlayerType::clear_max_catchable_dist() { - _impl_.max_catchable_dist_ = 0; +inline ::protos::RpcPredictState* RpcActionStatePair::release_predict_state() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::protos::RpcPredictState* temp = _impl_.predict_state_; + _impl_.predict_state_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; } -inline float PlayerType::max_catchable_dist() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.max_catchable_dist) - return _internal_max_catchable_dist(); +inline ::protos::RpcPredictState* RpcActionStatePair::unsafe_arena_release_predict_state() { + // @@protoc_insertion_point(field_release:protos.RpcActionStatePair.predict_state) + _impl_._has_bits_[0] &= ~0x00000002u; + ::protos::RpcPredictState* temp = _impl_.predict_state_; + _impl_.predict_state_ = nullptr; + return temp; } -inline void PlayerType::set_max_catchable_dist(float value) { - _internal_set_max_catchable_dist(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.max_catchable_dist) +inline ::protos::RpcPredictState* RpcActionStatePair::_internal_mutable_predict_state() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.predict_state_ == nullptr) { + auto* p = CreateMaybeMessage<::protos::RpcPredictState>(GetArenaForAllocation()); + _impl_.predict_state_ = p; + } + return _impl_.predict_state_; } -inline float PlayerType::_internal_max_catchable_dist() const { - return _impl_.max_catchable_dist_; +inline ::protos::RpcPredictState* RpcActionStatePair::mutable_predict_state() { + ::protos::RpcPredictState* _msg = _internal_mutable_predict_state(); + // @@protoc_insertion_point(field_mutable:protos.RpcActionStatePair.predict_state) + return _msg; } -inline void PlayerType::_internal_set_max_catchable_dist(float value) { - ; - _impl_.max_catchable_dist_ = value; +inline void RpcActionStatePair::set_allocated_predict_state(::protos::RpcPredictState* predict_state) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.predict_state_; + } + if (predict_state) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(predict_state); + if (message_arena != submessage_arena) { + predict_state = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, predict_state, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.predict_state_ = predict_state; + // @@protoc_insertion_point(field_set_allocated:protos.RpcActionStatePair.predict_state) } -// float real_speed_max = 30; -inline void PlayerType::clear_real_speed_max() { - _impl_.real_speed_max_ = 0; +// double evaluation = 3; +inline void RpcActionStatePair::clear_evaluation() { + _impl_.evaluation_ = 0; } -inline float PlayerType::real_speed_max() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.real_speed_max) - return _internal_real_speed_max(); +inline double RpcActionStatePair::evaluation() const { + // @@protoc_insertion_point(field_get:protos.RpcActionStatePair.evaluation) + return _internal_evaluation(); } -inline void PlayerType::set_real_speed_max(float value) { - _internal_set_real_speed_max(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.real_speed_max) +inline void RpcActionStatePair::set_evaluation(double value) { + _internal_set_evaluation(value); + // @@protoc_insertion_point(field_set:protos.RpcActionStatePair.evaluation) } -inline float PlayerType::_internal_real_speed_max() const { - return _impl_.real_speed_max_; +inline double RpcActionStatePair::_internal_evaluation() const { + return _impl_.evaluation_; } -inline void PlayerType::_internal_set_real_speed_max(float value) { +inline void RpcActionStatePair::_internal_set_evaluation(double value) { ; - _impl_.real_speed_max_ = value; + _impl_.evaluation_ = value; } -// float player_speed_max2 = 31; -inline void PlayerType::clear_player_speed_max2() { - _impl_.player_speed_max2_ = 0; +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// RpcActionStatePairs + +// map pairs = 1; +inline int RpcActionStatePairs::_internal_pairs_size() const { + return _impl_.pairs_.size(); } -inline float PlayerType::player_speed_max2() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.player_speed_max2) - return _internal_player_speed_max2(); +inline int RpcActionStatePairs::pairs_size() const { + return _internal_pairs_size(); } -inline void PlayerType::set_player_speed_max2(float value) { - _internal_set_player_speed_max2(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.player_speed_max2) +inline void RpcActionStatePairs::clear_pairs() { + _impl_.pairs_.Clear(); } -inline float PlayerType::_internal_player_speed_max2() const { - return _impl_.player_speed_max2_; +inline const ::PROTOBUF_NAMESPACE_ID::Map< ::int32_t, ::protos::RpcActionStatePair >& +RpcActionStatePairs::_internal_pairs() const { + return _impl_.pairs_.GetMap(); } -inline void PlayerType::_internal_set_player_speed_max2(float value) { - ; - _impl_.player_speed_max2_ = value; +inline const ::PROTOBUF_NAMESPACE_ID::Map< ::int32_t, ::protos::RpcActionStatePair >& +RpcActionStatePairs::pairs() const { + // @@protoc_insertion_point(field_map:protos.RpcActionStatePairs.pairs) + return _internal_pairs(); +} +inline ::PROTOBUF_NAMESPACE_ID::Map< ::int32_t, ::protos::RpcActionStatePair >* +RpcActionStatePairs::_internal_mutable_pairs() { + return _impl_.pairs_.MutableMap(); +} +inline ::PROTOBUF_NAMESPACE_ID::Map< ::int32_t, ::protos::RpcActionStatePair >* +RpcActionStatePairs::mutable_pairs() { + // @@protoc_insertion_point(field_mutable_map:protos.RpcActionStatePairs.pairs) + return _internal_mutable_pairs(); } -// float real_speed_max2 = 32; -inline void PlayerType::clear_real_speed_max2() { - _impl_.real_speed_max2_ = 0; +// .protos.State state = 2; +inline bool RpcActionStatePairs::has_state() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.state_ != nullptr); + return value; } -inline float PlayerType::real_speed_max2() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.real_speed_max2) - return _internal_real_speed_max2(); +inline void RpcActionStatePairs::clear_state() { + if (_impl_.state_ != nullptr) _impl_.state_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline void PlayerType::set_real_speed_max2(float value) { - _internal_set_real_speed_max2(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.real_speed_max2) +inline const ::protos::State& RpcActionStatePairs::_internal_state() const { + const ::protos::State* p = _impl_.state_; + return p != nullptr ? *p : reinterpret_cast( + ::protos::_State_default_instance_); } -inline float PlayerType::_internal_real_speed_max2() const { - return _impl_.real_speed_max2_; +inline const ::protos::State& RpcActionStatePairs::state() const { + // @@protoc_insertion_point(field_get:protos.RpcActionStatePairs.state) + return _internal_state(); } -inline void PlayerType::_internal_set_real_speed_max2(float value) { - ; - _impl_.real_speed_max2_ = value; +inline void RpcActionStatePairs::unsafe_arena_set_allocated_state( + ::protos::State* state) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.state_); + } + _impl_.state_ = state; + if (state) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.RpcActionStatePairs.state) } - -// int32 cycles_to_reach_max_speed = 33; -inline void PlayerType::clear_cycles_to_reach_max_speed() { - _impl_.cycles_to_reach_max_speed_ = 0; +inline ::protos::State* RpcActionStatePairs::release_state() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::protos::State* temp = _impl_.state_; + _impl_.state_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; } -inline ::int32_t PlayerType::cycles_to_reach_max_speed() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.cycles_to_reach_max_speed) - return _internal_cycles_to_reach_max_speed(); +inline ::protos::State* RpcActionStatePairs::unsafe_arena_release_state() { + // @@protoc_insertion_point(field_release:protos.RpcActionStatePairs.state) + _impl_._has_bits_[0] &= ~0x00000001u; + ::protos::State* temp = _impl_.state_; + _impl_.state_ = nullptr; + return temp; } -inline void PlayerType::set_cycles_to_reach_max_speed(::int32_t value) { - _internal_set_cycles_to_reach_max_speed(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.cycles_to_reach_max_speed) +inline ::protos::State* RpcActionStatePairs::_internal_mutable_state() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.state_ == nullptr) { + auto* p = CreateMaybeMessage<::protos::State>(GetArenaForAllocation()); + _impl_.state_ = p; + } + return _impl_.state_; } -inline ::int32_t PlayerType::_internal_cycles_to_reach_max_speed() const { - return _impl_.cycles_to_reach_max_speed_; +inline ::protos::State* RpcActionStatePairs::mutable_state() { + ::protos::State* _msg = _internal_mutable_state(); + // @@protoc_insertion_point(field_mutable:protos.RpcActionStatePairs.state) + return _msg; } -inline void PlayerType::_internal_set_cycles_to_reach_max_speed(::int32_t value) { - ; - _impl_.cycles_to_reach_max_speed_ = value; +inline void RpcActionStatePairs::set_allocated_state(::protos::State* state) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.state_; + } + if (state) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(state); + if (message_arena != submessage_arena) { + state = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, state, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.state_ = state; + // @@protoc_insertion_point(field_set_allocated:protos.RpcActionStatePairs.state) } -// float player_speed_max = 34; -inline void PlayerType::clear_player_speed_max() { - _impl_.player_speed_max_ = 0; +// ------------------------------------------------------------------- + +// BestActionStatePair + +// int32 index = 1; +inline void BestActionStatePair::clear_index() { + _impl_.index_ = 0; } -inline float PlayerType::player_speed_max() const { - // @@protoc_insertion_point(field_get:protos.PlayerType.player_speed_max) - return _internal_player_speed_max(); +inline ::int32_t BestActionStatePair::index() const { + // @@protoc_insertion_point(field_get:protos.BestActionStatePair.index) + return _internal_index(); } -inline void PlayerType::set_player_speed_max(float value) { - _internal_set_player_speed_max(value); - // @@protoc_insertion_point(field_set:protos.PlayerType.player_speed_max) +inline void BestActionStatePair::set_index(::int32_t value) { + _internal_set_index(value); + // @@protoc_insertion_point(field_set:protos.BestActionStatePair.index) } -inline float PlayerType::_internal_player_speed_max() const { - return _impl_.player_speed_max_; +inline ::int32_t BestActionStatePair::_internal_index() const { + return _impl_.index_; } -inline void PlayerType::_internal_set_player_speed_max(float value) { +inline void BestActionStatePair::_internal_set_index(::int32_t value) { ; - _impl_.player_speed_max_ = value; + _impl_.index_ = value; } // ------------------------------------------------------------------- @@ -56359,6 +58667,12 @@ template <> inline const EnumDescriptor* GetEnumDescriptor<::protos::AgentType>() { return ::protos::AgentType_descriptor(); } +template <> +struct is_proto_enum<::protos::RpcActionCategory> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::protos::RpcActionCategory>() { + return ::protos::RpcActionCategory_descriptor(); +} PROTOBUF_NAMESPACE_CLOSE diff --git a/src/player/planner/actgen_cross.cpp b/src/player/planner/actgen_cross.cpp index d80735a..d43d918 100644 --- a/src/player/planner/actgen_cross.cpp +++ b/src/player/planner/actgen_cross.cpp @@ -59,6 +59,18 @@ ActGen_Cross::generate( std::vector< ActionStatePair > * result, const std::vector< CooperativeAction::Ptr > & courses = CrossGenerator::instance().courses( wm ); + for (auto & course : courses) + { + if (path.empty()) + { + course->setParentIndex(-1); + } + else + { + course->setParentIndex(( *( path.rbegin() ) ).action().uniqueIndex()); + } + } + // // add pass course candidates // diff --git a/src/player/planner/actgen_direct_pass.cpp b/src/player/planner/actgen_direct_pass.cpp index 976297b..b72c14c 100644 --- a/src/player/planner/actgen_direct_pass.cpp +++ b/src/player/planner/actgen_direct_pass.cpp @@ -305,6 +305,14 @@ ActGen_DirectPass::generate( std::vector< ActionStatePair > * result, kick_step, false, "actgenDirect" ) ); + if (path.empty()) + { + action->setParentIndex(-1); + } + else + { + action->setParentIndex(( *( path.rbegin() ) ).action().uniqueIndex()); + } ++s_action_count; ++generated_count; action->setIndex( s_action_count ); diff --git a/src/player/planner/actgen_self_pass.cpp b/src/player/planner/actgen_self_pass.cpp index 9204222..741c2fb 100644 --- a/src/player/planner/actgen_self_pass.cpp +++ b/src/player/planner/actgen_self_pass.cpp @@ -69,6 +69,17 @@ ActGen_SelfPass::generate( std::vector< ActionStatePair > * result, const std::vector< CooperativeAction::Ptr > & cont = SelfPassGenerator::instance().courses( wm ); + for (auto & course : cont) + { + if (path.empty()) + { + course->setParentIndex(-1); + } + else + { + course->setParentIndex(( *( path.rbegin() ) ).action().uniqueIndex()); + } + } // // add dribble candidates // diff --git a/src/player/planner/actgen_shoot.cpp b/src/player/planner/actgen_shoot.cpp index 2cd542c..885c8ff 100644 --- a/src/player/planner/actgen_shoot.cpp +++ b/src/player/planner/actgen_shoot.cpp @@ -51,7 +51,7 @@ void ActGen_Shoot::generate( std::vector< ActionStatePair > * result, const PredictState & state, const WorldModel & wm, - const std::vector< ActionStatePair > & ) const + const std::vector< ActionStatePair > & path) const { const AbstractPlayerObject * holder = state.ballHolder(); @@ -108,6 +108,14 @@ ActGen_Shoot::generate( std::vector< ActionStatePair > * result, shoot_spend_time, 1, "shoot" ) ); + if (path.empty()) + { + action->setParentIndex(-1); + } + else + { + action->setParentIndex(( *( path.rbegin() ) ).action().uniqueIndex()); + } result->push_back( ActionStatePair( action, result_state ) ); } diff --git a/src/player/planner/actgen_short_dribble.cpp b/src/player/planner/actgen_short_dribble.cpp index d7b8cfc..045678f 100644 --- a/src/player/planner/actgen_short_dribble.cpp +++ b/src/player/planner/actgen_short_dribble.cpp @@ -70,7 +70,17 @@ ActGen_ShortDribble::generate( std::vector< ActionStatePair > * result, const std::vector< CooperativeAction::Ptr > & cont = ShortDribbleGenerator::instance().courses( wm ); - + for (auto & course : cont) + { + if (path.empty()) + { + course->setParentIndex(-1); + } + else + { + course->setParentIndex(( *( path.rbegin() ) ).action().uniqueIndex()); + } + } // // add dribble candidates // diff --git a/src/player/planner/actgen_simple_dribble.cpp b/src/player/planner/actgen_simple_dribble.cpp index 6643dff..da96f78 100644 --- a/src/player/planner/actgen_simple_dribble.cpp +++ b/src/player/planner/actgen_simple_dribble.cpp @@ -190,6 +190,15 @@ ActGen_SimpleDribble::generate( std::vector< ActionStatePair > * result, 1, holder_reach_step - 2, "actgenDribble" ) ); + + if (path.empty()) + { + action->setParentIndex(-1); + } + else + { + action->setParentIndex(( *( path.rbegin() ) ).action().uniqueIndex()); + } ++s_action_count; ++generated_count; action->setIndex( s_action_count ); diff --git a/src/player/planner/actgen_strict_check_pass.cpp b/src/player/planner/actgen_strict_check_pass.cpp index b674159..90e7974 100644 --- a/src/player/planner/actgen_strict_check_pass.cpp +++ b/src/player/planner/actgen_strict_check_pass.cpp @@ -62,7 +62,17 @@ ActGen_StrictCheckPass::generate( std::vector< ActionStatePair > * result, M_generate_direct_pass, M_generate_lead_pass, M_generate_through_pass ); - + for (auto & course : courses) + { + if (path.empty()) + { + course->setParentIndex(-1); + } + else + { + course->setParentIndex(( *( path.rbegin() ) ).action().uniqueIndex()); + } + } // // add pass course candidates // diff --git a/src/player/planner/action_chain_graph.cpp b/src/player/planner/action_chain_graph.cpp index 6e969f4..60ee420 100644 --- a/src/player/planner/action_chain_graph.cpp +++ b/src/player/planner/action_chain_graph.cpp @@ -402,6 +402,8 @@ ActionChainGraph::calculateResultBestFirstSearch( const WorldModel & wm, // initialize // M_all_results.clear(); + CooperativeAction::s_unique_index = 0; + M_result.clear(); M_best_evaluation = -std::numeric_limits< double >::max(); *(n_evaluated) = 0; @@ -442,9 +444,10 @@ ActionChainGraph::calculateResultBestFirstSearch( const WorldModel & wm, hold_action->setTargetPlayerUnum(wm.self().unum()); hold_action->setTargetPoint(wm.ball().pos()); hold_action->setKickCount(1); + hold_action->setParentIndex(-1); auto hold_state = std::shared_ptr(new PredictState(current_state, 1)); auto hold_action_state_pair = std::shared_ptr(new ActionStatePair(hold_action, hold_state)); - M_all_results[-1] = std::make_pair(hold_action_state_pair, std::make_pair(-2, current_evaluation)); + M_all_results[hold_action->uniqueIndex()] = std::make_pair(hold_action_state_pair, current_evaluation); // // main loop @@ -495,7 +498,10 @@ ActionChainGraph::calculateResultBestFirstSearch( const WorldModel & wm, #endif } - + int parent_index = -1; + if (!series.empty()) + parent_index = series.rbegin()->action().uniqueIndex(); + // // evaluate each candidate and push to priority queue // @@ -508,15 +514,11 @@ ActionChainGraph::calculateResultBestFirstSearch( const WorldModel & wm, candidate_series.push_back( *it ); double ev = (*M_evaluator)( (*it).state(), candidate_series ); - int parent_index = -1; - if (!series.empty()) - { - parent_index = series.rbegin()->action().index(); - } + auto copy_action = std::make_shared(it->action()); auto copy_state = std::make_shared(it->state()); auto new_action_state_pair = std::shared_ptr(new ActionStatePair(copy_action, copy_state)); - M_all_results[it->action().index()] = std::make_pair(new_action_state_pair, std::make_pair(parent_index, ev)); + M_all_results[copy_action->uniqueIndex()] = std::make_pair(new_action_state_pair, ev); ++(*n_evaluated); #ifdef ACTION_CHAIN_DEBUG diff --git a/src/player/planner/action_chain_graph.h b/src/player/planner/action_chain_graph.h index c7f7b6e..1814ca1 100644 --- a/src/player/planner/action_chain_graph.h +++ b/src/player/planner/action_chain_graph.h @@ -55,7 +55,7 @@ class ActionChainGraph { typedef std::shared_ptr< ActionChainGraph > Ptr; //!< pointer type alias typedef std::shared_ptr< const ActionChainGraph > ConstPtr; //!< const pointer type alias - typedef std::pair, std::pair> ResultPair; + typedef std::pair, double> ResultPair; public: static const size_t DEFAULT_MAX_CHAIN_LENGTH; diff --git a/src/player/planner/bhv_planned_action.cpp b/src/player/planner/bhv_planned_action.cpp index bd864c6..3848ca7 100644 --- a/src/player/planner/bhv_planned_action.cpp +++ b/src/player/planner/bhv_planned_action.cpp @@ -57,6 +57,7 @@ #include #include +// #define DEBUG_PLANNED_ACTION using namespace rcsc; namespace { @@ -208,11 +209,15 @@ Bhv_PlannedAction::execute( PlayerAgent * agent ) const CooperativeAction & first_action = M_chain_graph.getFirstAction(); - return execute( agent, first_action.index() ); + #ifdef DEBUG_PLANNED_ACTION + std::cout<<"planner execute"<<" i"<world(); - if ( M_chain_graph.getAllResults().find( index ) == M_chain_graph.getAllResults().end() ) + if ( M_chain_graph.getAllResults().find( unique_index ) == M_chain_graph.getAllResults().end() ) { + #ifdef DEBUG_PLANNED_ACTION + std::cout<<"Bhv_PlannedAction: invalid index"<action(); + const CooperativeAction & first_action = M_chain_graph.getAllResults().at( unique_index ).first->action(); + #ifdef DEBUG_PLANNED_ACTION + std::cout<<"planner execute"<<" i"<setNeckAction( new Neck_TurnToReceiver( M_chain_graph ) ); diff --git a/src/player/planner/cooperative_action.cpp b/src/player/planner/cooperative_action.cpp index 75bd036..38e4a43 100644 --- a/src/player/planner/cooperative_action.cpp +++ b/src/player/planner/cooperative_action.cpp @@ -35,6 +35,7 @@ using namespace rcsc; +int CooperativeAction::s_unique_index = 0; /*-------------------------------------------------------------------*/ /*! @@ -60,7 +61,7 @@ CooperativeAction::CooperativeAction( const ActionCategory & category, M_final_action( false ), M_description( description ) { - + M_unique_index = s_unique_index++; } /*-------------------------------------------------------------------*/ diff --git a/src/player/planner/cooperative_action.h b/src/player/planner/cooperative_action.h index 74c1d88..d9db2f0 100644 --- a/src/player/planner/cooperative_action.h +++ b/src/player/planner/cooperative_action.h @@ -48,6 +48,8 @@ class CooperativeAction { typedef std::shared_ptr< CooperativeAction > Ptr; //!< pointer type typedef std::shared_ptr< const CooperativeAction > ConstPtr; //!< const pointer type + static int s_unique_index; //!< unique index counter + /*! \enum ActionCategory \brief action category enumeration. @@ -67,6 +69,8 @@ class CooperativeAction { ActionCategory M_category; //!< action category type int M_index; + int M_unique_index = -1; //!< unique index for each action + int M_parent_index = -1; //!< parent index for each action int M_player_unum; //!< acting player's uniform number int M_target_player_unum; //!< action target player's uniform number @@ -96,6 +100,8 @@ class CooperativeAction { CooperativeAction( const CooperativeAction & other){ M_category = other.M_category; M_index = other.M_index; + M_unique_index = other.M_unique_index; + M_parent_index = other.M_parent_index; M_player_unum = other.M_player_unum; M_target_player_unum = other.M_target_player_unum; M_target_point = other.M_target_point; @@ -140,6 +146,8 @@ class CooperativeAction { { } void setIndex( const int i ) { M_index = i; } + void setUniqueIndex( const int i ) { M_unique_index = i; } + void setParentIndex( const int i ) { M_parent_index = i; } void setFirstBallSpeed( const double & speed ); void setFirstTurnMoment( const double & moment ); @@ -164,6 +172,14 @@ class CooperativeAction { */ int index() const { return M_index; } + /*! + */ + int uniqueIndex() const { return M_unique_index; } + + /*! + */ + int parentIndex() const { return M_parent_index; } + /*! */ const char * description() const { return M_description; } From abcfbbcb252cc8cb47f8ee248c9a951b42de3518 Mon Sep 17 00:00:00 2001 From: naderzare Date: Fri, 6 Sep 2024 23:24:01 -0300 Subject: [PATCH 08/21] clean code for server side planner and updata thrift --- idl/grpc/service.proto | 13 +- idl/thrift/soccer_service.thrift | 57 +- src/grpc-client/grpc_client_player.cpp | 8 +- src/grpc-generated/service.grpc.pb.cc | 24 +- src/grpc-generated/service.grpc.pb.h | 68 +- src/grpc-generated/service.pb.cc | 582 +++++---- src/grpc-generated/service.pb.h | 505 ++++---- src/thrift-generated/Game.cpp | 383 ++++++ src/thrift-generated/Game.h | 126 ++ src/thrift-generated/Game_server.skeleton.cpp | 5 + src/thrift-generated/soccer_service_types.cpp | 1053 ++++++++++++++++- src/thrift-generated/soccer_service_types.h | 429 ++++++- 12 files changed, 2728 insertions(+), 525 deletions(-) diff --git a/idl/grpc/service.proto b/idl/grpc/service.proto index 88701ec..1519b88 100644 --- a/idl/grpc/service.proto +++ b/idl/grpc/service.proto @@ -1243,18 +1243,19 @@ message RpcPredictState { double our_offense_line_x = 6; } -message RpcActionStatePair { +message RpcActionState { RpcCooperativeAction action = 1; RpcPredictState predict_state = 2; double evaluation = 3; } -message RpcActionStatePairs { - map pairs = 1; - State state = 2; +message BestPlannerActionRequest { + RegisterResponse register_response = 1; + map pairs = 2; + State state = 3; } -message BestActionStatePair { +message BestPlannerActionResponse { int32 index = 1; } @@ -1271,5 +1272,5 @@ service Game { rpc SendPlayerType(PlayerType) returns (Empty) {} //should be PlayerTypes rpc Register(RegisterRequest) returns (RegisterResponse) {} rpc SendByeCommand(RegisterResponse) returns (Empty) {} - rpc GetBestPlannerAction(RpcActionStatePairs) returns (BestActionStatePair) {} + rpc GetBestPlannerAction(BestPlannerActionRequest) returns (BestPlannerActionResponse) {} } \ No newline at end of file diff --git a/idl/thrift/soccer_service.thrift b/idl/thrift/soccer_service.thrift index ae4fecd..297a631 100644 --- a/idl/thrift/soccer_service.thrift +++ b/idl/thrift/soccer_service.thrift @@ -1164,6 +1164,60 @@ struct PlayerType { 34: double player_speed_max, } +enum RpcActionCategory { + AC_Hold = 0; + AC_Dribble = 1; + AC_Pass = 2; + AC_Shoot = 3; + AC_Clear = 4; + AC_Move = 5; + AC_NoAction = 6; +} + +struct RpcCooperativeAction { + 1: RpcActionCategory category; + 2: i32 index; + 3: i32 sender_unum; + 4: i32 target_unum; + 5: RpcVector2D target_point; + 6: double first_ball_speed; + 7: double first_turn_moment; + 8: double first_dash_power; + 9: double first_dash_angle_relative; + 10: i32 duration_step; + 11: i32 kick_count; + 12: i32 turn_count; + 13: i32 dash_count; + 14: bool final_action; + 15: string description; + 16: i32 parent_index; +} + +struct RpcPredictState { + 1: i32 spend_time; + 2: i32 ball_holder_unum; + 3: RpcVector2D ball_position; + 4: RpcVector2D ball_velocity; + 5: double our_defense_line_x; + 6: double our_offense_line_x; +} + +struct RpcActionState { + 1: RpcCooperativeAction action; + 2: RpcPredictState predict_state; + 3: double evaluation; +} + +struct BestPlannerActionRequest { + 1: RegisterResponse register_response, + 2: map pairs; + 3: State state; +} + +struct BestPlannerActionResponse { + 1: i32 index; +} + struct Empty {} service Game { @@ -1175,6 +1229,7 @@ service Game { Empty SendPlayerParams(1: PlayerParam player_param), Empty SendPlayerType(1: PlayerType player_type), RegisterResponse Register(1: RegisterRequest request), - Empty SendByeCommand(1: RegisterResponse register_response) + Empty SendByeCommand(1: RegisterResponse register_response), + BestPlannerActionResponse GetBestPlannerAction(1: BestPlannerActionRequest best_planner_action_request) } diff --git a/src/grpc-client/grpc_client_player.cpp b/src/grpc-client/grpc_client_player.cpp index 756d4c4..e867d2a 100644 --- a/src/grpc-client/grpc_client_player.cpp +++ b/src/grpc-client/grpc_client_player.cpp @@ -667,7 +667,9 @@ void GrpcClientPlayer::getActions() void GrpcClientPlayer::GetBestPlannerAction() { - protos::RpcActionStatePairs *action_state_pairs = new protos::RpcActionStatePairs(); + protos::BestPlannerActionRequest *action_state_pairs = new protos::BestPlannerActionRequest(); + protos::RegisterResponse* response = new protos::RegisterResponse(*M_register_response); + action_state_pairs->set_allocated_register_response(response); State state = generateState(); action_state_pairs->set_allocated_state(&state); #ifdef DEBUG_CLIENT_PLAYER @@ -689,7 +691,7 @@ void GrpcClientPlayer::GetBestPlannerAction() std::cout<<"index:"<mutable_pairs(); - auto rpc_action_state_pair = protos::RpcActionStatePair(); + auto rpc_action_state_pair = protos::RpcActionState(); auto rpc_cooperative_action = new protos::RpcCooperativeAction(); auto rpc_predict_state = new protos::RpcPredictState(); auto category = protos::RpcActionCategory::AC_Hold; @@ -760,7 +762,7 @@ void GrpcClientPlayer::GetBestPlannerAction() std::cout << "map size:" << action_state_pairs->pairs_size() << std::endl; #endif - protos::BestActionStatePair best_action; + protos::BestPlannerActionResponse best_action; ClientContext context; Status status = M_stub_->GetBestPlannerAction(&context, *action_state_pairs, &best_action); diff --git a/src/grpc-generated/service.grpc.pb.cc b/src/grpc-generated/service.grpc.pb.cc index 6a93839..5d7c444 100644 --- a/src/grpc-generated/service.grpc.pb.cc +++ b/src/grpc-generated/service.grpc.pb.cc @@ -260,23 +260,23 @@ ::grpc::ClientAsyncResponseReader< ::protos::Empty>* Game::Stub::AsyncSendByeCom return result; } -::grpc::Status Game::Stub::GetBestPlannerAction(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs& request, ::protos::BestActionStatePair* response) { - return ::grpc::internal::BlockingUnaryCall< ::protos::RpcActionStatePairs, ::protos::BestActionStatePair, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_GetBestPlannerAction_, context, request, response); +::grpc::Status Game::Stub::GetBestPlannerAction(::grpc::ClientContext* context, const ::protos::BestPlannerActionRequest& request, ::protos::BestPlannerActionResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::protos::BestPlannerActionRequest, ::protos::BestPlannerActionResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_GetBestPlannerAction_, context, request, response); } -void Game::Stub::async::GetBestPlannerAction(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs* request, ::protos::BestActionStatePair* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::protos::RpcActionStatePairs, ::protos::BestActionStatePair, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetBestPlannerAction_, context, request, response, std::move(f)); +void Game::Stub::async::GetBestPlannerAction(::grpc::ClientContext* context, const ::protos::BestPlannerActionRequest* request, ::protos::BestPlannerActionResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::protos::BestPlannerActionRequest, ::protos::BestPlannerActionResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetBestPlannerAction_, context, request, response, std::move(f)); } -void Game::Stub::async::GetBestPlannerAction(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs* request, ::protos::BestActionStatePair* response, ::grpc::ClientUnaryReactor* reactor) { +void Game::Stub::async::GetBestPlannerAction(::grpc::ClientContext* context, const ::protos::BestPlannerActionRequest* request, ::protos::BestPlannerActionResponse* response, ::grpc::ClientUnaryReactor* reactor) { ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetBestPlannerAction_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::protos::BestActionStatePair>* Game::Stub::PrepareAsyncGetBestPlannerActionRaw(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::protos::BestActionStatePair, ::protos::RpcActionStatePairs, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_GetBestPlannerAction_, context, request); +::grpc::ClientAsyncResponseReader< ::protos::BestPlannerActionResponse>* Game::Stub::PrepareAsyncGetBestPlannerActionRaw(::grpc::ClientContext* context, const ::protos::BestPlannerActionRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::protos::BestPlannerActionResponse, ::protos::BestPlannerActionRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_GetBestPlannerAction_, context, request); } -::grpc::ClientAsyncResponseReader< ::protos::BestActionStatePair>* Game::Stub::AsyncGetBestPlannerActionRaw(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::protos::BestPlannerActionResponse>* Game::Stub::AsyncGetBestPlannerActionRaw(::grpc::ClientContext* context, const ::protos::BestPlannerActionRequest& request, ::grpc::CompletionQueue* cq) { auto* result = this->PrepareAsyncGetBestPlannerActionRaw(context, request, cq); result->StartCall(); @@ -377,11 +377,11 @@ Game::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( Game_method_names[9], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< Game::Service, ::protos::RpcActionStatePairs, ::protos::BestActionStatePair, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + new ::grpc::internal::RpcMethodHandler< Game::Service, ::protos::BestPlannerActionRequest, ::protos::BestPlannerActionResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Game::Service* service, ::grpc::ServerContext* ctx, - const ::protos::RpcActionStatePairs* req, - ::protos::BestActionStatePair* resp) { + const ::protos::BestPlannerActionRequest* req, + ::protos::BestPlannerActionResponse* resp) { return service->GetBestPlannerAction(ctx, req, resp); }, this))); } @@ -452,7 +452,7 @@ ::grpc::Status Game::Service::SendByeCommand(::grpc::ServerContext* context, con return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status Game::Service::GetBestPlannerAction(::grpc::ServerContext* context, const ::protos::RpcActionStatePairs* request, ::protos::BestActionStatePair* response) { +::grpc::Status Game::Service::GetBestPlannerAction(::grpc::ServerContext* context, const ::protos::BestPlannerActionRequest* request, ::protos::BestPlannerActionResponse* response) { (void) context; (void) request; (void) response; diff --git a/src/grpc-generated/service.grpc.pb.h b/src/grpc-generated/service.grpc.pb.h index 9046b46..61a735f 100644 --- a/src/grpc-generated/service.grpc.pb.h +++ b/src/grpc-generated/service.grpc.pb.h @@ -101,12 +101,12 @@ class Game final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::protos::Empty>> PrepareAsyncSendByeCommand(::grpc::ClientContext* context, const ::protos::RegisterResponse& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::protos::Empty>>(PrepareAsyncSendByeCommandRaw(context, request, cq)); } - virtual ::grpc::Status GetBestPlannerAction(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs& request, ::protos::BestActionStatePair* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::protos::BestActionStatePair>> AsyncGetBestPlannerAction(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::protos::BestActionStatePair>>(AsyncGetBestPlannerActionRaw(context, request, cq)); + virtual ::grpc::Status GetBestPlannerAction(::grpc::ClientContext* context, const ::protos::BestPlannerActionRequest& request, ::protos::BestPlannerActionResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::protos::BestPlannerActionResponse>> AsyncGetBestPlannerAction(::grpc::ClientContext* context, const ::protos::BestPlannerActionRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::protos::BestPlannerActionResponse>>(AsyncGetBestPlannerActionRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::protos::BestActionStatePair>> PrepareAsyncGetBestPlannerAction(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::protos::BestActionStatePair>>(PrepareAsyncGetBestPlannerActionRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::protos::BestPlannerActionResponse>> PrepareAsyncGetBestPlannerAction(::grpc::ClientContext* context, const ::protos::BestPlannerActionRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::protos::BestPlannerActionResponse>>(PrepareAsyncGetBestPlannerActionRaw(context, request, cq)); } class async_interface { public: @@ -129,8 +129,8 @@ class Game final { virtual void Register(::grpc::ClientContext* context, const ::protos::RegisterRequest* request, ::protos::RegisterResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; virtual void SendByeCommand(::grpc::ClientContext* context, const ::protos::RegisterResponse* request, ::protos::Empty* response, std::function) = 0; virtual void SendByeCommand(::grpc::ClientContext* context, const ::protos::RegisterResponse* request, ::protos::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void GetBestPlannerAction(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs* request, ::protos::BestActionStatePair* response, std::function) = 0; - virtual void GetBestPlannerAction(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs* request, ::protos::BestActionStatePair* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void GetBestPlannerAction(::grpc::ClientContext* context, const ::protos::BestPlannerActionRequest* request, ::protos::BestPlannerActionResponse* response, std::function) = 0; + virtual void GetBestPlannerAction(::grpc::ClientContext* context, const ::protos::BestPlannerActionRequest* request, ::protos::BestPlannerActionResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; }; typedef class async_interface experimental_async_interface; virtual class async_interface* async() { return nullptr; } @@ -154,8 +154,8 @@ class Game final { virtual ::grpc::ClientAsyncResponseReaderInterface< ::protos::RegisterResponse>* PrepareAsyncRegisterRaw(::grpc::ClientContext* context, const ::protos::RegisterRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::protos::Empty>* AsyncSendByeCommandRaw(::grpc::ClientContext* context, const ::protos::RegisterResponse& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::protos::Empty>* PrepareAsyncSendByeCommandRaw(::grpc::ClientContext* context, const ::protos::RegisterResponse& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::protos::BestActionStatePair>* AsyncGetBestPlannerActionRaw(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::protos::BestActionStatePair>* PrepareAsyncGetBestPlannerActionRaw(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::protos::BestPlannerActionResponse>* AsyncGetBestPlannerActionRaw(::grpc::ClientContext* context, const ::protos::BestPlannerActionRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::protos::BestPlannerActionResponse>* PrepareAsyncGetBestPlannerActionRaw(::grpc::ClientContext* context, const ::protos::BestPlannerActionRequest& request, ::grpc::CompletionQueue* cq) = 0; }; class Stub final : public StubInterface { public: @@ -223,12 +223,12 @@ class Game final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::protos::Empty>> PrepareAsyncSendByeCommand(::grpc::ClientContext* context, const ::protos::RegisterResponse& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::protos::Empty>>(PrepareAsyncSendByeCommandRaw(context, request, cq)); } - ::grpc::Status GetBestPlannerAction(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs& request, ::protos::BestActionStatePair* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::protos::BestActionStatePair>> AsyncGetBestPlannerAction(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::protos::BestActionStatePair>>(AsyncGetBestPlannerActionRaw(context, request, cq)); + ::grpc::Status GetBestPlannerAction(::grpc::ClientContext* context, const ::protos::BestPlannerActionRequest& request, ::protos::BestPlannerActionResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::protos::BestPlannerActionResponse>> AsyncGetBestPlannerAction(::grpc::ClientContext* context, const ::protos::BestPlannerActionRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::protos::BestPlannerActionResponse>>(AsyncGetBestPlannerActionRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::protos::BestActionStatePair>> PrepareAsyncGetBestPlannerAction(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::protos::BestActionStatePair>>(PrepareAsyncGetBestPlannerActionRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::protos::BestPlannerActionResponse>> PrepareAsyncGetBestPlannerAction(::grpc::ClientContext* context, const ::protos::BestPlannerActionRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::protos::BestPlannerActionResponse>>(PrepareAsyncGetBestPlannerActionRaw(context, request, cq)); } class async final : public StubInterface::async_interface { @@ -251,8 +251,8 @@ class Game final { void Register(::grpc::ClientContext* context, const ::protos::RegisterRequest* request, ::protos::RegisterResponse* response, ::grpc::ClientUnaryReactor* reactor) override; void SendByeCommand(::grpc::ClientContext* context, const ::protos::RegisterResponse* request, ::protos::Empty* response, std::function) override; void SendByeCommand(::grpc::ClientContext* context, const ::protos::RegisterResponse* request, ::protos::Empty* response, ::grpc::ClientUnaryReactor* reactor) override; - void GetBestPlannerAction(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs* request, ::protos::BestActionStatePair* response, std::function) override; - void GetBestPlannerAction(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs* request, ::protos::BestActionStatePair* response, ::grpc::ClientUnaryReactor* reactor) override; + void GetBestPlannerAction(::grpc::ClientContext* context, const ::protos::BestPlannerActionRequest* request, ::protos::BestPlannerActionResponse* response, std::function) override; + void GetBestPlannerAction(::grpc::ClientContext* context, const ::protos::BestPlannerActionRequest* request, ::protos::BestPlannerActionResponse* response, ::grpc::ClientUnaryReactor* reactor) override; private: friend class Stub; explicit async(Stub* stub): stub_(stub) { } @@ -282,8 +282,8 @@ class Game final { ::grpc::ClientAsyncResponseReader< ::protos::RegisterResponse>* PrepareAsyncRegisterRaw(::grpc::ClientContext* context, const ::protos::RegisterRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::protos::Empty>* AsyncSendByeCommandRaw(::grpc::ClientContext* context, const ::protos::RegisterResponse& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::protos::Empty>* PrepareAsyncSendByeCommandRaw(::grpc::ClientContext* context, const ::protos::RegisterResponse& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::protos::BestActionStatePair>* AsyncGetBestPlannerActionRaw(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::protos::BestActionStatePair>* PrepareAsyncGetBestPlannerActionRaw(::grpc::ClientContext* context, const ::protos::RpcActionStatePairs& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::protos::BestPlannerActionResponse>* AsyncGetBestPlannerActionRaw(::grpc::ClientContext* context, const ::protos::BestPlannerActionRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::protos::BestPlannerActionResponse>* PrepareAsyncGetBestPlannerActionRaw(::grpc::ClientContext* context, const ::protos::BestPlannerActionRequest& request, ::grpc::CompletionQueue* cq) override; const ::grpc::internal::RpcMethod rpcmethod_GetPlayerActions_; const ::grpc::internal::RpcMethod rpcmethod_GetCoachActions_; const ::grpc::internal::RpcMethod rpcmethod_GetTrainerActions_; @@ -310,7 +310,7 @@ class Game final { virtual ::grpc::Status SendPlayerType(::grpc::ServerContext* context, const ::protos::PlayerType* request, ::protos::Empty* response); virtual ::grpc::Status Register(::grpc::ServerContext* context, const ::protos::RegisterRequest* request, ::protos::RegisterResponse* response); virtual ::grpc::Status SendByeCommand(::grpc::ServerContext* context, const ::protos::RegisterResponse* request, ::protos::Empty* response); - virtual ::grpc::Status GetBestPlannerAction(::grpc::ServerContext* context, const ::protos::RpcActionStatePairs* request, ::protos::BestActionStatePair* response); + virtual ::grpc::Status GetBestPlannerAction(::grpc::ServerContext* context, const ::protos::BestPlannerActionRequest* request, ::protos::BestPlannerActionResponse* response); }; template class WithAsyncMethod_GetPlayerActions : public BaseClass { @@ -504,11 +504,11 @@ class Game final { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status GetBestPlannerAction(::grpc::ServerContext* /*context*/, const ::protos::RpcActionStatePairs* /*request*/, ::protos::BestActionStatePair* /*response*/) override { + ::grpc::Status GetBestPlannerAction(::grpc::ServerContext* /*context*/, const ::protos::BestPlannerActionRequest* /*request*/, ::protos::BestPlannerActionResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestGetBestPlannerAction(::grpc::ServerContext* context, ::protos::RpcActionStatePairs* request, ::grpc::ServerAsyncResponseWriter< ::protos::BestActionStatePair>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestGetBestPlannerAction(::grpc::ServerContext* context, ::protos::BestPlannerActionRequest* request, ::grpc::ServerAsyncResponseWriter< ::protos::BestPlannerActionResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { ::grpc::Service::RequestAsyncUnary(9, context, request, response, new_call_cq, notification_cq, tag); } }; @@ -763,25 +763,25 @@ class Game final { public: WithCallbackMethod_GetBestPlannerAction() { ::grpc::Service::MarkMethodCallback(9, - new ::grpc::internal::CallbackUnaryHandler< ::protos::RpcActionStatePairs, ::protos::BestActionStatePair>( + new ::grpc::internal::CallbackUnaryHandler< ::protos::BestPlannerActionRequest, ::protos::BestPlannerActionResponse>( [this]( - ::grpc::CallbackServerContext* context, const ::protos::RpcActionStatePairs* request, ::protos::BestActionStatePair* response) { return this->GetBestPlannerAction(context, request, response); }));} + ::grpc::CallbackServerContext* context, const ::protos::BestPlannerActionRequest* request, ::protos::BestPlannerActionResponse* response) { return this->GetBestPlannerAction(context, request, response); }));} void SetMessageAllocatorFor_GetBestPlannerAction( - ::grpc::MessageAllocator< ::protos::RpcActionStatePairs, ::protos::BestActionStatePair>* allocator) { + ::grpc::MessageAllocator< ::protos::BestPlannerActionRequest, ::protos::BestPlannerActionResponse>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(9); - static_cast<::grpc::internal::CallbackUnaryHandler< ::protos::RpcActionStatePairs, ::protos::BestActionStatePair>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::protos::BestPlannerActionRequest, ::protos::BestPlannerActionResponse>*>(handler) ->SetMessageAllocator(allocator); } ~WithCallbackMethod_GetBestPlannerAction() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status GetBestPlannerAction(::grpc::ServerContext* /*context*/, const ::protos::RpcActionStatePairs* /*request*/, ::protos::BestActionStatePair* /*response*/) override { + ::grpc::Status GetBestPlannerAction(::grpc::ServerContext* /*context*/, const ::protos::BestPlannerActionRequest* /*request*/, ::protos::BestPlannerActionResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } virtual ::grpc::ServerUnaryReactor* GetBestPlannerAction( - ::grpc::CallbackServerContext* /*context*/, const ::protos::RpcActionStatePairs* /*request*/, ::protos::BestActionStatePair* /*response*/) { return nullptr; } + ::grpc::CallbackServerContext* /*context*/, const ::protos::BestPlannerActionRequest* /*request*/, ::protos::BestPlannerActionResponse* /*response*/) { return nullptr; } }; typedef WithCallbackMethod_GetPlayerActions > > > > > > > > > CallbackService; typedef CallbackService ExperimentalCallbackService; @@ -950,7 +950,7 @@ class Game final { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status GetBestPlannerAction(::grpc::ServerContext* /*context*/, const ::protos::RpcActionStatePairs* /*request*/, ::protos::BestActionStatePair* /*response*/) override { + ::grpc::Status GetBestPlannerAction(::grpc::ServerContext* /*context*/, const ::protos::BestPlannerActionRequest* /*request*/, ::protos::BestPlannerActionResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -1147,7 +1147,7 @@ class Game final { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status GetBestPlannerAction(::grpc::ServerContext* /*context*/, const ::protos::RpcActionStatePairs* /*request*/, ::protos::BestActionStatePair* /*response*/) override { + ::grpc::Status GetBestPlannerAction(::grpc::ServerContext* /*context*/, const ::protos::BestPlannerActionRequest* /*request*/, ::protos::BestPlannerActionResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -1368,7 +1368,7 @@ class Game final { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status GetBestPlannerAction(::grpc::ServerContext* /*context*/, const ::protos::RpcActionStatePairs* /*request*/, ::protos::BestActionStatePair* /*response*/) override { + ::grpc::Status GetBestPlannerAction(::grpc::ServerContext* /*context*/, const ::protos::BestPlannerActionRequest* /*request*/, ::protos::BestPlannerActionResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -1626,10 +1626,10 @@ class Game final { WithStreamedUnaryMethod_GetBestPlannerAction() { ::grpc::Service::MarkMethodStreamed(9, new ::grpc::internal::StreamedUnaryHandler< - ::protos::RpcActionStatePairs, ::protos::BestActionStatePair>( + ::protos::BestPlannerActionRequest, ::protos::BestPlannerActionResponse>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::protos::RpcActionStatePairs, ::protos::BestActionStatePair>* streamer) { + ::protos::BestPlannerActionRequest, ::protos::BestPlannerActionResponse>* streamer) { return this->StreamedGetBestPlannerAction(context, streamer); })); @@ -1638,12 +1638,12 @@ class Game final { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status GetBestPlannerAction(::grpc::ServerContext* /*context*/, const ::protos::RpcActionStatePairs* /*request*/, ::protos::BestActionStatePair* /*response*/) override { + ::grpc::Status GetBestPlannerAction(::grpc::ServerContext* /*context*/, const ::protos::BestPlannerActionRequest* /*request*/, ::protos::BestPlannerActionResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetBestPlannerAction(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::protos::RpcActionStatePairs,::protos::BestActionStatePair>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedGetBestPlannerAction(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::protos::BestPlannerActionRequest,::protos::BestPlannerActionResponse>* server_unary_streamer) = 0; }; typedef WithStreamedUnaryMethod_GetPlayerActions > > > > > > > > > StreamedUnaryService; typedef Service SplitStreamedService; diff --git a/src/grpc-generated/service.pb.cc b/src/grpc-generated/service.pb.cc index ce42998..433b7ee 100644 --- a/src/grpc-generated/service.pb.cc +++ b/src/grpc-generated/service.pb.cc @@ -3125,7 +3125,7 @@ struct RpcPredictStateDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RpcPredictStateDefaultTypeInternal _RpcPredictState_default_instance_; template -PROTOBUF_CONSTEXPR RpcActionStatePair::RpcActionStatePair( +PROTOBUF_CONSTEXPR RpcActionState::RpcActionState( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_._has_bits_)*/{} , /*decltype(_impl_._cached_size_)*/{} @@ -3133,62 +3133,63 @@ PROTOBUF_CONSTEXPR RpcActionStatePair::RpcActionStatePair( , /*decltype(_impl_.predict_state_)*/nullptr , /*decltype(_impl_.evaluation_)*/ 0 } {} -struct RpcActionStatePairDefaultTypeInternal { - PROTOBUF_CONSTEXPR RpcActionStatePairDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~RpcActionStatePairDefaultTypeInternal() {} +struct RpcActionStateDefaultTypeInternal { + PROTOBUF_CONSTEXPR RpcActionStateDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RpcActionStateDefaultTypeInternal() {} union { - RpcActionStatePair _instance; + RpcActionState _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RpcActionStatePairDefaultTypeInternal _RpcActionStatePair_default_instance_; + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RpcActionStateDefaultTypeInternal _RpcActionState_default_instance_; template -PROTOBUF_CONSTEXPR RpcActionStatePairs_PairsEntry_DoNotUse::RpcActionStatePairs_PairsEntry_DoNotUse( +PROTOBUF_CONSTEXPR BestPlannerActionRequest_PairsEntry_DoNotUse::BestPlannerActionRequest_PairsEntry_DoNotUse( ::_pbi::ConstantInitialized) {} -struct RpcActionStatePairs_PairsEntry_DoNotUseDefaultTypeInternal { - PROTOBUF_CONSTEXPR RpcActionStatePairs_PairsEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~RpcActionStatePairs_PairsEntry_DoNotUseDefaultTypeInternal() {} +struct BestPlannerActionRequest_PairsEntry_DoNotUseDefaultTypeInternal { + PROTOBUF_CONSTEXPR BestPlannerActionRequest_PairsEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BestPlannerActionRequest_PairsEntry_DoNotUseDefaultTypeInternal() {} union { - RpcActionStatePairs_PairsEntry_DoNotUse _instance; + BestPlannerActionRequest_PairsEntry_DoNotUse _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RpcActionStatePairs_PairsEntry_DoNotUseDefaultTypeInternal _RpcActionStatePairs_PairsEntry_DoNotUse_default_instance_; + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BestPlannerActionRequest_PairsEntry_DoNotUseDefaultTypeInternal _BestPlannerActionRequest_PairsEntry_DoNotUse_default_instance_; template -PROTOBUF_CONSTEXPR RpcActionStatePairs::RpcActionStatePairs( +PROTOBUF_CONSTEXPR BestPlannerActionRequest::BestPlannerActionRequest( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_._has_bits_)*/{} , /*decltype(_impl_._cached_size_)*/{} , /*decltype(_impl_.pairs_)*/{} + , /*decltype(_impl_.register_response_)*/nullptr , /*decltype(_impl_.state_)*/nullptr} {} -struct RpcActionStatePairsDefaultTypeInternal { - PROTOBUF_CONSTEXPR RpcActionStatePairsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~RpcActionStatePairsDefaultTypeInternal() {} +struct BestPlannerActionRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR BestPlannerActionRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BestPlannerActionRequestDefaultTypeInternal() {} union { - RpcActionStatePairs _instance; + BestPlannerActionRequest _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RpcActionStatePairsDefaultTypeInternal _RpcActionStatePairs_default_instance_; + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BestPlannerActionRequestDefaultTypeInternal _BestPlannerActionRequest_default_instance_; template -PROTOBUF_CONSTEXPR BestActionStatePair::BestActionStatePair( +PROTOBUF_CONSTEXPR BestPlannerActionResponse::BestPlannerActionResponse( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.index_)*/ 0 , /*decltype(_impl_._cached_size_)*/{}} {} -struct BestActionStatePairDefaultTypeInternal { - PROTOBUF_CONSTEXPR BestActionStatePairDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~BestActionStatePairDefaultTypeInternal() {} +struct BestPlannerActionResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR BestPlannerActionResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BestPlannerActionResponseDefaultTypeInternal() {} union { - BestActionStatePair _instance; + BestPlannerActionResponse _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BestActionStatePairDefaultTypeInternal _BestActionStatePair_default_instance_; + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BestPlannerActionResponseDefaultTypeInternal _BestPlannerActionResponse_default_instance_; template PROTOBUF_CONSTEXPR Empty::Empty( ::_pbi::ConstantInitialized) {} @@ -5578,53 +5579,55 @@ const ::uint32_t TableStruct_service_2eproto::offsets[] PROTOBUF_SECTION_VARIABL 1, ~0u, ~0u, - PROTOBUF_FIELD_OFFSET(::protos::RpcActionStatePair, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::protos::RpcActionStatePair, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::protos::RpcActionState, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::protos::RpcActionState, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::protos::RpcActionStatePair, _impl_.action_), - PROTOBUF_FIELD_OFFSET(::protos::RpcActionStatePair, _impl_.predict_state_), - PROTOBUF_FIELD_OFFSET(::protos::RpcActionStatePair, _impl_.evaluation_), + PROTOBUF_FIELD_OFFSET(::protos::RpcActionState, _impl_.action_), + PROTOBUF_FIELD_OFFSET(::protos::RpcActionState, _impl_.predict_state_), + PROTOBUF_FIELD_OFFSET(::protos::RpcActionState, _impl_.evaluation_), 0, 1, ~0u, - PROTOBUF_FIELD_OFFSET(::protos::RpcActionStatePairs_PairsEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::protos::RpcActionStatePairs_PairsEntry_DoNotUse, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::protos::BestPlannerActionRequest_PairsEntry_DoNotUse, _has_bits_), + PROTOBUF_FIELD_OFFSET(::protos::BestPlannerActionRequest_PairsEntry_DoNotUse, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::protos::RpcActionStatePairs_PairsEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::protos::RpcActionStatePairs_PairsEntry_DoNotUse, value_), + PROTOBUF_FIELD_OFFSET(::protos::BestPlannerActionRequest_PairsEntry_DoNotUse, key_), + PROTOBUF_FIELD_OFFSET(::protos::BestPlannerActionRequest_PairsEntry_DoNotUse, value_), 0, 1, - PROTOBUF_FIELD_OFFSET(::protos::RpcActionStatePairs, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::protos::RpcActionStatePairs, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::protos::BestPlannerActionRequest, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::protos::BestPlannerActionRequest, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::protos::RpcActionStatePairs, _impl_.pairs_), - PROTOBUF_FIELD_OFFSET(::protos::RpcActionStatePairs, _impl_.state_), - ~0u, + PROTOBUF_FIELD_OFFSET(::protos::BestPlannerActionRequest, _impl_.register_response_), + PROTOBUF_FIELD_OFFSET(::protos::BestPlannerActionRequest, _impl_.pairs_), + PROTOBUF_FIELD_OFFSET(::protos::BestPlannerActionRequest, _impl_.state_), 0, + ~0u, + 1, ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::protos::BestActionStatePair, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::protos::BestPlannerActionResponse, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::protos::BestActionStatePair, _impl_.index_), + PROTOBUF_FIELD_OFFSET(::protos::BestPlannerActionResponse, _impl_.index_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::protos::Empty, _internal_metadata_), ~0u, // no _extensions_ @@ -5766,11 +5769,11 @@ static const ::_pbi::MigrationSchema { 2233, 2275, -1, sizeof(::protos::PlayerType)}, { 2309, 2333, -1, sizeof(::protos::RpcCooperativeAction)}, { 2349, 2363, -1, sizeof(::protos::RpcPredictState)}, - { 2369, 2380, -1, sizeof(::protos::RpcActionStatePair)}, - { 2383, 2393, -1, sizeof(::protos::RpcActionStatePairs_PairsEntry_DoNotUse)}, - { 2395, 2405, -1, sizeof(::protos::RpcActionStatePairs)}, - { 2407, -1, -1, sizeof(::protos::BestActionStatePair)}, - { 2416, -1, -1, sizeof(::protos::Empty)}, + { 2369, 2380, -1, sizeof(::protos::RpcActionState)}, + { 2383, 2393, -1, sizeof(::protos::BestPlannerActionRequest_PairsEntry_DoNotUse)}, + { 2395, 2406, -1, sizeof(::protos::BestPlannerActionRequest)}, + { 2409, -1, -1, sizeof(::protos::BestPlannerActionResponse)}, + { 2418, -1, -1, sizeof(::protos::Empty)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -5903,10 +5906,10 @@ static const ::_pb::Message* const file_default_instances[] = { &::protos::_PlayerType_default_instance_._instance, &::protos::_RpcCooperativeAction_default_instance_._instance, &::protos::_RpcPredictState_default_instance_._instance, - &::protos::_RpcActionStatePair_default_instance_._instance, - &::protos::_RpcActionStatePairs_PairsEntry_DoNotUse_default_instance_._instance, - &::protos::_RpcActionStatePairs_default_instance_._instance, - &::protos::_BestActionStatePair_default_instance_._instance, + &::protos::_RpcActionState_default_instance_._instance, + &::protos::_BestPlannerActionRequest_PairsEntry_DoNotUse_default_instance_._instance, + &::protos::_BestPlannerActionRequest_default_instance_._instance, + &::protos::_BestPlannerActionResponse_default_instance_._instance, &::protos::_Empty_default_instance_._instance, }; const char descriptor_table_protodef_service_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { @@ -6560,70 +6563,72 @@ const char descriptor_table_protodef_service_2eproto[] PROTOBUF_SECTION_VARIABLE "num\030\002 \001(\005\022*\n\rball_position\030\003 \001(\0132\023.proto" "s.RpcVector2D\022*\n\rball_velocity\030\004 \001(\0132\023.p" "rotos.RpcVector2D\022\032\n\022our_defense_line_x\030" - "\005 \001(\001\022\032\n\022our_offense_line_x\030\006 \001(\001\"\206\001\n\022Rp" - "cActionStatePair\022,\n\006action\030\001 \001(\0132\034.proto" - "s.RpcCooperativeAction\022.\n\rpredict_state\030" - "\002 \001(\0132\027.protos.RpcPredictState\022\022\n\nevalua" - "tion\030\003 \001(\001\"\264\001\n\023RpcActionStatePairs\0225\n\005pa" - "irs\030\001 \003(\0132&.protos.RpcActionStatePairs.P" - "airsEntry\022\034\n\005state\030\002 \001(\0132\r.protos.State\032" - "H\n\nPairsEntry\022\013\n\003key\030\001 \001(\005\022)\n\005value\030\002 \001(" - "\0132\032.protos.RpcActionStatePair:\0028\001\"$\n\023Bes" - "tActionStatePair\022\r\n\005index\030\001 \001(\005\"\007\n\005Empty" - "*-\n\tViewWidth\022\n\n\006NARROW\020\000\022\n\n\006NORMAL\020\001\022\010\n" - "\004WIDE\020\002*(\n\004Side\022\013\n\007UNKNOWN\020\000\022\010\n\004LEFT\020\001\022\t" - "\n\005RIGHT\020\002*\262\002\n\013LoggerLevel\022\r\n\tNoneLevel\020\000" - "\022\n\n\006SYSTEM\020\001\022\n\n\006SENSOR\020\002\022\t\n\005WORLD\020\004\022\n\n\006A" - "CTION\020\010\022\r\n\tINTERCEPT\020\020\022\010\n\004KICK\020 \022\010\n\004HOLD" - "\020@\022\014\n\007DRIBBLE\020\200\001\022\t\n\004PASS\020\200\002\022\n\n\005CROSS\020\200\004\022" - "\n\n\005SHOOT\020\200\010\022\n\n\005CLEAR\020\200\020\022\n\n\005BLOCK\020\200 \022\t\n\004M" - "ARK\020\200@\022\021\n\013POSITIONING\020\200\200\001\022\n\n\004ROLE\020\200\200\002\022\n\n" - "\004TEAM\020\200\200\004\022\023\n\rCOMMUNICATION\020\200\200\010\022\016\n\010ANALYZ" - "ER\020\200\200\020\022\022\n\014ACTION_CHAIN\020\200\200 \022\n\n\004PLAN\020\200\200@*v" - "\n\023InterceptActionType\022!\n\035UNKNOWN_Interce" - "pt_Action_Type\020\000\022\r\n\tOMNI_DASH\020\001\022\025\n\021TURN_" - "FORWARD_DASH\020\002\022\026\n\022TURN_BACKWARD_DASH\020\003*\273" - "\004\n\014GameModeType\022\021\n\rBeforeKickOff\020\000\022\014\n\010Ti" - "meOver\020\001\022\n\n\006PlayOn\020\002\022\014\n\010KickOff_\020\003\022\013\n\007Ki" - "ckIn_\020\004\022\r\n\tFreeKick_\020\005\022\017\n\013CornerKick_\020\006\022" - "\r\n\tGoalKick_\020\007\022\016\n\nAfterGoal_\020\010\022\014\n\010OffSid" - "e_\020\t\022\020\n\014PenaltyKick_\020\n\022\021\n\rFirstHalfOver\020" - "\013\022\t\n\005Pause\020\014\022\t\n\005Human\020\r\022\017\n\013FoulCharge_\020\016" - "\022\r\n\tFoulPush_\020\017\022\031\n\025FoulMultipleAttacker_" - "\020\020\022\020\n\014FoulBallOut_\020\021\022\r\n\tBackPass_\020\022\022\022\n\016F" - "reeKickFault_\020\023\022\017\n\013CatchFault_\020\024\022\020\n\014IndF" - "reeKick_\020\025\022\021\n\rPenaltySetup_\020\026\022\021\n\rPenalty" - "Ready_\020\027\022\021\n\rPenaltyTaken_\020\030\022\020\n\014PenaltyMi" - "ss_\020\031\022\021\n\rPenaltyScore_\020\032\022\023\n\017IllegalDefen" - "se_\020\033\022\023\n\017PenaltyOnfield_\020\034\022\020\n\014PenaltyFou" - "l_\020\035\022\020\n\014GoalieCatch_\020\036\022\016\n\nExtendHalf\020\037\022\014" - "\n\010MODE_MAX\020 *2\n\tAgentType\022\013\n\007PlayerT\020\000\022\n" - "\n\006CoachT\020\001\022\014\n\010TrainerT\020\002*w\n\021RpcActionCat" - "egory\022\013\n\007AC_Hold\020\000\022\016\n\nAC_Dribble\020\001\022\013\n\007AC" - "_Pass\020\002\022\014\n\010AC_Shoot\020\003\022\014\n\010AC_Clear\020\004\022\013\n\007A" - "C_Move\020\005\022\017\n\013AC_NoAction\020\0062\360\004\n\004Game\022:\n\020Ge" - "tPlayerActions\022\r.protos.State\032\025.protos.P" - "layerActions\"\000\0228\n\017GetCoachActions\022\r.prot" - "os.State\032\024.protos.CoachActions\"\000\022<\n\021GetT" - "rainerActions\022\r.protos.State\032\026.protos.Tr" - "ainerActions\"\000\0227\n\017SendInitMessage\022\023.prot" - "os.InitMessage\032\r.protos.Empty\"\000\0228\n\020SendS" - "erverParams\022\023.protos.ServerParam\032\r.proto" - "s.Empty\"\000\0228\n\020SendPlayerParams\022\023.protos.P" - "layerParam\032\r.protos.Empty\"\000\0225\n\016SendPlaye" - "rType\022\022.protos.PlayerType\032\r.protos.Empty" - "\"\000\022\?\n\010Register\022\027.protos.RegisterRequest\032" - "\030.protos.RegisterResponse\"\000\022;\n\016SendByeCo" - "mmand\022\030.protos.RegisterResponse\032\r.protos" - ".Empty\"\000\022R\n\024GetBestPlannerAction\022\033.proto" - "s.RpcActionStatePairs\032\033.protos.BestActio" - "nStatePair\"\000b\006proto3" + "\005 \001(\001\022\032\n\022our_offense_line_x\030\006 \001(\001\"\202\001\n\016Rp" + "cActionState\022,\n\006action\030\001 \001(\0132\034.protos.Rp" + "cCooperativeAction\022.\n\rpredict_state\030\002 \001(" + "\0132\027.protos.RpcPredictState\022\022\n\nevaluation" + "\030\003 \001(\001\"\357\001\n\030BestPlannerActionRequest\0223\n\021r" + "egister_response\030\001 \001(\0132\030.protos.Register" + "Response\022:\n\005pairs\030\002 \003(\0132+.protos.BestPla" + "nnerActionRequest.PairsEntry\022\034\n\005state\030\003 " + "\001(\0132\r.protos.State\032D\n\nPairsEntry\022\013\n\003key\030" + "\001 \001(\005\022%\n\005value\030\002 \001(\0132\026.protos.RpcActionS" + "tate:\0028\001\"*\n\031BestPlannerActionResponse\022\r\n" + "\005index\030\001 \001(\005\"\007\n\005Empty*-\n\tViewWidth\022\n\n\006NA" + "RROW\020\000\022\n\n\006NORMAL\020\001\022\010\n\004WIDE\020\002*(\n\004Side\022\013\n\007" + "UNKNOWN\020\000\022\010\n\004LEFT\020\001\022\t\n\005RIGHT\020\002*\262\002\n\013Logge" + "rLevel\022\r\n\tNoneLevel\020\000\022\n\n\006SYSTEM\020\001\022\n\n\006SEN" + "SOR\020\002\022\t\n\005WORLD\020\004\022\n\n\006ACTION\020\010\022\r\n\tINTERCEP" + "T\020\020\022\010\n\004KICK\020 \022\010\n\004HOLD\020@\022\014\n\007DRIBBLE\020\200\001\022\t\n" + "\004PASS\020\200\002\022\n\n\005CROSS\020\200\004\022\n\n\005SHOOT\020\200\010\022\n\n\005CLEA" + "R\020\200\020\022\n\n\005BLOCK\020\200 \022\t\n\004MARK\020\200@\022\021\n\013POSITIONI" + "NG\020\200\200\001\022\n\n\004ROLE\020\200\200\002\022\n\n\004TEAM\020\200\200\004\022\023\n\rCOMMUN" + "ICATION\020\200\200\010\022\016\n\010ANALYZER\020\200\200\020\022\022\n\014ACTION_CH" + "AIN\020\200\200 \022\n\n\004PLAN\020\200\200@*v\n\023InterceptActionTy" + "pe\022!\n\035UNKNOWN_Intercept_Action_Type\020\000\022\r\n" + "\tOMNI_DASH\020\001\022\025\n\021TURN_FORWARD_DASH\020\002\022\026\n\022T" + "URN_BACKWARD_DASH\020\003*\273\004\n\014GameModeType\022\021\n\r" + "BeforeKickOff\020\000\022\014\n\010TimeOver\020\001\022\n\n\006PlayOn\020" + "\002\022\014\n\010KickOff_\020\003\022\013\n\007KickIn_\020\004\022\r\n\tFreeKick" + "_\020\005\022\017\n\013CornerKick_\020\006\022\r\n\tGoalKick_\020\007\022\016\n\nA" + "fterGoal_\020\010\022\014\n\010OffSide_\020\t\022\020\n\014PenaltyKick" + "_\020\n\022\021\n\rFirstHalfOver\020\013\022\t\n\005Pause\020\014\022\t\n\005Hum" + "an\020\r\022\017\n\013FoulCharge_\020\016\022\r\n\tFoulPush_\020\017\022\031\n\025" + "FoulMultipleAttacker_\020\020\022\020\n\014FoulBallOut_\020" + "\021\022\r\n\tBackPass_\020\022\022\022\n\016FreeKickFault_\020\023\022\017\n\013" + "CatchFault_\020\024\022\020\n\014IndFreeKick_\020\025\022\021\n\rPenal" + "tySetup_\020\026\022\021\n\rPenaltyReady_\020\027\022\021\n\rPenalty" + "Taken_\020\030\022\020\n\014PenaltyMiss_\020\031\022\021\n\rPenaltySco" + "re_\020\032\022\023\n\017IllegalDefense_\020\033\022\023\n\017PenaltyOnf" + "ield_\020\034\022\020\n\014PenaltyFoul_\020\035\022\020\n\014GoalieCatch" + "_\020\036\022\016\n\nExtendHalf\020\037\022\014\n\010MODE_MAX\020 *2\n\tAge" + "ntType\022\013\n\007PlayerT\020\000\022\n\n\006CoachT\020\001\022\014\n\010Train" + "erT\020\002*w\n\021RpcActionCategory\022\013\n\007AC_Hold\020\000\022" + "\016\n\nAC_Dribble\020\001\022\013\n\007AC_Pass\020\002\022\014\n\010AC_Shoot" + "\020\003\022\014\n\010AC_Clear\020\004\022\013\n\007AC_Move\020\005\022\017\n\013AC_NoAc" + "tion\020\0062\373\004\n\004Game\022:\n\020GetPlayerActions\022\r.pr" + "otos.State\032\025.protos.PlayerActions\"\000\0228\n\017G" + "etCoachActions\022\r.protos.State\032\024.protos.C" + "oachActions\"\000\022<\n\021GetTrainerActions\022\r.pro" + "tos.State\032\026.protos.TrainerActions\"\000\0227\n\017S" + "endInitMessage\022\023.protos.InitMessage\032\r.pr" + "otos.Empty\"\000\0228\n\020SendServerParams\022\023.proto" + "s.ServerParam\032\r.protos.Empty\"\000\0228\n\020SendPl" + "ayerParams\022\023.protos.PlayerParam\032\r.protos" + ".Empty\"\000\0225\n\016SendPlayerType\022\022.protos.Play" + "erType\032\r.protos.Empty\"\000\022\?\n\010Register\022\027.pr" + "otos.RegisterRequest\032\030.protos.RegisterRe" + "sponse\"\000\022;\n\016SendByeCommand\022\030.protos.Regi" + "sterResponse\032\r.protos.Empty\"\000\022]\n\024GetBest" + "PlannerAction\022 .protos.BestPlannerAction" + "Request\032!.protos.BestPlannerActionRespon" + "se\"\000b\006proto3" }; static ::absl::once_flag descriptor_table_service_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_service_2eproto = { false, false, - 28300, + 28372, descriptor_table_protodef_service_2eproto, "service.proto", &descriptor_table_service_2eproto_once, @@ -53182,37 +53187,37 @@ ::PROTOBUF_NAMESPACE_ID::Metadata RpcPredictState::GetMetadata() const { } // =================================================================== -class RpcActionStatePair::_Internal { +class RpcActionState::_Internal { public: - using HasBits = decltype(std::declval()._impl_._has_bits_); + using HasBits = decltype(std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(RpcActionStatePair, _impl_._has_bits_); - static const ::protos::RpcCooperativeAction& action(const RpcActionStatePair* msg); + 8 * PROTOBUF_FIELD_OFFSET(RpcActionState, _impl_._has_bits_); + static const ::protos::RpcCooperativeAction& action(const RpcActionState* msg); static void set_has_action(HasBits* has_bits) { (*has_bits)[0] |= 1u; } - static const ::protos::RpcPredictState& predict_state(const RpcActionStatePair* msg); + static const ::protos::RpcPredictState& predict_state(const RpcActionState* msg); static void set_has_predict_state(HasBits* has_bits) { (*has_bits)[0] |= 2u; } }; const ::protos::RpcCooperativeAction& -RpcActionStatePair::_Internal::action(const RpcActionStatePair* msg) { +RpcActionState::_Internal::action(const RpcActionState* msg) { return *msg->_impl_.action_; } const ::protos::RpcPredictState& -RpcActionStatePair::_Internal::predict_state(const RpcActionStatePair* msg) { +RpcActionState::_Internal::predict_state(const RpcActionState* msg) { return *msg->_impl_.predict_state_; } -RpcActionStatePair::RpcActionStatePair(::PROTOBUF_NAMESPACE_ID::Arena* arena) +RpcActionState::RpcActionState(::PROTOBUF_NAMESPACE_ID::Arena* arena) : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:protos.RpcActionStatePair) + // @@protoc_insertion_point(arena_constructor:protos.RpcActionState) } -RpcActionStatePair::RpcActionStatePair(const RpcActionStatePair& from) +RpcActionState::RpcActionState(const RpcActionState& from) : ::PROTOBUF_NAMESPACE_ID::Message() { - RpcActionStatePair* const _this = this; (void)_this; + RpcActionState* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_._has_bits_){from._impl_._has_bits_} , /*decltype(_impl_._cached_size_)*/{} @@ -53229,10 +53234,10 @@ RpcActionStatePair::RpcActionStatePair(const RpcActionStatePair& from) _this->_impl_.predict_state_ = new ::protos::RpcPredictState(*from._impl_.predict_state_); } _this->_impl_.evaluation_ = from._impl_.evaluation_; - // @@protoc_insertion_point(copy_constructor:protos.RpcActionStatePair) + // @@protoc_insertion_point(copy_constructor:protos.RpcActionState) } -inline void RpcActionStatePair::SharedCtor(::_pb::Arena* arena) { +inline void RpcActionState::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_._has_bits_){} @@ -53244,8 +53249,8 @@ inline void RpcActionStatePair::SharedCtor(::_pb::Arena* arena) { }; } -RpcActionStatePair::~RpcActionStatePair() { - // @@protoc_insertion_point(destructor:protos.RpcActionStatePair) +RpcActionState::~RpcActionState() { + // @@protoc_insertion_point(destructor:protos.RpcActionState) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -53253,18 +53258,18 @@ RpcActionStatePair::~RpcActionStatePair() { SharedDtor(); } -inline void RpcActionStatePair::SharedDtor() { +inline void RpcActionState::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete _impl_.action_; if (this != internal_default_instance()) delete _impl_.predict_state_; } -void RpcActionStatePair::SetCachedSize(int size) const { +void RpcActionState::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void RpcActionStatePair::Clear() { -// @@protoc_insertion_point(message_clear_start:protos.RpcActionStatePair) +void RpcActionState::Clear() { +// @@protoc_insertion_point(message_clear_start:protos.RpcActionState) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -53285,7 +53290,7 @@ void RpcActionStatePair::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* RpcActionStatePair::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* RpcActionState::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; while (!ctx->Done(&ptr)) { @@ -53343,9 +53348,9 @@ const char* RpcActionStatePair::_InternalParse(const char* ptr, ::_pbi::ParseCon #undef CHK_ } -::uint8_t* RpcActionStatePair::_InternalSerialize( +::uint8_t* RpcActionState::_InternalSerialize( ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:protos.RpcActionStatePair) + // @@protoc_insertion_point(serialize_to_array_start:protos.RpcActionState) ::uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -53379,12 +53384,12 @@ ::uint8_t* RpcActionStatePair::_InternalSerialize( target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:protos.RpcActionStatePair) + // @@protoc_insertion_point(serialize_to_array_end:protos.RpcActionState) return target; } -::size_t RpcActionStatePair::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:protos.RpcActionStatePair) +::size_t RpcActionState::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:protos.RpcActionState) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; @@ -53420,17 +53425,17 @@ ::size_t RpcActionStatePair::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData RpcActionStatePair::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData RpcActionState::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - RpcActionStatePair::MergeImpl + RpcActionState::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RpcActionStatePair::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RpcActionState::GetClassData() const { return &_class_data_; } -void RpcActionStatePair::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:protos.RpcActionStatePair) +void RpcActionState::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:protos.RpcActionState) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -53456,98 +53461,111 @@ void RpcActionStatePair::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, con _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void RpcActionStatePair::CopyFrom(const RpcActionStatePair& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:protos.RpcActionStatePair) +void RpcActionState::CopyFrom(const RpcActionState& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:protos.RpcActionState) if (&from == this) return; Clear(); MergeFrom(from); } -bool RpcActionStatePair::IsInitialized() const { +bool RpcActionState::IsInitialized() const { return true; } -void RpcActionStatePair::InternalSwap(RpcActionStatePair* other) { +void RpcActionState::InternalSwap(RpcActionState* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(RpcActionStatePair, _impl_.evaluation_) - + sizeof(RpcActionStatePair::_impl_.evaluation_) - - PROTOBUF_FIELD_OFFSET(RpcActionStatePair, _impl_.action_)>( + PROTOBUF_FIELD_OFFSET(RpcActionState, _impl_.evaluation_) + + sizeof(RpcActionState::_impl_.evaluation_) + - PROTOBUF_FIELD_OFFSET(RpcActionState, _impl_.action_)>( reinterpret_cast(&_impl_.action_), reinterpret_cast(&other->_impl_.action_)); } -::PROTOBUF_NAMESPACE_ID::Metadata RpcActionStatePair::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata RpcActionState::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_service_2eproto_getter, &descriptor_table_service_2eproto_once, file_level_metadata_service_2eproto[129]); } // =================================================================== -RpcActionStatePairs_PairsEntry_DoNotUse::RpcActionStatePairs_PairsEntry_DoNotUse() {} -RpcActionStatePairs_PairsEntry_DoNotUse::RpcActionStatePairs_PairsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) +BestPlannerActionRequest_PairsEntry_DoNotUse::BestPlannerActionRequest_PairsEntry_DoNotUse() {} +BestPlannerActionRequest_PairsEntry_DoNotUse::BestPlannerActionRequest_PairsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) : SuperType(arena) {} -void RpcActionStatePairs_PairsEntry_DoNotUse::MergeFrom(const RpcActionStatePairs_PairsEntry_DoNotUse& other) { +void BestPlannerActionRequest_PairsEntry_DoNotUse::MergeFrom(const BestPlannerActionRequest_PairsEntry_DoNotUse& other) { MergeFromInternal(other); } -::PROTOBUF_NAMESPACE_ID::Metadata RpcActionStatePairs_PairsEntry_DoNotUse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata BestPlannerActionRequest_PairsEntry_DoNotUse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_service_2eproto_getter, &descriptor_table_service_2eproto_once, file_level_metadata_service_2eproto[130]); } // =================================================================== -class RpcActionStatePairs::_Internal { +class BestPlannerActionRequest::_Internal { public: - using HasBits = decltype(std::declval()._impl_._has_bits_); + using HasBits = decltype(std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(RpcActionStatePairs, _impl_._has_bits_); - static const ::protos::State& state(const RpcActionStatePairs* msg); - static void set_has_state(HasBits* has_bits) { + 8 * PROTOBUF_FIELD_OFFSET(BestPlannerActionRequest, _impl_._has_bits_); + static const ::protos::RegisterResponse& register_response(const BestPlannerActionRequest* msg); + static void set_has_register_response(HasBits* has_bits) { (*has_bits)[0] |= 1u; } + static const ::protos::State& state(const BestPlannerActionRequest* msg); + static void set_has_state(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } }; +const ::protos::RegisterResponse& +BestPlannerActionRequest::_Internal::register_response(const BestPlannerActionRequest* msg) { + return *msg->_impl_.register_response_; +} const ::protos::State& -RpcActionStatePairs::_Internal::state(const RpcActionStatePairs* msg) { +BestPlannerActionRequest::_Internal::state(const BestPlannerActionRequest* msg) { return *msg->_impl_.state_; } -RpcActionStatePairs::RpcActionStatePairs(::PROTOBUF_NAMESPACE_ID::Arena* arena) +BestPlannerActionRequest::BestPlannerActionRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena) : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:protos.RpcActionStatePairs) + // @@protoc_insertion_point(arena_constructor:protos.BestPlannerActionRequest) } -RpcActionStatePairs::RpcActionStatePairs(const RpcActionStatePairs& from) +BestPlannerActionRequest::BestPlannerActionRequest(const BestPlannerActionRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { - RpcActionStatePairs* const _this = this; (void)_this; + BestPlannerActionRequest* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_._has_bits_){from._impl_._has_bits_} , /*decltype(_impl_._cached_size_)*/{} , /*decltype(_impl_.pairs_)*/{} + , decltype(_impl_.register_response_){nullptr} , decltype(_impl_.state_){nullptr}}; _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); _this->_impl_.pairs_.MergeFrom(from._impl_.pairs_); if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { + _this->_impl_.register_response_ = new ::protos::RegisterResponse(*from._impl_.register_response_); + } + if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) { _this->_impl_.state_ = new ::protos::State(*from._impl_.state_); } - // @@protoc_insertion_point(copy_constructor:protos.RpcActionStatePairs) + // @@protoc_insertion_point(copy_constructor:protos.BestPlannerActionRequest) } -inline void RpcActionStatePairs::SharedCtor(::_pb::Arena* arena) { +inline void BestPlannerActionRequest::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_._has_bits_){} , /*decltype(_impl_._cached_size_)*/{} , /*decltype(_impl_.pairs_)*/{::_pbi::ArenaInitialized(), arena} + , decltype(_impl_.register_response_){nullptr} , decltype(_impl_.state_){nullptr} }; } -RpcActionStatePairs::~RpcActionStatePairs() { - // @@protoc_insertion_point(destructor:protos.RpcActionStatePairs) +BestPlannerActionRequest::~BestPlannerActionRequest() { + // @@protoc_insertion_point(destructor:protos.BestPlannerActionRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -53555,56 +53573,72 @@ RpcActionStatePairs::~RpcActionStatePairs() { SharedDtor(); } -inline void RpcActionStatePairs::SharedDtor() { +inline void BestPlannerActionRequest::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.pairs_.~MapField(); + if (this != internal_default_instance()) delete _impl_.register_response_; if (this != internal_default_instance()) delete _impl_.state_; } -void RpcActionStatePairs::SetCachedSize(int size) const { +void BestPlannerActionRequest::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void RpcActionStatePairs::Clear() { -// @@protoc_insertion_point(message_clear_start:protos.RpcActionStatePairs) +void BestPlannerActionRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:protos.BestPlannerActionRequest) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _impl_.pairs_.Clear(); cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.state_ != nullptr); - _impl_.state_->Clear(); + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.register_response_ != nullptr); + _impl_.register_response_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.state_ != nullptr); + _impl_.state_->Clear(); + } } _impl_._has_bits_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* RpcActionStatePairs::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* BestPlannerActionRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; while (!ctx->Done(&ptr)) { ::uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // map pairs = 1; + // .protos.RegisterResponse register_response = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_register_response(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // map pairs = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { ptr -= 1; do { ptr += 1; ptr = ctx->ParseMessage(&_impl_.pairs_, ptr); CHK_(ptr); if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); } else { goto handle_unusual; } continue; - // .protos.State state = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + // .protos.State state = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { ptr = ctx->ParseMessage(_internal_mutable_state(), ptr); CHK_(ptr); } else { @@ -53635,34 +53669,41 @@ const char* RpcActionStatePairs::_InternalParse(const char* ptr, ::_pbi::ParseCo #undef CHK_ } -::uint8_t* RpcActionStatePairs::_InternalSerialize( +::uint8_t* BestPlannerActionRequest::_InternalSerialize( ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:protos.RpcActionStatePairs) + // @@protoc_insertion_point(serialize_to_array_start:protos.BestPlannerActionRequest) ::uint32_t cached_has_bits = 0; (void) cached_has_bits; - // map pairs = 1; + cached_has_bits = _impl_._has_bits_[0]; + // .protos.RegisterResponse register_response = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::register_response(this), + _Internal::register_response(this).GetCachedSize(), target, stream); + } + + // map pairs = 2; if (!this->_internal_pairs().empty()) { - using MapType = ::_pb::Map<::int32_t, ::protos::RpcActionStatePair>; - using WireHelper = RpcActionStatePairs_PairsEntry_DoNotUse::Funcs; + using MapType = ::_pb::Map<::int32_t, ::protos::RpcActionState>; + using WireHelper = BestPlannerActionRequest_PairsEntry_DoNotUse::Funcs; const auto& map_field = this->_internal_pairs(); if (stream->IsSerializationDeterministic() && map_field.size() > 1) { for (const auto& entry : ::_pbi::MapSorterFlat(map_field)) { - target = WireHelper::InternalSerialize(1, entry.first, entry.second, target, stream); + target = WireHelper::InternalSerialize(2, entry.first, entry.second, target, stream); } } else { for (const auto& entry : map_field) { - target = WireHelper::InternalSerialize(1, entry.first, entry.second, target, stream); + target = WireHelper::InternalSerialize(2, entry.first, entry.second, target, stream); } } } - cached_has_bits = _impl_._has_bits_[0]; - // .protos.State state = 2; - if (cached_has_bits & 0x00000001u) { + // .protos.State state = 3; + if (cached_has_bits & 0x00000002u) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::state(this), + InternalWriteMessage(3, _Internal::state(this), _Internal::state(this).GetCachedSize(), target, stream); } @@ -53670,104 +53711,125 @@ ::uint8_t* RpcActionStatePairs::_InternalSerialize( target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:protos.RpcActionStatePairs) + // @@protoc_insertion_point(serialize_to_array_end:protos.BestPlannerActionRequest) return target; } -::size_t RpcActionStatePairs::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:protos.RpcActionStatePairs) +::size_t BestPlannerActionRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:protos.BestPlannerActionRequest) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // map pairs = 1; + // map pairs = 2; total_size += 1 * ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_pairs_size()); - for (::PROTOBUF_NAMESPACE_ID::Map< ::int32_t, ::protos::RpcActionStatePair >::const_iterator + for (::PROTOBUF_NAMESPACE_ID::Map< ::int32_t, ::protos::RpcActionState >::const_iterator it = this->_internal_pairs().begin(); it != this->_internal_pairs().end(); ++it) { - total_size += RpcActionStatePairs_PairsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); + total_size += BestPlannerActionRequest_PairsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); } - // .protos.State state = 2; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.state_); - } + if (cached_has_bits & 0x00000003u) { + // .protos.RegisterResponse register_response = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.register_response_); + } + + // .protos.State state = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.state_); + } + } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData RpcActionStatePairs::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BestPlannerActionRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - RpcActionStatePairs::MergeImpl + BestPlannerActionRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RpcActionStatePairs::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BestPlannerActionRequest::GetClassData() const { return &_class_data_; } -void RpcActionStatePairs::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:protos.RpcActionStatePairs) +void BestPlannerActionRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:protos.BestPlannerActionRequest) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; _this->_impl_.pairs_.MergeFrom(from._impl_.pairs_); - if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { - _this->_internal_mutable_state()->::protos::State::MergeFrom( - from._internal_state()); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_register_response()->::protos::RegisterResponse::MergeFrom( + from._internal_register_response()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_state()->::protos::State::MergeFrom( + from._internal_state()); + } } _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void RpcActionStatePairs::CopyFrom(const RpcActionStatePairs& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:protos.RpcActionStatePairs) +void BestPlannerActionRequest::CopyFrom(const BestPlannerActionRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:protos.BestPlannerActionRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool RpcActionStatePairs::IsInitialized() const { +bool BestPlannerActionRequest::IsInitialized() const { return true; } -void RpcActionStatePairs::InternalSwap(RpcActionStatePairs* other) { +void BestPlannerActionRequest::InternalSwap(BestPlannerActionRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); _impl_.pairs_.InternalSwap(&other->_impl_.pairs_); - swap(_impl_.state_, other->_impl_.state_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(BestPlannerActionRequest, _impl_.state_) + + sizeof(BestPlannerActionRequest::_impl_.state_) + - PROTOBUF_FIELD_OFFSET(BestPlannerActionRequest, _impl_.register_response_)>( + reinterpret_cast(&_impl_.register_response_), + reinterpret_cast(&other->_impl_.register_response_)); } -::PROTOBUF_NAMESPACE_ID::Metadata RpcActionStatePairs::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata BestPlannerActionRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_service_2eproto_getter, &descriptor_table_service_2eproto_once, file_level_metadata_service_2eproto[131]); } // =================================================================== -class BestActionStatePair::_Internal { +class BestPlannerActionResponse::_Internal { public: }; -BestActionStatePair::BestActionStatePair(::PROTOBUF_NAMESPACE_ID::Arena* arena) +BestPlannerActionResponse::BestPlannerActionResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena) : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:protos.BestActionStatePair) + // @@protoc_insertion_point(arena_constructor:protos.BestPlannerActionResponse) } -BestActionStatePair::BestActionStatePair(const BestActionStatePair& from) +BestPlannerActionResponse::BestPlannerActionResponse(const BestPlannerActionResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:protos.BestActionStatePair) + // @@protoc_insertion_point(copy_constructor:protos.BestPlannerActionResponse) } -inline void BestActionStatePair::SharedCtor(::_pb::Arena* arena) { +inline void BestPlannerActionResponse::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.index_) { 0 } @@ -53776,8 +53838,8 @@ inline void BestActionStatePair::SharedCtor(::_pb::Arena* arena) { }; } -BestActionStatePair::~BestActionStatePair() { - // @@protoc_insertion_point(destructor:protos.BestActionStatePair) +BestPlannerActionResponse::~BestPlannerActionResponse() { + // @@protoc_insertion_point(destructor:protos.BestPlannerActionResponse) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -53785,16 +53847,16 @@ BestActionStatePair::~BestActionStatePair() { SharedDtor(); } -inline void BestActionStatePair::SharedDtor() { +inline void BestPlannerActionResponse::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); } -void BestActionStatePair::SetCachedSize(int size) const { +void BestPlannerActionResponse::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void BestActionStatePair::Clear() { -// @@protoc_insertion_point(message_clear_start:protos.BestActionStatePair) +void BestPlannerActionResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:protos.BestPlannerActionResponse) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -53803,7 +53865,7 @@ void BestActionStatePair::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* BestActionStatePair::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* BestPlannerActionResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { ::uint32_t tag; @@ -53841,9 +53903,9 @@ const char* BestActionStatePair::_InternalParse(const char* ptr, ::_pbi::ParseCo #undef CHK_ } -::uint8_t* BestActionStatePair::_InternalSerialize( +::uint8_t* BestPlannerActionResponse::_InternalSerialize( ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:protos.BestActionStatePair) + // @@protoc_insertion_point(serialize_to_array_start:protos.BestPlannerActionResponse) ::uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -53858,12 +53920,12 @@ ::uint8_t* BestActionStatePair::_InternalSerialize( target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:protos.BestActionStatePair) + // @@protoc_insertion_point(serialize_to_array_end:protos.BestPlannerActionResponse) return target; } -::size_t BestActionStatePair::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:protos.BestActionStatePair) +::size_t BestPlannerActionResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:protos.BestPlannerActionResponse) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; @@ -53879,17 +53941,17 @@ ::size_t BestActionStatePair::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BestActionStatePair::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BestPlannerActionResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - BestActionStatePair::MergeImpl + BestPlannerActionResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BestActionStatePair::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BestPlannerActionResponse::GetClassData() const { return &_class_data_; } -void BestActionStatePair::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:protos.BestActionStatePair) +void BestPlannerActionResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:protos.BestPlannerActionResponse) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -53900,25 +53962,25 @@ void BestActionStatePair::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, co _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void BestActionStatePair::CopyFrom(const BestActionStatePair& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:protos.BestActionStatePair) +void BestPlannerActionResponse::CopyFrom(const BestPlannerActionResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:protos.BestPlannerActionResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool BestActionStatePair::IsInitialized() const { +bool BestPlannerActionResponse::IsInitialized() const { return true; } -void BestActionStatePair::InternalSwap(BestActionStatePair* other) { +void BestPlannerActionResponse::InternalSwap(BestPlannerActionResponse* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_.index_, other->_impl_.index_); } -::PROTOBUF_NAMESPACE_ID::Metadata BestActionStatePair::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata BestPlannerActionResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_service_2eproto_getter, &descriptor_table_service_2eproto_once, file_level_metadata_service_2eproto[132]); @@ -54480,21 +54542,21 @@ template<> PROTOBUF_NOINLINE ::protos::RpcPredictState* Arena::CreateMaybeMessage< ::protos::RpcPredictState >(Arena* arena) { return Arena::CreateMessageInternal< ::protos::RpcPredictState >(arena); } -template<> PROTOBUF_NOINLINE ::protos::RpcActionStatePair* -Arena::CreateMaybeMessage< ::protos::RpcActionStatePair >(Arena* arena) { - return Arena::CreateMessageInternal< ::protos::RpcActionStatePair >(arena); +template<> PROTOBUF_NOINLINE ::protos::RpcActionState* +Arena::CreateMaybeMessage< ::protos::RpcActionState >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::RpcActionState >(arena); } -template<> PROTOBUF_NOINLINE ::protos::RpcActionStatePairs_PairsEntry_DoNotUse* -Arena::CreateMaybeMessage< ::protos::RpcActionStatePairs_PairsEntry_DoNotUse >(Arena* arena) { - return Arena::CreateMessageInternal< ::protos::RpcActionStatePairs_PairsEntry_DoNotUse >(arena); +template<> PROTOBUF_NOINLINE ::protos::BestPlannerActionRequest_PairsEntry_DoNotUse* +Arena::CreateMaybeMessage< ::protos::BestPlannerActionRequest_PairsEntry_DoNotUse >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::BestPlannerActionRequest_PairsEntry_DoNotUse >(arena); } -template<> PROTOBUF_NOINLINE ::protos::RpcActionStatePairs* -Arena::CreateMaybeMessage< ::protos::RpcActionStatePairs >(Arena* arena) { - return Arena::CreateMessageInternal< ::protos::RpcActionStatePairs >(arena); +template<> PROTOBUF_NOINLINE ::protos::BestPlannerActionRequest* +Arena::CreateMaybeMessage< ::protos::BestPlannerActionRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::BestPlannerActionRequest >(arena); } -template<> PROTOBUF_NOINLINE ::protos::BestActionStatePair* -Arena::CreateMaybeMessage< ::protos::BestActionStatePair >(Arena* arena) { - return Arena::CreateMessageInternal< ::protos::BestActionStatePair >(arena); +template<> PROTOBUF_NOINLINE ::protos::BestPlannerActionResponse* +Arena::CreateMaybeMessage< ::protos::BestPlannerActionResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::BestPlannerActionResponse >(arena); } template<> PROTOBUF_NOINLINE ::protos::Empty* Arena::CreateMaybeMessage< ::protos::Empty >(Arena* arena) { diff --git a/src/grpc-generated/service.pb.h b/src/grpc-generated/service.pb.h index ba78730..1d8e283 100644 --- a/src/grpc-generated/service.pb.h +++ b/src/grpc-generated/service.pb.h @@ -101,9 +101,15 @@ extern BallMessageDefaultTypeInternal _BallMessage_default_instance_; class BallPlayerMessage; struct BallPlayerMessageDefaultTypeInternal; extern BallPlayerMessageDefaultTypeInternal _BallPlayerMessage_default_instance_; -class BestActionStatePair; -struct BestActionStatePairDefaultTypeInternal; -extern BestActionStatePairDefaultTypeInternal _BestActionStatePair_default_instance_; +class BestPlannerActionRequest; +struct BestPlannerActionRequestDefaultTypeInternal; +extern BestPlannerActionRequestDefaultTypeInternal _BestPlannerActionRequest_default_instance_; +class BestPlannerActionRequest_PairsEntry_DoNotUse; +struct BestPlannerActionRequest_PairsEntry_DoNotUseDefaultTypeInternal; +extern BestPlannerActionRequest_PairsEntry_DoNotUseDefaultTypeInternal _BestPlannerActionRequest_PairsEntry_DoNotUse_default_instance_; +class BestPlannerActionResponse; +struct BestPlannerActionResponseDefaultTypeInternal; +extern BestPlannerActionResponseDefaultTypeInternal _BestPlannerActionResponse_default_instance_; class Bhv_BeforeKickOff; struct Bhv_BeforeKickOffDefaultTypeInternal; extern Bhv_BeforeKickOffDefaultTypeInternal _Bhv_BeforeKickOff_default_instance_; @@ -365,15 +371,9 @@ extern RegisterRequestDefaultTypeInternal _RegisterRequest_default_instance_; class RegisterResponse; struct RegisterResponseDefaultTypeInternal; extern RegisterResponseDefaultTypeInternal _RegisterResponse_default_instance_; -class RpcActionStatePair; -struct RpcActionStatePairDefaultTypeInternal; -extern RpcActionStatePairDefaultTypeInternal _RpcActionStatePair_default_instance_; -class RpcActionStatePairs; -struct RpcActionStatePairsDefaultTypeInternal; -extern RpcActionStatePairsDefaultTypeInternal _RpcActionStatePairs_default_instance_; -class RpcActionStatePairs_PairsEntry_DoNotUse; -struct RpcActionStatePairs_PairsEntry_DoNotUseDefaultTypeInternal; -extern RpcActionStatePairs_PairsEntry_DoNotUseDefaultTypeInternal _RpcActionStatePairs_PairsEntry_DoNotUse_default_instance_; +class RpcActionState; +struct RpcActionStateDefaultTypeInternal; +extern RpcActionStateDefaultTypeInternal _RpcActionState_default_instance_; class RpcCooperativeAction; struct RpcCooperativeActionDefaultTypeInternal; extern RpcCooperativeActionDefaultTypeInternal _RpcCooperativeAction_default_instance_; @@ -491,7 +491,11 @@ ::protos::BallMessage* Arena::CreateMaybeMessage<::protos::BallMessage>(Arena*); template <> ::protos::BallPlayerMessage* Arena::CreateMaybeMessage<::protos::BallPlayerMessage>(Arena*); template <> -::protos::BestActionStatePair* Arena::CreateMaybeMessage<::protos::BestActionStatePair>(Arena*); +::protos::BestPlannerActionRequest* Arena::CreateMaybeMessage<::protos::BestPlannerActionRequest>(Arena*); +template <> +::protos::BestPlannerActionRequest_PairsEntry_DoNotUse* Arena::CreateMaybeMessage<::protos::BestPlannerActionRequest_PairsEntry_DoNotUse>(Arena*); +template <> +::protos::BestPlannerActionResponse* Arena::CreateMaybeMessage<::protos::BestPlannerActionResponse>(Arena*); template <> ::protos::Bhv_BeforeKickOff* Arena::CreateMaybeMessage<::protos::Bhv_BeforeKickOff>(Arena*); template <> @@ -667,11 +671,7 @@ ::protos::RegisterRequest* Arena::CreateMaybeMessage<::protos::RegisterRequest>( template <> ::protos::RegisterResponse* Arena::CreateMaybeMessage<::protos::RegisterResponse>(Arena*); template <> -::protos::RpcActionStatePair* Arena::CreateMaybeMessage<::protos::RpcActionStatePair>(Arena*); -template <> -::protos::RpcActionStatePairs* Arena::CreateMaybeMessage<::protos::RpcActionStatePairs>(Arena*); -template <> -::protos::RpcActionStatePairs_PairsEntry_DoNotUse* Arena::CreateMaybeMessage<::protos::RpcActionStatePairs_PairsEntry_DoNotUse>(Arena*); +::protos::RpcActionState* Arena::CreateMaybeMessage<::protos::RpcActionState>(Arena*); template <> ::protos::RpcCooperativeAction* Arena::CreateMaybeMessage<::protos::RpcCooperativeAction>(Arena*); template <> @@ -29520,25 +29520,25 @@ class RpcPredictState final : friend struct ::TableStruct_service_2eproto; };// ------------------------------------------------------------------- -class RpcActionStatePair final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protos.RpcActionStatePair) */ { +class RpcActionState final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protos.RpcActionState) */ { public: - inline RpcActionStatePair() : RpcActionStatePair(nullptr) {} - ~RpcActionStatePair() override; + inline RpcActionState() : RpcActionState(nullptr) {} + ~RpcActionState() override; template - explicit PROTOBUF_CONSTEXPR RpcActionStatePair(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR RpcActionState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - RpcActionStatePair(const RpcActionStatePair& from); - RpcActionStatePair(RpcActionStatePair&& from) noexcept - : RpcActionStatePair() { + RpcActionState(const RpcActionState& from); + RpcActionState(RpcActionState&& from) noexcept + : RpcActionState() { *this = ::std::move(from); } - inline RpcActionStatePair& operator=(const RpcActionStatePair& from) { + inline RpcActionState& operator=(const RpcActionState& from) { CopyFrom(from); return *this; } - inline RpcActionStatePair& operator=(RpcActionStatePair&& from) noexcept { + inline RpcActionState& operator=(RpcActionState&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -29568,20 +29568,20 @@ class RpcActionStatePair final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const RpcActionStatePair& default_instance() { + static const RpcActionState& default_instance() { return *internal_default_instance(); } - static inline const RpcActionStatePair* internal_default_instance() { - return reinterpret_cast( - &_RpcActionStatePair_default_instance_); + static inline const RpcActionState* internal_default_instance() { + return reinterpret_cast( + &_RpcActionState_default_instance_); } static constexpr int kIndexInFileMessages = 129; - friend void swap(RpcActionStatePair& a, RpcActionStatePair& b) { + friend void swap(RpcActionState& a, RpcActionState& b) { a.Swap(&b); } - inline void Swap(RpcActionStatePair* other) { + inline void Swap(RpcActionState* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -29594,7 +29594,7 @@ class RpcActionStatePair final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(RpcActionStatePair* other) { + void UnsafeArenaSwap(RpcActionState* other) { if (other == this) return; ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -29602,14 +29602,14 @@ class RpcActionStatePair final : // implements Message ---------------------------------------------- - RpcActionStatePair* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + RpcActionState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const RpcActionStatePair& from); + void CopyFrom(const RpcActionState& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const RpcActionStatePair& from) { - RpcActionStatePair::MergeImpl(*this, from); + void MergeFrom( const RpcActionState& from) { + RpcActionState::MergeImpl(*this, from); } private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); @@ -29627,15 +29627,15 @@ class RpcActionStatePair final : void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(RpcActionStatePair* other); + void InternalSwap(RpcActionState* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::absl::string_view FullMessageName() { - return "protos.RpcActionStatePair"; + return "protos.RpcActionState"; } protected: - explicit RpcActionStatePair(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit RpcActionState(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -29690,7 +29690,7 @@ class RpcActionStatePair final : void _internal_set_evaluation(double value); public: - // @@protoc_insertion_point(class_scope:protos.RpcActionStatePair) + // @@protoc_insertion_point(class_scope:protos.RpcActionState) private: class _Internal; @@ -29708,22 +29708,22 @@ class RpcActionStatePair final : friend struct ::TableStruct_service_2eproto; };// ------------------------------------------------------------------- -class RpcActionStatePairs_PairsEntry_DoNotUse final : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry { public: - typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry SuperType; - RpcActionStatePairs_PairsEntry_DoNotUse(); + BestPlannerActionRequest_PairsEntry_DoNotUse(); template - explicit PROTOBUF_CONSTEXPR RpcActionStatePairs_PairsEntry_DoNotUse( + explicit PROTOBUF_CONSTEXPR BestPlannerActionRequest_PairsEntry_DoNotUse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - explicit RpcActionStatePairs_PairsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void MergeFrom(const RpcActionStatePairs_PairsEntry_DoNotUse& other); - static const RpcActionStatePairs_PairsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_RpcActionStatePairs_PairsEntry_DoNotUse_default_instance_); } + explicit BestPlannerActionRequest_PairsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); + void MergeFrom(const BestPlannerActionRequest_PairsEntry_DoNotUse& other); + static const BestPlannerActionRequest_PairsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_BestPlannerActionRequest_PairsEntry_DoNotUse_default_instance_); } static bool ValidateKey(void*) { return true; } static bool ValidateValue(void*) { return true; } using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; @@ -29732,25 +29732,25 @@ class RpcActionStatePairs_PairsEntry_DoNotUse final : public ::PROTOBUF_NAMESPAC }; // ------------------------------------------------------------------- -class RpcActionStatePairs final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protos.RpcActionStatePairs) */ { +class BestPlannerActionRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protos.BestPlannerActionRequest) */ { public: - inline RpcActionStatePairs() : RpcActionStatePairs(nullptr) {} - ~RpcActionStatePairs() override; + inline BestPlannerActionRequest() : BestPlannerActionRequest(nullptr) {} + ~BestPlannerActionRequest() override; template - explicit PROTOBUF_CONSTEXPR RpcActionStatePairs(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR BestPlannerActionRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - RpcActionStatePairs(const RpcActionStatePairs& from); - RpcActionStatePairs(RpcActionStatePairs&& from) noexcept - : RpcActionStatePairs() { + BestPlannerActionRequest(const BestPlannerActionRequest& from); + BestPlannerActionRequest(BestPlannerActionRequest&& from) noexcept + : BestPlannerActionRequest() { *this = ::std::move(from); } - inline RpcActionStatePairs& operator=(const RpcActionStatePairs& from) { + inline BestPlannerActionRequest& operator=(const BestPlannerActionRequest& from) { CopyFrom(from); return *this; } - inline RpcActionStatePairs& operator=(RpcActionStatePairs&& from) noexcept { + inline BestPlannerActionRequest& operator=(BestPlannerActionRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -29780,20 +29780,20 @@ class RpcActionStatePairs final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const RpcActionStatePairs& default_instance() { + static const BestPlannerActionRequest& default_instance() { return *internal_default_instance(); } - static inline const RpcActionStatePairs* internal_default_instance() { - return reinterpret_cast( - &_RpcActionStatePairs_default_instance_); + static inline const BestPlannerActionRequest* internal_default_instance() { + return reinterpret_cast( + &_BestPlannerActionRequest_default_instance_); } static constexpr int kIndexInFileMessages = 131; - friend void swap(RpcActionStatePairs& a, RpcActionStatePairs& b) { + friend void swap(BestPlannerActionRequest& a, BestPlannerActionRequest& b) { a.Swap(&b); } - inline void Swap(RpcActionStatePairs* other) { + inline void Swap(BestPlannerActionRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -29806,7 +29806,7 @@ class RpcActionStatePairs final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(RpcActionStatePairs* other) { + void UnsafeArenaSwap(BestPlannerActionRequest* other) { if (other == this) return; ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -29814,14 +29814,14 @@ class RpcActionStatePairs final : // implements Message ---------------------------------------------- - RpcActionStatePairs* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + BestPlannerActionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const RpcActionStatePairs& from); + void CopyFrom(const BestPlannerActionRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const RpcActionStatePairs& from) { - RpcActionStatePairs::MergeImpl(*this, from); + void MergeFrom( const BestPlannerActionRequest& from) { + BestPlannerActionRequest::MergeImpl(*this, from); } private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); @@ -29839,15 +29839,15 @@ class RpcActionStatePairs final : void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(RpcActionStatePairs* other); + void InternalSwap(BestPlannerActionRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::absl::string_view FullMessageName() { - return "protos.RpcActionStatePairs"; + return "protos.BestPlannerActionRequest"; } protected: - explicit RpcActionStatePairs(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit BestPlannerActionRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -29861,10 +29861,11 @@ class RpcActionStatePairs final : // accessors ------------------------------------------------------- enum : int { - kPairsFieldNumber = 1, - kStateFieldNumber = 2, + kPairsFieldNumber = 2, + kRegisterResponseFieldNumber = 1, + kStateFieldNumber = 3, }; - // map pairs = 1; + // map pairs = 2; int pairs_size() const; private: int _internal_pairs_size() const; @@ -29872,16 +29873,30 @@ class RpcActionStatePairs final : public: void clear_pairs() ; private: - const ::PROTOBUF_NAMESPACE_ID::Map< ::int32_t, ::protos::RpcActionStatePair >& + const ::PROTOBUF_NAMESPACE_ID::Map< ::int32_t, ::protos::RpcActionState >& _internal_pairs() const; - ::PROTOBUF_NAMESPACE_ID::Map< ::int32_t, ::protos::RpcActionStatePair >* + ::PROTOBUF_NAMESPACE_ID::Map< ::int32_t, ::protos::RpcActionState >* _internal_mutable_pairs(); public: - const ::PROTOBUF_NAMESPACE_ID::Map< ::int32_t, ::protos::RpcActionStatePair >& + const ::PROTOBUF_NAMESPACE_ID::Map< ::int32_t, ::protos::RpcActionState >& pairs() const; - ::PROTOBUF_NAMESPACE_ID::Map< ::int32_t, ::protos::RpcActionStatePair >* + ::PROTOBUF_NAMESPACE_ID::Map< ::int32_t, ::protos::RpcActionState >* mutable_pairs(); - // .protos.State state = 2; + // .protos.RegisterResponse register_response = 1; + bool has_register_response() const; + void clear_register_response() ; + const ::protos::RegisterResponse& register_response() const; + PROTOBUF_NODISCARD ::protos::RegisterResponse* release_register_response(); + ::protos::RegisterResponse* mutable_register_response(); + void set_allocated_register_response(::protos::RegisterResponse* register_response); + private: + const ::protos::RegisterResponse& _internal_register_response() const; + ::protos::RegisterResponse* _internal_mutable_register_response(); + public: + void unsafe_arena_set_allocated_register_response( + ::protos::RegisterResponse* register_response); + ::protos::RegisterResponse* unsafe_arena_release_register_response(); + // .protos.State state = 3; bool has_state() const; void clear_state() ; const ::protos::State& state() const; @@ -29895,7 +29910,7 @@ class RpcActionStatePairs final : void unsafe_arena_set_allocated_state( ::protos::State* state); ::protos::State* unsafe_arena_release_state(); - // @@protoc_insertion_point(class_scope:protos.RpcActionStatePairs) + // @@protoc_insertion_point(class_scope:protos.BestPlannerActionRequest) private: class _Internal; @@ -29906,35 +29921,36 @@ class RpcActionStatePairs final : ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::MapField< - RpcActionStatePairs_PairsEntry_DoNotUse, - ::int32_t, ::protos::RpcActionStatePair, + BestPlannerActionRequest_PairsEntry_DoNotUse, + ::int32_t, ::protos::RpcActionState, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> pairs_; + ::protos::RegisterResponse* register_response_; ::protos::State* state_; }; union { Impl_ _impl_; }; friend struct ::TableStruct_service_2eproto; };// ------------------------------------------------------------------- -class BestActionStatePair final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protos.BestActionStatePair) */ { +class BestPlannerActionResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protos.BestPlannerActionResponse) */ { public: - inline BestActionStatePair() : BestActionStatePair(nullptr) {} - ~BestActionStatePair() override; + inline BestPlannerActionResponse() : BestPlannerActionResponse(nullptr) {} + ~BestPlannerActionResponse() override; template - explicit PROTOBUF_CONSTEXPR BestActionStatePair(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR BestPlannerActionResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - BestActionStatePair(const BestActionStatePair& from); - BestActionStatePair(BestActionStatePair&& from) noexcept - : BestActionStatePair() { + BestPlannerActionResponse(const BestPlannerActionResponse& from); + BestPlannerActionResponse(BestPlannerActionResponse&& from) noexcept + : BestPlannerActionResponse() { *this = ::std::move(from); } - inline BestActionStatePair& operator=(const BestActionStatePair& from) { + inline BestPlannerActionResponse& operator=(const BestPlannerActionResponse& from) { CopyFrom(from); return *this; } - inline BestActionStatePair& operator=(BestActionStatePair&& from) noexcept { + inline BestPlannerActionResponse& operator=(BestPlannerActionResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -29964,20 +29980,20 @@ class BestActionStatePair final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const BestActionStatePair& default_instance() { + static const BestPlannerActionResponse& default_instance() { return *internal_default_instance(); } - static inline const BestActionStatePair* internal_default_instance() { - return reinterpret_cast( - &_BestActionStatePair_default_instance_); + static inline const BestPlannerActionResponse* internal_default_instance() { + return reinterpret_cast( + &_BestPlannerActionResponse_default_instance_); } static constexpr int kIndexInFileMessages = 132; - friend void swap(BestActionStatePair& a, BestActionStatePair& b) { + friend void swap(BestPlannerActionResponse& a, BestPlannerActionResponse& b) { a.Swap(&b); } - inline void Swap(BestActionStatePair* other) { + inline void Swap(BestPlannerActionResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -29990,7 +30006,7 @@ class BestActionStatePair final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(BestActionStatePair* other) { + void UnsafeArenaSwap(BestPlannerActionResponse* other) { if (other == this) return; ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -29998,14 +30014,14 @@ class BestActionStatePair final : // implements Message ---------------------------------------------- - BestActionStatePair* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + BestPlannerActionResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const BestActionStatePair& from); + void CopyFrom(const BestPlannerActionResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const BestActionStatePair& from) { - BestActionStatePair::MergeImpl(*this, from); + void MergeFrom( const BestPlannerActionResponse& from) { + BestPlannerActionResponse::MergeImpl(*this, from); } private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); @@ -30023,15 +30039,15 @@ class BestActionStatePair final : void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(BestActionStatePair* other); + void InternalSwap(BestPlannerActionResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::absl::string_view FullMessageName() { - return "protos.BestActionStatePair"; + return "protos.BestPlannerActionResponse"; } protected: - explicit BestActionStatePair(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit BestPlannerActionResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -30056,7 +30072,7 @@ class BestActionStatePair final : void _internal_set_index(::int32_t value); public: - // @@protoc_insertion_point(class_scope:protos.BestActionStatePair) + // @@protoc_insertion_point(class_scope:protos.BestPlannerActionResponse) private: class _Internal; @@ -58275,28 +58291,28 @@ inline void RpcPredictState::_internal_set_our_offense_line_x(double value) { // ------------------------------------------------------------------- -// RpcActionStatePair +// RpcActionState // .protos.RpcCooperativeAction action = 1; -inline bool RpcActionStatePair::has_action() const { +inline bool RpcActionState::has_action() const { bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; PROTOBUF_ASSUME(!value || _impl_.action_ != nullptr); return value; } -inline void RpcActionStatePair::clear_action() { +inline void RpcActionState::clear_action() { if (_impl_.action_ != nullptr) _impl_.action_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } -inline const ::protos::RpcCooperativeAction& RpcActionStatePair::_internal_action() const { +inline const ::protos::RpcCooperativeAction& RpcActionState::_internal_action() const { const ::protos::RpcCooperativeAction* p = _impl_.action_; return p != nullptr ? *p : reinterpret_cast( ::protos::_RpcCooperativeAction_default_instance_); } -inline const ::protos::RpcCooperativeAction& RpcActionStatePair::action() const { - // @@protoc_insertion_point(field_get:protos.RpcActionStatePair.action) +inline const ::protos::RpcCooperativeAction& RpcActionState::action() const { + // @@protoc_insertion_point(field_get:protos.RpcActionState.action) return _internal_action(); } -inline void RpcActionStatePair::unsafe_arena_set_allocated_action( +inline void RpcActionState::unsafe_arena_set_allocated_action( ::protos::RpcCooperativeAction* action) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.action_); @@ -58307,9 +58323,9 @@ inline void RpcActionStatePair::unsafe_arena_set_allocated_action( } else { _impl_._has_bits_[0] &= ~0x00000001u; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.RpcActionStatePair.action) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.RpcActionState.action) } -inline ::protos::RpcCooperativeAction* RpcActionStatePair::release_action() { +inline ::protos::RpcCooperativeAction* RpcActionState::release_action() { _impl_._has_bits_[0] &= ~0x00000001u; ::protos::RpcCooperativeAction* temp = _impl_.action_; _impl_.action_ = nullptr; @@ -58324,14 +58340,14 @@ inline ::protos::RpcCooperativeAction* RpcActionStatePair::release_action() { #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::protos::RpcCooperativeAction* RpcActionStatePair::unsafe_arena_release_action() { - // @@protoc_insertion_point(field_release:protos.RpcActionStatePair.action) +inline ::protos::RpcCooperativeAction* RpcActionState::unsafe_arena_release_action() { + // @@protoc_insertion_point(field_release:protos.RpcActionState.action) _impl_._has_bits_[0] &= ~0x00000001u; ::protos::RpcCooperativeAction* temp = _impl_.action_; _impl_.action_ = nullptr; return temp; } -inline ::protos::RpcCooperativeAction* RpcActionStatePair::_internal_mutable_action() { +inline ::protos::RpcCooperativeAction* RpcActionState::_internal_mutable_action() { _impl_._has_bits_[0] |= 0x00000001u; if (_impl_.action_ == nullptr) { auto* p = CreateMaybeMessage<::protos::RpcCooperativeAction>(GetArenaForAllocation()); @@ -58339,12 +58355,12 @@ inline ::protos::RpcCooperativeAction* RpcActionStatePair::_internal_mutable_act } return _impl_.action_; } -inline ::protos::RpcCooperativeAction* RpcActionStatePair::mutable_action() { +inline ::protos::RpcCooperativeAction* RpcActionState::mutable_action() { ::protos::RpcCooperativeAction* _msg = _internal_mutable_action(); - // @@protoc_insertion_point(field_mutable:protos.RpcActionStatePair.action) + // @@protoc_insertion_point(field_mutable:protos.RpcActionState.action) return _msg; } -inline void RpcActionStatePair::set_allocated_action(::protos::RpcCooperativeAction* action) { +inline void RpcActionState::set_allocated_action(::protos::RpcCooperativeAction* action) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete _impl_.action_; @@ -58361,29 +58377,29 @@ inline void RpcActionStatePair::set_allocated_action(::protos::RpcCooperativeAct _impl_._has_bits_[0] &= ~0x00000001u; } _impl_.action_ = action; - // @@protoc_insertion_point(field_set_allocated:protos.RpcActionStatePair.action) + // @@protoc_insertion_point(field_set_allocated:protos.RpcActionState.action) } // .protos.RpcPredictState predict_state = 2; -inline bool RpcActionStatePair::has_predict_state() const { +inline bool RpcActionState::has_predict_state() const { bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; PROTOBUF_ASSUME(!value || _impl_.predict_state_ != nullptr); return value; } -inline void RpcActionStatePair::clear_predict_state() { +inline void RpcActionState::clear_predict_state() { if (_impl_.predict_state_ != nullptr) _impl_.predict_state_->Clear(); _impl_._has_bits_[0] &= ~0x00000002u; } -inline const ::protos::RpcPredictState& RpcActionStatePair::_internal_predict_state() const { +inline const ::protos::RpcPredictState& RpcActionState::_internal_predict_state() const { const ::protos::RpcPredictState* p = _impl_.predict_state_; return p != nullptr ? *p : reinterpret_cast( ::protos::_RpcPredictState_default_instance_); } -inline const ::protos::RpcPredictState& RpcActionStatePair::predict_state() const { - // @@protoc_insertion_point(field_get:protos.RpcActionStatePair.predict_state) +inline const ::protos::RpcPredictState& RpcActionState::predict_state() const { + // @@protoc_insertion_point(field_get:protos.RpcActionState.predict_state) return _internal_predict_state(); } -inline void RpcActionStatePair::unsafe_arena_set_allocated_predict_state( +inline void RpcActionState::unsafe_arena_set_allocated_predict_state( ::protos::RpcPredictState* predict_state) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.predict_state_); @@ -58394,9 +58410,9 @@ inline void RpcActionStatePair::unsafe_arena_set_allocated_predict_state( } else { _impl_._has_bits_[0] &= ~0x00000002u; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.RpcActionStatePair.predict_state) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.RpcActionState.predict_state) } -inline ::protos::RpcPredictState* RpcActionStatePair::release_predict_state() { +inline ::protos::RpcPredictState* RpcActionState::release_predict_state() { _impl_._has_bits_[0] &= ~0x00000002u; ::protos::RpcPredictState* temp = _impl_.predict_state_; _impl_.predict_state_ = nullptr; @@ -58411,14 +58427,14 @@ inline ::protos::RpcPredictState* RpcActionStatePair::release_predict_state() { #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::protos::RpcPredictState* RpcActionStatePair::unsafe_arena_release_predict_state() { - // @@protoc_insertion_point(field_release:protos.RpcActionStatePair.predict_state) +inline ::protos::RpcPredictState* RpcActionState::unsafe_arena_release_predict_state() { + // @@protoc_insertion_point(field_release:protos.RpcActionState.predict_state) _impl_._has_bits_[0] &= ~0x00000002u; ::protos::RpcPredictState* temp = _impl_.predict_state_; _impl_.predict_state_ = nullptr; return temp; } -inline ::protos::RpcPredictState* RpcActionStatePair::_internal_mutable_predict_state() { +inline ::protos::RpcPredictState* RpcActionState::_internal_mutable_predict_state() { _impl_._has_bits_[0] |= 0x00000002u; if (_impl_.predict_state_ == nullptr) { auto* p = CreateMaybeMessage<::protos::RpcPredictState>(GetArenaForAllocation()); @@ -58426,12 +58442,12 @@ inline ::protos::RpcPredictState* RpcActionStatePair::_internal_mutable_predict_ } return _impl_.predict_state_; } -inline ::protos::RpcPredictState* RpcActionStatePair::mutable_predict_state() { +inline ::protos::RpcPredictState* RpcActionState::mutable_predict_state() { ::protos::RpcPredictState* _msg = _internal_mutable_predict_state(); - // @@protoc_insertion_point(field_mutable:protos.RpcActionStatePair.predict_state) + // @@protoc_insertion_point(field_mutable:protos.RpcActionState.predict_state) return _msg; } -inline void RpcActionStatePair::set_allocated_predict_state(::protos::RpcPredictState* predict_state) { +inline void RpcActionState::set_allocated_predict_state(::protos::RpcPredictState* predict_state) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete _impl_.predict_state_; @@ -58448,25 +58464,25 @@ inline void RpcActionStatePair::set_allocated_predict_state(::protos::RpcPredict _impl_._has_bits_[0] &= ~0x00000002u; } _impl_.predict_state_ = predict_state; - // @@protoc_insertion_point(field_set_allocated:protos.RpcActionStatePair.predict_state) + // @@protoc_insertion_point(field_set_allocated:protos.RpcActionState.predict_state) } // double evaluation = 3; -inline void RpcActionStatePair::clear_evaluation() { +inline void RpcActionState::clear_evaluation() { _impl_.evaluation_ = 0; } -inline double RpcActionStatePair::evaluation() const { - // @@protoc_insertion_point(field_get:protos.RpcActionStatePair.evaluation) +inline double RpcActionState::evaluation() const { + // @@protoc_insertion_point(field_get:protos.RpcActionState.evaluation) return _internal_evaluation(); } -inline void RpcActionStatePair::set_evaluation(double value) { +inline void RpcActionState::set_evaluation(double value) { _internal_set_evaluation(value); - // @@protoc_insertion_point(field_set:protos.RpcActionStatePair.evaluation) + // @@protoc_insertion_point(field_set:protos.RpcActionState.evaluation) } -inline double RpcActionStatePair::_internal_evaluation() const { +inline double RpcActionState::_internal_evaluation() const { return _impl_.evaluation_; } -inline void RpcActionStatePair::_internal_set_evaluation(double value) { +inline void RpcActionState::_internal_set_evaluation(double value) { ; _impl_.evaluation_ = value; } @@ -58475,71 +58491,158 @@ inline void RpcActionStatePair::_internal_set_evaluation(double value) { // ------------------------------------------------------------------- -// RpcActionStatePairs +// BestPlannerActionRequest + +// .protos.RegisterResponse register_response = 1; +inline bool BestPlannerActionRequest::has_register_response() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.register_response_ != nullptr); + return value; +} +inline void BestPlannerActionRequest::clear_register_response() { + if (_impl_.register_response_ != nullptr) _impl_.register_response_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::protos::RegisterResponse& BestPlannerActionRequest::_internal_register_response() const { + const ::protos::RegisterResponse* p = _impl_.register_response_; + return p != nullptr ? *p : reinterpret_cast( + ::protos::_RegisterResponse_default_instance_); +} +inline const ::protos::RegisterResponse& BestPlannerActionRequest::register_response() const { + // @@protoc_insertion_point(field_get:protos.BestPlannerActionRequest.register_response) + return _internal_register_response(); +} +inline void BestPlannerActionRequest::unsafe_arena_set_allocated_register_response( + ::protos::RegisterResponse* register_response) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.register_response_); + } + _impl_.register_response_ = register_response; + if (register_response) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.BestPlannerActionRequest.register_response) +} +inline ::protos::RegisterResponse* BestPlannerActionRequest::release_register_response() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::protos::RegisterResponse* temp = _impl_.register_response_; + _impl_.register_response_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::protos::RegisterResponse* BestPlannerActionRequest::unsafe_arena_release_register_response() { + // @@protoc_insertion_point(field_release:protos.BestPlannerActionRequest.register_response) + _impl_._has_bits_[0] &= ~0x00000001u; + ::protos::RegisterResponse* temp = _impl_.register_response_; + _impl_.register_response_ = nullptr; + return temp; +} +inline ::protos::RegisterResponse* BestPlannerActionRequest::_internal_mutable_register_response() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.register_response_ == nullptr) { + auto* p = CreateMaybeMessage<::protos::RegisterResponse>(GetArenaForAllocation()); + _impl_.register_response_ = p; + } + return _impl_.register_response_; +} +inline ::protos::RegisterResponse* BestPlannerActionRequest::mutable_register_response() { + ::protos::RegisterResponse* _msg = _internal_mutable_register_response(); + // @@protoc_insertion_point(field_mutable:protos.BestPlannerActionRequest.register_response) + return _msg; +} +inline void BestPlannerActionRequest::set_allocated_register_response(::protos::RegisterResponse* register_response) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.register_response_; + } + if (register_response) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(register_response); + if (message_arena != submessage_arena) { + register_response = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, register_response, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.register_response_ = register_response; + // @@protoc_insertion_point(field_set_allocated:protos.BestPlannerActionRequest.register_response) +} -// map pairs = 1; -inline int RpcActionStatePairs::_internal_pairs_size() const { +// map pairs = 2; +inline int BestPlannerActionRequest::_internal_pairs_size() const { return _impl_.pairs_.size(); } -inline int RpcActionStatePairs::pairs_size() const { +inline int BestPlannerActionRequest::pairs_size() const { return _internal_pairs_size(); } -inline void RpcActionStatePairs::clear_pairs() { +inline void BestPlannerActionRequest::clear_pairs() { _impl_.pairs_.Clear(); } -inline const ::PROTOBUF_NAMESPACE_ID::Map< ::int32_t, ::protos::RpcActionStatePair >& -RpcActionStatePairs::_internal_pairs() const { +inline const ::PROTOBUF_NAMESPACE_ID::Map< ::int32_t, ::protos::RpcActionState >& +BestPlannerActionRequest::_internal_pairs() const { return _impl_.pairs_.GetMap(); } -inline const ::PROTOBUF_NAMESPACE_ID::Map< ::int32_t, ::protos::RpcActionStatePair >& -RpcActionStatePairs::pairs() const { - // @@protoc_insertion_point(field_map:protos.RpcActionStatePairs.pairs) +inline const ::PROTOBUF_NAMESPACE_ID::Map< ::int32_t, ::protos::RpcActionState >& +BestPlannerActionRequest::pairs() const { + // @@protoc_insertion_point(field_map:protos.BestPlannerActionRequest.pairs) return _internal_pairs(); } -inline ::PROTOBUF_NAMESPACE_ID::Map< ::int32_t, ::protos::RpcActionStatePair >* -RpcActionStatePairs::_internal_mutable_pairs() { +inline ::PROTOBUF_NAMESPACE_ID::Map< ::int32_t, ::protos::RpcActionState >* +BestPlannerActionRequest::_internal_mutable_pairs() { return _impl_.pairs_.MutableMap(); } -inline ::PROTOBUF_NAMESPACE_ID::Map< ::int32_t, ::protos::RpcActionStatePair >* -RpcActionStatePairs::mutable_pairs() { - // @@protoc_insertion_point(field_mutable_map:protos.RpcActionStatePairs.pairs) +inline ::PROTOBUF_NAMESPACE_ID::Map< ::int32_t, ::protos::RpcActionState >* +BestPlannerActionRequest::mutable_pairs() { + // @@protoc_insertion_point(field_mutable_map:protos.BestPlannerActionRequest.pairs) return _internal_mutable_pairs(); } -// .protos.State state = 2; -inline bool RpcActionStatePairs::has_state() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; +// .protos.State state = 3; +inline bool BestPlannerActionRequest::has_state() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; PROTOBUF_ASSUME(!value || _impl_.state_ != nullptr); return value; } -inline void RpcActionStatePairs::clear_state() { +inline void BestPlannerActionRequest::clear_state() { if (_impl_.state_ != nullptr) _impl_.state_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } -inline const ::protos::State& RpcActionStatePairs::_internal_state() const { +inline const ::protos::State& BestPlannerActionRequest::_internal_state() const { const ::protos::State* p = _impl_.state_; return p != nullptr ? *p : reinterpret_cast( ::protos::_State_default_instance_); } -inline const ::protos::State& RpcActionStatePairs::state() const { - // @@protoc_insertion_point(field_get:protos.RpcActionStatePairs.state) +inline const ::protos::State& BestPlannerActionRequest::state() const { + // @@protoc_insertion_point(field_get:protos.BestPlannerActionRequest.state) return _internal_state(); } -inline void RpcActionStatePairs::unsafe_arena_set_allocated_state( +inline void BestPlannerActionRequest::unsafe_arena_set_allocated_state( ::protos::State* state) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.state_); } _impl_.state_ = state; if (state) { - _impl_._has_bits_[0] |= 0x00000001u; + _impl_._has_bits_[0] |= 0x00000002u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.RpcActionStatePairs.state) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.BestPlannerActionRequest.state) } -inline ::protos::State* RpcActionStatePairs::release_state() { - _impl_._has_bits_[0] &= ~0x00000001u; +inline ::protos::State* BestPlannerActionRequest::release_state() { + _impl_._has_bits_[0] &= ~0x00000002u; ::protos::State* temp = _impl_.state_; _impl_.state_ = nullptr; #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE @@ -58553,27 +58656,27 @@ inline ::protos::State* RpcActionStatePairs::release_state() { #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::protos::State* RpcActionStatePairs::unsafe_arena_release_state() { - // @@protoc_insertion_point(field_release:protos.RpcActionStatePairs.state) - _impl_._has_bits_[0] &= ~0x00000001u; +inline ::protos::State* BestPlannerActionRequest::unsafe_arena_release_state() { + // @@protoc_insertion_point(field_release:protos.BestPlannerActionRequest.state) + _impl_._has_bits_[0] &= ~0x00000002u; ::protos::State* temp = _impl_.state_; _impl_.state_ = nullptr; return temp; } -inline ::protos::State* RpcActionStatePairs::_internal_mutable_state() { - _impl_._has_bits_[0] |= 0x00000001u; +inline ::protos::State* BestPlannerActionRequest::_internal_mutable_state() { + _impl_._has_bits_[0] |= 0x00000002u; if (_impl_.state_ == nullptr) { auto* p = CreateMaybeMessage<::protos::State>(GetArenaForAllocation()); _impl_.state_ = p; } return _impl_.state_; } -inline ::protos::State* RpcActionStatePairs::mutable_state() { +inline ::protos::State* BestPlannerActionRequest::mutable_state() { ::protos::State* _msg = _internal_mutable_state(); - // @@protoc_insertion_point(field_mutable:protos.RpcActionStatePairs.state) + // @@protoc_insertion_point(field_mutable:protos.BestPlannerActionRequest.state) return _msg; } -inline void RpcActionStatePairs::set_allocated_state(::protos::State* state) { +inline void BestPlannerActionRequest::set_allocated_state(::protos::State* state) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete _impl_.state_; @@ -58585,34 +58688,34 @@ inline void RpcActionStatePairs::set_allocated_state(::protos::State* state) { state = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, state, submessage_arena); } - _impl_._has_bits_[0] |= 0x00000001u; + _impl_._has_bits_[0] |= 0x00000002u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } _impl_.state_ = state; - // @@protoc_insertion_point(field_set_allocated:protos.RpcActionStatePairs.state) + // @@protoc_insertion_point(field_set_allocated:protos.BestPlannerActionRequest.state) } // ------------------------------------------------------------------- -// BestActionStatePair +// BestPlannerActionResponse // int32 index = 1; -inline void BestActionStatePair::clear_index() { +inline void BestPlannerActionResponse::clear_index() { _impl_.index_ = 0; } -inline ::int32_t BestActionStatePair::index() const { - // @@protoc_insertion_point(field_get:protos.BestActionStatePair.index) +inline ::int32_t BestPlannerActionResponse::index() const { + // @@protoc_insertion_point(field_get:protos.BestPlannerActionResponse.index) return _internal_index(); } -inline void BestActionStatePair::set_index(::int32_t value) { +inline void BestPlannerActionResponse::set_index(::int32_t value) { _internal_set_index(value); - // @@protoc_insertion_point(field_set:protos.BestActionStatePair.index) + // @@protoc_insertion_point(field_set:protos.BestPlannerActionResponse.index) } -inline ::int32_t BestActionStatePair::_internal_index() const { +inline ::int32_t BestPlannerActionResponse::_internal_index() const { return _impl_.index_; } -inline void BestActionStatePair::_internal_set_index(::int32_t value) { +inline void BestPlannerActionResponse::_internal_set_index(::int32_t value) { ; _impl_.index_ = value; } diff --git a/src/thrift-generated/Game.cpp b/src/thrift-generated/Game.cpp index 8b3edc8..fb7af95 100644 --- a/src/thrift-generated/Game.cpp +++ b/src/thrift-generated/Game.cpp @@ -1691,6 +1691,193 @@ uint32_t Game_SendByeCommand_presult::read(::apache::thrift::protocol::TProtocol return xfer; } + +Game_GetBestPlannerAction_args::~Game_GetBestPlannerAction_args() noexcept { +} + + +uint32_t Game_GetBestPlannerAction_args::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->best_planner_action_request.read(iprot); + this->__isset.best_planner_action_request = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Game_GetBestPlannerAction_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Game_GetBestPlannerAction_args"); + + xfer += oprot->writeFieldBegin("best_planner_action_request", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->best_planner_action_request.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_GetBestPlannerAction_pargs::~Game_GetBestPlannerAction_pargs() noexcept { +} + + +uint32_t Game_GetBestPlannerAction_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Game_GetBestPlannerAction_pargs"); + + xfer += oprot->writeFieldBegin("best_planner_action_request", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += (*(this->best_planner_action_request)).write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_GetBestPlannerAction_result::~Game_GetBestPlannerAction_result() noexcept { +} + + +uint32_t Game_GetBestPlannerAction_result::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->success.read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Game_GetBestPlannerAction_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("Game_GetBestPlannerAction_result"); + + if (this->__isset.success) { + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); + xfer += this->success.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_GetBestPlannerAction_presult::~Game_GetBestPlannerAction_presult() noexcept { +} + + +uint32_t Game_GetBestPlannerAction_presult::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += (*(this->success)).read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + void GameClient::GetPlayerActions(PlayerActions& _return, const State& state) { send_GetPlayerActions(state); @@ -2213,6 +2400,64 @@ void GameClient::recv_SendByeCommand(Empty& _return) throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "SendByeCommand failed: unknown result"); } +void GameClient::GetBestPlannerAction(BestPlannerActionResponse& _return, const BestPlannerActionRequest& best_planner_action_request) +{ + send_GetBestPlannerAction(best_planner_action_request); + recv_GetBestPlannerAction(_return); +} + +void GameClient::send_GetBestPlannerAction(const BestPlannerActionRequest& best_planner_action_request) +{ + int32_t cseqid = 0; + oprot_->writeMessageBegin("GetBestPlannerAction", ::apache::thrift::protocol::T_CALL, cseqid); + + Game_GetBestPlannerAction_pargs args; + args.best_planner_action_request = &best_planner_action_request; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); +} + +void GameClient::recv_GetBestPlannerAction(BestPlannerActionResponse& _return) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + iprot_->readMessageBegin(fname, mtype, rseqid); + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("GetBestPlannerAction") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + Game_GetBestPlannerAction_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + return; + } + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetBestPlannerAction failed: unknown result"); +} + bool GameProcessor::dispatchCall(::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, const std::string& fname, int32_t seqid, void* callContext) { ProcessMap::iterator pfn; pfn = processMap_.find(fname); @@ -2718,6 +2963,60 @@ void GameProcessor::process_SendByeCommand(int32_t seqid, ::apache::thrift::prot } } +void GameProcessor::process_GetBestPlannerAction(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) +{ + void* ctx = nullptr; + if (this->eventHandler_.get() != nullptr) { + ctx = this->eventHandler_->getContext("Game.GetBestPlannerAction", callContext); + } + ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "Game.GetBestPlannerAction"); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->preRead(ctx, "Game.GetBestPlannerAction"); + } + + Game_GetBestPlannerAction_args args; + args.read(iprot); + iprot->readMessageEnd(); + uint32_t bytes = iprot->getTransport()->readEnd(); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->postRead(ctx, "Game.GetBestPlannerAction", bytes); + } + + Game_GetBestPlannerAction_result result; + try { + iface_->GetBestPlannerAction(result.success, args.best_planner_action_request); + result.__isset.success = true; + } catch (const std::exception& e) { + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->handlerError(ctx, "Game.GetBestPlannerAction"); + } + + ::apache::thrift::TApplicationException x(e.what()); + oprot->writeMessageBegin("GetBestPlannerAction", ::apache::thrift::protocol::T_EXCEPTION, seqid); + x.write(oprot); + oprot->writeMessageEnd(); + oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + return; + } + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->preWrite(ctx, "Game.GetBestPlannerAction"); + } + + oprot->writeMessageBegin("GetBestPlannerAction", ::apache::thrift::protocol::T_REPLY, seqid); + result.write(oprot); + oprot->writeMessageEnd(); + bytes = oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->postWrite(ctx, "Game.GetBestPlannerAction", bytes); + } +} + ::std::shared_ptr< ::apache::thrift::TProcessor > GameProcessorFactory::getProcessor(const ::apache::thrift::TConnectionInfo& connInfo) { ::apache::thrift::ReleaseHandler< GameIfFactory > cleanup(handlerFactory_); ::std::shared_ptr< GameIf > handler(handlerFactory_->getHandler(connInfo), cleanup); @@ -3481,5 +3780,89 @@ void GameConcurrentClient::recv_SendByeCommand(Empty& _return, const int32_t seq } // end while(true) } +void GameConcurrentClient::GetBestPlannerAction(BestPlannerActionResponse& _return, const BestPlannerActionRequest& best_planner_action_request) +{ + int32_t seqid = send_GetBestPlannerAction(best_planner_action_request); + recv_GetBestPlannerAction(_return, seqid); +} + +int32_t GameConcurrentClient::send_GetBestPlannerAction(const BestPlannerActionRequest& best_planner_action_request) +{ + int32_t cseqid = this->sync_->generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(this->sync_.get()); + oprot_->writeMessageBegin("GetBestPlannerAction", ::apache::thrift::protocol::T_CALL, cseqid); + + Game_GetBestPlannerAction_pargs args; + args.best_planner_action_request = &best_planner_action_request; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void GameConcurrentClient::recv_GetBestPlannerAction(BestPlannerActionResponse& _return, const int32_t seqid) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + // the read mutex gets dropped and reacquired as part of waitForWork() + // The destructor of this sentry wakes up other clients + ::apache::thrift::async::TConcurrentRecvSentry sentry(this->sync_.get(), seqid); + + while(true) { + if(!this->sync_->getPending(fname, mtype, rseqid)) { + iprot_->readMessageBegin(fname, mtype, rseqid); + } + if(seqid == rseqid) { + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + sentry.commit(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("GetBestPlannerAction") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + // in a bad state, don't commit + using ::apache::thrift::protocol::TProtocolException; + throw TProtocolException(TProtocolException::INVALID_DATA); + } + Game_GetBestPlannerAction_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + sentry.commit(); + return; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetBestPlannerAction failed: unknown result"); + } + // seqid != rseqid + this->sync_->updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_->waitForWork(seqid); + } // end while(true) +} + } // namespace diff --git a/src/thrift-generated/Game.h b/src/thrift-generated/Game.h index 1d2b821..a6686f5 100644 --- a/src/thrift-generated/Game.h +++ b/src/thrift-generated/Game.h @@ -31,6 +31,7 @@ class GameIf { virtual void SendPlayerType(Empty& _return, const PlayerType& player_type) = 0; virtual void Register(RegisterResponse& _return, const RegisterRequest& request) = 0; virtual void SendByeCommand(Empty& _return, const RegisterResponse& register_response) = 0; + virtual void GetBestPlannerAction(BestPlannerActionResponse& _return, const BestPlannerActionRequest& best_planner_action_request) = 0; }; class GameIfFactory { @@ -87,6 +88,9 @@ class GameNull : virtual public GameIf { void SendByeCommand(Empty& /* _return */, const RegisterResponse& /* register_response */) override { return; } + void GetBestPlannerAction(BestPlannerActionResponse& /* _return */, const BestPlannerActionRequest& /* best_planner_action_request */) override { + return; + } }; typedef struct _Game_GetPlayerActions_args__isset { @@ -1025,6 +1029,110 @@ class Game_SendByeCommand_presult { }; +typedef struct _Game_GetBestPlannerAction_args__isset { + _Game_GetBestPlannerAction_args__isset() : best_planner_action_request(false) {} + bool best_planner_action_request :1; +} _Game_GetBestPlannerAction_args__isset; + +class Game_GetBestPlannerAction_args { + public: + + Game_GetBestPlannerAction_args(const Game_GetBestPlannerAction_args&); + Game_GetBestPlannerAction_args& operator=(const Game_GetBestPlannerAction_args&); + Game_GetBestPlannerAction_args() noexcept { + } + + virtual ~Game_GetBestPlannerAction_args() noexcept; + BestPlannerActionRequest best_planner_action_request; + + _Game_GetBestPlannerAction_args__isset __isset; + + void __set_best_planner_action_request(const BestPlannerActionRequest& val); + + bool operator == (const Game_GetBestPlannerAction_args & rhs) const + { + if (!(best_planner_action_request == rhs.best_planner_action_request)) + return false; + return true; + } + bool operator != (const Game_GetBestPlannerAction_args &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Game_GetBestPlannerAction_args & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + + +class Game_GetBestPlannerAction_pargs { + public: + + + virtual ~Game_GetBestPlannerAction_pargs() noexcept; + const BestPlannerActionRequest* best_planner_action_request; + + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _Game_GetBestPlannerAction_result__isset { + _Game_GetBestPlannerAction_result__isset() : success(false) {} + bool success :1; +} _Game_GetBestPlannerAction_result__isset; + +class Game_GetBestPlannerAction_result { + public: + + Game_GetBestPlannerAction_result(const Game_GetBestPlannerAction_result&) noexcept; + Game_GetBestPlannerAction_result& operator=(const Game_GetBestPlannerAction_result&) noexcept; + Game_GetBestPlannerAction_result() noexcept { + } + + virtual ~Game_GetBestPlannerAction_result() noexcept; + BestPlannerActionResponse success; + + _Game_GetBestPlannerAction_result__isset __isset; + + void __set_success(const BestPlannerActionResponse& val); + + bool operator == (const Game_GetBestPlannerAction_result & rhs) const + { + if (!(success == rhs.success)) + return false; + return true; + } + bool operator != (const Game_GetBestPlannerAction_result &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Game_GetBestPlannerAction_result & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _Game_GetBestPlannerAction_presult__isset { + _Game_GetBestPlannerAction_presult__isset() : success(false) {} + bool success :1; +} _Game_GetBestPlannerAction_presult__isset; + +class Game_GetBestPlannerAction_presult { + public: + + + virtual ~Game_GetBestPlannerAction_presult() noexcept; + BestPlannerActionResponse* success; + + _Game_GetBestPlannerAction_presult__isset __isset; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + +}; + class GameClient : virtual public GameIf { public: GameClient(std::shared_ptr< ::apache::thrift::protocol::TProtocol> prot) { @@ -1077,6 +1185,9 @@ class GameClient : virtual public GameIf { void SendByeCommand(Empty& _return, const RegisterResponse& register_response) override; void send_SendByeCommand(const RegisterResponse& register_response); void recv_SendByeCommand(Empty& _return); + void GetBestPlannerAction(BestPlannerActionResponse& _return, const BestPlannerActionRequest& best_planner_action_request) override; + void send_GetBestPlannerAction(const BestPlannerActionRequest& best_planner_action_request); + void recv_GetBestPlannerAction(BestPlannerActionResponse& _return); protected: std::shared_ptr< ::apache::thrift::protocol::TProtocol> piprot_; std::shared_ptr< ::apache::thrift::protocol::TProtocol> poprot_; @@ -1101,6 +1212,7 @@ class GameProcessor : public ::apache::thrift::TDispatchProcessor { void process_SendPlayerType(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_Register(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_SendByeCommand(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); + void process_GetBestPlannerAction(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); public: GameProcessor(::std::shared_ptr iface) : iface_(iface) { @@ -1113,6 +1225,7 @@ class GameProcessor : public ::apache::thrift::TDispatchProcessor { processMap_["SendPlayerType"] = &GameProcessor::process_SendPlayerType; processMap_["Register"] = &GameProcessor::process_Register; processMap_["SendByeCommand"] = &GameProcessor::process_SendByeCommand; + processMap_["GetBestPlannerAction"] = &GameProcessor::process_GetBestPlannerAction; } virtual ~GameProcessor() {} @@ -1231,6 +1344,16 @@ class GameMultiface : virtual public GameIf { return; } + void GetBestPlannerAction(BestPlannerActionResponse& _return, const BestPlannerActionRequest& best_planner_action_request) override { + size_t sz = ifaces_.size(); + size_t i = 0; + for (; i < (sz - 1); ++i) { + ifaces_[i]->GetBestPlannerAction(_return, best_planner_action_request); + } + ifaces_[i]->GetBestPlannerAction(_return, best_planner_action_request); + return; + } + }; // The 'concurrent' client is a thread safe client that correctly handles @@ -1290,6 +1413,9 @@ class GameConcurrentClient : virtual public GameIf { void SendByeCommand(Empty& _return, const RegisterResponse& register_response) override; int32_t send_SendByeCommand(const RegisterResponse& register_response); void recv_SendByeCommand(Empty& _return, const int32_t seqid); + void GetBestPlannerAction(BestPlannerActionResponse& _return, const BestPlannerActionRequest& best_planner_action_request) override; + int32_t send_GetBestPlannerAction(const BestPlannerActionRequest& best_planner_action_request); + void recv_GetBestPlannerAction(BestPlannerActionResponse& _return, const int32_t seqid); protected: std::shared_ptr< ::apache::thrift::protocol::TProtocol> piprot_; std::shared_ptr< ::apache::thrift::protocol::TProtocol> poprot_; diff --git a/src/thrift-generated/Game_server.skeleton.cpp b/src/thrift-generated/Game_server.skeleton.cpp index 1c24ace..843b101 100644 --- a/src/thrift-generated/Game_server.skeleton.cpp +++ b/src/thrift-generated/Game_server.skeleton.cpp @@ -65,6 +65,11 @@ class GameHandler : virtual public GameIf { printf("SendByeCommand\n"); } + void GetBestPlannerAction(BestPlannerActionResponse& _return, const BestPlannerActionRequest& best_planner_action_request) { + // Your implementation goes here + printf("GetBestPlannerAction\n"); + } + }; int main(int argc, char **argv) { diff --git a/src/thrift-generated/soccer_service_types.cpp b/src/thrift-generated/soccer_service_types.cpp index e8fd964..5b1bf05 100644 --- a/src/thrift-generated/soccer_service_types.cpp +++ b/src/thrift-generated/soccer_service_types.cpp @@ -299,6 +299,45 @@ std::string to_string(const GameModeType::type& val) { } } +int _kRpcActionCategoryValues[] = { + RpcActionCategory::AC_Hold, + RpcActionCategory::AC_Dribble, + RpcActionCategory::AC_Pass, + RpcActionCategory::AC_Shoot, + RpcActionCategory::AC_Clear, + RpcActionCategory::AC_Move, + RpcActionCategory::AC_NoAction +}; +const char* _kRpcActionCategoryNames[] = { + "AC_Hold", + "AC_Dribble", + "AC_Pass", + "AC_Shoot", + "AC_Clear", + "AC_Move", + "AC_NoAction" +}; +const std::map _RpcActionCategory_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(7, _kRpcActionCategoryValues, _kRpcActionCategoryNames), ::apache::thrift::TEnumIterator(-1, nullptr, nullptr)); + +std::ostream& operator<<(std::ostream& out, const RpcActionCategory::type& val) { + std::map::const_iterator it = _RpcActionCategory_VALUES_TO_NAMES.find(val); + if (it != _RpcActionCategory_VALUES_TO_NAMES.end()) { + out << it->second; + } else { + out << static_cast(val); + } + return out; +} + +std::string to_string(const RpcActionCategory::type& val) { + std::map::const_iterator it = _RpcActionCategory_VALUES_TO_NAMES.find(val); + if (it != _RpcActionCategory_VALUES_TO_NAMES.end()) { + return std::string(it->second); + } else { + return std::to_string(static_cast(val)); + } +} + RpcVector2D::~RpcVector2D() noexcept { } @@ -4033,6 +4072,10 @@ void State::__set_world_model(const WorldModel& val) { void State::__set_full_world_model(const WorldModel& val) { this->full_world_model = val; } + +void State::__set_need_preprocess(const bool val) { + this->need_preprocess = val; +} std::ostream& operator<<(std::ostream& out, const State& obj) { obj.printTo(out); @@ -4085,6 +4128,14 @@ uint32_t State::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 4: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->need_preprocess); + this->__isset.need_preprocess = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -4114,6 +4165,10 @@ uint32_t State::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += this->full_world_model.write(oprot); xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldBegin("need_preprocess", ::apache::thrift::protocol::T_BOOL, 4); + xfer += oprot->writeBool(this->need_preprocess); + xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -4124,6 +4179,7 @@ void swap(State &a, State &b) { swap(a.register_response, b.register_response); swap(a.world_model, b.world_model); swap(a.full_world_model, b.full_world_model); + swap(a.need_preprocess, b.need_preprocess); swap(a.__isset, b.__isset); } @@ -4131,12 +4187,14 @@ State::State(const State& other75) { register_response = other75.register_response; world_model = other75.world_model; full_world_model = other75.full_world_model; + need_preprocess = other75.need_preprocess; __isset = other75.__isset; } State& State::operator=(const State& other76) { register_response = other76.register_response; world_model = other76.world_model; full_world_model = other76.full_world_model; + need_preprocess = other76.need_preprocess; __isset = other76.__isset; return *this; } @@ -4146,6 +4204,7 @@ void State::printTo(std::ostream& out) const { out << "register_response=" << to_string(register_response); out << ", " << "world_model=" << to_string(world_model); out << ", " << "full_world_model=" << to_string(full_world_model); + out << ", " << "need_preprocess=" << to_string(need_preprocess); out << ")"; } @@ -16711,6 +16770,10 @@ PlayerActions::~PlayerActions() noexcept { void PlayerActions::__set_actions(const std::vector & val) { this->actions = val; } + +void PlayerActions::__set_ignore_preprocess(const bool val) { + this->ignore_preprocess = val; +} std::ostream& operator<<(std::ostream& out, const PlayerActions& obj) { obj.printTo(out); @@ -16759,6 +16822,14 @@ uint32_t PlayerActions::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 2: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->ignore_preprocess); + this->__isset.ignore_preprocess = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -16788,6 +16859,10 @@ uint32_t PlayerActions::write(::apache::thrift::protocol::TProtocol* oprot) cons } xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldBegin("ignore_preprocess", ::apache::thrift::protocol::T_BOOL, 2); + xfer += oprot->writeBool(this->ignore_preprocess); + xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -16796,15 +16871,18 @@ uint32_t PlayerActions::write(::apache::thrift::protocol::TProtocol* oprot) cons void swap(PlayerActions &a, PlayerActions &b) { using ::std::swap; swap(a.actions, b.actions); + swap(a.ignore_preprocess, b.ignore_preprocess); swap(a.__isset, b.__isset); } PlayerActions::PlayerActions(const PlayerActions& other291) { actions = other291.actions; + ignore_preprocess = other291.ignore_preprocess; __isset = other291.__isset; } PlayerActions& PlayerActions::operator=(const PlayerActions& other292) { actions = other292.actions; + ignore_preprocess = other292.ignore_preprocess; __isset = other292.__isset; return *this; } @@ -16812,6 +16890,7 @@ void PlayerActions::printTo(std::ostream& out) const { using ::apache::thrift::to_string; out << "PlayerActions("; out << "actions=" << to_string(actions); + out << ", " << "ignore_preprocess=" << to_string(ignore_preprocess); out << ")"; } @@ -24216,6 +24295,972 @@ void PlayerType::printTo(std::ostream& out) const { } +RpcCooperativeAction::~RpcCooperativeAction() noexcept { +} + + +void RpcCooperativeAction::__set_category(const RpcActionCategory::type val) { + this->category = val; +} + +void RpcCooperativeAction::__set_index(const int32_t val) { + this->index = val; +} + +void RpcCooperativeAction::__set_sender_unum(const int32_t val) { + this->sender_unum = val; +} + +void RpcCooperativeAction::__set_target_unum(const int32_t val) { + this->target_unum = val; +} + +void RpcCooperativeAction::__set_target_point(const RpcVector2D& val) { + this->target_point = val; +} + +void RpcCooperativeAction::__set_first_ball_speed(const double val) { + this->first_ball_speed = val; +} + +void RpcCooperativeAction::__set_first_turn_moment(const double val) { + this->first_turn_moment = val; +} + +void RpcCooperativeAction::__set_first_dash_power(const double val) { + this->first_dash_power = val; +} + +void RpcCooperativeAction::__set_first_dash_angle_relative(const double val) { + this->first_dash_angle_relative = val; +} + +void RpcCooperativeAction::__set_duration_step(const int32_t val) { + this->duration_step = val; +} + +void RpcCooperativeAction::__set_kick_count(const int32_t val) { + this->kick_count = val; +} + +void RpcCooperativeAction::__set_turn_count(const int32_t val) { + this->turn_count = val; +} + +void RpcCooperativeAction::__set_dash_count(const int32_t val) { + this->dash_count = val; +} + +void RpcCooperativeAction::__set_final_action(const bool val) { + this->final_action = val; +} + +void RpcCooperativeAction::__set_description(const std::string& val) { + this->description = val; +} + +void RpcCooperativeAction::__set_parent_index(const int32_t val) { + this->parent_index = val; +} +std::ostream& operator<<(std::ostream& out, const RpcCooperativeAction& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t RpcCooperativeAction::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast339; + xfer += iprot->readI32(ecast339); + this->category = static_cast(ecast339); + this->__isset.category = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->index); + this->__isset.index = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->sender_unum); + this->__isset.sender_unum = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->target_unum); + this->__isset.target_unum = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->target_point.read(iprot); + this->__isset.target_point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->first_ball_speed); + this->__isset.first_ball_speed = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 7: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->first_turn_moment); + this->__isset.first_turn_moment = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 8: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->first_dash_power); + this->__isset.first_dash_power = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 9: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->first_dash_angle_relative); + this->__isset.first_dash_angle_relative = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 10: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->duration_step); + this->__isset.duration_step = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 11: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->kick_count); + this->__isset.kick_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 12: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->turn_count); + this->__isset.turn_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 13: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->dash_count); + this->__isset.dash_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 14: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->final_action); + this->__isset.final_action = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 15: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->description); + this->__isset.description = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 16: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->parent_index); + this->__isset.parent_index = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t RpcCooperativeAction::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("RpcCooperativeAction"); + + xfer += oprot->writeFieldBegin("category", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(static_cast(this->category)); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("index", ::apache::thrift::protocol::T_I32, 2); + xfer += oprot->writeI32(this->index); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("sender_unum", ::apache::thrift::protocol::T_I32, 3); + xfer += oprot->writeI32(this->sender_unum); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("target_unum", ::apache::thrift::protocol::T_I32, 4); + xfer += oprot->writeI32(this->target_unum); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("target_point", ::apache::thrift::protocol::T_STRUCT, 5); + xfer += this->target_point.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("first_ball_speed", ::apache::thrift::protocol::T_DOUBLE, 6); + xfer += oprot->writeDouble(this->first_ball_speed); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("first_turn_moment", ::apache::thrift::protocol::T_DOUBLE, 7); + xfer += oprot->writeDouble(this->first_turn_moment); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("first_dash_power", ::apache::thrift::protocol::T_DOUBLE, 8); + xfer += oprot->writeDouble(this->first_dash_power); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("first_dash_angle_relative", ::apache::thrift::protocol::T_DOUBLE, 9); + xfer += oprot->writeDouble(this->first_dash_angle_relative); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("duration_step", ::apache::thrift::protocol::T_I32, 10); + xfer += oprot->writeI32(this->duration_step); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("kick_count", ::apache::thrift::protocol::T_I32, 11); + xfer += oprot->writeI32(this->kick_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("turn_count", ::apache::thrift::protocol::T_I32, 12); + xfer += oprot->writeI32(this->turn_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("dash_count", ::apache::thrift::protocol::T_I32, 13); + xfer += oprot->writeI32(this->dash_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("final_action", ::apache::thrift::protocol::T_BOOL, 14); + xfer += oprot->writeBool(this->final_action); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("description", ::apache::thrift::protocol::T_STRING, 15); + xfer += oprot->writeString(this->description); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("parent_index", ::apache::thrift::protocol::T_I32, 16); + xfer += oprot->writeI32(this->parent_index); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(RpcCooperativeAction &a, RpcCooperativeAction &b) { + using ::std::swap; + swap(a.category, b.category); + swap(a.index, b.index); + swap(a.sender_unum, b.sender_unum); + swap(a.target_unum, b.target_unum); + swap(a.target_point, b.target_point); + swap(a.first_ball_speed, b.first_ball_speed); + swap(a.first_turn_moment, b.first_turn_moment); + swap(a.first_dash_power, b.first_dash_power); + swap(a.first_dash_angle_relative, b.first_dash_angle_relative); + swap(a.duration_step, b.duration_step); + swap(a.kick_count, b.kick_count); + swap(a.turn_count, b.turn_count); + swap(a.dash_count, b.dash_count); + swap(a.final_action, b.final_action); + swap(a.description, b.description); + swap(a.parent_index, b.parent_index); + swap(a.__isset, b.__isset); +} + +RpcCooperativeAction::RpcCooperativeAction(const RpcCooperativeAction& other340) { + category = other340.category; + index = other340.index; + sender_unum = other340.sender_unum; + target_unum = other340.target_unum; + target_point = other340.target_point; + first_ball_speed = other340.first_ball_speed; + first_turn_moment = other340.first_turn_moment; + first_dash_power = other340.first_dash_power; + first_dash_angle_relative = other340.first_dash_angle_relative; + duration_step = other340.duration_step; + kick_count = other340.kick_count; + turn_count = other340.turn_count; + dash_count = other340.dash_count; + final_action = other340.final_action; + description = other340.description; + parent_index = other340.parent_index; + __isset = other340.__isset; +} +RpcCooperativeAction& RpcCooperativeAction::operator=(const RpcCooperativeAction& other341) { + category = other341.category; + index = other341.index; + sender_unum = other341.sender_unum; + target_unum = other341.target_unum; + target_point = other341.target_point; + first_ball_speed = other341.first_ball_speed; + first_turn_moment = other341.first_turn_moment; + first_dash_power = other341.first_dash_power; + first_dash_angle_relative = other341.first_dash_angle_relative; + duration_step = other341.duration_step; + kick_count = other341.kick_count; + turn_count = other341.turn_count; + dash_count = other341.dash_count; + final_action = other341.final_action; + description = other341.description; + parent_index = other341.parent_index; + __isset = other341.__isset; + return *this; +} +void RpcCooperativeAction::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "RpcCooperativeAction("; + out << "category=" << to_string(category); + out << ", " << "index=" << to_string(index); + out << ", " << "sender_unum=" << to_string(sender_unum); + out << ", " << "target_unum=" << to_string(target_unum); + out << ", " << "target_point=" << to_string(target_point); + out << ", " << "first_ball_speed=" << to_string(first_ball_speed); + out << ", " << "first_turn_moment=" << to_string(first_turn_moment); + out << ", " << "first_dash_power=" << to_string(first_dash_power); + out << ", " << "first_dash_angle_relative=" << to_string(first_dash_angle_relative); + out << ", " << "duration_step=" << to_string(duration_step); + out << ", " << "kick_count=" << to_string(kick_count); + out << ", " << "turn_count=" << to_string(turn_count); + out << ", " << "dash_count=" << to_string(dash_count); + out << ", " << "final_action=" << to_string(final_action); + out << ", " << "description=" << to_string(description); + out << ", " << "parent_index=" << to_string(parent_index); + out << ")"; +} + + +RpcPredictState::~RpcPredictState() noexcept { +} + + +void RpcPredictState::__set_spend_time(const int32_t val) { + this->spend_time = val; +} + +void RpcPredictState::__set_ball_holder_unum(const int32_t val) { + this->ball_holder_unum = val; +} + +void RpcPredictState::__set_ball_position(const RpcVector2D& val) { + this->ball_position = val; +} + +void RpcPredictState::__set_ball_velocity(const RpcVector2D& val) { + this->ball_velocity = val; +} + +void RpcPredictState::__set_our_defense_line_x(const double val) { + this->our_defense_line_x = val; +} + +void RpcPredictState::__set_our_offense_line_x(const double val) { + this->our_offense_line_x = val; +} +std::ostream& operator<<(std::ostream& out, const RpcPredictState& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t RpcPredictState::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->spend_time); + this->__isset.spend_time = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->ball_holder_unum); + this->__isset.ball_holder_unum = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ball_position.read(iprot); + this->__isset.ball_position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ball_velocity.read(iprot); + this->__isset.ball_velocity = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->our_defense_line_x); + this->__isset.our_defense_line_x = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->our_offense_line_x); + this->__isset.our_offense_line_x = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t RpcPredictState::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("RpcPredictState"); + + xfer += oprot->writeFieldBegin("spend_time", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(this->spend_time); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("ball_holder_unum", ::apache::thrift::protocol::T_I32, 2); + xfer += oprot->writeI32(this->ball_holder_unum); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("ball_position", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->ball_position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("ball_velocity", ::apache::thrift::protocol::T_STRUCT, 4); + xfer += this->ball_velocity.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("our_defense_line_x", ::apache::thrift::protocol::T_DOUBLE, 5); + xfer += oprot->writeDouble(this->our_defense_line_x); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("our_offense_line_x", ::apache::thrift::protocol::T_DOUBLE, 6); + xfer += oprot->writeDouble(this->our_offense_line_x); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(RpcPredictState &a, RpcPredictState &b) { + using ::std::swap; + swap(a.spend_time, b.spend_time); + swap(a.ball_holder_unum, b.ball_holder_unum); + swap(a.ball_position, b.ball_position); + swap(a.ball_velocity, b.ball_velocity); + swap(a.our_defense_line_x, b.our_defense_line_x); + swap(a.our_offense_line_x, b.our_offense_line_x); + swap(a.__isset, b.__isset); +} + +RpcPredictState::RpcPredictState(const RpcPredictState& other342) noexcept { + spend_time = other342.spend_time; + ball_holder_unum = other342.ball_holder_unum; + ball_position = other342.ball_position; + ball_velocity = other342.ball_velocity; + our_defense_line_x = other342.our_defense_line_x; + our_offense_line_x = other342.our_offense_line_x; + __isset = other342.__isset; +} +RpcPredictState& RpcPredictState::operator=(const RpcPredictState& other343) noexcept { + spend_time = other343.spend_time; + ball_holder_unum = other343.ball_holder_unum; + ball_position = other343.ball_position; + ball_velocity = other343.ball_velocity; + our_defense_line_x = other343.our_defense_line_x; + our_offense_line_x = other343.our_offense_line_x; + __isset = other343.__isset; + return *this; +} +void RpcPredictState::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "RpcPredictState("; + out << "spend_time=" << to_string(spend_time); + out << ", " << "ball_holder_unum=" << to_string(ball_holder_unum); + out << ", " << "ball_position=" << to_string(ball_position); + out << ", " << "ball_velocity=" << to_string(ball_velocity); + out << ", " << "our_defense_line_x=" << to_string(our_defense_line_x); + out << ", " << "our_offense_line_x=" << to_string(our_offense_line_x); + out << ")"; +} + + +RpcActionState::~RpcActionState() noexcept { +} + + +void RpcActionState::__set_action(const RpcCooperativeAction& val) { + this->action = val; +} + +void RpcActionState::__set_predict_state(const RpcPredictState& val) { + this->predict_state = val; +} + +void RpcActionState::__set_evaluation(const double val) { + this->evaluation = val; +} +std::ostream& operator<<(std::ostream& out, const RpcActionState& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t RpcActionState::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->action.read(iprot); + this->__isset.action = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->predict_state.read(iprot); + this->__isset.predict_state = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->evaluation); + this->__isset.evaluation = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t RpcActionState::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("RpcActionState"); + + xfer += oprot->writeFieldBegin("action", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->action.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("predict_state", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->predict_state.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("evaluation", ::apache::thrift::protocol::T_DOUBLE, 3); + xfer += oprot->writeDouble(this->evaluation); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(RpcActionState &a, RpcActionState &b) { + using ::std::swap; + swap(a.action, b.action); + swap(a.predict_state, b.predict_state); + swap(a.evaluation, b.evaluation); + swap(a.__isset, b.__isset); +} + +RpcActionState::RpcActionState(const RpcActionState& other344) { + action = other344.action; + predict_state = other344.predict_state; + evaluation = other344.evaluation; + __isset = other344.__isset; +} +RpcActionState& RpcActionState::operator=(const RpcActionState& other345) { + action = other345.action; + predict_state = other345.predict_state; + evaluation = other345.evaluation; + __isset = other345.__isset; + return *this; +} +void RpcActionState::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "RpcActionState("; + out << "action=" << to_string(action); + out << ", " << "predict_state=" << to_string(predict_state); + out << ", " << "evaluation=" << to_string(evaluation); + out << ")"; +} + + +BestPlannerActionRequest::~BestPlannerActionRequest() noexcept { +} + + +void BestPlannerActionRequest::__set_register_response(const RegisterResponse& val) { + this->register_response = val; +} + +void BestPlannerActionRequest::__set_pairs(const std::map & val) { + this->pairs = val; +} + +void BestPlannerActionRequest::__set_state(const State& val) { + this->state = val; +} +std::ostream& operator<<(std::ostream& out, const BestPlannerActionRequest& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t BestPlannerActionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->register_response.read(iprot); + this->__isset.register_response = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_MAP) { + { + this->pairs.clear(); + uint32_t _size346; + ::apache::thrift::protocol::TType _ktype347; + ::apache::thrift::protocol::TType _vtype348; + xfer += iprot->readMapBegin(_ktype347, _vtype348, _size346); + uint32_t _i350; + for (_i350 = 0; _i350 < _size346; ++_i350) + { + int32_t _key351; + xfer += iprot->readI32(_key351); + RpcActionState& _val352 = this->pairs[_key351]; + xfer += _val352.read(iprot); + } + xfer += iprot->readMapEnd(); + } + this->__isset.pairs = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->state.read(iprot); + this->__isset.state = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t BestPlannerActionRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("BestPlannerActionRequest"); + + xfer += oprot->writeFieldBegin("register_response", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->register_response.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("pairs", ::apache::thrift::protocol::T_MAP, 2); + { + xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I32, ::apache::thrift::protocol::T_STRUCT, static_cast(this->pairs.size())); + std::map ::const_iterator _iter353; + for (_iter353 = this->pairs.begin(); _iter353 != this->pairs.end(); ++_iter353) + { + xfer += oprot->writeI32(_iter353->first); + xfer += _iter353->second.write(oprot); + } + xfer += oprot->writeMapEnd(); + } + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("state", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->state.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(BestPlannerActionRequest &a, BestPlannerActionRequest &b) { + using ::std::swap; + swap(a.register_response, b.register_response); + swap(a.pairs, b.pairs); + swap(a.state, b.state); + swap(a.__isset, b.__isset); +} + +BestPlannerActionRequest::BestPlannerActionRequest(const BestPlannerActionRequest& other354) { + register_response = other354.register_response; + pairs = other354.pairs; + state = other354.state; + __isset = other354.__isset; +} +BestPlannerActionRequest& BestPlannerActionRequest::operator=(const BestPlannerActionRequest& other355) { + register_response = other355.register_response; + pairs = other355.pairs; + state = other355.state; + __isset = other355.__isset; + return *this; +} +void BestPlannerActionRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "BestPlannerActionRequest("; + out << "register_response=" << to_string(register_response); + out << ", " << "pairs=" << to_string(pairs); + out << ", " << "state=" << to_string(state); + out << ")"; +} + + +BestPlannerActionResponse::~BestPlannerActionResponse() noexcept { +} + + +void BestPlannerActionResponse::__set_index(const int32_t val) { + this->index = val; +} +std::ostream& operator<<(std::ostream& out, const BestPlannerActionResponse& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t BestPlannerActionResponse::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->index); + this->__isset.index = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t BestPlannerActionResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("BestPlannerActionResponse"); + + xfer += oprot->writeFieldBegin("index", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(this->index); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(BestPlannerActionResponse &a, BestPlannerActionResponse &b) { + using ::std::swap; + swap(a.index, b.index); + swap(a.__isset, b.__isset); +} + +BestPlannerActionResponse::BestPlannerActionResponse(const BestPlannerActionResponse& other356) noexcept { + index = other356.index; + __isset = other356.__isset; +} +BestPlannerActionResponse& BestPlannerActionResponse::operator=(const BestPlannerActionResponse& other357) noexcept { + index = other357.index; + __isset = other357.__isset; + return *this; +} +void BestPlannerActionResponse::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "BestPlannerActionResponse("; + out << "index=" << to_string(index); + out << ")"; +} + + Empty::~Empty() noexcept { } @@ -24270,11 +25315,11 @@ void swap(Empty &a, Empty &b) { (void) b; } -Empty::Empty(const Empty& other339) noexcept { - (void) other339; +Empty::Empty(const Empty& other358) noexcept { + (void) other358; } -Empty& Empty::operator=(const Empty& other340) noexcept { - (void) other340; +Empty& Empty::operator=(const Empty& other359) noexcept { + (void) other359; return *this; } void Empty::printTo(std::ostream& out) const { diff --git a/src/thrift-generated/soccer_service_types.h b/src/thrift-generated/soccer_service_types.h index 5e86cfd..8d0f87b 100644 --- a/src/thrift-generated/soccer_service_types.h +++ b/src/thrift-generated/soccer_service_types.h @@ -155,6 +155,24 @@ std::ostream& operator<<(std::ostream& out, const GameModeType::type& val); std::string to_string(const GameModeType::type& val); +struct RpcActionCategory { + enum type { + AC_Hold = 0, + AC_Dribble = 1, + AC_Pass = 2, + AC_Shoot = 3, + AC_Clear = 4, + AC_Move = 5, + AC_NoAction = 6 + }; +}; + +extern const std::map _RpcActionCategory_VALUES_TO_NAMES; + +std::ostream& operator<<(std::ostream& out, const RpcActionCategory::type& val); + +std::string to_string(const RpcActionCategory::type& val); + class RpcVector2D; class RegisterRequest; @@ -403,6 +421,16 @@ class PlayerParam; class PlayerType; +class RpcCooperativeAction; + +class RpcPredictState; + +class RpcActionState; + +class BestPlannerActionRequest; + +class BestPlannerActionResponse; + class Empty; typedef struct _RpcVector2D__isset { @@ -1753,10 +1781,11 @@ void swap(WorldModel &a, WorldModel &b); std::ostream& operator<<(std::ostream& out, const WorldModel& obj); typedef struct _State__isset { - _State__isset() : register_response(false), world_model(false), full_world_model(false) {} + _State__isset() : register_response(false), world_model(false), full_world_model(false), need_preprocess(false) {} bool register_response :1; bool world_model :1; bool full_world_model :1; + bool need_preprocess :1; } _State__isset; class State : public virtual ::apache::thrift::TBase { @@ -1764,13 +1793,15 @@ class State : public virtual ::apache::thrift::TBase { State(const State&); State& operator=(const State&); - State() noexcept { + State() noexcept + : need_preprocess(0) { } virtual ~State() noexcept; RegisterResponse register_response; WorldModel world_model; WorldModel full_world_model; + bool need_preprocess; _State__isset __isset; @@ -1780,6 +1811,8 @@ class State : public virtual ::apache::thrift::TBase { void __set_full_world_model(const WorldModel& val); + void __set_need_preprocess(const bool val); + bool operator == (const State & rhs) const { if (!(register_response == rhs.register_response)) @@ -1788,6 +1821,8 @@ class State : public virtual ::apache::thrift::TBase { return false; if (!(full_world_model == rhs.full_world_model)) return false; + if (!(need_preprocess == rhs.need_preprocess)) + return false; return true; } bool operator != (const State &rhs) const { @@ -7174,8 +7209,9 @@ void swap(PlayerAction &a, PlayerAction &b); std::ostream& operator<<(std::ostream& out, const PlayerAction& obj); typedef struct _PlayerActions__isset { - _PlayerActions__isset() : actions(false) {} + _PlayerActions__isset() : actions(false), ignore_preprocess(false) {} bool actions :1; + bool ignore_preprocess :1; } _PlayerActions__isset; class PlayerActions : public virtual ::apache::thrift::TBase { @@ -7183,20 +7219,26 @@ class PlayerActions : public virtual ::apache::thrift::TBase { PlayerActions(const PlayerActions&); PlayerActions& operator=(const PlayerActions&); - PlayerActions() noexcept { + PlayerActions() noexcept + : ignore_preprocess(0) { } virtual ~PlayerActions() noexcept; std::vector actions; + bool ignore_preprocess; _PlayerActions__isset __isset; void __set_actions(const std::vector & val); + void __set_ignore_preprocess(const bool val); + bool operator == (const PlayerActions & rhs) const { if (!(actions == rhs.actions)) return false; + if (!(ignore_preprocess == rhs.ignore_preprocess)) + return false; return true; } bool operator != (const PlayerActions &rhs) const { @@ -9952,6 +9994,385 @@ void swap(PlayerType &a, PlayerType &b); std::ostream& operator<<(std::ostream& out, const PlayerType& obj); +typedef struct _RpcCooperativeAction__isset { + _RpcCooperativeAction__isset() : category(false), index(false), sender_unum(false), target_unum(false), target_point(false), first_ball_speed(false), first_turn_moment(false), first_dash_power(false), first_dash_angle_relative(false), duration_step(false), kick_count(false), turn_count(false), dash_count(false), final_action(false), description(false), parent_index(false) {} + bool category :1; + bool index :1; + bool sender_unum :1; + bool target_unum :1; + bool target_point :1; + bool first_ball_speed :1; + bool first_turn_moment :1; + bool first_dash_power :1; + bool first_dash_angle_relative :1; + bool duration_step :1; + bool kick_count :1; + bool turn_count :1; + bool dash_count :1; + bool final_action :1; + bool description :1; + bool parent_index :1; +} _RpcCooperativeAction__isset; + +class RpcCooperativeAction : public virtual ::apache::thrift::TBase { + public: + + RpcCooperativeAction(const RpcCooperativeAction&); + RpcCooperativeAction& operator=(const RpcCooperativeAction&); + RpcCooperativeAction() noexcept + : category(static_cast(0)), + index(0), + sender_unum(0), + target_unum(0), + first_ball_speed(0), + first_turn_moment(0), + first_dash_power(0), + first_dash_angle_relative(0), + duration_step(0), + kick_count(0), + turn_count(0), + dash_count(0), + final_action(0), + description(), + parent_index(0) { + } + + virtual ~RpcCooperativeAction() noexcept; + /** + * + * @see RpcActionCategory + */ + RpcActionCategory::type category; + int32_t index; + int32_t sender_unum; + int32_t target_unum; + RpcVector2D target_point; + double first_ball_speed; + double first_turn_moment; + double first_dash_power; + double first_dash_angle_relative; + int32_t duration_step; + int32_t kick_count; + int32_t turn_count; + int32_t dash_count; + bool final_action; + std::string description; + int32_t parent_index; + + _RpcCooperativeAction__isset __isset; + + void __set_category(const RpcActionCategory::type val); + + void __set_index(const int32_t val); + + void __set_sender_unum(const int32_t val); + + void __set_target_unum(const int32_t val); + + void __set_target_point(const RpcVector2D& val); + + void __set_first_ball_speed(const double val); + + void __set_first_turn_moment(const double val); + + void __set_first_dash_power(const double val); + + void __set_first_dash_angle_relative(const double val); + + void __set_duration_step(const int32_t val); + + void __set_kick_count(const int32_t val); + + void __set_turn_count(const int32_t val); + + void __set_dash_count(const int32_t val); + + void __set_final_action(const bool val); + + void __set_description(const std::string& val); + + void __set_parent_index(const int32_t val); + + bool operator == (const RpcCooperativeAction & rhs) const + { + if (!(category == rhs.category)) + return false; + if (!(index == rhs.index)) + return false; + if (!(sender_unum == rhs.sender_unum)) + return false; + if (!(target_unum == rhs.target_unum)) + return false; + if (!(target_point == rhs.target_point)) + return false; + if (!(first_ball_speed == rhs.first_ball_speed)) + return false; + if (!(first_turn_moment == rhs.first_turn_moment)) + return false; + if (!(first_dash_power == rhs.first_dash_power)) + return false; + if (!(first_dash_angle_relative == rhs.first_dash_angle_relative)) + return false; + if (!(duration_step == rhs.duration_step)) + return false; + if (!(kick_count == rhs.kick_count)) + return false; + if (!(turn_count == rhs.turn_count)) + return false; + if (!(dash_count == rhs.dash_count)) + return false; + if (!(final_action == rhs.final_action)) + return false; + if (!(description == rhs.description)) + return false; + if (!(parent_index == rhs.parent_index)) + return false; + return true; + } + bool operator != (const RpcCooperativeAction &rhs) const { + return !(*this == rhs); + } + + bool operator < (const RpcCooperativeAction & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(RpcCooperativeAction &a, RpcCooperativeAction &b); + +std::ostream& operator<<(std::ostream& out, const RpcCooperativeAction& obj); + +typedef struct _RpcPredictState__isset { + _RpcPredictState__isset() : spend_time(false), ball_holder_unum(false), ball_position(false), ball_velocity(false), our_defense_line_x(false), our_offense_line_x(false) {} + bool spend_time :1; + bool ball_holder_unum :1; + bool ball_position :1; + bool ball_velocity :1; + bool our_defense_line_x :1; + bool our_offense_line_x :1; +} _RpcPredictState__isset; + +class RpcPredictState : public virtual ::apache::thrift::TBase { + public: + + RpcPredictState(const RpcPredictState&) noexcept; + RpcPredictState& operator=(const RpcPredictState&) noexcept; + RpcPredictState() noexcept + : spend_time(0), + ball_holder_unum(0), + our_defense_line_x(0), + our_offense_line_x(0) { + } + + virtual ~RpcPredictState() noexcept; + int32_t spend_time; + int32_t ball_holder_unum; + RpcVector2D ball_position; + RpcVector2D ball_velocity; + double our_defense_line_x; + double our_offense_line_x; + + _RpcPredictState__isset __isset; + + void __set_spend_time(const int32_t val); + + void __set_ball_holder_unum(const int32_t val); + + void __set_ball_position(const RpcVector2D& val); + + void __set_ball_velocity(const RpcVector2D& val); + + void __set_our_defense_line_x(const double val); + + void __set_our_offense_line_x(const double val); + + bool operator == (const RpcPredictState & rhs) const + { + if (!(spend_time == rhs.spend_time)) + return false; + if (!(ball_holder_unum == rhs.ball_holder_unum)) + return false; + if (!(ball_position == rhs.ball_position)) + return false; + if (!(ball_velocity == rhs.ball_velocity)) + return false; + if (!(our_defense_line_x == rhs.our_defense_line_x)) + return false; + if (!(our_offense_line_x == rhs.our_offense_line_x)) + return false; + return true; + } + bool operator != (const RpcPredictState &rhs) const { + return !(*this == rhs); + } + + bool operator < (const RpcPredictState & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(RpcPredictState &a, RpcPredictState &b); + +std::ostream& operator<<(std::ostream& out, const RpcPredictState& obj); + +typedef struct _RpcActionState__isset { + _RpcActionState__isset() : action(false), predict_state(false), evaluation(false) {} + bool action :1; + bool predict_state :1; + bool evaluation :1; +} _RpcActionState__isset; + +class RpcActionState : public virtual ::apache::thrift::TBase { + public: + + RpcActionState(const RpcActionState&); + RpcActionState& operator=(const RpcActionState&); + RpcActionState() noexcept + : evaluation(0) { + } + + virtual ~RpcActionState() noexcept; + RpcCooperativeAction action; + RpcPredictState predict_state; + double evaluation; + + _RpcActionState__isset __isset; + + void __set_action(const RpcCooperativeAction& val); + + void __set_predict_state(const RpcPredictState& val); + + void __set_evaluation(const double val); + + bool operator == (const RpcActionState & rhs) const + { + if (!(action == rhs.action)) + return false; + if (!(predict_state == rhs.predict_state)) + return false; + if (!(evaluation == rhs.evaluation)) + return false; + return true; + } + bool operator != (const RpcActionState &rhs) const { + return !(*this == rhs); + } + + bool operator < (const RpcActionState & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(RpcActionState &a, RpcActionState &b); + +std::ostream& operator<<(std::ostream& out, const RpcActionState& obj); + +typedef struct _BestPlannerActionRequest__isset { + _BestPlannerActionRequest__isset() : register_response(false), pairs(false), state(false) {} + bool register_response :1; + bool pairs :1; + bool state :1; +} _BestPlannerActionRequest__isset; + +class BestPlannerActionRequest : public virtual ::apache::thrift::TBase { + public: + + BestPlannerActionRequest(const BestPlannerActionRequest&); + BestPlannerActionRequest& operator=(const BestPlannerActionRequest&); + BestPlannerActionRequest() noexcept { + } + + virtual ~BestPlannerActionRequest() noexcept; + RegisterResponse register_response; + std::map pairs; + State state; + + _BestPlannerActionRequest__isset __isset; + + void __set_register_response(const RegisterResponse& val); + + void __set_pairs(const std::map & val); + + void __set_state(const State& val); + + bool operator == (const BestPlannerActionRequest & rhs) const + { + if (!(register_response == rhs.register_response)) + return false; + if (!(pairs == rhs.pairs)) + return false; + if (!(state == rhs.state)) + return false; + return true; + } + bool operator != (const BestPlannerActionRequest &rhs) const { + return !(*this == rhs); + } + + bool operator < (const BestPlannerActionRequest & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(BestPlannerActionRequest &a, BestPlannerActionRequest &b); + +std::ostream& operator<<(std::ostream& out, const BestPlannerActionRequest& obj); + +typedef struct _BestPlannerActionResponse__isset { + _BestPlannerActionResponse__isset() : index(false) {} + bool index :1; +} _BestPlannerActionResponse__isset; + +class BestPlannerActionResponse : public virtual ::apache::thrift::TBase { + public: + + BestPlannerActionResponse(const BestPlannerActionResponse&) noexcept; + BestPlannerActionResponse& operator=(const BestPlannerActionResponse&) noexcept; + BestPlannerActionResponse() noexcept + : index(0) { + } + + virtual ~BestPlannerActionResponse() noexcept; + int32_t index; + + _BestPlannerActionResponse__isset __isset; + + void __set_index(const int32_t val); + + bool operator == (const BestPlannerActionResponse & rhs) const + { + if (!(index == rhs.index)) + return false; + return true; + } + bool operator != (const BestPlannerActionResponse &rhs) const { + return !(*this == rhs); + } + + bool operator < (const BestPlannerActionResponse & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(BestPlannerActionResponse &a, BestPlannerActionResponse &b); + +std::ostream& operator<<(std::ostream& out, const BestPlannerActionResponse& obj); + class Empty : public virtual ::apache::thrift::TBase { public: From e2ab16d6d09607ccfb6208ca96d1188a32c0db11 Mon Sep 17 00:00:00 2001 From: SK2iP Date: Fri, 13 Sep 2024 23:58:28 +0330 Subject: [PATCH 09/21] add serverside planner - (issue) --- idl/thrift/gen-cpp/Game.cpp | 3868 +++ idl/thrift/gen-cpp/Game.h | 1433 + idl/thrift/gen-cpp/Game_server.skeleton.cpp | 87 + idl/thrift/gen-cpp/soccer_service_types.cpp | 25351 ++++++++++++++++ idl/thrift/gen-cpp/soccer_service_types.h | 10416 +++++++ idl/thrift/soccer_service.thrift | 1 + src/thrift-client/thrift_client_player.cpp | 170 +- src/thrift-client/thrift_client_player.h | 1 + src/thrift-generated/soccer_service_types.cpp | 20 + src/thrift-generated/soccer_service_types.h | 11 +- 10 files changed, 41348 insertions(+), 10 deletions(-) create mode 100644 idl/thrift/gen-cpp/Game.cpp create mode 100644 idl/thrift/gen-cpp/Game.h create mode 100644 idl/thrift/gen-cpp/Game_server.skeleton.cpp create mode 100644 idl/thrift/gen-cpp/soccer_service_types.cpp create mode 100644 idl/thrift/gen-cpp/soccer_service_types.h diff --git a/idl/thrift/gen-cpp/Game.cpp b/idl/thrift/gen-cpp/Game.cpp new file mode 100644 index 0000000..fb7af95 --- /dev/null +++ b/idl/thrift/gen-cpp/Game.cpp @@ -0,0 +1,3868 @@ +/** + * Autogenerated by Thrift Compiler (0.16.0) + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +#include "Game.h" + +namespace soccer { + + +Game_GetPlayerActions_args::~Game_GetPlayerActions_args() noexcept { +} + + +uint32_t Game_GetPlayerActions_args::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->state.read(iprot); + this->__isset.state = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Game_GetPlayerActions_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Game_GetPlayerActions_args"); + + xfer += oprot->writeFieldBegin("state", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->state.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_GetPlayerActions_pargs::~Game_GetPlayerActions_pargs() noexcept { +} + + +uint32_t Game_GetPlayerActions_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Game_GetPlayerActions_pargs"); + + xfer += oprot->writeFieldBegin("state", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += (*(this->state)).write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_GetPlayerActions_result::~Game_GetPlayerActions_result() noexcept { +} + + +uint32_t Game_GetPlayerActions_result::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->success.read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Game_GetPlayerActions_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("Game_GetPlayerActions_result"); + + if (this->__isset.success) { + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); + xfer += this->success.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_GetPlayerActions_presult::~Game_GetPlayerActions_presult() noexcept { +} + + +uint32_t Game_GetPlayerActions_presult::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += (*(this->success)).read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + + +Game_GetCoachActions_args::~Game_GetCoachActions_args() noexcept { +} + + +uint32_t Game_GetCoachActions_args::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->state.read(iprot); + this->__isset.state = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Game_GetCoachActions_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Game_GetCoachActions_args"); + + xfer += oprot->writeFieldBegin("state", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->state.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_GetCoachActions_pargs::~Game_GetCoachActions_pargs() noexcept { +} + + +uint32_t Game_GetCoachActions_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Game_GetCoachActions_pargs"); + + xfer += oprot->writeFieldBegin("state", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += (*(this->state)).write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_GetCoachActions_result::~Game_GetCoachActions_result() noexcept { +} + + +uint32_t Game_GetCoachActions_result::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->success.read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Game_GetCoachActions_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("Game_GetCoachActions_result"); + + if (this->__isset.success) { + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); + xfer += this->success.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_GetCoachActions_presult::~Game_GetCoachActions_presult() noexcept { +} + + +uint32_t Game_GetCoachActions_presult::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += (*(this->success)).read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + + +Game_GetTrainerActions_args::~Game_GetTrainerActions_args() noexcept { +} + + +uint32_t Game_GetTrainerActions_args::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->state.read(iprot); + this->__isset.state = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Game_GetTrainerActions_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Game_GetTrainerActions_args"); + + xfer += oprot->writeFieldBegin("state", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->state.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_GetTrainerActions_pargs::~Game_GetTrainerActions_pargs() noexcept { +} + + +uint32_t Game_GetTrainerActions_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Game_GetTrainerActions_pargs"); + + xfer += oprot->writeFieldBegin("state", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += (*(this->state)).write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_GetTrainerActions_result::~Game_GetTrainerActions_result() noexcept { +} + + +uint32_t Game_GetTrainerActions_result::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->success.read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Game_GetTrainerActions_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("Game_GetTrainerActions_result"); + + if (this->__isset.success) { + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); + xfer += this->success.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_GetTrainerActions_presult::~Game_GetTrainerActions_presult() noexcept { +} + + +uint32_t Game_GetTrainerActions_presult::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += (*(this->success)).read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + + +Game_SendInitMessage_args::~Game_SendInitMessage_args() noexcept { +} + + +uint32_t Game_SendInitMessage_args::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->init_message.read(iprot); + this->__isset.init_message = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Game_SendInitMessage_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Game_SendInitMessage_args"); + + xfer += oprot->writeFieldBegin("init_message", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->init_message.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_SendInitMessage_pargs::~Game_SendInitMessage_pargs() noexcept { +} + + +uint32_t Game_SendInitMessage_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Game_SendInitMessage_pargs"); + + xfer += oprot->writeFieldBegin("init_message", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += (*(this->init_message)).write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_SendInitMessage_result::~Game_SendInitMessage_result() noexcept { +} + + +uint32_t Game_SendInitMessage_result::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->success.read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Game_SendInitMessage_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("Game_SendInitMessage_result"); + + if (this->__isset.success) { + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); + xfer += this->success.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_SendInitMessage_presult::~Game_SendInitMessage_presult() noexcept { +} + + +uint32_t Game_SendInitMessage_presult::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += (*(this->success)).read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + + +Game_SendServerParams_args::~Game_SendServerParams_args() noexcept { +} + + +uint32_t Game_SendServerParams_args::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->server_param.read(iprot); + this->__isset.server_param = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Game_SendServerParams_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Game_SendServerParams_args"); + + xfer += oprot->writeFieldBegin("server_param", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->server_param.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_SendServerParams_pargs::~Game_SendServerParams_pargs() noexcept { +} + + +uint32_t Game_SendServerParams_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Game_SendServerParams_pargs"); + + xfer += oprot->writeFieldBegin("server_param", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += (*(this->server_param)).write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_SendServerParams_result::~Game_SendServerParams_result() noexcept { +} + + +uint32_t Game_SendServerParams_result::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->success.read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Game_SendServerParams_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("Game_SendServerParams_result"); + + if (this->__isset.success) { + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); + xfer += this->success.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_SendServerParams_presult::~Game_SendServerParams_presult() noexcept { +} + + +uint32_t Game_SendServerParams_presult::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += (*(this->success)).read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + + +Game_SendPlayerParams_args::~Game_SendPlayerParams_args() noexcept { +} + + +uint32_t Game_SendPlayerParams_args::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->player_param.read(iprot); + this->__isset.player_param = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Game_SendPlayerParams_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Game_SendPlayerParams_args"); + + xfer += oprot->writeFieldBegin("player_param", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->player_param.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_SendPlayerParams_pargs::~Game_SendPlayerParams_pargs() noexcept { +} + + +uint32_t Game_SendPlayerParams_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Game_SendPlayerParams_pargs"); + + xfer += oprot->writeFieldBegin("player_param", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += (*(this->player_param)).write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_SendPlayerParams_result::~Game_SendPlayerParams_result() noexcept { +} + + +uint32_t Game_SendPlayerParams_result::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->success.read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Game_SendPlayerParams_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("Game_SendPlayerParams_result"); + + if (this->__isset.success) { + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); + xfer += this->success.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_SendPlayerParams_presult::~Game_SendPlayerParams_presult() noexcept { +} + + +uint32_t Game_SendPlayerParams_presult::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += (*(this->success)).read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + + +Game_SendPlayerType_args::~Game_SendPlayerType_args() noexcept { +} + + +uint32_t Game_SendPlayerType_args::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->player_type.read(iprot); + this->__isset.player_type = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Game_SendPlayerType_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Game_SendPlayerType_args"); + + xfer += oprot->writeFieldBegin("player_type", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->player_type.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_SendPlayerType_pargs::~Game_SendPlayerType_pargs() noexcept { +} + + +uint32_t Game_SendPlayerType_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Game_SendPlayerType_pargs"); + + xfer += oprot->writeFieldBegin("player_type", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += (*(this->player_type)).write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_SendPlayerType_result::~Game_SendPlayerType_result() noexcept { +} + + +uint32_t Game_SendPlayerType_result::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->success.read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Game_SendPlayerType_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("Game_SendPlayerType_result"); + + if (this->__isset.success) { + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); + xfer += this->success.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_SendPlayerType_presult::~Game_SendPlayerType_presult() noexcept { +} + + +uint32_t Game_SendPlayerType_presult::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += (*(this->success)).read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + + +Game_Register_args::~Game_Register_args() noexcept { +} + + +uint32_t Game_Register_args::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->request.read(iprot); + this->__isset.request = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Game_Register_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Game_Register_args"); + + xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->request.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_Register_pargs::~Game_Register_pargs() noexcept { +} + + +uint32_t Game_Register_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Game_Register_pargs"); + + xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += (*(this->request)).write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_Register_result::~Game_Register_result() noexcept { +} + + +uint32_t Game_Register_result::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->success.read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Game_Register_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("Game_Register_result"); + + if (this->__isset.success) { + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); + xfer += this->success.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_Register_presult::~Game_Register_presult() noexcept { +} + + +uint32_t Game_Register_presult::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += (*(this->success)).read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + + +Game_SendByeCommand_args::~Game_SendByeCommand_args() noexcept { +} + + +uint32_t Game_SendByeCommand_args::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->register_response.read(iprot); + this->__isset.register_response = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Game_SendByeCommand_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Game_SendByeCommand_args"); + + xfer += oprot->writeFieldBegin("register_response", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->register_response.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_SendByeCommand_pargs::~Game_SendByeCommand_pargs() noexcept { +} + + +uint32_t Game_SendByeCommand_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Game_SendByeCommand_pargs"); + + xfer += oprot->writeFieldBegin("register_response", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += (*(this->register_response)).write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_SendByeCommand_result::~Game_SendByeCommand_result() noexcept { +} + + +uint32_t Game_SendByeCommand_result::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->success.read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Game_SendByeCommand_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("Game_SendByeCommand_result"); + + if (this->__isset.success) { + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); + xfer += this->success.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_SendByeCommand_presult::~Game_SendByeCommand_presult() noexcept { +} + + +uint32_t Game_SendByeCommand_presult::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += (*(this->success)).read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + + +Game_GetBestPlannerAction_args::~Game_GetBestPlannerAction_args() noexcept { +} + + +uint32_t Game_GetBestPlannerAction_args::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->best_planner_action_request.read(iprot); + this->__isset.best_planner_action_request = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Game_GetBestPlannerAction_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Game_GetBestPlannerAction_args"); + + xfer += oprot->writeFieldBegin("best_planner_action_request", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->best_planner_action_request.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_GetBestPlannerAction_pargs::~Game_GetBestPlannerAction_pargs() noexcept { +} + + +uint32_t Game_GetBestPlannerAction_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Game_GetBestPlannerAction_pargs"); + + xfer += oprot->writeFieldBegin("best_planner_action_request", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += (*(this->best_planner_action_request)).write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_GetBestPlannerAction_result::~Game_GetBestPlannerAction_result() noexcept { +} + + +uint32_t Game_GetBestPlannerAction_result::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->success.read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Game_GetBestPlannerAction_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("Game_GetBestPlannerAction_result"); + + if (this->__isset.success) { + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); + xfer += this->success.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Game_GetBestPlannerAction_presult::~Game_GetBestPlannerAction_presult() noexcept { +} + + +uint32_t Game_GetBestPlannerAction_presult::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += (*(this->success)).read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +void GameClient::GetPlayerActions(PlayerActions& _return, const State& state) +{ + send_GetPlayerActions(state); + recv_GetPlayerActions(_return); +} + +void GameClient::send_GetPlayerActions(const State& state) +{ + int32_t cseqid = 0; + oprot_->writeMessageBegin("GetPlayerActions", ::apache::thrift::protocol::T_CALL, cseqid); + + Game_GetPlayerActions_pargs args; + args.state = &state; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); +} + +void GameClient::recv_GetPlayerActions(PlayerActions& _return) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + iprot_->readMessageBegin(fname, mtype, rseqid); + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("GetPlayerActions") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + Game_GetPlayerActions_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + return; + } + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetPlayerActions failed: unknown result"); +} + +void GameClient::GetCoachActions(CoachActions& _return, const State& state) +{ + send_GetCoachActions(state); + recv_GetCoachActions(_return); +} + +void GameClient::send_GetCoachActions(const State& state) +{ + int32_t cseqid = 0; + oprot_->writeMessageBegin("GetCoachActions", ::apache::thrift::protocol::T_CALL, cseqid); + + Game_GetCoachActions_pargs args; + args.state = &state; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); +} + +void GameClient::recv_GetCoachActions(CoachActions& _return) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + iprot_->readMessageBegin(fname, mtype, rseqid); + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("GetCoachActions") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + Game_GetCoachActions_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + return; + } + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetCoachActions failed: unknown result"); +} + +void GameClient::GetTrainerActions(TrainerActions& _return, const State& state) +{ + send_GetTrainerActions(state); + recv_GetTrainerActions(_return); +} + +void GameClient::send_GetTrainerActions(const State& state) +{ + int32_t cseqid = 0; + oprot_->writeMessageBegin("GetTrainerActions", ::apache::thrift::protocol::T_CALL, cseqid); + + Game_GetTrainerActions_pargs args; + args.state = &state; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); +} + +void GameClient::recv_GetTrainerActions(TrainerActions& _return) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + iprot_->readMessageBegin(fname, mtype, rseqid); + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("GetTrainerActions") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + Game_GetTrainerActions_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + return; + } + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetTrainerActions failed: unknown result"); +} + +void GameClient::SendInitMessage(Empty& _return, const InitMessage& init_message) +{ + send_SendInitMessage(init_message); + recv_SendInitMessage(_return); +} + +void GameClient::send_SendInitMessage(const InitMessage& init_message) +{ + int32_t cseqid = 0; + oprot_->writeMessageBegin("SendInitMessage", ::apache::thrift::protocol::T_CALL, cseqid); + + Game_SendInitMessage_pargs args; + args.init_message = &init_message; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); +} + +void GameClient::recv_SendInitMessage(Empty& _return) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + iprot_->readMessageBegin(fname, mtype, rseqid); + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("SendInitMessage") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + Game_SendInitMessage_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + return; + } + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "SendInitMessage failed: unknown result"); +} + +void GameClient::SendServerParams(Empty& _return, const ServerParam& server_param) +{ + send_SendServerParams(server_param); + recv_SendServerParams(_return); +} + +void GameClient::send_SendServerParams(const ServerParam& server_param) +{ + int32_t cseqid = 0; + oprot_->writeMessageBegin("SendServerParams", ::apache::thrift::protocol::T_CALL, cseqid); + + Game_SendServerParams_pargs args; + args.server_param = &server_param; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); +} + +void GameClient::recv_SendServerParams(Empty& _return) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + iprot_->readMessageBegin(fname, mtype, rseqid); + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("SendServerParams") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + Game_SendServerParams_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + return; + } + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "SendServerParams failed: unknown result"); +} + +void GameClient::SendPlayerParams(Empty& _return, const PlayerParam& player_param) +{ + send_SendPlayerParams(player_param); + recv_SendPlayerParams(_return); +} + +void GameClient::send_SendPlayerParams(const PlayerParam& player_param) +{ + int32_t cseqid = 0; + oprot_->writeMessageBegin("SendPlayerParams", ::apache::thrift::protocol::T_CALL, cseqid); + + Game_SendPlayerParams_pargs args; + args.player_param = &player_param; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); +} + +void GameClient::recv_SendPlayerParams(Empty& _return) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + iprot_->readMessageBegin(fname, mtype, rseqid); + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("SendPlayerParams") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + Game_SendPlayerParams_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + return; + } + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "SendPlayerParams failed: unknown result"); +} + +void GameClient::SendPlayerType(Empty& _return, const PlayerType& player_type) +{ + send_SendPlayerType(player_type); + recv_SendPlayerType(_return); +} + +void GameClient::send_SendPlayerType(const PlayerType& player_type) +{ + int32_t cseqid = 0; + oprot_->writeMessageBegin("SendPlayerType", ::apache::thrift::protocol::T_CALL, cseqid); + + Game_SendPlayerType_pargs args; + args.player_type = &player_type; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); +} + +void GameClient::recv_SendPlayerType(Empty& _return) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + iprot_->readMessageBegin(fname, mtype, rseqid); + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("SendPlayerType") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + Game_SendPlayerType_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + return; + } + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "SendPlayerType failed: unknown result"); +} + +void GameClient::Register(RegisterResponse& _return, const RegisterRequest& request) +{ + send_Register(request); + recv_Register(_return); +} + +void GameClient::send_Register(const RegisterRequest& request) +{ + int32_t cseqid = 0; + oprot_->writeMessageBegin("Register", ::apache::thrift::protocol::T_CALL, cseqid); + + Game_Register_pargs args; + args.request = &request; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); +} + +void GameClient::recv_Register(RegisterResponse& _return) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + iprot_->readMessageBegin(fname, mtype, rseqid); + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("Register") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + Game_Register_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + return; + } + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "Register failed: unknown result"); +} + +void GameClient::SendByeCommand(Empty& _return, const RegisterResponse& register_response) +{ + send_SendByeCommand(register_response); + recv_SendByeCommand(_return); +} + +void GameClient::send_SendByeCommand(const RegisterResponse& register_response) +{ + int32_t cseqid = 0; + oprot_->writeMessageBegin("SendByeCommand", ::apache::thrift::protocol::T_CALL, cseqid); + + Game_SendByeCommand_pargs args; + args.register_response = ®ister_response; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); +} + +void GameClient::recv_SendByeCommand(Empty& _return) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + iprot_->readMessageBegin(fname, mtype, rseqid); + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("SendByeCommand") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + Game_SendByeCommand_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + return; + } + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "SendByeCommand failed: unknown result"); +} + +void GameClient::GetBestPlannerAction(BestPlannerActionResponse& _return, const BestPlannerActionRequest& best_planner_action_request) +{ + send_GetBestPlannerAction(best_planner_action_request); + recv_GetBestPlannerAction(_return); +} + +void GameClient::send_GetBestPlannerAction(const BestPlannerActionRequest& best_planner_action_request) +{ + int32_t cseqid = 0; + oprot_->writeMessageBegin("GetBestPlannerAction", ::apache::thrift::protocol::T_CALL, cseqid); + + Game_GetBestPlannerAction_pargs args; + args.best_planner_action_request = &best_planner_action_request; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); +} + +void GameClient::recv_GetBestPlannerAction(BestPlannerActionResponse& _return) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + iprot_->readMessageBegin(fname, mtype, rseqid); + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("GetBestPlannerAction") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + Game_GetBestPlannerAction_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + return; + } + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetBestPlannerAction failed: unknown result"); +} + +bool GameProcessor::dispatchCall(::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, const std::string& fname, int32_t seqid, void* callContext) { + ProcessMap::iterator pfn; + pfn = processMap_.find(fname); + if (pfn == processMap_.end()) { + iprot->skip(::apache::thrift::protocol::T_STRUCT); + iprot->readMessageEnd(); + iprot->getTransport()->readEnd(); + ::apache::thrift::TApplicationException x(::apache::thrift::TApplicationException::UNKNOWN_METHOD, "Invalid method name: '"+fname+"'"); + oprot->writeMessageBegin(fname, ::apache::thrift::protocol::T_EXCEPTION, seqid); + x.write(oprot); + oprot->writeMessageEnd(); + oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + return true; + } + (this->*(pfn->second))(seqid, iprot, oprot, callContext); + return true; +} + +void GameProcessor::process_GetPlayerActions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) +{ + void* ctx = nullptr; + if (this->eventHandler_.get() != nullptr) { + ctx = this->eventHandler_->getContext("Game.GetPlayerActions", callContext); + } + ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "Game.GetPlayerActions"); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->preRead(ctx, "Game.GetPlayerActions"); + } + + Game_GetPlayerActions_args args; + args.read(iprot); + iprot->readMessageEnd(); + uint32_t bytes = iprot->getTransport()->readEnd(); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->postRead(ctx, "Game.GetPlayerActions", bytes); + } + + Game_GetPlayerActions_result result; + try { + iface_->GetPlayerActions(result.success, args.state); + result.__isset.success = true; + } catch (const std::exception& e) { + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->handlerError(ctx, "Game.GetPlayerActions"); + } + + ::apache::thrift::TApplicationException x(e.what()); + oprot->writeMessageBegin("GetPlayerActions", ::apache::thrift::protocol::T_EXCEPTION, seqid); + x.write(oprot); + oprot->writeMessageEnd(); + oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + return; + } + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->preWrite(ctx, "Game.GetPlayerActions"); + } + + oprot->writeMessageBegin("GetPlayerActions", ::apache::thrift::protocol::T_REPLY, seqid); + result.write(oprot); + oprot->writeMessageEnd(); + bytes = oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->postWrite(ctx, "Game.GetPlayerActions", bytes); + } +} + +void GameProcessor::process_GetCoachActions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) +{ + void* ctx = nullptr; + if (this->eventHandler_.get() != nullptr) { + ctx = this->eventHandler_->getContext("Game.GetCoachActions", callContext); + } + ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "Game.GetCoachActions"); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->preRead(ctx, "Game.GetCoachActions"); + } + + Game_GetCoachActions_args args; + args.read(iprot); + iprot->readMessageEnd(); + uint32_t bytes = iprot->getTransport()->readEnd(); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->postRead(ctx, "Game.GetCoachActions", bytes); + } + + Game_GetCoachActions_result result; + try { + iface_->GetCoachActions(result.success, args.state); + result.__isset.success = true; + } catch (const std::exception& e) { + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->handlerError(ctx, "Game.GetCoachActions"); + } + + ::apache::thrift::TApplicationException x(e.what()); + oprot->writeMessageBegin("GetCoachActions", ::apache::thrift::protocol::T_EXCEPTION, seqid); + x.write(oprot); + oprot->writeMessageEnd(); + oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + return; + } + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->preWrite(ctx, "Game.GetCoachActions"); + } + + oprot->writeMessageBegin("GetCoachActions", ::apache::thrift::protocol::T_REPLY, seqid); + result.write(oprot); + oprot->writeMessageEnd(); + bytes = oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->postWrite(ctx, "Game.GetCoachActions", bytes); + } +} + +void GameProcessor::process_GetTrainerActions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) +{ + void* ctx = nullptr; + if (this->eventHandler_.get() != nullptr) { + ctx = this->eventHandler_->getContext("Game.GetTrainerActions", callContext); + } + ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "Game.GetTrainerActions"); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->preRead(ctx, "Game.GetTrainerActions"); + } + + Game_GetTrainerActions_args args; + args.read(iprot); + iprot->readMessageEnd(); + uint32_t bytes = iprot->getTransport()->readEnd(); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->postRead(ctx, "Game.GetTrainerActions", bytes); + } + + Game_GetTrainerActions_result result; + try { + iface_->GetTrainerActions(result.success, args.state); + result.__isset.success = true; + } catch (const std::exception& e) { + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->handlerError(ctx, "Game.GetTrainerActions"); + } + + ::apache::thrift::TApplicationException x(e.what()); + oprot->writeMessageBegin("GetTrainerActions", ::apache::thrift::protocol::T_EXCEPTION, seqid); + x.write(oprot); + oprot->writeMessageEnd(); + oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + return; + } + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->preWrite(ctx, "Game.GetTrainerActions"); + } + + oprot->writeMessageBegin("GetTrainerActions", ::apache::thrift::protocol::T_REPLY, seqid); + result.write(oprot); + oprot->writeMessageEnd(); + bytes = oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->postWrite(ctx, "Game.GetTrainerActions", bytes); + } +} + +void GameProcessor::process_SendInitMessage(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) +{ + void* ctx = nullptr; + if (this->eventHandler_.get() != nullptr) { + ctx = this->eventHandler_->getContext("Game.SendInitMessage", callContext); + } + ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "Game.SendInitMessage"); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->preRead(ctx, "Game.SendInitMessage"); + } + + Game_SendInitMessage_args args; + args.read(iprot); + iprot->readMessageEnd(); + uint32_t bytes = iprot->getTransport()->readEnd(); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->postRead(ctx, "Game.SendInitMessage", bytes); + } + + Game_SendInitMessage_result result; + try { + iface_->SendInitMessage(result.success, args.init_message); + result.__isset.success = true; + } catch (const std::exception& e) { + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->handlerError(ctx, "Game.SendInitMessage"); + } + + ::apache::thrift::TApplicationException x(e.what()); + oprot->writeMessageBegin("SendInitMessage", ::apache::thrift::protocol::T_EXCEPTION, seqid); + x.write(oprot); + oprot->writeMessageEnd(); + oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + return; + } + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->preWrite(ctx, "Game.SendInitMessage"); + } + + oprot->writeMessageBegin("SendInitMessage", ::apache::thrift::protocol::T_REPLY, seqid); + result.write(oprot); + oprot->writeMessageEnd(); + bytes = oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->postWrite(ctx, "Game.SendInitMessage", bytes); + } +} + +void GameProcessor::process_SendServerParams(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) +{ + void* ctx = nullptr; + if (this->eventHandler_.get() != nullptr) { + ctx = this->eventHandler_->getContext("Game.SendServerParams", callContext); + } + ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "Game.SendServerParams"); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->preRead(ctx, "Game.SendServerParams"); + } + + Game_SendServerParams_args args; + args.read(iprot); + iprot->readMessageEnd(); + uint32_t bytes = iprot->getTransport()->readEnd(); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->postRead(ctx, "Game.SendServerParams", bytes); + } + + Game_SendServerParams_result result; + try { + iface_->SendServerParams(result.success, args.server_param); + result.__isset.success = true; + } catch (const std::exception& e) { + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->handlerError(ctx, "Game.SendServerParams"); + } + + ::apache::thrift::TApplicationException x(e.what()); + oprot->writeMessageBegin("SendServerParams", ::apache::thrift::protocol::T_EXCEPTION, seqid); + x.write(oprot); + oprot->writeMessageEnd(); + oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + return; + } + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->preWrite(ctx, "Game.SendServerParams"); + } + + oprot->writeMessageBegin("SendServerParams", ::apache::thrift::protocol::T_REPLY, seqid); + result.write(oprot); + oprot->writeMessageEnd(); + bytes = oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->postWrite(ctx, "Game.SendServerParams", bytes); + } +} + +void GameProcessor::process_SendPlayerParams(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) +{ + void* ctx = nullptr; + if (this->eventHandler_.get() != nullptr) { + ctx = this->eventHandler_->getContext("Game.SendPlayerParams", callContext); + } + ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "Game.SendPlayerParams"); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->preRead(ctx, "Game.SendPlayerParams"); + } + + Game_SendPlayerParams_args args; + args.read(iprot); + iprot->readMessageEnd(); + uint32_t bytes = iprot->getTransport()->readEnd(); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->postRead(ctx, "Game.SendPlayerParams", bytes); + } + + Game_SendPlayerParams_result result; + try { + iface_->SendPlayerParams(result.success, args.player_param); + result.__isset.success = true; + } catch (const std::exception& e) { + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->handlerError(ctx, "Game.SendPlayerParams"); + } + + ::apache::thrift::TApplicationException x(e.what()); + oprot->writeMessageBegin("SendPlayerParams", ::apache::thrift::protocol::T_EXCEPTION, seqid); + x.write(oprot); + oprot->writeMessageEnd(); + oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + return; + } + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->preWrite(ctx, "Game.SendPlayerParams"); + } + + oprot->writeMessageBegin("SendPlayerParams", ::apache::thrift::protocol::T_REPLY, seqid); + result.write(oprot); + oprot->writeMessageEnd(); + bytes = oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->postWrite(ctx, "Game.SendPlayerParams", bytes); + } +} + +void GameProcessor::process_SendPlayerType(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) +{ + void* ctx = nullptr; + if (this->eventHandler_.get() != nullptr) { + ctx = this->eventHandler_->getContext("Game.SendPlayerType", callContext); + } + ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "Game.SendPlayerType"); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->preRead(ctx, "Game.SendPlayerType"); + } + + Game_SendPlayerType_args args; + args.read(iprot); + iprot->readMessageEnd(); + uint32_t bytes = iprot->getTransport()->readEnd(); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->postRead(ctx, "Game.SendPlayerType", bytes); + } + + Game_SendPlayerType_result result; + try { + iface_->SendPlayerType(result.success, args.player_type); + result.__isset.success = true; + } catch (const std::exception& e) { + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->handlerError(ctx, "Game.SendPlayerType"); + } + + ::apache::thrift::TApplicationException x(e.what()); + oprot->writeMessageBegin("SendPlayerType", ::apache::thrift::protocol::T_EXCEPTION, seqid); + x.write(oprot); + oprot->writeMessageEnd(); + oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + return; + } + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->preWrite(ctx, "Game.SendPlayerType"); + } + + oprot->writeMessageBegin("SendPlayerType", ::apache::thrift::protocol::T_REPLY, seqid); + result.write(oprot); + oprot->writeMessageEnd(); + bytes = oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->postWrite(ctx, "Game.SendPlayerType", bytes); + } +} + +void GameProcessor::process_Register(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) +{ + void* ctx = nullptr; + if (this->eventHandler_.get() != nullptr) { + ctx = this->eventHandler_->getContext("Game.Register", callContext); + } + ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "Game.Register"); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->preRead(ctx, "Game.Register"); + } + + Game_Register_args args; + args.read(iprot); + iprot->readMessageEnd(); + uint32_t bytes = iprot->getTransport()->readEnd(); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->postRead(ctx, "Game.Register", bytes); + } + + Game_Register_result result; + try { + iface_->Register(result.success, args.request); + result.__isset.success = true; + } catch (const std::exception& e) { + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->handlerError(ctx, "Game.Register"); + } + + ::apache::thrift::TApplicationException x(e.what()); + oprot->writeMessageBegin("Register", ::apache::thrift::protocol::T_EXCEPTION, seqid); + x.write(oprot); + oprot->writeMessageEnd(); + oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + return; + } + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->preWrite(ctx, "Game.Register"); + } + + oprot->writeMessageBegin("Register", ::apache::thrift::protocol::T_REPLY, seqid); + result.write(oprot); + oprot->writeMessageEnd(); + bytes = oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->postWrite(ctx, "Game.Register", bytes); + } +} + +void GameProcessor::process_SendByeCommand(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) +{ + void* ctx = nullptr; + if (this->eventHandler_.get() != nullptr) { + ctx = this->eventHandler_->getContext("Game.SendByeCommand", callContext); + } + ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "Game.SendByeCommand"); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->preRead(ctx, "Game.SendByeCommand"); + } + + Game_SendByeCommand_args args; + args.read(iprot); + iprot->readMessageEnd(); + uint32_t bytes = iprot->getTransport()->readEnd(); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->postRead(ctx, "Game.SendByeCommand", bytes); + } + + Game_SendByeCommand_result result; + try { + iface_->SendByeCommand(result.success, args.register_response); + result.__isset.success = true; + } catch (const std::exception& e) { + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->handlerError(ctx, "Game.SendByeCommand"); + } + + ::apache::thrift::TApplicationException x(e.what()); + oprot->writeMessageBegin("SendByeCommand", ::apache::thrift::protocol::T_EXCEPTION, seqid); + x.write(oprot); + oprot->writeMessageEnd(); + oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + return; + } + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->preWrite(ctx, "Game.SendByeCommand"); + } + + oprot->writeMessageBegin("SendByeCommand", ::apache::thrift::protocol::T_REPLY, seqid); + result.write(oprot); + oprot->writeMessageEnd(); + bytes = oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->postWrite(ctx, "Game.SendByeCommand", bytes); + } +} + +void GameProcessor::process_GetBestPlannerAction(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) +{ + void* ctx = nullptr; + if (this->eventHandler_.get() != nullptr) { + ctx = this->eventHandler_->getContext("Game.GetBestPlannerAction", callContext); + } + ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "Game.GetBestPlannerAction"); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->preRead(ctx, "Game.GetBestPlannerAction"); + } + + Game_GetBestPlannerAction_args args; + args.read(iprot); + iprot->readMessageEnd(); + uint32_t bytes = iprot->getTransport()->readEnd(); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->postRead(ctx, "Game.GetBestPlannerAction", bytes); + } + + Game_GetBestPlannerAction_result result; + try { + iface_->GetBestPlannerAction(result.success, args.best_planner_action_request); + result.__isset.success = true; + } catch (const std::exception& e) { + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->handlerError(ctx, "Game.GetBestPlannerAction"); + } + + ::apache::thrift::TApplicationException x(e.what()); + oprot->writeMessageBegin("GetBestPlannerAction", ::apache::thrift::protocol::T_EXCEPTION, seqid); + x.write(oprot); + oprot->writeMessageEnd(); + oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + return; + } + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->preWrite(ctx, "Game.GetBestPlannerAction"); + } + + oprot->writeMessageBegin("GetBestPlannerAction", ::apache::thrift::protocol::T_REPLY, seqid); + result.write(oprot); + oprot->writeMessageEnd(); + bytes = oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + + if (this->eventHandler_.get() != nullptr) { + this->eventHandler_->postWrite(ctx, "Game.GetBestPlannerAction", bytes); + } +} + +::std::shared_ptr< ::apache::thrift::TProcessor > GameProcessorFactory::getProcessor(const ::apache::thrift::TConnectionInfo& connInfo) { + ::apache::thrift::ReleaseHandler< GameIfFactory > cleanup(handlerFactory_); + ::std::shared_ptr< GameIf > handler(handlerFactory_->getHandler(connInfo), cleanup); + ::std::shared_ptr< ::apache::thrift::TProcessor > processor(new GameProcessor(handler)); + return processor; +} + +void GameConcurrentClient::GetPlayerActions(PlayerActions& _return, const State& state) +{ + int32_t seqid = send_GetPlayerActions(state); + recv_GetPlayerActions(_return, seqid); +} + +int32_t GameConcurrentClient::send_GetPlayerActions(const State& state) +{ + int32_t cseqid = this->sync_->generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(this->sync_.get()); + oprot_->writeMessageBegin("GetPlayerActions", ::apache::thrift::protocol::T_CALL, cseqid); + + Game_GetPlayerActions_pargs args; + args.state = &state; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void GameConcurrentClient::recv_GetPlayerActions(PlayerActions& _return, const int32_t seqid) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + // the read mutex gets dropped and reacquired as part of waitForWork() + // The destructor of this sentry wakes up other clients + ::apache::thrift::async::TConcurrentRecvSentry sentry(this->sync_.get(), seqid); + + while(true) { + if(!this->sync_->getPending(fname, mtype, rseqid)) { + iprot_->readMessageBegin(fname, mtype, rseqid); + } + if(seqid == rseqid) { + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + sentry.commit(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("GetPlayerActions") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + // in a bad state, don't commit + using ::apache::thrift::protocol::TProtocolException; + throw TProtocolException(TProtocolException::INVALID_DATA); + } + Game_GetPlayerActions_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + sentry.commit(); + return; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetPlayerActions failed: unknown result"); + } + // seqid != rseqid + this->sync_->updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_->waitForWork(seqid); + } // end while(true) +} + +void GameConcurrentClient::GetCoachActions(CoachActions& _return, const State& state) +{ + int32_t seqid = send_GetCoachActions(state); + recv_GetCoachActions(_return, seqid); +} + +int32_t GameConcurrentClient::send_GetCoachActions(const State& state) +{ + int32_t cseqid = this->sync_->generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(this->sync_.get()); + oprot_->writeMessageBegin("GetCoachActions", ::apache::thrift::protocol::T_CALL, cseqid); + + Game_GetCoachActions_pargs args; + args.state = &state; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void GameConcurrentClient::recv_GetCoachActions(CoachActions& _return, const int32_t seqid) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + // the read mutex gets dropped and reacquired as part of waitForWork() + // The destructor of this sentry wakes up other clients + ::apache::thrift::async::TConcurrentRecvSentry sentry(this->sync_.get(), seqid); + + while(true) { + if(!this->sync_->getPending(fname, mtype, rseqid)) { + iprot_->readMessageBegin(fname, mtype, rseqid); + } + if(seqid == rseqid) { + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + sentry.commit(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("GetCoachActions") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + // in a bad state, don't commit + using ::apache::thrift::protocol::TProtocolException; + throw TProtocolException(TProtocolException::INVALID_DATA); + } + Game_GetCoachActions_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + sentry.commit(); + return; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetCoachActions failed: unknown result"); + } + // seqid != rseqid + this->sync_->updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_->waitForWork(seqid); + } // end while(true) +} + +void GameConcurrentClient::GetTrainerActions(TrainerActions& _return, const State& state) +{ + int32_t seqid = send_GetTrainerActions(state); + recv_GetTrainerActions(_return, seqid); +} + +int32_t GameConcurrentClient::send_GetTrainerActions(const State& state) +{ + int32_t cseqid = this->sync_->generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(this->sync_.get()); + oprot_->writeMessageBegin("GetTrainerActions", ::apache::thrift::protocol::T_CALL, cseqid); + + Game_GetTrainerActions_pargs args; + args.state = &state; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void GameConcurrentClient::recv_GetTrainerActions(TrainerActions& _return, const int32_t seqid) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + // the read mutex gets dropped and reacquired as part of waitForWork() + // The destructor of this sentry wakes up other clients + ::apache::thrift::async::TConcurrentRecvSentry sentry(this->sync_.get(), seqid); + + while(true) { + if(!this->sync_->getPending(fname, mtype, rseqid)) { + iprot_->readMessageBegin(fname, mtype, rseqid); + } + if(seqid == rseqid) { + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + sentry.commit(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("GetTrainerActions") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + // in a bad state, don't commit + using ::apache::thrift::protocol::TProtocolException; + throw TProtocolException(TProtocolException::INVALID_DATA); + } + Game_GetTrainerActions_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + sentry.commit(); + return; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetTrainerActions failed: unknown result"); + } + // seqid != rseqid + this->sync_->updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_->waitForWork(seqid); + } // end while(true) +} + +void GameConcurrentClient::SendInitMessage(Empty& _return, const InitMessage& init_message) +{ + int32_t seqid = send_SendInitMessage(init_message); + recv_SendInitMessage(_return, seqid); +} + +int32_t GameConcurrentClient::send_SendInitMessage(const InitMessage& init_message) +{ + int32_t cseqid = this->sync_->generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(this->sync_.get()); + oprot_->writeMessageBegin("SendInitMessage", ::apache::thrift::protocol::T_CALL, cseqid); + + Game_SendInitMessage_pargs args; + args.init_message = &init_message; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void GameConcurrentClient::recv_SendInitMessage(Empty& _return, const int32_t seqid) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + // the read mutex gets dropped and reacquired as part of waitForWork() + // The destructor of this sentry wakes up other clients + ::apache::thrift::async::TConcurrentRecvSentry sentry(this->sync_.get(), seqid); + + while(true) { + if(!this->sync_->getPending(fname, mtype, rseqid)) { + iprot_->readMessageBegin(fname, mtype, rseqid); + } + if(seqid == rseqid) { + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + sentry.commit(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("SendInitMessage") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + // in a bad state, don't commit + using ::apache::thrift::protocol::TProtocolException; + throw TProtocolException(TProtocolException::INVALID_DATA); + } + Game_SendInitMessage_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + sentry.commit(); + return; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "SendInitMessage failed: unknown result"); + } + // seqid != rseqid + this->sync_->updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_->waitForWork(seqid); + } // end while(true) +} + +void GameConcurrentClient::SendServerParams(Empty& _return, const ServerParam& server_param) +{ + int32_t seqid = send_SendServerParams(server_param); + recv_SendServerParams(_return, seqid); +} + +int32_t GameConcurrentClient::send_SendServerParams(const ServerParam& server_param) +{ + int32_t cseqid = this->sync_->generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(this->sync_.get()); + oprot_->writeMessageBegin("SendServerParams", ::apache::thrift::protocol::T_CALL, cseqid); + + Game_SendServerParams_pargs args; + args.server_param = &server_param; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void GameConcurrentClient::recv_SendServerParams(Empty& _return, const int32_t seqid) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + // the read mutex gets dropped and reacquired as part of waitForWork() + // The destructor of this sentry wakes up other clients + ::apache::thrift::async::TConcurrentRecvSentry sentry(this->sync_.get(), seqid); + + while(true) { + if(!this->sync_->getPending(fname, mtype, rseqid)) { + iprot_->readMessageBegin(fname, mtype, rseqid); + } + if(seqid == rseqid) { + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + sentry.commit(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("SendServerParams") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + // in a bad state, don't commit + using ::apache::thrift::protocol::TProtocolException; + throw TProtocolException(TProtocolException::INVALID_DATA); + } + Game_SendServerParams_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + sentry.commit(); + return; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "SendServerParams failed: unknown result"); + } + // seqid != rseqid + this->sync_->updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_->waitForWork(seqid); + } // end while(true) +} + +void GameConcurrentClient::SendPlayerParams(Empty& _return, const PlayerParam& player_param) +{ + int32_t seqid = send_SendPlayerParams(player_param); + recv_SendPlayerParams(_return, seqid); +} + +int32_t GameConcurrentClient::send_SendPlayerParams(const PlayerParam& player_param) +{ + int32_t cseqid = this->sync_->generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(this->sync_.get()); + oprot_->writeMessageBegin("SendPlayerParams", ::apache::thrift::protocol::T_CALL, cseqid); + + Game_SendPlayerParams_pargs args; + args.player_param = &player_param; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void GameConcurrentClient::recv_SendPlayerParams(Empty& _return, const int32_t seqid) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + // the read mutex gets dropped and reacquired as part of waitForWork() + // The destructor of this sentry wakes up other clients + ::apache::thrift::async::TConcurrentRecvSentry sentry(this->sync_.get(), seqid); + + while(true) { + if(!this->sync_->getPending(fname, mtype, rseqid)) { + iprot_->readMessageBegin(fname, mtype, rseqid); + } + if(seqid == rseqid) { + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + sentry.commit(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("SendPlayerParams") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + // in a bad state, don't commit + using ::apache::thrift::protocol::TProtocolException; + throw TProtocolException(TProtocolException::INVALID_DATA); + } + Game_SendPlayerParams_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + sentry.commit(); + return; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "SendPlayerParams failed: unknown result"); + } + // seqid != rseqid + this->sync_->updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_->waitForWork(seqid); + } // end while(true) +} + +void GameConcurrentClient::SendPlayerType(Empty& _return, const PlayerType& player_type) +{ + int32_t seqid = send_SendPlayerType(player_type); + recv_SendPlayerType(_return, seqid); +} + +int32_t GameConcurrentClient::send_SendPlayerType(const PlayerType& player_type) +{ + int32_t cseqid = this->sync_->generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(this->sync_.get()); + oprot_->writeMessageBegin("SendPlayerType", ::apache::thrift::protocol::T_CALL, cseqid); + + Game_SendPlayerType_pargs args; + args.player_type = &player_type; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void GameConcurrentClient::recv_SendPlayerType(Empty& _return, const int32_t seqid) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + // the read mutex gets dropped and reacquired as part of waitForWork() + // The destructor of this sentry wakes up other clients + ::apache::thrift::async::TConcurrentRecvSentry sentry(this->sync_.get(), seqid); + + while(true) { + if(!this->sync_->getPending(fname, mtype, rseqid)) { + iprot_->readMessageBegin(fname, mtype, rseqid); + } + if(seqid == rseqid) { + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + sentry.commit(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("SendPlayerType") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + // in a bad state, don't commit + using ::apache::thrift::protocol::TProtocolException; + throw TProtocolException(TProtocolException::INVALID_DATA); + } + Game_SendPlayerType_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + sentry.commit(); + return; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "SendPlayerType failed: unknown result"); + } + // seqid != rseqid + this->sync_->updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_->waitForWork(seqid); + } // end while(true) +} + +void GameConcurrentClient::Register(RegisterResponse& _return, const RegisterRequest& request) +{ + int32_t seqid = send_Register(request); + recv_Register(_return, seqid); +} + +int32_t GameConcurrentClient::send_Register(const RegisterRequest& request) +{ + int32_t cseqid = this->sync_->generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(this->sync_.get()); + oprot_->writeMessageBegin("Register", ::apache::thrift::protocol::T_CALL, cseqid); + + Game_Register_pargs args; + args.request = &request; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void GameConcurrentClient::recv_Register(RegisterResponse& _return, const int32_t seqid) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + // the read mutex gets dropped and reacquired as part of waitForWork() + // The destructor of this sentry wakes up other clients + ::apache::thrift::async::TConcurrentRecvSentry sentry(this->sync_.get(), seqid); + + while(true) { + if(!this->sync_->getPending(fname, mtype, rseqid)) { + iprot_->readMessageBegin(fname, mtype, rseqid); + } + if(seqid == rseqid) { + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + sentry.commit(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("Register") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + // in a bad state, don't commit + using ::apache::thrift::protocol::TProtocolException; + throw TProtocolException(TProtocolException::INVALID_DATA); + } + Game_Register_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + sentry.commit(); + return; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "Register failed: unknown result"); + } + // seqid != rseqid + this->sync_->updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_->waitForWork(seqid); + } // end while(true) +} + +void GameConcurrentClient::SendByeCommand(Empty& _return, const RegisterResponse& register_response) +{ + int32_t seqid = send_SendByeCommand(register_response); + recv_SendByeCommand(_return, seqid); +} + +int32_t GameConcurrentClient::send_SendByeCommand(const RegisterResponse& register_response) +{ + int32_t cseqid = this->sync_->generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(this->sync_.get()); + oprot_->writeMessageBegin("SendByeCommand", ::apache::thrift::protocol::T_CALL, cseqid); + + Game_SendByeCommand_pargs args; + args.register_response = ®ister_response; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void GameConcurrentClient::recv_SendByeCommand(Empty& _return, const int32_t seqid) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + // the read mutex gets dropped and reacquired as part of waitForWork() + // The destructor of this sentry wakes up other clients + ::apache::thrift::async::TConcurrentRecvSentry sentry(this->sync_.get(), seqid); + + while(true) { + if(!this->sync_->getPending(fname, mtype, rseqid)) { + iprot_->readMessageBegin(fname, mtype, rseqid); + } + if(seqid == rseqid) { + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + sentry.commit(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("SendByeCommand") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + // in a bad state, don't commit + using ::apache::thrift::protocol::TProtocolException; + throw TProtocolException(TProtocolException::INVALID_DATA); + } + Game_SendByeCommand_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + sentry.commit(); + return; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "SendByeCommand failed: unknown result"); + } + // seqid != rseqid + this->sync_->updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_->waitForWork(seqid); + } // end while(true) +} + +void GameConcurrentClient::GetBestPlannerAction(BestPlannerActionResponse& _return, const BestPlannerActionRequest& best_planner_action_request) +{ + int32_t seqid = send_GetBestPlannerAction(best_planner_action_request); + recv_GetBestPlannerAction(_return, seqid); +} + +int32_t GameConcurrentClient::send_GetBestPlannerAction(const BestPlannerActionRequest& best_planner_action_request) +{ + int32_t cseqid = this->sync_->generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(this->sync_.get()); + oprot_->writeMessageBegin("GetBestPlannerAction", ::apache::thrift::protocol::T_CALL, cseqid); + + Game_GetBestPlannerAction_pargs args; + args.best_planner_action_request = &best_planner_action_request; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void GameConcurrentClient::recv_GetBestPlannerAction(BestPlannerActionResponse& _return, const int32_t seqid) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + // the read mutex gets dropped and reacquired as part of waitForWork() + // The destructor of this sentry wakes up other clients + ::apache::thrift::async::TConcurrentRecvSentry sentry(this->sync_.get(), seqid); + + while(true) { + if(!this->sync_->getPending(fname, mtype, rseqid)) { + iprot_->readMessageBegin(fname, mtype, rseqid); + } + if(seqid == rseqid) { + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + sentry.commit(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("GetBestPlannerAction") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + // in a bad state, don't commit + using ::apache::thrift::protocol::TProtocolException; + throw TProtocolException(TProtocolException::INVALID_DATA); + } + Game_GetBestPlannerAction_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + sentry.commit(); + return; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetBestPlannerAction failed: unknown result"); + } + // seqid != rseqid + this->sync_->updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_->waitForWork(seqid); + } // end while(true) +} + +} // namespace + diff --git a/idl/thrift/gen-cpp/Game.h b/idl/thrift/gen-cpp/Game.h new file mode 100644 index 0000000..a6686f5 --- /dev/null +++ b/idl/thrift/gen-cpp/Game.h @@ -0,0 +1,1433 @@ +/** + * Autogenerated by Thrift Compiler (0.16.0) + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +#ifndef Game_H +#define Game_H + +#include +#include +#include +#include "soccer_service_types.h" + +namespace soccer { + +#ifdef _MSC_VER + #pragma warning( push ) + #pragma warning (disable : 4250 ) //inheriting methods via dominance +#endif + +class GameIf { + public: + virtual ~GameIf() {} + virtual void GetPlayerActions(PlayerActions& _return, const State& state) = 0; + virtual void GetCoachActions(CoachActions& _return, const State& state) = 0; + virtual void GetTrainerActions(TrainerActions& _return, const State& state) = 0; + virtual void SendInitMessage(Empty& _return, const InitMessage& init_message) = 0; + virtual void SendServerParams(Empty& _return, const ServerParam& server_param) = 0; + virtual void SendPlayerParams(Empty& _return, const PlayerParam& player_param) = 0; + virtual void SendPlayerType(Empty& _return, const PlayerType& player_type) = 0; + virtual void Register(RegisterResponse& _return, const RegisterRequest& request) = 0; + virtual void SendByeCommand(Empty& _return, const RegisterResponse& register_response) = 0; + virtual void GetBestPlannerAction(BestPlannerActionResponse& _return, const BestPlannerActionRequest& best_planner_action_request) = 0; +}; + +class GameIfFactory { + public: + typedef GameIf Handler; + + virtual ~GameIfFactory() {} + + virtual GameIf* getHandler(const ::apache::thrift::TConnectionInfo& connInfo) = 0; + virtual void releaseHandler(GameIf* /* handler */) = 0; + }; + +class GameIfSingletonFactory : virtual public GameIfFactory { + public: + GameIfSingletonFactory(const ::std::shared_ptr& iface) : iface_(iface) {} + virtual ~GameIfSingletonFactory() {} + + virtual GameIf* getHandler(const ::apache::thrift::TConnectionInfo&) override { + return iface_.get(); + } + virtual void releaseHandler(GameIf* /* handler */) override {} + + protected: + ::std::shared_ptr iface_; +}; + +class GameNull : virtual public GameIf { + public: + virtual ~GameNull() {} + void GetPlayerActions(PlayerActions& /* _return */, const State& /* state */) override { + return; + } + void GetCoachActions(CoachActions& /* _return */, const State& /* state */) override { + return; + } + void GetTrainerActions(TrainerActions& /* _return */, const State& /* state */) override { + return; + } + void SendInitMessage(Empty& /* _return */, const InitMessage& /* init_message */) override { + return; + } + void SendServerParams(Empty& /* _return */, const ServerParam& /* server_param */) override { + return; + } + void SendPlayerParams(Empty& /* _return */, const PlayerParam& /* player_param */) override { + return; + } + void SendPlayerType(Empty& /* _return */, const PlayerType& /* player_type */) override { + return; + } + void Register(RegisterResponse& /* _return */, const RegisterRequest& /* request */) override { + return; + } + void SendByeCommand(Empty& /* _return */, const RegisterResponse& /* register_response */) override { + return; + } + void GetBestPlannerAction(BestPlannerActionResponse& /* _return */, const BestPlannerActionRequest& /* best_planner_action_request */) override { + return; + } +}; + +typedef struct _Game_GetPlayerActions_args__isset { + _Game_GetPlayerActions_args__isset() : state(false) {} + bool state :1; +} _Game_GetPlayerActions_args__isset; + +class Game_GetPlayerActions_args { + public: + + Game_GetPlayerActions_args(const Game_GetPlayerActions_args&); + Game_GetPlayerActions_args& operator=(const Game_GetPlayerActions_args&); + Game_GetPlayerActions_args() noexcept { + } + + virtual ~Game_GetPlayerActions_args() noexcept; + State state; + + _Game_GetPlayerActions_args__isset __isset; + + void __set_state(const State& val); + + bool operator == (const Game_GetPlayerActions_args & rhs) const + { + if (!(state == rhs.state)) + return false; + return true; + } + bool operator != (const Game_GetPlayerActions_args &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Game_GetPlayerActions_args & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + + +class Game_GetPlayerActions_pargs { + public: + + + virtual ~Game_GetPlayerActions_pargs() noexcept; + const State* state; + + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _Game_GetPlayerActions_result__isset { + _Game_GetPlayerActions_result__isset() : success(false) {} + bool success :1; +} _Game_GetPlayerActions_result__isset; + +class Game_GetPlayerActions_result { + public: + + Game_GetPlayerActions_result(const Game_GetPlayerActions_result&); + Game_GetPlayerActions_result& operator=(const Game_GetPlayerActions_result&); + Game_GetPlayerActions_result() noexcept { + } + + virtual ~Game_GetPlayerActions_result() noexcept; + PlayerActions success; + + _Game_GetPlayerActions_result__isset __isset; + + void __set_success(const PlayerActions& val); + + bool operator == (const Game_GetPlayerActions_result & rhs) const + { + if (!(success == rhs.success)) + return false; + return true; + } + bool operator != (const Game_GetPlayerActions_result &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Game_GetPlayerActions_result & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _Game_GetPlayerActions_presult__isset { + _Game_GetPlayerActions_presult__isset() : success(false) {} + bool success :1; +} _Game_GetPlayerActions_presult__isset; + +class Game_GetPlayerActions_presult { + public: + + + virtual ~Game_GetPlayerActions_presult() noexcept; + PlayerActions* success; + + _Game_GetPlayerActions_presult__isset __isset; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + +}; + +typedef struct _Game_GetCoachActions_args__isset { + _Game_GetCoachActions_args__isset() : state(false) {} + bool state :1; +} _Game_GetCoachActions_args__isset; + +class Game_GetCoachActions_args { + public: + + Game_GetCoachActions_args(const Game_GetCoachActions_args&); + Game_GetCoachActions_args& operator=(const Game_GetCoachActions_args&); + Game_GetCoachActions_args() noexcept { + } + + virtual ~Game_GetCoachActions_args() noexcept; + State state; + + _Game_GetCoachActions_args__isset __isset; + + void __set_state(const State& val); + + bool operator == (const Game_GetCoachActions_args & rhs) const + { + if (!(state == rhs.state)) + return false; + return true; + } + bool operator != (const Game_GetCoachActions_args &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Game_GetCoachActions_args & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + + +class Game_GetCoachActions_pargs { + public: + + + virtual ~Game_GetCoachActions_pargs() noexcept; + const State* state; + + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _Game_GetCoachActions_result__isset { + _Game_GetCoachActions_result__isset() : success(false) {} + bool success :1; +} _Game_GetCoachActions_result__isset; + +class Game_GetCoachActions_result { + public: + + Game_GetCoachActions_result(const Game_GetCoachActions_result&); + Game_GetCoachActions_result& operator=(const Game_GetCoachActions_result&); + Game_GetCoachActions_result() noexcept { + } + + virtual ~Game_GetCoachActions_result() noexcept; + CoachActions success; + + _Game_GetCoachActions_result__isset __isset; + + void __set_success(const CoachActions& val); + + bool operator == (const Game_GetCoachActions_result & rhs) const + { + if (!(success == rhs.success)) + return false; + return true; + } + bool operator != (const Game_GetCoachActions_result &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Game_GetCoachActions_result & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _Game_GetCoachActions_presult__isset { + _Game_GetCoachActions_presult__isset() : success(false) {} + bool success :1; +} _Game_GetCoachActions_presult__isset; + +class Game_GetCoachActions_presult { + public: + + + virtual ~Game_GetCoachActions_presult() noexcept; + CoachActions* success; + + _Game_GetCoachActions_presult__isset __isset; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + +}; + +typedef struct _Game_GetTrainerActions_args__isset { + _Game_GetTrainerActions_args__isset() : state(false) {} + bool state :1; +} _Game_GetTrainerActions_args__isset; + +class Game_GetTrainerActions_args { + public: + + Game_GetTrainerActions_args(const Game_GetTrainerActions_args&); + Game_GetTrainerActions_args& operator=(const Game_GetTrainerActions_args&); + Game_GetTrainerActions_args() noexcept { + } + + virtual ~Game_GetTrainerActions_args() noexcept; + State state; + + _Game_GetTrainerActions_args__isset __isset; + + void __set_state(const State& val); + + bool operator == (const Game_GetTrainerActions_args & rhs) const + { + if (!(state == rhs.state)) + return false; + return true; + } + bool operator != (const Game_GetTrainerActions_args &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Game_GetTrainerActions_args & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + + +class Game_GetTrainerActions_pargs { + public: + + + virtual ~Game_GetTrainerActions_pargs() noexcept; + const State* state; + + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _Game_GetTrainerActions_result__isset { + _Game_GetTrainerActions_result__isset() : success(false) {} + bool success :1; +} _Game_GetTrainerActions_result__isset; + +class Game_GetTrainerActions_result { + public: + + Game_GetTrainerActions_result(const Game_GetTrainerActions_result&); + Game_GetTrainerActions_result& operator=(const Game_GetTrainerActions_result&); + Game_GetTrainerActions_result() noexcept { + } + + virtual ~Game_GetTrainerActions_result() noexcept; + TrainerActions success; + + _Game_GetTrainerActions_result__isset __isset; + + void __set_success(const TrainerActions& val); + + bool operator == (const Game_GetTrainerActions_result & rhs) const + { + if (!(success == rhs.success)) + return false; + return true; + } + bool operator != (const Game_GetTrainerActions_result &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Game_GetTrainerActions_result & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _Game_GetTrainerActions_presult__isset { + _Game_GetTrainerActions_presult__isset() : success(false) {} + bool success :1; +} _Game_GetTrainerActions_presult__isset; + +class Game_GetTrainerActions_presult { + public: + + + virtual ~Game_GetTrainerActions_presult() noexcept; + TrainerActions* success; + + _Game_GetTrainerActions_presult__isset __isset; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + +}; + +typedef struct _Game_SendInitMessage_args__isset { + _Game_SendInitMessage_args__isset() : init_message(false) {} + bool init_message :1; +} _Game_SendInitMessage_args__isset; + +class Game_SendInitMessage_args { + public: + + Game_SendInitMessage_args(const Game_SendInitMessage_args&); + Game_SendInitMessage_args& operator=(const Game_SendInitMessage_args&); + Game_SendInitMessage_args() noexcept { + } + + virtual ~Game_SendInitMessage_args() noexcept; + InitMessage init_message; + + _Game_SendInitMessage_args__isset __isset; + + void __set_init_message(const InitMessage& val); + + bool operator == (const Game_SendInitMessage_args & rhs) const + { + if (!(init_message == rhs.init_message)) + return false; + return true; + } + bool operator != (const Game_SendInitMessage_args &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Game_SendInitMessage_args & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + + +class Game_SendInitMessage_pargs { + public: + + + virtual ~Game_SendInitMessage_pargs() noexcept; + const InitMessage* init_message; + + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _Game_SendInitMessage_result__isset { + _Game_SendInitMessage_result__isset() : success(false) {} + bool success :1; +} _Game_SendInitMessage_result__isset; + +class Game_SendInitMessage_result { + public: + + Game_SendInitMessage_result(const Game_SendInitMessage_result&) noexcept; + Game_SendInitMessage_result& operator=(const Game_SendInitMessage_result&) noexcept; + Game_SendInitMessage_result() noexcept { + } + + virtual ~Game_SendInitMessage_result() noexcept; + Empty success; + + _Game_SendInitMessage_result__isset __isset; + + void __set_success(const Empty& val); + + bool operator == (const Game_SendInitMessage_result & rhs) const + { + if (!(success == rhs.success)) + return false; + return true; + } + bool operator != (const Game_SendInitMessage_result &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Game_SendInitMessage_result & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _Game_SendInitMessage_presult__isset { + _Game_SendInitMessage_presult__isset() : success(false) {} + bool success :1; +} _Game_SendInitMessage_presult__isset; + +class Game_SendInitMessage_presult { + public: + + + virtual ~Game_SendInitMessage_presult() noexcept; + Empty* success; + + _Game_SendInitMessage_presult__isset __isset; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + +}; + +typedef struct _Game_SendServerParams_args__isset { + _Game_SendServerParams_args__isset() : server_param(false) {} + bool server_param :1; +} _Game_SendServerParams_args__isset; + +class Game_SendServerParams_args { + public: + + Game_SendServerParams_args(const Game_SendServerParams_args&); + Game_SendServerParams_args& operator=(const Game_SendServerParams_args&); + Game_SendServerParams_args() noexcept { + } + + virtual ~Game_SendServerParams_args() noexcept; + ServerParam server_param; + + _Game_SendServerParams_args__isset __isset; + + void __set_server_param(const ServerParam& val); + + bool operator == (const Game_SendServerParams_args & rhs) const + { + if (!(server_param == rhs.server_param)) + return false; + return true; + } + bool operator != (const Game_SendServerParams_args &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Game_SendServerParams_args & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + + +class Game_SendServerParams_pargs { + public: + + + virtual ~Game_SendServerParams_pargs() noexcept; + const ServerParam* server_param; + + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _Game_SendServerParams_result__isset { + _Game_SendServerParams_result__isset() : success(false) {} + bool success :1; +} _Game_SendServerParams_result__isset; + +class Game_SendServerParams_result { + public: + + Game_SendServerParams_result(const Game_SendServerParams_result&) noexcept; + Game_SendServerParams_result& operator=(const Game_SendServerParams_result&) noexcept; + Game_SendServerParams_result() noexcept { + } + + virtual ~Game_SendServerParams_result() noexcept; + Empty success; + + _Game_SendServerParams_result__isset __isset; + + void __set_success(const Empty& val); + + bool operator == (const Game_SendServerParams_result & rhs) const + { + if (!(success == rhs.success)) + return false; + return true; + } + bool operator != (const Game_SendServerParams_result &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Game_SendServerParams_result & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _Game_SendServerParams_presult__isset { + _Game_SendServerParams_presult__isset() : success(false) {} + bool success :1; +} _Game_SendServerParams_presult__isset; + +class Game_SendServerParams_presult { + public: + + + virtual ~Game_SendServerParams_presult() noexcept; + Empty* success; + + _Game_SendServerParams_presult__isset __isset; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + +}; + +typedef struct _Game_SendPlayerParams_args__isset { + _Game_SendPlayerParams_args__isset() : player_param(false) {} + bool player_param :1; +} _Game_SendPlayerParams_args__isset; + +class Game_SendPlayerParams_args { + public: + + Game_SendPlayerParams_args(const Game_SendPlayerParams_args&); + Game_SendPlayerParams_args& operator=(const Game_SendPlayerParams_args&); + Game_SendPlayerParams_args() noexcept { + } + + virtual ~Game_SendPlayerParams_args() noexcept; + PlayerParam player_param; + + _Game_SendPlayerParams_args__isset __isset; + + void __set_player_param(const PlayerParam& val); + + bool operator == (const Game_SendPlayerParams_args & rhs) const + { + if (!(player_param == rhs.player_param)) + return false; + return true; + } + bool operator != (const Game_SendPlayerParams_args &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Game_SendPlayerParams_args & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + + +class Game_SendPlayerParams_pargs { + public: + + + virtual ~Game_SendPlayerParams_pargs() noexcept; + const PlayerParam* player_param; + + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _Game_SendPlayerParams_result__isset { + _Game_SendPlayerParams_result__isset() : success(false) {} + bool success :1; +} _Game_SendPlayerParams_result__isset; + +class Game_SendPlayerParams_result { + public: + + Game_SendPlayerParams_result(const Game_SendPlayerParams_result&) noexcept; + Game_SendPlayerParams_result& operator=(const Game_SendPlayerParams_result&) noexcept; + Game_SendPlayerParams_result() noexcept { + } + + virtual ~Game_SendPlayerParams_result() noexcept; + Empty success; + + _Game_SendPlayerParams_result__isset __isset; + + void __set_success(const Empty& val); + + bool operator == (const Game_SendPlayerParams_result & rhs) const + { + if (!(success == rhs.success)) + return false; + return true; + } + bool operator != (const Game_SendPlayerParams_result &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Game_SendPlayerParams_result & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _Game_SendPlayerParams_presult__isset { + _Game_SendPlayerParams_presult__isset() : success(false) {} + bool success :1; +} _Game_SendPlayerParams_presult__isset; + +class Game_SendPlayerParams_presult { + public: + + + virtual ~Game_SendPlayerParams_presult() noexcept; + Empty* success; + + _Game_SendPlayerParams_presult__isset __isset; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + +}; + +typedef struct _Game_SendPlayerType_args__isset { + _Game_SendPlayerType_args__isset() : player_type(false) {} + bool player_type :1; +} _Game_SendPlayerType_args__isset; + +class Game_SendPlayerType_args { + public: + + Game_SendPlayerType_args(const Game_SendPlayerType_args&); + Game_SendPlayerType_args& operator=(const Game_SendPlayerType_args&); + Game_SendPlayerType_args() noexcept { + } + + virtual ~Game_SendPlayerType_args() noexcept; + PlayerType player_type; + + _Game_SendPlayerType_args__isset __isset; + + void __set_player_type(const PlayerType& val); + + bool operator == (const Game_SendPlayerType_args & rhs) const + { + if (!(player_type == rhs.player_type)) + return false; + return true; + } + bool operator != (const Game_SendPlayerType_args &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Game_SendPlayerType_args & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + + +class Game_SendPlayerType_pargs { + public: + + + virtual ~Game_SendPlayerType_pargs() noexcept; + const PlayerType* player_type; + + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _Game_SendPlayerType_result__isset { + _Game_SendPlayerType_result__isset() : success(false) {} + bool success :1; +} _Game_SendPlayerType_result__isset; + +class Game_SendPlayerType_result { + public: + + Game_SendPlayerType_result(const Game_SendPlayerType_result&) noexcept; + Game_SendPlayerType_result& operator=(const Game_SendPlayerType_result&) noexcept; + Game_SendPlayerType_result() noexcept { + } + + virtual ~Game_SendPlayerType_result() noexcept; + Empty success; + + _Game_SendPlayerType_result__isset __isset; + + void __set_success(const Empty& val); + + bool operator == (const Game_SendPlayerType_result & rhs) const + { + if (!(success == rhs.success)) + return false; + return true; + } + bool operator != (const Game_SendPlayerType_result &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Game_SendPlayerType_result & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _Game_SendPlayerType_presult__isset { + _Game_SendPlayerType_presult__isset() : success(false) {} + bool success :1; +} _Game_SendPlayerType_presult__isset; + +class Game_SendPlayerType_presult { + public: + + + virtual ~Game_SendPlayerType_presult() noexcept; + Empty* success; + + _Game_SendPlayerType_presult__isset __isset; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + +}; + +typedef struct _Game_Register_args__isset { + _Game_Register_args__isset() : request(false) {} + bool request :1; +} _Game_Register_args__isset; + +class Game_Register_args { + public: + + Game_Register_args(const Game_Register_args&); + Game_Register_args& operator=(const Game_Register_args&); + Game_Register_args() noexcept { + } + + virtual ~Game_Register_args() noexcept; + RegisterRequest request; + + _Game_Register_args__isset __isset; + + void __set_request(const RegisterRequest& val); + + bool operator == (const Game_Register_args & rhs) const + { + if (!(request == rhs.request)) + return false; + return true; + } + bool operator != (const Game_Register_args &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Game_Register_args & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + + +class Game_Register_pargs { + public: + + + virtual ~Game_Register_pargs() noexcept; + const RegisterRequest* request; + + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _Game_Register_result__isset { + _Game_Register_result__isset() : success(false) {} + bool success :1; +} _Game_Register_result__isset; + +class Game_Register_result { + public: + + Game_Register_result(const Game_Register_result&); + Game_Register_result& operator=(const Game_Register_result&); + Game_Register_result() noexcept { + } + + virtual ~Game_Register_result() noexcept; + RegisterResponse success; + + _Game_Register_result__isset __isset; + + void __set_success(const RegisterResponse& val); + + bool operator == (const Game_Register_result & rhs) const + { + if (!(success == rhs.success)) + return false; + return true; + } + bool operator != (const Game_Register_result &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Game_Register_result & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _Game_Register_presult__isset { + _Game_Register_presult__isset() : success(false) {} + bool success :1; +} _Game_Register_presult__isset; + +class Game_Register_presult { + public: + + + virtual ~Game_Register_presult() noexcept; + RegisterResponse* success; + + _Game_Register_presult__isset __isset; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + +}; + +typedef struct _Game_SendByeCommand_args__isset { + _Game_SendByeCommand_args__isset() : register_response(false) {} + bool register_response :1; +} _Game_SendByeCommand_args__isset; + +class Game_SendByeCommand_args { + public: + + Game_SendByeCommand_args(const Game_SendByeCommand_args&); + Game_SendByeCommand_args& operator=(const Game_SendByeCommand_args&); + Game_SendByeCommand_args() noexcept { + } + + virtual ~Game_SendByeCommand_args() noexcept; + RegisterResponse register_response; + + _Game_SendByeCommand_args__isset __isset; + + void __set_register_response(const RegisterResponse& val); + + bool operator == (const Game_SendByeCommand_args & rhs) const + { + if (!(register_response == rhs.register_response)) + return false; + return true; + } + bool operator != (const Game_SendByeCommand_args &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Game_SendByeCommand_args & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + + +class Game_SendByeCommand_pargs { + public: + + + virtual ~Game_SendByeCommand_pargs() noexcept; + const RegisterResponse* register_response; + + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _Game_SendByeCommand_result__isset { + _Game_SendByeCommand_result__isset() : success(false) {} + bool success :1; +} _Game_SendByeCommand_result__isset; + +class Game_SendByeCommand_result { + public: + + Game_SendByeCommand_result(const Game_SendByeCommand_result&) noexcept; + Game_SendByeCommand_result& operator=(const Game_SendByeCommand_result&) noexcept; + Game_SendByeCommand_result() noexcept { + } + + virtual ~Game_SendByeCommand_result() noexcept; + Empty success; + + _Game_SendByeCommand_result__isset __isset; + + void __set_success(const Empty& val); + + bool operator == (const Game_SendByeCommand_result & rhs) const + { + if (!(success == rhs.success)) + return false; + return true; + } + bool operator != (const Game_SendByeCommand_result &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Game_SendByeCommand_result & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _Game_SendByeCommand_presult__isset { + _Game_SendByeCommand_presult__isset() : success(false) {} + bool success :1; +} _Game_SendByeCommand_presult__isset; + +class Game_SendByeCommand_presult { + public: + + + virtual ~Game_SendByeCommand_presult() noexcept; + Empty* success; + + _Game_SendByeCommand_presult__isset __isset; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + +}; + +typedef struct _Game_GetBestPlannerAction_args__isset { + _Game_GetBestPlannerAction_args__isset() : best_planner_action_request(false) {} + bool best_planner_action_request :1; +} _Game_GetBestPlannerAction_args__isset; + +class Game_GetBestPlannerAction_args { + public: + + Game_GetBestPlannerAction_args(const Game_GetBestPlannerAction_args&); + Game_GetBestPlannerAction_args& operator=(const Game_GetBestPlannerAction_args&); + Game_GetBestPlannerAction_args() noexcept { + } + + virtual ~Game_GetBestPlannerAction_args() noexcept; + BestPlannerActionRequest best_planner_action_request; + + _Game_GetBestPlannerAction_args__isset __isset; + + void __set_best_planner_action_request(const BestPlannerActionRequest& val); + + bool operator == (const Game_GetBestPlannerAction_args & rhs) const + { + if (!(best_planner_action_request == rhs.best_planner_action_request)) + return false; + return true; + } + bool operator != (const Game_GetBestPlannerAction_args &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Game_GetBestPlannerAction_args & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + + +class Game_GetBestPlannerAction_pargs { + public: + + + virtual ~Game_GetBestPlannerAction_pargs() noexcept; + const BestPlannerActionRequest* best_planner_action_request; + + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _Game_GetBestPlannerAction_result__isset { + _Game_GetBestPlannerAction_result__isset() : success(false) {} + bool success :1; +} _Game_GetBestPlannerAction_result__isset; + +class Game_GetBestPlannerAction_result { + public: + + Game_GetBestPlannerAction_result(const Game_GetBestPlannerAction_result&) noexcept; + Game_GetBestPlannerAction_result& operator=(const Game_GetBestPlannerAction_result&) noexcept; + Game_GetBestPlannerAction_result() noexcept { + } + + virtual ~Game_GetBestPlannerAction_result() noexcept; + BestPlannerActionResponse success; + + _Game_GetBestPlannerAction_result__isset __isset; + + void __set_success(const BestPlannerActionResponse& val); + + bool operator == (const Game_GetBestPlannerAction_result & rhs) const + { + if (!(success == rhs.success)) + return false; + return true; + } + bool operator != (const Game_GetBestPlannerAction_result &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Game_GetBestPlannerAction_result & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _Game_GetBestPlannerAction_presult__isset { + _Game_GetBestPlannerAction_presult__isset() : success(false) {} + bool success :1; +} _Game_GetBestPlannerAction_presult__isset; + +class Game_GetBestPlannerAction_presult { + public: + + + virtual ~Game_GetBestPlannerAction_presult() noexcept; + BestPlannerActionResponse* success; + + _Game_GetBestPlannerAction_presult__isset __isset; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + +}; + +class GameClient : virtual public GameIf { + public: + GameClient(std::shared_ptr< ::apache::thrift::protocol::TProtocol> prot) { + setProtocol(prot); + } + GameClient(std::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, std::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) { + setProtocol(iprot,oprot); + } + private: + void setProtocol(std::shared_ptr< ::apache::thrift::protocol::TProtocol> prot) { + setProtocol(prot,prot); + } + void setProtocol(std::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, std::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) { + piprot_=iprot; + poprot_=oprot; + iprot_ = iprot.get(); + oprot_ = oprot.get(); + } + public: + std::shared_ptr< ::apache::thrift::protocol::TProtocol> getInputProtocol() { + return piprot_; + } + std::shared_ptr< ::apache::thrift::protocol::TProtocol> getOutputProtocol() { + return poprot_; + } + void GetPlayerActions(PlayerActions& _return, const State& state) override; + void send_GetPlayerActions(const State& state); + void recv_GetPlayerActions(PlayerActions& _return); + void GetCoachActions(CoachActions& _return, const State& state) override; + void send_GetCoachActions(const State& state); + void recv_GetCoachActions(CoachActions& _return); + void GetTrainerActions(TrainerActions& _return, const State& state) override; + void send_GetTrainerActions(const State& state); + void recv_GetTrainerActions(TrainerActions& _return); + void SendInitMessage(Empty& _return, const InitMessage& init_message) override; + void send_SendInitMessage(const InitMessage& init_message); + void recv_SendInitMessage(Empty& _return); + void SendServerParams(Empty& _return, const ServerParam& server_param) override; + void send_SendServerParams(const ServerParam& server_param); + void recv_SendServerParams(Empty& _return); + void SendPlayerParams(Empty& _return, const PlayerParam& player_param) override; + void send_SendPlayerParams(const PlayerParam& player_param); + void recv_SendPlayerParams(Empty& _return); + void SendPlayerType(Empty& _return, const PlayerType& player_type) override; + void send_SendPlayerType(const PlayerType& player_type); + void recv_SendPlayerType(Empty& _return); + void Register(RegisterResponse& _return, const RegisterRequest& request) override; + void send_Register(const RegisterRequest& request); + void recv_Register(RegisterResponse& _return); + void SendByeCommand(Empty& _return, const RegisterResponse& register_response) override; + void send_SendByeCommand(const RegisterResponse& register_response); + void recv_SendByeCommand(Empty& _return); + void GetBestPlannerAction(BestPlannerActionResponse& _return, const BestPlannerActionRequest& best_planner_action_request) override; + void send_GetBestPlannerAction(const BestPlannerActionRequest& best_planner_action_request); + void recv_GetBestPlannerAction(BestPlannerActionResponse& _return); + protected: + std::shared_ptr< ::apache::thrift::protocol::TProtocol> piprot_; + std::shared_ptr< ::apache::thrift::protocol::TProtocol> poprot_; + ::apache::thrift::protocol::TProtocol* iprot_; + ::apache::thrift::protocol::TProtocol* oprot_; +}; + +class GameProcessor : public ::apache::thrift::TDispatchProcessor { + protected: + ::std::shared_ptr iface_; + virtual bool dispatchCall(::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, const std::string& fname, int32_t seqid, void* callContext) override; + private: + typedef void (GameProcessor::*ProcessFunction)(int32_t, ::apache::thrift::protocol::TProtocol*, ::apache::thrift::protocol::TProtocol*, void*); + typedef std::map ProcessMap; + ProcessMap processMap_; + void process_GetPlayerActions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); + void process_GetCoachActions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); + void process_GetTrainerActions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); + void process_SendInitMessage(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); + void process_SendServerParams(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); + void process_SendPlayerParams(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); + void process_SendPlayerType(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); + void process_Register(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); + void process_SendByeCommand(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); + void process_GetBestPlannerAction(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); + public: + GameProcessor(::std::shared_ptr iface) : + iface_(iface) { + processMap_["GetPlayerActions"] = &GameProcessor::process_GetPlayerActions; + processMap_["GetCoachActions"] = &GameProcessor::process_GetCoachActions; + processMap_["GetTrainerActions"] = &GameProcessor::process_GetTrainerActions; + processMap_["SendInitMessage"] = &GameProcessor::process_SendInitMessage; + processMap_["SendServerParams"] = &GameProcessor::process_SendServerParams; + processMap_["SendPlayerParams"] = &GameProcessor::process_SendPlayerParams; + processMap_["SendPlayerType"] = &GameProcessor::process_SendPlayerType; + processMap_["Register"] = &GameProcessor::process_Register; + processMap_["SendByeCommand"] = &GameProcessor::process_SendByeCommand; + processMap_["GetBestPlannerAction"] = &GameProcessor::process_GetBestPlannerAction; + } + + virtual ~GameProcessor() {} +}; + +class GameProcessorFactory : public ::apache::thrift::TProcessorFactory { + public: + GameProcessorFactory(const ::std::shared_ptr< GameIfFactory >& handlerFactory) noexcept : + handlerFactory_(handlerFactory) {} + + ::std::shared_ptr< ::apache::thrift::TProcessor > getProcessor(const ::apache::thrift::TConnectionInfo& connInfo) override; + + protected: + ::std::shared_ptr< GameIfFactory > handlerFactory_; +}; + +class GameMultiface : virtual public GameIf { + public: + GameMultiface(std::vector >& ifaces) : ifaces_(ifaces) { + } + virtual ~GameMultiface() {} + protected: + std::vector > ifaces_; + GameMultiface() {} + void add(::std::shared_ptr iface) { + ifaces_.push_back(iface); + } + public: + void GetPlayerActions(PlayerActions& _return, const State& state) override { + size_t sz = ifaces_.size(); + size_t i = 0; + for (; i < (sz - 1); ++i) { + ifaces_[i]->GetPlayerActions(_return, state); + } + ifaces_[i]->GetPlayerActions(_return, state); + return; + } + + void GetCoachActions(CoachActions& _return, const State& state) override { + size_t sz = ifaces_.size(); + size_t i = 0; + for (; i < (sz - 1); ++i) { + ifaces_[i]->GetCoachActions(_return, state); + } + ifaces_[i]->GetCoachActions(_return, state); + return; + } + + void GetTrainerActions(TrainerActions& _return, const State& state) override { + size_t sz = ifaces_.size(); + size_t i = 0; + for (; i < (sz - 1); ++i) { + ifaces_[i]->GetTrainerActions(_return, state); + } + ifaces_[i]->GetTrainerActions(_return, state); + return; + } + + void SendInitMessage(Empty& _return, const InitMessage& init_message) override { + size_t sz = ifaces_.size(); + size_t i = 0; + for (; i < (sz - 1); ++i) { + ifaces_[i]->SendInitMessage(_return, init_message); + } + ifaces_[i]->SendInitMessage(_return, init_message); + return; + } + + void SendServerParams(Empty& _return, const ServerParam& server_param) override { + size_t sz = ifaces_.size(); + size_t i = 0; + for (; i < (sz - 1); ++i) { + ifaces_[i]->SendServerParams(_return, server_param); + } + ifaces_[i]->SendServerParams(_return, server_param); + return; + } + + void SendPlayerParams(Empty& _return, const PlayerParam& player_param) override { + size_t sz = ifaces_.size(); + size_t i = 0; + for (; i < (sz - 1); ++i) { + ifaces_[i]->SendPlayerParams(_return, player_param); + } + ifaces_[i]->SendPlayerParams(_return, player_param); + return; + } + + void SendPlayerType(Empty& _return, const PlayerType& player_type) override { + size_t sz = ifaces_.size(); + size_t i = 0; + for (; i < (sz - 1); ++i) { + ifaces_[i]->SendPlayerType(_return, player_type); + } + ifaces_[i]->SendPlayerType(_return, player_type); + return; + } + + void Register(RegisterResponse& _return, const RegisterRequest& request) override { + size_t sz = ifaces_.size(); + size_t i = 0; + for (; i < (sz - 1); ++i) { + ifaces_[i]->Register(_return, request); + } + ifaces_[i]->Register(_return, request); + return; + } + + void SendByeCommand(Empty& _return, const RegisterResponse& register_response) override { + size_t sz = ifaces_.size(); + size_t i = 0; + for (; i < (sz - 1); ++i) { + ifaces_[i]->SendByeCommand(_return, register_response); + } + ifaces_[i]->SendByeCommand(_return, register_response); + return; + } + + void GetBestPlannerAction(BestPlannerActionResponse& _return, const BestPlannerActionRequest& best_planner_action_request) override { + size_t sz = ifaces_.size(); + size_t i = 0; + for (; i < (sz - 1); ++i) { + ifaces_[i]->GetBestPlannerAction(_return, best_planner_action_request); + } + ifaces_[i]->GetBestPlannerAction(_return, best_planner_action_request); + return; + } + +}; + +// The 'concurrent' client is a thread safe client that correctly handles +// out of order responses. It is slower than the regular client, so should +// only be used when you need to share a connection among multiple threads +class GameConcurrentClient : virtual public GameIf { + public: + GameConcurrentClient(std::shared_ptr< ::apache::thrift::protocol::TProtocol> prot, std::shared_ptr<::apache::thrift::async::TConcurrentClientSyncInfo> sync) : sync_(sync) +{ + setProtocol(prot); + } + GameConcurrentClient(std::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, std::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot, std::shared_ptr<::apache::thrift::async::TConcurrentClientSyncInfo> sync) : sync_(sync) +{ + setProtocol(iprot,oprot); + } + private: + void setProtocol(std::shared_ptr< ::apache::thrift::protocol::TProtocol> prot) { + setProtocol(prot,prot); + } + void setProtocol(std::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, std::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) { + piprot_=iprot; + poprot_=oprot; + iprot_ = iprot.get(); + oprot_ = oprot.get(); + } + public: + std::shared_ptr< ::apache::thrift::protocol::TProtocol> getInputProtocol() { + return piprot_; + } + std::shared_ptr< ::apache::thrift::protocol::TProtocol> getOutputProtocol() { + return poprot_; + } + void GetPlayerActions(PlayerActions& _return, const State& state) override; + int32_t send_GetPlayerActions(const State& state); + void recv_GetPlayerActions(PlayerActions& _return, const int32_t seqid); + void GetCoachActions(CoachActions& _return, const State& state) override; + int32_t send_GetCoachActions(const State& state); + void recv_GetCoachActions(CoachActions& _return, const int32_t seqid); + void GetTrainerActions(TrainerActions& _return, const State& state) override; + int32_t send_GetTrainerActions(const State& state); + void recv_GetTrainerActions(TrainerActions& _return, const int32_t seqid); + void SendInitMessage(Empty& _return, const InitMessage& init_message) override; + int32_t send_SendInitMessage(const InitMessage& init_message); + void recv_SendInitMessage(Empty& _return, const int32_t seqid); + void SendServerParams(Empty& _return, const ServerParam& server_param) override; + int32_t send_SendServerParams(const ServerParam& server_param); + void recv_SendServerParams(Empty& _return, const int32_t seqid); + void SendPlayerParams(Empty& _return, const PlayerParam& player_param) override; + int32_t send_SendPlayerParams(const PlayerParam& player_param); + void recv_SendPlayerParams(Empty& _return, const int32_t seqid); + void SendPlayerType(Empty& _return, const PlayerType& player_type) override; + int32_t send_SendPlayerType(const PlayerType& player_type); + void recv_SendPlayerType(Empty& _return, const int32_t seqid); + void Register(RegisterResponse& _return, const RegisterRequest& request) override; + int32_t send_Register(const RegisterRequest& request); + void recv_Register(RegisterResponse& _return, const int32_t seqid); + void SendByeCommand(Empty& _return, const RegisterResponse& register_response) override; + int32_t send_SendByeCommand(const RegisterResponse& register_response); + void recv_SendByeCommand(Empty& _return, const int32_t seqid); + void GetBestPlannerAction(BestPlannerActionResponse& _return, const BestPlannerActionRequest& best_planner_action_request) override; + int32_t send_GetBestPlannerAction(const BestPlannerActionRequest& best_planner_action_request); + void recv_GetBestPlannerAction(BestPlannerActionResponse& _return, const int32_t seqid); + protected: + std::shared_ptr< ::apache::thrift::protocol::TProtocol> piprot_; + std::shared_ptr< ::apache::thrift::protocol::TProtocol> poprot_; + ::apache::thrift::protocol::TProtocol* iprot_; + ::apache::thrift::protocol::TProtocol* oprot_; + std::shared_ptr<::apache::thrift::async::TConcurrentClientSyncInfo> sync_; +}; + +#ifdef _MSC_VER + #pragma warning( pop ) +#endif + +} // namespace + +#endif diff --git a/idl/thrift/gen-cpp/Game_server.skeleton.cpp b/idl/thrift/gen-cpp/Game_server.skeleton.cpp new file mode 100644 index 0000000..843b101 --- /dev/null +++ b/idl/thrift/gen-cpp/Game_server.skeleton.cpp @@ -0,0 +1,87 @@ +// This autogenerated skeleton file illustrates how to build a server. +// You should copy it to another filename to avoid overwriting it. + +#include "Game.h" +#include +#include +#include +#include + +using namespace ::apache::thrift; +using namespace ::apache::thrift::protocol; +using namespace ::apache::thrift::transport; +using namespace ::apache::thrift::server; + +using namespace ::soccer; + +class GameHandler : virtual public GameIf { + public: + GameHandler() { + // Your initialization goes here + } + + void GetPlayerActions(PlayerActions& _return, const State& state) { + // Your implementation goes here + printf("GetPlayerActions\n"); + } + + void GetCoachActions(CoachActions& _return, const State& state) { + // Your implementation goes here + printf("GetCoachActions\n"); + } + + void GetTrainerActions(TrainerActions& _return, const State& state) { + // Your implementation goes here + printf("GetTrainerActions\n"); + } + + void SendInitMessage(Empty& _return, const InitMessage& init_message) { + // Your implementation goes here + printf("SendInitMessage\n"); + } + + void SendServerParams(Empty& _return, const ServerParam& server_param) { + // Your implementation goes here + printf("SendServerParams\n"); + } + + void SendPlayerParams(Empty& _return, const PlayerParam& player_param) { + // Your implementation goes here + printf("SendPlayerParams\n"); + } + + void SendPlayerType(Empty& _return, const PlayerType& player_type) { + // Your implementation goes here + printf("SendPlayerType\n"); + } + + void Register(RegisterResponse& _return, const RegisterRequest& request) { + // Your implementation goes here + printf("Register\n"); + } + + void SendByeCommand(Empty& _return, const RegisterResponse& register_response) { + // Your implementation goes here + printf("SendByeCommand\n"); + } + + void GetBestPlannerAction(BestPlannerActionResponse& _return, const BestPlannerActionRequest& best_planner_action_request) { + // Your implementation goes here + printf("GetBestPlannerAction\n"); + } + +}; + +int main(int argc, char **argv) { + int port = 9090; + ::std::shared_ptr handler(new GameHandler()); + ::std::shared_ptr processor(new GameProcessor(handler)); + ::std::shared_ptr serverTransport(new TServerSocket(port)); + ::std::shared_ptr transportFactory(new TBufferedTransportFactory()); + ::std::shared_ptr protocolFactory(new TBinaryProtocolFactory()); + + TSimpleServer server(processor, serverTransport, transportFactory, protocolFactory); + server.serve(); + return 0; +} + diff --git a/idl/thrift/gen-cpp/soccer_service_types.cpp b/idl/thrift/gen-cpp/soccer_service_types.cpp new file mode 100644 index 0000000..13f9d1b --- /dev/null +++ b/idl/thrift/gen-cpp/soccer_service_types.cpp @@ -0,0 +1,25351 @@ +/** + * Autogenerated by Thrift Compiler (0.16.0) + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +#include "soccer_service_types.h" + +#include +#include + +#include + +namespace soccer { + +int _kViewWidthValues[] = { + ViewWidth::NARROW, + ViewWidth::NORMAL, + ViewWidth::WIDE +}; +const char* _kViewWidthNames[] = { + "NARROW", + "NORMAL", + "WIDE" +}; +const std::map _ViewWidth_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(3, _kViewWidthValues, _kViewWidthNames), ::apache::thrift::TEnumIterator(-1, nullptr, nullptr)); + +std::ostream& operator<<(std::ostream& out, const ViewWidth::type& val) { + std::map::const_iterator it = _ViewWidth_VALUES_TO_NAMES.find(val); + if (it != _ViewWidth_VALUES_TO_NAMES.end()) { + out << it->second; + } else { + out << static_cast(val); + } + return out; +} + +std::string to_string(const ViewWidth::type& val) { + std::map::const_iterator it = _ViewWidth_VALUES_TO_NAMES.find(val); + if (it != _ViewWidth_VALUES_TO_NAMES.end()) { + return std::string(it->second); + } else { + return std::to_string(static_cast(val)); + } +} + +int _kAgentTypeValues[] = { + AgentType::PlayerT, + AgentType::CoachT, + AgentType::TrainerT +}; +const char* _kAgentTypeNames[] = { + "PlayerT", + "CoachT", + "TrainerT" +}; +const std::map _AgentType_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(3, _kAgentTypeValues, _kAgentTypeNames), ::apache::thrift::TEnumIterator(-1, nullptr, nullptr)); + +std::ostream& operator<<(std::ostream& out, const AgentType::type& val) { + std::map::const_iterator it = _AgentType_VALUES_TO_NAMES.find(val); + if (it != _AgentType_VALUES_TO_NAMES.end()) { + out << it->second; + } else { + out << static_cast(val); + } + return out; +} + +std::string to_string(const AgentType::type& val) { + std::map::const_iterator it = _AgentType_VALUES_TO_NAMES.find(val); + if (it != _AgentType_VALUES_TO_NAMES.end()) { + return std::string(it->second); + } else { + return std::to_string(static_cast(val)); + } +} + +int _kSideValues[] = { + Side::UNKNOWN, + Side::LEFT, + Side::RIGHT +}; +const char* _kSideNames[] = { + "UNKNOWN", + "LEFT", + "RIGHT" +}; +const std::map _Side_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(3, _kSideValues, _kSideNames), ::apache::thrift::TEnumIterator(-1, nullptr, nullptr)); + +std::ostream& operator<<(std::ostream& out, const Side::type& val) { + std::map::const_iterator it = _Side_VALUES_TO_NAMES.find(val); + if (it != _Side_VALUES_TO_NAMES.end()) { + out << it->second; + } else { + out << static_cast(val); + } + return out; +} + +std::string to_string(const Side::type& val) { + std::map::const_iterator it = _Side_VALUES_TO_NAMES.find(val); + if (it != _Side_VALUES_TO_NAMES.end()) { + return std::string(it->second); + } else { + return std::to_string(static_cast(val)); + } +} + +int _kLoggerLevelValues[] = { + LoggerLevel::NoneLevel, + LoggerLevel::SYSTEM, + LoggerLevel::SENSOR, + LoggerLevel::WORLD, + LoggerLevel::ACTION, + LoggerLevel::INTERCEPT, + LoggerLevel::KICK, + LoggerLevel::HOLD, + LoggerLevel::DRIBBLE, + LoggerLevel::PASS, + LoggerLevel::CROSS, + LoggerLevel::SHOOT, + LoggerLevel::CLEAR, + LoggerLevel::BLOCK, + LoggerLevel::MARK, + LoggerLevel::POSITIONING, + LoggerLevel::ROLE, + LoggerLevel::TEAM, + LoggerLevel::COMMUNICATION, + LoggerLevel::ANALYZER, + LoggerLevel::ACTION_CHAIN, + LoggerLevel::PLAN +}; +const char* _kLoggerLevelNames[] = { + "NoneLevel", + "SYSTEM", + "SENSOR", + "WORLD", + "ACTION", + "INTERCEPT", + "KICK", + "HOLD", + "DRIBBLE", + "PASS", + "CROSS", + "SHOOT", + "CLEAR", + "BLOCK", + "MARK", + "POSITIONING", + "ROLE", + "TEAM", + "COMMUNICATION", + "ANALYZER", + "ACTION_CHAIN", + "PLAN" +}; +const std::map _LoggerLevel_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(22, _kLoggerLevelValues, _kLoggerLevelNames), ::apache::thrift::TEnumIterator(-1, nullptr, nullptr)); + +std::ostream& operator<<(std::ostream& out, const LoggerLevel::type& val) { + std::map::const_iterator it = _LoggerLevel_VALUES_TO_NAMES.find(val); + if (it != _LoggerLevel_VALUES_TO_NAMES.end()) { + out << it->second; + } else { + out << static_cast(val); + } + return out; +} + +std::string to_string(const LoggerLevel::type& val) { + std::map::const_iterator it = _LoggerLevel_VALUES_TO_NAMES.find(val); + if (it != _LoggerLevel_VALUES_TO_NAMES.end()) { + return std::string(it->second); + } else { + return std::to_string(static_cast(val)); + } +} + +int _kInterceptActionTypeValues[] = { + InterceptActionType::UNKNOWN_Intercept_Action_Type, + InterceptActionType::OMNI_DASH, + InterceptActionType::TURN_FORWARD_DASH, + InterceptActionType::TURN_BACKWARD_DASH +}; +const char* _kInterceptActionTypeNames[] = { + "UNKNOWN_Intercept_Action_Type", + "OMNI_DASH", + "TURN_FORWARD_DASH", + "TURN_BACKWARD_DASH" +}; +const std::map _InterceptActionType_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(4, _kInterceptActionTypeValues, _kInterceptActionTypeNames), ::apache::thrift::TEnumIterator(-1, nullptr, nullptr)); + +std::ostream& operator<<(std::ostream& out, const InterceptActionType::type& val) { + std::map::const_iterator it = _InterceptActionType_VALUES_TO_NAMES.find(val); + if (it != _InterceptActionType_VALUES_TO_NAMES.end()) { + out << it->second; + } else { + out << static_cast(val); + } + return out; +} + +std::string to_string(const InterceptActionType::type& val) { + std::map::const_iterator it = _InterceptActionType_VALUES_TO_NAMES.find(val); + if (it != _InterceptActionType_VALUES_TO_NAMES.end()) { + return std::string(it->second); + } else { + return std::to_string(static_cast(val)); + } +} + +int _kGameModeTypeValues[] = { + GameModeType::BeforeKickOff, + GameModeType::TimeOver, + GameModeType::PlayOn, + GameModeType::KickOff_, + GameModeType::KickIn_, + GameModeType::FreeKick_, + GameModeType::CornerKick_, + GameModeType::GoalKick_, + GameModeType::AfterGoal_, + GameModeType::OffSide_, + GameModeType::PenaltyKick_, + GameModeType::FirstHalfOver, + GameModeType::Pause, + GameModeType::Human, + GameModeType::FoulCharge_, + GameModeType::FoulPush_, + GameModeType::FoulMultipleAttacker_, + GameModeType::FoulBallOut_, + GameModeType::BackPass_, + GameModeType::FreeKickFault_, + GameModeType::CatchFault_, + GameModeType::IndFreeKick_, + GameModeType::PenaltySetup_, + GameModeType::PenaltyReady_, + GameModeType::PenaltyTaken_, + GameModeType::PenaltyMiss_, + GameModeType::PenaltyScore_, + GameModeType::IllegalDefense_, + GameModeType::PenaltyOnfield_, + GameModeType::PenaltyFoul_, + GameModeType::GoalieCatch_, + GameModeType::ExtendHalf, + GameModeType::MODE_MAX +}; +const char* _kGameModeTypeNames[] = { + "BeforeKickOff", + "TimeOver", + "PlayOn", + "KickOff_", + "KickIn_", + "FreeKick_", + "CornerKick_", + "GoalKick_", + "AfterGoal_", + "OffSide_", + "PenaltyKick_", + "FirstHalfOver", + "Pause", + "Human", + "FoulCharge_", + "FoulPush_", + "FoulMultipleAttacker_", + "FoulBallOut_", + "BackPass_", + "FreeKickFault_", + "CatchFault_", + "IndFreeKick_", + "PenaltySetup_", + "PenaltyReady_", + "PenaltyTaken_", + "PenaltyMiss_", + "PenaltyScore_", + "IllegalDefense_", + "PenaltyOnfield_", + "PenaltyFoul_", + "GoalieCatch_", + "ExtendHalf", + "MODE_MAX" +}; +const std::map _GameModeType_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(33, _kGameModeTypeValues, _kGameModeTypeNames), ::apache::thrift::TEnumIterator(-1, nullptr, nullptr)); + +std::ostream& operator<<(std::ostream& out, const GameModeType::type& val) { + std::map::const_iterator it = _GameModeType_VALUES_TO_NAMES.find(val); + if (it != _GameModeType_VALUES_TO_NAMES.end()) { + out << it->second; + } else { + out << static_cast(val); + } + return out; +} + +std::string to_string(const GameModeType::type& val) { + std::map::const_iterator it = _GameModeType_VALUES_TO_NAMES.find(val); + if (it != _GameModeType_VALUES_TO_NAMES.end()) { + return std::string(it->second); + } else { + return std::to_string(static_cast(val)); + } +} + +int _kRpcActionCategoryValues[] = { + RpcActionCategory::AC_Hold, + RpcActionCategory::AC_Dribble, + RpcActionCategory::AC_Pass, + RpcActionCategory::AC_Shoot, + RpcActionCategory::AC_Clear, + RpcActionCategory::AC_Move, + RpcActionCategory::AC_NoAction +}; +const char* _kRpcActionCategoryNames[] = { + "AC_Hold", + "AC_Dribble", + "AC_Pass", + "AC_Shoot", + "AC_Clear", + "AC_Move", + "AC_NoAction" +}; +const std::map _RpcActionCategory_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(7, _kRpcActionCategoryValues, _kRpcActionCategoryNames), ::apache::thrift::TEnumIterator(-1, nullptr, nullptr)); + +std::ostream& operator<<(std::ostream& out, const RpcActionCategory::type& val) { + std::map::const_iterator it = _RpcActionCategory_VALUES_TO_NAMES.find(val); + if (it != _RpcActionCategory_VALUES_TO_NAMES.end()) { + out << it->second; + } else { + out << static_cast(val); + } + return out; +} + +std::string to_string(const RpcActionCategory::type& val) { + std::map::const_iterator it = _RpcActionCategory_VALUES_TO_NAMES.find(val); + if (it != _RpcActionCategory_VALUES_TO_NAMES.end()) { + return std::string(it->second); + } else { + return std::to_string(static_cast(val)); + } +} + + +RpcVector2D::~RpcVector2D() noexcept { +} + + +void RpcVector2D::__set_x(const double val) { + this->x = val; +} + +void RpcVector2D::__set_y(const double val) { + this->y = val; +} + +void RpcVector2D::__set_dist(const double val) { + this->dist = val; +} + +void RpcVector2D::__set_angle(const double val) { + this->angle = val; +} +std::ostream& operator<<(std::ostream& out, const RpcVector2D& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t RpcVector2D::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->x); + this->__isset.x = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->y); + this->__isset.y = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->dist); + this->__isset.dist = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->angle); + this->__isset.angle = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t RpcVector2D::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("RpcVector2D"); + + xfer += oprot->writeFieldBegin("x", ::apache::thrift::protocol::T_DOUBLE, 1); + xfer += oprot->writeDouble(this->x); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("y", ::apache::thrift::protocol::T_DOUBLE, 2); + xfer += oprot->writeDouble(this->y); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("dist", ::apache::thrift::protocol::T_DOUBLE, 3); + xfer += oprot->writeDouble(this->dist); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("angle", ::apache::thrift::protocol::T_DOUBLE, 4); + xfer += oprot->writeDouble(this->angle); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(RpcVector2D &a, RpcVector2D &b) { + using ::std::swap; + swap(a.x, b.x); + swap(a.y, b.y); + swap(a.dist, b.dist); + swap(a.angle, b.angle); + swap(a.__isset, b.__isset); +} + +RpcVector2D::RpcVector2D(const RpcVector2D& other0) noexcept { + x = other0.x; + y = other0.y; + dist = other0.dist; + angle = other0.angle; + __isset = other0.__isset; +} +RpcVector2D& RpcVector2D::operator=(const RpcVector2D& other1) noexcept { + x = other1.x; + y = other1.y; + dist = other1.dist; + angle = other1.angle; + __isset = other1.__isset; + return *this; +} +void RpcVector2D::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "RpcVector2D("; + out << "x=" << to_string(x); + out << ", " << "y=" << to_string(y); + out << ", " << "dist=" << to_string(dist); + out << ", " << "angle=" << to_string(angle); + out << ")"; +} + + +RegisterRequest::~RegisterRequest() noexcept { +} + + +void RegisterRequest::__set_agent_type(const AgentType::type val) { + this->agent_type = val; +} + +void RegisterRequest::__set_team_name(const std::string& val) { + this->team_name = val; +} + +void RegisterRequest::__set_uniform_number(const int32_t val) { + this->uniform_number = val; +} +std::ostream& operator<<(std::ostream& out, const RegisterRequest& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t RegisterRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast2; + xfer += iprot->readI32(ecast2); + this->agent_type = static_cast(ecast2); + this->__isset.agent_type = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->team_name); + this->__isset.team_name = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->uniform_number); + this->__isset.uniform_number = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t RegisterRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("RegisterRequest"); + + xfer += oprot->writeFieldBegin("agent_type", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(static_cast(this->agent_type)); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("team_name", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->team_name); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("uniform_number", ::apache::thrift::protocol::T_I32, 3); + xfer += oprot->writeI32(this->uniform_number); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(RegisterRequest &a, RegisterRequest &b) { + using ::std::swap; + swap(a.agent_type, b.agent_type); + swap(a.team_name, b.team_name); + swap(a.uniform_number, b.uniform_number); + swap(a.__isset, b.__isset); +} + +RegisterRequest::RegisterRequest(const RegisterRequest& other3) { + agent_type = other3.agent_type; + team_name = other3.team_name; + uniform_number = other3.uniform_number; + __isset = other3.__isset; +} +RegisterRequest& RegisterRequest::operator=(const RegisterRequest& other4) { + agent_type = other4.agent_type; + team_name = other4.team_name; + uniform_number = other4.uniform_number; + __isset = other4.__isset; + return *this; +} +void RegisterRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "RegisterRequest("; + out << "agent_type=" << to_string(agent_type); + out << ", " << "team_name=" << to_string(team_name); + out << ", " << "uniform_number=" << to_string(uniform_number); + out << ")"; +} + + +RegisterResponse::~RegisterResponse() noexcept { +} + + +void RegisterResponse::__set_client_id(const int32_t val) { + this->client_id = val; +} + +void RegisterResponse::__set_agent_type(const AgentType::type val) { + this->agent_type = val; +} + +void RegisterResponse::__set_team_name(const std::string& val) { + this->team_name = val; +} + +void RegisterResponse::__set_uniform_number(const int32_t val) { + this->uniform_number = val; +} +std::ostream& operator<<(std::ostream& out, const RegisterResponse& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t RegisterResponse::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->client_id); + this->__isset.client_id = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast5; + xfer += iprot->readI32(ecast5); + this->agent_type = static_cast(ecast5); + this->__isset.agent_type = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->team_name); + this->__isset.team_name = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->uniform_number); + this->__isset.uniform_number = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t RegisterResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("RegisterResponse"); + + xfer += oprot->writeFieldBegin("client_id", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(this->client_id); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("agent_type", ::apache::thrift::protocol::T_I32, 2); + xfer += oprot->writeI32(static_cast(this->agent_type)); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("team_name", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString(this->team_name); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("uniform_number", ::apache::thrift::protocol::T_I32, 4); + xfer += oprot->writeI32(this->uniform_number); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(RegisterResponse &a, RegisterResponse &b) { + using ::std::swap; + swap(a.client_id, b.client_id); + swap(a.agent_type, b.agent_type); + swap(a.team_name, b.team_name); + swap(a.uniform_number, b.uniform_number); + swap(a.__isset, b.__isset); +} + +RegisterResponse::RegisterResponse(const RegisterResponse& other6) { + client_id = other6.client_id; + agent_type = other6.agent_type; + team_name = other6.team_name; + uniform_number = other6.uniform_number; + __isset = other6.__isset; +} +RegisterResponse& RegisterResponse::operator=(const RegisterResponse& other7) { + client_id = other7.client_id; + agent_type = other7.agent_type; + team_name = other7.team_name; + uniform_number = other7.uniform_number; + __isset = other7.__isset; + return *this; +} +void RegisterResponse::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "RegisterResponse("; + out << "client_id=" << to_string(client_id); + out << ", " << "agent_type=" << to_string(agent_type); + out << ", " << "team_name=" << to_string(team_name); + out << ", " << "uniform_number=" << to_string(uniform_number); + out << ")"; +} + + +Ball::~Ball() noexcept { +} + + +void Ball::__set_position(const RpcVector2D& val) { + this->position = val; +} + +void Ball::__set_relative_position(const RpcVector2D& val) { + this->relative_position = val; +} + +void Ball::__set_seen_position(const RpcVector2D& val) { + this->seen_position = val; +} + +void Ball::__set_heard_position(const RpcVector2D& val) { + this->heard_position = val; +} + +void Ball::__set_velocity(const RpcVector2D& val) { + this->velocity = val; +} + +void Ball::__set_seen_velocity(const RpcVector2D& val) { + this->seen_velocity = val; +} + +void Ball::__set_heard_velocity(const RpcVector2D& val) { + this->heard_velocity = val; +} + +void Ball::__set_pos_count(const int32_t val) { + this->pos_count = val; +} + +void Ball::__set_seen_pos_count(const int32_t val) { + this->seen_pos_count = val; +} + +void Ball::__set_heard_pos_count(const int32_t val) { + this->heard_pos_count = val; +} + +void Ball::__set_vel_count(const int32_t val) { + this->vel_count = val; +} + +void Ball::__set_seen_vel_count(const int32_t val) { + this->seen_vel_count = val; +} + +void Ball::__set_heard_vel_count(const int32_t val) { + this->heard_vel_count = val; +} + +void Ball::__set_lost_count(const int32_t val) { + this->lost_count = val; +} + +void Ball::__set_ghost_count(const int32_t val) { + this->ghost_count = val; +} + +void Ball::__set_dist_from_self(const double val) { + this->dist_from_self = val; +} + +void Ball::__set_angle_from_self(const double val) { + this->angle_from_self = val; +} +std::ostream& operator<<(std::ostream& out, const Ball& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Ball::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->position.read(iprot); + this->__isset.position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->relative_position.read(iprot); + this->__isset.relative_position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->seen_position.read(iprot); + this->__isset.seen_position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->heard_position.read(iprot); + this->__isset.heard_position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->velocity.read(iprot); + this->__isset.velocity = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->seen_velocity.read(iprot); + this->__isset.seen_velocity = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 7: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->heard_velocity.read(iprot); + this->__isset.heard_velocity = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 8: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->pos_count); + this->__isset.pos_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 9: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->seen_pos_count); + this->__isset.seen_pos_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 10: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->heard_pos_count); + this->__isset.heard_pos_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 11: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->vel_count); + this->__isset.vel_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 12: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->seen_vel_count); + this->__isset.seen_vel_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 13: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->heard_vel_count); + this->__isset.heard_vel_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 14: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->lost_count); + this->__isset.lost_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 15: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->ghost_count); + this->__isset.ghost_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 16: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->dist_from_self); + this->__isset.dist_from_self = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 17: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->angle_from_self); + this->__isset.angle_from_self = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Ball::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Ball"); + + xfer += oprot->writeFieldBegin("position", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("relative_position", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->relative_position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("seen_position", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->seen_position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("heard_position", ::apache::thrift::protocol::T_STRUCT, 4); + xfer += this->heard_position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("velocity", ::apache::thrift::protocol::T_STRUCT, 5); + xfer += this->velocity.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("seen_velocity", ::apache::thrift::protocol::T_STRUCT, 6); + xfer += this->seen_velocity.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("heard_velocity", ::apache::thrift::protocol::T_STRUCT, 7); + xfer += this->heard_velocity.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("pos_count", ::apache::thrift::protocol::T_I32, 8); + xfer += oprot->writeI32(this->pos_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("seen_pos_count", ::apache::thrift::protocol::T_I32, 9); + xfer += oprot->writeI32(this->seen_pos_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("heard_pos_count", ::apache::thrift::protocol::T_I32, 10); + xfer += oprot->writeI32(this->heard_pos_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("vel_count", ::apache::thrift::protocol::T_I32, 11); + xfer += oprot->writeI32(this->vel_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("seen_vel_count", ::apache::thrift::protocol::T_I32, 12); + xfer += oprot->writeI32(this->seen_vel_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("heard_vel_count", ::apache::thrift::protocol::T_I32, 13); + xfer += oprot->writeI32(this->heard_vel_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("lost_count", ::apache::thrift::protocol::T_I32, 14); + xfer += oprot->writeI32(this->lost_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("ghost_count", ::apache::thrift::protocol::T_I32, 15); + xfer += oprot->writeI32(this->ghost_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("dist_from_self", ::apache::thrift::protocol::T_DOUBLE, 16); + xfer += oprot->writeDouble(this->dist_from_self); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("angle_from_self", ::apache::thrift::protocol::T_DOUBLE, 17); + xfer += oprot->writeDouble(this->angle_from_self); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Ball &a, Ball &b) { + using ::std::swap; + swap(a.position, b.position); + swap(a.relative_position, b.relative_position); + swap(a.seen_position, b.seen_position); + swap(a.heard_position, b.heard_position); + swap(a.velocity, b.velocity); + swap(a.seen_velocity, b.seen_velocity); + swap(a.heard_velocity, b.heard_velocity); + swap(a.pos_count, b.pos_count); + swap(a.seen_pos_count, b.seen_pos_count); + swap(a.heard_pos_count, b.heard_pos_count); + swap(a.vel_count, b.vel_count); + swap(a.seen_vel_count, b.seen_vel_count); + swap(a.heard_vel_count, b.heard_vel_count); + swap(a.lost_count, b.lost_count); + swap(a.ghost_count, b.ghost_count); + swap(a.dist_from_self, b.dist_from_self); + swap(a.angle_from_self, b.angle_from_self); + swap(a.__isset, b.__isset); +} + +Ball::Ball(const Ball& other8) noexcept { + position = other8.position; + relative_position = other8.relative_position; + seen_position = other8.seen_position; + heard_position = other8.heard_position; + velocity = other8.velocity; + seen_velocity = other8.seen_velocity; + heard_velocity = other8.heard_velocity; + pos_count = other8.pos_count; + seen_pos_count = other8.seen_pos_count; + heard_pos_count = other8.heard_pos_count; + vel_count = other8.vel_count; + seen_vel_count = other8.seen_vel_count; + heard_vel_count = other8.heard_vel_count; + lost_count = other8.lost_count; + ghost_count = other8.ghost_count; + dist_from_self = other8.dist_from_self; + angle_from_self = other8.angle_from_self; + __isset = other8.__isset; +} +Ball& Ball::operator=(const Ball& other9) noexcept { + position = other9.position; + relative_position = other9.relative_position; + seen_position = other9.seen_position; + heard_position = other9.heard_position; + velocity = other9.velocity; + seen_velocity = other9.seen_velocity; + heard_velocity = other9.heard_velocity; + pos_count = other9.pos_count; + seen_pos_count = other9.seen_pos_count; + heard_pos_count = other9.heard_pos_count; + vel_count = other9.vel_count; + seen_vel_count = other9.seen_vel_count; + heard_vel_count = other9.heard_vel_count; + lost_count = other9.lost_count; + ghost_count = other9.ghost_count; + dist_from_self = other9.dist_from_self; + angle_from_self = other9.angle_from_self; + __isset = other9.__isset; + return *this; +} +void Ball::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Ball("; + out << "position=" << to_string(position); + out << ", " << "relative_position=" << to_string(relative_position); + out << ", " << "seen_position=" << to_string(seen_position); + out << ", " << "heard_position=" << to_string(heard_position); + out << ", " << "velocity=" << to_string(velocity); + out << ", " << "seen_velocity=" << to_string(seen_velocity); + out << ", " << "heard_velocity=" << to_string(heard_velocity); + out << ", " << "pos_count=" << to_string(pos_count); + out << ", " << "seen_pos_count=" << to_string(seen_pos_count); + out << ", " << "heard_pos_count=" << to_string(heard_pos_count); + out << ", " << "vel_count=" << to_string(vel_count); + out << ", " << "seen_vel_count=" << to_string(seen_vel_count); + out << ", " << "heard_vel_count=" << to_string(heard_vel_count); + out << ", " << "lost_count=" << to_string(lost_count); + out << ", " << "ghost_count=" << to_string(ghost_count); + out << ", " << "dist_from_self=" << to_string(dist_from_self); + out << ", " << "angle_from_self=" << to_string(angle_from_self); + out << ")"; +} + + +Player::~Player() noexcept { +} + + +void Player::__set_position(const RpcVector2D& val) { + this->position = val; +} + +void Player::__set_seen_position(const RpcVector2D& val) { + this->seen_position = val; +} + +void Player::__set_heard_position(const RpcVector2D& val) { + this->heard_position = val; +} + +void Player::__set_velocity(const RpcVector2D& val) { + this->velocity = val; +} + +void Player::__set_seen_velocity(const RpcVector2D& val) { + this->seen_velocity = val; +} + +void Player::__set_pos_count(const int32_t val) { + this->pos_count = val; +} + +void Player::__set_seen_pos_count(const int32_t val) { + this->seen_pos_count = val; +} + +void Player::__set_heard_pos_count(const int32_t val) { + this->heard_pos_count = val; +} + +void Player::__set_vel_count(const int32_t val) { + this->vel_count = val; +} + +void Player::__set_seen_vel_count(const int32_t val) { + this->seen_vel_count = val; +} + +void Player::__set_ghost_count(const int32_t val) { + this->ghost_count = val; +} + +void Player::__set_dist_from_self(const double val) { + this->dist_from_self = val; +} + +void Player::__set_angle_from_self(const double val) { + this->angle_from_self = val; +} + +void Player::__set_id(const int32_t val) { + this->id = val; +} + +void Player::__set_side(const Side::type val) { + this->side = val; +} + +void Player::__set_uniform_number(const int32_t val) { + this->uniform_number = val; +} + +void Player::__set_uniform_number_count(const int32_t val) { + this->uniform_number_count = val; +} + +void Player::__set_is_goalie(const bool val) { + this->is_goalie = val; +} + +void Player::__set_body_direction(const double val) { + this->body_direction = val; +} + +void Player::__set_body_direction_count(const int32_t val) { + this->body_direction_count = val; +} + +void Player::__set_face_direction(const double val) { + this->face_direction = val; +} + +void Player::__set_face_direction_count(const int32_t val) { + this->face_direction_count = val; +} + +void Player::__set_point_to_direction(const double val) { + this->point_to_direction = val; +} + +void Player::__set_point_to_direction_count(const int32_t val) { + this->point_to_direction_count = val; +} + +void Player::__set_is_kicking(const bool val) { + this->is_kicking = val; +} + +void Player::__set_dist_from_ball(const double val) { + this->dist_from_ball = val; +} + +void Player::__set_angle_from_ball(const double val) { + this->angle_from_ball = val; +} + +void Player::__set_ball_reach_steps(const int32_t val) { + this->ball_reach_steps = val; +} + +void Player::__set_is_tackling(const bool val) { + this->is_tackling = val; +} + +void Player::__set_type_id(const int32_t val) { + this->type_id = val; +} +std::ostream& operator<<(std::ostream& out, const Player& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Player::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->position.read(iprot); + this->__isset.position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->seen_position.read(iprot); + this->__isset.seen_position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->heard_position.read(iprot); + this->__isset.heard_position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->velocity.read(iprot); + this->__isset.velocity = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->seen_velocity.read(iprot); + this->__isset.seen_velocity = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->pos_count); + this->__isset.pos_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 7: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->seen_pos_count); + this->__isset.seen_pos_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 8: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->heard_pos_count); + this->__isset.heard_pos_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 9: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->vel_count); + this->__isset.vel_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 10: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->seen_vel_count); + this->__isset.seen_vel_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 11: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->ghost_count); + this->__isset.ghost_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 12: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->dist_from_self); + this->__isset.dist_from_self = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 13: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->angle_from_self); + this->__isset.angle_from_self = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 14: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->id); + this->__isset.id = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 15: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast10; + xfer += iprot->readI32(ecast10); + this->side = static_cast(ecast10); + this->__isset.side = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 16: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->uniform_number); + this->__isset.uniform_number = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 17: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->uniform_number_count); + this->__isset.uniform_number_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 18: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->is_goalie); + this->__isset.is_goalie = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 19: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->body_direction); + this->__isset.body_direction = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 20: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->body_direction_count); + this->__isset.body_direction_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 21: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->face_direction); + this->__isset.face_direction = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 22: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->face_direction_count); + this->__isset.face_direction_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 23: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->point_to_direction); + this->__isset.point_to_direction = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 24: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->point_to_direction_count); + this->__isset.point_to_direction_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 25: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->is_kicking); + this->__isset.is_kicking = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 26: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->dist_from_ball); + this->__isset.dist_from_ball = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 27: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->angle_from_ball); + this->__isset.angle_from_ball = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 28: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->ball_reach_steps); + this->__isset.ball_reach_steps = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 29: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->is_tackling); + this->__isset.is_tackling = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 30: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->type_id); + this->__isset.type_id = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Player::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Player"); + + xfer += oprot->writeFieldBegin("position", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("seen_position", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->seen_position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("heard_position", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->heard_position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("velocity", ::apache::thrift::protocol::T_STRUCT, 4); + xfer += this->velocity.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("seen_velocity", ::apache::thrift::protocol::T_STRUCT, 5); + xfer += this->seen_velocity.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("pos_count", ::apache::thrift::protocol::T_I32, 6); + xfer += oprot->writeI32(this->pos_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("seen_pos_count", ::apache::thrift::protocol::T_I32, 7); + xfer += oprot->writeI32(this->seen_pos_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("heard_pos_count", ::apache::thrift::protocol::T_I32, 8); + xfer += oprot->writeI32(this->heard_pos_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("vel_count", ::apache::thrift::protocol::T_I32, 9); + xfer += oprot->writeI32(this->vel_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("seen_vel_count", ::apache::thrift::protocol::T_I32, 10); + xfer += oprot->writeI32(this->seen_vel_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("ghost_count", ::apache::thrift::protocol::T_I32, 11); + xfer += oprot->writeI32(this->ghost_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("dist_from_self", ::apache::thrift::protocol::T_DOUBLE, 12); + xfer += oprot->writeDouble(this->dist_from_self); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("angle_from_self", ::apache::thrift::protocol::T_DOUBLE, 13); + xfer += oprot->writeDouble(this->angle_from_self); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("id", ::apache::thrift::protocol::T_I32, 14); + xfer += oprot->writeI32(this->id); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("side", ::apache::thrift::protocol::T_I32, 15); + xfer += oprot->writeI32(static_cast(this->side)); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("uniform_number", ::apache::thrift::protocol::T_I32, 16); + xfer += oprot->writeI32(this->uniform_number); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("uniform_number_count", ::apache::thrift::protocol::T_I32, 17); + xfer += oprot->writeI32(this->uniform_number_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("is_goalie", ::apache::thrift::protocol::T_BOOL, 18); + xfer += oprot->writeBool(this->is_goalie); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("body_direction", ::apache::thrift::protocol::T_DOUBLE, 19); + xfer += oprot->writeDouble(this->body_direction); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("body_direction_count", ::apache::thrift::protocol::T_I32, 20); + xfer += oprot->writeI32(this->body_direction_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("face_direction", ::apache::thrift::protocol::T_DOUBLE, 21); + xfer += oprot->writeDouble(this->face_direction); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("face_direction_count", ::apache::thrift::protocol::T_I32, 22); + xfer += oprot->writeI32(this->face_direction_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("point_to_direction", ::apache::thrift::protocol::T_DOUBLE, 23); + xfer += oprot->writeDouble(this->point_to_direction); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("point_to_direction_count", ::apache::thrift::protocol::T_I32, 24); + xfer += oprot->writeI32(this->point_to_direction_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("is_kicking", ::apache::thrift::protocol::T_BOOL, 25); + xfer += oprot->writeBool(this->is_kicking); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("dist_from_ball", ::apache::thrift::protocol::T_DOUBLE, 26); + xfer += oprot->writeDouble(this->dist_from_ball); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("angle_from_ball", ::apache::thrift::protocol::T_DOUBLE, 27); + xfer += oprot->writeDouble(this->angle_from_ball); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("ball_reach_steps", ::apache::thrift::protocol::T_I32, 28); + xfer += oprot->writeI32(this->ball_reach_steps); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("is_tackling", ::apache::thrift::protocol::T_BOOL, 29); + xfer += oprot->writeBool(this->is_tackling); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("type_id", ::apache::thrift::protocol::T_I32, 30); + xfer += oprot->writeI32(this->type_id); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Player &a, Player &b) { + using ::std::swap; + swap(a.position, b.position); + swap(a.seen_position, b.seen_position); + swap(a.heard_position, b.heard_position); + swap(a.velocity, b.velocity); + swap(a.seen_velocity, b.seen_velocity); + swap(a.pos_count, b.pos_count); + swap(a.seen_pos_count, b.seen_pos_count); + swap(a.heard_pos_count, b.heard_pos_count); + swap(a.vel_count, b.vel_count); + swap(a.seen_vel_count, b.seen_vel_count); + swap(a.ghost_count, b.ghost_count); + swap(a.dist_from_self, b.dist_from_self); + swap(a.angle_from_self, b.angle_from_self); + swap(a.id, b.id); + swap(a.side, b.side); + swap(a.uniform_number, b.uniform_number); + swap(a.uniform_number_count, b.uniform_number_count); + swap(a.is_goalie, b.is_goalie); + swap(a.body_direction, b.body_direction); + swap(a.body_direction_count, b.body_direction_count); + swap(a.face_direction, b.face_direction); + swap(a.face_direction_count, b.face_direction_count); + swap(a.point_to_direction, b.point_to_direction); + swap(a.point_to_direction_count, b.point_to_direction_count); + swap(a.is_kicking, b.is_kicking); + swap(a.dist_from_ball, b.dist_from_ball); + swap(a.angle_from_ball, b.angle_from_ball); + swap(a.ball_reach_steps, b.ball_reach_steps); + swap(a.is_tackling, b.is_tackling); + swap(a.type_id, b.type_id); + swap(a.__isset, b.__isset); +} + +Player::Player(const Player& other11) noexcept { + position = other11.position; + seen_position = other11.seen_position; + heard_position = other11.heard_position; + velocity = other11.velocity; + seen_velocity = other11.seen_velocity; + pos_count = other11.pos_count; + seen_pos_count = other11.seen_pos_count; + heard_pos_count = other11.heard_pos_count; + vel_count = other11.vel_count; + seen_vel_count = other11.seen_vel_count; + ghost_count = other11.ghost_count; + dist_from_self = other11.dist_from_self; + angle_from_self = other11.angle_from_self; + id = other11.id; + side = other11.side; + uniform_number = other11.uniform_number; + uniform_number_count = other11.uniform_number_count; + is_goalie = other11.is_goalie; + body_direction = other11.body_direction; + body_direction_count = other11.body_direction_count; + face_direction = other11.face_direction; + face_direction_count = other11.face_direction_count; + point_to_direction = other11.point_to_direction; + point_to_direction_count = other11.point_to_direction_count; + is_kicking = other11.is_kicking; + dist_from_ball = other11.dist_from_ball; + angle_from_ball = other11.angle_from_ball; + ball_reach_steps = other11.ball_reach_steps; + is_tackling = other11.is_tackling; + type_id = other11.type_id; + __isset = other11.__isset; +} +Player& Player::operator=(const Player& other12) noexcept { + position = other12.position; + seen_position = other12.seen_position; + heard_position = other12.heard_position; + velocity = other12.velocity; + seen_velocity = other12.seen_velocity; + pos_count = other12.pos_count; + seen_pos_count = other12.seen_pos_count; + heard_pos_count = other12.heard_pos_count; + vel_count = other12.vel_count; + seen_vel_count = other12.seen_vel_count; + ghost_count = other12.ghost_count; + dist_from_self = other12.dist_from_self; + angle_from_self = other12.angle_from_self; + id = other12.id; + side = other12.side; + uniform_number = other12.uniform_number; + uniform_number_count = other12.uniform_number_count; + is_goalie = other12.is_goalie; + body_direction = other12.body_direction; + body_direction_count = other12.body_direction_count; + face_direction = other12.face_direction; + face_direction_count = other12.face_direction_count; + point_to_direction = other12.point_to_direction; + point_to_direction_count = other12.point_to_direction_count; + is_kicking = other12.is_kicking; + dist_from_ball = other12.dist_from_ball; + angle_from_ball = other12.angle_from_ball; + ball_reach_steps = other12.ball_reach_steps; + is_tackling = other12.is_tackling; + type_id = other12.type_id; + __isset = other12.__isset; + return *this; +} +void Player::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Player("; + out << "position=" << to_string(position); + out << ", " << "seen_position=" << to_string(seen_position); + out << ", " << "heard_position=" << to_string(heard_position); + out << ", " << "velocity=" << to_string(velocity); + out << ", " << "seen_velocity=" << to_string(seen_velocity); + out << ", " << "pos_count=" << to_string(pos_count); + out << ", " << "seen_pos_count=" << to_string(seen_pos_count); + out << ", " << "heard_pos_count=" << to_string(heard_pos_count); + out << ", " << "vel_count=" << to_string(vel_count); + out << ", " << "seen_vel_count=" << to_string(seen_vel_count); + out << ", " << "ghost_count=" << to_string(ghost_count); + out << ", " << "dist_from_self=" << to_string(dist_from_self); + out << ", " << "angle_from_self=" << to_string(angle_from_self); + out << ", " << "id=" << to_string(id); + out << ", " << "side=" << to_string(side); + out << ", " << "uniform_number=" << to_string(uniform_number); + out << ", " << "uniform_number_count=" << to_string(uniform_number_count); + out << ", " << "is_goalie=" << to_string(is_goalie); + out << ", " << "body_direction=" << to_string(body_direction); + out << ", " << "body_direction_count=" << to_string(body_direction_count); + out << ", " << "face_direction=" << to_string(face_direction); + out << ", " << "face_direction_count=" << to_string(face_direction_count); + out << ", " << "point_to_direction=" << to_string(point_to_direction); + out << ", " << "point_to_direction_count=" << to_string(point_to_direction_count); + out << ", " << "is_kicking=" << to_string(is_kicking); + out << ", " << "dist_from_ball=" << to_string(dist_from_ball); + out << ", " << "angle_from_ball=" << to_string(angle_from_ball); + out << ", " << "ball_reach_steps=" << to_string(ball_reach_steps); + out << ", " << "is_tackling=" << to_string(is_tackling); + out << ", " << "type_id=" << to_string(type_id); + out << ")"; +} + + +Self::~Self() noexcept { +} + + +void Self::__set_position(const RpcVector2D& val) { + this->position = val; +} + +void Self::__set_seen_position(const RpcVector2D& val) { + this->seen_position = val; +} + +void Self::__set_heard_position(const RpcVector2D& val) { + this->heard_position = val; +} + +void Self::__set_velocity(const RpcVector2D& val) { + this->velocity = val; +} + +void Self::__set_seen_velocity(const RpcVector2D& val) { + this->seen_velocity = val; +} + +void Self::__set_pos_count(const int32_t val) { + this->pos_count = val; +} + +void Self::__set_seen_pos_count(const int32_t val) { + this->seen_pos_count = val; +} + +void Self::__set_heard_pos_count(const int32_t val) { + this->heard_pos_count = val; +} + +void Self::__set_vel_count(const int32_t val) { + this->vel_count = val; +} + +void Self::__set_seen_vel_count(const int32_t val) { + this->seen_vel_count = val; +} + +void Self::__set_ghost_count(const int32_t val) { + this->ghost_count = val; +} + +void Self::__set_id(const int32_t val) { + this->id = val; +} + +void Self::__set_side(const Side::type val) { + this->side = val; +} + +void Self::__set_uniform_number(const int32_t val) { + this->uniform_number = val; +} + +void Self::__set_uniform_number_count(const int32_t val) { + this->uniform_number_count = val; +} + +void Self::__set_is_goalie(const bool val) { + this->is_goalie = val; +} + +void Self::__set_body_direction(const double val) { + this->body_direction = val; +} + +void Self::__set_body_direction_count(const int32_t val) { + this->body_direction_count = val; +} + +void Self::__set_face_direction(const double val) { + this->face_direction = val; +} + +void Self::__set_face_direction_count(const int32_t val) { + this->face_direction_count = val; +} + +void Self::__set_point_to_direction(const double val) { + this->point_to_direction = val; +} + +void Self::__set_point_to_direction_count(const int32_t val) { + this->point_to_direction_count = val; +} + +void Self::__set_is_kicking(const bool val) { + this->is_kicking = val; +} + +void Self::__set_dist_from_ball(const double val) { + this->dist_from_ball = val; +} + +void Self::__set_angle_from_ball(const double val) { + this->angle_from_ball = val; +} + +void Self::__set_ball_reach_steps(const int32_t val) { + this->ball_reach_steps = val; +} + +void Self::__set_is_tackling(const bool val) { + this->is_tackling = val; +} + +void Self::__set_relative_neck_direction(const double val) { + this->relative_neck_direction = val; +} + +void Self::__set_stamina(const double val) { + this->stamina = val; +} + +void Self::__set_is_kickable(const bool val) { + this->is_kickable = val; +} + +void Self::__set_catch_probability(const double val) { + this->catch_probability = val; +} + +void Self::__set_tackle_probability(const double val) { + this->tackle_probability = val; +} + +void Self::__set_foul_probability(const double val) { + this->foul_probability = val; +} + +void Self::__set_view_width(const ViewWidth::type val) { + this->view_width = val; +} + +void Self::__set_type_id(const int32_t val) { + this->type_id = val; +} + +void Self::__set_kick_rate(const double val) { + this->kick_rate = val; +} +std::ostream& operator<<(std::ostream& out, const Self& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Self::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->position.read(iprot); + this->__isset.position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->seen_position.read(iprot); + this->__isset.seen_position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->heard_position.read(iprot); + this->__isset.heard_position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->velocity.read(iprot); + this->__isset.velocity = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->seen_velocity.read(iprot); + this->__isset.seen_velocity = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->pos_count); + this->__isset.pos_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 7: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->seen_pos_count); + this->__isset.seen_pos_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 8: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->heard_pos_count); + this->__isset.heard_pos_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 9: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->vel_count); + this->__isset.vel_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 10: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->seen_vel_count); + this->__isset.seen_vel_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 11: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->ghost_count); + this->__isset.ghost_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 12: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->id); + this->__isset.id = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 13: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast13; + xfer += iprot->readI32(ecast13); + this->side = static_cast(ecast13); + this->__isset.side = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 14: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->uniform_number); + this->__isset.uniform_number = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 15: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->uniform_number_count); + this->__isset.uniform_number_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 16: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->is_goalie); + this->__isset.is_goalie = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 17: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->body_direction); + this->__isset.body_direction = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 18: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->body_direction_count); + this->__isset.body_direction_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 19: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->face_direction); + this->__isset.face_direction = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 20: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->face_direction_count); + this->__isset.face_direction_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 21: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->point_to_direction); + this->__isset.point_to_direction = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 22: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->point_to_direction_count); + this->__isset.point_to_direction_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 23: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->is_kicking); + this->__isset.is_kicking = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 24: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->dist_from_ball); + this->__isset.dist_from_ball = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 25: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->angle_from_ball); + this->__isset.angle_from_ball = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 26: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->ball_reach_steps); + this->__isset.ball_reach_steps = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 27: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->is_tackling); + this->__isset.is_tackling = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 28: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->relative_neck_direction); + this->__isset.relative_neck_direction = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 29: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->stamina); + this->__isset.stamina = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 30: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->is_kickable); + this->__isset.is_kickable = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 31: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->catch_probability); + this->__isset.catch_probability = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 32: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->tackle_probability); + this->__isset.tackle_probability = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 33: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->foul_probability); + this->__isset.foul_probability = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 34: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast14; + xfer += iprot->readI32(ecast14); + this->view_width = static_cast(ecast14); + this->__isset.view_width = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 35: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->type_id); + this->__isset.type_id = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 36: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->kick_rate); + this->__isset.kick_rate = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Self::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Self"); + + xfer += oprot->writeFieldBegin("position", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("seen_position", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->seen_position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("heard_position", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->heard_position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("velocity", ::apache::thrift::protocol::T_STRUCT, 4); + xfer += this->velocity.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("seen_velocity", ::apache::thrift::protocol::T_STRUCT, 5); + xfer += this->seen_velocity.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("pos_count", ::apache::thrift::protocol::T_I32, 6); + xfer += oprot->writeI32(this->pos_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("seen_pos_count", ::apache::thrift::protocol::T_I32, 7); + xfer += oprot->writeI32(this->seen_pos_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("heard_pos_count", ::apache::thrift::protocol::T_I32, 8); + xfer += oprot->writeI32(this->heard_pos_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("vel_count", ::apache::thrift::protocol::T_I32, 9); + xfer += oprot->writeI32(this->vel_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("seen_vel_count", ::apache::thrift::protocol::T_I32, 10); + xfer += oprot->writeI32(this->seen_vel_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("ghost_count", ::apache::thrift::protocol::T_I32, 11); + xfer += oprot->writeI32(this->ghost_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("id", ::apache::thrift::protocol::T_I32, 12); + xfer += oprot->writeI32(this->id); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("side", ::apache::thrift::protocol::T_I32, 13); + xfer += oprot->writeI32(static_cast(this->side)); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("uniform_number", ::apache::thrift::protocol::T_I32, 14); + xfer += oprot->writeI32(this->uniform_number); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("uniform_number_count", ::apache::thrift::protocol::T_I32, 15); + xfer += oprot->writeI32(this->uniform_number_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("is_goalie", ::apache::thrift::protocol::T_BOOL, 16); + xfer += oprot->writeBool(this->is_goalie); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("body_direction", ::apache::thrift::protocol::T_DOUBLE, 17); + xfer += oprot->writeDouble(this->body_direction); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("body_direction_count", ::apache::thrift::protocol::T_I32, 18); + xfer += oprot->writeI32(this->body_direction_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("face_direction", ::apache::thrift::protocol::T_DOUBLE, 19); + xfer += oprot->writeDouble(this->face_direction); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("face_direction_count", ::apache::thrift::protocol::T_I32, 20); + xfer += oprot->writeI32(this->face_direction_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("point_to_direction", ::apache::thrift::protocol::T_DOUBLE, 21); + xfer += oprot->writeDouble(this->point_to_direction); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("point_to_direction_count", ::apache::thrift::protocol::T_I32, 22); + xfer += oprot->writeI32(this->point_to_direction_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("is_kicking", ::apache::thrift::protocol::T_BOOL, 23); + xfer += oprot->writeBool(this->is_kicking); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("dist_from_ball", ::apache::thrift::protocol::T_DOUBLE, 24); + xfer += oprot->writeDouble(this->dist_from_ball); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("angle_from_ball", ::apache::thrift::protocol::T_DOUBLE, 25); + xfer += oprot->writeDouble(this->angle_from_ball); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("ball_reach_steps", ::apache::thrift::protocol::T_I32, 26); + xfer += oprot->writeI32(this->ball_reach_steps); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("is_tackling", ::apache::thrift::protocol::T_BOOL, 27); + xfer += oprot->writeBool(this->is_tackling); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("relative_neck_direction", ::apache::thrift::protocol::T_DOUBLE, 28); + xfer += oprot->writeDouble(this->relative_neck_direction); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("stamina", ::apache::thrift::protocol::T_DOUBLE, 29); + xfer += oprot->writeDouble(this->stamina); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("is_kickable", ::apache::thrift::protocol::T_BOOL, 30); + xfer += oprot->writeBool(this->is_kickable); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("catch_probability", ::apache::thrift::protocol::T_DOUBLE, 31); + xfer += oprot->writeDouble(this->catch_probability); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("tackle_probability", ::apache::thrift::protocol::T_DOUBLE, 32); + xfer += oprot->writeDouble(this->tackle_probability); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("foul_probability", ::apache::thrift::protocol::T_DOUBLE, 33); + xfer += oprot->writeDouble(this->foul_probability); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("view_width", ::apache::thrift::protocol::T_I32, 34); + xfer += oprot->writeI32(static_cast(this->view_width)); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("type_id", ::apache::thrift::protocol::T_I32, 35); + xfer += oprot->writeI32(this->type_id); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("kick_rate", ::apache::thrift::protocol::T_DOUBLE, 36); + xfer += oprot->writeDouble(this->kick_rate); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Self &a, Self &b) { + using ::std::swap; + swap(a.position, b.position); + swap(a.seen_position, b.seen_position); + swap(a.heard_position, b.heard_position); + swap(a.velocity, b.velocity); + swap(a.seen_velocity, b.seen_velocity); + swap(a.pos_count, b.pos_count); + swap(a.seen_pos_count, b.seen_pos_count); + swap(a.heard_pos_count, b.heard_pos_count); + swap(a.vel_count, b.vel_count); + swap(a.seen_vel_count, b.seen_vel_count); + swap(a.ghost_count, b.ghost_count); + swap(a.id, b.id); + swap(a.side, b.side); + swap(a.uniform_number, b.uniform_number); + swap(a.uniform_number_count, b.uniform_number_count); + swap(a.is_goalie, b.is_goalie); + swap(a.body_direction, b.body_direction); + swap(a.body_direction_count, b.body_direction_count); + swap(a.face_direction, b.face_direction); + swap(a.face_direction_count, b.face_direction_count); + swap(a.point_to_direction, b.point_to_direction); + swap(a.point_to_direction_count, b.point_to_direction_count); + swap(a.is_kicking, b.is_kicking); + swap(a.dist_from_ball, b.dist_from_ball); + swap(a.angle_from_ball, b.angle_from_ball); + swap(a.ball_reach_steps, b.ball_reach_steps); + swap(a.is_tackling, b.is_tackling); + swap(a.relative_neck_direction, b.relative_neck_direction); + swap(a.stamina, b.stamina); + swap(a.is_kickable, b.is_kickable); + swap(a.catch_probability, b.catch_probability); + swap(a.tackle_probability, b.tackle_probability); + swap(a.foul_probability, b.foul_probability); + swap(a.view_width, b.view_width); + swap(a.type_id, b.type_id); + swap(a.kick_rate, b.kick_rate); + swap(a.__isset, b.__isset); +} + +Self::Self(const Self& other15) noexcept { + position = other15.position; + seen_position = other15.seen_position; + heard_position = other15.heard_position; + velocity = other15.velocity; + seen_velocity = other15.seen_velocity; + pos_count = other15.pos_count; + seen_pos_count = other15.seen_pos_count; + heard_pos_count = other15.heard_pos_count; + vel_count = other15.vel_count; + seen_vel_count = other15.seen_vel_count; + ghost_count = other15.ghost_count; + id = other15.id; + side = other15.side; + uniform_number = other15.uniform_number; + uniform_number_count = other15.uniform_number_count; + is_goalie = other15.is_goalie; + body_direction = other15.body_direction; + body_direction_count = other15.body_direction_count; + face_direction = other15.face_direction; + face_direction_count = other15.face_direction_count; + point_to_direction = other15.point_to_direction; + point_to_direction_count = other15.point_to_direction_count; + is_kicking = other15.is_kicking; + dist_from_ball = other15.dist_from_ball; + angle_from_ball = other15.angle_from_ball; + ball_reach_steps = other15.ball_reach_steps; + is_tackling = other15.is_tackling; + relative_neck_direction = other15.relative_neck_direction; + stamina = other15.stamina; + is_kickable = other15.is_kickable; + catch_probability = other15.catch_probability; + tackle_probability = other15.tackle_probability; + foul_probability = other15.foul_probability; + view_width = other15.view_width; + type_id = other15.type_id; + kick_rate = other15.kick_rate; + __isset = other15.__isset; +} +Self& Self::operator=(const Self& other16) noexcept { + position = other16.position; + seen_position = other16.seen_position; + heard_position = other16.heard_position; + velocity = other16.velocity; + seen_velocity = other16.seen_velocity; + pos_count = other16.pos_count; + seen_pos_count = other16.seen_pos_count; + heard_pos_count = other16.heard_pos_count; + vel_count = other16.vel_count; + seen_vel_count = other16.seen_vel_count; + ghost_count = other16.ghost_count; + id = other16.id; + side = other16.side; + uniform_number = other16.uniform_number; + uniform_number_count = other16.uniform_number_count; + is_goalie = other16.is_goalie; + body_direction = other16.body_direction; + body_direction_count = other16.body_direction_count; + face_direction = other16.face_direction; + face_direction_count = other16.face_direction_count; + point_to_direction = other16.point_to_direction; + point_to_direction_count = other16.point_to_direction_count; + is_kicking = other16.is_kicking; + dist_from_ball = other16.dist_from_ball; + angle_from_ball = other16.angle_from_ball; + ball_reach_steps = other16.ball_reach_steps; + is_tackling = other16.is_tackling; + relative_neck_direction = other16.relative_neck_direction; + stamina = other16.stamina; + is_kickable = other16.is_kickable; + catch_probability = other16.catch_probability; + tackle_probability = other16.tackle_probability; + foul_probability = other16.foul_probability; + view_width = other16.view_width; + type_id = other16.type_id; + kick_rate = other16.kick_rate; + __isset = other16.__isset; + return *this; +} +void Self::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Self("; + out << "position=" << to_string(position); + out << ", " << "seen_position=" << to_string(seen_position); + out << ", " << "heard_position=" << to_string(heard_position); + out << ", " << "velocity=" << to_string(velocity); + out << ", " << "seen_velocity=" << to_string(seen_velocity); + out << ", " << "pos_count=" << to_string(pos_count); + out << ", " << "seen_pos_count=" << to_string(seen_pos_count); + out << ", " << "heard_pos_count=" << to_string(heard_pos_count); + out << ", " << "vel_count=" << to_string(vel_count); + out << ", " << "seen_vel_count=" << to_string(seen_vel_count); + out << ", " << "ghost_count=" << to_string(ghost_count); + out << ", " << "id=" << to_string(id); + out << ", " << "side=" << to_string(side); + out << ", " << "uniform_number=" << to_string(uniform_number); + out << ", " << "uniform_number_count=" << to_string(uniform_number_count); + out << ", " << "is_goalie=" << to_string(is_goalie); + out << ", " << "body_direction=" << to_string(body_direction); + out << ", " << "body_direction_count=" << to_string(body_direction_count); + out << ", " << "face_direction=" << to_string(face_direction); + out << ", " << "face_direction_count=" << to_string(face_direction_count); + out << ", " << "point_to_direction=" << to_string(point_to_direction); + out << ", " << "point_to_direction_count=" << to_string(point_to_direction_count); + out << ", " << "is_kicking=" << to_string(is_kicking); + out << ", " << "dist_from_ball=" << to_string(dist_from_ball); + out << ", " << "angle_from_ball=" << to_string(angle_from_ball); + out << ", " << "ball_reach_steps=" << to_string(ball_reach_steps); + out << ", " << "is_tackling=" << to_string(is_tackling); + out << ", " << "relative_neck_direction=" << to_string(relative_neck_direction); + out << ", " << "stamina=" << to_string(stamina); + out << ", " << "is_kickable=" << to_string(is_kickable); + out << ", " << "catch_probability=" << to_string(catch_probability); + out << ", " << "tackle_probability=" << to_string(tackle_probability); + out << ", " << "foul_probability=" << to_string(foul_probability); + out << ", " << "view_width=" << to_string(view_width); + out << ", " << "type_id=" << to_string(type_id); + out << ", " << "kick_rate=" << to_string(kick_rate); + out << ")"; +} + + +InterceptInfo::~InterceptInfo() noexcept { +} + + +void InterceptInfo::__set_action_type(const InterceptActionType::type val) { + this->action_type = val; +} + +void InterceptInfo::__set_turn_steps(const int32_t val) { + this->turn_steps = val; +} + +void InterceptInfo::__set_turn_angle(const double val) { + this->turn_angle = val; +} + +void InterceptInfo::__set_dash_steps(const int32_t val) { + this->dash_steps = val; +} + +void InterceptInfo::__set_dash_power(const double val) { + this->dash_power = val; +} + +void InterceptInfo::__set_dash_dir(const double val) { + this->dash_dir = val; +} + +void InterceptInfo::__set_final_self_position(const RpcVector2D& val) { + this->final_self_position = val; +} + +void InterceptInfo::__set_final_ball_dist(const double val) { + this->final_ball_dist = val; +} + +void InterceptInfo::__set_final_stamina(const double val) { + this->final_stamina = val; +} + +void InterceptInfo::__set_value(const double val) { + this->value = val; +} +std::ostream& operator<<(std::ostream& out, const InterceptInfo& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t InterceptInfo::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast17; + xfer += iprot->readI32(ecast17); + this->action_type = static_cast(ecast17); + this->__isset.action_type = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->turn_steps); + this->__isset.turn_steps = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->turn_angle); + this->__isset.turn_angle = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->dash_steps); + this->__isset.dash_steps = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->dash_power); + this->__isset.dash_power = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->dash_dir); + this->__isset.dash_dir = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 7: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->final_self_position.read(iprot); + this->__isset.final_self_position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 8: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->final_ball_dist); + this->__isset.final_ball_dist = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 9: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->final_stamina); + this->__isset.final_stamina = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 10: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->value); + this->__isset.value = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t InterceptInfo::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("InterceptInfo"); + + xfer += oprot->writeFieldBegin("action_type", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(static_cast(this->action_type)); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("turn_steps", ::apache::thrift::protocol::T_I32, 2); + xfer += oprot->writeI32(this->turn_steps); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("turn_angle", ::apache::thrift::protocol::T_DOUBLE, 3); + xfer += oprot->writeDouble(this->turn_angle); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("dash_steps", ::apache::thrift::protocol::T_I32, 4); + xfer += oprot->writeI32(this->dash_steps); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("dash_power", ::apache::thrift::protocol::T_DOUBLE, 5); + xfer += oprot->writeDouble(this->dash_power); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("dash_dir", ::apache::thrift::protocol::T_DOUBLE, 6); + xfer += oprot->writeDouble(this->dash_dir); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("final_self_position", ::apache::thrift::protocol::T_STRUCT, 7); + xfer += this->final_self_position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("final_ball_dist", ::apache::thrift::protocol::T_DOUBLE, 8); + xfer += oprot->writeDouble(this->final_ball_dist); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("final_stamina", ::apache::thrift::protocol::T_DOUBLE, 9); + xfer += oprot->writeDouble(this->final_stamina); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("value", ::apache::thrift::protocol::T_DOUBLE, 10); + xfer += oprot->writeDouble(this->value); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(InterceptInfo &a, InterceptInfo &b) { + using ::std::swap; + swap(a.action_type, b.action_type); + swap(a.turn_steps, b.turn_steps); + swap(a.turn_angle, b.turn_angle); + swap(a.dash_steps, b.dash_steps); + swap(a.dash_power, b.dash_power); + swap(a.dash_dir, b.dash_dir); + swap(a.final_self_position, b.final_self_position); + swap(a.final_ball_dist, b.final_ball_dist); + swap(a.final_stamina, b.final_stamina); + swap(a.value, b.value); + swap(a.__isset, b.__isset); +} + +InterceptInfo::InterceptInfo(const InterceptInfo& other18) noexcept { + action_type = other18.action_type; + turn_steps = other18.turn_steps; + turn_angle = other18.turn_angle; + dash_steps = other18.dash_steps; + dash_power = other18.dash_power; + dash_dir = other18.dash_dir; + final_self_position = other18.final_self_position; + final_ball_dist = other18.final_ball_dist; + final_stamina = other18.final_stamina; + value = other18.value; + __isset = other18.__isset; +} +InterceptInfo& InterceptInfo::operator=(const InterceptInfo& other19) noexcept { + action_type = other19.action_type; + turn_steps = other19.turn_steps; + turn_angle = other19.turn_angle; + dash_steps = other19.dash_steps; + dash_power = other19.dash_power; + dash_dir = other19.dash_dir; + final_self_position = other19.final_self_position; + final_ball_dist = other19.final_ball_dist; + final_stamina = other19.final_stamina; + value = other19.value; + __isset = other19.__isset; + return *this; +} +void InterceptInfo::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "InterceptInfo("; + out << "action_type=" << to_string(action_type); + out << ", " << "turn_steps=" << to_string(turn_steps); + out << ", " << "turn_angle=" << to_string(turn_angle); + out << ", " << "dash_steps=" << to_string(dash_steps); + out << ", " << "dash_power=" << to_string(dash_power); + out << ", " << "dash_dir=" << to_string(dash_dir); + out << ", " << "final_self_position=" << to_string(final_self_position); + out << ", " << "final_ball_dist=" << to_string(final_ball_dist); + out << ", " << "final_stamina=" << to_string(final_stamina); + out << ", " << "value=" << to_string(value); + out << ")"; +} + + +InterceptTable::~InterceptTable() noexcept { +} + + +void InterceptTable::__set_self_reach_steps(const int32_t val) { + this->self_reach_steps = val; +} + +void InterceptTable::__set_first_teammate_reach_steps(const int32_t val) { + this->first_teammate_reach_steps = val; +} + +void InterceptTable::__set_second_teammate_reach_steps(const int32_t val) { + this->second_teammate_reach_steps = val; +} + +void InterceptTable::__set_first_opponent_reach_steps(const int32_t val) { + this->first_opponent_reach_steps = val; +} + +void InterceptTable::__set_second_opponent_reach_steps(const int32_t val) { + this->second_opponent_reach_steps = val; +} + +void InterceptTable::__set_first_teammate_id(const int32_t val) { + this->first_teammate_id = val; +} + +void InterceptTable::__set_second_teammate_id(const int32_t val) { + this->second_teammate_id = val; +} + +void InterceptTable::__set_first_opponent_id(const int32_t val) { + this->first_opponent_id = val; +} + +void InterceptTable::__set_second_opponent_id(const int32_t val) { + this->second_opponent_id = val; +} + +void InterceptTable::__set_self_intercept_info(const std::vector & val) { + this->self_intercept_info = val; +} +std::ostream& operator<<(std::ostream& out, const InterceptTable& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t InterceptTable::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->self_reach_steps); + this->__isset.self_reach_steps = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->first_teammate_reach_steps); + this->__isset.first_teammate_reach_steps = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->second_teammate_reach_steps); + this->__isset.second_teammate_reach_steps = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->first_opponent_reach_steps); + this->__isset.first_opponent_reach_steps = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->second_opponent_reach_steps); + this->__isset.second_opponent_reach_steps = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->first_teammate_id); + this->__isset.first_teammate_id = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 7: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->second_teammate_id); + this->__isset.second_teammate_id = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 8: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->first_opponent_id); + this->__isset.first_opponent_id = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 9: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->second_opponent_id); + this->__isset.second_opponent_id = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 10: + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + this->self_intercept_info.clear(); + uint32_t _size20; + ::apache::thrift::protocol::TType _etype23; + xfer += iprot->readListBegin(_etype23, _size20); + this->self_intercept_info.resize(_size20); + uint32_t _i24; + for (_i24 = 0; _i24 < _size20; ++_i24) + { + xfer += this->self_intercept_info[_i24].read(iprot); + } + xfer += iprot->readListEnd(); + } + this->__isset.self_intercept_info = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t InterceptTable::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("InterceptTable"); + + xfer += oprot->writeFieldBegin("self_reach_steps", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(this->self_reach_steps); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("first_teammate_reach_steps", ::apache::thrift::protocol::T_I32, 2); + xfer += oprot->writeI32(this->first_teammate_reach_steps); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("second_teammate_reach_steps", ::apache::thrift::protocol::T_I32, 3); + xfer += oprot->writeI32(this->second_teammate_reach_steps); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("first_opponent_reach_steps", ::apache::thrift::protocol::T_I32, 4); + xfer += oprot->writeI32(this->first_opponent_reach_steps); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("second_opponent_reach_steps", ::apache::thrift::protocol::T_I32, 5); + xfer += oprot->writeI32(this->second_opponent_reach_steps); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("first_teammate_id", ::apache::thrift::protocol::T_I32, 6); + xfer += oprot->writeI32(this->first_teammate_id); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("second_teammate_id", ::apache::thrift::protocol::T_I32, 7); + xfer += oprot->writeI32(this->second_teammate_id); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("first_opponent_id", ::apache::thrift::protocol::T_I32, 8); + xfer += oprot->writeI32(this->first_opponent_id); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("second_opponent_id", ::apache::thrift::protocol::T_I32, 9); + xfer += oprot->writeI32(this->second_opponent_id); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("self_intercept_info", ::apache::thrift::protocol::T_LIST, 10); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->self_intercept_info.size())); + std::vector ::const_iterator _iter25; + for (_iter25 = this->self_intercept_info.begin(); _iter25 != this->self_intercept_info.end(); ++_iter25) + { + xfer += (*_iter25).write(oprot); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(InterceptTable &a, InterceptTable &b) { + using ::std::swap; + swap(a.self_reach_steps, b.self_reach_steps); + swap(a.first_teammate_reach_steps, b.first_teammate_reach_steps); + swap(a.second_teammate_reach_steps, b.second_teammate_reach_steps); + swap(a.first_opponent_reach_steps, b.first_opponent_reach_steps); + swap(a.second_opponent_reach_steps, b.second_opponent_reach_steps); + swap(a.first_teammate_id, b.first_teammate_id); + swap(a.second_teammate_id, b.second_teammate_id); + swap(a.first_opponent_id, b.first_opponent_id); + swap(a.second_opponent_id, b.second_opponent_id); + swap(a.self_intercept_info, b.self_intercept_info); + swap(a.__isset, b.__isset); +} + +InterceptTable::InterceptTable(const InterceptTable& other26) { + self_reach_steps = other26.self_reach_steps; + first_teammate_reach_steps = other26.first_teammate_reach_steps; + second_teammate_reach_steps = other26.second_teammate_reach_steps; + first_opponent_reach_steps = other26.first_opponent_reach_steps; + second_opponent_reach_steps = other26.second_opponent_reach_steps; + first_teammate_id = other26.first_teammate_id; + second_teammate_id = other26.second_teammate_id; + first_opponent_id = other26.first_opponent_id; + second_opponent_id = other26.second_opponent_id; + self_intercept_info = other26.self_intercept_info; + __isset = other26.__isset; +} +InterceptTable& InterceptTable::operator=(const InterceptTable& other27) { + self_reach_steps = other27.self_reach_steps; + first_teammate_reach_steps = other27.first_teammate_reach_steps; + second_teammate_reach_steps = other27.second_teammate_reach_steps; + first_opponent_reach_steps = other27.first_opponent_reach_steps; + second_opponent_reach_steps = other27.second_opponent_reach_steps; + first_teammate_id = other27.first_teammate_id; + second_teammate_id = other27.second_teammate_id; + first_opponent_id = other27.first_opponent_id; + second_opponent_id = other27.second_opponent_id; + self_intercept_info = other27.self_intercept_info; + __isset = other27.__isset; + return *this; +} +void InterceptTable::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "InterceptTable("; + out << "self_reach_steps=" << to_string(self_reach_steps); + out << ", " << "first_teammate_reach_steps=" << to_string(first_teammate_reach_steps); + out << ", " << "second_teammate_reach_steps=" << to_string(second_teammate_reach_steps); + out << ", " << "first_opponent_reach_steps=" << to_string(first_opponent_reach_steps); + out << ", " << "second_opponent_reach_steps=" << to_string(second_opponent_reach_steps); + out << ", " << "first_teammate_id=" << to_string(first_teammate_id); + out << ", " << "second_teammate_id=" << to_string(second_teammate_id); + out << ", " << "first_opponent_id=" << to_string(first_opponent_id); + out << ", " << "second_opponent_id=" << to_string(second_opponent_id); + out << ", " << "self_intercept_info=" << to_string(self_intercept_info); + out << ")"; +} + + +WorldModel::~WorldModel() noexcept { +} + + +void WorldModel::__set_intercept_table(const InterceptTable& val) { + this->intercept_table = val; +} + +void WorldModel::__set_our_team_name(const std::string& val) { + this->our_team_name = val; +} + +void WorldModel::__set_their_team_name(const std::string& val) { + this->their_team_name = val; +} + +void WorldModel::__set_our_side(const Side::type val) { + this->our_side = val; +} + +void WorldModel::__set_last_set_play_start_time(const int32_t val) { + this->last_set_play_start_time = val; +} + +void WorldModel::__set_myself(const Self& val) { + this->myself = val; +} + +void WorldModel::__set_ball(const Ball& val) { + this->ball = val; +} + +void WorldModel::__set_teammates(const std::vector & val) { + this->teammates = val; +} + +void WorldModel::__set_opponents(const std::vector & val) { + this->opponents = val; +} + +void WorldModel::__set_unknowns(const std::vector & val) { + this->unknowns = val; +} + +void WorldModel::__set_our_players_dict(const std::map & val) { + this->our_players_dict = val; +} + +void WorldModel::__set_their_players_dict(const std::map & val) { + this->their_players_dict = val; +} + +void WorldModel::__set_our_goalie_uniform_number(const int32_t val) { + this->our_goalie_uniform_number = val; +} + +void WorldModel::__set_their_goalie_uniform_number(const int32_t val) { + this->their_goalie_uniform_number = val; +} + +void WorldModel::__set_offside_line_x(const double val) { + this->offside_line_x = val; +} + +void WorldModel::__set_offside_line_x_count(const int32_t val) { + this->offside_line_x_count = val; +} + +void WorldModel::__set_kickable_teammate_id(const int32_t val) { + this->kickable_teammate_id = val; +} + +void WorldModel::__set_kickable_opponent_id(const int32_t val) { + this->kickable_opponent_id = val; +} + +void WorldModel::__set_last_kick_side(const Side::type val) { + this->last_kick_side = val; +} + +void WorldModel::__set_last_kicker_uniform_number(const int32_t val) { + this->last_kicker_uniform_number = val; +} + +void WorldModel::__set_cycle(const int32_t val) { + this->cycle = val; +} + +void WorldModel::__set_game_mode_type(const GameModeType::type val) { + this->game_mode_type = val; +} + +void WorldModel::__set_left_team_score(const int32_t val) { + this->left_team_score = val; +} + +void WorldModel::__set_right_team_score(const int32_t val) { + this->right_team_score = val; +} + +void WorldModel::__set_is_our_set_play(const bool val) { + this->is_our_set_play = val; +} + +void WorldModel::__set_is_their_set_play(const bool val) { + this->is_their_set_play = val; +} + +void WorldModel::__set_stoped_cycle(const int32_t val) { + this->stoped_cycle = val; +} + +void WorldModel::__set_our_team_score(const int32_t val) { + this->our_team_score = val; +} + +void WorldModel::__set_their_team_score(const int32_t val) { + this->their_team_score = val; +} + +void WorldModel::__set_is_penalty_kick_mode(const bool val) { + this->is_penalty_kick_mode = val; +} + +void WorldModel::__set_helios_home_positions(const std::map & val) { + this->helios_home_positions = val; +} +std::ostream& operator<<(std::ostream& out, const WorldModel& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t WorldModel::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->intercept_table.read(iprot); + this->__isset.intercept_table = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->our_team_name); + this->__isset.our_team_name = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->their_team_name); + this->__isset.their_team_name = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast28; + xfer += iprot->readI32(ecast28); + this->our_side = static_cast(ecast28); + this->__isset.our_side = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->last_set_play_start_time); + this->__isset.last_set_play_start_time = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->myself.read(iprot); + this->__isset.myself = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 7: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ball.read(iprot); + this->__isset.ball = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 8: + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + this->teammates.clear(); + uint32_t _size29; + ::apache::thrift::protocol::TType _etype32; + xfer += iprot->readListBegin(_etype32, _size29); + this->teammates.resize(_size29); + uint32_t _i33; + for (_i33 = 0; _i33 < _size29; ++_i33) + { + xfer += this->teammates[_i33].read(iprot); + } + xfer += iprot->readListEnd(); + } + this->__isset.teammates = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 9: + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + this->opponents.clear(); + uint32_t _size34; + ::apache::thrift::protocol::TType _etype37; + xfer += iprot->readListBegin(_etype37, _size34); + this->opponents.resize(_size34); + uint32_t _i38; + for (_i38 = 0; _i38 < _size34; ++_i38) + { + xfer += this->opponents[_i38].read(iprot); + } + xfer += iprot->readListEnd(); + } + this->__isset.opponents = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 10: + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + this->unknowns.clear(); + uint32_t _size39; + ::apache::thrift::protocol::TType _etype42; + xfer += iprot->readListBegin(_etype42, _size39); + this->unknowns.resize(_size39); + uint32_t _i43; + for (_i43 = 0; _i43 < _size39; ++_i43) + { + xfer += this->unknowns[_i43].read(iprot); + } + xfer += iprot->readListEnd(); + } + this->__isset.unknowns = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 11: + if (ftype == ::apache::thrift::protocol::T_MAP) { + { + this->our_players_dict.clear(); + uint32_t _size44; + ::apache::thrift::protocol::TType _ktype45; + ::apache::thrift::protocol::TType _vtype46; + xfer += iprot->readMapBegin(_ktype45, _vtype46, _size44); + uint32_t _i48; + for (_i48 = 0; _i48 < _size44; ++_i48) + { + int32_t _key49; + xfer += iprot->readI32(_key49); + Player& _val50 = this->our_players_dict[_key49]; + xfer += _val50.read(iprot); + } + xfer += iprot->readMapEnd(); + } + this->__isset.our_players_dict = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 12: + if (ftype == ::apache::thrift::protocol::T_MAP) { + { + this->their_players_dict.clear(); + uint32_t _size51; + ::apache::thrift::protocol::TType _ktype52; + ::apache::thrift::protocol::TType _vtype53; + xfer += iprot->readMapBegin(_ktype52, _vtype53, _size51); + uint32_t _i55; + for (_i55 = 0; _i55 < _size51; ++_i55) + { + int32_t _key56; + xfer += iprot->readI32(_key56); + Player& _val57 = this->their_players_dict[_key56]; + xfer += _val57.read(iprot); + } + xfer += iprot->readMapEnd(); + } + this->__isset.their_players_dict = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 13: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->our_goalie_uniform_number); + this->__isset.our_goalie_uniform_number = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 14: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->their_goalie_uniform_number); + this->__isset.their_goalie_uniform_number = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 15: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->offside_line_x); + this->__isset.offside_line_x = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 16: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->offside_line_x_count); + this->__isset.offside_line_x_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 17: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->kickable_teammate_id); + this->__isset.kickable_teammate_id = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 18: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->kickable_opponent_id); + this->__isset.kickable_opponent_id = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 19: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast58; + xfer += iprot->readI32(ecast58); + this->last_kick_side = static_cast(ecast58); + this->__isset.last_kick_side = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 20: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->last_kicker_uniform_number); + this->__isset.last_kicker_uniform_number = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 21: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->cycle); + this->__isset.cycle = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 22: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast59; + xfer += iprot->readI32(ecast59); + this->game_mode_type = static_cast(ecast59); + this->__isset.game_mode_type = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 23: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->left_team_score); + this->__isset.left_team_score = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 24: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->right_team_score); + this->__isset.right_team_score = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 25: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->is_our_set_play); + this->__isset.is_our_set_play = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 26: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->is_their_set_play); + this->__isset.is_their_set_play = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 27: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->stoped_cycle); + this->__isset.stoped_cycle = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 28: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->our_team_score); + this->__isset.our_team_score = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 29: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->their_team_score); + this->__isset.their_team_score = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 30: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->is_penalty_kick_mode); + this->__isset.is_penalty_kick_mode = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 31: + if (ftype == ::apache::thrift::protocol::T_MAP) { + { + this->helios_home_positions.clear(); + uint32_t _size60; + ::apache::thrift::protocol::TType _ktype61; + ::apache::thrift::protocol::TType _vtype62; + xfer += iprot->readMapBegin(_ktype61, _vtype62, _size60); + uint32_t _i64; + for (_i64 = 0; _i64 < _size60; ++_i64) + { + int32_t _key65; + xfer += iprot->readI32(_key65); + RpcVector2D& _val66 = this->helios_home_positions[_key65]; + xfer += _val66.read(iprot); + } + xfer += iprot->readMapEnd(); + } + this->__isset.helios_home_positions = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t WorldModel::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("WorldModel"); + + xfer += oprot->writeFieldBegin("intercept_table", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->intercept_table.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("our_team_name", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->our_team_name); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("their_team_name", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString(this->their_team_name); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("our_side", ::apache::thrift::protocol::T_I32, 4); + xfer += oprot->writeI32(static_cast(this->our_side)); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("last_set_play_start_time", ::apache::thrift::protocol::T_I32, 5); + xfer += oprot->writeI32(this->last_set_play_start_time); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("myself", ::apache::thrift::protocol::T_STRUCT, 6); + xfer += this->myself.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("ball", ::apache::thrift::protocol::T_STRUCT, 7); + xfer += this->ball.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("teammates", ::apache::thrift::protocol::T_LIST, 8); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->teammates.size())); + std::vector ::const_iterator _iter67; + for (_iter67 = this->teammates.begin(); _iter67 != this->teammates.end(); ++_iter67) + { + xfer += (*_iter67).write(oprot); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("opponents", ::apache::thrift::protocol::T_LIST, 9); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->opponents.size())); + std::vector ::const_iterator _iter68; + for (_iter68 = this->opponents.begin(); _iter68 != this->opponents.end(); ++_iter68) + { + xfer += (*_iter68).write(oprot); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("unknowns", ::apache::thrift::protocol::T_LIST, 10); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->unknowns.size())); + std::vector ::const_iterator _iter69; + for (_iter69 = this->unknowns.begin(); _iter69 != this->unknowns.end(); ++_iter69) + { + xfer += (*_iter69).write(oprot); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("our_players_dict", ::apache::thrift::protocol::T_MAP, 11); + { + xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I32, ::apache::thrift::protocol::T_STRUCT, static_cast(this->our_players_dict.size())); + std::map ::const_iterator _iter70; + for (_iter70 = this->our_players_dict.begin(); _iter70 != this->our_players_dict.end(); ++_iter70) + { + xfer += oprot->writeI32(_iter70->first); + xfer += _iter70->second.write(oprot); + } + xfer += oprot->writeMapEnd(); + } + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("their_players_dict", ::apache::thrift::protocol::T_MAP, 12); + { + xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I32, ::apache::thrift::protocol::T_STRUCT, static_cast(this->their_players_dict.size())); + std::map ::const_iterator _iter71; + for (_iter71 = this->their_players_dict.begin(); _iter71 != this->their_players_dict.end(); ++_iter71) + { + xfer += oprot->writeI32(_iter71->first); + xfer += _iter71->second.write(oprot); + } + xfer += oprot->writeMapEnd(); + } + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("our_goalie_uniform_number", ::apache::thrift::protocol::T_I32, 13); + xfer += oprot->writeI32(this->our_goalie_uniform_number); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("their_goalie_uniform_number", ::apache::thrift::protocol::T_I32, 14); + xfer += oprot->writeI32(this->their_goalie_uniform_number); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("offside_line_x", ::apache::thrift::protocol::T_DOUBLE, 15); + xfer += oprot->writeDouble(this->offside_line_x); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("offside_line_x_count", ::apache::thrift::protocol::T_I32, 16); + xfer += oprot->writeI32(this->offside_line_x_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("kickable_teammate_id", ::apache::thrift::protocol::T_I32, 17); + xfer += oprot->writeI32(this->kickable_teammate_id); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("kickable_opponent_id", ::apache::thrift::protocol::T_I32, 18); + xfer += oprot->writeI32(this->kickable_opponent_id); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("last_kick_side", ::apache::thrift::protocol::T_I32, 19); + xfer += oprot->writeI32(static_cast(this->last_kick_side)); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("last_kicker_uniform_number", ::apache::thrift::protocol::T_I32, 20); + xfer += oprot->writeI32(this->last_kicker_uniform_number); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("cycle", ::apache::thrift::protocol::T_I32, 21); + xfer += oprot->writeI32(this->cycle); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("game_mode_type", ::apache::thrift::protocol::T_I32, 22); + xfer += oprot->writeI32(static_cast(this->game_mode_type)); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("left_team_score", ::apache::thrift::protocol::T_I32, 23); + xfer += oprot->writeI32(this->left_team_score); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("right_team_score", ::apache::thrift::protocol::T_I32, 24); + xfer += oprot->writeI32(this->right_team_score); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("is_our_set_play", ::apache::thrift::protocol::T_BOOL, 25); + xfer += oprot->writeBool(this->is_our_set_play); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("is_their_set_play", ::apache::thrift::protocol::T_BOOL, 26); + xfer += oprot->writeBool(this->is_their_set_play); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("stoped_cycle", ::apache::thrift::protocol::T_I32, 27); + xfer += oprot->writeI32(this->stoped_cycle); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("our_team_score", ::apache::thrift::protocol::T_I32, 28); + xfer += oprot->writeI32(this->our_team_score); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("their_team_score", ::apache::thrift::protocol::T_I32, 29); + xfer += oprot->writeI32(this->their_team_score); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("is_penalty_kick_mode", ::apache::thrift::protocol::T_BOOL, 30); + xfer += oprot->writeBool(this->is_penalty_kick_mode); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("helios_home_positions", ::apache::thrift::protocol::T_MAP, 31); + { + xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I32, ::apache::thrift::protocol::T_STRUCT, static_cast(this->helios_home_positions.size())); + std::map ::const_iterator _iter72; + for (_iter72 = this->helios_home_positions.begin(); _iter72 != this->helios_home_positions.end(); ++_iter72) + { + xfer += oprot->writeI32(_iter72->first); + xfer += _iter72->second.write(oprot); + } + xfer += oprot->writeMapEnd(); + } + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(WorldModel &a, WorldModel &b) { + using ::std::swap; + swap(a.intercept_table, b.intercept_table); + swap(a.our_team_name, b.our_team_name); + swap(a.their_team_name, b.their_team_name); + swap(a.our_side, b.our_side); + swap(a.last_set_play_start_time, b.last_set_play_start_time); + swap(a.myself, b.myself); + swap(a.ball, b.ball); + swap(a.teammates, b.teammates); + swap(a.opponents, b.opponents); + swap(a.unknowns, b.unknowns); + swap(a.our_players_dict, b.our_players_dict); + swap(a.their_players_dict, b.their_players_dict); + swap(a.our_goalie_uniform_number, b.our_goalie_uniform_number); + swap(a.their_goalie_uniform_number, b.their_goalie_uniform_number); + swap(a.offside_line_x, b.offside_line_x); + swap(a.offside_line_x_count, b.offside_line_x_count); + swap(a.kickable_teammate_id, b.kickable_teammate_id); + swap(a.kickable_opponent_id, b.kickable_opponent_id); + swap(a.last_kick_side, b.last_kick_side); + swap(a.last_kicker_uniform_number, b.last_kicker_uniform_number); + swap(a.cycle, b.cycle); + swap(a.game_mode_type, b.game_mode_type); + swap(a.left_team_score, b.left_team_score); + swap(a.right_team_score, b.right_team_score); + swap(a.is_our_set_play, b.is_our_set_play); + swap(a.is_their_set_play, b.is_their_set_play); + swap(a.stoped_cycle, b.stoped_cycle); + swap(a.our_team_score, b.our_team_score); + swap(a.their_team_score, b.their_team_score); + swap(a.is_penalty_kick_mode, b.is_penalty_kick_mode); + swap(a.helios_home_positions, b.helios_home_positions); + swap(a.__isset, b.__isset); +} + +WorldModel::WorldModel(const WorldModel& other73) { + intercept_table = other73.intercept_table; + our_team_name = other73.our_team_name; + their_team_name = other73.their_team_name; + our_side = other73.our_side; + last_set_play_start_time = other73.last_set_play_start_time; + myself = other73.myself; + ball = other73.ball; + teammates = other73.teammates; + opponents = other73.opponents; + unknowns = other73.unknowns; + our_players_dict = other73.our_players_dict; + their_players_dict = other73.their_players_dict; + our_goalie_uniform_number = other73.our_goalie_uniform_number; + their_goalie_uniform_number = other73.their_goalie_uniform_number; + offside_line_x = other73.offside_line_x; + offside_line_x_count = other73.offside_line_x_count; + kickable_teammate_id = other73.kickable_teammate_id; + kickable_opponent_id = other73.kickable_opponent_id; + last_kick_side = other73.last_kick_side; + last_kicker_uniform_number = other73.last_kicker_uniform_number; + cycle = other73.cycle; + game_mode_type = other73.game_mode_type; + left_team_score = other73.left_team_score; + right_team_score = other73.right_team_score; + is_our_set_play = other73.is_our_set_play; + is_their_set_play = other73.is_their_set_play; + stoped_cycle = other73.stoped_cycle; + our_team_score = other73.our_team_score; + their_team_score = other73.their_team_score; + is_penalty_kick_mode = other73.is_penalty_kick_mode; + helios_home_positions = other73.helios_home_positions; + __isset = other73.__isset; +} +WorldModel& WorldModel::operator=(const WorldModel& other74) { + intercept_table = other74.intercept_table; + our_team_name = other74.our_team_name; + their_team_name = other74.their_team_name; + our_side = other74.our_side; + last_set_play_start_time = other74.last_set_play_start_time; + myself = other74.myself; + ball = other74.ball; + teammates = other74.teammates; + opponents = other74.opponents; + unknowns = other74.unknowns; + our_players_dict = other74.our_players_dict; + their_players_dict = other74.their_players_dict; + our_goalie_uniform_number = other74.our_goalie_uniform_number; + their_goalie_uniform_number = other74.their_goalie_uniform_number; + offside_line_x = other74.offside_line_x; + offside_line_x_count = other74.offside_line_x_count; + kickable_teammate_id = other74.kickable_teammate_id; + kickable_opponent_id = other74.kickable_opponent_id; + last_kick_side = other74.last_kick_side; + last_kicker_uniform_number = other74.last_kicker_uniform_number; + cycle = other74.cycle; + game_mode_type = other74.game_mode_type; + left_team_score = other74.left_team_score; + right_team_score = other74.right_team_score; + is_our_set_play = other74.is_our_set_play; + is_their_set_play = other74.is_their_set_play; + stoped_cycle = other74.stoped_cycle; + our_team_score = other74.our_team_score; + their_team_score = other74.their_team_score; + is_penalty_kick_mode = other74.is_penalty_kick_mode; + helios_home_positions = other74.helios_home_positions; + __isset = other74.__isset; + return *this; +} +void WorldModel::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "WorldModel("; + out << "intercept_table=" << to_string(intercept_table); + out << ", " << "our_team_name=" << to_string(our_team_name); + out << ", " << "their_team_name=" << to_string(their_team_name); + out << ", " << "our_side=" << to_string(our_side); + out << ", " << "last_set_play_start_time=" << to_string(last_set_play_start_time); + out << ", " << "myself=" << to_string(myself); + out << ", " << "ball=" << to_string(ball); + out << ", " << "teammates=" << to_string(teammates); + out << ", " << "opponents=" << to_string(opponents); + out << ", " << "unknowns=" << to_string(unknowns); + out << ", " << "our_players_dict=" << to_string(our_players_dict); + out << ", " << "their_players_dict=" << to_string(their_players_dict); + out << ", " << "our_goalie_uniform_number=" << to_string(our_goalie_uniform_number); + out << ", " << "their_goalie_uniform_number=" << to_string(their_goalie_uniform_number); + out << ", " << "offside_line_x=" << to_string(offside_line_x); + out << ", " << "offside_line_x_count=" << to_string(offside_line_x_count); + out << ", " << "kickable_teammate_id=" << to_string(kickable_teammate_id); + out << ", " << "kickable_opponent_id=" << to_string(kickable_opponent_id); + out << ", " << "last_kick_side=" << to_string(last_kick_side); + out << ", " << "last_kicker_uniform_number=" << to_string(last_kicker_uniform_number); + out << ", " << "cycle=" << to_string(cycle); + out << ", " << "game_mode_type=" << to_string(game_mode_type); + out << ", " << "left_team_score=" << to_string(left_team_score); + out << ", " << "right_team_score=" << to_string(right_team_score); + out << ", " << "is_our_set_play=" << to_string(is_our_set_play); + out << ", " << "is_their_set_play=" << to_string(is_their_set_play); + out << ", " << "stoped_cycle=" << to_string(stoped_cycle); + out << ", " << "our_team_score=" << to_string(our_team_score); + out << ", " << "their_team_score=" << to_string(their_team_score); + out << ", " << "is_penalty_kick_mode=" << to_string(is_penalty_kick_mode); + out << ", " << "helios_home_positions=" << to_string(helios_home_positions); + out << ")"; +} + + +State::~State() noexcept { +} + + +void State::__set_register_response(const RegisterResponse& val) { + this->register_response = val; +} + +void State::__set_world_model(const WorldModel& val) { + this->world_model = val; +} + +void State::__set_full_world_model(const WorldModel& val) { + this->full_world_model = val; +} + +void State::__set_need_preprocess(const bool val) { + this->need_preprocess = val; +} +std::ostream& operator<<(std::ostream& out, const State& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t State::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->register_response.read(iprot); + this->__isset.register_response = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->world_model.read(iprot); + this->__isset.world_model = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->full_world_model.read(iprot); + this->__isset.full_world_model = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->need_preprocess); + this->__isset.need_preprocess = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t State::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("State"); + + xfer += oprot->writeFieldBegin("register_response", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->register_response.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("world_model", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->world_model.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("full_world_model", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->full_world_model.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("need_preprocess", ::apache::thrift::protocol::T_BOOL, 4); + xfer += oprot->writeBool(this->need_preprocess); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(State &a, State &b) { + using ::std::swap; + swap(a.register_response, b.register_response); + swap(a.world_model, b.world_model); + swap(a.full_world_model, b.full_world_model); + swap(a.need_preprocess, b.need_preprocess); + swap(a.__isset, b.__isset); +} + +State::State(const State& other75) { + register_response = other75.register_response; + world_model = other75.world_model; + full_world_model = other75.full_world_model; + need_preprocess = other75.need_preprocess; + __isset = other75.__isset; +} +State& State::operator=(const State& other76) { + register_response = other76.register_response; + world_model = other76.world_model; + full_world_model = other76.full_world_model; + need_preprocess = other76.need_preprocess; + __isset = other76.__isset; + return *this; +} +void State::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "State("; + out << "register_response=" << to_string(register_response); + out << ", " << "world_model=" << to_string(world_model); + out << ", " << "full_world_model=" << to_string(full_world_model); + out << ", " << "need_preprocess=" << to_string(need_preprocess); + out << ")"; +} + + +InitMessage::~InitMessage() noexcept { +} + + +void InitMessage::__set_register_response(const RegisterResponse& val) { + this->register_response = val; +} + +void InitMessage::__set_debug_mode(const bool val) { + this->debug_mode = val; +} +std::ostream& operator<<(std::ostream& out, const InitMessage& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t InitMessage::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->register_response.read(iprot); + this->__isset.register_response = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->debug_mode); + this->__isset.debug_mode = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t InitMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("InitMessage"); + + xfer += oprot->writeFieldBegin("register_response", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->register_response.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("debug_mode", ::apache::thrift::protocol::T_BOOL, 2); + xfer += oprot->writeBool(this->debug_mode); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(InitMessage &a, InitMessage &b) { + using ::std::swap; + swap(a.register_response, b.register_response); + swap(a.debug_mode, b.debug_mode); + swap(a.__isset, b.__isset); +} + +InitMessage::InitMessage(const InitMessage& other77) { + register_response = other77.register_response; + debug_mode = other77.debug_mode; + __isset = other77.__isset; +} +InitMessage& InitMessage::operator=(const InitMessage& other78) { + register_response = other78.register_response; + debug_mode = other78.debug_mode; + __isset = other78.__isset; + return *this; +} +void InitMessage::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "InitMessage("; + out << "register_response=" << to_string(register_response); + out << ", " << "debug_mode=" << to_string(debug_mode); + out << ")"; +} + + +Dash::~Dash() noexcept { +} + + +void Dash::__set_power(const double val) { + this->power = val; +} + +void Dash::__set_relative_direction(const double val) { + this->relative_direction = val; +} +std::ostream& operator<<(std::ostream& out, const Dash& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Dash::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->power); + this->__isset.power = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->relative_direction); + this->__isset.relative_direction = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Dash::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Dash"); + + xfer += oprot->writeFieldBegin("power", ::apache::thrift::protocol::T_DOUBLE, 1); + xfer += oprot->writeDouble(this->power); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("relative_direction", ::apache::thrift::protocol::T_DOUBLE, 2); + xfer += oprot->writeDouble(this->relative_direction); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Dash &a, Dash &b) { + using ::std::swap; + swap(a.power, b.power); + swap(a.relative_direction, b.relative_direction); + swap(a.__isset, b.__isset); +} + +Dash::Dash(const Dash& other79) noexcept { + power = other79.power; + relative_direction = other79.relative_direction; + __isset = other79.__isset; +} +Dash& Dash::operator=(const Dash& other80) noexcept { + power = other80.power; + relative_direction = other80.relative_direction; + __isset = other80.__isset; + return *this; +} +void Dash::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Dash("; + out << "power=" << to_string(power); + out << ", " << "relative_direction=" << to_string(relative_direction); + out << ")"; +} + + +Turn::~Turn() noexcept { +} + + +void Turn::__set_relative_direction(const double val) { + this->relative_direction = val; +} +std::ostream& operator<<(std::ostream& out, const Turn& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Turn::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->relative_direction); + this->__isset.relative_direction = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Turn::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Turn"); + + xfer += oprot->writeFieldBegin("relative_direction", ::apache::thrift::protocol::T_DOUBLE, 1); + xfer += oprot->writeDouble(this->relative_direction); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Turn &a, Turn &b) { + using ::std::swap; + swap(a.relative_direction, b.relative_direction); + swap(a.__isset, b.__isset); +} + +Turn::Turn(const Turn& other81) noexcept { + relative_direction = other81.relative_direction; + __isset = other81.__isset; +} +Turn& Turn::operator=(const Turn& other82) noexcept { + relative_direction = other82.relative_direction; + __isset = other82.__isset; + return *this; +} +void Turn::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Turn("; + out << "relative_direction=" << to_string(relative_direction); + out << ")"; +} + + +Kick::~Kick() noexcept { +} + + +void Kick::__set_power(const double val) { + this->power = val; +} + +void Kick::__set_relative_direction(const double val) { + this->relative_direction = val; +} +std::ostream& operator<<(std::ostream& out, const Kick& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Kick::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->power); + this->__isset.power = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->relative_direction); + this->__isset.relative_direction = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Kick::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Kick"); + + xfer += oprot->writeFieldBegin("power", ::apache::thrift::protocol::T_DOUBLE, 1); + xfer += oprot->writeDouble(this->power); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("relative_direction", ::apache::thrift::protocol::T_DOUBLE, 2); + xfer += oprot->writeDouble(this->relative_direction); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Kick &a, Kick &b) { + using ::std::swap; + swap(a.power, b.power); + swap(a.relative_direction, b.relative_direction); + swap(a.__isset, b.__isset); +} + +Kick::Kick(const Kick& other83) noexcept { + power = other83.power; + relative_direction = other83.relative_direction; + __isset = other83.__isset; +} +Kick& Kick::operator=(const Kick& other84) noexcept { + power = other84.power; + relative_direction = other84.relative_direction; + __isset = other84.__isset; + return *this; +} +void Kick::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Kick("; + out << "power=" << to_string(power); + out << ", " << "relative_direction=" << to_string(relative_direction); + out << ")"; +} + + +Tackle::~Tackle() noexcept { +} + + +void Tackle::__set_power_or_dir(const double val) { + this->power_or_dir = val; +} + +void Tackle::__set_foul(const bool val) { + this->foul = val; +} +std::ostream& operator<<(std::ostream& out, const Tackle& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Tackle::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->power_or_dir); + this->__isset.power_or_dir = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->foul); + this->__isset.foul = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Tackle::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Tackle"); + + xfer += oprot->writeFieldBegin("power_or_dir", ::apache::thrift::protocol::T_DOUBLE, 1); + xfer += oprot->writeDouble(this->power_or_dir); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("foul", ::apache::thrift::protocol::T_BOOL, 2); + xfer += oprot->writeBool(this->foul); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Tackle &a, Tackle &b) { + using ::std::swap; + swap(a.power_or_dir, b.power_or_dir); + swap(a.foul, b.foul); + swap(a.__isset, b.__isset); +} + +Tackle::Tackle(const Tackle& other85) noexcept { + power_or_dir = other85.power_or_dir; + foul = other85.foul; + __isset = other85.__isset; +} +Tackle& Tackle::operator=(const Tackle& other86) noexcept { + power_or_dir = other86.power_or_dir; + foul = other86.foul; + __isset = other86.__isset; + return *this; +} +void Tackle::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Tackle("; + out << "power_or_dir=" << to_string(power_or_dir); + out << ", " << "foul=" << to_string(foul); + out << ")"; +} + + +Catch::~Catch() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const Catch& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Catch::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Catch::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Catch"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Catch &a, Catch &b) { + using ::std::swap; + (void) a; + (void) b; +} + +Catch::Catch(const Catch& other87) noexcept { + (void) other87; +} +Catch& Catch::operator=(const Catch& other88) noexcept { + (void) other88; + return *this; +} +void Catch::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Catch("; + out << ")"; +} + + +Move::~Move() noexcept { +} + + +void Move::__set_x(const double val) { + this->x = val; +} + +void Move::__set_y(const double val) { + this->y = val; +} +std::ostream& operator<<(std::ostream& out, const Move& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Move::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->x); + this->__isset.x = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->y); + this->__isset.y = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Move::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Move"); + + xfer += oprot->writeFieldBegin("x", ::apache::thrift::protocol::T_DOUBLE, 1); + xfer += oprot->writeDouble(this->x); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("y", ::apache::thrift::protocol::T_DOUBLE, 2); + xfer += oprot->writeDouble(this->y); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Move &a, Move &b) { + using ::std::swap; + swap(a.x, b.x); + swap(a.y, b.y); + swap(a.__isset, b.__isset); +} + +Move::Move(const Move& other89) noexcept { + x = other89.x; + y = other89.y; + __isset = other89.__isset; +} +Move& Move::operator=(const Move& other90) noexcept { + x = other90.x; + y = other90.y; + __isset = other90.__isset; + return *this; +} +void Move::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Move("; + out << "x=" << to_string(x); + out << ", " << "y=" << to_string(y); + out << ")"; +} + + +TurnNeck::~TurnNeck() noexcept { +} + + +void TurnNeck::__set_moment(const double val) { + this->moment = val; +} +std::ostream& operator<<(std::ostream& out, const TurnNeck& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t TurnNeck::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->moment); + this->__isset.moment = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t TurnNeck::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("TurnNeck"); + + xfer += oprot->writeFieldBegin("moment", ::apache::thrift::protocol::T_DOUBLE, 1); + xfer += oprot->writeDouble(this->moment); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(TurnNeck &a, TurnNeck &b) { + using ::std::swap; + swap(a.moment, b.moment); + swap(a.__isset, b.__isset); +} + +TurnNeck::TurnNeck(const TurnNeck& other91) noexcept { + moment = other91.moment; + __isset = other91.__isset; +} +TurnNeck& TurnNeck::operator=(const TurnNeck& other92) noexcept { + moment = other92.moment; + __isset = other92.__isset; + return *this; +} +void TurnNeck::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "TurnNeck("; + out << "moment=" << to_string(moment); + out << ")"; +} + + +ChangeView::~ChangeView() noexcept { +} + + +void ChangeView::__set_view_width(const ViewWidth::type val) { + this->view_width = val; +} +std::ostream& operator<<(std::ostream& out, const ChangeView& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t ChangeView::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast93; + xfer += iprot->readI32(ecast93); + this->view_width = static_cast(ecast93); + this->__isset.view_width = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t ChangeView::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("ChangeView"); + + xfer += oprot->writeFieldBegin("view_width", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(static_cast(this->view_width)); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(ChangeView &a, ChangeView &b) { + using ::std::swap; + swap(a.view_width, b.view_width); + swap(a.__isset, b.__isset); +} + +ChangeView::ChangeView(const ChangeView& other94) noexcept { + view_width = other94.view_width; + __isset = other94.__isset; +} +ChangeView& ChangeView::operator=(const ChangeView& other95) noexcept { + view_width = other95.view_width; + __isset = other95.__isset; + return *this; +} +void ChangeView::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "ChangeView("; + out << "view_width=" << to_string(view_width); + out << ")"; +} + + +BallMessage::~BallMessage() noexcept { +} + + +void BallMessage::__set_ball_position(const RpcVector2D& val) { + this->ball_position = val; +} + +void BallMessage::__set_ball_velocity(const RpcVector2D& val) { + this->ball_velocity = val; +} +std::ostream& operator<<(std::ostream& out, const BallMessage& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t BallMessage::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ball_position.read(iprot); + this->__isset.ball_position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ball_velocity.read(iprot); + this->__isset.ball_velocity = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t BallMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("BallMessage"); + + xfer += oprot->writeFieldBegin("ball_position", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->ball_position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("ball_velocity", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->ball_velocity.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(BallMessage &a, BallMessage &b) { + using ::std::swap; + swap(a.ball_position, b.ball_position); + swap(a.ball_velocity, b.ball_velocity); + swap(a.__isset, b.__isset); +} + +BallMessage::BallMessage(const BallMessage& other96) noexcept { + ball_position = other96.ball_position; + ball_velocity = other96.ball_velocity; + __isset = other96.__isset; +} +BallMessage& BallMessage::operator=(const BallMessage& other97) noexcept { + ball_position = other97.ball_position; + ball_velocity = other97.ball_velocity; + __isset = other97.__isset; + return *this; +} +void BallMessage::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "BallMessage("; + out << "ball_position=" << to_string(ball_position); + out << ", " << "ball_velocity=" << to_string(ball_velocity); + out << ")"; +} + + +PassMessage::~PassMessage() noexcept { +} + + +void PassMessage::__set_receiver_uniform_number(const int32_t val) { + this->receiver_uniform_number = val; +} + +void PassMessage::__set_receiver_point(const RpcVector2D& val) { + this->receiver_point = val; +} + +void PassMessage::__set_ball_position(const RpcVector2D& val) { + this->ball_position = val; +} + +void PassMessage::__set_ball_velocity(const RpcVector2D& val) { + this->ball_velocity = val; +} +std::ostream& operator<<(std::ostream& out, const PassMessage& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t PassMessage::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->receiver_uniform_number); + this->__isset.receiver_uniform_number = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->receiver_point.read(iprot); + this->__isset.receiver_point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ball_position.read(iprot); + this->__isset.ball_position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ball_velocity.read(iprot); + this->__isset.ball_velocity = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t PassMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("PassMessage"); + + xfer += oprot->writeFieldBegin("receiver_uniform_number", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(this->receiver_uniform_number); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("receiver_point", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->receiver_point.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("ball_position", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->ball_position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("ball_velocity", ::apache::thrift::protocol::T_STRUCT, 4); + xfer += this->ball_velocity.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(PassMessage &a, PassMessage &b) { + using ::std::swap; + swap(a.receiver_uniform_number, b.receiver_uniform_number); + swap(a.receiver_point, b.receiver_point); + swap(a.ball_position, b.ball_position); + swap(a.ball_velocity, b.ball_velocity); + swap(a.__isset, b.__isset); +} + +PassMessage::PassMessage(const PassMessage& other98) noexcept { + receiver_uniform_number = other98.receiver_uniform_number; + receiver_point = other98.receiver_point; + ball_position = other98.ball_position; + ball_velocity = other98.ball_velocity; + __isset = other98.__isset; +} +PassMessage& PassMessage::operator=(const PassMessage& other99) noexcept { + receiver_uniform_number = other99.receiver_uniform_number; + receiver_point = other99.receiver_point; + ball_position = other99.ball_position; + ball_velocity = other99.ball_velocity; + __isset = other99.__isset; + return *this; +} +void PassMessage::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "PassMessage("; + out << "receiver_uniform_number=" << to_string(receiver_uniform_number); + out << ", " << "receiver_point=" << to_string(receiver_point); + out << ", " << "ball_position=" << to_string(ball_position); + out << ", " << "ball_velocity=" << to_string(ball_velocity); + out << ")"; +} + + +InterceptMessage::~InterceptMessage() noexcept { +} + + +void InterceptMessage::__set_our(const bool val) { + this->our = val; +} + +void InterceptMessage::__set_uniform_number(const int32_t val) { + this->uniform_number = val; +} + +void InterceptMessage::__set_cycle(const int32_t val) { + this->cycle = val; +} +std::ostream& operator<<(std::ostream& out, const InterceptMessage& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t InterceptMessage::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->our); + this->__isset.our = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->uniform_number); + this->__isset.uniform_number = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->cycle); + this->__isset.cycle = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t InterceptMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("InterceptMessage"); + + xfer += oprot->writeFieldBegin("our", ::apache::thrift::protocol::T_BOOL, 1); + xfer += oprot->writeBool(this->our); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("uniform_number", ::apache::thrift::protocol::T_I32, 2); + xfer += oprot->writeI32(this->uniform_number); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("cycle", ::apache::thrift::protocol::T_I32, 3); + xfer += oprot->writeI32(this->cycle); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(InterceptMessage &a, InterceptMessage &b) { + using ::std::swap; + swap(a.our, b.our); + swap(a.uniform_number, b.uniform_number); + swap(a.cycle, b.cycle); + swap(a.__isset, b.__isset); +} + +InterceptMessage::InterceptMessage(const InterceptMessage& other100) noexcept { + our = other100.our; + uniform_number = other100.uniform_number; + cycle = other100.cycle; + __isset = other100.__isset; +} +InterceptMessage& InterceptMessage::operator=(const InterceptMessage& other101) noexcept { + our = other101.our; + uniform_number = other101.uniform_number; + cycle = other101.cycle; + __isset = other101.__isset; + return *this; +} +void InterceptMessage::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "InterceptMessage("; + out << "our=" << to_string(our); + out << ", " << "uniform_number=" << to_string(uniform_number); + out << ", " << "cycle=" << to_string(cycle); + out << ")"; +} + + +GoalieMessage::~GoalieMessage() noexcept { +} + + +void GoalieMessage::__set_goalie_uniform_number(const int32_t val) { + this->goalie_uniform_number = val; +} + +void GoalieMessage::__set_goalie_position(const RpcVector2D& val) { + this->goalie_position = val; +} + +void GoalieMessage::__set_goalie_body_direction(const double val) { + this->goalie_body_direction = val; +} +std::ostream& operator<<(std::ostream& out, const GoalieMessage& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t GoalieMessage::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->goalie_uniform_number); + this->__isset.goalie_uniform_number = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->goalie_position.read(iprot); + this->__isset.goalie_position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->goalie_body_direction); + this->__isset.goalie_body_direction = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t GoalieMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("GoalieMessage"); + + xfer += oprot->writeFieldBegin("goalie_uniform_number", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(this->goalie_uniform_number); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("goalie_position", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->goalie_position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("goalie_body_direction", ::apache::thrift::protocol::T_DOUBLE, 3); + xfer += oprot->writeDouble(this->goalie_body_direction); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(GoalieMessage &a, GoalieMessage &b) { + using ::std::swap; + swap(a.goalie_uniform_number, b.goalie_uniform_number); + swap(a.goalie_position, b.goalie_position); + swap(a.goalie_body_direction, b.goalie_body_direction); + swap(a.__isset, b.__isset); +} + +GoalieMessage::GoalieMessage(const GoalieMessage& other102) noexcept { + goalie_uniform_number = other102.goalie_uniform_number; + goalie_position = other102.goalie_position; + goalie_body_direction = other102.goalie_body_direction; + __isset = other102.__isset; +} +GoalieMessage& GoalieMessage::operator=(const GoalieMessage& other103) noexcept { + goalie_uniform_number = other103.goalie_uniform_number; + goalie_position = other103.goalie_position; + goalie_body_direction = other103.goalie_body_direction; + __isset = other103.__isset; + return *this; +} +void GoalieMessage::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "GoalieMessage("; + out << "goalie_uniform_number=" << to_string(goalie_uniform_number); + out << ", " << "goalie_position=" << to_string(goalie_position); + out << ", " << "goalie_body_direction=" << to_string(goalie_body_direction); + out << ")"; +} + + +GoalieAndPlayerMessage::~GoalieAndPlayerMessage() noexcept { +} + + +void GoalieAndPlayerMessage::__set_goalie_uniform_number(const int32_t val) { + this->goalie_uniform_number = val; +} + +void GoalieAndPlayerMessage::__set_goalie_position(const RpcVector2D& val) { + this->goalie_position = val; +} + +void GoalieAndPlayerMessage::__set_goalie_body_direction(const double val) { + this->goalie_body_direction = val; +} + +void GoalieAndPlayerMessage::__set_player_uniform_number(const int32_t val) { + this->player_uniform_number = val; +} + +void GoalieAndPlayerMessage::__set_player_position(const RpcVector2D& val) { + this->player_position = val; +} +std::ostream& operator<<(std::ostream& out, const GoalieAndPlayerMessage& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t GoalieAndPlayerMessage::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->goalie_uniform_number); + this->__isset.goalie_uniform_number = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->goalie_position.read(iprot); + this->__isset.goalie_position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->goalie_body_direction); + this->__isset.goalie_body_direction = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->player_uniform_number); + this->__isset.player_uniform_number = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->player_position.read(iprot); + this->__isset.player_position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t GoalieAndPlayerMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("GoalieAndPlayerMessage"); + + xfer += oprot->writeFieldBegin("goalie_uniform_number", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(this->goalie_uniform_number); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("goalie_position", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->goalie_position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("goalie_body_direction", ::apache::thrift::protocol::T_DOUBLE, 3); + xfer += oprot->writeDouble(this->goalie_body_direction); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("player_uniform_number", ::apache::thrift::protocol::T_I32, 4); + xfer += oprot->writeI32(this->player_uniform_number); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("player_position", ::apache::thrift::protocol::T_STRUCT, 5); + xfer += this->player_position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(GoalieAndPlayerMessage &a, GoalieAndPlayerMessage &b) { + using ::std::swap; + swap(a.goalie_uniform_number, b.goalie_uniform_number); + swap(a.goalie_position, b.goalie_position); + swap(a.goalie_body_direction, b.goalie_body_direction); + swap(a.player_uniform_number, b.player_uniform_number); + swap(a.player_position, b.player_position); + swap(a.__isset, b.__isset); +} + +GoalieAndPlayerMessage::GoalieAndPlayerMessage(const GoalieAndPlayerMessage& other104) noexcept { + goalie_uniform_number = other104.goalie_uniform_number; + goalie_position = other104.goalie_position; + goalie_body_direction = other104.goalie_body_direction; + player_uniform_number = other104.player_uniform_number; + player_position = other104.player_position; + __isset = other104.__isset; +} +GoalieAndPlayerMessage& GoalieAndPlayerMessage::operator=(const GoalieAndPlayerMessage& other105) noexcept { + goalie_uniform_number = other105.goalie_uniform_number; + goalie_position = other105.goalie_position; + goalie_body_direction = other105.goalie_body_direction; + player_uniform_number = other105.player_uniform_number; + player_position = other105.player_position; + __isset = other105.__isset; + return *this; +} +void GoalieAndPlayerMessage::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "GoalieAndPlayerMessage("; + out << "goalie_uniform_number=" << to_string(goalie_uniform_number); + out << ", " << "goalie_position=" << to_string(goalie_position); + out << ", " << "goalie_body_direction=" << to_string(goalie_body_direction); + out << ", " << "player_uniform_number=" << to_string(player_uniform_number); + out << ", " << "player_position=" << to_string(player_position); + out << ")"; +} + + +OffsideLineMessage::~OffsideLineMessage() noexcept { +} + + +void OffsideLineMessage::__set_offside_line_x(const double val) { + this->offside_line_x = val; +} +std::ostream& operator<<(std::ostream& out, const OffsideLineMessage& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t OffsideLineMessage::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->offside_line_x); + this->__isset.offside_line_x = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t OffsideLineMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("OffsideLineMessage"); + + xfer += oprot->writeFieldBegin("offside_line_x", ::apache::thrift::protocol::T_DOUBLE, 1); + xfer += oprot->writeDouble(this->offside_line_x); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(OffsideLineMessage &a, OffsideLineMessage &b) { + using ::std::swap; + swap(a.offside_line_x, b.offside_line_x); + swap(a.__isset, b.__isset); +} + +OffsideLineMessage::OffsideLineMessage(const OffsideLineMessage& other106) noexcept { + offside_line_x = other106.offside_line_x; + __isset = other106.__isset; +} +OffsideLineMessage& OffsideLineMessage::operator=(const OffsideLineMessage& other107) noexcept { + offside_line_x = other107.offside_line_x; + __isset = other107.__isset; + return *this; +} +void OffsideLineMessage::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "OffsideLineMessage("; + out << "offside_line_x=" << to_string(offside_line_x); + out << ")"; +} + + +DefenseLineMessage::~DefenseLineMessage() noexcept { +} + + +void DefenseLineMessage::__set_defense_line_x(const double val) { + this->defense_line_x = val; +} +std::ostream& operator<<(std::ostream& out, const DefenseLineMessage& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t DefenseLineMessage::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->defense_line_x); + this->__isset.defense_line_x = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t DefenseLineMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("DefenseLineMessage"); + + xfer += oprot->writeFieldBegin("defense_line_x", ::apache::thrift::protocol::T_DOUBLE, 1); + xfer += oprot->writeDouble(this->defense_line_x); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(DefenseLineMessage &a, DefenseLineMessage &b) { + using ::std::swap; + swap(a.defense_line_x, b.defense_line_x); + swap(a.__isset, b.__isset); +} + +DefenseLineMessage::DefenseLineMessage(const DefenseLineMessage& other108) noexcept { + defense_line_x = other108.defense_line_x; + __isset = other108.__isset; +} +DefenseLineMessage& DefenseLineMessage::operator=(const DefenseLineMessage& other109) noexcept { + defense_line_x = other109.defense_line_x; + __isset = other109.__isset; + return *this; +} +void DefenseLineMessage::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "DefenseLineMessage("; + out << "defense_line_x=" << to_string(defense_line_x); + out << ")"; +} + + +WaitRequestMessage::~WaitRequestMessage() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const WaitRequestMessage& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t WaitRequestMessage::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t WaitRequestMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("WaitRequestMessage"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(WaitRequestMessage &a, WaitRequestMessage &b) { + using ::std::swap; + (void) a; + (void) b; +} + +WaitRequestMessage::WaitRequestMessage(const WaitRequestMessage& other110) noexcept { + (void) other110; +} +WaitRequestMessage& WaitRequestMessage::operator=(const WaitRequestMessage& other111) noexcept { + (void) other111; + return *this; +} +void WaitRequestMessage::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "WaitRequestMessage("; + out << ")"; +} + + +SetplayMessage::~SetplayMessage() noexcept { +} + + +void SetplayMessage::__set_wait_step(const int32_t val) { + this->wait_step = val; +} +std::ostream& operator<<(std::ostream& out, const SetplayMessage& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t SetplayMessage::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->wait_step); + this->__isset.wait_step = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t SetplayMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("SetplayMessage"); + + xfer += oprot->writeFieldBegin("wait_step", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(this->wait_step); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(SetplayMessage &a, SetplayMessage &b) { + using ::std::swap; + swap(a.wait_step, b.wait_step); + swap(a.__isset, b.__isset); +} + +SetplayMessage::SetplayMessage(const SetplayMessage& other112) noexcept { + wait_step = other112.wait_step; + __isset = other112.__isset; +} +SetplayMessage& SetplayMessage::operator=(const SetplayMessage& other113) noexcept { + wait_step = other113.wait_step; + __isset = other113.__isset; + return *this; +} +void SetplayMessage::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "SetplayMessage("; + out << "wait_step=" << to_string(wait_step); + out << ")"; +} + + +PassRequestMessage::~PassRequestMessage() noexcept { +} + + +void PassRequestMessage::__set_target_point(const RpcVector2D& val) { + this->target_point = val; +} +std::ostream& operator<<(std::ostream& out, const PassRequestMessage& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t PassRequestMessage::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->target_point.read(iprot); + this->__isset.target_point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t PassRequestMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("PassRequestMessage"); + + xfer += oprot->writeFieldBegin("target_point", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->target_point.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(PassRequestMessage &a, PassRequestMessage &b) { + using ::std::swap; + swap(a.target_point, b.target_point); + swap(a.__isset, b.__isset); +} + +PassRequestMessage::PassRequestMessage(const PassRequestMessage& other114) noexcept { + target_point = other114.target_point; + __isset = other114.__isset; +} +PassRequestMessage& PassRequestMessage::operator=(const PassRequestMessage& other115) noexcept { + target_point = other115.target_point; + __isset = other115.__isset; + return *this; +} +void PassRequestMessage::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "PassRequestMessage("; + out << "target_point=" << to_string(target_point); + out << ")"; +} + + +StaminaMessage::~StaminaMessage() noexcept { +} + + +void StaminaMessage::__set_stamina(const double val) { + this->stamina = val; +} +std::ostream& operator<<(std::ostream& out, const StaminaMessage& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t StaminaMessage::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->stamina); + this->__isset.stamina = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t StaminaMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("StaminaMessage"); + + xfer += oprot->writeFieldBegin("stamina", ::apache::thrift::protocol::T_DOUBLE, 1); + xfer += oprot->writeDouble(this->stamina); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(StaminaMessage &a, StaminaMessage &b) { + using ::std::swap; + swap(a.stamina, b.stamina); + swap(a.__isset, b.__isset); +} + +StaminaMessage::StaminaMessage(const StaminaMessage& other116) noexcept { + stamina = other116.stamina; + __isset = other116.__isset; +} +StaminaMessage& StaminaMessage::operator=(const StaminaMessage& other117) noexcept { + stamina = other117.stamina; + __isset = other117.__isset; + return *this; +} +void StaminaMessage::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "StaminaMessage("; + out << "stamina=" << to_string(stamina); + out << ")"; +} + + +RecoveryMessage::~RecoveryMessage() noexcept { +} + + +void RecoveryMessage::__set_recovery(const double val) { + this->recovery = val; +} +std::ostream& operator<<(std::ostream& out, const RecoveryMessage& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t RecoveryMessage::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->recovery); + this->__isset.recovery = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t RecoveryMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("RecoveryMessage"); + + xfer += oprot->writeFieldBegin("recovery", ::apache::thrift::protocol::T_DOUBLE, 1); + xfer += oprot->writeDouble(this->recovery); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(RecoveryMessage &a, RecoveryMessage &b) { + using ::std::swap; + swap(a.recovery, b.recovery); + swap(a.__isset, b.__isset); +} + +RecoveryMessage::RecoveryMessage(const RecoveryMessage& other118) noexcept { + recovery = other118.recovery; + __isset = other118.__isset; +} +RecoveryMessage& RecoveryMessage::operator=(const RecoveryMessage& other119) noexcept { + recovery = other119.recovery; + __isset = other119.__isset; + return *this; +} +void RecoveryMessage::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "RecoveryMessage("; + out << "recovery=" << to_string(recovery); + out << ")"; +} + + +StaminaCapacityMessage::~StaminaCapacityMessage() noexcept { +} + + +void StaminaCapacityMessage::__set_stamina_capacity(const double val) { + this->stamina_capacity = val; +} +std::ostream& operator<<(std::ostream& out, const StaminaCapacityMessage& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t StaminaCapacityMessage::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->stamina_capacity); + this->__isset.stamina_capacity = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t StaminaCapacityMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("StaminaCapacityMessage"); + + xfer += oprot->writeFieldBegin("stamina_capacity", ::apache::thrift::protocol::T_DOUBLE, 1); + xfer += oprot->writeDouble(this->stamina_capacity); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(StaminaCapacityMessage &a, StaminaCapacityMessage &b) { + using ::std::swap; + swap(a.stamina_capacity, b.stamina_capacity); + swap(a.__isset, b.__isset); +} + +StaminaCapacityMessage::StaminaCapacityMessage(const StaminaCapacityMessage& other120) noexcept { + stamina_capacity = other120.stamina_capacity; + __isset = other120.__isset; +} +StaminaCapacityMessage& StaminaCapacityMessage::operator=(const StaminaCapacityMessage& other121) noexcept { + stamina_capacity = other121.stamina_capacity; + __isset = other121.__isset; + return *this; +} +void StaminaCapacityMessage::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "StaminaCapacityMessage("; + out << "stamina_capacity=" << to_string(stamina_capacity); + out << ")"; +} + + +DribbleMessage::~DribbleMessage() noexcept { +} + + +void DribbleMessage::__set_target_point(const RpcVector2D& val) { + this->target_point = val; +} + +void DribbleMessage::__set_queue_count(const int32_t val) { + this->queue_count = val; +} +std::ostream& operator<<(std::ostream& out, const DribbleMessage& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t DribbleMessage::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->target_point.read(iprot); + this->__isset.target_point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->queue_count); + this->__isset.queue_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t DribbleMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("DribbleMessage"); + + xfer += oprot->writeFieldBegin("target_point", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->target_point.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("queue_count", ::apache::thrift::protocol::T_I32, 2); + xfer += oprot->writeI32(this->queue_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(DribbleMessage &a, DribbleMessage &b) { + using ::std::swap; + swap(a.target_point, b.target_point); + swap(a.queue_count, b.queue_count); + swap(a.__isset, b.__isset); +} + +DribbleMessage::DribbleMessage(const DribbleMessage& other122) noexcept { + target_point = other122.target_point; + queue_count = other122.queue_count; + __isset = other122.__isset; +} +DribbleMessage& DribbleMessage::operator=(const DribbleMessage& other123) noexcept { + target_point = other123.target_point; + queue_count = other123.queue_count; + __isset = other123.__isset; + return *this; +} +void DribbleMessage::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "DribbleMessage("; + out << "target_point=" << to_string(target_point); + out << ", " << "queue_count=" << to_string(queue_count); + out << ")"; +} + + +BallGoalieMessage::~BallGoalieMessage() noexcept { +} + + +void BallGoalieMessage::__set_ball_position(const RpcVector2D& val) { + this->ball_position = val; +} + +void BallGoalieMessage::__set_ball_velocity(const RpcVector2D& val) { + this->ball_velocity = val; +} + +void BallGoalieMessage::__set_goalie_position(const RpcVector2D& val) { + this->goalie_position = val; +} + +void BallGoalieMessage::__set_goalie_body_direction(const double val) { + this->goalie_body_direction = val; +} +std::ostream& operator<<(std::ostream& out, const BallGoalieMessage& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t BallGoalieMessage::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ball_position.read(iprot); + this->__isset.ball_position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ball_velocity.read(iprot); + this->__isset.ball_velocity = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->goalie_position.read(iprot); + this->__isset.goalie_position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->goalie_body_direction); + this->__isset.goalie_body_direction = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t BallGoalieMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("BallGoalieMessage"); + + xfer += oprot->writeFieldBegin("ball_position", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->ball_position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("ball_velocity", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->ball_velocity.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("goalie_position", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->goalie_position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("goalie_body_direction", ::apache::thrift::protocol::T_DOUBLE, 4); + xfer += oprot->writeDouble(this->goalie_body_direction); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(BallGoalieMessage &a, BallGoalieMessage &b) { + using ::std::swap; + swap(a.ball_position, b.ball_position); + swap(a.ball_velocity, b.ball_velocity); + swap(a.goalie_position, b.goalie_position); + swap(a.goalie_body_direction, b.goalie_body_direction); + swap(a.__isset, b.__isset); +} + +BallGoalieMessage::BallGoalieMessage(const BallGoalieMessage& other124) noexcept { + ball_position = other124.ball_position; + ball_velocity = other124.ball_velocity; + goalie_position = other124.goalie_position; + goalie_body_direction = other124.goalie_body_direction; + __isset = other124.__isset; +} +BallGoalieMessage& BallGoalieMessage::operator=(const BallGoalieMessage& other125) noexcept { + ball_position = other125.ball_position; + ball_velocity = other125.ball_velocity; + goalie_position = other125.goalie_position; + goalie_body_direction = other125.goalie_body_direction; + __isset = other125.__isset; + return *this; +} +void BallGoalieMessage::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "BallGoalieMessage("; + out << "ball_position=" << to_string(ball_position); + out << ", " << "ball_velocity=" << to_string(ball_velocity); + out << ", " << "goalie_position=" << to_string(goalie_position); + out << ", " << "goalie_body_direction=" << to_string(goalie_body_direction); + out << ")"; +} + + +OnePlayerMessage::~OnePlayerMessage() noexcept { +} + + +void OnePlayerMessage::__set_uniform_number(const int32_t val) { + this->uniform_number = val; +} + +void OnePlayerMessage::__set_position(const RpcVector2D& val) { + this->position = val; +} +std::ostream& operator<<(std::ostream& out, const OnePlayerMessage& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t OnePlayerMessage::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->uniform_number); + this->__isset.uniform_number = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->position.read(iprot); + this->__isset.position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t OnePlayerMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("OnePlayerMessage"); + + xfer += oprot->writeFieldBegin("uniform_number", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(this->uniform_number); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("position", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(OnePlayerMessage &a, OnePlayerMessage &b) { + using ::std::swap; + swap(a.uniform_number, b.uniform_number); + swap(a.position, b.position); + swap(a.__isset, b.__isset); +} + +OnePlayerMessage::OnePlayerMessage(const OnePlayerMessage& other126) noexcept { + uniform_number = other126.uniform_number; + position = other126.position; + __isset = other126.__isset; +} +OnePlayerMessage& OnePlayerMessage::operator=(const OnePlayerMessage& other127) noexcept { + uniform_number = other127.uniform_number; + position = other127.position; + __isset = other127.__isset; + return *this; +} +void OnePlayerMessage::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "OnePlayerMessage("; + out << "uniform_number=" << to_string(uniform_number); + out << ", " << "position=" << to_string(position); + out << ")"; +} + + +TwoPlayerMessage::~TwoPlayerMessage() noexcept { +} + + +void TwoPlayerMessage::__set_first_uniform_number(const int32_t val) { + this->first_uniform_number = val; +} + +void TwoPlayerMessage::__set_first_position(const RpcVector2D& val) { + this->first_position = val; +} + +void TwoPlayerMessage::__set_second_uniform_number(const int32_t val) { + this->second_uniform_number = val; +} + +void TwoPlayerMessage::__set_second_position(const RpcVector2D& val) { + this->second_position = val; +} +std::ostream& operator<<(std::ostream& out, const TwoPlayerMessage& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t TwoPlayerMessage::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->first_uniform_number); + this->__isset.first_uniform_number = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->first_position.read(iprot); + this->__isset.first_position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->second_uniform_number); + this->__isset.second_uniform_number = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->second_position.read(iprot); + this->__isset.second_position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t TwoPlayerMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("TwoPlayerMessage"); + + xfer += oprot->writeFieldBegin("first_uniform_number", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(this->first_uniform_number); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("first_position", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->first_position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("second_uniform_number", ::apache::thrift::protocol::T_I32, 3); + xfer += oprot->writeI32(this->second_uniform_number); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("second_position", ::apache::thrift::protocol::T_STRUCT, 4); + xfer += this->second_position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(TwoPlayerMessage &a, TwoPlayerMessage &b) { + using ::std::swap; + swap(a.first_uniform_number, b.first_uniform_number); + swap(a.first_position, b.first_position); + swap(a.second_uniform_number, b.second_uniform_number); + swap(a.second_position, b.second_position); + swap(a.__isset, b.__isset); +} + +TwoPlayerMessage::TwoPlayerMessage(const TwoPlayerMessage& other128) noexcept { + first_uniform_number = other128.first_uniform_number; + first_position = other128.first_position; + second_uniform_number = other128.second_uniform_number; + second_position = other128.second_position; + __isset = other128.__isset; +} +TwoPlayerMessage& TwoPlayerMessage::operator=(const TwoPlayerMessage& other129) noexcept { + first_uniform_number = other129.first_uniform_number; + first_position = other129.first_position; + second_uniform_number = other129.second_uniform_number; + second_position = other129.second_position; + __isset = other129.__isset; + return *this; +} +void TwoPlayerMessage::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "TwoPlayerMessage("; + out << "first_uniform_number=" << to_string(first_uniform_number); + out << ", " << "first_position=" << to_string(first_position); + out << ", " << "second_uniform_number=" << to_string(second_uniform_number); + out << ", " << "second_position=" << to_string(second_position); + out << ")"; +} + + +ThreePlayerMessage::~ThreePlayerMessage() noexcept { +} + + +void ThreePlayerMessage::__set_first_uniform_number(const int32_t val) { + this->first_uniform_number = val; +} + +void ThreePlayerMessage::__set_first_position(const RpcVector2D& val) { + this->first_position = val; +} + +void ThreePlayerMessage::__set_second_uniform_number(const int32_t val) { + this->second_uniform_number = val; +} + +void ThreePlayerMessage::__set_second_position(const RpcVector2D& val) { + this->second_position = val; +} + +void ThreePlayerMessage::__set_third_uniform_number(const int32_t val) { + this->third_uniform_number = val; +} + +void ThreePlayerMessage::__set_third_position(const RpcVector2D& val) { + this->third_position = val; +} +std::ostream& operator<<(std::ostream& out, const ThreePlayerMessage& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t ThreePlayerMessage::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->first_uniform_number); + this->__isset.first_uniform_number = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->first_position.read(iprot); + this->__isset.first_position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->second_uniform_number); + this->__isset.second_uniform_number = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->second_position.read(iprot); + this->__isset.second_position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->third_uniform_number); + this->__isset.third_uniform_number = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->third_position.read(iprot); + this->__isset.third_position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t ThreePlayerMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("ThreePlayerMessage"); + + xfer += oprot->writeFieldBegin("first_uniform_number", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(this->first_uniform_number); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("first_position", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->first_position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("second_uniform_number", ::apache::thrift::protocol::T_I32, 3); + xfer += oprot->writeI32(this->second_uniform_number); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("second_position", ::apache::thrift::protocol::T_STRUCT, 4); + xfer += this->second_position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("third_uniform_number", ::apache::thrift::protocol::T_I32, 5); + xfer += oprot->writeI32(this->third_uniform_number); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("third_position", ::apache::thrift::protocol::T_STRUCT, 6); + xfer += this->third_position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(ThreePlayerMessage &a, ThreePlayerMessage &b) { + using ::std::swap; + swap(a.first_uniform_number, b.first_uniform_number); + swap(a.first_position, b.first_position); + swap(a.second_uniform_number, b.second_uniform_number); + swap(a.second_position, b.second_position); + swap(a.third_uniform_number, b.third_uniform_number); + swap(a.third_position, b.third_position); + swap(a.__isset, b.__isset); +} + +ThreePlayerMessage::ThreePlayerMessage(const ThreePlayerMessage& other130) noexcept { + first_uniform_number = other130.first_uniform_number; + first_position = other130.first_position; + second_uniform_number = other130.second_uniform_number; + second_position = other130.second_position; + third_uniform_number = other130.third_uniform_number; + third_position = other130.third_position; + __isset = other130.__isset; +} +ThreePlayerMessage& ThreePlayerMessage::operator=(const ThreePlayerMessage& other131) noexcept { + first_uniform_number = other131.first_uniform_number; + first_position = other131.first_position; + second_uniform_number = other131.second_uniform_number; + second_position = other131.second_position; + third_uniform_number = other131.third_uniform_number; + third_position = other131.third_position; + __isset = other131.__isset; + return *this; +} +void ThreePlayerMessage::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "ThreePlayerMessage("; + out << "first_uniform_number=" << to_string(first_uniform_number); + out << ", " << "first_position=" << to_string(first_position); + out << ", " << "second_uniform_number=" << to_string(second_uniform_number); + out << ", " << "second_position=" << to_string(second_position); + out << ", " << "third_uniform_number=" << to_string(third_uniform_number); + out << ", " << "third_position=" << to_string(third_position); + out << ")"; +} + + +SelfMessage::~SelfMessage() noexcept { +} + + +void SelfMessage::__set_self_position(const RpcVector2D& val) { + this->self_position = val; +} + +void SelfMessage::__set_self_body_direction(const double val) { + this->self_body_direction = val; +} + +void SelfMessage::__set_self_stamina(const double val) { + this->self_stamina = val; +} +std::ostream& operator<<(std::ostream& out, const SelfMessage& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t SelfMessage::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->self_position.read(iprot); + this->__isset.self_position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->self_body_direction); + this->__isset.self_body_direction = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->self_stamina); + this->__isset.self_stamina = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t SelfMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("SelfMessage"); + + xfer += oprot->writeFieldBegin("self_position", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->self_position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("self_body_direction", ::apache::thrift::protocol::T_DOUBLE, 2); + xfer += oprot->writeDouble(this->self_body_direction); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("self_stamina", ::apache::thrift::protocol::T_DOUBLE, 3); + xfer += oprot->writeDouble(this->self_stamina); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(SelfMessage &a, SelfMessage &b) { + using ::std::swap; + swap(a.self_position, b.self_position); + swap(a.self_body_direction, b.self_body_direction); + swap(a.self_stamina, b.self_stamina); + swap(a.__isset, b.__isset); +} + +SelfMessage::SelfMessage(const SelfMessage& other132) noexcept { + self_position = other132.self_position; + self_body_direction = other132.self_body_direction; + self_stamina = other132.self_stamina; + __isset = other132.__isset; +} +SelfMessage& SelfMessage::operator=(const SelfMessage& other133) noexcept { + self_position = other133.self_position; + self_body_direction = other133.self_body_direction; + self_stamina = other133.self_stamina; + __isset = other133.__isset; + return *this; +} +void SelfMessage::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "SelfMessage("; + out << "self_position=" << to_string(self_position); + out << ", " << "self_body_direction=" << to_string(self_body_direction); + out << ", " << "self_stamina=" << to_string(self_stamina); + out << ")"; +} + + +TeammateMessage::~TeammateMessage() noexcept { +} + + +void TeammateMessage::__set_uniform_number(const int32_t val) { + this->uniform_number = val; +} + +void TeammateMessage::__set_position(const RpcVector2D& val) { + this->position = val; +} + +void TeammateMessage::__set_body_direction(const double val) { + this->body_direction = val; +} +std::ostream& operator<<(std::ostream& out, const TeammateMessage& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t TeammateMessage::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->uniform_number); + this->__isset.uniform_number = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->position.read(iprot); + this->__isset.position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->body_direction); + this->__isset.body_direction = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t TeammateMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("TeammateMessage"); + + xfer += oprot->writeFieldBegin("uniform_number", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(this->uniform_number); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("position", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("body_direction", ::apache::thrift::protocol::T_DOUBLE, 3); + xfer += oprot->writeDouble(this->body_direction); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(TeammateMessage &a, TeammateMessage &b) { + using ::std::swap; + swap(a.uniform_number, b.uniform_number); + swap(a.position, b.position); + swap(a.body_direction, b.body_direction); + swap(a.__isset, b.__isset); +} + +TeammateMessage::TeammateMessage(const TeammateMessage& other134) noexcept { + uniform_number = other134.uniform_number; + position = other134.position; + body_direction = other134.body_direction; + __isset = other134.__isset; +} +TeammateMessage& TeammateMessage::operator=(const TeammateMessage& other135) noexcept { + uniform_number = other135.uniform_number; + position = other135.position; + body_direction = other135.body_direction; + __isset = other135.__isset; + return *this; +} +void TeammateMessage::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "TeammateMessage("; + out << "uniform_number=" << to_string(uniform_number); + out << ", " << "position=" << to_string(position); + out << ", " << "body_direction=" << to_string(body_direction); + out << ")"; +} + + +OpponentMessage::~OpponentMessage() noexcept { +} + + +void OpponentMessage::__set_uniform_number(const int32_t val) { + this->uniform_number = val; +} + +void OpponentMessage::__set_position(const RpcVector2D& val) { + this->position = val; +} + +void OpponentMessage::__set_body_direction(const double val) { + this->body_direction = val; +} +std::ostream& operator<<(std::ostream& out, const OpponentMessage& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t OpponentMessage::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->uniform_number); + this->__isset.uniform_number = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->position.read(iprot); + this->__isset.position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->body_direction); + this->__isset.body_direction = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t OpponentMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("OpponentMessage"); + + xfer += oprot->writeFieldBegin("uniform_number", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(this->uniform_number); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("position", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("body_direction", ::apache::thrift::protocol::T_DOUBLE, 3); + xfer += oprot->writeDouble(this->body_direction); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(OpponentMessage &a, OpponentMessage &b) { + using ::std::swap; + swap(a.uniform_number, b.uniform_number); + swap(a.position, b.position); + swap(a.body_direction, b.body_direction); + swap(a.__isset, b.__isset); +} + +OpponentMessage::OpponentMessage(const OpponentMessage& other136) noexcept { + uniform_number = other136.uniform_number; + position = other136.position; + body_direction = other136.body_direction; + __isset = other136.__isset; +} +OpponentMessage& OpponentMessage::operator=(const OpponentMessage& other137) noexcept { + uniform_number = other137.uniform_number; + position = other137.position; + body_direction = other137.body_direction; + __isset = other137.__isset; + return *this; +} +void OpponentMessage::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "OpponentMessage("; + out << "uniform_number=" << to_string(uniform_number); + out << ", " << "position=" << to_string(position); + out << ", " << "body_direction=" << to_string(body_direction); + out << ")"; +} + + +BallPlayerMessage::~BallPlayerMessage() noexcept { +} + + +void BallPlayerMessage::__set_ball_position(const RpcVector2D& val) { + this->ball_position = val; +} + +void BallPlayerMessage::__set_ball_velocity(const RpcVector2D& val) { + this->ball_velocity = val; +} + +void BallPlayerMessage::__set_uniform_number(const int32_t val) { + this->uniform_number = val; +} + +void BallPlayerMessage::__set_player_position(const RpcVector2D& val) { + this->player_position = val; +} + +void BallPlayerMessage::__set_body_direction(const double val) { + this->body_direction = val; +} +std::ostream& operator<<(std::ostream& out, const BallPlayerMessage& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t BallPlayerMessage::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ball_position.read(iprot); + this->__isset.ball_position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ball_velocity.read(iprot); + this->__isset.ball_velocity = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->uniform_number); + this->__isset.uniform_number = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->player_position.read(iprot); + this->__isset.player_position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->body_direction); + this->__isset.body_direction = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t BallPlayerMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("BallPlayerMessage"); + + xfer += oprot->writeFieldBegin("ball_position", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->ball_position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("ball_velocity", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->ball_velocity.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("uniform_number", ::apache::thrift::protocol::T_I32, 3); + xfer += oprot->writeI32(this->uniform_number); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("player_position", ::apache::thrift::protocol::T_STRUCT, 4); + xfer += this->player_position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("body_direction", ::apache::thrift::protocol::T_DOUBLE, 5); + xfer += oprot->writeDouble(this->body_direction); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(BallPlayerMessage &a, BallPlayerMessage &b) { + using ::std::swap; + swap(a.ball_position, b.ball_position); + swap(a.ball_velocity, b.ball_velocity); + swap(a.uniform_number, b.uniform_number); + swap(a.player_position, b.player_position); + swap(a.body_direction, b.body_direction); + swap(a.__isset, b.__isset); +} + +BallPlayerMessage::BallPlayerMessage(const BallPlayerMessage& other138) noexcept { + ball_position = other138.ball_position; + ball_velocity = other138.ball_velocity; + uniform_number = other138.uniform_number; + player_position = other138.player_position; + body_direction = other138.body_direction; + __isset = other138.__isset; +} +BallPlayerMessage& BallPlayerMessage::operator=(const BallPlayerMessage& other139) noexcept { + ball_position = other139.ball_position; + ball_velocity = other139.ball_velocity; + uniform_number = other139.uniform_number; + player_position = other139.player_position; + body_direction = other139.body_direction; + __isset = other139.__isset; + return *this; +} +void BallPlayerMessage::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "BallPlayerMessage("; + out << "ball_position=" << to_string(ball_position); + out << ", " << "ball_velocity=" << to_string(ball_velocity); + out << ", " << "uniform_number=" << to_string(uniform_number); + out << ", " << "player_position=" << to_string(player_position); + out << ", " << "body_direction=" << to_string(body_direction); + out << ")"; +} + + +Say::~Say() noexcept { +} + + +void Say::__set_ball_message(const BallMessage& val) { + this->ball_message = val; +__isset.ball_message = true; +} + +void Say::__set_pass_message(const PassMessage& val) { + this->pass_message = val; +__isset.pass_message = true; +} + +void Say::__set_intercept_message(const InterceptMessage& val) { + this->intercept_message = val; +__isset.intercept_message = true; +} + +void Say::__set_goalie_message(const GoalieMessage& val) { + this->goalie_message = val; +__isset.goalie_message = true; +} + +void Say::__set_goalie_and_player_message(const GoalieAndPlayerMessage& val) { + this->goalie_and_player_message = val; +__isset.goalie_and_player_message = true; +} + +void Say::__set_offside_line_message(const OffsideLineMessage& val) { + this->offside_line_message = val; +__isset.offside_line_message = true; +} + +void Say::__set_defense_line_message(const DefenseLineMessage& val) { + this->defense_line_message = val; +__isset.defense_line_message = true; +} + +void Say::__set_wait_request_message(const WaitRequestMessage& val) { + this->wait_request_message = val; +__isset.wait_request_message = true; +} + +void Say::__set_setplay_message(const SetplayMessage& val) { + this->setplay_message = val; +__isset.setplay_message = true; +} + +void Say::__set_pass_request_message(const PassRequestMessage& val) { + this->pass_request_message = val; +__isset.pass_request_message = true; +} + +void Say::__set_stamina_message(const StaminaMessage& val) { + this->stamina_message = val; +__isset.stamina_message = true; +} + +void Say::__set_recovery_message(const RecoveryMessage& val) { + this->recovery_message = val; +__isset.recovery_message = true; +} + +void Say::__set_stamina_capacity_message(const StaminaCapacityMessage& val) { + this->stamina_capacity_message = val; +__isset.stamina_capacity_message = true; +} + +void Say::__set_dribble_message(const DribbleMessage& val) { + this->dribble_message = val; +__isset.dribble_message = true; +} + +void Say::__set_ball_goalie_message(const BallGoalieMessage& val) { + this->ball_goalie_message = val; +__isset.ball_goalie_message = true; +} + +void Say::__set_one_player_message(const OnePlayerMessage& val) { + this->one_player_message = val; +__isset.one_player_message = true; +} + +void Say::__set_two_player_message(const TwoPlayerMessage& val) { + this->two_player_message = val; +__isset.two_player_message = true; +} + +void Say::__set_three_player_message(const ThreePlayerMessage& val) { + this->three_player_message = val; +__isset.three_player_message = true; +} + +void Say::__set_self_message(const SelfMessage& val) { + this->self_message = val; +__isset.self_message = true; +} + +void Say::__set_teammate_message(const TeammateMessage& val) { + this->teammate_message = val; +__isset.teammate_message = true; +} + +void Say::__set_opponent_message(const OpponentMessage& val) { + this->opponent_message = val; +__isset.opponent_message = true; +} + +void Say::__set_ball_player_message(const BallPlayerMessage& val) { + this->ball_player_message = val; +__isset.ball_player_message = true; +} +std::ostream& operator<<(std::ostream& out, const Say& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Say::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ball_message.read(iprot); + this->__isset.ball_message = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->pass_message.read(iprot); + this->__isset.pass_message = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->intercept_message.read(iprot); + this->__isset.intercept_message = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->goalie_message.read(iprot); + this->__isset.goalie_message = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->goalie_and_player_message.read(iprot); + this->__isset.goalie_and_player_message = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->offside_line_message.read(iprot); + this->__isset.offside_line_message = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 7: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->defense_line_message.read(iprot); + this->__isset.defense_line_message = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 8: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->wait_request_message.read(iprot); + this->__isset.wait_request_message = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 9: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->setplay_message.read(iprot); + this->__isset.setplay_message = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 10: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->pass_request_message.read(iprot); + this->__isset.pass_request_message = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 11: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->stamina_message.read(iprot); + this->__isset.stamina_message = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 12: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->recovery_message.read(iprot); + this->__isset.recovery_message = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 13: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->stamina_capacity_message.read(iprot); + this->__isset.stamina_capacity_message = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 14: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->dribble_message.read(iprot); + this->__isset.dribble_message = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 15: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ball_goalie_message.read(iprot); + this->__isset.ball_goalie_message = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 16: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->one_player_message.read(iprot); + this->__isset.one_player_message = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 17: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->two_player_message.read(iprot); + this->__isset.two_player_message = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 18: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->three_player_message.read(iprot); + this->__isset.three_player_message = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 19: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->self_message.read(iprot); + this->__isset.self_message = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 20: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->teammate_message.read(iprot); + this->__isset.teammate_message = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 21: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->opponent_message.read(iprot); + this->__isset.opponent_message = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 22: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ball_player_message.read(iprot); + this->__isset.ball_player_message = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Say::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Say"); + + if (this->__isset.ball_message) { + xfer += oprot->writeFieldBegin("ball_message", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->ball_message.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.pass_message) { + xfer += oprot->writeFieldBegin("pass_message", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->pass_message.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.intercept_message) { + xfer += oprot->writeFieldBegin("intercept_message", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->intercept_message.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.goalie_message) { + xfer += oprot->writeFieldBegin("goalie_message", ::apache::thrift::protocol::T_STRUCT, 4); + xfer += this->goalie_message.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.goalie_and_player_message) { + xfer += oprot->writeFieldBegin("goalie_and_player_message", ::apache::thrift::protocol::T_STRUCT, 5); + xfer += this->goalie_and_player_message.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.offside_line_message) { + xfer += oprot->writeFieldBegin("offside_line_message", ::apache::thrift::protocol::T_STRUCT, 6); + xfer += this->offside_line_message.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.defense_line_message) { + xfer += oprot->writeFieldBegin("defense_line_message", ::apache::thrift::protocol::T_STRUCT, 7); + xfer += this->defense_line_message.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.wait_request_message) { + xfer += oprot->writeFieldBegin("wait_request_message", ::apache::thrift::protocol::T_STRUCT, 8); + xfer += this->wait_request_message.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.setplay_message) { + xfer += oprot->writeFieldBegin("setplay_message", ::apache::thrift::protocol::T_STRUCT, 9); + xfer += this->setplay_message.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.pass_request_message) { + xfer += oprot->writeFieldBegin("pass_request_message", ::apache::thrift::protocol::T_STRUCT, 10); + xfer += this->pass_request_message.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.stamina_message) { + xfer += oprot->writeFieldBegin("stamina_message", ::apache::thrift::protocol::T_STRUCT, 11); + xfer += this->stamina_message.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.recovery_message) { + xfer += oprot->writeFieldBegin("recovery_message", ::apache::thrift::protocol::T_STRUCT, 12); + xfer += this->recovery_message.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.stamina_capacity_message) { + xfer += oprot->writeFieldBegin("stamina_capacity_message", ::apache::thrift::protocol::T_STRUCT, 13); + xfer += this->stamina_capacity_message.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.dribble_message) { + xfer += oprot->writeFieldBegin("dribble_message", ::apache::thrift::protocol::T_STRUCT, 14); + xfer += this->dribble_message.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.ball_goalie_message) { + xfer += oprot->writeFieldBegin("ball_goalie_message", ::apache::thrift::protocol::T_STRUCT, 15); + xfer += this->ball_goalie_message.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.one_player_message) { + xfer += oprot->writeFieldBegin("one_player_message", ::apache::thrift::protocol::T_STRUCT, 16); + xfer += this->one_player_message.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.two_player_message) { + xfer += oprot->writeFieldBegin("two_player_message", ::apache::thrift::protocol::T_STRUCT, 17); + xfer += this->two_player_message.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.three_player_message) { + xfer += oprot->writeFieldBegin("three_player_message", ::apache::thrift::protocol::T_STRUCT, 18); + xfer += this->three_player_message.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.self_message) { + xfer += oprot->writeFieldBegin("self_message", ::apache::thrift::protocol::T_STRUCT, 19); + xfer += this->self_message.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.teammate_message) { + xfer += oprot->writeFieldBegin("teammate_message", ::apache::thrift::protocol::T_STRUCT, 20); + xfer += this->teammate_message.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.opponent_message) { + xfer += oprot->writeFieldBegin("opponent_message", ::apache::thrift::protocol::T_STRUCT, 21); + xfer += this->opponent_message.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.ball_player_message) { + xfer += oprot->writeFieldBegin("ball_player_message", ::apache::thrift::protocol::T_STRUCT, 22); + xfer += this->ball_player_message.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Say &a, Say &b) { + using ::std::swap; + swap(a.ball_message, b.ball_message); + swap(a.pass_message, b.pass_message); + swap(a.intercept_message, b.intercept_message); + swap(a.goalie_message, b.goalie_message); + swap(a.goalie_and_player_message, b.goalie_and_player_message); + swap(a.offside_line_message, b.offside_line_message); + swap(a.defense_line_message, b.defense_line_message); + swap(a.wait_request_message, b.wait_request_message); + swap(a.setplay_message, b.setplay_message); + swap(a.pass_request_message, b.pass_request_message); + swap(a.stamina_message, b.stamina_message); + swap(a.recovery_message, b.recovery_message); + swap(a.stamina_capacity_message, b.stamina_capacity_message); + swap(a.dribble_message, b.dribble_message); + swap(a.ball_goalie_message, b.ball_goalie_message); + swap(a.one_player_message, b.one_player_message); + swap(a.two_player_message, b.two_player_message); + swap(a.three_player_message, b.three_player_message); + swap(a.self_message, b.self_message); + swap(a.teammate_message, b.teammate_message); + swap(a.opponent_message, b.opponent_message); + swap(a.ball_player_message, b.ball_player_message); + swap(a.__isset, b.__isset); +} + +Say::Say(const Say& other140) noexcept { + ball_message = other140.ball_message; + pass_message = other140.pass_message; + intercept_message = other140.intercept_message; + goalie_message = other140.goalie_message; + goalie_and_player_message = other140.goalie_and_player_message; + offside_line_message = other140.offside_line_message; + defense_line_message = other140.defense_line_message; + wait_request_message = other140.wait_request_message; + setplay_message = other140.setplay_message; + pass_request_message = other140.pass_request_message; + stamina_message = other140.stamina_message; + recovery_message = other140.recovery_message; + stamina_capacity_message = other140.stamina_capacity_message; + dribble_message = other140.dribble_message; + ball_goalie_message = other140.ball_goalie_message; + one_player_message = other140.one_player_message; + two_player_message = other140.two_player_message; + three_player_message = other140.three_player_message; + self_message = other140.self_message; + teammate_message = other140.teammate_message; + opponent_message = other140.opponent_message; + ball_player_message = other140.ball_player_message; + __isset = other140.__isset; +} +Say& Say::operator=(const Say& other141) noexcept { + ball_message = other141.ball_message; + pass_message = other141.pass_message; + intercept_message = other141.intercept_message; + goalie_message = other141.goalie_message; + goalie_and_player_message = other141.goalie_and_player_message; + offside_line_message = other141.offside_line_message; + defense_line_message = other141.defense_line_message; + wait_request_message = other141.wait_request_message; + setplay_message = other141.setplay_message; + pass_request_message = other141.pass_request_message; + stamina_message = other141.stamina_message; + recovery_message = other141.recovery_message; + stamina_capacity_message = other141.stamina_capacity_message; + dribble_message = other141.dribble_message; + ball_goalie_message = other141.ball_goalie_message; + one_player_message = other141.one_player_message; + two_player_message = other141.two_player_message; + three_player_message = other141.three_player_message; + self_message = other141.self_message; + teammate_message = other141.teammate_message; + opponent_message = other141.opponent_message; + ball_player_message = other141.ball_player_message; + __isset = other141.__isset; + return *this; +} +void Say::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Say("; + out << "ball_message="; (__isset.ball_message ? (out << to_string(ball_message)) : (out << "")); + out << ", " << "pass_message="; (__isset.pass_message ? (out << to_string(pass_message)) : (out << "")); + out << ", " << "intercept_message="; (__isset.intercept_message ? (out << to_string(intercept_message)) : (out << "")); + out << ", " << "goalie_message="; (__isset.goalie_message ? (out << to_string(goalie_message)) : (out << "")); + out << ", " << "goalie_and_player_message="; (__isset.goalie_and_player_message ? (out << to_string(goalie_and_player_message)) : (out << "")); + out << ", " << "offside_line_message="; (__isset.offside_line_message ? (out << to_string(offside_line_message)) : (out << "")); + out << ", " << "defense_line_message="; (__isset.defense_line_message ? (out << to_string(defense_line_message)) : (out << "")); + out << ", " << "wait_request_message="; (__isset.wait_request_message ? (out << to_string(wait_request_message)) : (out << "")); + out << ", " << "setplay_message="; (__isset.setplay_message ? (out << to_string(setplay_message)) : (out << "")); + out << ", " << "pass_request_message="; (__isset.pass_request_message ? (out << to_string(pass_request_message)) : (out << "")); + out << ", " << "stamina_message="; (__isset.stamina_message ? (out << to_string(stamina_message)) : (out << "")); + out << ", " << "recovery_message="; (__isset.recovery_message ? (out << to_string(recovery_message)) : (out << "")); + out << ", " << "stamina_capacity_message="; (__isset.stamina_capacity_message ? (out << to_string(stamina_capacity_message)) : (out << "")); + out << ", " << "dribble_message="; (__isset.dribble_message ? (out << to_string(dribble_message)) : (out << "")); + out << ", " << "ball_goalie_message="; (__isset.ball_goalie_message ? (out << to_string(ball_goalie_message)) : (out << "")); + out << ", " << "one_player_message="; (__isset.one_player_message ? (out << to_string(one_player_message)) : (out << "")); + out << ", " << "two_player_message="; (__isset.two_player_message ? (out << to_string(two_player_message)) : (out << "")); + out << ", " << "three_player_message="; (__isset.three_player_message ? (out << to_string(three_player_message)) : (out << "")); + out << ", " << "self_message="; (__isset.self_message ? (out << to_string(self_message)) : (out << "")); + out << ", " << "teammate_message="; (__isset.teammate_message ? (out << to_string(teammate_message)) : (out << "")); + out << ", " << "opponent_message="; (__isset.opponent_message ? (out << to_string(opponent_message)) : (out << "")); + out << ", " << "ball_player_message="; (__isset.ball_player_message ? (out << to_string(ball_player_message)) : (out << "")); + out << ")"; +} + + +PointTo::~PointTo() noexcept { +} + + +void PointTo::__set_x(const double val) { + this->x = val; +} + +void PointTo::__set_y(const double val) { + this->y = val; +} +std::ostream& operator<<(std::ostream& out, const PointTo& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t PointTo::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->x); + this->__isset.x = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->y); + this->__isset.y = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t PointTo::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("PointTo"); + + xfer += oprot->writeFieldBegin("x", ::apache::thrift::protocol::T_DOUBLE, 1); + xfer += oprot->writeDouble(this->x); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("y", ::apache::thrift::protocol::T_DOUBLE, 2); + xfer += oprot->writeDouble(this->y); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(PointTo &a, PointTo &b) { + using ::std::swap; + swap(a.x, b.x); + swap(a.y, b.y); + swap(a.__isset, b.__isset); +} + +PointTo::PointTo(const PointTo& other142) noexcept { + x = other142.x; + y = other142.y; + __isset = other142.__isset; +} +PointTo& PointTo::operator=(const PointTo& other143) noexcept { + x = other143.x; + y = other143.y; + __isset = other143.__isset; + return *this; +} +void PointTo::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "PointTo("; + out << "x=" << to_string(x); + out << ", " << "y=" << to_string(y); + out << ")"; +} + + +PointToOf::~PointToOf() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const PointToOf& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t PointToOf::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t PointToOf::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("PointToOf"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(PointToOf &a, PointToOf &b) { + using ::std::swap; + (void) a; + (void) b; +} + +PointToOf::PointToOf(const PointToOf& other144) noexcept { + (void) other144; +} +PointToOf& PointToOf::operator=(const PointToOf& other145) noexcept { + (void) other145; + return *this; +} +void PointToOf::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "PointToOf("; + out << ")"; +} + + +AttentionTo::~AttentionTo() noexcept { +} + + +void AttentionTo::__set_side(const Side::type val) { + this->side = val; +} + +void AttentionTo::__set_unum(const int32_t val) { + this->unum = val; +} +std::ostream& operator<<(std::ostream& out, const AttentionTo& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t AttentionTo::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast146; + xfer += iprot->readI32(ecast146); + this->side = static_cast(ecast146); + this->__isset.side = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->unum); + this->__isset.unum = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t AttentionTo::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("AttentionTo"); + + xfer += oprot->writeFieldBegin("side", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(static_cast(this->side)); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("unum", ::apache::thrift::protocol::T_I32, 2); + xfer += oprot->writeI32(this->unum); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(AttentionTo &a, AttentionTo &b) { + using ::std::swap; + swap(a.side, b.side); + swap(a.unum, b.unum); + swap(a.__isset, b.__isset); +} + +AttentionTo::AttentionTo(const AttentionTo& other147) noexcept { + side = other147.side; + unum = other147.unum; + __isset = other147.__isset; +} +AttentionTo& AttentionTo::operator=(const AttentionTo& other148) noexcept { + side = other148.side; + unum = other148.unum; + __isset = other148.__isset; + return *this; +} +void AttentionTo::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "AttentionTo("; + out << "side=" << to_string(side); + out << ", " << "unum=" << to_string(unum); + out << ")"; +} + + +AttentionToOf::~AttentionToOf() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const AttentionToOf& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t AttentionToOf::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t AttentionToOf::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("AttentionToOf"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(AttentionToOf &a, AttentionToOf &b) { + using ::std::swap; + (void) a; + (void) b; +} + +AttentionToOf::AttentionToOf(const AttentionToOf& other149) noexcept { + (void) other149; +} +AttentionToOf& AttentionToOf::operator=(const AttentionToOf& other150) noexcept { + (void) other150; + return *this; +} +void AttentionToOf::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "AttentionToOf("; + out << ")"; +} + + +AddText::~AddText() noexcept { +} + + +void AddText::__set_level(const LoggerLevel::type val) { + this->level = val; +} + +void AddText::__set_message(const std::string& val) { + this->message = val; +} +std::ostream& operator<<(std::ostream& out, const AddText& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t AddText::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast151; + xfer += iprot->readI32(ecast151); + this->level = static_cast(ecast151); + this->__isset.level = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->message); + this->__isset.message = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t AddText::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("AddText"); + + xfer += oprot->writeFieldBegin("level", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(static_cast(this->level)); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->message); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(AddText &a, AddText &b) { + using ::std::swap; + swap(a.level, b.level); + swap(a.message, b.message); + swap(a.__isset, b.__isset); +} + +AddText::AddText(const AddText& other152) { + level = other152.level; + message = other152.message; + __isset = other152.__isset; +} +AddText& AddText::operator=(const AddText& other153) { + level = other153.level; + message = other153.message; + __isset = other153.__isset; + return *this; +} +void AddText::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "AddText("; + out << "level=" << to_string(level); + out << ", " << "message=" << to_string(message); + out << ")"; +} + + +AddPoint::~AddPoint() noexcept { +} + + +void AddPoint::__set_level(const LoggerLevel::type val) { + this->level = val; +} + +void AddPoint::__set_point(const RpcVector2D& val) { + this->point = val; +} + +void AddPoint::__set_color(const std::string& val) { + this->color = val; +} +std::ostream& operator<<(std::ostream& out, const AddPoint& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t AddPoint::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast154; + xfer += iprot->readI32(ecast154); + this->level = static_cast(ecast154); + this->__isset.level = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->point.read(iprot); + this->__isset.point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->color); + this->__isset.color = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t AddPoint::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("AddPoint"); + + xfer += oprot->writeFieldBegin("level", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(static_cast(this->level)); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("point", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->point.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("color", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString(this->color); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(AddPoint &a, AddPoint &b) { + using ::std::swap; + swap(a.level, b.level); + swap(a.point, b.point); + swap(a.color, b.color); + swap(a.__isset, b.__isset); +} + +AddPoint::AddPoint(const AddPoint& other155) { + level = other155.level; + point = other155.point; + color = other155.color; + __isset = other155.__isset; +} +AddPoint& AddPoint::operator=(const AddPoint& other156) { + level = other156.level; + point = other156.point; + color = other156.color; + __isset = other156.__isset; + return *this; +} +void AddPoint::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "AddPoint("; + out << "level=" << to_string(level); + out << ", " << "point=" << to_string(point); + out << ", " << "color=" << to_string(color); + out << ")"; +} + + +AddLine::~AddLine() noexcept { +} + + +void AddLine::__set_level(const LoggerLevel::type val) { + this->level = val; +} + +void AddLine::__set_start_point(const RpcVector2D& val) { + this->start_point = val; +} + +void AddLine::__set_end_point(const RpcVector2D& val) { + this->end_point = val; +} + +void AddLine::__set_color(const std::string& val) { + this->color = val; +} +std::ostream& operator<<(std::ostream& out, const AddLine& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t AddLine::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast157; + xfer += iprot->readI32(ecast157); + this->level = static_cast(ecast157); + this->__isset.level = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->start_point.read(iprot); + this->__isset.start_point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->end_point.read(iprot); + this->__isset.end_point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->color); + this->__isset.color = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t AddLine::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("AddLine"); + + xfer += oprot->writeFieldBegin("level", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(static_cast(this->level)); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("start_point", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->start_point.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("end_point", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->end_point.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("color", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString(this->color); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(AddLine &a, AddLine &b) { + using ::std::swap; + swap(a.level, b.level); + swap(a.start_point, b.start_point); + swap(a.end_point, b.end_point); + swap(a.color, b.color); + swap(a.__isset, b.__isset); +} + +AddLine::AddLine(const AddLine& other158) { + level = other158.level; + start_point = other158.start_point; + end_point = other158.end_point; + color = other158.color; + __isset = other158.__isset; +} +AddLine& AddLine::operator=(const AddLine& other159) { + level = other159.level; + start_point = other159.start_point; + end_point = other159.end_point; + color = other159.color; + __isset = other159.__isset; + return *this; +} +void AddLine::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "AddLine("; + out << "level=" << to_string(level); + out << ", " << "start_point=" << to_string(start_point); + out << ", " << "end_point=" << to_string(end_point); + out << ", " << "color=" << to_string(color); + out << ")"; +} + + +AddArc::~AddArc() noexcept { +} + + +void AddArc::__set_level(const LoggerLevel::type val) { + this->level = val; +} + +void AddArc::__set_center(const RpcVector2D& val) { + this->center = val; +} + +void AddArc::__set_radius(const double val) { + this->radius = val; +} + +void AddArc::__set_start_angle(const double val) { + this->start_angle = val; +} + +void AddArc::__set_span_angel(const double val) { + this->span_angel = val; +} + +void AddArc::__set_color(const std::string& val) { + this->color = val; +} +std::ostream& operator<<(std::ostream& out, const AddArc& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t AddArc::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast160; + xfer += iprot->readI32(ecast160); + this->level = static_cast(ecast160); + this->__isset.level = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->center.read(iprot); + this->__isset.center = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->radius); + this->__isset.radius = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->start_angle); + this->__isset.start_angle = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->span_angel); + this->__isset.span_angel = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->color); + this->__isset.color = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t AddArc::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("AddArc"); + + xfer += oprot->writeFieldBegin("level", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(static_cast(this->level)); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("center", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->center.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("radius", ::apache::thrift::protocol::T_DOUBLE, 3); + xfer += oprot->writeDouble(this->radius); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("start_angle", ::apache::thrift::protocol::T_DOUBLE, 4); + xfer += oprot->writeDouble(this->start_angle); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("span_angel", ::apache::thrift::protocol::T_DOUBLE, 5); + xfer += oprot->writeDouble(this->span_angel); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("color", ::apache::thrift::protocol::T_STRING, 6); + xfer += oprot->writeString(this->color); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(AddArc &a, AddArc &b) { + using ::std::swap; + swap(a.level, b.level); + swap(a.center, b.center); + swap(a.radius, b.radius); + swap(a.start_angle, b.start_angle); + swap(a.span_angel, b.span_angel); + swap(a.color, b.color); + swap(a.__isset, b.__isset); +} + +AddArc::AddArc(const AddArc& other161) { + level = other161.level; + center = other161.center; + radius = other161.radius; + start_angle = other161.start_angle; + span_angel = other161.span_angel; + color = other161.color; + __isset = other161.__isset; +} +AddArc& AddArc::operator=(const AddArc& other162) { + level = other162.level; + center = other162.center; + radius = other162.radius; + start_angle = other162.start_angle; + span_angel = other162.span_angel; + color = other162.color; + __isset = other162.__isset; + return *this; +} +void AddArc::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "AddArc("; + out << "level=" << to_string(level); + out << ", " << "center=" << to_string(center); + out << ", " << "radius=" << to_string(radius); + out << ", " << "start_angle=" << to_string(start_angle); + out << ", " << "span_angel=" << to_string(span_angel); + out << ", " << "color=" << to_string(color); + out << ")"; +} + + +AddCircle::~AddCircle() noexcept { +} + + +void AddCircle::__set_level(const LoggerLevel::type val) { + this->level = val; +} + +void AddCircle::__set_center(const RpcVector2D& val) { + this->center = val; +} + +void AddCircle::__set_radius(const double val) { + this->radius = val; +} + +void AddCircle::__set_color(const std::string& val) { + this->color = val; +} + +void AddCircle::__set_fill(const bool val) { + this->fill = val; +} +std::ostream& operator<<(std::ostream& out, const AddCircle& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t AddCircle::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast163; + xfer += iprot->readI32(ecast163); + this->level = static_cast(ecast163); + this->__isset.level = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->center.read(iprot); + this->__isset.center = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->radius); + this->__isset.radius = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->color); + this->__isset.color = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->fill); + this->__isset.fill = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t AddCircle::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("AddCircle"); + + xfer += oprot->writeFieldBegin("level", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(static_cast(this->level)); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("center", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->center.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("radius", ::apache::thrift::protocol::T_DOUBLE, 3); + xfer += oprot->writeDouble(this->radius); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("color", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString(this->color); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("fill", ::apache::thrift::protocol::T_BOOL, 5); + xfer += oprot->writeBool(this->fill); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(AddCircle &a, AddCircle &b) { + using ::std::swap; + swap(a.level, b.level); + swap(a.center, b.center); + swap(a.radius, b.radius); + swap(a.color, b.color); + swap(a.fill, b.fill); + swap(a.__isset, b.__isset); +} + +AddCircle::AddCircle(const AddCircle& other164) { + level = other164.level; + center = other164.center; + radius = other164.radius; + color = other164.color; + fill = other164.fill; + __isset = other164.__isset; +} +AddCircle& AddCircle::operator=(const AddCircle& other165) { + level = other165.level; + center = other165.center; + radius = other165.radius; + color = other165.color; + fill = other165.fill; + __isset = other165.__isset; + return *this; +} +void AddCircle::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "AddCircle("; + out << "level=" << to_string(level); + out << ", " << "center=" << to_string(center); + out << ", " << "radius=" << to_string(radius); + out << ", " << "color=" << to_string(color); + out << ", " << "fill=" << to_string(fill); + out << ")"; +} + + +AddTriangle::~AddTriangle() noexcept { +} + + +void AddTriangle::__set_level(const LoggerLevel::type val) { + this->level = val; +} + +void AddTriangle::__set_point1(const RpcVector2D& val) { + this->point1 = val; +} + +void AddTriangle::__set_point2(const RpcVector2D& val) { + this->point2 = val; +} + +void AddTriangle::__set_point3(const RpcVector2D& val) { + this->point3 = val; +} + +void AddTriangle::__set_color(const std::string& val) { + this->color = val; +} + +void AddTriangle::__set_fill(const bool val) { + this->fill = val; +} +std::ostream& operator<<(std::ostream& out, const AddTriangle& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t AddTriangle::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast166; + xfer += iprot->readI32(ecast166); + this->level = static_cast(ecast166); + this->__isset.level = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->point1.read(iprot); + this->__isset.point1 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->point2.read(iprot); + this->__isset.point2 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->point3.read(iprot); + this->__isset.point3 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->color); + this->__isset.color = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->fill); + this->__isset.fill = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t AddTriangle::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("AddTriangle"); + + xfer += oprot->writeFieldBegin("level", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(static_cast(this->level)); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("point1", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->point1.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("point2", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->point2.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("point3", ::apache::thrift::protocol::T_STRUCT, 4); + xfer += this->point3.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("color", ::apache::thrift::protocol::T_STRING, 5); + xfer += oprot->writeString(this->color); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("fill", ::apache::thrift::protocol::T_BOOL, 6); + xfer += oprot->writeBool(this->fill); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(AddTriangle &a, AddTriangle &b) { + using ::std::swap; + swap(a.level, b.level); + swap(a.point1, b.point1); + swap(a.point2, b.point2); + swap(a.point3, b.point3); + swap(a.color, b.color); + swap(a.fill, b.fill); + swap(a.__isset, b.__isset); +} + +AddTriangle::AddTriangle(const AddTriangle& other167) { + level = other167.level; + point1 = other167.point1; + point2 = other167.point2; + point3 = other167.point3; + color = other167.color; + fill = other167.fill; + __isset = other167.__isset; +} +AddTriangle& AddTriangle::operator=(const AddTriangle& other168) { + level = other168.level; + point1 = other168.point1; + point2 = other168.point2; + point3 = other168.point3; + color = other168.color; + fill = other168.fill; + __isset = other168.__isset; + return *this; +} +void AddTriangle::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "AddTriangle("; + out << "level=" << to_string(level); + out << ", " << "point1=" << to_string(point1); + out << ", " << "point2=" << to_string(point2); + out << ", " << "point3=" << to_string(point3); + out << ", " << "color=" << to_string(color); + out << ", " << "fill=" << to_string(fill); + out << ")"; +} + + +AddRectangle::~AddRectangle() noexcept { +} + + +void AddRectangle::__set_level(const LoggerLevel::type val) { + this->level = val; +} + +void AddRectangle::__set_left(const double val) { + this->left = val; +} + +void AddRectangle::__set_top(const double val) { + this->top = val; +} + +void AddRectangle::__set_length(const double val) { + this->length = val; +} + +void AddRectangle::__set_width(const double val) { + this->width = val; +} + +void AddRectangle::__set_color(const std::string& val) { + this->color = val; +} + +void AddRectangle::__set_fill(const bool val) { + this->fill = val; +} +std::ostream& operator<<(std::ostream& out, const AddRectangle& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t AddRectangle::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast169; + xfer += iprot->readI32(ecast169); + this->level = static_cast(ecast169); + this->__isset.level = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->left); + this->__isset.left = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->top); + this->__isset.top = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->length); + this->__isset.length = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->width); + this->__isset.width = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->color); + this->__isset.color = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 7: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->fill); + this->__isset.fill = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t AddRectangle::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("AddRectangle"); + + xfer += oprot->writeFieldBegin("level", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(static_cast(this->level)); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("left", ::apache::thrift::protocol::T_DOUBLE, 2); + xfer += oprot->writeDouble(this->left); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("top", ::apache::thrift::protocol::T_DOUBLE, 3); + xfer += oprot->writeDouble(this->top); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("length", ::apache::thrift::protocol::T_DOUBLE, 4); + xfer += oprot->writeDouble(this->length); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("width", ::apache::thrift::protocol::T_DOUBLE, 5); + xfer += oprot->writeDouble(this->width); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("color", ::apache::thrift::protocol::T_STRING, 6); + xfer += oprot->writeString(this->color); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("fill", ::apache::thrift::protocol::T_BOOL, 7); + xfer += oprot->writeBool(this->fill); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(AddRectangle &a, AddRectangle &b) { + using ::std::swap; + swap(a.level, b.level); + swap(a.left, b.left); + swap(a.top, b.top); + swap(a.length, b.length); + swap(a.width, b.width); + swap(a.color, b.color); + swap(a.fill, b.fill); + swap(a.__isset, b.__isset); +} + +AddRectangle::AddRectangle(const AddRectangle& other170) { + level = other170.level; + left = other170.left; + top = other170.top; + length = other170.length; + width = other170.width; + color = other170.color; + fill = other170.fill; + __isset = other170.__isset; +} +AddRectangle& AddRectangle::operator=(const AddRectangle& other171) { + level = other171.level; + left = other171.left; + top = other171.top; + length = other171.length; + width = other171.width; + color = other171.color; + fill = other171.fill; + __isset = other171.__isset; + return *this; +} +void AddRectangle::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "AddRectangle("; + out << "level=" << to_string(level); + out << ", " << "left=" << to_string(left); + out << ", " << "top=" << to_string(top); + out << ", " << "length=" << to_string(length); + out << ", " << "width=" << to_string(width); + out << ", " << "color=" << to_string(color); + out << ", " << "fill=" << to_string(fill); + out << ")"; +} + + +AddSector::~AddSector() noexcept { +} + + +void AddSector::__set_level(const LoggerLevel::type val) { + this->level = val; +} + +void AddSector::__set_center(const RpcVector2D& val) { + this->center = val; +} + +void AddSector::__set_min_radius(const double val) { + this->min_radius = val; +} + +void AddSector::__set_max_radius(const double val) { + this->max_radius = val; +} + +void AddSector::__set_start_angle(const double val) { + this->start_angle = val; +} + +void AddSector::__set_span_angel(const double val) { + this->span_angel = val; +} + +void AddSector::__set_color(const std::string& val) { + this->color = val; +} + +void AddSector::__set_fill(const bool val) { + this->fill = val; +} +std::ostream& operator<<(std::ostream& out, const AddSector& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t AddSector::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast172; + xfer += iprot->readI32(ecast172); + this->level = static_cast(ecast172); + this->__isset.level = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->center.read(iprot); + this->__isset.center = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->min_radius); + this->__isset.min_radius = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->max_radius); + this->__isset.max_radius = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->start_angle); + this->__isset.start_angle = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->span_angel); + this->__isset.span_angel = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 7: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->color); + this->__isset.color = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 8: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->fill); + this->__isset.fill = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t AddSector::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("AddSector"); + + xfer += oprot->writeFieldBegin("level", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(static_cast(this->level)); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("center", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->center.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("min_radius", ::apache::thrift::protocol::T_DOUBLE, 3); + xfer += oprot->writeDouble(this->min_radius); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("max_radius", ::apache::thrift::protocol::T_DOUBLE, 4); + xfer += oprot->writeDouble(this->max_radius); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("start_angle", ::apache::thrift::protocol::T_DOUBLE, 5); + xfer += oprot->writeDouble(this->start_angle); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("span_angel", ::apache::thrift::protocol::T_DOUBLE, 6); + xfer += oprot->writeDouble(this->span_angel); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("color", ::apache::thrift::protocol::T_STRING, 7); + xfer += oprot->writeString(this->color); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("fill", ::apache::thrift::protocol::T_BOOL, 8); + xfer += oprot->writeBool(this->fill); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(AddSector &a, AddSector &b) { + using ::std::swap; + swap(a.level, b.level); + swap(a.center, b.center); + swap(a.min_radius, b.min_radius); + swap(a.max_radius, b.max_radius); + swap(a.start_angle, b.start_angle); + swap(a.span_angel, b.span_angel); + swap(a.color, b.color); + swap(a.fill, b.fill); + swap(a.__isset, b.__isset); +} + +AddSector::AddSector(const AddSector& other173) { + level = other173.level; + center = other173.center; + min_radius = other173.min_radius; + max_radius = other173.max_radius; + start_angle = other173.start_angle; + span_angel = other173.span_angel; + color = other173.color; + fill = other173.fill; + __isset = other173.__isset; +} +AddSector& AddSector::operator=(const AddSector& other174) { + level = other174.level; + center = other174.center; + min_radius = other174.min_radius; + max_radius = other174.max_radius; + start_angle = other174.start_angle; + span_angel = other174.span_angel; + color = other174.color; + fill = other174.fill; + __isset = other174.__isset; + return *this; +} +void AddSector::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "AddSector("; + out << "level=" << to_string(level); + out << ", " << "center=" << to_string(center); + out << ", " << "min_radius=" << to_string(min_radius); + out << ", " << "max_radius=" << to_string(max_radius); + out << ", " << "start_angle=" << to_string(start_angle); + out << ", " << "span_angel=" << to_string(span_angel); + out << ", " << "color=" << to_string(color); + out << ", " << "fill=" << to_string(fill); + out << ")"; +} + + +AddMessage::~AddMessage() noexcept { +} + + +void AddMessage::__set_level(const LoggerLevel::type val) { + this->level = val; +} + +void AddMessage::__set_position(const RpcVector2D& val) { + this->position = val; +} + +void AddMessage::__set_message(const std::string& val) { + this->message = val; +} + +void AddMessage::__set_color(const std::string& val) { + this->color = val; +} +std::ostream& operator<<(std::ostream& out, const AddMessage& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t AddMessage::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast175; + xfer += iprot->readI32(ecast175); + this->level = static_cast(ecast175); + this->__isset.level = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->position.read(iprot); + this->__isset.position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->message); + this->__isset.message = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->color); + this->__isset.color = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t AddMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("AddMessage"); + + xfer += oprot->writeFieldBegin("level", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(static_cast(this->level)); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("position", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString(this->message); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("color", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString(this->color); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(AddMessage &a, AddMessage &b) { + using ::std::swap; + swap(a.level, b.level); + swap(a.position, b.position); + swap(a.message, b.message); + swap(a.color, b.color); + swap(a.__isset, b.__isset); +} + +AddMessage::AddMessage(const AddMessage& other176) { + level = other176.level; + position = other176.position; + message = other176.message; + color = other176.color; + __isset = other176.__isset; +} +AddMessage& AddMessage::operator=(const AddMessage& other177) { + level = other177.level; + position = other177.position; + message = other177.message; + color = other177.color; + __isset = other177.__isset; + return *this; +} +void AddMessage::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "AddMessage("; + out << "level=" << to_string(level); + out << ", " << "position=" << to_string(position); + out << ", " << "message=" << to_string(message); + out << ", " << "color=" << to_string(color); + out << ")"; +} + + +Log::~Log() noexcept { +} + + +void Log::__set_add_text(const AddText& val) { + this->add_text = val; +__isset.add_text = true; +} + +void Log::__set_add_point(const AddPoint& val) { + this->add_point = val; +__isset.add_point = true; +} + +void Log::__set_add_line(const AddLine& val) { + this->add_line = val; +__isset.add_line = true; +} + +void Log::__set_add_arc(const AddArc& val) { + this->add_arc = val; +__isset.add_arc = true; +} + +void Log::__set_add_circle(const AddCircle& val) { + this->add_circle = val; +__isset.add_circle = true; +} + +void Log::__set_add_triangle(const AddTriangle& val) { + this->add_triangle = val; +__isset.add_triangle = true; +} + +void Log::__set_add_rectangle(const AddRectangle& val) { + this->add_rectangle = val; +__isset.add_rectangle = true; +} + +void Log::__set_add_sector(const AddSector& val) { + this->add_sector = val; +__isset.add_sector = true; +} + +void Log::__set_add_message(const AddMessage& val) { + this->add_message = val; +__isset.add_message = true; +} +std::ostream& operator<<(std::ostream& out, const Log& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Log::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->add_text.read(iprot); + this->__isset.add_text = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->add_point.read(iprot); + this->__isset.add_point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->add_line.read(iprot); + this->__isset.add_line = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->add_arc.read(iprot); + this->__isset.add_arc = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->add_circle.read(iprot); + this->__isset.add_circle = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->add_triangle.read(iprot); + this->__isset.add_triangle = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 7: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->add_rectangle.read(iprot); + this->__isset.add_rectangle = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 8: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->add_sector.read(iprot); + this->__isset.add_sector = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 9: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->add_message.read(iprot); + this->__isset.add_message = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Log::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Log"); + + if (this->__isset.add_text) { + xfer += oprot->writeFieldBegin("add_text", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->add_text.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.add_point) { + xfer += oprot->writeFieldBegin("add_point", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->add_point.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.add_line) { + xfer += oprot->writeFieldBegin("add_line", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->add_line.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.add_arc) { + xfer += oprot->writeFieldBegin("add_arc", ::apache::thrift::protocol::T_STRUCT, 4); + xfer += this->add_arc.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.add_circle) { + xfer += oprot->writeFieldBegin("add_circle", ::apache::thrift::protocol::T_STRUCT, 5); + xfer += this->add_circle.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.add_triangle) { + xfer += oprot->writeFieldBegin("add_triangle", ::apache::thrift::protocol::T_STRUCT, 6); + xfer += this->add_triangle.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.add_rectangle) { + xfer += oprot->writeFieldBegin("add_rectangle", ::apache::thrift::protocol::T_STRUCT, 7); + xfer += this->add_rectangle.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.add_sector) { + xfer += oprot->writeFieldBegin("add_sector", ::apache::thrift::protocol::T_STRUCT, 8); + xfer += this->add_sector.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.add_message) { + xfer += oprot->writeFieldBegin("add_message", ::apache::thrift::protocol::T_STRUCT, 9); + xfer += this->add_message.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Log &a, Log &b) { + using ::std::swap; + swap(a.add_text, b.add_text); + swap(a.add_point, b.add_point); + swap(a.add_line, b.add_line); + swap(a.add_arc, b.add_arc); + swap(a.add_circle, b.add_circle); + swap(a.add_triangle, b.add_triangle); + swap(a.add_rectangle, b.add_rectangle); + swap(a.add_sector, b.add_sector); + swap(a.add_message, b.add_message); + swap(a.__isset, b.__isset); +} + +Log::Log(const Log& other178) { + add_text = other178.add_text; + add_point = other178.add_point; + add_line = other178.add_line; + add_arc = other178.add_arc; + add_circle = other178.add_circle; + add_triangle = other178.add_triangle; + add_rectangle = other178.add_rectangle; + add_sector = other178.add_sector; + add_message = other178.add_message; + __isset = other178.__isset; +} +Log& Log::operator=(const Log& other179) { + add_text = other179.add_text; + add_point = other179.add_point; + add_line = other179.add_line; + add_arc = other179.add_arc; + add_circle = other179.add_circle; + add_triangle = other179.add_triangle; + add_rectangle = other179.add_rectangle; + add_sector = other179.add_sector; + add_message = other179.add_message; + __isset = other179.__isset; + return *this; +} +void Log::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Log("; + out << "add_text="; (__isset.add_text ? (out << to_string(add_text)) : (out << "")); + out << ", " << "add_point="; (__isset.add_point ? (out << to_string(add_point)) : (out << "")); + out << ", " << "add_line="; (__isset.add_line ? (out << to_string(add_line)) : (out << "")); + out << ", " << "add_arc="; (__isset.add_arc ? (out << to_string(add_arc)) : (out << "")); + out << ", " << "add_circle="; (__isset.add_circle ? (out << to_string(add_circle)) : (out << "")); + out << ", " << "add_triangle="; (__isset.add_triangle ? (out << to_string(add_triangle)) : (out << "")); + out << ", " << "add_rectangle="; (__isset.add_rectangle ? (out << to_string(add_rectangle)) : (out << "")); + out << ", " << "add_sector="; (__isset.add_sector ? (out << to_string(add_sector)) : (out << "")); + out << ", " << "add_message="; (__isset.add_message ? (out << to_string(add_message)) : (out << "")); + out << ")"; +} + + +DebugClient::~DebugClient() noexcept { +} + + +void DebugClient::__set_message(const std::string& val) { + this->message = val; +} +std::ostream& operator<<(std::ostream& out, const DebugClient& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t DebugClient::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->message); + this->__isset.message = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t DebugClient::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("DebugClient"); + + xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); + xfer += oprot->writeString(this->message); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(DebugClient &a, DebugClient &b) { + using ::std::swap; + swap(a.message, b.message); + swap(a.__isset, b.__isset); +} + +DebugClient::DebugClient(const DebugClient& other180) { + message = other180.message; + __isset = other180.__isset; +} +DebugClient& DebugClient::operator=(const DebugClient& other181) { + message = other181.message; + __isset = other181.__isset; + return *this; +} +void DebugClient::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "DebugClient("; + out << "message=" << to_string(message); + out << ")"; +} + + +Body_GoToPoint::~Body_GoToPoint() noexcept { +} + + +void Body_GoToPoint::__set_target_point(const RpcVector2D& val) { + this->target_point = val; +} + +void Body_GoToPoint::__set_distance_threshold(const double val) { + this->distance_threshold = val; +} + +void Body_GoToPoint::__set_max_dash_power(const double val) { + this->max_dash_power = val; +} +std::ostream& operator<<(std::ostream& out, const Body_GoToPoint& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Body_GoToPoint::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->target_point.read(iprot); + this->__isset.target_point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->distance_threshold); + this->__isset.distance_threshold = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->max_dash_power); + this->__isset.max_dash_power = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Body_GoToPoint::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Body_GoToPoint"); + + xfer += oprot->writeFieldBegin("target_point", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->target_point.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("distance_threshold", ::apache::thrift::protocol::T_DOUBLE, 2); + xfer += oprot->writeDouble(this->distance_threshold); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("max_dash_power", ::apache::thrift::protocol::T_DOUBLE, 3); + xfer += oprot->writeDouble(this->max_dash_power); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Body_GoToPoint &a, Body_GoToPoint &b) { + using ::std::swap; + swap(a.target_point, b.target_point); + swap(a.distance_threshold, b.distance_threshold); + swap(a.max_dash_power, b.max_dash_power); + swap(a.__isset, b.__isset); +} + +Body_GoToPoint::Body_GoToPoint(const Body_GoToPoint& other182) noexcept { + target_point = other182.target_point; + distance_threshold = other182.distance_threshold; + max_dash_power = other182.max_dash_power; + __isset = other182.__isset; +} +Body_GoToPoint& Body_GoToPoint::operator=(const Body_GoToPoint& other183) noexcept { + target_point = other183.target_point; + distance_threshold = other183.distance_threshold; + max_dash_power = other183.max_dash_power; + __isset = other183.__isset; + return *this; +} +void Body_GoToPoint::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Body_GoToPoint("; + out << "target_point=" << to_string(target_point); + out << ", " << "distance_threshold=" << to_string(distance_threshold); + out << ", " << "max_dash_power=" << to_string(max_dash_power); + out << ")"; +} + + +Body_SmartKick::~Body_SmartKick() noexcept { +} + + +void Body_SmartKick::__set_target_point(const RpcVector2D& val) { + this->target_point = val; +} + +void Body_SmartKick::__set_first_speed(const double val) { + this->first_speed = val; +} + +void Body_SmartKick::__set_first_speed_threshold(const double val) { + this->first_speed_threshold = val; +} + +void Body_SmartKick::__set_max_steps(const int32_t val) { + this->max_steps = val; +} +std::ostream& operator<<(std::ostream& out, const Body_SmartKick& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Body_SmartKick::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->target_point.read(iprot); + this->__isset.target_point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->first_speed); + this->__isset.first_speed = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->first_speed_threshold); + this->__isset.first_speed_threshold = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->max_steps); + this->__isset.max_steps = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Body_SmartKick::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Body_SmartKick"); + + xfer += oprot->writeFieldBegin("target_point", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->target_point.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("first_speed", ::apache::thrift::protocol::T_DOUBLE, 2); + xfer += oprot->writeDouble(this->first_speed); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("first_speed_threshold", ::apache::thrift::protocol::T_DOUBLE, 3); + xfer += oprot->writeDouble(this->first_speed_threshold); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("max_steps", ::apache::thrift::protocol::T_I32, 4); + xfer += oprot->writeI32(this->max_steps); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Body_SmartKick &a, Body_SmartKick &b) { + using ::std::swap; + swap(a.target_point, b.target_point); + swap(a.first_speed, b.first_speed); + swap(a.first_speed_threshold, b.first_speed_threshold); + swap(a.max_steps, b.max_steps); + swap(a.__isset, b.__isset); +} + +Body_SmartKick::Body_SmartKick(const Body_SmartKick& other184) noexcept { + target_point = other184.target_point; + first_speed = other184.first_speed; + first_speed_threshold = other184.first_speed_threshold; + max_steps = other184.max_steps; + __isset = other184.__isset; +} +Body_SmartKick& Body_SmartKick::operator=(const Body_SmartKick& other185) noexcept { + target_point = other185.target_point; + first_speed = other185.first_speed; + first_speed_threshold = other185.first_speed_threshold; + max_steps = other185.max_steps; + __isset = other185.__isset; + return *this; +} +void Body_SmartKick::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Body_SmartKick("; + out << "target_point=" << to_string(target_point); + out << ", " << "first_speed=" << to_string(first_speed); + out << ", " << "first_speed_threshold=" << to_string(first_speed_threshold); + out << ", " << "max_steps=" << to_string(max_steps); + out << ")"; +} + + +Bhv_BeforeKickOff::~Bhv_BeforeKickOff() noexcept { +} + + +void Bhv_BeforeKickOff::__set_point(const RpcVector2D& val) { + this->point = val; +} +std::ostream& operator<<(std::ostream& out, const Bhv_BeforeKickOff& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Bhv_BeforeKickOff::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->point.read(iprot); + this->__isset.point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Bhv_BeforeKickOff::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Bhv_BeforeKickOff"); + + xfer += oprot->writeFieldBegin("point", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->point.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Bhv_BeforeKickOff &a, Bhv_BeforeKickOff &b) { + using ::std::swap; + swap(a.point, b.point); + swap(a.__isset, b.__isset); +} + +Bhv_BeforeKickOff::Bhv_BeforeKickOff(const Bhv_BeforeKickOff& other186) noexcept { + point = other186.point; + __isset = other186.__isset; +} +Bhv_BeforeKickOff& Bhv_BeforeKickOff::operator=(const Bhv_BeforeKickOff& other187) noexcept { + point = other187.point; + __isset = other187.__isset; + return *this; +} +void Bhv_BeforeKickOff::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Bhv_BeforeKickOff("; + out << "point=" << to_string(point); + out << ")"; +} + + +Bhv_BodyNeckToBall::~Bhv_BodyNeckToBall() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const Bhv_BodyNeckToBall& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Bhv_BodyNeckToBall::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Bhv_BodyNeckToBall::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Bhv_BodyNeckToBall"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Bhv_BodyNeckToBall &a, Bhv_BodyNeckToBall &b) { + using ::std::swap; + (void) a; + (void) b; +} + +Bhv_BodyNeckToBall::Bhv_BodyNeckToBall(const Bhv_BodyNeckToBall& other188) noexcept { + (void) other188; +} +Bhv_BodyNeckToBall& Bhv_BodyNeckToBall::operator=(const Bhv_BodyNeckToBall& other189) noexcept { + (void) other189; + return *this; +} +void Bhv_BodyNeckToBall::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Bhv_BodyNeckToBall("; + out << ")"; +} + + +Bhv_BodyNeckToPoint::~Bhv_BodyNeckToPoint() noexcept { +} + + +void Bhv_BodyNeckToPoint::__set_point(const RpcVector2D& val) { + this->point = val; +} +std::ostream& operator<<(std::ostream& out, const Bhv_BodyNeckToPoint& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Bhv_BodyNeckToPoint::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->point.read(iprot); + this->__isset.point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Bhv_BodyNeckToPoint::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Bhv_BodyNeckToPoint"); + + xfer += oprot->writeFieldBegin("point", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->point.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Bhv_BodyNeckToPoint &a, Bhv_BodyNeckToPoint &b) { + using ::std::swap; + swap(a.point, b.point); + swap(a.__isset, b.__isset); +} + +Bhv_BodyNeckToPoint::Bhv_BodyNeckToPoint(const Bhv_BodyNeckToPoint& other190) noexcept { + point = other190.point; + __isset = other190.__isset; +} +Bhv_BodyNeckToPoint& Bhv_BodyNeckToPoint::operator=(const Bhv_BodyNeckToPoint& other191) noexcept { + point = other191.point; + __isset = other191.__isset; + return *this; +} +void Bhv_BodyNeckToPoint::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Bhv_BodyNeckToPoint("; + out << "point=" << to_string(point); + out << ")"; +} + + +Bhv_Emergency::~Bhv_Emergency() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const Bhv_Emergency& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Bhv_Emergency::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Bhv_Emergency::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Bhv_Emergency"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Bhv_Emergency &a, Bhv_Emergency &b) { + using ::std::swap; + (void) a; + (void) b; +} + +Bhv_Emergency::Bhv_Emergency(const Bhv_Emergency& other192) noexcept { + (void) other192; +} +Bhv_Emergency& Bhv_Emergency::operator=(const Bhv_Emergency& other193) noexcept { + (void) other193; + return *this; +} +void Bhv_Emergency::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Bhv_Emergency("; + out << ")"; +} + + +Bhv_GoToPointLookBall::~Bhv_GoToPointLookBall() noexcept { +} + + +void Bhv_GoToPointLookBall::__set_target_point(const RpcVector2D& val) { + this->target_point = val; +} + +void Bhv_GoToPointLookBall::__set_distance_threshold(const double val) { + this->distance_threshold = val; +} + +void Bhv_GoToPointLookBall::__set_max_dash_power(const double val) { + this->max_dash_power = val; +} +std::ostream& operator<<(std::ostream& out, const Bhv_GoToPointLookBall& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Bhv_GoToPointLookBall::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->target_point.read(iprot); + this->__isset.target_point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->distance_threshold); + this->__isset.distance_threshold = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->max_dash_power); + this->__isset.max_dash_power = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Bhv_GoToPointLookBall::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Bhv_GoToPointLookBall"); + + xfer += oprot->writeFieldBegin("target_point", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->target_point.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("distance_threshold", ::apache::thrift::protocol::T_DOUBLE, 2); + xfer += oprot->writeDouble(this->distance_threshold); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("max_dash_power", ::apache::thrift::protocol::T_DOUBLE, 3); + xfer += oprot->writeDouble(this->max_dash_power); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Bhv_GoToPointLookBall &a, Bhv_GoToPointLookBall &b) { + using ::std::swap; + swap(a.target_point, b.target_point); + swap(a.distance_threshold, b.distance_threshold); + swap(a.max_dash_power, b.max_dash_power); + swap(a.__isset, b.__isset); +} + +Bhv_GoToPointLookBall::Bhv_GoToPointLookBall(const Bhv_GoToPointLookBall& other194) noexcept { + target_point = other194.target_point; + distance_threshold = other194.distance_threshold; + max_dash_power = other194.max_dash_power; + __isset = other194.__isset; +} +Bhv_GoToPointLookBall& Bhv_GoToPointLookBall::operator=(const Bhv_GoToPointLookBall& other195) noexcept { + target_point = other195.target_point; + distance_threshold = other195.distance_threshold; + max_dash_power = other195.max_dash_power; + __isset = other195.__isset; + return *this; +} +void Bhv_GoToPointLookBall::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Bhv_GoToPointLookBall("; + out << "target_point=" << to_string(target_point); + out << ", " << "distance_threshold=" << to_string(distance_threshold); + out << ", " << "max_dash_power=" << to_string(max_dash_power); + out << ")"; +} + + +Bhv_NeckBodyToBall::~Bhv_NeckBodyToBall() noexcept { +} + + +void Bhv_NeckBodyToBall::__set_angle_buf(const double val) { + this->angle_buf = val; +} +std::ostream& operator<<(std::ostream& out, const Bhv_NeckBodyToBall& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Bhv_NeckBodyToBall::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->angle_buf); + this->__isset.angle_buf = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Bhv_NeckBodyToBall::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Bhv_NeckBodyToBall"); + + xfer += oprot->writeFieldBegin("angle_buf", ::apache::thrift::protocol::T_DOUBLE, 1); + xfer += oprot->writeDouble(this->angle_buf); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Bhv_NeckBodyToBall &a, Bhv_NeckBodyToBall &b) { + using ::std::swap; + swap(a.angle_buf, b.angle_buf); + swap(a.__isset, b.__isset); +} + +Bhv_NeckBodyToBall::Bhv_NeckBodyToBall(const Bhv_NeckBodyToBall& other196) noexcept { + angle_buf = other196.angle_buf; + __isset = other196.__isset; +} +Bhv_NeckBodyToBall& Bhv_NeckBodyToBall::operator=(const Bhv_NeckBodyToBall& other197) noexcept { + angle_buf = other197.angle_buf; + __isset = other197.__isset; + return *this; +} +void Bhv_NeckBodyToBall::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Bhv_NeckBodyToBall("; + out << "angle_buf=" << to_string(angle_buf); + out << ")"; +} + + +Bhv_NeckBodyToPoint::~Bhv_NeckBodyToPoint() noexcept { +} + + +void Bhv_NeckBodyToPoint::__set_point(const RpcVector2D& val) { + this->point = val; +} + +void Bhv_NeckBodyToPoint::__set_angle_buf(const double val) { + this->angle_buf = val; +} +std::ostream& operator<<(std::ostream& out, const Bhv_NeckBodyToPoint& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Bhv_NeckBodyToPoint::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->point.read(iprot); + this->__isset.point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->angle_buf); + this->__isset.angle_buf = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Bhv_NeckBodyToPoint::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Bhv_NeckBodyToPoint"); + + xfer += oprot->writeFieldBegin("point", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->point.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("angle_buf", ::apache::thrift::protocol::T_DOUBLE, 2); + xfer += oprot->writeDouble(this->angle_buf); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Bhv_NeckBodyToPoint &a, Bhv_NeckBodyToPoint &b) { + using ::std::swap; + swap(a.point, b.point); + swap(a.angle_buf, b.angle_buf); + swap(a.__isset, b.__isset); +} + +Bhv_NeckBodyToPoint::Bhv_NeckBodyToPoint(const Bhv_NeckBodyToPoint& other198) noexcept { + point = other198.point; + angle_buf = other198.angle_buf; + __isset = other198.__isset; +} +Bhv_NeckBodyToPoint& Bhv_NeckBodyToPoint::operator=(const Bhv_NeckBodyToPoint& other199) noexcept { + point = other199.point; + angle_buf = other199.angle_buf; + __isset = other199.__isset; + return *this; +} +void Bhv_NeckBodyToPoint::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Bhv_NeckBodyToPoint("; + out << "point=" << to_string(point); + out << ", " << "angle_buf=" << to_string(angle_buf); + out << ")"; +} + + +Bhv_ScanField::~Bhv_ScanField() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const Bhv_ScanField& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Bhv_ScanField::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Bhv_ScanField::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Bhv_ScanField"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Bhv_ScanField &a, Bhv_ScanField &b) { + using ::std::swap; + (void) a; + (void) b; +} + +Bhv_ScanField::Bhv_ScanField(const Bhv_ScanField& other200) noexcept { + (void) other200; +} +Bhv_ScanField& Bhv_ScanField::operator=(const Bhv_ScanField& other201) noexcept { + (void) other201; + return *this; +} +void Bhv_ScanField::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Bhv_ScanField("; + out << ")"; +} + + +Body_AdvanceBall::~Body_AdvanceBall() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const Body_AdvanceBall& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Body_AdvanceBall::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Body_AdvanceBall::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Body_AdvanceBall"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Body_AdvanceBall &a, Body_AdvanceBall &b) { + using ::std::swap; + (void) a; + (void) b; +} + +Body_AdvanceBall::Body_AdvanceBall(const Body_AdvanceBall& other202) noexcept { + (void) other202; +} +Body_AdvanceBall& Body_AdvanceBall::operator=(const Body_AdvanceBall& other203) noexcept { + (void) other203; + return *this; +} +void Body_AdvanceBall::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Body_AdvanceBall("; + out << ")"; +} + + +Body_ClearBall::~Body_ClearBall() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const Body_ClearBall& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Body_ClearBall::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Body_ClearBall::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Body_ClearBall"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Body_ClearBall &a, Body_ClearBall &b) { + using ::std::swap; + (void) a; + (void) b; +} + +Body_ClearBall::Body_ClearBall(const Body_ClearBall& other204) noexcept { + (void) other204; +} +Body_ClearBall& Body_ClearBall::operator=(const Body_ClearBall& other205) noexcept { + (void) other205; + return *this; +} +void Body_ClearBall::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Body_ClearBall("; + out << ")"; +} + + +Body_Dribble::~Body_Dribble() noexcept { +} + + +void Body_Dribble::__set_target_point(const RpcVector2D& val) { + this->target_point = val; +} + +void Body_Dribble::__set_distance_threshold(const double val) { + this->distance_threshold = val; +} + +void Body_Dribble::__set_dash_power(const double val) { + this->dash_power = val; +} + +void Body_Dribble::__set_dash_count(const int32_t val) { + this->dash_count = val; +} + +void Body_Dribble::__set_dodge(const bool val) { + this->dodge = val; +} +std::ostream& operator<<(std::ostream& out, const Body_Dribble& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Body_Dribble::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->target_point.read(iprot); + this->__isset.target_point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->distance_threshold); + this->__isset.distance_threshold = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->dash_power); + this->__isset.dash_power = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->dash_count); + this->__isset.dash_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->dodge); + this->__isset.dodge = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Body_Dribble::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Body_Dribble"); + + xfer += oprot->writeFieldBegin("target_point", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->target_point.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("distance_threshold", ::apache::thrift::protocol::T_DOUBLE, 2); + xfer += oprot->writeDouble(this->distance_threshold); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("dash_power", ::apache::thrift::protocol::T_DOUBLE, 3); + xfer += oprot->writeDouble(this->dash_power); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("dash_count", ::apache::thrift::protocol::T_I32, 4); + xfer += oprot->writeI32(this->dash_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("dodge", ::apache::thrift::protocol::T_BOOL, 5); + xfer += oprot->writeBool(this->dodge); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Body_Dribble &a, Body_Dribble &b) { + using ::std::swap; + swap(a.target_point, b.target_point); + swap(a.distance_threshold, b.distance_threshold); + swap(a.dash_power, b.dash_power); + swap(a.dash_count, b.dash_count); + swap(a.dodge, b.dodge); + swap(a.__isset, b.__isset); +} + +Body_Dribble::Body_Dribble(const Body_Dribble& other206) noexcept { + target_point = other206.target_point; + distance_threshold = other206.distance_threshold; + dash_power = other206.dash_power; + dash_count = other206.dash_count; + dodge = other206.dodge; + __isset = other206.__isset; +} +Body_Dribble& Body_Dribble::operator=(const Body_Dribble& other207) noexcept { + target_point = other207.target_point; + distance_threshold = other207.distance_threshold; + dash_power = other207.dash_power; + dash_count = other207.dash_count; + dodge = other207.dodge; + __isset = other207.__isset; + return *this; +} +void Body_Dribble::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Body_Dribble("; + out << "target_point=" << to_string(target_point); + out << ", " << "distance_threshold=" << to_string(distance_threshold); + out << ", " << "dash_power=" << to_string(dash_power); + out << ", " << "dash_count=" << to_string(dash_count); + out << ", " << "dodge=" << to_string(dodge); + out << ")"; +} + + +Body_GoToPointDodge::~Body_GoToPointDodge() noexcept { +} + + +void Body_GoToPointDodge::__set_target_point(const RpcVector2D& val) { + this->target_point = val; +} + +void Body_GoToPointDodge::__set_dash_power(const double val) { + this->dash_power = val; +} +std::ostream& operator<<(std::ostream& out, const Body_GoToPointDodge& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Body_GoToPointDodge::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->target_point.read(iprot); + this->__isset.target_point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->dash_power); + this->__isset.dash_power = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Body_GoToPointDodge::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Body_GoToPointDodge"); + + xfer += oprot->writeFieldBegin("target_point", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->target_point.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("dash_power", ::apache::thrift::protocol::T_DOUBLE, 2); + xfer += oprot->writeDouble(this->dash_power); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Body_GoToPointDodge &a, Body_GoToPointDodge &b) { + using ::std::swap; + swap(a.target_point, b.target_point); + swap(a.dash_power, b.dash_power); + swap(a.__isset, b.__isset); +} + +Body_GoToPointDodge::Body_GoToPointDodge(const Body_GoToPointDodge& other208) noexcept { + target_point = other208.target_point; + dash_power = other208.dash_power; + __isset = other208.__isset; +} +Body_GoToPointDodge& Body_GoToPointDodge::operator=(const Body_GoToPointDodge& other209) noexcept { + target_point = other209.target_point; + dash_power = other209.dash_power; + __isset = other209.__isset; + return *this; +} +void Body_GoToPointDodge::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Body_GoToPointDodge("; + out << "target_point=" << to_string(target_point); + out << ", " << "dash_power=" << to_string(dash_power); + out << ")"; +} + + +Body_HoldBall::~Body_HoldBall() noexcept { +} + + +void Body_HoldBall::__set_do_turn(const bool val) { + this->do_turn = val; +} + +void Body_HoldBall::__set_turn_target_point(const RpcVector2D& val) { + this->turn_target_point = val; +} + +void Body_HoldBall::__set_kick_target_point(const RpcVector2D& val) { + this->kick_target_point = val; +} +std::ostream& operator<<(std::ostream& out, const Body_HoldBall& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Body_HoldBall::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->do_turn); + this->__isset.do_turn = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->turn_target_point.read(iprot); + this->__isset.turn_target_point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->kick_target_point.read(iprot); + this->__isset.kick_target_point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Body_HoldBall::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Body_HoldBall"); + + xfer += oprot->writeFieldBegin("do_turn", ::apache::thrift::protocol::T_BOOL, 1); + xfer += oprot->writeBool(this->do_turn); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("turn_target_point", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->turn_target_point.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("kick_target_point", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->kick_target_point.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Body_HoldBall &a, Body_HoldBall &b) { + using ::std::swap; + swap(a.do_turn, b.do_turn); + swap(a.turn_target_point, b.turn_target_point); + swap(a.kick_target_point, b.kick_target_point); + swap(a.__isset, b.__isset); +} + +Body_HoldBall::Body_HoldBall(const Body_HoldBall& other210) noexcept { + do_turn = other210.do_turn; + turn_target_point = other210.turn_target_point; + kick_target_point = other210.kick_target_point; + __isset = other210.__isset; +} +Body_HoldBall& Body_HoldBall::operator=(const Body_HoldBall& other211) noexcept { + do_turn = other211.do_turn; + turn_target_point = other211.turn_target_point; + kick_target_point = other211.kick_target_point; + __isset = other211.__isset; + return *this; +} +void Body_HoldBall::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Body_HoldBall("; + out << "do_turn=" << to_string(do_turn); + out << ", " << "turn_target_point=" << to_string(turn_target_point); + out << ", " << "kick_target_point=" << to_string(kick_target_point); + out << ")"; +} + + +Body_Intercept::~Body_Intercept() noexcept { +} + + +void Body_Intercept::__set_save_recovery(const bool val) { + this->save_recovery = val; +} + +void Body_Intercept::__set_face_point(const RpcVector2D& val) { + this->face_point = val; +} +std::ostream& operator<<(std::ostream& out, const Body_Intercept& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Body_Intercept::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->save_recovery); + this->__isset.save_recovery = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->face_point.read(iprot); + this->__isset.face_point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Body_Intercept::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Body_Intercept"); + + xfer += oprot->writeFieldBegin("save_recovery", ::apache::thrift::protocol::T_BOOL, 1); + xfer += oprot->writeBool(this->save_recovery); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("face_point", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->face_point.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Body_Intercept &a, Body_Intercept &b) { + using ::std::swap; + swap(a.save_recovery, b.save_recovery); + swap(a.face_point, b.face_point); + swap(a.__isset, b.__isset); +} + +Body_Intercept::Body_Intercept(const Body_Intercept& other212) noexcept { + save_recovery = other212.save_recovery; + face_point = other212.face_point; + __isset = other212.__isset; +} +Body_Intercept& Body_Intercept::operator=(const Body_Intercept& other213) noexcept { + save_recovery = other213.save_recovery; + face_point = other213.face_point; + __isset = other213.__isset; + return *this; +} +void Body_Intercept::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Body_Intercept("; + out << "save_recovery=" << to_string(save_recovery); + out << ", " << "face_point=" << to_string(face_point); + out << ")"; +} + + +Body_KickOneStep::~Body_KickOneStep() noexcept { +} + + +void Body_KickOneStep::__set_target_point(const RpcVector2D& val) { + this->target_point = val; +} + +void Body_KickOneStep::__set_first_speed(const double val) { + this->first_speed = val; +} + +void Body_KickOneStep::__set_force_mode(const bool val) { + this->force_mode = val; +} +std::ostream& operator<<(std::ostream& out, const Body_KickOneStep& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Body_KickOneStep::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->target_point.read(iprot); + this->__isset.target_point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->first_speed); + this->__isset.first_speed = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->force_mode); + this->__isset.force_mode = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Body_KickOneStep::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Body_KickOneStep"); + + xfer += oprot->writeFieldBegin("target_point", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->target_point.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("first_speed", ::apache::thrift::protocol::T_DOUBLE, 2); + xfer += oprot->writeDouble(this->first_speed); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("force_mode", ::apache::thrift::protocol::T_BOOL, 3); + xfer += oprot->writeBool(this->force_mode); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Body_KickOneStep &a, Body_KickOneStep &b) { + using ::std::swap; + swap(a.target_point, b.target_point); + swap(a.first_speed, b.first_speed); + swap(a.force_mode, b.force_mode); + swap(a.__isset, b.__isset); +} + +Body_KickOneStep::Body_KickOneStep(const Body_KickOneStep& other214) noexcept { + target_point = other214.target_point; + first_speed = other214.first_speed; + force_mode = other214.force_mode; + __isset = other214.__isset; +} +Body_KickOneStep& Body_KickOneStep::operator=(const Body_KickOneStep& other215) noexcept { + target_point = other215.target_point; + first_speed = other215.first_speed; + force_mode = other215.force_mode; + __isset = other215.__isset; + return *this; +} +void Body_KickOneStep::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Body_KickOneStep("; + out << "target_point=" << to_string(target_point); + out << ", " << "first_speed=" << to_string(first_speed); + out << ", " << "force_mode=" << to_string(force_mode); + out << ")"; +} + + +Body_StopBall::~Body_StopBall() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const Body_StopBall& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Body_StopBall::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Body_StopBall::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Body_StopBall"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Body_StopBall &a, Body_StopBall &b) { + using ::std::swap; + (void) a; + (void) b; +} + +Body_StopBall::Body_StopBall(const Body_StopBall& other216) noexcept { + (void) other216; +} +Body_StopBall& Body_StopBall::operator=(const Body_StopBall& other217) noexcept { + (void) other217; + return *this; +} +void Body_StopBall::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Body_StopBall("; + out << ")"; +} + + +Body_StopDash::~Body_StopDash() noexcept { +} + + +void Body_StopDash::__set_save_recovery(const bool val) { + this->save_recovery = val; +} +std::ostream& operator<<(std::ostream& out, const Body_StopDash& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Body_StopDash::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->save_recovery); + this->__isset.save_recovery = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Body_StopDash::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Body_StopDash"); + + xfer += oprot->writeFieldBegin("save_recovery", ::apache::thrift::protocol::T_BOOL, 1); + xfer += oprot->writeBool(this->save_recovery); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Body_StopDash &a, Body_StopDash &b) { + using ::std::swap; + swap(a.save_recovery, b.save_recovery); + swap(a.__isset, b.__isset); +} + +Body_StopDash::Body_StopDash(const Body_StopDash& other218) noexcept { + save_recovery = other218.save_recovery; + __isset = other218.__isset; +} +Body_StopDash& Body_StopDash::operator=(const Body_StopDash& other219) noexcept { + save_recovery = other219.save_recovery; + __isset = other219.__isset; + return *this; +} +void Body_StopDash::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Body_StopDash("; + out << "save_recovery=" << to_string(save_recovery); + out << ")"; +} + + +Body_TackleToPoint::~Body_TackleToPoint() noexcept { +} + + +void Body_TackleToPoint::__set_target_point(const RpcVector2D& val) { + this->target_point = val; +} + +void Body_TackleToPoint::__set_min_probability(const double val) { + this->min_probability = val; +} + +void Body_TackleToPoint::__set_min_speed(const double val) { + this->min_speed = val; +} +std::ostream& operator<<(std::ostream& out, const Body_TackleToPoint& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Body_TackleToPoint::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->target_point.read(iprot); + this->__isset.target_point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->min_probability); + this->__isset.min_probability = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->min_speed); + this->__isset.min_speed = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Body_TackleToPoint::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Body_TackleToPoint"); + + xfer += oprot->writeFieldBegin("target_point", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->target_point.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("min_probability", ::apache::thrift::protocol::T_DOUBLE, 2); + xfer += oprot->writeDouble(this->min_probability); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("min_speed", ::apache::thrift::protocol::T_DOUBLE, 3); + xfer += oprot->writeDouble(this->min_speed); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Body_TackleToPoint &a, Body_TackleToPoint &b) { + using ::std::swap; + swap(a.target_point, b.target_point); + swap(a.min_probability, b.min_probability); + swap(a.min_speed, b.min_speed); + swap(a.__isset, b.__isset); +} + +Body_TackleToPoint::Body_TackleToPoint(const Body_TackleToPoint& other220) noexcept { + target_point = other220.target_point; + min_probability = other220.min_probability; + min_speed = other220.min_speed; + __isset = other220.__isset; +} +Body_TackleToPoint& Body_TackleToPoint::operator=(const Body_TackleToPoint& other221) noexcept { + target_point = other221.target_point; + min_probability = other221.min_probability; + min_speed = other221.min_speed; + __isset = other221.__isset; + return *this; +} +void Body_TackleToPoint::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Body_TackleToPoint("; + out << "target_point=" << to_string(target_point); + out << ", " << "min_probability=" << to_string(min_probability); + out << ", " << "min_speed=" << to_string(min_speed); + out << ")"; +} + + +Body_TurnToAngle::~Body_TurnToAngle() noexcept { +} + + +void Body_TurnToAngle::__set_angle(const double val) { + this->angle = val; +} +std::ostream& operator<<(std::ostream& out, const Body_TurnToAngle& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Body_TurnToAngle::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->angle); + this->__isset.angle = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Body_TurnToAngle::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Body_TurnToAngle"); + + xfer += oprot->writeFieldBegin("angle", ::apache::thrift::protocol::T_DOUBLE, 1); + xfer += oprot->writeDouble(this->angle); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Body_TurnToAngle &a, Body_TurnToAngle &b) { + using ::std::swap; + swap(a.angle, b.angle); + swap(a.__isset, b.__isset); +} + +Body_TurnToAngle::Body_TurnToAngle(const Body_TurnToAngle& other222) noexcept { + angle = other222.angle; + __isset = other222.__isset; +} +Body_TurnToAngle& Body_TurnToAngle::operator=(const Body_TurnToAngle& other223) noexcept { + angle = other223.angle; + __isset = other223.__isset; + return *this; +} +void Body_TurnToAngle::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Body_TurnToAngle("; + out << "angle=" << to_string(angle); + out << ")"; +} + + +Body_TurnToBall::~Body_TurnToBall() noexcept { +} + + +void Body_TurnToBall::__set_cycle(const int32_t val) { + this->cycle = val; +} +std::ostream& operator<<(std::ostream& out, const Body_TurnToBall& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Body_TurnToBall::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->cycle); + this->__isset.cycle = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Body_TurnToBall::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Body_TurnToBall"); + + xfer += oprot->writeFieldBegin("cycle", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(this->cycle); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Body_TurnToBall &a, Body_TurnToBall &b) { + using ::std::swap; + swap(a.cycle, b.cycle); + swap(a.__isset, b.__isset); +} + +Body_TurnToBall::Body_TurnToBall(const Body_TurnToBall& other224) noexcept { + cycle = other224.cycle; + __isset = other224.__isset; +} +Body_TurnToBall& Body_TurnToBall::operator=(const Body_TurnToBall& other225) noexcept { + cycle = other225.cycle; + __isset = other225.__isset; + return *this; +} +void Body_TurnToBall::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Body_TurnToBall("; + out << "cycle=" << to_string(cycle); + out << ")"; +} + + +Body_TurnToPoint::~Body_TurnToPoint() noexcept { +} + + +void Body_TurnToPoint::__set_target_point(const RpcVector2D& val) { + this->target_point = val; +} + +void Body_TurnToPoint::__set_cycle(const int32_t val) { + this->cycle = val; +} +std::ostream& operator<<(std::ostream& out, const Body_TurnToPoint& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Body_TurnToPoint::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->target_point.read(iprot); + this->__isset.target_point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->cycle); + this->__isset.cycle = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Body_TurnToPoint::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Body_TurnToPoint"); + + xfer += oprot->writeFieldBegin("target_point", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->target_point.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("cycle", ::apache::thrift::protocol::T_I32, 2); + xfer += oprot->writeI32(this->cycle); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Body_TurnToPoint &a, Body_TurnToPoint &b) { + using ::std::swap; + swap(a.target_point, b.target_point); + swap(a.cycle, b.cycle); + swap(a.__isset, b.__isset); +} + +Body_TurnToPoint::Body_TurnToPoint(const Body_TurnToPoint& other226) noexcept { + target_point = other226.target_point; + cycle = other226.cycle; + __isset = other226.__isset; +} +Body_TurnToPoint& Body_TurnToPoint::operator=(const Body_TurnToPoint& other227) noexcept { + target_point = other227.target_point; + cycle = other227.cycle; + __isset = other227.__isset; + return *this; +} +void Body_TurnToPoint::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Body_TurnToPoint("; + out << "target_point=" << to_string(target_point); + out << ", " << "cycle=" << to_string(cycle); + out << ")"; +} + + +Focus_MoveToPoint::~Focus_MoveToPoint() noexcept { +} + + +void Focus_MoveToPoint::__set_target_point(const RpcVector2D& val) { + this->target_point = val; +} +std::ostream& operator<<(std::ostream& out, const Focus_MoveToPoint& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Focus_MoveToPoint::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->target_point.read(iprot); + this->__isset.target_point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Focus_MoveToPoint::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Focus_MoveToPoint"); + + xfer += oprot->writeFieldBegin("target_point", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->target_point.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Focus_MoveToPoint &a, Focus_MoveToPoint &b) { + using ::std::swap; + swap(a.target_point, b.target_point); + swap(a.__isset, b.__isset); +} + +Focus_MoveToPoint::Focus_MoveToPoint(const Focus_MoveToPoint& other228) noexcept { + target_point = other228.target_point; + __isset = other228.__isset; +} +Focus_MoveToPoint& Focus_MoveToPoint::operator=(const Focus_MoveToPoint& other229) noexcept { + target_point = other229.target_point; + __isset = other229.__isset; + return *this; +} +void Focus_MoveToPoint::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Focus_MoveToPoint("; + out << "target_point=" << to_string(target_point); + out << ")"; +} + + +Focus_Reset::~Focus_Reset() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const Focus_Reset& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Focus_Reset::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Focus_Reset::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Focus_Reset"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Focus_Reset &a, Focus_Reset &b) { + using ::std::swap; + (void) a; + (void) b; +} + +Focus_Reset::Focus_Reset(const Focus_Reset& other230) noexcept { + (void) other230; +} +Focus_Reset& Focus_Reset::operator=(const Focus_Reset& other231) noexcept { + (void) other231; + return *this; +} +void Focus_Reset::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Focus_Reset("; + out << ")"; +} + + +Neck_ScanField::~Neck_ScanField() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const Neck_ScanField& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Neck_ScanField::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Neck_ScanField::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Neck_ScanField"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Neck_ScanField &a, Neck_ScanField &b) { + using ::std::swap; + (void) a; + (void) b; +} + +Neck_ScanField::Neck_ScanField(const Neck_ScanField& other232) noexcept { + (void) other232; +} +Neck_ScanField& Neck_ScanField::operator=(const Neck_ScanField& other233) noexcept { + (void) other233; + return *this; +} +void Neck_ScanField::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Neck_ScanField("; + out << ")"; +} + + +Neck_ScanPlayers::~Neck_ScanPlayers() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const Neck_ScanPlayers& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Neck_ScanPlayers::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Neck_ScanPlayers::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Neck_ScanPlayers"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Neck_ScanPlayers &a, Neck_ScanPlayers &b) { + using ::std::swap; + (void) a; + (void) b; +} + +Neck_ScanPlayers::Neck_ScanPlayers(const Neck_ScanPlayers& other234) noexcept { + (void) other234; +} +Neck_ScanPlayers& Neck_ScanPlayers::operator=(const Neck_ScanPlayers& other235) noexcept { + (void) other235; + return *this; +} +void Neck_ScanPlayers::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Neck_ScanPlayers("; + out << ")"; +} + + +Neck_TurnToBallAndPlayer::~Neck_TurnToBallAndPlayer() noexcept { +} + + +void Neck_TurnToBallAndPlayer::__set_side(const Side::type val) { + this->side = val; +} + +void Neck_TurnToBallAndPlayer::__set_uniform_number(const int32_t val) { + this->uniform_number = val; +} + +void Neck_TurnToBallAndPlayer::__set_count_threshold(const int32_t val) { + this->count_threshold = val; +} +std::ostream& operator<<(std::ostream& out, const Neck_TurnToBallAndPlayer& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Neck_TurnToBallAndPlayer::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast236; + xfer += iprot->readI32(ecast236); + this->side = static_cast(ecast236); + this->__isset.side = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->uniform_number); + this->__isset.uniform_number = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->count_threshold); + this->__isset.count_threshold = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Neck_TurnToBallAndPlayer::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Neck_TurnToBallAndPlayer"); + + xfer += oprot->writeFieldBegin("side", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(static_cast(this->side)); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("uniform_number", ::apache::thrift::protocol::T_I32, 2); + xfer += oprot->writeI32(this->uniform_number); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("count_threshold", ::apache::thrift::protocol::T_I32, 3); + xfer += oprot->writeI32(this->count_threshold); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Neck_TurnToBallAndPlayer &a, Neck_TurnToBallAndPlayer &b) { + using ::std::swap; + swap(a.side, b.side); + swap(a.uniform_number, b.uniform_number); + swap(a.count_threshold, b.count_threshold); + swap(a.__isset, b.__isset); +} + +Neck_TurnToBallAndPlayer::Neck_TurnToBallAndPlayer(const Neck_TurnToBallAndPlayer& other237) noexcept { + side = other237.side; + uniform_number = other237.uniform_number; + count_threshold = other237.count_threshold; + __isset = other237.__isset; +} +Neck_TurnToBallAndPlayer& Neck_TurnToBallAndPlayer::operator=(const Neck_TurnToBallAndPlayer& other238) noexcept { + side = other238.side; + uniform_number = other238.uniform_number; + count_threshold = other238.count_threshold; + __isset = other238.__isset; + return *this; +} +void Neck_TurnToBallAndPlayer::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Neck_TurnToBallAndPlayer("; + out << "side=" << to_string(side); + out << ", " << "uniform_number=" << to_string(uniform_number); + out << ", " << "count_threshold=" << to_string(count_threshold); + out << ")"; +} + + +Neck_TurnToBallOrScan::~Neck_TurnToBallOrScan() noexcept { +} + + +void Neck_TurnToBallOrScan::__set_count_threshold(const int32_t val) { + this->count_threshold = val; +} +std::ostream& operator<<(std::ostream& out, const Neck_TurnToBallOrScan& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Neck_TurnToBallOrScan::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->count_threshold); + this->__isset.count_threshold = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Neck_TurnToBallOrScan::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Neck_TurnToBallOrScan"); + + xfer += oprot->writeFieldBegin("count_threshold", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(this->count_threshold); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Neck_TurnToBallOrScan &a, Neck_TurnToBallOrScan &b) { + using ::std::swap; + swap(a.count_threshold, b.count_threshold); + swap(a.__isset, b.__isset); +} + +Neck_TurnToBallOrScan::Neck_TurnToBallOrScan(const Neck_TurnToBallOrScan& other239) noexcept { + count_threshold = other239.count_threshold; + __isset = other239.__isset; +} +Neck_TurnToBallOrScan& Neck_TurnToBallOrScan::operator=(const Neck_TurnToBallOrScan& other240) noexcept { + count_threshold = other240.count_threshold; + __isset = other240.__isset; + return *this; +} +void Neck_TurnToBallOrScan::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Neck_TurnToBallOrScan("; + out << "count_threshold=" << to_string(count_threshold); + out << ")"; +} + + +Neck_TurnToBall::~Neck_TurnToBall() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const Neck_TurnToBall& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Neck_TurnToBall::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Neck_TurnToBall::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Neck_TurnToBall"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Neck_TurnToBall &a, Neck_TurnToBall &b) { + using ::std::swap; + (void) a; + (void) b; +} + +Neck_TurnToBall::Neck_TurnToBall(const Neck_TurnToBall& other241) noexcept { + (void) other241; +} +Neck_TurnToBall& Neck_TurnToBall::operator=(const Neck_TurnToBall& other242) noexcept { + (void) other242; + return *this; +} +void Neck_TurnToBall::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Neck_TurnToBall("; + out << ")"; +} + + +Neck_TurnToGoalieOrScan::~Neck_TurnToGoalieOrScan() noexcept { +} + + +void Neck_TurnToGoalieOrScan::__set_count_threshold(const int32_t val) { + this->count_threshold = val; +} +std::ostream& operator<<(std::ostream& out, const Neck_TurnToGoalieOrScan& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Neck_TurnToGoalieOrScan::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->count_threshold); + this->__isset.count_threshold = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Neck_TurnToGoalieOrScan::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Neck_TurnToGoalieOrScan"); + + xfer += oprot->writeFieldBegin("count_threshold", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(this->count_threshold); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Neck_TurnToGoalieOrScan &a, Neck_TurnToGoalieOrScan &b) { + using ::std::swap; + swap(a.count_threshold, b.count_threshold); + swap(a.__isset, b.__isset); +} + +Neck_TurnToGoalieOrScan::Neck_TurnToGoalieOrScan(const Neck_TurnToGoalieOrScan& other243) noexcept { + count_threshold = other243.count_threshold; + __isset = other243.__isset; +} +Neck_TurnToGoalieOrScan& Neck_TurnToGoalieOrScan::operator=(const Neck_TurnToGoalieOrScan& other244) noexcept { + count_threshold = other244.count_threshold; + __isset = other244.__isset; + return *this; +} +void Neck_TurnToGoalieOrScan::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Neck_TurnToGoalieOrScan("; + out << "count_threshold=" << to_string(count_threshold); + out << ")"; +} + + +Neck_TurnToLowConfTeammate::~Neck_TurnToLowConfTeammate() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const Neck_TurnToLowConfTeammate& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Neck_TurnToLowConfTeammate::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Neck_TurnToLowConfTeammate::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Neck_TurnToLowConfTeammate"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Neck_TurnToLowConfTeammate &a, Neck_TurnToLowConfTeammate &b) { + using ::std::swap; + (void) a; + (void) b; +} + +Neck_TurnToLowConfTeammate::Neck_TurnToLowConfTeammate(const Neck_TurnToLowConfTeammate& other245) noexcept { + (void) other245; +} +Neck_TurnToLowConfTeammate& Neck_TurnToLowConfTeammate::operator=(const Neck_TurnToLowConfTeammate& other246) noexcept { + (void) other246; + return *this; +} +void Neck_TurnToLowConfTeammate::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Neck_TurnToLowConfTeammate("; + out << ")"; +} + + +Neck_TurnToPlayerOrScan::~Neck_TurnToPlayerOrScan() noexcept { +} + + +void Neck_TurnToPlayerOrScan::__set_side(const Side::type val) { + this->side = val; +} + +void Neck_TurnToPlayerOrScan::__set_uniform_number(const int32_t val) { + this->uniform_number = val; +} + +void Neck_TurnToPlayerOrScan::__set_count_threshold(const int32_t val) { + this->count_threshold = val; +} +std::ostream& operator<<(std::ostream& out, const Neck_TurnToPlayerOrScan& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Neck_TurnToPlayerOrScan::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast247; + xfer += iprot->readI32(ecast247); + this->side = static_cast(ecast247); + this->__isset.side = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->uniform_number); + this->__isset.uniform_number = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->count_threshold); + this->__isset.count_threshold = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Neck_TurnToPlayerOrScan::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Neck_TurnToPlayerOrScan"); + + xfer += oprot->writeFieldBegin("side", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(static_cast(this->side)); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("uniform_number", ::apache::thrift::protocol::T_I32, 2); + xfer += oprot->writeI32(this->uniform_number); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("count_threshold", ::apache::thrift::protocol::T_I32, 3); + xfer += oprot->writeI32(this->count_threshold); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Neck_TurnToPlayerOrScan &a, Neck_TurnToPlayerOrScan &b) { + using ::std::swap; + swap(a.side, b.side); + swap(a.uniform_number, b.uniform_number); + swap(a.count_threshold, b.count_threshold); + swap(a.__isset, b.__isset); +} + +Neck_TurnToPlayerOrScan::Neck_TurnToPlayerOrScan(const Neck_TurnToPlayerOrScan& other248) noexcept { + side = other248.side; + uniform_number = other248.uniform_number; + count_threshold = other248.count_threshold; + __isset = other248.__isset; +} +Neck_TurnToPlayerOrScan& Neck_TurnToPlayerOrScan::operator=(const Neck_TurnToPlayerOrScan& other249) noexcept { + side = other249.side; + uniform_number = other249.uniform_number; + count_threshold = other249.count_threshold; + __isset = other249.__isset; + return *this; +} +void Neck_TurnToPlayerOrScan::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Neck_TurnToPlayerOrScan("; + out << "side=" << to_string(side); + out << ", " << "uniform_number=" << to_string(uniform_number); + out << ", " << "count_threshold=" << to_string(count_threshold); + out << ")"; +} + + +Neck_TurnToPoint::~Neck_TurnToPoint() noexcept { +} + + +void Neck_TurnToPoint::__set_target_point(const RpcVector2D& val) { + this->target_point = val; +} +std::ostream& operator<<(std::ostream& out, const Neck_TurnToPoint& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Neck_TurnToPoint::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->target_point.read(iprot); + this->__isset.target_point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Neck_TurnToPoint::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Neck_TurnToPoint"); + + xfer += oprot->writeFieldBegin("target_point", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->target_point.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Neck_TurnToPoint &a, Neck_TurnToPoint &b) { + using ::std::swap; + swap(a.target_point, b.target_point); + swap(a.__isset, b.__isset); +} + +Neck_TurnToPoint::Neck_TurnToPoint(const Neck_TurnToPoint& other250) noexcept { + target_point = other250.target_point; + __isset = other250.__isset; +} +Neck_TurnToPoint& Neck_TurnToPoint::operator=(const Neck_TurnToPoint& other251) noexcept { + target_point = other251.target_point; + __isset = other251.__isset; + return *this; +} +void Neck_TurnToPoint::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Neck_TurnToPoint("; + out << "target_point=" << to_string(target_point); + out << ")"; +} + + +Neck_TurnToRelative::~Neck_TurnToRelative() noexcept { +} + + +void Neck_TurnToRelative::__set_angle(const double val) { + this->angle = val; +} +std::ostream& operator<<(std::ostream& out, const Neck_TurnToRelative& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Neck_TurnToRelative::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->angle); + this->__isset.angle = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Neck_TurnToRelative::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Neck_TurnToRelative"); + + xfer += oprot->writeFieldBegin("angle", ::apache::thrift::protocol::T_DOUBLE, 1); + xfer += oprot->writeDouble(this->angle); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Neck_TurnToRelative &a, Neck_TurnToRelative &b) { + using ::std::swap; + swap(a.angle, b.angle); + swap(a.__isset, b.__isset); +} + +Neck_TurnToRelative::Neck_TurnToRelative(const Neck_TurnToRelative& other252) noexcept { + angle = other252.angle; + __isset = other252.__isset; +} +Neck_TurnToRelative& Neck_TurnToRelative::operator=(const Neck_TurnToRelative& other253) noexcept { + angle = other253.angle; + __isset = other253.__isset; + return *this; +} +void Neck_TurnToRelative::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Neck_TurnToRelative("; + out << "angle=" << to_string(angle); + out << ")"; +} + + +View_ChangeWidth::~View_ChangeWidth() noexcept { +} + + +void View_ChangeWidth::__set_view_width(const ViewWidth::type val) { + this->view_width = val; +} +std::ostream& operator<<(std::ostream& out, const View_ChangeWidth& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t View_ChangeWidth::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast254; + xfer += iprot->readI32(ecast254); + this->view_width = static_cast(ecast254); + this->__isset.view_width = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t View_ChangeWidth::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("View_ChangeWidth"); + + xfer += oprot->writeFieldBegin("view_width", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(static_cast(this->view_width)); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(View_ChangeWidth &a, View_ChangeWidth &b) { + using ::std::swap; + swap(a.view_width, b.view_width); + swap(a.__isset, b.__isset); +} + +View_ChangeWidth::View_ChangeWidth(const View_ChangeWidth& other255) noexcept { + view_width = other255.view_width; + __isset = other255.__isset; +} +View_ChangeWidth& View_ChangeWidth::operator=(const View_ChangeWidth& other256) noexcept { + view_width = other256.view_width; + __isset = other256.__isset; + return *this; +} +void View_ChangeWidth::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "View_ChangeWidth("; + out << "view_width=" << to_string(view_width); + out << ")"; +} + + +View_Normal::~View_Normal() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const View_Normal& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t View_Normal::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t View_Normal::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("View_Normal"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(View_Normal &a, View_Normal &b) { + using ::std::swap; + (void) a; + (void) b; +} + +View_Normal::View_Normal(const View_Normal& other257) noexcept { + (void) other257; +} +View_Normal& View_Normal::operator=(const View_Normal& other258) noexcept { + (void) other258; + return *this; +} +void View_Normal::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "View_Normal("; + out << ")"; +} + + +View_Synch::~View_Synch() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const View_Synch& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t View_Synch::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t View_Synch::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("View_Synch"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(View_Synch &a, View_Synch &b) { + using ::std::swap; + (void) a; + (void) b; +} + +View_Synch::View_Synch(const View_Synch& other259) noexcept { + (void) other259; +} +View_Synch& View_Synch::operator=(const View_Synch& other260) noexcept { + (void) other260; + return *this; +} +void View_Synch::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "View_Synch("; + out << ")"; +} + + +View_Wide::~View_Wide() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const View_Wide& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t View_Wide::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t View_Wide::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("View_Wide"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(View_Wide &a, View_Wide &b) { + using ::std::swap; + (void) a; + (void) b; +} + +View_Wide::View_Wide(const View_Wide& other261) noexcept { + (void) other261; +} +View_Wide& View_Wide::operator=(const View_Wide& other262) noexcept { + (void) other262; + return *this; +} +void View_Wide::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "View_Wide("; + out << ")"; +} + + +HeliosGoalie::~HeliosGoalie() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const HeliosGoalie& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t HeliosGoalie::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t HeliosGoalie::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("HeliosGoalie"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(HeliosGoalie &a, HeliosGoalie &b) { + using ::std::swap; + (void) a; + (void) b; +} + +HeliosGoalie::HeliosGoalie(const HeliosGoalie& other263) noexcept { + (void) other263; +} +HeliosGoalie& HeliosGoalie::operator=(const HeliosGoalie& other264) noexcept { + (void) other264; + return *this; +} +void HeliosGoalie::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "HeliosGoalie("; + out << ")"; +} + + +HeliosGoalieMove::~HeliosGoalieMove() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const HeliosGoalieMove& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t HeliosGoalieMove::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t HeliosGoalieMove::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("HeliosGoalieMove"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(HeliosGoalieMove &a, HeliosGoalieMove &b) { + using ::std::swap; + (void) a; + (void) b; +} + +HeliosGoalieMove::HeliosGoalieMove(const HeliosGoalieMove& other265) noexcept { + (void) other265; +} +HeliosGoalieMove& HeliosGoalieMove::operator=(const HeliosGoalieMove& other266) noexcept { + (void) other266; + return *this; +} +void HeliosGoalieMove::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "HeliosGoalieMove("; + out << ")"; +} + + +HeliosGoalieKick::~HeliosGoalieKick() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const HeliosGoalieKick& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t HeliosGoalieKick::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t HeliosGoalieKick::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("HeliosGoalieKick"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(HeliosGoalieKick &a, HeliosGoalieKick &b) { + using ::std::swap; + (void) a; + (void) b; +} + +HeliosGoalieKick::HeliosGoalieKick(const HeliosGoalieKick& other267) noexcept { + (void) other267; +} +HeliosGoalieKick& HeliosGoalieKick::operator=(const HeliosGoalieKick& other268) noexcept { + (void) other268; + return *this; +} +void HeliosGoalieKick::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "HeliosGoalieKick("; + out << ")"; +} + + +HeliosShoot::~HeliosShoot() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const HeliosShoot& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t HeliosShoot::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t HeliosShoot::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("HeliosShoot"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(HeliosShoot &a, HeliosShoot &b) { + using ::std::swap; + (void) a; + (void) b; +} + +HeliosShoot::HeliosShoot(const HeliosShoot& other269) noexcept { + (void) other269; +} +HeliosShoot& HeliosShoot::operator=(const HeliosShoot& other270) noexcept { + (void) other270; + return *this; +} +void HeliosShoot::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "HeliosShoot("; + out << ")"; +} + + +HeliosChainAction::~HeliosChainAction() noexcept { +} + + +void HeliosChainAction::__set_direct_pass(const bool val) { + this->direct_pass = val; +} + +void HeliosChainAction::__set_lead_pass(const bool val) { + this->lead_pass = val; +} + +void HeliosChainAction::__set_through_pass(const bool val) { + this->through_pass = val; +} + +void HeliosChainAction::__set_short_dribble(const bool val) { + this->short_dribble = val; +} + +void HeliosChainAction::__set_long_dribble(const bool val) { + this->long_dribble = val; +} + +void HeliosChainAction::__set_cross(const bool val) { + this->cross = val; +} + +void HeliosChainAction::__set_simple_pass(const bool val) { + this->simple_pass = val; +} + +void HeliosChainAction::__set_simple_dribble(const bool val) { + this->simple_dribble = val; +} + +void HeliosChainAction::__set_simple_shoot(const bool val) { + this->simple_shoot = val; +} + +void HeliosChainAction::__set_server_side_decision(const bool val) { + this->server_side_decision = val; +} +std::ostream& operator<<(std::ostream& out, const HeliosChainAction& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t HeliosChainAction::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->direct_pass); + this->__isset.direct_pass = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->lead_pass); + this->__isset.lead_pass = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->through_pass); + this->__isset.through_pass = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->short_dribble); + this->__isset.short_dribble = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->long_dribble); + this->__isset.long_dribble = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->cross); + this->__isset.cross = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 7: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->simple_pass); + this->__isset.simple_pass = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 8: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->simple_dribble); + this->__isset.simple_dribble = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 9: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->simple_shoot); + this->__isset.simple_shoot = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 10: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->server_side_decision); + this->__isset.server_side_decision = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t HeliosChainAction::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("HeliosChainAction"); + + xfer += oprot->writeFieldBegin("direct_pass", ::apache::thrift::protocol::T_BOOL, 1); + xfer += oprot->writeBool(this->direct_pass); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("lead_pass", ::apache::thrift::protocol::T_BOOL, 2); + xfer += oprot->writeBool(this->lead_pass); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("through_pass", ::apache::thrift::protocol::T_BOOL, 3); + xfer += oprot->writeBool(this->through_pass); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("short_dribble", ::apache::thrift::protocol::T_BOOL, 4); + xfer += oprot->writeBool(this->short_dribble); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("long_dribble", ::apache::thrift::protocol::T_BOOL, 5); + xfer += oprot->writeBool(this->long_dribble); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("cross", ::apache::thrift::protocol::T_BOOL, 6); + xfer += oprot->writeBool(this->cross); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("simple_pass", ::apache::thrift::protocol::T_BOOL, 7); + xfer += oprot->writeBool(this->simple_pass); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("simple_dribble", ::apache::thrift::protocol::T_BOOL, 8); + xfer += oprot->writeBool(this->simple_dribble); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("simple_shoot", ::apache::thrift::protocol::T_BOOL, 9); + xfer += oprot->writeBool(this->simple_shoot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("server_side_decision", ::apache::thrift::protocol::T_BOOL, 10); + xfer += oprot->writeBool(this->server_side_decision); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(HeliosChainAction &a, HeliosChainAction &b) { + using ::std::swap; + swap(a.direct_pass, b.direct_pass); + swap(a.lead_pass, b.lead_pass); + swap(a.through_pass, b.through_pass); + swap(a.short_dribble, b.short_dribble); + swap(a.long_dribble, b.long_dribble); + swap(a.cross, b.cross); + swap(a.simple_pass, b.simple_pass); + swap(a.simple_dribble, b.simple_dribble); + swap(a.simple_shoot, b.simple_shoot); + swap(a.server_side_decision, b.server_side_decision); + swap(a.__isset, b.__isset); +} + +HeliosChainAction::HeliosChainAction(const HeliosChainAction& other271) noexcept { + direct_pass = other271.direct_pass; + lead_pass = other271.lead_pass; + through_pass = other271.through_pass; + short_dribble = other271.short_dribble; + long_dribble = other271.long_dribble; + cross = other271.cross; + simple_pass = other271.simple_pass; + simple_dribble = other271.simple_dribble; + simple_shoot = other271.simple_shoot; + server_side_decision = other271.server_side_decision; + __isset = other271.__isset; +} +HeliosChainAction& HeliosChainAction::operator=(const HeliosChainAction& other272) noexcept { + direct_pass = other272.direct_pass; + lead_pass = other272.lead_pass; + through_pass = other272.through_pass; + short_dribble = other272.short_dribble; + long_dribble = other272.long_dribble; + cross = other272.cross; + simple_pass = other272.simple_pass; + simple_dribble = other272.simple_dribble; + simple_shoot = other272.simple_shoot; + server_side_decision = other272.server_side_decision; + __isset = other272.__isset; + return *this; +} +void HeliosChainAction::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "HeliosChainAction("; + out << "direct_pass=" << to_string(direct_pass); + out << ", " << "lead_pass=" << to_string(lead_pass); + out << ", " << "through_pass=" << to_string(through_pass); + out << ", " << "short_dribble=" << to_string(short_dribble); + out << ", " << "long_dribble=" << to_string(long_dribble); + out << ", " << "cross=" << to_string(cross); + out << ", " << "simple_pass=" << to_string(simple_pass); + out << ", " << "simple_dribble=" << to_string(simple_dribble); + out << ", " << "simple_shoot=" << to_string(simple_shoot); + out << ", " << "server_side_decision=" << to_string(server_side_decision); + out << ")"; +} + + +HeliosBasicOffensive::~HeliosBasicOffensive() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const HeliosBasicOffensive& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t HeliosBasicOffensive::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t HeliosBasicOffensive::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("HeliosBasicOffensive"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(HeliosBasicOffensive &a, HeliosBasicOffensive &b) { + using ::std::swap; + (void) a; + (void) b; +} + +HeliosBasicOffensive::HeliosBasicOffensive(const HeliosBasicOffensive& other273) noexcept { + (void) other273; +} +HeliosBasicOffensive& HeliosBasicOffensive::operator=(const HeliosBasicOffensive& other274) noexcept { + (void) other274; + return *this; +} +void HeliosBasicOffensive::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "HeliosBasicOffensive("; + out << ")"; +} + + +HeliosBasicMove::~HeliosBasicMove() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const HeliosBasicMove& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t HeliosBasicMove::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t HeliosBasicMove::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("HeliosBasicMove"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(HeliosBasicMove &a, HeliosBasicMove &b) { + using ::std::swap; + (void) a; + (void) b; +} + +HeliosBasicMove::HeliosBasicMove(const HeliosBasicMove& other275) noexcept { + (void) other275; +} +HeliosBasicMove& HeliosBasicMove::operator=(const HeliosBasicMove& other276) noexcept { + (void) other276; + return *this; +} +void HeliosBasicMove::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "HeliosBasicMove("; + out << ")"; +} + + +HeliosSetPlay::~HeliosSetPlay() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const HeliosSetPlay& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t HeliosSetPlay::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t HeliosSetPlay::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("HeliosSetPlay"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(HeliosSetPlay &a, HeliosSetPlay &b) { + using ::std::swap; + (void) a; + (void) b; +} + +HeliosSetPlay::HeliosSetPlay(const HeliosSetPlay& other277) noexcept { + (void) other277; +} +HeliosSetPlay& HeliosSetPlay::operator=(const HeliosSetPlay& other278) noexcept { + (void) other278; + return *this; +} +void HeliosSetPlay::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "HeliosSetPlay("; + out << ")"; +} + + +HeliosPenalty::~HeliosPenalty() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const HeliosPenalty& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t HeliosPenalty::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t HeliosPenalty::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("HeliosPenalty"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(HeliosPenalty &a, HeliosPenalty &b) { + using ::std::swap; + (void) a; + (void) b; +} + +HeliosPenalty::HeliosPenalty(const HeliosPenalty& other279) noexcept { + (void) other279; +} +HeliosPenalty& HeliosPenalty::operator=(const HeliosPenalty& other280) noexcept { + (void) other280; + return *this; +} +void HeliosPenalty::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "HeliosPenalty("; + out << ")"; +} + + +HeliosCommunicaion::~HeliosCommunicaion() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const HeliosCommunicaion& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t HeliosCommunicaion::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t HeliosCommunicaion::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("HeliosCommunicaion"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(HeliosCommunicaion &a, HeliosCommunicaion &b) { + using ::std::swap; + (void) a; + (void) b; +} + +HeliosCommunicaion::HeliosCommunicaion(const HeliosCommunicaion& other281) noexcept { + (void) other281; +} +HeliosCommunicaion& HeliosCommunicaion::operator=(const HeliosCommunicaion& other282) noexcept { + (void) other282; + return *this; +} +void HeliosCommunicaion::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "HeliosCommunicaion("; + out << ")"; +} + + +PlayerAction::~PlayerAction() noexcept { +} + + +void PlayerAction::__set_dash(const Dash& val) { + this->dash = val; +__isset.dash = true; +} + +void PlayerAction::__set_turn(const Turn& val) { + this->turn = val; +__isset.turn = true; +} + +void PlayerAction::__set_kick(const Kick& val) { + this->kick = val; +__isset.kick = true; +} + +void PlayerAction::__set_tackle(const Tackle& val) { + this->tackle = val; +__isset.tackle = true; +} + +void PlayerAction::__set_catch_action(const Catch& val) { + this->catch_action = val; +__isset.catch_action = true; +} + +void PlayerAction::__set_move(const Move& val) { + this->move = val; +__isset.move = true; +} + +void PlayerAction::__set_turn_neck(const TurnNeck& val) { + this->turn_neck = val; +__isset.turn_neck = true; +} + +void PlayerAction::__set_change_view(const ChangeView& val) { + this->change_view = val; +__isset.change_view = true; +} + +void PlayerAction::__set_say(const Say& val) { + this->say = val; +__isset.say = true; +} + +void PlayerAction::__set_point_to(const PointTo& val) { + this->point_to = val; +__isset.point_to = true; +} + +void PlayerAction::__set_point_to_of(const PointToOf& val) { + this->point_to_of = val; +__isset.point_to_of = true; +} + +void PlayerAction::__set_attention_to(const AttentionTo& val) { + this->attention_to = val; +__isset.attention_to = true; +} + +void PlayerAction::__set_attention_to_of(const AttentionToOf& val) { + this->attention_to_of = val; +__isset.attention_to_of = true; +} + +void PlayerAction::__set_log(const Log& val) { + this->log = val; +__isset.log = true; +} + +void PlayerAction::__set_debug_client(const DebugClient& val) { + this->debug_client = val; +__isset.debug_client = true; +} + +void PlayerAction::__set_body_go_to_point(const Body_GoToPoint& val) { + this->body_go_to_point = val; +__isset.body_go_to_point = true; +} + +void PlayerAction::__set_body_smart_kick(const Body_SmartKick& val) { + this->body_smart_kick = val; +__isset.body_smart_kick = true; +} + +void PlayerAction::__set_bhv_before_kick_off(const Bhv_BeforeKickOff& val) { + this->bhv_before_kick_off = val; +__isset.bhv_before_kick_off = true; +} + +void PlayerAction::__set_bhv_body_neck_to_ball(const Bhv_BodyNeckToBall& val) { + this->bhv_body_neck_to_ball = val; +__isset.bhv_body_neck_to_ball = true; +} + +void PlayerAction::__set_bhv_body_neck_to_point(const Bhv_BodyNeckToPoint& val) { + this->bhv_body_neck_to_point = val; +__isset.bhv_body_neck_to_point = true; +} + +void PlayerAction::__set_bhv_emergency(const Bhv_Emergency& val) { + this->bhv_emergency = val; +__isset.bhv_emergency = true; +} + +void PlayerAction::__set_bhv_go_to_point_look_ball(const Bhv_GoToPointLookBall& val) { + this->bhv_go_to_point_look_ball = val; +__isset.bhv_go_to_point_look_ball = true; +} + +void PlayerAction::__set_bhv_neck_body_to_ball(const Bhv_NeckBodyToBall& val) { + this->bhv_neck_body_to_ball = val; +__isset.bhv_neck_body_to_ball = true; +} + +void PlayerAction::__set_bhv_neck_body_to_point(const Bhv_NeckBodyToPoint& val) { + this->bhv_neck_body_to_point = val; +__isset.bhv_neck_body_to_point = true; +} + +void PlayerAction::__set_bhv_scan_field(const Bhv_ScanField& val) { + this->bhv_scan_field = val; +__isset.bhv_scan_field = true; +} + +void PlayerAction::__set_body_advance_ball(const Body_AdvanceBall& val) { + this->body_advance_ball = val; +__isset.body_advance_ball = true; +} + +void PlayerAction::__set_body_clear_ball(const Body_ClearBall& val) { + this->body_clear_ball = val; +__isset.body_clear_ball = true; +} + +void PlayerAction::__set_body_dribble(const Body_Dribble& val) { + this->body_dribble = val; +__isset.body_dribble = true; +} + +void PlayerAction::__set_body_go_to_point_dodge(const Body_GoToPointDodge& val) { + this->body_go_to_point_dodge = val; +__isset.body_go_to_point_dodge = true; +} + +void PlayerAction::__set_body_hold_ball(const Body_HoldBall& val) { + this->body_hold_ball = val; +__isset.body_hold_ball = true; +} + +void PlayerAction::__set_body_intercept(const Body_Intercept& val) { + this->body_intercept = val; +__isset.body_intercept = true; +} + +void PlayerAction::__set_body_kick_one_step(const Body_KickOneStep& val) { + this->body_kick_one_step = val; +__isset.body_kick_one_step = true; +} + +void PlayerAction::__set_body_stop_ball(const Body_StopBall& val) { + this->body_stop_ball = val; +__isset.body_stop_ball = true; +} + +void PlayerAction::__set_body_stop_dash(const Body_StopDash& val) { + this->body_stop_dash = val; +__isset.body_stop_dash = true; +} + +void PlayerAction::__set_body_tackle_to_point(const Body_TackleToPoint& val) { + this->body_tackle_to_point = val; +__isset.body_tackle_to_point = true; +} + +void PlayerAction::__set_body_turn_to_angle(const Body_TurnToAngle& val) { + this->body_turn_to_angle = val; +__isset.body_turn_to_angle = true; +} + +void PlayerAction::__set_body_turn_to_ball(const Body_TurnToBall& val) { + this->body_turn_to_ball = val; +__isset.body_turn_to_ball = true; +} + +void PlayerAction::__set_body_turn_to_point(const Body_TurnToPoint& val) { + this->body_turn_to_point = val; +__isset.body_turn_to_point = true; +} + +void PlayerAction::__set_focus_move_to_point(const Focus_MoveToPoint& val) { + this->focus_move_to_point = val; +__isset.focus_move_to_point = true; +} + +void PlayerAction::__set_focus_reset(const Focus_Reset& val) { + this->focus_reset = val; +__isset.focus_reset = true; +} + +void PlayerAction::__set_neck_scan_field(const Neck_ScanField& val) { + this->neck_scan_field = val; +__isset.neck_scan_field = true; +} + +void PlayerAction::__set_neck_scan_players(const Neck_ScanPlayers& val) { + this->neck_scan_players = val; +__isset.neck_scan_players = true; +} + +void PlayerAction::__set_neck_turn_to_ball_and_player(const Neck_TurnToBallAndPlayer& val) { + this->neck_turn_to_ball_and_player = val; +__isset.neck_turn_to_ball_and_player = true; +} + +void PlayerAction::__set_neck_turn_to_ball_or_scan(const Neck_TurnToBallOrScan& val) { + this->neck_turn_to_ball_or_scan = val; +__isset.neck_turn_to_ball_or_scan = true; +} + +void PlayerAction::__set_neck_turn_to_ball(const Neck_TurnToBall& val) { + this->neck_turn_to_ball = val; +__isset.neck_turn_to_ball = true; +} + +void PlayerAction::__set_neck_turn_to_goalie_or_scan(const Neck_TurnToGoalieOrScan& val) { + this->neck_turn_to_goalie_or_scan = val; +__isset.neck_turn_to_goalie_or_scan = true; +} + +void PlayerAction::__set_neck_turn_to_low_conf_teammate(const Neck_TurnToLowConfTeammate& val) { + this->neck_turn_to_low_conf_teammate = val; +__isset.neck_turn_to_low_conf_teammate = true; +} + +void PlayerAction::__set_neck_turn_to_player_or_scan(const Neck_TurnToPlayerOrScan& val) { + this->neck_turn_to_player_or_scan = val; +__isset.neck_turn_to_player_or_scan = true; +} + +void PlayerAction::__set_neck_turn_to_point(const Neck_TurnToPoint& val) { + this->neck_turn_to_point = val; +__isset.neck_turn_to_point = true; +} + +void PlayerAction::__set_neck_turn_to_relative(const Neck_TurnToRelative& val) { + this->neck_turn_to_relative = val; +__isset.neck_turn_to_relative = true; +} + +void PlayerAction::__set_view_change_width(const View_ChangeWidth& val) { + this->view_change_width = val; +__isset.view_change_width = true; +} + +void PlayerAction::__set_view_normal(const View_Normal& val) { + this->view_normal = val; +__isset.view_normal = true; +} + +void PlayerAction::__set_view_synch(const View_Synch& val) { + this->view_synch = val; +__isset.view_synch = true; +} + +void PlayerAction::__set_view_wide(const View_Wide& val) { + this->view_wide = val; +__isset.view_wide = true; +} + +void PlayerAction::__set_helios_goalie(const HeliosGoalie& val) { + this->helios_goalie = val; +__isset.helios_goalie = true; +} + +void PlayerAction::__set_helios_goalie_move(const HeliosGoalieMove& val) { + this->helios_goalie_move = val; +__isset.helios_goalie_move = true; +} + +void PlayerAction::__set_helios_goalie_kick(const HeliosGoalieKick& val) { + this->helios_goalie_kick = val; +__isset.helios_goalie_kick = true; +} + +void PlayerAction::__set_helios_shoot(const HeliosShoot& val) { + this->helios_shoot = val; +__isset.helios_shoot = true; +} + +void PlayerAction::__set_helios_chain_action(const HeliosChainAction& val) { + this->helios_chain_action = val; +__isset.helios_chain_action = true; +} + +void PlayerAction::__set_helios_basic_offensive(const HeliosBasicOffensive& val) { + this->helios_basic_offensive = val; +__isset.helios_basic_offensive = true; +} + +void PlayerAction::__set_helios_basic_move(const HeliosBasicMove& val) { + this->helios_basic_move = val; +__isset.helios_basic_move = true; +} + +void PlayerAction::__set_helios_set_play(const HeliosSetPlay& val) { + this->helios_set_play = val; +__isset.helios_set_play = true; +} + +void PlayerAction::__set_helios_penalty(const HeliosPenalty& val) { + this->helios_penalty = val; +__isset.helios_penalty = true; +} + +void PlayerAction::__set_helios_communication(const HeliosCommunicaion& val) { + this->helios_communication = val; +__isset.helios_communication = true; +} +std::ostream& operator<<(std::ostream& out, const PlayerAction& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t PlayerAction::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->dash.read(iprot); + this->__isset.dash = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->turn.read(iprot); + this->__isset.turn = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->kick.read(iprot); + this->__isset.kick = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->tackle.read(iprot); + this->__isset.tackle = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->catch_action.read(iprot); + this->__isset.catch_action = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->move.read(iprot); + this->__isset.move = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 7: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->turn_neck.read(iprot); + this->__isset.turn_neck = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 8: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->change_view.read(iprot); + this->__isset.change_view = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 9: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->say.read(iprot); + this->__isset.say = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 10: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->point_to.read(iprot); + this->__isset.point_to = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 11: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->point_to_of.read(iprot); + this->__isset.point_to_of = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 12: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->attention_to.read(iprot); + this->__isset.attention_to = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 13: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->attention_to_of.read(iprot); + this->__isset.attention_to_of = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 14: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->log.read(iprot); + this->__isset.log = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 15: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->debug_client.read(iprot); + this->__isset.debug_client = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 16: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->body_go_to_point.read(iprot); + this->__isset.body_go_to_point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 17: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->body_smart_kick.read(iprot); + this->__isset.body_smart_kick = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 18: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->bhv_before_kick_off.read(iprot); + this->__isset.bhv_before_kick_off = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 19: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->bhv_body_neck_to_ball.read(iprot); + this->__isset.bhv_body_neck_to_ball = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 20: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->bhv_body_neck_to_point.read(iprot); + this->__isset.bhv_body_neck_to_point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 21: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->bhv_emergency.read(iprot); + this->__isset.bhv_emergency = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 22: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->bhv_go_to_point_look_ball.read(iprot); + this->__isset.bhv_go_to_point_look_ball = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 23: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->bhv_neck_body_to_ball.read(iprot); + this->__isset.bhv_neck_body_to_ball = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 24: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->bhv_neck_body_to_point.read(iprot); + this->__isset.bhv_neck_body_to_point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 25: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->bhv_scan_field.read(iprot); + this->__isset.bhv_scan_field = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 26: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->body_advance_ball.read(iprot); + this->__isset.body_advance_ball = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 27: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->body_clear_ball.read(iprot); + this->__isset.body_clear_ball = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 28: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->body_dribble.read(iprot); + this->__isset.body_dribble = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 29: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->body_go_to_point_dodge.read(iprot); + this->__isset.body_go_to_point_dodge = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 30: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->body_hold_ball.read(iprot); + this->__isset.body_hold_ball = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 31: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->body_intercept.read(iprot); + this->__isset.body_intercept = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 32: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->body_kick_one_step.read(iprot); + this->__isset.body_kick_one_step = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 33: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->body_stop_ball.read(iprot); + this->__isset.body_stop_ball = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 34: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->body_stop_dash.read(iprot); + this->__isset.body_stop_dash = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 35: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->body_tackle_to_point.read(iprot); + this->__isset.body_tackle_to_point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 36: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->body_turn_to_angle.read(iprot); + this->__isset.body_turn_to_angle = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 37: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->body_turn_to_ball.read(iprot); + this->__isset.body_turn_to_ball = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 38: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->body_turn_to_point.read(iprot); + this->__isset.body_turn_to_point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 39: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->focus_move_to_point.read(iprot); + this->__isset.focus_move_to_point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 40: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->focus_reset.read(iprot); + this->__isset.focus_reset = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 41: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->neck_scan_field.read(iprot); + this->__isset.neck_scan_field = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 42: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->neck_scan_players.read(iprot); + this->__isset.neck_scan_players = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 43: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->neck_turn_to_ball_and_player.read(iprot); + this->__isset.neck_turn_to_ball_and_player = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 44: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->neck_turn_to_ball_or_scan.read(iprot); + this->__isset.neck_turn_to_ball_or_scan = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 45: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->neck_turn_to_ball.read(iprot); + this->__isset.neck_turn_to_ball = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 46: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->neck_turn_to_goalie_or_scan.read(iprot); + this->__isset.neck_turn_to_goalie_or_scan = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 47: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->neck_turn_to_low_conf_teammate.read(iprot); + this->__isset.neck_turn_to_low_conf_teammate = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 48: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->neck_turn_to_player_or_scan.read(iprot); + this->__isset.neck_turn_to_player_or_scan = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 49: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->neck_turn_to_point.read(iprot); + this->__isset.neck_turn_to_point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 50: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->neck_turn_to_relative.read(iprot); + this->__isset.neck_turn_to_relative = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 51: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->view_change_width.read(iprot); + this->__isset.view_change_width = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 52: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->view_normal.read(iprot); + this->__isset.view_normal = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 53: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->view_synch.read(iprot); + this->__isset.view_synch = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 54: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->view_wide.read(iprot); + this->__isset.view_wide = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 55: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->helios_goalie.read(iprot); + this->__isset.helios_goalie = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 56: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->helios_goalie_move.read(iprot); + this->__isset.helios_goalie_move = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 57: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->helios_goalie_kick.read(iprot); + this->__isset.helios_goalie_kick = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 58: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->helios_shoot.read(iprot); + this->__isset.helios_shoot = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 59: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->helios_chain_action.read(iprot); + this->__isset.helios_chain_action = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 60: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->helios_basic_offensive.read(iprot); + this->__isset.helios_basic_offensive = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 61: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->helios_basic_move.read(iprot); + this->__isset.helios_basic_move = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 62: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->helios_set_play.read(iprot); + this->__isset.helios_set_play = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 63: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->helios_penalty.read(iprot); + this->__isset.helios_penalty = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 64: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->helios_communication.read(iprot); + this->__isset.helios_communication = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t PlayerAction::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("PlayerAction"); + + if (this->__isset.dash) { + xfer += oprot->writeFieldBegin("dash", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->dash.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.turn) { + xfer += oprot->writeFieldBegin("turn", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->turn.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.kick) { + xfer += oprot->writeFieldBegin("kick", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->kick.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.tackle) { + xfer += oprot->writeFieldBegin("tackle", ::apache::thrift::protocol::T_STRUCT, 4); + xfer += this->tackle.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.catch_action) { + xfer += oprot->writeFieldBegin("catch_action", ::apache::thrift::protocol::T_STRUCT, 5); + xfer += this->catch_action.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.move) { + xfer += oprot->writeFieldBegin("move", ::apache::thrift::protocol::T_STRUCT, 6); + xfer += this->move.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.turn_neck) { + xfer += oprot->writeFieldBegin("turn_neck", ::apache::thrift::protocol::T_STRUCT, 7); + xfer += this->turn_neck.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.change_view) { + xfer += oprot->writeFieldBegin("change_view", ::apache::thrift::protocol::T_STRUCT, 8); + xfer += this->change_view.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.say) { + xfer += oprot->writeFieldBegin("say", ::apache::thrift::protocol::T_STRUCT, 9); + xfer += this->say.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.point_to) { + xfer += oprot->writeFieldBegin("point_to", ::apache::thrift::protocol::T_STRUCT, 10); + xfer += this->point_to.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.point_to_of) { + xfer += oprot->writeFieldBegin("point_to_of", ::apache::thrift::protocol::T_STRUCT, 11); + xfer += this->point_to_of.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.attention_to) { + xfer += oprot->writeFieldBegin("attention_to", ::apache::thrift::protocol::T_STRUCT, 12); + xfer += this->attention_to.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.attention_to_of) { + xfer += oprot->writeFieldBegin("attention_to_of", ::apache::thrift::protocol::T_STRUCT, 13); + xfer += this->attention_to_of.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.log) { + xfer += oprot->writeFieldBegin("log", ::apache::thrift::protocol::T_STRUCT, 14); + xfer += this->log.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.debug_client) { + xfer += oprot->writeFieldBegin("debug_client", ::apache::thrift::protocol::T_STRUCT, 15); + xfer += this->debug_client.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.body_go_to_point) { + xfer += oprot->writeFieldBegin("body_go_to_point", ::apache::thrift::protocol::T_STRUCT, 16); + xfer += this->body_go_to_point.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.body_smart_kick) { + xfer += oprot->writeFieldBegin("body_smart_kick", ::apache::thrift::protocol::T_STRUCT, 17); + xfer += this->body_smart_kick.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.bhv_before_kick_off) { + xfer += oprot->writeFieldBegin("bhv_before_kick_off", ::apache::thrift::protocol::T_STRUCT, 18); + xfer += this->bhv_before_kick_off.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.bhv_body_neck_to_ball) { + xfer += oprot->writeFieldBegin("bhv_body_neck_to_ball", ::apache::thrift::protocol::T_STRUCT, 19); + xfer += this->bhv_body_neck_to_ball.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.bhv_body_neck_to_point) { + xfer += oprot->writeFieldBegin("bhv_body_neck_to_point", ::apache::thrift::protocol::T_STRUCT, 20); + xfer += this->bhv_body_neck_to_point.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.bhv_emergency) { + xfer += oprot->writeFieldBegin("bhv_emergency", ::apache::thrift::protocol::T_STRUCT, 21); + xfer += this->bhv_emergency.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.bhv_go_to_point_look_ball) { + xfer += oprot->writeFieldBegin("bhv_go_to_point_look_ball", ::apache::thrift::protocol::T_STRUCT, 22); + xfer += this->bhv_go_to_point_look_ball.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.bhv_neck_body_to_ball) { + xfer += oprot->writeFieldBegin("bhv_neck_body_to_ball", ::apache::thrift::protocol::T_STRUCT, 23); + xfer += this->bhv_neck_body_to_ball.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.bhv_neck_body_to_point) { + xfer += oprot->writeFieldBegin("bhv_neck_body_to_point", ::apache::thrift::protocol::T_STRUCT, 24); + xfer += this->bhv_neck_body_to_point.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.bhv_scan_field) { + xfer += oprot->writeFieldBegin("bhv_scan_field", ::apache::thrift::protocol::T_STRUCT, 25); + xfer += this->bhv_scan_field.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.body_advance_ball) { + xfer += oprot->writeFieldBegin("body_advance_ball", ::apache::thrift::protocol::T_STRUCT, 26); + xfer += this->body_advance_ball.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.body_clear_ball) { + xfer += oprot->writeFieldBegin("body_clear_ball", ::apache::thrift::protocol::T_STRUCT, 27); + xfer += this->body_clear_ball.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.body_dribble) { + xfer += oprot->writeFieldBegin("body_dribble", ::apache::thrift::protocol::T_STRUCT, 28); + xfer += this->body_dribble.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.body_go_to_point_dodge) { + xfer += oprot->writeFieldBegin("body_go_to_point_dodge", ::apache::thrift::protocol::T_STRUCT, 29); + xfer += this->body_go_to_point_dodge.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.body_hold_ball) { + xfer += oprot->writeFieldBegin("body_hold_ball", ::apache::thrift::protocol::T_STRUCT, 30); + xfer += this->body_hold_ball.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.body_intercept) { + xfer += oprot->writeFieldBegin("body_intercept", ::apache::thrift::protocol::T_STRUCT, 31); + xfer += this->body_intercept.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.body_kick_one_step) { + xfer += oprot->writeFieldBegin("body_kick_one_step", ::apache::thrift::protocol::T_STRUCT, 32); + xfer += this->body_kick_one_step.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.body_stop_ball) { + xfer += oprot->writeFieldBegin("body_stop_ball", ::apache::thrift::protocol::T_STRUCT, 33); + xfer += this->body_stop_ball.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.body_stop_dash) { + xfer += oprot->writeFieldBegin("body_stop_dash", ::apache::thrift::protocol::T_STRUCT, 34); + xfer += this->body_stop_dash.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.body_tackle_to_point) { + xfer += oprot->writeFieldBegin("body_tackle_to_point", ::apache::thrift::protocol::T_STRUCT, 35); + xfer += this->body_tackle_to_point.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.body_turn_to_angle) { + xfer += oprot->writeFieldBegin("body_turn_to_angle", ::apache::thrift::protocol::T_STRUCT, 36); + xfer += this->body_turn_to_angle.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.body_turn_to_ball) { + xfer += oprot->writeFieldBegin("body_turn_to_ball", ::apache::thrift::protocol::T_STRUCT, 37); + xfer += this->body_turn_to_ball.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.body_turn_to_point) { + xfer += oprot->writeFieldBegin("body_turn_to_point", ::apache::thrift::protocol::T_STRUCT, 38); + xfer += this->body_turn_to_point.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.focus_move_to_point) { + xfer += oprot->writeFieldBegin("focus_move_to_point", ::apache::thrift::protocol::T_STRUCT, 39); + xfer += this->focus_move_to_point.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.focus_reset) { + xfer += oprot->writeFieldBegin("focus_reset", ::apache::thrift::protocol::T_STRUCT, 40); + xfer += this->focus_reset.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.neck_scan_field) { + xfer += oprot->writeFieldBegin("neck_scan_field", ::apache::thrift::protocol::T_STRUCT, 41); + xfer += this->neck_scan_field.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.neck_scan_players) { + xfer += oprot->writeFieldBegin("neck_scan_players", ::apache::thrift::protocol::T_STRUCT, 42); + xfer += this->neck_scan_players.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.neck_turn_to_ball_and_player) { + xfer += oprot->writeFieldBegin("neck_turn_to_ball_and_player", ::apache::thrift::protocol::T_STRUCT, 43); + xfer += this->neck_turn_to_ball_and_player.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.neck_turn_to_ball_or_scan) { + xfer += oprot->writeFieldBegin("neck_turn_to_ball_or_scan", ::apache::thrift::protocol::T_STRUCT, 44); + xfer += this->neck_turn_to_ball_or_scan.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.neck_turn_to_ball) { + xfer += oprot->writeFieldBegin("neck_turn_to_ball", ::apache::thrift::protocol::T_STRUCT, 45); + xfer += this->neck_turn_to_ball.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.neck_turn_to_goalie_or_scan) { + xfer += oprot->writeFieldBegin("neck_turn_to_goalie_or_scan", ::apache::thrift::protocol::T_STRUCT, 46); + xfer += this->neck_turn_to_goalie_or_scan.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.neck_turn_to_low_conf_teammate) { + xfer += oprot->writeFieldBegin("neck_turn_to_low_conf_teammate", ::apache::thrift::protocol::T_STRUCT, 47); + xfer += this->neck_turn_to_low_conf_teammate.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.neck_turn_to_player_or_scan) { + xfer += oprot->writeFieldBegin("neck_turn_to_player_or_scan", ::apache::thrift::protocol::T_STRUCT, 48); + xfer += this->neck_turn_to_player_or_scan.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.neck_turn_to_point) { + xfer += oprot->writeFieldBegin("neck_turn_to_point", ::apache::thrift::protocol::T_STRUCT, 49); + xfer += this->neck_turn_to_point.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.neck_turn_to_relative) { + xfer += oprot->writeFieldBegin("neck_turn_to_relative", ::apache::thrift::protocol::T_STRUCT, 50); + xfer += this->neck_turn_to_relative.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.view_change_width) { + xfer += oprot->writeFieldBegin("view_change_width", ::apache::thrift::protocol::T_STRUCT, 51); + xfer += this->view_change_width.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.view_normal) { + xfer += oprot->writeFieldBegin("view_normal", ::apache::thrift::protocol::T_STRUCT, 52); + xfer += this->view_normal.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.view_synch) { + xfer += oprot->writeFieldBegin("view_synch", ::apache::thrift::protocol::T_STRUCT, 53); + xfer += this->view_synch.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.view_wide) { + xfer += oprot->writeFieldBegin("view_wide", ::apache::thrift::protocol::T_STRUCT, 54); + xfer += this->view_wide.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.helios_goalie) { + xfer += oprot->writeFieldBegin("helios_goalie", ::apache::thrift::protocol::T_STRUCT, 55); + xfer += this->helios_goalie.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.helios_goalie_move) { + xfer += oprot->writeFieldBegin("helios_goalie_move", ::apache::thrift::protocol::T_STRUCT, 56); + xfer += this->helios_goalie_move.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.helios_goalie_kick) { + xfer += oprot->writeFieldBegin("helios_goalie_kick", ::apache::thrift::protocol::T_STRUCT, 57); + xfer += this->helios_goalie_kick.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.helios_shoot) { + xfer += oprot->writeFieldBegin("helios_shoot", ::apache::thrift::protocol::T_STRUCT, 58); + xfer += this->helios_shoot.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.helios_chain_action) { + xfer += oprot->writeFieldBegin("helios_chain_action", ::apache::thrift::protocol::T_STRUCT, 59); + xfer += this->helios_chain_action.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.helios_basic_offensive) { + xfer += oprot->writeFieldBegin("helios_basic_offensive", ::apache::thrift::protocol::T_STRUCT, 60); + xfer += this->helios_basic_offensive.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.helios_basic_move) { + xfer += oprot->writeFieldBegin("helios_basic_move", ::apache::thrift::protocol::T_STRUCT, 61); + xfer += this->helios_basic_move.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.helios_set_play) { + xfer += oprot->writeFieldBegin("helios_set_play", ::apache::thrift::protocol::T_STRUCT, 62); + xfer += this->helios_set_play.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.helios_penalty) { + xfer += oprot->writeFieldBegin("helios_penalty", ::apache::thrift::protocol::T_STRUCT, 63); + xfer += this->helios_penalty.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.helios_communication) { + xfer += oprot->writeFieldBegin("helios_communication", ::apache::thrift::protocol::T_STRUCT, 64); + xfer += this->helios_communication.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(PlayerAction &a, PlayerAction &b) { + using ::std::swap; + swap(a.dash, b.dash); + swap(a.turn, b.turn); + swap(a.kick, b.kick); + swap(a.tackle, b.tackle); + swap(a.catch_action, b.catch_action); + swap(a.move, b.move); + swap(a.turn_neck, b.turn_neck); + swap(a.change_view, b.change_view); + swap(a.say, b.say); + swap(a.point_to, b.point_to); + swap(a.point_to_of, b.point_to_of); + swap(a.attention_to, b.attention_to); + swap(a.attention_to_of, b.attention_to_of); + swap(a.log, b.log); + swap(a.debug_client, b.debug_client); + swap(a.body_go_to_point, b.body_go_to_point); + swap(a.body_smart_kick, b.body_smart_kick); + swap(a.bhv_before_kick_off, b.bhv_before_kick_off); + swap(a.bhv_body_neck_to_ball, b.bhv_body_neck_to_ball); + swap(a.bhv_body_neck_to_point, b.bhv_body_neck_to_point); + swap(a.bhv_emergency, b.bhv_emergency); + swap(a.bhv_go_to_point_look_ball, b.bhv_go_to_point_look_ball); + swap(a.bhv_neck_body_to_ball, b.bhv_neck_body_to_ball); + swap(a.bhv_neck_body_to_point, b.bhv_neck_body_to_point); + swap(a.bhv_scan_field, b.bhv_scan_field); + swap(a.body_advance_ball, b.body_advance_ball); + swap(a.body_clear_ball, b.body_clear_ball); + swap(a.body_dribble, b.body_dribble); + swap(a.body_go_to_point_dodge, b.body_go_to_point_dodge); + swap(a.body_hold_ball, b.body_hold_ball); + swap(a.body_intercept, b.body_intercept); + swap(a.body_kick_one_step, b.body_kick_one_step); + swap(a.body_stop_ball, b.body_stop_ball); + swap(a.body_stop_dash, b.body_stop_dash); + swap(a.body_tackle_to_point, b.body_tackle_to_point); + swap(a.body_turn_to_angle, b.body_turn_to_angle); + swap(a.body_turn_to_ball, b.body_turn_to_ball); + swap(a.body_turn_to_point, b.body_turn_to_point); + swap(a.focus_move_to_point, b.focus_move_to_point); + swap(a.focus_reset, b.focus_reset); + swap(a.neck_scan_field, b.neck_scan_field); + swap(a.neck_scan_players, b.neck_scan_players); + swap(a.neck_turn_to_ball_and_player, b.neck_turn_to_ball_and_player); + swap(a.neck_turn_to_ball_or_scan, b.neck_turn_to_ball_or_scan); + swap(a.neck_turn_to_ball, b.neck_turn_to_ball); + swap(a.neck_turn_to_goalie_or_scan, b.neck_turn_to_goalie_or_scan); + swap(a.neck_turn_to_low_conf_teammate, b.neck_turn_to_low_conf_teammate); + swap(a.neck_turn_to_player_or_scan, b.neck_turn_to_player_or_scan); + swap(a.neck_turn_to_point, b.neck_turn_to_point); + swap(a.neck_turn_to_relative, b.neck_turn_to_relative); + swap(a.view_change_width, b.view_change_width); + swap(a.view_normal, b.view_normal); + swap(a.view_synch, b.view_synch); + swap(a.view_wide, b.view_wide); + swap(a.helios_goalie, b.helios_goalie); + swap(a.helios_goalie_move, b.helios_goalie_move); + swap(a.helios_goalie_kick, b.helios_goalie_kick); + swap(a.helios_shoot, b.helios_shoot); + swap(a.helios_chain_action, b.helios_chain_action); + swap(a.helios_basic_offensive, b.helios_basic_offensive); + swap(a.helios_basic_move, b.helios_basic_move); + swap(a.helios_set_play, b.helios_set_play); + swap(a.helios_penalty, b.helios_penalty); + swap(a.helios_communication, b.helios_communication); + swap(a.__isset, b.__isset); +} + +PlayerAction::PlayerAction(const PlayerAction& other283) { + dash = other283.dash; + turn = other283.turn; + kick = other283.kick; + tackle = other283.tackle; + catch_action = other283.catch_action; + move = other283.move; + turn_neck = other283.turn_neck; + change_view = other283.change_view; + say = other283.say; + point_to = other283.point_to; + point_to_of = other283.point_to_of; + attention_to = other283.attention_to; + attention_to_of = other283.attention_to_of; + log = other283.log; + debug_client = other283.debug_client; + body_go_to_point = other283.body_go_to_point; + body_smart_kick = other283.body_smart_kick; + bhv_before_kick_off = other283.bhv_before_kick_off; + bhv_body_neck_to_ball = other283.bhv_body_neck_to_ball; + bhv_body_neck_to_point = other283.bhv_body_neck_to_point; + bhv_emergency = other283.bhv_emergency; + bhv_go_to_point_look_ball = other283.bhv_go_to_point_look_ball; + bhv_neck_body_to_ball = other283.bhv_neck_body_to_ball; + bhv_neck_body_to_point = other283.bhv_neck_body_to_point; + bhv_scan_field = other283.bhv_scan_field; + body_advance_ball = other283.body_advance_ball; + body_clear_ball = other283.body_clear_ball; + body_dribble = other283.body_dribble; + body_go_to_point_dodge = other283.body_go_to_point_dodge; + body_hold_ball = other283.body_hold_ball; + body_intercept = other283.body_intercept; + body_kick_one_step = other283.body_kick_one_step; + body_stop_ball = other283.body_stop_ball; + body_stop_dash = other283.body_stop_dash; + body_tackle_to_point = other283.body_tackle_to_point; + body_turn_to_angle = other283.body_turn_to_angle; + body_turn_to_ball = other283.body_turn_to_ball; + body_turn_to_point = other283.body_turn_to_point; + focus_move_to_point = other283.focus_move_to_point; + focus_reset = other283.focus_reset; + neck_scan_field = other283.neck_scan_field; + neck_scan_players = other283.neck_scan_players; + neck_turn_to_ball_and_player = other283.neck_turn_to_ball_and_player; + neck_turn_to_ball_or_scan = other283.neck_turn_to_ball_or_scan; + neck_turn_to_ball = other283.neck_turn_to_ball; + neck_turn_to_goalie_or_scan = other283.neck_turn_to_goalie_or_scan; + neck_turn_to_low_conf_teammate = other283.neck_turn_to_low_conf_teammate; + neck_turn_to_player_or_scan = other283.neck_turn_to_player_or_scan; + neck_turn_to_point = other283.neck_turn_to_point; + neck_turn_to_relative = other283.neck_turn_to_relative; + view_change_width = other283.view_change_width; + view_normal = other283.view_normal; + view_synch = other283.view_synch; + view_wide = other283.view_wide; + helios_goalie = other283.helios_goalie; + helios_goalie_move = other283.helios_goalie_move; + helios_goalie_kick = other283.helios_goalie_kick; + helios_shoot = other283.helios_shoot; + helios_chain_action = other283.helios_chain_action; + helios_basic_offensive = other283.helios_basic_offensive; + helios_basic_move = other283.helios_basic_move; + helios_set_play = other283.helios_set_play; + helios_penalty = other283.helios_penalty; + helios_communication = other283.helios_communication; + __isset = other283.__isset; +} +PlayerAction& PlayerAction::operator=(const PlayerAction& other284) { + dash = other284.dash; + turn = other284.turn; + kick = other284.kick; + tackle = other284.tackle; + catch_action = other284.catch_action; + move = other284.move; + turn_neck = other284.turn_neck; + change_view = other284.change_view; + say = other284.say; + point_to = other284.point_to; + point_to_of = other284.point_to_of; + attention_to = other284.attention_to; + attention_to_of = other284.attention_to_of; + log = other284.log; + debug_client = other284.debug_client; + body_go_to_point = other284.body_go_to_point; + body_smart_kick = other284.body_smart_kick; + bhv_before_kick_off = other284.bhv_before_kick_off; + bhv_body_neck_to_ball = other284.bhv_body_neck_to_ball; + bhv_body_neck_to_point = other284.bhv_body_neck_to_point; + bhv_emergency = other284.bhv_emergency; + bhv_go_to_point_look_ball = other284.bhv_go_to_point_look_ball; + bhv_neck_body_to_ball = other284.bhv_neck_body_to_ball; + bhv_neck_body_to_point = other284.bhv_neck_body_to_point; + bhv_scan_field = other284.bhv_scan_field; + body_advance_ball = other284.body_advance_ball; + body_clear_ball = other284.body_clear_ball; + body_dribble = other284.body_dribble; + body_go_to_point_dodge = other284.body_go_to_point_dodge; + body_hold_ball = other284.body_hold_ball; + body_intercept = other284.body_intercept; + body_kick_one_step = other284.body_kick_one_step; + body_stop_ball = other284.body_stop_ball; + body_stop_dash = other284.body_stop_dash; + body_tackle_to_point = other284.body_tackle_to_point; + body_turn_to_angle = other284.body_turn_to_angle; + body_turn_to_ball = other284.body_turn_to_ball; + body_turn_to_point = other284.body_turn_to_point; + focus_move_to_point = other284.focus_move_to_point; + focus_reset = other284.focus_reset; + neck_scan_field = other284.neck_scan_field; + neck_scan_players = other284.neck_scan_players; + neck_turn_to_ball_and_player = other284.neck_turn_to_ball_and_player; + neck_turn_to_ball_or_scan = other284.neck_turn_to_ball_or_scan; + neck_turn_to_ball = other284.neck_turn_to_ball; + neck_turn_to_goalie_or_scan = other284.neck_turn_to_goalie_or_scan; + neck_turn_to_low_conf_teammate = other284.neck_turn_to_low_conf_teammate; + neck_turn_to_player_or_scan = other284.neck_turn_to_player_or_scan; + neck_turn_to_point = other284.neck_turn_to_point; + neck_turn_to_relative = other284.neck_turn_to_relative; + view_change_width = other284.view_change_width; + view_normal = other284.view_normal; + view_synch = other284.view_synch; + view_wide = other284.view_wide; + helios_goalie = other284.helios_goalie; + helios_goalie_move = other284.helios_goalie_move; + helios_goalie_kick = other284.helios_goalie_kick; + helios_shoot = other284.helios_shoot; + helios_chain_action = other284.helios_chain_action; + helios_basic_offensive = other284.helios_basic_offensive; + helios_basic_move = other284.helios_basic_move; + helios_set_play = other284.helios_set_play; + helios_penalty = other284.helios_penalty; + helios_communication = other284.helios_communication; + __isset = other284.__isset; + return *this; +} +void PlayerAction::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "PlayerAction("; + out << "dash="; (__isset.dash ? (out << to_string(dash)) : (out << "")); + out << ", " << "turn="; (__isset.turn ? (out << to_string(turn)) : (out << "")); + out << ", " << "kick="; (__isset.kick ? (out << to_string(kick)) : (out << "")); + out << ", " << "tackle="; (__isset.tackle ? (out << to_string(tackle)) : (out << "")); + out << ", " << "catch_action="; (__isset.catch_action ? (out << to_string(catch_action)) : (out << "")); + out << ", " << "move="; (__isset.move ? (out << to_string(move)) : (out << "")); + out << ", " << "turn_neck="; (__isset.turn_neck ? (out << to_string(turn_neck)) : (out << "")); + out << ", " << "change_view="; (__isset.change_view ? (out << to_string(change_view)) : (out << "")); + out << ", " << "say="; (__isset.say ? (out << to_string(say)) : (out << "")); + out << ", " << "point_to="; (__isset.point_to ? (out << to_string(point_to)) : (out << "")); + out << ", " << "point_to_of="; (__isset.point_to_of ? (out << to_string(point_to_of)) : (out << "")); + out << ", " << "attention_to="; (__isset.attention_to ? (out << to_string(attention_to)) : (out << "")); + out << ", " << "attention_to_of="; (__isset.attention_to_of ? (out << to_string(attention_to_of)) : (out << "")); + out << ", " << "log="; (__isset.log ? (out << to_string(log)) : (out << "")); + out << ", " << "debug_client="; (__isset.debug_client ? (out << to_string(debug_client)) : (out << "")); + out << ", " << "body_go_to_point="; (__isset.body_go_to_point ? (out << to_string(body_go_to_point)) : (out << "")); + out << ", " << "body_smart_kick="; (__isset.body_smart_kick ? (out << to_string(body_smart_kick)) : (out << "")); + out << ", " << "bhv_before_kick_off="; (__isset.bhv_before_kick_off ? (out << to_string(bhv_before_kick_off)) : (out << "")); + out << ", " << "bhv_body_neck_to_ball="; (__isset.bhv_body_neck_to_ball ? (out << to_string(bhv_body_neck_to_ball)) : (out << "")); + out << ", " << "bhv_body_neck_to_point="; (__isset.bhv_body_neck_to_point ? (out << to_string(bhv_body_neck_to_point)) : (out << "")); + out << ", " << "bhv_emergency="; (__isset.bhv_emergency ? (out << to_string(bhv_emergency)) : (out << "")); + out << ", " << "bhv_go_to_point_look_ball="; (__isset.bhv_go_to_point_look_ball ? (out << to_string(bhv_go_to_point_look_ball)) : (out << "")); + out << ", " << "bhv_neck_body_to_ball="; (__isset.bhv_neck_body_to_ball ? (out << to_string(bhv_neck_body_to_ball)) : (out << "")); + out << ", " << "bhv_neck_body_to_point="; (__isset.bhv_neck_body_to_point ? (out << to_string(bhv_neck_body_to_point)) : (out << "")); + out << ", " << "bhv_scan_field="; (__isset.bhv_scan_field ? (out << to_string(bhv_scan_field)) : (out << "")); + out << ", " << "body_advance_ball="; (__isset.body_advance_ball ? (out << to_string(body_advance_ball)) : (out << "")); + out << ", " << "body_clear_ball="; (__isset.body_clear_ball ? (out << to_string(body_clear_ball)) : (out << "")); + out << ", " << "body_dribble="; (__isset.body_dribble ? (out << to_string(body_dribble)) : (out << "")); + out << ", " << "body_go_to_point_dodge="; (__isset.body_go_to_point_dodge ? (out << to_string(body_go_to_point_dodge)) : (out << "")); + out << ", " << "body_hold_ball="; (__isset.body_hold_ball ? (out << to_string(body_hold_ball)) : (out << "")); + out << ", " << "body_intercept="; (__isset.body_intercept ? (out << to_string(body_intercept)) : (out << "")); + out << ", " << "body_kick_one_step="; (__isset.body_kick_one_step ? (out << to_string(body_kick_one_step)) : (out << "")); + out << ", " << "body_stop_ball="; (__isset.body_stop_ball ? (out << to_string(body_stop_ball)) : (out << "")); + out << ", " << "body_stop_dash="; (__isset.body_stop_dash ? (out << to_string(body_stop_dash)) : (out << "")); + out << ", " << "body_tackle_to_point="; (__isset.body_tackle_to_point ? (out << to_string(body_tackle_to_point)) : (out << "")); + out << ", " << "body_turn_to_angle="; (__isset.body_turn_to_angle ? (out << to_string(body_turn_to_angle)) : (out << "")); + out << ", " << "body_turn_to_ball="; (__isset.body_turn_to_ball ? (out << to_string(body_turn_to_ball)) : (out << "")); + out << ", " << "body_turn_to_point="; (__isset.body_turn_to_point ? (out << to_string(body_turn_to_point)) : (out << "")); + out << ", " << "focus_move_to_point="; (__isset.focus_move_to_point ? (out << to_string(focus_move_to_point)) : (out << "")); + out << ", " << "focus_reset="; (__isset.focus_reset ? (out << to_string(focus_reset)) : (out << "")); + out << ", " << "neck_scan_field="; (__isset.neck_scan_field ? (out << to_string(neck_scan_field)) : (out << "")); + out << ", " << "neck_scan_players="; (__isset.neck_scan_players ? (out << to_string(neck_scan_players)) : (out << "")); + out << ", " << "neck_turn_to_ball_and_player="; (__isset.neck_turn_to_ball_and_player ? (out << to_string(neck_turn_to_ball_and_player)) : (out << "")); + out << ", " << "neck_turn_to_ball_or_scan="; (__isset.neck_turn_to_ball_or_scan ? (out << to_string(neck_turn_to_ball_or_scan)) : (out << "")); + out << ", " << "neck_turn_to_ball="; (__isset.neck_turn_to_ball ? (out << to_string(neck_turn_to_ball)) : (out << "")); + out << ", " << "neck_turn_to_goalie_or_scan="; (__isset.neck_turn_to_goalie_or_scan ? (out << to_string(neck_turn_to_goalie_or_scan)) : (out << "")); + out << ", " << "neck_turn_to_low_conf_teammate="; (__isset.neck_turn_to_low_conf_teammate ? (out << to_string(neck_turn_to_low_conf_teammate)) : (out << "")); + out << ", " << "neck_turn_to_player_or_scan="; (__isset.neck_turn_to_player_or_scan ? (out << to_string(neck_turn_to_player_or_scan)) : (out << "")); + out << ", " << "neck_turn_to_point="; (__isset.neck_turn_to_point ? (out << to_string(neck_turn_to_point)) : (out << "")); + out << ", " << "neck_turn_to_relative="; (__isset.neck_turn_to_relative ? (out << to_string(neck_turn_to_relative)) : (out << "")); + out << ", " << "view_change_width="; (__isset.view_change_width ? (out << to_string(view_change_width)) : (out << "")); + out << ", " << "view_normal="; (__isset.view_normal ? (out << to_string(view_normal)) : (out << "")); + out << ", " << "view_synch="; (__isset.view_synch ? (out << to_string(view_synch)) : (out << "")); + out << ", " << "view_wide="; (__isset.view_wide ? (out << to_string(view_wide)) : (out << "")); + out << ", " << "helios_goalie="; (__isset.helios_goalie ? (out << to_string(helios_goalie)) : (out << "")); + out << ", " << "helios_goalie_move="; (__isset.helios_goalie_move ? (out << to_string(helios_goalie_move)) : (out << "")); + out << ", " << "helios_goalie_kick="; (__isset.helios_goalie_kick ? (out << to_string(helios_goalie_kick)) : (out << "")); + out << ", " << "helios_shoot="; (__isset.helios_shoot ? (out << to_string(helios_shoot)) : (out << "")); + out << ", " << "helios_chain_action="; (__isset.helios_chain_action ? (out << to_string(helios_chain_action)) : (out << "")); + out << ", " << "helios_basic_offensive="; (__isset.helios_basic_offensive ? (out << to_string(helios_basic_offensive)) : (out << "")); + out << ", " << "helios_basic_move="; (__isset.helios_basic_move ? (out << to_string(helios_basic_move)) : (out << "")); + out << ", " << "helios_set_play="; (__isset.helios_set_play ? (out << to_string(helios_set_play)) : (out << "")); + out << ", " << "helios_penalty="; (__isset.helios_penalty ? (out << to_string(helios_penalty)) : (out << "")); + out << ", " << "helios_communication="; (__isset.helios_communication ? (out << to_string(helios_communication)) : (out << "")); + out << ")"; +} + + +PlayerActions::~PlayerActions() noexcept { +} + + +void PlayerActions::__set_actions(const std::vector & val) { + this->actions = val; +} + +void PlayerActions::__set_ignore_preprocess(const bool val) { + this->ignore_preprocess = val; +} +std::ostream& operator<<(std::ostream& out, const PlayerActions& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t PlayerActions::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + this->actions.clear(); + uint32_t _size285; + ::apache::thrift::protocol::TType _etype288; + xfer += iprot->readListBegin(_etype288, _size285); + this->actions.resize(_size285); + uint32_t _i289; + for (_i289 = 0; _i289 < _size285; ++_i289) + { + xfer += this->actions[_i289].read(iprot); + } + xfer += iprot->readListEnd(); + } + this->__isset.actions = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->ignore_preprocess); + this->__isset.ignore_preprocess = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t PlayerActions::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("PlayerActions"); + + xfer += oprot->writeFieldBegin("actions", ::apache::thrift::protocol::T_LIST, 1); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->actions.size())); + std::vector ::const_iterator _iter290; + for (_iter290 = this->actions.begin(); _iter290 != this->actions.end(); ++_iter290) + { + xfer += (*_iter290).write(oprot); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("ignore_preprocess", ::apache::thrift::protocol::T_BOOL, 2); + xfer += oprot->writeBool(this->ignore_preprocess); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(PlayerActions &a, PlayerActions &b) { + using ::std::swap; + swap(a.actions, b.actions); + swap(a.ignore_preprocess, b.ignore_preprocess); + swap(a.__isset, b.__isset); +} + +PlayerActions::PlayerActions(const PlayerActions& other291) { + actions = other291.actions; + ignore_preprocess = other291.ignore_preprocess; + __isset = other291.__isset; +} +PlayerActions& PlayerActions::operator=(const PlayerActions& other292) { + actions = other292.actions; + ignore_preprocess = other292.ignore_preprocess; + __isset = other292.__isset; + return *this; +} +void PlayerActions::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "PlayerActions("; + out << "actions=" << to_string(actions); + out << ", " << "ignore_preprocess=" << to_string(ignore_preprocess); + out << ")"; +} + + +ChangePlayerType::~ChangePlayerType() noexcept { +} + + +void ChangePlayerType::__set_uniform_number(const int32_t val) { + this->uniform_number = val; +} + +void ChangePlayerType::__set_type(const int32_t val) { + this->type = val; +} +std::ostream& operator<<(std::ostream& out, const ChangePlayerType& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t ChangePlayerType::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->uniform_number); + this->__isset.uniform_number = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->type); + this->__isset.type = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t ChangePlayerType::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("ChangePlayerType"); + + xfer += oprot->writeFieldBegin("uniform_number", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(this->uniform_number); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_I32, 2); + xfer += oprot->writeI32(this->type); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(ChangePlayerType &a, ChangePlayerType &b) { + using ::std::swap; + swap(a.uniform_number, b.uniform_number); + swap(a.type, b.type); + swap(a.__isset, b.__isset); +} + +ChangePlayerType::ChangePlayerType(const ChangePlayerType& other293) noexcept { + uniform_number = other293.uniform_number; + type = other293.type; + __isset = other293.__isset; +} +ChangePlayerType& ChangePlayerType::operator=(const ChangePlayerType& other294) noexcept { + uniform_number = other294.uniform_number; + type = other294.type; + __isset = other294.__isset; + return *this; +} +void ChangePlayerType::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "ChangePlayerType("; + out << "uniform_number=" << to_string(uniform_number); + out << ", " << "type=" << to_string(type); + out << ")"; +} + + +DoHeliosSubstitute::~DoHeliosSubstitute() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const DoHeliosSubstitute& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t DoHeliosSubstitute::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t DoHeliosSubstitute::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("DoHeliosSubstitute"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(DoHeliosSubstitute &a, DoHeliosSubstitute &b) { + using ::std::swap; + (void) a; + (void) b; +} + +DoHeliosSubstitute::DoHeliosSubstitute(const DoHeliosSubstitute& other295) noexcept { + (void) other295; +} +DoHeliosSubstitute& DoHeliosSubstitute::operator=(const DoHeliosSubstitute& other296) noexcept { + (void) other296; + return *this; +} +void DoHeliosSubstitute::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "DoHeliosSubstitute("; + out << ")"; +} + + +DoHeliosSayPlayerTypes::~DoHeliosSayPlayerTypes() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const DoHeliosSayPlayerTypes& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t DoHeliosSayPlayerTypes::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t DoHeliosSayPlayerTypes::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("DoHeliosSayPlayerTypes"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(DoHeliosSayPlayerTypes &a, DoHeliosSayPlayerTypes &b) { + using ::std::swap; + (void) a; + (void) b; +} + +DoHeliosSayPlayerTypes::DoHeliosSayPlayerTypes(const DoHeliosSayPlayerTypes& other297) noexcept { + (void) other297; +} +DoHeliosSayPlayerTypes& DoHeliosSayPlayerTypes::operator=(const DoHeliosSayPlayerTypes& other298) noexcept { + (void) other298; + return *this; +} +void DoHeliosSayPlayerTypes::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "DoHeliosSayPlayerTypes("; + out << ")"; +} + + +CoachAction::~CoachAction() noexcept { +} + + +void CoachAction::__set_change_player_types(const ChangePlayerType& val) { + this->change_player_types = val; +__isset.change_player_types = true; +} + +void CoachAction::__set_do_helios_substitute(const DoHeliosSubstitute& val) { + this->do_helios_substitute = val; +__isset.do_helios_substitute = true; +} + +void CoachAction::__set_do_helios_say_player_types(const DoHeliosSayPlayerTypes& val) { + this->do_helios_say_player_types = val; +__isset.do_helios_say_player_types = true; +} +std::ostream& operator<<(std::ostream& out, const CoachAction& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t CoachAction::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->change_player_types.read(iprot); + this->__isset.change_player_types = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->do_helios_substitute.read(iprot); + this->__isset.do_helios_substitute = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->do_helios_say_player_types.read(iprot); + this->__isset.do_helios_say_player_types = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t CoachAction::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("CoachAction"); + + if (this->__isset.change_player_types) { + xfer += oprot->writeFieldBegin("change_player_types", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->change_player_types.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.do_helios_substitute) { + xfer += oprot->writeFieldBegin("do_helios_substitute", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->do_helios_substitute.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.do_helios_say_player_types) { + xfer += oprot->writeFieldBegin("do_helios_say_player_types", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->do_helios_say_player_types.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(CoachAction &a, CoachAction &b) { + using ::std::swap; + swap(a.change_player_types, b.change_player_types); + swap(a.do_helios_substitute, b.do_helios_substitute); + swap(a.do_helios_say_player_types, b.do_helios_say_player_types); + swap(a.__isset, b.__isset); +} + +CoachAction::CoachAction(const CoachAction& other299) noexcept { + change_player_types = other299.change_player_types; + do_helios_substitute = other299.do_helios_substitute; + do_helios_say_player_types = other299.do_helios_say_player_types; + __isset = other299.__isset; +} +CoachAction& CoachAction::operator=(const CoachAction& other300) noexcept { + change_player_types = other300.change_player_types; + do_helios_substitute = other300.do_helios_substitute; + do_helios_say_player_types = other300.do_helios_say_player_types; + __isset = other300.__isset; + return *this; +} +void CoachAction::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "CoachAction("; + out << "change_player_types="; (__isset.change_player_types ? (out << to_string(change_player_types)) : (out << "")); + out << ", " << "do_helios_substitute="; (__isset.do_helios_substitute ? (out << to_string(do_helios_substitute)) : (out << "")); + out << ", " << "do_helios_say_player_types="; (__isset.do_helios_say_player_types ? (out << to_string(do_helios_say_player_types)) : (out << "")); + out << ")"; +} + + +CoachActions::~CoachActions() noexcept { +} + + +void CoachActions::__set_actions(const std::vector & val) { + this->actions = val; +} +std::ostream& operator<<(std::ostream& out, const CoachActions& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t CoachActions::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + this->actions.clear(); + uint32_t _size301; + ::apache::thrift::protocol::TType _etype304; + xfer += iprot->readListBegin(_etype304, _size301); + this->actions.resize(_size301); + uint32_t _i305; + for (_i305 = 0; _i305 < _size301; ++_i305) + { + xfer += this->actions[_i305].read(iprot); + } + xfer += iprot->readListEnd(); + } + this->__isset.actions = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t CoachActions::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("CoachActions"); + + xfer += oprot->writeFieldBegin("actions", ::apache::thrift::protocol::T_LIST, 1); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->actions.size())); + std::vector ::const_iterator _iter306; + for (_iter306 = this->actions.begin(); _iter306 != this->actions.end(); ++_iter306) + { + xfer += (*_iter306).write(oprot); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(CoachActions &a, CoachActions &b) { + using ::std::swap; + swap(a.actions, b.actions); + swap(a.__isset, b.__isset); +} + +CoachActions::CoachActions(const CoachActions& other307) { + actions = other307.actions; + __isset = other307.__isset; +} +CoachActions& CoachActions::operator=(const CoachActions& other308) { + actions = other308.actions; + __isset = other308.__isset; + return *this; +} +void CoachActions::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "CoachActions("; + out << "actions=" << to_string(actions); + out << ")"; +} + + +DoKickOff::~DoKickOff() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const DoKickOff& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t DoKickOff::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t DoKickOff::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("DoKickOff"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(DoKickOff &a, DoKickOff &b) { + using ::std::swap; + (void) a; + (void) b; +} + +DoKickOff::DoKickOff(const DoKickOff& other309) noexcept { + (void) other309; +} +DoKickOff& DoKickOff::operator=(const DoKickOff& other310) noexcept { + (void) other310; + return *this; +} +void DoKickOff::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "DoKickOff("; + out << ")"; +} + + +DoMoveBall::~DoMoveBall() noexcept { +} + + +void DoMoveBall::__set_position(const RpcVector2D& val) { + this->position = val; +} + +void DoMoveBall::__set_velocity(const RpcVector2D& val) { + this->velocity = val; +__isset.velocity = true; +} +std::ostream& operator<<(std::ostream& out, const DoMoveBall& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t DoMoveBall::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->position.read(iprot); + this->__isset.position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->velocity.read(iprot); + this->__isset.velocity = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t DoMoveBall::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("DoMoveBall"); + + xfer += oprot->writeFieldBegin("position", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->position.write(oprot); + xfer += oprot->writeFieldEnd(); + + if (this->__isset.velocity) { + xfer += oprot->writeFieldBegin("velocity", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->velocity.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(DoMoveBall &a, DoMoveBall &b) { + using ::std::swap; + swap(a.position, b.position); + swap(a.velocity, b.velocity); + swap(a.__isset, b.__isset); +} + +DoMoveBall::DoMoveBall(const DoMoveBall& other311) noexcept { + position = other311.position; + velocity = other311.velocity; + __isset = other311.__isset; +} +DoMoveBall& DoMoveBall::operator=(const DoMoveBall& other312) noexcept { + position = other312.position; + velocity = other312.velocity; + __isset = other312.__isset; + return *this; +} +void DoMoveBall::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "DoMoveBall("; + out << "position=" << to_string(position); + out << ", " << "velocity="; (__isset.velocity ? (out << to_string(velocity)) : (out << "")); + out << ")"; +} + + +DoMovePlayer::~DoMovePlayer() noexcept { +} + + +void DoMovePlayer::__set_our_side(const bool val) { + this->our_side = val; +} + +void DoMovePlayer::__set_uniform_number(const int32_t val) { + this->uniform_number = val; +} + +void DoMovePlayer::__set_position(const RpcVector2D& val) { + this->position = val; +} + +void DoMovePlayer::__set_body_direction(const double val) { + this->body_direction = val; +} +std::ostream& operator<<(std::ostream& out, const DoMovePlayer& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t DoMovePlayer::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->our_side); + this->__isset.our_side = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->uniform_number); + this->__isset.uniform_number = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->position.read(iprot); + this->__isset.position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->body_direction); + this->__isset.body_direction = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t DoMovePlayer::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("DoMovePlayer"); + + xfer += oprot->writeFieldBegin("our_side", ::apache::thrift::protocol::T_BOOL, 1); + xfer += oprot->writeBool(this->our_side); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("uniform_number", ::apache::thrift::protocol::T_I32, 2); + xfer += oprot->writeI32(this->uniform_number); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("position", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("body_direction", ::apache::thrift::protocol::T_DOUBLE, 4); + xfer += oprot->writeDouble(this->body_direction); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(DoMovePlayer &a, DoMovePlayer &b) { + using ::std::swap; + swap(a.our_side, b.our_side); + swap(a.uniform_number, b.uniform_number); + swap(a.position, b.position); + swap(a.body_direction, b.body_direction); + swap(a.__isset, b.__isset); +} + +DoMovePlayer::DoMovePlayer(const DoMovePlayer& other313) noexcept { + our_side = other313.our_side; + uniform_number = other313.uniform_number; + position = other313.position; + body_direction = other313.body_direction; + __isset = other313.__isset; +} +DoMovePlayer& DoMovePlayer::operator=(const DoMovePlayer& other314) noexcept { + our_side = other314.our_side; + uniform_number = other314.uniform_number; + position = other314.position; + body_direction = other314.body_direction; + __isset = other314.__isset; + return *this; +} +void DoMovePlayer::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "DoMovePlayer("; + out << "our_side=" << to_string(our_side); + out << ", " << "uniform_number=" << to_string(uniform_number); + out << ", " << "position=" << to_string(position); + out << ", " << "body_direction=" << to_string(body_direction); + out << ")"; +} + + +DoRecover::~DoRecover() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const DoRecover& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t DoRecover::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t DoRecover::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("DoRecover"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(DoRecover &a, DoRecover &b) { + using ::std::swap; + (void) a; + (void) b; +} + +DoRecover::DoRecover(const DoRecover& other315) noexcept { + (void) other315; +} +DoRecover& DoRecover::operator=(const DoRecover& other316) noexcept { + (void) other316; + return *this; +} +void DoRecover::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "DoRecover("; + out << ")"; +} + + +DoChangeMode::~DoChangeMode() noexcept { +} + + +void DoChangeMode::__set_game_mode_type(const GameModeType::type val) { + this->game_mode_type = val; +} + +void DoChangeMode::__set_side(const Side::type val) { + this->side = val; +} +std::ostream& operator<<(std::ostream& out, const DoChangeMode& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t DoChangeMode::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast317; + xfer += iprot->readI32(ecast317); + this->game_mode_type = static_cast(ecast317); + this->__isset.game_mode_type = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast318; + xfer += iprot->readI32(ecast318); + this->side = static_cast(ecast318); + this->__isset.side = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t DoChangeMode::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("DoChangeMode"); + + xfer += oprot->writeFieldBegin("game_mode_type", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(static_cast(this->game_mode_type)); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("side", ::apache::thrift::protocol::T_I32, 2); + xfer += oprot->writeI32(static_cast(this->side)); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(DoChangeMode &a, DoChangeMode &b) { + using ::std::swap; + swap(a.game_mode_type, b.game_mode_type); + swap(a.side, b.side); + swap(a.__isset, b.__isset); +} + +DoChangeMode::DoChangeMode(const DoChangeMode& other319) noexcept { + game_mode_type = other319.game_mode_type; + side = other319.side; + __isset = other319.__isset; +} +DoChangeMode& DoChangeMode::operator=(const DoChangeMode& other320) noexcept { + game_mode_type = other320.game_mode_type; + side = other320.side; + __isset = other320.__isset; + return *this; +} +void DoChangeMode::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "DoChangeMode("; + out << "game_mode_type=" << to_string(game_mode_type); + out << ", " << "side=" << to_string(side); + out << ")"; +} + + +DoChangePlayerType::~DoChangePlayerType() noexcept { +} + + +void DoChangePlayerType::__set_our_side(const bool val) { + this->our_side = val; +} + +void DoChangePlayerType::__set_uniform_number(const int32_t val) { + this->uniform_number = val; +} + +void DoChangePlayerType::__set_type(const int32_t val) { + this->type = val; +} +std::ostream& operator<<(std::ostream& out, const DoChangePlayerType& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t DoChangePlayerType::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->our_side); + this->__isset.our_side = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->uniform_number); + this->__isset.uniform_number = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->type); + this->__isset.type = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t DoChangePlayerType::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("DoChangePlayerType"); + + xfer += oprot->writeFieldBegin("our_side", ::apache::thrift::protocol::T_BOOL, 1); + xfer += oprot->writeBool(this->our_side); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("uniform_number", ::apache::thrift::protocol::T_I32, 2); + xfer += oprot->writeI32(this->uniform_number); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_I32, 3); + xfer += oprot->writeI32(this->type); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(DoChangePlayerType &a, DoChangePlayerType &b) { + using ::std::swap; + swap(a.our_side, b.our_side); + swap(a.uniform_number, b.uniform_number); + swap(a.type, b.type); + swap(a.__isset, b.__isset); +} + +DoChangePlayerType::DoChangePlayerType(const DoChangePlayerType& other321) noexcept { + our_side = other321.our_side; + uniform_number = other321.uniform_number; + type = other321.type; + __isset = other321.__isset; +} +DoChangePlayerType& DoChangePlayerType::operator=(const DoChangePlayerType& other322) noexcept { + our_side = other322.our_side; + uniform_number = other322.uniform_number; + type = other322.type; + __isset = other322.__isset; + return *this; +} +void DoChangePlayerType::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "DoChangePlayerType("; + out << "our_side=" << to_string(our_side); + out << ", " << "uniform_number=" << to_string(uniform_number); + out << ", " << "type=" << to_string(type); + out << ")"; +} + + +TrainerAction::~TrainerAction() noexcept { +} + + +void TrainerAction::__set_do_kick_off(const DoKickOff& val) { + this->do_kick_off = val; +__isset.do_kick_off = true; +} + +void TrainerAction::__set_do_move_ball(const DoMoveBall& val) { + this->do_move_ball = val; +__isset.do_move_ball = true; +} + +void TrainerAction::__set_do_move_player(const DoMovePlayer& val) { + this->do_move_player = val; +__isset.do_move_player = true; +} + +void TrainerAction::__set_do_recover(const DoRecover& val) { + this->do_recover = val; +__isset.do_recover = true; +} + +void TrainerAction::__set_do_change_mode(const DoChangeMode& val) { + this->do_change_mode = val; +__isset.do_change_mode = true; +} + +void TrainerAction::__set_do_change_player_type(const DoChangePlayerType& val) { + this->do_change_player_type = val; +__isset.do_change_player_type = true; +} +std::ostream& operator<<(std::ostream& out, const TrainerAction& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t TrainerAction::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->do_kick_off.read(iprot); + this->__isset.do_kick_off = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->do_move_ball.read(iprot); + this->__isset.do_move_ball = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->do_move_player.read(iprot); + this->__isset.do_move_player = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->do_recover.read(iprot); + this->__isset.do_recover = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->do_change_mode.read(iprot); + this->__isset.do_change_mode = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->do_change_player_type.read(iprot); + this->__isset.do_change_player_type = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t TrainerAction::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("TrainerAction"); + + if (this->__isset.do_kick_off) { + xfer += oprot->writeFieldBegin("do_kick_off", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->do_kick_off.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.do_move_ball) { + xfer += oprot->writeFieldBegin("do_move_ball", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->do_move_ball.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.do_move_player) { + xfer += oprot->writeFieldBegin("do_move_player", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->do_move_player.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.do_recover) { + xfer += oprot->writeFieldBegin("do_recover", ::apache::thrift::protocol::T_STRUCT, 4); + xfer += this->do_recover.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.do_change_mode) { + xfer += oprot->writeFieldBegin("do_change_mode", ::apache::thrift::protocol::T_STRUCT, 5); + xfer += this->do_change_mode.write(oprot); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.do_change_player_type) { + xfer += oprot->writeFieldBegin("do_change_player_type", ::apache::thrift::protocol::T_STRUCT, 6); + xfer += this->do_change_player_type.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(TrainerAction &a, TrainerAction &b) { + using ::std::swap; + swap(a.do_kick_off, b.do_kick_off); + swap(a.do_move_ball, b.do_move_ball); + swap(a.do_move_player, b.do_move_player); + swap(a.do_recover, b.do_recover); + swap(a.do_change_mode, b.do_change_mode); + swap(a.do_change_player_type, b.do_change_player_type); + swap(a.__isset, b.__isset); +} + +TrainerAction::TrainerAction(const TrainerAction& other323) noexcept { + do_kick_off = other323.do_kick_off; + do_move_ball = other323.do_move_ball; + do_move_player = other323.do_move_player; + do_recover = other323.do_recover; + do_change_mode = other323.do_change_mode; + do_change_player_type = other323.do_change_player_type; + __isset = other323.__isset; +} +TrainerAction& TrainerAction::operator=(const TrainerAction& other324) noexcept { + do_kick_off = other324.do_kick_off; + do_move_ball = other324.do_move_ball; + do_move_player = other324.do_move_player; + do_recover = other324.do_recover; + do_change_mode = other324.do_change_mode; + do_change_player_type = other324.do_change_player_type; + __isset = other324.__isset; + return *this; +} +void TrainerAction::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "TrainerAction("; + out << "do_kick_off="; (__isset.do_kick_off ? (out << to_string(do_kick_off)) : (out << "")); + out << ", " << "do_move_ball="; (__isset.do_move_ball ? (out << to_string(do_move_ball)) : (out << "")); + out << ", " << "do_move_player="; (__isset.do_move_player ? (out << to_string(do_move_player)) : (out << "")); + out << ", " << "do_recover="; (__isset.do_recover ? (out << to_string(do_recover)) : (out << "")); + out << ", " << "do_change_mode="; (__isset.do_change_mode ? (out << to_string(do_change_mode)) : (out << "")); + out << ", " << "do_change_player_type="; (__isset.do_change_player_type ? (out << to_string(do_change_player_type)) : (out << "")); + out << ")"; +} + + +TrainerActions::~TrainerActions() noexcept { +} + + +void TrainerActions::__set_actions(const std::vector & val) { + this->actions = val; +} +std::ostream& operator<<(std::ostream& out, const TrainerActions& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t TrainerActions::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + this->actions.clear(); + uint32_t _size325; + ::apache::thrift::protocol::TType _etype328; + xfer += iprot->readListBegin(_etype328, _size325); + this->actions.resize(_size325); + uint32_t _i329; + for (_i329 = 0; _i329 < _size325; ++_i329) + { + xfer += this->actions[_i329].read(iprot); + } + xfer += iprot->readListEnd(); + } + this->__isset.actions = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t TrainerActions::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("TrainerActions"); + + xfer += oprot->writeFieldBegin("actions", ::apache::thrift::protocol::T_LIST, 1); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->actions.size())); + std::vector ::const_iterator _iter330; + for (_iter330 = this->actions.begin(); _iter330 != this->actions.end(); ++_iter330) + { + xfer += (*_iter330).write(oprot); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(TrainerActions &a, TrainerActions &b) { + using ::std::swap; + swap(a.actions, b.actions); + swap(a.__isset, b.__isset); +} + +TrainerActions::TrainerActions(const TrainerActions& other331) { + actions = other331.actions; + __isset = other331.__isset; +} +TrainerActions& TrainerActions::operator=(const TrainerActions& other332) { + actions = other332.actions; + __isset = other332.__isset; + return *this; +} +void TrainerActions::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "TrainerActions("; + out << "actions=" << to_string(actions); + out << ")"; +} + + +ServerParam::~ServerParam() noexcept { +} + + +void ServerParam::__set_register_response(const RegisterResponse& val) { + this->register_response = val; +} + +void ServerParam::__set_inertia_moment(const double val) { + this->inertia_moment = val; +} + +void ServerParam::__set_player_size(const double val) { + this->player_size = val; +} + +void ServerParam::__set_player_decay(const double val) { + this->player_decay = val; +} + +void ServerParam::__set_player_rand(const double val) { + this->player_rand = val; +} + +void ServerParam::__set_player_weight(const double val) { + this->player_weight = val; +} + +void ServerParam::__set_player_speed_max(const double val) { + this->player_speed_max = val; +} + +void ServerParam::__set_player_accel_max(const double val) { + this->player_accel_max = val; +} + +void ServerParam::__set_stamina_max(const double val) { + this->stamina_max = val; +} + +void ServerParam::__set_stamina_inc_max(const double val) { + this->stamina_inc_max = val; +} + +void ServerParam::__set_recover_init(const double val) { + this->recover_init = val; +} + +void ServerParam::__set_recover_dec_thr(const double val) { + this->recover_dec_thr = val; +} + +void ServerParam::__set_recover_min(const double val) { + this->recover_min = val; +} + +void ServerParam::__set_recover_dec(const double val) { + this->recover_dec = val; +} + +void ServerParam::__set_effort_init(const double val) { + this->effort_init = val; +} + +void ServerParam::__set_effort_dec_thr(const double val) { + this->effort_dec_thr = val; +} + +void ServerParam::__set_effort_min(const double val) { + this->effort_min = val; +} + +void ServerParam::__set_effort_dec(const double val) { + this->effort_dec = val; +} + +void ServerParam::__set_effort_inc_thr(const double val) { + this->effort_inc_thr = val; +} + +void ServerParam::__set_effort_inc(const double val) { + this->effort_inc = val; +} + +void ServerParam::__set_kick_rand(const double val) { + this->kick_rand = val; +} + +void ServerParam::__set_team_actuator_noise(const bool val) { + this->team_actuator_noise = val; +} + +void ServerParam::__set_player_rand_factor_l(const double val) { + this->player_rand_factor_l = val; +} + +void ServerParam::__set_player_rand_factor_r(const double val) { + this->player_rand_factor_r = val; +} + +void ServerParam::__set_kick_rand_factor_l(const double val) { + this->kick_rand_factor_l = val; +} + +void ServerParam::__set_kick_rand_factor_r(const double val) { + this->kick_rand_factor_r = val; +} + +void ServerParam::__set_ball_size(const double val) { + this->ball_size = val; +} + +void ServerParam::__set_ball_decay(const double val) { + this->ball_decay = val; +} + +void ServerParam::__set_ball_rand(const double val) { + this->ball_rand = val; +} + +void ServerParam::__set_ball_weight(const double val) { + this->ball_weight = val; +} + +void ServerParam::__set_ball_speed_max(const double val) { + this->ball_speed_max = val; +} + +void ServerParam::__set_ball_accel_max(const double val) { + this->ball_accel_max = val; +} + +void ServerParam::__set_dash_power_rate(const double val) { + this->dash_power_rate = val; +} + +void ServerParam::__set_kick_power_rate(const double val) { + this->kick_power_rate = val; +} + +void ServerParam::__set_kickable_margin(const double val) { + this->kickable_margin = val; +} + +void ServerParam::__set_control_radius(const double val) { + this->control_radius = val; +} + +void ServerParam::__set_control_radius_width(const double val) { + this->control_radius_width = val; +} + +void ServerParam::__set_max_power(const double val) { + this->max_power = val; +} + +void ServerParam::__set_min_power(const double val) { + this->min_power = val; +} + +void ServerParam::__set_max_moment(const double val) { + this->max_moment = val; +} + +void ServerParam::__set_min_moment(const double val) { + this->min_moment = val; +} + +void ServerParam::__set_max_neck_moment(const double val) { + this->max_neck_moment = val; +} + +void ServerParam::__set_min_neck_moment(const double val) { + this->min_neck_moment = val; +} + +void ServerParam::__set_max_neck_angle(const double val) { + this->max_neck_angle = val; +} + +void ServerParam::__set_min_neck_angle(const double val) { + this->min_neck_angle = val; +} + +void ServerParam::__set_visible_angle(const double val) { + this->visible_angle = val; +} + +void ServerParam::__set_visible_distance(const double val) { + this->visible_distance = val; +} + +void ServerParam::__set_wind_dir(const double val) { + this->wind_dir = val; +} + +void ServerParam::__set_wind_force(const double val) { + this->wind_force = val; +} + +void ServerParam::__set_wind_angle(const double val) { + this->wind_angle = val; +} + +void ServerParam::__set_wind_rand(const double val) { + this->wind_rand = val; +} + +void ServerParam::__set_kickable_area(const double val) { + this->kickable_area = val; +} + +void ServerParam::__set_catch_area_l(const double val) { + this->catch_area_l = val; +} + +void ServerParam::__set_catch_area_w(const double val) { + this->catch_area_w = val; +} + +void ServerParam::__set_catch_probability(const double val) { + this->catch_probability = val; +} + +void ServerParam::__set_goalie_max_moves(const int32_t val) { + this->goalie_max_moves = val; +} + +void ServerParam::__set_corner_kick_margin(const double val) { + this->corner_kick_margin = val; +} + +void ServerParam::__set_offside_active_area_size(const double val) { + this->offside_active_area_size = val; +} + +void ServerParam::__set_wind_none(const bool val) { + this->wind_none = val; +} + +void ServerParam::__set_use_wind_random(const bool val) { + this->use_wind_random = val; +} + +void ServerParam::__set_coach_say_count_max(const int32_t val) { + this->coach_say_count_max = val; +} + +void ServerParam::__set_coach_say_msg_size(const int32_t val) { + this->coach_say_msg_size = val; +} + +void ServerParam::__set_clang_win_size(const int32_t val) { + this->clang_win_size = val; +} + +void ServerParam::__set_clang_define_win(const int32_t val) { + this->clang_define_win = val; +} + +void ServerParam::__set_clang_meta_win(const int32_t val) { + this->clang_meta_win = val; +} + +void ServerParam::__set_clang_advice_win(const int32_t val) { + this->clang_advice_win = val; +} + +void ServerParam::__set_clang_info_win(const int32_t val) { + this->clang_info_win = val; +} + +void ServerParam::__set_clang_mess_delay(const int32_t val) { + this->clang_mess_delay = val; +} + +void ServerParam::__set_clang_mess_per_cycle(const int32_t val) { + this->clang_mess_per_cycle = val; +} + +void ServerParam::__set_half_time(const int32_t val) { + this->half_time = val; +} + +void ServerParam::__set_simulator_step(const int32_t val) { + this->simulator_step = val; +} + +void ServerParam::__set_send_step(const int32_t val) { + this->send_step = val; +} + +void ServerParam::__set_recv_step(const int32_t val) { + this->recv_step = val; +} + +void ServerParam::__set_sense_body_step(const int32_t val) { + this->sense_body_step = val; +} + +void ServerParam::__set_lcm_step(const int32_t val) { + this->lcm_step = val; +} + +void ServerParam::__set_player_say_msg_size(const int32_t val) { + this->player_say_msg_size = val; +} + +void ServerParam::__set_player_hear_max(const int32_t val) { + this->player_hear_max = val; +} + +void ServerParam::__set_player_hear_inc(const int32_t val) { + this->player_hear_inc = val; +} + +void ServerParam::__set_player_hear_decay(const int32_t val) { + this->player_hear_decay = val; +} + +void ServerParam::__set_catch_ban_cycle(const int32_t val) { + this->catch_ban_cycle = val; +} + +void ServerParam::__set_slow_down_factor(const int32_t val) { + this->slow_down_factor = val; +} + +void ServerParam::__set_use_offside(const bool val) { + this->use_offside = val; +} + +void ServerParam::__set_kickoff_offside(const bool val) { + this->kickoff_offside = val; +} + +void ServerParam::__set_offside_kick_margin(const double val) { + this->offside_kick_margin = val; +} + +void ServerParam::__set_audio_cut_dist(const double val) { + this->audio_cut_dist = val; +} + +void ServerParam::__set_dist_quantize_step(const double val) { + this->dist_quantize_step = val; +} + +void ServerParam::__set_landmark_dist_quantize_step(const double val) { + this->landmark_dist_quantize_step = val; +} + +void ServerParam::__set_dir_quantize_step(const double val) { + this->dir_quantize_step = val; +} + +void ServerParam::__set_dist_quantize_step_l(const double val) { + this->dist_quantize_step_l = val; +} + +void ServerParam::__set_dist_quantize_step_r(const double val) { + this->dist_quantize_step_r = val; +} + +void ServerParam::__set_landmark_dist_quantize_step_l(const double val) { + this->landmark_dist_quantize_step_l = val; +} + +void ServerParam::__set_landmark_dist_quantize_step_r(const double val) { + this->landmark_dist_quantize_step_r = val; +} + +void ServerParam::__set_dir_quantize_step_l(const double val) { + this->dir_quantize_step_l = val; +} + +void ServerParam::__set_dir_quantize_step_r(const double val) { + this->dir_quantize_step_r = val; +} + +void ServerParam::__set_coach_mode(const bool val) { + this->coach_mode = val; +} + +void ServerParam::__set_coach_with_referee_mode(const bool val) { + this->coach_with_referee_mode = val; +} + +void ServerParam::__set_use_old_coach_hear(const bool val) { + this->use_old_coach_hear = val; +} + +void ServerParam::__set_slowness_on_top_for_left_team(const double val) { + this->slowness_on_top_for_left_team = val; +} + +void ServerParam::__set_slowness_on_top_for_right_team(const double val) { + this->slowness_on_top_for_right_team = val; +} + +void ServerParam::__set_start_goal_l(const int32_t val) { + this->start_goal_l = val; +} + +void ServerParam::__set_start_goal_r(const int32_t val) { + this->start_goal_r = val; +} + +void ServerParam::__set_fullstate_l(const bool val) { + this->fullstate_l = val; +} + +void ServerParam::__set_fullstate_r(const bool val) { + this->fullstate_r = val; +} + +void ServerParam::__set_drop_ball_time(const int32_t val) { + this->drop_ball_time = val; +} + +void ServerParam::__set_synch_mode(const bool val) { + this->synch_mode = val; +} + +void ServerParam::__set_synch_offset(const int32_t val) { + this->synch_offset = val; +} + +void ServerParam::__set_synch_micro_sleep(const int32_t val) { + this->synch_micro_sleep = val; +} + +void ServerParam::__set_point_to_ban(const int32_t val) { + this->point_to_ban = val; +} + +void ServerParam::__set_point_to_duration(const int32_t val) { + this->point_to_duration = val; +} + +void ServerParam::__set_player_port(const int32_t val) { + this->player_port = val; +} + +void ServerParam::__set_trainer_port(const int32_t val) { + this->trainer_port = val; +} + +void ServerParam::__set_online_coach_port(const int32_t val) { + this->online_coach_port = val; +} + +void ServerParam::__set_verbose_mode(const bool val) { + this->verbose_mode = val; +} + +void ServerParam::__set_coach_send_vi_step(const int32_t val) { + this->coach_send_vi_step = val; +} + +void ServerParam::__set_replay_file(const std::string& val) { + this->replay_file = val; +} + +void ServerParam::__set_landmark_file(const std::string& val) { + this->landmark_file = val; +} + +void ServerParam::__set_send_comms(const bool val) { + this->send_comms = val; +} + +void ServerParam::__set_text_logging(const bool val) { + this->text_logging = val; +} + +void ServerParam::__set_game_logging(const bool val) { + this->game_logging = val; +} + +void ServerParam::__set_game_log_version(const int32_t val) { + this->game_log_version = val; +} + +void ServerParam::__set_text_log_dir(const std::string& val) { + this->text_log_dir = val; +} + +void ServerParam::__set_game_log_dir(const std::string& val) { + this->game_log_dir = val; +} + +void ServerParam::__set_text_log_fixed_name(const std::string& val) { + this->text_log_fixed_name = val; +} + +void ServerParam::__set_game_log_fixed_name(const std::string& val) { + this->game_log_fixed_name = val; +} + +void ServerParam::__set_use_text_log_fixed(const bool val) { + this->use_text_log_fixed = val; +} + +void ServerParam::__set_use_game_log_fixed(const bool val) { + this->use_game_log_fixed = val; +} + +void ServerParam::__set_use_text_log_dated(const bool val) { + this->use_text_log_dated = val; +} + +void ServerParam::__set_use_game_log_dated(const bool val) { + this->use_game_log_dated = val; +} + +void ServerParam::__set_log_date_format(const std::string& val) { + this->log_date_format = val; +} + +void ServerParam::__set_log_times(const bool val) { + this->log_times = val; +} + +void ServerParam::__set_record_message(const bool val) { + this->record_message = val; +} + +void ServerParam::__set_text_log_compression(const int32_t val) { + this->text_log_compression = val; +} + +void ServerParam::__set_game_log_compression(const int32_t val) { + this->game_log_compression = val; +} + +void ServerParam::__set_use_profile(const bool val) { + this->use_profile = val; +} + +void ServerParam::__set_tackle_dist(const double val) { + this->tackle_dist = val; +} + +void ServerParam::__set_tackle_back_dist(const double val) { + this->tackle_back_dist = val; +} + +void ServerParam::__set_tackle_width(const double val) { + this->tackle_width = val; +} + +void ServerParam::__set_tackle_exponent(const double val) { + this->tackle_exponent = val; +} + +void ServerParam::__set_tackle_cycles(const int32_t val) { + this->tackle_cycles = val; +} + +void ServerParam::__set_tackle_power_rate(const double val) { + this->tackle_power_rate = val; +} + +void ServerParam::__set_freeform_wait_period(const int32_t val) { + this->freeform_wait_period = val; +} + +void ServerParam::__set_freeform_send_period(const int32_t val) { + this->freeform_send_period = val; +} + +void ServerParam::__set_free_kick_faults(const bool val) { + this->free_kick_faults = val; +} + +void ServerParam::__set_back_passes(const bool val) { + this->back_passes = val; +} + +void ServerParam::__set_proper_goal_kicks(const bool val) { + this->proper_goal_kicks = val; +} + +void ServerParam::__set_stopped_ball_vel(const double val) { + this->stopped_ball_vel = val; +} + +void ServerParam::__set_max_goal_kicks(const int32_t val) { + this->max_goal_kicks = val; +} + +void ServerParam::__set_clang_del_win(const int32_t val) { + this->clang_del_win = val; +} + +void ServerParam::__set_clang_rule_win(const int32_t val) { + this->clang_rule_win = val; +} + +void ServerParam::__set_auto_mode(const bool val) { + this->auto_mode = val; +} + +void ServerParam::__set_kick_off_wait(const int32_t val) { + this->kick_off_wait = val; +} + +void ServerParam::__set_connect_wait(const int32_t val) { + this->connect_wait = val; +} + +void ServerParam::__set_game_over_wait(const int32_t val) { + this->game_over_wait = val; +} + +void ServerParam::__set_team_l_start(const std::string& val) { + this->team_l_start = val; +} + +void ServerParam::__set_team_r_start(const std::string& val) { + this->team_r_start = val; +} + +void ServerParam::__set_keepaway_mode(const bool val) { + this->keepaway_mode = val; +} + +void ServerParam::__set_keepaway_length(const double val) { + this->keepaway_length = val; +} + +void ServerParam::__set_keepaway_width(const double val) { + this->keepaway_width = val; +} + +void ServerParam::__set_keepaway_logging(const bool val) { + this->keepaway_logging = val; +} + +void ServerParam::__set_keepaway_log_dir(const std::string& val) { + this->keepaway_log_dir = val; +} + +void ServerParam::__set_keepaway_log_fixed_name(const std::string& val) { + this->keepaway_log_fixed_name = val; +} + +void ServerParam::__set_keepaway_log_fixed(const bool val) { + this->keepaway_log_fixed = val; +} + +void ServerParam::__set_keepaway_log_dated(const bool val) { + this->keepaway_log_dated = val; +} + +void ServerParam::__set_keepaway_start(const int32_t val) { + this->keepaway_start = val; +} + +void ServerParam::__set_nr_normal_halfs(const int32_t val) { + this->nr_normal_halfs = val; +} + +void ServerParam::__set_nr_extra_halfs(const int32_t val) { + this->nr_extra_halfs = val; +} + +void ServerParam::__set_penalty_shoot_outs(const bool val) { + this->penalty_shoot_outs = val; +} + +void ServerParam::__set_pen_before_setup_wait(const int32_t val) { + this->pen_before_setup_wait = val; +} + +void ServerParam::__set_pen_setup_wait(const int32_t val) { + this->pen_setup_wait = val; +} + +void ServerParam::__set_pen_ready_wait(const int32_t val) { + this->pen_ready_wait = val; +} + +void ServerParam::__set_pen_taken_wait(const int32_t val) { + this->pen_taken_wait = val; +} + +void ServerParam::__set_pen_nr_kicks(const int32_t val) { + this->pen_nr_kicks = val; +} + +void ServerParam::__set_pen_max_extra_kicks(const int32_t val) { + this->pen_max_extra_kicks = val; +} + +void ServerParam::__set_pen_dist_x(const double val) { + this->pen_dist_x = val; +} + +void ServerParam::__set_pen_random_winner(const bool val) { + this->pen_random_winner = val; +} + +void ServerParam::__set_pen_allow_mult_kicks(const bool val) { + this->pen_allow_mult_kicks = val; +} + +void ServerParam::__set_pen_max_goalie_dist_x(const double val) { + this->pen_max_goalie_dist_x = val; +} + +void ServerParam::__set_pen_coach_moves_players(const bool val) { + this->pen_coach_moves_players = val; +} + +void ServerParam::__set_module_dir(const std::string& val) { + this->module_dir = val; +} + +void ServerParam::__set_ball_stuck_area(const double val) { + this->ball_stuck_area = val; +} + +void ServerParam::__set_coach_msg_file(const std::string& val) { + this->coach_msg_file = val; +} + +void ServerParam::__set_max_tackle_power(const double val) { + this->max_tackle_power = val; +} + +void ServerParam::__set_max_back_tackle_power(const double val) { + this->max_back_tackle_power = val; +} + +void ServerParam::__set_player_speed_max_min(const double val) { + this->player_speed_max_min = val; +} + +void ServerParam::__set_extra_stamina(const double val) { + this->extra_stamina = val; +} + +void ServerParam::__set_synch_see_offset(const int32_t val) { + this->synch_see_offset = val; +} + +void ServerParam::__set_extra_half_time(const int32_t val) { + this->extra_half_time = val; +} + +void ServerParam::__set_stamina_capacity(const double val) { + this->stamina_capacity = val; +} + +void ServerParam::__set_max_dash_angle(const double val) { + this->max_dash_angle = val; +} + +void ServerParam::__set_min_dash_angle(const double val) { + this->min_dash_angle = val; +} + +void ServerParam::__set_dash_angle_step(const double val) { + this->dash_angle_step = val; +} + +void ServerParam::__set_side_dash_rate(const double val) { + this->side_dash_rate = val; +} + +void ServerParam::__set_back_dash_rate(const double val) { + this->back_dash_rate = val; +} + +void ServerParam::__set_max_dash_power(const double val) { + this->max_dash_power = val; +} + +void ServerParam::__set_min_dash_power(const double val) { + this->min_dash_power = val; +} + +void ServerParam::__set_tackle_rand_factor(const double val) { + this->tackle_rand_factor = val; +} + +void ServerParam::__set_foul_detect_probability(const double val) { + this->foul_detect_probability = val; +} + +void ServerParam::__set_foul_exponent(const double val) { + this->foul_exponent = val; +} + +void ServerParam::__set_foul_cycles(const int32_t val) { + this->foul_cycles = val; +} + +void ServerParam::__set_golden_goal(const bool val) { + this->golden_goal = val; +} + +void ServerParam::__set_red_card_probability(const double val) { + this->red_card_probability = val; +} + +void ServerParam::__set_illegal_defense_duration(const int32_t val) { + this->illegal_defense_duration = val; +} + +void ServerParam::__set_illegal_defense_number(const int32_t val) { + this->illegal_defense_number = val; +} + +void ServerParam::__set_illegal_defense_dist_x(const double val) { + this->illegal_defense_dist_x = val; +} + +void ServerParam::__set_illegal_defense_width(const double val) { + this->illegal_defense_width = val; +} + +void ServerParam::__set_fixed_teamname_l(const std::string& val) { + this->fixed_teamname_l = val; +} + +void ServerParam::__set_fixed_teamname_r(const std::string& val) { + this->fixed_teamname_r = val; +} + +void ServerParam::__set_max_catch_angle(const double val) { + this->max_catch_angle = val; +} + +void ServerParam::__set_min_catch_angle(const double val) { + this->min_catch_angle = val; +} + +void ServerParam::__set_random_seed(const int32_t val) { + this->random_seed = val; +} + +void ServerParam::__set_long_kick_power_factor(const double val) { + this->long_kick_power_factor = val; +} + +void ServerParam::__set_long_kick_delay(const int32_t val) { + this->long_kick_delay = val; +} + +void ServerParam::__set_max_monitors(const int32_t val) { + this->max_monitors = val; +} + +void ServerParam::__set_catchable_area(const double val) { + this->catchable_area = val; +} + +void ServerParam::__set_real_speed_max(const double val) { + this->real_speed_max = val; +} + +void ServerParam::__set_pitch_half_length(const double val) { + this->pitch_half_length = val; +} + +void ServerParam::__set_pitch_half_width(const double val) { + this->pitch_half_width = val; +} + +void ServerParam::__set_our_penalty_area_line_x(const double val) { + this->our_penalty_area_line_x = val; +} + +void ServerParam::__set_their_penalty_area_line_x(const double val) { + this->their_penalty_area_line_x = val; +} + +void ServerParam::__set_penalty_area_half_width(const double val) { + this->penalty_area_half_width = val; +} + +void ServerParam::__set_penalty_area_length(const double val) { + this->penalty_area_length = val; +} + +void ServerParam::__set_goal_width(const double val) { + this->goal_width = val; +} +std::ostream& operator<<(std::ostream& out, const ServerParam& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t ServerParam::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->register_response.read(iprot); + this->__isset.register_response = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->inertia_moment); + this->__isset.inertia_moment = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->player_size); + this->__isset.player_size = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->player_decay); + this->__isset.player_decay = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->player_rand); + this->__isset.player_rand = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->player_weight); + this->__isset.player_weight = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 7: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->player_speed_max); + this->__isset.player_speed_max = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 8: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->player_accel_max); + this->__isset.player_accel_max = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 9: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->stamina_max); + this->__isset.stamina_max = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 10: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->stamina_inc_max); + this->__isset.stamina_inc_max = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 11: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->recover_init); + this->__isset.recover_init = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 12: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->recover_dec_thr); + this->__isset.recover_dec_thr = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 13: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->recover_min); + this->__isset.recover_min = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 14: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->recover_dec); + this->__isset.recover_dec = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 15: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->effort_init); + this->__isset.effort_init = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 16: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->effort_dec_thr); + this->__isset.effort_dec_thr = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 17: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->effort_min); + this->__isset.effort_min = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 18: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->effort_dec); + this->__isset.effort_dec = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 19: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->effort_inc_thr); + this->__isset.effort_inc_thr = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 20: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->effort_inc); + this->__isset.effort_inc = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 21: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->kick_rand); + this->__isset.kick_rand = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 22: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->team_actuator_noise); + this->__isset.team_actuator_noise = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 23: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->player_rand_factor_l); + this->__isset.player_rand_factor_l = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 24: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->player_rand_factor_r); + this->__isset.player_rand_factor_r = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 25: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->kick_rand_factor_l); + this->__isset.kick_rand_factor_l = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 26: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->kick_rand_factor_r); + this->__isset.kick_rand_factor_r = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 27: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->ball_size); + this->__isset.ball_size = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 28: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->ball_decay); + this->__isset.ball_decay = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 29: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->ball_rand); + this->__isset.ball_rand = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 30: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->ball_weight); + this->__isset.ball_weight = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 31: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->ball_speed_max); + this->__isset.ball_speed_max = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 32: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->ball_accel_max); + this->__isset.ball_accel_max = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 33: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->dash_power_rate); + this->__isset.dash_power_rate = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 34: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->kick_power_rate); + this->__isset.kick_power_rate = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 35: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->kickable_margin); + this->__isset.kickable_margin = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 36: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->control_radius); + this->__isset.control_radius = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 37: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->control_radius_width); + this->__isset.control_radius_width = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 38: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->max_power); + this->__isset.max_power = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 39: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->min_power); + this->__isset.min_power = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 40: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->max_moment); + this->__isset.max_moment = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 41: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->min_moment); + this->__isset.min_moment = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 42: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->max_neck_moment); + this->__isset.max_neck_moment = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 43: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->min_neck_moment); + this->__isset.min_neck_moment = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 44: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->max_neck_angle); + this->__isset.max_neck_angle = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 45: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->min_neck_angle); + this->__isset.min_neck_angle = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 46: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->visible_angle); + this->__isset.visible_angle = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 47: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->visible_distance); + this->__isset.visible_distance = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 48: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->wind_dir); + this->__isset.wind_dir = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 49: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->wind_force); + this->__isset.wind_force = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 50: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->wind_angle); + this->__isset.wind_angle = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 51: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->wind_rand); + this->__isset.wind_rand = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 52: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->kickable_area); + this->__isset.kickable_area = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 53: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->catch_area_l); + this->__isset.catch_area_l = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 54: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->catch_area_w); + this->__isset.catch_area_w = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 55: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->catch_probability); + this->__isset.catch_probability = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 56: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->goalie_max_moves); + this->__isset.goalie_max_moves = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 57: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->corner_kick_margin); + this->__isset.corner_kick_margin = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 58: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->offside_active_area_size); + this->__isset.offside_active_area_size = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 59: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->wind_none); + this->__isset.wind_none = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 60: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->use_wind_random); + this->__isset.use_wind_random = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 61: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->coach_say_count_max); + this->__isset.coach_say_count_max = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 62: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->coach_say_msg_size); + this->__isset.coach_say_msg_size = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 63: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->clang_win_size); + this->__isset.clang_win_size = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 64: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->clang_define_win); + this->__isset.clang_define_win = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 65: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->clang_meta_win); + this->__isset.clang_meta_win = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 66: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->clang_advice_win); + this->__isset.clang_advice_win = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 67: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->clang_info_win); + this->__isset.clang_info_win = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 68: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->clang_mess_delay); + this->__isset.clang_mess_delay = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 69: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->clang_mess_per_cycle); + this->__isset.clang_mess_per_cycle = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 70: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->half_time); + this->__isset.half_time = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 71: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->simulator_step); + this->__isset.simulator_step = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 72: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->send_step); + this->__isset.send_step = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 73: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->recv_step); + this->__isset.recv_step = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 74: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->sense_body_step); + this->__isset.sense_body_step = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 75: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->lcm_step); + this->__isset.lcm_step = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 76: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->player_say_msg_size); + this->__isset.player_say_msg_size = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 77: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->player_hear_max); + this->__isset.player_hear_max = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 78: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->player_hear_inc); + this->__isset.player_hear_inc = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 79: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->player_hear_decay); + this->__isset.player_hear_decay = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 80: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->catch_ban_cycle); + this->__isset.catch_ban_cycle = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 81: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->slow_down_factor); + this->__isset.slow_down_factor = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 82: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->use_offside); + this->__isset.use_offside = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 83: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->kickoff_offside); + this->__isset.kickoff_offside = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 84: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->offside_kick_margin); + this->__isset.offside_kick_margin = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 85: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->audio_cut_dist); + this->__isset.audio_cut_dist = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 86: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->dist_quantize_step); + this->__isset.dist_quantize_step = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 87: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->landmark_dist_quantize_step); + this->__isset.landmark_dist_quantize_step = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 88: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->dir_quantize_step); + this->__isset.dir_quantize_step = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 89: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->dist_quantize_step_l); + this->__isset.dist_quantize_step_l = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 90: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->dist_quantize_step_r); + this->__isset.dist_quantize_step_r = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 91: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->landmark_dist_quantize_step_l); + this->__isset.landmark_dist_quantize_step_l = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 92: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->landmark_dist_quantize_step_r); + this->__isset.landmark_dist_quantize_step_r = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 93: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->dir_quantize_step_l); + this->__isset.dir_quantize_step_l = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 94: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->dir_quantize_step_r); + this->__isset.dir_quantize_step_r = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 95: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->coach_mode); + this->__isset.coach_mode = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 96: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->coach_with_referee_mode); + this->__isset.coach_with_referee_mode = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 97: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->use_old_coach_hear); + this->__isset.use_old_coach_hear = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 98: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->slowness_on_top_for_left_team); + this->__isset.slowness_on_top_for_left_team = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 99: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->slowness_on_top_for_right_team); + this->__isset.slowness_on_top_for_right_team = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 100: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->start_goal_l); + this->__isset.start_goal_l = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 101: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->start_goal_r); + this->__isset.start_goal_r = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 102: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->fullstate_l); + this->__isset.fullstate_l = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 103: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->fullstate_r); + this->__isset.fullstate_r = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 104: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->drop_ball_time); + this->__isset.drop_ball_time = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 105: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->synch_mode); + this->__isset.synch_mode = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 106: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->synch_offset); + this->__isset.synch_offset = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 107: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->synch_micro_sleep); + this->__isset.synch_micro_sleep = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 108: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->point_to_ban); + this->__isset.point_to_ban = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 109: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->point_to_duration); + this->__isset.point_to_duration = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 110: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->player_port); + this->__isset.player_port = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 111: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->trainer_port); + this->__isset.trainer_port = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 112: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->online_coach_port); + this->__isset.online_coach_port = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 113: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->verbose_mode); + this->__isset.verbose_mode = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 114: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->coach_send_vi_step); + this->__isset.coach_send_vi_step = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 115: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->replay_file); + this->__isset.replay_file = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 116: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->landmark_file); + this->__isset.landmark_file = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 117: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->send_comms); + this->__isset.send_comms = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 118: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->text_logging); + this->__isset.text_logging = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 119: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->game_logging); + this->__isset.game_logging = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 120: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->game_log_version); + this->__isset.game_log_version = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 121: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->text_log_dir); + this->__isset.text_log_dir = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 122: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->game_log_dir); + this->__isset.game_log_dir = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 123: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->text_log_fixed_name); + this->__isset.text_log_fixed_name = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 124: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->game_log_fixed_name); + this->__isset.game_log_fixed_name = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 125: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->use_text_log_fixed); + this->__isset.use_text_log_fixed = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 126: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->use_game_log_fixed); + this->__isset.use_game_log_fixed = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 127: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->use_text_log_dated); + this->__isset.use_text_log_dated = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 128: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->use_game_log_dated); + this->__isset.use_game_log_dated = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 129: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->log_date_format); + this->__isset.log_date_format = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 130: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->log_times); + this->__isset.log_times = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 131: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->record_message); + this->__isset.record_message = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 132: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->text_log_compression); + this->__isset.text_log_compression = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 133: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->game_log_compression); + this->__isset.game_log_compression = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 134: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->use_profile); + this->__isset.use_profile = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 135: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->tackle_dist); + this->__isset.tackle_dist = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 136: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->tackle_back_dist); + this->__isset.tackle_back_dist = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 137: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->tackle_width); + this->__isset.tackle_width = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 138: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->tackle_exponent); + this->__isset.tackle_exponent = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 139: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->tackle_cycles); + this->__isset.tackle_cycles = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 140: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->tackle_power_rate); + this->__isset.tackle_power_rate = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 141: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->freeform_wait_period); + this->__isset.freeform_wait_period = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 142: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->freeform_send_period); + this->__isset.freeform_send_period = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 143: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->free_kick_faults); + this->__isset.free_kick_faults = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 144: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->back_passes); + this->__isset.back_passes = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 145: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->proper_goal_kicks); + this->__isset.proper_goal_kicks = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 146: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->stopped_ball_vel); + this->__isset.stopped_ball_vel = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 147: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->max_goal_kicks); + this->__isset.max_goal_kicks = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 148: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->clang_del_win); + this->__isset.clang_del_win = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 149: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->clang_rule_win); + this->__isset.clang_rule_win = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 150: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->auto_mode); + this->__isset.auto_mode = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 151: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->kick_off_wait); + this->__isset.kick_off_wait = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 152: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->connect_wait); + this->__isset.connect_wait = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 153: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->game_over_wait); + this->__isset.game_over_wait = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 154: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->team_l_start); + this->__isset.team_l_start = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 155: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->team_r_start); + this->__isset.team_r_start = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 156: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->keepaway_mode); + this->__isset.keepaway_mode = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 157: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->keepaway_length); + this->__isset.keepaway_length = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 158: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->keepaway_width); + this->__isset.keepaway_width = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 159: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->keepaway_logging); + this->__isset.keepaway_logging = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 160: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->keepaway_log_dir); + this->__isset.keepaway_log_dir = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 161: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->keepaway_log_fixed_name); + this->__isset.keepaway_log_fixed_name = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 162: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->keepaway_log_fixed); + this->__isset.keepaway_log_fixed = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 163: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->keepaway_log_dated); + this->__isset.keepaway_log_dated = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 164: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->keepaway_start); + this->__isset.keepaway_start = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 165: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->nr_normal_halfs); + this->__isset.nr_normal_halfs = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 166: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->nr_extra_halfs); + this->__isset.nr_extra_halfs = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 167: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->penalty_shoot_outs); + this->__isset.penalty_shoot_outs = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 168: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->pen_before_setup_wait); + this->__isset.pen_before_setup_wait = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 169: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->pen_setup_wait); + this->__isset.pen_setup_wait = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 170: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->pen_ready_wait); + this->__isset.pen_ready_wait = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 171: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->pen_taken_wait); + this->__isset.pen_taken_wait = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 172: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->pen_nr_kicks); + this->__isset.pen_nr_kicks = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 173: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->pen_max_extra_kicks); + this->__isset.pen_max_extra_kicks = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 174: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->pen_dist_x); + this->__isset.pen_dist_x = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 175: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->pen_random_winner); + this->__isset.pen_random_winner = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 176: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->pen_allow_mult_kicks); + this->__isset.pen_allow_mult_kicks = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 177: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->pen_max_goalie_dist_x); + this->__isset.pen_max_goalie_dist_x = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 178: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->pen_coach_moves_players); + this->__isset.pen_coach_moves_players = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 179: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->module_dir); + this->__isset.module_dir = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 180: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->ball_stuck_area); + this->__isset.ball_stuck_area = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 181: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->coach_msg_file); + this->__isset.coach_msg_file = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 182: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->max_tackle_power); + this->__isset.max_tackle_power = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 183: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->max_back_tackle_power); + this->__isset.max_back_tackle_power = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 184: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->player_speed_max_min); + this->__isset.player_speed_max_min = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 185: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->extra_stamina); + this->__isset.extra_stamina = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 186: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->synch_see_offset); + this->__isset.synch_see_offset = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 187: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->extra_half_time); + this->__isset.extra_half_time = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 188: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->stamina_capacity); + this->__isset.stamina_capacity = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 189: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->max_dash_angle); + this->__isset.max_dash_angle = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 190: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->min_dash_angle); + this->__isset.min_dash_angle = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 191: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->dash_angle_step); + this->__isset.dash_angle_step = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 192: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->side_dash_rate); + this->__isset.side_dash_rate = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 193: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->back_dash_rate); + this->__isset.back_dash_rate = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 194: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->max_dash_power); + this->__isset.max_dash_power = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 195: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->min_dash_power); + this->__isset.min_dash_power = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 196: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->tackle_rand_factor); + this->__isset.tackle_rand_factor = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 197: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->foul_detect_probability); + this->__isset.foul_detect_probability = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 198: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->foul_exponent); + this->__isset.foul_exponent = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 199: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->foul_cycles); + this->__isset.foul_cycles = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 200: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->golden_goal); + this->__isset.golden_goal = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 201: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->red_card_probability); + this->__isset.red_card_probability = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 202: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->illegal_defense_duration); + this->__isset.illegal_defense_duration = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 203: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->illegal_defense_number); + this->__isset.illegal_defense_number = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 204: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->illegal_defense_dist_x); + this->__isset.illegal_defense_dist_x = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 205: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->illegal_defense_width); + this->__isset.illegal_defense_width = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 206: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->fixed_teamname_l); + this->__isset.fixed_teamname_l = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 207: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->fixed_teamname_r); + this->__isset.fixed_teamname_r = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 208: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->max_catch_angle); + this->__isset.max_catch_angle = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 209: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->min_catch_angle); + this->__isset.min_catch_angle = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 210: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->random_seed); + this->__isset.random_seed = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 211: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->long_kick_power_factor); + this->__isset.long_kick_power_factor = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 212: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->long_kick_delay); + this->__isset.long_kick_delay = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 213: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->max_monitors); + this->__isset.max_monitors = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 214: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->catchable_area); + this->__isset.catchable_area = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 215: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->real_speed_max); + this->__isset.real_speed_max = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 216: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->pitch_half_length); + this->__isset.pitch_half_length = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 217: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->pitch_half_width); + this->__isset.pitch_half_width = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 218: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->our_penalty_area_line_x); + this->__isset.our_penalty_area_line_x = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 219: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->their_penalty_area_line_x); + this->__isset.their_penalty_area_line_x = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 220: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->penalty_area_half_width); + this->__isset.penalty_area_half_width = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 221: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->penalty_area_length); + this->__isset.penalty_area_length = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 222: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->goal_width); + this->__isset.goal_width = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t ServerParam::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("ServerParam"); + + xfer += oprot->writeFieldBegin("register_response", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->register_response.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("inertia_moment", ::apache::thrift::protocol::T_DOUBLE, 2); + xfer += oprot->writeDouble(this->inertia_moment); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("player_size", ::apache::thrift::protocol::T_DOUBLE, 3); + xfer += oprot->writeDouble(this->player_size); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("player_decay", ::apache::thrift::protocol::T_DOUBLE, 4); + xfer += oprot->writeDouble(this->player_decay); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("player_rand", ::apache::thrift::protocol::T_DOUBLE, 5); + xfer += oprot->writeDouble(this->player_rand); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("player_weight", ::apache::thrift::protocol::T_DOUBLE, 6); + xfer += oprot->writeDouble(this->player_weight); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("player_speed_max", ::apache::thrift::protocol::T_DOUBLE, 7); + xfer += oprot->writeDouble(this->player_speed_max); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("player_accel_max", ::apache::thrift::protocol::T_DOUBLE, 8); + xfer += oprot->writeDouble(this->player_accel_max); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("stamina_max", ::apache::thrift::protocol::T_DOUBLE, 9); + xfer += oprot->writeDouble(this->stamina_max); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("stamina_inc_max", ::apache::thrift::protocol::T_DOUBLE, 10); + xfer += oprot->writeDouble(this->stamina_inc_max); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("recover_init", ::apache::thrift::protocol::T_DOUBLE, 11); + xfer += oprot->writeDouble(this->recover_init); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("recover_dec_thr", ::apache::thrift::protocol::T_DOUBLE, 12); + xfer += oprot->writeDouble(this->recover_dec_thr); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("recover_min", ::apache::thrift::protocol::T_DOUBLE, 13); + xfer += oprot->writeDouble(this->recover_min); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("recover_dec", ::apache::thrift::protocol::T_DOUBLE, 14); + xfer += oprot->writeDouble(this->recover_dec); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("effort_init", ::apache::thrift::protocol::T_DOUBLE, 15); + xfer += oprot->writeDouble(this->effort_init); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("effort_dec_thr", ::apache::thrift::protocol::T_DOUBLE, 16); + xfer += oprot->writeDouble(this->effort_dec_thr); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("effort_min", ::apache::thrift::protocol::T_DOUBLE, 17); + xfer += oprot->writeDouble(this->effort_min); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("effort_dec", ::apache::thrift::protocol::T_DOUBLE, 18); + xfer += oprot->writeDouble(this->effort_dec); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("effort_inc_thr", ::apache::thrift::protocol::T_DOUBLE, 19); + xfer += oprot->writeDouble(this->effort_inc_thr); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("effort_inc", ::apache::thrift::protocol::T_DOUBLE, 20); + xfer += oprot->writeDouble(this->effort_inc); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("kick_rand", ::apache::thrift::protocol::T_DOUBLE, 21); + xfer += oprot->writeDouble(this->kick_rand); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("team_actuator_noise", ::apache::thrift::protocol::T_BOOL, 22); + xfer += oprot->writeBool(this->team_actuator_noise); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("player_rand_factor_l", ::apache::thrift::protocol::T_DOUBLE, 23); + xfer += oprot->writeDouble(this->player_rand_factor_l); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("player_rand_factor_r", ::apache::thrift::protocol::T_DOUBLE, 24); + xfer += oprot->writeDouble(this->player_rand_factor_r); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("kick_rand_factor_l", ::apache::thrift::protocol::T_DOUBLE, 25); + xfer += oprot->writeDouble(this->kick_rand_factor_l); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("kick_rand_factor_r", ::apache::thrift::protocol::T_DOUBLE, 26); + xfer += oprot->writeDouble(this->kick_rand_factor_r); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("ball_size", ::apache::thrift::protocol::T_DOUBLE, 27); + xfer += oprot->writeDouble(this->ball_size); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("ball_decay", ::apache::thrift::protocol::T_DOUBLE, 28); + xfer += oprot->writeDouble(this->ball_decay); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("ball_rand", ::apache::thrift::protocol::T_DOUBLE, 29); + xfer += oprot->writeDouble(this->ball_rand); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("ball_weight", ::apache::thrift::protocol::T_DOUBLE, 30); + xfer += oprot->writeDouble(this->ball_weight); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("ball_speed_max", ::apache::thrift::protocol::T_DOUBLE, 31); + xfer += oprot->writeDouble(this->ball_speed_max); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("ball_accel_max", ::apache::thrift::protocol::T_DOUBLE, 32); + xfer += oprot->writeDouble(this->ball_accel_max); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("dash_power_rate", ::apache::thrift::protocol::T_DOUBLE, 33); + xfer += oprot->writeDouble(this->dash_power_rate); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("kick_power_rate", ::apache::thrift::protocol::T_DOUBLE, 34); + xfer += oprot->writeDouble(this->kick_power_rate); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("kickable_margin", ::apache::thrift::protocol::T_DOUBLE, 35); + xfer += oprot->writeDouble(this->kickable_margin); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("control_radius", ::apache::thrift::protocol::T_DOUBLE, 36); + xfer += oprot->writeDouble(this->control_radius); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("control_radius_width", ::apache::thrift::protocol::T_DOUBLE, 37); + xfer += oprot->writeDouble(this->control_radius_width); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("max_power", ::apache::thrift::protocol::T_DOUBLE, 38); + xfer += oprot->writeDouble(this->max_power); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("min_power", ::apache::thrift::protocol::T_DOUBLE, 39); + xfer += oprot->writeDouble(this->min_power); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("max_moment", ::apache::thrift::protocol::T_DOUBLE, 40); + xfer += oprot->writeDouble(this->max_moment); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("min_moment", ::apache::thrift::protocol::T_DOUBLE, 41); + xfer += oprot->writeDouble(this->min_moment); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("max_neck_moment", ::apache::thrift::protocol::T_DOUBLE, 42); + xfer += oprot->writeDouble(this->max_neck_moment); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("min_neck_moment", ::apache::thrift::protocol::T_DOUBLE, 43); + xfer += oprot->writeDouble(this->min_neck_moment); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("max_neck_angle", ::apache::thrift::protocol::T_DOUBLE, 44); + xfer += oprot->writeDouble(this->max_neck_angle); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("min_neck_angle", ::apache::thrift::protocol::T_DOUBLE, 45); + xfer += oprot->writeDouble(this->min_neck_angle); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("visible_angle", ::apache::thrift::protocol::T_DOUBLE, 46); + xfer += oprot->writeDouble(this->visible_angle); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("visible_distance", ::apache::thrift::protocol::T_DOUBLE, 47); + xfer += oprot->writeDouble(this->visible_distance); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("wind_dir", ::apache::thrift::protocol::T_DOUBLE, 48); + xfer += oprot->writeDouble(this->wind_dir); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("wind_force", ::apache::thrift::protocol::T_DOUBLE, 49); + xfer += oprot->writeDouble(this->wind_force); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("wind_angle", ::apache::thrift::protocol::T_DOUBLE, 50); + xfer += oprot->writeDouble(this->wind_angle); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("wind_rand", ::apache::thrift::protocol::T_DOUBLE, 51); + xfer += oprot->writeDouble(this->wind_rand); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("kickable_area", ::apache::thrift::protocol::T_DOUBLE, 52); + xfer += oprot->writeDouble(this->kickable_area); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("catch_area_l", ::apache::thrift::protocol::T_DOUBLE, 53); + xfer += oprot->writeDouble(this->catch_area_l); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("catch_area_w", ::apache::thrift::protocol::T_DOUBLE, 54); + xfer += oprot->writeDouble(this->catch_area_w); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("catch_probability", ::apache::thrift::protocol::T_DOUBLE, 55); + xfer += oprot->writeDouble(this->catch_probability); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("goalie_max_moves", ::apache::thrift::protocol::T_I32, 56); + xfer += oprot->writeI32(this->goalie_max_moves); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("corner_kick_margin", ::apache::thrift::protocol::T_DOUBLE, 57); + xfer += oprot->writeDouble(this->corner_kick_margin); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("offside_active_area_size", ::apache::thrift::protocol::T_DOUBLE, 58); + xfer += oprot->writeDouble(this->offside_active_area_size); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("wind_none", ::apache::thrift::protocol::T_BOOL, 59); + xfer += oprot->writeBool(this->wind_none); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("use_wind_random", ::apache::thrift::protocol::T_BOOL, 60); + xfer += oprot->writeBool(this->use_wind_random); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("coach_say_count_max", ::apache::thrift::protocol::T_I32, 61); + xfer += oprot->writeI32(this->coach_say_count_max); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("coach_say_msg_size", ::apache::thrift::protocol::T_I32, 62); + xfer += oprot->writeI32(this->coach_say_msg_size); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("clang_win_size", ::apache::thrift::protocol::T_I32, 63); + xfer += oprot->writeI32(this->clang_win_size); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("clang_define_win", ::apache::thrift::protocol::T_I32, 64); + xfer += oprot->writeI32(this->clang_define_win); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("clang_meta_win", ::apache::thrift::protocol::T_I32, 65); + xfer += oprot->writeI32(this->clang_meta_win); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("clang_advice_win", ::apache::thrift::protocol::T_I32, 66); + xfer += oprot->writeI32(this->clang_advice_win); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("clang_info_win", ::apache::thrift::protocol::T_I32, 67); + xfer += oprot->writeI32(this->clang_info_win); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("clang_mess_delay", ::apache::thrift::protocol::T_I32, 68); + xfer += oprot->writeI32(this->clang_mess_delay); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("clang_mess_per_cycle", ::apache::thrift::protocol::T_I32, 69); + xfer += oprot->writeI32(this->clang_mess_per_cycle); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("half_time", ::apache::thrift::protocol::T_I32, 70); + xfer += oprot->writeI32(this->half_time); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("simulator_step", ::apache::thrift::protocol::T_I32, 71); + xfer += oprot->writeI32(this->simulator_step); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("send_step", ::apache::thrift::protocol::T_I32, 72); + xfer += oprot->writeI32(this->send_step); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("recv_step", ::apache::thrift::protocol::T_I32, 73); + xfer += oprot->writeI32(this->recv_step); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("sense_body_step", ::apache::thrift::protocol::T_I32, 74); + xfer += oprot->writeI32(this->sense_body_step); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("lcm_step", ::apache::thrift::protocol::T_I32, 75); + xfer += oprot->writeI32(this->lcm_step); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("player_say_msg_size", ::apache::thrift::protocol::T_I32, 76); + xfer += oprot->writeI32(this->player_say_msg_size); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("player_hear_max", ::apache::thrift::protocol::T_I32, 77); + xfer += oprot->writeI32(this->player_hear_max); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("player_hear_inc", ::apache::thrift::protocol::T_I32, 78); + xfer += oprot->writeI32(this->player_hear_inc); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("player_hear_decay", ::apache::thrift::protocol::T_I32, 79); + xfer += oprot->writeI32(this->player_hear_decay); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("catch_ban_cycle", ::apache::thrift::protocol::T_I32, 80); + xfer += oprot->writeI32(this->catch_ban_cycle); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("slow_down_factor", ::apache::thrift::protocol::T_I32, 81); + xfer += oprot->writeI32(this->slow_down_factor); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("use_offside", ::apache::thrift::protocol::T_BOOL, 82); + xfer += oprot->writeBool(this->use_offside); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("kickoff_offside", ::apache::thrift::protocol::T_BOOL, 83); + xfer += oprot->writeBool(this->kickoff_offside); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("offside_kick_margin", ::apache::thrift::protocol::T_DOUBLE, 84); + xfer += oprot->writeDouble(this->offside_kick_margin); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("audio_cut_dist", ::apache::thrift::protocol::T_DOUBLE, 85); + xfer += oprot->writeDouble(this->audio_cut_dist); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("dist_quantize_step", ::apache::thrift::protocol::T_DOUBLE, 86); + xfer += oprot->writeDouble(this->dist_quantize_step); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("landmark_dist_quantize_step", ::apache::thrift::protocol::T_DOUBLE, 87); + xfer += oprot->writeDouble(this->landmark_dist_quantize_step); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("dir_quantize_step", ::apache::thrift::protocol::T_DOUBLE, 88); + xfer += oprot->writeDouble(this->dir_quantize_step); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("dist_quantize_step_l", ::apache::thrift::protocol::T_DOUBLE, 89); + xfer += oprot->writeDouble(this->dist_quantize_step_l); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("dist_quantize_step_r", ::apache::thrift::protocol::T_DOUBLE, 90); + xfer += oprot->writeDouble(this->dist_quantize_step_r); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("landmark_dist_quantize_step_l", ::apache::thrift::protocol::T_DOUBLE, 91); + xfer += oprot->writeDouble(this->landmark_dist_quantize_step_l); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("landmark_dist_quantize_step_r", ::apache::thrift::protocol::T_DOUBLE, 92); + xfer += oprot->writeDouble(this->landmark_dist_quantize_step_r); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("dir_quantize_step_l", ::apache::thrift::protocol::T_DOUBLE, 93); + xfer += oprot->writeDouble(this->dir_quantize_step_l); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("dir_quantize_step_r", ::apache::thrift::protocol::T_DOUBLE, 94); + xfer += oprot->writeDouble(this->dir_quantize_step_r); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("coach_mode", ::apache::thrift::protocol::T_BOOL, 95); + xfer += oprot->writeBool(this->coach_mode); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("coach_with_referee_mode", ::apache::thrift::protocol::T_BOOL, 96); + xfer += oprot->writeBool(this->coach_with_referee_mode); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("use_old_coach_hear", ::apache::thrift::protocol::T_BOOL, 97); + xfer += oprot->writeBool(this->use_old_coach_hear); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("slowness_on_top_for_left_team", ::apache::thrift::protocol::T_DOUBLE, 98); + xfer += oprot->writeDouble(this->slowness_on_top_for_left_team); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("slowness_on_top_for_right_team", ::apache::thrift::protocol::T_DOUBLE, 99); + xfer += oprot->writeDouble(this->slowness_on_top_for_right_team); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("start_goal_l", ::apache::thrift::protocol::T_I32, 100); + xfer += oprot->writeI32(this->start_goal_l); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("start_goal_r", ::apache::thrift::protocol::T_I32, 101); + xfer += oprot->writeI32(this->start_goal_r); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("fullstate_l", ::apache::thrift::protocol::T_BOOL, 102); + xfer += oprot->writeBool(this->fullstate_l); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("fullstate_r", ::apache::thrift::protocol::T_BOOL, 103); + xfer += oprot->writeBool(this->fullstate_r); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("drop_ball_time", ::apache::thrift::protocol::T_I32, 104); + xfer += oprot->writeI32(this->drop_ball_time); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("synch_mode", ::apache::thrift::protocol::T_BOOL, 105); + xfer += oprot->writeBool(this->synch_mode); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("synch_offset", ::apache::thrift::protocol::T_I32, 106); + xfer += oprot->writeI32(this->synch_offset); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("synch_micro_sleep", ::apache::thrift::protocol::T_I32, 107); + xfer += oprot->writeI32(this->synch_micro_sleep); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("point_to_ban", ::apache::thrift::protocol::T_I32, 108); + xfer += oprot->writeI32(this->point_to_ban); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("point_to_duration", ::apache::thrift::protocol::T_I32, 109); + xfer += oprot->writeI32(this->point_to_duration); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("player_port", ::apache::thrift::protocol::T_I32, 110); + xfer += oprot->writeI32(this->player_port); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("trainer_port", ::apache::thrift::protocol::T_I32, 111); + xfer += oprot->writeI32(this->trainer_port); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("online_coach_port", ::apache::thrift::protocol::T_I32, 112); + xfer += oprot->writeI32(this->online_coach_port); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("verbose_mode", ::apache::thrift::protocol::T_BOOL, 113); + xfer += oprot->writeBool(this->verbose_mode); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("coach_send_vi_step", ::apache::thrift::protocol::T_I32, 114); + xfer += oprot->writeI32(this->coach_send_vi_step); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("replay_file", ::apache::thrift::protocol::T_STRING, 115); + xfer += oprot->writeString(this->replay_file); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("landmark_file", ::apache::thrift::protocol::T_STRING, 116); + xfer += oprot->writeString(this->landmark_file); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("send_comms", ::apache::thrift::protocol::T_BOOL, 117); + xfer += oprot->writeBool(this->send_comms); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("text_logging", ::apache::thrift::protocol::T_BOOL, 118); + xfer += oprot->writeBool(this->text_logging); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("game_logging", ::apache::thrift::protocol::T_BOOL, 119); + xfer += oprot->writeBool(this->game_logging); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("game_log_version", ::apache::thrift::protocol::T_I32, 120); + xfer += oprot->writeI32(this->game_log_version); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("text_log_dir", ::apache::thrift::protocol::T_STRING, 121); + xfer += oprot->writeString(this->text_log_dir); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("game_log_dir", ::apache::thrift::protocol::T_STRING, 122); + xfer += oprot->writeString(this->game_log_dir); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("text_log_fixed_name", ::apache::thrift::protocol::T_STRING, 123); + xfer += oprot->writeString(this->text_log_fixed_name); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("game_log_fixed_name", ::apache::thrift::protocol::T_STRING, 124); + xfer += oprot->writeString(this->game_log_fixed_name); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("use_text_log_fixed", ::apache::thrift::protocol::T_BOOL, 125); + xfer += oprot->writeBool(this->use_text_log_fixed); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("use_game_log_fixed", ::apache::thrift::protocol::T_BOOL, 126); + xfer += oprot->writeBool(this->use_game_log_fixed); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("use_text_log_dated", ::apache::thrift::protocol::T_BOOL, 127); + xfer += oprot->writeBool(this->use_text_log_dated); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("use_game_log_dated", ::apache::thrift::protocol::T_BOOL, 128); + xfer += oprot->writeBool(this->use_game_log_dated); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("log_date_format", ::apache::thrift::protocol::T_STRING, 129); + xfer += oprot->writeString(this->log_date_format); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("log_times", ::apache::thrift::protocol::T_BOOL, 130); + xfer += oprot->writeBool(this->log_times); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("record_message", ::apache::thrift::protocol::T_BOOL, 131); + xfer += oprot->writeBool(this->record_message); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("text_log_compression", ::apache::thrift::protocol::T_I32, 132); + xfer += oprot->writeI32(this->text_log_compression); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("game_log_compression", ::apache::thrift::protocol::T_I32, 133); + xfer += oprot->writeI32(this->game_log_compression); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("use_profile", ::apache::thrift::protocol::T_BOOL, 134); + xfer += oprot->writeBool(this->use_profile); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("tackle_dist", ::apache::thrift::protocol::T_DOUBLE, 135); + xfer += oprot->writeDouble(this->tackle_dist); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("tackle_back_dist", ::apache::thrift::protocol::T_DOUBLE, 136); + xfer += oprot->writeDouble(this->tackle_back_dist); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("tackle_width", ::apache::thrift::protocol::T_DOUBLE, 137); + xfer += oprot->writeDouble(this->tackle_width); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("tackle_exponent", ::apache::thrift::protocol::T_DOUBLE, 138); + xfer += oprot->writeDouble(this->tackle_exponent); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("tackle_cycles", ::apache::thrift::protocol::T_I32, 139); + xfer += oprot->writeI32(this->tackle_cycles); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("tackle_power_rate", ::apache::thrift::protocol::T_DOUBLE, 140); + xfer += oprot->writeDouble(this->tackle_power_rate); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("freeform_wait_period", ::apache::thrift::protocol::T_I32, 141); + xfer += oprot->writeI32(this->freeform_wait_period); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("freeform_send_period", ::apache::thrift::protocol::T_I32, 142); + xfer += oprot->writeI32(this->freeform_send_period); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("free_kick_faults", ::apache::thrift::protocol::T_BOOL, 143); + xfer += oprot->writeBool(this->free_kick_faults); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("back_passes", ::apache::thrift::protocol::T_BOOL, 144); + xfer += oprot->writeBool(this->back_passes); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("proper_goal_kicks", ::apache::thrift::protocol::T_BOOL, 145); + xfer += oprot->writeBool(this->proper_goal_kicks); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("stopped_ball_vel", ::apache::thrift::protocol::T_DOUBLE, 146); + xfer += oprot->writeDouble(this->stopped_ball_vel); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("max_goal_kicks", ::apache::thrift::protocol::T_I32, 147); + xfer += oprot->writeI32(this->max_goal_kicks); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("clang_del_win", ::apache::thrift::protocol::T_I32, 148); + xfer += oprot->writeI32(this->clang_del_win); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("clang_rule_win", ::apache::thrift::protocol::T_I32, 149); + xfer += oprot->writeI32(this->clang_rule_win); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("auto_mode", ::apache::thrift::protocol::T_BOOL, 150); + xfer += oprot->writeBool(this->auto_mode); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("kick_off_wait", ::apache::thrift::protocol::T_I32, 151); + xfer += oprot->writeI32(this->kick_off_wait); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("connect_wait", ::apache::thrift::protocol::T_I32, 152); + xfer += oprot->writeI32(this->connect_wait); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("game_over_wait", ::apache::thrift::protocol::T_I32, 153); + xfer += oprot->writeI32(this->game_over_wait); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("team_l_start", ::apache::thrift::protocol::T_STRING, 154); + xfer += oprot->writeString(this->team_l_start); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("team_r_start", ::apache::thrift::protocol::T_STRING, 155); + xfer += oprot->writeString(this->team_r_start); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("keepaway_mode", ::apache::thrift::protocol::T_BOOL, 156); + xfer += oprot->writeBool(this->keepaway_mode); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("keepaway_length", ::apache::thrift::protocol::T_DOUBLE, 157); + xfer += oprot->writeDouble(this->keepaway_length); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("keepaway_width", ::apache::thrift::protocol::T_DOUBLE, 158); + xfer += oprot->writeDouble(this->keepaway_width); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("keepaway_logging", ::apache::thrift::protocol::T_BOOL, 159); + xfer += oprot->writeBool(this->keepaway_logging); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("keepaway_log_dir", ::apache::thrift::protocol::T_STRING, 160); + xfer += oprot->writeString(this->keepaway_log_dir); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("keepaway_log_fixed_name", ::apache::thrift::protocol::T_STRING, 161); + xfer += oprot->writeString(this->keepaway_log_fixed_name); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("keepaway_log_fixed", ::apache::thrift::protocol::T_BOOL, 162); + xfer += oprot->writeBool(this->keepaway_log_fixed); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("keepaway_log_dated", ::apache::thrift::protocol::T_BOOL, 163); + xfer += oprot->writeBool(this->keepaway_log_dated); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("keepaway_start", ::apache::thrift::protocol::T_I32, 164); + xfer += oprot->writeI32(this->keepaway_start); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("nr_normal_halfs", ::apache::thrift::protocol::T_I32, 165); + xfer += oprot->writeI32(this->nr_normal_halfs); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("nr_extra_halfs", ::apache::thrift::protocol::T_I32, 166); + xfer += oprot->writeI32(this->nr_extra_halfs); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("penalty_shoot_outs", ::apache::thrift::protocol::T_BOOL, 167); + xfer += oprot->writeBool(this->penalty_shoot_outs); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("pen_before_setup_wait", ::apache::thrift::protocol::T_I32, 168); + xfer += oprot->writeI32(this->pen_before_setup_wait); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("pen_setup_wait", ::apache::thrift::protocol::T_I32, 169); + xfer += oprot->writeI32(this->pen_setup_wait); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("pen_ready_wait", ::apache::thrift::protocol::T_I32, 170); + xfer += oprot->writeI32(this->pen_ready_wait); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("pen_taken_wait", ::apache::thrift::protocol::T_I32, 171); + xfer += oprot->writeI32(this->pen_taken_wait); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("pen_nr_kicks", ::apache::thrift::protocol::T_I32, 172); + xfer += oprot->writeI32(this->pen_nr_kicks); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("pen_max_extra_kicks", ::apache::thrift::protocol::T_I32, 173); + xfer += oprot->writeI32(this->pen_max_extra_kicks); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("pen_dist_x", ::apache::thrift::protocol::T_DOUBLE, 174); + xfer += oprot->writeDouble(this->pen_dist_x); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("pen_random_winner", ::apache::thrift::protocol::T_BOOL, 175); + xfer += oprot->writeBool(this->pen_random_winner); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("pen_allow_mult_kicks", ::apache::thrift::protocol::T_BOOL, 176); + xfer += oprot->writeBool(this->pen_allow_mult_kicks); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("pen_max_goalie_dist_x", ::apache::thrift::protocol::T_DOUBLE, 177); + xfer += oprot->writeDouble(this->pen_max_goalie_dist_x); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("pen_coach_moves_players", ::apache::thrift::protocol::T_BOOL, 178); + xfer += oprot->writeBool(this->pen_coach_moves_players); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("module_dir", ::apache::thrift::protocol::T_STRING, 179); + xfer += oprot->writeString(this->module_dir); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("ball_stuck_area", ::apache::thrift::protocol::T_DOUBLE, 180); + xfer += oprot->writeDouble(this->ball_stuck_area); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("coach_msg_file", ::apache::thrift::protocol::T_STRING, 181); + xfer += oprot->writeString(this->coach_msg_file); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("max_tackle_power", ::apache::thrift::protocol::T_DOUBLE, 182); + xfer += oprot->writeDouble(this->max_tackle_power); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("max_back_tackle_power", ::apache::thrift::protocol::T_DOUBLE, 183); + xfer += oprot->writeDouble(this->max_back_tackle_power); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("player_speed_max_min", ::apache::thrift::protocol::T_DOUBLE, 184); + xfer += oprot->writeDouble(this->player_speed_max_min); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("extra_stamina", ::apache::thrift::protocol::T_DOUBLE, 185); + xfer += oprot->writeDouble(this->extra_stamina); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("synch_see_offset", ::apache::thrift::protocol::T_I32, 186); + xfer += oprot->writeI32(this->synch_see_offset); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("extra_half_time", ::apache::thrift::protocol::T_I32, 187); + xfer += oprot->writeI32(this->extra_half_time); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("stamina_capacity", ::apache::thrift::protocol::T_DOUBLE, 188); + xfer += oprot->writeDouble(this->stamina_capacity); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("max_dash_angle", ::apache::thrift::protocol::T_DOUBLE, 189); + xfer += oprot->writeDouble(this->max_dash_angle); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("min_dash_angle", ::apache::thrift::protocol::T_DOUBLE, 190); + xfer += oprot->writeDouble(this->min_dash_angle); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("dash_angle_step", ::apache::thrift::protocol::T_DOUBLE, 191); + xfer += oprot->writeDouble(this->dash_angle_step); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("side_dash_rate", ::apache::thrift::protocol::T_DOUBLE, 192); + xfer += oprot->writeDouble(this->side_dash_rate); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("back_dash_rate", ::apache::thrift::protocol::T_DOUBLE, 193); + xfer += oprot->writeDouble(this->back_dash_rate); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("max_dash_power", ::apache::thrift::protocol::T_DOUBLE, 194); + xfer += oprot->writeDouble(this->max_dash_power); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("min_dash_power", ::apache::thrift::protocol::T_DOUBLE, 195); + xfer += oprot->writeDouble(this->min_dash_power); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("tackle_rand_factor", ::apache::thrift::protocol::T_DOUBLE, 196); + xfer += oprot->writeDouble(this->tackle_rand_factor); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("foul_detect_probability", ::apache::thrift::protocol::T_DOUBLE, 197); + xfer += oprot->writeDouble(this->foul_detect_probability); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("foul_exponent", ::apache::thrift::protocol::T_DOUBLE, 198); + xfer += oprot->writeDouble(this->foul_exponent); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("foul_cycles", ::apache::thrift::protocol::T_I32, 199); + xfer += oprot->writeI32(this->foul_cycles); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("golden_goal", ::apache::thrift::protocol::T_BOOL, 200); + xfer += oprot->writeBool(this->golden_goal); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("red_card_probability", ::apache::thrift::protocol::T_DOUBLE, 201); + xfer += oprot->writeDouble(this->red_card_probability); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("illegal_defense_duration", ::apache::thrift::protocol::T_I32, 202); + xfer += oprot->writeI32(this->illegal_defense_duration); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("illegal_defense_number", ::apache::thrift::protocol::T_I32, 203); + xfer += oprot->writeI32(this->illegal_defense_number); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("illegal_defense_dist_x", ::apache::thrift::protocol::T_DOUBLE, 204); + xfer += oprot->writeDouble(this->illegal_defense_dist_x); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("illegal_defense_width", ::apache::thrift::protocol::T_DOUBLE, 205); + xfer += oprot->writeDouble(this->illegal_defense_width); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("fixed_teamname_l", ::apache::thrift::protocol::T_STRING, 206); + xfer += oprot->writeString(this->fixed_teamname_l); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("fixed_teamname_r", ::apache::thrift::protocol::T_STRING, 207); + xfer += oprot->writeString(this->fixed_teamname_r); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("max_catch_angle", ::apache::thrift::protocol::T_DOUBLE, 208); + xfer += oprot->writeDouble(this->max_catch_angle); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("min_catch_angle", ::apache::thrift::protocol::T_DOUBLE, 209); + xfer += oprot->writeDouble(this->min_catch_angle); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("random_seed", ::apache::thrift::protocol::T_I32, 210); + xfer += oprot->writeI32(this->random_seed); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("long_kick_power_factor", ::apache::thrift::protocol::T_DOUBLE, 211); + xfer += oprot->writeDouble(this->long_kick_power_factor); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("long_kick_delay", ::apache::thrift::protocol::T_I32, 212); + xfer += oprot->writeI32(this->long_kick_delay); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("max_monitors", ::apache::thrift::protocol::T_I32, 213); + xfer += oprot->writeI32(this->max_monitors); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("catchable_area", ::apache::thrift::protocol::T_DOUBLE, 214); + xfer += oprot->writeDouble(this->catchable_area); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("real_speed_max", ::apache::thrift::protocol::T_DOUBLE, 215); + xfer += oprot->writeDouble(this->real_speed_max); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("pitch_half_length", ::apache::thrift::protocol::T_DOUBLE, 216); + xfer += oprot->writeDouble(this->pitch_half_length); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("pitch_half_width", ::apache::thrift::protocol::T_DOUBLE, 217); + xfer += oprot->writeDouble(this->pitch_half_width); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("our_penalty_area_line_x", ::apache::thrift::protocol::T_DOUBLE, 218); + xfer += oprot->writeDouble(this->our_penalty_area_line_x); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("their_penalty_area_line_x", ::apache::thrift::protocol::T_DOUBLE, 219); + xfer += oprot->writeDouble(this->their_penalty_area_line_x); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("penalty_area_half_width", ::apache::thrift::protocol::T_DOUBLE, 220); + xfer += oprot->writeDouble(this->penalty_area_half_width); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("penalty_area_length", ::apache::thrift::protocol::T_DOUBLE, 221); + xfer += oprot->writeDouble(this->penalty_area_length); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("goal_width", ::apache::thrift::protocol::T_DOUBLE, 222); + xfer += oprot->writeDouble(this->goal_width); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(ServerParam &a, ServerParam &b) { + using ::std::swap; + swap(a.register_response, b.register_response); + swap(a.inertia_moment, b.inertia_moment); + swap(a.player_size, b.player_size); + swap(a.player_decay, b.player_decay); + swap(a.player_rand, b.player_rand); + swap(a.player_weight, b.player_weight); + swap(a.player_speed_max, b.player_speed_max); + swap(a.player_accel_max, b.player_accel_max); + swap(a.stamina_max, b.stamina_max); + swap(a.stamina_inc_max, b.stamina_inc_max); + swap(a.recover_init, b.recover_init); + swap(a.recover_dec_thr, b.recover_dec_thr); + swap(a.recover_min, b.recover_min); + swap(a.recover_dec, b.recover_dec); + swap(a.effort_init, b.effort_init); + swap(a.effort_dec_thr, b.effort_dec_thr); + swap(a.effort_min, b.effort_min); + swap(a.effort_dec, b.effort_dec); + swap(a.effort_inc_thr, b.effort_inc_thr); + swap(a.effort_inc, b.effort_inc); + swap(a.kick_rand, b.kick_rand); + swap(a.team_actuator_noise, b.team_actuator_noise); + swap(a.player_rand_factor_l, b.player_rand_factor_l); + swap(a.player_rand_factor_r, b.player_rand_factor_r); + swap(a.kick_rand_factor_l, b.kick_rand_factor_l); + swap(a.kick_rand_factor_r, b.kick_rand_factor_r); + swap(a.ball_size, b.ball_size); + swap(a.ball_decay, b.ball_decay); + swap(a.ball_rand, b.ball_rand); + swap(a.ball_weight, b.ball_weight); + swap(a.ball_speed_max, b.ball_speed_max); + swap(a.ball_accel_max, b.ball_accel_max); + swap(a.dash_power_rate, b.dash_power_rate); + swap(a.kick_power_rate, b.kick_power_rate); + swap(a.kickable_margin, b.kickable_margin); + swap(a.control_radius, b.control_radius); + swap(a.control_radius_width, b.control_radius_width); + swap(a.max_power, b.max_power); + swap(a.min_power, b.min_power); + swap(a.max_moment, b.max_moment); + swap(a.min_moment, b.min_moment); + swap(a.max_neck_moment, b.max_neck_moment); + swap(a.min_neck_moment, b.min_neck_moment); + swap(a.max_neck_angle, b.max_neck_angle); + swap(a.min_neck_angle, b.min_neck_angle); + swap(a.visible_angle, b.visible_angle); + swap(a.visible_distance, b.visible_distance); + swap(a.wind_dir, b.wind_dir); + swap(a.wind_force, b.wind_force); + swap(a.wind_angle, b.wind_angle); + swap(a.wind_rand, b.wind_rand); + swap(a.kickable_area, b.kickable_area); + swap(a.catch_area_l, b.catch_area_l); + swap(a.catch_area_w, b.catch_area_w); + swap(a.catch_probability, b.catch_probability); + swap(a.goalie_max_moves, b.goalie_max_moves); + swap(a.corner_kick_margin, b.corner_kick_margin); + swap(a.offside_active_area_size, b.offside_active_area_size); + swap(a.wind_none, b.wind_none); + swap(a.use_wind_random, b.use_wind_random); + swap(a.coach_say_count_max, b.coach_say_count_max); + swap(a.coach_say_msg_size, b.coach_say_msg_size); + swap(a.clang_win_size, b.clang_win_size); + swap(a.clang_define_win, b.clang_define_win); + swap(a.clang_meta_win, b.clang_meta_win); + swap(a.clang_advice_win, b.clang_advice_win); + swap(a.clang_info_win, b.clang_info_win); + swap(a.clang_mess_delay, b.clang_mess_delay); + swap(a.clang_mess_per_cycle, b.clang_mess_per_cycle); + swap(a.half_time, b.half_time); + swap(a.simulator_step, b.simulator_step); + swap(a.send_step, b.send_step); + swap(a.recv_step, b.recv_step); + swap(a.sense_body_step, b.sense_body_step); + swap(a.lcm_step, b.lcm_step); + swap(a.player_say_msg_size, b.player_say_msg_size); + swap(a.player_hear_max, b.player_hear_max); + swap(a.player_hear_inc, b.player_hear_inc); + swap(a.player_hear_decay, b.player_hear_decay); + swap(a.catch_ban_cycle, b.catch_ban_cycle); + swap(a.slow_down_factor, b.slow_down_factor); + swap(a.use_offside, b.use_offside); + swap(a.kickoff_offside, b.kickoff_offside); + swap(a.offside_kick_margin, b.offside_kick_margin); + swap(a.audio_cut_dist, b.audio_cut_dist); + swap(a.dist_quantize_step, b.dist_quantize_step); + swap(a.landmark_dist_quantize_step, b.landmark_dist_quantize_step); + swap(a.dir_quantize_step, b.dir_quantize_step); + swap(a.dist_quantize_step_l, b.dist_quantize_step_l); + swap(a.dist_quantize_step_r, b.dist_quantize_step_r); + swap(a.landmark_dist_quantize_step_l, b.landmark_dist_quantize_step_l); + swap(a.landmark_dist_quantize_step_r, b.landmark_dist_quantize_step_r); + swap(a.dir_quantize_step_l, b.dir_quantize_step_l); + swap(a.dir_quantize_step_r, b.dir_quantize_step_r); + swap(a.coach_mode, b.coach_mode); + swap(a.coach_with_referee_mode, b.coach_with_referee_mode); + swap(a.use_old_coach_hear, b.use_old_coach_hear); + swap(a.slowness_on_top_for_left_team, b.slowness_on_top_for_left_team); + swap(a.slowness_on_top_for_right_team, b.slowness_on_top_for_right_team); + swap(a.start_goal_l, b.start_goal_l); + swap(a.start_goal_r, b.start_goal_r); + swap(a.fullstate_l, b.fullstate_l); + swap(a.fullstate_r, b.fullstate_r); + swap(a.drop_ball_time, b.drop_ball_time); + swap(a.synch_mode, b.synch_mode); + swap(a.synch_offset, b.synch_offset); + swap(a.synch_micro_sleep, b.synch_micro_sleep); + swap(a.point_to_ban, b.point_to_ban); + swap(a.point_to_duration, b.point_to_duration); + swap(a.player_port, b.player_port); + swap(a.trainer_port, b.trainer_port); + swap(a.online_coach_port, b.online_coach_port); + swap(a.verbose_mode, b.verbose_mode); + swap(a.coach_send_vi_step, b.coach_send_vi_step); + swap(a.replay_file, b.replay_file); + swap(a.landmark_file, b.landmark_file); + swap(a.send_comms, b.send_comms); + swap(a.text_logging, b.text_logging); + swap(a.game_logging, b.game_logging); + swap(a.game_log_version, b.game_log_version); + swap(a.text_log_dir, b.text_log_dir); + swap(a.game_log_dir, b.game_log_dir); + swap(a.text_log_fixed_name, b.text_log_fixed_name); + swap(a.game_log_fixed_name, b.game_log_fixed_name); + swap(a.use_text_log_fixed, b.use_text_log_fixed); + swap(a.use_game_log_fixed, b.use_game_log_fixed); + swap(a.use_text_log_dated, b.use_text_log_dated); + swap(a.use_game_log_dated, b.use_game_log_dated); + swap(a.log_date_format, b.log_date_format); + swap(a.log_times, b.log_times); + swap(a.record_message, b.record_message); + swap(a.text_log_compression, b.text_log_compression); + swap(a.game_log_compression, b.game_log_compression); + swap(a.use_profile, b.use_profile); + swap(a.tackle_dist, b.tackle_dist); + swap(a.tackle_back_dist, b.tackle_back_dist); + swap(a.tackle_width, b.tackle_width); + swap(a.tackle_exponent, b.tackle_exponent); + swap(a.tackle_cycles, b.tackle_cycles); + swap(a.tackle_power_rate, b.tackle_power_rate); + swap(a.freeform_wait_period, b.freeform_wait_period); + swap(a.freeform_send_period, b.freeform_send_period); + swap(a.free_kick_faults, b.free_kick_faults); + swap(a.back_passes, b.back_passes); + swap(a.proper_goal_kicks, b.proper_goal_kicks); + swap(a.stopped_ball_vel, b.stopped_ball_vel); + swap(a.max_goal_kicks, b.max_goal_kicks); + swap(a.clang_del_win, b.clang_del_win); + swap(a.clang_rule_win, b.clang_rule_win); + swap(a.auto_mode, b.auto_mode); + swap(a.kick_off_wait, b.kick_off_wait); + swap(a.connect_wait, b.connect_wait); + swap(a.game_over_wait, b.game_over_wait); + swap(a.team_l_start, b.team_l_start); + swap(a.team_r_start, b.team_r_start); + swap(a.keepaway_mode, b.keepaway_mode); + swap(a.keepaway_length, b.keepaway_length); + swap(a.keepaway_width, b.keepaway_width); + swap(a.keepaway_logging, b.keepaway_logging); + swap(a.keepaway_log_dir, b.keepaway_log_dir); + swap(a.keepaway_log_fixed_name, b.keepaway_log_fixed_name); + swap(a.keepaway_log_fixed, b.keepaway_log_fixed); + swap(a.keepaway_log_dated, b.keepaway_log_dated); + swap(a.keepaway_start, b.keepaway_start); + swap(a.nr_normal_halfs, b.nr_normal_halfs); + swap(a.nr_extra_halfs, b.nr_extra_halfs); + swap(a.penalty_shoot_outs, b.penalty_shoot_outs); + swap(a.pen_before_setup_wait, b.pen_before_setup_wait); + swap(a.pen_setup_wait, b.pen_setup_wait); + swap(a.pen_ready_wait, b.pen_ready_wait); + swap(a.pen_taken_wait, b.pen_taken_wait); + swap(a.pen_nr_kicks, b.pen_nr_kicks); + swap(a.pen_max_extra_kicks, b.pen_max_extra_kicks); + swap(a.pen_dist_x, b.pen_dist_x); + swap(a.pen_random_winner, b.pen_random_winner); + swap(a.pen_allow_mult_kicks, b.pen_allow_mult_kicks); + swap(a.pen_max_goalie_dist_x, b.pen_max_goalie_dist_x); + swap(a.pen_coach_moves_players, b.pen_coach_moves_players); + swap(a.module_dir, b.module_dir); + swap(a.ball_stuck_area, b.ball_stuck_area); + swap(a.coach_msg_file, b.coach_msg_file); + swap(a.max_tackle_power, b.max_tackle_power); + swap(a.max_back_tackle_power, b.max_back_tackle_power); + swap(a.player_speed_max_min, b.player_speed_max_min); + swap(a.extra_stamina, b.extra_stamina); + swap(a.synch_see_offset, b.synch_see_offset); + swap(a.extra_half_time, b.extra_half_time); + swap(a.stamina_capacity, b.stamina_capacity); + swap(a.max_dash_angle, b.max_dash_angle); + swap(a.min_dash_angle, b.min_dash_angle); + swap(a.dash_angle_step, b.dash_angle_step); + swap(a.side_dash_rate, b.side_dash_rate); + swap(a.back_dash_rate, b.back_dash_rate); + swap(a.max_dash_power, b.max_dash_power); + swap(a.min_dash_power, b.min_dash_power); + swap(a.tackle_rand_factor, b.tackle_rand_factor); + swap(a.foul_detect_probability, b.foul_detect_probability); + swap(a.foul_exponent, b.foul_exponent); + swap(a.foul_cycles, b.foul_cycles); + swap(a.golden_goal, b.golden_goal); + swap(a.red_card_probability, b.red_card_probability); + swap(a.illegal_defense_duration, b.illegal_defense_duration); + swap(a.illegal_defense_number, b.illegal_defense_number); + swap(a.illegal_defense_dist_x, b.illegal_defense_dist_x); + swap(a.illegal_defense_width, b.illegal_defense_width); + swap(a.fixed_teamname_l, b.fixed_teamname_l); + swap(a.fixed_teamname_r, b.fixed_teamname_r); + swap(a.max_catch_angle, b.max_catch_angle); + swap(a.min_catch_angle, b.min_catch_angle); + swap(a.random_seed, b.random_seed); + swap(a.long_kick_power_factor, b.long_kick_power_factor); + swap(a.long_kick_delay, b.long_kick_delay); + swap(a.max_monitors, b.max_monitors); + swap(a.catchable_area, b.catchable_area); + swap(a.real_speed_max, b.real_speed_max); + swap(a.pitch_half_length, b.pitch_half_length); + swap(a.pitch_half_width, b.pitch_half_width); + swap(a.our_penalty_area_line_x, b.our_penalty_area_line_x); + swap(a.their_penalty_area_line_x, b.their_penalty_area_line_x); + swap(a.penalty_area_half_width, b.penalty_area_half_width); + swap(a.penalty_area_length, b.penalty_area_length); + swap(a.goal_width, b.goal_width); + swap(a.__isset, b.__isset); +} + +ServerParam::ServerParam(const ServerParam& other333) { + register_response = other333.register_response; + inertia_moment = other333.inertia_moment; + player_size = other333.player_size; + player_decay = other333.player_decay; + player_rand = other333.player_rand; + player_weight = other333.player_weight; + player_speed_max = other333.player_speed_max; + player_accel_max = other333.player_accel_max; + stamina_max = other333.stamina_max; + stamina_inc_max = other333.stamina_inc_max; + recover_init = other333.recover_init; + recover_dec_thr = other333.recover_dec_thr; + recover_min = other333.recover_min; + recover_dec = other333.recover_dec; + effort_init = other333.effort_init; + effort_dec_thr = other333.effort_dec_thr; + effort_min = other333.effort_min; + effort_dec = other333.effort_dec; + effort_inc_thr = other333.effort_inc_thr; + effort_inc = other333.effort_inc; + kick_rand = other333.kick_rand; + team_actuator_noise = other333.team_actuator_noise; + player_rand_factor_l = other333.player_rand_factor_l; + player_rand_factor_r = other333.player_rand_factor_r; + kick_rand_factor_l = other333.kick_rand_factor_l; + kick_rand_factor_r = other333.kick_rand_factor_r; + ball_size = other333.ball_size; + ball_decay = other333.ball_decay; + ball_rand = other333.ball_rand; + ball_weight = other333.ball_weight; + ball_speed_max = other333.ball_speed_max; + ball_accel_max = other333.ball_accel_max; + dash_power_rate = other333.dash_power_rate; + kick_power_rate = other333.kick_power_rate; + kickable_margin = other333.kickable_margin; + control_radius = other333.control_radius; + control_radius_width = other333.control_radius_width; + max_power = other333.max_power; + min_power = other333.min_power; + max_moment = other333.max_moment; + min_moment = other333.min_moment; + max_neck_moment = other333.max_neck_moment; + min_neck_moment = other333.min_neck_moment; + max_neck_angle = other333.max_neck_angle; + min_neck_angle = other333.min_neck_angle; + visible_angle = other333.visible_angle; + visible_distance = other333.visible_distance; + wind_dir = other333.wind_dir; + wind_force = other333.wind_force; + wind_angle = other333.wind_angle; + wind_rand = other333.wind_rand; + kickable_area = other333.kickable_area; + catch_area_l = other333.catch_area_l; + catch_area_w = other333.catch_area_w; + catch_probability = other333.catch_probability; + goalie_max_moves = other333.goalie_max_moves; + corner_kick_margin = other333.corner_kick_margin; + offside_active_area_size = other333.offside_active_area_size; + wind_none = other333.wind_none; + use_wind_random = other333.use_wind_random; + coach_say_count_max = other333.coach_say_count_max; + coach_say_msg_size = other333.coach_say_msg_size; + clang_win_size = other333.clang_win_size; + clang_define_win = other333.clang_define_win; + clang_meta_win = other333.clang_meta_win; + clang_advice_win = other333.clang_advice_win; + clang_info_win = other333.clang_info_win; + clang_mess_delay = other333.clang_mess_delay; + clang_mess_per_cycle = other333.clang_mess_per_cycle; + half_time = other333.half_time; + simulator_step = other333.simulator_step; + send_step = other333.send_step; + recv_step = other333.recv_step; + sense_body_step = other333.sense_body_step; + lcm_step = other333.lcm_step; + player_say_msg_size = other333.player_say_msg_size; + player_hear_max = other333.player_hear_max; + player_hear_inc = other333.player_hear_inc; + player_hear_decay = other333.player_hear_decay; + catch_ban_cycle = other333.catch_ban_cycle; + slow_down_factor = other333.slow_down_factor; + use_offside = other333.use_offside; + kickoff_offside = other333.kickoff_offside; + offside_kick_margin = other333.offside_kick_margin; + audio_cut_dist = other333.audio_cut_dist; + dist_quantize_step = other333.dist_quantize_step; + landmark_dist_quantize_step = other333.landmark_dist_quantize_step; + dir_quantize_step = other333.dir_quantize_step; + dist_quantize_step_l = other333.dist_quantize_step_l; + dist_quantize_step_r = other333.dist_quantize_step_r; + landmark_dist_quantize_step_l = other333.landmark_dist_quantize_step_l; + landmark_dist_quantize_step_r = other333.landmark_dist_quantize_step_r; + dir_quantize_step_l = other333.dir_quantize_step_l; + dir_quantize_step_r = other333.dir_quantize_step_r; + coach_mode = other333.coach_mode; + coach_with_referee_mode = other333.coach_with_referee_mode; + use_old_coach_hear = other333.use_old_coach_hear; + slowness_on_top_for_left_team = other333.slowness_on_top_for_left_team; + slowness_on_top_for_right_team = other333.slowness_on_top_for_right_team; + start_goal_l = other333.start_goal_l; + start_goal_r = other333.start_goal_r; + fullstate_l = other333.fullstate_l; + fullstate_r = other333.fullstate_r; + drop_ball_time = other333.drop_ball_time; + synch_mode = other333.synch_mode; + synch_offset = other333.synch_offset; + synch_micro_sleep = other333.synch_micro_sleep; + point_to_ban = other333.point_to_ban; + point_to_duration = other333.point_to_duration; + player_port = other333.player_port; + trainer_port = other333.trainer_port; + online_coach_port = other333.online_coach_port; + verbose_mode = other333.verbose_mode; + coach_send_vi_step = other333.coach_send_vi_step; + replay_file = other333.replay_file; + landmark_file = other333.landmark_file; + send_comms = other333.send_comms; + text_logging = other333.text_logging; + game_logging = other333.game_logging; + game_log_version = other333.game_log_version; + text_log_dir = other333.text_log_dir; + game_log_dir = other333.game_log_dir; + text_log_fixed_name = other333.text_log_fixed_name; + game_log_fixed_name = other333.game_log_fixed_name; + use_text_log_fixed = other333.use_text_log_fixed; + use_game_log_fixed = other333.use_game_log_fixed; + use_text_log_dated = other333.use_text_log_dated; + use_game_log_dated = other333.use_game_log_dated; + log_date_format = other333.log_date_format; + log_times = other333.log_times; + record_message = other333.record_message; + text_log_compression = other333.text_log_compression; + game_log_compression = other333.game_log_compression; + use_profile = other333.use_profile; + tackle_dist = other333.tackle_dist; + tackle_back_dist = other333.tackle_back_dist; + tackle_width = other333.tackle_width; + tackle_exponent = other333.tackle_exponent; + tackle_cycles = other333.tackle_cycles; + tackle_power_rate = other333.tackle_power_rate; + freeform_wait_period = other333.freeform_wait_period; + freeform_send_period = other333.freeform_send_period; + free_kick_faults = other333.free_kick_faults; + back_passes = other333.back_passes; + proper_goal_kicks = other333.proper_goal_kicks; + stopped_ball_vel = other333.stopped_ball_vel; + max_goal_kicks = other333.max_goal_kicks; + clang_del_win = other333.clang_del_win; + clang_rule_win = other333.clang_rule_win; + auto_mode = other333.auto_mode; + kick_off_wait = other333.kick_off_wait; + connect_wait = other333.connect_wait; + game_over_wait = other333.game_over_wait; + team_l_start = other333.team_l_start; + team_r_start = other333.team_r_start; + keepaway_mode = other333.keepaway_mode; + keepaway_length = other333.keepaway_length; + keepaway_width = other333.keepaway_width; + keepaway_logging = other333.keepaway_logging; + keepaway_log_dir = other333.keepaway_log_dir; + keepaway_log_fixed_name = other333.keepaway_log_fixed_name; + keepaway_log_fixed = other333.keepaway_log_fixed; + keepaway_log_dated = other333.keepaway_log_dated; + keepaway_start = other333.keepaway_start; + nr_normal_halfs = other333.nr_normal_halfs; + nr_extra_halfs = other333.nr_extra_halfs; + penalty_shoot_outs = other333.penalty_shoot_outs; + pen_before_setup_wait = other333.pen_before_setup_wait; + pen_setup_wait = other333.pen_setup_wait; + pen_ready_wait = other333.pen_ready_wait; + pen_taken_wait = other333.pen_taken_wait; + pen_nr_kicks = other333.pen_nr_kicks; + pen_max_extra_kicks = other333.pen_max_extra_kicks; + pen_dist_x = other333.pen_dist_x; + pen_random_winner = other333.pen_random_winner; + pen_allow_mult_kicks = other333.pen_allow_mult_kicks; + pen_max_goalie_dist_x = other333.pen_max_goalie_dist_x; + pen_coach_moves_players = other333.pen_coach_moves_players; + module_dir = other333.module_dir; + ball_stuck_area = other333.ball_stuck_area; + coach_msg_file = other333.coach_msg_file; + max_tackle_power = other333.max_tackle_power; + max_back_tackle_power = other333.max_back_tackle_power; + player_speed_max_min = other333.player_speed_max_min; + extra_stamina = other333.extra_stamina; + synch_see_offset = other333.synch_see_offset; + extra_half_time = other333.extra_half_time; + stamina_capacity = other333.stamina_capacity; + max_dash_angle = other333.max_dash_angle; + min_dash_angle = other333.min_dash_angle; + dash_angle_step = other333.dash_angle_step; + side_dash_rate = other333.side_dash_rate; + back_dash_rate = other333.back_dash_rate; + max_dash_power = other333.max_dash_power; + min_dash_power = other333.min_dash_power; + tackle_rand_factor = other333.tackle_rand_factor; + foul_detect_probability = other333.foul_detect_probability; + foul_exponent = other333.foul_exponent; + foul_cycles = other333.foul_cycles; + golden_goal = other333.golden_goal; + red_card_probability = other333.red_card_probability; + illegal_defense_duration = other333.illegal_defense_duration; + illegal_defense_number = other333.illegal_defense_number; + illegal_defense_dist_x = other333.illegal_defense_dist_x; + illegal_defense_width = other333.illegal_defense_width; + fixed_teamname_l = other333.fixed_teamname_l; + fixed_teamname_r = other333.fixed_teamname_r; + max_catch_angle = other333.max_catch_angle; + min_catch_angle = other333.min_catch_angle; + random_seed = other333.random_seed; + long_kick_power_factor = other333.long_kick_power_factor; + long_kick_delay = other333.long_kick_delay; + max_monitors = other333.max_monitors; + catchable_area = other333.catchable_area; + real_speed_max = other333.real_speed_max; + pitch_half_length = other333.pitch_half_length; + pitch_half_width = other333.pitch_half_width; + our_penalty_area_line_x = other333.our_penalty_area_line_x; + their_penalty_area_line_x = other333.their_penalty_area_line_x; + penalty_area_half_width = other333.penalty_area_half_width; + penalty_area_length = other333.penalty_area_length; + goal_width = other333.goal_width; + __isset = other333.__isset; +} +ServerParam& ServerParam::operator=(const ServerParam& other334) { + register_response = other334.register_response; + inertia_moment = other334.inertia_moment; + player_size = other334.player_size; + player_decay = other334.player_decay; + player_rand = other334.player_rand; + player_weight = other334.player_weight; + player_speed_max = other334.player_speed_max; + player_accel_max = other334.player_accel_max; + stamina_max = other334.stamina_max; + stamina_inc_max = other334.stamina_inc_max; + recover_init = other334.recover_init; + recover_dec_thr = other334.recover_dec_thr; + recover_min = other334.recover_min; + recover_dec = other334.recover_dec; + effort_init = other334.effort_init; + effort_dec_thr = other334.effort_dec_thr; + effort_min = other334.effort_min; + effort_dec = other334.effort_dec; + effort_inc_thr = other334.effort_inc_thr; + effort_inc = other334.effort_inc; + kick_rand = other334.kick_rand; + team_actuator_noise = other334.team_actuator_noise; + player_rand_factor_l = other334.player_rand_factor_l; + player_rand_factor_r = other334.player_rand_factor_r; + kick_rand_factor_l = other334.kick_rand_factor_l; + kick_rand_factor_r = other334.kick_rand_factor_r; + ball_size = other334.ball_size; + ball_decay = other334.ball_decay; + ball_rand = other334.ball_rand; + ball_weight = other334.ball_weight; + ball_speed_max = other334.ball_speed_max; + ball_accel_max = other334.ball_accel_max; + dash_power_rate = other334.dash_power_rate; + kick_power_rate = other334.kick_power_rate; + kickable_margin = other334.kickable_margin; + control_radius = other334.control_radius; + control_radius_width = other334.control_radius_width; + max_power = other334.max_power; + min_power = other334.min_power; + max_moment = other334.max_moment; + min_moment = other334.min_moment; + max_neck_moment = other334.max_neck_moment; + min_neck_moment = other334.min_neck_moment; + max_neck_angle = other334.max_neck_angle; + min_neck_angle = other334.min_neck_angle; + visible_angle = other334.visible_angle; + visible_distance = other334.visible_distance; + wind_dir = other334.wind_dir; + wind_force = other334.wind_force; + wind_angle = other334.wind_angle; + wind_rand = other334.wind_rand; + kickable_area = other334.kickable_area; + catch_area_l = other334.catch_area_l; + catch_area_w = other334.catch_area_w; + catch_probability = other334.catch_probability; + goalie_max_moves = other334.goalie_max_moves; + corner_kick_margin = other334.corner_kick_margin; + offside_active_area_size = other334.offside_active_area_size; + wind_none = other334.wind_none; + use_wind_random = other334.use_wind_random; + coach_say_count_max = other334.coach_say_count_max; + coach_say_msg_size = other334.coach_say_msg_size; + clang_win_size = other334.clang_win_size; + clang_define_win = other334.clang_define_win; + clang_meta_win = other334.clang_meta_win; + clang_advice_win = other334.clang_advice_win; + clang_info_win = other334.clang_info_win; + clang_mess_delay = other334.clang_mess_delay; + clang_mess_per_cycle = other334.clang_mess_per_cycle; + half_time = other334.half_time; + simulator_step = other334.simulator_step; + send_step = other334.send_step; + recv_step = other334.recv_step; + sense_body_step = other334.sense_body_step; + lcm_step = other334.lcm_step; + player_say_msg_size = other334.player_say_msg_size; + player_hear_max = other334.player_hear_max; + player_hear_inc = other334.player_hear_inc; + player_hear_decay = other334.player_hear_decay; + catch_ban_cycle = other334.catch_ban_cycle; + slow_down_factor = other334.slow_down_factor; + use_offside = other334.use_offside; + kickoff_offside = other334.kickoff_offside; + offside_kick_margin = other334.offside_kick_margin; + audio_cut_dist = other334.audio_cut_dist; + dist_quantize_step = other334.dist_quantize_step; + landmark_dist_quantize_step = other334.landmark_dist_quantize_step; + dir_quantize_step = other334.dir_quantize_step; + dist_quantize_step_l = other334.dist_quantize_step_l; + dist_quantize_step_r = other334.dist_quantize_step_r; + landmark_dist_quantize_step_l = other334.landmark_dist_quantize_step_l; + landmark_dist_quantize_step_r = other334.landmark_dist_quantize_step_r; + dir_quantize_step_l = other334.dir_quantize_step_l; + dir_quantize_step_r = other334.dir_quantize_step_r; + coach_mode = other334.coach_mode; + coach_with_referee_mode = other334.coach_with_referee_mode; + use_old_coach_hear = other334.use_old_coach_hear; + slowness_on_top_for_left_team = other334.slowness_on_top_for_left_team; + slowness_on_top_for_right_team = other334.slowness_on_top_for_right_team; + start_goal_l = other334.start_goal_l; + start_goal_r = other334.start_goal_r; + fullstate_l = other334.fullstate_l; + fullstate_r = other334.fullstate_r; + drop_ball_time = other334.drop_ball_time; + synch_mode = other334.synch_mode; + synch_offset = other334.synch_offset; + synch_micro_sleep = other334.synch_micro_sleep; + point_to_ban = other334.point_to_ban; + point_to_duration = other334.point_to_duration; + player_port = other334.player_port; + trainer_port = other334.trainer_port; + online_coach_port = other334.online_coach_port; + verbose_mode = other334.verbose_mode; + coach_send_vi_step = other334.coach_send_vi_step; + replay_file = other334.replay_file; + landmark_file = other334.landmark_file; + send_comms = other334.send_comms; + text_logging = other334.text_logging; + game_logging = other334.game_logging; + game_log_version = other334.game_log_version; + text_log_dir = other334.text_log_dir; + game_log_dir = other334.game_log_dir; + text_log_fixed_name = other334.text_log_fixed_name; + game_log_fixed_name = other334.game_log_fixed_name; + use_text_log_fixed = other334.use_text_log_fixed; + use_game_log_fixed = other334.use_game_log_fixed; + use_text_log_dated = other334.use_text_log_dated; + use_game_log_dated = other334.use_game_log_dated; + log_date_format = other334.log_date_format; + log_times = other334.log_times; + record_message = other334.record_message; + text_log_compression = other334.text_log_compression; + game_log_compression = other334.game_log_compression; + use_profile = other334.use_profile; + tackle_dist = other334.tackle_dist; + tackle_back_dist = other334.tackle_back_dist; + tackle_width = other334.tackle_width; + tackle_exponent = other334.tackle_exponent; + tackle_cycles = other334.tackle_cycles; + tackle_power_rate = other334.tackle_power_rate; + freeform_wait_period = other334.freeform_wait_period; + freeform_send_period = other334.freeform_send_period; + free_kick_faults = other334.free_kick_faults; + back_passes = other334.back_passes; + proper_goal_kicks = other334.proper_goal_kicks; + stopped_ball_vel = other334.stopped_ball_vel; + max_goal_kicks = other334.max_goal_kicks; + clang_del_win = other334.clang_del_win; + clang_rule_win = other334.clang_rule_win; + auto_mode = other334.auto_mode; + kick_off_wait = other334.kick_off_wait; + connect_wait = other334.connect_wait; + game_over_wait = other334.game_over_wait; + team_l_start = other334.team_l_start; + team_r_start = other334.team_r_start; + keepaway_mode = other334.keepaway_mode; + keepaway_length = other334.keepaway_length; + keepaway_width = other334.keepaway_width; + keepaway_logging = other334.keepaway_logging; + keepaway_log_dir = other334.keepaway_log_dir; + keepaway_log_fixed_name = other334.keepaway_log_fixed_name; + keepaway_log_fixed = other334.keepaway_log_fixed; + keepaway_log_dated = other334.keepaway_log_dated; + keepaway_start = other334.keepaway_start; + nr_normal_halfs = other334.nr_normal_halfs; + nr_extra_halfs = other334.nr_extra_halfs; + penalty_shoot_outs = other334.penalty_shoot_outs; + pen_before_setup_wait = other334.pen_before_setup_wait; + pen_setup_wait = other334.pen_setup_wait; + pen_ready_wait = other334.pen_ready_wait; + pen_taken_wait = other334.pen_taken_wait; + pen_nr_kicks = other334.pen_nr_kicks; + pen_max_extra_kicks = other334.pen_max_extra_kicks; + pen_dist_x = other334.pen_dist_x; + pen_random_winner = other334.pen_random_winner; + pen_allow_mult_kicks = other334.pen_allow_mult_kicks; + pen_max_goalie_dist_x = other334.pen_max_goalie_dist_x; + pen_coach_moves_players = other334.pen_coach_moves_players; + module_dir = other334.module_dir; + ball_stuck_area = other334.ball_stuck_area; + coach_msg_file = other334.coach_msg_file; + max_tackle_power = other334.max_tackle_power; + max_back_tackle_power = other334.max_back_tackle_power; + player_speed_max_min = other334.player_speed_max_min; + extra_stamina = other334.extra_stamina; + synch_see_offset = other334.synch_see_offset; + extra_half_time = other334.extra_half_time; + stamina_capacity = other334.stamina_capacity; + max_dash_angle = other334.max_dash_angle; + min_dash_angle = other334.min_dash_angle; + dash_angle_step = other334.dash_angle_step; + side_dash_rate = other334.side_dash_rate; + back_dash_rate = other334.back_dash_rate; + max_dash_power = other334.max_dash_power; + min_dash_power = other334.min_dash_power; + tackle_rand_factor = other334.tackle_rand_factor; + foul_detect_probability = other334.foul_detect_probability; + foul_exponent = other334.foul_exponent; + foul_cycles = other334.foul_cycles; + golden_goal = other334.golden_goal; + red_card_probability = other334.red_card_probability; + illegal_defense_duration = other334.illegal_defense_duration; + illegal_defense_number = other334.illegal_defense_number; + illegal_defense_dist_x = other334.illegal_defense_dist_x; + illegal_defense_width = other334.illegal_defense_width; + fixed_teamname_l = other334.fixed_teamname_l; + fixed_teamname_r = other334.fixed_teamname_r; + max_catch_angle = other334.max_catch_angle; + min_catch_angle = other334.min_catch_angle; + random_seed = other334.random_seed; + long_kick_power_factor = other334.long_kick_power_factor; + long_kick_delay = other334.long_kick_delay; + max_monitors = other334.max_monitors; + catchable_area = other334.catchable_area; + real_speed_max = other334.real_speed_max; + pitch_half_length = other334.pitch_half_length; + pitch_half_width = other334.pitch_half_width; + our_penalty_area_line_x = other334.our_penalty_area_line_x; + their_penalty_area_line_x = other334.their_penalty_area_line_x; + penalty_area_half_width = other334.penalty_area_half_width; + penalty_area_length = other334.penalty_area_length; + goal_width = other334.goal_width; + __isset = other334.__isset; + return *this; +} +void ServerParam::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "ServerParam("; + out << "register_response=" << to_string(register_response); + out << ", " << "inertia_moment=" << to_string(inertia_moment); + out << ", " << "player_size=" << to_string(player_size); + out << ", " << "player_decay=" << to_string(player_decay); + out << ", " << "player_rand=" << to_string(player_rand); + out << ", " << "player_weight=" << to_string(player_weight); + out << ", " << "player_speed_max=" << to_string(player_speed_max); + out << ", " << "player_accel_max=" << to_string(player_accel_max); + out << ", " << "stamina_max=" << to_string(stamina_max); + out << ", " << "stamina_inc_max=" << to_string(stamina_inc_max); + out << ", " << "recover_init=" << to_string(recover_init); + out << ", " << "recover_dec_thr=" << to_string(recover_dec_thr); + out << ", " << "recover_min=" << to_string(recover_min); + out << ", " << "recover_dec=" << to_string(recover_dec); + out << ", " << "effort_init=" << to_string(effort_init); + out << ", " << "effort_dec_thr=" << to_string(effort_dec_thr); + out << ", " << "effort_min=" << to_string(effort_min); + out << ", " << "effort_dec=" << to_string(effort_dec); + out << ", " << "effort_inc_thr=" << to_string(effort_inc_thr); + out << ", " << "effort_inc=" << to_string(effort_inc); + out << ", " << "kick_rand=" << to_string(kick_rand); + out << ", " << "team_actuator_noise=" << to_string(team_actuator_noise); + out << ", " << "player_rand_factor_l=" << to_string(player_rand_factor_l); + out << ", " << "player_rand_factor_r=" << to_string(player_rand_factor_r); + out << ", " << "kick_rand_factor_l=" << to_string(kick_rand_factor_l); + out << ", " << "kick_rand_factor_r=" << to_string(kick_rand_factor_r); + out << ", " << "ball_size=" << to_string(ball_size); + out << ", " << "ball_decay=" << to_string(ball_decay); + out << ", " << "ball_rand=" << to_string(ball_rand); + out << ", " << "ball_weight=" << to_string(ball_weight); + out << ", " << "ball_speed_max=" << to_string(ball_speed_max); + out << ", " << "ball_accel_max=" << to_string(ball_accel_max); + out << ", " << "dash_power_rate=" << to_string(dash_power_rate); + out << ", " << "kick_power_rate=" << to_string(kick_power_rate); + out << ", " << "kickable_margin=" << to_string(kickable_margin); + out << ", " << "control_radius=" << to_string(control_radius); + out << ", " << "control_radius_width=" << to_string(control_radius_width); + out << ", " << "max_power=" << to_string(max_power); + out << ", " << "min_power=" << to_string(min_power); + out << ", " << "max_moment=" << to_string(max_moment); + out << ", " << "min_moment=" << to_string(min_moment); + out << ", " << "max_neck_moment=" << to_string(max_neck_moment); + out << ", " << "min_neck_moment=" << to_string(min_neck_moment); + out << ", " << "max_neck_angle=" << to_string(max_neck_angle); + out << ", " << "min_neck_angle=" << to_string(min_neck_angle); + out << ", " << "visible_angle=" << to_string(visible_angle); + out << ", " << "visible_distance=" << to_string(visible_distance); + out << ", " << "wind_dir=" << to_string(wind_dir); + out << ", " << "wind_force=" << to_string(wind_force); + out << ", " << "wind_angle=" << to_string(wind_angle); + out << ", " << "wind_rand=" << to_string(wind_rand); + out << ", " << "kickable_area=" << to_string(kickable_area); + out << ", " << "catch_area_l=" << to_string(catch_area_l); + out << ", " << "catch_area_w=" << to_string(catch_area_w); + out << ", " << "catch_probability=" << to_string(catch_probability); + out << ", " << "goalie_max_moves=" << to_string(goalie_max_moves); + out << ", " << "corner_kick_margin=" << to_string(corner_kick_margin); + out << ", " << "offside_active_area_size=" << to_string(offside_active_area_size); + out << ", " << "wind_none=" << to_string(wind_none); + out << ", " << "use_wind_random=" << to_string(use_wind_random); + out << ", " << "coach_say_count_max=" << to_string(coach_say_count_max); + out << ", " << "coach_say_msg_size=" << to_string(coach_say_msg_size); + out << ", " << "clang_win_size=" << to_string(clang_win_size); + out << ", " << "clang_define_win=" << to_string(clang_define_win); + out << ", " << "clang_meta_win=" << to_string(clang_meta_win); + out << ", " << "clang_advice_win=" << to_string(clang_advice_win); + out << ", " << "clang_info_win=" << to_string(clang_info_win); + out << ", " << "clang_mess_delay=" << to_string(clang_mess_delay); + out << ", " << "clang_mess_per_cycle=" << to_string(clang_mess_per_cycle); + out << ", " << "half_time=" << to_string(half_time); + out << ", " << "simulator_step=" << to_string(simulator_step); + out << ", " << "send_step=" << to_string(send_step); + out << ", " << "recv_step=" << to_string(recv_step); + out << ", " << "sense_body_step=" << to_string(sense_body_step); + out << ", " << "lcm_step=" << to_string(lcm_step); + out << ", " << "player_say_msg_size=" << to_string(player_say_msg_size); + out << ", " << "player_hear_max=" << to_string(player_hear_max); + out << ", " << "player_hear_inc=" << to_string(player_hear_inc); + out << ", " << "player_hear_decay=" << to_string(player_hear_decay); + out << ", " << "catch_ban_cycle=" << to_string(catch_ban_cycle); + out << ", " << "slow_down_factor=" << to_string(slow_down_factor); + out << ", " << "use_offside=" << to_string(use_offside); + out << ", " << "kickoff_offside=" << to_string(kickoff_offside); + out << ", " << "offside_kick_margin=" << to_string(offside_kick_margin); + out << ", " << "audio_cut_dist=" << to_string(audio_cut_dist); + out << ", " << "dist_quantize_step=" << to_string(dist_quantize_step); + out << ", " << "landmark_dist_quantize_step=" << to_string(landmark_dist_quantize_step); + out << ", " << "dir_quantize_step=" << to_string(dir_quantize_step); + out << ", " << "dist_quantize_step_l=" << to_string(dist_quantize_step_l); + out << ", " << "dist_quantize_step_r=" << to_string(dist_quantize_step_r); + out << ", " << "landmark_dist_quantize_step_l=" << to_string(landmark_dist_quantize_step_l); + out << ", " << "landmark_dist_quantize_step_r=" << to_string(landmark_dist_quantize_step_r); + out << ", " << "dir_quantize_step_l=" << to_string(dir_quantize_step_l); + out << ", " << "dir_quantize_step_r=" << to_string(dir_quantize_step_r); + out << ", " << "coach_mode=" << to_string(coach_mode); + out << ", " << "coach_with_referee_mode=" << to_string(coach_with_referee_mode); + out << ", " << "use_old_coach_hear=" << to_string(use_old_coach_hear); + out << ", " << "slowness_on_top_for_left_team=" << to_string(slowness_on_top_for_left_team); + out << ", " << "slowness_on_top_for_right_team=" << to_string(slowness_on_top_for_right_team); + out << ", " << "start_goal_l=" << to_string(start_goal_l); + out << ", " << "start_goal_r=" << to_string(start_goal_r); + out << ", " << "fullstate_l=" << to_string(fullstate_l); + out << ", " << "fullstate_r=" << to_string(fullstate_r); + out << ", " << "drop_ball_time=" << to_string(drop_ball_time); + out << ", " << "synch_mode=" << to_string(synch_mode); + out << ", " << "synch_offset=" << to_string(synch_offset); + out << ", " << "synch_micro_sleep=" << to_string(synch_micro_sleep); + out << ", " << "point_to_ban=" << to_string(point_to_ban); + out << ", " << "point_to_duration=" << to_string(point_to_duration); + out << ", " << "player_port=" << to_string(player_port); + out << ", " << "trainer_port=" << to_string(trainer_port); + out << ", " << "online_coach_port=" << to_string(online_coach_port); + out << ", " << "verbose_mode=" << to_string(verbose_mode); + out << ", " << "coach_send_vi_step=" << to_string(coach_send_vi_step); + out << ", " << "replay_file=" << to_string(replay_file); + out << ", " << "landmark_file=" << to_string(landmark_file); + out << ", " << "send_comms=" << to_string(send_comms); + out << ", " << "text_logging=" << to_string(text_logging); + out << ", " << "game_logging=" << to_string(game_logging); + out << ", " << "game_log_version=" << to_string(game_log_version); + out << ", " << "text_log_dir=" << to_string(text_log_dir); + out << ", " << "game_log_dir=" << to_string(game_log_dir); + out << ", " << "text_log_fixed_name=" << to_string(text_log_fixed_name); + out << ", " << "game_log_fixed_name=" << to_string(game_log_fixed_name); + out << ", " << "use_text_log_fixed=" << to_string(use_text_log_fixed); + out << ", " << "use_game_log_fixed=" << to_string(use_game_log_fixed); + out << ", " << "use_text_log_dated=" << to_string(use_text_log_dated); + out << ", " << "use_game_log_dated=" << to_string(use_game_log_dated); + out << ", " << "log_date_format=" << to_string(log_date_format); + out << ", " << "log_times=" << to_string(log_times); + out << ", " << "record_message=" << to_string(record_message); + out << ", " << "text_log_compression=" << to_string(text_log_compression); + out << ", " << "game_log_compression=" << to_string(game_log_compression); + out << ", " << "use_profile=" << to_string(use_profile); + out << ", " << "tackle_dist=" << to_string(tackle_dist); + out << ", " << "tackle_back_dist=" << to_string(tackle_back_dist); + out << ", " << "tackle_width=" << to_string(tackle_width); + out << ", " << "tackle_exponent=" << to_string(tackle_exponent); + out << ", " << "tackle_cycles=" << to_string(tackle_cycles); + out << ", " << "tackle_power_rate=" << to_string(tackle_power_rate); + out << ", " << "freeform_wait_period=" << to_string(freeform_wait_period); + out << ", " << "freeform_send_period=" << to_string(freeform_send_period); + out << ", " << "free_kick_faults=" << to_string(free_kick_faults); + out << ", " << "back_passes=" << to_string(back_passes); + out << ", " << "proper_goal_kicks=" << to_string(proper_goal_kicks); + out << ", " << "stopped_ball_vel=" << to_string(stopped_ball_vel); + out << ", " << "max_goal_kicks=" << to_string(max_goal_kicks); + out << ", " << "clang_del_win=" << to_string(clang_del_win); + out << ", " << "clang_rule_win=" << to_string(clang_rule_win); + out << ", " << "auto_mode=" << to_string(auto_mode); + out << ", " << "kick_off_wait=" << to_string(kick_off_wait); + out << ", " << "connect_wait=" << to_string(connect_wait); + out << ", " << "game_over_wait=" << to_string(game_over_wait); + out << ", " << "team_l_start=" << to_string(team_l_start); + out << ", " << "team_r_start=" << to_string(team_r_start); + out << ", " << "keepaway_mode=" << to_string(keepaway_mode); + out << ", " << "keepaway_length=" << to_string(keepaway_length); + out << ", " << "keepaway_width=" << to_string(keepaway_width); + out << ", " << "keepaway_logging=" << to_string(keepaway_logging); + out << ", " << "keepaway_log_dir=" << to_string(keepaway_log_dir); + out << ", " << "keepaway_log_fixed_name=" << to_string(keepaway_log_fixed_name); + out << ", " << "keepaway_log_fixed=" << to_string(keepaway_log_fixed); + out << ", " << "keepaway_log_dated=" << to_string(keepaway_log_dated); + out << ", " << "keepaway_start=" << to_string(keepaway_start); + out << ", " << "nr_normal_halfs=" << to_string(nr_normal_halfs); + out << ", " << "nr_extra_halfs=" << to_string(nr_extra_halfs); + out << ", " << "penalty_shoot_outs=" << to_string(penalty_shoot_outs); + out << ", " << "pen_before_setup_wait=" << to_string(pen_before_setup_wait); + out << ", " << "pen_setup_wait=" << to_string(pen_setup_wait); + out << ", " << "pen_ready_wait=" << to_string(pen_ready_wait); + out << ", " << "pen_taken_wait=" << to_string(pen_taken_wait); + out << ", " << "pen_nr_kicks=" << to_string(pen_nr_kicks); + out << ", " << "pen_max_extra_kicks=" << to_string(pen_max_extra_kicks); + out << ", " << "pen_dist_x=" << to_string(pen_dist_x); + out << ", " << "pen_random_winner=" << to_string(pen_random_winner); + out << ", " << "pen_allow_mult_kicks=" << to_string(pen_allow_mult_kicks); + out << ", " << "pen_max_goalie_dist_x=" << to_string(pen_max_goalie_dist_x); + out << ", " << "pen_coach_moves_players=" << to_string(pen_coach_moves_players); + out << ", " << "module_dir=" << to_string(module_dir); + out << ", " << "ball_stuck_area=" << to_string(ball_stuck_area); + out << ", " << "coach_msg_file=" << to_string(coach_msg_file); + out << ", " << "max_tackle_power=" << to_string(max_tackle_power); + out << ", " << "max_back_tackle_power=" << to_string(max_back_tackle_power); + out << ", " << "player_speed_max_min=" << to_string(player_speed_max_min); + out << ", " << "extra_stamina=" << to_string(extra_stamina); + out << ", " << "synch_see_offset=" << to_string(synch_see_offset); + out << ", " << "extra_half_time=" << to_string(extra_half_time); + out << ", " << "stamina_capacity=" << to_string(stamina_capacity); + out << ", " << "max_dash_angle=" << to_string(max_dash_angle); + out << ", " << "min_dash_angle=" << to_string(min_dash_angle); + out << ", " << "dash_angle_step=" << to_string(dash_angle_step); + out << ", " << "side_dash_rate=" << to_string(side_dash_rate); + out << ", " << "back_dash_rate=" << to_string(back_dash_rate); + out << ", " << "max_dash_power=" << to_string(max_dash_power); + out << ", " << "min_dash_power=" << to_string(min_dash_power); + out << ", " << "tackle_rand_factor=" << to_string(tackle_rand_factor); + out << ", " << "foul_detect_probability=" << to_string(foul_detect_probability); + out << ", " << "foul_exponent=" << to_string(foul_exponent); + out << ", " << "foul_cycles=" << to_string(foul_cycles); + out << ", " << "golden_goal=" << to_string(golden_goal); + out << ", " << "red_card_probability=" << to_string(red_card_probability); + out << ", " << "illegal_defense_duration=" << to_string(illegal_defense_duration); + out << ", " << "illegal_defense_number=" << to_string(illegal_defense_number); + out << ", " << "illegal_defense_dist_x=" << to_string(illegal_defense_dist_x); + out << ", " << "illegal_defense_width=" << to_string(illegal_defense_width); + out << ", " << "fixed_teamname_l=" << to_string(fixed_teamname_l); + out << ", " << "fixed_teamname_r=" << to_string(fixed_teamname_r); + out << ", " << "max_catch_angle=" << to_string(max_catch_angle); + out << ", " << "min_catch_angle=" << to_string(min_catch_angle); + out << ", " << "random_seed=" << to_string(random_seed); + out << ", " << "long_kick_power_factor=" << to_string(long_kick_power_factor); + out << ", " << "long_kick_delay=" << to_string(long_kick_delay); + out << ", " << "max_monitors=" << to_string(max_monitors); + out << ", " << "catchable_area=" << to_string(catchable_area); + out << ", " << "real_speed_max=" << to_string(real_speed_max); + out << ", " << "pitch_half_length=" << to_string(pitch_half_length); + out << ", " << "pitch_half_width=" << to_string(pitch_half_width); + out << ", " << "our_penalty_area_line_x=" << to_string(our_penalty_area_line_x); + out << ", " << "their_penalty_area_line_x=" << to_string(their_penalty_area_line_x); + out << ", " << "penalty_area_half_width=" << to_string(penalty_area_half_width); + out << ", " << "penalty_area_length=" << to_string(penalty_area_length); + out << ", " << "goal_width=" << to_string(goal_width); + out << ")"; +} + + +PlayerParam::~PlayerParam() noexcept { +} + + +void PlayerParam::__set_register_response(const RegisterResponse& val) { + this->register_response = val; +} + +void PlayerParam::__set_player_types(const int32_t val) { + this->player_types = val; +} + +void PlayerParam::__set_subs_max(const int32_t val) { + this->subs_max = val; +} + +void PlayerParam::__set_pt_max(const int32_t val) { + this->pt_max = val; +} + +void PlayerParam::__set_allow_mult_default_type(const bool val) { + this->allow_mult_default_type = val; +} + +void PlayerParam::__set_player_speed_max_delta_min(const double val) { + this->player_speed_max_delta_min = val; +} + +void PlayerParam::__set_player_speed_max_delta_max(const double val) { + this->player_speed_max_delta_max = val; +} + +void PlayerParam::__set_stamina_inc_max_delta_factor(const double val) { + this->stamina_inc_max_delta_factor = val; +} + +void PlayerParam::__set_player_decay_delta_min(const double val) { + this->player_decay_delta_min = val; +} + +void PlayerParam::__set_player_decay_delta_max(const double val) { + this->player_decay_delta_max = val; +} + +void PlayerParam::__set_inertia_moment_delta_factor(const double val) { + this->inertia_moment_delta_factor = val; +} + +void PlayerParam::__set_dash_power_rate_delta_min(const double val) { + this->dash_power_rate_delta_min = val; +} + +void PlayerParam::__set_dash_power_rate_delta_max(const double val) { + this->dash_power_rate_delta_max = val; +} + +void PlayerParam::__set_player_size_delta_factor(const double val) { + this->player_size_delta_factor = val; +} + +void PlayerParam::__set_kickable_margin_delta_min(const double val) { + this->kickable_margin_delta_min = val; +} + +void PlayerParam::__set_kickable_margin_delta_max(const double val) { + this->kickable_margin_delta_max = val; +} + +void PlayerParam::__set_kick_rand_delta_factor(const double val) { + this->kick_rand_delta_factor = val; +} + +void PlayerParam::__set_extra_stamina_delta_min(const double val) { + this->extra_stamina_delta_min = val; +} + +void PlayerParam::__set_extra_stamina_delta_max(const double val) { + this->extra_stamina_delta_max = val; +} + +void PlayerParam::__set_effort_max_delta_factor(const double val) { + this->effort_max_delta_factor = val; +} + +void PlayerParam::__set_effort_min_delta_factor(const double val) { + this->effort_min_delta_factor = val; +} + +void PlayerParam::__set_random_seed(const int32_t val) { + this->random_seed = val; +} + +void PlayerParam::__set_new_dash_power_rate_delta_min(const double val) { + this->new_dash_power_rate_delta_min = val; +} + +void PlayerParam::__set_new_dash_power_rate_delta_max(const double val) { + this->new_dash_power_rate_delta_max = val; +} + +void PlayerParam::__set_new_stamina_inc_max_delta_factor(const double val) { + this->new_stamina_inc_max_delta_factor = val; +} + +void PlayerParam::__set_kick_power_rate_delta_min(const double val) { + this->kick_power_rate_delta_min = val; +} + +void PlayerParam::__set_kick_power_rate_delta_max(const double val) { + this->kick_power_rate_delta_max = val; +} + +void PlayerParam::__set_foul_detect_probability_delta_factor(const double val) { + this->foul_detect_probability_delta_factor = val; +} + +void PlayerParam::__set_catchable_area_l_stretch_min(const double val) { + this->catchable_area_l_stretch_min = val; +} + +void PlayerParam::__set_catchable_area_l_stretch_max(const double val) { + this->catchable_area_l_stretch_max = val; +} +std::ostream& operator<<(std::ostream& out, const PlayerParam& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t PlayerParam::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->register_response.read(iprot); + this->__isset.register_response = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->player_types); + this->__isset.player_types = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->subs_max); + this->__isset.subs_max = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->pt_max); + this->__isset.pt_max = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->allow_mult_default_type); + this->__isset.allow_mult_default_type = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->player_speed_max_delta_min); + this->__isset.player_speed_max_delta_min = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 7: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->player_speed_max_delta_max); + this->__isset.player_speed_max_delta_max = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 8: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->stamina_inc_max_delta_factor); + this->__isset.stamina_inc_max_delta_factor = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 9: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->player_decay_delta_min); + this->__isset.player_decay_delta_min = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 10: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->player_decay_delta_max); + this->__isset.player_decay_delta_max = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 11: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->inertia_moment_delta_factor); + this->__isset.inertia_moment_delta_factor = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 12: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->dash_power_rate_delta_min); + this->__isset.dash_power_rate_delta_min = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 13: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->dash_power_rate_delta_max); + this->__isset.dash_power_rate_delta_max = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 14: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->player_size_delta_factor); + this->__isset.player_size_delta_factor = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 15: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->kickable_margin_delta_min); + this->__isset.kickable_margin_delta_min = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 16: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->kickable_margin_delta_max); + this->__isset.kickable_margin_delta_max = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 17: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->kick_rand_delta_factor); + this->__isset.kick_rand_delta_factor = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 18: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->extra_stamina_delta_min); + this->__isset.extra_stamina_delta_min = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 19: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->extra_stamina_delta_max); + this->__isset.extra_stamina_delta_max = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 20: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->effort_max_delta_factor); + this->__isset.effort_max_delta_factor = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 21: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->effort_min_delta_factor); + this->__isset.effort_min_delta_factor = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 22: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->random_seed); + this->__isset.random_seed = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 23: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->new_dash_power_rate_delta_min); + this->__isset.new_dash_power_rate_delta_min = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 24: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->new_dash_power_rate_delta_max); + this->__isset.new_dash_power_rate_delta_max = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 25: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->new_stamina_inc_max_delta_factor); + this->__isset.new_stamina_inc_max_delta_factor = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 26: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->kick_power_rate_delta_min); + this->__isset.kick_power_rate_delta_min = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 27: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->kick_power_rate_delta_max); + this->__isset.kick_power_rate_delta_max = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 28: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->foul_detect_probability_delta_factor); + this->__isset.foul_detect_probability_delta_factor = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 29: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->catchable_area_l_stretch_min); + this->__isset.catchable_area_l_stretch_min = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 30: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->catchable_area_l_stretch_max); + this->__isset.catchable_area_l_stretch_max = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t PlayerParam::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("PlayerParam"); + + xfer += oprot->writeFieldBegin("register_response", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->register_response.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("player_types", ::apache::thrift::protocol::T_I32, 2); + xfer += oprot->writeI32(this->player_types); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("subs_max", ::apache::thrift::protocol::T_I32, 3); + xfer += oprot->writeI32(this->subs_max); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("pt_max", ::apache::thrift::protocol::T_I32, 4); + xfer += oprot->writeI32(this->pt_max); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("allow_mult_default_type", ::apache::thrift::protocol::T_BOOL, 5); + xfer += oprot->writeBool(this->allow_mult_default_type); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("player_speed_max_delta_min", ::apache::thrift::protocol::T_DOUBLE, 6); + xfer += oprot->writeDouble(this->player_speed_max_delta_min); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("player_speed_max_delta_max", ::apache::thrift::protocol::T_DOUBLE, 7); + xfer += oprot->writeDouble(this->player_speed_max_delta_max); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("stamina_inc_max_delta_factor", ::apache::thrift::protocol::T_DOUBLE, 8); + xfer += oprot->writeDouble(this->stamina_inc_max_delta_factor); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("player_decay_delta_min", ::apache::thrift::protocol::T_DOUBLE, 9); + xfer += oprot->writeDouble(this->player_decay_delta_min); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("player_decay_delta_max", ::apache::thrift::protocol::T_DOUBLE, 10); + xfer += oprot->writeDouble(this->player_decay_delta_max); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("inertia_moment_delta_factor", ::apache::thrift::protocol::T_DOUBLE, 11); + xfer += oprot->writeDouble(this->inertia_moment_delta_factor); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("dash_power_rate_delta_min", ::apache::thrift::protocol::T_DOUBLE, 12); + xfer += oprot->writeDouble(this->dash_power_rate_delta_min); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("dash_power_rate_delta_max", ::apache::thrift::protocol::T_DOUBLE, 13); + xfer += oprot->writeDouble(this->dash_power_rate_delta_max); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("player_size_delta_factor", ::apache::thrift::protocol::T_DOUBLE, 14); + xfer += oprot->writeDouble(this->player_size_delta_factor); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("kickable_margin_delta_min", ::apache::thrift::protocol::T_DOUBLE, 15); + xfer += oprot->writeDouble(this->kickable_margin_delta_min); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("kickable_margin_delta_max", ::apache::thrift::protocol::T_DOUBLE, 16); + xfer += oprot->writeDouble(this->kickable_margin_delta_max); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("kick_rand_delta_factor", ::apache::thrift::protocol::T_DOUBLE, 17); + xfer += oprot->writeDouble(this->kick_rand_delta_factor); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("extra_stamina_delta_min", ::apache::thrift::protocol::T_DOUBLE, 18); + xfer += oprot->writeDouble(this->extra_stamina_delta_min); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("extra_stamina_delta_max", ::apache::thrift::protocol::T_DOUBLE, 19); + xfer += oprot->writeDouble(this->extra_stamina_delta_max); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("effort_max_delta_factor", ::apache::thrift::protocol::T_DOUBLE, 20); + xfer += oprot->writeDouble(this->effort_max_delta_factor); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("effort_min_delta_factor", ::apache::thrift::protocol::T_DOUBLE, 21); + xfer += oprot->writeDouble(this->effort_min_delta_factor); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("random_seed", ::apache::thrift::protocol::T_I32, 22); + xfer += oprot->writeI32(this->random_seed); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("new_dash_power_rate_delta_min", ::apache::thrift::protocol::T_DOUBLE, 23); + xfer += oprot->writeDouble(this->new_dash_power_rate_delta_min); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("new_dash_power_rate_delta_max", ::apache::thrift::protocol::T_DOUBLE, 24); + xfer += oprot->writeDouble(this->new_dash_power_rate_delta_max); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("new_stamina_inc_max_delta_factor", ::apache::thrift::protocol::T_DOUBLE, 25); + xfer += oprot->writeDouble(this->new_stamina_inc_max_delta_factor); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("kick_power_rate_delta_min", ::apache::thrift::protocol::T_DOUBLE, 26); + xfer += oprot->writeDouble(this->kick_power_rate_delta_min); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("kick_power_rate_delta_max", ::apache::thrift::protocol::T_DOUBLE, 27); + xfer += oprot->writeDouble(this->kick_power_rate_delta_max); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("foul_detect_probability_delta_factor", ::apache::thrift::protocol::T_DOUBLE, 28); + xfer += oprot->writeDouble(this->foul_detect_probability_delta_factor); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("catchable_area_l_stretch_min", ::apache::thrift::protocol::T_DOUBLE, 29); + xfer += oprot->writeDouble(this->catchable_area_l_stretch_min); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("catchable_area_l_stretch_max", ::apache::thrift::protocol::T_DOUBLE, 30); + xfer += oprot->writeDouble(this->catchable_area_l_stretch_max); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(PlayerParam &a, PlayerParam &b) { + using ::std::swap; + swap(a.register_response, b.register_response); + swap(a.player_types, b.player_types); + swap(a.subs_max, b.subs_max); + swap(a.pt_max, b.pt_max); + swap(a.allow_mult_default_type, b.allow_mult_default_type); + swap(a.player_speed_max_delta_min, b.player_speed_max_delta_min); + swap(a.player_speed_max_delta_max, b.player_speed_max_delta_max); + swap(a.stamina_inc_max_delta_factor, b.stamina_inc_max_delta_factor); + swap(a.player_decay_delta_min, b.player_decay_delta_min); + swap(a.player_decay_delta_max, b.player_decay_delta_max); + swap(a.inertia_moment_delta_factor, b.inertia_moment_delta_factor); + swap(a.dash_power_rate_delta_min, b.dash_power_rate_delta_min); + swap(a.dash_power_rate_delta_max, b.dash_power_rate_delta_max); + swap(a.player_size_delta_factor, b.player_size_delta_factor); + swap(a.kickable_margin_delta_min, b.kickable_margin_delta_min); + swap(a.kickable_margin_delta_max, b.kickable_margin_delta_max); + swap(a.kick_rand_delta_factor, b.kick_rand_delta_factor); + swap(a.extra_stamina_delta_min, b.extra_stamina_delta_min); + swap(a.extra_stamina_delta_max, b.extra_stamina_delta_max); + swap(a.effort_max_delta_factor, b.effort_max_delta_factor); + swap(a.effort_min_delta_factor, b.effort_min_delta_factor); + swap(a.random_seed, b.random_seed); + swap(a.new_dash_power_rate_delta_min, b.new_dash_power_rate_delta_min); + swap(a.new_dash_power_rate_delta_max, b.new_dash_power_rate_delta_max); + swap(a.new_stamina_inc_max_delta_factor, b.new_stamina_inc_max_delta_factor); + swap(a.kick_power_rate_delta_min, b.kick_power_rate_delta_min); + swap(a.kick_power_rate_delta_max, b.kick_power_rate_delta_max); + swap(a.foul_detect_probability_delta_factor, b.foul_detect_probability_delta_factor); + swap(a.catchable_area_l_stretch_min, b.catchable_area_l_stretch_min); + swap(a.catchable_area_l_stretch_max, b.catchable_area_l_stretch_max); + swap(a.__isset, b.__isset); +} + +PlayerParam::PlayerParam(const PlayerParam& other335) { + register_response = other335.register_response; + player_types = other335.player_types; + subs_max = other335.subs_max; + pt_max = other335.pt_max; + allow_mult_default_type = other335.allow_mult_default_type; + player_speed_max_delta_min = other335.player_speed_max_delta_min; + player_speed_max_delta_max = other335.player_speed_max_delta_max; + stamina_inc_max_delta_factor = other335.stamina_inc_max_delta_factor; + player_decay_delta_min = other335.player_decay_delta_min; + player_decay_delta_max = other335.player_decay_delta_max; + inertia_moment_delta_factor = other335.inertia_moment_delta_factor; + dash_power_rate_delta_min = other335.dash_power_rate_delta_min; + dash_power_rate_delta_max = other335.dash_power_rate_delta_max; + player_size_delta_factor = other335.player_size_delta_factor; + kickable_margin_delta_min = other335.kickable_margin_delta_min; + kickable_margin_delta_max = other335.kickable_margin_delta_max; + kick_rand_delta_factor = other335.kick_rand_delta_factor; + extra_stamina_delta_min = other335.extra_stamina_delta_min; + extra_stamina_delta_max = other335.extra_stamina_delta_max; + effort_max_delta_factor = other335.effort_max_delta_factor; + effort_min_delta_factor = other335.effort_min_delta_factor; + random_seed = other335.random_seed; + new_dash_power_rate_delta_min = other335.new_dash_power_rate_delta_min; + new_dash_power_rate_delta_max = other335.new_dash_power_rate_delta_max; + new_stamina_inc_max_delta_factor = other335.new_stamina_inc_max_delta_factor; + kick_power_rate_delta_min = other335.kick_power_rate_delta_min; + kick_power_rate_delta_max = other335.kick_power_rate_delta_max; + foul_detect_probability_delta_factor = other335.foul_detect_probability_delta_factor; + catchable_area_l_stretch_min = other335.catchable_area_l_stretch_min; + catchable_area_l_stretch_max = other335.catchable_area_l_stretch_max; + __isset = other335.__isset; +} +PlayerParam& PlayerParam::operator=(const PlayerParam& other336) { + register_response = other336.register_response; + player_types = other336.player_types; + subs_max = other336.subs_max; + pt_max = other336.pt_max; + allow_mult_default_type = other336.allow_mult_default_type; + player_speed_max_delta_min = other336.player_speed_max_delta_min; + player_speed_max_delta_max = other336.player_speed_max_delta_max; + stamina_inc_max_delta_factor = other336.stamina_inc_max_delta_factor; + player_decay_delta_min = other336.player_decay_delta_min; + player_decay_delta_max = other336.player_decay_delta_max; + inertia_moment_delta_factor = other336.inertia_moment_delta_factor; + dash_power_rate_delta_min = other336.dash_power_rate_delta_min; + dash_power_rate_delta_max = other336.dash_power_rate_delta_max; + player_size_delta_factor = other336.player_size_delta_factor; + kickable_margin_delta_min = other336.kickable_margin_delta_min; + kickable_margin_delta_max = other336.kickable_margin_delta_max; + kick_rand_delta_factor = other336.kick_rand_delta_factor; + extra_stamina_delta_min = other336.extra_stamina_delta_min; + extra_stamina_delta_max = other336.extra_stamina_delta_max; + effort_max_delta_factor = other336.effort_max_delta_factor; + effort_min_delta_factor = other336.effort_min_delta_factor; + random_seed = other336.random_seed; + new_dash_power_rate_delta_min = other336.new_dash_power_rate_delta_min; + new_dash_power_rate_delta_max = other336.new_dash_power_rate_delta_max; + new_stamina_inc_max_delta_factor = other336.new_stamina_inc_max_delta_factor; + kick_power_rate_delta_min = other336.kick_power_rate_delta_min; + kick_power_rate_delta_max = other336.kick_power_rate_delta_max; + foul_detect_probability_delta_factor = other336.foul_detect_probability_delta_factor; + catchable_area_l_stretch_min = other336.catchable_area_l_stretch_min; + catchable_area_l_stretch_max = other336.catchable_area_l_stretch_max; + __isset = other336.__isset; + return *this; +} +void PlayerParam::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "PlayerParam("; + out << "register_response=" << to_string(register_response); + out << ", " << "player_types=" << to_string(player_types); + out << ", " << "subs_max=" << to_string(subs_max); + out << ", " << "pt_max=" << to_string(pt_max); + out << ", " << "allow_mult_default_type=" << to_string(allow_mult_default_type); + out << ", " << "player_speed_max_delta_min=" << to_string(player_speed_max_delta_min); + out << ", " << "player_speed_max_delta_max=" << to_string(player_speed_max_delta_max); + out << ", " << "stamina_inc_max_delta_factor=" << to_string(stamina_inc_max_delta_factor); + out << ", " << "player_decay_delta_min=" << to_string(player_decay_delta_min); + out << ", " << "player_decay_delta_max=" << to_string(player_decay_delta_max); + out << ", " << "inertia_moment_delta_factor=" << to_string(inertia_moment_delta_factor); + out << ", " << "dash_power_rate_delta_min=" << to_string(dash_power_rate_delta_min); + out << ", " << "dash_power_rate_delta_max=" << to_string(dash_power_rate_delta_max); + out << ", " << "player_size_delta_factor=" << to_string(player_size_delta_factor); + out << ", " << "kickable_margin_delta_min=" << to_string(kickable_margin_delta_min); + out << ", " << "kickable_margin_delta_max=" << to_string(kickable_margin_delta_max); + out << ", " << "kick_rand_delta_factor=" << to_string(kick_rand_delta_factor); + out << ", " << "extra_stamina_delta_min=" << to_string(extra_stamina_delta_min); + out << ", " << "extra_stamina_delta_max=" << to_string(extra_stamina_delta_max); + out << ", " << "effort_max_delta_factor=" << to_string(effort_max_delta_factor); + out << ", " << "effort_min_delta_factor=" << to_string(effort_min_delta_factor); + out << ", " << "random_seed=" << to_string(random_seed); + out << ", " << "new_dash_power_rate_delta_min=" << to_string(new_dash_power_rate_delta_min); + out << ", " << "new_dash_power_rate_delta_max=" << to_string(new_dash_power_rate_delta_max); + out << ", " << "new_stamina_inc_max_delta_factor=" << to_string(new_stamina_inc_max_delta_factor); + out << ", " << "kick_power_rate_delta_min=" << to_string(kick_power_rate_delta_min); + out << ", " << "kick_power_rate_delta_max=" << to_string(kick_power_rate_delta_max); + out << ", " << "foul_detect_probability_delta_factor=" << to_string(foul_detect_probability_delta_factor); + out << ", " << "catchable_area_l_stretch_min=" << to_string(catchable_area_l_stretch_min); + out << ", " << "catchable_area_l_stretch_max=" << to_string(catchable_area_l_stretch_max); + out << ")"; +} + + +PlayerType::~PlayerType() noexcept { +} + + +void PlayerType::__set_register_response(const RegisterResponse& val) { + this->register_response = val; +} + +void PlayerType::__set_id(const int32_t val) { + this->id = val; +} + +void PlayerType::__set_stamina_inc_max(const double val) { + this->stamina_inc_max = val; +} + +void PlayerType::__set_player_decay(const double val) { + this->player_decay = val; +} + +void PlayerType::__set_inertia_moment(const double val) { + this->inertia_moment = val; +} + +void PlayerType::__set_dash_power_rate(const double val) { + this->dash_power_rate = val; +} + +void PlayerType::__set_player_size(const double val) { + this->player_size = val; +} + +void PlayerType::__set_kickable_margin(const double val) { + this->kickable_margin = val; +} + +void PlayerType::__set_kick_rand(const double val) { + this->kick_rand = val; +} + +void PlayerType::__set_extra_stamina(const double val) { + this->extra_stamina = val; +} + +void PlayerType::__set_effort_max(const double val) { + this->effort_max = val; +} + +void PlayerType::__set_effort_min(const double val) { + this->effort_min = val; +} + +void PlayerType::__set_kick_power_rate(const double val) { + this->kick_power_rate = val; +} + +void PlayerType::__set_foul_detect_probability(const double val) { + this->foul_detect_probability = val; +} + +void PlayerType::__set_catchable_area_l_stretch(const double val) { + this->catchable_area_l_stretch = val; +} + +void PlayerType::__set_unum_far_length(const double val) { + this->unum_far_length = val; +} + +void PlayerType::__set_unum_too_far_length(const double val) { + this->unum_too_far_length = val; +} + +void PlayerType::__set_team_far_length(const double val) { + this->team_far_length = val; +} + +void PlayerType::__set_team_too_far_length(const double val) { + this->team_too_far_length = val; +} + +void PlayerType::__set_player_max_observation_length(const double val) { + this->player_max_observation_length = val; +} + +void PlayerType::__set_ball_vel_far_length(const double val) { + this->ball_vel_far_length = val; +} + +void PlayerType::__set_ball_vel_too_far_length(const double val) { + this->ball_vel_too_far_length = val; +} + +void PlayerType::__set_ball_max_observation_length(const double val) { + this->ball_max_observation_length = val; +} + +void PlayerType::__set_flag_chg_far_length(const double val) { + this->flag_chg_far_length = val; +} + +void PlayerType::__set_flag_chg_too_far_length(const double val) { + this->flag_chg_too_far_length = val; +} + +void PlayerType::__set_flag_max_observation_length(const double val) { + this->flag_max_observation_length = val; +} + +void PlayerType::__set_kickable_area(const double val) { + this->kickable_area = val; +} + +void PlayerType::__set_reliable_catchable_dist(const double val) { + this->reliable_catchable_dist = val; +} + +void PlayerType::__set_max_catchable_dist(const double val) { + this->max_catchable_dist = val; +} + +void PlayerType::__set_real_speed_max(const double val) { + this->real_speed_max = val; +} + +void PlayerType::__set_player_speed_max2(const double val) { + this->player_speed_max2 = val; +} + +void PlayerType::__set_real_speed_max2(const double val) { + this->real_speed_max2 = val; +} + +void PlayerType::__set_cycles_to_reach_max_speed(const int32_t val) { + this->cycles_to_reach_max_speed = val; +} + +void PlayerType::__set_player_speed_max(const double val) { + this->player_speed_max = val; +} +std::ostream& operator<<(std::ostream& out, const PlayerType& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t PlayerType::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->register_response.read(iprot); + this->__isset.register_response = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->id); + this->__isset.id = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->stamina_inc_max); + this->__isset.stamina_inc_max = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->player_decay); + this->__isset.player_decay = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->inertia_moment); + this->__isset.inertia_moment = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->dash_power_rate); + this->__isset.dash_power_rate = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 7: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->player_size); + this->__isset.player_size = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 8: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->kickable_margin); + this->__isset.kickable_margin = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 9: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->kick_rand); + this->__isset.kick_rand = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 10: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->extra_stamina); + this->__isset.extra_stamina = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 11: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->effort_max); + this->__isset.effort_max = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 12: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->effort_min); + this->__isset.effort_min = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 13: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->kick_power_rate); + this->__isset.kick_power_rate = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 14: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->foul_detect_probability); + this->__isset.foul_detect_probability = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 15: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->catchable_area_l_stretch); + this->__isset.catchable_area_l_stretch = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 16: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->unum_far_length); + this->__isset.unum_far_length = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 17: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->unum_too_far_length); + this->__isset.unum_too_far_length = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 18: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->team_far_length); + this->__isset.team_far_length = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 19: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->team_too_far_length); + this->__isset.team_too_far_length = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 20: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->player_max_observation_length); + this->__isset.player_max_observation_length = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 21: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->ball_vel_far_length); + this->__isset.ball_vel_far_length = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 22: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->ball_vel_too_far_length); + this->__isset.ball_vel_too_far_length = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 23: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->ball_max_observation_length); + this->__isset.ball_max_observation_length = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 24: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->flag_chg_far_length); + this->__isset.flag_chg_far_length = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 25: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->flag_chg_too_far_length); + this->__isset.flag_chg_too_far_length = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 26: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->flag_max_observation_length); + this->__isset.flag_max_observation_length = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 27: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->kickable_area); + this->__isset.kickable_area = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 28: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->reliable_catchable_dist); + this->__isset.reliable_catchable_dist = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 29: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->max_catchable_dist); + this->__isset.max_catchable_dist = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 30: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->real_speed_max); + this->__isset.real_speed_max = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 31: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->player_speed_max2); + this->__isset.player_speed_max2 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 32: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->real_speed_max2); + this->__isset.real_speed_max2 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 33: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->cycles_to_reach_max_speed); + this->__isset.cycles_to_reach_max_speed = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 34: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->player_speed_max); + this->__isset.player_speed_max = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t PlayerType::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("PlayerType"); + + xfer += oprot->writeFieldBegin("register_response", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->register_response.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("id", ::apache::thrift::protocol::T_I32, 2); + xfer += oprot->writeI32(this->id); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("stamina_inc_max", ::apache::thrift::protocol::T_DOUBLE, 3); + xfer += oprot->writeDouble(this->stamina_inc_max); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("player_decay", ::apache::thrift::protocol::T_DOUBLE, 4); + xfer += oprot->writeDouble(this->player_decay); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("inertia_moment", ::apache::thrift::protocol::T_DOUBLE, 5); + xfer += oprot->writeDouble(this->inertia_moment); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("dash_power_rate", ::apache::thrift::protocol::T_DOUBLE, 6); + xfer += oprot->writeDouble(this->dash_power_rate); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("player_size", ::apache::thrift::protocol::T_DOUBLE, 7); + xfer += oprot->writeDouble(this->player_size); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("kickable_margin", ::apache::thrift::protocol::T_DOUBLE, 8); + xfer += oprot->writeDouble(this->kickable_margin); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("kick_rand", ::apache::thrift::protocol::T_DOUBLE, 9); + xfer += oprot->writeDouble(this->kick_rand); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("extra_stamina", ::apache::thrift::protocol::T_DOUBLE, 10); + xfer += oprot->writeDouble(this->extra_stamina); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("effort_max", ::apache::thrift::protocol::T_DOUBLE, 11); + xfer += oprot->writeDouble(this->effort_max); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("effort_min", ::apache::thrift::protocol::T_DOUBLE, 12); + xfer += oprot->writeDouble(this->effort_min); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("kick_power_rate", ::apache::thrift::protocol::T_DOUBLE, 13); + xfer += oprot->writeDouble(this->kick_power_rate); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("foul_detect_probability", ::apache::thrift::protocol::T_DOUBLE, 14); + xfer += oprot->writeDouble(this->foul_detect_probability); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("catchable_area_l_stretch", ::apache::thrift::protocol::T_DOUBLE, 15); + xfer += oprot->writeDouble(this->catchable_area_l_stretch); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("unum_far_length", ::apache::thrift::protocol::T_DOUBLE, 16); + xfer += oprot->writeDouble(this->unum_far_length); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("unum_too_far_length", ::apache::thrift::protocol::T_DOUBLE, 17); + xfer += oprot->writeDouble(this->unum_too_far_length); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("team_far_length", ::apache::thrift::protocol::T_DOUBLE, 18); + xfer += oprot->writeDouble(this->team_far_length); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("team_too_far_length", ::apache::thrift::protocol::T_DOUBLE, 19); + xfer += oprot->writeDouble(this->team_too_far_length); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("player_max_observation_length", ::apache::thrift::protocol::T_DOUBLE, 20); + xfer += oprot->writeDouble(this->player_max_observation_length); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("ball_vel_far_length", ::apache::thrift::protocol::T_DOUBLE, 21); + xfer += oprot->writeDouble(this->ball_vel_far_length); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("ball_vel_too_far_length", ::apache::thrift::protocol::T_DOUBLE, 22); + xfer += oprot->writeDouble(this->ball_vel_too_far_length); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("ball_max_observation_length", ::apache::thrift::protocol::T_DOUBLE, 23); + xfer += oprot->writeDouble(this->ball_max_observation_length); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("flag_chg_far_length", ::apache::thrift::protocol::T_DOUBLE, 24); + xfer += oprot->writeDouble(this->flag_chg_far_length); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("flag_chg_too_far_length", ::apache::thrift::protocol::T_DOUBLE, 25); + xfer += oprot->writeDouble(this->flag_chg_too_far_length); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("flag_max_observation_length", ::apache::thrift::protocol::T_DOUBLE, 26); + xfer += oprot->writeDouble(this->flag_max_observation_length); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("kickable_area", ::apache::thrift::protocol::T_DOUBLE, 27); + xfer += oprot->writeDouble(this->kickable_area); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("reliable_catchable_dist", ::apache::thrift::protocol::T_DOUBLE, 28); + xfer += oprot->writeDouble(this->reliable_catchable_dist); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("max_catchable_dist", ::apache::thrift::protocol::T_DOUBLE, 29); + xfer += oprot->writeDouble(this->max_catchable_dist); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("real_speed_max", ::apache::thrift::protocol::T_DOUBLE, 30); + xfer += oprot->writeDouble(this->real_speed_max); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("player_speed_max2", ::apache::thrift::protocol::T_DOUBLE, 31); + xfer += oprot->writeDouble(this->player_speed_max2); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("real_speed_max2", ::apache::thrift::protocol::T_DOUBLE, 32); + xfer += oprot->writeDouble(this->real_speed_max2); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("cycles_to_reach_max_speed", ::apache::thrift::protocol::T_I32, 33); + xfer += oprot->writeI32(this->cycles_to_reach_max_speed); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("player_speed_max", ::apache::thrift::protocol::T_DOUBLE, 34); + xfer += oprot->writeDouble(this->player_speed_max); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(PlayerType &a, PlayerType &b) { + using ::std::swap; + swap(a.register_response, b.register_response); + swap(a.id, b.id); + swap(a.stamina_inc_max, b.stamina_inc_max); + swap(a.player_decay, b.player_decay); + swap(a.inertia_moment, b.inertia_moment); + swap(a.dash_power_rate, b.dash_power_rate); + swap(a.player_size, b.player_size); + swap(a.kickable_margin, b.kickable_margin); + swap(a.kick_rand, b.kick_rand); + swap(a.extra_stamina, b.extra_stamina); + swap(a.effort_max, b.effort_max); + swap(a.effort_min, b.effort_min); + swap(a.kick_power_rate, b.kick_power_rate); + swap(a.foul_detect_probability, b.foul_detect_probability); + swap(a.catchable_area_l_stretch, b.catchable_area_l_stretch); + swap(a.unum_far_length, b.unum_far_length); + swap(a.unum_too_far_length, b.unum_too_far_length); + swap(a.team_far_length, b.team_far_length); + swap(a.team_too_far_length, b.team_too_far_length); + swap(a.player_max_observation_length, b.player_max_observation_length); + swap(a.ball_vel_far_length, b.ball_vel_far_length); + swap(a.ball_vel_too_far_length, b.ball_vel_too_far_length); + swap(a.ball_max_observation_length, b.ball_max_observation_length); + swap(a.flag_chg_far_length, b.flag_chg_far_length); + swap(a.flag_chg_too_far_length, b.flag_chg_too_far_length); + swap(a.flag_max_observation_length, b.flag_max_observation_length); + swap(a.kickable_area, b.kickable_area); + swap(a.reliable_catchable_dist, b.reliable_catchable_dist); + swap(a.max_catchable_dist, b.max_catchable_dist); + swap(a.real_speed_max, b.real_speed_max); + swap(a.player_speed_max2, b.player_speed_max2); + swap(a.real_speed_max2, b.real_speed_max2); + swap(a.cycles_to_reach_max_speed, b.cycles_to_reach_max_speed); + swap(a.player_speed_max, b.player_speed_max); + swap(a.__isset, b.__isset); +} + +PlayerType::PlayerType(const PlayerType& other337) { + register_response = other337.register_response; + id = other337.id; + stamina_inc_max = other337.stamina_inc_max; + player_decay = other337.player_decay; + inertia_moment = other337.inertia_moment; + dash_power_rate = other337.dash_power_rate; + player_size = other337.player_size; + kickable_margin = other337.kickable_margin; + kick_rand = other337.kick_rand; + extra_stamina = other337.extra_stamina; + effort_max = other337.effort_max; + effort_min = other337.effort_min; + kick_power_rate = other337.kick_power_rate; + foul_detect_probability = other337.foul_detect_probability; + catchable_area_l_stretch = other337.catchable_area_l_stretch; + unum_far_length = other337.unum_far_length; + unum_too_far_length = other337.unum_too_far_length; + team_far_length = other337.team_far_length; + team_too_far_length = other337.team_too_far_length; + player_max_observation_length = other337.player_max_observation_length; + ball_vel_far_length = other337.ball_vel_far_length; + ball_vel_too_far_length = other337.ball_vel_too_far_length; + ball_max_observation_length = other337.ball_max_observation_length; + flag_chg_far_length = other337.flag_chg_far_length; + flag_chg_too_far_length = other337.flag_chg_too_far_length; + flag_max_observation_length = other337.flag_max_observation_length; + kickable_area = other337.kickable_area; + reliable_catchable_dist = other337.reliable_catchable_dist; + max_catchable_dist = other337.max_catchable_dist; + real_speed_max = other337.real_speed_max; + player_speed_max2 = other337.player_speed_max2; + real_speed_max2 = other337.real_speed_max2; + cycles_to_reach_max_speed = other337.cycles_to_reach_max_speed; + player_speed_max = other337.player_speed_max; + __isset = other337.__isset; +} +PlayerType& PlayerType::operator=(const PlayerType& other338) { + register_response = other338.register_response; + id = other338.id; + stamina_inc_max = other338.stamina_inc_max; + player_decay = other338.player_decay; + inertia_moment = other338.inertia_moment; + dash_power_rate = other338.dash_power_rate; + player_size = other338.player_size; + kickable_margin = other338.kickable_margin; + kick_rand = other338.kick_rand; + extra_stamina = other338.extra_stamina; + effort_max = other338.effort_max; + effort_min = other338.effort_min; + kick_power_rate = other338.kick_power_rate; + foul_detect_probability = other338.foul_detect_probability; + catchable_area_l_stretch = other338.catchable_area_l_stretch; + unum_far_length = other338.unum_far_length; + unum_too_far_length = other338.unum_too_far_length; + team_far_length = other338.team_far_length; + team_too_far_length = other338.team_too_far_length; + player_max_observation_length = other338.player_max_observation_length; + ball_vel_far_length = other338.ball_vel_far_length; + ball_vel_too_far_length = other338.ball_vel_too_far_length; + ball_max_observation_length = other338.ball_max_observation_length; + flag_chg_far_length = other338.flag_chg_far_length; + flag_chg_too_far_length = other338.flag_chg_too_far_length; + flag_max_observation_length = other338.flag_max_observation_length; + kickable_area = other338.kickable_area; + reliable_catchable_dist = other338.reliable_catchable_dist; + max_catchable_dist = other338.max_catchable_dist; + real_speed_max = other338.real_speed_max; + player_speed_max2 = other338.player_speed_max2; + real_speed_max2 = other338.real_speed_max2; + cycles_to_reach_max_speed = other338.cycles_to_reach_max_speed; + player_speed_max = other338.player_speed_max; + __isset = other338.__isset; + return *this; +} +void PlayerType::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "PlayerType("; + out << "register_response=" << to_string(register_response); + out << ", " << "id=" << to_string(id); + out << ", " << "stamina_inc_max=" << to_string(stamina_inc_max); + out << ", " << "player_decay=" << to_string(player_decay); + out << ", " << "inertia_moment=" << to_string(inertia_moment); + out << ", " << "dash_power_rate=" << to_string(dash_power_rate); + out << ", " << "player_size=" << to_string(player_size); + out << ", " << "kickable_margin=" << to_string(kickable_margin); + out << ", " << "kick_rand=" << to_string(kick_rand); + out << ", " << "extra_stamina=" << to_string(extra_stamina); + out << ", " << "effort_max=" << to_string(effort_max); + out << ", " << "effort_min=" << to_string(effort_min); + out << ", " << "kick_power_rate=" << to_string(kick_power_rate); + out << ", " << "foul_detect_probability=" << to_string(foul_detect_probability); + out << ", " << "catchable_area_l_stretch=" << to_string(catchable_area_l_stretch); + out << ", " << "unum_far_length=" << to_string(unum_far_length); + out << ", " << "unum_too_far_length=" << to_string(unum_too_far_length); + out << ", " << "team_far_length=" << to_string(team_far_length); + out << ", " << "team_too_far_length=" << to_string(team_too_far_length); + out << ", " << "player_max_observation_length=" << to_string(player_max_observation_length); + out << ", " << "ball_vel_far_length=" << to_string(ball_vel_far_length); + out << ", " << "ball_vel_too_far_length=" << to_string(ball_vel_too_far_length); + out << ", " << "ball_max_observation_length=" << to_string(ball_max_observation_length); + out << ", " << "flag_chg_far_length=" << to_string(flag_chg_far_length); + out << ", " << "flag_chg_too_far_length=" << to_string(flag_chg_too_far_length); + out << ", " << "flag_max_observation_length=" << to_string(flag_max_observation_length); + out << ", " << "kickable_area=" << to_string(kickable_area); + out << ", " << "reliable_catchable_dist=" << to_string(reliable_catchable_dist); + out << ", " << "max_catchable_dist=" << to_string(max_catchable_dist); + out << ", " << "real_speed_max=" << to_string(real_speed_max); + out << ", " << "player_speed_max2=" << to_string(player_speed_max2); + out << ", " << "real_speed_max2=" << to_string(real_speed_max2); + out << ", " << "cycles_to_reach_max_speed=" << to_string(cycles_to_reach_max_speed); + out << ", " << "player_speed_max=" << to_string(player_speed_max); + out << ")"; +} + + +RpcCooperativeAction::~RpcCooperativeAction() noexcept { +} + + +void RpcCooperativeAction::__set_category(const RpcActionCategory::type val) { + this->category = val; +} + +void RpcCooperativeAction::__set_index(const int32_t val) { + this->index = val; +} + +void RpcCooperativeAction::__set_sender_unum(const int32_t val) { + this->sender_unum = val; +} + +void RpcCooperativeAction::__set_target_unum(const int32_t val) { + this->target_unum = val; +} + +void RpcCooperativeAction::__set_target_point(const RpcVector2D& val) { + this->target_point = val; +} + +void RpcCooperativeAction::__set_first_ball_speed(const double val) { + this->first_ball_speed = val; +} + +void RpcCooperativeAction::__set_first_turn_moment(const double val) { + this->first_turn_moment = val; +} + +void RpcCooperativeAction::__set_first_dash_power(const double val) { + this->first_dash_power = val; +} + +void RpcCooperativeAction::__set_first_dash_angle_relative(const double val) { + this->first_dash_angle_relative = val; +} + +void RpcCooperativeAction::__set_duration_step(const int32_t val) { + this->duration_step = val; +} + +void RpcCooperativeAction::__set_kick_count(const int32_t val) { + this->kick_count = val; +} + +void RpcCooperativeAction::__set_turn_count(const int32_t val) { + this->turn_count = val; +} + +void RpcCooperativeAction::__set_dash_count(const int32_t val) { + this->dash_count = val; +} + +void RpcCooperativeAction::__set_final_action(const bool val) { + this->final_action = val; +} + +void RpcCooperativeAction::__set_description(const std::string& val) { + this->description = val; +} + +void RpcCooperativeAction::__set_parent_index(const int32_t val) { + this->parent_index = val; +} +std::ostream& operator<<(std::ostream& out, const RpcCooperativeAction& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t RpcCooperativeAction::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast339; + xfer += iprot->readI32(ecast339); + this->category = static_cast(ecast339); + this->__isset.category = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->index); + this->__isset.index = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->sender_unum); + this->__isset.sender_unum = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->target_unum); + this->__isset.target_unum = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->target_point.read(iprot); + this->__isset.target_point = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->first_ball_speed); + this->__isset.first_ball_speed = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 7: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->first_turn_moment); + this->__isset.first_turn_moment = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 8: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->first_dash_power); + this->__isset.first_dash_power = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 9: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->first_dash_angle_relative); + this->__isset.first_dash_angle_relative = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 10: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->duration_step); + this->__isset.duration_step = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 11: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->kick_count); + this->__isset.kick_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 12: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->turn_count); + this->__isset.turn_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 13: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->dash_count); + this->__isset.dash_count = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 14: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->final_action); + this->__isset.final_action = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 15: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->description); + this->__isset.description = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 16: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->parent_index); + this->__isset.parent_index = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t RpcCooperativeAction::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("RpcCooperativeAction"); + + xfer += oprot->writeFieldBegin("category", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(static_cast(this->category)); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("index", ::apache::thrift::protocol::T_I32, 2); + xfer += oprot->writeI32(this->index); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("sender_unum", ::apache::thrift::protocol::T_I32, 3); + xfer += oprot->writeI32(this->sender_unum); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("target_unum", ::apache::thrift::protocol::T_I32, 4); + xfer += oprot->writeI32(this->target_unum); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("target_point", ::apache::thrift::protocol::T_STRUCT, 5); + xfer += this->target_point.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("first_ball_speed", ::apache::thrift::protocol::T_DOUBLE, 6); + xfer += oprot->writeDouble(this->first_ball_speed); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("first_turn_moment", ::apache::thrift::protocol::T_DOUBLE, 7); + xfer += oprot->writeDouble(this->first_turn_moment); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("first_dash_power", ::apache::thrift::protocol::T_DOUBLE, 8); + xfer += oprot->writeDouble(this->first_dash_power); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("first_dash_angle_relative", ::apache::thrift::protocol::T_DOUBLE, 9); + xfer += oprot->writeDouble(this->first_dash_angle_relative); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("duration_step", ::apache::thrift::protocol::T_I32, 10); + xfer += oprot->writeI32(this->duration_step); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("kick_count", ::apache::thrift::protocol::T_I32, 11); + xfer += oprot->writeI32(this->kick_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("turn_count", ::apache::thrift::protocol::T_I32, 12); + xfer += oprot->writeI32(this->turn_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("dash_count", ::apache::thrift::protocol::T_I32, 13); + xfer += oprot->writeI32(this->dash_count); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("final_action", ::apache::thrift::protocol::T_BOOL, 14); + xfer += oprot->writeBool(this->final_action); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("description", ::apache::thrift::protocol::T_STRING, 15); + xfer += oprot->writeString(this->description); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("parent_index", ::apache::thrift::protocol::T_I32, 16); + xfer += oprot->writeI32(this->parent_index); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(RpcCooperativeAction &a, RpcCooperativeAction &b) { + using ::std::swap; + swap(a.category, b.category); + swap(a.index, b.index); + swap(a.sender_unum, b.sender_unum); + swap(a.target_unum, b.target_unum); + swap(a.target_point, b.target_point); + swap(a.first_ball_speed, b.first_ball_speed); + swap(a.first_turn_moment, b.first_turn_moment); + swap(a.first_dash_power, b.first_dash_power); + swap(a.first_dash_angle_relative, b.first_dash_angle_relative); + swap(a.duration_step, b.duration_step); + swap(a.kick_count, b.kick_count); + swap(a.turn_count, b.turn_count); + swap(a.dash_count, b.dash_count); + swap(a.final_action, b.final_action); + swap(a.description, b.description); + swap(a.parent_index, b.parent_index); + swap(a.__isset, b.__isset); +} + +RpcCooperativeAction::RpcCooperativeAction(const RpcCooperativeAction& other340) { + category = other340.category; + index = other340.index; + sender_unum = other340.sender_unum; + target_unum = other340.target_unum; + target_point = other340.target_point; + first_ball_speed = other340.first_ball_speed; + first_turn_moment = other340.first_turn_moment; + first_dash_power = other340.first_dash_power; + first_dash_angle_relative = other340.first_dash_angle_relative; + duration_step = other340.duration_step; + kick_count = other340.kick_count; + turn_count = other340.turn_count; + dash_count = other340.dash_count; + final_action = other340.final_action; + description = other340.description; + parent_index = other340.parent_index; + __isset = other340.__isset; +} +RpcCooperativeAction& RpcCooperativeAction::operator=(const RpcCooperativeAction& other341) { + category = other341.category; + index = other341.index; + sender_unum = other341.sender_unum; + target_unum = other341.target_unum; + target_point = other341.target_point; + first_ball_speed = other341.first_ball_speed; + first_turn_moment = other341.first_turn_moment; + first_dash_power = other341.first_dash_power; + first_dash_angle_relative = other341.first_dash_angle_relative; + duration_step = other341.duration_step; + kick_count = other341.kick_count; + turn_count = other341.turn_count; + dash_count = other341.dash_count; + final_action = other341.final_action; + description = other341.description; + parent_index = other341.parent_index; + __isset = other341.__isset; + return *this; +} +void RpcCooperativeAction::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "RpcCooperativeAction("; + out << "category=" << to_string(category); + out << ", " << "index=" << to_string(index); + out << ", " << "sender_unum=" << to_string(sender_unum); + out << ", " << "target_unum=" << to_string(target_unum); + out << ", " << "target_point=" << to_string(target_point); + out << ", " << "first_ball_speed=" << to_string(first_ball_speed); + out << ", " << "first_turn_moment=" << to_string(first_turn_moment); + out << ", " << "first_dash_power=" << to_string(first_dash_power); + out << ", " << "first_dash_angle_relative=" << to_string(first_dash_angle_relative); + out << ", " << "duration_step=" << to_string(duration_step); + out << ", " << "kick_count=" << to_string(kick_count); + out << ", " << "turn_count=" << to_string(turn_count); + out << ", " << "dash_count=" << to_string(dash_count); + out << ", " << "final_action=" << to_string(final_action); + out << ", " << "description=" << to_string(description); + out << ", " << "parent_index=" << to_string(parent_index); + out << ")"; +} + + +RpcPredictState::~RpcPredictState() noexcept { +} + + +void RpcPredictState::__set_spend_time(const int32_t val) { + this->spend_time = val; +} + +void RpcPredictState::__set_ball_holder_unum(const int32_t val) { + this->ball_holder_unum = val; +} + +void RpcPredictState::__set_ball_position(const RpcVector2D& val) { + this->ball_position = val; +} + +void RpcPredictState::__set_ball_velocity(const RpcVector2D& val) { + this->ball_velocity = val; +} + +void RpcPredictState::__set_our_defense_line_x(const double val) { + this->our_defense_line_x = val; +} + +void RpcPredictState::__set_our_offense_line_x(const double val) { + this->our_offense_line_x = val; +} +std::ostream& operator<<(std::ostream& out, const RpcPredictState& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t RpcPredictState::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->spend_time); + this->__isset.spend_time = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->ball_holder_unum); + this->__isset.ball_holder_unum = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ball_position.read(iprot); + this->__isset.ball_position = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ball_velocity.read(iprot); + this->__isset.ball_velocity = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->our_defense_line_x); + this->__isset.our_defense_line_x = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->our_offense_line_x); + this->__isset.our_offense_line_x = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t RpcPredictState::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("RpcPredictState"); + + xfer += oprot->writeFieldBegin("spend_time", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(this->spend_time); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("ball_holder_unum", ::apache::thrift::protocol::T_I32, 2); + xfer += oprot->writeI32(this->ball_holder_unum); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("ball_position", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->ball_position.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("ball_velocity", ::apache::thrift::protocol::T_STRUCT, 4); + xfer += this->ball_velocity.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("our_defense_line_x", ::apache::thrift::protocol::T_DOUBLE, 5); + xfer += oprot->writeDouble(this->our_defense_line_x); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("our_offense_line_x", ::apache::thrift::protocol::T_DOUBLE, 6); + xfer += oprot->writeDouble(this->our_offense_line_x); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(RpcPredictState &a, RpcPredictState &b) { + using ::std::swap; + swap(a.spend_time, b.spend_time); + swap(a.ball_holder_unum, b.ball_holder_unum); + swap(a.ball_position, b.ball_position); + swap(a.ball_velocity, b.ball_velocity); + swap(a.our_defense_line_x, b.our_defense_line_x); + swap(a.our_offense_line_x, b.our_offense_line_x); + swap(a.__isset, b.__isset); +} + +RpcPredictState::RpcPredictState(const RpcPredictState& other342) noexcept { + spend_time = other342.spend_time; + ball_holder_unum = other342.ball_holder_unum; + ball_position = other342.ball_position; + ball_velocity = other342.ball_velocity; + our_defense_line_x = other342.our_defense_line_x; + our_offense_line_x = other342.our_offense_line_x; + __isset = other342.__isset; +} +RpcPredictState& RpcPredictState::operator=(const RpcPredictState& other343) noexcept { + spend_time = other343.spend_time; + ball_holder_unum = other343.ball_holder_unum; + ball_position = other343.ball_position; + ball_velocity = other343.ball_velocity; + our_defense_line_x = other343.our_defense_line_x; + our_offense_line_x = other343.our_offense_line_x; + __isset = other343.__isset; + return *this; +} +void RpcPredictState::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "RpcPredictState("; + out << "spend_time=" << to_string(spend_time); + out << ", " << "ball_holder_unum=" << to_string(ball_holder_unum); + out << ", " << "ball_position=" << to_string(ball_position); + out << ", " << "ball_velocity=" << to_string(ball_velocity); + out << ", " << "our_defense_line_x=" << to_string(our_defense_line_x); + out << ", " << "our_offense_line_x=" << to_string(our_offense_line_x); + out << ")"; +} + + +RpcActionState::~RpcActionState() noexcept { +} + + +void RpcActionState::__set_action(const RpcCooperativeAction& val) { + this->action = val; +} + +void RpcActionState::__set_predict_state(const RpcPredictState& val) { + this->predict_state = val; +} + +void RpcActionState::__set_evaluation(const double val) { + this->evaluation = val; +} +std::ostream& operator<<(std::ostream& out, const RpcActionState& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t RpcActionState::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->action.read(iprot); + this->__isset.action = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->predict_state.read(iprot); + this->__isset.predict_state = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->evaluation); + this->__isset.evaluation = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t RpcActionState::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("RpcActionState"); + + xfer += oprot->writeFieldBegin("action", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->action.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("predict_state", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->predict_state.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("evaluation", ::apache::thrift::protocol::T_DOUBLE, 3); + xfer += oprot->writeDouble(this->evaluation); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(RpcActionState &a, RpcActionState &b) { + using ::std::swap; + swap(a.action, b.action); + swap(a.predict_state, b.predict_state); + swap(a.evaluation, b.evaluation); + swap(a.__isset, b.__isset); +} + +RpcActionState::RpcActionState(const RpcActionState& other344) { + action = other344.action; + predict_state = other344.predict_state; + evaluation = other344.evaluation; + __isset = other344.__isset; +} +RpcActionState& RpcActionState::operator=(const RpcActionState& other345) { + action = other345.action; + predict_state = other345.predict_state; + evaluation = other345.evaluation; + __isset = other345.__isset; + return *this; +} +void RpcActionState::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "RpcActionState("; + out << "action=" << to_string(action); + out << ", " << "predict_state=" << to_string(predict_state); + out << ", " << "evaluation=" << to_string(evaluation); + out << ")"; +} + + +BestPlannerActionRequest::~BestPlannerActionRequest() noexcept { +} + + +void BestPlannerActionRequest::__set_register_response(const RegisterResponse& val) { + this->register_response = val; +} + +void BestPlannerActionRequest::__set_pairs(const std::map & val) { + this->pairs = val; +} + +void BestPlannerActionRequest::__set_state(const State& val) { + this->state = val; +} +std::ostream& operator<<(std::ostream& out, const BestPlannerActionRequest& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t BestPlannerActionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->register_response.read(iprot); + this->__isset.register_response = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_MAP) { + { + this->pairs.clear(); + uint32_t _size346; + ::apache::thrift::protocol::TType _ktype347; + ::apache::thrift::protocol::TType _vtype348; + xfer += iprot->readMapBegin(_ktype347, _vtype348, _size346); + uint32_t _i350; + for (_i350 = 0; _i350 < _size346; ++_i350) + { + int32_t _key351; + xfer += iprot->readI32(_key351); + RpcActionState& _val352 = this->pairs[_key351]; + xfer += _val352.read(iprot); + } + xfer += iprot->readMapEnd(); + } + this->__isset.pairs = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->state.read(iprot); + this->__isset.state = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t BestPlannerActionRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("BestPlannerActionRequest"); + + xfer += oprot->writeFieldBegin("register_response", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->register_response.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("pairs", ::apache::thrift::protocol::T_MAP, 2); + { + xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I32, ::apache::thrift::protocol::T_STRUCT, static_cast(this->pairs.size())); + std::map ::const_iterator _iter353; + for (_iter353 = this->pairs.begin(); _iter353 != this->pairs.end(); ++_iter353) + { + xfer += oprot->writeI32(_iter353->first); + xfer += _iter353->second.write(oprot); + } + xfer += oprot->writeMapEnd(); + } + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("state", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->state.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(BestPlannerActionRequest &a, BestPlannerActionRequest &b) { + using ::std::swap; + swap(a.register_response, b.register_response); + swap(a.pairs, b.pairs); + swap(a.state, b.state); + swap(a.__isset, b.__isset); +} + +BestPlannerActionRequest::BestPlannerActionRequest(const BestPlannerActionRequest& other354) { + register_response = other354.register_response; + pairs = other354.pairs; + state = other354.state; + __isset = other354.__isset; +} +BestPlannerActionRequest& BestPlannerActionRequest::operator=(const BestPlannerActionRequest& other355) { + register_response = other355.register_response; + pairs = other355.pairs; + state = other355.state; + __isset = other355.__isset; + return *this; +} +void BestPlannerActionRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "BestPlannerActionRequest("; + out << "register_response=" << to_string(register_response); + out << ", " << "pairs=" << to_string(pairs); + out << ", " << "state=" << to_string(state); + out << ")"; +} + + +BestPlannerActionResponse::~BestPlannerActionResponse() noexcept { +} + + +void BestPlannerActionResponse::__set_index(const int32_t val) { + this->index = val; +} +std::ostream& operator<<(std::ostream& out, const BestPlannerActionResponse& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t BestPlannerActionResponse::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->index); + this->__isset.index = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t BestPlannerActionResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("BestPlannerActionResponse"); + + xfer += oprot->writeFieldBegin("index", ::apache::thrift::protocol::T_I32, 1); + xfer += oprot->writeI32(this->index); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(BestPlannerActionResponse &a, BestPlannerActionResponse &b) { + using ::std::swap; + swap(a.index, b.index); + swap(a.__isset, b.__isset); +} + +BestPlannerActionResponse::BestPlannerActionResponse(const BestPlannerActionResponse& other356) noexcept { + index = other356.index; + __isset = other356.__isset; +} +BestPlannerActionResponse& BestPlannerActionResponse::operator=(const BestPlannerActionResponse& other357) noexcept { + index = other357.index; + __isset = other357.__isset; + return *this; +} +void BestPlannerActionResponse::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "BestPlannerActionResponse("; + out << "index=" << to_string(index); + out << ")"; +} + + +Empty::~Empty() noexcept { +} + +std::ostream& operator<<(std::ostream& out, const Empty& obj) +{ + obj.printTo(out); + return out; +} + + +uint32_t Empty::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Empty::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Empty"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(Empty &a, Empty &b) { + using ::std::swap; + (void) a; + (void) b; +} + +Empty::Empty(const Empty& other358) noexcept { + (void) other358; +} +Empty& Empty::operator=(const Empty& other359) noexcept { + (void) other359; + return *this; +} +void Empty::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "Empty("; + out << ")"; +} + +} // namespace diff --git a/idl/thrift/gen-cpp/soccer_service_types.h b/idl/thrift/gen-cpp/soccer_service_types.h new file mode 100644 index 0000000..9b4ca21 --- /dev/null +++ b/idl/thrift/gen-cpp/soccer_service_types.h @@ -0,0 +1,10416 @@ +/** + * Autogenerated by Thrift Compiler (0.16.0) + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +#ifndef soccer_service_TYPES_H +#define soccer_service_TYPES_H + +#include + +#include +#include +#include +#include +#include + +#include +#include + + +namespace soccer { + +struct ViewWidth { + enum type { + NARROW = 0, + NORMAL = 1, + WIDE = 2 + }; +}; + +extern const std::map _ViewWidth_VALUES_TO_NAMES; + +std::ostream& operator<<(std::ostream& out, const ViewWidth::type& val); + +std::string to_string(const ViewWidth::type& val); + +struct AgentType { + enum type { + PlayerT = 0, + CoachT = 1, + TrainerT = 2 + }; +}; + +extern const std::map _AgentType_VALUES_TO_NAMES; + +std::ostream& operator<<(std::ostream& out, const AgentType::type& val); + +std::string to_string(const AgentType::type& val); + +struct Side { + enum type { + UNKNOWN = 0, + LEFT = 1, + RIGHT = 2 + }; +}; + +extern const std::map _Side_VALUES_TO_NAMES; + +std::ostream& operator<<(std::ostream& out, const Side::type& val); + +std::string to_string(const Side::type& val); + +struct LoggerLevel { + enum type { + NoneLevel = 0, + SYSTEM = 1, + SENSOR = 2, + WORLD = 4, + ACTION = 8, + INTERCEPT = 16, + KICK = 32, + HOLD = 64, + DRIBBLE = 128, + PASS = 256, + CROSS = 512, + SHOOT = 1024, + CLEAR = 2048, + BLOCK = 4096, + MARK = 8192, + POSITIONING = 16384, + ROLE = 32768, + TEAM = 65536, + COMMUNICATION = 131072, + ANALYZER = 262144, + ACTION_CHAIN = 524288, + PLAN = 1048576 + }; +}; + +extern const std::map _LoggerLevel_VALUES_TO_NAMES; + +std::ostream& operator<<(std::ostream& out, const LoggerLevel::type& val); + +std::string to_string(const LoggerLevel::type& val); + +struct InterceptActionType { + enum type { + UNKNOWN_Intercept_Action_Type = 0, + OMNI_DASH = 1, + TURN_FORWARD_DASH = 2, + TURN_BACKWARD_DASH = 3 + }; +}; + +extern const std::map _InterceptActionType_VALUES_TO_NAMES; + +std::ostream& operator<<(std::ostream& out, const InterceptActionType::type& val); + +std::string to_string(const InterceptActionType::type& val); + +struct GameModeType { + enum type { + BeforeKickOff = 0, + TimeOver = 1, + PlayOn = 2, + KickOff_ = 3, + KickIn_ = 4, + FreeKick_ = 5, + CornerKick_ = 6, + GoalKick_ = 7, + AfterGoal_ = 8, + OffSide_ = 9, + PenaltyKick_ = 10, + FirstHalfOver = 11, + Pause = 12, + Human = 13, + FoulCharge_ = 14, + FoulPush_ = 15, + FoulMultipleAttacker_ = 16, + FoulBallOut_ = 17, + BackPass_ = 18, + FreeKickFault_ = 19, + CatchFault_ = 20, + IndFreeKick_ = 21, + PenaltySetup_ = 22, + PenaltyReady_ = 23, + PenaltyTaken_ = 24, + PenaltyMiss_ = 25, + PenaltyScore_ = 26, + IllegalDefense_ = 27, + PenaltyOnfield_ = 28, + PenaltyFoul_ = 29, + GoalieCatch_ = 30, + ExtendHalf = 31, + MODE_MAX = 32 + }; +}; + +extern const std::map _GameModeType_VALUES_TO_NAMES; + +std::ostream& operator<<(std::ostream& out, const GameModeType::type& val); + +std::string to_string(const GameModeType::type& val); + +struct RpcActionCategory { + enum type { + AC_Hold = 0, + AC_Dribble = 1, + AC_Pass = 2, + AC_Shoot = 3, + AC_Clear = 4, + AC_Move = 5, + AC_NoAction = 6 + }; +}; + +extern const std::map _RpcActionCategory_VALUES_TO_NAMES; + +std::ostream& operator<<(std::ostream& out, const RpcActionCategory::type& val); + +std::string to_string(const RpcActionCategory::type& val); + +class RpcVector2D; + +class RegisterRequest; + +class RegisterResponse; + +class Ball; + +class Player; + +class Self; + +class InterceptInfo; + +class InterceptTable; + +class WorldModel; + +class State; + +class InitMessage; + +class Dash; + +class Turn; + +class Kick; + +class Tackle; + +class Catch; + +class Move; + +class TurnNeck; + +class ChangeView; + +class BallMessage; + +class PassMessage; + +class InterceptMessage; + +class GoalieMessage; + +class GoalieAndPlayerMessage; + +class OffsideLineMessage; + +class DefenseLineMessage; + +class WaitRequestMessage; + +class SetplayMessage; + +class PassRequestMessage; + +class StaminaMessage; + +class RecoveryMessage; + +class StaminaCapacityMessage; + +class DribbleMessage; + +class BallGoalieMessage; + +class OnePlayerMessage; + +class TwoPlayerMessage; + +class ThreePlayerMessage; + +class SelfMessage; + +class TeammateMessage; + +class OpponentMessage; + +class BallPlayerMessage; + +class Say; + +class PointTo; + +class PointToOf; + +class AttentionTo; + +class AttentionToOf; + +class AddText; + +class AddPoint; + +class AddLine; + +class AddArc; + +class AddCircle; + +class AddTriangle; + +class AddRectangle; + +class AddSector; + +class AddMessage; + +class Log; + +class DebugClient; + +class Body_GoToPoint; + +class Body_SmartKick; + +class Bhv_BeforeKickOff; + +class Bhv_BodyNeckToBall; + +class Bhv_BodyNeckToPoint; + +class Bhv_Emergency; + +class Bhv_GoToPointLookBall; + +class Bhv_NeckBodyToBall; + +class Bhv_NeckBodyToPoint; + +class Bhv_ScanField; + +class Body_AdvanceBall; + +class Body_ClearBall; + +class Body_Dribble; + +class Body_GoToPointDodge; + +class Body_HoldBall; + +class Body_Intercept; + +class Body_KickOneStep; + +class Body_StopBall; + +class Body_StopDash; + +class Body_TackleToPoint; + +class Body_TurnToAngle; + +class Body_TurnToBall; + +class Body_TurnToPoint; + +class Focus_MoveToPoint; + +class Focus_Reset; + +class Neck_ScanField; + +class Neck_ScanPlayers; + +class Neck_TurnToBallAndPlayer; + +class Neck_TurnToBallOrScan; + +class Neck_TurnToBall; + +class Neck_TurnToGoalieOrScan; + +class Neck_TurnToLowConfTeammate; + +class Neck_TurnToPlayerOrScan; + +class Neck_TurnToPoint; + +class Neck_TurnToRelative; + +class View_ChangeWidth; + +class View_Normal; + +class View_Synch; + +class View_Wide; + +class HeliosGoalie; + +class HeliosGoalieMove; + +class HeliosGoalieKick; + +class HeliosShoot; + +class HeliosChainAction; + +class HeliosBasicOffensive; + +class HeliosBasicMove; + +class HeliosSetPlay; + +class HeliosPenalty; + +class HeliosCommunicaion; + +class PlayerAction; + +class PlayerActions; + +class ChangePlayerType; + +class DoHeliosSubstitute; + +class DoHeliosSayPlayerTypes; + +class CoachAction; + +class CoachActions; + +class DoKickOff; + +class DoMoveBall; + +class DoMovePlayer; + +class DoRecover; + +class DoChangeMode; + +class DoChangePlayerType; + +class TrainerAction; + +class TrainerActions; + +class ServerParam; + +class PlayerParam; + +class PlayerType; + +class RpcCooperativeAction; + +class RpcPredictState; + +class RpcActionState; + +class BestPlannerActionRequest; + +class BestPlannerActionResponse; + +class Empty; + +typedef struct _RpcVector2D__isset { + _RpcVector2D__isset() : x(false), y(false), dist(false), angle(false) {} + bool x :1; + bool y :1; + bool dist :1; + bool angle :1; +} _RpcVector2D__isset; + +class RpcVector2D : public virtual ::apache::thrift::TBase { + public: + + RpcVector2D(const RpcVector2D&) noexcept; + RpcVector2D& operator=(const RpcVector2D&) noexcept; + RpcVector2D() noexcept + : x(0), + y(0), + dist(0), + angle(0) { + } + + virtual ~RpcVector2D() noexcept; + double x; + double y; + double dist; + double angle; + + _RpcVector2D__isset __isset; + + void __set_x(const double val); + + void __set_y(const double val); + + void __set_dist(const double val); + + void __set_angle(const double val); + + bool operator == (const RpcVector2D & rhs) const + { + if (!(x == rhs.x)) + return false; + if (!(y == rhs.y)) + return false; + if (!(dist == rhs.dist)) + return false; + if (!(angle == rhs.angle)) + return false; + return true; + } + bool operator != (const RpcVector2D &rhs) const { + return !(*this == rhs); + } + + bool operator < (const RpcVector2D & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(RpcVector2D &a, RpcVector2D &b); + +std::ostream& operator<<(std::ostream& out, const RpcVector2D& obj); + +typedef struct _RegisterRequest__isset { + _RegisterRequest__isset() : agent_type(false), team_name(false), uniform_number(false) {} + bool agent_type :1; + bool team_name :1; + bool uniform_number :1; +} _RegisterRequest__isset; + +class RegisterRequest : public virtual ::apache::thrift::TBase { + public: + + RegisterRequest(const RegisterRequest&); + RegisterRequest& operator=(const RegisterRequest&); + RegisterRequest() noexcept + : agent_type(static_cast(0)), + team_name(), + uniform_number(0) { + } + + virtual ~RegisterRequest() noexcept; + /** + * + * @see AgentType + */ + AgentType::type agent_type; + std::string team_name; + int32_t uniform_number; + + _RegisterRequest__isset __isset; + + void __set_agent_type(const AgentType::type val); + + void __set_team_name(const std::string& val); + + void __set_uniform_number(const int32_t val); + + bool operator == (const RegisterRequest & rhs) const + { + if (!(agent_type == rhs.agent_type)) + return false; + if (!(team_name == rhs.team_name)) + return false; + if (!(uniform_number == rhs.uniform_number)) + return false; + return true; + } + bool operator != (const RegisterRequest &rhs) const { + return !(*this == rhs); + } + + bool operator < (const RegisterRequest & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(RegisterRequest &a, RegisterRequest &b); + +std::ostream& operator<<(std::ostream& out, const RegisterRequest& obj); + +typedef struct _RegisterResponse__isset { + _RegisterResponse__isset() : client_id(false), agent_type(false), team_name(false), uniform_number(false) {} + bool client_id :1; + bool agent_type :1; + bool team_name :1; + bool uniform_number :1; +} _RegisterResponse__isset; + +class RegisterResponse : public virtual ::apache::thrift::TBase { + public: + + RegisterResponse(const RegisterResponse&); + RegisterResponse& operator=(const RegisterResponse&); + RegisterResponse() noexcept + : client_id(0), + agent_type(static_cast(0)), + team_name(), + uniform_number(0) { + } + + virtual ~RegisterResponse() noexcept; + int32_t client_id; + /** + * + * @see AgentType + */ + AgentType::type agent_type; + std::string team_name; + int32_t uniform_number; + + _RegisterResponse__isset __isset; + + void __set_client_id(const int32_t val); + + void __set_agent_type(const AgentType::type val); + + void __set_team_name(const std::string& val); + + void __set_uniform_number(const int32_t val); + + bool operator == (const RegisterResponse & rhs) const + { + if (!(client_id == rhs.client_id)) + return false; + if (!(agent_type == rhs.agent_type)) + return false; + if (!(team_name == rhs.team_name)) + return false; + if (!(uniform_number == rhs.uniform_number)) + return false; + return true; + } + bool operator != (const RegisterResponse &rhs) const { + return !(*this == rhs); + } + + bool operator < (const RegisterResponse & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(RegisterResponse &a, RegisterResponse &b); + +std::ostream& operator<<(std::ostream& out, const RegisterResponse& obj); + +typedef struct _Ball__isset { + _Ball__isset() : position(false), relative_position(false), seen_position(false), heard_position(false), velocity(false), seen_velocity(false), heard_velocity(false), pos_count(false), seen_pos_count(false), heard_pos_count(false), vel_count(false), seen_vel_count(false), heard_vel_count(false), lost_count(false), ghost_count(false), dist_from_self(false), angle_from_self(false) {} + bool position :1; + bool relative_position :1; + bool seen_position :1; + bool heard_position :1; + bool velocity :1; + bool seen_velocity :1; + bool heard_velocity :1; + bool pos_count :1; + bool seen_pos_count :1; + bool heard_pos_count :1; + bool vel_count :1; + bool seen_vel_count :1; + bool heard_vel_count :1; + bool lost_count :1; + bool ghost_count :1; + bool dist_from_self :1; + bool angle_from_self :1; +} _Ball__isset; + +class Ball : public virtual ::apache::thrift::TBase { + public: + + Ball(const Ball&) noexcept; + Ball& operator=(const Ball&) noexcept; + Ball() noexcept + : pos_count(0), + seen_pos_count(0), + heard_pos_count(0), + vel_count(0), + seen_vel_count(0), + heard_vel_count(0), + lost_count(0), + ghost_count(0), + dist_from_self(0), + angle_from_self(0) { + } + + virtual ~Ball() noexcept; + RpcVector2D position; + RpcVector2D relative_position; + RpcVector2D seen_position; + RpcVector2D heard_position; + RpcVector2D velocity; + RpcVector2D seen_velocity; + RpcVector2D heard_velocity; + int32_t pos_count; + int32_t seen_pos_count; + int32_t heard_pos_count; + int32_t vel_count; + int32_t seen_vel_count; + int32_t heard_vel_count; + int32_t lost_count; + int32_t ghost_count; + double dist_from_self; + double angle_from_self; + + _Ball__isset __isset; + + void __set_position(const RpcVector2D& val); + + void __set_relative_position(const RpcVector2D& val); + + void __set_seen_position(const RpcVector2D& val); + + void __set_heard_position(const RpcVector2D& val); + + void __set_velocity(const RpcVector2D& val); + + void __set_seen_velocity(const RpcVector2D& val); + + void __set_heard_velocity(const RpcVector2D& val); + + void __set_pos_count(const int32_t val); + + void __set_seen_pos_count(const int32_t val); + + void __set_heard_pos_count(const int32_t val); + + void __set_vel_count(const int32_t val); + + void __set_seen_vel_count(const int32_t val); + + void __set_heard_vel_count(const int32_t val); + + void __set_lost_count(const int32_t val); + + void __set_ghost_count(const int32_t val); + + void __set_dist_from_self(const double val); + + void __set_angle_from_self(const double val); + + bool operator == (const Ball & rhs) const + { + if (!(position == rhs.position)) + return false; + if (!(relative_position == rhs.relative_position)) + return false; + if (!(seen_position == rhs.seen_position)) + return false; + if (!(heard_position == rhs.heard_position)) + return false; + if (!(velocity == rhs.velocity)) + return false; + if (!(seen_velocity == rhs.seen_velocity)) + return false; + if (!(heard_velocity == rhs.heard_velocity)) + return false; + if (!(pos_count == rhs.pos_count)) + return false; + if (!(seen_pos_count == rhs.seen_pos_count)) + return false; + if (!(heard_pos_count == rhs.heard_pos_count)) + return false; + if (!(vel_count == rhs.vel_count)) + return false; + if (!(seen_vel_count == rhs.seen_vel_count)) + return false; + if (!(heard_vel_count == rhs.heard_vel_count)) + return false; + if (!(lost_count == rhs.lost_count)) + return false; + if (!(ghost_count == rhs.ghost_count)) + return false; + if (!(dist_from_self == rhs.dist_from_self)) + return false; + if (!(angle_from_self == rhs.angle_from_self)) + return false; + return true; + } + bool operator != (const Ball &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Ball & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Ball &a, Ball &b); + +std::ostream& operator<<(std::ostream& out, const Ball& obj); + +typedef struct _Player__isset { + _Player__isset() : position(false), seen_position(false), heard_position(false), velocity(false), seen_velocity(false), pos_count(false), seen_pos_count(false), heard_pos_count(false), vel_count(false), seen_vel_count(false), ghost_count(false), dist_from_self(false), angle_from_self(false), id(false), side(false), uniform_number(false), uniform_number_count(false), is_goalie(false), body_direction(false), body_direction_count(false), face_direction(false), face_direction_count(false), point_to_direction(false), point_to_direction_count(false), is_kicking(false), dist_from_ball(false), angle_from_ball(false), ball_reach_steps(false), is_tackling(false), type_id(false) {} + bool position :1; + bool seen_position :1; + bool heard_position :1; + bool velocity :1; + bool seen_velocity :1; + bool pos_count :1; + bool seen_pos_count :1; + bool heard_pos_count :1; + bool vel_count :1; + bool seen_vel_count :1; + bool ghost_count :1; + bool dist_from_self :1; + bool angle_from_self :1; + bool id :1; + bool side :1; + bool uniform_number :1; + bool uniform_number_count :1; + bool is_goalie :1; + bool body_direction :1; + bool body_direction_count :1; + bool face_direction :1; + bool face_direction_count :1; + bool point_to_direction :1; + bool point_to_direction_count :1; + bool is_kicking :1; + bool dist_from_ball :1; + bool angle_from_ball :1; + bool ball_reach_steps :1; + bool is_tackling :1; + bool type_id :1; +} _Player__isset; + +class Player : public virtual ::apache::thrift::TBase { + public: + + Player(const Player&) noexcept; + Player& operator=(const Player&) noexcept; + Player() noexcept + : pos_count(0), + seen_pos_count(0), + heard_pos_count(0), + vel_count(0), + seen_vel_count(0), + ghost_count(0), + dist_from_self(0), + angle_from_self(0), + id(0), + side(static_cast(0)), + uniform_number(0), + uniform_number_count(0), + is_goalie(0), + body_direction(0), + body_direction_count(0), + face_direction(0), + face_direction_count(0), + point_to_direction(0), + point_to_direction_count(0), + is_kicking(0), + dist_from_ball(0), + angle_from_ball(0), + ball_reach_steps(0), + is_tackling(0), + type_id(0) { + } + + virtual ~Player() noexcept; + RpcVector2D position; + RpcVector2D seen_position; + RpcVector2D heard_position; + RpcVector2D velocity; + RpcVector2D seen_velocity; + int32_t pos_count; + int32_t seen_pos_count; + int32_t heard_pos_count; + int32_t vel_count; + int32_t seen_vel_count; + int32_t ghost_count; + double dist_from_self; + double angle_from_self; + int32_t id; + /** + * + * @see Side + */ + Side::type side; + int32_t uniform_number; + int32_t uniform_number_count; + bool is_goalie; + double body_direction; + int32_t body_direction_count; + double face_direction; + int32_t face_direction_count; + double point_to_direction; + int32_t point_to_direction_count; + bool is_kicking; + double dist_from_ball; + double angle_from_ball; + int32_t ball_reach_steps; + bool is_tackling; + int32_t type_id; + + _Player__isset __isset; + + void __set_position(const RpcVector2D& val); + + void __set_seen_position(const RpcVector2D& val); + + void __set_heard_position(const RpcVector2D& val); + + void __set_velocity(const RpcVector2D& val); + + void __set_seen_velocity(const RpcVector2D& val); + + void __set_pos_count(const int32_t val); + + void __set_seen_pos_count(const int32_t val); + + void __set_heard_pos_count(const int32_t val); + + void __set_vel_count(const int32_t val); + + void __set_seen_vel_count(const int32_t val); + + void __set_ghost_count(const int32_t val); + + void __set_dist_from_self(const double val); + + void __set_angle_from_self(const double val); + + void __set_id(const int32_t val); + + void __set_side(const Side::type val); + + void __set_uniform_number(const int32_t val); + + void __set_uniform_number_count(const int32_t val); + + void __set_is_goalie(const bool val); + + void __set_body_direction(const double val); + + void __set_body_direction_count(const int32_t val); + + void __set_face_direction(const double val); + + void __set_face_direction_count(const int32_t val); + + void __set_point_to_direction(const double val); + + void __set_point_to_direction_count(const int32_t val); + + void __set_is_kicking(const bool val); + + void __set_dist_from_ball(const double val); + + void __set_angle_from_ball(const double val); + + void __set_ball_reach_steps(const int32_t val); + + void __set_is_tackling(const bool val); + + void __set_type_id(const int32_t val); + + bool operator == (const Player & rhs) const + { + if (!(position == rhs.position)) + return false; + if (!(seen_position == rhs.seen_position)) + return false; + if (!(heard_position == rhs.heard_position)) + return false; + if (!(velocity == rhs.velocity)) + return false; + if (!(seen_velocity == rhs.seen_velocity)) + return false; + if (!(pos_count == rhs.pos_count)) + return false; + if (!(seen_pos_count == rhs.seen_pos_count)) + return false; + if (!(heard_pos_count == rhs.heard_pos_count)) + return false; + if (!(vel_count == rhs.vel_count)) + return false; + if (!(seen_vel_count == rhs.seen_vel_count)) + return false; + if (!(ghost_count == rhs.ghost_count)) + return false; + if (!(dist_from_self == rhs.dist_from_self)) + return false; + if (!(angle_from_self == rhs.angle_from_self)) + return false; + if (!(id == rhs.id)) + return false; + if (!(side == rhs.side)) + return false; + if (!(uniform_number == rhs.uniform_number)) + return false; + if (!(uniform_number_count == rhs.uniform_number_count)) + return false; + if (!(is_goalie == rhs.is_goalie)) + return false; + if (!(body_direction == rhs.body_direction)) + return false; + if (!(body_direction_count == rhs.body_direction_count)) + return false; + if (!(face_direction == rhs.face_direction)) + return false; + if (!(face_direction_count == rhs.face_direction_count)) + return false; + if (!(point_to_direction == rhs.point_to_direction)) + return false; + if (!(point_to_direction_count == rhs.point_to_direction_count)) + return false; + if (!(is_kicking == rhs.is_kicking)) + return false; + if (!(dist_from_ball == rhs.dist_from_ball)) + return false; + if (!(angle_from_ball == rhs.angle_from_ball)) + return false; + if (!(ball_reach_steps == rhs.ball_reach_steps)) + return false; + if (!(is_tackling == rhs.is_tackling)) + return false; + if (!(type_id == rhs.type_id)) + return false; + return true; + } + bool operator != (const Player &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Player & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Player &a, Player &b); + +std::ostream& operator<<(std::ostream& out, const Player& obj); + +typedef struct _Self__isset { + _Self__isset() : position(false), seen_position(false), heard_position(false), velocity(false), seen_velocity(false), pos_count(false), seen_pos_count(false), heard_pos_count(false), vel_count(false), seen_vel_count(false), ghost_count(false), id(false), side(false), uniform_number(false), uniform_number_count(false), is_goalie(false), body_direction(false), body_direction_count(false), face_direction(false), face_direction_count(false), point_to_direction(false), point_to_direction_count(false), is_kicking(false), dist_from_ball(false), angle_from_ball(false), ball_reach_steps(false), is_tackling(false), relative_neck_direction(false), stamina(false), is_kickable(false), catch_probability(false), tackle_probability(false), foul_probability(false), view_width(false), type_id(false), kick_rate(false) {} + bool position :1; + bool seen_position :1; + bool heard_position :1; + bool velocity :1; + bool seen_velocity :1; + bool pos_count :1; + bool seen_pos_count :1; + bool heard_pos_count :1; + bool vel_count :1; + bool seen_vel_count :1; + bool ghost_count :1; + bool id :1; + bool side :1; + bool uniform_number :1; + bool uniform_number_count :1; + bool is_goalie :1; + bool body_direction :1; + bool body_direction_count :1; + bool face_direction :1; + bool face_direction_count :1; + bool point_to_direction :1; + bool point_to_direction_count :1; + bool is_kicking :1; + bool dist_from_ball :1; + bool angle_from_ball :1; + bool ball_reach_steps :1; + bool is_tackling :1; + bool relative_neck_direction :1; + bool stamina :1; + bool is_kickable :1; + bool catch_probability :1; + bool tackle_probability :1; + bool foul_probability :1; + bool view_width :1; + bool type_id :1; + bool kick_rate :1; +} _Self__isset; + +class Self : public virtual ::apache::thrift::TBase { + public: + + Self(const Self&) noexcept; + Self& operator=(const Self&) noexcept; + Self() noexcept + : pos_count(0), + seen_pos_count(0), + heard_pos_count(0), + vel_count(0), + seen_vel_count(0), + ghost_count(0), + id(0), + side(static_cast(0)), + uniform_number(0), + uniform_number_count(0), + is_goalie(0), + body_direction(0), + body_direction_count(0), + face_direction(0), + face_direction_count(0), + point_to_direction(0), + point_to_direction_count(0), + is_kicking(0), + dist_from_ball(0), + angle_from_ball(0), + ball_reach_steps(0), + is_tackling(0), + relative_neck_direction(0), + stamina(0), + is_kickable(0), + catch_probability(0), + tackle_probability(0), + foul_probability(0), + view_width(static_cast(0)), + type_id(0), + kick_rate(0) { + } + + virtual ~Self() noexcept; + RpcVector2D position; + RpcVector2D seen_position; + RpcVector2D heard_position; + RpcVector2D velocity; + RpcVector2D seen_velocity; + int32_t pos_count; + int32_t seen_pos_count; + int32_t heard_pos_count; + int32_t vel_count; + int32_t seen_vel_count; + int32_t ghost_count; + int32_t id; + /** + * + * @see Side + */ + Side::type side; + int32_t uniform_number; + int32_t uniform_number_count; + bool is_goalie; + double body_direction; + int32_t body_direction_count; + double face_direction; + int32_t face_direction_count; + double point_to_direction; + int32_t point_to_direction_count; + bool is_kicking; + double dist_from_ball; + double angle_from_ball; + int32_t ball_reach_steps; + bool is_tackling; + double relative_neck_direction; + double stamina; + bool is_kickable; + double catch_probability; + double tackle_probability; + double foul_probability; + /** + * + * @see ViewWidth + */ + ViewWidth::type view_width; + int32_t type_id; + double kick_rate; + + _Self__isset __isset; + + void __set_position(const RpcVector2D& val); + + void __set_seen_position(const RpcVector2D& val); + + void __set_heard_position(const RpcVector2D& val); + + void __set_velocity(const RpcVector2D& val); + + void __set_seen_velocity(const RpcVector2D& val); + + void __set_pos_count(const int32_t val); + + void __set_seen_pos_count(const int32_t val); + + void __set_heard_pos_count(const int32_t val); + + void __set_vel_count(const int32_t val); + + void __set_seen_vel_count(const int32_t val); + + void __set_ghost_count(const int32_t val); + + void __set_id(const int32_t val); + + void __set_side(const Side::type val); + + void __set_uniform_number(const int32_t val); + + void __set_uniform_number_count(const int32_t val); + + void __set_is_goalie(const bool val); + + void __set_body_direction(const double val); + + void __set_body_direction_count(const int32_t val); + + void __set_face_direction(const double val); + + void __set_face_direction_count(const int32_t val); + + void __set_point_to_direction(const double val); + + void __set_point_to_direction_count(const int32_t val); + + void __set_is_kicking(const bool val); + + void __set_dist_from_ball(const double val); + + void __set_angle_from_ball(const double val); + + void __set_ball_reach_steps(const int32_t val); + + void __set_is_tackling(const bool val); + + void __set_relative_neck_direction(const double val); + + void __set_stamina(const double val); + + void __set_is_kickable(const bool val); + + void __set_catch_probability(const double val); + + void __set_tackle_probability(const double val); + + void __set_foul_probability(const double val); + + void __set_view_width(const ViewWidth::type val); + + void __set_type_id(const int32_t val); + + void __set_kick_rate(const double val); + + bool operator == (const Self & rhs) const + { + if (!(position == rhs.position)) + return false; + if (!(seen_position == rhs.seen_position)) + return false; + if (!(heard_position == rhs.heard_position)) + return false; + if (!(velocity == rhs.velocity)) + return false; + if (!(seen_velocity == rhs.seen_velocity)) + return false; + if (!(pos_count == rhs.pos_count)) + return false; + if (!(seen_pos_count == rhs.seen_pos_count)) + return false; + if (!(heard_pos_count == rhs.heard_pos_count)) + return false; + if (!(vel_count == rhs.vel_count)) + return false; + if (!(seen_vel_count == rhs.seen_vel_count)) + return false; + if (!(ghost_count == rhs.ghost_count)) + return false; + if (!(id == rhs.id)) + return false; + if (!(side == rhs.side)) + return false; + if (!(uniform_number == rhs.uniform_number)) + return false; + if (!(uniform_number_count == rhs.uniform_number_count)) + return false; + if (!(is_goalie == rhs.is_goalie)) + return false; + if (!(body_direction == rhs.body_direction)) + return false; + if (!(body_direction_count == rhs.body_direction_count)) + return false; + if (!(face_direction == rhs.face_direction)) + return false; + if (!(face_direction_count == rhs.face_direction_count)) + return false; + if (!(point_to_direction == rhs.point_to_direction)) + return false; + if (!(point_to_direction_count == rhs.point_to_direction_count)) + return false; + if (!(is_kicking == rhs.is_kicking)) + return false; + if (!(dist_from_ball == rhs.dist_from_ball)) + return false; + if (!(angle_from_ball == rhs.angle_from_ball)) + return false; + if (!(ball_reach_steps == rhs.ball_reach_steps)) + return false; + if (!(is_tackling == rhs.is_tackling)) + return false; + if (!(relative_neck_direction == rhs.relative_neck_direction)) + return false; + if (!(stamina == rhs.stamina)) + return false; + if (!(is_kickable == rhs.is_kickable)) + return false; + if (!(catch_probability == rhs.catch_probability)) + return false; + if (!(tackle_probability == rhs.tackle_probability)) + return false; + if (!(foul_probability == rhs.foul_probability)) + return false; + if (!(view_width == rhs.view_width)) + return false; + if (!(type_id == rhs.type_id)) + return false; + if (!(kick_rate == rhs.kick_rate)) + return false; + return true; + } + bool operator != (const Self &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Self & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Self &a, Self &b); + +std::ostream& operator<<(std::ostream& out, const Self& obj); + +typedef struct _InterceptInfo__isset { + _InterceptInfo__isset() : action_type(false), turn_steps(false), turn_angle(false), dash_steps(false), dash_power(false), dash_dir(false), final_self_position(false), final_ball_dist(false), final_stamina(false), value(false) {} + bool action_type :1; + bool turn_steps :1; + bool turn_angle :1; + bool dash_steps :1; + bool dash_power :1; + bool dash_dir :1; + bool final_self_position :1; + bool final_ball_dist :1; + bool final_stamina :1; + bool value :1; +} _InterceptInfo__isset; + +class InterceptInfo : public virtual ::apache::thrift::TBase { + public: + + InterceptInfo(const InterceptInfo&) noexcept; + InterceptInfo& operator=(const InterceptInfo&) noexcept; + InterceptInfo() noexcept + : action_type(static_cast(0)), + turn_steps(0), + turn_angle(0), + dash_steps(0), + dash_power(0), + dash_dir(0), + final_ball_dist(0), + final_stamina(0), + value(0) { + } + + virtual ~InterceptInfo() noexcept; + /** + * + * @see InterceptActionType + */ + InterceptActionType::type action_type; + int32_t turn_steps; + double turn_angle; + int32_t dash_steps; + double dash_power; + double dash_dir; + RpcVector2D final_self_position; + double final_ball_dist; + double final_stamina; + double value; + + _InterceptInfo__isset __isset; + + void __set_action_type(const InterceptActionType::type val); + + void __set_turn_steps(const int32_t val); + + void __set_turn_angle(const double val); + + void __set_dash_steps(const int32_t val); + + void __set_dash_power(const double val); + + void __set_dash_dir(const double val); + + void __set_final_self_position(const RpcVector2D& val); + + void __set_final_ball_dist(const double val); + + void __set_final_stamina(const double val); + + void __set_value(const double val); + + bool operator == (const InterceptInfo & rhs) const + { + if (!(action_type == rhs.action_type)) + return false; + if (!(turn_steps == rhs.turn_steps)) + return false; + if (!(turn_angle == rhs.turn_angle)) + return false; + if (!(dash_steps == rhs.dash_steps)) + return false; + if (!(dash_power == rhs.dash_power)) + return false; + if (!(dash_dir == rhs.dash_dir)) + return false; + if (!(final_self_position == rhs.final_self_position)) + return false; + if (!(final_ball_dist == rhs.final_ball_dist)) + return false; + if (!(final_stamina == rhs.final_stamina)) + return false; + if (!(value == rhs.value)) + return false; + return true; + } + bool operator != (const InterceptInfo &rhs) const { + return !(*this == rhs); + } + + bool operator < (const InterceptInfo & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(InterceptInfo &a, InterceptInfo &b); + +std::ostream& operator<<(std::ostream& out, const InterceptInfo& obj); + +typedef struct _InterceptTable__isset { + _InterceptTable__isset() : self_reach_steps(false), first_teammate_reach_steps(false), second_teammate_reach_steps(false), first_opponent_reach_steps(false), second_opponent_reach_steps(false), first_teammate_id(false), second_teammate_id(false), first_opponent_id(false), second_opponent_id(false), self_intercept_info(false) {} + bool self_reach_steps :1; + bool first_teammate_reach_steps :1; + bool second_teammate_reach_steps :1; + bool first_opponent_reach_steps :1; + bool second_opponent_reach_steps :1; + bool first_teammate_id :1; + bool second_teammate_id :1; + bool first_opponent_id :1; + bool second_opponent_id :1; + bool self_intercept_info :1; +} _InterceptTable__isset; + +class InterceptTable : public virtual ::apache::thrift::TBase { + public: + + InterceptTable(const InterceptTable&); + InterceptTable& operator=(const InterceptTable&); + InterceptTable() noexcept + : self_reach_steps(0), + first_teammate_reach_steps(0), + second_teammate_reach_steps(0), + first_opponent_reach_steps(0), + second_opponent_reach_steps(0), + first_teammate_id(0), + second_teammate_id(0), + first_opponent_id(0), + second_opponent_id(0) { + } + + virtual ~InterceptTable() noexcept; + int32_t self_reach_steps; + int32_t first_teammate_reach_steps; + int32_t second_teammate_reach_steps; + int32_t first_opponent_reach_steps; + int32_t second_opponent_reach_steps; + int32_t first_teammate_id; + int32_t second_teammate_id; + int32_t first_opponent_id; + int32_t second_opponent_id; + std::vector self_intercept_info; + + _InterceptTable__isset __isset; + + void __set_self_reach_steps(const int32_t val); + + void __set_first_teammate_reach_steps(const int32_t val); + + void __set_second_teammate_reach_steps(const int32_t val); + + void __set_first_opponent_reach_steps(const int32_t val); + + void __set_second_opponent_reach_steps(const int32_t val); + + void __set_first_teammate_id(const int32_t val); + + void __set_second_teammate_id(const int32_t val); + + void __set_first_opponent_id(const int32_t val); + + void __set_second_opponent_id(const int32_t val); + + void __set_self_intercept_info(const std::vector & val); + + bool operator == (const InterceptTable & rhs) const + { + if (!(self_reach_steps == rhs.self_reach_steps)) + return false; + if (!(first_teammate_reach_steps == rhs.first_teammate_reach_steps)) + return false; + if (!(second_teammate_reach_steps == rhs.second_teammate_reach_steps)) + return false; + if (!(first_opponent_reach_steps == rhs.first_opponent_reach_steps)) + return false; + if (!(second_opponent_reach_steps == rhs.second_opponent_reach_steps)) + return false; + if (!(first_teammate_id == rhs.first_teammate_id)) + return false; + if (!(second_teammate_id == rhs.second_teammate_id)) + return false; + if (!(first_opponent_id == rhs.first_opponent_id)) + return false; + if (!(second_opponent_id == rhs.second_opponent_id)) + return false; + if (!(self_intercept_info == rhs.self_intercept_info)) + return false; + return true; + } + bool operator != (const InterceptTable &rhs) const { + return !(*this == rhs); + } + + bool operator < (const InterceptTable & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(InterceptTable &a, InterceptTable &b); + +std::ostream& operator<<(std::ostream& out, const InterceptTable& obj); + +typedef struct _WorldModel__isset { + _WorldModel__isset() : intercept_table(false), our_team_name(false), their_team_name(false), our_side(false), last_set_play_start_time(false), myself(false), ball(false), teammates(false), opponents(false), unknowns(false), our_players_dict(false), their_players_dict(false), our_goalie_uniform_number(false), their_goalie_uniform_number(false), offside_line_x(false), offside_line_x_count(false), kickable_teammate_id(false), kickable_opponent_id(false), last_kick_side(false), last_kicker_uniform_number(false), cycle(false), game_mode_type(false), left_team_score(false), right_team_score(false), is_our_set_play(false), is_their_set_play(false), stoped_cycle(false), our_team_score(false), their_team_score(false), is_penalty_kick_mode(false), helios_home_positions(false) {} + bool intercept_table :1; + bool our_team_name :1; + bool their_team_name :1; + bool our_side :1; + bool last_set_play_start_time :1; + bool myself :1; + bool ball :1; + bool teammates :1; + bool opponents :1; + bool unknowns :1; + bool our_players_dict :1; + bool their_players_dict :1; + bool our_goalie_uniform_number :1; + bool their_goalie_uniform_number :1; + bool offside_line_x :1; + bool offside_line_x_count :1; + bool kickable_teammate_id :1; + bool kickable_opponent_id :1; + bool last_kick_side :1; + bool last_kicker_uniform_number :1; + bool cycle :1; + bool game_mode_type :1; + bool left_team_score :1; + bool right_team_score :1; + bool is_our_set_play :1; + bool is_their_set_play :1; + bool stoped_cycle :1; + bool our_team_score :1; + bool their_team_score :1; + bool is_penalty_kick_mode :1; + bool helios_home_positions :1; +} _WorldModel__isset; + +class WorldModel : public virtual ::apache::thrift::TBase { + public: + + WorldModel(const WorldModel&); + WorldModel& operator=(const WorldModel&); + WorldModel() noexcept + : our_team_name(), + their_team_name(), + our_side(static_cast(0)), + last_set_play_start_time(0), + our_goalie_uniform_number(0), + their_goalie_uniform_number(0), + offside_line_x(0), + offside_line_x_count(0), + kickable_teammate_id(0), + kickable_opponent_id(0), + last_kick_side(static_cast(0)), + last_kicker_uniform_number(0), + cycle(0), + game_mode_type(static_cast(0)), + left_team_score(0), + right_team_score(0), + is_our_set_play(0), + is_their_set_play(0), + stoped_cycle(0), + our_team_score(0), + their_team_score(0), + is_penalty_kick_mode(0) { + } + + virtual ~WorldModel() noexcept; + InterceptTable intercept_table; + std::string our_team_name; + std::string their_team_name; + /** + * + * @see Side + */ + Side::type our_side; + int32_t last_set_play_start_time; + Self myself; + Ball ball; + std::vector teammates; + std::vector opponents; + std::vector unknowns; + std::map our_players_dict; + std::map their_players_dict; + int32_t our_goalie_uniform_number; + int32_t their_goalie_uniform_number; + double offside_line_x; + int32_t offside_line_x_count; + int32_t kickable_teammate_id; + int32_t kickable_opponent_id; + /** + * + * @see Side + */ + Side::type last_kick_side; + int32_t last_kicker_uniform_number; + int32_t cycle; + /** + * + * @see GameModeType + */ + GameModeType::type game_mode_type; + int32_t left_team_score; + int32_t right_team_score; + bool is_our_set_play; + bool is_their_set_play; + int32_t stoped_cycle; + int32_t our_team_score; + int32_t their_team_score; + bool is_penalty_kick_mode; + std::map helios_home_positions; + + _WorldModel__isset __isset; + + void __set_intercept_table(const InterceptTable& val); + + void __set_our_team_name(const std::string& val); + + void __set_their_team_name(const std::string& val); + + void __set_our_side(const Side::type val); + + void __set_last_set_play_start_time(const int32_t val); + + void __set_myself(const Self& val); + + void __set_ball(const Ball& val); + + void __set_teammates(const std::vector & val); + + void __set_opponents(const std::vector & val); + + void __set_unknowns(const std::vector & val); + + void __set_our_players_dict(const std::map & val); + + void __set_their_players_dict(const std::map & val); + + void __set_our_goalie_uniform_number(const int32_t val); + + void __set_their_goalie_uniform_number(const int32_t val); + + void __set_offside_line_x(const double val); + + void __set_offside_line_x_count(const int32_t val); + + void __set_kickable_teammate_id(const int32_t val); + + void __set_kickable_opponent_id(const int32_t val); + + void __set_last_kick_side(const Side::type val); + + void __set_last_kicker_uniform_number(const int32_t val); + + void __set_cycle(const int32_t val); + + void __set_game_mode_type(const GameModeType::type val); + + void __set_left_team_score(const int32_t val); + + void __set_right_team_score(const int32_t val); + + void __set_is_our_set_play(const bool val); + + void __set_is_their_set_play(const bool val); + + void __set_stoped_cycle(const int32_t val); + + void __set_our_team_score(const int32_t val); + + void __set_their_team_score(const int32_t val); + + void __set_is_penalty_kick_mode(const bool val); + + void __set_helios_home_positions(const std::map & val); + + bool operator == (const WorldModel & rhs) const + { + if (!(intercept_table == rhs.intercept_table)) + return false; + if (!(our_team_name == rhs.our_team_name)) + return false; + if (!(their_team_name == rhs.their_team_name)) + return false; + if (!(our_side == rhs.our_side)) + return false; + if (!(last_set_play_start_time == rhs.last_set_play_start_time)) + return false; + if (!(myself == rhs.myself)) + return false; + if (!(ball == rhs.ball)) + return false; + if (!(teammates == rhs.teammates)) + return false; + if (!(opponents == rhs.opponents)) + return false; + if (!(unknowns == rhs.unknowns)) + return false; + if (!(our_players_dict == rhs.our_players_dict)) + return false; + if (!(their_players_dict == rhs.their_players_dict)) + return false; + if (!(our_goalie_uniform_number == rhs.our_goalie_uniform_number)) + return false; + if (!(their_goalie_uniform_number == rhs.their_goalie_uniform_number)) + return false; + if (!(offside_line_x == rhs.offside_line_x)) + return false; + if (!(offside_line_x_count == rhs.offside_line_x_count)) + return false; + if (!(kickable_teammate_id == rhs.kickable_teammate_id)) + return false; + if (!(kickable_opponent_id == rhs.kickable_opponent_id)) + return false; + if (!(last_kick_side == rhs.last_kick_side)) + return false; + if (!(last_kicker_uniform_number == rhs.last_kicker_uniform_number)) + return false; + if (!(cycle == rhs.cycle)) + return false; + if (!(game_mode_type == rhs.game_mode_type)) + return false; + if (!(left_team_score == rhs.left_team_score)) + return false; + if (!(right_team_score == rhs.right_team_score)) + return false; + if (!(is_our_set_play == rhs.is_our_set_play)) + return false; + if (!(is_their_set_play == rhs.is_their_set_play)) + return false; + if (!(stoped_cycle == rhs.stoped_cycle)) + return false; + if (!(our_team_score == rhs.our_team_score)) + return false; + if (!(their_team_score == rhs.their_team_score)) + return false; + if (!(is_penalty_kick_mode == rhs.is_penalty_kick_mode)) + return false; + if (!(helios_home_positions == rhs.helios_home_positions)) + return false; + return true; + } + bool operator != (const WorldModel &rhs) const { + return !(*this == rhs); + } + + bool operator < (const WorldModel & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(WorldModel &a, WorldModel &b); + +std::ostream& operator<<(std::ostream& out, const WorldModel& obj); + +typedef struct _State__isset { + _State__isset() : register_response(false), world_model(false), full_world_model(false), need_preprocess(false) {} + bool register_response :1; + bool world_model :1; + bool full_world_model :1; + bool need_preprocess :1; +} _State__isset; + +class State : public virtual ::apache::thrift::TBase { + public: + + State(const State&); + State& operator=(const State&); + State() noexcept + : need_preprocess(0) { + } + + virtual ~State() noexcept; + RegisterResponse register_response; + WorldModel world_model; + WorldModel full_world_model; + bool need_preprocess; + + _State__isset __isset; + + void __set_register_response(const RegisterResponse& val); + + void __set_world_model(const WorldModel& val); + + void __set_full_world_model(const WorldModel& val); + + void __set_need_preprocess(const bool val); + + bool operator == (const State & rhs) const + { + if (!(register_response == rhs.register_response)) + return false; + if (!(world_model == rhs.world_model)) + return false; + if (!(full_world_model == rhs.full_world_model)) + return false; + if (!(need_preprocess == rhs.need_preprocess)) + return false; + return true; + } + bool operator != (const State &rhs) const { + return !(*this == rhs); + } + + bool operator < (const State & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(State &a, State &b); + +std::ostream& operator<<(std::ostream& out, const State& obj); + +typedef struct _InitMessage__isset { + _InitMessage__isset() : register_response(false), debug_mode(false) {} + bool register_response :1; + bool debug_mode :1; +} _InitMessage__isset; + +class InitMessage : public virtual ::apache::thrift::TBase { + public: + + InitMessage(const InitMessage&); + InitMessage& operator=(const InitMessage&); + InitMessage() noexcept + : debug_mode(0) { + } + + virtual ~InitMessage() noexcept; + RegisterResponse register_response; + bool debug_mode; + + _InitMessage__isset __isset; + + void __set_register_response(const RegisterResponse& val); + + void __set_debug_mode(const bool val); + + bool operator == (const InitMessage & rhs) const + { + if (!(register_response == rhs.register_response)) + return false; + if (!(debug_mode == rhs.debug_mode)) + return false; + return true; + } + bool operator != (const InitMessage &rhs) const { + return !(*this == rhs); + } + + bool operator < (const InitMessage & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(InitMessage &a, InitMessage &b); + +std::ostream& operator<<(std::ostream& out, const InitMessage& obj); + +typedef struct _Dash__isset { + _Dash__isset() : power(false), relative_direction(false) {} + bool power :1; + bool relative_direction :1; +} _Dash__isset; + +class Dash : public virtual ::apache::thrift::TBase { + public: + + Dash(const Dash&) noexcept; + Dash& operator=(const Dash&) noexcept; + Dash() noexcept + : power(0), + relative_direction(0) { + } + + virtual ~Dash() noexcept; + double power; + double relative_direction; + + _Dash__isset __isset; + + void __set_power(const double val); + + void __set_relative_direction(const double val); + + bool operator == (const Dash & rhs) const + { + if (!(power == rhs.power)) + return false; + if (!(relative_direction == rhs.relative_direction)) + return false; + return true; + } + bool operator != (const Dash &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Dash & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Dash &a, Dash &b); + +std::ostream& operator<<(std::ostream& out, const Dash& obj); + +typedef struct _Turn__isset { + _Turn__isset() : relative_direction(false) {} + bool relative_direction :1; +} _Turn__isset; + +class Turn : public virtual ::apache::thrift::TBase { + public: + + Turn(const Turn&) noexcept; + Turn& operator=(const Turn&) noexcept; + Turn() noexcept + : relative_direction(0) { + } + + virtual ~Turn() noexcept; + double relative_direction; + + _Turn__isset __isset; + + void __set_relative_direction(const double val); + + bool operator == (const Turn & rhs) const + { + if (!(relative_direction == rhs.relative_direction)) + return false; + return true; + } + bool operator != (const Turn &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Turn & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Turn &a, Turn &b); + +std::ostream& operator<<(std::ostream& out, const Turn& obj); + +typedef struct _Kick__isset { + _Kick__isset() : power(false), relative_direction(false) {} + bool power :1; + bool relative_direction :1; +} _Kick__isset; + +class Kick : public virtual ::apache::thrift::TBase { + public: + + Kick(const Kick&) noexcept; + Kick& operator=(const Kick&) noexcept; + Kick() noexcept + : power(0), + relative_direction(0) { + } + + virtual ~Kick() noexcept; + double power; + double relative_direction; + + _Kick__isset __isset; + + void __set_power(const double val); + + void __set_relative_direction(const double val); + + bool operator == (const Kick & rhs) const + { + if (!(power == rhs.power)) + return false; + if (!(relative_direction == rhs.relative_direction)) + return false; + return true; + } + bool operator != (const Kick &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Kick & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Kick &a, Kick &b); + +std::ostream& operator<<(std::ostream& out, const Kick& obj); + +typedef struct _Tackle__isset { + _Tackle__isset() : power_or_dir(false), foul(false) {} + bool power_or_dir :1; + bool foul :1; +} _Tackle__isset; + +class Tackle : public virtual ::apache::thrift::TBase { + public: + + Tackle(const Tackle&) noexcept; + Tackle& operator=(const Tackle&) noexcept; + Tackle() noexcept + : power_or_dir(0), + foul(0) { + } + + virtual ~Tackle() noexcept; + double power_or_dir; + bool foul; + + _Tackle__isset __isset; + + void __set_power_or_dir(const double val); + + void __set_foul(const bool val); + + bool operator == (const Tackle & rhs) const + { + if (!(power_or_dir == rhs.power_or_dir)) + return false; + if (!(foul == rhs.foul)) + return false; + return true; + } + bool operator != (const Tackle &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Tackle & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Tackle &a, Tackle &b); + +std::ostream& operator<<(std::ostream& out, const Tackle& obj); + + +class Catch : public virtual ::apache::thrift::TBase { + public: + + Catch(const Catch&) noexcept; + Catch& operator=(const Catch&) noexcept; + Catch() noexcept { + } + + virtual ~Catch() noexcept; + + bool operator == (const Catch & /* rhs */) const + { + return true; + } + bool operator != (const Catch &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Catch & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Catch &a, Catch &b); + +std::ostream& operator<<(std::ostream& out, const Catch& obj); + +typedef struct _Move__isset { + _Move__isset() : x(false), y(false) {} + bool x :1; + bool y :1; +} _Move__isset; + +class Move : public virtual ::apache::thrift::TBase { + public: + + Move(const Move&) noexcept; + Move& operator=(const Move&) noexcept; + Move() noexcept + : x(0), + y(0) { + } + + virtual ~Move() noexcept; + double x; + double y; + + _Move__isset __isset; + + void __set_x(const double val); + + void __set_y(const double val); + + bool operator == (const Move & rhs) const + { + if (!(x == rhs.x)) + return false; + if (!(y == rhs.y)) + return false; + return true; + } + bool operator != (const Move &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Move & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Move &a, Move &b); + +std::ostream& operator<<(std::ostream& out, const Move& obj); + +typedef struct _TurnNeck__isset { + _TurnNeck__isset() : moment(false) {} + bool moment :1; +} _TurnNeck__isset; + +class TurnNeck : public virtual ::apache::thrift::TBase { + public: + + TurnNeck(const TurnNeck&) noexcept; + TurnNeck& operator=(const TurnNeck&) noexcept; + TurnNeck() noexcept + : moment(0) { + } + + virtual ~TurnNeck() noexcept; + double moment; + + _TurnNeck__isset __isset; + + void __set_moment(const double val); + + bool operator == (const TurnNeck & rhs) const + { + if (!(moment == rhs.moment)) + return false; + return true; + } + bool operator != (const TurnNeck &rhs) const { + return !(*this == rhs); + } + + bool operator < (const TurnNeck & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(TurnNeck &a, TurnNeck &b); + +std::ostream& operator<<(std::ostream& out, const TurnNeck& obj); + +typedef struct _ChangeView__isset { + _ChangeView__isset() : view_width(false) {} + bool view_width :1; +} _ChangeView__isset; + +class ChangeView : public virtual ::apache::thrift::TBase { + public: + + ChangeView(const ChangeView&) noexcept; + ChangeView& operator=(const ChangeView&) noexcept; + ChangeView() noexcept + : view_width(static_cast(0)) { + } + + virtual ~ChangeView() noexcept; + /** + * + * @see ViewWidth + */ + ViewWidth::type view_width; + + _ChangeView__isset __isset; + + void __set_view_width(const ViewWidth::type val); + + bool operator == (const ChangeView & rhs) const + { + if (!(view_width == rhs.view_width)) + return false; + return true; + } + bool operator != (const ChangeView &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ChangeView & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(ChangeView &a, ChangeView &b); + +std::ostream& operator<<(std::ostream& out, const ChangeView& obj); + +typedef struct _BallMessage__isset { + _BallMessage__isset() : ball_position(false), ball_velocity(false) {} + bool ball_position :1; + bool ball_velocity :1; +} _BallMessage__isset; + +class BallMessage : public virtual ::apache::thrift::TBase { + public: + + BallMessage(const BallMessage&) noexcept; + BallMessage& operator=(const BallMessage&) noexcept; + BallMessage() noexcept { + } + + virtual ~BallMessage() noexcept; + RpcVector2D ball_position; + RpcVector2D ball_velocity; + + _BallMessage__isset __isset; + + void __set_ball_position(const RpcVector2D& val); + + void __set_ball_velocity(const RpcVector2D& val); + + bool operator == (const BallMessage & rhs) const + { + if (!(ball_position == rhs.ball_position)) + return false; + if (!(ball_velocity == rhs.ball_velocity)) + return false; + return true; + } + bool operator != (const BallMessage &rhs) const { + return !(*this == rhs); + } + + bool operator < (const BallMessage & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(BallMessage &a, BallMessage &b); + +std::ostream& operator<<(std::ostream& out, const BallMessage& obj); + +typedef struct _PassMessage__isset { + _PassMessage__isset() : receiver_uniform_number(false), receiver_point(false), ball_position(false), ball_velocity(false) {} + bool receiver_uniform_number :1; + bool receiver_point :1; + bool ball_position :1; + bool ball_velocity :1; +} _PassMessage__isset; + +class PassMessage : public virtual ::apache::thrift::TBase { + public: + + PassMessage(const PassMessage&) noexcept; + PassMessage& operator=(const PassMessage&) noexcept; + PassMessage() noexcept + : receiver_uniform_number(0) { + } + + virtual ~PassMessage() noexcept; + int32_t receiver_uniform_number; + RpcVector2D receiver_point; + RpcVector2D ball_position; + RpcVector2D ball_velocity; + + _PassMessage__isset __isset; + + void __set_receiver_uniform_number(const int32_t val); + + void __set_receiver_point(const RpcVector2D& val); + + void __set_ball_position(const RpcVector2D& val); + + void __set_ball_velocity(const RpcVector2D& val); + + bool operator == (const PassMessage & rhs) const + { + if (!(receiver_uniform_number == rhs.receiver_uniform_number)) + return false; + if (!(receiver_point == rhs.receiver_point)) + return false; + if (!(ball_position == rhs.ball_position)) + return false; + if (!(ball_velocity == rhs.ball_velocity)) + return false; + return true; + } + bool operator != (const PassMessage &rhs) const { + return !(*this == rhs); + } + + bool operator < (const PassMessage & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(PassMessage &a, PassMessage &b); + +std::ostream& operator<<(std::ostream& out, const PassMessage& obj); + +typedef struct _InterceptMessage__isset { + _InterceptMessage__isset() : our(false), uniform_number(false), cycle(false) {} + bool our :1; + bool uniform_number :1; + bool cycle :1; +} _InterceptMessage__isset; + +class InterceptMessage : public virtual ::apache::thrift::TBase { + public: + + InterceptMessage(const InterceptMessage&) noexcept; + InterceptMessage& operator=(const InterceptMessage&) noexcept; + InterceptMessage() noexcept + : our(0), + uniform_number(0), + cycle(0) { + } + + virtual ~InterceptMessage() noexcept; + bool our; + int32_t uniform_number; + int32_t cycle; + + _InterceptMessage__isset __isset; + + void __set_our(const bool val); + + void __set_uniform_number(const int32_t val); + + void __set_cycle(const int32_t val); + + bool operator == (const InterceptMessage & rhs) const + { + if (!(our == rhs.our)) + return false; + if (!(uniform_number == rhs.uniform_number)) + return false; + if (!(cycle == rhs.cycle)) + return false; + return true; + } + bool operator != (const InterceptMessage &rhs) const { + return !(*this == rhs); + } + + bool operator < (const InterceptMessage & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(InterceptMessage &a, InterceptMessage &b); + +std::ostream& operator<<(std::ostream& out, const InterceptMessage& obj); + +typedef struct _GoalieMessage__isset { + _GoalieMessage__isset() : goalie_uniform_number(false), goalie_position(false), goalie_body_direction(false) {} + bool goalie_uniform_number :1; + bool goalie_position :1; + bool goalie_body_direction :1; +} _GoalieMessage__isset; + +class GoalieMessage : public virtual ::apache::thrift::TBase { + public: + + GoalieMessage(const GoalieMessage&) noexcept; + GoalieMessage& operator=(const GoalieMessage&) noexcept; + GoalieMessage() noexcept + : goalie_uniform_number(0), + goalie_body_direction(0) { + } + + virtual ~GoalieMessage() noexcept; + int32_t goalie_uniform_number; + RpcVector2D goalie_position; + double goalie_body_direction; + + _GoalieMessage__isset __isset; + + void __set_goalie_uniform_number(const int32_t val); + + void __set_goalie_position(const RpcVector2D& val); + + void __set_goalie_body_direction(const double val); + + bool operator == (const GoalieMessage & rhs) const + { + if (!(goalie_uniform_number == rhs.goalie_uniform_number)) + return false; + if (!(goalie_position == rhs.goalie_position)) + return false; + if (!(goalie_body_direction == rhs.goalie_body_direction)) + return false; + return true; + } + bool operator != (const GoalieMessage &rhs) const { + return !(*this == rhs); + } + + bool operator < (const GoalieMessage & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(GoalieMessage &a, GoalieMessage &b); + +std::ostream& operator<<(std::ostream& out, const GoalieMessage& obj); + +typedef struct _GoalieAndPlayerMessage__isset { + _GoalieAndPlayerMessage__isset() : goalie_uniform_number(false), goalie_position(false), goalie_body_direction(false), player_uniform_number(false), player_position(false) {} + bool goalie_uniform_number :1; + bool goalie_position :1; + bool goalie_body_direction :1; + bool player_uniform_number :1; + bool player_position :1; +} _GoalieAndPlayerMessage__isset; + +class GoalieAndPlayerMessage : public virtual ::apache::thrift::TBase { + public: + + GoalieAndPlayerMessage(const GoalieAndPlayerMessage&) noexcept; + GoalieAndPlayerMessage& operator=(const GoalieAndPlayerMessage&) noexcept; + GoalieAndPlayerMessage() noexcept + : goalie_uniform_number(0), + goalie_body_direction(0), + player_uniform_number(0) { + } + + virtual ~GoalieAndPlayerMessage() noexcept; + int32_t goalie_uniform_number; + RpcVector2D goalie_position; + double goalie_body_direction; + int32_t player_uniform_number; + RpcVector2D player_position; + + _GoalieAndPlayerMessage__isset __isset; + + void __set_goalie_uniform_number(const int32_t val); + + void __set_goalie_position(const RpcVector2D& val); + + void __set_goalie_body_direction(const double val); + + void __set_player_uniform_number(const int32_t val); + + void __set_player_position(const RpcVector2D& val); + + bool operator == (const GoalieAndPlayerMessage & rhs) const + { + if (!(goalie_uniform_number == rhs.goalie_uniform_number)) + return false; + if (!(goalie_position == rhs.goalie_position)) + return false; + if (!(goalie_body_direction == rhs.goalie_body_direction)) + return false; + if (!(player_uniform_number == rhs.player_uniform_number)) + return false; + if (!(player_position == rhs.player_position)) + return false; + return true; + } + bool operator != (const GoalieAndPlayerMessage &rhs) const { + return !(*this == rhs); + } + + bool operator < (const GoalieAndPlayerMessage & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(GoalieAndPlayerMessage &a, GoalieAndPlayerMessage &b); + +std::ostream& operator<<(std::ostream& out, const GoalieAndPlayerMessage& obj); + +typedef struct _OffsideLineMessage__isset { + _OffsideLineMessage__isset() : offside_line_x(false) {} + bool offside_line_x :1; +} _OffsideLineMessage__isset; + +class OffsideLineMessage : public virtual ::apache::thrift::TBase { + public: + + OffsideLineMessage(const OffsideLineMessage&) noexcept; + OffsideLineMessage& operator=(const OffsideLineMessage&) noexcept; + OffsideLineMessage() noexcept + : offside_line_x(0) { + } + + virtual ~OffsideLineMessage() noexcept; + double offside_line_x; + + _OffsideLineMessage__isset __isset; + + void __set_offside_line_x(const double val); + + bool operator == (const OffsideLineMessage & rhs) const + { + if (!(offside_line_x == rhs.offside_line_x)) + return false; + return true; + } + bool operator != (const OffsideLineMessage &rhs) const { + return !(*this == rhs); + } + + bool operator < (const OffsideLineMessage & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(OffsideLineMessage &a, OffsideLineMessage &b); + +std::ostream& operator<<(std::ostream& out, const OffsideLineMessage& obj); + +typedef struct _DefenseLineMessage__isset { + _DefenseLineMessage__isset() : defense_line_x(false) {} + bool defense_line_x :1; +} _DefenseLineMessage__isset; + +class DefenseLineMessage : public virtual ::apache::thrift::TBase { + public: + + DefenseLineMessage(const DefenseLineMessage&) noexcept; + DefenseLineMessage& operator=(const DefenseLineMessage&) noexcept; + DefenseLineMessage() noexcept + : defense_line_x(0) { + } + + virtual ~DefenseLineMessage() noexcept; + double defense_line_x; + + _DefenseLineMessage__isset __isset; + + void __set_defense_line_x(const double val); + + bool operator == (const DefenseLineMessage & rhs) const + { + if (!(defense_line_x == rhs.defense_line_x)) + return false; + return true; + } + bool operator != (const DefenseLineMessage &rhs) const { + return !(*this == rhs); + } + + bool operator < (const DefenseLineMessage & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(DefenseLineMessage &a, DefenseLineMessage &b); + +std::ostream& operator<<(std::ostream& out, const DefenseLineMessage& obj); + + +class WaitRequestMessage : public virtual ::apache::thrift::TBase { + public: + + WaitRequestMessage(const WaitRequestMessage&) noexcept; + WaitRequestMessage& operator=(const WaitRequestMessage&) noexcept; + WaitRequestMessage() noexcept { + } + + virtual ~WaitRequestMessage() noexcept; + + bool operator == (const WaitRequestMessage & /* rhs */) const + { + return true; + } + bool operator != (const WaitRequestMessage &rhs) const { + return !(*this == rhs); + } + + bool operator < (const WaitRequestMessage & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(WaitRequestMessage &a, WaitRequestMessage &b); + +std::ostream& operator<<(std::ostream& out, const WaitRequestMessage& obj); + +typedef struct _SetplayMessage__isset { + _SetplayMessage__isset() : wait_step(false) {} + bool wait_step :1; +} _SetplayMessage__isset; + +class SetplayMessage : public virtual ::apache::thrift::TBase { + public: + + SetplayMessage(const SetplayMessage&) noexcept; + SetplayMessage& operator=(const SetplayMessage&) noexcept; + SetplayMessage() noexcept + : wait_step(0) { + } + + virtual ~SetplayMessage() noexcept; + int32_t wait_step; + + _SetplayMessage__isset __isset; + + void __set_wait_step(const int32_t val); + + bool operator == (const SetplayMessage & rhs) const + { + if (!(wait_step == rhs.wait_step)) + return false; + return true; + } + bool operator != (const SetplayMessage &rhs) const { + return !(*this == rhs); + } + + bool operator < (const SetplayMessage & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(SetplayMessage &a, SetplayMessage &b); + +std::ostream& operator<<(std::ostream& out, const SetplayMessage& obj); + +typedef struct _PassRequestMessage__isset { + _PassRequestMessage__isset() : target_point(false) {} + bool target_point :1; +} _PassRequestMessage__isset; + +class PassRequestMessage : public virtual ::apache::thrift::TBase { + public: + + PassRequestMessage(const PassRequestMessage&) noexcept; + PassRequestMessage& operator=(const PassRequestMessage&) noexcept; + PassRequestMessage() noexcept { + } + + virtual ~PassRequestMessage() noexcept; + RpcVector2D target_point; + + _PassRequestMessage__isset __isset; + + void __set_target_point(const RpcVector2D& val); + + bool operator == (const PassRequestMessage & rhs) const + { + if (!(target_point == rhs.target_point)) + return false; + return true; + } + bool operator != (const PassRequestMessage &rhs) const { + return !(*this == rhs); + } + + bool operator < (const PassRequestMessage & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(PassRequestMessage &a, PassRequestMessage &b); + +std::ostream& operator<<(std::ostream& out, const PassRequestMessage& obj); + +typedef struct _StaminaMessage__isset { + _StaminaMessage__isset() : stamina(false) {} + bool stamina :1; +} _StaminaMessage__isset; + +class StaminaMessage : public virtual ::apache::thrift::TBase { + public: + + StaminaMessage(const StaminaMessage&) noexcept; + StaminaMessage& operator=(const StaminaMessage&) noexcept; + StaminaMessage() noexcept + : stamina(0) { + } + + virtual ~StaminaMessage() noexcept; + double stamina; + + _StaminaMessage__isset __isset; + + void __set_stamina(const double val); + + bool operator == (const StaminaMessage & rhs) const + { + if (!(stamina == rhs.stamina)) + return false; + return true; + } + bool operator != (const StaminaMessage &rhs) const { + return !(*this == rhs); + } + + bool operator < (const StaminaMessage & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(StaminaMessage &a, StaminaMessage &b); + +std::ostream& operator<<(std::ostream& out, const StaminaMessage& obj); + +typedef struct _RecoveryMessage__isset { + _RecoveryMessage__isset() : recovery(false) {} + bool recovery :1; +} _RecoveryMessage__isset; + +class RecoveryMessage : public virtual ::apache::thrift::TBase { + public: + + RecoveryMessage(const RecoveryMessage&) noexcept; + RecoveryMessage& operator=(const RecoveryMessage&) noexcept; + RecoveryMessage() noexcept + : recovery(0) { + } + + virtual ~RecoveryMessage() noexcept; + double recovery; + + _RecoveryMessage__isset __isset; + + void __set_recovery(const double val); + + bool operator == (const RecoveryMessage & rhs) const + { + if (!(recovery == rhs.recovery)) + return false; + return true; + } + bool operator != (const RecoveryMessage &rhs) const { + return !(*this == rhs); + } + + bool operator < (const RecoveryMessage & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(RecoveryMessage &a, RecoveryMessage &b); + +std::ostream& operator<<(std::ostream& out, const RecoveryMessage& obj); + +typedef struct _StaminaCapacityMessage__isset { + _StaminaCapacityMessage__isset() : stamina_capacity(false) {} + bool stamina_capacity :1; +} _StaminaCapacityMessage__isset; + +class StaminaCapacityMessage : public virtual ::apache::thrift::TBase { + public: + + StaminaCapacityMessage(const StaminaCapacityMessage&) noexcept; + StaminaCapacityMessage& operator=(const StaminaCapacityMessage&) noexcept; + StaminaCapacityMessage() noexcept + : stamina_capacity(0) { + } + + virtual ~StaminaCapacityMessage() noexcept; + double stamina_capacity; + + _StaminaCapacityMessage__isset __isset; + + void __set_stamina_capacity(const double val); + + bool operator == (const StaminaCapacityMessage & rhs) const + { + if (!(stamina_capacity == rhs.stamina_capacity)) + return false; + return true; + } + bool operator != (const StaminaCapacityMessage &rhs) const { + return !(*this == rhs); + } + + bool operator < (const StaminaCapacityMessage & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(StaminaCapacityMessage &a, StaminaCapacityMessage &b); + +std::ostream& operator<<(std::ostream& out, const StaminaCapacityMessage& obj); + +typedef struct _DribbleMessage__isset { + _DribbleMessage__isset() : target_point(false), queue_count(false) {} + bool target_point :1; + bool queue_count :1; +} _DribbleMessage__isset; + +class DribbleMessage : public virtual ::apache::thrift::TBase { + public: + + DribbleMessage(const DribbleMessage&) noexcept; + DribbleMessage& operator=(const DribbleMessage&) noexcept; + DribbleMessage() noexcept + : queue_count(0) { + } + + virtual ~DribbleMessage() noexcept; + RpcVector2D target_point; + int32_t queue_count; + + _DribbleMessage__isset __isset; + + void __set_target_point(const RpcVector2D& val); + + void __set_queue_count(const int32_t val); + + bool operator == (const DribbleMessage & rhs) const + { + if (!(target_point == rhs.target_point)) + return false; + if (!(queue_count == rhs.queue_count)) + return false; + return true; + } + bool operator != (const DribbleMessage &rhs) const { + return !(*this == rhs); + } + + bool operator < (const DribbleMessage & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(DribbleMessage &a, DribbleMessage &b); + +std::ostream& operator<<(std::ostream& out, const DribbleMessage& obj); + +typedef struct _BallGoalieMessage__isset { + _BallGoalieMessage__isset() : ball_position(false), ball_velocity(false), goalie_position(false), goalie_body_direction(false) {} + bool ball_position :1; + bool ball_velocity :1; + bool goalie_position :1; + bool goalie_body_direction :1; +} _BallGoalieMessage__isset; + +class BallGoalieMessage : public virtual ::apache::thrift::TBase { + public: + + BallGoalieMessage(const BallGoalieMessage&) noexcept; + BallGoalieMessage& operator=(const BallGoalieMessage&) noexcept; + BallGoalieMessage() noexcept + : goalie_body_direction(0) { + } + + virtual ~BallGoalieMessage() noexcept; + RpcVector2D ball_position; + RpcVector2D ball_velocity; + RpcVector2D goalie_position; + double goalie_body_direction; + + _BallGoalieMessage__isset __isset; + + void __set_ball_position(const RpcVector2D& val); + + void __set_ball_velocity(const RpcVector2D& val); + + void __set_goalie_position(const RpcVector2D& val); + + void __set_goalie_body_direction(const double val); + + bool operator == (const BallGoalieMessage & rhs) const + { + if (!(ball_position == rhs.ball_position)) + return false; + if (!(ball_velocity == rhs.ball_velocity)) + return false; + if (!(goalie_position == rhs.goalie_position)) + return false; + if (!(goalie_body_direction == rhs.goalie_body_direction)) + return false; + return true; + } + bool operator != (const BallGoalieMessage &rhs) const { + return !(*this == rhs); + } + + bool operator < (const BallGoalieMessage & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(BallGoalieMessage &a, BallGoalieMessage &b); + +std::ostream& operator<<(std::ostream& out, const BallGoalieMessage& obj); + +typedef struct _OnePlayerMessage__isset { + _OnePlayerMessage__isset() : uniform_number(false), position(false) {} + bool uniform_number :1; + bool position :1; +} _OnePlayerMessage__isset; + +class OnePlayerMessage : public virtual ::apache::thrift::TBase { + public: + + OnePlayerMessage(const OnePlayerMessage&) noexcept; + OnePlayerMessage& operator=(const OnePlayerMessage&) noexcept; + OnePlayerMessage() noexcept + : uniform_number(0) { + } + + virtual ~OnePlayerMessage() noexcept; + int32_t uniform_number; + RpcVector2D position; + + _OnePlayerMessage__isset __isset; + + void __set_uniform_number(const int32_t val); + + void __set_position(const RpcVector2D& val); + + bool operator == (const OnePlayerMessage & rhs) const + { + if (!(uniform_number == rhs.uniform_number)) + return false; + if (!(position == rhs.position)) + return false; + return true; + } + bool operator != (const OnePlayerMessage &rhs) const { + return !(*this == rhs); + } + + bool operator < (const OnePlayerMessage & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(OnePlayerMessage &a, OnePlayerMessage &b); + +std::ostream& operator<<(std::ostream& out, const OnePlayerMessage& obj); + +typedef struct _TwoPlayerMessage__isset { + _TwoPlayerMessage__isset() : first_uniform_number(false), first_position(false), second_uniform_number(false), second_position(false) {} + bool first_uniform_number :1; + bool first_position :1; + bool second_uniform_number :1; + bool second_position :1; +} _TwoPlayerMessage__isset; + +class TwoPlayerMessage : public virtual ::apache::thrift::TBase { + public: + + TwoPlayerMessage(const TwoPlayerMessage&) noexcept; + TwoPlayerMessage& operator=(const TwoPlayerMessage&) noexcept; + TwoPlayerMessage() noexcept + : first_uniform_number(0), + second_uniform_number(0) { + } + + virtual ~TwoPlayerMessage() noexcept; + int32_t first_uniform_number; + RpcVector2D first_position; + int32_t second_uniform_number; + RpcVector2D second_position; + + _TwoPlayerMessage__isset __isset; + + void __set_first_uniform_number(const int32_t val); + + void __set_first_position(const RpcVector2D& val); + + void __set_second_uniform_number(const int32_t val); + + void __set_second_position(const RpcVector2D& val); + + bool operator == (const TwoPlayerMessage & rhs) const + { + if (!(first_uniform_number == rhs.first_uniform_number)) + return false; + if (!(first_position == rhs.first_position)) + return false; + if (!(second_uniform_number == rhs.second_uniform_number)) + return false; + if (!(second_position == rhs.second_position)) + return false; + return true; + } + bool operator != (const TwoPlayerMessage &rhs) const { + return !(*this == rhs); + } + + bool operator < (const TwoPlayerMessage & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(TwoPlayerMessage &a, TwoPlayerMessage &b); + +std::ostream& operator<<(std::ostream& out, const TwoPlayerMessage& obj); + +typedef struct _ThreePlayerMessage__isset { + _ThreePlayerMessage__isset() : first_uniform_number(false), first_position(false), second_uniform_number(false), second_position(false), third_uniform_number(false), third_position(false) {} + bool first_uniform_number :1; + bool first_position :1; + bool second_uniform_number :1; + bool second_position :1; + bool third_uniform_number :1; + bool third_position :1; +} _ThreePlayerMessage__isset; + +class ThreePlayerMessage : public virtual ::apache::thrift::TBase { + public: + + ThreePlayerMessage(const ThreePlayerMessage&) noexcept; + ThreePlayerMessage& operator=(const ThreePlayerMessage&) noexcept; + ThreePlayerMessage() noexcept + : first_uniform_number(0), + second_uniform_number(0), + third_uniform_number(0) { + } + + virtual ~ThreePlayerMessage() noexcept; + int32_t first_uniform_number; + RpcVector2D first_position; + int32_t second_uniform_number; + RpcVector2D second_position; + int32_t third_uniform_number; + RpcVector2D third_position; + + _ThreePlayerMessage__isset __isset; + + void __set_first_uniform_number(const int32_t val); + + void __set_first_position(const RpcVector2D& val); + + void __set_second_uniform_number(const int32_t val); + + void __set_second_position(const RpcVector2D& val); + + void __set_third_uniform_number(const int32_t val); + + void __set_third_position(const RpcVector2D& val); + + bool operator == (const ThreePlayerMessage & rhs) const + { + if (!(first_uniform_number == rhs.first_uniform_number)) + return false; + if (!(first_position == rhs.first_position)) + return false; + if (!(second_uniform_number == rhs.second_uniform_number)) + return false; + if (!(second_position == rhs.second_position)) + return false; + if (!(third_uniform_number == rhs.third_uniform_number)) + return false; + if (!(third_position == rhs.third_position)) + return false; + return true; + } + bool operator != (const ThreePlayerMessage &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ThreePlayerMessage & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(ThreePlayerMessage &a, ThreePlayerMessage &b); + +std::ostream& operator<<(std::ostream& out, const ThreePlayerMessage& obj); + +typedef struct _SelfMessage__isset { + _SelfMessage__isset() : self_position(false), self_body_direction(false), self_stamina(false) {} + bool self_position :1; + bool self_body_direction :1; + bool self_stamina :1; +} _SelfMessage__isset; + +class SelfMessage : public virtual ::apache::thrift::TBase { + public: + + SelfMessage(const SelfMessage&) noexcept; + SelfMessage& operator=(const SelfMessage&) noexcept; + SelfMessage() noexcept + : self_body_direction(0), + self_stamina(0) { + } + + virtual ~SelfMessage() noexcept; + RpcVector2D self_position; + double self_body_direction; + double self_stamina; + + _SelfMessage__isset __isset; + + void __set_self_position(const RpcVector2D& val); + + void __set_self_body_direction(const double val); + + void __set_self_stamina(const double val); + + bool operator == (const SelfMessage & rhs) const + { + if (!(self_position == rhs.self_position)) + return false; + if (!(self_body_direction == rhs.self_body_direction)) + return false; + if (!(self_stamina == rhs.self_stamina)) + return false; + return true; + } + bool operator != (const SelfMessage &rhs) const { + return !(*this == rhs); + } + + bool operator < (const SelfMessage & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(SelfMessage &a, SelfMessage &b); + +std::ostream& operator<<(std::ostream& out, const SelfMessage& obj); + +typedef struct _TeammateMessage__isset { + _TeammateMessage__isset() : uniform_number(false), position(false), body_direction(false) {} + bool uniform_number :1; + bool position :1; + bool body_direction :1; +} _TeammateMessage__isset; + +class TeammateMessage : public virtual ::apache::thrift::TBase { + public: + + TeammateMessage(const TeammateMessage&) noexcept; + TeammateMessage& operator=(const TeammateMessage&) noexcept; + TeammateMessage() noexcept + : uniform_number(0), + body_direction(0) { + } + + virtual ~TeammateMessage() noexcept; + int32_t uniform_number; + RpcVector2D position; + double body_direction; + + _TeammateMessage__isset __isset; + + void __set_uniform_number(const int32_t val); + + void __set_position(const RpcVector2D& val); + + void __set_body_direction(const double val); + + bool operator == (const TeammateMessage & rhs) const + { + if (!(uniform_number == rhs.uniform_number)) + return false; + if (!(position == rhs.position)) + return false; + if (!(body_direction == rhs.body_direction)) + return false; + return true; + } + bool operator != (const TeammateMessage &rhs) const { + return !(*this == rhs); + } + + bool operator < (const TeammateMessage & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(TeammateMessage &a, TeammateMessage &b); + +std::ostream& operator<<(std::ostream& out, const TeammateMessage& obj); + +typedef struct _OpponentMessage__isset { + _OpponentMessage__isset() : uniform_number(false), position(false), body_direction(false) {} + bool uniform_number :1; + bool position :1; + bool body_direction :1; +} _OpponentMessage__isset; + +class OpponentMessage : public virtual ::apache::thrift::TBase { + public: + + OpponentMessage(const OpponentMessage&) noexcept; + OpponentMessage& operator=(const OpponentMessage&) noexcept; + OpponentMessage() noexcept + : uniform_number(0), + body_direction(0) { + } + + virtual ~OpponentMessage() noexcept; + int32_t uniform_number; + RpcVector2D position; + double body_direction; + + _OpponentMessage__isset __isset; + + void __set_uniform_number(const int32_t val); + + void __set_position(const RpcVector2D& val); + + void __set_body_direction(const double val); + + bool operator == (const OpponentMessage & rhs) const + { + if (!(uniform_number == rhs.uniform_number)) + return false; + if (!(position == rhs.position)) + return false; + if (!(body_direction == rhs.body_direction)) + return false; + return true; + } + bool operator != (const OpponentMessage &rhs) const { + return !(*this == rhs); + } + + bool operator < (const OpponentMessage & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(OpponentMessage &a, OpponentMessage &b); + +std::ostream& operator<<(std::ostream& out, const OpponentMessage& obj); + +typedef struct _BallPlayerMessage__isset { + _BallPlayerMessage__isset() : ball_position(false), ball_velocity(false), uniform_number(false), player_position(false), body_direction(false) {} + bool ball_position :1; + bool ball_velocity :1; + bool uniform_number :1; + bool player_position :1; + bool body_direction :1; +} _BallPlayerMessage__isset; + +class BallPlayerMessage : public virtual ::apache::thrift::TBase { + public: + + BallPlayerMessage(const BallPlayerMessage&) noexcept; + BallPlayerMessage& operator=(const BallPlayerMessage&) noexcept; + BallPlayerMessage() noexcept + : uniform_number(0), + body_direction(0) { + } + + virtual ~BallPlayerMessage() noexcept; + RpcVector2D ball_position; + RpcVector2D ball_velocity; + int32_t uniform_number; + RpcVector2D player_position; + double body_direction; + + _BallPlayerMessage__isset __isset; + + void __set_ball_position(const RpcVector2D& val); + + void __set_ball_velocity(const RpcVector2D& val); + + void __set_uniform_number(const int32_t val); + + void __set_player_position(const RpcVector2D& val); + + void __set_body_direction(const double val); + + bool operator == (const BallPlayerMessage & rhs) const + { + if (!(ball_position == rhs.ball_position)) + return false; + if (!(ball_velocity == rhs.ball_velocity)) + return false; + if (!(uniform_number == rhs.uniform_number)) + return false; + if (!(player_position == rhs.player_position)) + return false; + if (!(body_direction == rhs.body_direction)) + return false; + return true; + } + bool operator != (const BallPlayerMessage &rhs) const { + return !(*this == rhs); + } + + bool operator < (const BallPlayerMessage & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(BallPlayerMessage &a, BallPlayerMessage &b); + +std::ostream& operator<<(std::ostream& out, const BallPlayerMessage& obj); + +typedef struct _Say__isset { + _Say__isset() : ball_message(false), pass_message(false), intercept_message(false), goalie_message(false), goalie_and_player_message(false), offside_line_message(false), defense_line_message(false), wait_request_message(false), setplay_message(false), pass_request_message(false), stamina_message(false), recovery_message(false), stamina_capacity_message(false), dribble_message(false), ball_goalie_message(false), one_player_message(false), two_player_message(false), three_player_message(false), self_message(false), teammate_message(false), opponent_message(false), ball_player_message(false) {} + bool ball_message :1; + bool pass_message :1; + bool intercept_message :1; + bool goalie_message :1; + bool goalie_and_player_message :1; + bool offside_line_message :1; + bool defense_line_message :1; + bool wait_request_message :1; + bool setplay_message :1; + bool pass_request_message :1; + bool stamina_message :1; + bool recovery_message :1; + bool stamina_capacity_message :1; + bool dribble_message :1; + bool ball_goalie_message :1; + bool one_player_message :1; + bool two_player_message :1; + bool three_player_message :1; + bool self_message :1; + bool teammate_message :1; + bool opponent_message :1; + bool ball_player_message :1; +} _Say__isset; + +class Say : public virtual ::apache::thrift::TBase { + public: + + Say(const Say&) noexcept; + Say& operator=(const Say&) noexcept; + Say() noexcept { + } + + virtual ~Say() noexcept; + BallMessage ball_message; + PassMessage pass_message; + InterceptMessage intercept_message; + GoalieMessage goalie_message; + GoalieAndPlayerMessage goalie_and_player_message; + OffsideLineMessage offside_line_message; + DefenseLineMessage defense_line_message; + WaitRequestMessage wait_request_message; + SetplayMessage setplay_message; + PassRequestMessage pass_request_message; + StaminaMessage stamina_message; + RecoveryMessage recovery_message; + StaminaCapacityMessage stamina_capacity_message; + DribbleMessage dribble_message; + BallGoalieMessage ball_goalie_message; + OnePlayerMessage one_player_message; + TwoPlayerMessage two_player_message; + ThreePlayerMessage three_player_message; + SelfMessage self_message; + TeammateMessage teammate_message; + OpponentMessage opponent_message; + BallPlayerMessage ball_player_message; + + _Say__isset __isset; + + void __set_ball_message(const BallMessage& val); + + void __set_pass_message(const PassMessage& val); + + void __set_intercept_message(const InterceptMessage& val); + + void __set_goalie_message(const GoalieMessage& val); + + void __set_goalie_and_player_message(const GoalieAndPlayerMessage& val); + + void __set_offside_line_message(const OffsideLineMessage& val); + + void __set_defense_line_message(const DefenseLineMessage& val); + + void __set_wait_request_message(const WaitRequestMessage& val); + + void __set_setplay_message(const SetplayMessage& val); + + void __set_pass_request_message(const PassRequestMessage& val); + + void __set_stamina_message(const StaminaMessage& val); + + void __set_recovery_message(const RecoveryMessage& val); + + void __set_stamina_capacity_message(const StaminaCapacityMessage& val); + + void __set_dribble_message(const DribbleMessage& val); + + void __set_ball_goalie_message(const BallGoalieMessage& val); + + void __set_one_player_message(const OnePlayerMessage& val); + + void __set_two_player_message(const TwoPlayerMessage& val); + + void __set_three_player_message(const ThreePlayerMessage& val); + + void __set_self_message(const SelfMessage& val); + + void __set_teammate_message(const TeammateMessage& val); + + void __set_opponent_message(const OpponentMessage& val); + + void __set_ball_player_message(const BallPlayerMessage& val); + + bool operator == (const Say & rhs) const + { + if (__isset.ball_message != rhs.__isset.ball_message) + return false; + else if (__isset.ball_message && !(ball_message == rhs.ball_message)) + return false; + if (__isset.pass_message != rhs.__isset.pass_message) + return false; + else if (__isset.pass_message && !(pass_message == rhs.pass_message)) + return false; + if (__isset.intercept_message != rhs.__isset.intercept_message) + return false; + else if (__isset.intercept_message && !(intercept_message == rhs.intercept_message)) + return false; + if (__isset.goalie_message != rhs.__isset.goalie_message) + return false; + else if (__isset.goalie_message && !(goalie_message == rhs.goalie_message)) + return false; + if (__isset.goalie_and_player_message != rhs.__isset.goalie_and_player_message) + return false; + else if (__isset.goalie_and_player_message && !(goalie_and_player_message == rhs.goalie_and_player_message)) + return false; + if (__isset.offside_line_message != rhs.__isset.offside_line_message) + return false; + else if (__isset.offside_line_message && !(offside_line_message == rhs.offside_line_message)) + return false; + if (__isset.defense_line_message != rhs.__isset.defense_line_message) + return false; + else if (__isset.defense_line_message && !(defense_line_message == rhs.defense_line_message)) + return false; + if (__isset.wait_request_message != rhs.__isset.wait_request_message) + return false; + else if (__isset.wait_request_message && !(wait_request_message == rhs.wait_request_message)) + return false; + if (__isset.setplay_message != rhs.__isset.setplay_message) + return false; + else if (__isset.setplay_message && !(setplay_message == rhs.setplay_message)) + return false; + if (__isset.pass_request_message != rhs.__isset.pass_request_message) + return false; + else if (__isset.pass_request_message && !(pass_request_message == rhs.pass_request_message)) + return false; + if (__isset.stamina_message != rhs.__isset.stamina_message) + return false; + else if (__isset.stamina_message && !(stamina_message == rhs.stamina_message)) + return false; + if (__isset.recovery_message != rhs.__isset.recovery_message) + return false; + else if (__isset.recovery_message && !(recovery_message == rhs.recovery_message)) + return false; + if (__isset.stamina_capacity_message != rhs.__isset.stamina_capacity_message) + return false; + else if (__isset.stamina_capacity_message && !(stamina_capacity_message == rhs.stamina_capacity_message)) + return false; + if (__isset.dribble_message != rhs.__isset.dribble_message) + return false; + else if (__isset.dribble_message && !(dribble_message == rhs.dribble_message)) + return false; + if (__isset.ball_goalie_message != rhs.__isset.ball_goalie_message) + return false; + else if (__isset.ball_goalie_message && !(ball_goalie_message == rhs.ball_goalie_message)) + return false; + if (__isset.one_player_message != rhs.__isset.one_player_message) + return false; + else if (__isset.one_player_message && !(one_player_message == rhs.one_player_message)) + return false; + if (__isset.two_player_message != rhs.__isset.two_player_message) + return false; + else if (__isset.two_player_message && !(two_player_message == rhs.two_player_message)) + return false; + if (__isset.three_player_message != rhs.__isset.three_player_message) + return false; + else if (__isset.three_player_message && !(three_player_message == rhs.three_player_message)) + return false; + if (__isset.self_message != rhs.__isset.self_message) + return false; + else if (__isset.self_message && !(self_message == rhs.self_message)) + return false; + if (__isset.teammate_message != rhs.__isset.teammate_message) + return false; + else if (__isset.teammate_message && !(teammate_message == rhs.teammate_message)) + return false; + if (__isset.opponent_message != rhs.__isset.opponent_message) + return false; + else if (__isset.opponent_message && !(opponent_message == rhs.opponent_message)) + return false; + if (__isset.ball_player_message != rhs.__isset.ball_player_message) + return false; + else if (__isset.ball_player_message && !(ball_player_message == rhs.ball_player_message)) + return false; + return true; + } + bool operator != (const Say &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Say & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Say &a, Say &b); + +std::ostream& operator<<(std::ostream& out, const Say& obj); + +typedef struct _PointTo__isset { + _PointTo__isset() : x(false), y(false) {} + bool x :1; + bool y :1; +} _PointTo__isset; + +class PointTo : public virtual ::apache::thrift::TBase { + public: + + PointTo(const PointTo&) noexcept; + PointTo& operator=(const PointTo&) noexcept; + PointTo() noexcept + : x(0), + y(0) { + } + + virtual ~PointTo() noexcept; + double x; + double y; + + _PointTo__isset __isset; + + void __set_x(const double val); + + void __set_y(const double val); + + bool operator == (const PointTo & rhs) const + { + if (!(x == rhs.x)) + return false; + if (!(y == rhs.y)) + return false; + return true; + } + bool operator != (const PointTo &rhs) const { + return !(*this == rhs); + } + + bool operator < (const PointTo & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(PointTo &a, PointTo &b); + +std::ostream& operator<<(std::ostream& out, const PointTo& obj); + + +class PointToOf : public virtual ::apache::thrift::TBase { + public: + + PointToOf(const PointToOf&) noexcept; + PointToOf& operator=(const PointToOf&) noexcept; + PointToOf() noexcept { + } + + virtual ~PointToOf() noexcept; + + bool operator == (const PointToOf & /* rhs */) const + { + return true; + } + bool operator != (const PointToOf &rhs) const { + return !(*this == rhs); + } + + bool operator < (const PointToOf & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(PointToOf &a, PointToOf &b); + +std::ostream& operator<<(std::ostream& out, const PointToOf& obj); + +typedef struct _AttentionTo__isset { + _AttentionTo__isset() : side(false), unum(false) {} + bool side :1; + bool unum :1; +} _AttentionTo__isset; + +class AttentionTo : public virtual ::apache::thrift::TBase { + public: + + AttentionTo(const AttentionTo&) noexcept; + AttentionTo& operator=(const AttentionTo&) noexcept; + AttentionTo() noexcept + : side(static_cast(0)), + unum(0) { + } + + virtual ~AttentionTo() noexcept; + /** + * + * @see Side + */ + Side::type side; + int32_t unum; + + _AttentionTo__isset __isset; + + void __set_side(const Side::type val); + + void __set_unum(const int32_t val); + + bool operator == (const AttentionTo & rhs) const + { + if (!(side == rhs.side)) + return false; + if (!(unum == rhs.unum)) + return false; + return true; + } + bool operator != (const AttentionTo &rhs) const { + return !(*this == rhs); + } + + bool operator < (const AttentionTo & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(AttentionTo &a, AttentionTo &b); + +std::ostream& operator<<(std::ostream& out, const AttentionTo& obj); + + +class AttentionToOf : public virtual ::apache::thrift::TBase { + public: + + AttentionToOf(const AttentionToOf&) noexcept; + AttentionToOf& operator=(const AttentionToOf&) noexcept; + AttentionToOf() noexcept { + } + + virtual ~AttentionToOf() noexcept; + + bool operator == (const AttentionToOf & /* rhs */) const + { + return true; + } + bool operator != (const AttentionToOf &rhs) const { + return !(*this == rhs); + } + + bool operator < (const AttentionToOf & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(AttentionToOf &a, AttentionToOf &b); + +std::ostream& operator<<(std::ostream& out, const AttentionToOf& obj); + +typedef struct _AddText__isset { + _AddText__isset() : level(false), message(false) {} + bool level :1; + bool message :1; +} _AddText__isset; + +class AddText : public virtual ::apache::thrift::TBase { + public: + + AddText(const AddText&); + AddText& operator=(const AddText&); + AddText() noexcept + : level(static_cast(0)), + message() { + } + + virtual ~AddText() noexcept; + /** + * + * @see LoggerLevel + */ + LoggerLevel::type level; + std::string message; + + _AddText__isset __isset; + + void __set_level(const LoggerLevel::type val); + + void __set_message(const std::string& val); + + bool operator == (const AddText & rhs) const + { + if (!(level == rhs.level)) + return false; + if (!(message == rhs.message)) + return false; + return true; + } + bool operator != (const AddText &rhs) const { + return !(*this == rhs); + } + + bool operator < (const AddText & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(AddText &a, AddText &b); + +std::ostream& operator<<(std::ostream& out, const AddText& obj); + +typedef struct _AddPoint__isset { + _AddPoint__isset() : level(false), point(false), color(false) {} + bool level :1; + bool point :1; + bool color :1; +} _AddPoint__isset; + +class AddPoint : public virtual ::apache::thrift::TBase { + public: + + AddPoint(const AddPoint&); + AddPoint& operator=(const AddPoint&); + AddPoint() noexcept + : level(static_cast(0)), + color() { + } + + virtual ~AddPoint() noexcept; + /** + * + * @see LoggerLevel + */ + LoggerLevel::type level; + RpcVector2D point; + std::string color; + + _AddPoint__isset __isset; + + void __set_level(const LoggerLevel::type val); + + void __set_point(const RpcVector2D& val); + + void __set_color(const std::string& val); + + bool operator == (const AddPoint & rhs) const + { + if (!(level == rhs.level)) + return false; + if (!(point == rhs.point)) + return false; + if (!(color == rhs.color)) + return false; + return true; + } + bool operator != (const AddPoint &rhs) const { + return !(*this == rhs); + } + + bool operator < (const AddPoint & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(AddPoint &a, AddPoint &b); + +std::ostream& operator<<(std::ostream& out, const AddPoint& obj); + +typedef struct _AddLine__isset { + _AddLine__isset() : level(false), start_point(false), end_point(false), color(false) {} + bool level :1; + bool start_point :1; + bool end_point :1; + bool color :1; +} _AddLine__isset; + +class AddLine : public virtual ::apache::thrift::TBase { + public: + + AddLine(const AddLine&); + AddLine& operator=(const AddLine&); + AddLine() noexcept + : level(static_cast(0)), + color() { + } + + virtual ~AddLine() noexcept; + /** + * + * @see LoggerLevel + */ + LoggerLevel::type level; + RpcVector2D start_point; + RpcVector2D end_point; + std::string color; + + _AddLine__isset __isset; + + void __set_level(const LoggerLevel::type val); + + void __set_start_point(const RpcVector2D& val); + + void __set_end_point(const RpcVector2D& val); + + void __set_color(const std::string& val); + + bool operator == (const AddLine & rhs) const + { + if (!(level == rhs.level)) + return false; + if (!(start_point == rhs.start_point)) + return false; + if (!(end_point == rhs.end_point)) + return false; + if (!(color == rhs.color)) + return false; + return true; + } + bool operator != (const AddLine &rhs) const { + return !(*this == rhs); + } + + bool operator < (const AddLine & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(AddLine &a, AddLine &b); + +std::ostream& operator<<(std::ostream& out, const AddLine& obj); + +typedef struct _AddArc__isset { + _AddArc__isset() : level(false), center(false), radius(false), start_angle(false), span_angel(false), color(false) {} + bool level :1; + bool center :1; + bool radius :1; + bool start_angle :1; + bool span_angel :1; + bool color :1; +} _AddArc__isset; + +class AddArc : public virtual ::apache::thrift::TBase { + public: + + AddArc(const AddArc&); + AddArc& operator=(const AddArc&); + AddArc() noexcept + : level(static_cast(0)), + radius(0), + start_angle(0), + span_angel(0), + color() { + } + + virtual ~AddArc() noexcept; + /** + * + * @see LoggerLevel + */ + LoggerLevel::type level; + RpcVector2D center; + double radius; + double start_angle; + double span_angel; + std::string color; + + _AddArc__isset __isset; + + void __set_level(const LoggerLevel::type val); + + void __set_center(const RpcVector2D& val); + + void __set_radius(const double val); + + void __set_start_angle(const double val); + + void __set_span_angel(const double val); + + void __set_color(const std::string& val); + + bool operator == (const AddArc & rhs) const + { + if (!(level == rhs.level)) + return false; + if (!(center == rhs.center)) + return false; + if (!(radius == rhs.radius)) + return false; + if (!(start_angle == rhs.start_angle)) + return false; + if (!(span_angel == rhs.span_angel)) + return false; + if (!(color == rhs.color)) + return false; + return true; + } + bool operator != (const AddArc &rhs) const { + return !(*this == rhs); + } + + bool operator < (const AddArc & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(AddArc &a, AddArc &b); + +std::ostream& operator<<(std::ostream& out, const AddArc& obj); + +typedef struct _AddCircle__isset { + _AddCircle__isset() : level(false), center(false), radius(false), color(false), fill(false) {} + bool level :1; + bool center :1; + bool radius :1; + bool color :1; + bool fill :1; +} _AddCircle__isset; + +class AddCircle : public virtual ::apache::thrift::TBase { + public: + + AddCircle(const AddCircle&); + AddCircle& operator=(const AddCircle&); + AddCircle() noexcept + : level(static_cast(0)), + radius(0), + color(), + fill(0) { + } + + virtual ~AddCircle() noexcept; + /** + * + * @see LoggerLevel + */ + LoggerLevel::type level; + RpcVector2D center; + double radius; + std::string color; + bool fill; + + _AddCircle__isset __isset; + + void __set_level(const LoggerLevel::type val); + + void __set_center(const RpcVector2D& val); + + void __set_radius(const double val); + + void __set_color(const std::string& val); + + void __set_fill(const bool val); + + bool operator == (const AddCircle & rhs) const + { + if (!(level == rhs.level)) + return false; + if (!(center == rhs.center)) + return false; + if (!(radius == rhs.radius)) + return false; + if (!(color == rhs.color)) + return false; + if (!(fill == rhs.fill)) + return false; + return true; + } + bool operator != (const AddCircle &rhs) const { + return !(*this == rhs); + } + + bool operator < (const AddCircle & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(AddCircle &a, AddCircle &b); + +std::ostream& operator<<(std::ostream& out, const AddCircle& obj); + +typedef struct _AddTriangle__isset { + _AddTriangle__isset() : level(false), point1(false), point2(false), point3(false), color(false), fill(false) {} + bool level :1; + bool point1 :1; + bool point2 :1; + bool point3 :1; + bool color :1; + bool fill :1; +} _AddTriangle__isset; + +class AddTriangle : public virtual ::apache::thrift::TBase { + public: + + AddTriangle(const AddTriangle&); + AddTriangle& operator=(const AddTriangle&); + AddTriangle() noexcept + : level(static_cast(0)), + color(), + fill(0) { + } + + virtual ~AddTriangle() noexcept; + /** + * + * @see LoggerLevel + */ + LoggerLevel::type level; + RpcVector2D point1; + RpcVector2D point2; + RpcVector2D point3; + std::string color; + bool fill; + + _AddTriangle__isset __isset; + + void __set_level(const LoggerLevel::type val); + + void __set_point1(const RpcVector2D& val); + + void __set_point2(const RpcVector2D& val); + + void __set_point3(const RpcVector2D& val); + + void __set_color(const std::string& val); + + void __set_fill(const bool val); + + bool operator == (const AddTriangle & rhs) const + { + if (!(level == rhs.level)) + return false; + if (!(point1 == rhs.point1)) + return false; + if (!(point2 == rhs.point2)) + return false; + if (!(point3 == rhs.point3)) + return false; + if (!(color == rhs.color)) + return false; + if (!(fill == rhs.fill)) + return false; + return true; + } + bool operator != (const AddTriangle &rhs) const { + return !(*this == rhs); + } + + bool operator < (const AddTriangle & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(AddTriangle &a, AddTriangle &b); + +std::ostream& operator<<(std::ostream& out, const AddTriangle& obj); + +typedef struct _AddRectangle__isset { + _AddRectangle__isset() : level(false), left(false), top(false), length(false), width(false), color(false), fill(false) {} + bool level :1; + bool left :1; + bool top :1; + bool length :1; + bool width :1; + bool color :1; + bool fill :1; +} _AddRectangle__isset; + +class AddRectangle : public virtual ::apache::thrift::TBase { + public: + + AddRectangle(const AddRectangle&); + AddRectangle& operator=(const AddRectangle&); + AddRectangle() noexcept + : level(static_cast(0)), + left(0), + top(0), + length(0), + width(0), + color(), + fill(0) { + } + + virtual ~AddRectangle() noexcept; + /** + * + * @see LoggerLevel + */ + LoggerLevel::type level; + double left; + double top; + double length; + double width; + std::string color; + bool fill; + + _AddRectangle__isset __isset; + + void __set_level(const LoggerLevel::type val); + + void __set_left(const double val); + + void __set_top(const double val); + + void __set_length(const double val); + + void __set_width(const double val); + + void __set_color(const std::string& val); + + void __set_fill(const bool val); + + bool operator == (const AddRectangle & rhs) const + { + if (!(level == rhs.level)) + return false; + if (!(left == rhs.left)) + return false; + if (!(top == rhs.top)) + return false; + if (!(length == rhs.length)) + return false; + if (!(width == rhs.width)) + return false; + if (!(color == rhs.color)) + return false; + if (!(fill == rhs.fill)) + return false; + return true; + } + bool operator != (const AddRectangle &rhs) const { + return !(*this == rhs); + } + + bool operator < (const AddRectangle & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(AddRectangle &a, AddRectangle &b); + +std::ostream& operator<<(std::ostream& out, const AddRectangle& obj); + +typedef struct _AddSector__isset { + _AddSector__isset() : level(false), center(false), min_radius(false), max_radius(false), start_angle(false), span_angel(false), color(false), fill(false) {} + bool level :1; + bool center :1; + bool min_radius :1; + bool max_radius :1; + bool start_angle :1; + bool span_angel :1; + bool color :1; + bool fill :1; +} _AddSector__isset; + +class AddSector : public virtual ::apache::thrift::TBase { + public: + + AddSector(const AddSector&); + AddSector& operator=(const AddSector&); + AddSector() noexcept + : level(static_cast(0)), + min_radius(0), + max_radius(0), + start_angle(0), + span_angel(0), + color(), + fill(0) { + } + + virtual ~AddSector() noexcept; + /** + * + * @see LoggerLevel + */ + LoggerLevel::type level; + RpcVector2D center; + double min_radius; + double max_radius; + double start_angle; + double span_angel; + std::string color; + bool fill; + + _AddSector__isset __isset; + + void __set_level(const LoggerLevel::type val); + + void __set_center(const RpcVector2D& val); + + void __set_min_radius(const double val); + + void __set_max_radius(const double val); + + void __set_start_angle(const double val); + + void __set_span_angel(const double val); + + void __set_color(const std::string& val); + + void __set_fill(const bool val); + + bool operator == (const AddSector & rhs) const + { + if (!(level == rhs.level)) + return false; + if (!(center == rhs.center)) + return false; + if (!(min_radius == rhs.min_radius)) + return false; + if (!(max_radius == rhs.max_radius)) + return false; + if (!(start_angle == rhs.start_angle)) + return false; + if (!(span_angel == rhs.span_angel)) + return false; + if (!(color == rhs.color)) + return false; + if (!(fill == rhs.fill)) + return false; + return true; + } + bool operator != (const AddSector &rhs) const { + return !(*this == rhs); + } + + bool operator < (const AddSector & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(AddSector &a, AddSector &b); + +std::ostream& operator<<(std::ostream& out, const AddSector& obj); + +typedef struct _AddMessage__isset { + _AddMessage__isset() : level(false), position(false), message(false), color(false) {} + bool level :1; + bool position :1; + bool message :1; + bool color :1; +} _AddMessage__isset; + +class AddMessage : public virtual ::apache::thrift::TBase { + public: + + AddMessage(const AddMessage&); + AddMessage& operator=(const AddMessage&); + AddMessage() noexcept + : level(static_cast(0)), + message(), + color() { + } + + virtual ~AddMessage() noexcept; + /** + * + * @see LoggerLevel + */ + LoggerLevel::type level; + RpcVector2D position; + std::string message; + std::string color; + + _AddMessage__isset __isset; + + void __set_level(const LoggerLevel::type val); + + void __set_position(const RpcVector2D& val); + + void __set_message(const std::string& val); + + void __set_color(const std::string& val); + + bool operator == (const AddMessage & rhs) const + { + if (!(level == rhs.level)) + return false; + if (!(position == rhs.position)) + return false; + if (!(message == rhs.message)) + return false; + if (!(color == rhs.color)) + return false; + return true; + } + bool operator != (const AddMessage &rhs) const { + return !(*this == rhs); + } + + bool operator < (const AddMessage & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(AddMessage &a, AddMessage &b); + +std::ostream& operator<<(std::ostream& out, const AddMessage& obj); + +typedef struct _Log__isset { + _Log__isset() : add_text(false), add_point(false), add_line(false), add_arc(false), add_circle(false), add_triangle(false), add_rectangle(false), add_sector(false), add_message(false) {} + bool add_text :1; + bool add_point :1; + bool add_line :1; + bool add_arc :1; + bool add_circle :1; + bool add_triangle :1; + bool add_rectangle :1; + bool add_sector :1; + bool add_message :1; +} _Log__isset; + +class Log : public virtual ::apache::thrift::TBase { + public: + + Log(const Log&); + Log& operator=(const Log&); + Log() noexcept { + } + + virtual ~Log() noexcept; + AddText add_text; + AddPoint add_point; + AddLine add_line; + AddArc add_arc; + AddCircle add_circle; + AddTriangle add_triangle; + AddRectangle add_rectangle; + AddSector add_sector; + AddMessage add_message; + + _Log__isset __isset; + + void __set_add_text(const AddText& val); + + void __set_add_point(const AddPoint& val); + + void __set_add_line(const AddLine& val); + + void __set_add_arc(const AddArc& val); + + void __set_add_circle(const AddCircle& val); + + void __set_add_triangle(const AddTriangle& val); + + void __set_add_rectangle(const AddRectangle& val); + + void __set_add_sector(const AddSector& val); + + void __set_add_message(const AddMessage& val); + + bool operator == (const Log & rhs) const + { + if (__isset.add_text != rhs.__isset.add_text) + return false; + else if (__isset.add_text && !(add_text == rhs.add_text)) + return false; + if (__isset.add_point != rhs.__isset.add_point) + return false; + else if (__isset.add_point && !(add_point == rhs.add_point)) + return false; + if (__isset.add_line != rhs.__isset.add_line) + return false; + else if (__isset.add_line && !(add_line == rhs.add_line)) + return false; + if (__isset.add_arc != rhs.__isset.add_arc) + return false; + else if (__isset.add_arc && !(add_arc == rhs.add_arc)) + return false; + if (__isset.add_circle != rhs.__isset.add_circle) + return false; + else if (__isset.add_circle && !(add_circle == rhs.add_circle)) + return false; + if (__isset.add_triangle != rhs.__isset.add_triangle) + return false; + else if (__isset.add_triangle && !(add_triangle == rhs.add_triangle)) + return false; + if (__isset.add_rectangle != rhs.__isset.add_rectangle) + return false; + else if (__isset.add_rectangle && !(add_rectangle == rhs.add_rectangle)) + return false; + if (__isset.add_sector != rhs.__isset.add_sector) + return false; + else if (__isset.add_sector && !(add_sector == rhs.add_sector)) + return false; + if (__isset.add_message != rhs.__isset.add_message) + return false; + else if (__isset.add_message && !(add_message == rhs.add_message)) + return false; + return true; + } + bool operator != (const Log &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Log & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Log &a, Log &b); + +std::ostream& operator<<(std::ostream& out, const Log& obj); + +typedef struct _DebugClient__isset { + _DebugClient__isset() : message(false) {} + bool message :1; +} _DebugClient__isset; + +class DebugClient : public virtual ::apache::thrift::TBase { + public: + + DebugClient(const DebugClient&); + DebugClient& operator=(const DebugClient&); + DebugClient() noexcept + : message() { + } + + virtual ~DebugClient() noexcept; + std::string message; + + _DebugClient__isset __isset; + + void __set_message(const std::string& val); + + bool operator == (const DebugClient & rhs) const + { + if (!(message == rhs.message)) + return false; + return true; + } + bool operator != (const DebugClient &rhs) const { + return !(*this == rhs); + } + + bool operator < (const DebugClient & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(DebugClient &a, DebugClient &b); + +std::ostream& operator<<(std::ostream& out, const DebugClient& obj); + +typedef struct _Body_GoToPoint__isset { + _Body_GoToPoint__isset() : target_point(false), distance_threshold(false), max_dash_power(false) {} + bool target_point :1; + bool distance_threshold :1; + bool max_dash_power :1; +} _Body_GoToPoint__isset; + +class Body_GoToPoint : public virtual ::apache::thrift::TBase { + public: + + Body_GoToPoint(const Body_GoToPoint&) noexcept; + Body_GoToPoint& operator=(const Body_GoToPoint&) noexcept; + Body_GoToPoint() noexcept + : distance_threshold(0), + max_dash_power(0) { + } + + virtual ~Body_GoToPoint() noexcept; + RpcVector2D target_point; + double distance_threshold; + double max_dash_power; + + _Body_GoToPoint__isset __isset; + + void __set_target_point(const RpcVector2D& val); + + void __set_distance_threshold(const double val); + + void __set_max_dash_power(const double val); + + bool operator == (const Body_GoToPoint & rhs) const + { + if (!(target_point == rhs.target_point)) + return false; + if (!(distance_threshold == rhs.distance_threshold)) + return false; + if (!(max_dash_power == rhs.max_dash_power)) + return false; + return true; + } + bool operator != (const Body_GoToPoint &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Body_GoToPoint & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Body_GoToPoint &a, Body_GoToPoint &b); + +std::ostream& operator<<(std::ostream& out, const Body_GoToPoint& obj); + +typedef struct _Body_SmartKick__isset { + _Body_SmartKick__isset() : target_point(false), first_speed(false), first_speed_threshold(false), max_steps(false) {} + bool target_point :1; + bool first_speed :1; + bool first_speed_threshold :1; + bool max_steps :1; +} _Body_SmartKick__isset; + +class Body_SmartKick : public virtual ::apache::thrift::TBase { + public: + + Body_SmartKick(const Body_SmartKick&) noexcept; + Body_SmartKick& operator=(const Body_SmartKick&) noexcept; + Body_SmartKick() noexcept + : first_speed(0), + first_speed_threshold(0), + max_steps(0) { + } + + virtual ~Body_SmartKick() noexcept; + RpcVector2D target_point; + double first_speed; + double first_speed_threshold; + int32_t max_steps; + + _Body_SmartKick__isset __isset; + + void __set_target_point(const RpcVector2D& val); + + void __set_first_speed(const double val); + + void __set_first_speed_threshold(const double val); + + void __set_max_steps(const int32_t val); + + bool operator == (const Body_SmartKick & rhs) const + { + if (!(target_point == rhs.target_point)) + return false; + if (!(first_speed == rhs.first_speed)) + return false; + if (!(first_speed_threshold == rhs.first_speed_threshold)) + return false; + if (!(max_steps == rhs.max_steps)) + return false; + return true; + } + bool operator != (const Body_SmartKick &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Body_SmartKick & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Body_SmartKick &a, Body_SmartKick &b); + +std::ostream& operator<<(std::ostream& out, const Body_SmartKick& obj); + +typedef struct _Bhv_BeforeKickOff__isset { + _Bhv_BeforeKickOff__isset() : point(false) {} + bool point :1; +} _Bhv_BeforeKickOff__isset; + +class Bhv_BeforeKickOff : public virtual ::apache::thrift::TBase { + public: + + Bhv_BeforeKickOff(const Bhv_BeforeKickOff&) noexcept; + Bhv_BeforeKickOff& operator=(const Bhv_BeforeKickOff&) noexcept; + Bhv_BeforeKickOff() noexcept { + } + + virtual ~Bhv_BeforeKickOff() noexcept; + RpcVector2D point; + + _Bhv_BeforeKickOff__isset __isset; + + void __set_point(const RpcVector2D& val); + + bool operator == (const Bhv_BeforeKickOff & rhs) const + { + if (!(point == rhs.point)) + return false; + return true; + } + bool operator != (const Bhv_BeforeKickOff &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Bhv_BeforeKickOff & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Bhv_BeforeKickOff &a, Bhv_BeforeKickOff &b); + +std::ostream& operator<<(std::ostream& out, const Bhv_BeforeKickOff& obj); + + +class Bhv_BodyNeckToBall : public virtual ::apache::thrift::TBase { + public: + + Bhv_BodyNeckToBall(const Bhv_BodyNeckToBall&) noexcept; + Bhv_BodyNeckToBall& operator=(const Bhv_BodyNeckToBall&) noexcept; + Bhv_BodyNeckToBall() noexcept { + } + + virtual ~Bhv_BodyNeckToBall() noexcept; + + bool operator == (const Bhv_BodyNeckToBall & /* rhs */) const + { + return true; + } + bool operator != (const Bhv_BodyNeckToBall &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Bhv_BodyNeckToBall & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Bhv_BodyNeckToBall &a, Bhv_BodyNeckToBall &b); + +std::ostream& operator<<(std::ostream& out, const Bhv_BodyNeckToBall& obj); + +typedef struct _Bhv_BodyNeckToPoint__isset { + _Bhv_BodyNeckToPoint__isset() : point(false) {} + bool point :1; +} _Bhv_BodyNeckToPoint__isset; + +class Bhv_BodyNeckToPoint : public virtual ::apache::thrift::TBase { + public: + + Bhv_BodyNeckToPoint(const Bhv_BodyNeckToPoint&) noexcept; + Bhv_BodyNeckToPoint& operator=(const Bhv_BodyNeckToPoint&) noexcept; + Bhv_BodyNeckToPoint() noexcept { + } + + virtual ~Bhv_BodyNeckToPoint() noexcept; + RpcVector2D point; + + _Bhv_BodyNeckToPoint__isset __isset; + + void __set_point(const RpcVector2D& val); + + bool operator == (const Bhv_BodyNeckToPoint & rhs) const + { + if (!(point == rhs.point)) + return false; + return true; + } + bool operator != (const Bhv_BodyNeckToPoint &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Bhv_BodyNeckToPoint & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Bhv_BodyNeckToPoint &a, Bhv_BodyNeckToPoint &b); + +std::ostream& operator<<(std::ostream& out, const Bhv_BodyNeckToPoint& obj); + + +class Bhv_Emergency : public virtual ::apache::thrift::TBase { + public: + + Bhv_Emergency(const Bhv_Emergency&) noexcept; + Bhv_Emergency& operator=(const Bhv_Emergency&) noexcept; + Bhv_Emergency() noexcept { + } + + virtual ~Bhv_Emergency() noexcept; + + bool operator == (const Bhv_Emergency & /* rhs */) const + { + return true; + } + bool operator != (const Bhv_Emergency &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Bhv_Emergency & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Bhv_Emergency &a, Bhv_Emergency &b); + +std::ostream& operator<<(std::ostream& out, const Bhv_Emergency& obj); + +typedef struct _Bhv_GoToPointLookBall__isset { + _Bhv_GoToPointLookBall__isset() : target_point(false), distance_threshold(false), max_dash_power(false) {} + bool target_point :1; + bool distance_threshold :1; + bool max_dash_power :1; +} _Bhv_GoToPointLookBall__isset; + +class Bhv_GoToPointLookBall : public virtual ::apache::thrift::TBase { + public: + + Bhv_GoToPointLookBall(const Bhv_GoToPointLookBall&) noexcept; + Bhv_GoToPointLookBall& operator=(const Bhv_GoToPointLookBall&) noexcept; + Bhv_GoToPointLookBall() noexcept + : distance_threshold(0), + max_dash_power(0) { + } + + virtual ~Bhv_GoToPointLookBall() noexcept; + RpcVector2D target_point; + double distance_threshold; + double max_dash_power; + + _Bhv_GoToPointLookBall__isset __isset; + + void __set_target_point(const RpcVector2D& val); + + void __set_distance_threshold(const double val); + + void __set_max_dash_power(const double val); + + bool operator == (const Bhv_GoToPointLookBall & rhs) const + { + if (!(target_point == rhs.target_point)) + return false; + if (!(distance_threshold == rhs.distance_threshold)) + return false; + if (!(max_dash_power == rhs.max_dash_power)) + return false; + return true; + } + bool operator != (const Bhv_GoToPointLookBall &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Bhv_GoToPointLookBall & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Bhv_GoToPointLookBall &a, Bhv_GoToPointLookBall &b); + +std::ostream& operator<<(std::ostream& out, const Bhv_GoToPointLookBall& obj); + +typedef struct _Bhv_NeckBodyToBall__isset { + _Bhv_NeckBodyToBall__isset() : angle_buf(false) {} + bool angle_buf :1; +} _Bhv_NeckBodyToBall__isset; + +class Bhv_NeckBodyToBall : public virtual ::apache::thrift::TBase { + public: + + Bhv_NeckBodyToBall(const Bhv_NeckBodyToBall&) noexcept; + Bhv_NeckBodyToBall& operator=(const Bhv_NeckBodyToBall&) noexcept; + Bhv_NeckBodyToBall() noexcept + : angle_buf(0) { + } + + virtual ~Bhv_NeckBodyToBall() noexcept; + double angle_buf; + + _Bhv_NeckBodyToBall__isset __isset; + + void __set_angle_buf(const double val); + + bool operator == (const Bhv_NeckBodyToBall & rhs) const + { + if (!(angle_buf == rhs.angle_buf)) + return false; + return true; + } + bool operator != (const Bhv_NeckBodyToBall &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Bhv_NeckBodyToBall & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Bhv_NeckBodyToBall &a, Bhv_NeckBodyToBall &b); + +std::ostream& operator<<(std::ostream& out, const Bhv_NeckBodyToBall& obj); + +typedef struct _Bhv_NeckBodyToPoint__isset { + _Bhv_NeckBodyToPoint__isset() : point(false), angle_buf(false) {} + bool point :1; + bool angle_buf :1; +} _Bhv_NeckBodyToPoint__isset; + +class Bhv_NeckBodyToPoint : public virtual ::apache::thrift::TBase { + public: + + Bhv_NeckBodyToPoint(const Bhv_NeckBodyToPoint&) noexcept; + Bhv_NeckBodyToPoint& operator=(const Bhv_NeckBodyToPoint&) noexcept; + Bhv_NeckBodyToPoint() noexcept + : angle_buf(0) { + } + + virtual ~Bhv_NeckBodyToPoint() noexcept; + RpcVector2D point; + double angle_buf; + + _Bhv_NeckBodyToPoint__isset __isset; + + void __set_point(const RpcVector2D& val); + + void __set_angle_buf(const double val); + + bool operator == (const Bhv_NeckBodyToPoint & rhs) const + { + if (!(point == rhs.point)) + return false; + if (!(angle_buf == rhs.angle_buf)) + return false; + return true; + } + bool operator != (const Bhv_NeckBodyToPoint &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Bhv_NeckBodyToPoint & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Bhv_NeckBodyToPoint &a, Bhv_NeckBodyToPoint &b); + +std::ostream& operator<<(std::ostream& out, const Bhv_NeckBodyToPoint& obj); + + +class Bhv_ScanField : public virtual ::apache::thrift::TBase { + public: + + Bhv_ScanField(const Bhv_ScanField&) noexcept; + Bhv_ScanField& operator=(const Bhv_ScanField&) noexcept; + Bhv_ScanField() noexcept { + } + + virtual ~Bhv_ScanField() noexcept; + + bool operator == (const Bhv_ScanField & /* rhs */) const + { + return true; + } + bool operator != (const Bhv_ScanField &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Bhv_ScanField & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Bhv_ScanField &a, Bhv_ScanField &b); + +std::ostream& operator<<(std::ostream& out, const Bhv_ScanField& obj); + + +class Body_AdvanceBall : public virtual ::apache::thrift::TBase { + public: + + Body_AdvanceBall(const Body_AdvanceBall&) noexcept; + Body_AdvanceBall& operator=(const Body_AdvanceBall&) noexcept; + Body_AdvanceBall() noexcept { + } + + virtual ~Body_AdvanceBall() noexcept; + + bool operator == (const Body_AdvanceBall & /* rhs */) const + { + return true; + } + bool operator != (const Body_AdvanceBall &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Body_AdvanceBall & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Body_AdvanceBall &a, Body_AdvanceBall &b); + +std::ostream& operator<<(std::ostream& out, const Body_AdvanceBall& obj); + + +class Body_ClearBall : public virtual ::apache::thrift::TBase { + public: + + Body_ClearBall(const Body_ClearBall&) noexcept; + Body_ClearBall& operator=(const Body_ClearBall&) noexcept; + Body_ClearBall() noexcept { + } + + virtual ~Body_ClearBall() noexcept; + + bool operator == (const Body_ClearBall & /* rhs */) const + { + return true; + } + bool operator != (const Body_ClearBall &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Body_ClearBall & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Body_ClearBall &a, Body_ClearBall &b); + +std::ostream& operator<<(std::ostream& out, const Body_ClearBall& obj); + +typedef struct _Body_Dribble__isset { + _Body_Dribble__isset() : target_point(false), distance_threshold(false), dash_power(false), dash_count(false), dodge(false) {} + bool target_point :1; + bool distance_threshold :1; + bool dash_power :1; + bool dash_count :1; + bool dodge :1; +} _Body_Dribble__isset; + +class Body_Dribble : public virtual ::apache::thrift::TBase { + public: + + Body_Dribble(const Body_Dribble&) noexcept; + Body_Dribble& operator=(const Body_Dribble&) noexcept; + Body_Dribble() noexcept + : distance_threshold(0), + dash_power(0), + dash_count(0), + dodge(0) { + } + + virtual ~Body_Dribble() noexcept; + RpcVector2D target_point; + double distance_threshold; + double dash_power; + int32_t dash_count; + bool dodge; + + _Body_Dribble__isset __isset; + + void __set_target_point(const RpcVector2D& val); + + void __set_distance_threshold(const double val); + + void __set_dash_power(const double val); + + void __set_dash_count(const int32_t val); + + void __set_dodge(const bool val); + + bool operator == (const Body_Dribble & rhs) const + { + if (!(target_point == rhs.target_point)) + return false; + if (!(distance_threshold == rhs.distance_threshold)) + return false; + if (!(dash_power == rhs.dash_power)) + return false; + if (!(dash_count == rhs.dash_count)) + return false; + if (!(dodge == rhs.dodge)) + return false; + return true; + } + bool operator != (const Body_Dribble &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Body_Dribble & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Body_Dribble &a, Body_Dribble &b); + +std::ostream& operator<<(std::ostream& out, const Body_Dribble& obj); + +typedef struct _Body_GoToPointDodge__isset { + _Body_GoToPointDodge__isset() : target_point(false), dash_power(false) {} + bool target_point :1; + bool dash_power :1; +} _Body_GoToPointDodge__isset; + +class Body_GoToPointDodge : public virtual ::apache::thrift::TBase { + public: + + Body_GoToPointDodge(const Body_GoToPointDodge&) noexcept; + Body_GoToPointDodge& operator=(const Body_GoToPointDodge&) noexcept; + Body_GoToPointDodge() noexcept + : dash_power(0) { + } + + virtual ~Body_GoToPointDodge() noexcept; + RpcVector2D target_point; + double dash_power; + + _Body_GoToPointDodge__isset __isset; + + void __set_target_point(const RpcVector2D& val); + + void __set_dash_power(const double val); + + bool operator == (const Body_GoToPointDodge & rhs) const + { + if (!(target_point == rhs.target_point)) + return false; + if (!(dash_power == rhs.dash_power)) + return false; + return true; + } + bool operator != (const Body_GoToPointDodge &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Body_GoToPointDodge & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Body_GoToPointDodge &a, Body_GoToPointDodge &b); + +std::ostream& operator<<(std::ostream& out, const Body_GoToPointDodge& obj); + +typedef struct _Body_HoldBall__isset { + _Body_HoldBall__isset() : do_turn(false), turn_target_point(false), kick_target_point(false) {} + bool do_turn :1; + bool turn_target_point :1; + bool kick_target_point :1; +} _Body_HoldBall__isset; + +class Body_HoldBall : public virtual ::apache::thrift::TBase { + public: + + Body_HoldBall(const Body_HoldBall&) noexcept; + Body_HoldBall& operator=(const Body_HoldBall&) noexcept; + Body_HoldBall() noexcept + : do_turn(0) { + } + + virtual ~Body_HoldBall() noexcept; + bool do_turn; + RpcVector2D turn_target_point; + RpcVector2D kick_target_point; + + _Body_HoldBall__isset __isset; + + void __set_do_turn(const bool val); + + void __set_turn_target_point(const RpcVector2D& val); + + void __set_kick_target_point(const RpcVector2D& val); + + bool operator == (const Body_HoldBall & rhs) const + { + if (!(do_turn == rhs.do_turn)) + return false; + if (!(turn_target_point == rhs.turn_target_point)) + return false; + if (!(kick_target_point == rhs.kick_target_point)) + return false; + return true; + } + bool operator != (const Body_HoldBall &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Body_HoldBall & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Body_HoldBall &a, Body_HoldBall &b); + +std::ostream& operator<<(std::ostream& out, const Body_HoldBall& obj); + +typedef struct _Body_Intercept__isset { + _Body_Intercept__isset() : save_recovery(false), face_point(false) {} + bool save_recovery :1; + bool face_point :1; +} _Body_Intercept__isset; + +class Body_Intercept : public virtual ::apache::thrift::TBase { + public: + + Body_Intercept(const Body_Intercept&) noexcept; + Body_Intercept& operator=(const Body_Intercept&) noexcept; + Body_Intercept() noexcept + : save_recovery(0) { + } + + virtual ~Body_Intercept() noexcept; + bool save_recovery; + RpcVector2D face_point; + + _Body_Intercept__isset __isset; + + void __set_save_recovery(const bool val); + + void __set_face_point(const RpcVector2D& val); + + bool operator == (const Body_Intercept & rhs) const + { + if (!(save_recovery == rhs.save_recovery)) + return false; + if (!(face_point == rhs.face_point)) + return false; + return true; + } + bool operator != (const Body_Intercept &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Body_Intercept & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Body_Intercept &a, Body_Intercept &b); + +std::ostream& operator<<(std::ostream& out, const Body_Intercept& obj); + +typedef struct _Body_KickOneStep__isset { + _Body_KickOneStep__isset() : target_point(false), first_speed(false), force_mode(false) {} + bool target_point :1; + bool first_speed :1; + bool force_mode :1; +} _Body_KickOneStep__isset; + +class Body_KickOneStep : public virtual ::apache::thrift::TBase { + public: + + Body_KickOneStep(const Body_KickOneStep&) noexcept; + Body_KickOneStep& operator=(const Body_KickOneStep&) noexcept; + Body_KickOneStep() noexcept + : first_speed(0), + force_mode(0) { + } + + virtual ~Body_KickOneStep() noexcept; + RpcVector2D target_point; + double first_speed; + bool force_mode; + + _Body_KickOneStep__isset __isset; + + void __set_target_point(const RpcVector2D& val); + + void __set_first_speed(const double val); + + void __set_force_mode(const bool val); + + bool operator == (const Body_KickOneStep & rhs) const + { + if (!(target_point == rhs.target_point)) + return false; + if (!(first_speed == rhs.first_speed)) + return false; + if (!(force_mode == rhs.force_mode)) + return false; + return true; + } + bool operator != (const Body_KickOneStep &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Body_KickOneStep & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Body_KickOneStep &a, Body_KickOneStep &b); + +std::ostream& operator<<(std::ostream& out, const Body_KickOneStep& obj); + + +class Body_StopBall : public virtual ::apache::thrift::TBase { + public: + + Body_StopBall(const Body_StopBall&) noexcept; + Body_StopBall& operator=(const Body_StopBall&) noexcept; + Body_StopBall() noexcept { + } + + virtual ~Body_StopBall() noexcept; + + bool operator == (const Body_StopBall & /* rhs */) const + { + return true; + } + bool operator != (const Body_StopBall &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Body_StopBall & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Body_StopBall &a, Body_StopBall &b); + +std::ostream& operator<<(std::ostream& out, const Body_StopBall& obj); + +typedef struct _Body_StopDash__isset { + _Body_StopDash__isset() : save_recovery(false) {} + bool save_recovery :1; +} _Body_StopDash__isset; + +class Body_StopDash : public virtual ::apache::thrift::TBase { + public: + + Body_StopDash(const Body_StopDash&) noexcept; + Body_StopDash& operator=(const Body_StopDash&) noexcept; + Body_StopDash() noexcept + : save_recovery(0) { + } + + virtual ~Body_StopDash() noexcept; + bool save_recovery; + + _Body_StopDash__isset __isset; + + void __set_save_recovery(const bool val); + + bool operator == (const Body_StopDash & rhs) const + { + if (!(save_recovery == rhs.save_recovery)) + return false; + return true; + } + bool operator != (const Body_StopDash &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Body_StopDash & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Body_StopDash &a, Body_StopDash &b); + +std::ostream& operator<<(std::ostream& out, const Body_StopDash& obj); + +typedef struct _Body_TackleToPoint__isset { + _Body_TackleToPoint__isset() : target_point(false), min_probability(false), min_speed(false) {} + bool target_point :1; + bool min_probability :1; + bool min_speed :1; +} _Body_TackleToPoint__isset; + +class Body_TackleToPoint : public virtual ::apache::thrift::TBase { + public: + + Body_TackleToPoint(const Body_TackleToPoint&) noexcept; + Body_TackleToPoint& operator=(const Body_TackleToPoint&) noexcept; + Body_TackleToPoint() noexcept + : min_probability(0), + min_speed(0) { + } + + virtual ~Body_TackleToPoint() noexcept; + RpcVector2D target_point; + double min_probability; + double min_speed; + + _Body_TackleToPoint__isset __isset; + + void __set_target_point(const RpcVector2D& val); + + void __set_min_probability(const double val); + + void __set_min_speed(const double val); + + bool operator == (const Body_TackleToPoint & rhs) const + { + if (!(target_point == rhs.target_point)) + return false; + if (!(min_probability == rhs.min_probability)) + return false; + if (!(min_speed == rhs.min_speed)) + return false; + return true; + } + bool operator != (const Body_TackleToPoint &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Body_TackleToPoint & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Body_TackleToPoint &a, Body_TackleToPoint &b); + +std::ostream& operator<<(std::ostream& out, const Body_TackleToPoint& obj); + +typedef struct _Body_TurnToAngle__isset { + _Body_TurnToAngle__isset() : angle(false) {} + bool angle :1; +} _Body_TurnToAngle__isset; + +class Body_TurnToAngle : public virtual ::apache::thrift::TBase { + public: + + Body_TurnToAngle(const Body_TurnToAngle&) noexcept; + Body_TurnToAngle& operator=(const Body_TurnToAngle&) noexcept; + Body_TurnToAngle() noexcept + : angle(0) { + } + + virtual ~Body_TurnToAngle() noexcept; + double angle; + + _Body_TurnToAngle__isset __isset; + + void __set_angle(const double val); + + bool operator == (const Body_TurnToAngle & rhs) const + { + if (!(angle == rhs.angle)) + return false; + return true; + } + bool operator != (const Body_TurnToAngle &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Body_TurnToAngle & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Body_TurnToAngle &a, Body_TurnToAngle &b); + +std::ostream& operator<<(std::ostream& out, const Body_TurnToAngle& obj); + +typedef struct _Body_TurnToBall__isset { + _Body_TurnToBall__isset() : cycle(false) {} + bool cycle :1; +} _Body_TurnToBall__isset; + +class Body_TurnToBall : public virtual ::apache::thrift::TBase { + public: + + Body_TurnToBall(const Body_TurnToBall&) noexcept; + Body_TurnToBall& operator=(const Body_TurnToBall&) noexcept; + Body_TurnToBall() noexcept + : cycle(0) { + } + + virtual ~Body_TurnToBall() noexcept; + int32_t cycle; + + _Body_TurnToBall__isset __isset; + + void __set_cycle(const int32_t val); + + bool operator == (const Body_TurnToBall & rhs) const + { + if (!(cycle == rhs.cycle)) + return false; + return true; + } + bool operator != (const Body_TurnToBall &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Body_TurnToBall & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Body_TurnToBall &a, Body_TurnToBall &b); + +std::ostream& operator<<(std::ostream& out, const Body_TurnToBall& obj); + +typedef struct _Body_TurnToPoint__isset { + _Body_TurnToPoint__isset() : target_point(false), cycle(false) {} + bool target_point :1; + bool cycle :1; +} _Body_TurnToPoint__isset; + +class Body_TurnToPoint : public virtual ::apache::thrift::TBase { + public: + + Body_TurnToPoint(const Body_TurnToPoint&) noexcept; + Body_TurnToPoint& operator=(const Body_TurnToPoint&) noexcept; + Body_TurnToPoint() noexcept + : cycle(0) { + } + + virtual ~Body_TurnToPoint() noexcept; + RpcVector2D target_point; + int32_t cycle; + + _Body_TurnToPoint__isset __isset; + + void __set_target_point(const RpcVector2D& val); + + void __set_cycle(const int32_t val); + + bool operator == (const Body_TurnToPoint & rhs) const + { + if (!(target_point == rhs.target_point)) + return false; + if (!(cycle == rhs.cycle)) + return false; + return true; + } + bool operator != (const Body_TurnToPoint &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Body_TurnToPoint & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Body_TurnToPoint &a, Body_TurnToPoint &b); + +std::ostream& operator<<(std::ostream& out, const Body_TurnToPoint& obj); + +typedef struct _Focus_MoveToPoint__isset { + _Focus_MoveToPoint__isset() : target_point(false) {} + bool target_point :1; +} _Focus_MoveToPoint__isset; + +class Focus_MoveToPoint : public virtual ::apache::thrift::TBase { + public: + + Focus_MoveToPoint(const Focus_MoveToPoint&) noexcept; + Focus_MoveToPoint& operator=(const Focus_MoveToPoint&) noexcept; + Focus_MoveToPoint() noexcept { + } + + virtual ~Focus_MoveToPoint() noexcept; + RpcVector2D target_point; + + _Focus_MoveToPoint__isset __isset; + + void __set_target_point(const RpcVector2D& val); + + bool operator == (const Focus_MoveToPoint & rhs) const + { + if (!(target_point == rhs.target_point)) + return false; + return true; + } + bool operator != (const Focus_MoveToPoint &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Focus_MoveToPoint & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Focus_MoveToPoint &a, Focus_MoveToPoint &b); + +std::ostream& operator<<(std::ostream& out, const Focus_MoveToPoint& obj); + + +class Focus_Reset : public virtual ::apache::thrift::TBase { + public: + + Focus_Reset(const Focus_Reset&) noexcept; + Focus_Reset& operator=(const Focus_Reset&) noexcept; + Focus_Reset() noexcept { + } + + virtual ~Focus_Reset() noexcept; + + bool operator == (const Focus_Reset & /* rhs */) const + { + return true; + } + bool operator != (const Focus_Reset &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Focus_Reset & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Focus_Reset &a, Focus_Reset &b); + +std::ostream& operator<<(std::ostream& out, const Focus_Reset& obj); + + +class Neck_ScanField : public virtual ::apache::thrift::TBase { + public: + + Neck_ScanField(const Neck_ScanField&) noexcept; + Neck_ScanField& operator=(const Neck_ScanField&) noexcept; + Neck_ScanField() noexcept { + } + + virtual ~Neck_ScanField() noexcept; + + bool operator == (const Neck_ScanField & /* rhs */) const + { + return true; + } + bool operator != (const Neck_ScanField &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Neck_ScanField & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Neck_ScanField &a, Neck_ScanField &b); + +std::ostream& operator<<(std::ostream& out, const Neck_ScanField& obj); + + +class Neck_ScanPlayers : public virtual ::apache::thrift::TBase { + public: + + Neck_ScanPlayers(const Neck_ScanPlayers&) noexcept; + Neck_ScanPlayers& operator=(const Neck_ScanPlayers&) noexcept; + Neck_ScanPlayers() noexcept { + } + + virtual ~Neck_ScanPlayers() noexcept; + + bool operator == (const Neck_ScanPlayers & /* rhs */) const + { + return true; + } + bool operator != (const Neck_ScanPlayers &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Neck_ScanPlayers & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Neck_ScanPlayers &a, Neck_ScanPlayers &b); + +std::ostream& operator<<(std::ostream& out, const Neck_ScanPlayers& obj); + +typedef struct _Neck_TurnToBallAndPlayer__isset { + _Neck_TurnToBallAndPlayer__isset() : side(false), uniform_number(false), count_threshold(false) {} + bool side :1; + bool uniform_number :1; + bool count_threshold :1; +} _Neck_TurnToBallAndPlayer__isset; + +class Neck_TurnToBallAndPlayer : public virtual ::apache::thrift::TBase { + public: + + Neck_TurnToBallAndPlayer(const Neck_TurnToBallAndPlayer&) noexcept; + Neck_TurnToBallAndPlayer& operator=(const Neck_TurnToBallAndPlayer&) noexcept; + Neck_TurnToBallAndPlayer() noexcept + : side(static_cast(0)), + uniform_number(0), + count_threshold(0) { + } + + virtual ~Neck_TurnToBallAndPlayer() noexcept; + /** + * + * @see Side + */ + Side::type side; + int32_t uniform_number; + int32_t count_threshold; + + _Neck_TurnToBallAndPlayer__isset __isset; + + void __set_side(const Side::type val); + + void __set_uniform_number(const int32_t val); + + void __set_count_threshold(const int32_t val); + + bool operator == (const Neck_TurnToBallAndPlayer & rhs) const + { + if (!(side == rhs.side)) + return false; + if (!(uniform_number == rhs.uniform_number)) + return false; + if (!(count_threshold == rhs.count_threshold)) + return false; + return true; + } + bool operator != (const Neck_TurnToBallAndPlayer &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Neck_TurnToBallAndPlayer & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Neck_TurnToBallAndPlayer &a, Neck_TurnToBallAndPlayer &b); + +std::ostream& operator<<(std::ostream& out, const Neck_TurnToBallAndPlayer& obj); + +typedef struct _Neck_TurnToBallOrScan__isset { + _Neck_TurnToBallOrScan__isset() : count_threshold(false) {} + bool count_threshold :1; +} _Neck_TurnToBallOrScan__isset; + +class Neck_TurnToBallOrScan : public virtual ::apache::thrift::TBase { + public: + + Neck_TurnToBallOrScan(const Neck_TurnToBallOrScan&) noexcept; + Neck_TurnToBallOrScan& operator=(const Neck_TurnToBallOrScan&) noexcept; + Neck_TurnToBallOrScan() noexcept + : count_threshold(0) { + } + + virtual ~Neck_TurnToBallOrScan() noexcept; + int32_t count_threshold; + + _Neck_TurnToBallOrScan__isset __isset; + + void __set_count_threshold(const int32_t val); + + bool operator == (const Neck_TurnToBallOrScan & rhs) const + { + if (!(count_threshold == rhs.count_threshold)) + return false; + return true; + } + bool operator != (const Neck_TurnToBallOrScan &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Neck_TurnToBallOrScan & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Neck_TurnToBallOrScan &a, Neck_TurnToBallOrScan &b); + +std::ostream& operator<<(std::ostream& out, const Neck_TurnToBallOrScan& obj); + + +class Neck_TurnToBall : public virtual ::apache::thrift::TBase { + public: + + Neck_TurnToBall(const Neck_TurnToBall&) noexcept; + Neck_TurnToBall& operator=(const Neck_TurnToBall&) noexcept; + Neck_TurnToBall() noexcept { + } + + virtual ~Neck_TurnToBall() noexcept; + + bool operator == (const Neck_TurnToBall & /* rhs */) const + { + return true; + } + bool operator != (const Neck_TurnToBall &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Neck_TurnToBall & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Neck_TurnToBall &a, Neck_TurnToBall &b); + +std::ostream& operator<<(std::ostream& out, const Neck_TurnToBall& obj); + +typedef struct _Neck_TurnToGoalieOrScan__isset { + _Neck_TurnToGoalieOrScan__isset() : count_threshold(false) {} + bool count_threshold :1; +} _Neck_TurnToGoalieOrScan__isset; + +class Neck_TurnToGoalieOrScan : public virtual ::apache::thrift::TBase { + public: + + Neck_TurnToGoalieOrScan(const Neck_TurnToGoalieOrScan&) noexcept; + Neck_TurnToGoalieOrScan& operator=(const Neck_TurnToGoalieOrScan&) noexcept; + Neck_TurnToGoalieOrScan() noexcept + : count_threshold(0) { + } + + virtual ~Neck_TurnToGoalieOrScan() noexcept; + int32_t count_threshold; + + _Neck_TurnToGoalieOrScan__isset __isset; + + void __set_count_threshold(const int32_t val); + + bool operator == (const Neck_TurnToGoalieOrScan & rhs) const + { + if (!(count_threshold == rhs.count_threshold)) + return false; + return true; + } + bool operator != (const Neck_TurnToGoalieOrScan &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Neck_TurnToGoalieOrScan & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Neck_TurnToGoalieOrScan &a, Neck_TurnToGoalieOrScan &b); + +std::ostream& operator<<(std::ostream& out, const Neck_TurnToGoalieOrScan& obj); + + +class Neck_TurnToLowConfTeammate : public virtual ::apache::thrift::TBase { + public: + + Neck_TurnToLowConfTeammate(const Neck_TurnToLowConfTeammate&) noexcept; + Neck_TurnToLowConfTeammate& operator=(const Neck_TurnToLowConfTeammate&) noexcept; + Neck_TurnToLowConfTeammate() noexcept { + } + + virtual ~Neck_TurnToLowConfTeammate() noexcept; + + bool operator == (const Neck_TurnToLowConfTeammate & /* rhs */) const + { + return true; + } + bool operator != (const Neck_TurnToLowConfTeammate &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Neck_TurnToLowConfTeammate & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Neck_TurnToLowConfTeammate &a, Neck_TurnToLowConfTeammate &b); + +std::ostream& operator<<(std::ostream& out, const Neck_TurnToLowConfTeammate& obj); + +typedef struct _Neck_TurnToPlayerOrScan__isset { + _Neck_TurnToPlayerOrScan__isset() : side(false), uniform_number(false), count_threshold(false) {} + bool side :1; + bool uniform_number :1; + bool count_threshold :1; +} _Neck_TurnToPlayerOrScan__isset; + +class Neck_TurnToPlayerOrScan : public virtual ::apache::thrift::TBase { + public: + + Neck_TurnToPlayerOrScan(const Neck_TurnToPlayerOrScan&) noexcept; + Neck_TurnToPlayerOrScan& operator=(const Neck_TurnToPlayerOrScan&) noexcept; + Neck_TurnToPlayerOrScan() noexcept + : side(static_cast(0)), + uniform_number(0), + count_threshold(0) { + } + + virtual ~Neck_TurnToPlayerOrScan() noexcept; + /** + * + * @see Side + */ + Side::type side; + int32_t uniform_number; + int32_t count_threshold; + + _Neck_TurnToPlayerOrScan__isset __isset; + + void __set_side(const Side::type val); + + void __set_uniform_number(const int32_t val); + + void __set_count_threshold(const int32_t val); + + bool operator == (const Neck_TurnToPlayerOrScan & rhs) const + { + if (!(side == rhs.side)) + return false; + if (!(uniform_number == rhs.uniform_number)) + return false; + if (!(count_threshold == rhs.count_threshold)) + return false; + return true; + } + bool operator != (const Neck_TurnToPlayerOrScan &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Neck_TurnToPlayerOrScan & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Neck_TurnToPlayerOrScan &a, Neck_TurnToPlayerOrScan &b); + +std::ostream& operator<<(std::ostream& out, const Neck_TurnToPlayerOrScan& obj); + +typedef struct _Neck_TurnToPoint__isset { + _Neck_TurnToPoint__isset() : target_point(false) {} + bool target_point :1; +} _Neck_TurnToPoint__isset; + +class Neck_TurnToPoint : public virtual ::apache::thrift::TBase { + public: + + Neck_TurnToPoint(const Neck_TurnToPoint&) noexcept; + Neck_TurnToPoint& operator=(const Neck_TurnToPoint&) noexcept; + Neck_TurnToPoint() noexcept { + } + + virtual ~Neck_TurnToPoint() noexcept; + RpcVector2D target_point; + + _Neck_TurnToPoint__isset __isset; + + void __set_target_point(const RpcVector2D& val); + + bool operator == (const Neck_TurnToPoint & rhs) const + { + if (!(target_point == rhs.target_point)) + return false; + return true; + } + bool operator != (const Neck_TurnToPoint &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Neck_TurnToPoint & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Neck_TurnToPoint &a, Neck_TurnToPoint &b); + +std::ostream& operator<<(std::ostream& out, const Neck_TurnToPoint& obj); + +typedef struct _Neck_TurnToRelative__isset { + _Neck_TurnToRelative__isset() : angle(false) {} + bool angle :1; +} _Neck_TurnToRelative__isset; + +class Neck_TurnToRelative : public virtual ::apache::thrift::TBase { + public: + + Neck_TurnToRelative(const Neck_TurnToRelative&) noexcept; + Neck_TurnToRelative& operator=(const Neck_TurnToRelative&) noexcept; + Neck_TurnToRelative() noexcept + : angle(0) { + } + + virtual ~Neck_TurnToRelative() noexcept; + double angle; + + _Neck_TurnToRelative__isset __isset; + + void __set_angle(const double val); + + bool operator == (const Neck_TurnToRelative & rhs) const + { + if (!(angle == rhs.angle)) + return false; + return true; + } + bool operator != (const Neck_TurnToRelative &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Neck_TurnToRelative & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Neck_TurnToRelative &a, Neck_TurnToRelative &b); + +std::ostream& operator<<(std::ostream& out, const Neck_TurnToRelative& obj); + +typedef struct _View_ChangeWidth__isset { + _View_ChangeWidth__isset() : view_width(false) {} + bool view_width :1; +} _View_ChangeWidth__isset; + +class View_ChangeWidth : public virtual ::apache::thrift::TBase { + public: + + View_ChangeWidth(const View_ChangeWidth&) noexcept; + View_ChangeWidth& operator=(const View_ChangeWidth&) noexcept; + View_ChangeWidth() noexcept + : view_width(static_cast(0)) { + } + + virtual ~View_ChangeWidth() noexcept; + /** + * + * @see ViewWidth + */ + ViewWidth::type view_width; + + _View_ChangeWidth__isset __isset; + + void __set_view_width(const ViewWidth::type val); + + bool operator == (const View_ChangeWidth & rhs) const + { + if (!(view_width == rhs.view_width)) + return false; + return true; + } + bool operator != (const View_ChangeWidth &rhs) const { + return !(*this == rhs); + } + + bool operator < (const View_ChangeWidth & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(View_ChangeWidth &a, View_ChangeWidth &b); + +std::ostream& operator<<(std::ostream& out, const View_ChangeWidth& obj); + + +class View_Normal : public virtual ::apache::thrift::TBase { + public: + + View_Normal(const View_Normal&) noexcept; + View_Normal& operator=(const View_Normal&) noexcept; + View_Normal() noexcept { + } + + virtual ~View_Normal() noexcept; + + bool operator == (const View_Normal & /* rhs */) const + { + return true; + } + bool operator != (const View_Normal &rhs) const { + return !(*this == rhs); + } + + bool operator < (const View_Normal & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(View_Normal &a, View_Normal &b); + +std::ostream& operator<<(std::ostream& out, const View_Normal& obj); + + +class View_Synch : public virtual ::apache::thrift::TBase { + public: + + View_Synch(const View_Synch&) noexcept; + View_Synch& operator=(const View_Synch&) noexcept; + View_Synch() noexcept { + } + + virtual ~View_Synch() noexcept; + + bool operator == (const View_Synch & /* rhs */) const + { + return true; + } + bool operator != (const View_Synch &rhs) const { + return !(*this == rhs); + } + + bool operator < (const View_Synch & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(View_Synch &a, View_Synch &b); + +std::ostream& operator<<(std::ostream& out, const View_Synch& obj); + + +class View_Wide : public virtual ::apache::thrift::TBase { + public: + + View_Wide(const View_Wide&) noexcept; + View_Wide& operator=(const View_Wide&) noexcept; + View_Wide() noexcept { + } + + virtual ~View_Wide() noexcept; + + bool operator == (const View_Wide & /* rhs */) const + { + return true; + } + bool operator != (const View_Wide &rhs) const { + return !(*this == rhs); + } + + bool operator < (const View_Wide & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(View_Wide &a, View_Wide &b); + +std::ostream& operator<<(std::ostream& out, const View_Wide& obj); + + +class HeliosGoalie : public virtual ::apache::thrift::TBase { + public: + + HeliosGoalie(const HeliosGoalie&) noexcept; + HeliosGoalie& operator=(const HeliosGoalie&) noexcept; + HeliosGoalie() noexcept { + } + + virtual ~HeliosGoalie() noexcept; + + bool operator == (const HeliosGoalie & /* rhs */) const + { + return true; + } + bool operator != (const HeliosGoalie &rhs) const { + return !(*this == rhs); + } + + bool operator < (const HeliosGoalie & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(HeliosGoalie &a, HeliosGoalie &b); + +std::ostream& operator<<(std::ostream& out, const HeliosGoalie& obj); + + +class HeliosGoalieMove : public virtual ::apache::thrift::TBase { + public: + + HeliosGoalieMove(const HeliosGoalieMove&) noexcept; + HeliosGoalieMove& operator=(const HeliosGoalieMove&) noexcept; + HeliosGoalieMove() noexcept { + } + + virtual ~HeliosGoalieMove() noexcept; + + bool operator == (const HeliosGoalieMove & /* rhs */) const + { + return true; + } + bool operator != (const HeliosGoalieMove &rhs) const { + return !(*this == rhs); + } + + bool operator < (const HeliosGoalieMove & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(HeliosGoalieMove &a, HeliosGoalieMove &b); + +std::ostream& operator<<(std::ostream& out, const HeliosGoalieMove& obj); + + +class HeliosGoalieKick : public virtual ::apache::thrift::TBase { + public: + + HeliosGoalieKick(const HeliosGoalieKick&) noexcept; + HeliosGoalieKick& operator=(const HeliosGoalieKick&) noexcept; + HeliosGoalieKick() noexcept { + } + + virtual ~HeliosGoalieKick() noexcept; + + bool operator == (const HeliosGoalieKick & /* rhs */) const + { + return true; + } + bool operator != (const HeliosGoalieKick &rhs) const { + return !(*this == rhs); + } + + bool operator < (const HeliosGoalieKick & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(HeliosGoalieKick &a, HeliosGoalieKick &b); + +std::ostream& operator<<(std::ostream& out, const HeliosGoalieKick& obj); + + +class HeliosShoot : public virtual ::apache::thrift::TBase { + public: + + HeliosShoot(const HeliosShoot&) noexcept; + HeliosShoot& operator=(const HeliosShoot&) noexcept; + HeliosShoot() noexcept { + } + + virtual ~HeliosShoot() noexcept; + + bool operator == (const HeliosShoot & /* rhs */) const + { + return true; + } + bool operator != (const HeliosShoot &rhs) const { + return !(*this == rhs); + } + + bool operator < (const HeliosShoot & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(HeliosShoot &a, HeliosShoot &b); + +std::ostream& operator<<(std::ostream& out, const HeliosShoot& obj); + +typedef struct _HeliosChainAction__isset { + _HeliosChainAction__isset() : direct_pass(false), lead_pass(false), through_pass(false), short_dribble(false), long_dribble(false), cross(false), simple_pass(false), simple_dribble(false), simple_shoot(false), server_side_decision(false) {} + bool direct_pass :1; + bool lead_pass :1; + bool through_pass :1; + bool short_dribble :1; + bool long_dribble :1; + bool cross :1; + bool simple_pass :1; + bool simple_dribble :1; + bool simple_shoot :1; + bool server_side_decision :1; +} _HeliosChainAction__isset; + +class HeliosChainAction : public virtual ::apache::thrift::TBase { + public: + + HeliosChainAction(const HeliosChainAction&) noexcept; + HeliosChainAction& operator=(const HeliosChainAction&) noexcept; + HeliosChainAction() noexcept + : direct_pass(0), + lead_pass(0), + through_pass(0), + short_dribble(0), + long_dribble(0), + cross(0), + simple_pass(0), + simple_dribble(0), + simple_shoot(0), + server_side_decision(0) { + } + + virtual ~HeliosChainAction() noexcept; + bool direct_pass; + bool lead_pass; + bool through_pass; + bool short_dribble; + bool long_dribble; + bool cross; + bool simple_pass; + bool simple_dribble; + bool simple_shoot; + bool server_side_decision; + + _HeliosChainAction__isset __isset; + + void __set_direct_pass(const bool val); + + void __set_lead_pass(const bool val); + + void __set_through_pass(const bool val); + + void __set_short_dribble(const bool val); + + void __set_long_dribble(const bool val); + + void __set_cross(const bool val); + + void __set_simple_pass(const bool val); + + void __set_simple_dribble(const bool val); + + void __set_simple_shoot(const bool val); + + void __set_server_side_decision(const bool val); + + bool operator == (const HeliosChainAction & rhs) const + { + if (!(direct_pass == rhs.direct_pass)) + return false; + if (!(lead_pass == rhs.lead_pass)) + return false; + if (!(through_pass == rhs.through_pass)) + return false; + if (!(short_dribble == rhs.short_dribble)) + return false; + if (!(long_dribble == rhs.long_dribble)) + return false; + if (!(cross == rhs.cross)) + return false; + if (!(simple_pass == rhs.simple_pass)) + return false; + if (!(simple_dribble == rhs.simple_dribble)) + return false; + if (!(simple_shoot == rhs.simple_shoot)) + return false; + if (!(server_side_decision == rhs.server_side_decision)) + return false; + return true; + } + bool operator != (const HeliosChainAction &rhs) const { + return !(*this == rhs); + } + + bool operator < (const HeliosChainAction & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(HeliosChainAction &a, HeliosChainAction &b); + +std::ostream& operator<<(std::ostream& out, const HeliosChainAction& obj); + + +class HeliosBasicOffensive : public virtual ::apache::thrift::TBase { + public: + + HeliosBasicOffensive(const HeliosBasicOffensive&) noexcept; + HeliosBasicOffensive& operator=(const HeliosBasicOffensive&) noexcept; + HeliosBasicOffensive() noexcept { + } + + virtual ~HeliosBasicOffensive() noexcept; + + bool operator == (const HeliosBasicOffensive & /* rhs */) const + { + return true; + } + bool operator != (const HeliosBasicOffensive &rhs) const { + return !(*this == rhs); + } + + bool operator < (const HeliosBasicOffensive & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(HeliosBasicOffensive &a, HeliosBasicOffensive &b); + +std::ostream& operator<<(std::ostream& out, const HeliosBasicOffensive& obj); + + +class HeliosBasicMove : public virtual ::apache::thrift::TBase { + public: + + HeliosBasicMove(const HeliosBasicMove&) noexcept; + HeliosBasicMove& operator=(const HeliosBasicMove&) noexcept; + HeliosBasicMove() noexcept { + } + + virtual ~HeliosBasicMove() noexcept; + + bool operator == (const HeliosBasicMove & /* rhs */) const + { + return true; + } + bool operator != (const HeliosBasicMove &rhs) const { + return !(*this == rhs); + } + + bool operator < (const HeliosBasicMove & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(HeliosBasicMove &a, HeliosBasicMove &b); + +std::ostream& operator<<(std::ostream& out, const HeliosBasicMove& obj); + + +class HeliosSetPlay : public virtual ::apache::thrift::TBase { + public: + + HeliosSetPlay(const HeliosSetPlay&) noexcept; + HeliosSetPlay& operator=(const HeliosSetPlay&) noexcept; + HeliosSetPlay() noexcept { + } + + virtual ~HeliosSetPlay() noexcept; + + bool operator == (const HeliosSetPlay & /* rhs */) const + { + return true; + } + bool operator != (const HeliosSetPlay &rhs) const { + return !(*this == rhs); + } + + bool operator < (const HeliosSetPlay & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(HeliosSetPlay &a, HeliosSetPlay &b); + +std::ostream& operator<<(std::ostream& out, const HeliosSetPlay& obj); + + +class HeliosPenalty : public virtual ::apache::thrift::TBase { + public: + + HeliosPenalty(const HeliosPenalty&) noexcept; + HeliosPenalty& operator=(const HeliosPenalty&) noexcept; + HeliosPenalty() noexcept { + } + + virtual ~HeliosPenalty() noexcept; + + bool operator == (const HeliosPenalty & /* rhs */) const + { + return true; + } + bool operator != (const HeliosPenalty &rhs) const { + return !(*this == rhs); + } + + bool operator < (const HeliosPenalty & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(HeliosPenalty &a, HeliosPenalty &b); + +std::ostream& operator<<(std::ostream& out, const HeliosPenalty& obj); + + +class HeliosCommunicaion : public virtual ::apache::thrift::TBase { + public: + + HeliosCommunicaion(const HeliosCommunicaion&) noexcept; + HeliosCommunicaion& operator=(const HeliosCommunicaion&) noexcept; + HeliosCommunicaion() noexcept { + } + + virtual ~HeliosCommunicaion() noexcept; + + bool operator == (const HeliosCommunicaion & /* rhs */) const + { + return true; + } + bool operator != (const HeliosCommunicaion &rhs) const { + return !(*this == rhs); + } + + bool operator < (const HeliosCommunicaion & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(HeliosCommunicaion &a, HeliosCommunicaion &b); + +std::ostream& operator<<(std::ostream& out, const HeliosCommunicaion& obj); + +typedef struct _PlayerAction__isset { + _PlayerAction__isset() : dash(false), turn(false), kick(false), tackle(false), catch_action(false), move(false), turn_neck(false), change_view(false), say(false), point_to(false), point_to_of(false), attention_to(false), attention_to_of(false), log(false), debug_client(false), body_go_to_point(false), body_smart_kick(false), bhv_before_kick_off(false), bhv_body_neck_to_ball(false), bhv_body_neck_to_point(false), bhv_emergency(false), bhv_go_to_point_look_ball(false), bhv_neck_body_to_ball(false), bhv_neck_body_to_point(false), bhv_scan_field(false), body_advance_ball(false), body_clear_ball(false), body_dribble(false), body_go_to_point_dodge(false), body_hold_ball(false), body_intercept(false), body_kick_one_step(false), body_stop_ball(false), body_stop_dash(false), body_tackle_to_point(false), body_turn_to_angle(false), body_turn_to_ball(false), body_turn_to_point(false), focus_move_to_point(false), focus_reset(false), neck_scan_field(false), neck_scan_players(false), neck_turn_to_ball_and_player(false), neck_turn_to_ball_or_scan(false), neck_turn_to_ball(false), neck_turn_to_goalie_or_scan(false), neck_turn_to_low_conf_teammate(false), neck_turn_to_player_or_scan(false), neck_turn_to_point(false), neck_turn_to_relative(false), view_change_width(false), view_normal(false), view_synch(false), view_wide(false), helios_goalie(false), helios_goalie_move(false), helios_goalie_kick(false), helios_shoot(false), helios_chain_action(false), helios_basic_offensive(false), helios_basic_move(false), helios_set_play(false), helios_penalty(false), helios_communication(false) {} + bool dash :1; + bool turn :1; + bool kick :1; + bool tackle :1; + bool catch_action :1; + bool move :1; + bool turn_neck :1; + bool change_view :1; + bool say :1; + bool point_to :1; + bool point_to_of :1; + bool attention_to :1; + bool attention_to_of :1; + bool log :1; + bool debug_client :1; + bool body_go_to_point :1; + bool body_smart_kick :1; + bool bhv_before_kick_off :1; + bool bhv_body_neck_to_ball :1; + bool bhv_body_neck_to_point :1; + bool bhv_emergency :1; + bool bhv_go_to_point_look_ball :1; + bool bhv_neck_body_to_ball :1; + bool bhv_neck_body_to_point :1; + bool bhv_scan_field :1; + bool body_advance_ball :1; + bool body_clear_ball :1; + bool body_dribble :1; + bool body_go_to_point_dodge :1; + bool body_hold_ball :1; + bool body_intercept :1; + bool body_kick_one_step :1; + bool body_stop_ball :1; + bool body_stop_dash :1; + bool body_tackle_to_point :1; + bool body_turn_to_angle :1; + bool body_turn_to_ball :1; + bool body_turn_to_point :1; + bool focus_move_to_point :1; + bool focus_reset :1; + bool neck_scan_field :1; + bool neck_scan_players :1; + bool neck_turn_to_ball_and_player :1; + bool neck_turn_to_ball_or_scan :1; + bool neck_turn_to_ball :1; + bool neck_turn_to_goalie_or_scan :1; + bool neck_turn_to_low_conf_teammate :1; + bool neck_turn_to_player_or_scan :1; + bool neck_turn_to_point :1; + bool neck_turn_to_relative :1; + bool view_change_width :1; + bool view_normal :1; + bool view_synch :1; + bool view_wide :1; + bool helios_goalie :1; + bool helios_goalie_move :1; + bool helios_goalie_kick :1; + bool helios_shoot :1; + bool helios_chain_action :1; + bool helios_basic_offensive :1; + bool helios_basic_move :1; + bool helios_set_play :1; + bool helios_penalty :1; + bool helios_communication :1; +} _PlayerAction__isset; + +class PlayerAction : public virtual ::apache::thrift::TBase { + public: + + PlayerAction(const PlayerAction&); + PlayerAction& operator=(const PlayerAction&); + PlayerAction() noexcept { + } + + virtual ~PlayerAction() noexcept; + Dash dash; + Turn turn; + Kick kick; + Tackle tackle; + Catch catch_action; + Move move; + TurnNeck turn_neck; + ChangeView change_view; + Say say; + PointTo point_to; + PointToOf point_to_of; + AttentionTo attention_to; + AttentionToOf attention_to_of; + Log log; + DebugClient debug_client; + Body_GoToPoint body_go_to_point; + Body_SmartKick body_smart_kick; + Bhv_BeforeKickOff bhv_before_kick_off; + Bhv_BodyNeckToBall bhv_body_neck_to_ball; + Bhv_BodyNeckToPoint bhv_body_neck_to_point; + Bhv_Emergency bhv_emergency; + Bhv_GoToPointLookBall bhv_go_to_point_look_ball; + Bhv_NeckBodyToBall bhv_neck_body_to_ball; + Bhv_NeckBodyToPoint bhv_neck_body_to_point; + Bhv_ScanField bhv_scan_field; + Body_AdvanceBall body_advance_ball; + Body_ClearBall body_clear_ball; + Body_Dribble body_dribble; + Body_GoToPointDodge body_go_to_point_dodge; + Body_HoldBall body_hold_ball; + Body_Intercept body_intercept; + Body_KickOneStep body_kick_one_step; + Body_StopBall body_stop_ball; + Body_StopDash body_stop_dash; + Body_TackleToPoint body_tackle_to_point; + Body_TurnToAngle body_turn_to_angle; + Body_TurnToBall body_turn_to_ball; + Body_TurnToPoint body_turn_to_point; + Focus_MoveToPoint focus_move_to_point; + Focus_Reset focus_reset; + Neck_ScanField neck_scan_field; + Neck_ScanPlayers neck_scan_players; + Neck_TurnToBallAndPlayer neck_turn_to_ball_and_player; + Neck_TurnToBallOrScan neck_turn_to_ball_or_scan; + Neck_TurnToBall neck_turn_to_ball; + Neck_TurnToGoalieOrScan neck_turn_to_goalie_or_scan; + Neck_TurnToLowConfTeammate neck_turn_to_low_conf_teammate; + Neck_TurnToPlayerOrScan neck_turn_to_player_or_scan; + Neck_TurnToPoint neck_turn_to_point; + Neck_TurnToRelative neck_turn_to_relative; + View_ChangeWidth view_change_width; + View_Normal view_normal; + View_Synch view_synch; + View_Wide view_wide; + HeliosGoalie helios_goalie; + HeliosGoalieMove helios_goalie_move; + HeliosGoalieKick helios_goalie_kick; + HeliosShoot helios_shoot; + HeliosChainAction helios_chain_action; + HeliosBasicOffensive helios_basic_offensive; + HeliosBasicMove helios_basic_move; + HeliosSetPlay helios_set_play; + HeliosPenalty helios_penalty; + HeliosCommunicaion helios_communication; + + _PlayerAction__isset __isset; + + void __set_dash(const Dash& val); + + void __set_turn(const Turn& val); + + void __set_kick(const Kick& val); + + void __set_tackle(const Tackle& val); + + void __set_catch_action(const Catch& val); + + void __set_move(const Move& val); + + void __set_turn_neck(const TurnNeck& val); + + void __set_change_view(const ChangeView& val); + + void __set_say(const Say& val); + + void __set_point_to(const PointTo& val); + + void __set_point_to_of(const PointToOf& val); + + void __set_attention_to(const AttentionTo& val); + + void __set_attention_to_of(const AttentionToOf& val); + + void __set_log(const Log& val); + + void __set_debug_client(const DebugClient& val); + + void __set_body_go_to_point(const Body_GoToPoint& val); + + void __set_body_smart_kick(const Body_SmartKick& val); + + void __set_bhv_before_kick_off(const Bhv_BeforeKickOff& val); + + void __set_bhv_body_neck_to_ball(const Bhv_BodyNeckToBall& val); + + void __set_bhv_body_neck_to_point(const Bhv_BodyNeckToPoint& val); + + void __set_bhv_emergency(const Bhv_Emergency& val); + + void __set_bhv_go_to_point_look_ball(const Bhv_GoToPointLookBall& val); + + void __set_bhv_neck_body_to_ball(const Bhv_NeckBodyToBall& val); + + void __set_bhv_neck_body_to_point(const Bhv_NeckBodyToPoint& val); + + void __set_bhv_scan_field(const Bhv_ScanField& val); + + void __set_body_advance_ball(const Body_AdvanceBall& val); + + void __set_body_clear_ball(const Body_ClearBall& val); + + void __set_body_dribble(const Body_Dribble& val); + + void __set_body_go_to_point_dodge(const Body_GoToPointDodge& val); + + void __set_body_hold_ball(const Body_HoldBall& val); + + void __set_body_intercept(const Body_Intercept& val); + + void __set_body_kick_one_step(const Body_KickOneStep& val); + + void __set_body_stop_ball(const Body_StopBall& val); + + void __set_body_stop_dash(const Body_StopDash& val); + + void __set_body_tackle_to_point(const Body_TackleToPoint& val); + + void __set_body_turn_to_angle(const Body_TurnToAngle& val); + + void __set_body_turn_to_ball(const Body_TurnToBall& val); + + void __set_body_turn_to_point(const Body_TurnToPoint& val); + + void __set_focus_move_to_point(const Focus_MoveToPoint& val); + + void __set_focus_reset(const Focus_Reset& val); + + void __set_neck_scan_field(const Neck_ScanField& val); + + void __set_neck_scan_players(const Neck_ScanPlayers& val); + + void __set_neck_turn_to_ball_and_player(const Neck_TurnToBallAndPlayer& val); + + void __set_neck_turn_to_ball_or_scan(const Neck_TurnToBallOrScan& val); + + void __set_neck_turn_to_ball(const Neck_TurnToBall& val); + + void __set_neck_turn_to_goalie_or_scan(const Neck_TurnToGoalieOrScan& val); + + void __set_neck_turn_to_low_conf_teammate(const Neck_TurnToLowConfTeammate& val); + + void __set_neck_turn_to_player_or_scan(const Neck_TurnToPlayerOrScan& val); + + void __set_neck_turn_to_point(const Neck_TurnToPoint& val); + + void __set_neck_turn_to_relative(const Neck_TurnToRelative& val); + + void __set_view_change_width(const View_ChangeWidth& val); + + void __set_view_normal(const View_Normal& val); + + void __set_view_synch(const View_Synch& val); + + void __set_view_wide(const View_Wide& val); + + void __set_helios_goalie(const HeliosGoalie& val); + + void __set_helios_goalie_move(const HeliosGoalieMove& val); + + void __set_helios_goalie_kick(const HeliosGoalieKick& val); + + void __set_helios_shoot(const HeliosShoot& val); + + void __set_helios_chain_action(const HeliosChainAction& val); + + void __set_helios_basic_offensive(const HeliosBasicOffensive& val); + + void __set_helios_basic_move(const HeliosBasicMove& val); + + void __set_helios_set_play(const HeliosSetPlay& val); + + void __set_helios_penalty(const HeliosPenalty& val); + + void __set_helios_communication(const HeliosCommunicaion& val); + + bool operator == (const PlayerAction & rhs) const + { + if (__isset.dash != rhs.__isset.dash) + return false; + else if (__isset.dash && !(dash == rhs.dash)) + return false; + if (__isset.turn != rhs.__isset.turn) + return false; + else if (__isset.turn && !(turn == rhs.turn)) + return false; + if (__isset.kick != rhs.__isset.kick) + return false; + else if (__isset.kick && !(kick == rhs.kick)) + return false; + if (__isset.tackle != rhs.__isset.tackle) + return false; + else if (__isset.tackle && !(tackle == rhs.tackle)) + return false; + if (__isset.catch_action != rhs.__isset.catch_action) + return false; + else if (__isset.catch_action && !(catch_action == rhs.catch_action)) + return false; + if (__isset.move != rhs.__isset.move) + return false; + else if (__isset.move && !(move == rhs.move)) + return false; + if (__isset.turn_neck != rhs.__isset.turn_neck) + return false; + else if (__isset.turn_neck && !(turn_neck == rhs.turn_neck)) + return false; + if (__isset.change_view != rhs.__isset.change_view) + return false; + else if (__isset.change_view && !(change_view == rhs.change_view)) + return false; + if (__isset.say != rhs.__isset.say) + return false; + else if (__isset.say && !(say == rhs.say)) + return false; + if (__isset.point_to != rhs.__isset.point_to) + return false; + else if (__isset.point_to && !(point_to == rhs.point_to)) + return false; + if (__isset.point_to_of != rhs.__isset.point_to_of) + return false; + else if (__isset.point_to_of && !(point_to_of == rhs.point_to_of)) + return false; + if (__isset.attention_to != rhs.__isset.attention_to) + return false; + else if (__isset.attention_to && !(attention_to == rhs.attention_to)) + return false; + if (__isset.attention_to_of != rhs.__isset.attention_to_of) + return false; + else if (__isset.attention_to_of && !(attention_to_of == rhs.attention_to_of)) + return false; + if (__isset.log != rhs.__isset.log) + return false; + else if (__isset.log && !(log == rhs.log)) + return false; + if (__isset.debug_client != rhs.__isset.debug_client) + return false; + else if (__isset.debug_client && !(debug_client == rhs.debug_client)) + return false; + if (__isset.body_go_to_point != rhs.__isset.body_go_to_point) + return false; + else if (__isset.body_go_to_point && !(body_go_to_point == rhs.body_go_to_point)) + return false; + if (__isset.body_smart_kick != rhs.__isset.body_smart_kick) + return false; + else if (__isset.body_smart_kick && !(body_smart_kick == rhs.body_smart_kick)) + return false; + if (__isset.bhv_before_kick_off != rhs.__isset.bhv_before_kick_off) + return false; + else if (__isset.bhv_before_kick_off && !(bhv_before_kick_off == rhs.bhv_before_kick_off)) + return false; + if (__isset.bhv_body_neck_to_ball != rhs.__isset.bhv_body_neck_to_ball) + return false; + else if (__isset.bhv_body_neck_to_ball && !(bhv_body_neck_to_ball == rhs.bhv_body_neck_to_ball)) + return false; + if (__isset.bhv_body_neck_to_point != rhs.__isset.bhv_body_neck_to_point) + return false; + else if (__isset.bhv_body_neck_to_point && !(bhv_body_neck_to_point == rhs.bhv_body_neck_to_point)) + return false; + if (__isset.bhv_emergency != rhs.__isset.bhv_emergency) + return false; + else if (__isset.bhv_emergency && !(bhv_emergency == rhs.bhv_emergency)) + return false; + if (__isset.bhv_go_to_point_look_ball != rhs.__isset.bhv_go_to_point_look_ball) + return false; + else if (__isset.bhv_go_to_point_look_ball && !(bhv_go_to_point_look_ball == rhs.bhv_go_to_point_look_ball)) + return false; + if (__isset.bhv_neck_body_to_ball != rhs.__isset.bhv_neck_body_to_ball) + return false; + else if (__isset.bhv_neck_body_to_ball && !(bhv_neck_body_to_ball == rhs.bhv_neck_body_to_ball)) + return false; + if (__isset.bhv_neck_body_to_point != rhs.__isset.bhv_neck_body_to_point) + return false; + else if (__isset.bhv_neck_body_to_point && !(bhv_neck_body_to_point == rhs.bhv_neck_body_to_point)) + return false; + if (__isset.bhv_scan_field != rhs.__isset.bhv_scan_field) + return false; + else if (__isset.bhv_scan_field && !(bhv_scan_field == rhs.bhv_scan_field)) + return false; + if (__isset.body_advance_ball != rhs.__isset.body_advance_ball) + return false; + else if (__isset.body_advance_ball && !(body_advance_ball == rhs.body_advance_ball)) + return false; + if (__isset.body_clear_ball != rhs.__isset.body_clear_ball) + return false; + else if (__isset.body_clear_ball && !(body_clear_ball == rhs.body_clear_ball)) + return false; + if (__isset.body_dribble != rhs.__isset.body_dribble) + return false; + else if (__isset.body_dribble && !(body_dribble == rhs.body_dribble)) + return false; + if (__isset.body_go_to_point_dodge != rhs.__isset.body_go_to_point_dodge) + return false; + else if (__isset.body_go_to_point_dodge && !(body_go_to_point_dodge == rhs.body_go_to_point_dodge)) + return false; + if (__isset.body_hold_ball != rhs.__isset.body_hold_ball) + return false; + else if (__isset.body_hold_ball && !(body_hold_ball == rhs.body_hold_ball)) + return false; + if (__isset.body_intercept != rhs.__isset.body_intercept) + return false; + else if (__isset.body_intercept && !(body_intercept == rhs.body_intercept)) + return false; + if (__isset.body_kick_one_step != rhs.__isset.body_kick_one_step) + return false; + else if (__isset.body_kick_one_step && !(body_kick_one_step == rhs.body_kick_one_step)) + return false; + if (__isset.body_stop_ball != rhs.__isset.body_stop_ball) + return false; + else if (__isset.body_stop_ball && !(body_stop_ball == rhs.body_stop_ball)) + return false; + if (__isset.body_stop_dash != rhs.__isset.body_stop_dash) + return false; + else if (__isset.body_stop_dash && !(body_stop_dash == rhs.body_stop_dash)) + return false; + if (__isset.body_tackle_to_point != rhs.__isset.body_tackle_to_point) + return false; + else if (__isset.body_tackle_to_point && !(body_tackle_to_point == rhs.body_tackle_to_point)) + return false; + if (__isset.body_turn_to_angle != rhs.__isset.body_turn_to_angle) + return false; + else if (__isset.body_turn_to_angle && !(body_turn_to_angle == rhs.body_turn_to_angle)) + return false; + if (__isset.body_turn_to_ball != rhs.__isset.body_turn_to_ball) + return false; + else if (__isset.body_turn_to_ball && !(body_turn_to_ball == rhs.body_turn_to_ball)) + return false; + if (__isset.body_turn_to_point != rhs.__isset.body_turn_to_point) + return false; + else if (__isset.body_turn_to_point && !(body_turn_to_point == rhs.body_turn_to_point)) + return false; + if (__isset.focus_move_to_point != rhs.__isset.focus_move_to_point) + return false; + else if (__isset.focus_move_to_point && !(focus_move_to_point == rhs.focus_move_to_point)) + return false; + if (__isset.focus_reset != rhs.__isset.focus_reset) + return false; + else if (__isset.focus_reset && !(focus_reset == rhs.focus_reset)) + return false; + if (__isset.neck_scan_field != rhs.__isset.neck_scan_field) + return false; + else if (__isset.neck_scan_field && !(neck_scan_field == rhs.neck_scan_field)) + return false; + if (__isset.neck_scan_players != rhs.__isset.neck_scan_players) + return false; + else if (__isset.neck_scan_players && !(neck_scan_players == rhs.neck_scan_players)) + return false; + if (__isset.neck_turn_to_ball_and_player != rhs.__isset.neck_turn_to_ball_and_player) + return false; + else if (__isset.neck_turn_to_ball_and_player && !(neck_turn_to_ball_and_player == rhs.neck_turn_to_ball_and_player)) + return false; + if (__isset.neck_turn_to_ball_or_scan != rhs.__isset.neck_turn_to_ball_or_scan) + return false; + else if (__isset.neck_turn_to_ball_or_scan && !(neck_turn_to_ball_or_scan == rhs.neck_turn_to_ball_or_scan)) + return false; + if (__isset.neck_turn_to_ball != rhs.__isset.neck_turn_to_ball) + return false; + else if (__isset.neck_turn_to_ball && !(neck_turn_to_ball == rhs.neck_turn_to_ball)) + return false; + if (__isset.neck_turn_to_goalie_or_scan != rhs.__isset.neck_turn_to_goalie_or_scan) + return false; + else if (__isset.neck_turn_to_goalie_or_scan && !(neck_turn_to_goalie_or_scan == rhs.neck_turn_to_goalie_or_scan)) + return false; + if (__isset.neck_turn_to_low_conf_teammate != rhs.__isset.neck_turn_to_low_conf_teammate) + return false; + else if (__isset.neck_turn_to_low_conf_teammate && !(neck_turn_to_low_conf_teammate == rhs.neck_turn_to_low_conf_teammate)) + return false; + if (__isset.neck_turn_to_player_or_scan != rhs.__isset.neck_turn_to_player_or_scan) + return false; + else if (__isset.neck_turn_to_player_or_scan && !(neck_turn_to_player_or_scan == rhs.neck_turn_to_player_or_scan)) + return false; + if (__isset.neck_turn_to_point != rhs.__isset.neck_turn_to_point) + return false; + else if (__isset.neck_turn_to_point && !(neck_turn_to_point == rhs.neck_turn_to_point)) + return false; + if (__isset.neck_turn_to_relative != rhs.__isset.neck_turn_to_relative) + return false; + else if (__isset.neck_turn_to_relative && !(neck_turn_to_relative == rhs.neck_turn_to_relative)) + return false; + if (__isset.view_change_width != rhs.__isset.view_change_width) + return false; + else if (__isset.view_change_width && !(view_change_width == rhs.view_change_width)) + return false; + if (__isset.view_normal != rhs.__isset.view_normal) + return false; + else if (__isset.view_normal && !(view_normal == rhs.view_normal)) + return false; + if (__isset.view_synch != rhs.__isset.view_synch) + return false; + else if (__isset.view_synch && !(view_synch == rhs.view_synch)) + return false; + if (__isset.view_wide != rhs.__isset.view_wide) + return false; + else if (__isset.view_wide && !(view_wide == rhs.view_wide)) + return false; + if (__isset.helios_goalie != rhs.__isset.helios_goalie) + return false; + else if (__isset.helios_goalie && !(helios_goalie == rhs.helios_goalie)) + return false; + if (__isset.helios_goalie_move != rhs.__isset.helios_goalie_move) + return false; + else if (__isset.helios_goalie_move && !(helios_goalie_move == rhs.helios_goalie_move)) + return false; + if (__isset.helios_goalie_kick != rhs.__isset.helios_goalie_kick) + return false; + else if (__isset.helios_goalie_kick && !(helios_goalie_kick == rhs.helios_goalie_kick)) + return false; + if (__isset.helios_shoot != rhs.__isset.helios_shoot) + return false; + else if (__isset.helios_shoot && !(helios_shoot == rhs.helios_shoot)) + return false; + if (__isset.helios_chain_action != rhs.__isset.helios_chain_action) + return false; + else if (__isset.helios_chain_action && !(helios_chain_action == rhs.helios_chain_action)) + return false; + if (__isset.helios_basic_offensive != rhs.__isset.helios_basic_offensive) + return false; + else if (__isset.helios_basic_offensive && !(helios_basic_offensive == rhs.helios_basic_offensive)) + return false; + if (__isset.helios_basic_move != rhs.__isset.helios_basic_move) + return false; + else if (__isset.helios_basic_move && !(helios_basic_move == rhs.helios_basic_move)) + return false; + if (__isset.helios_set_play != rhs.__isset.helios_set_play) + return false; + else if (__isset.helios_set_play && !(helios_set_play == rhs.helios_set_play)) + return false; + if (__isset.helios_penalty != rhs.__isset.helios_penalty) + return false; + else if (__isset.helios_penalty && !(helios_penalty == rhs.helios_penalty)) + return false; + if (__isset.helios_communication != rhs.__isset.helios_communication) + return false; + else if (__isset.helios_communication && !(helios_communication == rhs.helios_communication)) + return false; + return true; + } + bool operator != (const PlayerAction &rhs) const { + return !(*this == rhs); + } + + bool operator < (const PlayerAction & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(PlayerAction &a, PlayerAction &b); + +std::ostream& operator<<(std::ostream& out, const PlayerAction& obj); + +typedef struct _PlayerActions__isset { + _PlayerActions__isset() : actions(false), ignore_preprocess(false) {} + bool actions :1; + bool ignore_preprocess :1; +} _PlayerActions__isset; + +class PlayerActions : public virtual ::apache::thrift::TBase { + public: + + PlayerActions(const PlayerActions&); + PlayerActions& operator=(const PlayerActions&); + PlayerActions() noexcept + : ignore_preprocess(0) { + } + + virtual ~PlayerActions() noexcept; + std::vector actions; + bool ignore_preprocess; + + _PlayerActions__isset __isset; + + void __set_actions(const std::vector & val); + + void __set_ignore_preprocess(const bool val); + + bool operator == (const PlayerActions & rhs) const + { + if (!(actions == rhs.actions)) + return false; + if (!(ignore_preprocess == rhs.ignore_preprocess)) + return false; + return true; + } + bool operator != (const PlayerActions &rhs) const { + return !(*this == rhs); + } + + bool operator < (const PlayerActions & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(PlayerActions &a, PlayerActions &b); + +std::ostream& operator<<(std::ostream& out, const PlayerActions& obj); + +typedef struct _ChangePlayerType__isset { + _ChangePlayerType__isset() : uniform_number(false), type(false) {} + bool uniform_number :1; + bool type :1; +} _ChangePlayerType__isset; + +class ChangePlayerType : public virtual ::apache::thrift::TBase { + public: + + ChangePlayerType(const ChangePlayerType&) noexcept; + ChangePlayerType& operator=(const ChangePlayerType&) noexcept; + ChangePlayerType() noexcept + : uniform_number(0), + type(0) { + } + + virtual ~ChangePlayerType() noexcept; + int32_t uniform_number; + int32_t type; + + _ChangePlayerType__isset __isset; + + void __set_uniform_number(const int32_t val); + + void __set_type(const int32_t val); + + bool operator == (const ChangePlayerType & rhs) const + { + if (!(uniform_number == rhs.uniform_number)) + return false; + if (!(type == rhs.type)) + return false; + return true; + } + bool operator != (const ChangePlayerType &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ChangePlayerType & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(ChangePlayerType &a, ChangePlayerType &b); + +std::ostream& operator<<(std::ostream& out, const ChangePlayerType& obj); + + +class DoHeliosSubstitute : public virtual ::apache::thrift::TBase { + public: + + DoHeliosSubstitute(const DoHeliosSubstitute&) noexcept; + DoHeliosSubstitute& operator=(const DoHeliosSubstitute&) noexcept; + DoHeliosSubstitute() noexcept { + } + + virtual ~DoHeliosSubstitute() noexcept; + + bool operator == (const DoHeliosSubstitute & /* rhs */) const + { + return true; + } + bool operator != (const DoHeliosSubstitute &rhs) const { + return !(*this == rhs); + } + + bool operator < (const DoHeliosSubstitute & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(DoHeliosSubstitute &a, DoHeliosSubstitute &b); + +std::ostream& operator<<(std::ostream& out, const DoHeliosSubstitute& obj); + + +class DoHeliosSayPlayerTypes : public virtual ::apache::thrift::TBase { + public: + + DoHeliosSayPlayerTypes(const DoHeliosSayPlayerTypes&) noexcept; + DoHeliosSayPlayerTypes& operator=(const DoHeliosSayPlayerTypes&) noexcept; + DoHeliosSayPlayerTypes() noexcept { + } + + virtual ~DoHeliosSayPlayerTypes() noexcept; + + bool operator == (const DoHeliosSayPlayerTypes & /* rhs */) const + { + return true; + } + bool operator != (const DoHeliosSayPlayerTypes &rhs) const { + return !(*this == rhs); + } + + bool operator < (const DoHeliosSayPlayerTypes & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(DoHeliosSayPlayerTypes &a, DoHeliosSayPlayerTypes &b); + +std::ostream& operator<<(std::ostream& out, const DoHeliosSayPlayerTypes& obj); + +typedef struct _CoachAction__isset { + _CoachAction__isset() : change_player_types(false), do_helios_substitute(false), do_helios_say_player_types(false) {} + bool change_player_types :1; + bool do_helios_substitute :1; + bool do_helios_say_player_types :1; +} _CoachAction__isset; + +class CoachAction : public virtual ::apache::thrift::TBase { + public: + + CoachAction(const CoachAction&) noexcept; + CoachAction& operator=(const CoachAction&) noexcept; + CoachAction() noexcept { + } + + virtual ~CoachAction() noexcept; + ChangePlayerType change_player_types; + DoHeliosSubstitute do_helios_substitute; + DoHeliosSayPlayerTypes do_helios_say_player_types; + + _CoachAction__isset __isset; + + void __set_change_player_types(const ChangePlayerType& val); + + void __set_do_helios_substitute(const DoHeliosSubstitute& val); + + void __set_do_helios_say_player_types(const DoHeliosSayPlayerTypes& val); + + bool operator == (const CoachAction & rhs) const + { + if (__isset.change_player_types != rhs.__isset.change_player_types) + return false; + else if (__isset.change_player_types && !(change_player_types == rhs.change_player_types)) + return false; + if (__isset.do_helios_substitute != rhs.__isset.do_helios_substitute) + return false; + else if (__isset.do_helios_substitute && !(do_helios_substitute == rhs.do_helios_substitute)) + return false; + if (__isset.do_helios_say_player_types != rhs.__isset.do_helios_say_player_types) + return false; + else if (__isset.do_helios_say_player_types && !(do_helios_say_player_types == rhs.do_helios_say_player_types)) + return false; + return true; + } + bool operator != (const CoachAction &rhs) const { + return !(*this == rhs); + } + + bool operator < (const CoachAction & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(CoachAction &a, CoachAction &b); + +std::ostream& operator<<(std::ostream& out, const CoachAction& obj); + +typedef struct _CoachActions__isset { + _CoachActions__isset() : actions(false) {} + bool actions :1; +} _CoachActions__isset; + +class CoachActions : public virtual ::apache::thrift::TBase { + public: + + CoachActions(const CoachActions&); + CoachActions& operator=(const CoachActions&); + CoachActions() noexcept { + } + + virtual ~CoachActions() noexcept; + std::vector actions; + + _CoachActions__isset __isset; + + void __set_actions(const std::vector & val); + + bool operator == (const CoachActions & rhs) const + { + if (!(actions == rhs.actions)) + return false; + return true; + } + bool operator != (const CoachActions &rhs) const { + return !(*this == rhs); + } + + bool operator < (const CoachActions & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(CoachActions &a, CoachActions &b); + +std::ostream& operator<<(std::ostream& out, const CoachActions& obj); + + +class DoKickOff : public virtual ::apache::thrift::TBase { + public: + + DoKickOff(const DoKickOff&) noexcept; + DoKickOff& operator=(const DoKickOff&) noexcept; + DoKickOff() noexcept { + } + + virtual ~DoKickOff() noexcept; + + bool operator == (const DoKickOff & /* rhs */) const + { + return true; + } + bool operator != (const DoKickOff &rhs) const { + return !(*this == rhs); + } + + bool operator < (const DoKickOff & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(DoKickOff &a, DoKickOff &b); + +std::ostream& operator<<(std::ostream& out, const DoKickOff& obj); + +typedef struct _DoMoveBall__isset { + _DoMoveBall__isset() : position(false), velocity(false) {} + bool position :1; + bool velocity :1; +} _DoMoveBall__isset; + +class DoMoveBall : public virtual ::apache::thrift::TBase { + public: + + DoMoveBall(const DoMoveBall&) noexcept; + DoMoveBall& operator=(const DoMoveBall&) noexcept; + DoMoveBall() noexcept { + } + + virtual ~DoMoveBall() noexcept; + RpcVector2D position; + RpcVector2D velocity; + + _DoMoveBall__isset __isset; + + void __set_position(const RpcVector2D& val); + + void __set_velocity(const RpcVector2D& val); + + bool operator == (const DoMoveBall & rhs) const + { + if (!(position == rhs.position)) + return false; + if (__isset.velocity != rhs.__isset.velocity) + return false; + else if (__isset.velocity && !(velocity == rhs.velocity)) + return false; + return true; + } + bool operator != (const DoMoveBall &rhs) const { + return !(*this == rhs); + } + + bool operator < (const DoMoveBall & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(DoMoveBall &a, DoMoveBall &b); + +std::ostream& operator<<(std::ostream& out, const DoMoveBall& obj); + +typedef struct _DoMovePlayer__isset { + _DoMovePlayer__isset() : our_side(false), uniform_number(false), position(false), body_direction(false) {} + bool our_side :1; + bool uniform_number :1; + bool position :1; + bool body_direction :1; +} _DoMovePlayer__isset; + +class DoMovePlayer : public virtual ::apache::thrift::TBase { + public: + + DoMovePlayer(const DoMovePlayer&) noexcept; + DoMovePlayer& operator=(const DoMovePlayer&) noexcept; + DoMovePlayer() noexcept + : our_side(0), + uniform_number(0), + body_direction(0) { + } + + virtual ~DoMovePlayer() noexcept; + bool our_side; + int32_t uniform_number; + RpcVector2D position; + double body_direction; + + _DoMovePlayer__isset __isset; + + void __set_our_side(const bool val); + + void __set_uniform_number(const int32_t val); + + void __set_position(const RpcVector2D& val); + + void __set_body_direction(const double val); + + bool operator == (const DoMovePlayer & rhs) const + { + if (!(our_side == rhs.our_side)) + return false; + if (!(uniform_number == rhs.uniform_number)) + return false; + if (!(position == rhs.position)) + return false; + if (!(body_direction == rhs.body_direction)) + return false; + return true; + } + bool operator != (const DoMovePlayer &rhs) const { + return !(*this == rhs); + } + + bool operator < (const DoMovePlayer & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(DoMovePlayer &a, DoMovePlayer &b); + +std::ostream& operator<<(std::ostream& out, const DoMovePlayer& obj); + + +class DoRecover : public virtual ::apache::thrift::TBase { + public: + + DoRecover(const DoRecover&) noexcept; + DoRecover& operator=(const DoRecover&) noexcept; + DoRecover() noexcept { + } + + virtual ~DoRecover() noexcept; + + bool operator == (const DoRecover & /* rhs */) const + { + return true; + } + bool operator != (const DoRecover &rhs) const { + return !(*this == rhs); + } + + bool operator < (const DoRecover & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(DoRecover &a, DoRecover &b); + +std::ostream& operator<<(std::ostream& out, const DoRecover& obj); + +typedef struct _DoChangeMode__isset { + _DoChangeMode__isset() : game_mode_type(false), side(false) {} + bool game_mode_type :1; + bool side :1; +} _DoChangeMode__isset; + +class DoChangeMode : public virtual ::apache::thrift::TBase { + public: + + DoChangeMode(const DoChangeMode&) noexcept; + DoChangeMode& operator=(const DoChangeMode&) noexcept; + DoChangeMode() noexcept + : game_mode_type(static_cast(0)), + side(static_cast(0)) { + } + + virtual ~DoChangeMode() noexcept; + /** + * + * @see GameModeType + */ + GameModeType::type game_mode_type; + /** + * + * @see Side + */ + Side::type side; + + _DoChangeMode__isset __isset; + + void __set_game_mode_type(const GameModeType::type val); + + void __set_side(const Side::type val); + + bool operator == (const DoChangeMode & rhs) const + { + if (!(game_mode_type == rhs.game_mode_type)) + return false; + if (!(side == rhs.side)) + return false; + return true; + } + bool operator != (const DoChangeMode &rhs) const { + return !(*this == rhs); + } + + bool operator < (const DoChangeMode & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(DoChangeMode &a, DoChangeMode &b); + +std::ostream& operator<<(std::ostream& out, const DoChangeMode& obj); + +typedef struct _DoChangePlayerType__isset { + _DoChangePlayerType__isset() : our_side(false), uniform_number(false), type(false) {} + bool our_side :1; + bool uniform_number :1; + bool type :1; +} _DoChangePlayerType__isset; + +class DoChangePlayerType : public virtual ::apache::thrift::TBase { + public: + + DoChangePlayerType(const DoChangePlayerType&) noexcept; + DoChangePlayerType& operator=(const DoChangePlayerType&) noexcept; + DoChangePlayerType() noexcept + : our_side(0), + uniform_number(0), + type(0) { + } + + virtual ~DoChangePlayerType() noexcept; + bool our_side; + int32_t uniform_number; + int32_t type; + + _DoChangePlayerType__isset __isset; + + void __set_our_side(const bool val); + + void __set_uniform_number(const int32_t val); + + void __set_type(const int32_t val); + + bool operator == (const DoChangePlayerType & rhs) const + { + if (!(our_side == rhs.our_side)) + return false; + if (!(uniform_number == rhs.uniform_number)) + return false; + if (!(type == rhs.type)) + return false; + return true; + } + bool operator != (const DoChangePlayerType &rhs) const { + return !(*this == rhs); + } + + bool operator < (const DoChangePlayerType & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(DoChangePlayerType &a, DoChangePlayerType &b); + +std::ostream& operator<<(std::ostream& out, const DoChangePlayerType& obj); + +typedef struct _TrainerAction__isset { + _TrainerAction__isset() : do_kick_off(false), do_move_ball(false), do_move_player(false), do_recover(false), do_change_mode(false), do_change_player_type(false) {} + bool do_kick_off :1; + bool do_move_ball :1; + bool do_move_player :1; + bool do_recover :1; + bool do_change_mode :1; + bool do_change_player_type :1; +} _TrainerAction__isset; + +class TrainerAction : public virtual ::apache::thrift::TBase { + public: + + TrainerAction(const TrainerAction&) noexcept; + TrainerAction& operator=(const TrainerAction&) noexcept; + TrainerAction() noexcept { + } + + virtual ~TrainerAction() noexcept; + DoKickOff do_kick_off; + DoMoveBall do_move_ball; + DoMovePlayer do_move_player; + DoRecover do_recover; + DoChangeMode do_change_mode; + DoChangePlayerType do_change_player_type; + + _TrainerAction__isset __isset; + + void __set_do_kick_off(const DoKickOff& val); + + void __set_do_move_ball(const DoMoveBall& val); + + void __set_do_move_player(const DoMovePlayer& val); + + void __set_do_recover(const DoRecover& val); + + void __set_do_change_mode(const DoChangeMode& val); + + void __set_do_change_player_type(const DoChangePlayerType& val); + + bool operator == (const TrainerAction & rhs) const + { + if (__isset.do_kick_off != rhs.__isset.do_kick_off) + return false; + else if (__isset.do_kick_off && !(do_kick_off == rhs.do_kick_off)) + return false; + if (__isset.do_move_ball != rhs.__isset.do_move_ball) + return false; + else if (__isset.do_move_ball && !(do_move_ball == rhs.do_move_ball)) + return false; + if (__isset.do_move_player != rhs.__isset.do_move_player) + return false; + else if (__isset.do_move_player && !(do_move_player == rhs.do_move_player)) + return false; + if (__isset.do_recover != rhs.__isset.do_recover) + return false; + else if (__isset.do_recover && !(do_recover == rhs.do_recover)) + return false; + if (__isset.do_change_mode != rhs.__isset.do_change_mode) + return false; + else if (__isset.do_change_mode && !(do_change_mode == rhs.do_change_mode)) + return false; + if (__isset.do_change_player_type != rhs.__isset.do_change_player_type) + return false; + else if (__isset.do_change_player_type && !(do_change_player_type == rhs.do_change_player_type)) + return false; + return true; + } + bool operator != (const TrainerAction &rhs) const { + return !(*this == rhs); + } + + bool operator < (const TrainerAction & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(TrainerAction &a, TrainerAction &b); + +std::ostream& operator<<(std::ostream& out, const TrainerAction& obj); + +typedef struct _TrainerActions__isset { + _TrainerActions__isset() : actions(false) {} + bool actions :1; +} _TrainerActions__isset; + +class TrainerActions : public virtual ::apache::thrift::TBase { + public: + + TrainerActions(const TrainerActions&); + TrainerActions& operator=(const TrainerActions&); + TrainerActions() noexcept { + } + + virtual ~TrainerActions() noexcept; + std::vector actions; + + _TrainerActions__isset __isset; + + void __set_actions(const std::vector & val); + + bool operator == (const TrainerActions & rhs) const + { + if (!(actions == rhs.actions)) + return false; + return true; + } + bool operator != (const TrainerActions &rhs) const { + return !(*this == rhs); + } + + bool operator < (const TrainerActions & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(TrainerActions &a, TrainerActions &b); + +std::ostream& operator<<(std::ostream& out, const TrainerActions& obj); + +typedef struct _ServerParam__isset { + _ServerParam__isset() : register_response(false), inertia_moment(false), player_size(false), player_decay(false), player_rand(false), player_weight(false), player_speed_max(false), player_accel_max(false), stamina_max(false), stamina_inc_max(false), recover_init(false), recover_dec_thr(false), recover_min(false), recover_dec(false), effort_init(false), effort_dec_thr(false), effort_min(false), effort_dec(false), effort_inc_thr(false), effort_inc(false), kick_rand(false), team_actuator_noise(false), player_rand_factor_l(false), player_rand_factor_r(false), kick_rand_factor_l(false), kick_rand_factor_r(false), ball_size(false), ball_decay(false), ball_rand(false), ball_weight(false), ball_speed_max(false), ball_accel_max(false), dash_power_rate(false), kick_power_rate(false), kickable_margin(false), control_radius(false), control_radius_width(false), max_power(false), min_power(false), max_moment(false), min_moment(false), max_neck_moment(false), min_neck_moment(false), max_neck_angle(false), min_neck_angle(false), visible_angle(false), visible_distance(false), wind_dir(false), wind_force(false), wind_angle(false), wind_rand(false), kickable_area(false), catch_area_l(false), catch_area_w(false), catch_probability(false), goalie_max_moves(false), corner_kick_margin(false), offside_active_area_size(false), wind_none(false), use_wind_random(false), coach_say_count_max(false), coach_say_msg_size(false), clang_win_size(false), clang_define_win(false), clang_meta_win(false), clang_advice_win(false), clang_info_win(false), clang_mess_delay(false), clang_mess_per_cycle(false), half_time(false), simulator_step(false), send_step(false), recv_step(false), sense_body_step(false), lcm_step(false), player_say_msg_size(false), player_hear_max(false), player_hear_inc(false), player_hear_decay(false), catch_ban_cycle(false), slow_down_factor(false), use_offside(false), kickoff_offside(false), offside_kick_margin(false), audio_cut_dist(false), dist_quantize_step(false), landmark_dist_quantize_step(false), dir_quantize_step(false), dist_quantize_step_l(false), dist_quantize_step_r(false), landmark_dist_quantize_step_l(false), landmark_dist_quantize_step_r(false), dir_quantize_step_l(false), dir_quantize_step_r(false), coach_mode(false), coach_with_referee_mode(false), use_old_coach_hear(false), slowness_on_top_for_left_team(false), slowness_on_top_for_right_team(false), start_goal_l(false), start_goal_r(false), fullstate_l(false), fullstate_r(false), drop_ball_time(false), synch_mode(false), synch_offset(false), synch_micro_sleep(false), point_to_ban(false), point_to_duration(false), player_port(false), trainer_port(false), online_coach_port(false), verbose_mode(false), coach_send_vi_step(false), replay_file(false), landmark_file(false), send_comms(false), text_logging(false), game_logging(false), game_log_version(false), text_log_dir(false), game_log_dir(false), text_log_fixed_name(false), game_log_fixed_name(false), use_text_log_fixed(false), use_game_log_fixed(false), use_text_log_dated(false), use_game_log_dated(false), log_date_format(false), log_times(false), record_message(false), text_log_compression(false), game_log_compression(false), use_profile(false), tackle_dist(false), tackle_back_dist(false), tackle_width(false), tackle_exponent(false), tackle_cycles(false), tackle_power_rate(false), freeform_wait_period(false), freeform_send_period(false), free_kick_faults(false), back_passes(false), proper_goal_kicks(false), stopped_ball_vel(false), max_goal_kicks(false), clang_del_win(false), clang_rule_win(false), auto_mode(false), kick_off_wait(false), connect_wait(false), game_over_wait(false), team_l_start(false), team_r_start(false), keepaway_mode(false), keepaway_length(false), keepaway_width(false), keepaway_logging(false), keepaway_log_dir(false), keepaway_log_fixed_name(false), keepaway_log_fixed(false), keepaway_log_dated(false), keepaway_start(false), nr_normal_halfs(false), nr_extra_halfs(false), penalty_shoot_outs(false), pen_before_setup_wait(false), pen_setup_wait(false), pen_ready_wait(false), pen_taken_wait(false), pen_nr_kicks(false), pen_max_extra_kicks(false), pen_dist_x(false), pen_random_winner(false), pen_allow_mult_kicks(false), pen_max_goalie_dist_x(false), pen_coach_moves_players(false), module_dir(false), ball_stuck_area(false), coach_msg_file(false), max_tackle_power(false), max_back_tackle_power(false), player_speed_max_min(false), extra_stamina(false), synch_see_offset(false), extra_half_time(false), stamina_capacity(false), max_dash_angle(false), min_dash_angle(false), dash_angle_step(false), side_dash_rate(false), back_dash_rate(false), max_dash_power(false), min_dash_power(false), tackle_rand_factor(false), foul_detect_probability(false), foul_exponent(false), foul_cycles(false), golden_goal(false), red_card_probability(false), illegal_defense_duration(false), illegal_defense_number(false), illegal_defense_dist_x(false), illegal_defense_width(false), fixed_teamname_l(false), fixed_teamname_r(false), max_catch_angle(false), min_catch_angle(false), random_seed(false), long_kick_power_factor(false), long_kick_delay(false), max_monitors(false), catchable_area(false), real_speed_max(false), pitch_half_length(false), pitch_half_width(false), our_penalty_area_line_x(false), their_penalty_area_line_x(false), penalty_area_half_width(false), penalty_area_length(false), goal_width(false) {} + bool register_response :1; + bool inertia_moment :1; + bool player_size :1; + bool player_decay :1; + bool player_rand :1; + bool player_weight :1; + bool player_speed_max :1; + bool player_accel_max :1; + bool stamina_max :1; + bool stamina_inc_max :1; + bool recover_init :1; + bool recover_dec_thr :1; + bool recover_min :1; + bool recover_dec :1; + bool effort_init :1; + bool effort_dec_thr :1; + bool effort_min :1; + bool effort_dec :1; + bool effort_inc_thr :1; + bool effort_inc :1; + bool kick_rand :1; + bool team_actuator_noise :1; + bool player_rand_factor_l :1; + bool player_rand_factor_r :1; + bool kick_rand_factor_l :1; + bool kick_rand_factor_r :1; + bool ball_size :1; + bool ball_decay :1; + bool ball_rand :1; + bool ball_weight :1; + bool ball_speed_max :1; + bool ball_accel_max :1; + bool dash_power_rate :1; + bool kick_power_rate :1; + bool kickable_margin :1; + bool control_radius :1; + bool control_radius_width :1; + bool max_power :1; + bool min_power :1; + bool max_moment :1; + bool min_moment :1; + bool max_neck_moment :1; + bool min_neck_moment :1; + bool max_neck_angle :1; + bool min_neck_angle :1; + bool visible_angle :1; + bool visible_distance :1; + bool wind_dir :1; + bool wind_force :1; + bool wind_angle :1; + bool wind_rand :1; + bool kickable_area :1; + bool catch_area_l :1; + bool catch_area_w :1; + bool catch_probability :1; + bool goalie_max_moves :1; + bool corner_kick_margin :1; + bool offside_active_area_size :1; + bool wind_none :1; + bool use_wind_random :1; + bool coach_say_count_max :1; + bool coach_say_msg_size :1; + bool clang_win_size :1; + bool clang_define_win :1; + bool clang_meta_win :1; + bool clang_advice_win :1; + bool clang_info_win :1; + bool clang_mess_delay :1; + bool clang_mess_per_cycle :1; + bool half_time :1; + bool simulator_step :1; + bool send_step :1; + bool recv_step :1; + bool sense_body_step :1; + bool lcm_step :1; + bool player_say_msg_size :1; + bool player_hear_max :1; + bool player_hear_inc :1; + bool player_hear_decay :1; + bool catch_ban_cycle :1; + bool slow_down_factor :1; + bool use_offside :1; + bool kickoff_offside :1; + bool offside_kick_margin :1; + bool audio_cut_dist :1; + bool dist_quantize_step :1; + bool landmark_dist_quantize_step :1; + bool dir_quantize_step :1; + bool dist_quantize_step_l :1; + bool dist_quantize_step_r :1; + bool landmark_dist_quantize_step_l :1; + bool landmark_dist_quantize_step_r :1; + bool dir_quantize_step_l :1; + bool dir_quantize_step_r :1; + bool coach_mode :1; + bool coach_with_referee_mode :1; + bool use_old_coach_hear :1; + bool slowness_on_top_for_left_team :1; + bool slowness_on_top_for_right_team :1; + bool start_goal_l :1; + bool start_goal_r :1; + bool fullstate_l :1; + bool fullstate_r :1; + bool drop_ball_time :1; + bool synch_mode :1; + bool synch_offset :1; + bool synch_micro_sleep :1; + bool point_to_ban :1; + bool point_to_duration :1; + bool player_port :1; + bool trainer_port :1; + bool online_coach_port :1; + bool verbose_mode :1; + bool coach_send_vi_step :1; + bool replay_file :1; + bool landmark_file :1; + bool send_comms :1; + bool text_logging :1; + bool game_logging :1; + bool game_log_version :1; + bool text_log_dir :1; + bool game_log_dir :1; + bool text_log_fixed_name :1; + bool game_log_fixed_name :1; + bool use_text_log_fixed :1; + bool use_game_log_fixed :1; + bool use_text_log_dated :1; + bool use_game_log_dated :1; + bool log_date_format :1; + bool log_times :1; + bool record_message :1; + bool text_log_compression :1; + bool game_log_compression :1; + bool use_profile :1; + bool tackle_dist :1; + bool tackle_back_dist :1; + bool tackle_width :1; + bool tackle_exponent :1; + bool tackle_cycles :1; + bool tackle_power_rate :1; + bool freeform_wait_period :1; + bool freeform_send_period :1; + bool free_kick_faults :1; + bool back_passes :1; + bool proper_goal_kicks :1; + bool stopped_ball_vel :1; + bool max_goal_kicks :1; + bool clang_del_win :1; + bool clang_rule_win :1; + bool auto_mode :1; + bool kick_off_wait :1; + bool connect_wait :1; + bool game_over_wait :1; + bool team_l_start :1; + bool team_r_start :1; + bool keepaway_mode :1; + bool keepaway_length :1; + bool keepaway_width :1; + bool keepaway_logging :1; + bool keepaway_log_dir :1; + bool keepaway_log_fixed_name :1; + bool keepaway_log_fixed :1; + bool keepaway_log_dated :1; + bool keepaway_start :1; + bool nr_normal_halfs :1; + bool nr_extra_halfs :1; + bool penalty_shoot_outs :1; + bool pen_before_setup_wait :1; + bool pen_setup_wait :1; + bool pen_ready_wait :1; + bool pen_taken_wait :1; + bool pen_nr_kicks :1; + bool pen_max_extra_kicks :1; + bool pen_dist_x :1; + bool pen_random_winner :1; + bool pen_allow_mult_kicks :1; + bool pen_max_goalie_dist_x :1; + bool pen_coach_moves_players :1; + bool module_dir :1; + bool ball_stuck_area :1; + bool coach_msg_file :1; + bool max_tackle_power :1; + bool max_back_tackle_power :1; + bool player_speed_max_min :1; + bool extra_stamina :1; + bool synch_see_offset :1; + bool extra_half_time :1; + bool stamina_capacity :1; + bool max_dash_angle :1; + bool min_dash_angle :1; + bool dash_angle_step :1; + bool side_dash_rate :1; + bool back_dash_rate :1; + bool max_dash_power :1; + bool min_dash_power :1; + bool tackle_rand_factor :1; + bool foul_detect_probability :1; + bool foul_exponent :1; + bool foul_cycles :1; + bool golden_goal :1; + bool red_card_probability :1; + bool illegal_defense_duration :1; + bool illegal_defense_number :1; + bool illegal_defense_dist_x :1; + bool illegal_defense_width :1; + bool fixed_teamname_l :1; + bool fixed_teamname_r :1; + bool max_catch_angle :1; + bool min_catch_angle :1; + bool random_seed :1; + bool long_kick_power_factor :1; + bool long_kick_delay :1; + bool max_monitors :1; + bool catchable_area :1; + bool real_speed_max :1; + bool pitch_half_length :1; + bool pitch_half_width :1; + bool our_penalty_area_line_x :1; + bool their_penalty_area_line_x :1; + bool penalty_area_half_width :1; + bool penalty_area_length :1; + bool goal_width :1; +} _ServerParam__isset; + +class ServerParam : public virtual ::apache::thrift::TBase { + public: + + ServerParam(const ServerParam&); + ServerParam& operator=(const ServerParam&); + ServerParam() noexcept + : inertia_moment(0), + player_size(0), + player_decay(0), + player_rand(0), + player_weight(0), + player_speed_max(0), + player_accel_max(0), + stamina_max(0), + stamina_inc_max(0), + recover_init(0), + recover_dec_thr(0), + recover_min(0), + recover_dec(0), + effort_init(0), + effort_dec_thr(0), + effort_min(0), + effort_dec(0), + effort_inc_thr(0), + effort_inc(0), + kick_rand(0), + team_actuator_noise(0), + player_rand_factor_l(0), + player_rand_factor_r(0), + kick_rand_factor_l(0), + kick_rand_factor_r(0), + ball_size(0), + ball_decay(0), + ball_rand(0), + ball_weight(0), + ball_speed_max(0), + ball_accel_max(0), + dash_power_rate(0), + kick_power_rate(0), + kickable_margin(0), + control_radius(0), + control_radius_width(0), + max_power(0), + min_power(0), + max_moment(0), + min_moment(0), + max_neck_moment(0), + min_neck_moment(0), + max_neck_angle(0), + min_neck_angle(0), + visible_angle(0), + visible_distance(0), + wind_dir(0), + wind_force(0), + wind_angle(0), + wind_rand(0), + kickable_area(0), + catch_area_l(0), + catch_area_w(0), + catch_probability(0), + goalie_max_moves(0), + corner_kick_margin(0), + offside_active_area_size(0), + wind_none(0), + use_wind_random(0), + coach_say_count_max(0), + coach_say_msg_size(0), + clang_win_size(0), + clang_define_win(0), + clang_meta_win(0), + clang_advice_win(0), + clang_info_win(0), + clang_mess_delay(0), + clang_mess_per_cycle(0), + half_time(0), + simulator_step(0), + send_step(0), + recv_step(0), + sense_body_step(0), + lcm_step(0), + player_say_msg_size(0), + player_hear_max(0), + player_hear_inc(0), + player_hear_decay(0), + catch_ban_cycle(0), + slow_down_factor(0), + use_offside(0), + kickoff_offside(0), + offside_kick_margin(0), + audio_cut_dist(0), + dist_quantize_step(0), + landmark_dist_quantize_step(0), + dir_quantize_step(0), + dist_quantize_step_l(0), + dist_quantize_step_r(0), + landmark_dist_quantize_step_l(0), + landmark_dist_quantize_step_r(0), + dir_quantize_step_l(0), + dir_quantize_step_r(0), + coach_mode(0), + coach_with_referee_mode(0), + use_old_coach_hear(0), + slowness_on_top_for_left_team(0), + slowness_on_top_for_right_team(0), + start_goal_l(0), + start_goal_r(0), + fullstate_l(0), + fullstate_r(0), + drop_ball_time(0), + synch_mode(0), + synch_offset(0), + synch_micro_sleep(0), + point_to_ban(0), + point_to_duration(0), + player_port(0), + trainer_port(0), + online_coach_port(0), + verbose_mode(0), + coach_send_vi_step(0), + replay_file(), + landmark_file(), + send_comms(0), + text_logging(0), + game_logging(0), + game_log_version(0), + text_log_dir(), + game_log_dir(), + text_log_fixed_name(), + game_log_fixed_name(), + use_text_log_fixed(0), + use_game_log_fixed(0), + use_text_log_dated(0), + use_game_log_dated(0), + log_date_format(), + log_times(0), + record_message(0), + text_log_compression(0), + game_log_compression(0), + use_profile(0), + tackle_dist(0), + tackle_back_dist(0), + tackle_width(0), + tackle_exponent(0), + tackle_cycles(0), + tackle_power_rate(0), + freeform_wait_period(0), + freeform_send_period(0), + free_kick_faults(0), + back_passes(0), + proper_goal_kicks(0), + stopped_ball_vel(0), + max_goal_kicks(0), + clang_del_win(0), + clang_rule_win(0), + auto_mode(0), + kick_off_wait(0), + connect_wait(0), + game_over_wait(0), + team_l_start(), + team_r_start(), + keepaway_mode(0), + keepaway_length(0), + keepaway_width(0), + keepaway_logging(0), + keepaway_log_dir(), + keepaway_log_fixed_name(), + keepaway_log_fixed(0), + keepaway_log_dated(0), + keepaway_start(0), + nr_normal_halfs(0), + nr_extra_halfs(0), + penalty_shoot_outs(0), + pen_before_setup_wait(0), + pen_setup_wait(0), + pen_ready_wait(0), + pen_taken_wait(0), + pen_nr_kicks(0), + pen_max_extra_kicks(0), + pen_dist_x(0), + pen_random_winner(0), + pen_allow_mult_kicks(0), + pen_max_goalie_dist_x(0), + pen_coach_moves_players(0), + module_dir(), + ball_stuck_area(0), + coach_msg_file(), + max_tackle_power(0), + max_back_tackle_power(0), + player_speed_max_min(0), + extra_stamina(0), + synch_see_offset(0), + extra_half_time(0), + stamina_capacity(0), + max_dash_angle(0), + min_dash_angle(0), + dash_angle_step(0), + side_dash_rate(0), + back_dash_rate(0), + max_dash_power(0), + min_dash_power(0), + tackle_rand_factor(0), + foul_detect_probability(0), + foul_exponent(0), + foul_cycles(0), + golden_goal(0), + red_card_probability(0), + illegal_defense_duration(0), + illegal_defense_number(0), + illegal_defense_dist_x(0), + illegal_defense_width(0), + fixed_teamname_l(), + fixed_teamname_r(), + max_catch_angle(0), + min_catch_angle(0), + random_seed(0), + long_kick_power_factor(0), + long_kick_delay(0), + max_monitors(0), + catchable_area(0), + real_speed_max(0), + pitch_half_length(0), + pitch_half_width(0), + our_penalty_area_line_x(0), + their_penalty_area_line_x(0), + penalty_area_half_width(0), + penalty_area_length(0), + goal_width(0) { + } + + virtual ~ServerParam() noexcept; + RegisterResponse register_response; + double inertia_moment; + double player_size; + double player_decay; + double player_rand; + double player_weight; + double player_speed_max; + double player_accel_max; + double stamina_max; + double stamina_inc_max; + double recover_init; + double recover_dec_thr; + double recover_min; + double recover_dec; + double effort_init; + double effort_dec_thr; + double effort_min; + double effort_dec; + double effort_inc_thr; + double effort_inc; + double kick_rand; + bool team_actuator_noise; + double player_rand_factor_l; + double player_rand_factor_r; + double kick_rand_factor_l; + double kick_rand_factor_r; + double ball_size; + double ball_decay; + double ball_rand; + double ball_weight; + double ball_speed_max; + double ball_accel_max; + double dash_power_rate; + double kick_power_rate; + double kickable_margin; + double control_radius; + double control_radius_width; + double max_power; + double min_power; + double max_moment; + double min_moment; + double max_neck_moment; + double min_neck_moment; + double max_neck_angle; + double min_neck_angle; + double visible_angle; + double visible_distance; + double wind_dir; + double wind_force; + double wind_angle; + double wind_rand; + double kickable_area; + double catch_area_l; + double catch_area_w; + double catch_probability; + int32_t goalie_max_moves; + double corner_kick_margin; + double offside_active_area_size; + bool wind_none; + bool use_wind_random; + int32_t coach_say_count_max; + int32_t coach_say_msg_size; + int32_t clang_win_size; + int32_t clang_define_win; + int32_t clang_meta_win; + int32_t clang_advice_win; + int32_t clang_info_win; + int32_t clang_mess_delay; + int32_t clang_mess_per_cycle; + int32_t half_time; + int32_t simulator_step; + int32_t send_step; + int32_t recv_step; + int32_t sense_body_step; + int32_t lcm_step; + int32_t player_say_msg_size; + int32_t player_hear_max; + int32_t player_hear_inc; + int32_t player_hear_decay; + int32_t catch_ban_cycle; + int32_t slow_down_factor; + bool use_offside; + bool kickoff_offside; + double offside_kick_margin; + double audio_cut_dist; + double dist_quantize_step; + double landmark_dist_quantize_step; + double dir_quantize_step; + double dist_quantize_step_l; + double dist_quantize_step_r; + double landmark_dist_quantize_step_l; + double landmark_dist_quantize_step_r; + double dir_quantize_step_l; + double dir_quantize_step_r; + bool coach_mode; + bool coach_with_referee_mode; + bool use_old_coach_hear; + double slowness_on_top_for_left_team; + double slowness_on_top_for_right_team; + int32_t start_goal_l; + int32_t start_goal_r; + bool fullstate_l; + bool fullstate_r; + int32_t drop_ball_time; + bool synch_mode; + int32_t synch_offset; + int32_t synch_micro_sleep; + int32_t point_to_ban; + int32_t point_to_duration; + int32_t player_port; + int32_t trainer_port; + int32_t online_coach_port; + bool verbose_mode; + int32_t coach_send_vi_step; + std::string replay_file; + std::string landmark_file; + bool send_comms; + bool text_logging; + bool game_logging; + int32_t game_log_version; + std::string text_log_dir; + std::string game_log_dir; + std::string text_log_fixed_name; + std::string game_log_fixed_name; + bool use_text_log_fixed; + bool use_game_log_fixed; + bool use_text_log_dated; + bool use_game_log_dated; + std::string log_date_format; + bool log_times; + bool record_message; + int32_t text_log_compression; + int32_t game_log_compression; + bool use_profile; + double tackle_dist; + double tackle_back_dist; + double tackle_width; + double tackle_exponent; + int32_t tackle_cycles; + double tackle_power_rate; + int32_t freeform_wait_period; + int32_t freeform_send_period; + bool free_kick_faults; + bool back_passes; + bool proper_goal_kicks; + double stopped_ball_vel; + int32_t max_goal_kicks; + int32_t clang_del_win; + int32_t clang_rule_win; + bool auto_mode; + int32_t kick_off_wait; + int32_t connect_wait; + int32_t game_over_wait; + std::string team_l_start; + std::string team_r_start; + bool keepaway_mode; + double keepaway_length; + double keepaway_width; + bool keepaway_logging; + std::string keepaway_log_dir; + std::string keepaway_log_fixed_name; + bool keepaway_log_fixed; + bool keepaway_log_dated; + int32_t keepaway_start; + int32_t nr_normal_halfs; + int32_t nr_extra_halfs; + bool penalty_shoot_outs; + int32_t pen_before_setup_wait; + int32_t pen_setup_wait; + int32_t pen_ready_wait; + int32_t pen_taken_wait; + int32_t pen_nr_kicks; + int32_t pen_max_extra_kicks; + double pen_dist_x; + bool pen_random_winner; + bool pen_allow_mult_kicks; + double pen_max_goalie_dist_x; + bool pen_coach_moves_players; + std::string module_dir; + double ball_stuck_area; + std::string coach_msg_file; + double max_tackle_power; + double max_back_tackle_power; + double player_speed_max_min; + double extra_stamina; + int32_t synch_see_offset; + int32_t extra_half_time; + double stamina_capacity; + double max_dash_angle; + double min_dash_angle; + double dash_angle_step; + double side_dash_rate; + double back_dash_rate; + double max_dash_power; + double min_dash_power; + double tackle_rand_factor; + double foul_detect_probability; + double foul_exponent; + int32_t foul_cycles; + bool golden_goal; + double red_card_probability; + int32_t illegal_defense_duration; + int32_t illegal_defense_number; + double illegal_defense_dist_x; + double illegal_defense_width; + std::string fixed_teamname_l; + std::string fixed_teamname_r; + double max_catch_angle; + double min_catch_angle; + int32_t random_seed; + double long_kick_power_factor; + int32_t long_kick_delay; + int32_t max_monitors; + double catchable_area; + double real_speed_max; + double pitch_half_length; + double pitch_half_width; + double our_penalty_area_line_x; + double their_penalty_area_line_x; + double penalty_area_half_width; + double penalty_area_length; + double goal_width; + + _ServerParam__isset __isset; + + void __set_register_response(const RegisterResponse& val); + + void __set_inertia_moment(const double val); + + void __set_player_size(const double val); + + void __set_player_decay(const double val); + + void __set_player_rand(const double val); + + void __set_player_weight(const double val); + + void __set_player_speed_max(const double val); + + void __set_player_accel_max(const double val); + + void __set_stamina_max(const double val); + + void __set_stamina_inc_max(const double val); + + void __set_recover_init(const double val); + + void __set_recover_dec_thr(const double val); + + void __set_recover_min(const double val); + + void __set_recover_dec(const double val); + + void __set_effort_init(const double val); + + void __set_effort_dec_thr(const double val); + + void __set_effort_min(const double val); + + void __set_effort_dec(const double val); + + void __set_effort_inc_thr(const double val); + + void __set_effort_inc(const double val); + + void __set_kick_rand(const double val); + + void __set_team_actuator_noise(const bool val); + + void __set_player_rand_factor_l(const double val); + + void __set_player_rand_factor_r(const double val); + + void __set_kick_rand_factor_l(const double val); + + void __set_kick_rand_factor_r(const double val); + + void __set_ball_size(const double val); + + void __set_ball_decay(const double val); + + void __set_ball_rand(const double val); + + void __set_ball_weight(const double val); + + void __set_ball_speed_max(const double val); + + void __set_ball_accel_max(const double val); + + void __set_dash_power_rate(const double val); + + void __set_kick_power_rate(const double val); + + void __set_kickable_margin(const double val); + + void __set_control_radius(const double val); + + void __set_control_radius_width(const double val); + + void __set_max_power(const double val); + + void __set_min_power(const double val); + + void __set_max_moment(const double val); + + void __set_min_moment(const double val); + + void __set_max_neck_moment(const double val); + + void __set_min_neck_moment(const double val); + + void __set_max_neck_angle(const double val); + + void __set_min_neck_angle(const double val); + + void __set_visible_angle(const double val); + + void __set_visible_distance(const double val); + + void __set_wind_dir(const double val); + + void __set_wind_force(const double val); + + void __set_wind_angle(const double val); + + void __set_wind_rand(const double val); + + void __set_kickable_area(const double val); + + void __set_catch_area_l(const double val); + + void __set_catch_area_w(const double val); + + void __set_catch_probability(const double val); + + void __set_goalie_max_moves(const int32_t val); + + void __set_corner_kick_margin(const double val); + + void __set_offside_active_area_size(const double val); + + void __set_wind_none(const bool val); + + void __set_use_wind_random(const bool val); + + void __set_coach_say_count_max(const int32_t val); + + void __set_coach_say_msg_size(const int32_t val); + + void __set_clang_win_size(const int32_t val); + + void __set_clang_define_win(const int32_t val); + + void __set_clang_meta_win(const int32_t val); + + void __set_clang_advice_win(const int32_t val); + + void __set_clang_info_win(const int32_t val); + + void __set_clang_mess_delay(const int32_t val); + + void __set_clang_mess_per_cycle(const int32_t val); + + void __set_half_time(const int32_t val); + + void __set_simulator_step(const int32_t val); + + void __set_send_step(const int32_t val); + + void __set_recv_step(const int32_t val); + + void __set_sense_body_step(const int32_t val); + + void __set_lcm_step(const int32_t val); + + void __set_player_say_msg_size(const int32_t val); + + void __set_player_hear_max(const int32_t val); + + void __set_player_hear_inc(const int32_t val); + + void __set_player_hear_decay(const int32_t val); + + void __set_catch_ban_cycle(const int32_t val); + + void __set_slow_down_factor(const int32_t val); + + void __set_use_offside(const bool val); + + void __set_kickoff_offside(const bool val); + + void __set_offside_kick_margin(const double val); + + void __set_audio_cut_dist(const double val); + + void __set_dist_quantize_step(const double val); + + void __set_landmark_dist_quantize_step(const double val); + + void __set_dir_quantize_step(const double val); + + void __set_dist_quantize_step_l(const double val); + + void __set_dist_quantize_step_r(const double val); + + void __set_landmark_dist_quantize_step_l(const double val); + + void __set_landmark_dist_quantize_step_r(const double val); + + void __set_dir_quantize_step_l(const double val); + + void __set_dir_quantize_step_r(const double val); + + void __set_coach_mode(const bool val); + + void __set_coach_with_referee_mode(const bool val); + + void __set_use_old_coach_hear(const bool val); + + void __set_slowness_on_top_for_left_team(const double val); + + void __set_slowness_on_top_for_right_team(const double val); + + void __set_start_goal_l(const int32_t val); + + void __set_start_goal_r(const int32_t val); + + void __set_fullstate_l(const bool val); + + void __set_fullstate_r(const bool val); + + void __set_drop_ball_time(const int32_t val); + + void __set_synch_mode(const bool val); + + void __set_synch_offset(const int32_t val); + + void __set_synch_micro_sleep(const int32_t val); + + void __set_point_to_ban(const int32_t val); + + void __set_point_to_duration(const int32_t val); + + void __set_player_port(const int32_t val); + + void __set_trainer_port(const int32_t val); + + void __set_online_coach_port(const int32_t val); + + void __set_verbose_mode(const bool val); + + void __set_coach_send_vi_step(const int32_t val); + + void __set_replay_file(const std::string& val); + + void __set_landmark_file(const std::string& val); + + void __set_send_comms(const bool val); + + void __set_text_logging(const bool val); + + void __set_game_logging(const bool val); + + void __set_game_log_version(const int32_t val); + + void __set_text_log_dir(const std::string& val); + + void __set_game_log_dir(const std::string& val); + + void __set_text_log_fixed_name(const std::string& val); + + void __set_game_log_fixed_name(const std::string& val); + + void __set_use_text_log_fixed(const bool val); + + void __set_use_game_log_fixed(const bool val); + + void __set_use_text_log_dated(const bool val); + + void __set_use_game_log_dated(const bool val); + + void __set_log_date_format(const std::string& val); + + void __set_log_times(const bool val); + + void __set_record_message(const bool val); + + void __set_text_log_compression(const int32_t val); + + void __set_game_log_compression(const int32_t val); + + void __set_use_profile(const bool val); + + void __set_tackle_dist(const double val); + + void __set_tackle_back_dist(const double val); + + void __set_tackle_width(const double val); + + void __set_tackle_exponent(const double val); + + void __set_tackle_cycles(const int32_t val); + + void __set_tackle_power_rate(const double val); + + void __set_freeform_wait_period(const int32_t val); + + void __set_freeform_send_period(const int32_t val); + + void __set_free_kick_faults(const bool val); + + void __set_back_passes(const bool val); + + void __set_proper_goal_kicks(const bool val); + + void __set_stopped_ball_vel(const double val); + + void __set_max_goal_kicks(const int32_t val); + + void __set_clang_del_win(const int32_t val); + + void __set_clang_rule_win(const int32_t val); + + void __set_auto_mode(const bool val); + + void __set_kick_off_wait(const int32_t val); + + void __set_connect_wait(const int32_t val); + + void __set_game_over_wait(const int32_t val); + + void __set_team_l_start(const std::string& val); + + void __set_team_r_start(const std::string& val); + + void __set_keepaway_mode(const bool val); + + void __set_keepaway_length(const double val); + + void __set_keepaway_width(const double val); + + void __set_keepaway_logging(const bool val); + + void __set_keepaway_log_dir(const std::string& val); + + void __set_keepaway_log_fixed_name(const std::string& val); + + void __set_keepaway_log_fixed(const bool val); + + void __set_keepaway_log_dated(const bool val); + + void __set_keepaway_start(const int32_t val); + + void __set_nr_normal_halfs(const int32_t val); + + void __set_nr_extra_halfs(const int32_t val); + + void __set_penalty_shoot_outs(const bool val); + + void __set_pen_before_setup_wait(const int32_t val); + + void __set_pen_setup_wait(const int32_t val); + + void __set_pen_ready_wait(const int32_t val); + + void __set_pen_taken_wait(const int32_t val); + + void __set_pen_nr_kicks(const int32_t val); + + void __set_pen_max_extra_kicks(const int32_t val); + + void __set_pen_dist_x(const double val); + + void __set_pen_random_winner(const bool val); + + void __set_pen_allow_mult_kicks(const bool val); + + void __set_pen_max_goalie_dist_x(const double val); + + void __set_pen_coach_moves_players(const bool val); + + void __set_module_dir(const std::string& val); + + void __set_ball_stuck_area(const double val); + + void __set_coach_msg_file(const std::string& val); + + void __set_max_tackle_power(const double val); + + void __set_max_back_tackle_power(const double val); + + void __set_player_speed_max_min(const double val); + + void __set_extra_stamina(const double val); + + void __set_synch_see_offset(const int32_t val); + + void __set_extra_half_time(const int32_t val); + + void __set_stamina_capacity(const double val); + + void __set_max_dash_angle(const double val); + + void __set_min_dash_angle(const double val); + + void __set_dash_angle_step(const double val); + + void __set_side_dash_rate(const double val); + + void __set_back_dash_rate(const double val); + + void __set_max_dash_power(const double val); + + void __set_min_dash_power(const double val); + + void __set_tackle_rand_factor(const double val); + + void __set_foul_detect_probability(const double val); + + void __set_foul_exponent(const double val); + + void __set_foul_cycles(const int32_t val); + + void __set_golden_goal(const bool val); + + void __set_red_card_probability(const double val); + + void __set_illegal_defense_duration(const int32_t val); + + void __set_illegal_defense_number(const int32_t val); + + void __set_illegal_defense_dist_x(const double val); + + void __set_illegal_defense_width(const double val); + + void __set_fixed_teamname_l(const std::string& val); + + void __set_fixed_teamname_r(const std::string& val); + + void __set_max_catch_angle(const double val); + + void __set_min_catch_angle(const double val); + + void __set_random_seed(const int32_t val); + + void __set_long_kick_power_factor(const double val); + + void __set_long_kick_delay(const int32_t val); + + void __set_max_monitors(const int32_t val); + + void __set_catchable_area(const double val); + + void __set_real_speed_max(const double val); + + void __set_pitch_half_length(const double val); + + void __set_pitch_half_width(const double val); + + void __set_our_penalty_area_line_x(const double val); + + void __set_their_penalty_area_line_x(const double val); + + void __set_penalty_area_half_width(const double val); + + void __set_penalty_area_length(const double val); + + void __set_goal_width(const double val); + + bool operator == (const ServerParam & rhs) const + { + if (!(register_response == rhs.register_response)) + return false; + if (!(inertia_moment == rhs.inertia_moment)) + return false; + if (!(player_size == rhs.player_size)) + return false; + if (!(player_decay == rhs.player_decay)) + return false; + if (!(player_rand == rhs.player_rand)) + return false; + if (!(player_weight == rhs.player_weight)) + return false; + if (!(player_speed_max == rhs.player_speed_max)) + return false; + if (!(player_accel_max == rhs.player_accel_max)) + return false; + if (!(stamina_max == rhs.stamina_max)) + return false; + if (!(stamina_inc_max == rhs.stamina_inc_max)) + return false; + if (!(recover_init == rhs.recover_init)) + return false; + if (!(recover_dec_thr == rhs.recover_dec_thr)) + return false; + if (!(recover_min == rhs.recover_min)) + return false; + if (!(recover_dec == rhs.recover_dec)) + return false; + if (!(effort_init == rhs.effort_init)) + return false; + if (!(effort_dec_thr == rhs.effort_dec_thr)) + return false; + if (!(effort_min == rhs.effort_min)) + return false; + if (!(effort_dec == rhs.effort_dec)) + return false; + if (!(effort_inc_thr == rhs.effort_inc_thr)) + return false; + if (!(effort_inc == rhs.effort_inc)) + return false; + if (!(kick_rand == rhs.kick_rand)) + return false; + if (!(team_actuator_noise == rhs.team_actuator_noise)) + return false; + if (!(player_rand_factor_l == rhs.player_rand_factor_l)) + return false; + if (!(player_rand_factor_r == rhs.player_rand_factor_r)) + return false; + if (!(kick_rand_factor_l == rhs.kick_rand_factor_l)) + return false; + if (!(kick_rand_factor_r == rhs.kick_rand_factor_r)) + return false; + if (!(ball_size == rhs.ball_size)) + return false; + if (!(ball_decay == rhs.ball_decay)) + return false; + if (!(ball_rand == rhs.ball_rand)) + return false; + if (!(ball_weight == rhs.ball_weight)) + return false; + if (!(ball_speed_max == rhs.ball_speed_max)) + return false; + if (!(ball_accel_max == rhs.ball_accel_max)) + return false; + if (!(dash_power_rate == rhs.dash_power_rate)) + return false; + if (!(kick_power_rate == rhs.kick_power_rate)) + return false; + if (!(kickable_margin == rhs.kickable_margin)) + return false; + if (!(control_radius == rhs.control_radius)) + return false; + if (!(control_radius_width == rhs.control_radius_width)) + return false; + if (!(max_power == rhs.max_power)) + return false; + if (!(min_power == rhs.min_power)) + return false; + if (!(max_moment == rhs.max_moment)) + return false; + if (!(min_moment == rhs.min_moment)) + return false; + if (!(max_neck_moment == rhs.max_neck_moment)) + return false; + if (!(min_neck_moment == rhs.min_neck_moment)) + return false; + if (!(max_neck_angle == rhs.max_neck_angle)) + return false; + if (!(min_neck_angle == rhs.min_neck_angle)) + return false; + if (!(visible_angle == rhs.visible_angle)) + return false; + if (!(visible_distance == rhs.visible_distance)) + return false; + if (!(wind_dir == rhs.wind_dir)) + return false; + if (!(wind_force == rhs.wind_force)) + return false; + if (!(wind_angle == rhs.wind_angle)) + return false; + if (!(wind_rand == rhs.wind_rand)) + return false; + if (!(kickable_area == rhs.kickable_area)) + return false; + if (!(catch_area_l == rhs.catch_area_l)) + return false; + if (!(catch_area_w == rhs.catch_area_w)) + return false; + if (!(catch_probability == rhs.catch_probability)) + return false; + if (!(goalie_max_moves == rhs.goalie_max_moves)) + return false; + if (!(corner_kick_margin == rhs.corner_kick_margin)) + return false; + if (!(offside_active_area_size == rhs.offside_active_area_size)) + return false; + if (!(wind_none == rhs.wind_none)) + return false; + if (!(use_wind_random == rhs.use_wind_random)) + return false; + if (!(coach_say_count_max == rhs.coach_say_count_max)) + return false; + if (!(coach_say_msg_size == rhs.coach_say_msg_size)) + return false; + if (!(clang_win_size == rhs.clang_win_size)) + return false; + if (!(clang_define_win == rhs.clang_define_win)) + return false; + if (!(clang_meta_win == rhs.clang_meta_win)) + return false; + if (!(clang_advice_win == rhs.clang_advice_win)) + return false; + if (!(clang_info_win == rhs.clang_info_win)) + return false; + if (!(clang_mess_delay == rhs.clang_mess_delay)) + return false; + if (!(clang_mess_per_cycle == rhs.clang_mess_per_cycle)) + return false; + if (!(half_time == rhs.half_time)) + return false; + if (!(simulator_step == rhs.simulator_step)) + return false; + if (!(send_step == rhs.send_step)) + return false; + if (!(recv_step == rhs.recv_step)) + return false; + if (!(sense_body_step == rhs.sense_body_step)) + return false; + if (!(lcm_step == rhs.lcm_step)) + return false; + if (!(player_say_msg_size == rhs.player_say_msg_size)) + return false; + if (!(player_hear_max == rhs.player_hear_max)) + return false; + if (!(player_hear_inc == rhs.player_hear_inc)) + return false; + if (!(player_hear_decay == rhs.player_hear_decay)) + return false; + if (!(catch_ban_cycle == rhs.catch_ban_cycle)) + return false; + if (!(slow_down_factor == rhs.slow_down_factor)) + return false; + if (!(use_offside == rhs.use_offside)) + return false; + if (!(kickoff_offside == rhs.kickoff_offside)) + return false; + if (!(offside_kick_margin == rhs.offside_kick_margin)) + return false; + if (!(audio_cut_dist == rhs.audio_cut_dist)) + return false; + if (!(dist_quantize_step == rhs.dist_quantize_step)) + return false; + if (!(landmark_dist_quantize_step == rhs.landmark_dist_quantize_step)) + return false; + if (!(dir_quantize_step == rhs.dir_quantize_step)) + return false; + if (!(dist_quantize_step_l == rhs.dist_quantize_step_l)) + return false; + if (!(dist_quantize_step_r == rhs.dist_quantize_step_r)) + return false; + if (!(landmark_dist_quantize_step_l == rhs.landmark_dist_quantize_step_l)) + return false; + if (!(landmark_dist_quantize_step_r == rhs.landmark_dist_quantize_step_r)) + return false; + if (!(dir_quantize_step_l == rhs.dir_quantize_step_l)) + return false; + if (!(dir_quantize_step_r == rhs.dir_quantize_step_r)) + return false; + if (!(coach_mode == rhs.coach_mode)) + return false; + if (!(coach_with_referee_mode == rhs.coach_with_referee_mode)) + return false; + if (!(use_old_coach_hear == rhs.use_old_coach_hear)) + return false; + if (!(slowness_on_top_for_left_team == rhs.slowness_on_top_for_left_team)) + return false; + if (!(slowness_on_top_for_right_team == rhs.slowness_on_top_for_right_team)) + return false; + if (!(start_goal_l == rhs.start_goal_l)) + return false; + if (!(start_goal_r == rhs.start_goal_r)) + return false; + if (!(fullstate_l == rhs.fullstate_l)) + return false; + if (!(fullstate_r == rhs.fullstate_r)) + return false; + if (!(drop_ball_time == rhs.drop_ball_time)) + return false; + if (!(synch_mode == rhs.synch_mode)) + return false; + if (!(synch_offset == rhs.synch_offset)) + return false; + if (!(synch_micro_sleep == rhs.synch_micro_sleep)) + return false; + if (!(point_to_ban == rhs.point_to_ban)) + return false; + if (!(point_to_duration == rhs.point_to_duration)) + return false; + if (!(player_port == rhs.player_port)) + return false; + if (!(trainer_port == rhs.trainer_port)) + return false; + if (!(online_coach_port == rhs.online_coach_port)) + return false; + if (!(verbose_mode == rhs.verbose_mode)) + return false; + if (!(coach_send_vi_step == rhs.coach_send_vi_step)) + return false; + if (!(replay_file == rhs.replay_file)) + return false; + if (!(landmark_file == rhs.landmark_file)) + return false; + if (!(send_comms == rhs.send_comms)) + return false; + if (!(text_logging == rhs.text_logging)) + return false; + if (!(game_logging == rhs.game_logging)) + return false; + if (!(game_log_version == rhs.game_log_version)) + return false; + if (!(text_log_dir == rhs.text_log_dir)) + return false; + if (!(game_log_dir == rhs.game_log_dir)) + return false; + if (!(text_log_fixed_name == rhs.text_log_fixed_name)) + return false; + if (!(game_log_fixed_name == rhs.game_log_fixed_name)) + return false; + if (!(use_text_log_fixed == rhs.use_text_log_fixed)) + return false; + if (!(use_game_log_fixed == rhs.use_game_log_fixed)) + return false; + if (!(use_text_log_dated == rhs.use_text_log_dated)) + return false; + if (!(use_game_log_dated == rhs.use_game_log_dated)) + return false; + if (!(log_date_format == rhs.log_date_format)) + return false; + if (!(log_times == rhs.log_times)) + return false; + if (!(record_message == rhs.record_message)) + return false; + if (!(text_log_compression == rhs.text_log_compression)) + return false; + if (!(game_log_compression == rhs.game_log_compression)) + return false; + if (!(use_profile == rhs.use_profile)) + return false; + if (!(tackle_dist == rhs.tackle_dist)) + return false; + if (!(tackle_back_dist == rhs.tackle_back_dist)) + return false; + if (!(tackle_width == rhs.tackle_width)) + return false; + if (!(tackle_exponent == rhs.tackle_exponent)) + return false; + if (!(tackle_cycles == rhs.tackle_cycles)) + return false; + if (!(tackle_power_rate == rhs.tackle_power_rate)) + return false; + if (!(freeform_wait_period == rhs.freeform_wait_period)) + return false; + if (!(freeform_send_period == rhs.freeform_send_period)) + return false; + if (!(free_kick_faults == rhs.free_kick_faults)) + return false; + if (!(back_passes == rhs.back_passes)) + return false; + if (!(proper_goal_kicks == rhs.proper_goal_kicks)) + return false; + if (!(stopped_ball_vel == rhs.stopped_ball_vel)) + return false; + if (!(max_goal_kicks == rhs.max_goal_kicks)) + return false; + if (!(clang_del_win == rhs.clang_del_win)) + return false; + if (!(clang_rule_win == rhs.clang_rule_win)) + return false; + if (!(auto_mode == rhs.auto_mode)) + return false; + if (!(kick_off_wait == rhs.kick_off_wait)) + return false; + if (!(connect_wait == rhs.connect_wait)) + return false; + if (!(game_over_wait == rhs.game_over_wait)) + return false; + if (!(team_l_start == rhs.team_l_start)) + return false; + if (!(team_r_start == rhs.team_r_start)) + return false; + if (!(keepaway_mode == rhs.keepaway_mode)) + return false; + if (!(keepaway_length == rhs.keepaway_length)) + return false; + if (!(keepaway_width == rhs.keepaway_width)) + return false; + if (!(keepaway_logging == rhs.keepaway_logging)) + return false; + if (!(keepaway_log_dir == rhs.keepaway_log_dir)) + return false; + if (!(keepaway_log_fixed_name == rhs.keepaway_log_fixed_name)) + return false; + if (!(keepaway_log_fixed == rhs.keepaway_log_fixed)) + return false; + if (!(keepaway_log_dated == rhs.keepaway_log_dated)) + return false; + if (!(keepaway_start == rhs.keepaway_start)) + return false; + if (!(nr_normal_halfs == rhs.nr_normal_halfs)) + return false; + if (!(nr_extra_halfs == rhs.nr_extra_halfs)) + return false; + if (!(penalty_shoot_outs == rhs.penalty_shoot_outs)) + return false; + if (!(pen_before_setup_wait == rhs.pen_before_setup_wait)) + return false; + if (!(pen_setup_wait == rhs.pen_setup_wait)) + return false; + if (!(pen_ready_wait == rhs.pen_ready_wait)) + return false; + if (!(pen_taken_wait == rhs.pen_taken_wait)) + return false; + if (!(pen_nr_kicks == rhs.pen_nr_kicks)) + return false; + if (!(pen_max_extra_kicks == rhs.pen_max_extra_kicks)) + return false; + if (!(pen_dist_x == rhs.pen_dist_x)) + return false; + if (!(pen_random_winner == rhs.pen_random_winner)) + return false; + if (!(pen_allow_mult_kicks == rhs.pen_allow_mult_kicks)) + return false; + if (!(pen_max_goalie_dist_x == rhs.pen_max_goalie_dist_x)) + return false; + if (!(pen_coach_moves_players == rhs.pen_coach_moves_players)) + return false; + if (!(module_dir == rhs.module_dir)) + return false; + if (!(ball_stuck_area == rhs.ball_stuck_area)) + return false; + if (!(coach_msg_file == rhs.coach_msg_file)) + return false; + if (!(max_tackle_power == rhs.max_tackle_power)) + return false; + if (!(max_back_tackle_power == rhs.max_back_tackle_power)) + return false; + if (!(player_speed_max_min == rhs.player_speed_max_min)) + return false; + if (!(extra_stamina == rhs.extra_stamina)) + return false; + if (!(synch_see_offset == rhs.synch_see_offset)) + return false; + if (!(extra_half_time == rhs.extra_half_time)) + return false; + if (!(stamina_capacity == rhs.stamina_capacity)) + return false; + if (!(max_dash_angle == rhs.max_dash_angle)) + return false; + if (!(min_dash_angle == rhs.min_dash_angle)) + return false; + if (!(dash_angle_step == rhs.dash_angle_step)) + return false; + if (!(side_dash_rate == rhs.side_dash_rate)) + return false; + if (!(back_dash_rate == rhs.back_dash_rate)) + return false; + if (!(max_dash_power == rhs.max_dash_power)) + return false; + if (!(min_dash_power == rhs.min_dash_power)) + return false; + if (!(tackle_rand_factor == rhs.tackle_rand_factor)) + return false; + if (!(foul_detect_probability == rhs.foul_detect_probability)) + return false; + if (!(foul_exponent == rhs.foul_exponent)) + return false; + if (!(foul_cycles == rhs.foul_cycles)) + return false; + if (!(golden_goal == rhs.golden_goal)) + return false; + if (!(red_card_probability == rhs.red_card_probability)) + return false; + if (!(illegal_defense_duration == rhs.illegal_defense_duration)) + return false; + if (!(illegal_defense_number == rhs.illegal_defense_number)) + return false; + if (!(illegal_defense_dist_x == rhs.illegal_defense_dist_x)) + return false; + if (!(illegal_defense_width == rhs.illegal_defense_width)) + return false; + if (!(fixed_teamname_l == rhs.fixed_teamname_l)) + return false; + if (!(fixed_teamname_r == rhs.fixed_teamname_r)) + return false; + if (!(max_catch_angle == rhs.max_catch_angle)) + return false; + if (!(min_catch_angle == rhs.min_catch_angle)) + return false; + if (!(random_seed == rhs.random_seed)) + return false; + if (!(long_kick_power_factor == rhs.long_kick_power_factor)) + return false; + if (!(long_kick_delay == rhs.long_kick_delay)) + return false; + if (!(max_monitors == rhs.max_monitors)) + return false; + if (!(catchable_area == rhs.catchable_area)) + return false; + if (!(real_speed_max == rhs.real_speed_max)) + return false; + if (!(pitch_half_length == rhs.pitch_half_length)) + return false; + if (!(pitch_half_width == rhs.pitch_half_width)) + return false; + if (!(our_penalty_area_line_x == rhs.our_penalty_area_line_x)) + return false; + if (!(their_penalty_area_line_x == rhs.their_penalty_area_line_x)) + return false; + if (!(penalty_area_half_width == rhs.penalty_area_half_width)) + return false; + if (!(penalty_area_length == rhs.penalty_area_length)) + return false; + if (!(goal_width == rhs.goal_width)) + return false; + return true; + } + bool operator != (const ServerParam &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ServerParam & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(ServerParam &a, ServerParam &b); + +std::ostream& operator<<(std::ostream& out, const ServerParam& obj); + +typedef struct _PlayerParam__isset { + _PlayerParam__isset() : register_response(false), player_types(false), subs_max(false), pt_max(false), allow_mult_default_type(false), player_speed_max_delta_min(false), player_speed_max_delta_max(false), stamina_inc_max_delta_factor(false), player_decay_delta_min(false), player_decay_delta_max(false), inertia_moment_delta_factor(false), dash_power_rate_delta_min(false), dash_power_rate_delta_max(false), player_size_delta_factor(false), kickable_margin_delta_min(false), kickable_margin_delta_max(false), kick_rand_delta_factor(false), extra_stamina_delta_min(false), extra_stamina_delta_max(false), effort_max_delta_factor(false), effort_min_delta_factor(false), random_seed(false), new_dash_power_rate_delta_min(false), new_dash_power_rate_delta_max(false), new_stamina_inc_max_delta_factor(false), kick_power_rate_delta_min(false), kick_power_rate_delta_max(false), foul_detect_probability_delta_factor(false), catchable_area_l_stretch_min(false), catchable_area_l_stretch_max(false) {} + bool register_response :1; + bool player_types :1; + bool subs_max :1; + bool pt_max :1; + bool allow_mult_default_type :1; + bool player_speed_max_delta_min :1; + bool player_speed_max_delta_max :1; + bool stamina_inc_max_delta_factor :1; + bool player_decay_delta_min :1; + bool player_decay_delta_max :1; + bool inertia_moment_delta_factor :1; + bool dash_power_rate_delta_min :1; + bool dash_power_rate_delta_max :1; + bool player_size_delta_factor :1; + bool kickable_margin_delta_min :1; + bool kickable_margin_delta_max :1; + bool kick_rand_delta_factor :1; + bool extra_stamina_delta_min :1; + bool extra_stamina_delta_max :1; + bool effort_max_delta_factor :1; + bool effort_min_delta_factor :1; + bool random_seed :1; + bool new_dash_power_rate_delta_min :1; + bool new_dash_power_rate_delta_max :1; + bool new_stamina_inc_max_delta_factor :1; + bool kick_power_rate_delta_min :1; + bool kick_power_rate_delta_max :1; + bool foul_detect_probability_delta_factor :1; + bool catchable_area_l_stretch_min :1; + bool catchable_area_l_stretch_max :1; +} _PlayerParam__isset; + +class PlayerParam : public virtual ::apache::thrift::TBase { + public: + + PlayerParam(const PlayerParam&); + PlayerParam& operator=(const PlayerParam&); + PlayerParam() noexcept + : player_types(0), + subs_max(0), + pt_max(0), + allow_mult_default_type(0), + player_speed_max_delta_min(0), + player_speed_max_delta_max(0), + stamina_inc_max_delta_factor(0), + player_decay_delta_min(0), + player_decay_delta_max(0), + inertia_moment_delta_factor(0), + dash_power_rate_delta_min(0), + dash_power_rate_delta_max(0), + player_size_delta_factor(0), + kickable_margin_delta_min(0), + kickable_margin_delta_max(0), + kick_rand_delta_factor(0), + extra_stamina_delta_min(0), + extra_stamina_delta_max(0), + effort_max_delta_factor(0), + effort_min_delta_factor(0), + random_seed(0), + new_dash_power_rate_delta_min(0), + new_dash_power_rate_delta_max(0), + new_stamina_inc_max_delta_factor(0), + kick_power_rate_delta_min(0), + kick_power_rate_delta_max(0), + foul_detect_probability_delta_factor(0), + catchable_area_l_stretch_min(0), + catchable_area_l_stretch_max(0) { + } + + virtual ~PlayerParam() noexcept; + RegisterResponse register_response; + int32_t player_types; + int32_t subs_max; + int32_t pt_max; + bool allow_mult_default_type; + double player_speed_max_delta_min; + double player_speed_max_delta_max; + double stamina_inc_max_delta_factor; + double player_decay_delta_min; + double player_decay_delta_max; + double inertia_moment_delta_factor; + double dash_power_rate_delta_min; + double dash_power_rate_delta_max; + double player_size_delta_factor; + double kickable_margin_delta_min; + double kickable_margin_delta_max; + double kick_rand_delta_factor; + double extra_stamina_delta_min; + double extra_stamina_delta_max; + double effort_max_delta_factor; + double effort_min_delta_factor; + int32_t random_seed; + double new_dash_power_rate_delta_min; + double new_dash_power_rate_delta_max; + double new_stamina_inc_max_delta_factor; + double kick_power_rate_delta_min; + double kick_power_rate_delta_max; + double foul_detect_probability_delta_factor; + double catchable_area_l_stretch_min; + double catchable_area_l_stretch_max; + + _PlayerParam__isset __isset; + + void __set_register_response(const RegisterResponse& val); + + void __set_player_types(const int32_t val); + + void __set_subs_max(const int32_t val); + + void __set_pt_max(const int32_t val); + + void __set_allow_mult_default_type(const bool val); + + void __set_player_speed_max_delta_min(const double val); + + void __set_player_speed_max_delta_max(const double val); + + void __set_stamina_inc_max_delta_factor(const double val); + + void __set_player_decay_delta_min(const double val); + + void __set_player_decay_delta_max(const double val); + + void __set_inertia_moment_delta_factor(const double val); + + void __set_dash_power_rate_delta_min(const double val); + + void __set_dash_power_rate_delta_max(const double val); + + void __set_player_size_delta_factor(const double val); + + void __set_kickable_margin_delta_min(const double val); + + void __set_kickable_margin_delta_max(const double val); + + void __set_kick_rand_delta_factor(const double val); + + void __set_extra_stamina_delta_min(const double val); + + void __set_extra_stamina_delta_max(const double val); + + void __set_effort_max_delta_factor(const double val); + + void __set_effort_min_delta_factor(const double val); + + void __set_random_seed(const int32_t val); + + void __set_new_dash_power_rate_delta_min(const double val); + + void __set_new_dash_power_rate_delta_max(const double val); + + void __set_new_stamina_inc_max_delta_factor(const double val); + + void __set_kick_power_rate_delta_min(const double val); + + void __set_kick_power_rate_delta_max(const double val); + + void __set_foul_detect_probability_delta_factor(const double val); + + void __set_catchable_area_l_stretch_min(const double val); + + void __set_catchable_area_l_stretch_max(const double val); + + bool operator == (const PlayerParam & rhs) const + { + if (!(register_response == rhs.register_response)) + return false; + if (!(player_types == rhs.player_types)) + return false; + if (!(subs_max == rhs.subs_max)) + return false; + if (!(pt_max == rhs.pt_max)) + return false; + if (!(allow_mult_default_type == rhs.allow_mult_default_type)) + return false; + if (!(player_speed_max_delta_min == rhs.player_speed_max_delta_min)) + return false; + if (!(player_speed_max_delta_max == rhs.player_speed_max_delta_max)) + return false; + if (!(stamina_inc_max_delta_factor == rhs.stamina_inc_max_delta_factor)) + return false; + if (!(player_decay_delta_min == rhs.player_decay_delta_min)) + return false; + if (!(player_decay_delta_max == rhs.player_decay_delta_max)) + return false; + if (!(inertia_moment_delta_factor == rhs.inertia_moment_delta_factor)) + return false; + if (!(dash_power_rate_delta_min == rhs.dash_power_rate_delta_min)) + return false; + if (!(dash_power_rate_delta_max == rhs.dash_power_rate_delta_max)) + return false; + if (!(player_size_delta_factor == rhs.player_size_delta_factor)) + return false; + if (!(kickable_margin_delta_min == rhs.kickable_margin_delta_min)) + return false; + if (!(kickable_margin_delta_max == rhs.kickable_margin_delta_max)) + return false; + if (!(kick_rand_delta_factor == rhs.kick_rand_delta_factor)) + return false; + if (!(extra_stamina_delta_min == rhs.extra_stamina_delta_min)) + return false; + if (!(extra_stamina_delta_max == rhs.extra_stamina_delta_max)) + return false; + if (!(effort_max_delta_factor == rhs.effort_max_delta_factor)) + return false; + if (!(effort_min_delta_factor == rhs.effort_min_delta_factor)) + return false; + if (!(random_seed == rhs.random_seed)) + return false; + if (!(new_dash_power_rate_delta_min == rhs.new_dash_power_rate_delta_min)) + return false; + if (!(new_dash_power_rate_delta_max == rhs.new_dash_power_rate_delta_max)) + return false; + if (!(new_stamina_inc_max_delta_factor == rhs.new_stamina_inc_max_delta_factor)) + return false; + if (!(kick_power_rate_delta_min == rhs.kick_power_rate_delta_min)) + return false; + if (!(kick_power_rate_delta_max == rhs.kick_power_rate_delta_max)) + return false; + if (!(foul_detect_probability_delta_factor == rhs.foul_detect_probability_delta_factor)) + return false; + if (!(catchable_area_l_stretch_min == rhs.catchable_area_l_stretch_min)) + return false; + if (!(catchable_area_l_stretch_max == rhs.catchable_area_l_stretch_max)) + return false; + return true; + } + bool operator != (const PlayerParam &rhs) const { + return !(*this == rhs); + } + + bool operator < (const PlayerParam & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(PlayerParam &a, PlayerParam &b); + +std::ostream& operator<<(std::ostream& out, const PlayerParam& obj); + +typedef struct _PlayerType__isset { + _PlayerType__isset() : register_response(false), id(false), stamina_inc_max(false), player_decay(false), inertia_moment(false), dash_power_rate(false), player_size(false), kickable_margin(false), kick_rand(false), extra_stamina(false), effort_max(false), effort_min(false), kick_power_rate(false), foul_detect_probability(false), catchable_area_l_stretch(false), unum_far_length(false), unum_too_far_length(false), team_far_length(false), team_too_far_length(false), player_max_observation_length(false), ball_vel_far_length(false), ball_vel_too_far_length(false), ball_max_observation_length(false), flag_chg_far_length(false), flag_chg_too_far_length(false), flag_max_observation_length(false), kickable_area(false), reliable_catchable_dist(false), max_catchable_dist(false), real_speed_max(false), player_speed_max2(false), real_speed_max2(false), cycles_to_reach_max_speed(false), player_speed_max(false) {} + bool register_response :1; + bool id :1; + bool stamina_inc_max :1; + bool player_decay :1; + bool inertia_moment :1; + bool dash_power_rate :1; + bool player_size :1; + bool kickable_margin :1; + bool kick_rand :1; + bool extra_stamina :1; + bool effort_max :1; + bool effort_min :1; + bool kick_power_rate :1; + bool foul_detect_probability :1; + bool catchable_area_l_stretch :1; + bool unum_far_length :1; + bool unum_too_far_length :1; + bool team_far_length :1; + bool team_too_far_length :1; + bool player_max_observation_length :1; + bool ball_vel_far_length :1; + bool ball_vel_too_far_length :1; + bool ball_max_observation_length :1; + bool flag_chg_far_length :1; + bool flag_chg_too_far_length :1; + bool flag_max_observation_length :1; + bool kickable_area :1; + bool reliable_catchable_dist :1; + bool max_catchable_dist :1; + bool real_speed_max :1; + bool player_speed_max2 :1; + bool real_speed_max2 :1; + bool cycles_to_reach_max_speed :1; + bool player_speed_max :1; +} _PlayerType__isset; + +class PlayerType : public virtual ::apache::thrift::TBase { + public: + + PlayerType(const PlayerType&); + PlayerType& operator=(const PlayerType&); + PlayerType() noexcept + : id(0), + stamina_inc_max(0), + player_decay(0), + inertia_moment(0), + dash_power_rate(0), + player_size(0), + kickable_margin(0), + kick_rand(0), + extra_stamina(0), + effort_max(0), + effort_min(0), + kick_power_rate(0), + foul_detect_probability(0), + catchable_area_l_stretch(0), + unum_far_length(0), + unum_too_far_length(0), + team_far_length(0), + team_too_far_length(0), + player_max_observation_length(0), + ball_vel_far_length(0), + ball_vel_too_far_length(0), + ball_max_observation_length(0), + flag_chg_far_length(0), + flag_chg_too_far_length(0), + flag_max_observation_length(0), + kickable_area(0), + reliable_catchable_dist(0), + max_catchable_dist(0), + real_speed_max(0), + player_speed_max2(0), + real_speed_max2(0), + cycles_to_reach_max_speed(0), + player_speed_max(0) { + } + + virtual ~PlayerType() noexcept; + RegisterResponse register_response; + int32_t id; + double stamina_inc_max; + double player_decay; + double inertia_moment; + double dash_power_rate; + double player_size; + double kickable_margin; + double kick_rand; + double extra_stamina; + double effort_max; + double effort_min; + double kick_power_rate; + double foul_detect_probability; + double catchable_area_l_stretch; + double unum_far_length; + double unum_too_far_length; + double team_far_length; + double team_too_far_length; + double player_max_observation_length; + double ball_vel_far_length; + double ball_vel_too_far_length; + double ball_max_observation_length; + double flag_chg_far_length; + double flag_chg_too_far_length; + double flag_max_observation_length; + double kickable_area; + double reliable_catchable_dist; + double max_catchable_dist; + double real_speed_max; + double player_speed_max2; + double real_speed_max2; + int32_t cycles_to_reach_max_speed; + double player_speed_max; + + _PlayerType__isset __isset; + + void __set_register_response(const RegisterResponse& val); + + void __set_id(const int32_t val); + + void __set_stamina_inc_max(const double val); + + void __set_player_decay(const double val); + + void __set_inertia_moment(const double val); + + void __set_dash_power_rate(const double val); + + void __set_player_size(const double val); + + void __set_kickable_margin(const double val); + + void __set_kick_rand(const double val); + + void __set_extra_stamina(const double val); + + void __set_effort_max(const double val); + + void __set_effort_min(const double val); + + void __set_kick_power_rate(const double val); + + void __set_foul_detect_probability(const double val); + + void __set_catchable_area_l_stretch(const double val); + + void __set_unum_far_length(const double val); + + void __set_unum_too_far_length(const double val); + + void __set_team_far_length(const double val); + + void __set_team_too_far_length(const double val); + + void __set_player_max_observation_length(const double val); + + void __set_ball_vel_far_length(const double val); + + void __set_ball_vel_too_far_length(const double val); + + void __set_ball_max_observation_length(const double val); + + void __set_flag_chg_far_length(const double val); + + void __set_flag_chg_too_far_length(const double val); + + void __set_flag_max_observation_length(const double val); + + void __set_kickable_area(const double val); + + void __set_reliable_catchable_dist(const double val); + + void __set_max_catchable_dist(const double val); + + void __set_real_speed_max(const double val); + + void __set_player_speed_max2(const double val); + + void __set_real_speed_max2(const double val); + + void __set_cycles_to_reach_max_speed(const int32_t val); + + void __set_player_speed_max(const double val); + + bool operator == (const PlayerType & rhs) const + { + if (!(register_response == rhs.register_response)) + return false; + if (!(id == rhs.id)) + return false; + if (!(stamina_inc_max == rhs.stamina_inc_max)) + return false; + if (!(player_decay == rhs.player_decay)) + return false; + if (!(inertia_moment == rhs.inertia_moment)) + return false; + if (!(dash_power_rate == rhs.dash_power_rate)) + return false; + if (!(player_size == rhs.player_size)) + return false; + if (!(kickable_margin == rhs.kickable_margin)) + return false; + if (!(kick_rand == rhs.kick_rand)) + return false; + if (!(extra_stamina == rhs.extra_stamina)) + return false; + if (!(effort_max == rhs.effort_max)) + return false; + if (!(effort_min == rhs.effort_min)) + return false; + if (!(kick_power_rate == rhs.kick_power_rate)) + return false; + if (!(foul_detect_probability == rhs.foul_detect_probability)) + return false; + if (!(catchable_area_l_stretch == rhs.catchable_area_l_stretch)) + return false; + if (!(unum_far_length == rhs.unum_far_length)) + return false; + if (!(unum_too_far_length == rhs.unum_too_far_length)) + return false; + if (!(team_far_length == rhs.team_far_length)) + return false; + if (!(team_too_far_length == rhs.team_too_far_length)) + return false; + if (!(player_max_observation_length == rhs.player_max_observation_length)) + return false; + if (!(ball_vel_far_length == rhs.ball_vel_far_length)) + return false; + if (!(ball_vel_too_far_length == rhs.ball_vel_too_far_length)) + return false; + if (!(ball_max_observation_length == rhs.ball_max_observation_length)) + return false; + if (!(flag_chg_far_length == rhs.flag_chg_far_length)) + return false; + if (!(flag_chg_too_far_length == rhs.flag_chg_too_far_length)) + return false; + if (!(flag_max_observation_length == rhs.flag_max_observation_length)) + return false; + if (!(kickable_area == rhs.kickable_area)) + return false; + if (!(reliable_catchable_dist == rhs.reliable_catchable_dist)) + return false; + if (!(max_catchable_dist == rhs.max_catchable_dist)) + return false; + if (!(real_speed_max == rhs.real_speed_max)) + return false; + if (!(player_speed_max2 == rhs.player_speed_max2)) + return false; + if (!(real_speed_max2 == rhs.real_speed_max2)) + return false; + if (!(cycles_to_reach_max_speed == rhs.cycles_to_reach_max_speed)) + return false; + if (!(player_speed_max == rhs.player_speed_max)) + return false; + return true; + } + bool operator != (const PlayerType &rhs) const { + return !(*this == rhs); + } + + bool operator < (const PlayerType & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(PlayerType &a, PlayerType &b); + +std::ostream& operator<<(std::ostream& out, const PlayerType& obj); + +typedef struct _RpcCooperativeAction__isset { + _RpcCooperativeAction__isset() : category(false), index(false), sender_unum(false), target_unum(false), target_point(false), first_ball_speed(false), first_turn_moment(false), first_dash_power(false), first_dash_angle_relative(false), duration_step(false), kick_count(false), turn_count(false), dash_count(false), final_action(false), description(false), parent_index(false) {} + bool category :1; + bool index :1; + bool sender_unum :1; + bool target_unum :1; + bool target_point :1; + bool first_ball_speed :1; + bool first_turn_moment :1; + bool first_dash_power :1; + bool first_dash_angle_relative :1; + bool duration_step :1; + bool kick_count :1; + bool turn_count :1; + bool dash_count :1; + bool final_action :1; + bool description :1; + bool parent_index :1; +} _RpcCooperativeAction__isset; + +class RpcCooperativeAction : public virtual ::apache::thrift::TBase { + public: + + RpcCooperativeAction(const RpcCooperativeAction&); + RpcCooperativeAction& operator=(const RpcCooperativeAction&); + RpcCooperativeAction() noexcept + : category(static_cast(0)), + index(0), + sender_unum(0), + target_unum(0), + first_ball_speed(0), + first_turn_moment(0), + first_dash_power(0), + first_dash_angle_relative(0), + duration_step(0), + kick_count(0), + turn_count(0), + dash_count(0), + final_action(0), + description(), + parent_index(0) { + } + + virtual ~RpcCooperativeAction() noexcept; + /** + * + * @see RpcActionCategory + */ + RpcActionCategory::type category; + int32_t index; + int32_t sender_unum; + int32_t target_unum; + RpcVector2D target_point; + double first_ball_speed; + double first_turn_moment; + double first_dash_power; + double first_dash_angle_relative; + int32_t duration_step; + int32_t kick_count; + int32_t turn_count; + int32_t dash_count; + bool final_action; + std::string description; + int32_t parent_index; + + _RpcCooperativeAction__isset __isset; + + void __set_category(const RpcActionCategory::type val); + + void __set_index(const int32_t val); + + void __set_sender_unum(const int32_t val); + + void __set_target_unum(const int32_t val); + + void __set_target_point(const RpcVector2D& val); + + void __set_first_ball_speed(const double val); + + void __set_first_turn_moment(const double val); + + void __set_first_dash_power(const double val); + + void __set_first_dash_angle_relative(const double val); + + void __set_duration_step(const int32_t val); + + void __set_kick_count(const int32_t val); + + void __set_turn_count(const int32_t val); + + void __set_dash_count(const int32_t val); + + void __set_final_action(const bool val); + + void __set_description(const std::string& val); + + void __set_parent_index(const int32_t val); + + bool operator == (const RpcCooperativeAction & rhs) const + { + if (!(category == rhs.category)) + return false; + if (!(index == rhs.index)) + return false; + if (!(sender_unum == rhs.sender_unum)) + return false; + if (!(target_unum == rhs.target_unum)) + return false; + if (!(target_point == rhs.target_point)) + return false; + if (!(first_ball_speed == rhs.first_ball_speed)) + return false; + if (!(first_turn_moment == rhs.first_turn_moment)) + return false; + if (!(first_dash_power == rhs.first_dash_power)) + return false; + if (!(first_dash_angle_relative == rhs.first_dash_angle_relative)) + return false; + if (!(duration_step == rhs.duration_step)) + return false; + if (!(kick_count == rhs.kick_count)) + return false; + if (!(turn_count == rhs.turn_count)) + return false; + if (!(dash_count == rhs.dash_count)) + return false; + if (!(final_action == rhs.final_action)) + return false; + if (!(description == rhs.description)) + return false; + if (!(parent_index == rhs.parent_index)) + return false; + return true; + } + bool operator != (const RpcCooperativeAction &rhs) const { + return !(*this == rhs); + } + + bool operator < (const RpcCooperativeAction & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(RpcCooperativeAction &a, RpcCooperativeAction &b); + +std::ostream& operator<<(std::ostream& out, const RpcCooperativeAction& obj); + +typedef struct _RpcPredictState__isset { + _RpcPredictState__isset() : spend_time(false), ball_holder_unum(false), ball_position(false), ball_velocity(false), our_defense_line_x(false), our_offense_line_x(false) {} + bool spend_time :1; + bool ball_holder_unum :1; + bool ball_position :1; + bool ball_velocity :1; + bool our_defense_line_x :1; + bool our_offense_line_x :1; +} _RpcPredictState__isset; + +class RpcPredictState : public virtual ::apache::thrift::TBase { + public: + + RpcPredictState(const RpcPredictState&) noexcept; + RpcPredictState& operator=(const RpcPredictState&) noexcept; + RpcPredictState() noexcept + : spend_time(0), + ball_holder_unum(0), + our_defense_line_x(0), + our_offense_line_x(0) { + } + + virtual ~RpcPredictState() noexcept; + int32_t spend_time; + int32_t ball_holder_unum; + RpcVector2D ball_position; + RpcVector2D ball_velocity; + double our_defense_line_x; + double our_offense_line_x; + + _RpcPredictState__isset __isset; + + void __set_spend_time(const int32_t val); + + void __set_ball_holder_unum(const int32_t val); + + void __set_ball_position(const RpcVector2D& val); + + void __set_ball_velocity(const RpcVector2D& val); + + void __set_our_defense_line_x(const double val); + + void __set_our_offense_line_x(const double val); + + bool operator == (const RpcPredictState & rhs) const + { + if (!(spend_time == rhs.spend_time)) + return false; + if (!(ball_holder_unum == rhs.ball_holder_unum)) + return false; + if (!(ball_position == rhs.ball_position)) + return false; + if (!(ball_velocity == rhs.ball_velocity)) + return false; + if (!(our_defense_line_x == rhs.our_defense_line_x)) + return false; + if (!(our_offense_line_x == rhs.our_offense_line_x)) + return false; + return true; + } + bool operator != (const RpcPredictState &rhs) const { + return !(*this == rhs); + } + + bool operator < (const RpcPredictState & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(RpcPredictState &a, RpcPredictState &b); + +std::ostream& operator<<(std::ostream& out, const RpcPredictState& obj); + +typedef struct _RpcActionState__isset { + _RpcActionState__isset() : action(false), predict_state(false), evaluation(false) {} + bool action :1; + bool predict_state :1; + bool evaluation :1; +} _RpcActionState__isset; + +class RpcActionState : public virtual ::apache::thrift::TBase { + public: + + RpcActionState(const RpcActionState&); + RpcActionState& operator=(const RpcActionState&); + RpcActionState() noexcept + : evaluation(0) { + } + + virtual ~RpcActionState() noexcept; + RpcCooperativeAction action; + RpcPredictState predict_state; + double evaluation; + + _RpcActionState__isset __isset; + + void __set_action(const RpcCooperativeAction& val); + + void __set_predict_state(const RpcPredictState& val); + + void __set_evaluation(const double val); + + bool operator == (const RpcActionState & rhs) const + { + if (!(action == rhs.action)) + return false; + if (!(predict_state == rhs.predict_state)) + return false; + if (!(evaluation == rhs.evaluation)) + return false; + return true; + } + bool operator != (const RpcActionState &rhs) const { + return !(*this == rhs); + } + + bool operator < (const RpcActionState & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(RpcActionState &a, RpcActionState &b); + +std::ostream& operator<<(std::ostream& out, const RpcActionState& obj); + +typedef struct _BestPlannerActionRequest__isset { + _BestPlannerActionRequest__isset() : register_response(false), pairs(false), state(false) {} + bool register_response :1; + bool pairs :1; + bool state :1; +} _BestPlannerActionRequest__isset; + +class BestPlannerActionRequest : public virtual ::apache::thrift::TBase { + public: + + BestPlannerActionRequest(const BestPlannerActionRequest&); + BestPlannerActionRequest& operator=(const BestPlannerActionRequest&); + BestPlannerActionRequest() noexcept { + } + + virtual ~BestPlannerActionRequest() noexcept; + RegisterResponse register_response; + std::map pairs; + State state; + + _BestPlannerActionRequest__isset __isset; + + void __set_register_response(const RegisterResponse& val); + + void __set_pairs(const std::map & val); + + void __set_state(const State& val); + + bool operator == (const BestPlannerActionRequest & rhs) const + { + if (!(register_response == rhs.register_response)) + return false; + if (!(pairs == rhs.pairs)) + return false; + if (!(state == rhs.state)) + return false; + return true; + } + bool operator != (const BestPlannerActionRequest &rhs) const { + return !(*this == rhs); + } + + bool operator < (const BestPlannerActionRequest & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(BestPlannerActionRequest &a, BestPlannerActionRequest &b); + +std::ostream& operator<<(std::ostream& out, const BestPlannerActionRequest& obj); + +typedef struct _BestPlannerActionResponse__isset { + _BestPlannerActionResponse__isset() : index(false) {} + bool index :1; +} _BestPlannerActionResponse__isset; + +class BestPlannerActionResponse : public virtual ::apache::thrift::TBase { + public: + + BestPlannerActionResponse(const BestPlannerActionResponse&) noexcept; + BestPlannerActionResponse& operator=(const BestPlannerActionResponse&) noexcept; + BestPlannerActionResponse() noexcept + : index(0) { + } + + virtual ~BestPlannerActionResponse() noexcept; + int32_t index; + + _BestPlannerActionResponse__isset __isset; + + void __set_index(const int32_t val); + + bool operator == (const BestPlannerActionResponse & rhs) const + { + if (!(index == rhs.index)) + return false; + return true; + } + bool operator != (const BestPlannerActionResponse &rhs) const { + return !(*this == rhs); + } + + bool operator < (const BestPlannerActionResponse & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(BestPlannerActionResponse &a, BestPlannerActionResponse &b); + +std::ostream& operator<<(std::ostream& out, const BestPlannerActionResponse& obj); + + +class Empty : public virtual ::apache::thrift::TBase { + public: + + Empty(const Empty&) noexcept; + Empty& operator=(const Empty&) noexcept; + Empty() noexcept { + } + + virtual ~Empty() noexcept; + + bool operator == (const Empty & /* rhs */) const + { + return true; + } + bool operator != (const Empty &rhs) const { + return !(*this == rhs); + } + + bool operator < (const Empty & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(Empty &a, Empty &b); + +std::ostream& operator<<(std::ostream& out, const Empty& obj); + +} // namespace + +#endif diff --git a/idl/thrift/soccer_service.thrift b/idl/thrift/soccer_service.thrift index 297a631..d36bb67 100644 --- a/idl/thrift/soccer_service.thrift +++ b/idl/thrift/soccer_service.thrift @@ -726,6 +726,7 @@ struct HeliosChainAction { 7: bool simple_pass, 8: bool simple_dribble, 9: bool simple_shoot + 10: bool server_side_decision } struct HeliosBasicOffensive {} diff --git a/src/thrift-client/thrift_client_player.cpp b/src/thrift-client/thrift_client_player.cpp index 66db5b7..eccc6dc 100644 --- a/src/thrift-client/thrift_client_player.cpp +++ b/src/thrift-client/thrift_client_player.cpp @@ -69,7 +69,7 @@ using std::chrono::high_resolution_clock; using std::chrono::milliseconds; #define DEBUG - +#define DEBUG_CLIENT_PLAYER #ifdef DEBUG #define LOG(x) std::cout << x << std::endl #define LOGV(x) std::cout << #x << ": " << x << std::endl @@ -111,9 +111,10 @@ void ThriftClientPlayer::getActions() auto agent = M_agent; bool pre_process = checkPreprocess(agent); soccer::State state = generateState(); - state.need_preprocess = pre_process; soccer::PlayerActions actions; - state.register_response = M_register_response; + soccer::RegisterResponse response = M_register_response; + state.need_preprocess = pre_process; + state.register_response = response; try { M_client->GetPlayerActions(actions, state); @@ -630,18 +631,171 @@ void ThriftClientPlayer::getActions() ActionChainHolder::instance().setFieldEvaluator(field_evaluator); ActionChainHolder::instance().setActionGenerator(action_generator); ActionChainHolder::instance().update(agent->world()); - if (Bhv_PlannedAction().execute(agent)) + + if (action.helios_chain_action.server_side_decision) { - agent->debugClient().addMessage("PlannedAction"); - continue; + #ifdef DEBUG_CLIENT_PLAYER + std::cout << "server side decision" << std::endl; + #endif + GetBestPlannerAction(); + #ifdef DEBUG_CLIENT_PLAYER + std::cout << " end server side decision" << std::endl; + #endif } + else + { + if (Bhv_PlannedAction().execute(agent)) + { + agent->debugClient().addMessage("PlannedAction"); + continue; + } - Body_HoldBall().execute(agent); - agent->setNeckAction(new Neck_ScanField()); + Body_HoldBall().execute(agent); + agent->setNeckAction(new Neck_ScanField()); + } + continue; } + #ifdef DEBUG_CLIENT_PLAYER + std::cout << "Unkown action"<setNeckAction(new Neck_ScanField()); } } + +void ThriftClientPlayer::GetBestPlannerAction() +{ + soccer::BestPlannerActionRequest action_state_pairs = soccer::BestPlannerActionRequest(); + soccer::RegisterResponse response = M_register_response; + action_state_pairs.register_response = response; + + soccer::State state = generateState(); + state.register_response = M_register_response; + action_state_pairs.state = state; + #ifdef DEBUG_CLIENT_PLAYER + std::cout << "GetBestActionStatePair:" << "c" << M_agent->world().time().cycle() << std::endl; + #endif + for (auto & index_resultPair : ActionChainHolder::instance().graph().getAllResults()) + { + + try + { + + auto & result_pair = index_resultPair.second; + auto action_ptr = result_pair.first->actionPtr(); + auto state_ptr = result_pair.first->statePtr(); + int unique_index = action_ptr->uniqueIndex(); + int parent_index = action_ptr->parentIndex(); + auto eval = result_pair.second; + #ifdef DEBUG_CLIENT_PLAYER + #endif + auto map = & action_state_pairs.pairs; + auto rpc_action_state_pair = soccer::RpcActionState(); + auto rpc_cooperative_action = soccer::RpcCooperativeAction(); + auto rpc_predict_state = soccer::RpcPredictState(); + auto category = soccer::RpcActionCategory::AC_Hold; + + switch (action_ptr->category()) + { + case CooperativeAction::Hold: + category = soccer::RpcActionCategory::AC_Hold; + break; + case CooperativeAction::Dribble: + category = soccer::RpcActionCategory::AC_Dribble; + break; + case CooperativeAction::Pass: + category = soccer::RpcActionCategory::AC_Pass; + break; + case CooperativeAction::Shoot : + category = soccer::RpcActionCategory::AC_Shoot; + break; + case CooperativeAction::Clear: + category = soccer::RpcActionCategory::AC_Clear; + break; + case CooperativeAction::Move: + category = soccer::RpcActionCategory::AC_Move; + break; + case CooperativeAction::NoAction: + category = soccer::RpcActionCategory::AC_NoAction; + break; + default: + break; + } + rpc_cooperative_action.category = category; + rpc_cooperative_action.index = unique_index; + rpc_cooperative_action.sender_unum = action_ptr->playerUnum(); + rpc_cooperative_action.target_unum = action_ptr->targetPlayerUnum(); + rpc_cooperative_action.target_point = ThriftStateGenerator::convertVector2D(action_ptr->targetPoint()); + rpc_cooperative_action.first_ball_speed = action_ptr->firstBallSpeed(); + rpc_cooperative_action.first_turn_moment = action_ptr->firstTurnMoment(); + rpc_cooperative_action.first_dash_power = action_ptr->firstDashPower(); + rpc_cooperative_action.first_dash_angle_relative = action_ptr->firstDashAngle().degree(); + rpc_cooperative_action.duration_step = action_ptr->durationStep(); + rpc_cooperative_action.kick_count = action_ptr->kickCount(); + rpc_cooperative_action.turn_count = action_ptr->turnCount(); + rpc_cooperative_action.dash_count = action_ptr->dashCount(); + rpc_cooperative_action.final_action = action_ptr->isFinalAction(); + rpc_cooperative_action.description = action_ptr->description(); + rpc_cooperative_action.parent_index = parent_index; + + // RpcPredictState + rpc_predict_state.spend_time = state_ptr->spendTime(); + rpc_predict_state.ball_holder_unum = state_ptr->ballHolderUnum(); + rpc_predict_state.ball_position = ThriftStateGenerator::convertVector2D(state_ptr->ball().pos()); + rpc_predict_state.ball_velocity = ThriftStateGenerator::convertVector2D(state_ptr->ball().vel()); + rpc_predict_state.our_defense_line_x = state_ptr->ourDefenseLineX(); + rpc_predict_state.our_offense_line_x = state_ptr->ourOffensePlayerLineX(); + + // RpcActionState + rpc_action_state_pair.action = rpc_cooperative_action; + rpc_action_state_pair.predict_state = rpc_predict_state; + rpc_action_state_pair.evaluation = eval; + + (*map)[unique_index] = rpc_action_state_pair; + + } + catch (const std::exception &e) + { + std::cout << e.what() << '\n'; + } + } + + #ifdef DEBUG_CLIENT_PLAYER + std::cout << "map size:" << action_state_pairs.pairs.size() << std::endl; + #endif + + soccer::BestPlannerActionResponse best_action; + try + { + M_client->GetBestPlannerAction(best_action, action_state_pairs); + } + catch(const std::exception& e){ + std::cout << e.what() << '\n'; + M_is_connected = false; + return; + } + auto agent = M_agent; + + + + if (Bhv_PlannedAction().execute(agent, best_action.index)) + { + #ifdef DEBUG_CLIENT_PLAYER + std::cout << "PlannedAction = "<< best_action.index << std::endl; + #endif + agent->debugClient().addMessage("PlannedAction"); + return; + } + + #ifdef DEBUG_CLIENT_PLAYER + std::cout << "Body_HoldBall" << std::endl; + #endif + Body_HoldBall().execute(agent); + agent->setNeckAction(new Neck_ScanField()); +} + + void ThriftClientPlayer::addSayMessage(soccer::Say sayMessage) const { auto agent = M_agent; diff --git a/src/thrift-client/thrift_client_player.h b/src/thrift-client/thrift_client_player.h index 923f470..49b8015 100644 --- a/src/thrift-client/thrift_client_player.h +++ b/src/thrift-client/thrift_client_player.h @@ -15,6 +15,7 @@ class ThriftClientPlayer : public ThriftAgent, public RpcPlayerClient { bool add_20_to_grpc_port_if_right_side=false) override; void getActions(); + void GetBestPlannerAction(); void addSayMessage(soccer::Say sayMessage) const; soccer::State generateState() const; void addHomePosition(soccer::WorldModel * world_model) const; diff --git a/src/thrift-generated/soccer_service_types.cpp b/src/thrift-generated/soccer_service_types.cpp index 5b1bf05..13f9d1b 100644 --- a/src/thrift-generated/soccer_service_types.cpp +++ b/src/thrift-generated/soccer_service_types.cpp @@ -14730,6 +14730,10 @@ void HeliosChainAction::__set_simple_dribble(const bool val) { void HeliosChainAction::__set_simple_shoot(const bool val) { this->simple_shoot = val; } + +void HeliosChainAction::__set_server_side_decision(const bool val) { + this->server_side_decision = val; +} std::ostream& operator<<(std::ostream& out, const HeliosChainAction& obj) { obj.printTo(out); @@ -14830,6 +14834,14 @@ uint32_t HeliosChainAction::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 10: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->server_side_decision); + this->__isset.server_side_decision = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -14883,6 +14895,10 @@ uint32_t HeliosChainAction::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeBool(this->simple_shoot); xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldBegin("server_side_decision", ::apache::thrift::protocol::T_BOOL, 10); + xfer += oprot->writeBool(this->server_side_decision); + xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -14899,6 +14915,7 @@ void swap(HeliosChainAction &a, HeliosChainAction &b) { swap(a.simple_pass, b.simple_pass); swap(a.simple_dribble, b.simple_dribble); swap(a.simple_shoot, b.simple_shoot); + swap(a.server_side_decision, b.server_side_decision); swap(a.__isset, b.__isset); } @@ -14912,6 +14929,7 @@ HeliosChainAction::HeliosChainAction(const HeliosChainAction& other271) noexcept simple_pass = other271.simple_pass; simple_dribble = other271.simple_dribble; simple_shoot = other271.simple_shoot; + server_side_decision = other271.server_side_decision; __isset = other271.__isset; } HeliosChainAction& HeliosChainAction::operator=(const HeliosChainAction& other272) noexcept { @@ -14924,6 +14942,7 @@ HeliosChainAction& HeliosChainAction::operator=(const HeliosChainAction& other27 simple_pass = other272.simple_pass; simple_dribble = other272.simple_dribble; simple_shoot = other272.simple_shoot; + server_side_decision = other272.server_side_decision; __isset = other272.__isset; return *this; } @@ -14939,6 +14958,7 @@ void HeliosChainAction::printTo(std::ostream& out) const { out << ", " << "simple_pass=" << to_string(simple_pass); out << ", " << "simple_dribble=" << to_string(simple_dribble); out << ", " << "simple_shoot=" << to_string(simple_shoot); + out << ", " << "server_side_decision=" << to_string(server_side_decision); out << ")"; } diff --git a/src/thrift-generated/soccer_service_types.h b/src/thrift-generated/soccer_service_types.h index 8d0f87b..9b4ca21 100644 --- a/src/thrift-generated/soccer_service_types.h +++ b/src/thrift-generated/soccer_service_types.h @@ -6407,7 +6407,7 @@ void swap(HeliosShoot &a, HeliosShoot &b); std::ostream& operator<<(std::ostream& out, const HeliosShoot& obj); typedef struct _HeliosChainAction__isset { - _HeliosChainAction__isset() : direct_pass(false), lead_pass(false), through_pass(false), short_dribble(false), long_dribble(false), cross(false), simple_pass(false), simple_dribble(false), simple_shoot(false) {} + _HeliosChainAction__isset() : direct_pass(false), lead_pass(false), through_pass(false), short_dribble(false), long_dribble(false), cross(false), simple_pass(false), simple_dribble(false), simple_shoot(false), server_side_decision(false) {} bool direct_pass :1; bool lead_pass :1; bool through_pass :1; @@ -6417,6 +6417,7 @@ typedef struct _HeliosChainAction__isset { bool simple_pass :1; bool simple_dribble :1; bool simple_shoot :1; + bool server_side_decision :1; } _HeliosChainAction__isset; class HeliosChainAction : public virtual ::apache::thrift::TBase { @@ -6433,7 +6434,8 @@ class HeliosChainAction : public virtual ::apache::thrift::TBase { cross(0), simple_pass(0), simple_dribble(0), - simple_shoot(0) { + simple_shoot(0), + server_side_decision(0) { } virtual ~HeliosChainAction() noexcept; @@ -6446,6 +6448,7 @@ class HeliosChainAction : public virtual ::apache::thrift::TBase { bool simple_pass; bool simple_dribble; bool simple_shoot; + bool server_side_decision; _HeliosChainAction__isset __isset; @@ -6467,6 +6470,8 @@ class HeliosChainAction : public virtual ::apache::thrift::TBase { void __set_simple_shoot(const bool val); + void __set_server_side_decision(const bool val); + bool operator == (const HeliosChainAction & rhs) const { if (!(direct_pass == rhs.direct_pass)) @@ -6487,6 +6492,8 @@ class HeliosChainAction : public virtual ::apache::thrift::TBase { return false; if (!(simple_shoot == rhs.simple_shoot)) return false; + if (!(server_side_decision == rhs.server_side_decision)) + return false; return true; } bool operator != (const HeliosChainAction &rhs) const { From cd3f954c024dc6444449ffeb0312e66d95dd36e1 Mon Sep 17 00:00:00 2001 From: SK2iP Date: Sat, 14 Sep 2024 00:20:57 +0330 Subject: [PATCH 10/21] fixed :: add server_side_descion to thrift and a minor fix in grpc_client_player --- src/grpc-client/grpc_client_player.cpp | 26 ++++++++----------- src/grpc-client/grpc_client_player.h | 22 ++++++++-------- src/thrift-client/thrift_client_player.cpp | 29 ++++++++-------------- src/thrift-client/thrift_client_player.h | 2 +- 4 files changed, 33 insertions(+), 46 deletions(-) diff --git a/src/grpc-client/grpc_client_player.cpp b/src/grpc-client/grpc_client_player.cpp index e867d2a..cc13b57 100644 --- a/src/grpc-client/grpc_client_player.cpp +++ b/src/grpc-client/grpc_client_player.cpp @@ -629,16 +629,14 @@ void GrpcClientPlayer::getActions() ActionChainHolder::instance().setFieldEvaluator(field_evaluator); ActionChainHolder::instance().setActionGenerator(action_generator); ActionChainHolder::instance().update(agent->world()); - + if (action.helios_chain_action().server_side_decision()) { - #ifdef DEBUG_CLIENT_PLAYER - std::cout << "server side decision" << std::endl; - #endif - GetBestPlannerAction(); - #ifdef DEBUG_CLIENT_PLAYER - std::cout << " end server side decision" << std::endl; - #endif + if (GetBestPlannerAction()) + { + agent->debugClient().addMessage("GetBestPlannerAction"); + break; + } } else { @@ -665,7 +663,7 @@ void GrpcClientPlayer::getActions() } } -void GrpcClientPlayer::GetBestPlannerAction() +bool GrpcClientPlayer::GetBestPlannerAction() { protos::BestPlannerActionRequest *action_state_pairs = new protos::BestPlannerActionRequest(); protos::RegisterResponse* response = new protos::RegisterResponse(*M_register_response); @@ -770,7 +768,7 @@ void GrpcClientPlayer::GetBestPlannerAction() { std::cout << status.error_code() << ": " << status.error_message() << std::endl; - return; + return false; } auto agent = M_agent; @@ -785,14 +783,10 @@ void GrpcClientPlayer::GetBestPlannerAction() std::cout << "PlannedAction" << std::endl; #endif agent->debugClient().addMessage("PlannedAction"); - return; + return true; } - #ifdef DEBUG_CLIENT_PLAYER - std::cout << "Body_HoldBall" << std::endl; - #endif - Body_HoldBall().execute(agent); - agent->setNeckAction(new Neck_ScanField()); + return false; } void GrpcClientPlayer::addSayMessage(protos::Say sayMessage) const diff --git a/src/grpc-client/grpc_client_player.h b/src/grpc-client/grpc_client_player.h index 6406737..7d7ebdd 100644 --- a/src/grpc-client/grpc_client_player.h +++ b/src/grpc-client/grpc_client_player.h @@ -2,21 +2,23 @@ #include "player/sample_communication.h" #include "rpc-client/rpc-player-client.h" -class GrpcClientPlayer : public GrpcClient, public RpcPlayerClient { - rcsc::PlayerAgent * M_agent; +class GrpcClientPlayer : public GrpcClient, public RpcPlayerClient +{ + rcsc::PlayerAgent *M_agent; Communication::Ptr sample_communication; - public: + +public: GrpcClientPlayer(); - void init(rcsc::SoccerAgent * agent, - std::string target="localhost", - int port=50051, - bool use_same_grpc_port=true, - bool add_20_to_grpc_port_if_right_side=false) override; + void init(rcsc::SoccerAgent *agent, + std::string target = "localhost", + int port = 50051, + bool use_same_grpc_port = true, + bool add_20_to_grpc_port_if_right_side = false) override; void getActions(); - void GetBestPlannerAction(); + bool GetBestPlannerAction(); void addSayMessage(protos::Say sayMessage) const; State generateState() const; - void addHomePosition(protos::WorldModel * world_model) const; + void addHomePosition(protos::WorldModel *world_model) const; }; \ No newline at end of file diff --git a/src/thrift-client/thrift_client_player.cpp b/src/thrift-client/thrift_client_player.cpp index eccc6dc..3105e2d 100644 --- a/src/thrift-client/thrift_client_player.cpp +++ b/src/thrift-client/thrift_client_player.cpp @@ -69,7 +69,7 @@ using std::chrono::high_resolution_clock; using std::chrono::milliseconds; #define DEBUG -#define DEBUG_CLIENT_PLAYER +//#define DEBUG_CLIENT_PLAYER #ifdef DEBUG #define LOG(x) std::cout << x << std::endl #define LOGV(x) std::cout << #x << ": " << x << std::endl @@ -634,13 +634,11 @@ void ThriftClientPlayer::getActions() if (action.helios_chain_action.server_side_decision) { - #ifdef DEBUG_CLIENT_PLAYER - std::cout << "server side decision" << std::endl; - #endif - GetBestPlannerAction(); - #ifdef DEBUG_CLIENT_PLAYER - std::cout << " end server side decision" << std::endl; - #endif + if (GetBestPlannerAction()) + { + agent->debugClient().addMessage("GetBestPlannerAction"); + continue; + }; } else { @@ -664,7 +662,7 @@ void ThriftClientPlayer::getActions() } -void ThriftClientPlayer::GetBestPlannerAction() +bool ThriftClientPlayer::GetBestPlannerAction() { soccer::BestPlannerActionRequest action_state_pairs = soccer::BestPlannerActionRequest(); soccer::RegisterResponse response = M_register_response; @@ -678,7 +676,6 @@ void ThriftClientPlayer::GetBestPlannerAction() #endif for (auto & index_resultPair : ActionChainHolder::instance().graph().getAllResults()) { - try { @@ -688,8 +685,6 @@ void ThriftClientPlayer::GetBestPlannerAction() int unique_index = action_ptr->uniqueIndex(); int parent_index = action_ptr->parentIndex(); auto eval = result_pair.second; - #ifdef DEBUG_CLIENT_PLAYER - #endif auto map = & action_state_pairs.pairs; auto rpc_action_state_pair = soccer::RpcActionState(); auto rpc_cooperative_action = soccer::RpcCooperativeAction(); @@ -773,7 +768,7 @@ void ThriftClientPlayer::GetBestPlannerAction() catch(const std::exception& e){ std::cout << e.what() << '\n'; M_is_connected = false; - return; + return false; } auto agent = M_agent; @@ -785,14 +780,10 @@ void ThriftClientPlayer::GetBestPlannerAction() std::cout << "PlannedAction = "<< best_action.index << std::endl; #endif agent->debugClient().addMessage("PlannedAction"); - return; + return true; } - #ifdef DEBUG_CLIENT_PLAYER - std::cout << "Body_HoldBall" << std::endl; - #endif - Body_HoldBall().execute(agent); - agent->setNeckAction(new Neck_ScanField()); + return false; } diff --git a/src/thrift-client/thrift_client_player.h b/src/thrift-client/thrift_client_player.h index 49b8015..e9501e3 100644 --- a/src/thrift-client/thrift_client_player.h +++ b/src/thrift-client/thrift_client_player.h @@ -15,7 +15,7 @@ class ThriftClientPlayer : public ThriftAgent, public RpcPlayerClient { bool add_20_to_grpc_port_if_right_side=false) override; void getActions(); - void GetBestPlannerAction(); + bool GetBestPlannerAction(); void addSayMessage(soccer::Say sayMessage) const; soccer::State generateState() const; void addHomePosition(soccer::WorldModel * world_model) const; From 366af986a87d41e8eec5ef31ff223c8f8488ff51 Mon Sep 17 00:00:00 2001 From: SK2iP Date: Sat, 14 Sep 2024 00:27:03 +0330 Subject: [PATCH 11/21] remove extra files --- idl/thrift/gen-cpp/Game.cpp | 3868 --- idl/thrift/gen-cpp/Game.h | 1433 - idl/thrift/gen-cpp/Game_server.skeleton.cpp | 87 - idl/thrift/gen-cpp/soccer_service_types.cpp | 25351 ------------------ idl/thrift/gen-cpp/soccer_service_types.h | 10416 ------- 5 files changed, 41155 deletions(-) delete mode 100644 idl/thrift/gen-cpp/Game.cpp delete mode 100644 idl/thrift/gen-cpp/Game.h delete mode 100644 idl/thrift/gen-cpp/Game_server.skeleton.cpp delete mode 100644 idl/thrift/gen-cpp/soccer_service_types.cpp delete mode 100644 idl/thrift/gen-cpp/soccer_service_types.h diff --git a/idl/thrift/gen-cpp/Game.cpp b/idl/thrift/gen-cpp/Game.cpp deleted file mode 100644 index fb7af95..0000000 --- a/idl/thrift/gen-cpp/Game.cpp +++ /dev/null @@ -1,3868 +0,0 @@ -/** - * Autogenerated by Thrift Compiler (0.16.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -#include "Game.h" - -namespace soccer { - - -Game_GetPlayerActions_args::~Game_GetPlayerActions_args() noexcept { -} - - -uint32_t Game_GetPlayerActions_args::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->state.read(iprot); - this->__isset.state = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Game_GetPlayerActions_args::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Game_GetPlayerActions_args"); - - xfer += oprot->writeFieldBegin("state", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->state.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_GetPlayerActions_pargs::~Game_GetPlayerActions_pargs() noexcept { -} - - -uint32_t Game_GetPlayerActions_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Game_GetPlayerActions_pargs"); - - xfer += oprot->writeFieldBegin("state", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += (*(this->state)).write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_GetPlayerActions_result::~Game_GetPlayerActions_result() noexcept { -} - - -uint32_t Game_GetPlayerActions_result::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 0: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->success.read(iprot); - this->__isset.success = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Game_GetPlayerActions_result::write(::apache::thrift::protocol::TProtocol* oprot) const { - - uint32_t xfer = 0; - - xfer += oprot->writeStructBegin("Game_GetPlayerActions_result"); - - if (this->__isset.success) { - xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); - xfer += this->success.write(oprot); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_GetPlayerActions_presult::~Game_GetPlayerActions_presult() noexcept { -} - - -uint32_t Game_GetPlayerActions_presult::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 0: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += (*(this->success)).read(iprot); - this->__isset.success = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - - -Game_GetCoachActions_args::~Game_GetCoachActions_args() noexcept { -} - - -uint32_t Game_GetCoachActions_args::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->state.read(iprot); - this->__isset.state = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Game_GetCoachActions_args::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Game_GetCoachActions_args"); - - xfer += oprot->writeFieldBegin("state", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->state.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_GetCoachActions_pargs::~Game_GetCoachActions_pargs() noexcept { -} - - -uint32_t Game_GetCoachActions_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Game_GetCoachActions_pargs"); - - xfer += oprot->writeFieldBegin("state", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += (*(this->state)).write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_GetCoachActions_result::~Game_GetCoachActions_result() noexcept { -} - - -uint32_t Game_GetCoachActions_result::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 0: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->success.read(iprot); - this->__isset.success = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Game_GetCoachActions_result::write(::apache::thrift::protocol::TProtocol* oprot) const { - - uint32_t xfer = 0; - - xfer += oprot->writeStructBegin("Game_GetCoachActions_result"); - - if (this->__isset.success) { - xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); - xfer += this->success.write(oprot); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_GetCoachActions_presult::~Game_GetCoachActions_presult() noexcept { -} - - -uint32_t Game_GetCoachActions_presult::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 0: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += (*(this->success)).read(iprot); - this->__isset.success = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - - -Game_GetTrainerActions_args::~Game_GetTrainerActions_args() noexcept { -} - - -uint32_t Game_GetTrainerActions_args::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->state.read(iprot); - this->__isset.state = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Game_GetTrainerActions_args::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Game_GetTrainerActions_args"); - - xfer += oprot->writeFieldBegin("state", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->state.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_GetTrainerActions_pargs::~Game_GetTrainerActions_pargs() noexcept { -} - - -uint32_t Game_GetTrainerActions_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Game_GetTrainerActions_pargs"); - - xfer += oprot->writeFieldBegin("state", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += (*(this->state)).write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_GetTrainerActions_result::~Game_GetTrainerActions_result() noexcept { -} - - -uint32_t Game_GetTrainerActions_result::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 0: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->success.read(iprot); - this->__isset.success = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Game_GetTrainerActions_result::write(::apache::thrift::protocol::TProtocol* oprot) const { - - uint32_t xfer = 0; - - xfer += oprot->writeStructBegin("Game_GetTrainerActions_result"); - - if (this->__isset.success) { - xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); - xfer += this->success.write(oprot); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_GetTrainerActions_presult::~Game_GetTrainerActions_presult() noexcept { -} - - -uint32_t Game_GetTrainerActions_presult::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 0: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += (*(this->success)).read(iprot); - this->__isset.success = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - - -Game_SendInitMessage_args::~Game_SendInitMessage_args() noexcept { -} - - -uint32_t Game_SendInitMessage_args::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->init_message.read(iprot); - this->__isset.init_message = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Game_SendInitMessage_args::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Game_SendInitMessage_args"); - - xfer += oprot->writeFieldBegin("init_message", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->init_message.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_SendInitMessage_pargs::~Game_SendInitMessage_pargs() noexcept { -} - - -uint32_t Game_SendInitMessage_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Game_SendInitMessage_pargs"); - - xfer += oprot->writeFieldBegin("init_message", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += (*(this->init_message)).write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_SendInitMessage_result::~Game_SendInitMessage_result() noexcept { -} - - -uint32_t Game_SendInitMessage_result::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 0: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->success.read(iprot); - this->__isset.success = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Game_SendInitMessage_result::write(::apache::thrift::protocol::TProtocol* oprot) const { - - uint32_t xfer = 0; - - xfer += oprot->writeStructBegin("Game_SendInitMessage_result"); - - if (this->__isset.success) { - xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); - xfer += this->success.write(oprot); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_SendInitMessage_presult::~Game_SendInitMessage_presult() noexcept { -} - - -uint32_t Game_SendInitMessage_presult::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 0: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += (*(this->success)).read(iprot); - this->__isset.success = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - - -Game_SendServerParams_args::~Game_SendServerParams_args() noexcept { -} - - -uint32_t Game_SendServerParams_args::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->server_param.read(iprot); - this->__isset.server_param = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Game_SendServerParams_args::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Game_SendServerParams_args"); - - xfer += oprot->writeFieldBegin("server_param", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->server_param.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_SendServerParams_pargs::~Game_SendServerParams_pargs() noexcept { -} - - -uint32_t Game_SendServerParams_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Game_SendServerParams_pargs"); - - xfer += oprot->writeFieldBegin("server_param", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += (*(this->server_param)).write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_SendServerParams_result::~Game_SendServerParams_result() noexcept { -} - - -uint32_t Game_SendServerParams_result::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 0: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->success.read(iprot); - this->__isset.success = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Game_SendServerParams_result::write(::apache::thrift::protocol::TProtocol* oprot) const { - - uint32_t xfer = 0; - - xfer += oprot->writeStructBegin("Game_SendServerParams_result"); - - if (this->__isset.success) { - xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); - xfer += this->success.write(oprot); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_SendServerParams_presult::~Game_SendServerParams_presult() noexcept { -} - - -uint32_t Game_SendServerParams_presult::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 0: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += (*(this->success)).read(iprot); - this->__isset.success = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - - -Game_SendPlayerParams_args::~Game_SendPlayerParams_args() noexcept { -} - - -uint32_t Game_SendPlayerParams_args::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->player_param.read(iprot); - this->__isset.player_param = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Game_SendPlayerParams_args::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Game_SendPlayerParams_args"); - - xfer += oprot->writeFieldBegin("player_param", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->player_param.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_SendPlayerParams_pargs::~Game_SendPlayerParams_pargs() noexcept { -} - - -uint32_t Game_SendPlayerParams_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Game_SendPlayerParams_pargs"); - - xfer += oprot->writeFieldBegin("player_param", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += (*(this->player_param)).write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_SendPlayerParams_result::~Game_SendPlayerParams_result() noexcept { -} - - -uint32_t Game_SendPlayerParams_result::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 0: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->success.read(iprot); - this->__isset.success = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Game_SendPlayerParams_result::write(::apache::thrift::protocol::TProtocol* oprot) const { - - uint32_t xfer = 0; - - xfer += oprot->writeStructBegin("Game_SendPlayerParams_result"); - - if (this->__isset.success) { - xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); - xfer += this->success.write(oprot); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_SendPlayerParams_presult::~Game_SendPlayerParams_presult() noexcept { -} - - -uint32_t Game_SendPlayerParams_presult::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 0: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += (*(this->success)).read(iprot); - this->__isset.success = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - - -Game_SendPlayerType_args::~Game_SendPlayerType_args() noexcept { -} - - -uint32_t Game_SendPlayerType_args::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->player_type.read(iprot); - this->__isset.player_type = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Game_SendPlayerType_args::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Game_SendPlayerType_args"); - - xfer += oprot->writeFieldBegin("player_type", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->player_type.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_SendPlayerType_pargs::~Game_SendPlayerType_pargs() noexcept { -} - - -uint32_t Game_SendPlayerType_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Game_SendPlayerType_pargs"); - - xfer += oprot->writeFieldBegin("player_type", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += (*(this->player_type)).write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_SendPlayerType_result::~Game_SendPlayerType_result() noexcept { -} - - -uint32_t Game_SendPlayerType_result::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 0: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->success.read(iprot); - this->__isset.success = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Game_SendPlayerType_result::write(::apache::thrift::protocol::TProtocol* oprot) const { - - uint32_t xfer = 0; - - xfer += oprot->writeStructBegin("Game_SendPlayerType_result"); - - if (this->__isset.success) { - xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); - xfer += this->success.write(oprot); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_SendPlayerType_presult::~Game_SendPlayerType_presult() noexcept { -} - - -uint32_t Game_SendPlayerType_presult::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 0: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += (*(this->success)).read(iprot); - this->__isset.success = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - - -Game_Register_args::~Game_Register_args() noexcept { -} - - -uint32_t Game_Register_args::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->request.read(iprot); - this->__isset.request = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Game_Register_args::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Game_Register_args"); - - xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->request.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_Register_pargs::~Game_Register_pargs() noexcept { -} - - -uint32_t Game_Register_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Game_Register_pargs"); - - xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += (*(this->request)).write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_Register_result::~Game_Register_result() noexcept { -} - - -uint32_t Game_Register_result::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 0: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->success.read(iprot); - this->__isset.success = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Game_Register_result::write(::apache::thrift::protocol::TProtocol* oprot) const { - - uint32_t xfer = 0; - - xfer += oprot->writeStructBegin("Game_Register_result"); - - if (this->__isset.success) { - xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); - xfer += this->success.write(oprot); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_Register_presult::~Game_Register_presult() noexcept { -} - - -uint32_t Game_Register_presult::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 0: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += (*(this->success)).read(iprot); - this->__isset.success = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - - -Game_SendByeCommand_args::~Game_SendByeCommand_args() noexcept { -} - - -uint32_t Game_SendByeCommand_args::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->register_response.read(iprot); - this->__isset.register_response = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Game_SendByeCommand_args::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Game_SendByeCommand_args"); - - xfer += oprot->writeFieldBegin("register_response", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->register_response.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_SendByeCommand_pargs::~Game_SendByeCommand_pargs() noexcept { -} - - -uint32_t Game_SendByeCommand_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Game_SendByeCommand_pargs"); - - xfer += oprot->writeFieldBegin("register_response", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += (*(this->register_response)).write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_SendByeCommand_result::~Game_SendByeCommand_result() noexcept { -} - - -uint32_t Game_SendByeCommand_result::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 0: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->success.read(iprot); - this->__isset.success = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Game_SendByeCommand_result::write(::apache::thrift::protocol::TProtocol* oprot) const { - - uint32_t xfer = 0; - - xfer += oprot->writeStructBegin("Game_SendByeCommand_result"); - - if (this->__isset.success) { - xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); - xfer += this->success.write(oprot); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_SendByeCommand_presult::~Game_SendByeCommand_presult() noexcept { -} - - -uint32_t Game_SendByeCommand_presult::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 0: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += (*(this->success)).read(iprot); - this->__isset.success = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - - -Game_GetBestPlannerAction_args::~Game_GetBestPlannerAction_args() noexcept { -} - - -uint32_t Game_GetBestPlannerAction_args::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->best_planner_action_request.read(iprot); - this->__isset.best_planner_action_request = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Game_GetBestPlannerAction_args::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Game_GetBestPlannerAction_args"); - - xfer += oprot->writeFieldBegin("best_planner_action_request", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->best_planner_action_request.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_GetBestPlannerAction_pargs::~Game_GetBestPlannerAction_pargs() noexcept { -} - - -uint32_t Game_GetBestPlannerAction_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Game_GetBestPlannerAction_pargs"); - - xfer += oprot->writeFieldBegin("best_planner_action_request", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += (*(this->best_planner_action_request)).write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_GetBestPlannerAction_result::~Game_GetBestPlannerAction_result() noexcept { -} - - -uint32_t Game_GetBestPlannerAction_result::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 0: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->success.read(iprot); - this->__isset.success = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Game_GetBestPlannerAction_result::write(::apache::thrift::protocol::TProtocol* oprot) const { - - uint32_t xfer = 0; - - xfer += oprot->writeStructBegin("Game_GetBestPlannerAction_result"); - - if (this->__isset.success) { - xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); - xfer += this->success.write(oprot); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Game_GetBestPlannerAction_presult::~Game_GetBestPlannerAction_presult() noexcept { -} - - -uint32_t Game_GetBestPlannerAction_presult::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 0: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += (*(this->success)).read(iprot); - this->__isset.success = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -void GameClient::GetPlayerActions(PlayerActions& _return, const State& state) -{ - send_GetPlayerActions(state); - recv_GetPlayerActions(_return); -} - -void GameClient::send_GetPlayerActions(const State& state) -{ - int32_t cseqid = 0; - oprot_->writeMessageBegin("GetPlayerActions", ::apache::thrift::protocol::T_CALL, cseqid); - - Game_GetPlayerActions_pargs args; - args.state = &state; - args.write(oprot_); - - oprot_->writeMessageEnd(); - oprot_->getTransport()->writeEnd(); - oprot_->getTransport()->flush(); -} - -void GameClient::recv_GetPlayerActions(PlayerActions& _return) -{ - - int32_t rseqid = 0; - std::string fname; - ::apache::thrift::protocol::TMessageType mtype; - - iprot_->readMessageBegin(fname, mtype, rseqid); - if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { - ::apache::thrift::TApplicationException x; - x.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - throw x; - } - if (mtype != ::apache::thrift::protocol::T_REPLY) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - if (fname.compare("GetPlayerActions") != 0) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - Game_GetPlayerActions_presult result; - result.success = &_return; - result.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - if (result.__isset.success) { - // _return pointer has now been filled - return; - } - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetPlayerActions failed: unknown result"); -} - -void GameClient::GetCoachActions(CoachActions& _return, const State& state) -{ - send_GetCoachActions(state); - recv_GetCoachActions(_return); -} - -void GameClient::send_GetCoachActions(const State& state) -{ - int32_t cseqid = 0; - oprot_->writeMessageBegin("GetCoachActions", ::apache::thrift::protocol::T_CALL, cseqid); - - Game_GetCoachActions_pargs args; - args.state = &state; - args.write(oprot_); - - oprot_->writeMessageEnd(); - oprot_->getTransport()->writeEnd(); - oprot_->getTransport()->flush(); -} - -void GameClient::recv_GetCoachActions(CoachActions& _return) -{ - - int32_t rseqid = 0; - std::string fname; - ::apache::thrift::protocol::TMessageType mtype; - - iprot_->readMessageBegin(fname, mtype, rseqid); - if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { - ::apache::thrift::TApplicationException x; - x.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - throw x; - } - if (mtype != ::apache::thrift::protocol::T_REPLY) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - if (fname.compare("GetCoachActions") != 0) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - Game_GetCoachActions_presult result; - result.success = &_return; - result.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - if (result.__isset.success) { - // _return pointer has now been filled - return; - } - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetCoachActions failed: unknown result"); -} - -void GameClient::GetTrainerActions(TrainerActions& _return, const State& state) -{ - send_GetTrainerActions(state); - recv_GetTrainerActions(_return); -} - -void GameClient::send_GetTrainerActions(const State& state) -{ - int32_t cseqid = 0; - oprot_->writeMessageBegin("GetTrainerActions", ::apache::thrift::protocol::T_CALL, cseqid); - - Game_GetTrainerActions_pargs args; - args.state = &state; - args.write(oprot_); - - oprot_->writeMessageEnd(); - oprot_->getTransport()->writeEnd(); - oprot_->getTransport()->flush(); -} - -void GameClient::recv_GetTrainerActions(TrainerActions& _return) -{ - - int32_t rseqid = 0; - std::string fname; - ::apache::thrift::protocol::TMessageType mtype; - - iprot_->readMessageBegin(fname, mtype, rseqid); - if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { - ::apache::thrift::TApplicationException x; - x.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - throw x; - } - if (mtype != ::apache::thrift::protocol::T_REPLY) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - if (fname.compare("GetTrainerActions") != 0) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - Game_GetTrainerActions_presult result; - result.success = &_return; - result.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - if (result.__isset.success) { - // _return pointer has now been filled - return; - } - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetTrainerActions failed: unknown result"); -} - -void GameClient::SendInitMessage(Empty& _return, const InitMessage& init_message) -{ - send_SendInitMessage(init_message); - recv_SendInitMessage(_return); -} - -void GameClient::send_SendInitMessage(const InitMessage& init_message) -{ - int32_t cseqid = 0; - oprot_->writeMessageBegin("SendInitMessage", ::apache::thrift::protocol::T_CALL, cseqid); - - Game_SendInitMessage_pargs args; - args.init_message = &init_message; - args.write(oprot_); - - oprot_->writeMessageEnd(); - oprot_->getTransport()->writeEnd(); - oprot_->getTransport()->flush(); -} - -void GameClient::recv_SendInitMessage(Empty& _return) -{ - - int32_t rseqid = 0; - std::string fname; - ::apache::thrift::protocol::TMessageType mtype; - - iprot_->readMessageBegin(fname, mtype, rseqid); - if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { - ::apache::thrift::TApplicationException x; - x.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - throw x; - } - if (mtype != ::apache::thrift::protocol::T_REPLY) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - if (fname.compare("SendInitMessage") != 0) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - Game_SendInitMessage_presult result; - result.success = &_return; - result.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - if (result.__isset.success) { - // _return pointer has now been filled - return; - } - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "SendInitMessage failed: unknown result"); -} - -void GameClient::SendServerParams(Empty& _return, const ServerParam& server_param) -{ - send_SendServerParams(server_param); - recv_SendServerParams(_return); -} - -void GameClient::send_SendServerParams(const ServerParam& server_param) -{ - int32_t cseqid = 0; - oprot_->writeMessageBegin("SendServerParams", ::apache::thrift::protocol::T_CALL, cseqid); - - Game_SendServerParams_pargs args; - args.server_param = &server_param; - args.write(oprot_); - - oprot_->writeMessageEnd(); - oprot_->getTransport()->writeEnd(); - oprot_->getTransport()->flush(); -} - -void GameClient::recv_SendServerParams(Empty& _return) -{ - - int32_t rseqid = 0; - std::string fname; - ::apache::thrift::protocol::TMessageType mtype; - - iprot_->readMessageBegin(fname, mtype, rseqid); - if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { - ::apache::thrift::TApplicationException x; - x.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - throw x; - } - if (mtype != ::apache::thrift::protocol::T_REPLY) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - if (fname.compare("SendServerParams") != 0) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - Game_SendServerParams_presult result; - result.success = &_return; - result.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - if (result.__isset.success) { - // _return pointer has now been filled - return; - } - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "SendServerParams failed: unknown result"); -} - -void GameClient::SendPlayerParams(Empty& _return, const PlayerParam& player_param) -{ - send_SendPlayerParams(player_param); - recv_SendPlayerParams(_return); -} - -void GameClient::send_SendPlayerParams(const PlayerParam& player_param) -{ - int32_t cseqid = 0; - oprot_->writeMessageBegin("SendPlayerParams", ::apache::thrift::protocol::T_CALL, cseqid); - - Game_SendPlayerParams_pargs args; - args.player_param = &player_param; - args.write(oprot_); - - oprot_->writeMessageEnd(); - oprot_->getTransport()->writeEnd(); - oprot_->getTransport()->flush(); -} - -void GameClient::recv_SendPlayerParams(Empty& _return) -{ - - int32_t rseqid = 0; - std::string fname; - ::apache::thrift::protocol::TMessageType mtype; - - iprot_->readMessageBegin(fname, mtype, rseqid); - if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { - ::apache::thrift::TApplicationException x; - x.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - throw x; - } - if (mtype != ::apache::thrift::protocol::T_REPLY) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - if (fname.compare("SendPlayerParams") != 0) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - Game_SendPlayerParams_presult result; - result.success = &_return; - result.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - if (result.__isset.success) { - // _return pointer has now been filled - return; - } - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "SendPlayerParams failed: unknown result"); -} - -void GameClient::SendPlayerType(Empty& _return, const PlayerType& player_type) -{ - send_SendPlayerType(player_type); - recv_SendPlayerType(_return); -} - -void GameClient::send_SendPlayerType(const PlayerType& player_type) -{ - int32_t cseqid = 0; - oprot_->writeMessageBegin("SendPlayerType", ::apache::thrift::protocol::T_CALL, cseqid); - - Game_SendPlayerType_pargs args; - args.player_type = &player_type; - args.write(oprot_); - - oprot_->writeMessageEnd(); - oprot_->getTransport()->writeEnd(); - oprot_->getTransport()->flush(); -} - -void GameClient::recv_SendPlayerType(Empty& _return) -{ - - int32_t rseqid = 0; - std::string fname; - ::apache::thrift::protocol::TMessageType mtype; - - iprot_->readMessageBegin(fname, mtype, rseqid); - if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { - ::apache::thrift::TApplicationException x; - x.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - throw x; - } - if (mtype != ::apache::thrift::protocol::T_REPLY) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - if (fname.compare("SendPlayerType") != 0) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - Game_SendPlayerType_presult result; - result.success = &_return; - result.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - if (result.__isset.success) { - // _return pointer has now been filled - return; - } - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "SendPlayerType failed: unknown result"); -} - -void GameClient::Register(RegisterResponse& _return, const RegisterRequest& request) -{ - send_Register(request); - recv_Register(_return); -} - -void GameClient::send_Register(const RegisterRequest& request) -{ - int32_t cseqid = 0; - oprot_->writeMessageBegin("Register", ::apache::thrift::protocol::T_CALL, cseqid); - - Game_Register_pargs args; - args.request = &request; - args.write(oprot_); - - oprot_->writeMessageEnd(); - oprot_->getTransport()->writeEnd(); - oprot_->getTransport()->flush(); -} - -void GameClient::recv_Register(RegisterResponse& _return) -{ - - int32_t rseqid = 0; - std::string fname; - ::apache::thrift::protocol::TMessageType mtype; - - iprot_->readMessageBegin(fname, mtype, rseqid); - if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { - ::apache::thrift::TApplicationException x; - x.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - throw x; - } - if (mtype != ::apache::thrift::protocol::T_REPLY) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - if (fname.compare("Register") != 0) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - Game_Register_presult result; - result.success = &_return; - result.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - if (result.__isset.success) { - // _return pointer has now been filled - return; - } - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "Register failed: unknown result"); -} - -void GameClient::SendByeCommand(Empty& _return, const RegisterResponse& register_response) -{ - send_SendByeCommand(register_response); - recv_SendByeCommand(_return); -} - -void GameClient::send_SendByeCommand(const RegisterResponse& register_response) -{ - int32_t cseqid = 0; - oprot_->writeMessageBegin("SendByeCommand", ::apache::thrift::protocol::T_CALL, cseqid); - - Game_SendByeCommand_pargs args; - args.register_response = ®ister_response; - args.write(oprot_); - - oprot_->writeMessageEnd(); - oprot_->getTransport()->writeEnd(); - oprot_->getTransport()->flush(); -} - -void GameClient::recv_SendByeCommand(Empty& _return) -{ - - int32_t rseqid = 0; - std::string fname; - ::apache::thrift::protocol::TMessageType mtype; - - iprot_->readMessageBegin(fname, mtype, rseqid); - if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { - ::apache::thrift::TApplicationException x; - x.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - throw x; - } - if (mtype != ::apache::thrift::protocol::T_REPLY) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - if (fname.compare("SendByeCommand") != 0) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - Game_SendByeCommand_presult result; - result.success = &_return; - result.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - if (result.__isset.success) { - // _return pointer has now been filled - return; - } - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "SendByeCommand failed: unknown result"); -} - -void GameClient::GetBestPlannerAction(BestPlannerActionResponse& _return, const BestPlannerActionRequest& best_planner_action_request) -{ - send_GetBestPlannerAction(best_planner_action_request); - recv_GetBestPlannerAction(_return); -} - -void GameClient::send_GetBestPlannerAction(const BestPlannerActionRequest& best_planner_action_request) -{ - int32_t cseqid = 0; - oprot_->writeMessageBegin("GetBestPlannerAction", ::apache::thrift::protocol::T_CALL, cseqid); - - Game_GetBestPlannerAction_pargs args; - args.best_planner_action_request = &best_planner_action_request; - args.write(oprot_); - - oprot_->writeMessageEnd(); - oprot_->getTransport()->writeEnd(); - oprot_->getTransport()->flush(); -} - -void GameClient::recv_GetBestPlannerAction(BestPlannerActionResponse& _return) -{ - - int32_t rseqid = 0; - std::string fname; - ::apache::thrift::protocol::TMessageType mtype; - - iprot_->readMessageBegin(fname, mtype, rseqid); - if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { - ::apache::thrift::TApplicationException x; - x.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - throw x; - } - if (mtype != ::apache::thrift::protocol::T_REPLY) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - if (fname.compare("GetBestPlannerAction") != 0) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - Game_GetBestPlannerAction_presult result; - result.success = &_return; - result.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - if (result.__isset.success) { - // _return pointer has now been filled - return; - } - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetBestPlannerAction failed: unknown result"); -} - -bool GameProcessor::dispatchCall(::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, const std::string& fname, int32_t seqid, void* callContext) { - ProcessMap::iterator pfn; - pfn = processMap_.find(fname); - if (pfn == processMap_.end()) { - iprot->skip(::apache::thrift::protocol::T_STRUCT); - iprot->readMessageEnd(); - iprot->getTransport()->readEnd(); - ::apache::thrift::TApplicationException x(::apache::thrift::TApplicationException::UNKNOWN_METHOD, "Invalid method name: '"+fname+"'"); - oprot->writeMessageBegin(fname, ::apache::thrift::protocol::T_EXCEPTION, seqid); - x.write(oprot); - oprot->writeMessageEnd(); - oprot->getTransport()->writeEnd(); - oprot->getTransport()->flush(); - return true; - } - (this->*(pfn->second))(seqid, iprot, oprot, callContext); - return true; -} - -void GameProcessor::process_GetPlayerActions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) -{ - void* ctx = nullptr; - if (this->eventHandler_.get() != nullptr) { - ctx = this->eventHandler_->getContext("Game.GetPlayerActions", callContext); - } - ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "Game.GetPlayerActions"); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->preRead(ctx, "Game.GetPlayerActions"); - } - - Game_GetPlayerActions_args args; - args.read(iprot); - iprot->readMessageEnd(); - uint32_t bytes = iprot->getTransport()->readEnd(); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->postRead(ctx, "Game.GetPlayerActions", bytes); - } - - Game_GetPlayerActions_result result; - try { - iface_->GetPlayerActions(result.success, args.state); - result.__isset.success = true; - } catch (const std::exception& e) { - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->handlerError(ctx, "Game.GetPlayerActions"); - } - - ::apache::thrift::TApplicationException x(e.what()); - oprot->writeMessageBegin("GetPlayerActions", ::apache::thrift::protocol::T_EXCEPTION, seqid); - x.write(oprot); - oprot->writeMessageEnd(); - oprot->getTransport()->writeEnd(); - oprot->getTransport()->flush(); - return; - } - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->preWrite(ctx, "Game.GetPlayerActions"); - } - - oprot->writeMessageBegin("GetPlayerActions", ::apache::thrift::protocol::T_REPLY, seqid); - result.write(oprot); - oprot->writeMessageEnd(); - bytes = oprot->getTransport()->writeEnd(); - oprot->getTransport()->flush(); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->postWrite(ctx, "Game.GetPlayerActions", bytes); - } -} - -void GameProcessor::process_GetCoachActions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) -{ - void* ctx = nullptr; - if (this->eventHandler_.get() != nullptr) { - ctx = this->eventHandler_->getContext("Game.GetCoachActions", callContext); - } - ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "Game.GetCoachActions"); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->preRead(ctx, "Game.GetCoachActions"); - } - - Game_GetCoachActions_args args; - args.read(iprot); - iprot->readMessageEnd(); - uint32_t bytes = iprot->getTransport()->readEnd(); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->postRead(ctx, "Game.GetCoachActions", bytes); - } - - Game_GetCoachActions_result result; - try { - iface_->GetCoachActions(result.success, args.state); - result.__isset.success = true; - } catch (const std::exception& e) { - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->handlerError(ctx, "Game.GetCoachActions"); - } - - ::apache::thrift::TApplicationException x(e.what()); - oprot->writeMessageBegin("GetCoachActions", ::apache::thrift::protocol::T_EXCEPTION, seqid); - x.write(oprot); - oprot->writeMessageEnd(); - oprot->getTransport()->writeEnd(); - oprot->getTransport()->flush(); - return; - } - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->preWrite(ctx, "Game.GetCoachActions"); - } - - oprot->writeMessageBegin("GetCoachActions", ::apache::thrift::protocol::T_REPLY, seqid); - result.write(oprot); - oprot->writeMessageEnd(); - bytes = oprot->getTransport()->writeEnd(); - oprot->getTransport()->flush(); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->postWrite(ctx, "Game.GetCoachActions", bytes); - } -} - -void GameProcessor::process_GetTrainerActions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) -{ - void* ctx = nullptr; - if (this->eventHandler_.get() != nullptr) { - ctx = this->eventHandler_->getContext("Game.GetTrainerActions", callContext); - } - ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "Game.GetTrainerActions"); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->preRead(ctx, "Game.GetTrainerActions"); - } - - Game_GetTrainerActions_args args; - args.read(iprot); - iprot->readMessageEnd(); - uint32_t bytes = iprot->getTransport()->readEnd(); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->postRead(ctx, "Game.GetTrainerActions", bytes); - } - - Game_GetTrainerActions_result result; - try { - iface_->GetTrainerActions(result.success, args.state); - result.__isset.success = true; - } catch (const std::exception& e) { - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->handlerError(ctx, "Game.GetTrainerActions"); - } - - ::apache::thrift::TApplicationException x(e.what()); - oprot->writeMessageBegin("GetTrainerActions", ::apache::thrift::protocol::T_EXCEPTION, seqid); - x.write(oprot); - oprot->writeMessageEnd(); - oprot->getTransport()->writeEnd(); - oprot->getTransport()->flush(); - return; - } - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->preWrite(ctx, "Game.GetTrainerActions"); - } - - oprot->writeMessageBegin("GetTrainerActions", ::apache::thrift::protocol::T_REPLY, seqid); - result.write(oprot); - oprot->writeMessageEnd(); - bytes = oprot->getTransport()->writeEnd(); - oprot->getTransport()->flush(); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->postWrite(ctx, "Game.GetTrainerActions", bytes); - } -} - -void GameProcessor::process_SendInitMessage(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) -{ - void* ctx = nullptr; - if (this->eventHandler_.get() != nullptr) { - ctx = this->eventHandler_->getContext("Game.SendInitMessage", callContext); - } - ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "Game.SendInitMessage"); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->preRead(ctx, "Game.SendInitMessage"); - } - - Game_SendInitMessage_args args; - args.read(iprot); - iprot->readMessageEnd(); - uint32_t bytes = iprot->getTransport()->readEnd(); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->postRead(ctx, "Game.SendInitMessage", bytes); - } - - Game_SendInitMessage_result result; - try { - iface_->SendInitMessage(result.success, args.init_message); - result.__isset.success = true; - } catch (const std::exception& e) { - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->handlerError(ctx, "Game.SendInitMessage"); - } - - ::apache::thrift::TApplicationException x(e.what()); - oprot->writeMessageBegin("SendInitMessage", ::apache::thrift::protocol::T_EXCEPTION, seqid); - x.write(oprot); - oprot->writeMessageEnd(); - oprot->getTransport()->writeEnd(); - oprot->getTransport()->flush(); - return; - } - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->preWrite(ctx, "Game.SendInitMessage"); - } - - oprot->writeMessageBegin("SendInitMessage", ::apache::thrift::protocol::T_REPLY, seqid); - result.write(oprot); - oprot->writeMessageEnd(); - bytes = oprot->getTransport()->writeEnd(); - oprot->getTransport()->flush(); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->postWrite(ctx, "Game.SendInitMessage", bytes); - } -} - -void GameProcessor::process_SendServerParams(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) -{ - void* ctx = nullptr; - if (this->eventHandler_.get() != nullptr) { - ctx = this->eventHandler_->getContext("Game.SendServerParams", callContext); - } - ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "Game.SendServerParams"); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->preRead(ctx, "Game.SendServerParams"); - } - - Game_SendServerParams_args args; - args.read(iprot); - iprot->readMessageEnd(); - uint32_t bytes = iprot->getTransport()->readEnd(); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->postRead(ctx, "Game.SendServerParams", bytes); - } - - Game_SendServerParams_result result; - try { - iface_->SendServerParams(result.success, args.server_param); - result.__isset.success = true; - } catch (const std::exception& e) { - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->handlerError(ctx, "Game.SendServerParams"); - } - - ::apache::thrift::TApplicationException x(e.what()); - oprot->writeMessageBegin("SendServerParams", ::apache::thrift::protocol::T_EXCEPTION, seqid); - x.write(oprot); - oprot->writeMessageEnd(); - oprot->getTransport()->writeEnd(); - oprot->getTransport()->flush(); - return; - } - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->preWrite(ctx, "Game.SendServerParams"); - } - - oprot->writeMessageBegin("SendServerParams", ::apache::thrift::protocol::T_REPLY, seqid); - result.write(oprot); - oprot->writeMessageEnd(); - bytes = oprot->getTransport()->writeEnd(); - oprot->getTransport()->flush(); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->postWrite(ctx, "Game.SendServerParams", bytes); - } -} - -void GameProcessor::process_SendPlayerParams(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) -{ - void* ctx = nullptr; - if (this->eventHandler_.get() != nullptr) { - ctx = this->eventHandler_->getContext("Game.SendPlayerParams", callContext); - } - ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "Game.SendPlayerParams"); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->preRead(ctx, "Game.SendPlayerParams"); - } - - Game_SendPlayerParams_args args; - args.read(iprot); - iprot->readMessageEnd(); - uint32_t bytes = iprot->getTransport()->readEnd(); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->postRead(ctx, "Game.SendPlayerParams", bytes); - } - - Game_SendPlayerParams_result result; - try { - iface_->SendPlayerParams(result.success, args.player_param); - result.__isset.success = true; - } catch (const std::exception& e) { - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->handlerError(ctx, "Game.SendPlayerParams"); - } - - ::apache::thrift::TApplicationException x(e.what()); - oprot->writeMessageBegin("SendPlayerParams", ::apache::thrift::protocol::T_EXCEPTION, seqid); - x.write(oprot); - oprot->writeMessageEnd(); - oprot->getTransport()->writeEnd(); - oprot->getTransport()->flush(); - return; - } - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->preWrite(ctx, "Game.SendPlayerParams"); - } - - oprot->writeMessageBegin("SendPlayerParams", ::apache::thrift::protocol::T_REPLY, seqid); - result.write(oprot); - oprot->writeMessageEnd(); - bytes = oprot->getTransport()->writeEnd(); - oprot->getTransport()->flush(); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->postWrite(ctx, "Game.SendPlayerParams", bytes); - } -} - -void GameProcessor::process_SendPlayerType(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) -{ - void* ctx = nullptr; - if (this->eventHandler_.get() != nullptr) { - ctx = this->eventHandler_->getContext("Game.SendPlayerType", callContext); - } - ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "Game.SendPlayerType"); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->preRead(ctx, "Game.SendPlayerType"); - } - - Game_SendPlayerType_args args; - args.read(iprot); - iprot->readMessageEnd(); - uint32_t bytes = iprot->getTransport()->readEnd(); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->postRead(ctx, "Game.SendPlayerType", bytes); - } - - Game_SendPlayerType_result result; - try { - iface_->SendPlayerType(result.success, args.player_type); - result.__isset.success = true; - } catch (const std::exception& e) { - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->handlerError(ctx, "Game.SendPlayerType"); - } - - ::apache::thrift::TApplicationException x(e.what()); - oprot->writeMessageBegin("SendPlayerType", ::apache::thrift::protocol::T_EXCEPTION, seqid); - x.write(oprot); - oprot->writeMessageEnd(); - oprot->getTransport()->writeEnd(); - oprot->getTransport()->flush(); - return; - } - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->preWrite(ctx, "Game.SendPlayerType"); - } - - oprot->writeMessageBegin("SendPlayerType", ::apache::thrift::protocol::T_REPLY, seqid); - result.write(oprot); - oprot->writeMessageEnd(); - bytes = oprot->getTransport()->writeEnd(); - oprot->getTransport()->flush(); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->postWrite(ctx, "Game.SendPlayerType", bytes); - } -} - -void GameProcessor::process_Register(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) -{ - void* ctx = nullptr; - if (this->eventHandler_.get() != nullptr) { - ctx = this->eventHandler_->getContext("Game.Register", callContext); - } - ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "Game.Register"); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->preRead(ctx, "Game.Register"); - } - - Game_Register_args args; - args.read(iprot); - iprot->readMessageEnd(); - uint32_t bytes = iprot->getTransport()->readEnd(); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->postRead(ctx, "Game.Register", bytes); - } - - Game_Register_result result; - try { - iface_->Register(result.success, args.request); - result.__isset.success = true; - } catch (const std::exception& e) { - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->handlerError(ctx, "Game.Register"); - } - - ::apache::thrift::TApplicationException x(e.what()); - oprot->writeMessageBegin("Register", ::apache::thrift::protocol::T_EXCEPTION, seqid); - x.write(oprot); - oprot->writeMessageEnd(); - oprot->getTransport()->writeEnd(); - oprot->getTransport()->flush(); - return; - } - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->preWrite(ctx, "Game.Register"); - } - - oprot->writeMessageBegin("Register", ::apache::thrift::protocol::T_REPLY, seqid); - result.write(oprot); - oprot->writeMessageEnd(); - bytes = oprot->getTransport()->writeEnd(); - oprot->getTransport()->flush(); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->postWrite(ctx, "Game.Register", bytes); - } -} - -void GameProcessor::process_SendByeCommand(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) -{ - void* ctx = nullptr; - if (this->eventHandler_.get() != nullptr) { - ctx = this->eventHandler_->getContext("Game.SendByeCommand", callContext); - } - ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "Game.SendByeCommand"); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->preRead(ctx, "Game.SendByeCommand"); - } - - Game_SendByeCommand_args args; - args.read(iprot); - iprot->readMessageEnd(); - uint32_t bytes = iprot->getTransport()->readEnd(); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->postRead(ctx, "Game.SendByeCommand", bytes); - } - - Game_SendByeCommand_result result; - try { - iface_->SendByeCommand(result.success, args.register_response); - result.__isset.success = true; - } catch (const std::exception& e) { - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->handlerError(ctx, "Game.SendByeCommand"); - } - - ::apache::thrift::TApplicationException x(e.what()); - oprot->writeMessageBegin("SendByeCommand", ::apache::thrift::protocol::T_EXCEPTION, seqid); - x.write(oprot); - oprot->writeMessageEnd(); - oprot->getTransport()->writeEnd(); - oprot->getTransport()->flush(); - return; - } - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->preWrite(ctx, "Game.SendByeCommand"); - } - - oprot->writeMessageBegin("SendByeCommand", ::apache::thrift::protocol::T_REPLY, seqid); - result.write(oprot); - oprot->writeMessageEnd(); - bytes = oprot->getTransport()->writeEnd(); - oprot->getTransport()->flush(); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->postWrite(ctx, "Game.SendByeCommand", bytes); - } -} - -void GameProcessor::process_GetBestPlannerAction(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) -{ - void* ctx = nullptr; - if (this->eventHandler_.get() != nullptr) { - ctx = this->eventHandler_->getContext("Game.GetBestPlannerAction", callContext); - } - ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "Game.GetBestPlannerAction"); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->preRead(ctx, "Game.GetBestPlannerAction"); - } - - Game_GetBestPlannerAction_args args; - args.read(iprot); - iprot->readMessageEnd(); - uint32_t bytes = iprot->getTransport()->readEnd(); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->postRead(ctx, "Game.GetBestPlannerAction", bytes); - } - - Game_GetBestPlannerAction_result result; - try { - iface_->GetBestPlannerAction(result.success, args.best_planner_action_request); - result.__isset.success = true; - } catch (const std::exception& e) { - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->handlerError(ctx, "Game.GetBestPlannerAction"); - } - - ::apache::thrift::TApplicationException x(e.what()); - oprot->writeMessageBegin("GetBestPlannerAction", ::apache::thrift::protocol::T_EXCEPTION, seqid); - x.write(oprot); - oprot->writeMessageEnd(); - oprot->getTransport()->writeEnd(); - oprot->getTransport()->flush(); - return; - } - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->preWrite(ctx, "Game.GetBestPlannerAction"); - } - - oprot->writeMessageBegin("GetBestPlannerAction", ::apache::thrift::protocol::T_REPLY, seqid); - result.write(oprot); - oprot->writeMessageEnd(); - bytes = oprot->getTransport()->writeEnd(); - oprot->getTransport()->flush(); - - if (this->eventHandler_.get() != nullptr) { - this->eventHandler_->postWrite(ctx, "Game.GetBestPlannerAction", bytes); - } -} - -::std::shared_ptr< ::apache::thrift::TProcessor > GameProcessorFactory::getProcessor(const ::apache::thrift::TConnectionInfo& connInfo) { - ::apache::thrift::ReleaseHandler< GameIfFactory > cleanup(handlerFactory_); - ::std::shared_ptr< GameIf > handler(handlerFactory_->getHandler(connInfo), cleanup); - ::std::shared_ptr< ::apache::thrift::TProcessor > processor(new GameProcessor(handler)); - return processor; -} - -void GameConcurrentClient::GetPlayerActions(PlayerActions& _return, const State& state) -{ - int32_t seqid = send_GetPlayerActions(state); - recv_GetPlayerActions(_return, seqid); -} - -int32_t GameConcurrentClient::send_GetPlayerActions(const State& state) -{ - int32_t cseqid = this->sync_->generateSeqId(); - ::apache::thrift::async::TConcurrentSendSentry sentry(this->sync_.get()); - oprot_->writeMessageBegin("GetPlayerActions", ::apache::thrift::protocol::T_CALL, cseqid); - - Game_GetPlayerActions_pargs args; - args.state = &state; - args.write(oprot_); - - oprot_->writeMessageEnd(); - oprot_->getTransport()->writeEnd(); - oprot_->getTransport()->flush(); - - sentry.commit(); - return cseqid; -} - -void GameConcurrentClient::recv_GetPlayerActions(PlayerActions& _return, const int32_t seqid) -{ - - int32_t rseqid = 0; - std::string fname; - ::apache::thrift::protocol::TMessageType mtype; - - // the read mutex gets dropped and reacquired as part of waitForWork() - // The destructor of this sentry wakes up other clients - ::apache::thrift::async::TConcurrentRecvSentry sentry(this->sync_.get(), seqid); - - while(true) { - if(!this->sync_->getPending(fname, mtype, rseqid)) { - iprot_->readMessageBegin(fname, mtype, rseqid); - } - if(seqid == rseqid) { - if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { - ::apache::thrift::TApplicationException x; - x.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - sentry.commit(); - throw x; - } - if (mtype != ::apache::thrift::protocol::T_REPLY) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - if (fname.compare("GetPlayerActions") != 0) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - // in a bad state, don't commit - using ::apache::thrift::protocol::TProtocolException; - throw TProtocolException(TProtocolException::INVALID_DATA); - } - Game_GetPlayerActions_presult result; - result.success = &_return; - result.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - if (result.__isset.success) { - // _return pointer has now been filled - sentry.commit(); - return; - } - // in a bad state, don't commit - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetPlayerActions failed: unknown result"); - } - // seqid != rseqid - this->sync_->updatePending(fname, mtype, rseqid); - - // this will temporarily unlock the readMutex, and let other clients get work done - this->sync_->waitForWork(seqid); - } // end while(true) -} - -void GameConcurrentClient::GetCoachActions(CoachActions& _return, const State& state) -{ - int32_t seqid = send_GetCoachActions(state); - recv_GetCoachActions(_return, seqid); -} - -int32_t GameConcurrentClient::send_GetCoachActions(const State& state) -{ - int32_t cseqid = this->sync_->generateSeqId(); - ::apache::thrift::async::TConcurrentSendSentry sentry(this->sync_.get()); - oprot_->writeMessageBegin("GetCoachActions", ::apache::thrift::protocol::T_CALL, cseqid); - - Game_GetCoachActions_pargs args; - args.state = &state; - args.write(oprot_); - - oprot_->writeMessageEnd(); - oprot_->getTransport()->writeEnd(); - oprot_->getTransport()->flush(); - - sentry.commit(); - return cseqid; -} - -void GameConcurrentClient::recv_GetCoachActions(CoachActions& _return, const int32_t seqid) -{ - - int32_t rseqid = 0; - std::string fname; - ::apache::thrift::protocol::TMessageType mtype; - - // the read mutex gets dropped and reacquired as part of waitForWork() - // The destructor of this sentry wakes up other clients - ::apache::thrift::async::TConcurrentRecvSentry sentry(this->sync_.get(), seqid); - - while(true) { - if(!this->sync_->getPending(fname, mtype, rseqid)) { - iprot_->readMessageBegin(fname, mtype, rseqid); - } - if(seqid == rseqid) { - if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { - ::apache::thrift::TApplicationException x; - x.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - sentry.commit(); - throw x; - } - if (mtype != ::apache::thrift::protocol::T_REPLY) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - if (fname.compare("GetCoachActions") != 0) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - // in a bad state, don't commit - using ::apache::thrift::protocol::TProtocolException; - throw TProtocolException(TProtocolException::INVALID_DATA); - } - Game_GetCoachActions_presult result; - result.success = &_return; - result.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - if (result.__isset.success) { - // _return pointer has now been filled - sentry.commit(); - return; - } - // in a bad state, don't commit - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetCoachActions failed: unknown result"); - } - // seqid != rseqid - this->sync_->updatePending(fname, mtype, rseqid); - - // this will temporarily unlock the readMutex, and let other clients get work done - this->sync_->waitForWork(seqid); - } // end while(true) -} - -void GameConcurrentClient::GetTrainerActions(TrainerActions& _return, const State& state) -{ - int32_t seqid = send_GetTrainerActions(state); - recv_GetTrainerActions(_return, seqid); -} - -int32_t GameConcurrentClient::send_GetTrainerActions(const State& state) -{ - int32_t cseqid = this->sync_->generateSeqId(); - ::apache::thrift::async::TConcurrentSendSentry sentry(this->sync_.get()); - oprot_->writeMessageBegin("GetTrainerActions", ::apache::thrift::protocol::T_CALL, cseqid); - - Game_GetTrainerActions_pargs args; - args.state = &state; - args.write(oprot_); - - oprot_->writeMessageEnd(); - oprot_->getTransport()->writeEnd(); - oprot_->getTransport()->flush(); - - sentry.commit(); - return cseqid; -} - -void GameConcurrentClient::recv_GetTrainerActions(TrainerActions& _return, const int32_t seqid) -{ - - int32_t rseqid = 0; - std::string fname; - ::apache::thrift::protocol::TMessageType mtype; - - // the read mutex gets dropped and reacquired as part of waitForWork() - // The destructor of this sentry wakes up other clients - ::apache::thrift::async::TConcurrentRecvSentry sentry(this->sync_.get(), seqid); - - while(true) { - if(!this->sync_->getPending(fname, mtype, rseqid)) { - iprot_->readMessageBegin(fname, mtype, rseqid); - } - if(seqid == rseqid) { - if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { - ::apache::thrift::TApplicationException x; - x.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - sentry.commit(); - throw x; - } - if (mtype != ::apache::thrift::protocol::T_REPLY) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - if (fname.compare("GetTrainerActions") != 0) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - // in a bad state, don't commit - using ::apache::thrift::protocol::TProtocolException; - throw TProtocolException(TProtocolException::INVALID_DATA); - } - Game_GetTrainerActions_presult result; - result.success = &_return; - result.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - if (result.__isset.success) { - // _return pointer has now been filled - sentry.commit(); - return; - } - // in a bad state, don't commit - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetTrainerActions failed: unknown result"); - } - // seqid != rseqid - this->sync_->updatePending(fname, mtype, rseqid); - - // this will temporarily unlock the readMutex, and let other clients get work done - this->sync_->waitForWork(seqid); - } // end while(true) -} - -void GameConcurrentClient::SendInitMessage(Empty& _return, const InitMessage& init_message) -{ - int32_t seqid = send_SendInitMessage(init_message); - recv_SendInitMessage(_return, seqid); -} - -int32_t GameConcurrentClient::send_SendInitMessage(const InitMessage& init_message) -{ - int32_t cseqid = this->sync_->generateSeqId(); - ::apache::thrift::async::TConcurrentSendSentry sentry(this->sync_.get()); - oprot_->writeMessageBegin("SendInitMessage", ::apache::thrift::protocol::T_CALL, cseqid); - - Game_SendInitMessage_pargs args; - args.init_message = &init_message; - args.write(oprot_); - - oprot_->writeMessageEnd(); - oprot_->getTransport()->writeEnd(); - oprot_->getTransport()->flush(); - - sentry.commit(); - return cseqid; -} - -void GameConcurrentClient::recv_SendInitMessage(Empty& _return, const int32_t seqid) -{ - - int32_t rseqid = 0; - std::string fname; - ::apache::thrift::protocol::TMessageType mtype; - - // the read mutex gets dropped and reacquired as part of waitForWork() - // The destructor of this sentry wakes up other clients - ::apache::thrift::async::TConcurrentRecvSentry sentry(this->sync_.get(), seqid); - - while(true) { - if(!this->sync_->getPending(fname, mtype, rseqid)) { - iprot_->readMessageBegin(fname, mtype, rseqid); - } - if(seqid == rseqid) { - if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { - ::apache::thrift::TApplicationException x; - x.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - sentry.commit(); - throw x; - } - if (mtype != ::apache::thrift::protocol::T_REPLY) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - if (fname.compare("SendInitMessage") != 0) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - // in a bad state, don't commit - using ::apache::thrift::protocol::TProtocolException; - throw TProtocolException(TProtocolException::INVALID_DATA); - } - Game_SendInitMessage_presult result; - result.success = &_return; - result.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - if (result.__isset.success) { - // _return pointer has now been filled - sentry.commit(); - return; - } - // in a bad state, don't commit - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "SendInitMessage failed: unknown result"); - } - // seqid != rseqid - this->sync_->updatePending(fname, mtype, rseqid); - - // this will temporarily unlock the readMutex, and let other clients get work done - this->sync_->waitForWork(seqid); - } // end while(true) -} - -void GameConcurrentClient::SendServerParams(Empty& _return, const ServerParam& server_param) -{ - int32_t seqid = send_SendServerParams(server_param); - recv_SendServerParams(_return, seqid); -} - -int32_t GameConcurrentClient::send_SendServerParams(const ServerParam& server_param) -{ - int32_t cseqid = this->sync_->generateSeqId(); - ::apache::thrift::async::TConcurrentSendSentry sentry(this->sync_.get()); - oprot_->writeMessageBegin("SendServerParams", ::apache::thrift::protocol::T_CALL, cseqid); - - Game_SendServerParams_pargs args; - args.server_param = &server_param; - args.write(oprot_); - - oprot_->writeMessageEnd(); - oprot_->getTransport()->writeEnd(); - oprot_->getTransport()->flush(); - - sentry.commit(); - return cseqid; -} - -void GameConcurrentClient::recv_SendServerParams(Empty& _return, const int32_t seqid) -{ - - int32_t rseqid = 0; - std::string fname; - ::apache::thrift::protocol::TMessageType mtype; - - // the read mutex gets dropped and reacquired as part of waitForWork() - // The destructor of this sentry wakes up other clients - ::apache::thrift::async::TConcurrentRecvSentry sentry(this->sync_.get(), seqid); - - while(true) { - if(!this->sync_->getPending(fname, mtype, rseqid)) { - iprot_->readMessageBegin(fname, mtype, rseqid); - } - if(seqid == rseqid) { - if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { - ::apache::thrift::TApplicationException x; - x.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - sentry.commit(); - throw x; - } - if (mtype != ::apache::thrift::protocol::T_REPLY) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - if (fname.compare("SendServerParams") != 0) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - // in a bad state, don't commit - using ::apache::thrift::protocol::TProtocolException; - throw TProtocolException(TProtocolException::INVALID_DATA); - } - Game_SendServerParams_presult result; - result.success = &_return; - result.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - if (result.__isset.success) { - // _return pointer has now been filled - sentry.commit(); - return; - } - // in a bad state, don't commit - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "SendServerParams failed: unknown result"); - } - // seqid != rseqid - this->sync_->updatePending(fname, mtype, rseqid); - - // this will temporarily unlock the readMutex, and let other clients get work done - this->sync_->waitForWork(seqid); - } // end while(true) -} - -void GameConcurrentClient::SendPlayerParams(Empty& _return, const PlayerParam& player_param) -{ - int32_t seqid = send_SendPlayerParams(player_param); - recv_SendPlayerParams(_return, seqid); -} - -int32_t GameConcurrentClient::send_SendPlayerParams(const PlayerParam& player_param) -{ - int32_t cseqid = this->sync_->generateSeqId(); - ::apache::thrift::async::TConcurrentSendSentry sentry(this->sync_.get()); - oprot_->writeMessageBegin("SendPlayerParams", ::apache::thrift::protocol::T_CALL, cseqid); - - Game_SendPlayerParams_pargs args; - args.player_param = &player_param; - args.write(oprot_); - - oprot_->writeMessageEnd(); - oprot_->getTransport()->writeEnd(); - oprot_->getTransport()->flush(); - - sentry.commit(); - return cseqid; -} - -void GameConcurrentClient::recv_SendPlayerParams(Empty& _return, const int32_t seqid) -{ - - int32_t rseqid = 0; - std::string fname; - ::apache::thrift::protocol::TMessageType mtype; - - // the read mutex gets dropped and reacquired as part of waitForWork() - // The destructor of this sentry wakes up other clients - ::apache::thrift::async::TConcurrentRecvSentry sentry(this->sync_.get(), seqid); - - while(true) { - if(!this->sync_->getPending(fname, mtype, rseqid)) { - iprot_->readMessageBegin(fname, mtype, rseqid); - } - if(seqid == rseqid) { - if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { - ::apache::thrift::TApplicationException x; - x.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - sentry.commit(); - throw x; - } - if (mtype != ::apache::thrift::protocol::T_REPLY) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - if (fname.compare("SendPlayerParams") != 0) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - // in a bad state, don't commit - using ::apache::thrift::protocol::TProtocolException; - throw TProtocolException(TProtocolException::INVALID_DATA); - } - Game_SendPlayerParams_presult result; - result.success = &_return; - result.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - if (result.__isset.success) { - // _return pointer has now been filled - sentry.commit(); - return; - } - // in a bad state, don't commit - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "SendPlayerParams failed: unknown result"); - } - // seqid != rseqid - this->sync_->updatePending(fname, mtype, rseqid); - - // this will temporarily unlock the readMutex, and let other clients get work done - this->sync_->waitForWork(seqid); - } // end while(true) -} - -void GameConcurrentClient::SendPlayerType(Empty& _return, const PlayerType& player_type) -{ - int32_t seqid = send_SendPlayerType(player_type); - recv_SendPlayerType(_return, seqid); -} - -int32_t GameConcurrentClient::send_SendPlayerType(const PlayerType& player_type) -{ - int32_t cseqid = this->sync_->generateSeqId(); - ::apache::thrift::async::TConcurrentSendSentry sentry(this->sync_.get()); - oprot_->writeMessageBegin("SendPlayerType", ::apache::thrift::protocol::T_CALL, cseqid); - - Game_SendPlayerType_pargs args; - args.player_type = &player_type; - args.write(oprot_); - - oprot_->writeMessageEnd(); - oprot_->getTransport()->writeEnd(); - oprot_->getTransport()->flush(); - - sentry.commit(); - return cseqid; -} - -void GameConcurrentClient::recv_SendPlayerType(Empty& _return, const int32_t seqid) -{ - - int32_t rseqid = 0; - std::string fname; - ::apache::thrift::protocol::TMessageType mtype; - - // the read mutex gets dropped and reacquired as part of waitForWork() - // The destructor of this sentry wakes up other clients - ::apache::thrift::async::TConcurrentRecvSentry sentry(this->sync_.get(), seqid); - - while(true) { - if(!this->sync_->getPending(fname, mtype, rseqid)) { - iprot_->readMessageBegin(fname, mtype, rseqid); - } - if(seqid == rseqid) { - if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { - ::apache::thrift::TApplicationException x; - x.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - sentry.commit(); - throw x; - } - if (mtype != ::apache::thrift::protocol::T_REPLY) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - if (fname.compare("SendPlayerType") != 0) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - // in a bad state, don't commit - using ::apache::thrift::protocol::TProtocolException; - throw TProtocolException(TProtocolException::INVALID_DATA); - } - Game_SendPlayerType_presult result; - result.success = &_return; - result.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - if (result.__isset.success) { - // _return pointer has now been filled - sentry.commit(); - return; - } - // in a bad state, don't commit - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "SendPlayerType failed: unknown result"); - } - // seqid != rseqid - this->sync_->updatePending(fname, mtype, rseqid); - - // this will temporarily unlock the readMutex, and let other clients get work done - this->sync_->waitForWork(seqid); - } // end while(true) -} - -void GameConcurrentClient::Register(RegisterResponse& _return, const RegisterRequest& request) -{ - int32_t seqid = send_Register(request); - recv_Register(_return, seqid); -} - -int32_t GameConcurrentClient::send_Register(const RegisterRequest& request) -{ - int32_t cseqid = this->sync_->generateSeqId(); - ::apache::thrift::async::TConcurrentSendSentry sentry(this->sync_.get()); - oprot_->writeMessageBegin("Register", ::apache::thrift::protocol::T_CALL, cseqid); - - Game_Register_pargs args; - args.request = &request; - args.write(oprot_); - - oprot_->writeMessageEnd(); - oprot_->getTransport()->writeEnd(); - oprot_->getTransport()->flush(); - - sentry.commit(); - return cseqid; -} - -void GameConcurrentClient::recv_Register(RegisterResponse& _return, const int32_t seqid) -{ - - int32_t rseqid = 0; - std::string fname; - ::apache::thrift::protocol::TMessageType mtype; - - // the read mutex gets dropped and reacquired as part of waitForWork() - // The destructor of this sentry wakes up other clients - ::apache::thrift::async::TConcurrentRecvSentry sentry(this->sync_.get(), seqid); - - while(true) { - if(!this->sync_->getPending(fname, mtype, rseqid)) { - iprot_->readMessageBegin(fname, mtype, rseqid); - } - if(seqid == rseqid) { - if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { - ::apache::thrift::TApplicationException x; - x.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - sentry.commit(); - throw x; - } - if (mtype != ::apache::thrift::protocol::T_REPLY) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - if (fname.compare("Register") != 0) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - // in a bad state, don't commit - using ::apache::thrift::protocol::TProtocolException; - throw TProtocolException(TProtocolException::INVALID_DATA); - } - Game_Register_presult result; - result.success = &_return; - result.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - if (result.__isset.success) { - // _return pointer has now been filled - sentry.commit(); - return; - } - // in a bad state, don't commit - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "Register failed: unknown result"); - } - // seqid != rseqid - this->sync_->updatePending(fname, mtype, rseqid); - - // this will temporarily unlock the readMutex, and let other clients get work done - this->sync_->waitForWork(seqid); - } // end while(true) -} - -void GameConcurrentClient::SendByeCommand(Empty& _return, const RegisterResponse& register_response) -{ - int32_t seqid = send_SendByeCommand(register_response); - recv_SendByeCommand(_return, seqid); -} - -int32_t GameConcurrentClient::send_SendByeCommand(const RegisterResponse& register_response) -{ - int32_t cseqid = this->sync_->generateSeqId(); - ::apache::thrift::async::TConcurrentSendSentry sentry(this->sync_.get()); - oprot_->writeMessageBegin("SendByeCommand", ::apache::thrift::protocol::T_CALL, cseqid); - - Game_SendByeCommand_pargs args; - args.register_response = ®ister_response; - args.write(oprot_); - - oprot_->writeMessageEnd(); - oprot_->getTransport()->writeEnd(); - oprot_->getTransport()->flush(); - - sentry.commit(); - return cseqid; -} - -void GameConcurrentClient::recv_SendByeCommand(Empty& _return, const int32_t seqid) -{ - - int32_t rseqid = 0; - std::string fname; - ::apache::thrift::protocol::TMessageType mtype; - - // the read mutex gets dropped and reacquired as part of waitForWork() - // The destructor of this sentry wakes up other clients - ::apache::thrift::async::TConcurrentRecvSentry sentry(this->sync_.get(), seqid); - - while(true) { - if(!this->sync_->getPending(fname, mtype, rseqid)) { - iprot_->readMessageBegin(fname, mtype, rseqid); - } - if(seqid == rseqid) { - if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { - ::apache::thrift::TApplicationException x; - x.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - sentry.commit(); - throw x; - } - if (mtype != ::apache::thrift::protocol::T_REPLY) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - if (fname.compare("SendByeCommand") != 0) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - // in a bad state, don't commit - using ::apache::thrift::protocol::TProtocolException; - throw TProtocolException(TProtocolException::INVALID_DATA); - } - Game_SendByeCommand_presult result; - result.success = &_return; - result.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - if (result.__isset.success) { - // _return pointer has now been filled - sentry.commit(); - return; - } - // in a bad state, don't commit - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "SendByeCommand failed: unknown result"); - } - // seqid != rseqid - this->sync_->updatePending(fname, mtype, rseqid); - - // this will temporarily unlock the readMutex, and let other clients get work done - this->sync_->waitForWork(seqid); - } // end while(true) -} - -void GameConcurrentClient::GetBestPlannerAction(BestPlannerActionResponse& _return, const BestPlannerActionRequest& best_planner_action_request) -{ - int32_t seqid = send_GetBestPlannerAction(best_planner_action_request); - recv_GetBestPlannerAction(_return, seqid); -} - -int32_t GameConcurrentClient::send_GetBestPlannerAction(const BestPlannerActionRequest& best_planner_action_request) -{ - int32_t cseqid = this->sync_->generateSeqId(); - ::apache::thrift::async::TConcurrentSendSentry sentry(this->sync_.get()); - oprot_->writeMessageBegin("GetBestPlannerAction", ::apache::thrift::protocol::T_CALL, cseqid); - - Game_GetBestPlannerAction_pargs args; - args.best_planner_action_request = &best_planner_action_request; - args.write(oprot_); - - oprot_->writeMessageEnd(); - oprot_->getTransport()->writeEnd(); - oprot_->getTransport()->flush(); - - sentry.commit(); - return cseqid; -} - -void GameConcurrentClient::recv_GetBestPlannerAction(BestPlannerActionResponse& _return, const int32_t seqid) -{ - - int32_t rseqid = 0; - std::string fname; - ::apache::thrift::protocol::TMessageType mtype; - - // the read mutex gets dropped and reacquired as part of waitForWork() - // The destructor of this sentry wakes up other clients - ::apache::thrift::async::TConcurrentRecvSentry sentry(this->sync_.get(), seqid); - - while(true) { - if(!this->sync_->getPending(fname, mtype, rseqid)) { - iprot_->readMessageBegin(fname, mtype, rseqid); - } - if(seqid == rseqid) { - if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { - ::apache::thrift::TApplicationException x; - x.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - sentry.commit(); - throw x; - } - if (mtype != ::apache::thrift::protocol::T_REPLY) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - if (fname.compare("GetBestPlannerAction") != 0) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - // in a bad state, don't commit - using ::apache::thrift::protocol::TProtocolException; - throw TProtocolException(TProtocolException::INVALID_DATA); - } - Game_GetBestPlannerAction_presult result; - result.success = &_return; - result.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - if (result.__isset.success) { - // _return pointer has now been filled - sentry.commit(); - return; - } - // in a bad state, don't commit - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetBestPlannerAction failed: unknown result"); - } - // seqid != rseqid - this->sync_->updatePending(fname, mtype, rseqid); - - // this will temporarily unlock the readMutex, and let other clients get work done - this->sync_->waitForWork(seqid); - } // end while(true) -} - -} // namespace - diff --git a/idl/thrift/gen-cpp/Game.h b/idl/thrift/gen-cpp/Game.h deleted file mode 100644 index a6686f5..0000000 --- a/idl/thrift/gen-cpp/Game.h +++ /dev/null @@ -1,1433 +0,0 @@ -/** - * Autogenerated by Thrift Compiler (0.16.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -#ifndef Game_H -#define Game_H - -#include -#include -#include -#include "soccer_service_types.h" - -namespace soccer { - -#ifdef _MSC_VER - #pragma warning( push ) - #pragma warning (disable : 4250 ) //inheriting methods via dominance -#endif - -class GameIf { - public: - virtual ~GameIf() {} - virtual void GetPlayerActions(PlayerActions& _return, const State& state) = 0; - virtual void GetCoachActions(CoachActions& _return, const State& state) = 0; - virtual void GetTrainerActions(TrainerActions& _return, const State& state) = 0; - virtual void SendInitMessage(Empty& _return, const InitMessage& init_message) = 0; - virtual void SendServerParams(Empty& _return, const ServerParam& server_param) = 0; - virtual void SendPlayerParams(Empty& _return, const PlayerParam& player_param) = 0; - virtual void SendPlayerType(Empty& _return, const PlayerType& player_type) = 0; - virtual void Register(RegisterResponse& _return, const RegisterRequest& request) = 0; - virtual void SendByeCommand(Empty& _return, const RegisterResponse& register_response) = 0; - virtual void GetBestPlannerAction(BestPlannerActionResponse& _return, const BestPlannerActionRequest& best_planner_action_request) = 0; -}; - -class GameIfFactory { - public: - typedef GameIf Handler; - - virtual ~GameIfFactory() {} - - virtual GameIf* getHandler(const ::apache::thrift::TConnectionInfo& connInfo) = 0; - virtual void releaseHandler(GameIf* /* handler */) = 0; - }; - -class GameIfSingletonFactory : virtual public GameIfFactory { - public: - GameIfSingletonFactory(const ::std::shared_ptr& iface) : iface_(iface) {} - virtual ~GameIfSingletonFactory() {} - - virtual GameIf* getHandler(const ::apache::thrift::TConnectionInfo&) override { - return iface_.get(); - } - virtual void releaseHandler(GameIf* /* handler */) override {} - - protected: - ::std::shared_ptr iface_; -}; - -class GameNull : virtual public GameIf { - public: - virtual ~GameNull() {} - void GetPlayerActions(PlayerActions& /* _return */, const State& /* state */) override { - return; - } - void GetCoachActions(CoachActions& /* _return */, const State& /* state */) override { - return; - } - void GetTrainerActions(TrainerActions& /* _return */, const State& /* state */) override { - return; - } - void SendInitMessage(Empty& /* _return */, const InitMessage& /* init_message */) override { - return; - } - void SendServerParams(Empty& /* _return */, const ServerParam& /* server_param */) override { - return; - } - void SendPlayerParams(Empty& /* _return */, const PlayerParam& /* player_param */) override { - return; - } - void SendPlayerType(Empty& /* _return */, const PlayerType& /* player_type */) override { - return; - } - void Register(RegisterResponse& /* _return */, const RegisterRequest& /* request */) override { - return; - } - void SendByeCommand(Empty& /* _return */, const RegisterResponse& /* register_response */) override { - return; - } - void GetBestPlannerAction(BestPlannerActionResponse& /* _return */, const BestPlannerActionRequest& /* best_planner_action_request */) override { - return; - } -}; - -typedef struct _Game_GetPlayerActions_args__isset { - _Game_GetPlayerActions_args__isset() : state(false) {} - bool state :1; -} _Game_GetPlayerActions_args__isset; - -class Game_GetPlayerActions_args { - public: - - Game_GetPlayerActions_args(const Game_GetPlayerActions_args&); - Game_GetPlayerActions_args& operator=(const Game_GetPlayerActions_args&); - Game_GetPlayerActions_args() noexcept { - } - - virtual ~Game_GetPlayerActions_args() noexcept; - State state; - - _Game_GetPlayerActions_args__isset __isset; - - void __set_state(const State& val); - - bool operator == (const Game_GetPlayerActions_args & rhs) const - { - if (!(state == rhs.state)) - return false; - return true; - } - bool operator != (const Game_GetPlayerActions_args &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Game_GetPlayerActions_args & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - - -class Game_GetPlayerActions_pargs { - public: - - - virtual ~Game_GetPlayerActions_pargs() noexcept; - const State* state; - - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - -typedef struct _Game_GetPlayerActions_result__isset { - _Game_GetPlayerActions_result__isset() : success(false) {} - bool success :1; -} _Game_GetPlayerActions_result__isset; - -class Game_GetPlayerActions_result { - public: - - Game_GetPlayerActions_result(const Game_GetPlayerActions_result&); - Game_GetPlayerActions_result& operator=(const Game_GetPlayerActions_result&); - Game_GetPlayerActions_result() noexcept { - } - - virtual ~Game_GetPlayerActions_result() noexcept; - PlayerActions success; - - _Game_GetPlayerActions_result__isset __isset; - - void __set_success(const PlayerActions& val); - - bool operator == (const Game_GetPlayerActions_result & rhs) const - { - if (!(success == rhs.success)) - return false; - return true; - } - bool operator != (const Game_GetPlayerActions_result &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Game_GetPlayerActions_result & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - -typedef struct _Game_GetPlayerActions_presult__isset { - _Game_GetPlayerActions_presult__isset() : success(false) {} - bool success :1; -} _Game_GetPlayerActions_presult__isset; - -class Game_GetPlayerActions_presult { - public: - - - virtual ~Game_GetPlayerActions_presult() noexcept; - PlayerActions* success; - - _Game_GetPlayerActions_presult__isset __isset; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - -}; - -typedef struct _Game_GetCoachActions_args__isset { - _Game_GetCoachActions_args__isset() : state(false) {} - bool state :1; -} _Game_GetCoachActions_args__isset; - -class Game_GetCoachActions_args { - public: - - Game_GetCoachActions_args(const Game_GetCoachActions_args&); - Game_GetCoachActions_args& operator=(const Game_GetCoachActions_args&); - Game_GetCoachActions_args() noexcept { - } - - virtual ~Game_GetCoachActions_args() noexcept; - State state; - - _Game_GetCoachActions_args__isset __isset; - - void __set_state(const State& val); - - bool operator == (const Game_GetCoachActions_args & rhs) const - { - if (!(state == rhs.state)) - return false; - return true; - } - bool operator != (const Game_GetCoachActions_args &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Game_GetCoachActions_args & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - - -class Game_GetCoachActions_pargs { - public: - - - virtual ~Game_GetCoachActions_pargs() noexcept; - const State* state; - - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - -typedef struct _Game_GetCoachActions_result__isset { - _Game_GetCoachActions_result__isset() : success(false) {} - bool success :1; -} _Game_GetCoachActions_result__isset; - -class Game_GetCoachActions_result { - public: - - Game_GetCoachActions_result(const Game_GetCoachActions_result&); - Game_GetCoachActions_result& operator=(const Game_GetCoachActions_result&); - Game_GetCoachActions_result() noexcept { - } - - virtual ~Game_GetCoachActions_result() noexcept; - CoachActions success; - - _Game_GetCoachActions_result__isset __isset; - - void __set_success(const CoachActions& val); - - bool operator == (const Game_GetCoachActions_result & rhs) const - { - if (!(success == rhs.success)) - return false; - return true; - } - bool operator != (const Game_GetCoachActions_result &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Game_GetCoachActions_result & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - -typedef struct _Game_GetCoachActions_presult__isset { - _Game_GetCoachActions_presult__isset() : success(false) {} - bool success :1; -} _Game_GetCoachActions_presult__isset; - -class Game_GetCoachActions_presult { - public: - - - virtual ~Game_GetCoachActions_presult() noexcept; - CoachActions* success; - - _Game_GetCoachActions_presult__isset __isset; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - -}; - -typedef struct _Game_GetTrainerActions_args__isset { - _Game_GetTrainerActions_args__isset() : state(false) {} - bool state :1; -} _Game_GetTrainerActions_args__isset; - -class Game_GetTrainerActions_args { - public: - - Game_GetTrainerActions_args(const Game_GetTrainerActions_args&); - Game_GetTrainerActions_args& operator=(const Game_GetTrainerActions_args&); - Game_GetTrainerActions_args() noexcept { - } - - virtual ~Game_GetTrainerActions_args() noexcept; - State state; - - _Game_GetTrainerActions_args__isset __isset; - - void __set_state(const State& val); - - bool operator == (const Game_GetTrainerActions_args & rhs) const - { - if (!(state == rhs.state)) - return false; - return true; - } - bool operator != (const Game_GetTrainerActions_args &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Game_GetTrainerActions_args & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - - -class Game_GetTrainerActions_pargs { - public: - - - virtual ~Game_GetTrainerActions_pargs() noexcept; - const State* state; - - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - -typedef struct _Game_GetTrainerActions_result__isset { - _Game_GetTrainerActions_result__isset() : success(false) {} - bool success :1; -} _Game_GetTrainerActions_result__isset; - -class Game_GetTrainerActions_result { - public: - - Game_GetTrainerActions_result(const Game_GetTrainerActions_result&); - Game_GetTrainerActions_result& operator=(const Game_GetTrainerActions_result&); - Game_GetTrainerActions_result() noexcept { - } - - virtual ~Game_GetTrainerActions_result() noexcept; - TrainerActions success; - - _Game_GetTrainerActions_result__isset __isset; - - void __set_success(const TrainerActions& val); - - bool operator == (const Game_GetTrainerActions_result & rhs) const - { - if (!(success == rhs.success)) - return false; - return true; - } - bool operator != (const Game_GetTrainerActions_result &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Game_GetTrainerActions_result & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - -typedef struct _Game_GetTrainerActions_presult__isset { - _Game_GetTrainerActions_presult__isset() : success(false) {} - bool success :1; -} _Game_GetTrainerActions_presult__isset; - -class Game_GetTrainerActions_presult { - public: - - - virtual ~Game_GetTrainerActions_presult() noexcept; - TrainerActions* success; - - _Game_GetTrainerActions_presult__isset __isset; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - -}; - -typedef struct _Game_SendInitMessage_args__isset { - _Game_SendInitMessage_args__isset() : init_message(false) {} - bool init_message :1; -} _Game_SendInitMessage_args__isset; - -class Game_SendInitMessage_args { - public: - - Game_SendInitMessage_args(const Game_SendInitMessage_args&); - Game_SendInitMessage_args& operator=(const Game_SendInitMessage_args&); - Game_SendInitMessage_args() noexcept { - } - - virtual ~Game_SendInitMessage_args() noexcept; - InitMessage init_message; - - _Game_SendInitMessage_args__isset __isset; - - void __set_init_message(const InitMessage& val); - - bool operator == (const Game_SendInitMessage_args & rhs) const - { - if (!(init_message == rhs.init_message)) - return false; - return true; - } - bool operator != (const Game_SendInitMessage_args &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Game_SendInitMessage_args & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - - -class Game_SendInitMessage_pargs { - public: - - - virtual ~Game_SendInitMessage_pargs() noexcept; - const InitMessage* init_message; - - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - -typedef struct _Game_SendInitMessage_result__isset { - _Game_SendInitMessage_result__isset() : success(false) {} - bool success :1; -} _Game_SendInitMessage_result__isset; - -class Game_SendInitMessage_result { - public: - - Game_SendInitMessage_result(const Game_SendInitMessage_result&) noexcept; - Game_SendInitMessage_result& operator=(const Game_SendInitMessage_result&) noexcept; - Game_SendInitMessage_result() noexcept { - } - - virtual ~Game_SendInitMessage_result() noexcept; - Empty success; - - _Game_SendInitMessage_result__isset __isset; - - void __set_success(const Empty& val); - - bool operator == (const Game_SendInitMessage_result & rhs) const - { - if (!(success == rhs.success)) - return false; - return true; - } - bool operator != (const Game_SendInitMessage_result &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Game_SendInitMessage_result & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - -typedef struct _Game_SendInitMessage_presult__isset { - _Game_SendInitMessage_presult__isset() : success(false) {} - bool success :1; -} _Game_SendInitMessage_presult__isset; - -class Game_SendInitMessage_presult { - public: - - - virtual ~Game_SendInitMessage_presult() noexcept; - Empty* success; - - _Game_SendInitMessage_presult__isset __isset; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - -}; - -typedef struct _Game_SendServerParams_args__isset { - _Game_SendServerParams_args__isset() : server_param(false) {} - bool server_param :1; -} _Game_SendServerParams_args__isset; - -class Game_SendServerParams_args { - public: - - Game_SendServerParams_args(const Game_SendServerParams_args&); - Game_SendServerParams_args& operator=(const Game_SendServerParams_args&); - Game_SendServerParams_args() noexcept { - } - - virtual ~Game_SendServerParams_args() noexcept; - ServerParam server_param; - - _Game_SendServerParams_args__isset __isset; - - void __set_server_param(const ServerParam& val); - - bool operator == (const Game_SendServerParams_args & rhs) const - { - if (!(server_param == rhs.server_param)) - return false; - return true; - } - bool operator != (const Game_SendServerParams_args &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Game_SendServerParams_args & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - - -class Game_SendServerParams_pargs { - public: - - - virtual ~Game_SendServerParams_pargs() noexcept; - const ServerParam* server_param; - - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - -typedef struct _Game_SendServerParams_result__isset { - _Game_SendServerParams_result__isset() : success(false) {} - bool success :1; -} _Game_SendServerParams_result__isset; - -class Game_SendServerParams_result { - public: - - Game_SendServerParams_result(const Game_SendServerParams_result&) noexcept; - Game_SendServerParams_result& operator=(const Game_SendServerParams_result&) noexcept; - Game_SendServerParams_result() noexcept { - } - - virtual ~Game_SendServerParams_result() noexcept; - Empty success; - - _Game_SendServerParams_result__isset __isset; - - void __set_success(const Empty& val); - - bool operator == (const Game_SendServerParams_result & rhs) const - { - if (!(success == rhs.success)) - return false; - return true; - } - bool operator != (const Game_SendServerParams_result &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Game_SendServerParams_result & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - -typedef struct _Game_SendServerParams_presult__isset { - _Game_SendServerParams_presult__isset() : success(false) {} - bool success :1; -} _Game_SendServerParams_presult__isset; - -class Game_SendServerParams_presult { - public: - - - virtual ~Game_SendServerParams_presult() noexcept; - Empty* success; - - _Game_SendServerParams_presult__isset __isset; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - -}; - -typedef struct _Game_SendPlayerParams_args__isset { - _Game_SendPlayerParams_args__isset() : player_param(false) {} - bool player_param :1; -} _Game_SendPlayerParams_args__isset; - -class Game_SendPlayerParams_args { - public: - - Game_SendPlayerParams_args(const Game_SendPlayerParams_args&); - Game_SendPlayerParams_args& operator=(const Game_SendPlayerParams_args&); - Game_SendPlayerParams_args() noexcept { - } - - virtual ~Game_SendPlayerParams_args() noexcept; - PlayerParam player_param; - - _Game_SendPlayerParams_args__isset __isset; - - void __set_player_param(const PlayerParam& val); - - bool operator == (const Game_SendPlayerParams_args & rhs) const - { - if (!(player_param == rhs.player_param)) - return false; - return true; - } - bool operator != (const Game_SendPlayerParams_args &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Game_SendPlayerParams_args & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - - -class Game_SendPlayerParams_pargs { - public: - - - virtual ~Game_SendPlayerParams_pargs() noexcept; - const PlayerParam* player_param; - - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - -typedef struct _Game_SendPlayerParams_result__isset { - _Game_SendPlayerParams_result__isset() : success(false) {} - bool success :1; -} _Game_SendPlayerParams_result__isset; - -class Game_SendPlayerParams_result { - public: - - Game_SendPlayerParams_result(const Game_SendPlayerParams_result&) noexcept; - Game_SendPlayerParams_result& operator=(const Game_SendPlayerParams_result&) noexcept; - Game_SendPlayerParams_result() noexcept { - } - - virtual ~Game_SendPlayerParams_result() noexcept; - Empty success; - - _Game_SendPlayerParams_result__isset __isset; - - void __set_success(const Empty& val); - - bool operator == (const Game_SendPlayerParams_result & rhs) const - { - if (!(success == rhs.success)) - return false; - return true; - } - bool operator != (const Game_SendPlayerParams_result &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Game_SendPlayerParams_result & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - -typedef struct _Game_SendPlayerParams_presult__isset { - _Game_SendPlayerParams_presult__isset() : success(false) {} - bool success :1; -} _Game_SendPlayerParams_presult__isset; - -class Game_SendPlayerParams_presult { - public: - - - virtual ~Game_SendPlayerParams_presult() noexcept; - Empty* success; - - _Game_SendPlayerParams_presult__isset __isset; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - -}; - -typedef struct _Game_SendPlayerType_args__isset { - _Game_SendPlayerType_args__isset() : player_type(false) {} - bool player_type :1; -} _Game_SendPlayerType_args__isset; - -class Game_SendPlayerType_args { - public: - - Game_SendPlayerType_args(const Game_SendPlayerType_args&); - Game_SendPlayerType_args& operator=(const Game_SendPlayerType_args&); - Game_SendPlayerType_args() noexcept { - } - - virtual ~Game_SendPlayerType_args() noexcept; - PlayerType player_type; - - _Game_SendPlayerType_args__isset __isset; - - void __set_player_type(const PlayerType& val); - - bool operator == (const Game_SendPlayerType_args & rhs) const - { - if (!(player_type == rhs.player_type)) - return false; - return true; - } - bool operator != (const Game_SendPlayerType_args &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Game_SendPlayerType_args & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - - -class Game_SendPlayerType_pargs { - public: - - - virtual ~Game_SendPlayerType_pargs() noexcept; - const PlayerType* player_type; - - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - -typedef struct _Game_SendPlayerType_result__isset { - _Game_SendPlayerType_result__isset() : success(false) {} - bool success :1; -} _Game_SendPlayerType_result__isset; - -class Game_SendPlayerType_result { - public: - - Game_SendPlayerType_result(const Game_SendPlayerType_result&) noexcept; - Game_SendPlayerType_result& operator=(const Game_SendPlayerType_result&) noexcept; - Game_SendPlayerType_result() noexcept { - } - - virtual ~Game_SendPlayerType_result() noexcept; - Empty success; - - _Game_SendPlayerType_result__isset __isset; - - void __set_success(const Empty& val); - - bool operator == (const Game_SendPlayerType_result & rhs) const - { - if (!(success == rhs.success)) - return false; - return true; - } - bool operator != (const Game_SendPlayerType_result &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Game_SendPlayerType_result & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - -typedef struct _Game_SendPlayerType_presult__isset { - _Game_SendPlayerType_presult__isset() : success(false) {} - bool success :1; -} _Game_SendPlayerType_presult__isset; - -class Game_SendPlayerType_presult { - public: - - - virtual ~Game_SendPlayerType_presult() noexcept; - Empty* success; - - _Game_SendPlayerType_presult__isset __isset; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - -}; - -typedef struct _Game_Register_args__isset { - _Game_Register_args__isset() : request(false) {} - bool request :1; -} _Game_Register_args__isset; - -class Game_Register_args { - public: - - Game_Register_args(const Game_Register_args&); - Game_Register_args& operator=(const Game_Register_args&); - Game_Register_args() noexcept { - } - - virtual ~Game_Register_args() noexcept; - RegisterRequest request; - - _Game_Register_args__isset __isset; - - void __set_request(const RegisterRequest& val); - - bool operator == (const Game_Register_args & rhs) const - { - if (!(request == rhs.request)) - return false; - return true; - } - bool operator != (const Game_Register_args &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Game_Register_args & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - - -class Game_Register_pargs { - public: - - - virtual ~Game_Register_pargs() noexcept; - const RegisterRequest* request; - - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - -typedef struct _Game_Register_result__isset { - _Game_Register_result__isset() : success(false) {} - bool success :1; -} _Game_Register_result__isset; - -class Game_Register_result { - public: - - Game_Register_result(const Game_Register_result&); - Game_Register_result& operator=(const Game_Register_result&); - Game_Register_result() noexcept { - } - - virtual ~Game_Register_result() noexcept; - RegisterResponse success; - - _Game_Register_result__isset __isset; - - void __set_success(const RegisterResponse& val); - - bool operator == (const Game_Register_result & rhs) const - { - if (!(success == rhs.success)) - return false; - return true; - } - bool operator != (const Game_Register_result &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Game_Register_result & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - -typedef struct _Game_Register_presult__isset { - _Game_Register_presult__isset() : success(false) {} - bool success :1; -} _Game_Register_presult__isset; - -class Game_Register_presult { - public: - - - virtual ~Game_Register_presult() noexcept; - RegisterResponse* success; - - _Game_Register_presult__isset __isset; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - -}; - -typedef struct _Game_SendByeCommand_args__isset { - _Game_SendByeCommand_args__isset() : register_response(false) {} - bool register_response :1; -} _Game_SendByeCommand_args__isset; - -class Game_SendByeCommand_args { - public: - - Game_SendByeCommand_args(const Game_SendByeCommand_args&); - Game_SendByeCommand_args& operator=(const Game_SendByeCommand_args&); - Game_SendByeCommand_args() noexcept { - } - - virtual ~Game_SendByeCommand_args() noexcept; - RegisterResponse register_response; - - _Game_SendByeCommand_args__isset __isset; - - void __set_register_response(const RegisterResponse& val); - - bool operator == (const Game_SendByeCommand_args & rhs) const - { - if (!(register_response == rhs.register_response)) - return false; - return true; - } - bool operator != (const Game_SendByeCommand_args &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Game_SendByeCommand_args & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - - -class Game_SendByeCommand_pargs { - public: - - - virtual ~Game_SendByeCommand_pargs() noexcept; - const RegisterResponse* register_response; - - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - -typedef struct _Game_SendByeCommand_result__isset { - _Game_SendByeCommand_result__isset() : success(false) {} - bool success :1; -} _Game_SendByeCommand_result__isset; - -class Game_SendByeCommand_result { - public: - - Game_SendByeCommand_result(const Game_SendByeCommand_result&) noexcept; - Game_SendByeCommand_result& operator=(const Game_SendByeCommand_result&) noexcept; - Game_SendByeCommand_result() noexcept { - } - - virtual ~Game_SendByeCommand_result() noexcept; - Empty success; - - _Game_SendByeCommand_result__isset __isset; - - void __set_success(const Empty& val); - - bool operator == (const Game_SendByeCommand_result & rhs) const - { - if (!(success == rhs.success)) - return false; - return true; - } - bool operator != (const Game_SendByeCommand_result &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Game_SendByeCommand_result & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - -typedef struct _Game_SendByeCommand_presult__isset { - _Game_SendByeCommand_presult__isset() : success(false) {} - bool success :1; -} _Game_SendByeCommand_presult__isset; - -class Game_SendByeCommand_presult { - public: - - - virtual ~Game_SendByeCommand_presult() noexcept; - Empty* success; - - _Game_SendByeCommand_presult__isset __isset; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - -}; - -typedef struct _Game_GetBestPlannerAction_args__isset { - _Game_GetBestPlannerAction_args__isset() : best_planner_action_request(false) {} - bool best_planner_action_request :1; -} _Game_GetBestPlannerAction_args__isset; - -class Game_GetBestPlannerAction_args { - public: - - Game_GetBestPlannerAction_args(const Game_GetBestPlannerAction_args&); - Game_GetBestPlannerAction_args& operator=(const Game_GetBestPlannerAction_args&); - Game_GetBestPlannerAction_args() noexcept { - } - - virtual ~Game_GetBestPlannerAction_args() noexcept; - BestPlannerActionRequest best_planner_action_request; - - _Game_GetBestPlannerAction_args__isset __isset; - - void __set_best_planner_action_request(const BestPlannerActionRequest& val); - - bool operator == (const Game_GetBestPlannerAction_args & rhs) const - { - if (!(best_planner_action_request == rhs.best_planner_action_request)) - return false; - return true; - } - bool operator != (const Game_GetBestPlannerAction_args &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Game_GetBestPlannerAction_args & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - - -class Game_GetBestPlannerAction_pargs { - public: - - - virtual ~Game_GetBestPlannerAction_pargs() noexcept; - const BestPlannerActionRequest* best_planner_action_request; - - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - -typedef struct _Game_GetBestPlannerAction_result__isset { - _Game_GetBestPlannerAction_result__isset() : success(false) {} - bool success :1; -} _Game_GetBestPlannerAction_result__isset; - -class Game_GetBestPlannerAction_result { - public: - - Game_GetBestPlannerAction_result(const Game_GetBestPlannerAction_result&) noexcept; - Game_GetBestPlannerAction_result& operator=(const Game_GetBestPlannerAction_result&) noexcept; - Game_GetBestPlannerAction_result() noexcept { - } - - virtual ~Game_GetBestPlannerAction_result() noexcept; - BestPlannerActionResponse success; - - _Game_GetBestPlannerAction_result__isset __isset; - - void __set_success(const BestPlannerActionResponse& val); - - bool operator == (const Game_GetBestPlannerAction_result & rhs) const - { - if (!(success == rhs.success)) - return false; - return true; - } - bool operator != (const Game_GetBestPlannerAction_result &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Game_GetBestPlannerAction_result & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - -typedef struct _Game_GetBestPlannerAction_presult__isset { - _Game_GetBestPlannerAction_presult__isset() : success(false) {} - bool success :1; -} _Game_GetBestPlannerAction_presult__isset; - -class Game_GetBestPlannerAction_presult { - public: - - - virtual ~Game_GetBestPlannerAction_presult() noexcept; - BestPlannerActionResponse* success; - - _Game_GetBestPlannerAction_presult__isset __isset; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - -}; - -class GameClient : virtual public GameIf { - public: - GameClient(std::shared_ptr< ::apache::thrift::protocol::TProtocol> prot) { - setProtocol(prot); - } - GameClient(std::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, std::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) { - setProtocol(iprot,oprot); - } - private: - void setProtocol(std::shared_ptr< ::apache::thrift::protocol::TProtocol> prot) { - setProtocol(prot,prot); - } - void setProtocol(std::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, std::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) { - piprot_=iprot; - poprot_=oprot; - iprot_ = iprot.get(); - oprot_ = oprot.get(); - } - public: - std::shared_ptr< ::apache::thrift::protocol::TProtocol> getInputProtocol() { - return piprot_; - } - std::shared_ptr< ::apache::thrift::protocol::TProtocol> getOutputProtocol() { - return poprot_; - } - void GetPlayerActions(PlayerActions& _return, const State& state) override; - void send_GetPlayerActions(const State& state); - void recv_GetPlayerActions(PlayerActions& _return); - void GetCoachActions(CoachActions& _return, const State& state) override; - void send_GetCoachActions(const State& state); - void recv_GetCoachActions(CoachActions& _return); - void GetTrainerActions(TrainerActions& _return, const State& state) override; - void send_GetTrainerActions(const State& state); - void recv_GetTrainerActions(TrainerActions& _return); - void SendInitMessage(Empty& _return, const InitMessage& init_message) override; - void send_SendInitMessage(const InitMessage& init_message); - void recv_SendInitMessage(Empty& _return); - void SendServerParams(Empty& _return, const ServerParam& server_param) override; - void send_SendServerParams(const ServerParam& server_param); - void recv_SendServerParams(Empty& _return); - void SendPlayerParams(Empty& _return, const PlayerParam& player_param) override; - void send_SendPlayerParams(const PlayerParam& player_param); - void recv_SendPlayerParams(Empty& _return); - void SendPlayerType(Empty& _return, const PlayerType& player_type) override; - void send_SendPlayerType(const PlayerType& player_type); - void recv_SendPlayerType(Empty& _return); - void Register(RegisterResponse& _return, const RegisterRequest& request) override; - void send_Register(const RegisterRequest& request); - void recv_Register(RegisterResponse& _return); - void SendByeCommand(Empty& _return, const RegisterResponse& register_response) override; - void send_SendByeCommand(const RegisterResponse& register_response); - void recv_SendByeCommand(Empty& _return); - void GetBestPlannerAction(BestPlannerActionResponse& _return, const BestPlannerActionRequest& best_planner_action_request) override; - void send_GetBestPlannerAction(const BestPlannerActionRequest& best_planner_action_request); - void recv_GetBestPlannerAction(BestPlannerActionResponse& _return); - protected: - std::shared_ptr< ::apache::thrift::protocol::TProtocol> piprot_; - std::shared_ptr< ::apache::thrift::protocol::TProtocol> poprot_; - ::apache::thrift::protocol::TProtocol* iprot_; - ::apache::thrift::protocol::TProtocol* oprot_; -}; - -class GameProcessor : public ::apache::thrift::TDispatchProcessor { - protected: - ::std::shared_ptr iface_; - virtual bool dispatchCall(::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, const std::string& fname, int32_t seqid, void* callContext) override; - private: - typedef void (GameProcessor::*ProcessFunction)(int32_t, ::apache::thrift::protocol::TProtocol*, ::apache::thrift::protocol::TProtocol*, void*); - typedef std::map ProcessMap; - ProcessMap processMap_; - void process_GetPlayerActions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); - void process_GetCoachActions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); - void process_GetTrainerActions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); - void process_SendInitMessage(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); - void process_SendServerParams(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); - void process_SendPlayerParams(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); - void process_SendPlayerType(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); - void process_Register(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); - void process_SendByeCommand(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); - void process_GetBestPlannerAction(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); - public: - GameProcessor(::std::shared_ptr iface) : - iface_(iface) { - processMap_["GetPlayerActions"] = &GameProcessor::process_GetPlayerActions; - processMap_["GetCoachActions"] = &GameProcessor::process_GetCoachActions; - processMap_["GetTrainerActions"] = &GameProcessor::process_GetTrainerActions; - processMap_["SendInitMessage"] = &GameProcessor::process_SendInitMessage; - processMap_["SendServerParams"] = &GameProcessor::process_SendServerParams; - processMap_["SendPlayerParams"] = &GameProcessor::process_SendPlayerParams; - processMap_["SendPlayerType"] = &GameProcessor::process_SendPlayerType; - processMap_["Register"] = &GameProcessor::process_Register; - processMap_["SendByeCommand"] = &GameProcessor::process_SendByeCommand; - processMap_["GetBestPlannerAction"] = &GameProcessor::process_GetBestPlannerAction; - } - - virtual ~GameProcessor() {} -}; - -class GameProcessorFactory : public ::apache::thrift::TProcessorFactory { - public: - GameProcessorFactory(const ::std::shared_ptr< GameIfFactory >& handlerFactory) noexcept : - handlerFactory_(handlerFactory) {} - - ::std::shared_ptr< ::apache::thrift::TProcessor > getProcessor(const ::apache::thrift::TConnectionInfo& connInfo) override; - - protected: - ::std::shared_ptr< GameIfFactory > handlerFactory_; -}; - -class GameMultiface : virtual public GameIf { - public: - GameMultiface(std::vector >& ifaces) : ifaces_(ifaces) { - } - virtual ~GameMultiface() {} - protected: - std::vector > ifaces_; - GameMultiface() {} - void add(::std::shared_ptr iface) { - ifaces_.push_back(iface); - } - public: - void GetPlayerActions(PlayerActions& _return, const State& state) override { - size_t sz = ifaces_.size(); - size_t i = 0; - for (; i < (sz - 1); ++i) { - ifaces_[i]->GetPlayerActions(_return, state); - } - ifaces_[i]->GetPlayerActions(_return, state); - return; - } - - void GetCoachActions(CoachActions& _return, const State& state) override { - size_t sz = ifaces_.size(); - size_t i = 0; - for (; i < (sz - 1); ++i) { - ifaces_[i]->GetCoachActions(_return, state); - } - ifaces_[i]->GetCoachActions(_return, state); - return; - } - - void GetTrainerActions(TrainerActions& _return, const State& state) override { - size_t sz = ifaces_.size(); - size_t i = 0; - for (; i < (sz - 1); ++i) { - ifaces_[i]->GetTrainerActions(_return, state); - } - ifaces_[i]->GetTrainerActions(_return, state); - return; - } - - void SendInitMessage(Empty& _return, const InitMessage& init_message) override { - size_t sz = ifaces_.size(); - size_t i = 0; - for (; i < (sz - 1); ++i) { - ifaces_[i]->SendInitMessage(_return, init_message); - } - ifaces_[i]->SendInitMessage(_return, init_message); - return; - } - - void SendServerParams(Empty& _return, const ServerParam& server_param) override { - size_t sz = ifaces_.size(); - size_t i = 0; - for (; i < (sz - 1); ++i) { - ifaces_[i]->SendServerParams(_return, server_param); - } - ifaces_[i]->SendServerParams(_return, server_param); - return; - } - - void SendPlayerParams(Empty& _return, const PlayerParam& player_param) override { - size_t sz = ifaces_.size(); - size_t i = 0; - for (; i < (sz - 1); ++i) { - ifaces_[i]->SendPlayerParams(_return, player_param); - } - ifaces_[i]->SendPlayerParams(_return, player_param); - return; - } - - void SendPlayerType(Empty& _return, const PlayerType& player_type) override { - size_t sz = ifaces_.size(); - size_t i = 0; - for (; i < (sz - 1); ++i) { - ifaces_[i]->SendPlayerType(_return, player_type); - } - ifaces_[i]->SendPlayerType(_return, player_type); - return; - } - - void Register(RegisterResponse& _return, const RegisterRequest& request) override { - size_t sz = ifaces_.size(); - size_t i = 0; - for (; i < (sz - 1); ++i) { - ifaces_[i]->Register(_return, request); - } - ifaces_[i]->Register(_return, request); - return; - } - - void SendByeCommand(Empty& _return, const RegisterResponse& register_response) override { - size_t sz = ifaces_.size(); - size_t i = 0; - for (; i < (sz - 1); ++i) { - ifaces_[i]->SendByeCommand(_return, register_response); - } - ifaces_[i]->SendByeCommand(_return, register_response); - return; - } - - void GetBestPlannerAction(BestPlannerActionResponse& _return, const BestPlannerActionRequest& best_planner_action_request) override { - size_t sz = ifaces_.size(); - size_t i = 0; - for (; i < (sz - 1); ++i) { - ifaces_[i]->GetBestPlannerAction(_return, best_planner_action_request); - } - ifaces_[i]->GetBestPlannerAction(_return, best_planner_action_request); - return; - } - -}; - -// The 'concurrent' client is a thread safe client that correctly handles -// out of order responses. It is slower than the regular client, so should -// only be used when you need to share a connection among multiple threads -class GameConcurrentClient : virtual public GameIf { - public: - GameConcurrentClient(std::shared_ptr< ::apache::thrift::protocol::TProtocol> prot, std::shared_ptr<::apache::thrift::async::TConcurrentClientSyncInfo> sync) : sync_(sync) -{ - setProtocol(prot); - } - GameConcurrentClient(std::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, std::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot, std::shared_ptr<::apache::thrift::async::TConcurrentClientSyncInfo> sync) : sync_(sync) -{ - setProtocol(iprot,oprot); - } - private: - void setProtocol(std::shared_ptr< ::apache::thrift::protocol::TProtocol> prot) { - setProtocol(prot,prot); - } - void setProtocol(std::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, std::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) { - piprot_=iprot; - poprot_=oprot; - iprot_ = iprot.get(); - oprot_ = oprot.get(); - } - public: - std::shared_ptr< ::apache::thrift::protocol::TProtocol> getInputProtocol() { - return piprot_; - } - std::shared_ptr< ::apache::thrift::protocol::TProtocol> getOutputProtocol() { - return poprot_; - } - void GetPlayerActions(PlayerActions& _return, const State& state) override; - int32_t send_GetPlayerActions(const State& state); - void recv_GetPlayerActions(PlayerActions& _return, const int32_t seqid); - void GetCoachActions(CoachActions& _return, const State& state) override; - int32_t send_GetCoachActions(const State& state); - void recv_GetCoachActions(CoachActions& _return, const int32_t seqid); - void GetTrainerActions(TrainerActions& _return, const State& state) override; - int32_t send_GetTrainerActions(const State& state); - void recv_GetTrainerActions(TrainerActions& _return, const int32_t seqid); - void SendInitMessage(Empty& _return, const InitMessage& init_message) override; - int32_t send_SendInitMessage(const InitMessage& init_message); - void recv_SendInitMessage(Empty& _return, const int32_t seqid); - void SendServerParams(Empty& _return, const ServerParam& server_param) override; - int32_t send_SendServerParams(const ServerParam& server_param); - void recv_SendServerParams(Empty& _return, const int32_t seqid); - void SendPlayerParams(Empty& _return, const PlayerParam& player_param) override; - int32_t send_SendPlayerParams(const PlayerParam& player_param); - void recv_SendPlayerParams(Empty& _return, const int32_t seqid); - void SendPlayerType(Empty& _return, const PlayerType& player_type) override; - int32_t send_SendPlayerType(const PlayerType& player_type); - void recv_SendPlayerType(Empty& _return, const int32_t seqid); - void Register(RegisterResponse& _return, const RegisterRequest& request) override; - int32_t send_Register(const RegisterRequest& request); - void recv_Register(RegisterResponse& _return, const int32_t seqid); - void SendByeCommand(Empty& _return, const RegisterResponse& register_response) override; - int32_t send_SendByeCommand(const RegisterResponse& register_response); - void recv_SendByeCommand(Empty& _return, const int32_t seqid); - void GetBestPlannerAction(BestPlannerActionResponse& _return, const BestPlannerActionRequest& best_planner_action_request) override; - int32_t send_GetBestPlannerAction(const BestPlannerActionRequest& best_planner_action_request); - void recv_GetBestPlannerAction(BestPlannerActionResponse& _return, const int32_t seqid); - protected: - std::shared_ptr< ::apache::thrift::protocol::TProtocol> piprot_; - std::shared_ptr< ::apache::thrift::protocol::TProtocol> poprot_; - ::apache::thrift::protocol::TProtocol* iprot_; - ::apache::thrift::protocol::TProtocol* oprot_; - std::shared_ptr<::apache::thrift::async::TConcurrentClientSyncInfo> sync_; -}; - -#ifdef _MSC_VER - #pragma warning( pop ) -#endif - -} // namespace - -#endif diff --git a/idl/thrift/gen-cpp/Game_server.skeleton.cpp b/idl/thrift/gen-cpp/Game_server.skeleton.cpp deleted file mode 100644 index 843b101..0000000 --- a/idl/thrift/gen-cpp/Game_server.skeleton.cpp +++ /dev/null @@ -1,87 +0,0 @@ -// This autogenerated skeleton file illustrates how to build a server. -// You should copy it to another filename to avoid overwriting it. - -#include "Game.h" -#include -#include -#include -#include - -using namespace ::apache::thrift; -using namespace ::apache::thrift::protocol; -using namespace ::apache::thrift::transport; -using namespace ::apache::thrift::server; - -using namespace ::soccer; - -class GameHandler : virtual public GameIf { - public: - GameHandler() { - // Your initialization goes here - } - - void GetPlayerActions(PlayerActions& _return, const State& state) { - // Your implementation goes here - printf("GetPlayerActions\n"); - } - - void GetCoachActions(CoachActions& _return, const State& state) { - // Your implementation goes here - printf("GetCoachActions\n"); - } - - void GetTrainerActions(TrainerActions& _return, const State& state) { - // Your implementation goes here - printf("GetTrainerActions\n"); - } - - void SendInitMessage(Empty& _return, const InitMessage& init_message) { - // Your implementation goes here - printf("SendInitMessage\n"); - } - - void SendServerParams(Empty& _return, const ServerParam& server_param) { - // Your implementation goes here - printf("SendServerParams\n"); - } - - void SendPlayerParams(Empty& _return, const PlayerParam& player_param) { - // Your implementation goes here - printf("SendPlayerParams\n"); - } - - void SendPlayerType(Empty& _return, const PlayerType& player_type) { - // Your implementation goes here - printf("SendPlayerType\n"); - } - - void Register(RegisterResponse& _return, const RegisterRequest& request) { - // Your implementation goes here - printf("Register\n"); - } - - void SendByeCommand(Empty& _return, const RegisterResponse& register_response) { - // Your implementation goes here - printf("SendByeCommand\n"); - } - - void GetBestPlannerAction(BestPlannerActionResponse& _return, const BestPlannerActionRequest& best_planner_action_request) { - // Your implementation goes here - printf("GetBestPlannerAction\n"); - } - -}; - -int main(int argc, char **argv) { - int port = 9090; - ::std::shared_ptr handler(new GameHandler()); - ::std::shared_ptr processor(new GameProcessor(handler)); - ::std::shared_ptr serverTransport(new TServerSocket(port)); - ::std::shared_ptr transportFactory(new TBufferedTransportFactory()); - ::std::shared_ptr protocolFactory(new TBinaryProtocolFactory()); - - TSimpleServer server(processor, serverTransport, transportFactory, protocolFactory); - server.serve(); - return 0; -} - diff --git a/idl/thrift/gen-cpp/soccer_service_types.cpp b/idl/thrift/gen-cpp/soccer_service_types.cpp deleted file mode 100644 index 13f9d1b..0000000 --- a/idl/thrift/gen-cpp/soccer_service_types.cpp +++ /dev/null @@ -1,25351 +0,0 @@ -/** - * Autogenerated by Thrift Compiler (0.16.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -#include "soccer_service_types.h" - -#include -#include - -#include - -namespace soccer { - -int _kViewWidthValues[] = { - ViewWidth::NARROW, - ViewWidth::NORMAL, - ViewWidth::WIDE -}; -const char* _kViewWidthNames[] = { - "NARROW", - "NORMAL", - "WIDE" -}; -const std::map _ViewWidth_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(3, _kViewWidthValues, _kViewWidthNames), ::apache::thrift::TEnumIterator(-1, nullptr, nullptr)); - -std::ostream& operator<<(std::ostream& out, const ViewWidth::type& val) { - std::map::const_iterator it = _ViewWidth_VALUES_TO_NAMES.find(val); - if (it != _ViewWidth_VALUES_TO_NAMES.end()) { - out << it->second; - } else { - out << static_cast(val); - } - return out; -} - -std::string to_string(const ViewWidth::type& val) { - std::map::const_iterator it = _ViewWidth_VALUES_TO_NAMES.find(val); - if (it != _ViewWidth_VALUES_TO_NAMES.end()) { - return std::string(it->second); - } else { - return std::to_string(static_cast(val)); - } -} - -int _kAgentTypeValues[] = { - AgentType::PlayerT, - AgentType::CoachT, - AgentType::TrainerT -}; -const char* _kAgentTypeNames[] = { - "PlayerT", - "CoachT", - "TrainerT" -}; -const std::map _AgentType_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(3, _kAgentTypeValues, _kAgentTypeNames), ::apache::thrift::TEnumIterator(-1, nullptr, nullptr)); - -std::ostream& operator<<(std::ostream& out, const AgentType::type& val) { - std::map::const_iterator it = _AgentType_VALUES_TO_NAMES.find(val); - if (it != _AgentType_VALUES_TO_NAMES.end()) { - out << it->second; - } else { - out << static_cast(val); - } - return out; -} - -std::string to_string(const AgentType::type& val) { - std::map::const_iterator it = _AgentType_VALUES_TO_NAMES.find(val); - if (it != _AgentType_VALUES_TO_NAMES.end()) { - return std::string(it->second); - } else { - return std::to_string(static_cast(val)); - } -} - -int _kSideValues[] = { - Side::UNKNOWN, - Side::LEFT, - Side::RIGHT -}; -const char* _kSideNames[] = { - "UNKNOWN", - "LEFT", - "RIGHT" -}; -const std::map _Side_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(3, _kSideValues, _kSideNames), ::apache::thrift::TEnumIterator(-1, nullptr, nullptr)); - -std::ostream& operator<<(std::ostream& out, const Side::type& val) { - std::map::const_iterator it = _Side_VALUES_TO_NAMES.find(val); - if (it != _Side_VALUES_TO_NAMES.end()) { - out << it->second; - } else { - out << static_cast(val); - } - return out; -} - -std::string to_string(const Side::type& val) { - std::map::const_iterator it = _Side_VALUES_TO_NAMES.find(val); - if (it != _Side_VALUES_TO_NAMES.end()) { - return std::string(it->second); - } else { - return std::to_string(static_cast(val)); - } -} - -int _kLoggerLevelValues[] = { - LoggerLevel::NoneLevel, - LoggerLevel::SYSTEM, - LoggerLevel::SENSOR, - LoggerLevel::WORLD, - LoggerLevel::ACTION, - LoggerLevel::INTERCEPT, - LoggerLevel::KICK, - LoggerLevel::HOLD, - LoggerLevel::DRIBBLE, - LoggerLevel::PASS, - LoggerLevel::CROSS, - LoggerLevel::SHOOT, - LoggerLevel::CLEAR, - LoggerLevel::BLOCK, - LoggerLevel::MARK, - LoggerLevel::POSITIONING, - LoggerLevel::ROLE, - LoggerLevel::TEAM, - LoggerLevel::COMMUNICATION, - LoggerLevel::ANALYZER, - LoggerLevel::ACTION_CHAIN, - LoggerLevel::PLAN -}; -const char* _kLoggerLevelNames[] = { - "NoneLevel", - "SYSTEM", - "SENSOR", - "WORLD", - "ACTION", - "INTERCEPT", - "KICK", - "HOLD", - "DRIBBLE", - "PASS", - "CROSS", - "SHOOT", - "CLEAR", - "BLOCK", - "MARK", - "POSITIONING", - "ROLE", - "TEAM", - "COMMUNICATION", - "ANALYZER", - "ACTION_CHAIN", - "PLAN" -}; -const std::map _LoggerLevel_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(22, _kLoggerLevelValues, _kLoggerLevelNames), ::apache::thrift::TEnumIterator(-1, nullptr, nullptr)); - -std::ostream& operator<<(std::ostream& out, const LoggerLevel::type& val) { - std::map::const_iterator it = _LoggerLevel_VALUES_TO_NAMES.find(val); - if (it != _LoggerLevel_VALUES_TO_NAMES.end()) { - out << it->second; - } else { - out << static_cast(val); - } - return out; -} - -std::string to_string(const LoggerLevel::type& val) { - std::map::const_iterator it = _LoggerLevel_VALUES_TO_NAMES.find(val); - if (it != _LoggerLevel_VALUES_TO_NAMES.end()) { - return std::string(it->second); - } else { - return std::to_string(static_cast(val)); - } -} - -int _kInterceptActionTypeValues[] = { - InterceptActionType::UNKNOWN_Intercept_Action_Type, - InterceptActionType::OMNI_DASH, - InterceptActionType::TURN_FORWARD_DASH, - InterceptActionType::TURN_BACKWARD_DASH -}; -const char* _kInterceptActionTypeNames[] = { - "UNKNOWN_Intercept_Action_Type", - "OMNI_DASH", - "TURN_FORWARD_DASH", - "TURN_BACKWARD_DASH" -}; -const std::map _InterceptActionType_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(4, _kInterceptActionTypeValues, _kInterceptActionTypeNames), ::apache::thrift::TEnumIterator(-1, nullptr, nullptr)); - -std::ostream& operator<<(std::ostream& out, const InterceptActionType::type& val) { - std::map::const_iterator it = _InterceptActionType_VALUES_TO_NAMES.find(val); - if (it != _InterceptActionType_VALUES_TO_NAMES.end()) { - out << it->second; - } else { - out << static_cast(val); - } - return out; -} - -std::string to_string(const InterceptActionType::type& val) { - std::map::const_iterator it = _InterceptActionType_VALUES_TO_NAMES.find(val); - if (it != _InterceptActionType_VALUES_TO_NAMES.end()) { - return std::string(it->second); - } else { - return std::to_string(static_cast(val)); - } -} - -int _kGameModeTypeValues[] = { - GameModeType::BeforeKickOff, - GameModeType::TimeOver, - GameModeType::PlayOn, - GameModeType::KickOff_, - GameModeType::KickIn_, - GameModeType::FreeKick_, - GameModeType::CornerKick_, - GameModeType::GoalKick_, - GameModeType::AfterGoal_, - GameModeType::OffSide_, - GameModeType::PenaltyKick_, - GameModeType::FirstHalfOver, - GameModeType::Pause, - GameModeType::Human, - GameModeType::FoulCharge_, - GameModeType::FoulPush_, - GameModeType::FoulMultipleAttacker_, - GameModeType::FoulBallOut_, - GameModeType::BackPass_, - GameModeType::FreeKickFault_, - GameModeType::CatchFault_, - GameModeType::IndFreeKick_, - GameModeType::PenaltySetup_, - GameModeType::PenaltyReady_, - GameModeType::PenaltyTaken_, - GameModeType::PenaltyMiss_, - GameModeType::PenaltyScore_, - GameModeType::IllegalDefense_, - GameModeType::PenaltyOnfield_, - GameModeType::PenaltyFoul_, - GameModeType::GoalieCatch_, - GameModeType::ExtendHalf, - GameModeType::MODE_MAX -}; -const char* _kGameModeTypeNames[] = { - "BeforeKickOff", - "TimeOver", - "PlayOn", - "KickOff_", - "KickIn_", - "FreeKick_", - "CornerKick_", - "GoalKick_", - "AfterGoal_", - "OffSide_", - "PenaltyKick_", - "FirstHalfOver", - "Pause", - "Human", - "FoulCharge_", - "FoulPush_", - "FoulMultipleAttacker_", - "FoulBallOut_", - "BackPass_", - "FreeKickFault_", - "CatchFault_", - "IndFreeKick_", - "PenaltySetup_", - "PenaltyReady_", - "PenaltyTaken_", - "PenaltyMiss_", - "PenaltyScore_", - "IllegalDefense_", - "PenaltyOnfield_", - "PenaltyFoul_", - "GoalieCatch_", - "ExtendHalf", - "MODE_MAX" -}; -const std::map _GameModeType_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(33, _kGameModeTypeValues, _kGameModeTypeNames), ::apache::thrift::TEnumIterator(-1, nullptr, nullptr)); - -std::ostream& operator<<(std::ostream& out, const GameModeType::type& val) { - std::map::const_iterator it = _GameModeType_VALUES_TO_NAMES.find(val); - if (it != _GameModeType_VALUES_TO_NAMES.end()) { - out << it->second; - } else { - out << static_cast(val); - } - return out; -} - -std::string to_string(const GameModeType::type& val) { - std::map::const_iterator it = _GameModeType_VALUES_TO_NAMES.find(val); - if (it != _GameModeType_VALUES_TO_NAMES.end()) { - return std::string(it->second); - } else { - return std::to_string(static_cast(val)); - } -} - -int _kRpcActionCategoryValues[] = { - RpcActionCategory::AC_Hold, - RpcActionCategory::AC_Dribble, - RpcActionCategory::AC_Pass, - RpcActionCategory::AC_Shoot, - RpcActionCategory::AC_Clear, - RpcActionCategory::AC_Move, - RpcActionCategory::AC_NoAction -}; -const char* _kRpcActionCategoryNames[] = { - "AC_Hold", - "AC_Dribble", - "AC_Pass", - "AC_Shoot", - "AC_Clear", - "AC_Move", - "AC_NoAction" -}; -const std::map _RpcActionCategory_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(7, _kRpcActionCategoryValues, _kRpcActionCategoryNames), ::apache::thrift::TEnumIterator(-1, nullptr, nullptr)); - -std::ostream& operator<<(std::ostream& out, const RpcActionCategory::type& val) { - std::map::const_iterator it = _RpcActionCategory_VALUES_TO_NAMES.find(val); - if (it != _RpcActionCategory_VALUES_TO_NAMES.end()) { - out << it->second; - } else { - out << static_cast(val); - } - return out; -} - -std::string to_string(const RpcActionCategory::type& val) { - std::map::const_iterator it = _RpcActionCategory_VALUES_TO_NAMES.find(val); - if (it != _RpcActionCategory_VALUES_TO_NAMES.end()) { - return std::string(it->second); - } else { - return std::to_string(static_cast(val)); - } -} - - -RpcVector2D::~RpcVector2D() noexcept { -} - - -void RpcVector2D::__set_x(const double val) { - this->x = val; -} - -void RpcVector2D::__set_y(const double val) { - this->y = val; -} - -void RpcVector2D::__set_dist(const double val) { - this->dist = val; -} - -void RpcVector2D::__set_angle(const double val) { - this->angle = val; -} -std::ostream& operator<<(std::ostream& out, const RpcVector2D& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t RpcVector2D::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->x); - this->__isset.x = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->y); - this->__isset.y = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->dist); - this->__isset.dist = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->angle); - this->__isset.angle = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t RpcVector2D::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("RpcVector2D"); - - xfer += oprot->writeFieldBegin("x", ::apache::thrift::protocol::T_DOUBLE, 1); - xfer += oprot->writeDouble(this->x); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("y", ::apache::thrift::protocol::T_DOUBLE, 2); - xfer += oprot->writeDouble(this->y); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("dist", ::apache::thrift::protocol::T_DOUBLE, 3); - xfer += oprot->writeDouble(this->dist); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("angle", ::apache::thrift::protocol::T_DOUBLE, 4); - xfer += oprot->writeDouble(this->angle); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(RpcVector2D &a, RpcVector2D &b) { - using ::std::swap; - swap(a.x, b.x); - swap(a.y, b.y); - swap(a.dist, b.dist); - swap(a.angle, b.angle); - swap(a.__isset, b.__isset); -} - -RpcVector2D::RpcVector2D(const RpcVector2D& other0) noexcept { - x = other0.x; - y = other0.y; - dist = other0.dist; - angle = other0.angle; - __isset = other0.__isset; -} -RpcVector2D& RpcVector2D::operator=(const RpcVector2D& other1) noexcept { - x = other1.x; - y = other1.y; - dist = other1.dist; - angle = other1.angle; - __isset = other1.__isset; - return *this; -} -void RpcVector2D::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "RpcVector2D("; - out << "x=" << to_string(x); - out << ", " << "y=" << to_string(y); - out << ", " << "dist=" << to_string(dist); - out << ", " << "angle=" << to_string(angle); - out << ")"; -} - - -RegisterRequest::~RegisterRequest() noexcept { -} - - -void RegisterRequest::__set_agent_type(const AgentType::type val) { - this->agent_type = val; -} - -void RegisterRequest::__set_team_name(const std::string& val) { - this->team_name = val; -} - -void RegisterRequest::__set_uniform_number(const int32_t val) { - this->uniform_number = val; -} -std::ostream& operator<<(std::ostream& out, const RegisterRequest& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t RegisterRequest::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast2; - xfer += iprot->readI32(ecast2); - this->agent_type = static_cast(ecast2); - this->__isset.agent_type = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->team_name); - this->__isset.team_name = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->uniform_number); - this->__isset.uniform_number = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t RegisterRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("RegisterRequest"); - - xfer += oprot->writeFieldBegin("agent_type", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(static_cast(this->agent_type)); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("team_name", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString(this->team_name); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("uniform_number", ::apache::thrift::protocol::T_I32, 3); - xfer += oprot->writeI32(this->uniform_number); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(RegisterRequest &a, RegisterRequest &b) { - using ::std::swap; - swap(a.agent_type, b.agent_type); - swap(a.team_name, b.team_name); - swap(a.uniform_number, b.uniform_number); - swap(a.__isset, b.__isset); -} - -RegisterRequest::RegisterRequest(const RegisterRequest& other3) { - agent_type = other3.agent_type; - team_name = other3.team_name; - uniform_number = other3.uniform_number; - __isset = other3.__isset; -} -RegisterRequest& RegisterRequest::operator=(const RegisterRequest& other4) { - agent_type = other4.agent_type; - team_name = other4.team_name; - uniform_number = other4.uniform_number; - __isset = other4.__isset; - return *this; -} -void RegisterRequest::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "RegisterRequest("; - out << "agent_type=" << to_string(agent_type); - out << ", " << "team_name=" << to_string(team_name); - out << ", " << "uniform_number=" << to_string(uniform_number); - out << ")"; -} - - -RegisterResponse::~RegisterResponse() noexcept { -} - - -void RegisterResponse::__set_client_id(const int32_t val) { - this->client_id = val; -} - -void RegisterResponse::__set_agent_type(const AgentType::type val) { - this->agent_type = val; -} - -void RegisterResponse::__set_team_name(const std::string& val) { - this->team_name = val; -} - -void RegisterResponse::__set_uniform_number(const int32_t val) { - this->uniform_number = val; -} -std::ostream& operator<<(std::ostream& out, const RegisterResponse& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t RegisterResponse::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->client_id); - this->__isset.client_id = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast5; - xfer += iprot->readI32(ecast5); - this->agent_type = static_cast(ecast5); - this->__isset.agent_type = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->team_name); - this->__isset.team_name = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->uniform_number); - this->__isset.uniform_number = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t RegisterResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("RegisterResponse"); - - xfer += oprot->writeFieldBegin("client_id", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(this->client_id); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("agent_type", ::apache::thrift::protocol::T_I32, 2); - xfer += oprot->writeI32(static_cast(this->agent_type)); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("team_name", ::apache::thrift::protocol::T_STRING, 3); - xfer += oprot->writeString(this->team_name); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("uniform_number", ::apache::thrift::protocol::T_I32, 4); - xfer += oprot->writeI32(this->uniform_number); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(RegisterResponse &a, RegisterResponse &b) { - using ::std::swap; - swap(a.client_id, b.client_id); - swap(a.agent_type, b.agent_type); - swap(a.team_name, b.team_name); - swap(a.uniform_number, b.uniform_number); - swap(a.__isset, b.__isset); -} - -RegisterResponse::RegisterResponse(const RegisterResponse& other6) { - client_id = other6.client_id; - agent_type = other6.agent_type; - team_name = other6.team_name; - uniform_number = other6.uniform_number; - __isset = other6.__isset; -} -RegisterResponse& RegisterResponse::operator=(const RegisterResponse& other7) { - client_id = other7.client_id; - agent_type = other7.agent_type; - team_name = other7.team_name; - uniform_number = other7.uniform_number; - __isset = other7.__isset; - return *this; -} -void RegisterResponse::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "RegisterResponse("; - out << "client_id=" << to_string(client_id); - out << ", " << "agent_type=" << to_string(agent_type); - out << ", " << "team_name=" << to_string(team_name); - out << ", " << "uniform_number=" << to_string(uniform_number); - out << ")"; -} - - -Ball::~Ball() noexcept { -} - - -void Ball::__set_position(const RpcVector2D& val) { - this->position = val; -} - -void Ball::__set_relative_position(const RpcVector2D& val) { - this->relative_position = val; -} - -void Ball::__set_seen_position(const RpcVector2D& val) { - this->seen_position = val; -} - -void Ball::__set_heard_position(const RpcVector2D& val) { - this->heard_position = val; -} - -void Ball::__set_velocity(const RpcVector2D& val) { - this->velocity = val; -} - -void Ball::__set_seen_velocity(const RpcVector2D& val) { - this->seen_velocity = val; -} - -void Ball::__set_heard_velocity(const RpcVector2D& val) { - this->heard_velocity = val; -} - -void Ball::__set_pos_count(const int32_t val) { - this->pos_count = val; -} - -void Ball::__set_seen_pos_count(const int32_t val) { - this->seen_pos_count = val; -} - -void Ball::__set_heard_pos_count(const int32_t val) { - this->heard_pos_count = val; -} - -void Ball::__set_vel_count(const int32_t val) { - this->vel_count = val; -} - -void Ball::__set_seen_vel_count(const int32_t val) { - this->seen_vel_count = val; -} - -void Ball::__set_heard_vel_count(const int32_t val) { - this->heard_vel_count = val; -} - -void Ball::__set_lost_count(const int32_t val) { - this->lost_count = val; -} - -void Ball::__set_ghost_count(const int32_t val) { - this->ghost_count = val; -} - -void Ball::__set_dist_from_self(const double val) { - this->dist_from_self = val; -} - -void Ball::__set_angle_from_self(const double val) { - this->angle_from_self = val; -} -std::ostream& operator<<(std::ostream& out, const Ball& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Ball::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->position.read(iprot); - this->__isset.position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->relative_position.read(iprot); - this->__isset.relative_position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->seen_position.read(iprot); - this->__isset.seen_position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->heard_position.read(iprot); - this->__isset.heard_position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->velocity.read(iprot); - this->__isset.velocity = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 6: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->seen_velocity.read(iprot); - this->__isset.seen_velocity = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 7: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->heard_velocity.read(iprot); - this->__isset.heard_velocity = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 8: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->pos_count); - this->__isset.pos_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 9: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->seen_pos_count); - this->__isset.seen_pos_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 10: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->heard_pos_count); - this->__isset.heard_pos_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 11: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->vel_count); - this->__isset.vel_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 12: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->seen_vel_count); - this->__isset.seen_vel_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 13: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->heard_vel_count); - this->__isset.heard_vel_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 14: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->lost_count); - this->__isset.lost_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 15: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->ghost_count); - this->__isset.ghost_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 16: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->dist_from_self); - this->__isset.dist_from_self = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 17: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->angle_from_self); - this->__isset.angle_from_self = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Ball::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Ball"); - - xfer += oprot->writeFieldBegin("position", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("relative_position", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->relative_position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("seen_position", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += this->seen_position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("heard_position", ::apache::thrift::protocol::T_STRUCT, 4); - xfer += this->heard_position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("velocity", ::apache::thrift::protocol::T_STRUCT, 5); - xfer += this->velocity.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("seen_velocity", ::apache::thrift::protocol::T_STRUCT, 6); - xfer += this->seen_velocity.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("heard_velocity", ::apache::thrift::protocol::T_STRUCT, 7); - xfer += this->heard_velocity.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("pos_count", ::apache::thrift::protocol::T_I32, 8); - xfer += oprot->writeI32(this->pos_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("seen_pos_count", ::apache::thrift::protocol::T_I32, 9); - xfer += oprot->writeI32(this->seen_pos_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("heard_pos_count", ::apache::thrift::protocol::T_I32, 10); - xfer += oprot->writeI32(this->heard_pos_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("vel_count", ::apache::thrift::protocol::T_I32, 11); - xfer += oprot->writeI32(this->vel_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("seen_vel_count", ::apache::thrift::protocol::T_I32, 12); - xfer += oprot->writeI32(this->seen_vel_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("heard_vel_count", ::apache::thrift::protocol::T_I32, 13); - xfer += oprot->writeI32(this->heard_vel_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("lost_count", ::apache::thrift::protocol::T_I32, 14); - xfer += oprot->writeI32(this->lost_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("ghost_count", ::apache::thrift::protocol::T_I32, 15); - xfer += oprot->writeI32(this->ghost_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("dist_from_self", ::apache::thrift::protocol::T_DOUBLE, 16); - xfer += oprot->writeDouble(this->dist_from_self); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("angle_from_self", ::apache::thrift::protocol::T_DOUBLE, 17); - xfer += oprot->writeDouble(this->angle_from_self); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Ball &a, Ball &b) { - using ::std::swap; - swap(a.position, b.position); - swap(a.relative_position, b.relative_position); - swap(a.seen_position, b.seen_position); - swap(a.heard_position, b.heard_position); - swap(a.velocity, b.velocity); - swap(a.seen_velocity, b.seen_velocity); - swap(a.heard_velocity, b.heard_velocity); - swap(a.pos_count, b.pos_count); - swap(a.seen_pos_count, b.seen_pos_count); - swap(a.heard_pos_count, b.heard_pos_count); - swap(a.vel_count, b.vel_count); - swap(a.seen_vel_count, b.seen_vel_count); - swap(a.heard_vel_count, b.heard_vel_count); - swap(a.lost_count, b.lost_count); - swap(a.ghost_count, b.ghost_count); - swap(a.dist_from_self, b.dist_from_self); - swap(a.angle_from_self, b.angle_from_self); - swap(a.__isset, b.__isset); -} - -Ball::Ball(const Ball& other8) noexcept { - position = other8.position; - relative_position = other8.relative_position; - seen_position = other8.seen_position; - heard_position = other8.heard_position; - velocity = other8.velocity; - seen_velocity = other8.seen_velocity; - heard_velocity = other8.heard_velocity; - pos_count = other8.pos_count; - seen_pos_count = other8.seen_pos_count; - heard_pos_count = other8.heard_pos_count; - vel_count = other8.vel_count; - seen_vel_count = other8.seen_vel_count; - heard_vel_count = other8.heard_vel_count; - lost_count = other8.lost_count; - ghost_count = other8.ghost_count; - dist_from_self = other8.dist_from_self; - angle_from_self = other8.angle_from_self; - __isset = other8.__isset; -} -Ball& Ball::operator=(const Ball& other9) noexcept { - position = other9.position; - relative_position = other9.relative_position; - seen_position = other9.seen_position; - heard_position = other9.heard_position; - velocity = other9.velocity; - seen_velocity = other9.seen_velocity; - heard_velocity = other9.heard_velocity; - pos_count = other9.pos_count; - seen_pos_count = other9.seen_pos_count; - heard_pos_count = other9.heard_pos_count; - vel_count = other9.vel_count; - seen_vel_count = other9.seen_vel_count; - heard_vel_count = other9.heard_vel_count; - lost_count = other9.lost_count; - ghost_count = other9.ghost_count; - dist_from_self = other9.dist_from_self; - angle_from_self = other9.angle_from_self; - __isset = other9.__isset; - return *this; -} -void Ball::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Ball("; - out << "position=" << to_string(position); - out << ", " << "relative_position=" << to_string(relative_position); - out << ", " << "seen_position=" << to_string(seen_position); - out << ", " << "heard_position=" << to_string(heard_position); - out << ", " << "velocity=" << to_string(velocity); - out << ", " << "seen_velocity=" << to_string(seen_velocity); - out << ", " << "heard_velocity=" << to_string(heard_velocity); - out << ", " << "pos_count=" << to_string(pos_count); - out << ", " << "seen_pos_count=" << to_string(seen_pos_count); - out << ", " << "heard_pos_count=" << to_string(heard_pos_count); - out << ", " << "vel_count=" << to_string(vel_count); - out << ", " << "seen_vel_count=" << to_string(seen_vel_count); - out << ", " << "heard_vel_count=" << to_string(heard_vel_count); - out << ", " << "lost_count=" << to_string(lost_count); - out << ", " << "ghost_count=" << to_string(ghost_count); - out << ", " << "dist_from_self=" << to_string(dist_from_self); - out << ", " << "angle_from_self=" << to_string(angle_from_self); - out << ")"; -} - - -Player::~Player() noexcept { -} - - -void Player::__set_position(const RpcVector2D& val) { - this->position = val; -} - -void Player::__set_seen_position(const RpcVector2D& val) { - this->seen_position = val; -} - -void Player::__set_heard_position(const RpcVector2D& val) { - this->heard_position = val; -} - -void Player::__set_velocity(const RpcVector2D& val) { - this->velocity = val; -} - -void Player::__set_seen_velocity(const RpcVector2D& val) { - this->seen_velocity = val; -} - -void Player::__set_pos_count(const int32_t val) { - this->pos_count = val; -} - -void Player::__set_seen_pos_count(const int32_t val) { - this->seen_pos_count = val; -} - -void Player::__set_heard_pos_count(const int32_t val) { - this->heard_pos_count = val; -} - -void Player::__set_vel_count(const int32_t val) { - this->vel_count = val; -} - -void Player::__set_seen_vel_count(const int32_t val) { - this->seen_vel_count = val; -} - -void Player::__set_ghost_count(const int32_t val) { - this->ghost_count = val; -} - -void Player::__set_dist_from_self(const double val) { - this->dist_from_self = val; -} - -void Player::__set_angle_from_self(const double val) { - this->angle_from_self = val; -} - -void Player::__set_id(const int32_t val) { - this->id = val; -} - -void Player::__set_side(const Side::type val) { - this->side = val; -} - -void Player::__set_uniform_number(const int32_t val) { - this->uniform_number = val; -} - -void Player::__set_uniform_number_count(const int32_t val) { - this->uniform_number_count = val; -} - -void Player::__set_is_goalie(const bool val) { - this->is_goalie = val; -} - -void Player::__set_body_direction(const double val) { - this->body_direction = val; -} - -void Player::__set_body_direction_count(const int32_t val) { - this->body_direction_count = val; -} - -void Player::__set_face_direction(const double val) { - this->face_direction = val; -} - -void Player::__set_face_direction_count(const int32_t val) { - this->face_direction_count = val; -} - -void Player::__set_point_to_direction(const double val) { - this->point_to_direction = val; -} - -void Player::__set_point_to_direction_count(const int32_t val) { - this->point_to_direction_count = val; -} - -void Player::__set_is_kicking(const bool val) { - this->is_kicking = val; -} - -void Player::__set_dist_from_ball(const double val) { - this->dist_from_ball = val; -} - -void Player::__set_angle_from_ball(const double val) { - this->angle_from_ball = val; -} - -void Player::__set_ball_reach_steps(const int32_t val) { - this->ball_reach_steps = val; -} - -void Player::__set_is_tackling(const bool val) { - this->is_tackling = val; -} - -void Player::__set_type_id(const int32_t val) { - this->type_id = val; -} -std::ostream& operator<<(std::ostream& out, const Player& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Player::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->position.read(iprot); - this->__isset.position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->seen_position.read(iprot); - this->__isset.seen_position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->heard_position.read(iprot); - this->__isset.heard_position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->velocity.read(iprot); - this->__isset.velocity = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->seen_velocity.read(iprot); - this->__isset.seen_velocity = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 6: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->pos_count); - this->__isset.pos_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 7: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->seen_pos_count); - this->__isset.seen_pos_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 8: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->heard_pos_count); - this->__isset.heard_pos_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 9: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->vel_count); - this->__isset.vel_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 10: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->seen_vel_count); - this->__isset.seen_vel_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 11: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->ghost_count); - this->__isset.ghost_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 12: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->dist_from_self); - this->__isset.dist_from_self = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 13: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->angle_from_self); - this->__isset.angle_from_self = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 14: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->id); - this->__isset.id = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 15: - if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast10; - xfer += iprot->readI32(ecast10); - this->side = static_cast(ecast10); - this->__isset.side = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 16: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->uniform_number); - this->__isset.uniform_number = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 17: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->uniform_number_count); - this->__isset.uniform_number_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 18: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->is_goalie); - this->__isset.is_goalie = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 19: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->body_direction); - this->__isset.body_direction = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 20: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->body_direction_count); - this->__isset.body_direction_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 21: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->face_direction); - this->__isset.face_direction = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 22: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->face_direction_count); - this->__isset.face_direction_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 23: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->point_to_direction); - this->__isset.point_to_direction = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 24: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->point_to_direction_count); - this->__isset.point_to_direction_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 25: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->is_kicking); - this->__isset.is_kicking = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 26: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->dist_from_ball); - this->__isset.dist_from_ball = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 27: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->angle_from_ball); - this->__isset.angle_from_ball = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 28: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->ball_reach_steps); - this->__isset.ball_reach_steps = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 29: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->is_tackling); - this->__isset.is_tackling = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 30: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->type_id); - this->__isset.type_id = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Player::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Player"); - - xfer += oprot->writeFieldBegin("position", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("seen_position", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->seen_position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("heard_position", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += this->heard_position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("velocity", ::apache::thrift::protocol::T_STRUCT, 4); - xfer += this->velocity.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("seen_velocity", ::apache::thrift::protocol::T_STRUCT, 5); - xfer += this->seen_velocity.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("pos_count", ::apache::thrift::protocol::T_I32, 6); - xfer += oprot->writeI32(this->pos_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("seen_pos_count", ::apache::thrift::protocol::T_I32, 7); - xfer += oprot->writeI32(this->seen_pos_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("heard_pos_count", ::apache::thrift::protocol::T_I32, 8); - xfer += oprot->writeI32(this->heard_pos_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("vel_count", ::apache::thrift::protocol::T_I32, 9); - xfer += oprot->writeI32(this->vel_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("seen_vel_count", ::apache::thrift::protocol::T_I32, 10); - xfer += oprot->writeI32(this->seen_vel_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("ghost_count", ::apache::thrift::protocol::T_I32, 11); - xfer += oprot->writeI32(this->ghost_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("dist_from_self", ::apache::thrift::protocol::T_DOUBLE, 12); - xfer += oprot->writeDouble(this->dist_from_self); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("angle_from_self", ::apache::thrift::protocol::T_DOUBLE, 13); - xfer += oprot->writeDouble(this->angle_from_self); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("id", ::apache::thrift::protocol::T_I32, 14); - xfer += oprot->writeI32(this->id); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("side", ::apache::thrift::protocol::T_I32, 15); - xfer += oprot->writeI32(static_cast(this->side)); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("uniform_number", ::apache::thrift::protocol::T_I32, 16); - xfer += oprot->writeI32(this->uniform_number); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("uniform_number_count", ::apache::thrift::protocol::T_I32, 17); - xfer += oprot->writeI32(this->uniform_number_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("is_goalie", ::apache::thrift::protocol::T_BOOL, 18); - xfer += oprot->writeBool(this->is_goalie); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("body_direction", ::apache::thrift::protocol::T_DOUBLE, 19); - xfer += oprot->writeDouble(this->body_direction); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("body_direction_count", ::apache::thrift::protocol::T_I32, 20); - xfer += oprot->writeI32(this->body_direction_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("face_direction", ::apache::thrift::protocol::T_DOUBLE, 21); - xfer += oprot->writeDouble(this->face_direction); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("face_direction_count", ::apache::thrift::protocol::T_I32, 22); - xfer += oprot->writeI32(this->face_direction_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("point_to_direction", ::apache::thrift::protocol::T_DOUBLE, 23); - xfer += oprot->writeDouble(this->point_to_direction); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("point_to_direction_count", ::apache::thrift::protocol::T_I32, 24); - xfer += oprot->writeI32(this->point_to_direction_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("is_kicking", ::apache::thrift::protocol::T_BOOL, 25); - xfer += oprot->writeBool(this->is_kicking); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("dist_from_ball", ::apache::thrift::protocol::T_DOUBLE, 26); - xfer += oprot->writeDouble(this->dist_from_ball); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("angle_from_ball", ::apache::thrift::protocol::T_DOUBLE, 27); - xfer += oprot->writeDouble(this->angle_from_ball); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("ball_reach_steps", ::apache::thrift::protocol::T_I32, 28); - xfer += oprot->writeI32(this->ball_reach_steps); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("is_tackling", ::apache::thrift::protocol::T_BOOL, 29); - xfer += oprot->writeBool(this->is_tackling); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("type_id", ::apache::thrift::protocol::T_I32, 30); - xfer += oprot->writeI32(this->type_id); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Player &a, Player &b) { - using ::std::swap; - swap(a.position, b.position); - swap(a.seen_position, b.seen_position); - swap(a.heard_position, b.heard_position); - swap(a.velocity, b.velocity); - swap(a.seen_velocity, b.seen_velocity); - swap(a.pos_count, b.pos_count); - swap(a.seen_pos_count, b.seen_pos_count); - swap(a.heard_pos_count, b.heard_pos_count); - swap(a.vel_count, b.vel_count); - swap(a.seen_vel_count, b.seen_vel_count); - swap(a.ghost_count, b.ghost_count); - swap(a.dist_from_self, b.dist_from_self); - swap(a.angle_from_self, b.angle_from_self); - swap(a.id, b.id); - swap(a.side, b.side); - swap(a.uniform_number, b.uniform_number); - swap(a.uniform_number_count, b.uniform_number_count); - swap(a.is_goalie, b.is_goalie); - swap(a.body_direction, b.body_direction); - swap(a.body_direction_count, b.body_direction_count); - swap(a.face_direction, b.face_direction); - swap(a.face_direction_count, b.face_direction_count); - swap(a.point_to_direction, b.point_to_direction); - swap(a.point_to_direction_count, b.point_to_direction_count); - swap(a.is_kicking, b.is_kicking); - swap(a.dist_from_ball, b.dist_from_ball); - swap(a.angle_from_ball, b.angle_from_ball); - swap(a.ball_reach_steps, b.ball_reach_steps); - swap(a.is_tackling, b.is_tackling); - swap(a.type_id, b.type_id); - swap(a.__isset, b.__isset); -} - -Player::Player(const Player& other11) noexcept { - position = other11.position; - seen_position = other11.seen_position; - heard_position = other11.heard_position; - velocity = other11.velocity; - seen_velocity = other11.seen_velocity; - pos_count = other11.pos_count; - seen_pos_count = other11.seen_pos_count; - heard_pos_count = other11.heard_pos_count; - vel_count = other11.vel_count; - seen_vel_count = other11.seen_vel_count; - ghost_count = other11.ghost_count; - dist_from_self = other11.dist_from_self; - angle_from_self = other11.angle_from_self; - id = other11.id; - side = other11.side; - uniform_number = other11.uniform_number; - uniform_number_count = other11.uniform_number_count; - is_goalie = other11.is_goalie; - body_direction = other11.body_direction; - body_direction_count = other11.body_direction_count; - face_direction = other11.face_direction; - face_direction_count = other11.face_direction_count; - point_to_direction = other11.point_to_direction; - point_to_direction_count = other11.point_to_direction_count; - is_kicking = other11.is_kicking; - dist_from_ball = other11.dist_from_ball; - angle_from_ball = other11.angle_from_ball; - ball_reach_steps = other11.ball_reach_steps; - is_tackling = other11.is_tackling; - type_id = other11.type_id; - __isset = other11.__isset; -} -Player& Player::operator=(const Player& other12) noexcept { - position = other12.position; - seen_position = other12.seen_position; - heard_position = other12.heard_position; - velocity = other12.velocity; - seen_velocity = other12.seen_velocity; - pos_count = other12.pos_count; - seen_pos_count = other12.seen_pos_count; - heard_pos_count = other12.heard_pos_count; - vel_count = other12.vel_count; - seen_vel_count = other12.seen_vel_count; - ghost_count = other12.ghost_count; - dist_from_self = other12.dist_from_self; - angle_from_self = other12.angle_from_self; - id = other12.id; - side = other12.side; - uniform_number = other12.uniform_number; - uniform_number_count = other12.uniform_number_count; - is_goalie = other12.is_goalie; - body_direction = other12.body_direction; - body_direction_count = other12.body_direction_count; - face_direction = other12.face_direction; - face_direction_count = other12.face_direction_count; - point_to_direction = other12.point_to_direction; - point_to_direction_count = other12.point_to_direction_count; - is_kicking = other12.is_kicking; - dist_from_ball = other12.dist_from_ball; - angle_from_ball = other12.angle_from_ball; - ball_reach_steps = other12.ball_reach_steps; - is_tackling = other12.is_tackling; - type_id = other12.type_id; - __isset = other12.__isset; - return *this; -} -void Player::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Player("; - out << "position=" << to_string(position); - out << ", " << "seen_position=" << to_string(seen_position); - out << ", " << "heard_position=" << to_string(heard_position); - out << ", " << "velocity=" << to_string(velocity); - out << ", " << "seen_velocity=" << to_string(seen_velocity); - out << ", " << "pos_count=" << to_string(pos_count); - out << ", " << "seen_pos_count=" << to_string(seen_pos_count); - out << ", " << "heard_pos_count=" << to_string(heard_pos_count); - out << ", " << "vel_count=" << to_string(vel_count); - out << ", " << "seen_vel_count=" << to_string(seen_vel_count); - out << ", " << "ghost_count=" << to_string(ghost_count); - out << ", " << "dist_from_self=" << to_string(dist_from_self); - out << ", " << "angle_from_self=" << to_string(angle_from_self); - out << ", " << "id=" << to_string(id); - out << ", " << "side=" << to_string(side); - out << ", " << "uniform_number=" << to_string(uniform_number); - out << ", " << "uniform_number_count=" << to_string(uniform_number_count); - out << ", " << "is_goalie=" << to_string(is_goalie); - out << ", " << "body_direction=" << to_string(body_direction); - out << ", " << "body_direction_count=" << to_string(body_direction_count); - out << ", " << "face_direction=" << to_string(face_direction); - out << ", " << "face_direction_count=" << to_string(face_direction_count); - out << ", " << "point_to_direction=" << to_string(point_to_direction); - out << ", " << "point_to_direction_count=" << to_string(point_to_direction_count); - out << ", " << "is_kicking=" << to_string(is_kicking); - out << ", " << "dist_from_ball=" << to_string(dist_from_ball); - out << ", " << "angle_from_ball=" << to_string(angle_from_ball); - out << ", " << "ball_reach_steps=" << to_string(ball_reach_steps); - out << ", " << "is_tackling=" << to_string(is_tackling); - out << ", " << "type_id=" << to_string(type_id); - out << ")"; -} - - -Self::~Self() noexcept { -} - - -void Self::__set_position(const RpcVector2D& val) { - this->position = val; -} - -void Self::__set_seen_position(const RpcVector2D& val) { - this->seen_position = val; -} - -void Self::__set_heard_position(const RpcVector2D& val) { - this->heard_position = val; -} - -void Self::__set_velocity(const RpcVector2D& val) { - this->velocity = val; -} - -void Self::__set_seen_velocity(const RpcVector2D& val) { - this->seen_velocity = val; -} - -void Self::__set_pos_count(const int32_t val) { - this->pos_count = val; -} - -void Self::__set_seen_pos_count(const int32_t val) { - this->seen_pos_count = val; -} - -void Self::__set_heard_pos_count(const int32_t val) { - this->heard_pos_count = val; -} - -void Self::__set_vel_count(const int32_t val) { - this->vel_count = val; -} - -void Self::__set_seen_vel_count(const int32_t val) { - this->seen_vel_count = val; -} - -void Self::__set_ghost_count(const int32_t val) { - this->ghost_count = val; -} - -void Self::__set_id(const int32_t val) { - this->id = val; -} - -void Self::__set_side(const Side::type val) { - this->side = val; -} - -void Self::__set_uniform_number(const int32_t val) { - this->uniform_number = val; -} - -void Self::__set_uniform_number_count(const int32_t val) { - this->uniform_number_count = val; -} - -void Self::__set_is_goalie(const bool val) { - this->is_goalie = val; -} - -void Self::__set_body_direction(const double val) { - this->body_direction = val; -} - -void Self::__set_body_direction_count(const int32_t val) { - this->body_direction_count = val; -} - -void Self::__set_face_direction(const double val) { - this->face_direction = val; -} - -void Self::__set_face_direction_count(const int32_t val) { - this->face_direction_count = val; -} - -void Self::__set_point_to_direction(const double val) { - this->point_to_direction = val; -} - -void Self::__set_point_to_direction_count(const int32_t val) { - this->point_to_direction_count = val; -} - -void Self::__set_is_kicking(const bool val) { - this->is_kicking = val; -} - -void Self::__set_dist_from_ball(const double val) { - this->dist_from_ball = val; -} - -void Self::__set_angle_from_ball(const double val) { - this->angle_from_ball = val; -} - -void Self::__set_ball_reach_steps(const int32_t val) { - this->ball_reach_steps = val; -} - -void Self::__set_is_tackling(const bool val) { - this->is_tackling = val; -} - -void Self::__set_relative_neck_direction(const double val) { - this->relative_neck_direction = val; -} - -void Self::__set_stamina(const double val) { - this->stamina = val; -} - -void Self::__set_is_kickable(const bool val) { - this->is_kickable = val; -} - -void Self::__set_catch_probability(const double val) { - this->catch_probability = val; -} - -void Self::__set_tackle_probability(const double val) { - this->tackle_probability = val; -} - -void Self::__set_foul_probability(const double val) { - this->foul_probability = val; -} - -void Self::__set_view_width(const ViewWidth::type val) { - this->view_width = val; -} - -void Self::__set_type_id(const int32_t val) { - this->type_id = val; -} - -void Self::__set_kick_rate(const double val) { - this->kick_rate = val; -} -std::ostream& operator<<(std::ostream& out, const Self& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Self::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->position.read(iprot); - this->__isset.position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->seen_position.read(iprot); - this->__isset.seen_position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->heard_position.read(iprot); - this->__isset.heard_position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->velocity.read(iprot); - this->__isset.velocity = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->seen_velocity.read(iprot); - this->__isset.seen_velocity = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 6: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->pos_count); - this->__isset.pos_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 7: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->seen_pos_count); - this->__isset.seen_pos_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 8: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->heard_pos_count); - this->__isset.heard_pos_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 9: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->vel_count); - this->__isset.vel_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 10: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->seen_vel_count); - this->__isset.seen_vel_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 11: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->ghost_count); - this->__isset.ghost_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 12: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->id); - this->__isset.id = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 13: - if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast13; - xfer += iprot->readI32(ecast13); - this->side = static_cast(ecast13); - this->__isset.side = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 14: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->uniform_number); - this->__isset.uniform_number = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 15: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->uniform_number_count); - this->__isset.uniform_number_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 16: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->is_goalie); - this->__isset.is_goalie = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 17: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->body_direction); - this->__isset.body_direction = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 18: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->body_direction_count); - this->__isset.body_direction_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 19: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->face_direction); - this->__isset.face_direction = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 20: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->face_direction_count); - this->__isset.face_direction_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 21: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->point_to_direction); - this->__isset.point_to_direction = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 22: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->point_to_direction_count); - this->__isset.point_to_direction_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 23: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->is_kicking); - this->__isset.is_kicking = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 24: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->dist_from_ball); - this->__isset.dist_from_ball = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 25: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->angle_from_ball); - this->__isset.angle_from_ball = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 26: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->ball_reach_steps); - this->__isset.ball_reach_steps = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 27: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->is_tackling); - this->__isset.is_tackling = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 28: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->relative_neck_direction); - this->__isset.relative_neck_direction = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 29: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->stamina); - this->__isset.stamina = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 30: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->is_kickable); - this->__isset.is_kickable = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 31: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->catch_probability); - this->__isset.catch_probability = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 32: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->tackle_probability); - this->__isset.tackle_probability = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 33: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->foul_probability); - this->__isset.foul_probability = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 34: - if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast14; - xfer += iprot->readI32(ecast14); - this->view_width = static_cast(ecast14); - this->__isset.view_width = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 35: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->type_id); - this->__isset.type_id = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 36: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->kick_rate); - this->__isset.kick_rate = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Self::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Self"); - - xfer += oprot->writeFieldBegin("position", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("seen_position", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->seen_position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("heard_position", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += this->heard_position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("velocity", ::apache::thrift::protocol::T_STRUCT, 4); - xfer += this->velocity.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("seen_velocity", ::apache::thrift::protocol::T_STRUCT, 5); - xfer += this->seen_velocity.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("pos_count", ::apache::thrift::protocol::T_I32, 6); - xfer += oprot->writeI32(this->pos_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("seen_pos_count", ::apache::thrift::protocol::T_I32, 7); - xfer += oprot->writeI32(this->seen_pos_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("heard_pos_count", ::apache::thrift::protocol::T_I32, 8); - xfer += oprot->writeI32(this->heard_pos_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("vel_count", ::apache::thrift::protocol::T_I32, 9); - xfer += oprot->writeI32(this->vel_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("seen_vel_count", ::apache::thrift::protocol::T_I32, 10); - xfer += oprot->writeI32(this->seen_vel_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("ghost_count", ::apache::thrift::protocol::T_I32, 11); - xfer += oprot->writeI32(this->ghost_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("id", ::apache::thrift::protocol::T_I32, 12); - xfer += oprot->writeI32(this->id); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("side", ::apache::thrift::protocol::T_I32, 13); - xfer += oprot->writeI32(static_cast(this->side)); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("uniform_number", ::apache::thrift::protocol::T_I32, 14); - xfer += oprot->writeI32(this->uniform_number); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("uniform_number_count", ::apache::thrift::protocol::T_I32, 15); - xfer += oprot->writeI32(this->uniform_number_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("is_goalie", ::apache::thrift::protocol::T_BOOL, 16); - xfer += oprot->writeBool(this->is_goalie); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("body_direction", ::apache::thrift::protocol::T_DOUBLE, 17); - xfer += oprot->writeDouble(this->body_direction); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("body_direction_count", ::apache::thrift::protocol::T_I32, 18); - xfer += oprot->writeI32(this->body_direction_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("face_direction", ::apache::thrift::protocol::T_DOUBLE, 19); - xfer += oprot->writeDouble(this->face_direction); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("face_direction_count", ::apache::thrift::protocol::T_I32, 20); - xfer += oprot->writeI32(this->face_direction_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("point_to_direction", ::apache::thrift::protocol::T_DOUBLE, 21); - xfer += oprot->writeDouble(this->point_to_direction); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("point_to_direction_count", ::apache::thrift::protocol::T_I32, 22); - xfer += oprot->writeI32(this->point_to_direction_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("is_kicking", ::apache::thrift::protocol::T_BOOL, 23); - xfer += oprot->writeBool(this->is_kicking); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("dist_from_ball", ::apache::thrift::protocol::T_DOUBLE, 24); - xfer += oprot->writeDouble(this->dist_from_ball); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("angle_from_ball", ::apache::thrift::protocol::T_DOUBLE, 25); - xfer += oprot->writeDouble(this->angle_from_ball); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("ball_reach_steps", ::apache::thrift::protocol::T_I32, 26); - xfer += oprot->writeI32(this->ball_reach_steps); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("is_tackling", ::apache::thrift::protocol::T_BOOL, 27); - xfer += oprot->writeBool(this->is_tackling); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("relative_neck_direction", ::apache::thrift::protocol::T_DOUBLE, 28); - xfer += oprot->writeDouble(this->relative_neck_direction); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("stamina", ::apache::thrift::protocol::T_DOUBLE, 29); - xfer += oprot->writeDouble(this->stamina); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("is_kickable", ::apache::thrift::protocol::T_BOOL, 30); - xfer += oprot->writeBool(this->is_kickable); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("catch_probability", ::apache::thrift::protocol::T_DOUBLE, 31); - xfer += oprot->writeDouble(this->catch_probability); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("tackle_probability", ::apache::thrift::protocol::T_DOUBLE, 32); - xfer += oprot->writeDouble(this->tackle_probability); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("foul_probability", ::apache::thrift::protocol::T_DOUBLE, 33); - xfer += oprot->writeDouble(this->foul_probability); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("view_width", ::apache::thrift::protocol::T_I32, 34); - xfer += oprot->writeI32(static_cast(this->view_width)); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("type_id", ::apache::thrift::protocol::T_I32, 35); - xfer += oprot->writeI32(this->type_id); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("kick_rate", ::apache::thrift::protocol::T_DOUBLE, 36); - xfer += oprot->writeDouble(this->kick_rate); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Self &a, Self &b) { - using ::std::swap; - swap(a.position, b.position); - swap(a.seen_position, b.seen_position); - swap(a.heard_position, b.heard_position); - swap(a.velocity, b.velocity); - swap(a.seen_velocity, b.seen_velocity); - swap(a.pos_count, b.pos_count); - swap(a.seen_pos_count, b.seen_pos_count); - swap(a.heard_pos_count, b.heard_pos_count); - swap(a.vel_count, b.vel_count); - swap(a.seen_vel_count, b.seen_vel_count); - swap(a.ghost_count, b.ghost_count); - swap(a.id, b.id); - swap(a.side, b.side); - swap(a.uniform_number, b.uniform_number); - swap(a.uniform_number_count, b.uniform_number_count); - swap(a.is_goalie, b.is_goalie); - swap(a.body_direction, b.body_direction); - swap(a.body_direction_count, b.body_direction_count); - swap(a.face_direction, b.face_direction); - swap(a.face_direction_count, b.face_direction_count); - swap(a.point_to_direction, b.point_to_direction); - swap(a.point_to_direction_count, b.point_to_direction_count); - swap(a.is_kicking, b.is_kicking); - swap(a.dist_from_ball, b.dist_from_ball); - swap(a.angle_from_ball, b.angle_from_ball); - swap(a.ball_reach_steps, b.ball_reach_steps); - swap(a.is_tackling, b.is_tackling); - swap(a.relative_neck_direction, b.relative_neck_direction); - swap(a.stamina, b.stamina); - swap(a.is_kickable, b.is_kickable); - swap(a.catch_probability, b.catch_probability); - swap(a.tackle_probability, b.tackle_probability); - swap(a.foul_probability, b.foul_probability); - swap(a.view_width, b.view_width); - swap(a.type_id, b.type_id); - swap(a.kick_rate, b.kick_rate); - swap(a.__isset, b.__isset); -} - -Self::Self(const Self& other15) noexcept { - position = other15.position; - seen_position = other15.seen_position; - heard_position = other15.heard_position; - velocity = other15.velocity; - seen_velocity = other15.seen_velocity; - pos_count = other15.pos_count; - seen_pos_count = other15.seen_pos_count; - heard_pos_count = other15.heard_pos_count; - vel_count = other15.vel_count; - seen_vel_count = other15.seen_vel_count; - ghost_count = other15.ghost_count; - id = other15.id; - side = other15.side; - uniform_number = other15.uniform_number; - uniform_number_count = other15.uniform_number_count; - is_goalie = other15.is_goalie; - body_direction = other15.body_direction; - body_direction_count = other15.body_direction_count; - face_direction = other15.face_direction; - face_direction_count = other15.face_direction_count; - point_to_direction = other15.point_to_direction; - point_to_direction_count = other15.point_to_direction_count; - is_kicking = other15.is_kicking; - dist_from_ball = other15.dist_from_ball; - angle_from_ball = other15.angle_from_ball; - ball_reach_steps = other15.ball_reach_steps; - is_tackling = other15.is_tackling; - relative_neck_direction = other15.relative_neck_direction; - stamina = other15.stamina; - is_kickable = other15.is_kickable; - catch_probability = other15.catch_probability; - tackle_probability = other15.tackle_probability; - foul_probability = other15.foul_probability; - view_width = other15.view_width; - type_id = other15.type_id; - kick_rate = other15.kick_rate; - __isset = other15.__isset; -} -Self& Self::operator=(const Self& other16) noexcept { - position = other16.position; - seen_position = other16.seen_position; - heard_position = other16.heard_position; - velocity = other16.velocity; - seen_velocity = other16.seen_velocity; - pos_count = other16.pos_count; - seen_pos_count = other16.seen_pos_count; - heard_pos_count = other16.heard_pos_count; - vel_count = other16.vel_count; - seen_vel_count = other16.seen_vel_count; - ghost_count = other16.ghost_count; - id = other16.id; - side = other16.side; - uniform_number = other16.uniform_number; - uniform_number_count = other16.uniform_number_count; - is_goalie = other16.is_goalie; - body_direction = other16.body_direction; - body_direction_count = other16.body_direction_count; - face_direction = other16.face_direction; - face_direction_count = other16.face_direction_count; - point_to_direction = other16.point_to_direction; - point_to_direction_count = other16.point_to_direction_count; - is_kicking = other16.is_kicking; - dist_from_ball = other16.dist_from_ball; - angle_from_ball = other16.angle_from_ball; - ball_reach_steps = other16.ball_reach_steps; - is_tackling = other16.is_tackling; - relative_neck_direction = other16.relative_neck_direction; - stamina = other16.stamina; - is_kickable = other16.is_kickable; - catch_probability = other16.catch_probability; - tackle_probability = other16.tackle_probability; - foul_probability = other16.foul_probability; - view_width = other16.view_width; - type_id = other16.type_id; - kick_rate = other16.kick_rate; - __isset = other16.__isset; - return *this; -} -void Self::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Self("; - out << "position=" << to_string(position); - out << ", " << "seen_position=" << to_string(seen_position); - out << ", " << "heard_position=" << to_string(heard_position); - out << ", " << "velocity=" << to_string(velocity); - out << ", " << "seen_velocity=" << to_string(seen_velocity); - out << ", " << "pos_count=" << to_string(pos_count); - out << ", " << "seen_pos_count=" << to_string(seen_pos_count); - out << ", " << "heard_pos_count=" << to_string(heard_pos_count); - out << ", " << "vel_count=" << to_string(vel_count); - out << ", " << "seen_vel_count=" << to_string(seen_vel_count); - out << ", " << "ghost_count=" << to_string(ghost_count); - out << ", " << "id=" << to_string(id); - out << ", " << "side=" << to_string(side); - out << ", " << "uniform_number=" << to_string(uniform_number); - out << ", " << "uniform_number_count=" << to_string(uniform_number_count); - out << ", " << "is_goalie=" << to_string(is_goalie); - out << ", " << "body_direction=" << to_string(body_direction); - out << ", " << "body_direction_count=" << to_string(body_direction_count); - out << ", " << "face_direction=" << to_string(face_direction); - out << ", " << "face_direction_count=" << to_string(face_direction_count); - out << ", " << "point_to_direction=" << to_string(point_to_direction); - out << ", " << "point_to_direction_count=" << to_string(point_to_direction_count); - out << ", " << "is_kicking=" << to_string(is_kicking); - out << ", " << "dist_from_ball=" << to_string(dist_from_ball); - out << ", " << "angle_from_ball=" << to_string(angle_from_ball); - out << ", " << "ball_reach_steps=" << to_string(ball_reach_steps); - out << ", " << "is_tackling=" << to_string(is_tackling); - out << ", " << "relative_neck_direction=" << to_string(relative_neck_direction); - out << ", " << "stamina=" << to_string(stamina); - out << ", " << "is_kickable=" << to_string(is_kickable); - out << ", " << "catch_probability=" << to_string(catch_probability); - out << ", " << "tackle_probability=" << to_string(tackle_probability); - out << ", " << "foul_probability=" << to_string(foul_probability); - out << ", " << "view_width=" << to_string(view_width); - out << ", " << "type_id=" << to_string(type_id); - out << ", " << "kick_rate=" << to_string(kick_rate); - out << ")"; -} - - -InterceptInfo::~InterceptInfo() noexcept { -} - - -void InterceptInfo::__set_action_type(const InterceptActionType::type val) { - this->action_type = val; -} - -void InterceptInfo::__set_turn_steps(const int32_t val) { - this->turn_steps = val; -} - -void InterceptInfo::__set_turn_angle(const double val) { - this->turn_angle = val; -} - -void InterceptInfo::__set_dash_steps(const int32_t val) { - this->dash_steps = val; -} - -void InterceptInfo::__set_dash_power(const double val) { - this->dash_power = val; -} - -void InterceptInfo::__set_dash_dir(const double val) { - this->dash_dir = val; -} - -void InterceptInfo::__set_final_self_position(const RpcVector2D& val) { - this->final_self_position = val; -} - -void InterceptInfo::__set_final_ball_dist(const double val) { - this->final_ball_dist = val; -} - -void InterceptInfo::__set_final_stamina(const double val) { - this->final_stamina = val; -} - -void InterceptInfo::__set_value(const double val) { - this->value = val; -} -std::ostream& operator<<(std::ostream& out, const InterceptInfo& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t InterceptInfo::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast17; - xfer += iprot->readI32(ecast17); - this->action_type = static_cast(ecast17); - this->__isset.action_type = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->turn_steps); - this->__isset.turn_steps = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->turn_angle); - this->__isset.turn_angle = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->dash_steps); - this->__isset.dash_steps = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->dash_power); - this->__isset.dash_power = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 6: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->dash_dir); - this->__isset.dash_dir = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 7: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->final_self_position.read(iprot); - this->__isset.final_self_position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 8: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->final_ball_dist); - this->__isset.final_ball_dist = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 9: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->final_stamina); - this->__isset.final_stamina = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 10: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->value); - this->__isset.value = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t InterceptInfo::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("InterceptInfo"); - - xfer += oprot->writeFieldBegin("action_type", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(static_cast(this->action_type)); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("turn_steps", ::apache::thrift::protocol::T_I32, 2); - xfer += oprot->writeI32(this->turn_steps); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("turn_angle", ::apache::thrift::protocol::T_DOUBLE, 3); - xfer += oprot->writeDouble(this->turn_angle); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("dash_steps", ::apache::thrift::protocol::T_I32, 4); - xfer += oprot->writeI32(this->dash_steps); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("dash_power", ::apache::thrift::protocol::T_DOUBLE, 5); - xfer += oprot->writeDouble(this->dash_power); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("dash_dir", ::apache::thrift::protocol::T_DOUBLE, 6); - xfer += oprot->writeDouble(this->dash_dir); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("final_self_position", ::apache::thrift::protocol::T_STRUCT, 7); - xfer += this->final_self_position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("final_ball_dist", ::apache::thrift::protocol::T_DOUBLE, 8); - xfer += oprot->writeDouble(this->final_ball_dist); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("final_stamina", ::apache::thrift::protocol::T_DOUBLE, 9); - xfer += oprot->writeDouble(this->final_stamina); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("value", ::apache::thrift::protocol::T_DOUBLE, 10); - xfer += oprot->writeDouble(this->value); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(InterceptInfo &a, InterceptInfo &b) { - using ::std::swap; - swap(a.action_type, b.action_type); - swap(a.turn_steps, b.turn_steps); - swap(a.turn_angle, b.turn_angle); - swap(a.dash_steps, b.dash_steps); - swap(a.dash_power, b.dash_power); - swap(a.dash_dir, b.dash_dir); - swap(a.final_self_position, b.final_self_position); - swap(a.final_ball_dist, b.final_ball_dist); - swap(a.final_stamina, b.final_stamina); - swap(a.value, b.value); - swap(a.__isset, b.__isset); -} - -InterceptInfo::InterceptInfo(const InterceptInfo& other18) noexcept { - action_type = other18.action_type; - turn_steps = other18.turn_steps; - turn_angle = other18.turn_angle; - dash_steps = other18.dash_steps; - dash_power = other18.dash_power; - dash_dir = other18.dash_dir; - final_self_position = other18.final_self_position; - final_ball_dist = other18.final_ball_dist; - final_stamina = other18.final_stamina; - value = other18.value; - __isset = other18.__isset; -} -InterceptInfo& InterceptInfo::operator=(const InterceptInfo& other19) noexcept { - action_type = other19.action_type; - turn_steps = other19.turn_steps; - turn_angle = other19.turn_angle; - dash_steps = other19.dash_steps; - dash_power = other19.dash_power; - dash_dir = other19.dash_dir; - final_self_position = other19.final_self_position; - final_ball_dist = other19.final_ball_dist; - final_stamina = other19.final_stamina; - value = other19.value; - __isset = other19.__isset; - return *this; -} -void InterceptInfo::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "InterceptInfo("; - out << "action_type=" << to_string(action_type); - out << ", " << "turn_steps=" << to_string(turn_steps); - out << ", " << "turn_angle=" << to_string(turn_angle); - out << ", " << "dash_steps=" << to_string(dash_steps); - out << ", " << "dash_power=" << to_string(dash_power); - out << ", " << "dash_dir=" << to_string(dash_dir); - out << ", " << "final_self_position=" << to_string(final_self_position); - out << ", " << "final_ball_dist=" << to_string(final_ball_dist); - out << ", " << "final_stamina=" << to_string(final_stamina); - out << ", " << "value=" << to_string(value); - out << ")"; -} - - -InterceptTable::~InterceptTable() noexcept { -} - - -void InterceptTable::__set_self_reach_steps(const int32_t val) { - this->self_reach_steps = val; -} - -void InterceptTable::__set_first_teammate_reach_steps(const int32_t val) { - this->first_teammate_reach_steps = val; -} - -void InterceptTable::__set_second_teammate_reach_steps(const int32_t val) { - this->second_teammate_reach_steps = val; -} - -void InterceptTable::__set_first_opponent_reach_steps(const int32_t val) { - this->first_opponent_reach_steps = val; -} - -void InterceptTable::__set_second_opponent_reach_steps(const int32_t val) { - this->second_opponent_reach_steps = val; -} - -void InterceptTable::__set_first_teammate_id(const int32_t val) { - this->first_teammate_id = val; -} - -void InterceptTable::__set_second_teammate_id(const int32_t val) { - this->second_teammate_id = val; -} - -void InterceptTable::__set_first_opponent_id(const int32_t val) { - this->first_opponent_id = val; -} - -void InterceptTable::__set_second_opponent_id(const int32_t val) { - this->second_opponent_id = val; -} - -void InterceptTable::__set_self_intercept_info(const std::vector & val) { - this->self_intercept_info = val; -} -std::ostream& operator<<(std::ostream& out, const InterceptTable& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t InterceptTable::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->self_reach_steps); - this->__isset.self_reach_steps = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->first_teammate_reach_steps); - this->__isset.first_teammate_reach_steps = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->second_teammate_reach_steps); - this->__isset.second_teammate_reach_steps = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->first_opponent_reach_steps); - this->__isset.first_opponent_reach_steps = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->second_opponent_reach_steps); - this->__isset.second_opponent_reach_steps = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 6: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->first_teammate_id); - this->__isset.first_teammate_id = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 7: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->second_teammate_id); - this->__isset.second_teammate_id = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 8: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->first_opponent_id); - this->__isset.first_opponent_id = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 9: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->second_opponent_id); - this->__isset.second_opponent_id = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 10: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - this->self_intercept_info.clear(); - uint32_t _size20; - ::apache::thrift::protocol::TType _etype23; - xfer += iprot->readListBegin(_etype23, _size20); - this->self_intercept_info.resize(_size20); - uint32_t _i24; - for (_i24 = 0; _i24 < _size20; ++_i24) - { - xfer += this->self_intercept_info[_i24].read(iprot); - } - xfer += iprot->readListEnd(); - } - this->__isset.self_intercept_info = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t InterceptTable::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("InterceptTable"); - - xfer += oprot->writeFieldBegin("self_reach_steps", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(this->self_reach_steps); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("first_teammate_reach_steps", ::apache::thrift::protocol::T_I32, 2); - xfer += oprot->writeI32(this->first_teammate_reach_steps); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("second_teammate_reach_steps", ::apache::thrift::protocol::T_I32, 3); - xfer += oprot->writeI32(this->second_teammate_reach_steps); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("first_opponent_reach_steps", ::apache::thrift::protocol::T_I32, 4); - xfer += oprot->writeI32(this->first_opponent_reach_steps); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("second_opponent_reach_steps", ::apache::thrift::protocol::T_I32, 5); - xfer += oprot->writeI32(this->second_opponent_reach_steps); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("first_teammate_id", ::apache::thrift::protocol::T_I32, 6); - xfer += oprot->writeI32(this->first_teammate_id); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("second_teammate_id", ::apache::thrift::protocol::T_I32, 7); - xfer += oprot->writeI32(this->second_teammate_id); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("first_opponent_id", ::apache::thrift::protocol::T_I32, 8); - xfer += oprot->writeI32(this->first_opponent_id); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("second_opponent_id", ::apache::thrift::protocol::T_I32, 9); - xfer += oprot->writeI32(this->second_opponent_id); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("self_intercept_info", ::apache::thrift::protocol::T_LIST, 10); - { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->self_intercept_info.size())); - std::vector ::const_iterator _iter25; - for (_iter25 = this->self_intercept_info.begin(); _iter25 != this->self_intercept_info.end(); ++_iter25) - { - xfer += (*_iter25).write(oprot); - } - xfer += oprot->writeListEnd(); - } - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(InterceptTable &a, InterceptTable &b) { - using ::std::swap; - swap(a.self_reach_steps, b.self_reach_steps); - swap(a.first_teammate_reach_steps, b.first_teammate_reach_steps); - swap(a.second_teammate_reach_steps, b.second_teammate_reach_steps); - swap(a.first_opponent_reach_steps, b.first_opponent_reach_steps); - swap(a.second_opponent_reach_steps, b.second_opponent_reach_steps); - swap(a.first_teammate_id, b.first_teammate_id); - swap(a.second_teammate_id, b.second_teammate_id); - swap(a.first_opponent_id, b.first_opponent_id); - swap(a.second_opponent_id, b.second_opponent_id); - swap(a.self_intercept_info, b.self_intercept_info); - swap(a.__isset, b.__isset); -} - -InterceptTable::InterceptTable(const InterceptTable& other26) { - self_reach_steps = other26.self_reach_steps; - first_teammate_reach_steps = other26.first_teammate_reach_steps; - second_teammate_reach_steps = other26.second_teammate_reach_steps; - first_opponent_reach_steps = other26.first_opponent_reach_steps; - second_opponent_reach_steps = other26.second_opponent_reach_steps; - first_teammate_id = other26.first_teammate_id; - second_teammate_id = other26.second_teammate_id; - first_opponent_id = other26.first_opponent_id; - second_opponent_id = other26.second_opponent_id; - self_intercept_info = other26.self_intercept_info; - __isset = other26.__isset; -} -InterceptTable& InterceptTable::operator=(const InterceptTable& other27) { - self_reach_steps = other27.self_reach_steps; - first_teammate_reach_steps = other27.first_teammate_reach_steps; - second_teammate_reach_steps = other27.second_teammate_reach_steps; - first_opponent_reach_steps = other27.first_opponent_reach_steps; - second_opponent_reach_steps = other27.second_opponent_reach_steps; - first_teammate_id = other27.first_teammate_id; - second_teammate_id = other27.second_teammate_id; - first_opponent_id = other27.first_opponent_id; - second_opponent_id = other27.second_opponent_id; - self_intercept_info = other27.self_intercept_info; - __isset = other27.__isset; - return *this; -} -void InterceptTable::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "InterceptTable("; - out << "self_reach_steps=" << to_string(self_reach_steps); - out << ", " << "first_teammate_reach_steps=" << to_string(first_teammate_reach_steps); - out << ", " << "second_teammate_reach_steps=" << to_string(second_teammate_reach_steps); - out << ", " << "first_opponent_reach_steps=" << to_string(first_opponent_reach_steps); - out << ", " << "second_opponent_reach_steps=" << to_string(second_opponent_reach_steps); - out << ", " << "first_teammate_id=" << to_string(first_teammate_id); - out << ", " << "second_teammate_id=" << to_string(second_teammate_id); - out << ", " << "first_opponent_id=" << to_string(first_opponent_id); - out << ", " << "second_opponent_id=" << to_string(second_opponent_id); - out << ", " << "self_intercept_info=" << to_string(self_intercept_info); - out << ")"; -} - - -WorldModel::~WorldModel() noexcept { -} - - -void WorldModel::__set_intercept_table(const InterceptTable& val) { - this->intercept_table = val; -} - -void WorldModel::__set_our_team_name(const std::string& val) { - this->our_team_name = val; -} - -void WorldModel::__set_their_team_name(const std::string& val) { - this->their_team_name = val; -} - -void WorldModel::__set_our_side(const Side::type val) { - this->our_side = val; -} - -void WorldModel::__set_last_set_play_start_time(const int32_t val) { - this->last_set_play_start_time = val; -} - -void WorldModel::__set_myself(const Self& val) { - this->myself = val; -} - -void WorldModel::__set_ball(const Ball& val) { - this->ball = val; -} - -void WorldModel::__set_teammates(const std::vector & val) { - this->teammates = val; -} - -void WorldModel::__set_opponents(const std::vector & val) { - this->opponents = val; -} - -void WorldModel::__set_unknowns(const std::vector & val) { - this->unknowns = val; -} - -void WorldModel::__set_our_players_dict(const std::map & val) { - this->our_players_dict = val; -} - -void WorldModel::__set_their_players_dict(const std::map & val) { - this->their_players_dict = val; -} - -void WorldModel::__set_our_goalie_uniform_number(const int32_t val) { - this->our_goalie_uniform_number = val; -} - -void WorldModel::__set_their_goalie_uniform_number(const int32_t val) { - this->their_goalie_uniform_number = val; -} - -void WorldModel::__set_offside_line_x(const double val) { - this->offside_line_x = val; -} - -void WorldModel::__set_offside_line_x_count(const int32_t val) { - this->offside_line_x_count = val; -} - -void WorldModel::__set_kickable_teammate_id(const int32_t val) { - this->kickable_teammate_id = val; -} - -void WorldModel::__set_kickable_opponent_id(const int32_t val) { - this->kickable_opponent_id = val; -} - -void WorldModel::__set_last_kick_side(const Side::type val) { - this->last_kick_side = val; -} - -void WorldModel::__set_last_kicker_uniform_number(const int32_t val) { - this->last_kicker_uniform_number = val; -} - -void WorldModel::__set_cycle(const int32_t val) { - this->cycle = val; -} - -void WorldModel::__set_game_mode_type(const GameModeType::type val) { - this->game_mode_type = val; -} - -void WorldModel::__set_left_team_score(const int32_t val) { - this->left_team_score = val; -} - -void WorldModel::__set_right_team_score(const int32_t val) { - this->right_team_score = val; -} - -void WorldModel::__set_is_our_set_play(const bool val) { - this->is_our_set_play = val; -} - -void WorldModel::__set_is_their_set_play(const bool val) { - this->is_their_set_play = val; -} - -void WorldModel::__set_stoped_cycle(const int32_t val) { - this->stoped_cycle = val; -} - -void WorldModel::__set_our_team_score(const int32_t val) { - this->our_team_score = val; -} - -void WorldModel::__set_their_team_score(const int32_t val) { - this->their_team_score = val; -} - -void WorldModel::__set_is_penalty_kick_mode(const bool val) { - this->is_penalty_kick_mode = val; -} - -void WorldModel::__set_helios_home_positions(const std::map & val) { - this->helios_home_positions = val; -} -std::ostream& operator<<(std::ostream& out, const WorldModel& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t WorldModel::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->intercept_table.read(iprot); - this->__isset.intercept_table = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->our_team_name); - this->__isset.our_team_name = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->their_team_name); - this->__isset.their_team_name = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast28; - xfer += iprot->readI32(ecast28); - this->our_side = static_cast(ecast28); - this->__isset.our_side = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->last_set_play_start_time); - this->__isset.last_set_play_start_time = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 6: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->myself.read(iprot); - this->__isset.myself = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 7: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->ball.read(iprot); - this->__isset.ball = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 8: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - this->teammates.clear(); - uint32_t _size29; - ::apache::thrift::protocol::TType _etype32; - xfer += iprot->readListBegin(_etype32, _size29); - this->teammates.resize(_size29); - uint32_t _i33; - for (_i33 = 0; _i33 < _size29; ++_i33) - { - xfer += this->teammates[_i33].read(iprot); - } - xfer += iprot->readListEnd(); - } - this->__isset.teammates = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 9: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - this->opponents.clear(); - uint32_t _size34; - ::apache::thrift::protocol::TType _etype37; - xfer += iprot->readListBegin(_etype37, _size34); - this->opponents.resize(_size34); - uint32_t _i38; - for (_i38 = 0; _i38 < _size34; ++_i38) - { - xfer += this->opponents[_i38].read(iprot); - } - xfer += iprot->readListEnd(); - } - this->__isset.opponents = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 10: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - this->unknowns.clear(); - uint32_t _size39; - ::apache::thrift::protocol::TType _etype42; - xfer += iprot->readListBegin(_etype42, _size39); - this->unknowns.resize(_size39); - uint32_t _i43; - for (_i43 = 0; _i43 < _size39; ++_i43) - { - xfer += this->unknowns[_i43].read(iprot); - } - xfer += iprot->readListEnd(); - } - this->__isset.unknowns = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 11: - if (ftype == ::apache::thrift::protocol::T_MAP) { - { - this->our_players_dict.clear(); - uint32_t _size44; - ::apache::thrift::protocol::TType _ktype45; - ::apache::thrift::protocol::TType _vtype46; - xfer += iprot->readMapBegin(_ktype45, _vtype46, _size44); - uint32_t _i48; - for (_i48 = 0; _i48 < _size44; ++_i48) - { - int32_t _key49; - xfer += iprot->readI32(_key49); - Player& _val50 = this->our_players_dict[_key49]; - xfer += _val50.read(iprot); - } - xfer += iprot->readMapEnd(); - } - this->__isset.our_players_dict = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 12: - if (ftype == ::apache::thrift::protocol::T_MAP) { - { - this->their_players_dict.clear(); - uint32_t _size51; - ::apache::thrift::protocol::TType _ktype52; - ::apache::thrift::protocol::TType _vtype53; - xfer += iprot->readMapBegin(_ktype52, _vtype53, _size51); - uint32_t _i55; - for (_i55 = 0; _i55 < _size51; ++_i55) - { - int32_t _key56; - xfer += iprot->readI32(_key56); - Player& _val57 = this->their_players_dict[_key56]; - xfer += _val57.read(iprot); - } - xfer += iprot->readMapEnd(); - } - this->__isset.their_players_dict = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 13: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->our_goalie_uniform_number); - this->__isset.our_goalie_uniform_number = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 14: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->their_goalie_uniform_number); - this->__isset.their_goalie_uniform_number = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 15: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->offside_line_x); - this->__isset.offside_line_x = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 16: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->offside_line_x_count); - this->__isset.offside_line_x_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 17: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->kickable_teammate_id); - this->__isset.kickable_teammate_id = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 18: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->kickable_opponent_id); - this->__isset.kickable_opponent_id = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 19: - if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast58; - xfer += iprot->readI32(ecast58); - this->last_kick_side = static_cast(ecast58); - this->__isset.last_kick_side = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 20: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->last_kicker_uniform_number); - this->__isset.last_kicker_uniform_number = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 21: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->cycle); - this->__isset.cycle = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 22: - if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast59; - xfer += iprot->readI32(ecast59); - this->game_mode_type = static_cast(ecast59); - this->__isset.game_mode_type = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 23: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->left_team_score); - this->__isset.left_team_score = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 24: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->right_team_score); - this->__isset.right_team_score = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 25: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->is_our_set_play); - this->__isset.is_our_set_play = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 26: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->is_their_set_play); - this->__isset.is_their_set_play = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 27: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->stoped_cycle); - this->__isset.stoped_cycle = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 28: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->our_team_score); - this->__isset.our_team_score = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 29: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->their_team_score); - this->__isset.their_team_score = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 30: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->is_penalty_kick_mode); - this->__isset.is_penalty_kick_mode = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 31: - if (ftype == ::apache::thrift::protocol::T_MAP) { - { - this->helios_home_positions.clear(); - uint32_t _size60; - ::apache::thrift::protocol::TType _ktype61; - ::apache::thrift::protocol::TType _vtype62; - xfer += iprot->readMapBegin(_ktype61, _vtype62, _size60); - uint32_t _i64; - for (_i64 = 0; _i64 < _size60; ++_i64) - { - int32_t _key65; - xfer += iprot->readI32(_key65); - RpcVector2D& _val66 = this->helios_home_positions[_key65]; - xfer += _val66.read(iprot); - } - xfer += iprot->readMapEnd(); - } - this->__isset.helios_home_positions = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t WorldModel::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("WorldModel"); - - xfer += oprot->writeFieldBegin("intercept_table", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->intercept_table.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("our_team_name", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString(this->our_team_name); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("their_team_name", ::apache::thrift::protocol::T_STRING, 3); - xfer += oprot->writeString(this->their_team_name); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("our_side", ::apache::thrift::protocol::T_I32, 4); - xfer += oprot->writeI32(static_cast(this->our_side)); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("last_set_play_start_time", ::apache::thrift::protocol::T_I32, 5); - xfer += oprot->writeI32(this->last_set_play_start_time); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("myself", ::apache::thrift::protocol::T_STRUCT, 6); - xfer += this->myself.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("ball", ::apache::thrift::protocol::T_STRUCT, 7); - xfer += this->ball.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("teammates", ::apache::thrift::protocol::T_LIST, 8); - { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->teammates.size())); - std::vector ::const_iterator _iter67; - for (_iter67 = this->teammates.begin(); _iter67 != this->teammates.end(); ++_iter67) - { - xfer += (*_iter67).write(oprot); - } - xfer += oprot->writeListEnd(); - } - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("opponents", ::apache::thrift::protocol::T_LIST, 9); - { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->opponents.size())); - std::vector ::const_iterator _iter68; - for (_iter68 = this->opponents.begin(); _iter68 != this->opponents.end(); ++_iter68) - { - xfer += (*_iter68).write(oprot); - } - xfer += oprot->writeListEnd(); - } - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("unknowns", ::apache::thrift::protocol::T_LIST, 10); - { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->unknowns.size())); - std::vector ::const_iterator _iter69; - for (_iter69 = this->unknowns.begin(); _iter69 != this->unknowns.end(); ++_iter69) - { - xfer += (*_iter69).write(oprot); - } - xfer += oprot->writeListEnd(); - } - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("our_players_dict", ::apache::thrift::protocol::T_MAP, 11); - { - xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I32, ::apache::thrift::protocol::T_STRUCT, static_cast(this->our_players_dict.size())); - std::map ::const_iterator _iter70; - for (_iter70 = this->our_players_dict.begin(); _iter70 != this->our_players_dict.end(); ++_iter70) - { - xfer += oprot->writeI32(_iter70->first); - xfer += _iter70->second.write(oprot); - } - xfer += oprot->writeMapEnd(); - } - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("their_players_dict", ::apache::thrift::protocol::T_MAP, 12); - { - xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I32, ::apache::thrift::protocol::T_STRUCT, static_cast(this->their_players_dict.size())); - std::map ::const_iterator _iter71; - for (_iter71 = this->their_players_dict.begin(); _iter71 != this->their_players_dict.end(); ++_iter71) - { - xfer += oprot->writeI32(_iter71->first); - xfer += _iter71->second.write(oprot); - } - xfer += oprot->writeMapEnd(); - } - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("our_goalie_uniform_number", ::apache::thrift::protocol::T_I32, 13); - xfer += oprot->writeI32(this->our_goalie_uniform_number); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("their_goalie_uniform_number", ::apache::thrift::protocol::T_I32, 14); - xfer += oprot->writeI32(this->their_goalie_uniform_number); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("offside_line_x", ::apache::thrift::protocol::T_DOUBLE, 15); - xfer += oprot->writeDouble(this->offside_line_x); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("offside_line_x_count", ::apache::thrift::protocol::T_I32, 16); - xfer += oprot->writeI32(this->offside_line_x_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("kickable_teammate_id", ::apache::thrift::protocol::T_I32, 17); - xfer += oprot->writeI32(this->kickable_teammate_id); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("kickable_opponent_id", ::apache::thrift::protocol::T_I32, 18); - xfer += oprot->writeI32(this->kickable_opponent_id); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("last_kick_side", ::apache::thrift::protocol::T_I32, 19); - xfer += oprot->writeI32(static_cast(this->last_kick_side)); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("last_kicker_uniform_number", ::apache::thrift::protocol::T_I32, 20); - xfer += oprot->writeI32(this->last_kicker_uniform_number); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("cycle", ::apache::thrift::protocol::T_I32, 21); - xfer += oprot->writeI32(this->cycle); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("game_mode_type", ::apache::thrift::protocol::T_I32, 22); - xfer += oprot->writeI32(static_cast(this->game_mode_type)); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("left_team_score", ::apache::thrift::protocol::T_I32, 23); - xfer += oprot->writeI32(this->left_team_score); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("right_team_score", ::apache::thrift::protocol::T_I32, 24); - xfer += oprot->writeI32(this->right_team_score); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("is_our_set_play", ::apache::thrift::protocol::T_BOOL, 25); - xfer += oprot->writeBool(this->is_our_set_play); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("is_their_set_play", ::apache::thrift::protocol::T_BOOL, 26); - xfer += oprot->writeBool(this->is_their_set_play); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("stoped_cycle", ::apache::thrift::protocol::T_I32, 27); - xfer += oprot->writeI32(this->stoped_cycle); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("our_team_score", ::apache::thrift::protocol::T_I32, 28); - xfer += oprot->writeI32(this->our_team_score); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("their_team_score", ::apache::thrift::protocol::T_I32, 29); - xfer += oprot->writeI32(this->their_team_score); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("is_penalty_kick_mode", ::apache::thrift::protocol::T_BOOL, 30); - xfer += oprot->writeBool(this->is_penalty_kick_mode); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("helios_home_positions", ::apache::thrift::protocol::T_MAP, 31); - { - xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I32, ::apache::thrift::protocol::T_STRUCT, static_cast(this->helios_home_positions.size())); - std::map ::const_iterator _iter72; - for (_iter72 = this->helios_home_positions.begin(); _iter72 != this->helios_home_positions.end(); ++_iter72) - { - xfer += oprot->writeI32(_iter72->first); - xfer += _iter72->second.write(oprot); - } - xfer += oprot->writeMapEnd(); - } - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(WorldModel &a, WorldModel &b) { - using ::std::swap; - swap(a.intercept_table, b.intercept_table); - swap(a.our_team_name, b.our_team_name); - swap(a.their_team_name, b.their_team_name); - swap(a.our_side, b.our_side); - swap(a.last_set_play_start_time, b.last_set_play_start_time); - swap(a.myself, b.myself); - swap(a.ball, b.ball); - swap(a.teammates, b.teammates); - swap(a.opponents, b.opponents); - swap(a.unknowns, b.unknowns); - swap(a.our_players_dict, b.our_players_dict); - swap(a.their_players_dict, b.their_players_dict); - swap(a.our_goalie_uniform_number, b.our_goalie_uniform_number); - swap(a.their_goalie_uniform_number, b.their_goalie_uniform_number); - swap(a.offside_line_x, b.offside_line_x); - swap(a.offside_line_x_count, b.offside_line_x_count); - swap(a.kickable_teammate_id, b.kickable_teammate_id); - swap(a.kickable_opponent_id, b.kickable_opponent_id); - swap(a.last_kick_side, b.last_kick_side); - swap(a.last_kicker_uniform_number, b.last_kicker_uniform_number); - swap(a.cycle, b.cycle); - swap(a.game_mode_type, b.game_mode_type); - swap(a.left_team_score, b.left_team_score); - swap(a.right_team_score, b.right_team_score); - swap(a.is_our_set_play, b.is_our_set_play); - swap(a.is_their_set_play, b.is_their_set_play); - swap(a.stoped_cycle, b.stoped_cycle); - swap(a.our_team_score, b.our_team_score); - swap(a.their_team_score, b.their_team_score); - swap(a.is_penalty_kick_mode, b.is_penalty_kick_mode); - swap(a.helios_home_positions, b.helios_home_positions); - swap(a.__isset, b.__isset); -} - -WorldModel::WorldModel(const WorldModel& other73) { - intercept_table = other73.intercept_table; - our_team_name = other73.our_team_name; - their_team_name = other73.their_team_name; - our_side = other73.our_side; - last_set_play_start_time = other73.last_set_play_start_time; - myself = other73.myself; - ball = other73.ball; - teammates = other73.teammates; - opponents = other73.opponents; - unknowns = other73.unknowns; - our_players_dict = other73.our_players_dict; - their_players_dict = other73.their_players_dict; - our_goalie_uniform_number = other73.our_goalie_uniform_number; - their_goalie_uniform_number = other73.their_goalie_uniform_number; - offside_line_x = other73.offside_line_x; - offside_line_x_count = other73.offside_line_x_count; - kickable_teammate_id = other73.kickable_teammate_id; - kickable_opponent_id = other73.kickable_opponent_id; - last_kick_side = other73.last_kick_side; - last_kicker_uniform_number = other73.last_kicker_uniform_number; - cycle = other73.cycle; - game_mode_type = other73.game_mode_type; - left_team_score = other73.left_team_score; - right_team_score = other73.right_team_score; - is_our_set_play = other73.is_our_set_play; - is_their_set_play = other73.is_their_set_play; - stoped_cycle = other73.stoped_cycle; - our_team_score = other73.our_team_score; - their_team_score = other73.their_team_score; - is_penalty_kick_mode = other73.is_penalty_kick_mode; - helios_home_positions = other73.helios_home_positions; - __isset = other73.__isset; -} -WorldModel& WorldModel::operator=(const WorldModel& other74) { - intercept_table = other74.intercept_table; - our_team_name = other74.our_team_name; - their_team_name = other74.their_team_name; - our_side = other74.our_side; - last_set_play_start_time = other74.last_set_play_start_time; - myself = other74.myself; - ball = other74.ball; - teammates = other74.teammates; - opponents = other74.opponents; - unknowns = other74.unknowns; - our_players_dict = other74.our_players_dict; - their_players_dict = other74.their_players_dict; - our_goalie_uniform_number = other74.our_goalie_uniform_number; - their_goalie_uniform_number = other74.their_goalie_uniform_number; - offside_line_x = other74.offside_line_x; - offside_line_x_count = other74.offside_line_x_count; - kickable_teammate_id = other74.kickable_teammate_id; - kickable_opponent_id = other74.kickable_opponent_id; - last_kick_side = other74.last_kick_side; - last_kicker_uniform_number = other74.last_kicker_uniform_number; - cycle = other74.cycle; - game_mode_type = other74.game_mode_type; - left_team_score = other74.left_team_score; - right_team_score = other74.right_team_score; - is_our_set_play = other74.is_our_set_play; - is_their_set_play = other74.is_their_set_play; - stoped_cycle = other74.stoped_cycle; - our_team_score = other74.our_team_score; - their_team_score = other74.their_team_score; - is_penalty_kick_mode = other74.is_penalty_kick_mode; - helios_home_positions = other74.helios_home_positions; - __isset = other74.__isset; - return *this; -} -void WorldModel::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "WorldModel("; - out << "intercept_table=" << to_string(intercept_table); - out << ", " << "our_team_name=" << to_string(our_team_name); - out << ", " << "their_team_name=" << to_string(their_team_name); - out << ", " << "our_side=" << to_string(our_side); - out << ", " << "last_set_play_start_time=" << to_string(last_set_play_start_time); - out << ", " << "myself=" << to_string(myself); - out << ", " << "ball=" << to_string(ball); - out << ", " << "teammates=" << to_string(teammates); - out << ", " << "opponents=" << to_string(opponents); - out << ", " << "unknowns=" << to_string(unknowns); - out << ", " << "our_players_dict=" << to_string(our_players_dict); - out << ", " << "their_players_dict=" << to_string(their_players_dict); - out << ", " << "our_goalie_uniform_number=" << to_string(our_goalie_uniform_number); - out << ", " << "their_goalie_uniform_number=" << to_string(their_goalie_uniform_number); - out << ", " << "offside_line_x=" << to_string(offside_line_x); - out << ", " << "offside_line_x_count=" << to_string(offside_line_x_count); - out << ", " << "kickable_teammate_id=" << to_string(kickable_teammate_id); - out << ", " << "kickable_opponent_id=" << to_string(kickable_opponent_id); - out << ", " << "last_kick_side=" << to_string(last_kick_side); - out << ", " << "last_kicker_uniform_number=" << to_string(last_kicker_uniform_number); - out << ", " << "cycle=" << to_string(cycle); - out << ", " << "game_mode_type=" << to_string(game_mode_type); - out << ", " << "left_team_score=" << to_string(left_team_score); - out << ", " << "right_team_score=" << to_string(right_team_score); - out << ", " << "is_our_set_play=" << to_string(is_our_set_play); - out << ", " << "is_their_set_play=" << to_string(is_their_set_play); - out << ", " << "stoped_cycle=" << to_string(stoped_cycle); - out << ", " << "our_team_score=" << to_string(our_team_score); - out << ", " << "their_team_score=" << to_string(their_team_score); - out << ", " << "is_penalty_kick_mode=" << to_string(is_penalty_kick_mode); - out << ", " << "helios_home_positions=" << to_string(helios_home_positions); - out << ")"; -} - - -State::~State() noexcept { -} - - -void State::__set_register_response(const RegisterResponse& val) { - this->register_response = val; -} - -void State::__set_world_model(const WorldModel& val) { - this->world_model = val; -} - -void State::__set_full_world_model(const WorldModel& val) { - this->full_world_model = val; -} - -void State::__set_need_preprocess(const bool val) { - this->need_preprocess = val; -} -std::ostream& operator<<(std::ostream& out, const State& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t State::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->register_response.read(iprot); - this->__isset.register_response = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->world_model.read(iprot); - this->__isset.world_model = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->full_world_model.read(iprot); - this->__isset.full_world_model = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->need_preprocess); - this->__isset.need_preprocess = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t State::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("State"); - - xfer += oprot->writeFieldBegin("register_response", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->register_response.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("world_model", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->world_model.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("full_world_model", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += this->full_world_model.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("need_preprocess", ::apache::thrift::protocol::T_BOOL, 4); - xfer += oprot->writeBool(this->need_preprocess); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(State &a, State &b) { - using ::std::swap; - swap(a.register_response, b.register_response); - swap(a.world_model, b.world_model); - swap(a.full_world_model, b.full_world_model); - swap(a.need_preprocess, b.need_preprocess); - swap(a.__isset, b.__isset); -} - -State::State(const State& other75) { - register_response = other75.register_response; - world_model = other75.world_model; - full_world_model = other75.full_world_model; - need_preprocess = other75.need_preprocess; - __isset = other75.__isset; -} -State& State::operator=(const State& other76) { - register_response = other76.register_response; - world_model = other76.world_model; - full_world_model = other76.full_world_model; - need_preprocess = other76.need_preprocess; - __isset = other76.__isset; - return *this; -} -void State::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "State("; - out << "register_response=" << to_string(register_response); - out << ", " << "world_model=" << to_string(world_model); - out << ", " << "full_world_model=" << to_string(full_world_model); - out << ", " << "need_preprocess=" << to_string(need_preprocess); - out << ")"; -} - - -InitMessage::~InitMessage() noexcept { -} - - -void InitMessage::__set_register_response(const RegisterResponse& val) { - this->register_response = val; -} - -void InitMessage::__set_debug_mode(const bool val) { - this->debug_mode = val; -} -std::ostream& operator<<(std::ostream& out, const InitMessage& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t InitMessage::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->register_response.read(iprot); - this->__isset.register_response = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->debug_mode); - this->__isset.debug_mode = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t InitMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("InitMessage"); - - xfer += oprot->writeFieldBegin("register_response", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->register_response.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("debug_mode", ::apache::thrift::protocol::T_BOOL, 2); - xfer += oprot->writeBool(this->debug_mode); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(InitMessage &a, InitMessage &b) { - using ::std::swap; - swap(a.register_response, b.register_response); - swap(a.debug_mode, b.debug_mode); - swap(a.__isset, b.__isset); -} - -InitMessage::InitMessage(const InitMessage& other77) { - register_response = other77.register_response; - debug_mode = other77.debug_mode; - __isset = other77.__isset; -} -InitMessage& InitMessage::operator=(const InitMessage& other78) { - register_response = other78.register_response; - debug_mode = other78.debug_mode; - __isset = other78.__isset; - return *this; -} -void InitMessage::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "InitMessage("; - out << "register_response=" << to_string(register_response); - out << ", " << "debug_mode=" << to_string(debug_mode); - out << ")"; -} - - -Dash::~Dash() noexcept { -} - - -void Dash::__set_power(const double val) { - this->power = val; -} - -void Dash::__set_relative_direction(const double val) { - this->relative_direction = val; -} -std::ostream& operator<<(std::ostream& out, const Dash& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Dash::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->power); - this->__isset.power = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->relative_direction); - this->__isset.relative_direction = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Dash::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Dash"); - - xfer += oprot->writeFieldBegin("power", ::apache::thrift::protocol::T_DOUBLE, 1); - xfer += oprot->writeDouble(this->power); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("relative_direction", ::apache::thrift::protocol::T_DOUBLE, 2); - xfer += oprot->writeDouble(this->relative_direction); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Dash &a, Dash &b) { - using ::std::swap; - swap(a.power, b.power); - swap(a.relative_direction, b.relative_direction); - swap(a.__isset, b.__isset); -} - -Dash::Dash(const Dash& other79) noexcept { - power = other79.power; - relative_direction = other79.relative_direction; - __isset = other79.__isset; -} -Dash& Dash::operator=(const Dash& other80) noexcept { - power = other80.power; - relative_direction = other80.relative_direction; - __isset = other80.__isset; - return *this; -} -void Dash::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Dash("; - out << "power=" << to_string(power); - out << ", " << "relative_direction=" << to_string(relative_direction); - out << ")"; -} - - -Turn::~Turn() noexcept { -} - - -void Turn::__set_relative_direction(const double val) { - this->relative_direction = val; -} -std::ostream& operator<<(std::ostream& out, const Turn& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Turn::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->relative_direction); - this->__isset.relative_direction = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Turn::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Turn"); - - xfer += oprot->writeFieldBegin("relative_direction", ::apache::thrift::protocol::T_DOUBLE, 1); - xfer += oprot->writeDouble(this->relative_direction); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Turn &a, Turn &b) { - using ::std::swap; - swap(a.relative_direction, b.relative_direction); - swap(a.__isset, b.__isset); -} - -Turn::Turn(const Turn& other81) noexcept { - relative_direction = other81.relative_direction; - __isset = other81.__isset; -} -Turn& Turn::operator=(const Turn& other82) noexcept { - relative_direction = other82.relative_direction; - __isset = other82.__isset; - return *this; -} -void Turn::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Turn("; - out << "relative_direction=" << to_string(relative_direction); - out << ")"; -} - - -Kick::~Kick() noexcept { -} - - -void Kick::__set_power(const double val) { - this->power = val; -} - -void Kick::__set_relative_direction(const double val) { - this->relative_direction = val; -} -std::ostream& operator<<(std::ostream& out, const Kick& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Kick::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->power); - this->__isset.power = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->relative_direction); - this->__isset.relative_direction = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Kick::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Kick"); - - xfer += oprot->writeFieldBegin("power", ::apache::thrift::protocol::T_DOUBLE, 1); - xfer += oprot->writeDouble(this->power); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("relative_direction", ::apache::thrift::protocol::T_DOUBLE, 2); - xfer += oprot->writeDouble(this->relative_direction); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Kick &a, Kick &b) { - using ::std::swap; - swap(a.power, b.power); - swap(a.relative_direction, b.relative_direction); - swap(a.__isset, b.__isset); -} - -Kick::Kick(const Kick& other83) noexcept { - power = other83.power; - relative_direction = other83.relative_direction; - __isset = other83.__isset; -} -Kick& Kick::operator=(const Kick& other84) noexcept { - power = other84.power; - relative_direction = other84.relative_direction; - __isset = other84.__isset; - return *this; -} -void Kick::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Kick("; - out << "power=" << to_string(power); - out << ", " << "relative_direction=" << to_string(relative_direction); - out << ")"; -} - - -Tackle::~Tackle() noexcept { -} - - -void Tackle::__set_power_or_dir(const double val) { - this->power_or_dir = val; -} - -void Tackle::__set_foul(const bool val) { - this->foul = val; -} -std::ostream& operator<<(std::ostream& out, const Tackle& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Tackle::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->power_or_dir); - this->__isset.power_or_dir = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->foul); - this->__isset.foul = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Tackle::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Tackle"); - - xfer += oprot->writeFieldBegin("power_or_dir", ::apache::thrift::protocol::T_DOUBLE, 1); - xfer += oprot->writeDouble(this->power_or_dir); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("foul", ::apache::thrift::protocol::T_BOOL, 2); - xfer += oprot->writeBool(this->foul); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Tackle &a, Tackle &b) { - using ::std::swap; - swap(a.power_or_dir, b.power_or_dir); - swap(a.foul, b.foul); - swap(a.__isset, b.__isset); -} - -Tackle::Tackle(const Tackle& other85) noexcept { - power_or_dir = other85.power_or_dir; - foul = other85.foul; - __isset = other85.__isset; -} -Tackle& Tackle::operator=(const Tackle& other86) noexcept { - power_or_dir = other86.power_or_dir; - foul = other86.foul; - __isset = other86.__isset; - return *this; -} -void Tackle::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Tackle("; - out << "power_or_dir=" << to_string(power_or_dir); - out << ", " << "foul=" << to_string(foul); - out << ")"; -} - - -Catch::~Catch() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const Catch& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Catch::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Catch::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Catch"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Catch &a, Catch &b) { - using ::std::swap; - (void) a; - (void) b; -} - -Catch::Catch(const Catch& other87) noexcept { - (void) other87; -} -Catch& Catch::operator=(const Catch& other88) noexcept { - (void) other88; - return *this; -} -void Catch::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Catch("; - out << ")"; -} - - -Move::~Move() noexcept { -} - - -void Move::__set_x(const double val) { - this->x = val; -} - -void Move::__set_y(const double val) { - this->y = val; -} -std::ostream& operator<<(std::ostream& out, const Move& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Move::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->x); - this->__isset.x = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->y); - this->__isset.y = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Move::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Move"); - - xfer += oprot->writeFieldBegin("x", ::apache::thrift::protocol::T_DOUBLE, 1); - xfer += oprot->writeDouble(this->x); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("y", ::apache::thrift::protocol::T_DOUBLE, 2); - xfer += oprot->writeDouble(this->y); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Move &a, Move &b) { - using ::std::swap; - swap(a.x, b.x); - swap(a.y, b.y); - swap(a.__isset, b.__isset); -} - -Move::Move(const Move& other89) noexcept { - x = other89.x; - y = other89.y; - __isset = other89.__isset; -} -Move& Move::operator=(const Move& other90) noexcept { - x = other90.x; - y = other90.y; - __isset = other90.__isset; - return *this; -} -void Move::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Move("; - out << "x=" << to_string(x); - out << ", " << "y=" << to_string(y); - out << ")"; -} - - -TurnNeck::~TurnNeck() noexcept { -} - - -void TurnNeck::__set_moment(const double val) { - this->moment = val; -} -std::ostream& operator<<(std::ostream& out, const TurnNeck& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t TurnNeck::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->moment); - this->__isset.moment = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t TurnNeck::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("TurnNeck"); - - xfer += oprot->writeFieldBegin("moment", ::apache::thrift::protocol::T_DOUBLE, 1); - xfer += oprot->writeDouble(this->moment); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(TurnNeck &a, TurnNeck &b) { - using ::std::swap; - swap(a.moment, b.moment); - swap(a.__isset, b.__isset); -} - -TurnNeck::TurnNeck(const TurnNeck& other91) noexcept { - moment = other91.moment; - __isset = other91.__isset; -} -TurnNeck& TurnNeck::operator=(const TurnNeck& other92) noexcept { - moment = other92.moment; - __isset = other92.__isset; - return *this; -} -void TurnNeck::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "TurnNeck("; - out << "moment=" << to_string(moment); - out << ")"; -} - - -ChangeView::~ChangeView() noexcept { -} - - -void ChangeView::__set_view_width(const ViewWidth::type val) { - this->view_width = val; -} -std::ostream& operator<<(std::ostream& out, const ChangeView& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t ChangeView::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast93; - xfer += iprot->readI32(ecast93); - this->view_width = static_cast(ecast93); - this->__isset.view_width = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t ChangeView::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ChangeView"); - - xfer += oprot->writeFieldBegin("view_width", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(static_cast(this->view_width)); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(ChangeView &a, ChangeView &b) { - using ::std::swap; - swap(a.view_width, b.view_width); - swap(a.__isset, b.__isset); -} - -ChangeView::ChangeView(const ChangeView& other94) noexcept { - view_width = other94.view_width; - __isset = other94.__isset; -} -ChangeView& ChangeView::operator=(const ChangeView& other95) noexcept { - view_width = other95.view_width; - __isset = other95.__isset; - return *this; -} -void ChangeView::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "ChangeView("; - out << "view_width=" << to_string(view_width); - out << ")"; -} - - -BallMessage::~BallMessage() noexcept { -} - - -void BallMessage::__set_ball_position(const RpcVector2D& val) { - this->ball_position = val; -} - -void BallMessage::__set_ball_velocity(const RpcVector2D& val) { - this->ball_velocity = val; -} -std::ostream& operator<<(std::ostream& out, const BallMessage& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t BallMessage::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->ball_position.read(iprot); - this->__isset.ball_position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->ball_velocity.read(iprot); - this->__isset.ball_velocity = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t BallMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("BallMessage"); - - xfer += oprot->writeFieldBegin("ball_position", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->ball_position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("ball_velocity", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->ball_velocity.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(BallMessage &a, BallMessage &b) { - using ::std::swap; - swap(a.ball_position, b.ball_position); - swap(a.ball_velocity, b.ball_velocity); - swap(a.__isset, b.__isset); -} - -BallMessage::BallMessage(const BallMessage& other96) noexcept { - ball_position = other96.ball_position; - ball_velocity = other96.ball_velocity; - __isset = other96.__isset; -} -BallMessage& BallMessage::operator=(const BallMessage& other97) noexcept { - ball_position = other97.ball_position; - ball_velocity = other97.ball_velocity; - __isset = other97.__isset; - return *this; -} -void BallMessage::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "BallMessage("; - out << "ball_position=" << to_string(ball_position); - out << ", " << "ball_velocity=" << to_string(ball_velocity); - out << ")"; -} - - -PassMessage::~PassMessage() noexcept { -} - - -void PassMessage::__set_receiver_uniform_number(const int32_t val) { - this->receiver_uniform_number = val; -} - -void PassMessage::__set_receiver_point(const RpcVector2D& val) { - this->receiver_point = val; -} - -void PassMessage::__set_ball_position(const RpcVector2D& val) { - this->ball_position = val; -} - -void PassMessage::__set_ball_velocity(const RpcVector2D& val) { - this->ball_velocity = val; -} -std::ostream& operator<<(std::ostream& out, const PassMessage& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t PassMessage::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->receiver_uniform_number); - this->__isset.receiver_uniform_number = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->receiver_point.read(iprot); - this->__isset.receiver_point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->ball_position.read(iprot); - this->__isset.ball_position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->ball_velocity.read(iprot); - this->__isset.ball_velocity = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t PassMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("PassMessage"); - - xfer += oprot->writeFieldBegin("receiver_uniform_number", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(this->receiver_uniform_number); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("receiver_point", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->receiver_point.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("ball_position", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += this->ball_position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("ball_velocity", ::apache::thrift::protocol::T_STRUCT, 4); - xfer += this->ball_velocity.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(PassMessage &a, PassMessage &b) { - using ::std::swap; - swap(a.receiver_uniform_number, b.receiver_uniform_number); - swap(a.receiver_point, b.receiver_point); - swap(a.ball_position, b.ball_position); - swap(a.ball_velocity, b.ball_velocity); - swap(a.__isset, b.__isset); -} - -PassMessage::PassMessage(const PassMessage& other98) noexcept { - receiver_uniform_number = other98.receiver_uniform_number; - receiver_point = other98.receiver_point; - ball_position = other98.ball_position; - ball_velocity = other98.ball_velocity; - __isset = other98.__isset; -} -PassMessage& PassMessage::operator=(const PassMessage& other99) noexcept { - receiver_uniform_number = other99.receiver_uniform_number; - receiver_point = other99.receiver_point; - ball_position = other99.ball_position; - ball_velocity = other99.ball_velocity; - __isset = other99.__isset; - return *this; -} -void PassMessage::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "PassMessage("; - out << "receiver_uniform_number=" << to_string(receiver_uniform_number); - out << ", " << "receiver_point=" << to_string(receiver_point); - out << ", " << "ball_position=" << to_string(ball_position); - out << ", " << "ball_velocity=" << to_string(ball_velocity); - out << ")"; -} - - -InterceptMessage::~InterceptMessage() noexcept { -} - - -void InterceptMessage::__set_our(const bool val) { - this->our = val; -} - -void InterceptMessage::__set_uniform_number(const int32_t val) { - this->uniform_number = val; -} - -void InterceptMessage::__set_cycle(const int32_t val) { - this->cycle = val; -} -std::ostream& operator<<(std::ostream& out, const InterceptMessage& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t InterceptMessage::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->our); - this->__isset.our = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->uniform_number); - this->__isset.uniform_number = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->cycle); - this->__isset.cycle = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t InterceptMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("InterceptMessage"); - - xfer += oprot->writeFieldBegin("our", ::apache::thrift::protocol::T_BOOL, 1); - xfer += oprot->writeBool(this->our); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("uniform_number", ::apache::thrift::protocol::T_I32, 2); - xfer += oprot->writeI32(this->uniform_number); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("cycle", ::apache::thrift::protocol::T_I32, 3); - xfer += oprot->writeI32(this->cycle); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(InterceptMessage &a, InterceptMessage &b) { - using ::std::swap; - swap(a.our, b.our); - swap(a.uniform_number, b.uniform_number); - swap(a.cycle, b.cycle); - swap(a.__isset, b.__isset); -} - -InterceptMessage::InterceptMessage(const InterceptMessage& other100) noexcept { - our = other100.our; - uniform_number = other100.uniform_number; - cycle = other100.cycle; - __isset = other100.__isset; -} -InterceptMessage& InterceptMessage::operator=(const InterceptMessage& other101) noexcept { - our = other101.our; - uniform_number = other101.uniform_number; - cycle = other101.cycle; - __isset = other101.__isset; - return *this; -} -void InterceptMessage::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "InterceptMessage("; - out << "our=" << to_string(our); - out << ", " << "uniform_number=" << to_string(uniform_number); - out << ", " << "cycle=" << to_string(cycle); - out << ")"; -} - - -GoalieMessage::~GoalieMessage() noexcept { -} - - -void GoalieMessage::__set_goalie_uniform_number(const int32_t val) { - this->goalie_uniform_number = val; -} - -void GoalieMessage::__set_goalie_position(const RpcVector2D& val) { - this->goalie_position = val; -} - -void GoalieMessage::__set_goalie_body_direction(const double val) { - this->goalie_body_direction = val; -} -std::ostream& operator<<(std::ostream& out, const GoalieMessage& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t GoalieMessage::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->goalie_uniform_number); - this->__isset.goalie_uniform_number = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->goalie_position.read(iprot); - this->__isset.goalie_position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->goalie_body_direction); - this->__isset.goalie_body_direction = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t GoalieMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("GoalieMessage"); - - xfer += oprot->writeFieldBegin("goalie_uniform_number", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(this->goalie_uniform_number); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("goalie_position", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->goalie_position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("goalie_body_direction", ::apache::thrift::protocol::T_DOUBLE, 3); - xfer += oprot->writeDouble(this->goalie_body_direction); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(GoalieMessage &a, GoalieMessage &b) { - using ::std::swap; - swap(a.goalie_uniform_number, b.goalie_uniform_number); - swap(a.goalie_position, b.goalie_position); - swap(a.goalie_body_direction, b.goalie_body_direction); - swap(a.__isset, b.__isset); -} - -GoalieMessage::GoalieMessage(const GoalieMessage& other102) noexcept { - goalie_uniform_number = other102.goalie_uniform_number; - goalie_position = other102.goalie_position; - goalie_body_direction = other102.goalie_body_direction; - __isset = other102.__isset; -} -GoalieMessage& GoalieMessage::operator=(const GoalieMessage& other103) noexcept { - goalie_uniform_number = other103.goalie_uniform_number; - goalie_position = other103.goalie_position; - goalie_body_direction = other103.goalie_body_direction; - __isset = other103.__isset; - return *this; -} -void GoalieMessage::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "GoalieMessage("; - out << "goalie_uniform_number=" << to_string(goalie_uniform_number); - out << ", " << "goalie_position=" << to_string(goalie_position); - out << ", " << "goalie_body_direction=" << to_string(goalie_body_direction); - out << ")"; -} - - -GoalieAndPlayerMessage::~GoalieAndPlayerMessage() noexcept { -} - - -void GoalieAndPlayerMessage::__set_goalie_uniform_number(const int32_t val) { - this->goalie_uniform_number = val; -} - -void GoalieAndPlayerMessage::__set_goalie_position(const RpcVector2D& val) { - this->goalie_position = val; -} - -void GoalieAndPlayerMessage::__set_goalie_body_direction(const double val) { - this->goalie_body_direction = val; -} - -void GoalieAndPlayerMessage::__set_player_uniform_number(const int32_t val) { - this->player_uniform_number = val; -} - -void GoalieAndPlayerMessage::__set_player_position(const RpcVector2D& val) { - this->player_position = val; -} -std::ostream& operator<<(std::ostream& out, const GoalieAndPlayerMessage& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t GoalieAndPlayerMessage::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->goalie_uniform_number); - this->__isset.goalie_uniform_number = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->goalie_position.read(iprot); - this->__isset.goalie_position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->goalie_body_direction); - this->__isset.goalie_body_direction = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->player_uniform_number); - this->__isset.player_uniform_number = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->player_position.read(iprot); - this->__isset.player_position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t GoalieAndPlayerMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("GoalieAndPlayerMessage"); - - xfer += oprot->writeFieldBegin("goalie_uniform_number", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(this->goalie_uniform_number); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("goalie_position", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->goalie_position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("goalie_body_direction", ::apache::thrift::protocol::T_DOUBLE, 3); - xfer += oprot->writeDouble(this->goalie_body_direction); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("player_uniform_number", ::apache::thrift::protocol::T_I32, 4); - xfer += oprot->writeI32(this->player_uniform_number); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("player_position", ::apache::thrift::protocol::T_STRUCT, 5); - xfer += this->player_position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(GoalieAndPlayerMessage &a, GoalieAndPlayerMessage &b) { - using ::std::swap; - swap(a.goalie_uniform_number, b.goalie_uniform_number); - swap(a.goalie_position, b.goalie_position); - swap(a.goalie_body_direction, b.goalie_body_direction); - swap(a.player_uniform_number, b.player_uniform_number); - swap(a.player_position, b.player_position); - swap(a.__isset, b.__isset); -} - -GoalieAndPlayerMessage::GoalieAndPlayerMessage(const GoalieAndPlayerMessage& other104) noexcept { - goalie_uniform_number = other104.goalie_uniform_number; - goalie_position = other104.goalie_position; - goalie_body_direction = other104.goalie_body_direction; - player_uniform_number = other104.player_uniform_number; - player_position = other104.player_position; - __isset = other104.__isset; -} -GoalieAndPlayerMessage& GoalieAndPlayerMessage::operator=(const GoalieAndPlayerMessage& other105) noexcept { - goalie_uniform_number = other105.goalie_uniform_number; - goalie_position = other105.goalie_position; - goalie_body_direction = other105.goalie_body_direction; - player_uniform_number = other105.player_uniform_number; - player_position = other105.player_position; - __isset = other105.__isset; - return *this; -} -void GoalieAndPlayerMessage::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "GoalieAndPlayerMessage("; - out << "goalie_uniform_number=" << to_string(goalie_uniform_number); - out << ", " << "goalie_position=" << to_string(goalie_position); - out << ", " << "goalie_body_direction=" << to_string(goalie_body_direction); - out << ", " << "player_uniform_number=" << to_string(player_uniform_number); - out << ", " << "player_position=" << to_string(player_position); - out << ")"; -} - - -OffsideLineMessage::~OffsideLineMessage() noexcept { -} - - -void OffsideLineMessage::__set_offside_line_x(const double val) { - this->offside_line_x = val; -} -std::ostream& operator<<(std::ostream& out, const OffsideLineMessage& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t OffsideLineMessage::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->offside_line_x); - this->__isset.offside_line_x = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t OffsideLineMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("OffsideLineMessage"); - - xfer += oprot->writeFieldBegin("offside_line_x", ::apache::thrift::protocol::T_DOUBLE, 1); - xfer += oprot->writeDouble(this->offside_line_x); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(OffsideLineMessage &a, OffsideLineMessage &b) { - using ::std::swap; - swap(a.offside_line_x, b.offside_line_x); - swap(a.__isset, b.__isset); -} - -OffsideLineMessage::OffsideLineMessage(const OffsideLineMessage& other106) noexcept { - offside_line_x = other106.offside_line_x; - __isset = other106.__isset; -} -OffsideLineMessage& OffsideLineMessage::operator=(const OffsideLineMessage& other107) noexcept { - offside_line_x = other107.offside_line_x; - __isset = other107.__isset; - return *this; -} -void OffsideLineMessage::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "OffsideLineMessage("; - out << "offside_line_x=" << to_string(offside_line_x); - out << ")"; -} - - -DefenseLineMessage::~DefenseLineMessage() noexcept { -} - - -void DefenseLineMessage::__set_defense_line_x(const double val) { - this->defense_line_x = val; -} -std::ostream& operator<<(std::ostream& out, const DefenseLineMessage& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t DefenseLineMessage::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->defense_line_x); - this->__isset.defense_line_x = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t DefenseLineMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("DefenseLineMessage"); - - xfer += oprot->writeFieldBegin("defense_line_x", ::apache::thrift::protocol::T_DOUBLE, 1); - xfer += oprot->writeDouble(this->defense_line_x); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(DefenseLineMessage &a, DefenseLineMessage &b) { - using ::std::swap; - swap(a.defense_line_x, b.defense_line_x); - swap(a.__isset, b.__isset); -} - -DefenseLineMessage::DefenseLineMessage(const DefenseLineMessage& other108) noexcept { - defense_line_x = other108.defense_line_x; - __isset = other108.__isset; -} -DefenseLineMessage& DefenseLineMessage::operator=(const DefenseLineMessage& other109) noexcept { - defense_line_x = other109.defense_line_x; - __isset = other109.__isset; - return *this; -} -void DefenseLineMessage::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "DefenseLineMessage("; - out << "defense_line_x=" << to_string(defense_line_x); - out << ")"; -} - - -WaitRequestMessage::~WaitRequestMessage() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const WaitRequestMessage& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t WaitRequestMessage::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t WaitRequestMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("WaitRequestMessage"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(WaitRequestMessage &a, WaitRequestMessage &b) { - using ::std::swap; - (void) a; - (void) b; -} - -WaitRequestMessage::WaitRequestMessage(const WaitRequestMessage& other110) noexcept { - (void) other110; -} -WaitRequestMessage& WaitRequestMessage::operator=(const WaitRequestMessage& other111) noexcept { - (void) other111; - return *this; -} -void WaitRequestMessage::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "WaitRequestMessage("; - out << ")"; -} - - -SetplayMessage::~SetplayMessage() noexcept { -} - - -void SetplayMessage::__set_wait_step(const int32_t val) { - this->wait_step = val; -} -std::ostream& operator<<(std::ostream& out, const SetplayMessage& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t SetplayMessage::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->wait_step); - this->__isset.wait_step = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t SetplayMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("SetplayMessage"); - - xfer += oprot->writeFieldBegin("wait_step", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(this->wait_step); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(SetplayMessage &a, SetplayMessage &b) { - using ::std::swap; - swap(a.wait_step, b.wait_step); - swap(a.__isset, b.__isset); -} - -SetplayMessage::SetplayMessage(const SetplayMessage& other112) noexcept { - wait_step = other112.wait_step; - __isset = other112.__isset; -} -SetplayMessage& SetplayMessage::operator=(const SetplayMessage& other113) noexcept { - wait_step = other113.wait_step; - __isset = other113.__isset; - return *this; -} -void SetplayMessage::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "SetplayMessage("; - out << "wait_step=" << to_string(wait_step); - out << ")"; -} - - -PassRequestMessage::~PassRequestMessage() noexcept { -} - - -void PassRequestMessage::__set_target_point(const RpcVector2D& val) { - this->target_point = val; -} -std::ostream& operator<<(std::ostream& out, const PassRequestMessage& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t PassRequestMessage::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->target_point.read(iprot); - this->__isset.target_point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t PassRequestMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("PassRequestMessage"); - - xfer += oprot->writeFieldBegin("target_point", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->target_point.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(PassRequestMessage &a, PassRequestMessage &b) { - using ::std::swap; - swap(a.target_point, b.target_point); - swap(a.__isset, b.__isset); -} - -PassRequestMessage::PassRequestMessage(const PassRequestMessage& other114) noexcept { - target_point = other114.target_point; - __isset = other114.__isset; -} -PassRequestMessage& PassRequestMessage::operator=(const PassRequestMessage& other115) noexcept { - target_point = other115.target_point; - __isset = other115.__isset; - return *this; -} -void PassRequestMessage::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "PassRequestMessage("; - out << "target_point=" << to_string(target_point); - out << ")"; -} - - -StaminaMessage::~StaminaMessage() noexcept { -} - - -void StaminaMessage::__set_stamina(const double val) { - this->stamina = val; -} -std::ostream& operator<<(std::ostream& out, const StaminaMessage& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t StaminaMessage::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->stamina); - this->__isset.stamina = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t StaminaMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("StaminaMessage"); - - xfer += oprot->writeFieldBegin("stamina", ::apache::thrift::protocol::T_DOUBLE, 1); - xfer += oprot->writeDouble(this->stamina); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(StaminaMessage &a, StaminaMessage &b) { - using ::std::swap; - swap(a.stamina, b.stamina); - swap(a.__isset, b.__isset); -} - -StaminaMessage::StaminaMessage(const StaminaMessage& other116) noexcept { - stamina = other116.stamina; - __isset = other116.__isset; -} -StaminaMessage& StaminaMessage::operator=(const StaminaMessage& other117) noexcept { - stamina = other117.stamina; - __isset = other117.__isset; - return *this; -} -void StaminaMessage::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "StaminaMessage("; - out << "stamina=" << to_string(stamina); - out << ")"; -} - - -RecoveryMessage::~RecoveryMessage() noexcept { -} - - -void RecoveryMessage::__set_recovery(const double val) { - this->recovery = val; -} -std::ostream& operator<<(std::ostream& out, const RecoveryMessage& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t RecoveryMessage::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->recovery); - this->__isset.recovery = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t RecoveryMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("RecoveryMessage"); - - xfer += oprot->writeFieldBegin("recovery", ::apache::thrift::protocol::T_DOUBLE, 1); - xfer += oprot->writeDouble(this->recovery); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(RecoveryMessage &a, RecoveryMessage &b) { - using ::std::swap; - swap(a.recovery, b.recovery); - swap(a.__isset, b.__isset); -} - -RecoveryMessage::RecoveryMessage(const RecoveryMessage& other118) noexcept { - recovery = other118.recovery; - __isset = other118.__isset; -} -RecoveryMessage& RecoveryMessage::operator=(const RecoveryMessage& other119) noexcept { - recovery = other119.recovery; - __isset = other119.__isset; - return *this; -} -void RecoveryMessage::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "RecoveryMessage("; - out << "recovery=" << to_string(recovery); - out << ")"; -} - - -StaminaCapacityMessage::~StaminaCapacityMessage() noexcept { -} - - -void StaminaCapacityMessage::__set_stamina_capacity(const double val) { - this->stamina_capacity = val; -} -std::ostream& operator<<(std::ostream& out, const StaminaCapacityMessage& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t StaminaCapacityMessage::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->stamina_capacity); - this->__isset.stamina_capacity = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t StaminaCapacityMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("StaminaCapacityMessage"); - - xfer += oprot->writeFieldBegin("stamina_capacity", ::apache::thrift::protocol::T_DOUBLE, 1); - xfer += oprot->writeDouble(this->stamina_capacity); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(StaminaCapacityMessage &a, StaminaCapacityMessage &b) { - using ::std::swap; - swap(a.stamina_capacity, b.stamina_capacity); - swap(a.__isset, b.__isset); -} - -StaminaCapacityMessage::StaminaCapacityMessage(const StaminaCapacityMessage& other120) noexcept { - stamina_capacity = other120.stamina_capacity; - __isset = other120.__isset; -} -StaminaCapacityMessage& StaminaCapacityMessage::operator=(const StaminaCapacityMessage& other121) noexcept { - stamina_capacity = other121.stamina_capacity; - __isset = other121.__isset; - return *this; -} -void StaminaCapacityMessage::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "StaminaCapacityMessage("; - out << "stamina_capacity=" << to_string(stamina_capacity); - out << ")"; -} - - -DribbleMessage::~DribbleMessage() noexcept { -} - - -void DribbleMessage::__set_target_point(const RpcVector2D& val) { - this->target_point = val; -} - -void DribbleMessage::__set_queue_count(const int32_t val) { - this->queue_count = val; -} -std::ostream& operator<<(std::ostream& out, const DribbleMessage& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t DribbleMessage::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->target_point.read(iprot); - this->__isset.target_point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->queue_count); - this->__isset.queue_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t DribbleMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("DribbleMessage"); - - xfer += oprot->writeFieldBegin("target_point", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->target_point.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("queue_count", ::apache::thrift::protocol::T_I32, 2); - xfer += oprot->writeI32(this->queue_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(DribbleMessage &a, DribbleMessage &b) { - using ::std::swap; - swap(a.target_point, b.target_point); - swap(a.queue_count, b.queue_count); - swap(a.__isset, b.__isset); -} - -DribbleMessage::DribbleMessage(const DribbleMessage& other122) noexcept { - target_point = other122.target_point; - queue_count = other122.queue_count; - __isset = other122.__isset; -} -DribbleMessage& DribbleMessage::operator=(const DribbleMessage& other123) noexcept { - target_point = other123.target_point; - queue_count = other123.queue_count; - __isset = other123.__isset; - return *this; -} -void DribbleMessage::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "DribbleMessage("; - out << "target_point=" << to_string(target_point); - out << ", " << "queue_count=" << to_string(queue_count); - out << ")"; -} - - -BallGoalieMessage::~BallGoalieMessage() noexcept { -} - - -void BallGoalieMessage::__set_ball_position(const RpcVector2D& val) { - this->ball_position = val; -} - -void BallGoalieMessage::__set_ball_velocity(const RpcVector2D& val) { - this->ball_velocity = val; -} - -void BallGoalieMessage::__set_goalie_position(const RpcVector2D& val) { - this->goalie_position = val; -} - -void BallGoalieMessage::__set_goalie_body_direction(const double val) { - this->goalie_body_direction = val; -} -std::ostream& operator<<(std::ostream& out, const BallGoalieMessage& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t BallGoalieMessage::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->ball_position.read(iprot); - this->__isset.ball_position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->ball_velocity.read(iprot); - this->__isset.ball_velocity = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->goalie_position.read(iprot); - this->__isset.goalie_position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->goalie_body_direction); - this->__isset.goalie_body_direction = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t BallGoalieMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("BallGoalieMessage"); - - xfer += oprot->writeFieldBegin("ball_position", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->ball_position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("ball_velocity", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->ball_velocity.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("goalie_position", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += this->goalie_position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("goalie_body_direction", ::apache::thrift::protocol::T_DOUBLE, 4); - xfer += oprot->writeDouble(this->goalie_body_direction); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(BallGoalieMessage &a, BallGoalieMessage &b) { - using ::std::swap; - swap(a.ball_position, b.ball_position); - swap(a.ball_velocity, b.ball_velocity); - swap(a.goalie_position, b.goalie_position); - swap(a.goalie_body_direction, b.goalie_body_direction); - swap(a.__isset, b.__isset); -} - -BallGoalieMessage::BallGoalieMessage(const BallGoalieMessage& other124) noexcept { - ball_position = other124.ball_position; - ball_velocity = other124.ball_velocity; - goalie_position = other124.goalie_position; - goalie_body_direction = other124.goalie_body_direction; - __isset = other124.__isset; -} -BallGoalieMessage& BallGoalieMessage::operator=(const BallGoalieMessage& other125) noexcept { - ball_position = other125.ball_position; - ball_velocity = other125.ball_velocity; - goalie_position = other125.goalie_position; - goalie_body_direction = other125.goalie_body_direction; - __isset = other125.__isset; - return *this; -} -void BallGoalieMessage::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "BallGoalieMessage("; - out << "ball_position=" << to_string(ball_position); - out << ", " << "ball_velocity=" << to_string(ball_velocity); - out << ", " << "goalie_position=" << to_string(goalie_position); - out << ", " << "goalie_body_direction=" << to_string(goalie_body_direction); - out << ")"; -} - - -OnePlayerMessage::~OnePlayerMessage() noexcept { -} - - -void OnePlayerMessage::__set_uniform_number(const int32_t val) { - this->uniform_number = val; -} - -void OnePlayerMessage::__set_position(const RpcVector2D& val) { - this->position = val; -} -std::ostream& operator<<(std::ostream& out, const OnePlayerMessage& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t OnePlayerMessage::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->uniform_number); - this->__isset.uniform_number = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->position.read(iprot); - this->__isset.position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t OnePlayerMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("OnePlayerMessage"); - - xfer += oprot->writeFieldBegin("uniform_number", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(this->uniform_number); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("position", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(OnePlayerMessage &a, OnePlayerMessage &b) { - using ::std::swap; - swap(a.uniform_number, b.uniform_number); - swap(a.position, b.position); - swap(a.__isset, b.__isset); -} - -OnePlayerMessage::OnePlayerMessage(const OnePlayerMessage& other126) noexcept { - uniform_number = other126.uniform_number; - position = other126.position; - __isset = other126.__isset; -} -OnePlayerMessage& OnePlayerMessage::operator=(const OnePlayerMessage& other127) noexcept { - uniform_number = other127.uniform_number; - position = other127.position; - __isset = other127.__isset; - return *this; -} -void OnePlayerMessage::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "OnePlayerMessage("; - out << "uniform_number=" << to_string(uniform_number); - out << ", " << "position=" << to_string(position); - out << ")"; -} - - -TwoPlayerMessage::~TwoPlayerMessage() noexcept { -} - - -void TwoPlayerMessage::__set_first_uniform_number(const int32_t val) { - this->first_uniform_number = val; -} - -void TwoPlayerMessage::__set_first_position(const RpcVector2D& val) { - this->first_position = val; -} - -void TwoPlayerMessage::__set_second_uniform_number(const int32_t val) { - this->second_uniform_number = val; -} - -void TwoPlayerMessage::__set_second_position(const RpcVector2D& val) { - this->second_position = val; -} -std::ostream& operator<<(std::ostream& out, const TwoPlayerMessage& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t TwoPlayerMessage::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->first_uniform_number); - this->__isset.first_uniform_number = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->first_position.read(iprot); - this->__isset.first_position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->second_uniform_number); - this->__isset.second_uniform_number = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->second_position.read(iprot); - this->__isset.second_position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t TwoPlayerMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("TwoPlayerMessage"); - - xfer += oprot->writeFieldBegin("first_uniform_number", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(this->first_uniform_number); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("first_position", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->first_position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("second_uniform_number", ::apache::thrift::protocol::T_I32, 3); - xfer += oprot->writeI32(this->second_uniform_number); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("second_position", ::apache::thrift::protocol::T_STRUCT, 4); - xfer += this->second_position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(TwoPlayerMessage &a, TwoPlayerMessage &b) { - using ::std::swap; - swap(a.first_uniform_number, b.first_uniform_number); - swap(a.first_position, b.first_position); - swap(a.second_uniform_number, b.second_uniform_number); - swap(a.second_position, b.second_position); - swap(a.__isset, b.__isset); -} - -TwoPlayerMessage::TwoPlayerMessage(const TwoPlayerMessage& other128) noexcept { - first_uniform_number = other128.first_uniform_number; - first_position = other128.first_position; - second_uniform_number = other128.second_uniform_number; - second_position = other128.second_position; - __isset = other128.__isset; -} -TwoPlayerMessage& TwoPlayerMessage::operator=(const TwoPlayerMessage& other129) noexcept { - first_uniform_number = other129.first_uniform_number; - first_position = other129.first_position; - second_uniform_number = other129.second_uniform_number; - second_position = other129.second_position; - __isset = other129.__isset; - return *this; -} -void TwoPlayerMessage::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "TwoPlayerMessage("; - out << "first_uniform_number=" << to_string(first_uniform_number); - out << ", " << "first_position=" << to_string(first_position); - out << ", " << "second_uniform_number=" << to_string(second_uniform_number); - out << ", " << "second_position=" << to_string(second_position); - out << ")"; -} - - -ThreePlayerMessage::~ThreePlayerMessage() noexcept { -} - - -void ThreePlayerMessage::__set_first_uniform_number(const int32_t val) { - this->first_uniform_number = val; -} - -void ThreePlayerMessage::__set_first_position(const RpcVector2D& val) { - this->first_position = val; -} - -void ThreePlayerMessage::__set_second_uniform_number(const int32_t val) { - this->second_uniform_number = val; -} - -void ThreePlayerMessage::__set_second_position(const RpcVector2D& val) { - this->second_position = val; -} - -void ThreePlayerMessage::__set_third_uniform_number(const int32_t val) { - this->third_uniform_number = val; -} - -void ThreePlayerMessage::__set_third_position(const RpcVector2D& val) { - this->third_position = val; -} -std::ostream& operator<<(std::ostream& out, const ThreePlayerMessage& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t ThreePlayerMessage::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->first_uniform_number); - this->__isset.first_uniform_number = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->first_position.read(iprot); - this->__isset.first_position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->second_uniform_number); - this->__isset.second_uniform_number = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->second_position.read(iprot); - this->__isset.second_position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->third_uniform_number); - this->__isset.third_uniform_number = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 6: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->third_position.read(iprot); - this->__isset.third_position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t ThreePlayerMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ThreePlayerMessage"); - - xfer += oprot->writeFieldBegin("first_uniform_number", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(this->first_uniform_number); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("first_position", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->first_position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("second_uniform_number", ::apache::thrift::protocol::T_I32, 3); - xfer += oprot->writeI32(this->second_uniform_number); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("second_position", ::apache::thrift::protocol::T_STRUCT, 4); - xfer += this->second_position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("third_uniform_number", ::apache::thrift::protocol::T_I32, 5); - xfer += oprot->writeI32(this->third_uniform_number); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("third_position", ::apache::thrift::protocol::T_STRUCT, 6); - xfer += this->third_position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(ThreePlayerMessage &a, ThreePlayerMessage &b) { - using ::std::swap; - swap(a.first_uniform_number, b.first_uniform_number); - swap(a.first_position, b.first_position); - swap(a.second_uniform_number, b.second_uniform_number); - swap(a.second_position, b.second_position); - swap(a.third_uniform_number, b.third_uniform_number); - swap(a.third_position, b.third_position); - swap(a.__isset, b.__isset); -} - -ThreePlayerMessage::ThreePlayerMessage(const ThreePlayerMessage& other130) noexcept { - first_uniform_number = other130.first_uniform_number; - first_position = other130.first_position; - second_uniform_number = other130.second_uniform_number; - second_position = other130.second_position; - third_uniform_number = other130.third_uniform_number; - third_position = other130.third_position; - __isset = other130.__isset; -} -ThreePlayerMessage& ThreePlayerMessage::operator=(const ThreePlayerMessage& other131) noexcept { - first_uniform_number = other131.first_uniform_number; - first_position = other131.first_position; - second_uniform_number = other131.second_uniform_number; - second_position = other131.second_position; - third_uniform_number = other131.third_uniform_number; - third_position = other131.third_position; - __isset = other131.__isset; - return *this; -} -void ThreePlayerMessage::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "ThreePlayerMessage("; - out << "first_uniform_number=" << to_string(first_uniform_number); - out << ", " << "first_position=" << to_string(first_position); - out << ", " << "second_uniform_number=" << to_string(second_uniform_number); - out << ", " << "second_position=" << to_string(second_position); - out << ", " << "third_uniform_number=" << to_string(third_uniform_number); - out << ", " << "third_position=" << to_string(third_position); - out << ")"; -} - - -SelfMessage::~SelfMessage() noexcept { -} - - -void SelfMessage::__set_self_position(const RpcVector2D& val) { - this->self_position = val; -} - -void SelfMessage::__set_self_body_direction(const double val) { - this->self_body_direction = val; -} - -void SelfMessage::__set_self_stamina(const double val) { - this->self_stamina = val; -} -std::ostream& operator<<(std::ostream& out, const SelfMessage& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t SelfMessage::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->self_position.read(iprot); - this->__isset.self_position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->self_body_direction); - this->__isset.self_body_direction = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->self_stamina); - this->__isset.self_stamina = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t SelfMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("SelfMessage"); - - xfer += oprot->writeFieldBegin("self_position", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->self_position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("self_body_direction", ::apache::thrift::protocol::T_DOUBLE, 2); - xfer += oprot->writeDouble(this->self_body_direction); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("self_stamina", ::apache::thrift::protocol::T_DOUBLE, 3); - xfer += oprot->writeDouble(this->self_stamina); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(SelfMessage &a, SelfMessage &b) { - using ::std::swap; - swap(a.self_position, b.self_position); - swap(a.self_body_direction, b.self_body_direction); - swap(a.self_stamina, b.self_stamina); - swap(a.__isset, b.__isset); -} - -SelfMessage::SelfMessage(const SelfMessage& other132) noexcept { - self_position = other132.self_position; - self_body_direction = other132.self_body_direction; - self_stamina = other132.self_stamina; - __isset = other132.__isset; -} -SelfMessage& SelfMessage::operator=(const SelfMessage& other133) noexcept { - self_position = other133.self_position; - self_body_direction = other133.self_body_direction; - self_stamina = other133.self_stamina; - __isset = other133.__isset; - return *this; -} -void SelfMessage::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "SelfMessage("; - out << "self_position=" << to_string(self_position); - out << ", " << "self_body_direction=" << to_string(self_body_direction); - out << ", " << "self_stamina=" << to_string(self_stamina); - out << ")"; -} - - -TeammateMessage::~TeammateMessage() noexcept { -} - - -void TeammateMessage::__set_uniform_number(const int32_t val) { - this->uniform_number = val; -} - -void TeammateMessage::__set_position(const RpcVector2D& val) { - this->position = val; -} - -void TeammateMessage::__set_body_direction(const double val) { - this->body_direction = val; -} -std::ostream& operator<<(std::ostream& out, const TeammateMessage& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t TeammateMessage::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->uniform_number); - this->__isset.uniform_number = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->position.read(iprot); - this->__isset.position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->body_direction); - this->__isset.body_direction = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t TeammateMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("TeammateMessage"); - - xfer += oprot->writeFieldBegin("uniform_number", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(this->uniform_number); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("position", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("body_direction", ::apache::thrift::protocol::T_DOUBLE, 3); - xfer += oprot->writeDouble(this->body_direction); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(TeammateMessage &a, TeammateMessage &b) { - using ::std::swap; - swap(a.uniform_number, b.uniform_number); - swap(a.position, b.position); - swap(a.body_direction, b.body_direction); - swap(a.__isset, b.__isset); -} - -TeammateMessage::TeammateMessage(const TeammateMessage& other134) noexcept { - uniform_number = other134.uniform_number; - position = other134.position; - body_direction = other134.body_direction; - __isset = other134.__isset; -} -TeammateMessage& TeammateMessage::operator=(const TeammateMessage& other135) noexcept { - uniform_number = other135.uniform_number; - position = other135.position; - body_direction = other135.body_direction; - __isset = other135.__isset; - return *this; -} -void TeammateMessage::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "TeammateMessage("; - out << "uniform_number=" << to_string(uniform_number); - out << ", " << "position=" << to_string(position); - out << ", " << "body_direction=" << to_string(body_direction); - out << ")"; -} - - -OpponentMessage::~OpponentMessage() noexcept { -} - - -void OpponentMessage::__set_uniform_number(const int32_t val) { - this->uniform_number = val; -} - -void OpponentMessage::__set_position(const RpcVector2D& val) { - this->position = val; -} - -void OpponentMessage::__set_body_direction(const double val) { - this->body_direction = val; -} -std::ostream& operator<<(std::ostream& out, const OpponentMessage& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t OpponentMessage::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->uniform_number); - this->__isset.uniform_number = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->position.read(iprot); - this->__isset.position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->body_direction); - this->__isset.body_direction = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t OpponentMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("OpponentMessage"); - - xfer += oprot->writeFieldBegin("uniform_number", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(this->uniform_number); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("position", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("body_direction", ::apache::thrift::protocol::T_DOUBLE, 3); - xfer += oprot->writeDouble(this->body_direction); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(OpponentMessage &a, OpponentMessage &b) { - using ::std::swap; - swap(a.uniform_number, b.uniform_number); - swap(a.position, b.position); - swap(a.body_direction, b.body_direction); - swap(a.__isset, b.__isset); -} - -OpponentMessage::OpponentMessage(const OpponentMessage& other136) noexcept { - uniform_number = other136.uniform_number; - position = other136.position; - body_direction = other136.body_direction; - __isset = other136.__isset; -} -OpponentMessage& OpponentMessage::operator=(const OpponentMessage& other137) noexcept { - uniform_number = other137.uniform_number; - position = other137.position; - body_direction = other137.body_direction; - __isset = other137.__isset; - return *this; -} -void OpponentMessage::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "OpponentMessage("; - out << "uniform_number=" << to_string(uniform_number); - out << ", " << "position=" << to_string(position); - out << ", " << "body_direction=" << to_string(body_direction); - out << ")"; -} - - -BallPlayerMessage::~BallPlayerMessage() noexcept { -} - - -void BallPlayerMessage::__set_ball_position(const RpcVector2D& val) { - this->ball_position = val; -} - -void BallPlayerMessage::__set_ball_velocity(const RpcVector2D& val) { - this->ball_velocity = val; -} - -void BallPlayerMessage::__set_uniform_number(const int32_t val) { - this->uniform_number = val; -} - -void BallPlayerMessage::__set_player_position(const RpcVector2D& val) { - this->player_position = val; -} - -void BallPlayerMessage::__set_body_direction(const double val) { - this->body_direction = val; -} -std::ostream& operator<<(std::ostream& out, const BallPlayerMessage& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t BallPlayerMessage::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->ball_position.read(iprot); - this->__isset.ball_position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->ball_velocity.read(iprot); - this->__isset.ball_velocity = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->uniform_number); - this->__isset.uniform_number = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->player_position.read(iprot); - this->__isset.player_position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->body_direction); - this->__isset.body_direction = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t BallPlayerMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("BallPlayerMessage"); - - xfer += oprot->writeFieldBegin("ball_position", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->ball_position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("ball_velocity", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->ball_velocity.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("uniform_number", ::apache::thrift::protocol::T_I32, 3); - xfer += oprot->writeI32(this->uniform_number); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("player_position", ::apache::thrift::protocol::T_STRUCT, 4); - xfer += this->player_position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("body_direction", ::apache::thrift::protocol::T_DOUBLE, 5); - xfer += oprot->writeDouble(this->body_direction); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(BallPlayerMessage &a, BallPlayerMessage &b) { - using ::std::swap; - swap(a.ball_position, b.ball_position); - swap(a.ball_velocity, b.ball_velocity); - swap(a.uniform_number, b.uniform_number); - swap(a.player_position, b.player_position); - swap(a.body_direction, b.body_direction); - swap(a.__isset, b.__isset); -} - -BallPlayerMessage::BallPlayerMessage(const BallPlayerMessage& other138) noexcept { - ball_position = other138.ball_position; - ball_velocity = other138.ball_velocity; - uniform_number = other138.uniform_number; - player_position = other138.player_position; - body_direction = other138.body_direction; - __isset = other138.__isset; -} -BallPlayerMessage& BallPlayerMessage::operator=(const BallPlayerMessage& other139) noexcept { - ball_position = other139.ball_position; - ball_velocity = other139.ball_velocity; - uniform_number = other139.uniform_number; - player_position = other139.player_position; - body_direction = other139.body_direction; - __isset = other139.__isset; - return *this; -} -void BallPlayerMessage::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "BallPlayerMessage("; - out << "ball_position=" << to_string(ball_position); - out << ", " << "ball_velocity=" << to_string(ball_velocity); - out << ", " << "uniform_number=" << to_string(uniform_number); - out << ", " << "player_position=" << to_string(player_position); - out << ", " << "body_direction=" << to_string(body_direction); - out << ")"; -} - - -Say::~Say() noexcept { -} - - -void Say::__set_ball_message(const BallMessage& val) { - this->ball_message = val; -__isset.ball_message = true; -} - -void Say::__set_pass_message(const PassMessage& val) { - this->pass_message = val; -__isset.pass_message = true; -} - -void Say::__set_intercept_message(const InterceptMessage& val) { - this->intercept_message = val; -__isset.intercept_message = true; -} - -void Say::__set_goalie_message(const GoalieMessage& val) { - this->goalie_message = val; -__isset.goalie_message = true; -} - -void Say::__set_goalie_and_player_message(const GoalieAndPlayerMessage& val) { - this->goalie_and_player_message = val; -__isset.goalie_and_player_message = true; -} - -void Say::__set_offside_line_message(const OffsideLineMessage& val) { - this->offside_line_message = val; -__isset.offside_line_message = true; -} - -void Say::__set_defense_line_message(const DefenseLineMessage& val) { - this->defense_line_message = val; -__isset.defense_line_message = true; -} - -void Say::__set_wait_request_message(const WaitRequestMessage& val) { - this->wait_request_message = val; -__isset.wait_request_message = true; -} - -void Say::__set_setplay_message(const SetplayMessage& val) { - this->setplay_message = val; -__isset.setplay_message = true; -} - -void Say::__set_pass_request_message(const PassRequestMessage& val) { - this->pass_request_message = val; -__isset.pass_request_message = true; -} - -void Say::__set_stamina_message(const StaminaMessage& val) { - this->stamina_message = val; -__isset.stamina_message = true; -} - -void Say::__set_recovery_message(const RecoveryMessage& val) { - this->recovery_message = val; -__isset.recovery_message = true; -} - -void Say::__set_stamina_capacity_message(const StaminaCapacityMessage& val) { - this->stamina_capacity_message = val; -__isset.stamina_capacity_message = true; -} - -void Say::__set_dribble_message(const DribbleMessage& val) { - this->dribble_message = val; -__isset.dribble_message = true; -} - -void Say::__set_ball_goalie_message(const BallGoalieMessage& val) { - this->ball_goalie_message = val; -__isset.ball_goalie_message = true; -} - -void Say::__set_one_player_message(const OnePlayerMessage& val) { - this->one_player_message = val; -__isset.one_player_message = true; -} - -void Say::__set_two_player_message(const TwoPlayerMessage& val) { - this->two_player_message = val; -__isset.two_player_message = true; -} - -void Say::__set_three_player_message(const ThreePlayerMessage& val) { - this->three_player_message = val; -__isset.three_player_message = true; -} - -void Say::__set_self_message(const SelfMessage& val) { - this->self_message = val; -__isset.self_message = true; -} - -void Say::__set_teammate_message(const TeammateMessage& val) { - this->teammate_message = val; -__isset.teammate_message = true; -} - -void Say::__set_opponent_message(const OpponentMessage& val) { - this->opponent_message = val; -__isset.opponent_message = true; -} - -void Say::__set_ball_player_message(const BallPlayerMessage& val) { - this->ball_player_message = val; -__isset.ball_player_message = true; -} -std::ostream& operator<<(std::ostream& out, const Say& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Say::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->ball_message.read(iprot); - this->__isset.ball_message = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->pass_message.read(iprot); - this->__isset.pass_message = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->intercept_message.read(iprot); - this->__isset.intercept_message = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->goalie_message.read(iprot); - this->__isset.goalie_message = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->goalie_and_player_message.read(iprot); - this->__isset.goalie_and_player_message = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 6: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->offside_line_message.read(iprot); - this->__isset.offside_line_message = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 7: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->defense_line_message.read(iprot); - this->__isset.defense_line_message = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 8: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->wait_request_message.read(iprot); - this->__isset.wait_request_message = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 9: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->setplay_message.read(iprot); - this->__isset.setplay_message = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 10: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->pass_request_message.read(iprot); - this->__isset.pass_request_message = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 11: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->stamina_message.read(iprot); - this->__isset.stamina_message = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 12: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->recovery_message.read(iprot); - this->__isset.recovery_message = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 13: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->stamina_capacity_message.read(iprot); - this->__isset.stamina_capacity_message = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 14: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->dribble_message.read(iprot); - this->__isset.dribble_message = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 15: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->ball_goalie_message.read(iprot); - this->__isset.ball_goalie_message = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 16: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->one_player_message.read(iprot); - this->__isset.one_player_message = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 17: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->two_player_message.read(iprot); - this->__isset.two_player_message = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 18: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->three_player_message.read(iprot); - this->__isset.three_player_message = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 19: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->self_message.read(iprot); - this->__isset.self_message = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 20: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->teammate_message.read(iprot); - this->__isset.teammate_message = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 21: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->opponent_message.read(iprot); - this->__isset.opponent_message = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 22: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->ball_player_message.read(iprot); - this->__isset.ball_player_message = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Say::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Say"); - - if (this->__isset.ball_message) { - xfer += oprot->writeFieldBegin("ball_message", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->ball_message.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.pass_message) { - xfer += oprot->writeFieldBegin("pass_message", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->pass_message.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.intercept_message) { - xfer += oprot->writeFieldBegin("intercept_message", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += this->intercept_message.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.goalie_message) { - xfer += oprot->writeFieldBegin("goalie_message", ::apache::thrift::protocol::T_STRUCT, 4); - xfer += this->goalie_message.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.goalie_and_player_message) { - xfer += oprot->writeFieldBegin("goalie_and_player_message", ::apache::thrift::protocol::T_STRUCT, 5); - xfer += this->goalie_and_player_message.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.offside_line_message) { - xfer += oprot->writeFieldBegin("offside_line_message", ::apache::thrift::protocol::T_STRUCT, 6); - xfer += this->offside_line_message.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.defense_line_message) { - xfer += oprot->writeFieldBegin("defense_line_message", ::apache::thrift::protocol::T_STRUCT, 7); - xfer += this->defense_line_message.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.wait_request_message) { - xfer += oprot->writeFieldBegin("wait_request_message", ::apache::thrift::protocol::T_STRUCT, 8); - xfer += this->wait_request_message.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.setplay_message) { - xfer += oprot->writeFieldBegin("setplay_message", ::apache::thrift::protocol::T_STRUCT, 9); - xfer += this->setplay_message.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.pass_request_message) { - xfer += oprot->writeFieldBegin("pass_request_message", ::apache::thrift::protocol::T_STRUCT, 10); - xfer += this->pass_request_message.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.stamina_message) { - xfer += oprot->writeFieldBegin("stamina_message", ::apache::thrift::protocol::T_STRUCT, 11); - xfer += this->stamina_message.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.recovery_message) { - xfer += oprot->writeFieldBegin("recovery_message", ::apache::thrift::protocol::T_STRUCT, 12); - xfer += this->recovery_message.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.stamina_capacity_message) { - xfer += oprot->writeFieldBegin("stamina_capacity_message", ::apache::thrift::protocol::T_STRUCT, 13); - xfer += this->stamina_capacity_message.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.dribble_message) { - xfer += oprot->writeFieldBegin("dribble_message", ::apache::thrift::protocol::T_STRUCT, 14); - xfer += this->dribble_message.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.ball_goalie_message) { - xfer += oprot->writeFieldBegin("ball_goalie_message", ::apache::thrift::protocol::T_STRUCT, 15); - xfer += this->ball_goalie_message.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.one_player_message) { - xfer += oprot->writeFieldBegin("one_player_message", ::apache::thrift::protocol::T_STRUCT, 16); - xfer += this->one_player_message.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.two_player_message) { - xfer += oprot->writeFieldBegin("two_player_message", ::apache::thrift::protocol::T_STRUCT, 17); - xfer += this->two_player_message.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.three_player_message) { - xfer += oprot->writeFieldBegin("three_player_message", ::apache::thrift::protocol::T_STRUCT, 18); - xfer += this->three_player_message.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.self_message) { - xfer += oprot->writeFieldBegin("self_message", ::apache::thrift::protocol::T_STRUCT, 19); - xfer += this->self_message.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.teammate_message) { - xfer += oprot->writeFieldBegin("teammate_message", ::apache::thrift::protocol::T_STRUCT, 20); - xfer += this->teammate_message.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.opponent_message) { - xfer += oprot->writeFieldBegin("opponent_message", ::apache::thrift::protocol::T_STRUCT, 21); - xfer += this->opponent_message.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.ball_player_message) { - xfer += oprot->writeFieldBegin("ball_player_message", ::apache::thrift::protocol::T_STRUCT, 22); - xfer += this->ball_player_message.write(oprot); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Say &a, Say &b) { - using ::std::swap; - swap(a.ball_message, b.ball_message); - swap(a.pass_message, b.pass_message); - swap(a.intercept_message, b.intercept_message); - swap(a.goalie_message, b.goalie_message); - swap(a.goalie_and_player_message, b.goalie_and_player_message); - swap(a.offside_line_message, b.offside_line_message); - swap(a.defense_line_message, b.defense_line_message); - swap(a.wait_request_message, b.wait_request_message); - swap(a.setplay_message, b.setplay_message); - swap(a.pass_request_message, b.pass_request_message); - swap(a.stamina_message, b.stamina_message); - swap(a.recovery_message, b.recovery_message); - swap(a.stamina_capacity_message, b.stamina_capacity_message); - swap(a.dribble_message, b.dribble_message); - swap(a.ball_goalie_message, b.ball_goalie_message); - swap(a.one_player_message, b.one_player_message); - swap(a.two_player_message, b.two_player_message); - swap(a.three_player_message, b.three_player_message); - swap(a.self_message, b.self_message); - swap(a.teammate_message, b.teammate_message); - swap(a.opponent_message, b.opponent_message); - swap(a.ball_player_message, b.ball_player_message); - swap(a.__isset, b.__isset); -} - -Say::Say(const Say& other140) noexcept { - ball_message = other140.ball_message; - pass_message = other140.pass_message; - intercept_message = other140.intercept_message; - goalie_message = other140.goalie_message; - goalie_and_player_message = other140.goalie_and_player_message; - offside_line_message = other140.offside_line_message; - defense_line_message = other140.defense_line_message; - wait_request_message = other140.wait_request_message; - setplay_message = other140.setplay_message; - pass_request_message = other140.pass_request_message; - stamina_message = other140.stamina_message; - recovery_message = other140.recovery_message; - stamina_capacity_message = other140.stamina_capacity_message; - dribble_message = other140.dribble_message; - ball_goalie_message = other140.ball_goalie_message; - one_player_message = other140.one_player_message; - two_player_message = other140.two_player_message; - three_player_message = other140.three_player_message; - self_message = other140.self_message; - teammate_message = other140.teammate_message; - opponent_message = other140.opponent_message; - ball_player_message = other140.ball_player_message; - __isset = other140.__isset; -} -Say& Say::operator=(const Say& other141) noexcept { - ball_message = other141.ball_message; - pass_message = other141.pass_message; - intercept_message = other141.intercept_message; - goalie_message = other141.goalie_message; - goalie_and_player_message = other141.goalie_and_player_message; - offside_line_message = other141.offside_line_message; - defense_line_message = other141.defense_line_message; - wait_request_message = other141.wait_request_message; - setplay_message = other141.setplay_message; - pass_request_message = other141.pass_request_message; - stamina_message = other141.stamina_message; - recovery_message = other141.recovery_message; - stamina_capacity_message = other141.stamina_capacity_message; - dribble_message = other141.dribble_message; - ball_goalie_message = other141.ball_goalie_message; - one_player_message = other141.one_player_message; - two_player_message = other141.two_player_message; - three_player_message = other141.three_player_message; - self_message = other141.self_message; - teammate_message = other141.teammate_message; - opponent_message = other141.opponent_message; - ball_player_message = other141.ball_player_message; - __isset = other141.__isset; - return *this; -} -void Say::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Say("; - out << "ball_message="; (__isset.ball_message ? (out << to_string(ball_message)) : (out << "")); - out << ", " << "pass_message="; (__isset.pass_message ? (out << to_string(pass_message)) : (out << "")); - out << ", " << "intercept_message="; (__isset.intercept_message ? (out << to_string(intercept_message)) : (out << "")); - out << ", " << "goalie_message="; (__isset.goalie_message ? (out << to_string(goalie_message)) : (out << "")); - out << ", " << "goalie_and_player_message="; (__isset.goalie_and_player_message ? (out << to_string(goalie_and_player_message)) : (out << "")); - out << ", " << "offside_line_message="; (__isset.offside_line_message ? (out << to_string(offside_line_message)) : (out << "")); - out << ", " << "defense_line_message="; (__isset.defense_line_message ? (out << to_string(defense_line_message)) : (out << "")); - out << ", " << "wait_request_message="; (__isset.wait_request_message ? (out << to_string(wait_request_message)) : (out << "")); - out << ", " << "setplay_message="; (__isset.setplay_message ? (out << to_string(setplay_message)) : (out << "")); - out << ", " << "pass_request_message="; (__isset.pass_request_message ? (out << to_string(pass_request_message)) : (out << "")); - out << ", " << "stamina_message="; (__isset.stamina_message ? (out << to_string(stamina_message)) : (out << "")); - out << ", " << "recovery_message="; (__isset.recovery_message ? (out << to_string(recovery_message)) : (out << "")); - out << ", " << "stamina_capacity_message="; (__isset.stamina_capacity_message ? (out << to_string(stamina_capacity_message)) : (out << "")); - out << ", " << "dribble_message="; (__isset.dribble_message ? (out << to_string(dribble_message)) : (out << "")); - out << ", " << "ball_goalie_message="; (__isset.ball_goalie_message ? (out << to_string(ball_goalie_message)) : (out << "")); - out << ", " << "one_player_message="; (__isset.one_player_message ? (out << to_string(one_player_message)) : (out << "")); - out << ", " << "two_player_message="; (__isset.two_player_message ? (out << to_string(two_player_message)) : (out << "")); - out << ", " << "three_player_message="; (__isset.three_player_message ? (out << to_string(three_player_message)) : (out << "")); - out << ", " << "self_message="; (__isset.self_message ? (out << to_string(self_message)) : (out << "")); - out << ", " << "teammate_message="; (__isset.teammate_message ? (out << to_string(teammate_message)) : (out << "")); - out << ", " << "opponent_message="; (__isset.opponent_message ? (out << to_string(opponent_message)) : (out << "")); - out << ", " << "ball_player_message="; (__isset.ball_player_message ? (out << to_string(ball_player_message)) : (out << "")); - out << ")"; -} - - -PointTo::~PointTo() noexcept { -} - - -void PointTo::__set_x(const double val) { - this->x = val; -} - -void PointTo::__set_y(const double val) { - this->y = val; -} -std::ostream& operator<<(std::ostream& out, const PointTo& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t PointTo::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->x); - this->__isset.x = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->y); - this->__isset.y = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t PointTo::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("PointTo"); - - xfer += oprot->writeFieldBegin("x", ::apache::thrift::protocol::T_DOUBLE, 1); - xfer += oprot->writeDouble(this->x); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("y", ::apache::thrift::protocol::T_DOUBLE, 2); - xfer += oprot->writeDouble(this->y); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(PointTo &a, PointTo &b) { - using ::std::swap; - swap(a.x, b.x); - swap(a.y, b.y); - swap(a.__isset, b.__isset); -} - -PointTo::PointTo(const PointTo& other142) noexcept { - x = other142.x; - y = other142.y; - __isset = other142.__isset; -} -PointTo& PointTo::operator=(const PointTo& other143) noexcept { - x = other143.x; - y = other143.y; - __isset = other143.__isset; - return *this; -} -void PointTo::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "PointTo("; - out << "x=" << to_string(x); - out << ", " << "y=" << to_string(y); - out << ")"; -} - - -PointToOf::~PointToOf() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const PointToOf& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t PointToOf::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t PointToOf::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("PointToOf"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(PointToOf &a, PointToOf &b) { - using ::std::swap; - (void) a; - (void) b; -} - -PointToOf::PointToOf(const PointToOf& other144) noexcept { - (void) other144; -} -PointToOf& PointToOf::operator=(const PointToOf& other145) noexcept { - (void) other145; - return *this; -} -void PointToOf::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "PointToOf("; - out << ")"; -} - - -AttentionTo::~AttentionTo() noexcept { -} - - -void AttentionTo::__set_side(const Side::type val) { - this->side = val; -} - -void AttentionTo::__set_unum(const int32_t val) { - this->unum = val; -} -std::ostream& operator<<(std::ostream& out, const AttentionTo& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t AttentionTo::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast146; - xfer += iprot->readI32(ecast146); - this->side = static_cast(ecast146); - this->__isset.side = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->unum); - this->__isset.unum = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t AttentionTo::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("AttentionTo"); - - xfer += oprot->writeFieldBegin("side", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(static_cast(this->side)); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("unum", ::apache::thrift::protocol::T_I32, 2); - xfer += oprot->writeI32(this->unum); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(AttentionTo &a, AttentionTo &b) { - using ::std::swap; - swap(a.side, b.side); - swap(a.unum, b.unum); - swap(a.__isset, b.__isset); -} - -AttentionTo::AttentionTo(const AttentionTo& other147) noexcept { - side = other147.side; - unum = other147.unum; - __isset = other147.__isset; -} -AttentionTo& AttentionTo::operator=(const AttentionTo& other148) noexcept { - side = other148.side; - unum = other148.unum; - __isset = other148.__isset; - return *this; -} -void AttentionTo::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "AttentionTo("; - out << "side=" << to_string(side); - out << ", " << "unum=" << to_string(unum); - out << ")"; -} - - -AttentionToOf::~AttentionToOf() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const AttentionToOf& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t AttentionToOf::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t AttentionToOf::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("AttentionToOf"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(AttentionToOf &a, AttentionToOf &b) { - using ::std::swap; - (void) a; - (void) b; -} - -AttentionToOf::AttentionToOf(const AttentionToOf& other149) noexcept { - (void) other149; -} -AttentionToOf& AttentionToOf::operator=(const AttentionToOf& other150) noexcept { - (void) other150; - return *this; -} -void AttentionToOf::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "AttentionToOf("; - out << ")"; -} - - -AddText::~AddText() noexcept { -} - - -void AddText::__set_level(const LoggerLevel::type val) { - this->level = val; -} - -void AddText::__set_message(const std::string& val) { - this->message = val; -} -std::ostream& operator<<(std::ostream& out, const AddText& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t AddText::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast151; - xfer += iprot->readI32(ecast151); - this->level = static_cast(ecast151); - this->__isset.level = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->message); - this->__isset.message = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t AddText::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("AddText"); - - xfer += oprot->writeFieldBegin("level", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(static_cast(this->level)); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString(this->message); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(AddText &a, AddText &b) { - using ::std::swap; - swap(a.level, b.level); - swap(a.message, b.message); - swap(a.__isset, b.__isset); -} - -AddText::AddText(const AddText& other152) { - level = other152.level; - message = other152.message; - __isset = other152.__isset; -} -AddText& AddText::operator=(const AddText& other153) { - level = other153.level; - message = other153.message; - __isset = other153.__isset; - return *this; -} -void AddText::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "AddText("; - out << "level=" << to_string(level); - out << ", " << "message=" << to_string(message); - out << ")"; -} - - -AddPoint::~AddPoint() noexcept { -} - - -void AddPoint::__set_level(const LoggerLevel::type val) { - this->level = val; -} - -void AddPoint::__set_point(const RpcVector2D& val) { - this->point = val; -} - -void AddPoint::__set_color(const std::string& val) { - this->color = val; -} -std::ostream& operator<<(std::ostream& out, const AddPoint& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t AddPoint::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast154; - xfer += iprot->readI32(ecast154); - this->level = static_cast(ecast154); - this->__isset.level = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->point.read(iprot); - this->__isset.point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->color); - this->__isset.color = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t AddPoint::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("AddPoint"); - - xfer += oprot->writeFieldBegin("level", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(static_cast(this->level)); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("point", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->point.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("color", ::apache::thrift::protocol::T_STRING, 3); - xfer += oprot->writeString(this->color); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(AddPoint &a, AddPoint &b) { - using ::std::swap; - swap(a.level, b.level); - swap(a.point, b.point); - swap(a.color, b.color); - swap(a.__isset, b.__isset); -} - -AddPoint::AddPoint(const AddPoint& other155) { - level = other155.level; - point = other155.point; - color = other155.color; - __isset = other155.__isset; -} -AddPoint& AddPoint::operator=(const AddPoint& other156) { - level = other156.level; - point = other156.point; - color = other156.color; - __isset = other156.__isset; - return *this; -} -void AddPoint::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "AddPoint("; - out << "level=" << to_string(level); - out << ", " << "point=" << to_string(point); - out << ", " << "color=" << to_string(color); - out << ")"; -} - - -AddLine::~AddLine() noexcept { -} - - -void AddLine::__set_level(const LoggerLevel::type val) { - this->level = val; -} - -void AddLine::__set_start_point(const RpcVector2D& val) { - this->start_point = val; -} - -void AddLine::__set_end_point(const RpcVector2D& val) { - this->end_point = val; -} - -void AddLine::__set_color(const std::string& val) { - this->color = val; -} -std::ostream& operator<<(std::ostream& out, const AddLine& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t AddLine::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast157; - xfer += iprot->readI32(ecast157); - this->level = static_cast(ecast157); - this->__isset.level = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->start_point.read(iprot); - this->__isset.start_point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->end_point.read(iprot); - this->__isset.end_point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->color); - this->__isset.color = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t AddLine::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("AddLine"); - - xfer += oprot->writeFieldBegin("level", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(static_cast(this->level)); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("start_point", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->start_point.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("end_point", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += this->end_point.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("color", ::apache::thrift::protocol::T_STRING, 4); - xfer += oprot->writeString(this->color); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(AddLine &a, AddLine &b) { - using ::std::swap; - swap(a.level, b.level); - swap(a.start_point, b.start_point); - swap(a.end_point, b.end_point); - swap(a.color, b.color); - swap(a.__isset, b.__isset); -} - -AddLine::AddLine(const AddLine& other158) { - level = other158.level; - start_point = other158.start_point; - end_point = other158.end_point; - color = other158.color; - __isset = other158.__isset; -} -AddLine& AddLine::operator=(const AddLine& other159) { - level = other159.level; - start_point = other159.start_point; - end_point = other159.end_point; - color = other159.color; - __isset = other159.__isset; - return *this; -} -void AddLine::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "AddLine("; - out << "level=" << to_string(level); - out << ", " << "start_point=" << to_string(start_point); - out << ", " << "end_point=" << to_string(end_point); - out << ", " << "color=" << to_string(color); - out << ")"; -} - - -AddArc::~AddArc() noexcept { -} - - -void AddArc::__set_level(const LoggerLevel::type val) { - this->level = val; -} - -void AddArc::__set_center(const RpcVector2D& val) { - this->center = val; -} - -void AddArc::__set_radius(const double val) { - this->radius = val; -} - -void AddArc::__set_start_angle(const double val) { - this->start_angle = val; -} - -void AddArc::__set_span_angel(const double val) { - this->span_angel = val; -} - -void AddArc::__set_color(const std::string& val) { - this->color = val; -} -std::ostream& operator<<(std::ostream& out, const AddArc& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t AddArc::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast160; - xfer += iprot->readI32(ecast160); - this->level = static_cast(ecast160); - this->__isset.level = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->center.read(iprot); - this->__isset.center = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->radius); - this->__isset.radius = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->start_angle); - this->__isset.start_angle = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->span_angel); - this->__isset.span_angel = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 6: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->color); - this->__isset.color = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t AddArc::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("AddArc"); - - xfer += oprot->writeFieldBegin("level", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(static_cast(this->level)); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("center", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->center.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("radius", ::apache::thrift::protocol::T_DOUBLE, 3); - xfer += oprot->writeDouble(this->radius); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("start_angle", ::apache::thrift::protocol::T_DOUBLE, 4); - xfer += oprot->writeDouble(this->start_angle); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("span_angel", ::apache::thrift::protocol::T_DOUBLE, 5); - xfer += oprot->writeDouble(this->span_angel); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("color", ::apache::thrift::protocol::T_STRING, 6); - xfer += oprot->writeString(this->color); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(AddArc &a, AddArc &b) { - using ::std::swap; - swap(a.level, b.level); - swap(a.center, b.center); - swap(a.radius, b.radius); - swap(a.start_angle, b.start_angle); - swap(a.span_angel, b.span_angel); - swap(a.color, b.color); - swap(a.__isset, b.__isset); -} - -AddArc::AddArc(const AddArc& other161) { - level = other161.level; - center = other161.center; - radius = other161.radius; - start_angle = other161.start_angle; - span_angel = other161.span_angel; - color = other161.color; - __isset = other161.__isset; -} -AddArc& AddArc::operator=(const AddArc& other162) { - level = other162.level; - center = other162.center; - radius = other162.radius; - start_angle = other162.start_angle; - span_angel = other162.span_angel; - color = other162.color; - __isset = other162.__isset; - return *this; -} -void AddArc::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "AddArc("; - out << "level=" << to_string(level); - out << ", " << "center=" << to_string(center); - out << ", " << "radius=" << to_string(radius); - out << ", " << "start_angle=" << to_string(start_angle); - out << ", " << "span_angel=" << to_string(span_angel); - out << ", " << "color=" << to_string(color); - out << ")"; -} - - -AddCircle::~AddCircle() noexcept { -} - - -void AddCircle::__set_level(const LoggerLevel::type val) { - this->level = val; -} - -void AddCircle::__set_center(const RpcVector2D& val) { - this->center = val; -} - -void AddCircle::__set_radius(const double val) { - this->radius = val; -} - -void AddCircle::__set_color(const std::string& val) { - this->color = val; -} - -void AddCircle::__set_fill(const bool val) { - this->fill = val; -} -std::ostream& operator<<(std::ostream& out, const AddCircle& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t AddCircle::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast163; - xfer += iprot->readI32(ecast163); - this->level = static_cast(ecast163); - this->__isset.level = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->center.read(iprot); - this->__isset.center = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->radius); - this->__isset.radius = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->color); - this->__isset.color = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->fill); - this->__isset.fill = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t AddCircle::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("AddCircle"); - - xfer += oprot->writeFieldBegin("level", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(static_cast(this->level)); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("center", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->center.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("radius", ::apache::thrift::protocol::T_DOUBLE, 3); - xfer += oprot->writeDouble(this->radius); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("color", ::apache::thrift::protocol::T_STRING, 4); - xfer += oprot->writeString(this->color); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("fill", ::apache::thrift::protocol::T_BOOL, 5); - xfer += oprot->writeBool(this->fill); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(AddCircle &a, AddCircle &b) { - using ::std::swap; - swap(a.level, b.level); - swap(a.center, b.center); - swap(a.radius, b.radius); - swap(a.color, b.color); - swap(a.fill, b.fill); - swap(a.__isset, b.__isset); -} - -AddCircle::AddCircle(const AddCircle& other164) { - level = other164.level; - center = other164.center; - radius = other164.radius; - color = other164.color; - fill = other164.fill; - __isset = other164.__isset; -} -AddCircle& AddCircle::operator=(const AddCircle& other165) { - level = other165.level; - center = other165.center; - radius = other165.radius; - color = other165.color; - fill = other165.fill; - __isset = other165.__isset; - return *this; -} -void AddCircle::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "AddCircle("; - out << "level=" << to_string(level); - out << ", " << "center=" << to_string(center); - out << ", " << "radius=" << to_string(radius); - out << ", " << "color=" << to_string(color); - out << ", " << "fill=" << to_string(fill); - out << ")"; -} - - -AddTriangle::~AddTriangle() noexcept { -} - - -void AddTriangle::__set_level(const LoggerLevel::type val) { - this->level = val; -} - -void AddTriangle::__set_point1(const RpcVector2D& val) { - this->point1 = val; -} - -void AddTriangle::__set_point2(const RpcVector2D& val) { - this->point2 = val; -} - -void AddTriangle::__set_point3(const RpcVector2D& val) { - this->point3 = val; -} - -void AddTriangle::__set_color(const std::string& val) { - this->color = val; -} - -void AddTriangle::__set_fill(const bool val) { - this->fill = val; -} -std::ostream& operator<<(std::ostream& out, const AddTriangle& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t AddTriangle::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast166; - xfer += iprot->readI32(ecast166); - this->level = static_cast(ecast166); - this->__isset.level = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->point1.read(iprot); - this->__isset.point1 = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->point2.read(iprot); - this->__isset.point2 = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->point3.read(iprot); - this->__isset.point3 = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->color); - this->__isset.color = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 6: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->fill); - this->__isset.fill = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t AddTriangle::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("AddTriangle"); - - xfer += oprot->writeFieldBegin("level", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(static_cast(this->level)); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("point1", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->point1.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("point2", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += this->point2.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("point3", ::apache::thrift::protocol::T_STRUCT, 4); - xfer += this->point3.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("color", ::apache::thrift::protocol::T_STRING, 5); - xfer += oprot->writeString(this->color); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("fill", ::apache::thrift::protocol::T_BOOL, 6); - xfer += oprot->writeBool(this->fill); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(AddTriangle &a, AddTriangle &b) { - using ::std::swap; - swap(a.level, b.level); - swap(a.point1, b.point1); - swap(a.point2, b.point2); - swap(a.point3, b.point3); - swap(a.color, b.color); - swap(a.fill, b.fill); - swap(a.__isset, b.__isset); -} - -AddTriangle::AddTriangle(const AddTriangle& other167) { - level = other167.level; - point1 = other167.point1; - point2 = other167.point2; - point3 = other167.point3; - color = other167.color; - fill = other167.fill; - __isset = other167.__isset; -} -AddTriangle& AddTriangle::operator=(const AddTriangle& other168) { - level = other168.level; - point1 = other168.point1; - point2 = other168.point2; - point3 = other168.point3; - color = other168.color; - fill = other168.fill; - __isset = other168.__isset; - return *this; -} -void AddTriangle::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "AddTriangle("; - out << "level=" << to_string(level); - out << ", " << "point1=" << to_string(point1); - out << ", " << "point2=" << to_string(point2); - out << ", " << "point3=" << to_string(point3); - out << ", " << "color=" << to_string(color); - out << ", " << "fill=" << to_string(fill); - out << ")"; -} - - -AddRectangle::~AddRectangle() noexcept { -} - - -void AddRectangle::__set_level(const LoggerLevel::type val) { - this->level = val; -} - -void AddRectangle::__set_left(const double val) { - this->left = val; -} - -void AddRectangle::__set_top(const double val) { - this->top = val; -} - -void AddRectangle::__set_length(const double val) { - this->length = val; -} - -void AddRectangle::__set_width(const double val) { - this->width = val; -} - -void AddRectangle::__set_color(const std::string& val) { - this->color = val; -} - -void AddRectangle::__set_fill(const bool val) { - this->fill = val; -} -std::ostream& operator<<(std::ostream& out, const AddRectangle& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t AddRectangle::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast169; - xfer += iprot->readI32(ecast169); - this->level = static_cast(ecast169); - this->__isset.level = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->left); - this->__isset.left = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->top); - this->__isset.top = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->length); - this->__isset.length = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->width); - this->__isset.width = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 6: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->color); - this->__isset.color = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 7: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->fill); - this->__isset.fill = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t AddRectangle::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("AddRectangle"); - - xfer += oprot->writeFieldBegin("level", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(static_cast(this->level)); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("left", ::apache::thrift::protocol::T_DOUBLE, 2); - xfer += oprot->writeDouble(this->left); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("top", ::apache::thrift::protocol::T_DOUBLE, 3); - xfer += oprot->writeDouble(this->top); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("length", ::apache::thrift::protocol::T_DOUBLE, 4); - xfer += oprot->writeDouble(this->length); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("width", ::apache::thrift::protocol::T_DOUBLE, 5); - xfer += oprot->writeDouble(this->width); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("color", ::apache::thrift::protocol::T_STRING, 6); - xfer += oprot->writeString(this->color); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("fill", ::apache::thrift::protocol::T_BOOL, 7); - xfer += oprot->writeBool(this->fill); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(AddRectangle &a, AddRectangle &b) { - using ::std::swap; - swap(a.level, b.level); - swap(a.left, b.left); - swap(a.top, b.top); - swap(a.length, b.length); - swap(a.width, b.width); - swap(a.color, b.color); - swap(a.fill, b.fill); - swap(a.__isset, b.__isset); -} - -AddRectangle::AddRectangle(const AddRectangle& other170) { - level = other170.level; - left = other170.left; - top = other170.top; - length = other170.length; - width = other170.width; - color = other170.color; - fill = other170.fill; - __isset = other170.__isset; -} -AddRectangle& AddRectangle::operator=(const AddRectangle& other171) { - level = other171.level; - left = other171.left; - top = other171.top; - length = other171.length; - width = other171.width; - color = other171.color; - fill = other171.fill; - __isset = other171.__isset; - return *this; -} -void AddRectangle::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "AddRectangle("; - out << "level=" << to_string(level); - out << ", " << "left=" << to_string(left); - out << ", " << "top=" << to_string(top); - out << ", " << "length=" << to_string(length); - out << ", " << "width=" << to_string(width); - out << ", " << "color=" << to_string(color); - out << ", " << "fill=" << to_string(fill); - out << ")"; -} - - -AddSector::~AddSector() noexcept { -} - - -void AddSector::__set_level(const LoggerLevel::type val) { - this->level = val; -} - -void AddSector::__set_center(const RpcVector2D& val) { - this->center = val; -} - -void AddSector::__set_min_radius(const double val) { - this->min_radius = val; -} - -void AddSector::__set_max_radius(const double val) { - this->max_radius = val; -} - -void AddSector::__set_start_angle(const double val) { - this->start_angle = val; -} - -void AddSector::__set_span_angel(const double val) { - this->span_angel = val; -} - -void AddSector::__set_color(const std::string& val) { - this->color = val; -} - -void AddSector::__set_fill(const bool val) { - this->fill = val; -} -std::ostream& operator<<(std::ostream& out, const AddSector& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t AddSector::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast172; - xfer += iprot->readI32(ecast172); - this->level = static_cast(ecast172); - this->__isset.level = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->center.read(iprot); - this->__isset.center = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->min_radius); - this->__isset.min_radius = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->max_radius); - this->__isset.max_radius = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->start_angle); - this->__isset.start_angle = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 6: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->span_angel); - this->__isset.span_angel = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 7: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->color); - this->__isset.color = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 8: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->fill); - this->__isset.fill = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t AddSector::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("AddSector"); - - xfer += oprot->writeFieldBegin("level", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(static_cast(this->level)); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("center", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->center.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("min_radius", ::apache::thrift::protocol::T_DOUBLE, 3); - xfer += oprot->writeDouble(this->min_radius); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("max_radius", ::apache::thrift::protocol::T_DOUBLE, 4); - xfer += oprot->writeDouble(this->max_radius); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("start_angle", ::apache::thrift::protocol::T_DOUBLE, 5); - xfer += oprot->writeDouble(this->start_angle); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("span_angel", ::apache::thrift::protocol::T_DOUBLE, 6); - xfer += oprot->writeDouble(this->span_angel); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("color", ::apache::thrift::protocol::T_STRING, 7); - xfer += oprot->writeString(this->color); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("fill", ::apache::thrift::protocol::T_BOOL, 8); - xfer += oprot->writeBool(this->fill); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(AddSector &a, AddSector &b) { - using ::std::swap; - swap(a.level, b.level); - swap(a.center, b.center); - swap(a.min_radius, b.min_radius); - swap(a.max_radius, b.max_radius); - swap(a.start_angle, b.start_angle); - swap(a.span_angel, b.span_angel); - swap(a.color, b.color); - swap(a.fill, b.fill); - swap(a.__isset, b.__isset); -} - -AddSector::AddSector(const AddSector& other173) { - level = other173.level; - center = other173.center; - min_radius = other173.min_radius; - max_radius = other173.max_radius; - start_angle = other173.start_angle; - span_angel = other173.span_angel; - color = other173.color; - fill = other173.fill; - __isset = other173.__isset; -} -AddSector& AddSector::operator=(const AddSector& other174) { - level = other174.level; - center = other174.center; - min_radius = other174.min_radius; - max_radius = other174.max_radius; - start_angle = other174.start_angle; - span_angel = other174.span_angel; - color = other174.color; - fill = other174.fill; - __isset = other174.__isset; - return *this; -} -void AddSector::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "AddSector("; - out << "level=" << to_string(level); - out << ", " << "center=" << to_string(center); - out << ", " << "min_radius=" << to_string(min_radius); - out << ", " << "max_radius=" << to_string(max_radius); - out << ", " << "start_angle=" << to_string(start_angle); - out << ", " << "span_angel=" << to_string(span_angel); - out << ", " << "color=" << to_string(color); - out << ", " << "fill=" << to_string(fill); - out << ")"; -} - - -AddMessage::~AddMessage() noexcept { -} - - -void AddMessage::__set_level(const LoggerLevel::type val) { - this->level = val; -} - -void AddMessage::__set_position(const RpcVector2D& val) { - this->position = val; -} - -void AddMessage::__set_message(const std::string& val) { - this->message = val; -} - -void AddMessage::__set_color(const std::string& val) { - this->color = val; -} -std::ostream& operator<<(std::ostream& out, const AddMessage& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t AddMessage::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast175; - xfer += iprot->readI32(ecast175); - this->level = static_cast(ecast175); - this->__isset.level = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->position.read(iprot); - this->__isset.position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->message); - this->__isset.message = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->color); - this->__isset.color = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t AddMessage::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("AddMessage"); - - xfer += oprot->writeFieldBegin("level", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(static_cast(this->level)); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("position", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 3); - xfer += oprot->writeString(this->message); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("color", ::apache::thrift::protocol::T_STRING, 4); - xfer += oprot->writeString(this->color); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(AddMessage &a, AddMessage &b) { - using ::std::swap; - swap(a.level, b.level); - swap(a.position, b.position); - swap(a.message, b.message); - swap(a.color, b.color); - swap(a.__isset, b.__isset); -} - -AddMessage::AddMessage(const AddMessage& other176) { - level = other176.level; - position = other176.position; - message = other176.message; - color = other176.color; - __isset = other176.__isset; -} -AddMessage& AddMessage::operator=(const AddMessage& other177) { - level = other177.level; - position = other177.position; - message = other177.message; - color = other177.color; - __isset = other177.__isset; - return *this; -} -void AddMessage::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "AddMessage("; - out << "level=" << to_string(level); - out << ", " << "position=" << to_string(position); - out << ", " << "message=" << to_string(message); - out << ", " << "color=" << to_string(color); - out << ")"; -} - - -Log::~Log() noexcept { -} - - -void Log::__set_add_text(const AddText& val) { - this->add_text = val; -__isset.add_text = true; -} - -void Log::__set_add_point(const AddPoint& val) { - this->add_point = val; -__isset.add_point = true; -} - -void Log::__set_add_line(const AddLine& val) { - this->add_line = val; -__isset.add_line = true; -} - -void Log::__set_add_arc(const AddArc& val) { - this->add_arc = val; -__isset.add_arc = true; -} - -void Log::__set_add_circle(const AddCircle& val) { - this->add_circle = val; -__isset.add_circle = true; -} - -void Log::__set_add_triangle(const AddTriangle& val) { - this->add_triangle = val; -__isset.add_triangle = true; -} - -void Log::__set_add_rectangle(const AddRectangle& val) { - this->add_rectangle = val; -__isset.add_rectangle = true; -} - -void Log::__set_add_sector(const AddSector& val) { - this->add_sector = val; -__isset.add_sector = true; -} - -void Log::__set_add_message(const AddMessage& val) { - this->add_message = val; -__isset.add_message = true; -} -std::ostream& operator<<(std::ostream& out, const Log& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Log::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->add_text.read(iprot); - this->__isset.add_text = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->add_point.read(iprot); - this->__isset.add_point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->add_line.read(iprot); - this->__isset.add_line = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->add_arc.read(iprot); - this->__isset.add_arc = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->add_circle.read(iprot); - this->__isset.add_circle = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 6: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->add_triangle.read(iprot); - this->__isset.add_triangle = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 7: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->add_rectangle.read(iprot); - this->__isset.add_rectangle = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 8: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->add_sector.read(iprot); - this->__isset.add_sector = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 9: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->add_message.read(iprot); - this->__isset.add_message = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Log::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Log"); - - if (this->__isset.add_text) { - xfer += oprot->writeFieldBegin("add_text", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->add_text.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.add_point) { - xfer += oprot->writeFieldBegin("add_point", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->add_point.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.add_line) { - xfer += oprot->writeFieldBegin("add_line", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += this->add_line.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.add_arc) { - xfer += oprot->writeFieldBegin("add_arc", ::apache::thrift::protocol::T_STRUCT, 4); - xfer += this->add_arc.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.add_circle) { - xfer += oprot->writeFieldBegin("add_circle", ::apache::thrift::protocol::T_STRUCT, 5); - xfer += this->add_circle.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.add_triangle) { - xfer += oprot->writeFieldBegin("add_triangle", ::apache::thrift::protocol::T_STRUCT, 6); - xfer += this->add_triangle.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.add_rectangle) { - xfer += oprot->writeFieldBegin("add_rectangle", ::apache::thrift::protocol::T_STRUCT, 7); - xfer += this->add_rectangle.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.add_sector) { - xfer += oprot->writeFieldBegin("add_sector", ::apache::thrift::protocol::T_STRUCT, 8); - xfer += this->add_sector.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.add_message) { - xfer += oprot->writeFieldBegin("add_message", ::apache::thrift::protocol::T_STRUCT, 9); - xfer += this->add_message.write(oprot); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Log &a, Log &b) { - using ::std::swap; - swap(a.add_text, b.add_text); - swap(a.add_point, b.add_point); - swap(a.add_line, b.add_line); - swap(a.add_arc, b.add_arc); - swap(a.add_circle, b.add_circle); - swap(a.add_triangle, b.add_triangle); - swap(a.add_rectangle, b.add_rectangle); - swap(a.add_sector, b.add_sector); - swap(a.add_message, b.add_message); - swap(a.__isset, b.__isset); -} - -Log::Log(const Log& other178) { - add_text = other178.add_text; - add_point = other178.add_point; - add_line = other178.add_line; - add_arc = other178.add_arc; - add_circle = other178.add_circle; - add_triangle = other178.add_triangle; - add_rectangle = other178.add_rectangle; - add_sector = other178.add_sector; - add_message = other178.add_message; - __isset = other178.__isset; -} -Log& Log::operator=(const Log& other179) { - add_text = other179.add_text; - add_point = other179.add_point; - add_line = other179.add_line; - add_arc = other179.add_arc; - add_circle = other179.add_circle; - add_triangle = other179.add_triangle; - add_rectangle = other179.add_rectangle; - add_sector = other179.add_sector; - add_message = other179.add_message; - __isset = other179.__isset; - return *this; -} -void Log::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Log("; - out << "add_text="; (__isset.add_text ? (out << to_string(add_text)) : (out << "")); - out << ", " << "add_point="; (__isset.add_point ? (out << to_string(add_point)) : (out << "")); - out << ", " << "add_line="; (__isset.add_line ? (out << to_string(add_line)) : (out << "")); - out << ", " << "add_arc="; (__isset.add_arc ? (out << to_string(add_arc)) : (out << "")); - out << ", " << "add_circle="; (__isset.add_circle ? (out << to_string(add_circle)) : (out << "")); - out << ", " << "add_triangle="; (__isset.add_triangle ? (out << to_string(add_triangle)) : (out << "")); - out << ", " << "add_rectangle="; (__isset.add_rectangle ? (out << to_string(add_rectangle)) : (out << "")); - out << ", " << "add_sector="; (__isset.add_sector ? (out << to_string(add_sector)) : (out << "")); - out << ", " << "add_message="; (__isset.add_message ? (out << to_string(add_message)) : (out << "")); - out << ")"; -} - - -DebugClient::~DebugClient() noexcept { -} - - -void DebugClient::__set_message(const std::string& val) { - this->message = val; -} -std::ostream& operator<<(std::ostream& out, const DebugClient& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t DebugClient::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->message); - this->__isset.message = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t DebugClient::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("DebugClient"); - - xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); - xfer += oprot->writeString(this->message); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(DebugClient &a, DebugClient &b) { - using ::std::swap; - swap(a.message, b.message); - swap(a.__isset, b.__isset); -} - -DebugClient::DebugClient(const DebugClient& other180) { - message = other180.message; - __isset = other180.__isset; -} -DebugClient& DebugClient::operator=(const DebugClient& other181) { - message = other181.message; - __isset = other181.__isset; - return *this; -} -void DebugClient::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "DebugClient("; - out << "message=" << to_string(message); - out << ")"; -} - - -Body_GoToPoint::~Body_GoToPoint() noexcept { -} - - -void Body_GoToPoint::__set_target_point(const RpcVector2D& val) { - this->target_point = val; -} - -void Body_GoToPoint::__set_distance_threshold(const double val) { - this->distance_threshold = val; -} - -void Body_GoToPoint::__set_max_dash_power(const double val) { - this->max_dash_power = val; -} -std::ostream& operator<<(std::ostream& out, const Body_GoToPoint& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Body_GoToPoint::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->target_point.read(iprot); - this->__isset.target_point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->distance_threshold); - this->__isset.distance_threshold = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->max_dash_power); - this->__isset.max_dash_power = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Body_GoToPoint::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Body_GoToPoint"); - - xfer += oprot->writeFieldBegin("target_point", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->target_point.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("distance_threshold", ::apache::thrift::protocol::T_DOUBLE, 2); - xfer += oprot->writeDouble(this->distance_threshold); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("max_dash_power", ::apache::thrift::protocol::T_DOUBLE, 3); - xfer += oprot->writeDouble(this->max_dash_power); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Body_GoToPoint &a, Body_GoToPoint &b) { - using ::std::swap; - swap(a.target_point, b.target_point); - swap(a.distance_threshold, b.distance_threshold); - swap(a.max_dash_power, b.max_dash_power); - swap(a.__isset, b.__isset); -} - -Body_GoToPoint::Body_GoToPoint(const Body_GoToPoint& other182) noexcept { - target_point = other182.target_point; - distance_threshold = other182.distance_threshold; - max_dash_power = other182.max_dash_power; - __isset = other182.__isset; -} -Body_GoToPoint& Body_GoToPoint::operator=(const Body_GoToPoint& other183) noexcept { - target_point = other183.target_point; - distance_threshold = other183.distance_threshold; - max_dash_power = other183.max_dash_power; - __isset = other183.__isset; - return *this; -} -void Body_GoToPoint::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Body_GoToPoint("; - out << "target_point=" << to_string(target_point); - out << ", " << "distance_threshold=" << to_string(distance_threshold); - out << ", " << "max_dash_power=" << to_string(max_dash_power); - out << ")"; -} - - -Body_SmartKick::~Body_SmartKick() noexcept { -} - - -void Body_SmartKick::__set_target_point(const RpcVector2D& val) { - this->target_point = val; -} - -void Body_SmartKick::__set_first_speed(const double val) { - this->first_speed = val; -} - -void Body_SmartKick::__set_first_speed_threshold(const double val) { - this->first_speed_threshold = val; -} - -void Body_SmartKick::__set_max_steps(const int32_t val) { - this->max_steps = val; -} -std::ostream& operator<<(std::ostream& out, const Body_SmartKick& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Body_SmartKick::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->target_point.read(iprot); - this->__isset.target_point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->first_speed); - this->__isset.first_speed = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->first_speed_threshold); - this->__isset.first_speed_threshold = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->max_steps); - this->__isset.max_steps = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Body_SmartKick::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Body_SmartKick"); - - xfer += oprot->writeFieldBegin("target_point", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->target_point.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("first_speed", ::apache::thrift::protocol::T_DOUBLE, 2); - xfer += oprot->writeDouble(this->first_speed); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("first_speed_threshold", ::apache::thrift::protocol::T_DOUBLE, 3); - xfer += oprot->writeDouble(this->first_speed_threshold); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("max_steps", ::apache::thrift::protocol::T_I32, 4); - xfer += oprot->writeI32(this->max_steps); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Body_SmartKick &a, Body_SmartKick &b) { - using ::std::swap; - swap(a.target_point, b.target_point); - swap(a.first_speed, b.first_speed); - swap(a.first_speed_threshold, b.first_speed_threshold); - swap(a.max_steps, b.max_steps); - swap(a.__isset, b.__isset); -} - -Body_SmartKick::Body_SmartKick(const Body_SmartKick& other184) noexcept { - target_point = other184.target_point; - first_speed = other184.first_speed; - first_speed_threshold = other184.first_speed_threshold; - max_steps = other184.max_steps; - __isset = other184.__isset; -} -Body_SmartKick& Body_SmartKick::operator=(const Body_SmartKick& other185) noexcept { - target_point = other185.target_point; - first_speed = other185.first_speed; - first_speed_threshold = other185.first_speed_threshold; - max_steps = other185.max_steps; - __isset = other185.__isset; - return *this; -} -void Body_SmartKick::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Body_SmartKick("; - out << "target_point=" << to_string(target_point); - out << ", " << "first_speed=" << to_string(first_speed); - out << ", " << "first_speed_threshold=" << to_string(first_speed_threshold); - out << ", " << "max_steps=" << to_string(max_steps); - out << ")"; -} - - -Bhv_BeforeKickOff::~Bhv_BeforeKickOff() noexcept { -} - - -void Bhv_BeforeKickOff::__set_point(const RpcVector2D& val) { - this->point = val; -} -std::ostream& operator<<(std::ostream& out, const Bhv_BeforeKickOff& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Bhv_BeforeKickOff::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->point.read(iprot); - this->__isset.point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Bhv_BeforeKickOff::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Bhv_BeforeKickOff"); - - xfer += oprot->writeFieldBegin("point", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->point.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Bhv_BeforeKickOff &a, Bhv_BeforeKickOff &b) { - using ::std::swap; - swap(a.point, b.point); - swap(a.__isset, b.__isset); -} - -Bhv_BeforeKickOff::Bhv_BeforeKickOff(const Bhv_BeforeKickOff& other186) noexcept { - point = other186.point; - __isset = other186.__isset; -} -Bhv_BeforeKickOff& Bhv_BeforeKickOff::operator=(const Bhv_BeforeKickOff& other187) noexcept { - point = other187.point; - __isset = other187.__isset; - return *this; -} -void Bhv_BeforeKickOff::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Bhv_BeforeKickOff("; - out << "point=" << to_string(point); - out << ")"; -} - - -Bhv_BodyNeckToBall::~Bhv_BodyNeckToBall() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const Bhv_BodyNeckToBall& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Bhv_BodyNeckToBall::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Bhv_BodyNeckToBall::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Bhv_BodyNeckToBall"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Bhv_BodyNeckToBall &a, Bhv_BodyNeckToBall &b) { - using ::std::swap; - (void) a; - (void) b; -} - -Bhv_BodyNeckToBall::Bhv_BodyNeckToBall(const Bhv_BodyNeckToBall& other188) noexcept { - (void) other188; -} -Bhv_BodyNeckToBall& Bhv_BodyNeckToBall::operator=(const Bhv_BodyNeckToBall& other189) noexcept { - (void) other189; - return *this; -} -void Bhv_BodyNeckToBall::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Bhv_BodyNeckToBall("; - out << ")"; -} - - -Bhv_BodyNeckToPoint::~Bhv_BodyNeckToPoint() noexcept { -} - - -void Bhv_BodyNeckToPoint::__set_point(const RpcVector2D& val) { - this->point = val; -} -std::ostream& operator<<(std::ostream& out, const Bhv_BodyNeckToPoint& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Bhv_BodyNeckToPoint::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->point.read(iprot); - this->__isset.point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Bhv_BodyNeckToPoint::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Bhv_BodyNeckToPoint"); - - xfer += oprot->writeFieldBegin("point", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->point.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Bhv_BodyNeckToPoint &a, Bhv_BodyNeckToPoint &b) { - using ::std::swap; - swap(a.point, b.point); - swap(a.__isset, b.__isset); -} - -Bhv_BodyNeckToPoint::Bhv_BodyNeckToPoint(const Bhv_BodyNeckToPoint& other190) noexcept { - point = other190.point; - __isset = other190.__isset; -} -Bhv_BodyNeckToPoint& Bhv_BodyNeckToPoint::operator=(const Bhv_BodyNeckToPoint& other191) noexcept { - point = other191.point; - __isset = other191.__isset; - return *this; -} -void Bhv_BodyNeckToPoint::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Bhv_BodyNeckToPoint("; - out << "point=" << to_string(point); - out << ")"; -} - - -Bhv_Emergency::~Bhv_Emergency() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const Bhv_Emergency& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Bhv_Emergency::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Bhv_Emergency::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Bhv_Emergency"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Bhv_Emergency &a, Bhv_Emergency &b) { - using ::std::swap; - (void) a; - (void) b; -} - -Bhv_Emergency::Bhv_Emergency(const Bhv_Emergency& other192) noexcept { - (void) other192; -} -Bhv_Emergency& Bhv_Emergency::operator=(const Bhv_Emergency& other193) noexcept { - (void) other193; - return *this; -} -void Bhv_Emergency::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Bhv_Emergency("; - out << ")"; -} - - -Bhv_GoToPointLookBall::~Bhv_GoToPointLookBall() noexcept { -} - - -void Bhv_GoToPointLookBall::__set_target_point(const RpcVector2D& val) { - this->target_point = val; -} - -void Bhv_GoToPointLookBall::__set_distance_threshold(const double val) { - this->distance_threshold = val; -} - -void Bhv_GoToPointLookBall::__set_max_dash_power(const double val) { - this->max_dash_power = val; -} -std::ostream& operator<<(std::ostream& out, const Bhv_GoToPointLookBall& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Bhv_GoToPointLookBall::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->target_point.read(iprot); - this->__isset.target_point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->distance_threshold); - this->__isset.distance_threshold = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->max_dash_power); - this->__isset.max_dash_power = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Bhv_GoToPointLookBall::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Bhv_GoToPointLookBall"); - - xfer += oprot->writeFieldBegin("target_point", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->target_point.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("distance_threshold", ::apache::thrift::protocol::T_DOUBLE, 2); - xfer += oprot->writeDouble(this->distance_threshold); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("max_dash_power", ::apache::thrift::protocol::T_DOUBLE, 3); - xfer += oprot->writeDouble(this->max_dash_power); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Bhv_GoToPointLookBall &a, Bhv_GoToPointLookBall &b) { - using ::std::swap; - swap(a.target_point, b.target_point); - swap(a.distance_threshold, b.distance_threshold); - swap(a.max_dash_power, b.max_dash_power); - swap(a.__isset, b.__isset); -} - -Bhv_GoToPointLookBall::Bhv_GoToPointLookBall(const Bhv_GoToPointLookBall& other194) noexcept { - target_point = other194.target_point; - distance_threshold = other194.distance_threshold; - max_dash_power = other194.max_dash_power; - __isset = other194.__isset; -} -Bhv_GoToPointLookBall& Bhv_GoToPointLookBall::operator=(const Bhv_GoToPointLookBall& other195) noexcept { - target_point = other195.target_point; - distance_threshold = other195.distance_threshold; - max_dash_power = other195.max_dash_power; - __isset = other195.__isset; - return *this; -} -void Bhv_GoToPointLookBall::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Bhv_GoToPointLookBall("; - out << "target_point=" << to_string(target_point); - out << ", " << "distance_threshold=" << to_string(distance_threshold); - out << ", " << "max_dash_power=" << to_string(max_dash_power); - out << ")"; -} - - -Bhv_NeckBodyToBall::~Bhv_NeckBodyToBall() noexcept { -} - - -void Bhv_NeckBodyToBall::__set_angle_buf(const double val) { - this->angle_buf = val; -} -std::ostream& operator<<(std::ostream& out, const Bhv_NeckBodyToBall& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Bhv_NeckBodyToBall::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->angle_buf); - this->__isset.angle_buf = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Bhv_NeckBodyToBall::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Bhv_NeckBodyToBall"); - - xfer += oprot->writeFieldBegin("angle_buf", ::apache::thrift::protocol::T_DOUBLE, 1); - xfer += oprot->writeDouble(this->angle_buf); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Bhv_NeckBodyToBall &a, Bhv_NeckBodyToBall &b) { - using ::std::swap; - swap(a.angle_buf, b.angle_buf); - swap(a.__isset, b.__isset); -} - -Bhv_NeckBodyToBall::Bhv_NeckBodyToBall(const Bhv_NeckBodyToBall& other196) noexcept { - angle_buf = other196.angle_buf; - __isset = other196.__isset; -} -Bhv_NeckBodyToBall& Bhv_NeckBodyToBall::operator=(const Bhv_NeckBodyToBall& other197) noexcept { - angle_buf = other197.angle_buf; - __isset = other197.__isset; - return *this; -} -void Bhv_NeckBodyToBall::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Bhv_NeckBodyToBall("; - out << "angle_buf=" << to_string(angle_buf); - out << ")"; -} - - -Bhv_NeckBodyToPoint::~Bhv_NeckBodyToPoint() noexcept { -} - - -void Bhv_NeckBodyToPoint::__set_point(const RpcVector2D& val) { - this->point = val; -} - -void Bhv_NeckBodyToPoint::__set_angle_buf(const double val) { - this->angle_buf = val; -} -std::ostream& operator<<(std::ostream& out, const Bhv_NeckBodyToPoint& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Bhv_NeckBodyToPoint::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->point.read(iprot); - this->__isset.point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->angle_buf); - this->__isset.angle_buf = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Bhv_NeckBodyToPoint::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Bhv_NeckBodyToPoint"); - - xfer += oprot->writeFieldBegin("point", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->point.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("angle_buf", ::apache::thrift::protocol::T_DOUBLE, 2); - xfer += oprot->writeDouble(this->angle_buf); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Bhv_NeckBodyToPoint &a, Bhv_NeckBodyToPoint &b) { - using ::std::swap; - swap(a.point, b.point); - swap(a.angle_buf, b.angle_buf); - swap(a.__isset, b.__isset); -} - -Bhv_NeckBodyToPoint::Bhv_NeckBodyToPoint(const Bhv_NeckBodyToPoint& other198) noexcept { - point = other198.point; - angle_buf = other198.angle_buf; - __isset = other198.__isset; -} -Bhv_NeckBodyToPoint& Bhv_NeckBodyToPoint::operator=(const Bhv_NeckBodyToPoint& other199) noexcept { - point = other199.point; - angle_buf = other199.angle_buf; - __isset = other199.__isset; - return *this; -} -void Bhv_NeckBodyToPoint::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Bhv_NeckBodyToPoint("; - out << "point=" << to_string(point); - out << ", " << "angle_buf=" << to_string(angle_buf); - out << ")"; -} - - -Bhv_ScanField::~Bhv_ScanField() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const Bhv_ScanField& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Bhv_ScanField::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Bhv_ScanField::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Bhv_ScanField"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Bhv_ScanField &a, Bhv_ScanField &b) { - using ::std::swap; - (void) a; - (void) b; -} - -Bhv_ScanField::Bhv_ScanField(const Bhv_ScanField& other200) noexcept { - (void) other200; -} -Bhv_ScanField& Bhv_ScanField::operator=(const Bhv_ScanField& other201) noexcept { - (void) other201; - return *this; -} -void Bhv_ScanField::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Bhv_ScanField("; - out << ")"; -} - - -Body_AdvanceBall::~Body_AdvanceBall() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const Body_AdvanceBall& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Body_AdvanceBall::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Body_AdvanceBall::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Body_AdvanceBall"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Body_AdvanceBall &a, Body_AdvanceBall &b) { - using ::std::swap; - (void) a; - (void) b; -} - -Body_AdvanceBall::Body_AdvanceBall(const Body_AdvanceBall& other202) noexcept { - (void) other202; -} -Body_AdvanceBall& Body_AdvanceBall::operator=(const Body_AdvanceBall& other203) noexcept { - (void) other203; - return *this; -} -void Body_AdvanceBall::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Body_AdvanceBall("; - out << ")"; -} - - -Body_ClearBall::~Body_ClearBall() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const Body_ClearBall& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Body_ClearBall::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Body_ClearBall::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Body_ClearBall"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Body_ClearBall &a, Body_ClearBall &b) { - using ::std::swap; - (void) a; - (void) b; -} - -Body_ClearBall::Body_ClearBall(const Body_ClearBall& other204) noexcept { - (void) other204; -} -Body_ClearBall& Body_ClearBall::operator=(const Body_ClearBall& other205) noexcept { - (void) other205; - return *this; -} -void Body_ClearBall::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Body_ClearBall("; - out << ")"; -} - - -Body_Dribble::~Body_Dribble() noexcept { -} - - -void Body_Dribble::__set_target_point(const RpcVector2D& val) { - this->target_point = val; -} - -void Body_Dribble::__set_distance_threshold(const double val) { - this->distance_threshold = val; -} - -void Body_Dribble::__set_dash_power(const double val) { - this->dash_power = val; -} - -void Body_Dribble::__set_dash_count(const int32_t val) { - this->dash_count = val; -} - -void Body_Dribble::__set_dodge(const bool val) { - this->dodge = val; -} -std::ostream& operator<<(std::ostream& out, const Body_Dribble& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Body_Dribble::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->target_point.read(iprot); - this->__isset.target_point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->distance_threshold); - this->__isset.distance_threshold = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->dash_power); - this->__isset.dash_power = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->dash_count); - this->__isset.dash_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->dodge); - this->__isset.dodge = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Body_Dribble::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Body_Dribble"); - - xfer += oprot->writeFieldBegin("target_point", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->target_point.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("distance_threshold", ::apache::thrift::protocol::T_DOUBLE, 2); - xfer += oprot->writeDouble(this->distance_threshold); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("dash_power", ::apache::thrift::protocol::T_DOUBLE, 3); - xfer += oprot->writeDouble(this->dash_power); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("dash_count", ::apache::thrift::protocol::T_I32, 4); - xfer += oprot->writeI32(this->dash_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("dodge", ::apache::thrift::protocol::T_BOOL, 5); - xfer += oprot->writeBool(this->dodge); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Body_Dribble &a, Body_Dribble &b) { - using ::std::swap; - swap(a.target_point, b.target_point); - swap(a.distance_threshold, b.distance_threshold); - swap(a.dash_power, b.dash_power); - swap(a.dash_count, b.dash_count); - swap(a.dodge, b.dodge); - swap(a.__isset, b.__isset); -} - -Body_Dribble::Body_Dribble(const Body_Dribble& other206) noexcept { - target_point = other206.target_point; - distance_threshold = other206.distance_threshold; - dash_power = other206.dash_power; - dash_count = other206.dash_count; - dodge = other206.dodge; - __isset = other206.__isset; -} -Body_Dribble& Body_Dribble::operator=(const Body_Dribble& other207) noexcept { - target_point = other207.target_point; - distance_threshold = other207.distance_threshold; - dash_power = other207.dash_power; - dash_count = other207.dash_count; - dodge = other207.dodge; - __isset = other207.__isset; - return *this; -} -void Body_Dribble::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Body_Dribble("; - out << "target_point=" << to_string(target_point); - out << ", " << "distance_threshold=" << to_string(distance_threshold); - out << ", " << "dash_power=" << to_string(dash_power); - out << ", " << "dash_count=" << to_string(dash_count); - out << ", " << "dodge=" << to_string(dodge); - out << ")"; -} - - -Body_GoToPointDodge::~Body_GoToPointDodge() noexcept { -} - - -void Body_GoToPointDodge::__set_target_point(const RpcVector2D& val) { - this->target_point = val; -} - -void Body_GoToPointDodge::__set_dash_power(const double val) { - this->dash_power = val; -} -std::ostream& operator<<(std::ostream& out, const Body_GoToPointDodge& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Body_GoToPointDodge::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->target_point.read(iprot); - this->__isset.target_point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->dash_power); - this->__isset.dash_power = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Body_GoToPointDodge::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Body_GoToPointDodge"); - - xfer += oprot->writeFieldBegin("target_point", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->target_point.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("dash_power", ::apache::thrift::protocol::T_DOUBLE, 2); - xfer += oprot->writeDouble(this->dash_power); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Body_GoToPointDodge &a, Body_GoToPointDodge &b) { - using ::std::swap; - swap(a.target_point, b.target_point); - swap(a.dash_power, b.dash_power); - swap(a.__isset, b.__isset); -} - -Body_GoToPointDodge::Body_GoToPointDodge(const Body_GoToPointDodge& other208) noexcept { - target_point = other208.target_point; - dash_power = other208.dash_power; - __isset = other208.__isset; -} -Body_GoToPointDodge& Body_GoToPointDodge::operator=(const Body_GoToPointDodge& other209) noexcept { - target_point = other209.target_point; - dash_power = other209.dash_power; - __isset = other209.__isset; - return *this; -} -void Body_GoToPointDodge::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Body_GoToPointDodge("; - out << "target_point=" << to_string(target_point); - out << ", " << "dash_power=" << to_string(dash_power); - out << ")"; -} - - -Body_HoldBall::~Body_HoldBall() noexcept { -} - - -void Body_HoldBall::__set_do_turn(const bool val) { - this->do_turn = val; -} - -void Body_HoldBall::__set_turn_target_point(const RpcVector2D& val) { - this->turn_target_point = val; -} - -void Body_HoldBall::__set_kick_target_point(const RpcVector2D& val) { - this->kick_target_point = val; -} -std::ostream& operator<<(std::ostream& out, const Body_HoldBall& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Body_HoldBall::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->do_turn); - this->__isset.do_turn = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->turn_target_point.read(iprot); - this->__isset.turn_target_point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->kick_target_point.read(iprot); - this->__isset.kick_target_point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Body_HoldBall::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Body_HoldBall"); - - xfer += oprot->writeFieldBegin("do_turn", ::apache::thrift::protocol::T_BOOL, 1); - xfer += oprot->writeBool(this->do_turn); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("turn_target_point", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->turn_target_point.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("kick_target_point", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += this->kick_target_point.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Body_HoldBall &a, Body_HoldBall &b) { - using ::std::swap; - swap(a.do_turn, b.do_turn); - swap(a.turn_target_point, b.turn_target_point); - swap(a.kick_target_point, b.kick_target_point); - swap(a.__isset, b.__isset); -} - -Body_HoldBall::Body_HoldBall(const Body_HoldBall& other210) noexcept { - do_turn = other210.do_turn; - turn_target_point = other210.turn_target_point; - kick_target_point = other210.kick_target_point; - __isset = other210.__isset; -} -Body_HoldBall& Body_HoldBall::operator=(const Body_HoldBall& other211) noexcept { - do_turn = other211.do_turn; - turn_target_point = other211.turn_target_point; - kick_target_point = other211.kick_target_point; - __isset = other211.__isset; - return *this; -} -void Body_HoldBall::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Body_HoldBall("; - out << "do_turn=" << to_string(do_turn); - out << ", " << "turn_target_point=" << to_string(turn_target_point); - out << ", " << "kick_target_point=" << to_string(kick_target_point); - out << ")"; -} - - -Body_Intercept::~Body_Intercept() noexcept { -} - - -void Body_Intercept::__set_save_recovery(const bool val) { - this->save_recovery = val; -} - -void Body_Intercept::__set_face_point(const RpcVector2D& val) { - this->face_point = val; -} -std::ostream& operator<<(std::ostream& out, const Body_Intercept& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Body_Intercept::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->save_recovery); - this->__isset.save_recovery = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->face_point.read(iprot); - this->__isset.face_point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Body_Intercept::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Body_Intercept"); - - xfer += oprot->writeFieldBegin("save_recovery", ::apache::thrift::protocol::T_BOOL, 1); - xfer += oprot->writeBool(this->save_recovery); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("face_point", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->face_point.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Body_Intercept &a, Body_Intercept &b) { - using ::std::swap; - swap(a.save_recovery, b.save_recovery); - swap(a.face_point, b.face_point); - swap(a.__isset, b.__isset); -} - -Body_Intercept::Body_Intercept(const Body_Intercept& other212) noexcept { - save_recovery = other212.save_recovery; - face_point = other212.face_point; - __isset = other212.__isset; -} -Body_Intercept& Body_Intercept::operator=(const Body_Intercept& other213) noexcept { - save_recovery = other213.save_recovery; - face_point = other213.face_point; - __isset = other213.__isset; - return *this; -} -void Body_Intercept::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Body_Intercept("; - out << "save_recovery=" << to_string(save_recovery); - out << ", " << "face_point=" << to_string(face_point); - out << ")"; -} - - -Body_KickOneStep::~Body_KickOneStep() noexcept { -} - - -void Body_KickOneStep::__set_target_point(const RpcVector2D& val) { - this->target_point = val; -} - -void Body_KickOneStep::__set_first_speed(const double val) { - this->first_speed = val; -} - -void Body_KickOneStep::__set_force_mode(const bool val) { - this->force_mode = val; -} -std::ostream& operator<<(std::ostream& out, const Body_KickOneStep& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Body_KickOneStep::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->target_point.read(iprot); - this->__isset.target_point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->first_speed); - this->__isset.first_speed = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->force_mode); - this->__isset.force_mode = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Body_KickOneStep::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Body_KickOneStep"); - - xfer += oprot->writeFieldBegin("target_point", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->target_point.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("first_speed", ::apache::thrift::protocol::T_DOUBLE, 2); - xfer += oprot->writeDouble(this->first_speed); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("force_mode", ::apache::thrift::protocol::T_BOOL, 3); - xfer += oprot->writeBool(this->force_mode); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Body_KickOneStep &a, Body_KickOneStep &b) { - using ::std::swap; - swap(a.target_point, b.target_point); - swap(a.first_speed, b.first_speed); - swap(a.force_mode, b.force_mode); - swap(a.__isset, b.__isset); -} - -Body_KickOneStep::Body_KickOneStep(const Body_KickOneStep& other214) noexcept { - target_point = other214.target_point; - first_speed = other214.first_speed; - force_mode = other214.force_mode; - __isset = other214.__isset; -} -Body_KickOneStep& Body_KickOneStep::operator=(const Body_KickOneStep& other215) noexcept { - target_point = other215.target_point; - first_speed = other215.first_speed; - force_mode = other215.force_mode; - __isset = other215.__isset; - return *this; -} -void Body_KickOneStep::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Body_KickOneStep("; - out << "target_point=" << to_string(target_point); - out << ", " << "first_speed=" << to_string(first_speed); - out << ", " << "force_mode=" << to_string(force_mode); - out << ")"; -} - - -Body_StopBall::~Body_StopBall() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const Body_StopBall& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Body_StopBall::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Body_StopBall::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Body_StopBall"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Body_StopBall &a, Body_StopBall &b) { - using ::std::swap; - (void) a; - (void) b; -} - -Body_StopBall::Body_StopBall(const Body_StopBall& other216) noexcept { - (void) other216; -} -Body_StopBall& Body_StopBall::operator=(const Body_StopBall& other217) noexcept { - (void) other217; - return *this; -} -void Body_StopBall::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Body_StopBall("; - out << ")"; -} - - -Body_StopDash::~Body_StopDash() noexcept { -} - - -void Body_StopDash::__set_save_recovery(const bool val) { - this->save_recovery = val; -} -std::ostream& operator<<(std::ostream& out, const Body_StopDash& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Body_StopDash::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->save_recovery); - this->__isset.save_recovery = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Body_StopDash::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Body_StopDash"); - - xfer += oprot->writeFieldBegin("save_recovery", ::apache::thrift::protocol::T_BOOL, 1); - xfer += oprot->writeBool(this->save_recovery); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Body_StopDash &a, Body_StopDash &b) { - using ::std::swap; - swap(a.save_recovery, b.save_recovery); - swap(a.__isset, b.__isset); -} - -Body_StopDash::Body_StopDash(const Body_StopDash& other218) noexcept { - save_recovery = other218.save_recovery; - __isset = other218.__isset; -} -Body_StopDash& Body_StopDash::operator=(const Body_StopDash& other219) noexcept { - save_recovery = other219.save_recovery; - __isset = other219.__isset; - return *this; -} -void Body_StopDash::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Body_StopDash("; - out << "save_recovery=" << to_string(save_recovery); - out << ")"; -} - - -Body_TackleToPoint::~Body_TackleToPoint() noexcept { -} - - -void Body_TackleToPoint::__set_target_point(const RpcVector2D& val) { - this->target_point = val; -} - -void Body_TackleToPoint::__set_min_probability(const double val) { - this->min_probability = val; -} - -void Body_TackleToPoint::__set_min_speed(const double val) { - this->min_speed = val; -} -std::ostream& operator<<(std::ostream& out, const Body_TackleToPoint& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Body_TackleToPoint::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->target_point.read(iprot); - this->__isset.target_point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->min_probability); - this->__isset.min_probability = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->min_speed); - this->__isset.min_speed = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Body_TackleToPoint::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Body_TackleToPoint"); - - xfer += oprot->writeFieldBegin("target_point", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->target_point.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("min_probability", ::apache::thrift::protocol::T_DOUBLE, 2); - xfer += oprot->writeDouble(this->min_probability); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("min_speed", ::apache::thrift::protocol::T_DOUBLE, 3); - xfer += oprot->writeDouble(this->min_speed); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Body_TackleToPoint &a, Body_TackleToPoint &b) { - using ::std::swap; - swap(a.target_point, b.target_point); - swap(a.min_probability, b.min_probability); - swap(a.min_speed, b.min_speed); - swap(a.__isset, b.__isset); -} - -Body_TackleToPoint::Body_TackleToPoint(const Body_TackleToPoint& other220) noexcept { - target_point = other220.target_point; - min_probability = other220.min_probability; - min_speed = other220.min_speed; - __isset = other220.__isset; -} -Body_TackleToPoint& Body_TackleToPoint::operator=(const Body_TackleToPoint& other221) noexcept { - target_point = other221.target_point; - min_probability = other221.min_probability; - min_speed = other221.min_speed; - __isset = other221.__isset; - return *this; -} -void Body_TackleToPoint::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Body_TackleToPoint("; - out << "target_point=" << to_string(target_point); - out << ", " << "min_probability=" << to_string(min_probability); - out << ", " << "min_speed=" << to_string(min_speed); - out << ")"; -} - - -Body_TurnToAngle::~Body_TurnToAngle() noexcept { -} - - -void Body_TurnToAngle::__set_angle(const double val) { - this->angle = val; -} -std::ostream& operator<<(std::ostream& out, const Body_TurnToAngle& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Body_TurnToAngle::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->angle); - this->__isset.angle = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Body_TurnToAngle::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Body_TurnToAngle"); - - xfer += oprot->writeFieldBegin("angle", ::apache::thrift::protocol::T_DOUBLE, 1); - xfer += oprot->writeDouble(this->angle); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Body_TurnToAngle &a, Body_TurnToAngle &b) { - using ::std::swap; - swap(a.angle, b.angle); - swap(a.__isset, b.__isset); -} - -Body_TurnToAngle::Body_TurnToAngle(const Body_TurnToAngle& other222) noexcept { - angle = other222.angle; - __isset = other222.__isset; -} -Body_TurnToAngle& Body_TurnToAngle::operator=(const Body_TurnToAngle& other223) noexcept { - angle = other223.angle; - __isset = other223.__isset; - return *this; -} -void Body_TurnToAngle::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Body_TurnToAngle("; - out << "angle=" << to_string(angle); - out << ")"; -} - - -Body_TurnToBall::~Body_TurnToBall() noexcept { -} - - -void Body_TurnToBall::__set_cycle(const int32_t val) { - this->cycle = val; -} -std::ostream& operator<<(std::ostream& out, const Body_TurnToBall& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Body_TurnToBall::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->cycle); - this->__isset.cycle = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Body_TurnToBall::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Body_TurnToBall"); - - xfer += oprot->writeFieldBegin("cycle", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(this->cycle); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Body_TurnToBall &a, Body_TurnToBall &b) { - using ::std::swap; - swap(a.cycle, b.cycle); - swap(a.__isset, b.__isset); -} - -Body_TurnToBall::Body_TurnToBall(const Body_TurnToBall& other224) noexcept { - cycle = other224.cycle; - __isset = other224.__isset; -} -Body_TurnToBall& Body_TurnToBall::operator=(const Body_TurnToBall& other225) noexcept { - cycle = other225.cycle; - __isset = other225.__isset; - return *this; -} -void Body_TurnToBall::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Body_TurnToBall("; - out << "cycle=" << to_string(cycle); - out << ")"; -} - - -Body_TurnToPoint::~Body_TurnToPoint() noexcept { -} - - -void Body_TurnToPoint::__set_target_point(const RpcVector2D& val) { - this->target_point = val; -} - -void Body_TurnToPoint::__set_cycle(const int32_t val) { - this->cycle = val; -} -std::ostream& operator<<(std::ostream& out, const Body_TurnToPoint& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Body_TurnToPoint::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->target_point.read(iprot); - this->__isset.target_point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->cycle); - this->__isset.cycle = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Body_TurnToPoint::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Body_TurnToPoint"); - - xfer += oprot->writeFieldBegin("target_point", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->target_point.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("cycle", ::apache::thrift::protocol::T_I32, 2); - xfer += oprot->writeI32(this->cycle); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Body_TurnToPoint &a, Body_TurnToPoint &b) { - using ::std::swap; - swap(a.target_point, b.target_point); - swap(a.cycle, b.cycle); - swap(a.__isset, b.__isset); -} - -Body_TurnToPoint::Body_TurnToPoint(const Body_TurnToPoint& other226) noexcept { - target_point = other226.target_point; - cycle = other226.cycle; - __isset = other226.__isset; -} -Body_TurnToPoint& Body_TurnToPoint::operator=(const Body_TurnToPoint& other227) noexcept { - target_point = other227.target_point; - cycle = other227.cycle; - __isset = other227.__isset; - return *this; -} -void Body_TurnToPoint::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Body_TurnToPoint("; - out << "target_point=" << to_string(target_point); - out << ", " << "cycle=" << to_string(cycle); - out << ")"; -} - - -Focus_MoveToPoint::~Focus_MoveToPoint() noexcept { -} - - -void Focus_MoveToPoint::__set_target_point(const RpcVector2D& val) { - this->target_point = val; -} -std::ostream& operator<<(std::ostream& out, const Focus_MoveToPoint& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Focus_MoveToPoint::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->target_point.read(iprot); - this->__isset.target_point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Focus_MoveToPoint::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Focus_MoveToPoint"); - - xfer += oprot->writeFieldBegin("target_point", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->target_point.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Focus_MoveToPoint &a, Focus_MoveToPoint &b) { - using ::std::swap; - swap(a.target_point, b.target_point); - swap(a.__isset, b.__isset); -} - -Focus_MoveToPoint::Focus_MoveToPoint(const Focus_MoveToPoint& other228) noexcept { - target_point = other228.target_point; - __isset = other228.__isset; -} -Focus_MoveToPoint& Focus_MoveToPoint::operator=(const Focus_MoveToPoint& other229) noexcept { - target_point = other229.target_point; - __isset = other229.__isset; - return *this; -} -void Focus_MoveToPoint::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Focus_MoveToPoint("; - out << "target_point=" << to_string(target_point); - out << ")"; -} - - -Focus_Reset::~Focus_Reset() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const Focus_Reset& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Focus_Reset::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Focus_Reset::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Focus_Reset"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Focus_Reset &a, Focus_Reset &b) { - using ::std::swap; - (void) a; - (void) b; -} - -Focus_Reset::Focus_Reset(const Focus_Reset& other230) noexcept { - (void) other230; -} -Focus_Reset& Focus_Reset::operator=(const Focus_Reset& other231) noexcept { - (void) other231; - return *this; -} -void Focus_Reset::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Focus_Reset("; - out << ")"; -} - - -Neck_ScanField::~Neck_ScanField() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const Neck_ScanField& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Neck_ScanField::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Neck_ScanField::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Neck_ScanField"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Neck_ScanField &a, Neck_ScanField &b) { - using ::std::swap; - (void) a; - (void) b; -} - -Neck_ScanField::Neck_ScanField(const Neck_ScanField& other232) noexcept { - (void) other232; -} -Neck_ScanField& Neck_ScanField::operator=(const Neck_ScanField& other233) noexcept { - (void) other233; - return *this; -} -void Neck_ScanField::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Neck_ScanField("; - out << ")"; -} - - -Neck_ScanPlayers::~Neck_ScanPlayers() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const Neck_ScanPlayers& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Neck_ScanPlayers::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Neck_ScanPlayers::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Neck_ScanPlayers"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Neck_ScanPlayers &a, Neck_ScanPlayers &b) { - using ::std::swap; - (void) a; - (void) b; -} - -Neck_ScanPlayers::Neck_ScanPlayers(const Neck_ScanPlayers& other234) noexcept { - (void) other234; -} -Neck_ScanPlayers& Neck_ScanPlayers::operator=(const Neck_ScanPlayers& other235) noexcept { - (void) other235; - return *this; -} -void Neck_ScanPlayers::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Neck_ScanPlayers("; - out << ")"; -} - - -Neck_TurnToBallAndPlayer::~Neck_TurnToBallAndPlayer() noexcept { -} - - -void Neck_TurnToBallAndPlayer::__set_side(const Side::type val) { - this->side = val; -} - -void Neck_TurnToBallAndPlayer::__set_uniform_number(const int32_t val) { - this->uniform_number = val; -} - -void Neck_TurnToBallAndPlayer::__set_count_threshold(const int32_t val) { - this->count_threshold = val; -} -std::ostream& operator<<(std::ostream& out, const Neck_TurnToBallAndPlayer& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Neck_TurnToBallAndPlayer::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast236; - xfer += iprot->readI32(ecast236); - this->side = static_cast(ecast236); - this->__isset.side = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->uniform_number); - this->__isset.uniform_number = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->count_threshold); - this->__isset.count_threshold = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Neck_TurnToBallAndPlayer::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Neck_TurnToBallAndPlayer"); - - xfer += oprot->writeFieldBegin("side", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(static_cast(this->side)); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("uniform_number", ::apache::thrift::protocol::T_I32, 2); - xfer += oprot->writeI32(this->uniform_number); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("count_threshold", ::apache::thrift::protocol::T_I32, 3); - xfer += oprot->writeI32(this->count_threshold); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Neck_TurnToBallAndPlayer &a, Neck_TurnToBallAndPlayer &b) { - using ::std::swap; - swap(a.side, b.side); - swap(a.uniform_number, b.uniform_number); - swap(a.count_threshold, b.count_threshold); - swap(a.__isset, b.__isset); -} - -Neck_TurnToBallAndPlayer::Neck_TurnToBallAndPlayer(const Neck_TurnToBallAndPlayer& other237) noexcept { - side = other237.side; - uniform_number = other237.uniform_number; - count_threshold = other237.count_threshold; - __isset = other237.__isset; -} -Neck_TurnToBallAndPlayer& Neck_TurnToBallAndPlayer::operator=(const Neck_TurnToBallAndPlayer& other238) noexcept { - side = other238.side; - uniform_number = other238.uniform_number; - count_threshold = other238.count_threshold; - __isset = other238.__isset; - return *this; -} -void Neck_TurnToBallAndPlayer::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Neck_TurnToBallAndPlayer("; - out << "side=" << to_string(side); - out << ", " << "uniform_number=" << to_string(uniform_number); - out << ", " << "count_threshold=" << to_string(count_threshold); - out << ")"; -} - - -Neck_TurnToBallOrScan::~Neck_TurnToBallOrScan() noexcept { -} - - -void Neck_TurnToBallOrScan::__set_count_threshold(const int32_t val) { - this->count_threshold = val; -} -std::ostream& operator<<(std::ostream& out, const Neck_TurnToBallOrScan& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Neck_TurnToBallOrScan::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->count_threshold); - this->__isset.count_threshold = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Neck_TurnToBallOrScan::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Neck_TurnToBallOrScan"); - - xfer += oprot->writeFieldBegin("count_threshold", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(this->count_threshold); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Neck_TurnToBallOrScan &a, Neck_TurnToBallOrScan &b) { - using ::std::swap; - swap(a.count_threshold, b.count_threshold); - swap(a.__isset, b.__isset); -} - -Neck_TurnToBallOrScan::Neck_TurnToBallOrScan(const Neck_TurnToBallOrScan& other239) noexcept { - count_threshold = other239.count_threshold; - __isset = other239.__isset; -} -Neck_TurnToBallOrScan& Neck_TurnToBallOrScan::operator=(const Neck_TurnToBallOrScan& other240) noexcept { - count_threshold = other240.count_threshold; - __isset = other240.__isset; - return *this; -} -void Neck_TurnToBallOrScan::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Neck_TurnToBallOrScan("; - out << "count_threshold=" << to_string(count_threshold); - out << ")"; -} - - -Neck_TurnToBall::~Neck_TurnToBall() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const Neck_TurnToBall& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Neck_TurnToBall::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Neck_TurnToBall::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Neck_TurnToBall"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Neck_TurnToBall &a, Neck_TurnToBall &b) { - using ::std::swap; - (void) a; - (void) b; -} - -Neck_TurnToBall::Neck_TurnToBall(const Neck_TurnToBall& other241) noexcept { - (void) other241; -} -Neck_TurnToBall& Neck_TurnToBall::operator=(const Neck_TurnToBall& other242) noexcept { - (void) other242; - return *this; -} -void Neck_TurnToBall::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Neck_TurnToBall("; - out << ")"; -} - - -Neck_TurnToGoalieOrScan::~Neck_TurnToGoalieOrScan() noexcept { -} - - -void Neck_TurnToGoalieOrScan::__set_count_threshold(const int32_t val) { - this->count_threshold = val; -} -std::ostream& operator<<(std::ostream& out, const Neck_TurnToGoalieOrScan& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Neck_TurnToGoalieOrScan::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->count_threshold); - this->__isset.count_threshold = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Neck_TurnToGoalieOrScan::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Neck_TurnToGoalieOrScan"); - - xfer += oprot->writeFieldBegin("count_threshold", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(this->count_threshold); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Neck_TurnToGoalieOrScan &a, Neck_TurnToGoalieOrScan &b) { - using ::std::swap; - swap(a.count_threshold, b.count_threshold); - swap(a.__isset, b.__isset); -} - -Neck_TurnToGoalieOrScan::Neck_TurnToGoalieOrScan(const Neck_TurnToGoalieOrScan& other243) noexcept { - count_threshold = other243.count_threshold; - __isset = other243.__isset; -} -Neck_TurnToGoalieOrScan& Neck_TurnToGoalieOrScan::operator=(const Neck_TurnToGoalieOrScan& other244) noexcept { - count_threshold = other244.count_threshold; - __isset = other244.__isset; - return *this; -} -void Neck_TurnToGoalieOrScan::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Neck_TurnToGoalieOrScan("; - out << "count_threshold=" << to_string(count_threshold); - out << ")"; -} - - -Neck_TurnToLowConfTeammate::~Neck_TurnToLowConfTeammate() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const Neck_TurnToLowConfTeammate& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Neck_TurnToLowConfTeammate::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Neck_TurnToLowConfTeammate::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Neck_TurnToLowConfTeammate"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Neck_TurnToLowConfTeammate &a, Neck_TurnToLowConfTeammate &b) { - using ::std::swap; - (void) a; - (void) b; -} - -Neck_TurnToLowConfTeammate::Neck_TurnToLowConfTeammate(const Neck_TurnToLowConfTeammate& other245) noexcept { - (void) other245; -} -Neck_TurnToLowConfTeammate& Neck_TurnToLowConfTeammate::operator=(const Neck_TurnToLowConfTeammate& other246) noexcept { - (void) other246; - return *this; -} -void Neck_TurnToLowConfTeammate::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Neck_TurnToLowConfTeammate("; - out << ")"; -} - - -Neck_TurnToPlayerOrScan::~Neck_TurnToPlayerOrScan() noexcept { -} - - -void Neck_TurnToPlayerOrScan::__set_side(const Side::type val) { - this->side = val; -} - -void Neck_TurnToPlayerOrScan::__set_uniform_number(const int32_t val) { - this->uniform_number = val; -} - -void Neck_TurnToPlayerOrScan::__set_count_threshold(const int32_t val) { - this->count_threshold = val; -} -std::ostream& operator<<(std::ostream& out, const Neck_TurnToPlayerOrScan& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Neck_TurnToPlayerOrScan::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast247; - xfer += iprot->readI32(ecast247); - this->side = static_cast(ecast247); - this->__isset.side = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->uniform_number); - this->__isset.uniform_number = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->count_threshold); - this->__isset.count_threshold = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Neck_TurnToPlayerOrScan::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Neck_TurnToPlayerOrScan"); - - xfer += oprot->writeFieldBegin("side", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(static_cast(this->side)); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("uniform_number", ::apache::thrift::protocol::T_I32, 2); - xfer += oprot->writeI32(this->uniform_number); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("count_threshold", ::apache::thrift::protocol::T_I32, 3); - xfer += oprot->writeI32(this->count_threshold); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Neck_TurnToPlayerOrScan &a, Neck_TurnToPlayerOrScan &b) { - using ::std::swap; - swap(a.side, b.side); - swap(a.uniform_number, b.uniform_number); - swap(a.count_threshold, b.count_threshold); - swap(a.__isset, b.__isset); -} - -Neck_TurnToPlayerOrScan::Neck_TurnToPlayerOrScan(const Neck_TurnToPlayerOrScan& other248) noexcept { - side = other248.side; - uniform_number = other248.uniform_number; - count_threshold = other248.count_threshold; - __isset = other248.__isset; -} -Neck_TurnToPlayerOrScan& Neck_TurnToPlayerOrScan::operator=(const Neck_TurnToPlayerOrScan& other249) noexcept { - side = other249.side; - uniform_number = other249.uniform_number; - count_threshold = other249.count_threshold; - __isset = other249.__isset; - return *this; -} -void Neck_TurnToPlayerOrScan::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Neck_TurnToPlayerOrScan("; - out << "side=" << to_string(side); - out << ", " << "uniform_number=" << to_string(uniform_number); - out << ", " << "count_threshold=" << to_string(count_threshold); - out << ")"; -} - - -Neck_TurnToPoint::~Neck_TurnToPoint() noexcept { -} - - -void Neck_TurnToPoint::__set_target_point(const RpcVector2D& val) { - this->target_point = val; -} -std::ostream& operator<<(std::ostream& out, const Neck_TurnToPoint& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Neck_TurnToPoint::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->target_point.read(iprot); - this->__isset.target_point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Neck_TurnToPoint::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Neck_TurnToPoint"); - - xfer += oprot->writeFieldBegin("target_point", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->target_point.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Neck_TurnToPoint &a, Neck_TurnToPoint &b) { - using ::std::swap; - swap(a.target_point, b.target_point); - swap(a.__isset, b.__isset); -} - -Neck_TurnToPoint::Neck_TurnToPoint(const Neck_TurnToPoint& other250) noexcept { - target_point = other250.target_point; - __isset = other250.__isset; -} -Neck_TurnToPoint& Neck_TurnToPoint::operator=(const Neck_TurnToPoint& other251) noexcept { - target_point = other251.target_point; - __isset = other251.__isset; - return *this; -} -void Neck_TurnToPoint::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Neck_TurnToPoint("; - out << "target_point=" << to_string(target_point); - out << ")"; -} - - -Neck_TurnToRelative::~Neck_TurnToRelative() noexcept { -} - - -void Neck_TurnToRelative::__set_angle(const double val) { - this->angle = val; -} -std::ostream& operator<<(std::ostream& out, const Neck_TurnToRelative& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Neck_TurnToRelative::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->angle); - this->__isset.angle = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Neck_TurnToRelative::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Neck_TurnToRelative"); - - xfer += oprot->writeFieldBegin("angle", ::apache::thrift::protocol::T_DOUBLE, 1); - xfer += oprot->writeDouble(this->angle); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Neck_TurnToRelative &a, Neck_TurnToRelative &b) { - using ::std::swap; - swap(a.angle, b.angle); - swap(a.__isset, b.__isset); -} - -Neck_TurnToRelative::Neck_TurnToRelative(const Neck_TurnToRelative& other252) noexcept { - angle = other252.angle; - __isset = other252.__isset; -} -Neck_TurnToRelative& Neck_TurnToRelative::operator=(const Neck_TurnToRelative& other253) noexcept { - angle = other253.angle; - __isset = other253.__isset; - return *this; -} -void Neck_TurnToRelative::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Neck_TurnToRelative("; - out << "angle=" << to_string(angle); - out << ")"; -} - - -View_ChangeWidth::~View_ChangeWidth() noexcept { -} - - -void View_ChangeWidth::__set_view_width(const ViewWidth::type val) { - this->view_width = val; -} -std::ostream& operator<<(std::ostream& out, const View_ChangeWidth& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t View_ChangeWidth::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast254; - xfer += iprot->readI32(ecast254); - this->view_width = static_cast(ecast254); - this->__isset.view_width = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t View_ChangeWidth::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("View_ChangeWidth"); - - xfer += oprot->writeFieldBegin("view_width", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(static_cast(this->view_width)); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(View_ChangeWidth &a, View_ChangeWidth &b) { - using ::std::swap; - swap(a.view_width, b.view_width); - swap(a.__isset, b.__isset); -} - -View_ChangeWidth::View_ChangeWidth(const View_ChangeWidth& other255) noexcept { - view_width = other255.view_width; - __isset = other255.__isset; -} -View_ChangeWidth& View_ChangeWidth::operator=(const View_ChangeWidth& other256) noexcept { - view_width = other256.view_width; - __isset = other256.__isset; - return *this; -} -void View_ChangeWidth::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "View_ChangeWidth("; - out << "view_width=" << to_string(view_width); - out << ")"; -} - - -View_Normal::~View_Normal() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const View_Normal& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t View_Normal::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t View_Normal::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("View_Normal"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(View_Normal &a, View_Normal &b) { - using ::std::swap; - (void) a; - (void) b; -} - -View_Normal::View_Normal(const View_Normal& other257) noexcept { - (void) other257; -} -View_Normal& View_Normal::operator=(const View_Normal& other258) noexcept { - (void) other258; - return *this; -} -void View_Normal::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "View_Normal("; - out << ")"; -} - - -View_Synch::~View_Synch() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const View_Synch& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t View_Synch::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t View_Synch::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("View_Synch"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(View_Synch &a, View_Synch &b) { - using ::std::swap; - (void) a; - (void) b; -} - -View_Synch::View_Synch(const View_Synch& other259) noexcept { - (void) other259; -} -View_Synch& View_Synch::operator=(const View_Synch& other260) noexcept { - (void) other260; - return *this; -} -void View_Synch::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "View_Synch("; - out << ")"; -} - - -View_Wide::~View_Wide() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const View_Wide& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t View_Wide::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t View_Wide::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("View_Wide"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(View_Wide &a, View_Wide &b) { - using ::std::swap; - (void) a; - (void) b; -} - -View_Wide::View_Wide(const View_Wide& other261) noexcept { - (void) other261; -} -View_Wide& View_Wide::operator=(const View_Wide& other262) noexcept { - (void) other262; - return *this; -} -void View_Wide::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "View_Wide("; - out << ")"; -} - - -HeliosGoalie::~HeliosGoalie() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const HeliosGoalie& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t HeliosGoalie::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t HeliosGoalie::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("HeliosGoalie"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(HeliosGoalie &a, HeliosGoalie &b) { - using ::std::swap; - (void) a; - (void) b; -} - -HeliosGoalie::HeliosGoalie(const HeliosGoalie& other263) noexcept { - (void) other263; -} -HeliosGoalie& HeliosGoalie::operator=(const HeliosGoalie& other264) noexcept { - (void) other264; - return *this; -} -void HeliosGoalie::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "HeliosGoalie("; - out << ")"; -} - - -HeliosGoalieMove::~HeliosGoalieMove() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const HeliosGoalieMove& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t HeliosGoalieMove::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t HeliosGoalieMove::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("HeliosGoalieMove"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(HeliosGoalieMove &a, HeliosGoalieMove &b) { - using ::std::swap; - (void) a; - (void) b; -} - -HeliosGoalieMove::HeliosGoalieMove(const HeliosGoalieMove& other265) noexcept { - (void) other265; -} -HeliosGoalieMove& HeliosGoalieMove::operator=(const HeliosGoalieMove& other266) noexcept { - (void) other266; - return *this; -} -void HeliosGoalieMove::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "HeliosGoalieMove("; - out << ")"; -} - - -HeliosGoalieKick::~HeliosGoalieKick() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const HeliosGoalieKick& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t HeliosGoalieKick::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t HeliosGoalieKick::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("HeliosGoalieKick"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(HeliosGoalieKick &a, HeliosGoalieKick &b) { - using ::std::swap; - (void) a; - (void) b; -} - -HeliosGoalieKick::HeliosGoalieKick(const HeliosGoalieKick& other267) noexcept { - (void) other267; -} -HeliosGoalieKick& HeliosGoalieKick::operator=(const HeliosGoalieKick& other268) noexcept { - (void) other268; - return *this; -} -void HeliosGoalieKick::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "HeliosGoalieKick("; - out << ")"; -} - - -HeliosShoot::~HeliosShoot() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const HeliosShoot& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t HeliosShoot::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t HeliosShoot::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("HeliosShoot"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(HeliosShoot &a, HeliosShoot &b) { - using ::std::swap; - (void) a; - (void) b; -} - -HeliosShoot::HeliosShoot(const HeliosShoot& other269) noexcept { - (void) other269; -} -HeliosShoot& HeliosShoot::operator=(const HeliosShoot& other270) noexcept { - (void) other270; - return *this; -} -void HeliosShoot::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "HeliosShoot("; - out << ")"; -} - - -HeliosChainAction::~HeliosChainAction() noexcept { -} - - -void HeliosChainAction::__set_direct_pass(const bool val) { - this->direct_pass = val; -} - -void HeliosChainAction::__set_lead_pass(const bool val) { - this->lead_pass = val; -} - -void HeliosChainAction::__set_through_pass(const bool val) { - this->through_pass = val; -} - -void HeliosChainAction::__set_short_dribble(const bool val) { - this->short_dribble = val; -} - -void HeliosChainAction::__set_long_dribble(const bool val) { - this->long_dribble = val; -} - -void HeliosChainAction::__set_cross(const bool val) { - this->cross = val; -} - -void HeliosChainAction::__set_simple_pass(const bool val) { - this->simple_pass = val; -} - -void HeliosChainAction::__set_simple_dribble(const bool val) { - this->simple_dribble = val; -} - -void HeliosChainAction::__set_simple_shoot(const bool val) { - this->simple_shoot = val; -} - -void HeliosChainAction::__set_server_side_decision(const bool val) { - this->server_side_decision = val; -} -std::ostream& operator<<(std::ostream& out, const HeliosChainAction& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t HeliosChainAction::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->direct_pass); - this->__isset.direct_pass = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->lead_pass); - this->__isset.lead_pass = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->through_pass); - this->__isset.through_pass = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->short_dribble); - this->__isset.short_dribble = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->long_dribble); - this->__isset.long_dribble = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 6: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->cross); - this->__isset.cross = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 7: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->simple_pass); - this->__isset.simple_pass = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 8: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->simple_dribble); - this->__isset.simple_dribble = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 9: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->simple_shoot); - this->__isset.simple_shoot = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 10: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->server_side_decision); - this->__isset.server_side_decision = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t HeliosChainAction::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("HeliosChainAction"); - - xfer += oprot->writeFieldBegin("direct_pass", ::apache::thrift::protocol::T_BOOL, 1); - xfer += oprot->writeBool(this->direct_pass); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("lead_pass", ::apache::thrift::protocol::T_BOOL, 2); - xfer += oprot->writeBool(this->lead_pass); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("through_pass", ::apache::thrift::protocol::T_BOOL, 3); - xfer += oprot->writeBool(this->through_pass); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("short_dribble", ::apache::thrift::protocol::T_BOOL, 4); - xfer += oprot->writeBool(this->short_dribble); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("long_dribble", ::apache::thrift::protocol::T_BOOL, 5); - xfer += oprot->writeBool(this->long_dribble); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("cross", ::apache::thrift::protocol::T_BOOL, 6); - xfer += oprot->writeBool(this->cross); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("simple_pass", ::apache::thrift::protocol::T_BOOL, 7); - xfer += oprot->writeBool(this->simple_pass); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("simple_dribble", ::apache::thrift::protocol::T_BOOL, 8); - xfer += oprot->writeBool(this->simple_dribble); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("simple_shoot", ::apache::thrift::protocol::T_BOOL, 9); - xfer += oprot->writeBool(this->simple_shoot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("server_side_decision", ::apache::thrift::protocol::T_BOOL, 10); - xfer += oprot->writeBool(this->server_side_decision); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(HeliosChainAction &a, HeliosChainAction &b) { - using ::std::swap; - swap(a.direct_pass, b.direct_pass); - swap(a.lead_pass, b.lead_pass); - swap(a.through_pass, b.through_pass); - swap(a.short_dribble, b.short_dribble); - swap(a.long_dribble, b.long_dribble); - swap(a.cross, b.cross); - swap(a.simple_pass, b.simple_pass); - swap(a.simple_dribble, b.simple_dribble); - swap(a.simple_shoot, b.simple_shoot); - swap(a.server_side_decision, b.server_side_decision); - swap(a.__isset, b.__isset); -} - -HeliosChainAction::HeliosChainAction(const HeliosChainAction& other271) noexcept { - direct_pass = other271.direct_pass; - lead_pass = other271.lead_pass; - through_pass = other271.through_pass; - short_dribble = other271.short_dribble; - long_dribble = other271.long_dribble; - cross = other271.cross; - simple_pass = other271.simple_pass; - simple_dribble = other271.simple_dribble; - simple_shoot = other271.simple_shoot; - server_side_decision = other271.server_side_decision; - __isset = other271.__isset; -} -HeliosChainAction& HeliosChainAction::operator=(const HeliosChainAction& other272) noexcept { - direct_pass = other272.direct_pass; - lead_pass = other272.lead_pass; - through_pass = other272.through_pass; - short_dribble = other272.short_dribble; - long_dribble = other272.long_dribble; - cross = other272.cross; - simple_pass = other272.simple_pass; - simple_dribble = other272.simple_dribble; - simple_shoot = other272.simple_shoot; - server_side_decision = other272.server_side_decision; - __isset = other272.__isset; - return *this; -} -void HeliosChainAction::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "HeliosChainAction("; - out << "direct_pass=" << to_string(direct_pass); - out << ", " << "lead_pass=" << to_string(lead_pass); - out << ", " << "through_pass=" << to_string(through_pass); - out << ", " << "short_dribble=" << to_string(short_dribble); - out << ", " << "long_dribble=" << to_string(long_dribble); - out << ", " << "cross=" << to_string(cross); - out << ", " << "simple_pass=" << to_string(simple_pass); - out << ", " << "simple_dribble=" << to_string(simple_dribble); - out << ", " << "simple_shoot=" << to_string(simple_shoot); - out << ", " << "server_side_decision=" << to_string(server_side_decision); - out << ")"; -} - - -HeliosBasicOffensive::~HeliosBasicOffensive() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const HeliosBasicOffensive& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t HeliosBasicOffensive::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t HeliosBasicOffensive::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("HeliosBasicOffensive"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(HeliosBasicOffensive &a, HeliosBasicOffensive &b) { - using ::std::swap; - (void) a; - (void) b; -} - -HeliosBasicOffensive::HeliosBasicOffensive(const HeliosBasicOffensive& other273) noexcept { - (void) other273; -} -HeliosBasicOffensive& HeliosBasicOffensive::operator=(const HeliosBasicOffensive& other274) noexcept { - (void) other274; - return *this; -} -void HeliosBasicOffensive::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "HeliosBasicOffensive("; - out << ")"; -} - - -HeliosBasicMove::~HeliosBasicMove() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const HeliosBasicMove& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t HeliosBasicMove::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t HeliosBasicMove::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("HeliosBasicMove"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(HeliosBasicMove &a, HeliosBasicMove &b) { - using ::std::swap; - (void) a; - (void) b; -} - -HeliosBasicMove::HeliosBasicMove(const HeliosBasicMove& other275) noexcept { - (void) other275; -} -HeliosBasicMove& HeliosBasicMove::operator=(const HeliosBasicMove& other276) noexcept { - (void) other276; - return *this; -} -void HeliosBasicMove::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "HeliosBasicMove("; - out << ")"; -} - - -HeliosSetPlay::~HeliosSetPlay() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const HeliosSetPlay& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t HeliosSetPlay::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t HeliosSetPlay::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("HeliosSetPlay"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(HeliosSetPlay &a, HeliosSetPlay &b) { - using ::std::swap; - (void) a; - (void) b; -} - -HeliosSetPlay::HeliosSetPlay(const HeliosSetPlay& other277) noexcept { - (void) other277; -} -HeliosSetPlay& HeliosSetPlay::operator=(const HeliosSetPlay& other278) noexcept { - (void) other278; - return *this; -} -void HeliosSetPlay::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "HeliosSetPlay("; - out << ")"; -} - - -HeliosPenalty::~HeliosPenalty() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const HeliosPenalty& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t HeliosPenalty::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t HeliosPenalty::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("HeliosPenalty"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(HeliosPenalty &a, HeliosPenalty &b) { - using ::std::swap; - (void) a; - (void) b; -} - -HeliosPenalty::HeliosPenalty(const HeliosPenalty& other279) noexcept { - (void) other279; -} -HeliosPenalty& HeliosPenalty::operator=(const HeliosPenalty& other280) noexcept { - (void) other280; - return *this; -} -void HeliosPenalty::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "HeliosPenalty("; - out << ")"; -} - - -HeliosCommunicaion::~HeliosCommunicaion() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const HeliosCommunicaion& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t HeliosCommunicaion::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t HeliosCommunicaion::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("HeliosCommunicaion"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(HeliosCommunicaion &a, HeliosCommunicaion &b) { - using ::std::swap; - (void) a; - (void) b; -} - -HeliosCommunicaion::HeliosCommunicaion(const HeliosCommunicaion& other281) noexcept { - (void) other281; -} -HeliosCommunicaion& HeliosCommunicaion::operator=(const HeliosCommunicaion& other282) noexcept { - (void) other282; - return *this; -} -void HeliosCommunicaion::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "HeliosCommunicaion("; - out << ")"; -} - - -PlayerAction::~PlayerAction() noexcept { -} - - -void PlayerAction::__set_dash(const Dash& val) { - this->dash = val; -__isset.dash = true; -} - -void PlayerAction::__set_turn(const Turn& val) { - this->turn = val; -__isset.turn = true; -} - -void PlayerAction::__set_kick(const Kick& val) { - this->kick = val; -__isset.kick = true; -} - -void PlayerAction::__set_tackle(const Tackle& val) { - this->tackle = val; -__isset.tackle = true; -} - -void PlayerAction::__set_catch_action(const Catch& val) { - this->catch_action = val; -__isset.catch_action = true; -} - -void PlayerAction::__set_move(const Move& val) { - this->move = val; -__isset.move = true; -} - -void PlayerAction::__set_turn_neck(const TurnNeck& val) { - this->turn_neck = val; -__isset.turn_neck = true; -} - -void PlayerAction::__set_change_view(const ChangeView& val) { - this->change_view = val; -__isset.change_view = true; -} - -void PlayerAction::__set_say(const Say& val) { - this->say = val; -__isset.say = true; -} - -void PlayerAction::__set_point_to(const PointTo& val) { - this->point_to = val; -__isset.point_to = true; -} - -void PlayerAction::__set_point_to_of(const PointToOf& val) { - this->point_to_of = val; -__isset.point_to_of = true; -} - -void PlayerAction::__set_attention_to(const AttentionTo& val) { - this->attention_to = val; -__isset.attention_to = true; -} - -void PlayerAction::__set_attention_to_of(const AttentionToOf& val) { - this->attention_to_of = val; -__isset.attention_to_of = true; -} - -void PlayerAction::__set_log(const Log& val) { - this->log = val; -__isset.log = true; -} - -void PlayerAction::__set_debug_client(const DebugClient& val) { - this->debug_client = val; -__isset.debug_client = true; -} - -void PlayerAction::__set_body_go_to_point(const Body_GoToPoint& val) { - this->body_go_to_point = val; -__isset.body_go_to_point = true; -} - -void PlayerAction::__set_body_smart_kick(const Body_SmartKick& val) { - this->body_smart_kick = val; -__isset.body_smart_kick = true; -} - -void PlayerAction::__set_bhv_before_kick_off(const Bhv_BeforeKickOff& val) { - this->bhv_before_kick_off = val; -__isset.bhv_before_kick_off = true; -} - -void PlayerAction::__set_bhv_body_neck_to_ball(const Bhv_BodyNeckToBall& val) { - this->bhv_body_neck_to_ball = val; -__isset.bhv_body_neck_to_ball = true; -} - -void PlayerAction::__set_bhv_body_neck_to_point(const Bhv_BodyNeckToPoint& val) { - this->bhv_body_neck_to_point = val; -__isset.bhv_body_neck_to_point = true; -} - -void PlayerAction::__set_bhv_emergency(const Bhv_Emergency& val) { - this->bhv_emergency = val; -__isset.bhv_emergency = true; -} - -void PlayerAction::__set_bhv_go_to_point_look_ball(const Bhv_GoToPointLookBall& val) { - this->bhv_go_to_point_look_ball = val; -__isset.bhv_go_to_point_look_ball = true; -} - -void PlayerAction::__set_bhv_neck_body_to_ball(const Bhv_NeckBodyToBall& val) { - this->bhv_neck_body_to_ball = val; -__isset.bhv_neck_body_to_ball = true; -} - -void PlayerAction::__set_bhv_neck_body_to_point(const Bhv_NeckBodyToPoint& val) { - this->bhv_neck_body_to_point = val; -__isset.bhv_neck_body_to_point = true; -} - -void PlayerAction::__set_bhv_scan_field(const Bhv_ScanField& val) { - this->bhv_scan_field = val; -__isset.bhv_scan_field = true; -} - -void PlayerAction::__set_body_advance_ball(const Body_AdvanceBall& val) { - this->body_advance_ball = val; -__isset.body_advance_ball = true; -} - -void PlayerAction::__set_body_clear_ball(const Body_ClearBall& val) { - this->body_clear_ball = val; -__isset.body_clear_ball = true; -} - -void PlayerAction::__set_body_dribble(const Body_Dribble& val) { - this->body_dribble = val; -__isset.body_dribble = true; -} - -void PlayerAction::__set_body_go_to_point_dodge(const Body_GoToPointDodge& val) { - this->body_go_to_point_dodge = val; -__isset.body_go_to_point_dodge = true; -} - -void PlayerAction::__set_body_hold_ball(const Body_HoldBall& val) { - this->body_hold_ball = val; -__isset.body_hold_ball = true; -} - -void PlayerAction::__set_body_intercept(const Body_Intercept& val) { - this->body_intercept = val; -__isset.body_intercept = true; -} - -void PlayerAction::__set_body_kick_one_step(const Body_KickOneStep& val) { - this->body_kick_one_step = val; -__isset.body_kick_one_step = true; -} - -void PlayerAction::__set_body_stop_ball(const Body_StopBall& val) { - this->body_stop_ball = val; -__isset.body_stop_ball = true; -} - -void PlayerAction::__set_body_stop_dash(const Body_StopDash& val) { - this->body_stop_dash = val; -__isset.body_stop_dash = true; -} - -void PlayerAction::__set_body_tackle_to_point(const Body_TackleToPoint& val) { - this->body_tackle_to_point = val; -__isset.body_tackle_to_point = true; -} - -void PlayerAction::__set_body_turn_to_angle(const Body_TurnToAngle& val) { - this->body_turn_to_angle = val; -__isset.body_turn_to_angle = true; -} - -void PlayerAction::__set_body_turn_to_ball(const Body_TurnToBall& val) { - this->body_turn_to_ball = val; -__isset.body_turn_to_ball = true; -} - -void PlayerAction::__set_body_turn_to_point(const Body_TurnToPoint& val) { - this->body_turn_to_point = val; -__isset.body_turn_to_point = true; -} - -void PlayerAction::__set_focus_move_to_point(const Focus_MoveToPoint& val) { - this->focus_move_to_point = val; -__isset.focus_move_to_point = true; -} - -void PlayerAction::__set_focus_reset(const Focus_Reset& val) { - this->focus_reset = val; -__isset.focus_reset = true; -} - -void PlayerAction::__set_neck_scan_field(const Neck_ScanField& val) { - this->neck_scan_field = val; -__isset.neck_scan_field = true; -} - -void PlayerAction::__set_neck_scan_players(const Neck_ScanPlayers& val) { - this->neck_scan_players = val; -__isset.neck_scan_players = true; -} - -void PlayerAction::__set_neck_turn_to_ball_and_player(const Neck_TurnToBallAndPlayer& val) { - this->neck_turn_to_ball_and_player = val; -__isset.neck_turn_to_ball_and_player = true; -} - -void PlayerAction::__set_neck_turn_to_ball_or_scan(const Neck_TurnToBallOrScan& val) { - this->neck_turn_to_ball_or_scan = val; -__isset.neck_turn_to_ball_or_scan = true; -} - -void PlayerAction::__set_neck_turn_to_ball(const Neck_TurnToBall& val) { - this->neck_turn_to_ball = val; -__isset.neck_turn_to_ball = true; -} - -void PlayerAction::__set_neck_turn_to_goalie_or_scan(const Neck_TurnToGoalieOrScan& val) { - this->neck_turn_to_goalie_or_scan = val; -__isset.neck_turn_to_goalie_or_scan = true; -} - -void PlayerAction::__set_neck_turn_to_low_conf_teammate(const Neck_TurnToLowConfTeammate& val) { - this->neck_turn_to_low_conf_teammate = val; -__isset.neck_turn_to_low_conf_teammate = true; -} - -void PlayerAction::__set_neck_turn_to_player_or_scan(const Neck_TurnToPlayerOrScan& val) { - this->neck_turn_to_player_or_scan = val; -__isset.neck_turn_to_player_or_scan = true; -} - -void PlayerAction::__set_neck_turn_to_point(const Neck_TurnToPoint& val) { - this->neck_turn_to_point = val; -__isset.neck_turn_to_point = true; -} - -void PlayerAction::__set_neck_turn_to_relative(const Neck_TurnToRelative& val) { - this->neck_turn_to_relative = val; -__isset.neck_turn_to_relative = true; -} - -void PlayerAction::__set_view_change_width(const View_ChangeWidth& val) { - this->view_change_width = val; -__isset.view_change_width = true; -} - -void PlayerAction::__set_view_normal(const View_Normal& val) { - this->view_normal = val; -__isset.view_normal = true; -} - -void PlayerAction::__set_view_synch(const View_Synch& val) { - this->view_synch = val; -__isset.view_synch = true; -} - -void PlayerAction::__set_view_wide(const View_Wide& val) { - this->view_wide = val; -__isset.view_wide = true; -} - -void PlayerAction::__set_helios_goalie(const HeliosGoalie& val) { - this->helios_goalie = val; -__isset.helios_goalie = true; -} - -void PlayerAction::__set_helios_goalie_move(const HeliosGoalieMove& val) { - this->helios_goalie_move = val; -__isset.helios_goalie_move = true; -} - -void PlayerAction::__set_helios_goalie_kick(const HeliosGoalieKick& val) { - this->helios_goalie_kick = val; -__isset.helios_goalie_kick = true; -} - -void PlayerAction::__set_helios_shoot(const HeliosShoot& val) { - this->helios_shoot = val; -__isset.helios_shoot = true; -} - -void PlayerAction::__set_helios_chain_action(const HeliosChainAction& val) { - this->helios_chain_action = val; -__isset.helios_chain_action = true; -} - -void PlayerAction::__set_helios_basic_offensive(const HeliosBasicOffensive& val) { - this->helios_basic_offensive = val; -__isset.helios_basic_offensive = true; -} - -void PlayerAction::__set_helios_basic_move(const HeliosBasicMove& val) { - this->helios_basic_move = val; -__isset.helios_basic_move = true; -} - -void PlayerAction::__set_helios_set_play(const HeliosSetPlay& val) { - this->helios_set_play = val; -__isset.helios_set_play = true; -} - -void PlayerAction::__set_helios_penalty(const HeliosPenalty& val) { - this->helios_penalty = val; -__isset.helios_penalty = true; -} - -void PlayerAction::__set_helios_communication(const HeliosCommunicaion& val) { - this->helios_communication = val; -__isset.helios_communication = true; -} -std::ostream& operator<<(std::ostream& out, const PlayerAction& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t PlayerAction::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->dash.read(iprot); - this->__isset.dash = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->turn.read(iprot); - this->__isset.turn = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->kick.read(iprot); - this->__isset.kick = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->tackle.read(iprot); - this->__isset.tackle = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->catch_action.read(iprot); - this->__isset.catch_action = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 6: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->move.read(iprot); - this->__isset.move = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 7: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->turn_neck.read(iprot); - this->__isset.turn_neck = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 8: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->change_view.read(iprot); - this->__isset.change_view = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 9: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->say.read(iprot); - this->__isset.say = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 10: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->point_to.read(iprot); - this->__isset.point_to = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 11: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->point_to_of.read(iprot); - this->__isset.point_to_of = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 12: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->attention_to.read(iprot); - this->__isset.attention_to = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 13: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->attention_to_of.read(iprot); - this->__isset.attention_to_of = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 14: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->log.read(iprot); - this->__isset.log = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 15: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->debug_client.read(iprot); - this->__isset.debug_client = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 16: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->body_go_to_point.read(iprot); - this->__isset.body_go_to_point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 17: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->body_smart_kick.read(iprot); - this->__isset.body_smart_kick = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 18: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->bhv_before_kick_off.read(iprot); - this->__isset.bhv_before_kick_off = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 19: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->bhv_body_neck_to_ball.read(iprot); - this->__isset.bhv_body_neck_to_ball = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 20: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->bhv_body_neck_to_point.read(iprot); - this->__isset.bhv_body_neck_to_point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 21: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->bhv_emergency.read(iprot); - this->__isset.bhv_emergency = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 22: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->bhv_go_to_point_look_ball.read(iprot); - this->__isset.bhv_go_to_point_look_ball = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 23: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->bhv_neck_body_to_ball.read(iprot); - this->__isset.bhv_neck_body_to_ball = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 24: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->bhv_neck_body_to_point.read(iprot); - this->__isset.bhv_neck_body_to_point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 25: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->bhv_scan_field.read(iprot); - this->__isset.bhv_scan_field = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 26: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->body_advance_ball.read(iprot); - this->__isset.body_advance_ball = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 27: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->body_clear_ball.read(iprot); - this->__isset.body_clear_ball = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 28: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->body_dribble.read(iprot); - this->__isset.body_dribble = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 29: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->body_go_to_point_dodge.read(iprot); - this->__isset.body_go_to_point_dodge = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 30: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->body_hold_ball.read(iprot); - this->__isset.body_hold_ball = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 31: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->body_intercept.read(iprot); - this->__isset.body_intercept = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 32: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->body_kick_one_step.read(iprot); - this->__isset.body_kick_one_step = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 33: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->body_stop_ball.read(iprot); - this->__isset.body_stop_ball = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 34: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->body_stop_dash.read(iprot); - this->__isset.body_stop_dash = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 35: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->body_tackle_to_point.read(iprot); - this->__isset.body_tackle_to_point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 36: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->body_turn_to_angle.read(iprot); - this->__isset.body_turn_to_angle = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 37: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->body_turn_to_ball.read(iprot); - this->__isset.body_turn_to_ball = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 38: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->body_turn_to_point.read(iprot); - this->__isset.body_turn_to_point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 39: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->focus_move_to_point.read(iprot); - this->__isset.focus_move_to_point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 40: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->focus_reset.read(iprot); - this->__isset.focus_reset = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 41: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->neck_scan_field.read(iprot); - this->__isset.neck_scan_field = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 42: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->neck_scan_players.read(iprot); - this->__isset.neck_scan_players = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 43: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->neck_turn_to_ball_and_player.read(iprot); - this->__isset.neck_turn_to_ball_and_player = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 44: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->neck_turn_to_ball_or_scan.read(iprot); - this->__isset.neck_turn_to_ball_or_scan = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 45: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->neck_turn_to_ball.read(iprot); - this->__isset.neck_turn_to_ball = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 46: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->neck_turn_to_goalie_or_scan.read(iprot); - this->__isset.neck_turn_to_goalie_or_scan = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 47: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->neck_turn_to_low_conf_teammate.read(iprot); - this->__isset.neck_turn_to_low_conf_teammate = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 48: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->neck_turn_to_player_or_scan.read(iprot); - this->__isset.neck_turn_to_player_or_scan = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 49: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->neck_turn_to_point.read(iprot); - this->__isset.neck_turn_to_point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 50: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->neck_turn_to_relative.read(iprot); - this->__isset.neck_turn_to_relative = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 51: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->view_change_width.read(iprot); - this->__isset.view_change_width = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 52: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->view_normal.read(iprot); - this->__isset.view_normal = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 53: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->view_synch.read(iprot); - this->__isset.view_synch = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 54: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->view_wide.read(iprot); - this->__isset.view_wide = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 55: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->helios_goalie.read(iprot); - this->__isset.helios_goalie = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 56: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->helios_goalie_move.read(iprot); - this->__isset.helios_goalie_move = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 57: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->helios_goalie_kick.read(iprot); - this->__isset.helios_goalie_kick = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 58: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->helios_shoot.read(iprot); - this->__isset.helios_shoot = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 59: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->helios_chain_action.read(iprot); - this->__isset.helios_chain_action = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 60: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->helios_basic_offensive.read(iprot); - this->__isset.helios_basic_offensive = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 61: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->helios_basic_move.read(iprot); - this->__isset.helios_basic_move = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 62: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->helios_set_play.read(iprot); - this->__isset.helios_set_play = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 63: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->helios_penalty.read(iprot); - this->__isset.helios_penalty = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 64: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->helios_communication.read(iprot); - this->__isset.helios_communication = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t PlayerAction::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("PlayerAction"); - - if (this->__isset.dash) { - xfer += oprot->writeFieldBegin("dash", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->dash.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.turn) { - xfer += oprot->writeFieldBegin("turn", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->turn.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.kick) { - xfer += oprot->writeFieldBegin("kick", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += this->kick.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.tackle) { - xfer += oprot->writeFieldBegin("tackle", ::apache::thrift::protocol::T_STRUCT, 4); - xfer += this->tackle.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.catch_action) { - xfer += oprot->writeFieldBegin("catch_action", ::apache::thrift::protocol::T_STRUCT, 5); - xfer += this->catch_action.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.move) { - xfer += oprot->writeFieldBegin("move", ::apache::thrift::protocol::T_STRUCT, 6); - xfer += this->move.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.turn_neck) { - xfer += oprot->writeFieldBegin("turn_neck", ::apache::thrift::protocol::T_STRUCT, 7); - xfer += this->turn_neck.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.change_view) { - xfer += oprot->writeFieldBegin("change_view", ::apache::thrift::protocol::T_STRUCT, 8); - xfer += this->change_view.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.say) { - xfer += oprot->writeFieldBegin("say", ::apache::thrift::protocol::T_STRUCT, 9); - xfer += this->say.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.point_to) { - xfer += oprot->writeFieldBegin("point_to", ::apache::thrift::protocol::T_STRUCT, 10); - xfer += this->point_to.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.point_to_of) { - xfer += oprot->writeFieldBegin("point_to_of", ::apache::thrift::protocol::T_STRUCT, 11); - xfer += this->point_to_of.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.attention_to) { - xfer += oprot->writeFieldBegin("attention_to", ::apache::thrift::protocol::T_STRUCT, 12); - xfer += this->attention_to.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.attention_to_of) { - xfer += oprot->writeFieldBegin("attention_to_of", ::apache::thrift::protocol::T_STRUCT, 13); - xfer += this->attention_to_of.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.log) { - xfer += oprot->writeFieldBegin("log", ::apache::thrift::protocol::T_STRUCT, 14); - xfer += this->log.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.debug_client) { - xfer += oprot->writeFieldBegin("debug_client", ::apache::thrift::protocol::T_STRUCT, 15); - xfer += this->debug_client.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.body_go_to_point) { - xfer += oprot->writeFieldBegin("body_go_to_point", ::apache::thrift::protocol::T_STRUCT, 16); - xfer += this->body_go_to_point.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.body_smart_kick) { - xfer += oprot->writeFieldBegin("body_smart_kick", ::apache::thrift::protocol::T_STRUCT, 17); - xfer += this->body_smart_kick.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.bhv_before_kick_off) { - xfer += oprot->writeFieldBegin("bhv_before_kick_off", ::apache::thrift::protocol::T_STRUCT, 18); - xfer += this->bhv_before_kick_off.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.bhv_body_neck_to_ball) { - xfer += oprot->writeFieldBegin("bhv_body_neck_to_ball", ::apache::thrift::protocol::T_STRUCT, 19); - xfer += this->bhv_body_neck_to_ball.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.bhv_body_neck_to_point) { - xfer += oprot->writeFieldBegin("bhv_body_neck_to_point", ::apache::thrift::protocol::T_STRUCT, 20); - xfer += this->bhv_body_neck_to_point.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.bhv_emergency) { - xfer += oprot->writeFieldBegin("bhv_emergency", ::apache::thrift::protocol::T_STRUCT, 21); - xfer += this->bhv_emergency.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.bhv_go_to_point_look_ball) { - xfer += oprot->writeFieldBegin("bhv_go_to_point_look_ball", ::apache::thrift::protocol::T_STRUCT, 22); - xfer += this->bhv_go_to_point_look_ball.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.bhv_neck_body_to_ball) { - xfer += oprot->writeFieldBegin("bhv_neck_body_to_ball", ::apache::thrift::protocol::T_STRUCT, 23); - xfer += this->bhv_neck_body_to_ball.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.bhv_neck_body_to_point) { - xfer += oprot->writeFieldBegin("bhv_neck_body_to_point", ::apache::thrift::protocol::T_STRUCT, 24); - xfer += this->bhv_neck_body_to_point.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.bhv_scan_field) { - xfer += oprot->writeFieldBegin("bhv_scan_field", ::apache::thrift::protocol::T_STRUCT, 25); - xfer += this->bhv_scan_field.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.body_advance_ball) { - xfer += oprot->writeFieldBegin("body_advance_ball", ::apache::thrift::protocol::T_STRUCT, 26); - xfer += this->body_advance_ball.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.body_clear_ball) { - xfer += oprot->writeFieldBegin("body_clear_ball", ::apache::thrift::protocol::T_STRUCT, 27); - xfer += this->body_clear_ball.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.body_dribble) { - xfer += oprot->writeFieldBegin("body_dribble", ::apache::thrift::protocol::T_STRUCT, 28); - xfer += this->body_dribble.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.body_go_to_point_dodge) { - xfer += oprot->writeFieldBegin("body_go_to_point_dodge", ::apache::thrift::protocol::T_STRUCT, 29); - xfer += this->body_go_to_point_dodge.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.body_hold_ball) { - xfer += oprot->writeFieldBegin("body_hold_ball", ::apache::thrift::protocol::T_STRUCT, 30); - xfer += this->body_hold_ball.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.body_intercept) { - xfer += oprot->writeFieldBegin("body_intercept", ::apache::thrift::protocol::T_STRUCT, 31); - xfer += this->body_intercept.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.body_kick_one_step) { - xfer += oprot->writeFieldBegin("body_kick_one_step", ::apache::thrift::protocol::T_STRUCT, 32); - xfer += this->body_kick_one_step.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.body_stop_ball) { - xfer += oprot->writeFieldBegin("body_stop_ball", ::apache::thrift::protocol::T_STRUCT, 33); - xfer += this->body_stop_ball.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.body_stop_dash) { - xfer += oprot->writeFieldBegin("body_stop_dash", ::apache::thrift::protocol::T_STRUCT, 34); - xfer += this->body_stop_dash.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.body_tackle_to_point) { - xfer += oprot->writeFieldBegin("body_tackle_to_point", ::apache::thrift::protocol::T_STRUCT, 35); - xfer += this->body_tackle_to_point.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.body_turn_to_angle) { - xfer += oprot->writeFieldBegin("body_turn_to_angle", ::apache::thrift::protocol::T_STRUCT, 36); - xfer += this->body_turn_to_angle.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.body_turn_to_ball) { - xfer += oprot->writeFieldBegin("body_turn_to_ball", ::apache::thrift::protocol::T_STRUCT, 37); - xfer += this->body_turn_to_ball.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.body_turn_to_point) { - xfer += oprot->writeFieldBegin("body_turn_to_point", ::apache::thrift::protocol::T_STRUCT, 38); - xfer += this->body_turn_to_point.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.focus_move_to_point) { - xfer += oprot->writeFieldBegin("focus_move_to_point", ::apache::thrift::protocol::T_STRUCT, 39); - xfer += this->focus_move_to_point.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.focus_reset) { - xfer += oprot->writeFieldBegin("focus_reset", ::apache::thrift::protocol::T_STRUCT, 40); - xfer += this->focus_reset.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.neck_scan_field) { - xfer += oprot->writeFieldBegin("neck_scan_field", ::apache::thrift::protocol::T_STRUCT, 41); - xfer += this->neck_scan_field.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.neck_scan_players) { - xfer += oprot->writeFieldBegin("neck_scan_players", ::apache::thrift::protocol::T_STRUCT, 42); - xfer += this->neck_scan_players.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.neck_turn_to_ball_and_player) { - xfer += oprot->writeFieldBegin("neck_turn_to_ball_and_player", ::apache::thrift::protocol::T_STRUCT, 43); - xfer += this->neck_turn_to_ball_and_player.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.neck_turn_to_ball_or_scan) { - xfer += oprot->writeFieldBegin("neck_turn_to_ball_or_scan", ::apache::thrift::protocol::T_STRUCT, 44); - xfer += this->neck_turn_to_ball_or_scan.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.neck_turn_to_ball) { - xfer += oprot->writeFieldBegin("neck_turn_to_ball", ::apache::thrift::protocol::T_STRUCT, 45); - xfer += this->neck_turn_to_ball.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.neck_turn_to_goalie_or_scan) { - xfer += oprot->writeFieldBegin("neck_turn_to_goalie_or_scan", ::apache::thrift::protocol::T_STRUCT, 46); - xfer += this->neck_turn_to_goalie_or_scan.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.neck_turn_to_low_conf_teammate) { - xfer += oprot->writeFieldBegin("neck_turn_to_low_conf_teammate", ::apache::thrift::protocol::T_STRUCT, 47); - xfer += this->neck_turn_to_low_conf_teammate.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.neck_turn_to_player_or_scan) { - xfer += oprot->writeFieldBegin("neck_turn_to_player_or_scan", ::apache::thrift::protocol::T_STRUCT, 48); - xfer += this->neck_turn_to_player_or_scan.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.neck_turn_to_point) { - xfer += oprot->writeFieldBegin("neck_turn_to_point", ::apache::thrift::protocol::T_STRUCT, 49); - xfer += this->neck_turn_to_point.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.neck_turn_to_relative) { - xfer += oprot->writeFieldBegin("neck_turn_to_relative", ::apache::thrift::protocol::T_STRUCT, 50); - xfer += this->neck_turn_to_relative.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.view_change_width) { - xfer += oprot->writeFieldBegin("view_change_width", ::apache::thrift::protocol::T_STRUCT, 51); - xfer += this->view_change_width.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.view_normal) { - xfer += oprot->writeFieldBegin("view_normal", ::apache::thrift::protocol::T_STRUCT, 52); - xfer += this->view_normal.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.view_synch) { - xfer += oprot->writeFieldBegin("view_synch", ::apache::thrift::protocol::T_STRUCT, 53); - xfer += this->view_synch.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.view_wide) { - xfer += oprot->writeFieldBegin("view_wide", ::apache::thrift::protocol::T_STRUCT, 54); - xfer += this->view_wide.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.helios_goalie) { - xfer += oprot->writeFieldBegin("helios_goalie", ::apache::thrift::protocol::T_STRUCT, 55); - xfer += this->helios_goalie.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.helios_goalie_move) { - xfer += oprot->writeFieldBegin("helios_goalie_move", ::apache::thrift::protocol::T_STRUCT, 56); - xfer += this->helios_goalie_move.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.helios_goalie_kick) { - xfer += oprot->writeFieldBegin("helios_goalie_kick", ::apache::thrift::protocol::T_STRUCT, 57); - xfer += this->helios_goalie_kick.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.helios_shoot) { - xfer += oprot->writeFieldBegin("helios_shoot", ::apache::thrift::protocol::T_STRUCT, 58); - xfer += this->helios_shoot.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.helios_chain_action) { - xfer += oprot->writeFieldBegin("helios_chain_action", ::apache::thrift::protocol::T_STRUCT, 59); - xfer += this->helios_chain_action.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.helios_basic_offensive) { - xfer += oprot->writeFieldBegin("helios_basic_offensive", ::apache::thrift::protocol::T_STRUCT, 60); - xfer += this->helios_basic_offensive.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.helios_basic_move) { - xfer += oprot->writeFieldBegin("helios_basic_move", ::apache::thrift::protocol::T_STRUCT, 61); - xfer += this->helios_basic_move.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.helios_set_play) { - xfer += oprot->writeFieldBegin("helios_set_play", ::apache::thrift::protocol::T_STRUCT, 62); - xfer += this->helios_set_play.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.helios_penalty) { - xfer += oprot->writeFieldBegin("helios_penalty", ::apache::thrift::protocol::T_STRUCT, 63); - xfer += this->helios_penalty.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.helios_communication) { - xfer += oprot->writeFieldBegin("helios_communication", ::apache::thrift::protocol::T_STRUCT, 64); - xfer += this->helios_communication.write(oprot); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(PlayerAction &a, PlayerAction &b) { - using ::std::swap; - swap(a.dash, b.dash); - swap(a.turn, b.turn); - swap(a.kick, b.kick); - swap(a.tackle, b.tackle); - swap(a.catch_action, b.catch_action); - swap(a.move, b.move); - swap(a.turn_neck, b.turn_neck); - swap(a.change_view, b.change_view); - swap(a.say, b.say); - swap(a.point_to, b.point_to); - swap(a.point_to_of, b.point_to_of); - swap(a.attention_to, b.attention_to); - swap(a.attention_to_of, b.attention_to_of); - swap(a.log, b.log); - swap(a.debug_client, b.debug_client); - swap(a.body_go_to_point, b.body_go_to_point); - swap(a.body_smart_kick, b.body_smart_kick); - swap(a.bhv_before_kick_off, b.bhv_before_kick_off); - swap(a.bhv_body_neck_to_ball, b.bhv_body_neck_to_ball); - swap(a.bhv_body_neck_to_point, b.bhv_body_neck_to_point); - swap(a.bhv_emergency, b.bhv_emergency); - swap(a.bhv_go_to_point_look_ball, b.bhv_go_to_point_look_ball); - swap(a.bhv_neck_body_to_ball, b.bhv_neck_body_to_ball); - swap(a.bhv_neck_body_to_point, b.bhv_neck_body_to_point); - swap(a.bhv_scan_field, b.bhv_scan_field); - swap(a.body_advance_ball, b.body_advance_ball); - swap(a.body_clear_ball, b.body_clear_ball); - swap(a.body_dribble, b.body_dribble); - swap(a.body_go_to_point_dodge, b.body_go_to_point_dodge); - swap(a.body_hold_ball, b.body_hold_ball); - swap(a.body_intercept, b.body_intercept); - swap(a.body_kick_one_step, b.body_kick_one_step); - swap(a.body_stop_ball, b.body_stop_ball); - swap(a.body_stop_dash, b.body_stop_dash); - swap(a.body_tackle_to_point, b.body_tackle_to_point); - swap(a.body_turn_to_angle, b.body_turn_to_angle); - swap(a.body_turn_to_ball, b.body_turn_to_ball); - swap(a.body_turn_to_point, b.body_turn_to_point); - swap(a.focus_move_to_point, b.focus_move_to_point); - swap(a.focus_reset, b.focus_reset); - swap(a.neck_scan_field, b.neck_scan_field); - swap(a.neck_scan_players, b.neck_scan_players); - swap(a.neck_turn_to_ball_and_player, b.neck_turn_to_ball_and_player); - swap(a.neck_turn_to_ball_or_scan, b.neck_turn_to_ball_or_scan); - swap(a.neck_turn_to_ball, b.neck_turn_to_ball); - swap(a.neck_turn_to_goalie_or_scan, b.neck_turn_to_goalie_or_scan); - swap(a.neck_turn_to_low_conf_teammate, b.neck_turn_to_low_conf_teammate); - swap(a.neck_turn_to_player_or_scan, b.neck_turn_to_player_or_scan); - swap(a.neck_turn_to_point, b.neck_turn_to_point); - swap(a.neck_turn_to_relative, b.neck_turn_to_relative); - swap(a.view_change_width, b.view_change_width); - swap(a.view_normal, b.view_normal); - swap(a.view_synch, b.view_synch); - swap(a.view_wide, b.view_wide); - swap(a.helios_goalie, b.helios_goalie); - swap(a.helios_goalie_move, b.helios_goalie_move); - swap(a.helios_goalie_kick, b.helios_goalie_kick); - swap(a.helios_shoot, b.helios_shoot); - swap(a.helios_chain_action, b.helios_chain_action); - swap(a.helios_basic_offensive, b.helios_basic_offensive); - swap(a.helios_basic_move, b.helios_basic_move); - swap(a.helios_set_play, b.helios_set_play); - swap(a.helios_penalty, b.helios_penalty); - swap(a.helios_communication, b.helios_communication); - swap(a.__isset, b.__isset); -} - -PlayerAction::PlayerAction(const PlayerAction& other283) { - dash = other283.dash; - turn = other283.turn; - kick = other283.kick; - tackle = other283.tackle; - catch_action = other283.catch_action; - move = other283.move; - turn_neck = other283.turn_neck; - change_view = other283.change_view; - say = other283.say; - point_to = other283.point_to; - point_to_of = other283.point_to_of; - attention_to = other283.attention_to; - attention_to_of = other283.attention_to_of; - log = other283.log; - debug_client = other283.debug_client; - body_go_to_point = other283.body_go_to_point; - body_smart_kick = other283.body_smart_kick; - bhv_before_kick_off = other283.bhv_before_kick_off; - bhv_body_neck_to_ball = other283.bhv_body_neck_to_ball; - bhv_body_neck_to_point = other283.bhv_body_neck_to_point; - bhv_emergency = other283.bhv_emergency; - bhv_go_to_point_look_ball = other283.bhv_go_to_point_look_ball; - bhv_neck_body_to_ball = other283.bhv_neck_body_to_ball; - bhv_neck_body_to_point = other283.bhv_neck_body_to_point; - bhv_scan_field = other283.bhv_scan_field; - body_advance_ball = other283.body_advance_ball; - body_clear_ball = other283.body_clear_ball; - body_dribble = other283.body_dribble; - body_go_to_point_dodge = other283.body_go_to_point_dodge; - body_hold_ball = other283.body_hold_ball; - body_intercept = other283.body_intercept; - body_kick_one_step = other283.body_kick_one_step; - body_stop_ball = other283.body_stop_ball; - body_stop_dash = other283.body_stop_dash; - body_tackle_to_point = other283.body_tackle_to_point; - body_turn_to_angle = other283.body_turn_to_angle; - body_turn_to_ball = other283.body_turn_to_ball; - body_turn_to_point = other283.body_turn_to_point; - focus_move_to_point = other283.focus_move_to_point; - focus_reset = other283.focus_reset; - neck_scan_field = other283.neck_scan_field; - neck_scan_players = other283.neck_scan_players; - neck_turn_to_ball_and_player = other283.neck_turn_to_ball_and_player; - neck_turn_to_ball_or_scan = other283.neck_turn_to_ball_or_scan; - neck_turn_to_ball = other283.neck_turn_to_ball; - neck_turn_to_goalie_or_scan = other283.neck_turn_to_goalie_or_scan; - neck_turn_to_low_conf_teammate = other283.neck_turn_to_low_conf_teammate; - neck_turn_to_player_or_scan = other283.neck_turn_to_player_or_scan; - neck_turn_to_point = other283.neck_turn_to_point; - neck_turn_to_relative = other283.neck_turn_to_relative; - view_change_width = other283.view_change_width; - view_normal = other283.view_normal; - view_synch = other283.view_synch; - view_wide = other283.view_wide; - helios_goalie = other283.helios_goalie; - helios_goalie_move = other283.helios_goalie_move; - helios_goalie_kick = other283.helios_goalie_kick; - helios_shoot = other283.helios_shoot; - helios_chain_action = other283.helios_chain_action; - helios_basic_offensive = other283.helios_basic_offensive; - helios_basic_move = other283.helios_basic_move; - helios_set_play = other283.helios_set_play; - helios_penalty = other283.helios_penalty; - helios_communication = other283.helios_communication; - __isset = other283.__isset; -} -PlayerAction& PlayerAction::operator=(const PlayerAction& other284) { - dash = other284.dash; - turn = other284.turn; - kick = other284.kick; - tackle = other284.tackle; - catch_action = other284.catch_action; - move = other284.move; - turn_neck = other284.turn_neck; - change_view = other284.change_view; - say = other284.say; - point_to = other284.point_to; - point_to_of = other284.point_to_of; - attention_to = other284.attention_to; - attention_to_of = other284.attention_to_of; - log = other284.log; - debug_client = other284.debug_client; - body_go_to_point = other284.body_go_to_point; - body_smart_kick = other284.body_smart_kick; - bhv_before_kick_off = other284.bhv_before_kick_off; - bhv_body_neck_to_ball = other284.bhv_body_neck_to_ball; - bhv_body_neck_to_point = other284.bhv_body_neck_to_point; - bhv_emergency = other284.bhv_emergency; - bhv_go_to_point_look_ball = other284.bhv_go_to_point_look_ball; - bhv_neck_body_to_ball = other284.bhv_neck_body_to_ball; - bhv_neck_body_to_point = other284.bhv_neck_body_to_point; - bhv_scan_field = other284.bhv_scan_field; - body_advance_ball = other284.body_advance_ball; - body_clear_ball = other284.body_clear_ball; - body_dribble = other284.body_dribble; - body_go_to_point_dodge = other284.body_go_to_point_dodge; - body_hold_ball = other284.body_hold_ball; - body_intercept = other284.body_intercept; - body_kick_one_step = other284.body_kick_one_step; - body_stop_ball = other284.body_stop_ball; - body_stop_dash = other284.body_stop_dash; - body_tackle_to_point = other284.body_tackle_to_point; - body_turn_to_angle = other284.body_turn_to_angle; - body_turn_to_ball = other284.body_turn_to_ball; - body_turn_to_point = other284.body_turn_to_point; - focus_move_to_point = other284.focus_move_to_point; - focus_reset = other284.focus_reset; - neck_scan_field = other284.neck_scan_field; - neck_scan_players = other284.neck_scan_players; - neck_turn_to_ball_and_player = other284.neck_turn_to_ball_and_player; - neck_turn_to_ball_or_scan = other284.neck_turn_to_ball_or_scan; - neck_turn_to_ball = other284.neck_turn_to_ball; - neck_turn_to_goalie_or_scan = other284.neck_turn_to_goalie_or_scan; - neck_turn_to_low_conf_teammate = other284.neck_turn_to_low_conf_teammate; - neck_turn_to_player_or_scan = other284.neck_turn_to_player_or_scan; - neck_turn_to_point = other284.neck_turn_to_point; - neck_turn_to_relative = other284.neck_turn_to_relative; - view_change_width = other284.view_change_width; - view_normal = other284.view_normal; - view_synch = other284.view_synch; - view_wide = other284.view_wide; - helios_goalie = other284.helios_goalie; - helios_goalie_move = other284.helios_goalie_move; - helios_goalie_kick = other284.helios_goalie_kick; - helios_shoot = other284.helios_shoot; - helios_chain_action = other284.helios_chain_action; - helios_basic_offensive = other284.helios_basic_offensive; - helios_basic_move = other284.helios_basic_move; - helios_set_play = other284.helios_set_play; - helios_penalty = other284.helios_penalty; - helios_communication = other284.helios_communication; - __isset = other284.__isset; - return *this; -} -void PlayerAction::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "PlayerAction("; - out << "dash="; (__isset.dash ? (out << to_string(dash)) : (out << "")); - out << ", " << "turn="; (__isset.turn ? (out << to_string(turn)) : (out << "")); - out << ", " << "kick="; (__isset.kick ? (out << to_string(kick)) : (out << "")); - out << ", " << "tackle="; (__isset.tackle ? (out << to_string(tackle)) : (out << "")); - out << ", " << "catch_action="; (__isset.catch_action ? (out << to_string(catch_action)) : (out << "")); - out << ", " << "move="; (__isset.move ? (out << to_string(move)) : (out << "")); - out << ", " << "turn_neck="; (__isset.turn_neck ? (out << to_string(turn_neck)) : (out << "")); - out << ", " << "change_view="; (__isset.change_view ? (out << to_string(change_view)) : (out << "")); - out << ", " << "say="; (__isset.say ? (out << to_string(say)) : (out << "")); - out << ", " << "point_to="; (__isset.point_to ? (out << to_string(point_to)) : (out << "")); - out << ", " << "point_to_of="; (__isset.point_to_of ? (out << to_string(point_to_of)) : (out << "")); - out << ", " << "attention_to="; (__isset.attention_to ? (out << to_string(attention_to)) : (out << "")); - out << ", " << "attention_to_of="; (__isset.attention_to_of ? (out << to_string(attention_to_of)) : (out << "")); - out << ", " << "log="; (__isset.log ? (out << to_string(log)) : (out << "")); - out << ", " << "debug_client="; (__isset.debug_client ? (out << to_string(debug_client)) : (out << "")); - out << ", " << "body_go_to_point="; (__isset.body_go_to_point ? (out << to_string(body_go_to_point)) : (out << "")); - out << ", " << "body_smart_kick="; (__isset.body_smart_kick ? (out << to_string(body_smart_kick)) : (out << "")); - out << ", " << "bhv_before_kick_off="; (__isset.bhv_before_kick_off ? (out << to_string(bhv_before_kick_off)) : (out << "")); - out << ", " << "bhv_body_neck_to_ball="; (__isset.bhv_body_neck_to_ball ? (out << to_string(bhv_body_neck_to_ball)) : (out << "")); - out << ", " << "bhv_body_neck_to_point="; (__isset.bhv_body_neck_to_point ? (out << to_string(bhv_body_neck_to_point)) : (out << "")); - out << ", " << "bhv_emergency="; (__isset.bhv_emergency ? (out << to_string(bhv_emergency)) : (out << "")); - out << ", " << "bhv_go_to_point_look_ball="; (__isset.bhv_go_to_point_look_ball ? (out << to_string(bhv_go_to_point_look_ball)) : (out << "")); - out << ", " << "bhv_neck_body_to_ball="; (__isset.bhv_neck_body_to_ball ? (out << to_string(bhv_neck_body_to_ball)) : (out << "")); - out << ", " << "bhv_neck_body_to_point="; (__isset.bhv_neck_body_to_point ? (out << to_string(bhv_neck_body_to_point)) : (out << "")); - out << ", " << "bhv_scan_field="; (__isset.bhv_scan_field ? (out << to_string(bhv_scan_field)) : (out << "")); - out << ", " << "body_advance_ball="; (__isset.body_advance_ball ? (out << to_string(body_advance_ball)) : (out << "")); - out << ", " << "body_clear_ball="; (__isset.body_clear_ball ? (out << to_string(body_clear_ball)) : (out << "")); - out << ", " << "body_dribble="; (__isset.body_dribble ? (out << to_string(body_dribble)) : (out << "")); - out << ", " << "body_go_to_point_dodge="; (__isset.body_go_to_point_dodge ? (out << to_string(body_go_to_point_dodge)) : (out << "")); - out << ", " << "body_hold_ball="; (__isset.body_hold_ball ? (out << to_string(body_hold_ball)) : (out << "")); - out << ", " << "body_intercept="; (__isset.body_intercept ? (out << to_string(body_intercept)) : (out << "")); - out << ", " << "body_kick_one_step="; (__isset.body_kick_one_step ? (out << to_string(body_kick_one_step)) : (out << "")); - out << ", " << "body_stop_ball="; (__isset.body_stop_ball ? (out << to_string(body_stop_ball)) : (out << "")); - out << ", " << "body_stop_dash="; (__isset.body_stop_dash ? (out << to_string(body_stop_dash)) : (out << "")); - out << ", " << "body_tackle_to_point="; (__isset.body_tackle_to_point ? (out << to_string(body_tackle_to_point)) : (out << "")); - out << ", " << "body_turn_to_angle="; (__isset.body_turn_to_angle ? (out << to_string(body_turn_to_angle)) : (out << "")); - out << ", " << "body_turn_to_ball="; (__isset.body_turn_to_ball ? (out << to_string(body_turn_to_ball)) : (out << "")); - out << ", " << "body_turn_to_point="; (__isset.body_turn_to_point ? (out << to_string(body_turn_to_point)) : (out << "")); - out << ", " << "focus_move_to_point="; (__isset.focus_move_to_point ? (out << to_string(focus_move_to_point)) : (out << "")); - out << ", " << "focus_reset="; (__isset.focus_reset ? (out << to_string(focus_reset)) : (out << "")); - out << ", " << "neck_scan_field="; (__isset.neck_scan_field ? (out << to_string(neck_scan_field)) : (out << "")); - out << ", " << "neck_scan_players="; (__isset.neck_scan_players ? (out << to_string(neck_scan_players)) : (out << "")); - out << ", " << "neck_turn_to_ball_and_player="; (__isset.neck_turn_to_ball_and_player ? (out << to_string(neck_turn_to_ball_and_player)) : (out << "")); - out << ", " << "neck_turn_to_ball_or_scan="; (__isset.neck_turn_to_ball_or_scan ? (out << to_string(neck_turn_to_ball_or_scan)) : (out << "")); - out << ", " << "neck_turn_to_ball="; (__isset.neck_turn_to_ball ? (out << to_string(neck_turn_to_ball)) : (out << "")); - out << ", " << "neck_turn_to_goalie_or_scan="; (__isset.neck_turn_to_goalie_or_scan ? (out << to_string(neck_turn_to_goalie_or_scan)) : (out << "")); - out << ", " << "neck_turn_to_low_conf_teammate="; (__isset.neck_turn_to_low_conf_teammate ? (out << to_string(neck_turn_to_low_conf_teammate)) : (out << "")); - out << ", " << "neck_turn_to_player_or_scan="; (__isset.neck_turn_to_player_or_scan ? (out << to_string(neck_turn_to_player_or_scan)) : (out << "")); - out << ", " << "neck_turn_to_point="; (__isset.neck_turn_to_point ? (out << to_string(neck_turn_to_point)) : (out << "")); - out << ", " << "neck_turn_to_relative="; (__isset.neck_turn_to_relative ? (out << to_string(neck_turn_to_relative)) : (out << "")); - out << ", " << "view_change_width="; (__isset.view_change_width ? (out << to_string(view_change_width)) : (out << "")); - out << ", " << "view_normal="; (__isset.view_normal ? (out << to_string(view_normal)) : (out << "")); - out << ", " << "view_synch="; (__isset.view_synch ? (out << to_string(view_synch)) : (out << "")); - out << ", " << "view_wide="; (__isset.view_wide ? (out << to_string(view_wide)) : (out << "")); - out << ", " << "helios_goalie="; (__isset.helios_goalie ? (out << to_string(helios_goalie)) : (out << "")); - out << ", " << "helios_goalie_move="; (__isset.helios_goalie_move ? (out << to_string(helios_goalie_move)) : (out << "")); - out << ", " << "helios_goalie_kick="; (__isset.helios_goalie_kick ? (out << to_string(helios_goalie_kick)) : (out << "")); - out << ", " << "helios_shoot="; (__isset.helios_shoot ? (out << to_string(helios_shoot)) : (out << "")); - out << ", " << "helios_chain_action="; (__isset.helios_chain_action ? (out << to_string(helios_chain_action)) : (out << "")); - out << ", " << "helios_basic_offensive="; (__isset.helios_basic_offensive ? (out << to_string(helios_basic_offensive)) : (out << "")); - out << ", " << "helios_basic_move="; (__isset.helios_basic_move ? (out << to_string(helios_basic_move)) : (out << "")); - out << ", " << "helios_set_play="; (__isset.helios_set_play ? (out << to_string(helios_set_play)) : (out << "")); - out << ", " << "helios_penalty="; (__isset.helios_penalty ? (out << to_string(helios_penalty)) : (out << "")); - out << ", " << "helios_communication="; (__isset.helios_communication ? (out << to_string(helios_communication)) : (out << "")); - out << ")"; -} - - -PlayerActions::~PlayerActions() noexcept { -} - - -void PlayerActions::__set_actions(const std::vector & val) { - this->actions = val; -} - -void PlayerActions::__set_ignore_preprocess(const bool val) { - this->ignore_preprocess = val; -} -std::ostream& operator<<(std::ostream& out, const PlayerActions& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t PlayerActions::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - this->actions.clear(); - uint32_t _size285; - ::apache::thrift::protocol::TType _etype288; - xfer += iprot->readListBegin(_etype288, _size285); - this->actions.resize(_size285); - uint32_t _i289; - for (_i289 = 0; _i289 < _size285; ++_i289) - { - xfer += this->actions[_i289].read(iprot); - } - xfer += iprot->readListEnd(); - } - this->__isset.actions = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->ignore_preprocess); - this->__isset.ignore_preprocess = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t PlayerActions::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("PlayerActions"); - - xfer += oprot->writeFieldBegin("actions", ::apache::thrift::protocol::T_LIST, 1); - { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->actions.size())); - std::vector ::const_iterator _iter290; - for (_iter290 = this->actions.begin(); _iter290 != this->actions.end(); ++_iter290) - { - xfer += (*_iter290).write(oprot); - } - xfer += oprot->writeListEnd(); - } - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("ignore_preprocess", ::apache::thrift::protocol::T_BOOL, 2); - xfer += oprot->writeBool(this->ignore_preprocess); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(PlayerActions &a, PlayerActions &b) { - using ::std::swap; - swap(a.actions, b.actions); - swap(a.ignore_preprocess, b.ignore_preprocess); - swap(a.__isset, b.__isset); -} - -PlayerActions::PlayerActions(const PlayerActions& other291) { - actions = other291.actions; - ignore_preprocess = other291.ignore_preprocess; - __isset = other291.__isset; -} -PlayerActions& PlayerActions::operator=(const PlayerActions& other292) { - actions = other292.actions; - ignore_preprocess = other292.ignore_preprocess; - __isset = other292.__isset; - return *this; -} -void PlayerActions::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "PlayerActions("; - out << "actions=" << to_string(actions); - out << ", " << "ignore_preprocess=" << to_string(ignore_preprocess); - out << ")"; -} - - -ChangePlayerType::~ChangePlayerType() noexcept { -} - - -void ChangePlayerType::__set_uniform_number(const int32_t val) { - this->uniform_number = val; -} - -void ChangePlayerType::__set_type(const int32_t val) { - this->type = val; -} -std::ostream& operator<<(std::ostream& out, const ChangePlayerType& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t ChangePlayerType::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->uniform_number); - this->__isset.uniform_number = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->type); - this->__isset.type = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t ChangePlayerType::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ChangePlayerType"); - - xfer += oprot->writeFieldBegin("uniform_number", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(this->uniform_number); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_I32, 2); - xfer += oprot->writeI32(this->type); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(ChangePlayerType &a, ChangePlayerType &b) { - using ::std::swap; - swap(a.uniform_number, b.uniform_number); - swap(a.type, b.type); - swap(a.__isset, b.__isset); -} - -ChangePlayerType::ChangePlayerType(const ChangePlayerType& other293) noexcept { - uniform_number = other293.uniform_number; - type = other293.type; - __isset = other293.__isset; -} -ChangePlayerType& ChangePlayerType::operator=(const ChangePlayerType& other294) noexcept { - uniform_number = other294.uniform_number; - type = other294.type; - __isset = other294.__isset; - return *this; -} -void ChangePlayerType::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "ChangePlayerType("; - out << "uniform_number=" << to_string(uniform_number); - out << ", " << "type=" << to_string(type); - out << ")"; -} - - -DoHeliosSubstitute::~DoHeliosSubstitute() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const DoHeliosSubstitute& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t DoHeliosSubstitute::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t DoHeliosSubstitute::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("DoHeliosSubstitute"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(DoHeliosSubstitute &a, DoHeliosSubstitute &b) { - using ::std::swap; - (void) a; - (void) b; -} - -DoHeliosSubstitute::DoHeliosSubstitute(const DoHeliosSubstitute& other295) noexcept { - (void) other295; -} -DoHeliosSubstitute& DoHeliosSubstitute::operator=(const DoHeliosSubstitute& other296) noexcept { - (void) other296; - return *this; -} -void DoHeliosSubstitute::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "DoHeliosSubstitute("; - out << ")"; -} - - -DoHeliosSayPlayerTypes::~DoHeliosSayPlayerTypes() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const DoHeliosSayPlayerTypes& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t DoHeliosSayPlayerTypes::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t DoHeliosSayPlayerTypes::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("DoHeliosSayPlayerTypes"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(DoHeliosSayPlayerTypes &a, DoHeliosSayPlayerTypes &b) { - using ::std::swap; - (void) a; - (void) b; -} - -DoHeliosSayPlayerTypes::DoHeliosSayPlayerTypes(const DoHeliosSayPlayerTypes& other297) noexcept { - (void) other297; -} -DoHeliosSayPlayerTypes& DoHeliosSayPlayerTypes::operator=(const DoHeliosSayPlayerTypes& other298) noexcept { - (void) other298; - return *this; -} -void DoHeliosSayPlayerTypes::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "DoHeliosSayPlayerTypes("; - out << ")"; -} - - -CoachAction::~CoachAction() noexcept { -} - - -void CoachAction::__set_change_player_types(const ChangePlayerType& val) { - this->change_player_types = val; -__isset.change_player_types = true; -} - -void CoachAction::__set_do_helios_substitute(const DoHeliosSubstitute& val) { - this->do_helios_substitute = val; -__isset.do_helios_substitute = true; -} - -void CoachAction::__set_do_helios_say_player_types(const DoHeliosSayPlayerTypes& val) { - this->do_helios_say_player_types = val; -__isset.do_helios_say_player_types = true; -} -std::ostream& operator<<(std::ostream& out, const CoachAction& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t CoachAction::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->change_player_types.read(iprot); - this->__isset.change_player_types = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->do_helios_substitute.read(iprot); - this->__isset.do_helios_substitute = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->do_helios_say_player_types.read(iprot); - this->__isset.do_helios_say_player_types = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t CoachAction::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("CoachAction"); - - if (this->__isset.change_player_types) { - xfer += oprot->writeFieldBegin("change_player_types", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->change_player_types.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.do_helios_substitute) { - xfer += oprot->writeFieldBegin("do_helios_substitute", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->do_helios_substitute.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.do_helios_say_player_types) { - xfer += oprot->writeFieldBegin("do_helios_say_player_types", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += this->do_helios_say_player_types.write(oprot); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(CoachAction &a, CoachAction &b) { - using ::std::swap; - swap(a.change_player_types, b.change_player_types); - swap(a.do_helios_substitute, b.do_helios_substitute); - swap(a.do_helios_say_player_types, b.do_helios_say_player_types); - swap(a.__isset, b.__isset); -} - -CoachAction::CoachAction(const CoachAction& other299) noexcept { - change_player_types = other299.change_player_types; - do_helios_substitute = other299.do_helios_substitute; - do_helios_say_player_types = other299.do_helios_say_player_types; - __isset = other299.__isset; -} -CoachAction& CoachAction::operator=(const CoachAction& other300) noexcept { - change_player_types = other300.change_player_types; - do_helios_substitute = other300.do_helios_substitute; - do_helios_say_player_types = other300.do_helios_say_player_types; - __isset = other300.__isset; - return *this; -} -void CoachAction::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "CoachAction("; - out << "change_player_types="; (__isset.change_player_types ? (out << to_string(change_player_types)) : (out << "")); - out << ", " << "do_helios_substitute="; (__isset.do_helios_substitute ? (out << to_string(do_helios_substitute)) : (out << "")); - out << ", " << "do_helios_say_player_types="; (__isset.do_helios_say_player_types ? (out << to_string(do_helios_say_player_types)) : (out << "")); - out << ")"; -} - - -CoachActions::~CoachActions() noexcept { -} - - -void CoachActions::__set_actions(const std::vector & val) { - this->actions = val; -} -std::ostream& operator<<(std::ostream& out, const CoachActions& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t CoachActions::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - this->actions.clear(); - uint32_t _size301; - ::apache::thrift::protocol::TType _etype304; - xfer += iprot->readListBegin(_etype304, _size301); - this->actions.resize(_size301); - uint32_t _i305; - for (_i305 = 0; _i305 < _size301; ++_i305) - { - xfer += this->actions[_i305].read(iprot); - } - xfer += iprot->readListEnd(); - } - this->__isset.actions = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t CoachActions::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("CoachActions"); - - xfer += oprot->writeFieldBegin("actions", ::apache::thrift::protocol::T_LIST, 1); - { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->actions.size())); - std::vector ::const_iterator _iter306; - for (_iter306 = this->actions.begin(); _iter306 != this->actions.end(); ++_iter306) - { - xfer += (*_iter306).write(oprot); - } - xfer += oprot->writeListEnd(); - } - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(CoachActions &a, CoachActions &b) { - using ::std::swap; - swap(a.actions, b.actions); - swap(a.__isset, b.__isset); -} - -CoachActions::CoachActions(const CoachActions& other307) { - actions = other307.actions; - __isset = other307.__isset; -} -CoachActions& CoachActions::operator=(const CoachActions& other308) { - actions = other308.actions; - __isset = other308.__isset; - return *this; -} -void CoachActions::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "CoachActions("; - out << "actions=" << to_string(actions); - out << ")"; -} - - -DoKickOff::~DoKickOff() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const DoKickOff& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t DoKickOff::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t DoKickOff::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("DoKickOff"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(DoKickOff &a, DoKickOff &b) { - using ::std::swap; - (void) a; - (void) b; -} - -DoKickOff::DoKickOff(const DoKickOff& other309) noexcept { - (void) other309; -} -DoKickOff& DoKickOff::operator=(const DoKickOff& other310) noexcept { - (void) other310; - return *this; -} -void DoKickOff::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "DoKickOff("; - out << ")"; -} - - -DoMoveBall::~DoMoveBall() noexcept { -} - - -void DoMoveBall::__set_position(const RpcVector2D& val) { - this->position = val; -} - -void DoMoveBall::__set_velocity(const RpcVector2D& val) { - this->velocity = val; -__isset.velocity = true; -} -std::ostream& operator<<(std::ostream& out, const DoMoveBall& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t DoMoveBall::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->position.read(iprot); - this->__isset.position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->velocity.read(iprot); - this->__isset.velocity = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t DoMoveBall::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("DoMoveBall"); - - xfer += oprot->writeFieldBegin("position", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->position.write(oprot); - xfer += oprot->writeFieldEnd(); - - if (this->__isset.velocity) { - xfer += oprot->writeFieldBegin("velocity", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->velocity.write(oprot); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(DoMoveBall &a, DoMoveBall &b) { - using ::std::swap; - swap(a.position, b.position); - swap(a.velocity, b.velocity); - swap(a.__isset, b.__isset); -} - -DoMoveBall::DoMoveBall(const DoMoveBall& other311) noexcept { - position = other311.position; - velocity = other311.velocity; - __isset = other311.__isset; -} -DoMoveBall& DoMoveBall::operator=(const DoMoveBall& other312) noexcept { - position = other312.position; - velocity = other312.velocity; - __isset = other312.__isset; - return *this; -} -void DoMoveBall::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "DoMoveBall("; - out << "position=" << to_string(position); - out << ", " << "velocity="; (__isset.velocity ? (out << to_string(velocity)) : (out << "")); - out << ")"; -} - - -DoMovePlayer::~DoMovePlayer() noexcept { -} - - -void DoMovePlayer::__set_our_side(const bool val) { - this->our_side = val; -} - -void DoMovePlayer::__set_uniform_number(const int32_t val) { - this->uniform_number = val; -} - -void DoMovePlayer::__set_position(const RpcVector2D& val) { - this->position = val; -} - -void DoMovePlayer::__set_body_direction(const double val) { - this->body_direction = val; -} -std::ostream& operator<<(std::ostream& out, const DoMovePlayer& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t DoMovePlayer::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->our_side); - this->__isset.our_side = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->uniform_number); - this->__isset.uniform_number = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->position.read(iprot); - this->__isset.position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->body_direction); - this->__isset.body_direction = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t DoMovePlayer::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("DoMovePlayer"); - - xfer += oprot->writeFieldBegin("our_side", ::apache::thrift::protocol::T_BOOL, 1); - xfer += oprot->writeBool(this->our_side); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("uniform_number", ::apache::thrift::protocol::T_I32, 2); - xfer += oprot->writeI32(this->uniform_number); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("position", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += this->position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("body_direction", ::apache::thrift::protocol::T_DOUBLE, 4); - xfer += oprot->writeDouble(this->body_direction); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(DoMovePlayer &a, DoMovePlayer &b) { - using ::std::swap; - swap(a.our_side, b.our_side); - swap(a.uniform_number, b.uniform_number); - swap(a.position, b.position); - swap(a.body_direction, b.body_direction); - swap(a.__isset, b.__isset); -} - -DoMovePlayer::DoMovePlayer(const DoMovePlayer& other313) noexcept { - our_side = other313.our_side; - uniform_number = other313.uniform_number; - position = other313.position; - body_direction = other313.body_direction; - __isset = other313.__isset; -} -DoMovePlayer& DoMovePlayer::operator=(const DoMovePlayer& other314) noexcept { - our_side = other314.our_side; - uniform_number = other314.uniform_number; - position = other314.position; - body_direction = other314.body_direction; - __isset = other314.__isset; - return *this; -} -void DoMovePlayer::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "DoMovePlayer("; - out << "our_side=" << to_string(our_side); - out << ", " << "uniform_number=" << to_string(uniform_number); - out << ", " << "position=" << to_string(position); - out << ", " << "body_direction=" << to_string(body_direction); - out << ")"; -} - - -DoRecover::~DoRecover() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const DoRecover& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t DoRecover::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t DoRecover::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("DoRecover"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(DoRecover &a, DoRecover &b) { - using ::std::swap; - (void) a; - (void) b; -} - -DoRecover::DoRecover(const DoRecover& other315) noexcept { - (void) other315; -} -DoRecover& DoRecover::operator=(const DoRecover& other316) noexcept { - (void) other316; - return *this; -} -void DoRecover::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "DoRecover("; - out << ")"; -} - - -DoChangeMode::~DoChangeMode() noexcept { -} - - -void DoChangeMode::__set_game_mode_type(const GameModeType::type val) { - this->game_mode_type = val; -} - -void DoChangeMode::__set_side(const Side::type val) { - this->side = val; -} -std::ostream& operator<<(std::ostream& out, const DoChangeMode& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t DoChangeMode::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast317; - xfer += iprot->readI32(ecast317); - this->game_mode_type = static_cast(ecast317); - this->__isset.game_mode_type = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast318; - xfer += iprot->readI32(ecast318); - this->side = static_cast(ecast318); - this->__isset.side = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t DoChangeMode::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("DoChangeMode"); - - xfer += oprot->writeFieldBegin("game_mode_type", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(static_cast(this->game_mode_type)); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("side", ::apache::thrift::protocol::T_I32, 2); - xfer += oprot->writeI32(static_cast(this->side)); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(DoChangeMode &a, DoChangeMode &b) { - using ::std::swap; - swap(a.game_mode_type, b.game_mode_type); - swap(a.side, b.side); - swap(a.__isset, b.__isset); -} - -DoChangeMode::DoChangeMode(const DoChangeMode& other319) noexcept { - game_mode_type = other319.game_mode_type; - side = other319.side; - __isset = other319.__isset; -} -DoChangeMode& DoChangeMode::operator=(const DoChangeMode& other320) noexcept { - game_mode_type = other320.game_mode_type; - side = other320.side; - __isset = other320.__isset; - return *this; -} -void DoChangeMode::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "DoChangeMode("; - out << "game_mode_type=" << to_string(game_mode_type); - out << ", " << "side=" << to_string(side); - out << ")"; -} - - -DoChangePlayerType::~DoChangePlayerType() noexcept { -} - - -void DoChangePlayerType::__set_our_side(const bool val) { - this->our_side = val; -} - -void DoChangePlayerType::__set_uniform_number(const int32_t val) { - this->uniform_number = val; -} - -void DoChangePlayerType::__set_type(const int32_t val) { - this->type = val; -} -std::ostream& operator<<(std::ostream& out, const DoChangePlayerType& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t DoChangePlayerType::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->our_side); - this->__isset.our_side = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->uniform_number); - this->__isset.uniform_number = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->type); - this->__isset.type = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t DoChangePlayerType::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("DoChangePlayerType"); - - xfer += oprot->writeFieldBegin("our_side", ::apache::thrift::protocol::T_BOOL, 1); - xfer += oprot->writeBool(this->our_side); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("uniform_number", ::apache::thrift::protocol::T_I32, 2); - xfer += oprot->writeI32(this->uniform_number); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_I32, 3); - xfer += oprot->writeI32(this->type); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(DoChangePlayerType &a, DoChangePlayerType &b) { - using ::std::swap; - swap(a.our_side, b.our_side); - swap(a.uniform_number, b.uniform_number); - swap(a.type, b.type); - swap(a.__isset, b.__isset); -} - -DoChangePlayerType::DoChangePlayerType(const DoChangePlayerType& other321) noexcept { - our_side = other321.our_side; - uniform_number = other321.uniform_number; - type = other321.type; - __isset = other321.__isset; -} -DoChangePlayerType& DoChangePlayerType::operator=(const DoChangePlayerType& other322) noexcept { - our_side = other322.our_side; - uniform_number = other322.uniform_number; - type = other322.type; - __isset = other322.__isset; - return *this; -} -void DoChangePlayerType::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "DoChangePlayerType("; - out << "our_side=" << to_string(our_side); - out << ", " << "uniform_number=" << to_string(uniform_number); - out << ", " << "type=" << to_string(type); - out << ")"; -} - - -TrainerAction::~TrainerAction() noexcept { -} - - -void TrainerAction::__set_do_kick_off(const DoKickOff& val) { - this->do_kick_off = val; -__isset.do_kick_off = true; -} - -void TrainerAction::__set_do_move_ball(const DoMoveBall& val) { - this->do_move_ball = val; -__isset.do_move_ball = true; -} - -void TrainerAction::__set_do_move_player(const DoMovePlayer& val) { - this->do_move_player = val; -__isset.do_move_player = true; -} - -void TrainerAction::__set_do_recover(const DoRecover& val) { - this->do_recover = val; -__isset.do_recover = true; -} - -void TrainerAction::__set_do_change_mode(const DoChangeMode& val) { - this->do_change_mode = val; -__isset.do_change_mode = true; -} - -void TrainerAction::__set_do_change_player_type(const DoChangePlayerType& val) { - this->do_change_player_type = val; -__isset.do_change_player_type = true; -} -std::ostream& operator<<(std::ostream& out, const TrainerAction& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t TrainerAction::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->do_kick_off.read(iprot); - this->__isset.do_kick_off = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->do_move_ball.read(iprot); - this->__isset.do_move_ball = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->do_move_player.read(iprot); - this->__isset.do_move_player = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->do_recover.read(iprot); - this->__isset.do_recover = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->do_change_mode.read(iprot); - this->__isset.do_change_mode = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 6: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->do_change_player_type.read(iprot); - this->__isset.do_change_player_type = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t TrainerAction::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("TrainerAction"); - - if (this->__isset.do_kick_off) { - xfer += oprot->writeFieldBegin("do_kick_off", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->do_kick_off.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.do_move_ball) { - xfer += oprot->writeFieldBegin("do_move_ball", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->do_move_ball.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.do_move_player) { - xfer += oprot->writeFieldBegin("do_move_player", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += this->do_move_player.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.do_recover) { - xfer += oprot->writeFieldBegin("do_recover", ::apache::thrift::protocol::T_STRUCT, 4); - xfer += this->do_recover.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.do_change_mode) { - xfer += oprot->writeFieldBegin("do_change_mode", ::apache::thrift::protocol::T_STRUCT, 5); - xfer += this->do_change_mode.write(oprot); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.do_change_player_type) { - xfer += oprot->writeFieldBegin("do_change_player_type", ::apache::thrift::protocol::T_STRUCT, 6); - xfer += this->do_change_player_type.write(oprot); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(TrainerAction &a, TrainerAction &b) { - using ::std::swap; - swap(a.do_kick_off, b.do_kick_off); - swap(a.do_move_ball, b.do_move_ball); - swap(a.do_move_player, b.do_move_player); - swap(a.do_recover, b.do_recover); - swap(a.do_change_mode, b.do_change_mode); - swap(a.do_change_player_type, b.do_change_player_type); - swap(a.__isset, b.__isset); -} - -TrainerAction::TrainerAction(const TrainerAction& other323) noexcept { - do_kick_off = other323.do_kick_off; - do_move_ball = other323.do_move_ball; - do_move_player = other323.do_move_player; - do_recover = other323.do_recover; - do_change_mode = other323.do_change_mode; - do_change_player_type = other323.do_change_player_type; - __isset = other323.__isset; -} -TrainerAction& TrainerAction::operator=(const TrainerAction& other324) noexcept { - do_kick_off = other324.do_kick_off; - do_move_ball = other324.do_move_ball; - do_move_player = other324.do_move_player; - do_recover = other324.do_recover; - do_change_mode = other324.do_change_mode; - do_change_player_type = other324.do_change_player_type; - __isset = other324.__isset; - return *this; -} -void TrainerAction::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "TrainerAction("; - out << "do_kick_off="; (__isset.do_kick_off ? (out << to_string(do_kick_off)) : (out << "")); - out << ", " << "do_move_ball="; (__isset.do_move_ball ? (out << to_string(do_move_ball)) : (out << "")); - out << ", " << "do_move_player="; (__isset.do_move_player ? (out << to_string(do_move_player)) : (out << "")); - out << ", " << "do_recover="; (__isset.do_recover ? (out << to_string(do_recover)) : (out << "")); - out << ", " << "do_change_mode="; (__isset.do_change_mode ? (out << to_string(do_change_mode)) : (out << "")); - out << ", " << "do_change_player_type="; (__isset.do_change_player_type ? (out << to_string(do_change_player_type)) : (out << "")); - out << ")"; -} - - -TrainerActions::~TrainerActions() noexcept { -} - - -void TrainerActions::__set_actions(const std::vector & val) { - this->actions = val; -} -std::ostream& operator<<(std::ostream& out, const TrainerActions& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t TrainerActions::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - this->actions.clear(); - uint32_t _size325; - ::apache::thrift::protocol::TType _etype328; - xfer += iprot->readListBegin(_etype328, _size325); - this->actions.resize(_size325); - uint32_t _i329; - for (_i329 = 0; _i329 < _size325; ++_i329) - { - xfer += this->actions[_i329].read(iprot); - } - xfer += iprot->readListEnd(); - } - this->__isset.actions = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t TrainerActions::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("TrainerActions"); - - xfer += oprot->writeFieldBegin("actions", ::apache::thrift::protocol::T_LIST, 1); - { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->actions.size())); - std::vector ::const_iterator _iter330; - for (_iter330 = this->actions.begin(); _iter330 != this->actions.end(); ++_iter330) - { - xfer += (*_iter330).write(oprot); - } - xfer += oprot->writeListEnd(); - } - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(TrainerActions &a, TrainerActions &b) { - using ::std::swap; - swap(a.actions, b.actions); - swap(a.__isset, b.__isset); -} - -TrainerActions::TrainerActions(const TrainerActions& other331) { - actions = other331.actions; - __isset = other331.__isset; -} -TrainerActions& TrainerActions::operator=(const TrainerActions& other332) { - actions = other332.actions; - __isset = other332.__isset; - return *this; -} -void TrainerActions::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "TrainerActions("; - out << "actions=" << to_string(actions); - out << ")"; -} - - -ServerParam::~ServerParam() noexcept { -} - - -void ServerParam::__set_register_response(const RegisterResponse& val) { - this->register_response = val; -} - -void ServerParam::__set_inertia_moment(const double val) { - this->inertia_moment = val; -} - -void ServerParam::__set_player_size(const double val) { - this->player_size = val; -} - -void ServerParam::__set_player_decay(const double val) { - this->player_decay = val; -} - -void ServerParam::__set_player_rand(const double val) { - this->player_rand = val; -} - -void ServerParam::__set_player_weight(const double val) { - this->player_weight = val; -} - -void ServerParam::__set_player_speed_max(const double val) { - this->player_speed_max = val; -} - -void ServerParam::__set_player_accel_max(const double val) { - this->player_accel_max = val; -} - -void ServerParam::__set_stamina_max(const double val) { - this->stamina_max = val; -} - -void ServerParam::__set_stamina_inc_max(const double val) { - this->stamina_inc_max = val; -} - -void ServerParam::__set_recover_init(const double val) { - this->recover_init = val; -} - -void ServerParam::__set_recover_dec_thr(const double val) { - this->recover_dec_thr = val; -} - -void ServerParam::__set_recover_min(const double val) { - this->recover_min = val; -} - -void ServerParam::__set_recover_dec(const double val) { - this->recover_dec = val; -} - -void ServerParam::__set_effort_init(const double val) { - this->effort_init = val; -} - -void ServerParam::__set_effort_dec_thr(const double val) { - this->effort_dec_thr = val; -} - -void ServerParam::__set_effort_min(const double val) { - this->effort_min = val; -} - -void ServerParam::__set_effort_dec(const double val) { - this->effort_dec = val; -} - -void ServerParam::__set_effort_inc_thr(const double val) { - this->effort_inc_thr = val; -} - -void ServerParam::__set_effort_inc(const double val) { - this->effort_inc = val; -} - -void ServerParam::__set_kick_rand(const double val) { - this->kick_rand = val; -} - -void ServerParam::__set_team_actuator_noise(const bool val) { - this->team_actuator_noise = val; -} - -void ServerParam::__set_player_rand_factor_l(const double val) { - this->player_rand_factor_l = val; -} - -void ServerParam::__set_player_rand_factor_r(const double val) { - this->player_rand_factor_r = val; -} - -void ServerParam::__set_kick_rand_factor_l(const double val) { - this->kick_rand_factor_l = val; -} - -void ServerParam::__set_kick_rand_factor_r(const double val) { - this->kick_rand_factor_r = val; -} - -void ServerParam::__set_ball_size(const double val) { - this->ball_size = val; -} - -void ServerParam::__set_ball_decay(const double val) { - this->ball_decay = val; -} - -void ServerParam::__set_ball_rand(const double val) { - this->ball_rand = val; -} - -void ServerParam::__set_ball_weight(const double val) { - this->ball_weight = val; -} - -void ServerParam::__set_ball_speed_max(const double val) { - this->ball_speed_max = val; -} - -void ServerParam::__set_ball_accel_max(const double val) { - this->ball_accel_max = val; -} - -void ServerParam::__set_dash_power_rate(const double val) { - this->dash_power_rate = val; -} - -void ServerParam::__set_kick_power_rate(const double val) { - this->kick_power_rate = val; -} - -void ServerParam::__set_kickable_margin(const double val) { - this->kickable_margin = val; -} - -void ServerParam::__set_control_radius(const double val) { - this->control_radius = val; -} - -void ServerParam::__set_control_radius_width(const double val) { - this->control_radius_width = val; -} - -void ServerParam::__set_max_power(const double val) { - this->max_power = val; -} - -void ServerParam::__set_min_power(const double val) { - this->min_power = val; -} - -void ServerParam::__set_max_moment(const double val) { - this->max_moment = val; -} - -void ServerParam::__set_min_moment(const double val) { - this->min_moment = val; -} - -void ServerParam::__set_max_neck_moment(const double val) { - this->max_neck_moment = val; -} - -void ServerParam::__set_min_neck_moment(const double val) { - this->min_neck_moment = val; -} - -void ServerParam::__set_max_neck_angle(const double val) { - this->max_neck_angle = val; -} - -void ServerParam::__set_min_neck_angle(const double val) { - this->min_neck_angle = val; -} - -void ServerParam::__set_visible_angle(const double val) { - this->visible_angle = val; -} - -void ServerParam::__set_visible_distance(const double val) { - this->visible_distance = val; -} - -void ServerParam::__set_wind_dir(const double val) { - this->wind_dir = val; -} - -void ServerParam::__set_wind_force(const double val) { - this->wind_force = val; -} - -void ServerParam::__set_wind_angle(const double val) { - this->wind_angle = val; -} - -void ServerParam::__set_wind_rand(const double val) { - this->wind_rand = val; -} - -void ServerParam::__set_kickable_area(const double val) { - this->kickable_area = val; -} - -void ServerParam::__set_catch_area_l(const double val) { - this->catch_area_l = val; -} - -void ServerParam::__set_catch_area_w(const double val) { - this->catch_area_w = val; -} - -void ServerParam::__set_catch_probability(const double val) { - this->catch_probability = val; -} - -void ServerParam::__set_goalie_max_moves(const int32_t val) { - this->goalie_max_moves = val; -} - -void ServerParam::__set_corner_kick_margin(const double val) { - this->corner_kick_margin = val; -} - -void ServerParam::__set_offside_active_area_size(const double val) { - this->offside_active_area_size = val; -} - -void ServerParam::__set_wind_none(const bool val) { - this->wind_none = val; -} - -void ServerParam::__set_use_wind_random(const bool val) { - this->use_wind_random = val; -} - -void ServerParam::__set_coach_say_count_max(const int32_t val) { - this->coach_say_count_max = val; -} - -void ServerParam::__set_coach_say_msg_size(const int32_t val) { - this->coach_say_msg_size = val; -} - -void ServerParam::__set_clang_win_size(const int32_t val) { - this->clang_win_size = val; -} - -void ServerParam::__set_clang_define_win(const int32_t val) { - this->clang_define_win = val; -} - -void ServerParam::__set_clang_meta_win(const int32_t val) { - this->clang_meta_win = val; -} - -void ServerParam::__set_clang_advice_win(const int32_t val) { - this->clang_advice_win = val; -} - -void ServerParam::__set_clang_info_win(const int32_t val) { - this->clang_info_win = val; -} - -void ServerParam::__set_clang_mess_delay(const int32_t val) { - this->clang_mess_delay = val; -} - -void ServerParam::__set_clang_mess_per_cycle(const int32_t val) { - this->clang_mess_per_cycle = val; -} - -void ServerParam::__set_half_time(const int32_t val) { - this->half_time = val; -} - -void ServerParam::__set_simulator_step(const int32_t val) { - this->simulator_step = val; -} - -void ServerParam::__set_send_step(const int32_t val) { - this->send_step = val; -} - -void ServerParam::__set_recv_step(const int32_t val) { - this->recv_step = val; -} - -void ServerParam::__set_sense_body_step(const int32_t val) { - this->sense_body_step = val; -} - -void ServerParam::__set_lcm_step(const int32_t val) { - this->lcm_step = val; -} - -void ServerParam::__set_player_say_msg_size(const int32_t val) { - this->player_say_msg_size = val; -} - -void ServerParam::__set_player_hear_max(const int32_t val) { - this->player_hear_max = val; -} - -void ServerParam::__set_player_hear_inc(const int32_t val) { - this->player_hear_inc = val; -} - -void ServerParam::__set_player_hear_decay(const int32_t val) { - this->player_hear_decay = val; -} - -void ServerParam::__set_catch_ban_cycle(const int32_t val) { - this->catch_ban_cycle = val; -} - -void ServerParam::__set_slow_down_factor(const int32_t val) { - this->slow_down_factor = val; -} - -void ServerParam::__set_use_offside(const bool val) { - this->use_offside = val; -} - -void ServerParam::__set_kickoff_offside(const bool val) { - this->kickoff_offside = val; -} - -void ServerParam::__set_offside_kick_margin(const double val) { - this->offside_kick_margin = val; -} - -void ServerParam::__set_audio_cut_dist(const double val) { - this->audio_cut_dist = val; -} - -void ServerParam::__set_dist_quantize_step(const double val) { - this->dist_quantize_step = val; -} - -void ServerParam::__set_landmark_dist_quantize_step(const double val) { - this->landmark_dist_quantize_step = val; -} - -void ServerParam::__set_dir_quantize_step(const double val) { - this->dir_quantize_step = val; -} - -void ServerParam::__set_dist_quantize_step_l(const double val) { - this->dist_quantize_step_l = val; -} - -void ServerParam::__set_dist_quantize_step_r(const double val) { - this->dist_quantize_step_r = val; -} - -void ServerParam::__set_landmark_dist_quantize_step_l(const double val) { - this->landmark_dist_quantize_step_l = val; -} - -void ServerParam::__set_landmark_dist_quantize_step_r(const double val) { - this->landmark_dist_quantize_step_r = val; -} - -void ServerParam::__set_dir_quantize_step_l(const double val) { - this->dir_quantize_step_l = val; -} - -void ServerParam::__set_dir_quantize_step_r(const double val) { - this->dir_quantize_step_r = val; -} - -void ServerParam::__set_coach_mode(const bool val) { - this->coach_mode = val; -} - -void ServerParam::__set_coach_with_referee_mode(const bool val) { - this->coach_with_referee_mode = val; -} - -void ServerParam::__set_use_old_coach_hear(const bool val) { - this->use_old_coach_hear = val; -} - -void ServerParam::__set_slowness_on_top_for_left_team(const double val) { - this->slowness_on_top_for_left_team = val; -} - -void ServerParam::__set_slowness_on_top_for_right_team(const double val) { - this->slowness_on_top_for_right_team = val; -} - -void ServerParam::__set_start_goal_l(const int32_t val) { - this->start_goal_l = val; -} - -void ServerParam::__set_start_goal_r(const int32_t val) { - this->start_goal_r = val; -} - -void ServerParam::__set_fullstate_l(const bool val) { - this->fullstate_l = val; -} - -void ServerParam::__set_fullstate_r(const bool val) { - this->fullstate_r = val; -} - -void ServerParam::__set_drop_ball_time(const int32_t val) { - this->drop_ball_time = val; -} - -void ServerParam::__set_synch_mode(const bool val) { - this->synch_mode = val; -} - -void ServerParam::__set_synch_offset(const int32_t val) { - this->synch_offset = val; -} - -void ServerParam::__set_synch_micro_sleep(const int32_t val) { - this->synch_micro_sleep = val; -} - -void ServerParam::__set_point_to_ban(const int32_t val) { - this->point_to_ban = val; -} - -void ServerParam::__set_point_to_duration(const int32_t val) { - this->point_to_duration = val; -} - -void ServerParam::__set_player_port(const int32_t val) { - this->player_port = val; -} - -void ServerParam::__set_trainer_port(const int32_t val) { - this->trainer_port = val; -} - -void ServerParam::__set_online_coach_port(const int32_t val) { - this->online_coach_port = val; -} - -void ServerParam::__set_verbose_mode(const bool val) { - this->verbose_mode = val; -} - -void ServerParam::__set_coach_send_vi_step(const int32_t val) { - this->coach_send_vi_step = val; -} - -void ServerParam::__set_replay_file(const std::string& val) { - this->replay_file = val; -} - -void ServerParam::__set_landmark_file(const std::string& val) { - this->landmark_file = val; -} - -void ServerParam::__set_send_comms(const bool val) { - this->send_comms = val; -} - -void ServerParam::__set_text_logging(const bool val) { - this->text_logging = val; -} - -void ServerParam::__set_game_logging(const bool val) { - this->game_logging = val; -} - -void ServerParam::__set_game_log_version(const int32_t val) { - this->game_log_version = val; -} - -void ServerParam::__set_text_log_dir(const std::string& val) { - this->text_log_dir = val; -} - -void ServerParam::__set_game_log_dir(const std::string& val) { - this->game_log_dir = val; -} - -void ServerParam::__set_text_log_fixed_name(const std::string& val) { - this->text_log_fixed_name = val; -} - -void ServerParam::__set_game_log_fixed_name(const std::string& val) { - this->game_log_fixed_name = val; -} - -void ServerParam::__set_use_text_log_fixed(const bool val) { - this->use_text_log_fixed = val; -} - -void ServerParam::__set_use_game_log_fixed(const bool val) { - this->use_game_log_fixed = val; -} - -void ServerParam::__set_use_text_log_dated(const bool val) { - this->use_text_log_dated = val; -} - -void ServerParam::__set_use_game_log_dated(const bool val) { - this->use_game_log_dated = val; -} - -void ServerParam::__set_log_date_format(const std::string& val) { - this->log_date_format = val; -} - -void ServerParam::__set_log_times(const bool val) { - this->log_times = val; -} - -void ServerParam::__set_record_message(const bool val) { - this->record_message = val; -} - -void ServerParam::__set_text_log_compression(const int32_t val) { - this->text_log_compression = val; -} - -void ServerParam::__set_game_log_compression(const int32_t val) { - this->game_log_compression = val; -} - -void ServerParam::__set_use_profile(const bool val) { - this->use_profile = val; -} - -void ServerParam::__set_tackle_dist(const double val) { - this->tackle_dist = val; -} - -void ServerParam::__set_tackle_back_dist(const double val) { - this->tackle_back_dist = val; -} - -void ServerParam::__set_tackle_width(const double val) { - this->tackle_width = val; -} - -void ServerParam::__set_tackle_exponent(const double val) { - this->tackle_exponent = val; -} - -void ServerParam::__set_tackle_cycles(const int32_t val) { - this->tackle_cycles = val; -} - -void ServerParam::__set_tackle_power_rate(const double val) { - this->tackle_power_rate = val; -} - -void ServerParam::__set_freeform_wait_period(const int32_t val) { - this->freeform_wait_period = val; -} - -void ServerParam::__set_freeform_send_period(const int32_t val) { - this->freeform_send_period = val; -} - -void ServerParam::__set_free_kick_faults(const bool val) { - this->free_kick_faults = val; -} - -void ServerParam::__set_back_passes(const bool val) { - this->back_passes = val; -} - -void ServerParam::__set_proper_goal_kicks(const bool val) { - this->proper_goal_kicks = val; -} - -void ServerParam::__set_stopped_ball_vel(const double val) { - this->stopped_ball_vel = val; -} - -void ServerParam::__set_max_goal_kicks(const int32_t val) { - this->max_goal_kicks = val; -} - -void ServerParam::__set_clang_del_win(const int32_t val) { - this->clang_del_win = val; -} - -void ServerParam::__set_clang_rule_win(const int32_t val) { - this->clang_rule_win = val; -} - -void ServerParam::__set_auto_mode(const bool val) { - this->auto_mode = val; -} - -void ServerParam::__set_kick_off_wait(const int32_t val) { - this->kick_off_wait = val; -} - -void ServerParam::__set_connect_wait(const int32_t val) { - this->connect_wait = val; -} - -void ServerParam::__set_game_over_wait(const int32_t val) { - this->game_over_wait = val; -} - -void ServerParam::__set_team_l_start(const std::string& val) { - this->team_l_start = val; -} - -void ServerParam::__set_team_r_start(const std::string& val) { - this->team_r_start = val; -} - -void ServerParam::__set_keepaway_mode(const bool val) { - this->keepaway_mode = val; -} - -void ServerParam::__set_keepaway_length(const double val) { - this->keepaway_length = val; -} - -void ServerParam::__set_keepaway_width(const double val) { - this->keepaway_width = val; -} - -void ServerParam::__set_keepaway_logging(const bool val) { - this->keepaway_logging = val; -} - -void ServerParam::__set_keepaway_log_dir(const std::string& val) { - this->keepaway_log_dir = val; -} - -void ServerParam::__set_keepaway_log_fixed_name(const std::string& val) { - this->keepaway_log_fixed_name = val; -} - -void ServerParam::__set_keepaway_log_fixed(const bool val) { - this->keepaway_log_fixed = val; -} - -void ServerParam::__set_keepaway_log_dated(const bool val) { - this->keepaway_log_dated = val; -} - -void ServerParam::__set_keepaway_start(const int32_t val) { - this->keepaway_start = val; -} - -void ServerParam::__set_nr_normal_halfs(const int32_t val) { - this->nr_normal_halfs = val; -} - -void ServerParam::__set_nr_extra_halfs(const int32_t val) { - this->nr_extra_halfs = val; -} - -void ServerParam::__set_penalty_shoot_outs(const bool val) { - this->penalty_shoot_outs = val; -} - -void ServerParam::__set_pen_before_setup_wait(const int32_t val) { - this->pen_before_setup_wait = val; -} - -void ServerParam::__set_pen_setup_wait(const int32_t val) { - this->pen_setup_wait = val; -} - -void ServerParam::__set_pen_ready_wait(const int32_t val) { - this->pen_ready_wait = val; -} - -void ServerParam::__set_pen_taken_wait(const int32_t val) { - this->pen_taken_wait = val; -} - -void ServerParam::__set_pen_nr_kicks(const int32_t val) { - this->pen_nr_kicks = val; -} - -void ServerParam::__set_pen_max_extra_kicks(const int32_t val) { - this->pen_max_extra_kicks = val; -} - -void ServerParam::__set_pen_dist_x(const double val) { - this->pen_dist_x = val; -} - -void ServerParam::__set_pen_random_winner(const bool val) { - this->pen_random_winner = val; -} - -void ServerParam::__set_pen_allow_mult_kicks(const bool val) { - this->pen_allow_mult_kicks = val; -} - -void ServerParam::__set_pen_max_goalie_dist_x(const double val) { - this->pen_max_goalie_dist_x = val; -} - -void ServerParam::__set_pen_coach_moves_players(const bool val) { - this->pen_coach_moves_players = val; -} - -void ServerParam::__set_module_dir(const std::string& val) { - this->module_dir = val; -} - -void ServerParam::__set_ball_stuck_area(const double val) { - this->ball_stuck_area = val; -} - -void ServerParam::__set_coach_msg_file(const std::string& val) { - this->coach_msg_file = val; -} - -void ServerParam::__set_max_tackle_power(const double val) { - this->max_tackle_power = val; -} - -void ServerParam::__set_max_back_tackle_power(const double val) { - this->max_back_tackle_power = val; -} - -void ServerParam::__set_player_speed_max_min(const double val) { - this->player_speed_max_min = val; -} - -void ServerParam::__set_extra_stamina(const double val) { - this->extra_stamina = val; -} - -void ServerParam::__set_synch_see_offset(const int32_t val) { - this->synch_see_offset = val; -} - -void ServerParam::__set_extra_half_time(const int32_t val) { - this->extra_half_time = val; -} - -void ServerParam::__set_stamina_capacity(const double val) { - this->stamina_capacity = val; -} - -void ServerParam::__set_max_dash_angle(const double val) { - this->max_dash_angle = val; -} - -void ServerParam::__set_min_dash_angle(const double val) { - this->min_dash_angle = val; -} - -void ServerParam::__set_dash_angle_step(const double val) { - this->dash_angle_step = val; -} - -void ServerParam::__set_side_dash_rate(const double val) { - this->side_dash_rate = val; -} - -void ServerParam::__set_back_dash_rate(const double val) { - this->back_dash_rate = val; -} - -void ServerParam::__set_max_dash_power(const double val) { - this->max_dash_power = val; -} - -void ServerParam::__set_min_dash_power(const double val) { - this->min_dash_power = val; -} - -void ServerParam::__set_tackle_rand_factor(const double val) { - this->tackle_rand_factor = val; -} - -void ServerParam::__set_foul_detect_probability(const double val) { - this->foul_detect_probability = val; -} - -void ServerParam::__set_foul_exponent(const double val) { - this->foul_exponent = val; -} - -void ServerParam::__set_foul_cycles(const int32_t val) { - this->foul_cycles = val; -} - -void ServerParam::__set_golden_goal(const bool val) { - this->golden_goal = val; -} - -void ServerParam::__set_red_card_probability(const double val) { - this->red_card_probability = val; -} - -void ServerParam::__set_illegal_defense_duration(const int32_t val) { - this->illegal_defense_duration = val; -} - -void ServerParam::__set_illegal_defense_number(const int32_t val) { - this->illegal_defense_number = val; -} - -void ServerParam::__set_illegal_defense_dist_x(const double val) { - this->illegal_defense_dist_x = val; -} - -void ServerParam::__set_illegal_defense_width(const double val) { - this->illegal_defense_width = val; -} - -void ServerParam::__set_fixed_teamname_l(const std::string& val) { - this->fixed_teamname_l = val; -} - -void ServerParam::__set_fixed_teamname_r(const std::string& val) { - this->fixed_teamname_r = val; -} - -void ServerParam::__set_max_catch_angle(const double val) { - this->max_catch_angle = val; -} - -void ServerParam::__set_min_catch_angle(const double val) { - this->min_catch_angle = val; -} - -void ServerParam::__set_random_seed(const int32_t val) { - this->random_seed = val; -} - -void ServerParam::__set_long_kick_power_factor(const double val) { - this->long_kick_power_factor = val; -} - -void ServerParam::__set_long_kick_delay(const int32_t val) { - this->long_kick_delay = val; -} - -void ServerParam::__set_max_monitors(const int32_t val) { - this->max_monitors = val; -} - -void ServerParam::__set_catchable_area(const double val) { - this->catchable_area = val; -} - -void ServerParam::__set_real_speed_max(const double val) { - this->real_speed_max = val; -} - -void ServerParam::__set_pitch_half_length(const double val) { - this->pitch_half_length = val; -} - -void ServerParam::__set_pitch_half_width(const double val) { - this->pitch_half_width = val; -} - -void ServerParam::__set_our_penalty_area_line_x(const double val) { - this->our_penalty_area_line_x = val; -} - -void ServerParam::__set_their_penalty_area_line_x(const double val) { - this->their_penalty_area_line_x = val; -} - -void ServerParam::__set_penalty_area_half_width(const double val) { - this->penalty_area_half_width = val; -} - -void ServerParam::__set_penalty_area_length(const double val) { - this->penalty_area_length = val; -} - -void ServerParam::__set_goal_width(const double val) { - this->goal_width = val; -} -std::ostream& operator<<(std::ostream& out, const ServerParam& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t ServerParam::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->register_response.read(iprot); - this->__isset.register_response = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->inertia_moment); - this->__isset.inertia_moment = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->player_size); - this->__isset.player_size = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->player_decay); - this->__isset.player_decay = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->player_rand); - this->__isset.player_rand = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 6: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->player_weight); - this->__isset.player_weight = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 7: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->player_speed_max); - this->__isset.player_speed_max = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 8: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->player_accel_max); - this->__isset.player_accel_max = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 9: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->stamina_max); - this->__isset.stamina_max = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 10: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->stamina_inc_max); - this->__isset.stamina_inc_max = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 11: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->recover_init); - this->__isset.recover_init = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 12: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->recover_dec_thr); - this->__isset.recover_dec_thr = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 13: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->recover_min); - this->__isset.recover_min = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 14: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->recover_dec); - this->__isset.recover_dec = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 15: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->effort_init); - this->__isset.effort_init = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 16: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->effort_dec_thr); - this->__isset.effort_dec_thr = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 17: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->effort_min); - this->__isset.effort_min = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 18: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->effort_dec); - this->__isset.effort_dec = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 19: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->effort_inc_thr); - this->__isset.effort_inc_thr = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 20: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->effort_inc); - this->__isset.effort_inc = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 21: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->kick_rand); - this->__isset.kick_rand = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 22: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->team_actuator_noise); - this->__isset.team_actuator_noise = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 23: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->player_rand_factor_l); - this->__isset.player_rand_factor_l = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 24: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->player_rand_factor_r); - this->__isset.player_rand_factor_r = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 25: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->kick_rand_factor_l); - this->__isset.kick_rand_factor_l = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 26: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->kick_rand_factor_r); - this->__isset.kick_rand_factor_r = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 27: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->ball_size); - this->__isset.ball_size = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 28: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->ball_decay); - this->__isset.ball_decay = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 29: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->ball_rand); - this->__isset.ball_rand = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 30: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->ball_weight); - this->__isset.ball_weight = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 31: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->ball_speed_max); - this->__isset.ball_speed_max = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 32: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->ball_accel_max); - this->__isset.ball_accel_max = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 33: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->dash_power_rate); - this->__isset.dash_power_rate = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 34: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->kick_power_rate); - this->__isset.kick_power_rate = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 35: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->kickable_margin); - this->__isset.kickable_margin = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 36: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->control_radius); - this->__isset.control_radius = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 37: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->control_radius_width); - this->__isset.control_radius_width = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 38: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->max_power); - this->__isset.max_power = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 39: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->min_power); - this->__isset.min_power = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 40: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->max_moment); - this->__isset.max_moment = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 41: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->min_moment); - this->__isset.min_moment = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 42: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->max_neck_moment); - this->__isset.max_neck_moment = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 43: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->min_neck_moment); - this->__isset.min_neck_moment = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 44: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->max_neck_angle); - this->__isset.max_neck_angle = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 45: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->min_neck_angle); - this->__isset.min_neck_angle = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 46: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->visible_angle); - this->__isset.visible_angle = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 47: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->visible_distance); - this->__isset.visible_distance = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 48: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->wind_dir); - this->__isset.wind_dir = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 49: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->wind_force); - this->__isset.wind_force = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 50: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->wind_angle); - this->__isset.wind_angle = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 51: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->wind_rand); - this->__isset.wind_rand = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 52: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->kickable_area); - this->__isset.kickable_area = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 53: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->catch_area_l); - this->__isset.catch_area_l = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 54: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->catch_area_w); - this->__isset.catch_area_w = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 55: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->catch_probability); - this->__isset.catch_probability = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 56: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->goalie_max_moves); - this->__isset.goalie_max_moves = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 57: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->corner_kick_margin); - this->__isset.corner_kick_margin = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 58: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->offside_active_area_size); - this->__isset.offside_active_area_size = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 59: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->wind_none); - this->__isset.wind_none = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 60: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->use_wind_random); - this->__isset.use_wind_random = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 61: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->coach_say_count_max); - this->__isset.coach_say_count_max = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 62: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->coach_say_msg_size); - this->__isset.coach_say_msg_size = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 63: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->clang_win_size); - this->__isset.clang_win_size = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 64: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->clang_define_win); - this->__isset.clang_define_win = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 65: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->clang_meta_win); - this->__isset.clang_meta_win = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 66: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->clang_advice_win); - this->__isset.clang_advice_win = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 67: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->clang_info_win); - this->__isset.clang_info_win = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 68: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->clang_mess_delay); - this->__isset.clang_mess_delay = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 69: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->clang_mess_per_cycle); - this->__isset.clang_mess_per_cycle = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 70: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->half_time); - this->__isset.half_time = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 71: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->simulator_step); - this->__isset.simulator_step = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 72: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->send_step); - this->__isset.send_step = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 73: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->recv_step); - this->__isset.recv_step = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 74: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->sense_body_step); - this->__isset.sense_body_step = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 75: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->lcm_step); - this->__isset.lcm_step = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 76: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->player_say_msg_size); - this->__isset.player_say_msg_size = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 77: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->player_hear_max); - this->__isset.player_hear_max = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 78: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->player_hear_inc); - this->__isset.player_hear_inc = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 79: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->player_hear_decay); - this->__isset.player_hear_decay = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 80: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->catch_ban_cycle); - this->__isset.catch_ban_cycle = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 81: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->slow_down_factor); - this->__isset.slow_down_factor = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 82: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->use_offside); - this->__isset.use_offside = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 83: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->kickoff_offside); - this->__isset.kickoff_offside = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 84: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->offside_kick_margin); - this->__isset.offside_kick_margin = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 85: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->audio_cut_dist); - this->__isset.audio_cut_dist = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 86: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->dist_quantize_step); - this->__isset.dist_quantize_step = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 87: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->landmark_dist_quantize_step); - this->__isset.landmark_dist_quantize_step = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 88: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->dir_quantize_step); - this->__isset.dir_quantize_step = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 89: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->dist_quantize_step_l); - this->__isset.dist_quantize_step_l = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 90: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->dist_quantize_step_r); - this->__isset.dist_quantize_step_r = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 91: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->landmark_dist_quantize_step_l); - this->__isset.landmark_dist_quantize_step_l = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 92: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->landmark_dist_quantize_step_r); - this->__isset.landmark_dist_quantize_step_r = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 93: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->dir_quantize_step_l); - this->__isset.dir_quantize_step_l = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 94: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->dir_quantize_step_r); - this->__isset.dir_quantize_step_r = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 95: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->coach_mode); - this->__isset.coach_mode = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 96: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->coach_with_referee_mode); - this->__isset.coach_with_referee_mode = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 97: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->use_old_coach_hear); - this->__isset.use_old_coach_hear = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 98: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->slowness_on_top_for_left_team); - this->__isset.slowness_on_top_for_left_team = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 99: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->slowness_on_top_for_right_team); - this->__isset.slowness_on_top_for_right_team = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 100: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->start_goal_l); - this->__isset.start_goal_l = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 101: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->start_goal_r); - this->__isset.start_goal_r = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 102: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->fullstate_l); - this->__isset.fullstate_l = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 103: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->fullstate_r); - this->__isset.fullstate_r = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 104: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->drop_ball_time); - this->__isset.drop_ball_time = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 105: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->synch_mode); - this->__isset.synch_mode = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 106: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->synch_offset); - this->__isset.synch_offset = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 107: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->synch_micro_sleep); - this->__isset.synch_micro_sleep = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 108: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->point_to_ban); - this->__isset.point_to_ban = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 109: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->point_to_duration); - this->__isset.point_to_duration = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 110: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->player_port); - this->__isset.player_port = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 111: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->trainer_port); - this->__isset.trainer_port = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 112: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->online_coach_port); - this->__isset.online_coach_port = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 113: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->verbose_mode); - this->__isset.verbose_mode = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 114: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->coach_send_vi_step); - this->__isset.coach_send_vi_step = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 115: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->replay_file); - this->__isset.replay_file = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 116: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->landmark_file); - this->__isset.landmark_file = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 117: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->send_comms); - this->__isset.send_comms = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 118: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->text_logging); - this->__isset.text_logging = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 119: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->game_logging); - this->__isset.game_logging = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 120: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->game_log_version); - this->__isset.game_log_version = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 121: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->text_log_dir); - this->__isset.text_log_dir = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 122: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->game_log_dir); - this->__isset.game_log_dir = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 123: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->text_log_fixed_name); - this->__isset.text_log_fixed_name = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 124: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->game_log_fixed_name); - this->__isset.game_log_fixed_name = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 125: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->use_text_log_fixed); - this->__isset.use_text_log_fixed = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 126: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->use_game_log_fixed); - this->__isset.use_game_log_fixed = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 127: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->use_text_log_dated); - this->__isset.use_text_log_dated = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 128: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->use_game_log_dated); - this->__isset.use_game_log_dated = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 129: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->log_date_format); - this->__isset.log_date_format = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 130: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->log_times); - this->__isset.log_times = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 131: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->record_message); - this->__isset.record_message = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 132: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->text_log_compression); - this->__isset.text_log_compression = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 133: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->game_log_compression); - this->__isset.game_log_compression = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 134: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->use_profile); - this->__isset.use_profile = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 135: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->tackle_dist); - this->__isset.tackle_dist = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 136: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->tackle_back_dist); - this->__isset.tackle_back_dist = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 137: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->tackle_width); - this->__isset.tackle_width = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 138: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->tackle_exponent); - this->__isset.tackle_exponent = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 139: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->tackle_cycles); - this->__isset.tackle_cycles = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 140: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->tackle_power_rate); - this->__isset.tackle_power_rate = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 141: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->freeform_wait_period); - this->__isset.freeform_wait_period = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 142: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->freeform_send_period); - this->__isset.freeform_send_period = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 143: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->free_kick_faults); - this->__isset.free_kick_faults = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 144: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->back_passes); - this->__isset.back_passes = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 145: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->proper_goal_kicks); - this->__isset.proper_goal_kicks = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 146: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->stopped_ball_vel); - this->__isset.stopped_ball_vel = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 147: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->max_goal_kicks); - this->__isset.max_goal_kicks = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 148: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->clang_del_win); - this->__isset.clang_del_win = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 149: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->clang_rule_win); - this->__isset.clang_rule_win = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 150: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->auto_mode); - this->__isset.auto_mode = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 151: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->kick_off_wait); - this->__isset.kick_off_wait = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 152: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->connect_wait); - this->__isset.connect_wait = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 153: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->game_over_wait); - this->__isset.game_over_wait = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 154: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->team_l_start); - this->__isset.team_l_start = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 155: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->team_r_start); - this->__isset.team_r_start = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 156: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->keepaway_mode); - this->__isset.keepaway_mode = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 157: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->keepaway_length); - this->__isset.keepaway_length = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 158: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->keepaway_width); - this->__isset.keepaway_width = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 159: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->keepaway_logging); - this->__isset.keepaway_logging = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 160: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->keepaway_log_dir); - this->__isset.keepaway_log_dir = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 161: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->keepaway_log_fixed_name); - this->__isset.keepaway_log_fixed_name = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 162: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->keepaway_log_fixed); - this->__isset.keepaway_log_fixed = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 163: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->keepaway_log_dated); - this->__isset.keepaway_log_dated = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 164: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->keepaway_start); - this->__isset.keepaway_start = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 165: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->nr_normal_halfs); - this->__isset.nr_normal_halfs = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 166: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->nr_extra_halfs); - this->__isset.nr_extra_halfs = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 167: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->penalty_shoot_outs); - this->__isset.penalty_shoot_outs = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 168: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->pen_before_setup_wait); - this->__isset.pen_before_setup_wait = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 169: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->pen_setup_wait); - this->__isset.pen_setup_wait = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 170: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->pen_ready_wait); - this->__isset.pen_ready_wait = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 171: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->pen_taken_wait); - this->__isset.pen_taken_wait = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 172: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->pen_nr_kicks); - this->__isset.pen_nr_kicks = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 173: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->pen_max_extra_kicks); - this->__isset.pen_max_extra_kicks = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 174: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->pen_dist_x); - this->__isset.pen_dist_x = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 175: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->pen_random_winner); - this->__isset.pen_random_winner = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 176: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->pen_allow_mult_kicks); - this->__isset.pen_allow_mult_kicks = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 177: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->pen_max_goalie_dist_x); - this->__isset.pen_max_goalie_dist_x = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 178: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->pen_coach_moves_players); - this->__isset.pen_coach_moves_players = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 179: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->module_dir); - this->__isset.module_dir = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 180: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->ball_stuck_area); - this->__isset.ball_stuck_area = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 181: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->coach_msg_file); - this->__isset.coach_msg_file = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 182: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->max_tackle_power); - this->__isset.max_tackle_power = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 183: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->max_back_tackle_power); - this->__isset.max_back_tackle_power = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 184: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->player_speed_max_min); - this->__isset.player_speed_max_min = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 185: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->extra_stamina); - this->__isset.extra_stamina = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 186: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->synch_see_offset); - this->__isset.synch_see_offset = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 187: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->extra_half_time); - this->__isset.extra_half_time = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 188: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->stamina_capacity); - this->__isset.stamina_capacity = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 189: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->max_dash_angle); - this->__isset.max_dash_angle = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 190: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->min_dash_angle); - this->__isset.min_dash_angle = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 191: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->dash_angle_step); - this->__isset.dash_angle_step = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 192: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->side_dash_rate); - this->__isset.side_dash_rate = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 193: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->back_dash_rate); - this->__isset.back_dash_rate = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 194: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->max_dash_power); - this->__isset.max_dash_power = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 195: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->min_dash_power); - this->__isset.min_dash_power = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 196: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->tackle_rand_factor); - this->__isset.tackle_rand_factor = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 197: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->foul_detect_probability); - this->__isset.foul_detect_probability = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 198: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->foul_exponent); - this->__isset.foul_exponent = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 199: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->foul_cycles); - this->__isset.foul_cycles = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 200: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->golden_goal); - this->__isset.golden_goal = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 201: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->red_card_probability); - this->__isset.red_card_probability = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 202: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->illegal_defense_duration); - this->__isset.illegal_defense_duration = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 203: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->illegal_defense_number); - this->__isset.illegal_defense_number = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 204: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->illegal_defense_dist_x); - this->__isset.illegal_defense_dist_x = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 205: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->illegal_defense_width); - this->__isset.illegal_defense_width = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 206: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->fixed_teamname_l); - this->__isset.fixed_teamname_l = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 207: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->fixed_teamname_r); - this->__isset.fixed_teamname_r = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 208: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->max_catch_angle); - this->__isset.max_catch_angle = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 209: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->min_catch_angle); - this->__isset.min_catch_angle = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 210: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->random_seed); - this->__isset.random_seed = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 211: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->long_kick_power_factor); - this->__isset.long_kick_power_factor = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 212: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->long_kick_delay); - this->__isset.long_kick_delay = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 213: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->max_monitors); - this->__isset.max_monitors = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 214: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->catchable_area); - this->__isset.catchable_area = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 215: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->real_speed_max); - this->__isset.real_speed_max = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 216: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->pitch_half_length); - this->__isset.pitch_half_length = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 217: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->pitch_half_width); - this->__isset.pitch_half_width = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 218: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->our_penalty_area_line_x); - this->__isset.our_penalty_area_line_x = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 219: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->their_penalty_area_line_x); - this->__isset.their_penalty_area_line_x = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 220: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->penalty_area_half_width); - this->__isset.penalty_area_half_width = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 221: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->penalty_area_length); - this->__isset.penalty_area_length = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 222: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->goal_width); - this->__isset.goal_width = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t ServerParam::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ServerParam"); - - xfer += oprot->writeFieldBegin("register_response", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->register_response.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("inertia_moment", ::apache::thrift::protocol::T_DOUBLE, 2); - xfer += oprot->writeDouble(this->inertia_moment); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("player_size", ::apache::thrift::protocol::T_DOUBLE, 3); - xfer += oprot->writeDouble(this->player_size); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("player_decay", ::apache::thrift::protocol::T_DOUBLE, 4); - xfer += oprot->writeDouble(this->player_decay); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("player_rand", ::apache::thrift::protocol::T_DOUBLE, 5); - xfer += oprot->writeDouble(this->player_rand); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("player_weight", ::apache::thrift::protocol::T_DOUBLE, 6); - xfer += oprot->writeDouble(this->player_weight); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("player_speed_max", ::apache::thrift::protocol::T_DOUBLE, 7); - xfer += oprot->writeDouble(this->player_speed_max); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("player_accel_max", ::apache::thrift::protocol::T_DOUBLE, 8); - xfer += oprot->writeDouble(this->player_accel_max); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("stamina_max", ::apache::thrift::protocol::T_DOUBLE, 9); - xfer += oprot->writeDouble(this->stamina_max); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("stamina_inc_max", ::apache::thrift::protocol::T_DOUBLE, 10); - xfer += oprot->writeDouble(this->stamina_inc_max); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("recover_init", ::apache::thrift::protocol::T_DOUBLE, 11); - xfer += oprot->writeDouble(this->recover_init); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("recover_dec_thr", ::apache::thrift::protocol::T_DOUBLE, 12); - xfer += oprot->writeDouble(this->recover_dec_thr); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("recover_min", ::apache::thrift::protocol::T_DOUBLE, 13); - xfer += oprot->writeDouble(this->recover_min); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("recover_dec", ::apache::thrift::protocol::T_DOUBLE, 14); - xfer += oprot->writeDouble(this->recover_dec); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("effort_init", ::apache::thrift::protocol::T_DOUBLE, 15); - xfer += oprot->writeDouble(this->effort_init); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("effort_dec_thr", ::apache::thrift::protocol::T_DOUBLE, 16); - xfer += oprot->writeDouble(this->effort_dec_thr); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("effort_min", ::apache::thrift::protocol::T_DOUBLE, 17); - xfer += oprot->writeDouble(this->effort_min); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("effort_dec", ::apache::thrift::protocol::T_DOUBLE, 18); - xfer += oprot->writeDouble(this->effort_dec); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("effort_inc_thr", ::apache::thrift::protocol::T_DOUBLE, 19); - xfer += oprot->writeDouble(this->effort_inc_thr); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("effort_inc", ::apache::thrift::protocol::T_DOUBLE, 20); - xfer += oprot->writeDouble(this->effort_inc); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("kick_rand", ::apache::thrift::protocol::T_DOUBLE, 21); - xfer += oprot->writeDouble(this->kick_rand); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("team_actuator_noise", ::apache::thrift::protocol::T_BOOL, 22); - xfer += oprot->writeBool(this->team_actuator_noise); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("player_rand_factor_l", ::apache::thrift::protocol::T_DOUBLE, 23); - xfer += oprot->writeDouble(this->player_rand_factor_l); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("player_rand_factor_r", ::apache::thrift::protocol::T_DOUBLE, 24); - xfer += oprot->writeDouble(this->player_rand_factor_r); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("kick_rand_factor_l", ::apache::thrift::protocol::T_DOUBLE, 25); - xfer += oprot->writeDouble(this->kick_rand_factor_l); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("kick_rand_factor_r", ::apache::thrift::protocol::T_DOUBLE, 26); - xfer += oprot->writeDouble(this->kick_rand_factor_r); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("ball_size", ::apache::thrift::protocol::T_DOUBLE, 27); - xfer += oprot->writeDouble(this->ball_size); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("ball_decay", ::apache::thrift::protocol::T_DOUBLE, 28); - xfer += oprot->writeDouble(this->ball_decay); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("ball_rand", ::apache::thrift::protocol::T_DOUBLE, 29); - xfer += oprot->writeDouble(this->ball_rand); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("ball_weight", ::apache::thrift::protocol::T_DOUBLE, 30); - xfer += oprot->writeDouble(this->ball_weight); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("ball_speed_max", ::apache::thrift::protocol::T_DOUBLE, 31); - xfer += oprot->writeDouble(this->ball_speed_max); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("ball_accel_max", ::apache::thrift::protocol::T_DOUBLE, 32); - xfer += oprot->writeDouble(this->ball_accel_max); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("dash_power_rate", ::apache::thrift::protocol::T_DOUBLE, 33); - xfer += oprot->writeDouble(this->dash_power_rate); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("kick_power_rate", ::apache::thrift::protocol::T_DOUBLE, 34); - xfer += oprot->writeDouble(this->kick_power_rate); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("kickable_margin", ::apache::thrift::protocol::T_DOUBLE, 35); - xfer += oprot->writeDouble(this->kickable_margin); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("control_radius", ::apache::thrift::protocol::T_DOUBLE, 36); - xfer += oprot->writeDouble(this->control_radius); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("control_radius_width", ::apache::thrift::protocol::T_DOUBLE, 37); - xfer += oprot->writeDouble(this->control_radius_width); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("max_power", ::apache::thrift::protocol::T_DOUBLE, 38); - xfer += oprot->writeDouble(this->max_power); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("min_power", ::apache::thrift::protocol::T_DOUBLE, 39); - xfer += oprot->writeDouble(this->min_power); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("max_moment", ::apache::thrift::protocol::T_DOUBLE, 40); - xfer += oprot->writeDouble(this->max_moment); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("min_moment", ::apache::thrift::protocol::T_DOUBLE, 41); - xfer += oprot->writeDouble(this->min_moment); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("max_neck_moment", ::apache::thrift::protocol::T_DOUBLE, 42); - xfer += oprot->writeDouble(this->max_neck_moment); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("min_neck_moment", ::apache::thrift::protocol::T_DOUBLE, 43); - xfer += oprot->writeDouble(this->min_neck_moment); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("max_neck_angle", ::apache::thrift::protocol::T_DOUBLE, 44); - xfer += oprot->writeDouble(this->max_neck_angle); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("min_neck_angle", ::apache::thrift::protocol::T_DOUBLE, 45); - xfer += oprot->writeDouble(this->min_neck_angle); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("visible_angle", ::apache::thrift::protocol::T_DOUBLE, 46); - xfer += oprot->writeDouble(this->visible_angle); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("visible_distance", ::apache::thrift::protocol::T_DOUBLE, 47); - xfer += oprot->writeDouble(this->visible_distance); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("wind_dir", ::apache::thrift::protocol::T_DOUBLE, 48); - xfer += oprot->writeDouble(this->wind_dir); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("wind_force", ::apache::thrift::protocol::T_DOUBLE, 49); - xfer += oprot->writeDouble(this->wind_force); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("wind_angle", ::apache::thrift::protocol::T_DOUBLE, 50); - xfer += oprot->writeDouble(this->wind_angle); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("wind_rand", ::apache::thrift::protocol::T_DOUBLE, 51); - xfer += oprot->writeDouble(this->wind_rand); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("kickable_area", ::apache::thrift::protocol::T_DOUBLE, 52); - xfer += oprot->writeDouble(this->kickable_area); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("catch_area_l", ::apache::thrift::protocol::T_DOUBLE, 53); - xfer += oprot->writeDouble(this->catch_area_l); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("catch_area_w", ::apache::thrift::protocol::T_DOUBLE, 54); - xfer += oprot->writeDouble(this->catch_area_w); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("catch_probability", ::apache::thrift::protocol::T_DOUBLE, 55); - xfer += oprot->writeDouble(this->catch_probability); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("goalie_max_moves", ::apache::thrift::protocol::T_I32, 56); - xfer += oprot->writeI32(this->goalie_max_moves); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("corner_kick_margin", ::apache::thrift::protocol::T_DOUBLE, 57); - xfer += oprot->writeDouble(this->corner_kick_margin); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("offside_active_area_size", ::apache::thrift::protocol::T_DOUBLE, 58); - xfer += oprot->writeDouble(this->offside_active_area_size); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("wind_none", ::apache::thrift::protocol::T_BOOL, 59); - xfer += oprot->writeBool(this->wind_none); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("use_wind_random", ::apache::thrift::protocol::T_BOOL, 60); - xfer += oprot->writeBool(this->use_wind_random); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("coach_say_count_max", ::apache::thrift::protocol::T_I32, 61); - xfer += oprot->writeI32(this->coach_say_count_max); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("coach_say_msg_size", ::apache::thrift::protocol::T_I32, 62); - xfer += oprot->writeI32(this->coach_say_msg_size); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("clang_win_size", ::apache::thrift::protocol::T_I32, 63); - xfer += oprot->writeI32(this->clang_win_size); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("clang_define_win", ::apache::thrift::protocol::T_I32, 64); - xfer += oprot->writeI32(this->clang_define_win); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("clang_meta_win", ::apache::thrift::protocol::T_I32, 65); - xfer += oprot->writeI32(this->clang_meta_win); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("clang_advice_win", ::apache::thrift::protocol::T_I32, 66); - xfer += oprot->writeI32(this->clang_advice_win); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("clang_info_win", ::apache::thrift::protocol::T_I32, 67); - xfer += oprot->writeI32(this->clang_info_win); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("clang_mess_delay", ::apache::thrift::protocol::T_I32, 68); - xfer += oprot->writeI32(this->clang_mess_delay); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("clang_mess_per_cycle", ::apache::thrift::protocol::T_I32, 69); - xfer += oprot->writeI32(this->clang_mess_per_cycle); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("half_time", ::apache::thrift::protocol::T_I32, 70); - xfer += oprot->writeI32(this->half_time); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("simulator_step", ::apache::thrift::protocol::T_I32, 71); - xfer += oprot->writeI32(this->simulator_step); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("send_step", ::apache::thrift::protocol::T_I32, 72); - xfer += oprot->writeI32(this->send_step); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("recv_step", ::apache::thrift::protocol::T_I32, 73); - xfer += oprot->writeI32(this->recv_step); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("sense_body_step", ::apache::thrift::protocol::T_I32, 74); - xfer += oprot->writeI32(this->sense_body_step); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("lcm_step", ::apache::thrift::protocol::T_I32, 75); - xfer += oprot->writeI32(this->lcm_step); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("player_say_msg_size", ::apache::thrift::protocol::T_I32, 76); - xfer += oprot->writeI32(this->player_say_msg_size); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("player_hear_max", ::apache::thrift::protocol::T_I32, 77); - xfer += oprot->writeI32(this->player_hear_max); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("player_hear_inc", ::apache::thrift::protocol::T_I32, 78); - xfer += oprot->writeI32(this->player_hear_inc); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("player_hear_decay", ::apache::thrift::protocol::T_I32, 79); - xfer += oprot->writeI32(this->player_hear_decay); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("catch_ban_cycle", ::apache::thrift::protocol::T_I32, 80); - xfer += oprot->writeI32(this->catch_ban_cycle); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("slow_down_factor", ::apache::thrift::protocol::T_I32, 81); - xfer += oprot->writeI32(this->slow_down_factor); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("use_offside", ::apache::thrift::protocol::T_BOOL, 82); - xfer += oprot->writeBool(this->use_offside); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("kickoff_offside", ::apache::thrift::protocol::T_BOOL, 83); - xfer += oprot->writeBool(this->kickoff_offside); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("offside_kick_margin", ::apache::thrift::protocol::T_DOUBLE, 84); - xfer += oprot->writeDouble(this->offside_kick_margin); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("audio_cut_dist", ::apache::thrift::protocol::T_DOUBLE, 85); - xfer += oprot->writeDouble(this->audio_cut_dist); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("dist_quantize_step", ::apache::thrift::protocol::T_DOUBLE, 86); - xfer += oprot->writeDouble(this->dist_quantize_step); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("landmark_dist_quantize_step", ::apache::thrift::protocol::T_DOUBLE, 87); - xfer += oprot->writeDouble(this->landmark_dist_quantize_step); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("dir_quantize_step", ::apache::thrift::protocol::T_DOUBLE, 88); - xfer += oprot->writeDouble(this->dir_quantize_step); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("dist_quantize_step_l", ::apache::thrift::protocol::T_DOUBLE, 89); - xfer += oprot->writeDouble(this->dist_quantize_step_l); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("dist_quantize_step_r", ::apache::thrift::protocol::T_DOUBLE, 90); - xfer += oprot->writeDouble(this->dist_quantize_step_r); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("landmark_dist_quantize_step_l", ::apache::thrift::protocol::T_DOUBLE, 91); - xfer += oprot->writeDouble(this->landmark_dist_quantize_step_l); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("landmark_dist_quantize_step_r", ::apache::thrift::protocol::T_DOUBLE, 92); - xfer += oprot->writeDouble(this->landmark_dist_quantize_step_r); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("dir_quantize_step_l", ::apache::thrift::protocol::T_DOUBLE, 93); - xfer += oprot->writeDouble(this->dir_quantize_step_l); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("dir_quantize_step_r", ::apache::thrift::protocol::T_DOUBLE, 94); - xfer += oprot->writeDouble(this->dir_quantize_step_r); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("coach_mode", ::apache::thrift::protocol::T_BOOL, 95); - xfer += oprot->writeBool(this->coach_mode); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("coach_with_referee_mode", ::apache::thrift::protocol::T_BOOL, 96); - xfer += oprot->writeBool(this->coach_with_referee_mode); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("use_old_coach_hear", ::apache::thrift::protocol::T_BOOL, 97); - xfer += oprot->writeBool(this->use_old_coach_hear); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("slowness_on_top_for_left_team", ::apache::thrift::protocol::T_DOUBLE, 98); - xfer += oprot->writeDouble(this->slowness_on_top_for_left_team); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("slowness_on_top_for_right_team", ::apache::thrift::protocol::T_DOUBLE, 99); - xfer += oprot->writeDouble(this->slowness_on_top_for_right_team); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("start_goal_l", ::apache::thrift::protocol::T_I32, 100); - xfer += oprot->writeI32(this->start_goal_l); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("start_goal_r", ::apache::thrift::protocol::T_I32, 101); - xfer += oprot->writeI32(this->start_goal_r); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("fullstate_l", ::apache::thrift::protocol::T_BOOL, 102); - xfer += oprot->writeBool(this->fullstate_l); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("fullstate_r", ::apache::thrift::protocol::T_BOOL, 103); - xfer += oprot->writeBool(this->fullstate_r); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("drop_ball_time", ::apache::thrift::protocol::T_I32, 104); - xfer += oprot->writeI32(this->drop_ball_time); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("synch_mode", ::apache::thrift::protocol::T_BOOL, 105); - xfer += oprot->writeBool(this->synch_mode); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("synch_offset", ::apache::thrift::protocol::T_I32, 106); - xfer += oprot->writeI32(this->synch_offset); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("synch_micro_sleep", ::apache::thrift::protocol::T_I32, 107); - xfer += oprot->writeI32(this->synch_micro_sleep); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("point_to_ban", ::apache::thrift::protocol::T_I32, 108); - xfer += oprot->writeI32(this->point_to_ban); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("point_to_duration", ::apache::thrift::protocol::T_I32, 109); - xfer += oprot->writeI32(this->point_to_duration); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("player_port", ::apache::thrift::protocol::T_I32, 110); - xfer += oprot->writeI32(this->player_port); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("trainer_port", ::apache::thrift::protocol::T_I32, 111); - xfer += oprot->writeI32(this->trainer_port); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("online_coach_port", ::apache::thrift::protocol::T_I32, 112); - xfer += oprot->writeI32(this->online_coach_port); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("verbose_mode", ::apache::thrift::protocol::T_BOOL, 113); - xfer += oprot->writeBool(this->verbose_mode); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("coach_send_vi_step", ::apache::thrift::protocol::T_I32, 114); - xfer += oprot->writeI32(this->coach_send_vi_step); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("replay_file", ::apache::thrift::protocol::T_STRING, 115); - xfer += oprot->writeString(this->replay_file); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("landmark_file", ::apache::thrift::protocol::T_STRING, 116); - xfer += oprot->writeString(this->landmark_file); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("send_comms", ::apache::thrift::protocol::T_BOOL, 117); - xfer += oprot->writeBool(this->send_comms); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("text_logging", ::apache::thrift::protocol::T_BOOL, 118); - xfer += oprot->writeBool(this->text_logging); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("game_logging", ::apache::thrift::protocol::T_BOOL, 119); - xfer += oprot->writeBool(this->game_logging); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("game_log_version", ::apache::thrift::protocol::T_I32, 120); - xfer += oprot->writeI32(this->game_log_version); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("text_log_dir", ::apache::thrift::protocol::T_STRING, 121); - xfer += oprot->writeString(this->text_log_dir); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("game_log_dir", ::apache::thrift::protocol::T_STRING, 122); - xfer += oprot->writeString(this->game_log_dir); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("text_log_fixed_name", ::apache::thrift::protocol::T_STRING, 123); - xfer += oprot->writeString(this->text_log_fixed_name); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("game_log_fixed_name", ::apache::thrift::protocol::T_STRING, 124); - xfer += oprot->writeString(this->game_log_fixed_name); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("use_text_log_fixed", ::apache::thrift::protocol::T_BOOL, 125); - xfer += oprot->writeBool(this->use_text_log_fixed); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("use_game_log_fixed", ::apache::thrift::protocol::T_BOOL, 126); - xfer += oprot->writeBool(this->use_game_log_fixed); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("use_text_log_dated", ::apache::thrift::protocol::T_BOOL, 127); - xfer += oprot->writeBool(this->use_text_log_dated); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("use_game_log_dated", ::apache::thrift::protocol::T_BOOL, 128); - xfer += oprot->writeBool(this->use_game_log_dated); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("log_date_format", ::apache::thrift::protocol::T_STRING, 129); - xfer += oprot->writeString(this->log_date_format); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("log_times", ::apache::thrift::protocol::T_BOOL, 130); - xfer += oprot->writeBool(this->log_times); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("record_message", ::apache::thrift::protocol::T_BOOL, 131); - xfer += oprot->writeBool(this->record_message); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("text_log_compression", ::apache::thrift::protocol::T_I32, 132); - xfer += oprot->writeI32(this->text_log_compression); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("game_log_compression", ::apache::thrift::protocol::T_I32, 133); - xfer += oprot->writeI32(this->game_log_compression); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("use_profile", ::apache::thrift::protocol::T_BOOL, 134); - xfer += oprot->writeBool(this->use_profile); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("tackle_dist", ::apache::thrift::protocol::T_DOUBLE, 135); - xfer += oprot->writeDouble(this->tackle_dist); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("tackle_back_dist", ::apache::thrift::protocol::T_DOUBLE, 136); - xfer += oprot->writeDouble(this->tackle_back_dist); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("tackle_width", ::apache::thrift::protocol::T_DOUBLE, 137); - xfer += oprot->writeDouble(this->tackle_width); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("tackle_exponent", ::apache::thrift::protocol::T_DOUBLE, 138); - xfer += oprot->writeDouble(this->tackle_exponent); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("tackle_cycles", ::apache::thrift::protocol::T_I32, 139); - xfer += oprot->writeI32(this->tackle_cycles); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("tackle_power_rate", ::apache::thrift::protocol::T_DOUBLE, 140); - xfer += oprot->writeDouble(this->tackle_power_rate); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("freeform_wait_period", ::apache::thrift::protocol::T_I32, 141); - xfer += oprot->writeI32(this->freeform_wait_period); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("freeform_send_period", ::apache::thrift::protocol::T_I32, 142); - xfer += oprot->writeI32(this->freeform_send_period); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("free_kick_faults", ::apache::thrift::protocol::T_BOOL, 143); - xfer += oprot->writeBool(this->free_kick_faults); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("back_passes", ::apache::thrift::protocol::T_BOOL, 144); - xfer += oprot->writeBool(this->back_passes); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("proper_goal_kicks", ::apache::thrift::protocol::T_BOOL, 145); - xfer += oprot->writeBool(this->proper_goal_kicks); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("stopped_ball_vel", ::apache::thrift::protocol::T_DOUBLE, 146); - xfer += oprot->writeDouble(this->stopped_ball_vel); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("max_goal_kicks", ::apache::thrift::protocol::T_I32, 147); - xfer += oprot->writeI32(this->max_goal_kicks); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("clang_del_win", ::apache::thrift::protocol::T_I32, 148); - xfer += oprot->writeI32(this->clang_del_win); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("clang_rule_win", ::apache::thrift::protocol::T_I32, 149); - xfer += oprot->writeI32(this->clang_rule_win); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("auto_mode", ::apache::thrift::protocol::T_BOOL, 150); - xfer += oprot->writeBool(this->auto_mode); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("kick_off_wait", ::apache::thrift::protocol::T_I32, 151); - xfer += oprot->writeI32(this->kick_off_wait); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("connect_wait", ::apache::thrift::protocol::T_I32, 152); - xfer += oprot->writeI32(this->connect_wait); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("game_over_wait", ::apache::thrift::protocol::T_I32, 153); - xfer += oprot->writeI32(this->game_over_wait); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("team_l_start", ::apache::thrift::protocol::T_STRING, 154); - xfer += oprot->writeString(this->team_l_start); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("team_r_start", ::apache::thrift::protocol::T_STRING, 155); - xfer += oprot->writeString(this->team_r_start); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("keepaway_mode", ::apache::thrift::protocol::T_BOOL, 156); - xfer += oprot->writeBool(this->keepaway_mode); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("keepaway_length", ::apache::thrift::protocol::T_DOUBLE, 157); - xfer += oprot->writeDouble(this->keepaway_length); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("keepaway_width", ::apache::thrift::protocol::T_DOUBLE, 158); - xfer += oprot->writeDouble(this->keepaway_width); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("keepaway_logging", ::apache::thrift::protocol::T_BOOL, 159); - xfer += oprot->writeBool(this->keepaway_logging); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("keepaway_log_dir", ::apache::thrift::protocol::T_STRING, 160); - xfer += oprot->writeString(this->keepaway_log_dir); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("keepaway_log_fixed_name", ::apache::thrift::protocol::T_STRING, 161); - xfer += oprot->writeString(this->keepaway_log_fixed_name); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("keepaway_log_fixed", ::apache::thrift::protocol::T_BOOL, 162); - xfer += oprot->writeBool(this->keepaway_log_fixed); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("keepaway_log_dated", ::apache::thrift::protocol::T_BOOL, 163); - xfer += oprot->writeBool(this->keepaway_log_dated); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("keepaway_start", ::apache::thrift::protocol::T_I32, 164); - xfer += oprot->writeI32(this->keepaway_start); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("nr_normal_halfs", ::apache::thrift::protocol::T_I32, 165); - xfer += oprot->writeI32(this->nr_normal_halfs); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("nr_extra_halfs", ::apache::thrift::protocol::T_I32, 166); - xfer += oprot->writeI32(this->nr_extra_halfs); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("penalty_shoot_outs", ::apache::thrift::protocol::T_BOOL, 167); - xfer += oprot->writeBool(this->penalty_shoot_outs); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("pen_before_setup_wait", ::apache::thrift::protocol::T_I32, 168); - xfer += oprot->writeI32(this->pen_before_setup_wait); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("pen_setup_wait", ::apache::thrift::protocol::T_I32, 169); - xfer += oprot->writeI32(this->pen_setup_wait); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("pen_ready_wait", ::apache::thrift::protocol::T_I32, 170); - xfer += oprot->writeI32(this->pen_ready_wait); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("pen_taken_wait", ::apache::thrift::protocol::T_I32, 171); - xfer += oprot->writeI32(this->pen_taken_wait); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("pen_nr_kicks", ::apache::thrift::protocol::T_I32, 172); - xfer += oprot->writeI32(this->pen_nr_kicks); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("pen_max_extra_kicks", ::apache::thrift::protocol::T_I32, 173); - xfer += oprot->writeI32(this->pen_max_extra_kicks); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("pen_dist_x", ::apache::thrift::protocol::T_DOUBLE, 174); - xfer += oprot->writeDouble(this->pen_dist_x); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("pen_random_winner", ::apache::thrift::protocol::T_BOOL, 175); - xfer += oprot->writeBool(this->pen_random_winner); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("pen_allow_mult_kicks", ::apache::thrift::protocol::T_BOOL, 176); - xfer += oprot->writeBool(this->pen_allow_mult_kicks); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("pen_max_goalie_dist_x", ::apache::thrift::protocol::T_DOUBLE, 177); - xfer += oprot->writeDouble(this->pen_max_goalie_dist_x); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("pen_coach_moves_players", ::apache::thrift::protocol::T_BOOL, 178); - xfer += oprot->writeBool(this->pen_coach_moves_players); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("module_dir", ::apache::thrift::protocol::T_STRING, 179); - xfer += oprot->writeString(this->module_dir); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("ball_stuck_area", ::apache::thrift::protocol::T_DOUBLE, 180); - xfer += oprot->writeDouble(this->ball_stuck_area); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("coach_msg_file", ::apache::thrift::protocol::T_STRING, 181); - xfer += oprot->writeString(this->coach_msg_file); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("max_tackle_power", ::apache::thrift::protocol::T_DOUBLE, 182); - xfer += oprot->writeDouble(this->max_tackle_power); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("max_back_tackle_power", ::apache::thrift::protocol::T_DOUBLE, 183); - xfer += oprot->writeDouble(this->max_back_tackle_power); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("player_speed_max_min", ::apache::thrift::protocol::T_DOUBLE, 184); - xfer += oprot->writeDouble(this->player_speed_max_min); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("extra_stamina", ::apache::thrift::protocol::T_DOUBLE, 185); - xfer += oprot->writeDouble(this->extra_stamina); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("synch_see_offset", ::apache::thrift::protocol::T_I32, 186); - xfer += oprot->writeI32(this->synch_see_offset); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("extra_half_time", ::apache::thrift::protocol::T_I32, 187); - xfer += oprot->writeI32(this->extra_half_time); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("stamina_capacity", ::apache::thrift::protocol::T_DOUBLE, 188); - xfer += oprot->writeDouble(this->stamina_capacity); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("max_dash_angle", ::apache::thrift::protocol::T_DOUBLE, 189); - xfer += oprot->writeDouble(this->max_dash_angle); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("min_dash_angle", ::apache::thrift::protocol::T_DOUBLE, 190); - xfer += oprot->writeDouble(this->min_dash_angle); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("dash_angle_step", ::apache::thrift::protocol::T_DOUBLE, 191); - xfer += oprot->writeDouble(this->dash_angle_step); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("side_dash_rate", ::apache::thrift::protocol::T_DOUBLE, 192); - xfer += oprot->writeDouble(this->side_dash_rate); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("back_dash_rate", ::apache::thrift::protocol::T_DOUBLE, 193); - xfer += oprot->writeDouble(this->back_dash_rate); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("max_dash_power", ::apache::thrift::protocol::T_DOUBLE, 194); - xfer += oprot->writeDouble(this->max_dash_power); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("min_dash_power", ::apache::thrift::protocol::T_DOUBLE, 195); - xfer += oprot->writeDouble(this->min_dash_power); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("tackle_rand_factor", ::apache::thrift::protocol::T_DOUBLE, 196); - xfer += oprot->writeDouble(this->tackle_rand_factor); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("foul_detect_probability", ::apache::thrift::protocol::T_DOUBLE, 197); - xfer += oprot->writeDouble(this->foul_detect_probability); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("foul_exponent", ::apache::thrift::protocol::T_DOUBLE, 198); - xfer += oprot->writeDouble(this->foul_exponent); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("foul_cycles", ::apache::thrift::protocol::T_I32, 199); - xfer += oprot->writeI32(this->foul_cycles); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("golden_goal", ::apache::thrift::protocol::T_BOOL, 200); - xfer += oprot->writeBool(this->golden_goal); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("red_card_probability", ::apache::thrift::protocol::T_DOUBLE, 201); - xfer += oprot->writeDouble(this->red_card_probability); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("illegal_defense_duration", ::apache::thrift::protocol::T_I32, 202); - xfer += oprot->writeI32(this->illegal_defense_duration); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("illegal_defense_number", ::apache::thrift::protocol::T_I32, 203); - xfer += oprot->writeI32(this->illegal_defense_number); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("illegal_defense_dist_x", ::apache::thrift::protocol::T_DOUBLE, 204); - xfer += oprot->writeDouble(this->illegal_defense_dist_x); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("illegal_defense_width", ::apache::thrift::protocol::T_DOUBLE, 205); - xfer += oprot->writeDouble(this->illegal_defense_width); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("fixed_teamname_l", ::apache::thrift::protocol::T_STRING, 206); - xfer += oprot->writeString(this->fixed_teamname_l); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("fixed_teamname_r", ::apache::thrift::protocol::T_STRING, 207); - xfer += oprot->writeString(this->fixed_teamname_r); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("max_catch_angle", ::apache::thrift::protocol::T_DOUBLE, 208); - xfer += oprot->writeDouble(this->max_catch_angle); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("min_catch_angle", ::apache::thrift::protocol::T_DOUBLE, 209); - xfer += oprot->writeDouble(this->min_catch_angle); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("random_seed", ::apache::thrift::protocol::T_I32, 210); - xfer += oprot->writeI32(this->random_seed); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("long_kick_power_factor", ::apache::thrift::protocol::T_DOUBLE, 211); - xfer += oprot->writeDouble(this->long_kick_power_factor); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("long_kick_delay", ::apache::thrift::protocol::T_I32, 212); - xfer += oprot->writeI32(this->long_kick_delay); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("max_monitors", ::apache::thrift::protocol::T_I32, 213); - xfer += oprot->writeI32(this->max_monitors); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("catchable_area", ::apache::thrift::protocol::T_DOUBLE, 214); - xfer += oprot->writeDouble(this->catchable_area); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("real_speed_max", ::apache::thrift::protocol::T_DOUBLE, 215); - xfer += oprot->writeDouble(this->real_speed_max); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("pitch_half_length", ::apache::thrift::protocol::T_DOUBLE, 216); - xfer += oprot->writeDouble(this->pitch_half_length); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("pitch_half_width", ::apache::thrift::protocol::T_DOUBLE, 217); - xfer += oprot->writeDouble(this->pitch_half_width); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("our_penalty_area_line_x", ::apache::thrift::protocol::T_DOUBLE, 218); - xfer += oprot->writeDouble(this->our_penalty_area_line_x); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("their_penalty_area_line_x", ::apache::thrift::protocol::T_DOUBLE, 219); - xfer += oprot->writeDouble(this->their_penalty_area_line_x); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("penalty_area_half_width", ::apache::thrift::protocol::T_DOUBLE, 220); - xfer += oprot->writeDouble(this->penalty_area_half_width); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("penalty_area_length", ::apache::thrift::protocol::T_DOUBLE, 221); - xfer += oprot->writeDouble(this->penalty_area_length); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("goal_width", ::apache::thrift::protocol::T_DOUBLE, 222); - xfer += oprot->writeDouble(this->goal_width); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(ServerParam &a, ServerParam &b) { - using ::std::swap; - swap(a.register_response, b.register_response); - swap(a.inertia_moment, b.inertia_moment); - swap(a.player_size, b.player_size); - swap(a.player_decay, b.player_decay); - swap(a.player_rand, b.player_rand); - swap(a.player_weight, b.player_weight); - swap(a.player_speed_max, b.player_speed_max); - swap(a.player_accel_max, b.player_accel_max); - swap(a.stamina_max, b.stamina_max); - swap(a.stamina_inc_max, b.stamina_inc_max); - swap(a.recover_init, b.recover_init); - swap(a.recover_dec_thr, b.recover_dec_thr); - swap(a.recover_min, b.recover_min); - swap(a.recover_dec, b.recover_dec); - swap(a.effort_init, b.effort_init); - swap(a.effort_dec_thr, b.effort_dec_thr); - swap(a.effort_min, b.effort_min); - swap(a.effort_dec, b.effort_dec); - swap(a.effort_inc_thr, b.effort_inc_thr); - swap(a.effort_inc, b.effort_inc); - swap(a.kick_rand, b.kick_rand); - swap(a.team_actuator_noise, b.team_actuator_noise); - swap(a.player_rand_factor_l, b.player_rand_factor_l); - swap(a.player_rand_factor_r, b.player_rand_factor_r); - swap(a.kick_rand_factor_l, b.kick_rand_factor_l); - swap(a.kick_rand_factor_r, b.kick_rand_factor_r); - swap(a.ball_size, b.ball_size); - swap(a.ball_decay, b.ball_decay); - swap(a.ball_rand, b.ball_rand); - swap(a.ball_weight, b.ball_weight); - swap(a.ball_speed_max, b.ball_speed_max); - swap(a.ball_accel_max, b.ball_accel_max); - swap(a.dash_power_rate, b.dash_power_rate); - swap(a.kick_power_rate, b.kick_power_rate); - swap(a.kickable_margin, b.kickable_margin); - swap(a.control_radius, b.control_radius); - swap(a.control_radius_width, b.control_radius_width); - swap(a.max_power, b.max_power); - swap(a.min_power, b.min_power); - swap(a.max_moment, b.max_moment); - swap(a.min_moment, b.min_moment); - swap(a.max_neck_moment, b.max_neck_moment); - swap(a.min_neck_moment, b.min_neck_moment); - swap(a.max_neck_angle, b.max_neck_angle); - swap(a.min_neck_angle, b.min_neck_angle); - swap(a.visible_angle, b.visible_angle); - swap(a.visible_distance, b.visible_distance); - swap(a.wind_dir, b.wind_dir); - swap(a.wind_force, b.wind_force); - swap(a.wind_angle, b.wind_angle); - swap(a.wind_rand, b.wind_rand); - swap(a.kickable_area, b.kickable_area); - swap(a.catch_area_l, b.catch_area_l); - swap(a.catch_area_w, b.catch_area_w); - swap(a.catch_probability, b.catch_probability); - swap(a.goalie_max_moves, b.goalie_max_moves); - swap(a.corner_kick_margin, b.corner_kick_margin); - swap(a.offside_active_area_size, b.offside_active_area_size); - swap(a.wind_none, b.wind_none); - swap(a.use_wind_random, b.use_wind_random); - swap(a.coach_say_count_max, b.coach_say_count_max); - swap(a.coach_say_msg_size, b.coach_say_msg_size); - swap(a.clang_win_size, b.clang_win_size); - swap(a.clang_define_win, b.clang_define_win); - swap(a.clang_meta_win, b.clang_meta_win); - swap(a.clang_advice_win, b.clang_advice_win); - swap(a.clang_info_win, b.clang_info_win); - swap(a.clang_mess_delay, b.clang_mess_delay); - swap(a.clang_mess_per_cycle, b.clang_mess_per_cycle); - swap(a.half_time, b.half_time); - swap(a.simulator_step, b.simulator_step); - swap(a.send_step, b.send_step); - swap(a.recv_step, b.recv_step); - swap(a.sense_body_step, b.sense_body_step); - swap(a.lcm_step, b.lcm_step); - swap(a.player_say_msg_size, b.player_say_msg_size); - swap(a.player_hear_max, b.player_hear_max); - swap(a.player_hear_inc, b.player_hear_inc); - swap(a.player_hear_decay, b.player_hear_decay); - swap(a.catch_ban_cycle, b.catch_ban_cycle); - swap(a.slow_down_factor, b.slow_down_factor); - swap(a.use_offside, b.use_offside); - swap(a.kickoff_offside, b.kickoff_offside); - swap(a.offside_kick_margin, b.offside_kick_margin); - swap(a.audio_cut_dist, b.audio_cut_dist); - swap(a.dist_quantize_step, b.dist_quantize_step); - swap(a.landmark_dist_quantize_step, b.landmark_dist_quantize_step); - swap(a.dir_quantize_step, b.dir_quantize_step); - swap(a.dist_quantize_step_l, b.dist_quantize_step_l); - swap(a.dist_quantize_step_r, b.dist_quantize_step_r); - swap(a.landmark_dist_quantize_step_l, b.landmark_dist_quantize_step_l); - swap(a.landmark_dist_quantize_step_r, b.landmark_dist_quantize_step_r); - swap(a.dir_quantize_step_l, b.dir_quantize_step_l); - swap(a.dir_quantize_step_r, b.dir_quantize_step_r); - swap(a.coach_mode, b.coach_mode); - swap(a.coach_with_referee_mode, b.coach_with_referee_mode); - swap(a.use_old_coach_hear, b.use_old_coach_hear); - swap(a.slowness_on_top_for_left_team, b.slowness_on_top_for_left_team); - swap(a.slowness_on_top_for_right_team, b.slowness_on_top_for_right_team); - swap(a.start_goal_l, b.start_goal_l); - swap(a.start_goal_r, b.start_goal_r); - swap(a.fullstate_l, b.fullstate_l); - swap(a.fullstate_r, b.fullstate_r); - swap(a.drop_ball_time, b.drop_ball_time); - swap(a.synch_mode, b.synch_mode); - swap(a.synch_offset, b.synch_offset); - swap(a.synch_micro_sleep, b.synch_micro_sleep); - swap(a.point_to_ban, b.point_to_ban); - swap(a.point_to_duration, b.point_to_duration); - swap(a.player_port, b.player_port); - swap(a.trainer_port, b.trainer_port); - swap(a.online_coach_port, b.online_coach_port); - swap(a.verbose_mode, b.verbose_mode); - swap(a.coach_send_vi_step, b.coach_send_vi_step); - swap(a.replay_file, b.replay_file); - swap(a.landmark_file, b.landmark_file); - swap(a.send_comms, b.send_comms); - swap(a.text_logging, b.text_logging); - swap(a.game_logging, b.game_logging); - swap(a.game_log_version, b.game_log_version); - swap(a.text_log_dir, b.text_log_dir); - swap(a.game_log_dir, b.game_log_dir); - swap(a.text_log_fixed_name, b.text_log_fixed_name); - swap(a.game_log_fixed_name, b.game_log_fixed_name); - swap(a.use_text_log_fixed, b.use_text_log_fixed); - swap(a.use_game_log_fixed, b.use_game_log_fixed); - swap(a.use_text_log_dated, b.use_text_log_dated); - swap(a.use_game_log_dated, b.use_game_log_dated); - swap(a.log_date_format, b.log_date_format); - swap(a.log_times, b.log_times); - swap(a.record_message, b.record_message); - swap(a.text_log_compression, b.text_log_compression); - swap(a.game_log_compression, b.game_log_compression); - swap(a.use_profile, b.use_profile); - swap(a.tackle_dist, b.tackle_dist); - swap(a.tackle_back_dist, b.tackle_back_dist); - swap(a.tackle_width, b.tackle_width); - swap(a.tackle_exponent, b.tackle_exponent); - swap(a.tackle_cycles, b.tackle_cycles); - swap(a.tackle_power_rate, b.tackle_power_rate); - swap(a.freeform_wait_period, b.freeform_wait_period); - swap(a.freeform_send_period, b.freeform_send_period); - swap(a.free_kick_faults, b.free_kick_faults); - swap(a.back_passes, b.back_passes); - swap(a.proper_goal_kicks, b.proper_goal_kicks); - swap(a.stopped_ball_vel, b.stopped_ball_vel); - swap(a.max_goal_kicks, b.max_goal_kicks); - swap(a.clang_del_win, b.clang_del_win); - swap(a.clang_rule_win, b.clang_rule_win); - swap(a.auto_mode, b.auto_mode); - swap(a.kick_off_wait, b.kick_off_wait); - swap(a.connect_wait, b.connect_wait); - swap(a.game_over_wait, b.game_over_wait); - swap(a.team_l_start, b.team_l_start); - swap(a.team_r_start, b.team_r_start); - swap(a.keepaway_mode, b.keepaway_mode); - swap(a.keepaway_length, b.keepaway_length); - swap(a.keepaway_width, b.keepaway_width); - swap(a.keepaway_logging, b.keepaway_logging); - swap(a.keepaway_log_dir, b.keepaway_log_dir); - swap(a.keepaway_log_fixed_name, b.keepaway_log_fixed_name); - swap(a.keepaway_log_fixed, b.keepaway_log_fixed); - swap(a.keepaway_log_dated, b.keepaway_log_dated); - swap(a.keepaway_start, b.keepaway_start); - swap(a.nr_normal_halfs, b.nr_normal_halfs); - swap(a.nr_extra_halfs, b.nr_extra_halfs); - swap(a.penalty_shoot_outs, b.penalty_shoot_outs); - swap(a.pen_before_setup_wait, b.pen_before_setup_wait); - swap(a.pen_setup_wait, b.pen_setup_wait); - swap(a.pen_ready_wait, b.pen_ready_wait); - swap(a.pen_taken_wait, b.pen_taken_wait); - swap(a.pen_nr_kicks, b.pen_nr_kicks); - swap(a.pen_max_extra_kicks, b.pen_max_extra_kicks); - swap(a.pen_dist_x, b.pen_dist_x); - swap(a.pen_random_winner, b.pen_random_winner); - swap(a.pen_allow_mult_kicks, b.pen_allow_mult_kicks); - swap(a.pen_max_goalie_dist_x, b.pen_max_goalie_dist_x); - swap(a.pen_coach_moves_players, b.pen_coach_moves_players); - swap(a.module_dir, b.module_dir); - swap(a.ball_stuck_area, b.ball_stuck_area); - swap(a.coach_msg_file, b.coach_msg_file); - swap(a.max_tackle_power, b.max_tackle_power); - swap(a.max_back_tackle_power, b.max_back_tackle_power); - swap(a.player_speed_max_min, b.player_speed_max_min); - swap(a.extra_stamina, b.extra_stamina); - swap(a.synch_see_offset, b.synch_see_offset); - swap(a.extra_half_time, b.extra_half_time); - swap(a.stamina_capacity, b.stamina_capacity); - swap(a.max_dash_angle, b.max_dash_angle); - swap(a.min_dash_angle, b.min_dash_angle); - swap(a.dash_angle_step, b.dash_angle_step); - swap(a.side_dash_rate, b.side_dash_rate); - swap(a.back_dash_rate, b.back_dash_rate); - swap(a.max_dash_power, b.max_dash_power); - swap(a.min_dash_power, b.min_dash_power); - swap(a.tackle_rand_factor, b.tackle_rand_factor); - swap(a.foul_detect_probability, b.foul_detect_probability); - swap(a.foul_exponent, b.foul_exponent); - swap(a.foul_cycles, b.foul_cycles); - swap(a.golden_goal, b.golden_goal); - swap(a.red_card_probability, b.red_card_probability); - swap(a.illegal_defense_duration, b.illegal_defense_duration); - swap(a.illegal_defense_number, b.illegal_defense_number); - swap(a.illegal_defense_dist_x, b.illegal_defense_dist_x); - swap(a.illegal_defense_width, b.illegal_defense_width); - swap(a.fixed_teamname_l, b.fixed_teamname_l); - swap(a.fixed_teamname_r, b.fixed_teamname_r); - swap(a.max_catch_angle, b.max_catch_angle); - swap(a.min_catch_angle, b.min_catch_angle); - swap(a.random_seed, b.random_seed); - swap(a.long_kick_power_factor, b.long_kick_power_factor); - swap(a.long_kick_delay, b.long_kick_delay); - swap(a.max_monitors, b.max_monitors); - swap(a.catchable_area, b.catchable_area); - swap(a.real_speed_max, b.real_speed_max); - swap(a.pitch_half_length, b.pitch_half_length); - swap(a.pitch_half_width, b.pitch_half_width); - swap(a.our_penalty_area_line_x, b.our_penalty_area_line_x); - swap(a.their_penalty_area_line_x, b.their_penalty_area_line_x); - swap(a.penalty_area_half_width, b.penalty_area_half_width); - swap(a.penalty_area_length, b.penalty_area_length); - swap(a.goal_width, b.goal_width); - swap(a.__isset, b.__isset); -} - -ServerParam::ServerParam(const ServerParam& other333) { - register_response = other333.register_response; - inertia_moment = other333.inertia_moment; - player_size = other333.player_size; - player_decay = other333.player_decay; - player_rand = other333.player_rand; - player_weight = other333.player_weight; - player_speed_max = other333.player_speed_max; - player_accel_max = other333.player_accel_max; - stamina_max = other333.stamina_max; - stamina_inc_max = other333.stamina_inc_max; - recover_init = other333.recover_init; - recover_dec_thr = other333.recover_dec_thr; - recover_min = other333.recover_min; - recover_dec = other333.recover_dec; - effort_init = other333.effort_init; - effort_dec_thr = other333.effort_dec_thr; - effort_min = other333.effort_min; - effort_dec = other333.effort_dec; - effort_inc_thr = other333.effort_inc_thr; - effort_inc = other333.effort_inc; - kick_rand = other333.kick_rand; - team_actuator_noise = other333.team_actuator_noise; - player_rand_factor_l = other333.player_rand_factor_l; - player_rand_factor_r = other333.player_rand_factor_r; - kick_rand_factor_l = other333.kick_rand_factor_l; - kick_rand_factor_r = other333.kick_rand_factor_r; - ball_size = other333.ball_size; - ball_decay = other333.ball_decay; - ball_rand = other333.ball_rand; - ball_weight = other333.ball_weight; - ball_speed_max = other333.ball_speed_max; - ball_accel_max = other333.ball_accel_max; - dash_power_rate = other333.dash_power_rate; - kick_power_rate = other333.kick_power_rate; - kickable_margin = other333.kickable_margin; - control_radius = other333.control_radius; - control_radius_width = other333.control_radius_width; - max_power = other333.max_power; - min_power = other333.min_power; - max_moment = other333.max_moment; - min_moment = other333.min_moment; - max_neck_moment = other333.max_neck_moment; - min_neck_moment = other333.min_neck_moment; - max_neck_angle = other333.max_neck_angle; - min_neck_angle = other333.min_neck_angle; - visible_angle = other333.visible_angle; - visible_distance = other333.visible_distance; - wind_dir = other333.wind_dir; - wind_force = other333.wind_force; - wind_angle = other333.wind_angle; - wind_rand = other333.wind_rand; - kickable_area = other333.kickable_area; - catch_area_l = other333.catch_area_l; - catch_area_w = other333.catch_area_w; - catch_probability = other333.catch_probability; - goalie_max_moves = other333.goalie_max_moves; - corner_kick_margin = other333.corner_kick_margin; - offside_active_area_size = other333.offside_active_area_size; - wind_none = other333.wind_none; - use_wind_random = other333.use_wind_random; - coach_say_count_max = other333.coach_say_count_max; - coach_say_msg_size = other333.coach_say_msg_size; - clang_win_size = other333.clang_win_size; - clang_define_win = other333.clang_define_win; - clang_meta_win = other333.clang_meta_win; - clang_advice_win = other333.clang_advice_win; - clang_info_win = other333.clang_info_win; - clang_mess_delay = other333.clang_mess_delay; - clang_mess_per_cycle = other333.clang_mess_per_cycle; - half_time = other333.half_time; - simulator_step = other333.simulator_step; - send_step = other333.send_step; - recv_step = other333.recv_step; - sense_body_step = other333.sense_body_step; - lcm_step = other333.lcm_step; - player_say_msg_size = other333.player_say_msg_size; - player_hear_max = other333.player_hear_max; - player_hear_inc = other333.player_hear_inc; - player_hear_decay = other333.player_hear_decay; - catch_ban_cycle = other333.catch_ban_cycle; - slow_down_factor = other333.slow_down_factor; - use_offside = other333.use_offside; - kickoff_offside = other333.kickoff_offside; - offside_kick_margin = other333.offside_kick_margin; - audio_cut_dist = other333.audio_cut_dist; - dist_quantize_step = other333.dist_quantize_step; - landmark_dist_quantize_step = other333.landmark_dist_quantize_step; - dir_quantize_step = other333.dir_quantize_step; - dist_quantize_step_l = other333.dist_quantize_step_l; - dist_quantize_step_r = other333.dist_quantize_step_r; - landmark_dist_quantize_step_l = other333.landmark_dist_quantize_step_l; - landmark_dist_quantize_step_r = other333.landmark_dist_quantize_step_r; - dir_quantize_step_l = other333.dir_quantize_step_l; - dir_quantize_step_r = other333.dir_quantize_step_r; - coach_mode = other333.coach_mode; - coach_with_referee_mode = other333.coach_with_referee_mode; - use_old_coach_hear = other333.use_old_coach_hear; - slowness_on_top_for_left_team = other333.slowness_on_top_for_left_team; - slowness_on_top_for_right_team = other333.slowness_on_top_for_right_team; - start_goal_l = other333.start_goal_l; - start_goal_r = other333.start_goal_r; - fullstate_l = other333.fullstate_l; - fullstate_r = other333.fullstate_r; - drop_ball_time = other333.drop_ball_time; - synch_mode = other333.synch_mode; - synch_offset = other333.synch_offset; - synch_micro_sleep = other333.synch_micro_sleep; - point_to_ban = other333.point_to_ban; - point_to_duration = other333.point_to_duration; - player_port = other333.player_port; - trainer_port = other333.trainer_port; - online_coach_port = other333.online_coach_port; - verbose_mode = other333.verbose_mode; - coach_send_vi_step = other333.coach_send_vi_step; - replay_file = other333.replay_file; - landmark_file = other333.landmark_file; - send_comms = other333.send_comms; - text_logging = other333.text_logging; - game_logging = other333.game_logging; - game_log_version = other333.game_log_version; - text_log_dir = other333.text_log_dir; - game_log_dir = other333.game_log_dir; - text_log_fixed_name = other333.text_log_fixed_name; - game_log_fixed_name = other333.game_log_fixed_name; - use_text_log_fixed = other333.use_text_log_fixed; - use_game_log_fixed = other333.use_game_log_fixed; - use_text_log_dated = other333.use_text_log_dated; - use_game_log_dated = other333.use_game_log_dated; - log_date_format = other333.log_date_format; - log_times = other333.log_times; - record_message = other333.record_message; - text_log_compression = other333.text_log_compression; - game_log_compression = other333.game_log_compression; - use_profile = other333.use_profile; - tackle_dist = other333.tackle_dist; - tackle_back_dist = other333.tackle_back_dist; - tackle_width = other333.tackle_width; - tackle_exponent = other333.tackle_exponent; - tackle_cycles = other333.tackle_cycles; - tackle_power_rate = other333.tackle_power_rate; - freeform_wait_period = other333.freeform_wait_period; - freeform_send_period = other333.freeform_send_period; - free_kick_faults = other333.free_kick_faults; - back_passes = other333.back_passes; - proper_goal_kicks = other333.proper_goal_kicks; - stopped_ball_vel = other333.stopped_ball_vel; - max_goal_kicks = other333.max_goal_kicks; - clang_del_win = other333.clang_del_win; - clang_rule_win = other333.clang_rule_win; - auto_mode = other333.auto_mode; - kick_off_wait = other333.kick_off_wait; - connect_wait = other333.connect_wait; - game_over_wait = other333.game_over_wait; - team_l_start = other333.team_l_start; - team_r_start = other333.team_r_start; - keepaway_mode = other333.keepaway_mode; - keepaway_length = other333.keepaway_length; - keepaway_width = other333.keepaway_width; - keepaway_logging = other333.keepaway_logging; - keepaway_log_dir = other333.keepaway_log_dir; - keepaway_log_fixed_name = other333.keepaway_log_fixed_name; - keepaway_log_fixed = other333.keepaway_log_fixed; - keepaway_log_dated = other333.keepaway_log_dated; - keepaway_start = other333.keepaway_start; - nr_normal_halfs = other333.nr_normal_halfs; - nr_extra_halfs = other333.nr_extra_halfs; - penalty_shoot_outs = other333.penalty_shoot_outs; - pen_before_setup_wait = other333.pen_before_setup_wait; - pen_setup_wait = other333.pen_setup_wait; - pen_ready_wait = other333.pen_ready_wait; - pen_taken_wait = other333.pen_taken_wait; - pen_nr_kicks = other333.pen_nr_kicks; - pen_max_extra_kicks = other333.pen_max_extra_kicks; - pen_dist_x = other333.pen_dist_x; - pen_random_winner = other333.pen_random_winner; - pen_allow_mult_kicks = other333.pen_allow_mult_kicks; - pen_max_goalie_dist_x = other333.pen_max_goalie_dist_x; - pen_coach_moves_players = other333.pen_coach_moves_players; - module_dir = other333.module_dir; - ball_stuck_area = other333.ball_stuck_area; - coach_msg_file = other333.coach_msg_file; - max_tackle_power = other333.max_tackle_power; - max_back_tackle_power = other333.max_back_tackle_power; - player_speed_max_min = other333.player_speed_max_min; - extra_stamina = other333.extra_stamina; - synch_see_offset = other333.synch_see_offset; - extra_half_time = other333.extra_half_time; - stamina_capacity = other333.stamina_capacity; - max_dash_angle = other333.max_dash_angle; - min_dash_angle = other333.min_dash_angle; - dash_angle_step = other333.dash_angle_step; - side_dash_rate = other333.side_dash_rate; - back_dash_rate = other333.back_dash_rate; - max_dash_power = other333.max_dash_power; - min_dash_power = other333.min_dash_power; - tackle_rand_factor = other333.tackle_rand_factor; - foul_detect_probability = other333.foul_detect_probability; - foul_exponent = other333.foul_exponent; - foul_cycles = other333.foul_cycles; - golden_goal = other333.golden_goal; - red_card_probability = other333.red_card_probability; - illegal_defense_duration = other333.illegal_defense_duration; - illegal_defense_number = other333.illegal_defense_number; - illegal_defense_dist_x = other333.illegal_defense_dist_x; - illegal_defense_width = other333.illegal_defense_width; - fixed_teamname_l = other333.fixed_teamname_l; - fixed_teamname_r = other333.fixed_teamname_r; - max_catch_angle = other333.max_catch_angle; - min_catch_angle = other333.min_catch_angle; - random_seed = other333.random_seed; - long_kick_power_factor = other333.long_kick_power_factor; - long_kick_delay = other333.long_kick_delay; - max_monitors = other333.max_monitors; - catchable_area = other333.catchable_area; - real_speed_max = other333.real_speed_max; - pitch_half_length = other333.pitch_half_length; - pitch_half_width = other333.pitch_half_width; - our_penalty_area_line_x = other333.our_penalty_area_line_x; - their_penalty_area_line_x = other333.their_penalty_area_line_x; - penalty_area_half_width = other333.penalty_area_half_width; - penalty_area_length = other333.penalty_area_length; - goal_width = other333.goal_width; - __isset = other333.__isset; -} -ServerParam& ServerParam::operator=(const ServerParam& other334) { - register_response = other334.register_response; - inertia_moment = other334.inertia_moment; - player_size = other334.player_size; - player_decay = other334.player_decay; - player_rand = other334.player_rand; - player_weight = other334.player_weight; - player_speed_max = other334.player_speed_max; - player_accel_max = other334.player_accel_max; - stamina_max = other334.stamina_max; - stamina_inc_max = other334.stamina_inc_max; - recover_init = other334.recover_init; - recover_dec_thr = other334.recover_dec_thr; - recover_min = other334.recover_min; - recover_dec = other334.recover_dec; - effort_init = other334.effort_init; - effort_dec_thr = other334.effort_dec_thr; - effort_min = other334.effort_min; - effort_dec = other334.effort_dec; - effort_inc_thr = other334.effort_inc_thr; - effort_inc = other334.effort_inc; - kick_rand = other334.kick_rand; - team_actuator_noise = other334.team_actuator_noise; - player_rand_factor_l = other334.player_rand_factor_l; - player_rand_factor_r = other334.player_rand_factor_r; - kick_rand_factor_l = other334.kick_rand_factor_l; - kick_rand_factor_r = other334.kick_rand_factor_r; - ball_size = other334.ball_size; - ball_decay = other334.ball_decay; - ball_rand = other334.ball_rand; - ball_weight = other334.ball_weight; - ball_speed_max = other334.ball_speed_max; - ball_accel_max = other334.ball_accel_max; - dash_power_rate = other334.dash_power_rate; - kick_power_rate = other334.kick_power_rate; - kickable_margin = other334.kickable_margin; - control_radius = other334.control_radius; - control_radius_width = other334.control_radius_width; - max_power = other334.max_power; - min_power = other334.min_power; - max_moment = other334.max_moment; - min_moment = other334.min_moment; - max_neck_moment = other334.max_neck_moment; - min_neck_moment = other334.min_neck_moment; - max_neck_angle = other334.max_neck_angle; - min_neck_angle = other334.min_neck_angle; - visible_angle = other334.visible_angle; - visible_distance = other334.visible_distance; - wind_dir = other334.wind_dir; - wind_force = other334.wind_force; - wind_angle = other334.wind_angle; - wind_rand = other334.wind_rand; - kickable_area = other334.kickable_area; - catch_area_l = other334.catch_area_l; - catch_area_w = other334.catch_area_w; - catch_probability = other334.catch_probability; - goalie_max_moves = other334.goalie_max_moves; - corner_kick_margin = other334.corner_kick_margin; - offside_active_area_size = other334.offside_active_area_size; - wind_none = other334.wind_none; - use_wind_random = other334.use_wind_random; - coach_say_count_max = other334.coach_say_count_max; - coach_say_msg_size = other334.coach_say_msg_size; - clang_win_size = other334.clang_win_size; - clang_define_win = other334.clang_define_win; - clang_meta_win = other334.clang_meta_win; - clang_advice_win = other334.clang_advice_win; - clang_info_win = other334.clang_info_win; - clang_mess_delay = other334.clang_mess_delay; - clang_mess_per_cycle = other334.clang_mess_per_cycle; - half_time = other334.half_time; - simulator_step = other334.simulator_step; - send_step = other334.send_step; - recv_step = other334.recv_step; - sense_body_step = other334.sense_body_step; - lcm_step = other334.lcm_step; - player_say_msg_size = other334.player_say_msg_size; - player_hear_max = other334.player_hear_max; - player_hear_inc = other334.player_hear_inc; - player_hear_decay = other334.player_hear_decay; - catch_ban_cycle = other334.catch_ban_cycle; - slow_down_factor = other334.slow_down_factor; - use_offside = other334.use_offside; - kickoff_offside = other334.kickoff_offside; - offside_kick_margin = other334.offside_kick_margin; - audio_cut_dist = other334.audio_cut_dist; - dist_quantize_step = other334.dist_quantize_step; - landmark_dist_quantize_step = other334.landmark_dist_quantize_step; - dir_quantize_step = other334.dir_quantize_step; - dist_quantize_step_l = other334.dist_quantize_step_l; - dist_quantize_step_r = other334.dist_quantize_step_r; - landmark_dist_quantize_step_l = other334.landmark_dist_quantize_step_l; - landmark_dist_quantize_step_r = other334.landmark_dist_quantize_step_r; - dir_quantize_step_l = other334.dir_quantize_step_l; - dir_quantize_step_r = other334.dir_quantize_step_r; - coach_mode = other334.coach_mode; - coach_with_referee_mode = other334.coach_with_referee_mode; - use_old_coach_hear = other334.use_old_coach_hear; - slowness_on_top_for_left_team = other334.slowness_on_top_for_left_team; - slowness_on_top_for_right_team = other334.slowness_on_top_for_right_team; - start_goal_l = other334.start_goal_l; - start_goal_r = other334.start_goal_r; - fullstate_l = other334.fullstate_l; - fullstate_r = other334.fullstate_r; - drop_ball_time = other334.drop_ball_time; - synch_mode = other334.synch_mode; - synch_offset = other334.synch_offset; - synch_micro_sleep = other334.synch_micro_sleep; - point_to_ban = other334.point_to_ban; - point_to_duration = other334.point_to_duration; - player_port = other334.player_port; - trainer_port = other334.trainer_port; - online_coach_port = other334.online_coach_port; - verbose_mode = other334.verbose_mode; - coach_send_vi_step = other334.coach_send_vi_step; - replay_file = other334.replay_file; - landmark_file = other334.landmark_file; - send_comms = other334.send_comms; - text_logging = other334.text_logging; - game_logging = other334.game_logging; - game_log_version = other334.game_log_version; - text_log_dir = other334.text_log_dir; - game_log_dir = other334.game_log_dir; - text_log_fixed_name = other334.text_log_fixed_name; - game_log_fixed_name = other334.game_log_fixed_name; - use_text_log_fixed = other334.use_text_log_fixed; - use_game_log_fixed = other334.use_game_log_fixed; - use_text_log_dated = other334.use_text_log_dated; - use_game_log_dated = other334.use_game_log_dated; - log_date_format = other334.log_date_format; - log_times = other334.log_times; - record_message = other334.record_message; - text_log_compression = other334.text_log_compression; - game_log_compression = other334.game_log_compression; - use_profile = other334.use_profile; - tackle_dist = other334.tackle_dist; - tackle_back_dist = other334.tackle_back_dist; - tackle_width = other334.tackle_width; - tackle_exponent = other334.tackle_exponent; - tackle_cycles = other334.tackle_cycles; - tackle_power_rate = other334.tackle_power_rate; - freeform_wait_period = other334.freeform_wait_period; - freeform_send_period = other334.freeform_send_period; - free_kick_faults = other334.free_kick_faults; - back_passes = other334.back_passes; - proper_goal_kicks = other334.proper_goal_kicks; - stopped_ball_vel = other334.stopped_ball_vel; - max_goal_kicks = other334.max_goal_kicks; - clang_del_win = other334.clang_del_win; - clang_rule_win = other334.clang_rule_win; - auto_mode = other334.auto_mode; - kick_off_wait = other334.kick_off_wait; - connect_wait = other334.connect_wait; - game_over_wait = other334.game_over_wait; - team_l_start = other334.team_l_start; - team_r_start = other334.team_r_start; - keepaway_mode = other334.keepaway_mode; - keepaway_length = other334.keepaway_length; - keepaway_width = other334.keepaway_width; - keepaway_logging = other334.keepaway_logging; - keepaway_log_dir = other334.keepaway_log_dir; - keepaway_log_fixed_name = other334.keepaway_log_fixed_name; - keepaway_log_fixed = other334.keepaway_log_fixed; - keepaway_log_dated = other334.keepaway_log_dated; - keepaway_start = other334.keepaway_start; - nr_normal_halfs = other334.nr_normal_halfs; - nr_extra_halfs = other334.nr_extra_halfs; - penalty_shoot_outs = other334.penalty_shoot_outs; - pen_before_setup_wait = other334.pen_before_setup_wait; - pen_setup_wait = other334.pen_setup_wait; - pen_ready_wait = other334.pen_ready_wait; - pen_taken_wait = other334.pen_taken_wait; - pen_nr_kicks = other334.pen_nr_kicks; - pen_max_extra_kicks = other334.pen_max_extra_kicks; - pen_dist_x = other334.pen_dist_x; - pen_random_winner = other334.pen_random_winner; - pen_allow_mult_kicks = other334.pen_allow_mult_kicks; - pen_max_goalie_dist_x = other334.pen_max_goalie_dist_x; - pen_coach_moves_players = other334.pen_coach_moves_players; - module_dir = other334.module_dir; - ball_stuck_area = other334.ball_stuck_area; - coach_msg_file = other334.coach_msg_file; - max_tackle_power = other334.max_tackle_power; - max_back_tackle_power = other334.max_back_tackle_power; - player_speed_max_min = other334.player_speed_max_min; - extra_stamina = other334.extra_stamina; - synch_see_offset = other334.synch_see_offset; - extra_half_time = other334.extra_half_time; - stamina_capacity = other334.stamina_capacity; - max_dash_angle = other334.max_dash_angle; - min_dash_angle = other334.min_dash_angle; - dash_angle_step = other334.dash_angle_step; - side_dash_rate = other334.side_dash_rate; - back_dash_rate = other334.back_dash_rate; - max_dash_power = other334.max_dash_power; - min_dash_power = other334.min_dash_power; - tackle_rand_factor = other334.tackle_rand_factor; - foul_detect_probability = other334.foul_detect_probability; - foul_exponent = other334.foul_exponent; - foul_cycles = other334.foul_cycles; - golden_goal = other334.golden_goal; - red_card_probability = other334.red_card_probability; - illegal_defense_duration = other334.illegal_defense_duration; - illegal_defense_number = other334.illegal_defense_number; - illegal_defense_dist_x = other334.illegal_defense_dist_x; - illegal_defense_width = other334.illegal_defense_width; - fixed_teamname_l = other334.fixed_teamname_l; - fixed_teamname_r = other334.fixed_teamname_r; - max_catch_angle = other334.max_catch_angle; - min_catch_angle = other334.min_catch_angle; - random_seed = other334.random_seed; - long_kick_power_factor = other334.long_kick_power_factor; - long_kick_delay = other334.long_kick_delay; - max_monitors = other334.max_monitors; - catchable_area = other334.catchable_area; - real_speed_max = other334.real_speed_max; - pitch_half_length = other334.pitch_half_length; - pitch_half_width = other334.pitch_half_width; - our_penalty_area_line_x = other334.our_penalty_area_line_x; - their_penalty_area_line_x = other334.their_penalty_area_line_x; - penalty_area_half_width = other334.penalty_area_half_width; - penalty_area_length = other334.penalty_area_length; - goal_width = other334.goal_width; - __isset = other334.__isset; - return *this; -} -void ServerParam::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "ServerParam("; - out << "register_response=" << to_string(register_response); - out << ", " << "inertia_moment=" << to_string(inertia_moment); - out << ", " << "player_size=" << to_string(player_size); - out << ", " << "player_decay=" << to_string(player_decay); - out << ", " << "player_rand=" << to_string(player_rand); - out << ", " << "player_weight=" << to_string(player_weight); - out << ", " << "player_speed_max=" << to_string(player_speed_max); - out << ", " << "player_accel_max=" << to_string(player_accel_max); - out << ", " << "stamina_max=" << to_string(stamina_max); - out << ", " << "stamina_inc_max=" << to_string(stamina_inc_max); - out << ", " << "recover_init=" << to_string(recover_init); - out << ", " << "recover_dec_thr=" << to_string(recover_dec_thr); - out << ", " << "recover_min=" << to_string(recover_min); - out << ", " << "recover_dec=" << to_string(recover_dec); - out << ", " << "effort_init=" << to_string(effort_init); - out << ", " << "effort_dec_thr=" << to_string(effort_dec_thr); - out << ", " << "effort_min=" << to_string(effort_min); - out << ", " << "effort_dec=" << to_string(effort_dec); - out << ", " << "effort_inc_thr=" << to_string(effort_inc_thr); - out << ", " << "effort_inc=" << to_string(effort_inc); - out << ", " << "kick_rand=" << to_string(kick_rand); - out << ", " << "team_actuator_noise=" << to_string(team_actuator_noise); - out << ", " << "player_rand_factor_l=" << to_string(player_rand_factor_l); - out << ", " << "player_rand_factor_r=" << to_string(player_rand_factor_r); - out << ", " << "kick_rand_factor_l=" << to_string(kick_rand_factor_l); - out << ", " << "kick_rand_factor_r=" << to_string(kick_rand_factor_r); - out << ", " << "ball_size=" << to_string(ball_size); - out << ", " << "ball_decay=" << to_string(ball_decay); - out << ", " << "ball_rand=" << to_string(ball_rand); - out << ", " << "ball_weight=" << to_string(ball_weight); - out << ", " << "ball_speed_max=" << to_string(ball_speed_max); - out << ", " << "ball_accel_max=" << to_string(ball_accel_max); - out << ", " << "dash_power_rate=" << to_string(dash_power_rate); - out << ", " << "kick_power_rate=" << to_string(kick_power_rate); - out << ", " << "kickable_margin=" << to_string(kickable_margin); - out << ", " << "control_radius=" << to_string(control_radius); - out << ", " << "control_radius_width=" << to_string(control_radius_width); - out << ", " << "max_power=" << to_string(max_power); - out << ", " << "min_power=" << to_string(min_power); - out << ", " << "max_moment=" << to_string(max_moment); - out << ", " << "min_moment=" << to_string(min_moment); - out << ", " << "max_neck_moment=" << to_string(max_neck_moment); - out << ", " << "min_neck_moment=" << to_string(min_neck_moment); - out << ", " << "max_neck_angle=" << to_string(max_neck_angle); - out << ", " << "min_neck_angle=" << to_string(min_neck_angle); - out << ", " << "visible_angle=" << to_string(visible_angle); - out << ", " << "visible_distance=" << to_string(visible_distance); - out << ", " << "wind_dir=" << to_string(wind_dir); - out << ", " << "wind_force=" << to_string(wind_force); - out << ", " << "wind_angle=" << to_string(wind_angle); - out << ", " << "wind_rand=" << to_string(wind_rand); - out << ", " << "kickable_area=" << to_string(kickable_area); - out << ", " << "catch_area_l=" << to_string(catch_area_l); - out << ", " << "catch_area_w=" << to_string(catch_area_w); - out << ", " << "catch_probability=" << to_string(catch_probability); - out << ", " << "goalie_max_moves=" << to_string(goalie_max_moves); - out << ", " << "corner_kick_margin=" << to_string(corner_kick_margin); - out << ", " << "offside_active_area_size=" << to_string(offside_active_area_size); - out << ", " << "wind_none=" << to_string(wind_none); - out << ", " << "use_wind_random=" << to_string(use_wind_random); - out << ", " << "coach_say_count_max=" << to_string(coach_say_count_max); - out << ", " << "coach_say_msg_size=" << to_string(coach_say_msg_size); - out << ", " << "clang_win_size=" << to_string(clang_win_size); - out << ", " << "clang_define_win=" << to_string(clang_define_win); - out << ", " << "clang_meta_win=" << to_string(clang_meta_win); - out << ", " << "clang_advice_win=" << to_string(clang_advice_win); - out << ", " << "clang_info_win=" << to_string(clang_info_win); - out << ", " << "clang_mess_delay=" << to_string(clang_mess_delay); - out << ", " << "clang_mess_per_cycle=" << to_string(clang_mess_per_cycle); - out << ", " << "half_time=" << to_string(half_time); - out << ", " << "simulator_step=" << to_string(simulator_step); - out << ", " << "send_step=" << to_string(send_step); - out << ", " << "recv_step=" << to_string(recv_step); - out << ", " << "sense_body_step=" << to_string(sense_body_step); - out << ", " << "lcm_step=" << to_string(lcm_step); - out << ", " << "player_say_msg_size=" << to_string(player_say_msg_size); - out << ", " << "player_hear_max=" << to_string(player_hear_max); - out << ", " << "player_hear_inc=" << to_string(player_hear_inc); - out << ", " << "player_hear_decay=" << to_string(player_hear_decay); - out << ", " << "catch_ban_cycle=" << to_string(catch_ban_cycle); - out << ", " << "slow_down_factor=" << to_string(slow_down_factor); - out << ", " << "use_offside=" << to_string(use_offside); - out << ", " << "kickoff_offside=" << to_string(kickoff_offside); - out << ", " << "offside_kick_margin=" << to_string(offside_kick_margin); - out << ", " << "audio_cut_dist=" << to_string(audio_cut_dist); - out << ", " << "dist_quantize_step=" << to_string(dist_quantize_step); - out << ", " << "landmark_dist_quantize_step=" << to_string(landmark_dist_quantize_step); - out << ", " << "dir_quantize_step=" << to_string(dir_quantize_step); - out << ", " << "dist_quantize_step_l=" << to_string(dist_quantize_step_l); - out << ", " << "dist_quantize_step_r=" << to_string(dist_quantize_step_r); - out << ", " << "landmark_dist_quantize_step_l=" << to_string(landmark_dist_quantize_step_l); - out << ", " << "landmark_dist_quantize_step_r=" << to_string(landmark_dist_quantize_step_r); - out << ", " << "dir_quantize_step_l=" << to_string(dir_quantize_step_l); - out << ", " << "dir_quantize_step_r=" << to_string(dir_quantize_step_r); - out << ", " << "coach_mode=" << to_string(coach_mode); - out << ", " << "coach_with_referee_mode=" << to_string(coach_with_referee_mode); - out << ", " << "use_old_coach_hear=" << to_string(use_old_coach_hear); - out << ", " << "slowness_on_top_for_left_team=" << to_string(slowness_on_top_for_left_team); - out << ", " << "slowness_on_top_for_right_team=" << to_string(slowness_on_top_for_right_team); - out << ", " << "start_goal_l=" << to_string(start_goal_l); - out << ", " << "start_goal_r=" << to_string(start_goal_r); - out << ", " << "fullstate_l=" << to_string(fullstate_l); - out << ", " << "fullstate_r=" << to_string(fullstate_r); - out << ", " << "drop_ball_time=" << to_string(drop_ball_time); - out << ", " << "synch_mode=" << to_string(synch_mode); - out << ", " << "synch_offset=" << to_string(synch_offset); - out << ", " << "synch_micro_sleep=" << to_string(synch_micro_sleep); - out << ", " << "point_to_ban=" << to_string(point_to_ban); - out << ", " << "point_to_duration=" << to_string(point_to_duration); - out << ", " << "player_port=" << to_string(player_port); - out << ", " << "trainer_port=" << to_string(trainer_port); - out << ", " << "online_coach_port=" << to_string(online_coach_port); - out << ", " << "verbose_mode=" << to_string(verbose_mode); - out << ", " << "coach_send_vi_step=" << to_string(coach_send_vi_step); - out << ", " << "replay_file=" << to_string(replay_file); - out << ", " << "landmark_file=" << to_string(landmark_file); - out << ", " << "send_comms=" << to_string(send_comms); - out << ", " << "text_logging=" << to_string(text_logging); - out << ", " << "game_logging=" << to_string(game_logging); - out << ", " << "game_log_version=" << to_string(game_log_version); - out << ", " << "text_log_dir=" << to_string(text_log_dir); - out << ", " << "game_log_dir=" << to_string(game_log_dir); - out << ", " << "text_log_fixed_name=" << to_string(text_log_fixed_name); - out << ", " << "game_log_fixed_name=" << to_string(game_log_fixed_name); - out << ", " << "use_text_log_fixed=" << to_string(use_text_log_fixed); - out << ", " << "use_game_log_fixed=" << to_string(use_game_log_fixed); - out << ", " << "use_text_log_dated=" << to_string(use_text_log_dated); - out << ", " << "use_game_log_dated=" << to_string(use_game_log_dated); - out << ", " << "log_date_format=" << to_string(log_date_format); - out << ", " << "log_times=" << to_string(log_times); - out << ", " << "record_message=" << to_string(record_message); - out << ", " << "text_log_compression=" << to_string(text_log_compression); - out << ", " << "game_log_compression=" << to_string(game_log_compression); - out << ", " << "use_profile=" << to_string(use_profile); - out << ", " << "tackle_dist=" << to_string(tackle_dist); - out << ", " << "tackle_back_dist=" << to_string(tackle_back_dist); - out << ", " << "tackle_width=" << to_string(tackle_width); - out << ", " << "tackle_exponent=" << to_string(tackle_exponent); - out << ", " << "tackle_cycles=" << to_string(tackle_cycles); - out << ", " << "tackle_power_rate=" << to_string(tackle_power_rate); - out << ", " << "freeform_wait_period=" << to_string(freeform_wait_period); - out << ", " << "freeform_send_period=" << to_string(freeform_send_period); - out << ", " << "free_kick_faults=" << to_string(free_kick_faults); - out << ", " << "back_passes=" << to_string(back_passes); - out << ", " << "proper_goal_kicks=" << to_string(proper_goal_kicks); - out << ", " << "stopped_ball_vel=" << to_string(stopped_ball_vel); - out << ", " << "max_goal_kicks=" << to_string(max_goal_kicks); - out << ", " << "clang_del_win=" << to_string(clang_del_win); - out << ", " << "clang_rule_win=" << to_string(clang_rule_win); - out << ", " << "auto_mode=" << to_string(auto_mode); - out << ", " << "kick_off_wait=" << to_string(kick_off_wait); - out << ", " << "connect_wait=" << to_string(connect_wait); - out << ", " << "game_over_wait=" << to_string(game_over_wait); - out << ", " << "team_l_start=" << to_string(team_l_start); - out << ", " << "team_r_start=" << to_string(team_r_start); - out << ", " << "keepaway_mode=" << to_string(keepaway_mode); - out << ", " << "keepaway_length=" << to_string(keepaway_length); - out << ", " << "keepaway_width=" << to_string(keepaway_width); - out << ", " << "keepaway_logging=" << to_string(keepaway_logging); - out << ", " << "keepaway_log_dir=" << to_string(keepaway_log_dir); - out << ", " << "keepaway_log_fixed_name=" << to_string(keepaway_log_fixed_name); - out << ", " << "keepaway_log_fixed=" << to_string(keepaway_log_fixed); - out << ", " << "keepaway_log_dated=" << to_string(keepaway_log_dated); - out << ", " << "keepaway_start=" << to_string(keepaway_start); - out << ", " << "nr_normal_halfs=" << to_string(nr_normal_halfs); - out << ", " << "nr_extra_halfs=" << to_string(nr_extra_halfs); - out << ", " << "penalty_shoot_outs=" << to_string(penalty_shoot_outs); - out << ", " << "pen_before_setup_wait=" << to_string(pen_before_setup_wait); - out << ", " << "pen_setup_wait=" << to_string(pen_setup_wait); - out << ", " << "pen_ready_wait=" << to_string(pen_ready_wait); - out << ", " << "pen_taken_wait=" << to_string(pen_taken_wait); - out << ", " << "pen_nr_kicks=" << to_string(pen_nr_kicks); - out << ", " << "pen_max_extra_kicks=" << to_string(pen_max_extra_kicks); - out << ", " << "pen_dist_x=" << to_string(pen_dist_x); - out << ", " << "pen_random_winner=" << to_string(pen_random_winner); - out << ", " << "pen_allow_mult_kicks=" << to_string(pen_allow_mult_kicks); - out << ", " << "pen_max_goalie_dist_x=" << to_string(pen_max_goalie_dist_x); - out << ", " << "pen_coach_moves_players=" << to_string(pen_coach_moves_players); - out << ", " << "module_dir=" << to_string(module_dir); - out << ", " << "ball_stuck_area=" << to_string(ball_stuck_area); - out << ", " << "coach_msg_file=" << to_string(coach_msg_file); - out << ", " << "max_tackle_power=" << to_string(max_tackle_power); - out << ", " << "max_back_tackle_power=" << to_string(max_back_tackle_power); - out << ", " << "player_speed_max_min=" << to_string(player_speed_max_min); - out << ", " << "extra_stamina=" << to_string(extra_stamina); - out << ", " << "synch_see_offset=" << to_string(synch_see_offset); - out << ", " << "extra_half_time=" << to_string(extra_half_time); - out << ", " << "stamina_capacity=" << to_string(stamina_capacity); - out << ", " << "max_dash_angle=" << to_string(max_dash_angle); - out << ", " << "min_dash_angle=" << to_string(min_dash_angle); - out << ", " << "dash_angle_step=" << to_string(dash_angle_step); - out << ", " << "side_dash_rate=" << to_string(side_dash_rate); - out << ", " << "back_dash_rate=" << to_string(back_dash_rate); - out << ", " << "max_dash_power=" << to_string(max_dash_power); - out << ", " << "min_dash_power=" << to_string(min_dash_power); - out << ", " << "tackle_rand_factor=" << to_string(tackle_rand_factor); - out << ", " << "foul_detect_probability=" << to_string(foul_detect_probability); - out << ", " << "foul_exponent=" << to_string(foul_exponent); - out << ", " << "foul_cycles=" << to_string(foul_cycles); - out << ", " << "golden_goal=" << to_string(golden_goal); - out << ", " << "red_card_probability=" << to_string(red_card_probability); - out << ", " << "illegal_defense_duration=" << to_string(illegal_defense_duration); - out << ", " << "illegal_defense_number=" << to_string(illegal_defense_number); - out << ", " << "illegal_defense_dist_x=" << to_string(illegal_defense_dist_x); - out << ", " << "illegal_defense_width=" << to_string(illegal_defense_width); - out << ", " << "fixed_teamname_l=" << to_string(fixed_teamname_l); - out << ", " << "fixed_teamname_r=" << to_string(fixed_teamname_r); - out << ", " << "max_catch_angle=" << to_string(max_catch_angle); - out << ", " << "min_catch_angle=" << to_string(min_catch_angle); - out << ", " << "random_seed=" << to_string(random_seed); - out << ", " << "long_kick_power_factor=" << to_string(long_kick_power_factor); - out << ", " << "long_kick_delay=" << to_string(long_kick_delay); - out << ", " << "max_monitors=" << to_string(max_monitors); - out << ", " << "catchable_area=" << to_string(catchable_area); - out << ", " << "real_speed_max=" << to_string(real_speed_max); - out << ", " << "pitch_half_length=" << to_string(pitch_half_length); - out << ", " << "pitch_half_width=" << to_string(pitch_half_width); - out << ", " << "our_penalty_area_line_x=" << to_string(our_penalty_area_line_x); - out << ", " << "their_penalty_area_line_x=" << to_string(their_penalty_area_line_x); - out << ", " << "penalty_area_half_width=" << to_string(penalty_area_half_width); - out << ", " << "penalty_area_length=" << to_string(penalty_area_length); - out << ", " << "goal_width=" << to_string(goal_width); - out << ")"; -} - - -PlayerParam::~PlayerParam() noexcept { -} - - -void PlayerParam::__set_register_response(const RegisterResponse& val) { - this->register_response = val; -} - -void PlayerParam::__set_player_types(const int32_t val) { - this->player_types = val; -} - -void PlayerParam::__set_subs_max(const int32_t val) { - this->subs_max = val; -} - -void PlayerParam::__set_pt_max(const int32_t val) { - this->pt_max = val; -} - -void PlayerParam::__set_allow_mult_default_type(const bool val) { - this->allow_mult_default_type = val; -} - -void PlayerParam::__set_player_speed_max_delta_min(const double val) { - this->player_speed_max_delta_min = val; -} - -void PlayerParam::__set_player_speed_max_delta_max(const double val) { - this->player_speed_max_delta_max = val; -} - -void PlayerParam::__set_stamina_inc_max_delta_factor(const double val) { - this->stamina_inc_max_delta_factor = val; -} - -void PlayerParam::__set_player_decay_delta_min(const double val) { - this->player_decay_delta_min = val; -} - -void PlayerParam::__set_player_decay_delta_max(const double val) { - this->player_decay_delta_max = val; -} - -void PlayerParam::__set_inertia_moment_delta_factor(const double val) { - this->inertia_moment_delta_factor = val; -} - -void PlayerParam::__set_dash_power_rate_delta_min(const double val) { - this->dash_power_rate_delta_min = val; -} - -void PlayerParam::__set_dash_power_rate_delta_max(const double val) { - this->dash_power_rate_delta_max = val; -} - -void PlayerParam::__set_player_size_delta_factor(const double val) { - this->player_size_delta_factor = val; -} - -void PlayerParam::__set_kickable_margin_delta_min(const double val) { - this->kickable_margin_delta_min = val; -} - -void PlayerParam::__set_kickable_margin_delta_max(const double val) { - this->kickable_margin_delta_max = val; -} - -void PlayerParam::__set_kick_rand_delta_factor(const double val) { - this->kick_rand_delta_factor = val; -} - -void PlayerParam::__set_extra_stamina_delta_min(const double val) { - this->extra_stamina_delta_min = val; -} - -void PlayerParam::__set_extra_stamina_delta_max(const double val) { - this->extra_stamina_delta_max = val; -} - -void PlayerParam::__set_effort_max_delta_factor(const double val) { - this->effort_max_delta_factor = val; -} - -void PlayerParam::__set_effort_min_delta_factor(const double val) { - this->effort_min_delta_factor = val; -} - -void PlayerParam::__set_random_seed(const int32_t val) { - this->random_seed = val; -} - -void PlayerParam::__set_new_dash_power_rate_delta_min(const double val) { - this->new_dash_power_rate_delta_min = val; -} - -void PlayerParam::__set_new_dash_power_rate_delta_max(const double val) { - this->new_dash_power_rate_delta_max = val; -} - -void PlayerParam::__set_new_stamina_inc_max_delta_factor(const double val) { - this->new_stamina_inc_max_delta_factor = val; -} - -void PlayerParam::__set_kick_power_rate_delta_min(const double val) { - this->kick_power_rate_delta_min = val; -} - -void PlayerParam::__set_kick_power_rate_delta_max(const double val) { - this->kick_power_rate_delta_max = val; -} - -void PlayerParam::__set_foul_detect_probability_delta_factor(const double val) { - this->foul_detect_probability_delta_factor = val; -} - -void PlayerParam::__set_catchable_area_l_stretch_min(const double val) { - this->catchable_area_l_stretch_min = val; -} - -void PlayerParam::__set_catchable_area_l_stretch_max(const double val) { - this->catchable_area_l_stretch_max = val; -} -std::ostream& operator<<(std::ostream& out, const PlayerParam& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t PlayerParam::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->register_response.read(iprot); - this->__isset.register_response = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->player_types); - this->__isset.player_types = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->subs_max); - this->__isset.subs_max = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->pt_max); - this->__isset.pt_max = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->allow_mult_default_type); - this->__isset.allow_mult_default_type = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 6: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->player_speed_max_delta_min); - this->__isset.player_speed_max_delta_min = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 7: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->player_speed_max_delta_max); - this->__isset.player_speed_max_delta_max = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 8: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->stamina_inc_max_delta_factor); - this->__isset.stamina_inc_max_delta_factor = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 9: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->player_decay_delta_min); - this->__isset.player_decay_delta_min = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 10: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->player_decay_delta_max); - this->__isset.player_decay_delta_max = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 11: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->inertia_moment_delta_factor); - this->__isset.inertia_moment_delta_factor = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 12: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->dash_power_rate_delta_min); - this->__isset.dash_power_rate_delta_min = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 13: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->dash_power_rate_delta_max); - this->__isset.dash_power_rate_delta_max = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 14: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->player_size_delta_factor); - this->__isset.player_size_delta_factor = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 15: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->kickable_margin_delta_min); - this->__isset.kickable_margin_delta_min = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 16: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->kickable_margin_delta_max); - this->__isset.kickable_margin_delta_max = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 17: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->kick_rand_delta_factor); - this->__isset.kick_rand_delta_factor = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 18: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->extra_stamina_delta_min); - this->__isset.extra_stamina_delta_min = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 19: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->extra_stamina_delta_max); - this->__isset.extra_stamina_delta_max = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 20: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->effort_max_delta_factor); - this->__isset.effort_max_delta_factor = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 21: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->effort_min_delta_factor); - this->__isset.effort_min_delta_factor = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 22: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->random_seed); - this->__isset.random_seed = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 23: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->new_dash_power_rate_delta_min); - this->__isset.new_dash_power_rate_delta_min = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 24: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->new_dash_power_rate_delta_max); - this->__isset.new_dash_power_rate_delta_max = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 25: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->new_stamina_inc_max_delta_factor); - this->__isset.new_stamina_inc_max_delta_factor = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 26: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->kick_power_rate_delta_min); - this->__isset.kick_power_rate_delta_min = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 27: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->kick_power_rate_delta_max); - this->__isset.kick_power_rate_delta_max = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 28: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->foul_detect_probability_delta_factor); - this->__isset.foul_detect_probability_delta_factor = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 29: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->catchable_area_l_stretch_min); - this->__isset.catchable_area_l_stretch_min = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 30: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->catchable_area_l_stretch_max); - this->__isset.catchable_area_l_stretch_max = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t PlayerParam::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("PlayerParam"); - - xfer += oprot->writeFieldBegin("register_response", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->register_response.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("player_types", ::apache::thrift::protocol::T_I32, 2); - xfer += oprot->writeI32(this->player_types); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("subs_max", ::apache::thrift::protocol::T_I32, 3); - xfer += oprot->writeI32(this->subs_max); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("pt_max", ::apache::thrift::protocol::T_I32, 4); - xfer += oprot->writeI32(this->pt_max); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("allow_mult_default_type", ::apache::thrift::protocol::T_BOOL, 5); - xfer += oprot->writeBool(this->allow_mult_default_type); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("player_speed_max_delta_min", ::apache::thrift::protocol::T_DOUBLE, 6); - xfer += oprot->writeDouble(this->player_speed_max_delta_min); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("player_speed_max_delta_max", ::apache::thrift::protocol::T_DOUBLE, 7); - xfer += oprot->writeDouble(this->player_speed_max_delta_max); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("stamina_inc_max_delta_factor", ::apache::thrift::protocol::T_DOUBLE, 8); - xfer += oprot->writeDouble(this->stamina_inc_max_delta_factor); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("player_decay_delta_min", ::apache::thrift::protocol::T_DOUBLE, 9); - xfer += oprot->writeDouble(this->player_decay_delta_min); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("player_decay_delta_max", ::apache::thrift::protocol::T_DOUBLE, 10); - xfer += oprot->writeDouble(this->player_decay_delta_max); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("inertia_moment_delta_factor", ::apache::thrift::protocol::T_DOUBLE, 11); - xfer += oprot->writeDouble(this->inertia_moment_delta_factor); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("dash_power_rate_delta_min", ::apache::thrift::protocol::T_DOUBLE, 12); - xfer += oprot->writeDouble(this->dash_power_rate_delta_min); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("dash_power_rate_delta_max", ::apache::thrift::protocol::T_DOUBLE, 13); - xfer += oprot->writeDouble(this->dash_power_rate_delta_max); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("player_size_delta_factor", ::apache::thrift::protocol::T_DOUBLE, 14); - xfer += oprot->writeDouble(this->player_size_delta_factor); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("kickable_margin_delta_min", ::apache::thrift::protocol::T_DOUBLE, 15); - xfer += oprot->writeDouble(this->kickable_margin_delta_min); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("kickable_margin_delta_max", ::apache::thrift::protocol::T_DOUBLE, 16); - xfer += oprot->writeDouble(this->kickable_margin_delta_max); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("kick_rand_delta_factor", ::apache::thrift::protocol::T_DOUBLE, 17); - xfer += oprot->writeDouble(this->kick_rand_delta_factor); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("extra_stamina_delta_min", ::apache::thrift::protocol::T_DOUBLE, 18); - xfer += oprot->writeDouble(this->extra_stamina_delta_min); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("extra_stamina_delta_max", ::apache::thrift::protocol::T_DOUBLE, 19); - xfer += oprot->writeDouble(this->extra_stamina_delta_max); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("effort_max_delta_factor", ::apache::thrift::protocol::T_DOUBLE, 20); - xfer += oprot->writeDouble(this->effort_max_delta_factor); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("effort_min_delta_factor", ::apache::thrift::protocol::T_DOUBLE, 21); - xfer += oprot->writeDouble(this->effort_min_delta_factor); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("random_seed", ::apache::thrift::protocol::T_I32, 22); - xfer += oprot->writeI32(this->random_seed); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("new_dash_power_rate_delta_min", ::apache::thrift::protocol::T_DOUBLE, 23); - xfer += oprot->writeDouble(this->new_dash_power_rate_delta_min); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("new_dash_power_rate_delta_max", ::apache::thrift::protocol::T_DOUBLE, 24); - xfer += oprot->writeDouble(this->new_dash_power_rate_delta_max); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("new_stamina_inc_max_delta_factor", ::apache::thrift::protocol::T_DOUBLE, 25); - xfer += oprot->writeDouble(this->new_stamina_inc_max_delta_factor); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("kick_power_rate_delta_min", ::apache::thrift::protocol::T_DOUBLE, 26); - xfer += oprot->writeDouble(this->kick_power_rate_delta_min); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("kick_power_rate_delta_max", ::apache::thrift::protocol::T_DOUBLE, 27); - xfer += oprot->writeDouble(this->kick_power_rate_delta_max); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("foul_detect_probability_delta_factor", ::apache::thrift::protocol::T_DOUBLE, 28); - xfer += oprot->writeDouble(this->foul_detect_probability_delta_factor); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("catchable_area_l_stretch_min", ::apache::thrift::protocol::T_DOUBLE, 29); - xfer += oprot->writeDouble(this->catchable_area_l_stretch_min); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("catchable_area_l_stretch_max", ::apache::thrift::protocol::T_DOUBLE, 30); - xfer += oprot->writeDouble(this->catchable_area_l_stretch_max); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(PlayerParam &a, PlayerParam &b) { - using ::std::swap; - swap(a.register_response, b.register_response); - swap(a.player_types, b.player_types); - swap(a.subs_max, b.subs_max); - swap(a.pt_max, b.pt_max); - swap(a.allow_mult_default_type, b.allow_mult_default_type); - swap(a.player_speed_max_delta_min, b.player_speed_max_delta_min); - swap(a.player_speed_max_delta_max, b.player_speed_max_delta_max); - swap(a.stamina_inc_max_delta_factor, b.stamina_inc_max_delta_factor); - swap(a.player_decay_delta_min, b.player_decay_delta_min); - swap(a.player_decay_delta_max, b.player_decay_delta_max); - swap(a.inertia_moment_delta_factor, b.inertia_moment_delta_factor); - swap(a.dash_power_rate_delta_min, b.dash_power_rate_delta_min); - swap(a.dash_power_rate_delta_max, b.dash_power_rate_delta_max); - swap(a.player_size_delta_factor, b.player_size_delta_factor); - swap(a.kickable_margin_delta_min, b.kickable_margin_delta_min); - swap(a.kickable_margin_delta_max, b.kickable_margin_delta_max); - swap(a.kick_rand_delta_factor, b.kick_rand_delta_factor); - swap(a.extra_stamina_delta_min, b.extra_stamina_delta_min); - swap(a.extra_stamina_delta_max, b.extra_stamina_delta_max); - swap(a.effort_max_delta_factor, b.effort_max_delta_factor); - swap(a.effort_min_delta_factor, b.effort_min_delta_factor); - swap(a.random_seed, b.random_seed); - swap(a.new_dash_power_rate_delta_min, b.new_dash_power_rate_delta_min); - swap(a.new_dash_power_rate_delta_max, b.new_dash_power_rate_delta_max); - swap(a.new_stamina_inc_max_delta_factor, b.new_stamina_inc_max_delta_factor); - swap(a.kick_power_rate_delta_min, b.kick_power_rate_delta_min); - swap(a.kick_power_rate_delta_max, b.kick_power_rate_delta_max); - swap(a.foul_detect_probability_delta_factor, b.foul_detect_probability_delta_factor); - swap(a.catchable_area_l_stretch_min, b.catchable_area_l_stretch_min); - swap(a.catchable_area_l_stretch_max, b.catchable_area_l_stretch_max); - swap(a.__isset, b.__isset); -} - -PlayerParam::PlayerParam(const PlayerParam& other335) { - register_response = other335.register_response; - player_types = other335.player_types; - subs_max = other335.subs_max; - pt_max = other335.pt_max; - allow_mult_default_type = other335.allow_mult_default_type; - player_speed_max_delta_min = other335.player_speed_max_delta_min; - player_speed_max_delta_max = other335.player_speed_max_delta_max; - stamina_inc_max_delta_factor = other335.stamina_inc_max_delta_factor; - player_decay_delta_min = other335.player_decay_delta_min; - player_decay_delta_max = other335.player_decay_delta_max; - inertia_moment_delta_factor = other335.inertia_moment_delta_factor; - dash_power_rate_delta_min = other335.dash_power_rate_delta_min; - dash_power_rate_delta_max = other335.dash_power_rate_delta_max; - player_size_delta_factor = other335.player_size_delta_factor; - kickable_margin_delta_min = other335.kickable_margin_delta_min; - kickable_margin_delta_max = other335.kickable_margin_delta_max; - kick_rand_delta_factor = other335.kick_rand_delta_factor; - extra_stamina_delta_min = other335.extra_stamina_delta_min; - extra_stamina_delta_max = other335.extra_stamina_delta_max; - effort_max_delta_factor = other335.effort_max_delta_factor; - effort_min_delta_factor = other335.effort_min_delta_factor; - random_seed = other335.random_seed; - new_dash_power_rate_delta_min = other335.new_dash_power_rate_delta_min; - new_dash_power_rate_delta_max = other335.new_dash_power_rate_delta_max; - new_stamina_inc_max_delta_factor = other335.new_stamina_inc_max_delta_factor; - kick_power_rate_delta_min = other335.kick_power_rate_delta_min; - kick_power_rate_delta_max = other335.kick_power_rate_delta_max; - foul_detect_probability_delta_factor = other335.foul_detect_probability_delta_factor; - catchable_area_l_stretch_min = other335.catchable_area_l_stretch_min; - catchable_area_l_stretch_max = other335.catchable_area_l_stretch_max; - __isset = other335.__isset; -} -PlayerParam& PlayerParam::operator=(const PlayerParam& other336) { - register_response = other336.register_response; - player_types = other336.player_types; - subs_max = other336.subs_max; - pt_max = other336.pt_max; - allow_mult_default_type = other336.allow_mult_default_type; - player_speed_max_delta_min = other336.player_speed_max_delta_min; - player_speed_max_delta_max = other336.player_speed_max_delta_max; - stamina_inc_max_delta_factor = other336.stamina_inc_max_delta_factor; - player_decay_delta_min = other336.player_decay_delta_min; - player_decay_delta_max = other336.player_decay_delta_max; - inertia_moment_delta_factor = other336.inertia_moment_delta_factor; - dash_power_rate_delta_min = other336.dash_power_rate_delta_min; - dash_power_rate_delta_max = other336.dash_power_rate_delta_max; - player_size_delta_factor = other336.player_size_delta_factor; - kickable_margin_delta_min = other336.kickable_margin_delta_min; - kickable_margin_delta_max = other336.kickable_margin_delta_max; - kick_rand_delta_factor = other336.kick_rand_delta_factor; - extra_stamina_delta_min = other336.extra_stamina_delta_min; - extra_stamina_delta_max = other336.extra_stamina_delta_max; - effort_max_delta_factor = other336.effort_max_delta_factor; - effort_min_delta_factor = other336.effort_min_delta_factor; - random_seed = other336.random_seed; - new_dash_power_rate_delta_min = other336.new_dash_power_rate_delta_min; - new_dash_power_rate_delta_max = other336.new_dash_power_rate_delta_max; - new_stamina_inc_max_delta_factor = other336.new_stamina_inc_max_delta_factor; - kick_power_rate_delta_min = other336.kick_power_rate_delta_min; - kick_power_rate_delta_max = other336.kick_power_rate_delta_max; - foul_detect_probability_delta_factor = other336.foul_detect_probability_delta_factor; - catchable_area_l_stretch_min = other336.catchable_area_l_stretch_min; - catchable_area_l_stretch_max = other336.catchable_area_l_stretch_max; - __isset = other336.__isset; - return *this; -} -void PlayerParam::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "PlayerParam("; - out << "register_response=" << to_string(register_response); - out << ", " << "player_types=" << to_string(player_types); - out << ", " << "subs_max=" << to_string(subs_max); - out << ", " << "pt_max=" << to_string(pt_max); - out << ", " << "allow_mult_default_type=" << to_string(allow_mult_default_type); - out << ", " << "player_speed_max_delta_min=" << to_string(player_speed_max_delta_min); - out << ", " << "player_speed_max_delta_max=" << to_string(player_speed_max_delta_max); - out << ", " << "stamina_inc_max_delta_factor=" << to_string(stamina_inc_max_delta_factor); - out << ", " << "player_decay_delta_min=" << to_string(player_decay_delta_min); - out << ", " << "player_decay_delta_max=" << to_string(player_decay_delta_max); - out << ", " << "inertia_moment_delta_factor=" << to_string(inertia_moment_delta_factor); - out << ", " << "dash_power_rate_delta_min=" << to_string(dash_power_rate_delta_min); - out << ", " << "dash_power_rate_delta_max=" << to_string(dash_power_rate_delta_max); - out << ", " << "player_size_delta_factor=" << to_string(player_size_delta_factor); - out << ", " << "kickable_margin_delta_min=" << to_string(kickable_margin_delta_min); - out << ", " << "kickable_margin_delta_max=" << to_string(kickable_margin_delta_max); - out << ", " << "kick_rand_delta_factor=" << to_string(kick_rand_delta_factor); - out << ", " << "extra_stamina_delta_min=" << to_string(extra_stamina_delta_min); - out << ", " << "extra_stamina_delta_max=" << to_string(extra_stamina_delta_max); - out << ", " << "effort_max_delta_factor=" << to_string(effort_max_delta_factor); - out << ", " << "effort_min_delta_factor=" << to_string(effort_min_delta_factor); - out << ", " << "random_seed=" << to_string(random_seed); - out << ", " << "new_dash_power_rate_delta_min=" << to_string(new_dash_power_rate_delta_min); - out << ", " << "new_dash_power_rate_delta_max=" << to_string(new_dash_power_rate_delta_max); - out << ", " << "new_stamina_inc_max_delta_factor=" << to_string(new_stamina_inc_max_delta_factor); - out << ", " << "kick_power_rate_delta_min=" << to_string(kick_power_rate_delta_min); - out << ", " << "kick_power_rate_delta_max=" << to_string(kick_power_rate_delta_max); - out << ", " << "foul_detect_probability_delta_factor=" << to_string(foul_detect_probability_delta_factor); - out << ", " << "catchable_area_l_stretch_min=" << to_string(catchable_area_l_stretch_min); - out << ", " << "catchable_area_l_stretch_max=" << to_string(catchable_area_l_stretch_max); - out << ")"; -} - - -PlayerType::~PlayerType() noexcept { -} - - -void PlayerType::__set_register_response(const RegisterResponse& val) { - this->register_response = val; -} - -void PlayerType::__set_id(const int32_t val) { - this->id = val; -} - -void PlayerType::__set_stamina_inc_max(const double val) { - this->stamina_inc_max = val; -} - -void PlayerType::__set_player_decay(const double val) { - this->player_decay = val; -} - -void PlayerType::__set_inertia_moment(const double val) { - this->inertia_moment = val; -} - -void PlayerType::__set_dash_power_rate(const double val) { - this->dash_power_rate = val; -} - -void PlayerType::__set_player_size(const double val) { - this->player_size = val; -} - -void PlayerType::__set_kickable_margin(const double val) { - this->kickable_margin = val; -} - -void PlayerType::__set_kick_rand(const double val) { - this->kick_rand = val; -} - -void PlayerType::__set_extra_stamina(const double val) { - this->extra_stamina = val; -} - -void PlayerType::__set_effort_max(const double val) { - this->effort_max = val; -} - -void PlayerType::__set_effort_min(const double val) { - this->effort_min = val; -} - -void PlayerType::__set_kick_power_rate(const double val) { - this->kick_power_rate = val; -} - -void PlayerType::__set_foul_detect_probability(const double val) { - this->foul_detect_probability = val; -} - -void PlayerType::__set_catchable_area_l_stretch(const double val) { - this->catchable_area_l_stretch = val; -} - -void PlayerType::__set_unum_far_length(const double val) { - this->unum_far_length = val; -} - -void PlayerType::__set_unum_too_far_length(const double val) { - this->unum_too_far_length = val; -} - -void PlayerType::__set_team_far_length(const double val) { - this->team_far_length = val; -} - -void PlayerType::__set_team_too_far_length(const double val) { - this->team_too_far_length = val; -} - -void PlayerType::__set_player_max_observation_length(const double val) { - this->player_max_observation_length = val; -} - -void PlayerType::__set_ball_vel_far_length(const double val) { - this->ball_vel_far_length = val; -} - -void PlayerType::__set_ball_vel_too_far_length(const double val) { - this->ball_vel_too_far_length = val; -} - -void PlayerType::__set_ball_max_observation_length(const double val) { - this->ball_max_observation_length = val; -} - -void PlayerType::__set_flag_chg_far_length(const double val) { - this->flag_chg_far_length = val; -} - -void PlayerType::__set_flag_chg_too_far_length(const double val) { - this->flag_chg_too_far_length = val; -} - -void PlayerType::__set_flag_max_observation_length(const double val) { - this->flag_max_observation_length = val; -} - -void PlayerType::__set_kickable_area(const double val) { - this->kickable_area = val; -} - -void PlayerType::__set_reliable_catchable_dist(const double val) { - this->reliable_catchable_dist = val; -} - -void PlayerType::__set_max_catchable_dist(const double val) { - this->max_catchable_dist = val; -} - -void PlayerType::__set_real_speed_max(const double val) { - this->real_speed_max = val; -} - -void PlayerType::__set_player_speed_max2(const double val) { - this->player_speed_max2 = val; -} - -void PlayerType::__set_real_speed_max2(const double val) { - this->real_speed_max2 = val; -} - -void PlayerType::__set_cycles_to_reach_max_speed(const int32_t val) { - this->cycles_to_reach_max_speed = val; -} - -void PlayerType::__set_player_speed_max(const double val) { - this->player_speed_max = val; -} -std::ostream& operator<<(std::ostream& out, const PlayerType& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t PlayerType::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->register_response.read(iprot); - this->__isset.register_response = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->id); - this->__isset.id = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->stamina_inc_max); - this->__isset.stamina_inc_max = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->player_decay); - this->__isset.player_decay = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->inertia_moment); - this->__isset.inertia_moment = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 6: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->dash_power_rate); - this->__isset.dash_power_rate = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 7: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->player_size); - this->__isset.player_size = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 8: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->kickable_margin); - this->__isset.kickable_margin = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 9: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->kick_rand); - this->__isset.kick_rand = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 10: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->extra_stamina); - this->__isset.extra_stamina = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 11: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->effort_max); - this->__isset.effort_max = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 12: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->effort_min); - this->__isset.effort_min = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 13: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->kick_power_rate); - this->__isset.kick_power_rate = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 14: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->foul_detect_probability); - this->__isset.foul_detect_probability = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 15: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->catchable_area_l_stretch); - this->__isset.catchable_area_l_stretch = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 16: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->unum_far_length); - this->__isset.unum_far_length = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 17: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->unum_too_far_length); - this->__isset.unum_too_far_length = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 18: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->team_far_length); - this->__isset.team_far_length = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 19: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->team_too_far_length); - this->__isset.team_too_far_length = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 20: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->player_max_observation_length); - this->__isset.player_max_observation_length = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 21: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->ball_vel_far_length); - this->__isset.ball_vel_far_length = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 22: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->ball_vel_too_far_length); - this->__isset.ball_vel_too_far_length = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 23: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->ball_max_observation_length); - this->__isset.ball_max_observation_length = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 24: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->flag_chg_far_length); - this->__isset.flag_chg_far_length = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 25: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->flag_chg_too_far_length); - this->__isset.flag_chg_too_far_length = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 26: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->flag_max_observation_length); - this->__isset.flag_max_observation_length = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 27: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->kickable_area); - this->__isset.kickable_area = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 28: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->reliable_catchable_dist); - this->__isset.reliable_catchable_dist = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 29: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->max_catchable_dist); - this->__isset.max_catchable_dist = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 30: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->real_speed_max); - this->__isset.real_speed_max = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 31: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->player_speed_max2); - this->__isset.player_speed_max2 = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 32: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->real_speed_max2); - this->__isset.real_speed_max2 = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 33: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->cycles_to_reach_max_speed); - this->__isset.cycles_to_reach_max_speed = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 34: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->player_speed_max); - this->__isset.player_speed_max = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t PlayerType::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("PlayerType"); - - xfer += oprot->writeFieldBegin("register_response", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->register_response.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("id", ::apache::thrift::protocol::T_I32, 2); - xfer += oprot->writeI32(this->id); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("stamina_inc_max", ::apache::thrift::protocol::T_DOUBLE, 3); - xfer += oprot->writeDouble(this->stamina_inc_max); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("player_decay", ::apache::thrift::protocol::T_DOUBLE, 4); - xfer += oprot->writeDouble(this->player_decay); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("inertia_moment", ::apache::thrift::protocol::T_DOUBLE, 5); - xfer += oprot->writeDouble(this->inertia_moment); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("dash_power_rate", ::apache::thrift::protocol::T_DOUBLE, 6); - xfer += oprot->writeDouble(this->dash_power_rate); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("player_size", ::apache::thrift::protocol::T_DOUBLE, 7); - xfer += oprot->writeDouble(this->player_size); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("kickable_margin", ::apache::thrift::protocol::T_DOUBLE, 8); - xfer += oprot->writeDouble(this->kickable_margin); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("kick_rand", ::apache::thrift::protocol::T_DOUBLE, 9); - xfer += oprot->writeDouble(this->kick_rand); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("extra_stamina", ::apache::thrift::protocol::T_DOUBLE, 10); - xfer += oprot->writeDouble(this->extra_stamina); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("effort_max", ::apache::thrift::protocol::T_DOUBLE, 11); - xfer += oprot->writeDouble(this->effort_max); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("effort_min", ::apache::thrift::protocol::T_DOUBLE, 12); - xfer += oprot->writeDouble(this->effort_min); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("kick_power_rate", ::apache::thrift::protocol::T_DOUBLE, 13); - xfer += oprot->writeDouble(this->kick_power_rate); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("foul_detect_probability", ::apache::thrift::protocol::T_DOUBLE, 14); - xfer += oprot->writeDouble(this->foul_detect_probability); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("catchable_area_l_stretch", ::apache::thrift::protocol::T_DOUBLE, 15); - xfer += oprot->writeDouble(this->catchable_area_l_stretch); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("unum_far_length", ::apache::thrift::protocol::T_DOUBLE, 16); - xfer += oprot->writeDouble(this->unum_far_length); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("unum_too_far_length", ::apache::thrift::protocol::T_DOUBLE, 17); - xfer += oprot->writeDouble(this->unum_too_far_length); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("team_far_length", ::apache::thrift::protocol::T_DOUBLE, 18); - xfer += oprot->writeDouble(this->team_far_length); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("team_too_far_length", ::apache::thrift::protocol::T_DOUBLE, 19); - xfer += oprot->writeDouble(this->team_too_far_length); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("player_max_observation_length", ::apache::thrift::protocol::T_DOUBLE, 20); - xfer += oprot->writeDouble(this->player_max_observation_length); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("ball_vel_far_length", ::apache::thrift::protocol::T_DOUBLE, 21); - xfer += oprot->writeDouble(this->ball_vel_far_length); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("ball_vel_too_far_length", ::apache::thrift::protocol::T_DOUBLE, 22); - xfer += oprot->writeDouble(this->ball_vel_too_far_length); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("ball_max_observation_length", ::apache::thrift::protocol::T_DOUBLE, 23); - xfer += oprot->writeDouble(this->ball_max_observation_length); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("flag_chg_far_length", ::apache::thrift::protocol::T_DOUBLE, 24); - xfer += oprot->writeDouble(this->flag_chg_far_length); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("flag_chg_too_far_length", ::apache::thrift::protocol::T_DOUBLE, 25); - xfer += oprot->writeDouble(this->flag_chg_too_far_length); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("flag_max_observation_length", ::apache::thrift::protocol::T_DOUBLE, 26); - xfer += oprot->writeDouble(this->flag_max_observation_length); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("kickable_area", ::apache::thrift::protocol::T_DOUBLE, 27); - xfer += oprot->writeDouble(this->kickable_area); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("reliable_catchable_dist", ::apache::thrift::protocol::T_DOUBLE, 28); - xfer += oprot->writeDouble(this->reliable_catchable_dist); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("max_catchable_dist", ::apache::thrift::protocol::T_DOUBLE, 29); - xfer += oprot->writeDouble(this->max_catchable_dist); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("real_speed_max", ::apache::thrift::protocol::T_DOUBLE, 30); - xfer += oprot->writeDouble(this->real_speed_max); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("player_speed_max2", ::apache::thrift::protocol::T_DOUBLE, 31); - xfer += oprot->writeDouble(this->player_speed_max2); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("real_speed_max2", ::apache::thrift::protocol::T_DOUBLE, 32); - xfer += oprot->writeDouble(this->real_speed_max2); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("cycles_to_reach_max_speed", ::apache::thrift::protocol::T_I32, 33); - xfer += oprot->writeI32(this->cycles_to_reach_max_speed); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("player_speed_max", ::apache::thrift::protocol::T_DOUBLE, 34); - xfer += oprot->writeDouble(this->player_speed_max); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(PlayerType &a, PlayerType &b) { - using ::std::swap; - swap(a.register_response, b.register_response); - swap(a.id, b.id); - swap(a.stamina_inc_max, b.stamina_inc_max); - swap(a.player_decay, b.player_decay); - swap(a.inertia_moment, b.inertia_moment); - swap(a.dash_power_rate, b.dash_power_rate); - swap(a.player_size, b.player_size); - swap(a.kickable_margin, b.kickable_margin); - swap(a.kick_rand, b.kick_rand); - swap(a.extra_stamina, b.extra_stamina); - swap(a.effort_max, b.effort_max); - swap(a.effort_min, b.effort_min); - swap(a.kick_power_rate, b.kick_power_rate); - swap(a.foul_detect_probability, b.foul_detect_probability); - swap(a.catchable_area_l_stretch, b.catchable_area_l_stretch); - swap(a.unum_far_length, b.unum_far_length); - swap(a.unum_too_far_length, b.unum_too_far_length); - swap(a.team_far_length, b.team_far_length); - swap(a.team_too_far_length, b.team_too_far_length); - swap(a.player_max_observation_length, b.player_max_observation_length); - swap(a.ball_vel_far_length, b.ball_vel_far_length); - swap(a.ball_vel_too_far_length, b.ball_vel_too_far_length); - swap(a.ball_max_observation_length, b.ball_max_observation_length); - swap(a.flag_chg_far_length, b.flag_chg_far_length); - swap(a.flag_chg_too_far_length, b.flag_chg_too_far_length); - swap(a.flag_max_observation_length, b.flag_max_observation_length); - swap(a.kickable_area, b.kickable_area); - swap(a.reliable_catchable_dist, b.reliable_catchable_dist); - swap(a.max_catchable_dist, b.max_catchable_dist); - swap(a.real_speed_max, b.real_speed_max); - swap(a.player_speed_max2, b.player_speed_max2); - swap(a.real_speed_max2, b.real_speed_max2); - swap(a.cycles_to_reach_max_speed, b.cycles_to_reach_max_speed); - swap(a.player_speed_max, b.player_speed_max); - swap(a.__isset, b.__isset); -} - -PlayerType::PlayerType(const PlayerType& other337) { - register_response = other337.register_response; - id = other337.id; - stamina_inc_max = other337.stamina_inc_max; - player_decay = other337.player_decay; - inertia_moment = other337.inertia_moment; - dash_power_rate = other337.dash_power_rate; - player_size = other337.player_size; - kickable_margin = other337.kickable_margin; - kick_rand = other337.kick_rand; - extra_stamina = other337.extra_stamina; - effort_max = other337.effort_max; - effort_min = other337.effort_min; - kick_power_rate = other337.kick_power_rate; - foul_detect_probability = other337.foul_detect_probability; - catchable_area_l_stretch = other337.catchable_area_l_stretch; - unum_far_length = other337.unum_far_length; - unum_too_far_length = other337.unum_too_far_length; - team_far_length = other337.team_far_length; - team_too_far_length = other337.team_too_far_length; - player_max_observation_length = other337.player_max_observation_length; - ball_vel_far_length = other337.ball_vel_far_length; - ball_vel_too_far_length = other337.ball_vel_too_far_length; - ball_max_observation_length = other337.ball_max_observation_length; - flag_chg_far_length = other337.flag_chg_far_length; - flag_chg_too_far_length = other337.flag_chg_too_far_length; - flag_max_observation_length = other337.flag_max_observation_length; - kickable_area = other337.kickable_area; - reliable_catchable_dist = other337.reliable_catchable_dist; - max_catchable_dist = other337.max_catchable_dist; - real_speed_max = other337.real_speed_max; - player_speed_max2 = other337.player_speed_max2; - real_speed_max2 = other337.real_speed_max2; - cycles_to_reach_max_speed = other337.cycles_to_reach_max_speed; - player_speed_max = other337.player_speed_max; - __isset = other337.__isset; -} -PlayerType& PlayerType::operator=(const PlayerType& other338) { - register_response = other338.register_response; - id = other338.id; - stamina_inc_max = other338.stamina_inc_max; - player_decay = other338.player_decay; - inertia_moment = other338.inertia_moment; - dash_power_rate = other338.dash_power_rate; - player_size = other338.player_size; - kickable_margin = other338.kickable_margin; - kick_rand = other338.kick_rand; - extra_stamina = other338.extra_stamina; - effort_max = other338.effort_max; - effort_min = other338.effort_min; - kick_power_rate = other338.kick_power_rate; - foul_detect_probability = other338.foul_detect_probability; - catchable_area_l_stretch = other338.catchable_area_l_stretch; - unum_far_length = other338.unum_far_length; - unum_too_far_length = other338.unum_too_far_length; - team_far_length = other338.team_far_length; - team_too_far_length = other338.team_too_far_length; - player_max_observation_length = other338.player_max_observation_length; - ball_vel_far_length = other338.ball_vel_far_length; - ball_vel_too_far_length = other338.ball_vel_too_far_length; - ball_max_observation_length = other338.ball_max_observation_length; - flag_chg_far_length = other338.flag_chg_far_length; - flag_chg_too_far_length = other338.flag_chg_too_far_length; - flag_max_observation_length = other338.flag_max_observation_length; - kickable_area = other338.kickable_area; - reliable_catchable_dist = other338.reliable_catchable_dist; - max_catchable_dist = other338.max_catchable_dist; - real_speed_max = other338.real_speed_max; - player_speed_max2 = other338.player_speed_max2; - real_speed_max2 = other338.real_speed_max2; - cycles_to_reach_max_speed = other338.cycles_to_reach_max_speed; - player_speed_max = other338.player_speed_max; - __isset = other338.__isset; - return *this; -} -void PlayerType::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "PlayerType("; - out << "register_response=" << to_string(register_response); - out << ", " << "id=" << to_string(id); - out << ", " << "stamina_inc_max=" << to_string(stamina_inc_max); - out << ", " << "player_decay=" << to_string(player_decay); - out << ", " << "inertia_moment=" << to_string(inertia_moment); - out << ", " << "dash_power_rate=" << to_string(dash_power_rate); - out << ", " << "player_size=" << to_string(player_size); - out << ", " << "kickable_margin=" << to_string(kickable_margin); - out << ", " << "kick_rand=" << to_string(kick_rand); - out << ", " << "extra_stamina=" << to_string(extra_stamina); - out << ", " << "effort_max=" << to_string(effort_max); - out << ", " << "effort_min=" << to_string(effort_min); - out << ", " << "kick_power_rate=" << to_string(kick_power_rate); - out << ", " << "foul_detect_probability=" << to_string(foul_detect_probability); - out << ", " << "catchable_area_l_stretch=" << to_string(catchable_area_l_stretch); - out << ", " << "unum_far_length=" << to_string(unum_far_length); - out << ", " << "unum_too_far_length=" << to_string(unum_too_far_length); - out << ", " << "team_far_length=" << to_string(team_far_length); - out << ", " << "team_too_far_length=" << to_string(team_too_far_length); - out << ", " << "player_max_observation_length=" << to_string(player_max_observation_length); - out << ", " << "ball_vel_far_length=" << to_string(ball_vel_far_length); - out << ", " << "ball_vel_too_far_length=" << to_string(ball_vel_too_far_length); - out << ", " << "ball_max_observation_length=" << to_string(ball_max_observation_length); - out << ", " << "flag_chg_far_length=" << to_string(flag_chg_far_length); - out << ", " << "flag_chg_too_far_length=" << to_string(flag_chg_too_far_length); - out << ", " << "flag_max_observation_length=" << to_string(flag_max_observation_length); - out << ", " << "kickable_area=" << to_string(kickable_area); - out << ", " << "reliable_catchable_dist=" << to_string(reliable_catchable_dist); - out << ", " << "max_catchable_dist=" << to_string(max_catchable_dist); - out << ", " << "real_speed_max=" << to_string(real_speed_max); - out << ", " << "player_speed_max2=" << to_string(player_speed_max2); - out << ", " << "real_speed_max2=" << to_string(real_speed_max2); - out << ", " << "cycles_to_reach_max_speed=" << to_string(cycles_to_reach_max_speed); - out << ", " << "player_speed_max=" << to_string(player_speed_max); - out << ")"; -} - - -RpcCooperativeAction::~RpcCooperativeAction() noexcept { -} - - -void RpcCooperativeAction::__set_category(const RpcActionCategory::type val) { - this->category = val; -} - -void RpcCooperativeAction::__set_index(const int32_t val) { - this->index = val; -} - -void RpcCooperativeAction::__set_sender_unum(const int32_t val) { - this->sender_unum = val; -} - -void RpcCooperativeAction::__set_target_unum(const int32_t val) { - this->target_unum = val; -} - -void RpcCooperativeAction::__set_target_point(const RpcVector2D& val) { - this->target_point = val; -} - -void RpcCooperativeAction::__set_first_ball_speed(const double val) { - this->first_ball_speed = val; -} - -void RpcCooperativeAction::__set_first_turn_moment(const double val) { - this->first_turn_moment = val; -} - -void RpcCooperativeAction::__set_first_dash_power(const double val) { - this->first_dash_power = val; -} - -void RpcCooperativeAction::__set_first_dash_angle_relative(const double val) { - this->first_dash_angle_relative = val; -} - -void RpcCooperativeAction::__set_duration_step(const int32_t val) { - this->duration_step = val; -} - -void RpcCooperativeAction::__set_kick_count(const int32_t val) { - this->kick_count = val; -} - -void RpcCooperativeAction::__set_turn_count(const int32_t val) { - this->turn_count = val; -} - -void RpcCooperativeAction::__set_dash_count(const int32_t val) { - this->dash_count = val; -} - -void RpcCooperativeAction::__set_final_action(const bool val) { - this->final_action = val; -} - -void RpcCooperativeAction::__set_description(const std::string& val) { - this->description = val; -} - -void RpcCooperativeAction::__set_parent_index(const int32_t val) { - this->parent_index = val; -} -std::ostream& operator<<(std::ostream& out, const RpcCooperativeAction& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t RpcCooperativeAction::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast339; - xfer += iprot->readI32(ecast339); - this->category = static_cast(ecast339); - this->__isset.category = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->index); - this->__isset.index = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->sender_unum); - this->__isset.sender_unum = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->target_unum); - this->__isset.target_unum = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->target_point.read(iprot); - this->__isset.target_point = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 6: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->first_ball_speed); - this->__isset.first_ball_speed = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 7: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->first_turn_moment); - this->__isset.first_turn_moment = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 8: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->first_dash_power); - this->__isset.first_dash_power = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 9: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->first_dash_angle_relative); - this->__isset.first_dash_angle_relative = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 10: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->duration_step); - this->__isset.duration_step = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 11: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->kick_count); - this->__isset.kick_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 12: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->turn_count); - this->__isset.turn_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 13: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->dash_count); - this->__isset.dash_count = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 14: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->final_action); - this->__isset.final_action = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 15: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->description); - this->__isset.description = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 16: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->parent_index); - this->__isset.parent_index = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t RpcCooperativeAction::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("RpcCooperativeAction"); - - xfer += oprot->writeFieldBegin("category", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(static_cast(this->category)); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("index", ::apache::thrift::protocol::T_I32, 2); - xfer += oprot->writeI32(this->index); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("sender_unum", ::apache::thrift::protocol::T_I32, 3); - xfer += oprot->writeI32(this->sender_unum); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("target_unum", ::apache::thrift::protocol::T_I32, 4); - xfer += oprot->writeI32(this->target_unum); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("target_point", ::apache::thrift::protocol::T_STRUCT, 5); - xfer += this->target_point.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("first_ball_speed", ::apache::thrift::protocol::T_DOUBLE, 6); - xfer += oprot->writeDouble(this->first_ball_speed); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("first_turn_moment", ::apache::thrift::protocol::T_DOUBLE, 7); - xfer += oprot->writeDouble(this->first_turn_moment); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("first_dash_power", ::apache::thrift::protocol::T_DOUBLE, 8); - xfer += oprot->writeDouble(this->first_dash_power); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("first_dash_angle_relative", ::apache::thrift::protocol::T_DOUBLE, 9); - xfer += oprot->writeDouble(this->first_dash_angle_relative); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("duration_step", ::apache::thrift::protocol::T_I32, 10); - xfer += oprot->writeI32(this->duration_step); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("kick_count", ::apache::thrift::protocol::T_I32, 11); - xfer += oprot->writeI32(this->kick_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("turn_count", ::apache::thrift::protocol::T_I32, 12); - xfer += oprot->writeI32(this->turn_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("dash_count", ::apache::thrift::protocol::T_I32, 13); - xfer += oprot->writeI32(this->dash_count); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("final_action", ::apache::thrift::protocol::T_BOOL, 14); - xfer += oprot->writeBool(this->final_action); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("description", ::apache::thrift::protocol::T_STRING, 15); - xfer += oprot->writeString(this->description); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("parent_index", ::apache::thrift::protocol::T_I32, 16); - xfer += oprot->writeI32(this->parent_index); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(RpcCooperativeAction &a, RpcCooperativeAction &b) { - using ::std::swap; - swap(a.category, b.category); - swap(a.index, b.index); - swap(a.sender_unum, b.sender_unum); - swap(a.target_unum, b.target_unum); - swap(a.target_point, b.target_point); - swap(a.first_ball_speed, b.first_ball_speed); - swap(a.first_turn_moment, b.first_turn_moment); - swap(a.first_dash_power, b.first_dash_power); - swap(a.first_dash_angle_relative, b.first_dash_angle_relative); - swap(a.duration_step, b.duration_step); - swap(a.kick_count, b.kick_count); - swap(a.turn_count, b.turn_count); - swap(a.dash_count, b.dash_count); - swap(a.final_action, b.final_action); - swap(a.description, b.description); - swap(a.parent_index, b.parent_index); - swap(a.__isset, b.__isset); -} - -RpcCooperativeAction::RpcCooperativeAction(const RpcCooperativeAction& other340) { - category = other340.category; - index = other340.index; - sender_unum = other340.sender_unum; - target_unum = other340.target_unum; - target_point = other340.target_point; - first_ball_speed = other340.first_ball_speed; - first_turn_moment = other340.first_turn_moment; - first_dash_power = other340.first_dash_power; - first_dash_angle_relative = other340.first_dash_angle_relative; - duration_step = other340.duration_step; - kick_count = other340.kick_count; - turn_count = other340.turn_count; - dash_count = other340.dash_count; - final_action = other340.final_action; - description = other340.description; - parent_index = other340.parent_index; - __isset = other340.__isset; -} -RpcCooperativeAction& RpcCooperativeAction::operator=(const RpcCooperativeAction& other341) { - category = other341.category; - index = other341.index; - sender_unum = other341.sender_unum; - target_unum = other341.target_unum; - target_point = other341.target_point; - first_ball_speed = other341.first_ball_speed; - first_turn_moment = other341.first_turn_moment; - first_dash_power = other341.first_dash_power; - first_dash_angle_relative = other341.first_dash_angle_relative; - duration_step = other341.duration_step; - kick_count = other341.kick_count; - turn_count = other341.turn_count; - dash_count = other341.dash_count; - final_action = other341.final_action; - description = other341.description; - parent_index = other341.parent_index; - __isset = other341.__isset; - return *this; -} -void RpcCooperativeAction::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "RpcCooperativeAction("; - out << "category=" << to_string(category); - out << ", " << "index=" << to_string(index); - out << ", " << "sender_unum=" << to_string(sender_unum); - out << ", " << "target_unum=" << to_string(target_unum); - out << ", " << "target_point=" << to_string(target_point); - out << ", " << "first_ball_speed=" << to_string(first_ball_speed); - out << ", " << "first_turn_moment=" << to_string(first_turn_moment); - out << ", " << "first_dash_power=" << to_string(first_dash_power); - out << ", " << "first_dash_angle_relative=" << to_string(first_dash_angle_relative); - out << ", " << "duration_step=" << to_string(duration_step); - out << ", " << "kick_count=" << to_string(kick_count); - out << ", " << "turn_count=" << to_string(turn_count); - out << ", " << "dash_count=" << to_string(dash_count); - out << ", " << "final_action=" << to_string(final_action); - out << ", " << "description=" << to_string(description); - out << ", " << "parent_index=" << to_string(parent_index); - out << ")"; -} - - -RpcPredictState::~RpcPredictState() noexcept { -} - - -void RpcPredictState::__set_spend_time(const int32_t val) { - this->spend_time = val; -} - -void RpcPredictState::__set_ball_holder_unum(const int32_t val) { - this->ball_holder_unum = val; -} - -void RpcPredictState::__set_ball_position(const RpcVector2D& val) { - this->ball_position = val; -} - -void RpcPredictState::__set_ball_velocity(const RpcVector2D& val) { - this->ball_velocity = val; -} - -void RpcPredictState::__set_our_defense_line_x(const double val) { - this->our_defense_line_x = val; -} - -void RpcPredictState::__set_our_offense_line_x(const double val) { - this->our_offense_line_x = val; -} -std::ostream& operator<<(std::ostream& out, const RpcPredictState& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t RpcPredictState::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->spend_time); - this->__isset.spend_time = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->ball_holder_unum); - this->__isset.ball_holder_unum = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->ball_position.read(iprot); - this->__isset.ball_position = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->ball_velocity.read(iprot); - this->__isset.ball_velocity = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->our_defense_line_x); - this->__isset.our_defense_line_x = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 6: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->our_offense_line_x); - this->__isset.our_offense_line_x = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t RpcPredictState::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("RpcPredictState"); - - xfer += oprot->writeFieldBegin("spend_time", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(this->spend_time); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("ball_holder_unum", ::apache::thrift::protocol::T_I32, 2); - xfer += oprot->writeI32(this->ball_holder_unum); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("ball_position", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += this->ball_position.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("ball_velocity", ::apache::thrift::protocol::T_STRUCT, 4); - xfer += this->ball_velocity.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("our_defense_line_x", ::apache::thrift::protocol::T_DOUBLE, 5); - xfer += oprot->writeDouble(this->our_defense_line_x); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("our_offense_line_x", ::apache::thrift::protocol::T_DOUBLE, 6); - xfer += oprot->writeDouble(this->our_offense_line_x); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(RpcPredictState &a, RpcPredictState &b) { - using ::std::swap; - swap(a.spend_time, b.spend_time); - swap(a.ball_holder_unum, b.ball_holder_unum); - swap(a.ball_position, b.ball_position); - swap(a.ball_velocity, b.ball_velocity); - swap(a.our_defense_line_x, b.our_defense_line_x); - swap(a.our_offense_line_x, b.our_offense_line_x); - swap(a.__isset, b.__isset); -} - -RpcPredictState::RpcPredictState(const RpcPredictState& other342) noexcept { - spend_time = other342.spend_time; - ball_holder_unum = other342.ball_holder_unum; - ball_position = other342.ball_position; - ball_velocity = other342.ball_velocity; - our_defense_line_x = other342.our_defense_line_x; - our_offense_line_x = other342.our_offense_line_x; - __isset = other342.__isset; -} -RpcPredictState& RpcPredictState::operator=(const RpcPredictState& other343) noexcept { - spend_time = other343.spend_time; - ball_holder_unum = other343.ball_holder_unum; - ball_position = other343.ball_position; - ball_velocity = other343.ball_velocity; - our_defense_line_x = other343.our_defense_line_x; - our_offense_line_x = other343.our_offense_line_x; - __isset = other343.__isset; - return *this; -} -void RpcPredictState::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "RpcPredictState("; - out << "spend_time=" << to_string(spend_time); - out << ", " << "ball_holder_unum=" << to_string(ball_holder_unum); - out << ", " << "ball_position=" << to_string(ball_position); - out << ", " << "ball_velocity=" << to_string(ball_velocity); - out << ", " << "our_defense_line_x=" << to_string(our_defense_line_x); - out << ", " << "our_offense_line_x=" << to_string(our_offense_line_x); - out << ")"; -} - - -RpcActionState::~RpcActionState() noexcept { -} - - -void RpcActionState::__set_action(const RpcCooperativeAction& val) { - this->action = val; -} - -void RpcActionState::__set_predict_state(const RpcPredictState& val) { - this->predict_state = val; -} - -void RpcActionState::__set_evaluation(const double val) { - this->evaluation = val; -} -std::ostream& operator<<(std::ostream& out, const RpcActionState& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t RpcActionState::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->action.read(iprot); - this->__isset.action = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->predict_state.read(iprot); - this->__isset.predict_state = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_DOUBLE) { - xfer += iprot->readDouble(this->evaluation); - this->__isset.evaluation = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t RpcActionState::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("RpcActionState"); - - xfer += oprot->writeFieldBegin("action", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->action.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("predict_state", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->predict_state.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("evaluation", ::apache::thrift::protocol::T_DOUBLE, 3); - xfer += oprot->writeDouble(this->evaluation); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(RpcActionState &a, RpcActionState &b) { - using ::std::swap; - swap(a.action, b.action); - swap(a.predict_state, b.predict_state); - swap(a.evaluation, b.evaluation); - swap(a.__isset, b.__isset); -} - -RpcActionState::RpcActionState(const RpcActionState& other344) { - action = other344.action; - predict_state = other344.predict_state; - evaluation = other344.evaluation; - __isset = other344.__isset; -} -RpcActionState& RpcActionState::operator=(const RpcActionState& other345) { - action = other345.action; - predict_state = other345.predict_state; - evaluation = other345.evaluation; - __isset = other345.__isset; - return *this; -} -void RpcActionState::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "RpcActionState("; - out << "action=" << to_string(action); - out << ", " << "predict_state=" << to_string(predict_state); - out << ", " << "evaluation=" << to_string(evaluation); - out << ")"; -} - - -BestPlannerActionRequest::~BestPlannerActionRequest() noexcept { -} - - -void BestPlannerActionRequest::__set_register_response(const RegisterResponse& val) { - this->register_response = val; -} - -void BestPlannerActionRequest::__set_pairs(const std::map & val) { - this->pairs = val; -} - -void BestPlannerActionRequest::__set_state(const State& val) { - this->state = val; -} -std::ostream& operator<<(std::ostream& out, const BestPlannerActionRequest& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t BestPlannerActionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->register_response.read(iprot); - this->__isset.register_response = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_MAP) { - { - this->pairs.clear(); - uint32_t _size346; - ::apache::thrift::protocol::TType _ktype347; - ::apache::thrift::protocol::TType _vtype348; - xfer += iprot->readMapBegin(_ktype347, _vtype348, _size346); - uint32_t _i350; - for (_i350 = 0; _i350 < _size346; ++_i350) - { - int32_t _key351; - xfer += iprot->readI32(_key351); - RpcActionState& _val352 = this->pairs[_key351]; - xfer += _val352.read(iprot); - } - xfer += iprot->readMapEnd(); - } - this->__isset.pairs = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->state.read(iprot); - this->__isset.state = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t BestPlannerActionRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("BestPlannerActionRequest"); - - xfer += oprot->writeFieldBegin("register_response", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->register_response.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("pairs", ::apache::thrift::protocol::T_MAP, 2); - { - xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I32, ::apache::thrift::protocol::T_STRUCT, static_cast(this->pairs.size())); - std::map ::const_iterator _iter353; - for (_iter353 = this->pairs.begin(); _iter353 != this->pairs.end(); ++_iter353) - { - xfer += oprot->writeI32(_iter353->first); - xfer += _iter353->second.write(oprot); - } - xfer += oprot->writeMapEnd(); - } - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("state", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += this->state.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(BestPlannerActionRequest &a, BestPlannerActionRequest &b) { - using ::std::swap; - swap(a.register_response, b.register_response); - swap(a.pairs, b.pairs); - swap(a.state, b.state); - swap(a.__isset, b.__isset); -} - -BestPlannerActionRequest::BestPlannerActionRequest(const BestPlannerActionRequest& other354) { - register_response = other354.register_response; - pairs = other354.pairs; - state = other354.state; - __isset = other354.__isset; -} -BestPlannerActionRequest& BestPlannerActionRequest::operator=(const BestPlannerActionRequest& other355) { - register_response = other355.register_response; - pairs = other355.pairs; - state = other355.state; - __isset = other355.__isset; - return *this; -} -void BestPlannerActionRequest::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "BestPlannerActionRequest("; - out << "register_response=" << to_string(register_response); - out << ", " << "pairs=" << to_string(pairs); - out << ", " << "state=" << to_string(state); - out << ")"; -} - - -BestPlannerActionResponse::~BestPlannerActionResponse() noexcept { -} - - -void BestPlannerActionResponse::__set_index(const int32_t val) { - this->index = val; -} -std::ostream& operator<<(std::ostream& out, const BestPlannerActionResponse& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t BestPlannerActionResponse::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->index); - this->__isset.index = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t BestPlannerActionResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("BestPlannerActionResponse"); - - xfer += oprot->writeFieldBegin("index", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32(this->index); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(BestPlannerActionResponse &a, BestPlannerActionResponse &b) { - using ::std::swap; - swap(a.index, b.index); - swap(a.__isset, b.__isset); -} - -BestPlannerActionResponse::BestPlannerActionResponse(const BestPlannerActionResponse& other356) noexcept { - index = other356.index; - __isset = other356.__isset; -} -BestPlannerActionResponse& BestPlannerActionResponse::operator=(const BestPlannerActionResponse& other357) noexcept { - index = other357.index; - __isset = other357.__isset; - return *this; -} -void BestPlannerActionResponse::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "BestPlannerActionResponse("; - out << "index=" << to_string(index); - out << ")"; -} - - -Empty::~Empty() noexcept { -} - -std::ostream& operator<<(std::ostream& out, const Empty& obj) -{ - obj.printTo(out); - return out; -} - - -uint32_t Empty::read(::apache::thrift::protocol::TProtocol* iprot) { - - ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Empty::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Empty"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Empty &a, Empty &b) { - using ::std::swap; - (void) a; - (void) b; -} - -Empty::Empty(const Empty& other358) noexcept { - (void) other358; -} -Empty& Empty::operator=(const Empty& other359) noexcept { - (void) other359; - return *this; -} -void Empty::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Empty("; - out << ")"; -} - -} // namespace diff --git a/idl/thrift/gen-cpp/soccer_service_types.h b/idl/thrift/gen-cpp/soccer_service_types.h deleted file mode 100644 index 9b4ca21..0000000 --- a/idl/thrift/gen-cpp/soccer_service_types.h +++ /dev/null @@ -1,10416 +0,0 @@ -/** - * Autogenerated by Thrift Compiler (0.16.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -#ifndef soccer_service_TYPES_H -#define soccer_service_TYPES_H - -#include - -#include -#include -#include -#include -#include - -#include -#include - - -namespace soccer { - -struct ViewWidth { - enum type { - NARROW = 0, - NORMAL = 1, - WIDE = 2 - }; -}; - -extern const std::map _ViewWidth_VALUES_TO_NAMES; - -std::ostream& operator<<(std::ostream& out, const ViewWidth::type& val); - -std::string to_string(const ViewWidth::type& val); - -struct AgentType { - enum type { - PlayerT = 0, - CoachT = 1, - TrainerT = 2 - }; -}; - -extern const std::map _AgentType_VALUES_TO_NAMES; - -std::ostream& operator<<(std::ostream& out, const AgentType::type& val); - -std::string to_string(const AgentType::type& val); - -struct Side { - enum type { - UNKNOWN = 0, - LEFT = 1, - RIGHT = 2 - }; -}; - -extern const std::map _Side_VALUES_TO_NAMES; - -std::ostream& operator<<(std::ostream& out, const Side::type& val); - -std::string to_string(const Side::type& val); - -struct LoggerLevel { - enum type { - NoneLevel = 0, - SYSTEM = 1, - SENSOR = 2, - WORLD = 4, - ACTION = 8, - INTERCEPT = 16, - KICK = 32, - HOLD = 64, - DRIBBLE = 128, - PASS = 256, - CROSS = 512, - SHOOT = 1024, - CLEAR = 2048, - BLOCK = 4096, - MARK = 8192, - POSITIONING = 16384, - ROLE = 32768, - TEAM = 65536, - COMMUNICATION = 131072, - ANALYZER = 262144, - ACTION_CHAIN = 524288, - PLAN = 1048576 - }; -}; - -extern const std::map _LoggerLevel_VALUES_TO_NAMES; - -std::ostream& operator<<(std::ostream& out, const LoggerLevel::type& val); - -std::string to_string(const LoggerLevel::type& val); - -struct InterceptActionType { - enum type { - UNKNOWN_Intercept_Action_Type = 0, - OMNI_DASH = 1, - TURN_FORWARD_DASH = 2, - TURN_BACKWARD_DASH = 3 - }; -}; - -extern const std::map _InterceptActionType_VALUES_TO_NAMES; - -std::ostream& operator<<(std::ostream& out, const InterceptActionType::type& val); - -std::string to_string(const InterceptActionType::type& val); - -struct GameModeType { - enum type { - BeforeKickOff = 0, - TimeOver = 1, - PlayOn = 2, - KickOff_ = 3, - KickIn_ = 4, - FreeKick_ = 5, - CornerKick_ = 6, - GoalKick_ = 7, - AfterGoal_ = 8, - OffSide_ = 9, - PenaltyKick_ = 10, - FirstHalfOver = 11, - Pause = 12, - Human = 13, - FoulCharge_ = 14, - FoulPush_ = 15, - FoulMultipleAttacker_ = 16, - FoulBallOut_ = 17, - BackPass_ = 18, - FreeKickFault_ = 19, - CatchFault_ = 20, - IndFreeKick_ = 21, - PenaltySetup_ = 22, - PenaltyReady_ = 23, - PenaltyTaken_ = 24, - PenaltyMiss_ = 25, - PenaltyScore_ = 26, - IllegalDefense_ = 27, - PenaltyOnfield_ = 28, - PenaltyFoul_ = 29, - GoalieCatch_ = 30, - ExtendHalf = 31, - MODE_MAX = 32 - }; -}; - -extern const std::map _GameModeType_VALUES_TO_NAMES; - -std::ostream& operator<<(std::ostream& out, const GameModeType::type& val); - -std::string to_string(const GameModeType::type& val); - -struct RpcActionCategory { - enum type { - AC_Hold = 0, - AC_Dribble = 1, - AC_Pass = 2, - AC_Shoot = 3, - AC_Clear = 4, - AC_Move = 5, - AC_NoAction = 6 - }; -}; - -extern const std::map _RpcActionCategory_VALUES_TO_NAMES; - -std::ostream& operator<<(std::ostream& out, const RpcActionCategory::type& val); - -std::string to_string(const RpcActionCategory::type& val); - -class RpcVector2D; - -class RegisterRequest; - -class RegisterResponse; - -class Ball; - -class Player; - -class Self; - -class InterceptInfo; - -class InterceptTable; - -class WorldModel; - -class State; - -class InitMessage; - -class Dash; - -class Turn; - -class Kick; - -class Tackle; - -class Catch; - -class Move; - -class TurnNeck; - -class ChangeView; - -class BallMessage; - -class PassMessage; - -class InterceptMessage; - -class GoalieMessage; - -class GoalieAndPlayerMessage; - -class OffsideLineMessage; - -class DefenseLineMessage; - -class WaitRequestMessage; - -class SetplayMessage; - -class PassRequestMessage; - -class StaminaMessage; - -class RecoveryMessage; - -class StaminaCapacityMessage; - -class DribbleMessage; - -class BallGoalieMessage; - -class OnePlayerMessage; - -class TwoPlayerMessage; - -class ThreePlayerMessage; - -class SelfMessage; - -class TeammateMessage; - -class OpponentMessage; - -class BallPlayerMessage; - -class Say; - -class PointTo; - -class PointToOf; - -class AttentionTo; - -class AttentionToOf; - -class AddText; - -class AddPoint; - -class AddLine; - -class AddArc; - -class AddCircle; - -class AddTriangle; - -class AddRectangle; - -class AddSector; - -class AddMessage; - -class Log; - -class DebugClient; - -class Body_GoToPoint; - -class Body_SmartKick; - -class Bhv_BeforeKickOff; - -class Bhv_BodyNeckToBall; - -class Bhv_BodyNeckToPoint; - -class Bhv_Emergency; - -class Bhv_GoToPointLookBall; - -class Bhv_NeckBodyToBall; - -class Bhv_NeckBodyToPoint; - -class Bhv_ScanField; - -class Body_AdvanceBall; - -class Body_ClearBall; - -class Body_Dribble; - -class Body_GoToPointDodge; - -class Body_HoldBall; - -class Body_Intercept; - -class Body_KickOneStep; - -class Body_StopBall; - -class Body_StopDash; - -class Body_TackleToPoint; - -class Body_TurnToAngle; - -class Body_TurnToBall; - -class Body_TurnToPoint; - -class Focus_MoveToPoint; - -class Focus_Reset; - -class Neck_ScanField; - -class Neck_ScanPlayers; - -class Neck_TurnToBallAndPlayer; - -class Neck_TurnToBallOrScan; - -class Neck_TurnToBall; - -class Neck_TurnToGoalieOrScan; - -class Neck_TurnToLowConfTeammate; - -class Neck_TurnToPlayerOrScan; - -class Neck_TurnToPoint; - -class Neck_TurnToRelative; - -class View_ChangeWidth; - -class View_Normal; - -class View_Synch; - -class View_Wide; - -class HeliosGoalie; - -class HeliosGoalieMove; - -class HeliosGoalieKick; - -class HeliosShoot; - -class HeliosChainAction; - -class HeliosBasicOffensive; - -class HeliosBasicMove; - -class HeliosSetPlay; - -class HeliosPenalty; - -class HeliosCommunicaion; - -class PlayerAction; - -class PlayerActions; - -class ChangePlayerType; - -class DoHeliosSubstitute; - -class DoHeliosSayPlayerTypes; - -class CoachAction; - -class CoachActions; - -class DoKickOff; - -class DoMoveBall; - -class DoMovePlayer; - -class DoRecover; - -class DoChangeMode; - -class DoChangePlayerType; - -class TrainerAction; - -class TrainerActions; - -class ServerParam; - -class PlayerParam; - -class PlayerType; - -class RpcCooperativeAction; - -class RpcPredictState; - -class RpcActionState; - -class BestPlannerActionRequest; - -class BestPlannerActionResponse; - -class Empty; - -typedef struct _RpcVector2D__isset { - _RpcVector2D__isset() : x(false), y(false), dist(false), angle(false) {} - bool x :1; - bool y :1; - bool dist :1; - bool angle :1; -} _RpcVector2D__isset; - -class RpcVector2D : public virtual ::apache::thrift::TBase { - public: - - RpcVector2D(const RpcVector2D&) noexcept; - RpcVector2D& operator=(const RpcVector2D&) noexcept; - RpcVector2D() noexcept - : x(0), - y(0), - dist(0), - angle(0) { - } - - virtual ~RpcVector2D() noexcept; - double x; - double y; - double dist; - double angle; - - _RpcVector2D__isset __isset; - - void __set_x(const double val); - - void __set_y(const double val); - - void __set_dist(const double val); - - void __set_angle(const double val); - - bool operator == (const RpcVector2D & rhs) const - { - if (!(x == rhs.x)) - return false; - if (!(y == rhs.y)) - return false; - if (!(dist == rhs.dist)) - return false; - if (!(angle == rhs.angle)) - return false; - return true; - } - bool operator != (const RpcVector2D &rhs) const { - return !(*this == rhs); - } - - bool operator < (const RpcVector2D & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(RpcVector2D &a, RpcVector2D &b); - -std::ostream& operator<<(std::ostream& out, const RpcVector2D& obj); - -typedef struct _RegisterRequest__isset { - _RegisterRequest__isset() : agent_type(false), team_name(false), uniform_number(false) {} - bool agent_type :1; - bool team_name :1; - bool uniform_number :1; -} _RegisterRequest__isset; - -class RegisterRequest : public virtual ::apache::thrift::TBase { - public: - - RegisterRequest(const RegisterRequest&); - RegisterRequest& operator=(const RegisterRequest&); - RegisterRequest() noexcept - : agent_type(static_cast(0)), - team_name(), - uniform_number(0) { - } - - virtual ~RegisterRequest() noexcept; - /** - * - * @see AgentType - */ - AgentType::type agent_type; - std::string team_name; - int32_t uniform_number; - - _RegisterRequest__isset __isset; - - void __set_agent_type(const AgentType::type val); - - void __set_team_name(const std::string& val); - - void __set_uniform_number(const int32_t val); - - bool operator == (const RegisterRequest & rhs) const - { - if (!(agent_type == rhs.agent_type)) - return false; - if (!(team_name == rhs.team_name)) - return false; - if (!(uniform_number == rhs.uniform_number)) - return false; - return true; - } - bool operator != (const RegisterRequest &rhs) const { - return !(*this == rhs); - } - - bool operator < (const RegisterRequest & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(RegisterRequest &a, RegisterRequest &b); - -std::ostream& operator<<(std::ostream& out, const RegisterRequest& obj); - -typedef struct _RegisterResponse__isset { - _RegisterResponse__isset() : client_id(false), agent_type(false), team_name(false), uniform_number(false) {} - bool client_id :1; - bool agent_type :1; - bool team_name :1; - bool uniform_number :1; -} _RegisterResponse__isset; - -class RegisterResponse : public virtual ::apache::thrift::TBase { - public: - - RegisterResponse(const RegisterResponse&); - RegisterResponse& operator=(const RegisterResponse&); - RegisterResponse() noexcept - : client_id(0), - agent_type(static_cast(0)), - team_name(), - uniform_number(0) { - } - - virtual ~RegisterResponse() noexcept; - int32_t client_id; - /** - * - * @see AgentType - */ - AgentType::type agent_type; - std::string team_name; - int32_t uniform_number; - - _RegisterResponse__isset __isset; - - void __set_client_id(const int32_t val); - - void __set_agent_type(const AgentType::type val); - - void __set_team_name(const std::string& val); - - void __set_uniform_number(const int32_t val); - - bool operator == (const RegisterResponse & rhs) const - { - if (!(client_id == rhs.client_id)) - return false; - if (!(agent_type == rhs.agent_type)) - return false; - if (!(team_name == rhs.team_name)) - return false; - if (!(uniform_number == rhs.uniform_number)) - return false; - return true; - } - bool operator != (const RegisterResponse &rhs) const { - return !(*this == rhs); - } - - bool operator < (const RegisterResponse & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(RegisterResponse &a, RegisterResponse &b); - -std::ostream& operator<<(std::ostream& out, const RegisterResponse& obj); - -typedef struct _Ball__isset { - _Ball__isset() : position(false), relative_position(false), seen_position(false), heard_position(false), velocity(false), seen_velocity(false), heard_velocity(false), pos_count(false), seen_pos_count(false), heard_pos_count(false), vel_count(false), seen_vel_count(false), heard_vel_count(false), lost_count(false), ghost_count(false), dist_from_self(false), angle_from_self(false) {} - bool position :1; - bool relative_position :1; - bool seen_position :1; - bool heard_position :1; - bool velocity :1; - bool seen_velocity :1; - bool heard_velocity :1; - bool pos_count :1; - bool seen_pos_count :1; - bool heard_pos_count :1; - bool vel_count :1; - bool seen_vel_count :1; - bool heard_vel_count :1; - bool lost_count :1; - bool ghost_count :1; - bool dist_from_self :1; - bool angle_from_self :1; -} _Ball__isset; - -class Ball : public virtual ::apache::thrift::TBase { - public: - - Ball(const Ball&) noexcept; - Ball& operator=(const Ball&) noexcept; - Ball() noexcept - : pos_count(0), - seen_pos_count(0), - heard_pos_count(0), - vel_count(0), - seen_vel_count(0), - heard_vel_count(0), - lost_count(0), - ghost_count(0), - dist_from_self(0), - angle_from_self(0) { - } - - virtual ~Ball() noexcept; - RpcVector2D position; - RpcVector2D relative_position; - RpcVector2D seen_position; - RpcVector2D heard_position; - RpcVector2D velocity; - RpcVector2D seen_velocity; - RpcVector2D heard_velocity; - int32_t pos_count; - int32_t seen_pos_count; - int32_t heard_pos_count; - int32_t vel_count; - int32_t seen_vel_count; - int32_t heard_vel_count; - int32_t lost_count; - int32_t ghost_count; - double dist_from_self; - double angle_from_self; - - _Ball__isset __isset; - - void __set_position(const RpcVector2D& val); - - void __set_relative_position(const RpcVector2D& val); - - void __set_seen_position(const RpcVector2D& val); - - void __set_heard_position(const RpcVector2D& val); - - void __set_velocity(const RpcVector2D& val); - - void __set_seen_velocity(const RpcVector2D& val); - - void __set_heard_velocity(const RpcVector2D& val); - - void __set_pos_count(const int32_t val); - - void __set_seen_pos_count(const int32_t val); - - void __set_heard_pos_count(const int32_t val); - - void __set_vel_count(const int32_t val); - - void __set_seen_vel_count(const int32_t val); - - void __set_heard_vel_count(const int32_t val); - - void __set_lost_count(const int32_t val); - - void __set_ghost_count(const int32_t val); - - void __set_dist_from_self(const double val); - - void __set_angle_from_self(const double val); - - bool operator == (const Ball & rhs) const - { - if (!(position == rhs.position)) - return false; - if (!(relative_position == rhs.relative_position)) - return false; - if (!(seen_position == rhs.seen_position)) - return false; - if (!(heard_position == rhs.heard_position)) - return false; - if (!(velocity == rhs.velocity)) - return false; - if (!(seen_velocity == rhs.seen_velocity)) - return false; - if (!(heard_velocity == rhs.heard_velocity)) - return false; - if (!(pos_count == rhs.pos_count)) - return false; - if (!(seen_pos_count == rhs.seen_pos_count)) - return false; - if (!(heard_pos_count == rhs.heard_pos_count)) - return false; - if (!(vel_count == rhs.vel_count)) - return false; - if (!(seen_vel_count == rhs.seen_vel_count)) - return false; - if (!(heard_vel_count == rhs.heard_vel_count)) - return false; - if (!(lost_count == rhs.lost_count)) - return false; - if (!(ghost_count == rhs.ghost_count)) - return false; - if (!(dist_from_self == rhs.dist_from_self)) - return false; - if (!(angle_from_self == rhs.angle_from_self)) - return false; - return true; - } - bool operator != (const Ball &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Ball & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Ball &a, Ball &b); - -std::ostream& operator<<(std::ostream& out, const Ball& obj); - -typedef struct _Player__isset { - _Player__isset() : position(false), seen_position(false), heard_position(false), velocity(false), seen_velocity(false), pos_count(false), seen_pos_count(false), heard_pos_count(false), vel_count(false), seen_vel_count(false), ghost_count(false), dist_from_self(false), angle_from_self(false), id(false), side(false), uniform_number(false), uniform_number_count(false), is_goalie(false), body_direction(false), body_direction_count(false), face_direction(false), face_direction_count(false), point_to_direction(false), point_to_direction_count(false), is_kicking(false), dist_from_ball(false), angle_from_ball(false), ball_reach_steps(false), is_tackling(false), type_id(false) {} - bool position :1; - bool seen_position :1; - bool heard_position :1; - bool velocity :1; - bool seen_velocity :1; - bool pos_count :1; - bool seen_pos_count :1; - bool heard_pos_count :1; - bool vel_count :1; - bool seen_vel_count :1; - bool ghost_count :1; - bool dist_from_self :1; - bool angle_from_self :1; - bool id :1; - bool side :1; - bool uniform_number :1; - bool uniform_number_count :1; - bool is_goalie :1; - bool body_direction :1; - bool body_direction_count :1; - bool face_direction :1; - bool face_direction_count :1; - bool point_to_direction :1; - bool point_to_direction_count :1; - bool is_kicking :1; - bool dist_from_ball :1; - bool angle_from_ball :1; - bool ball_reach_steps :1; - bool is_tackling :1; - bool type_id :1; -} _Player__isset; - -class Player : public virtual ::apache::thrift::TBase { - public: - - Player(const Player&) noexcept; - Player& operator=(const Player&) noexcept; - Player() noexcept - : pos_count(0), - seen_pos_count(0), - heard_pos_count(0), - vel_count(0), - seen_vel_count(0), - ghost_count(0), - dist_from_self(0), - angle_from_self(0), - id(0), - side(static_cast(0)), - uniform_number(0), - uniform_number_count(0), - is_goalie(0), - body_direction(0), - body_direction_count(0), - face_direction(0), - face_direction_count(0), - point_to_direction(0), - point_to_direction_count(0), - is_kicking(0), - dist_from_ball(0), - angle_from_ball(0), - ball_reach_steps(0), - is_tackling(0), - type_id(0) { - } - - virtual ~Player() noexcept; - RpcVector2D position; - RpcVector2D seen_position; - RpcVector2D heard_position; - RpcVector2D velocity; - RpcVector2D seen_velocity; - int32_t pos_count; - int32_t seen_pos_count; - int32_t heard_pos_count; - int32_t vel_count; - int32_t seen_vel_count; - int32_t ghost_count; - double dist_from_self; - double angle_from_self; - int32_t id; - /** - * - * @see Side - */ - Side::type side; - int32_t uniform_number; - int32_t uniform_number_count; - bool is_goalie; - double body_direction; - int32_t body_direction_count; - double face_direction; - int32_t face_direction_count; - double point_to_direction; - int32_t point_to_direction_count; - bool is_kicking; - double dist_from_ball; - double angle_from_ball; - int32_t ball_reach_steps; - bool is_tackling; - int32_t type_id; - - _Player__isset __isset; - - void __set_position(const RpcVector2D& val); - - void __set_seen_position(const RpcVector2D& val); - - void __set_heard_position(const RpcVector2D& val); - - void __set_velocity(const RpcVector2D& val); - - void __set_seen_velocity(const RpcVector2D& val); - - void __set_pos_count(const int32_t val); - - void __set_seen_pos_count(const int32_t val); - - void __set_heard_pos_count(const int32_t val); - - void __set_vel_count(const int32_t val); - - void __set_seen_vel_count(const int32_t val); - - void __set_ghost_count(const int32_t val); - - void __set_dist_from_self(const double val); - - void __set_angle_from_self(const double val); - - void __set_id(const int32_t val); - - void __set_side(const Side::type val); - - void __set_uniform_number(const int32_t val); - - void __set_uniform_number_count(const int32_t val); - - void __set_is_goalie(const bool val); - - void __set_body_direction(const double val); - - void __set_body_direction_count(const int32_t val); - - void __set_face_direction(const double val); - - void __set_face_direction_count(const int32_t val); - - void __set_point_to_direction(const double val); - - void __set_point_to_direction_count(const int32_t val); - - void __set_is_kicking(const bool val); - - void __set_dist_from_ball(const double val); - - void __set_angle_from_ball(const double val); - - void __set_ball_reach_steps(const int32_t val); - - void __set_is_tackling(const bool val); - - void __set_type_id(const int32_t val); - - bool operator == (const Player & rhs) const - { - if (!(position == rhs.position)) - return false; - if (!(seen_position == rhs.seen_position)) - return false; - if (!(heard_position == rhs.heard_position)) - return false; - if (!(velocity == rhs.velocity)) - return false; - if (!(seen_velocity == rhs.seen_velocity)) - return false; - if (!(pos_count == rhs.pos_count)) - return false; - if (!(seen_pos_count == rhs.seen_pos_count)) - return false; - if (!(heard_pos_count == rhs.heard_pos_count)) - return false; - if (!(vel_count == rhs.vel_count)) - return false; - if (!(seen_vel_count == rhs.seen_vel_count)) - return false; - if (!(ghost_count == rhs.ghost_count)) - return false; - if (!(dist_from_self == rhs.dist_from_self)) - return false; - if (!(angle_from_self == rhs.angle_from_self)) - return false; - if (!(id == rhs.id)) - return false; - if (!(side == rhs.side)) - return false; - if (!(uniform_number == rhs.uniform_number)) - return false; - if (!(uniform_number_count == rhs.uniform_number_count)) - return false; - if (!(is_goalie == rhs.is_goalie)) - return false; - if (!(body_direction == rhs.body_direction)) - return false; - if (!(body_direction_count == rhs.body_direction_count)) - return false; - if (!(face_direction == rhs.face_direction)) - return false; - if (!(face_direction_count == rhs.face_direction_count)) - return false; - if (!(point_to_direction == rhs.point_to_direction)) - return false; - if (!(point_to_direction_count == rhs.point_to_direction_count)) - return false; - if (!(is_kicking == rhs.is_kicking)) - return false; - if (!(dist_from_ball == rhs.dist_from_ball)) - return false; - if (!(angle_from_ball == rhs.angle_from_ball)) - return false; - if (!(ball_reach_steps == rhs.ball_reach_steps)) - return false; - if (!(is_tackling == rhs.is_tackling)) - return false; - if (!(type_id == rhs.type_id)) - return false; - return true; - } - bool operator != (const Player &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Player & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Player &a, Player &b); - -std::ostream& operator<<(std::ostream& out, const Player& obj); - -typedef struct _Self__isset { - _Self__isset() : position(false), seen_position(false), heard_position(false), velocity(false), seen_velocity(false), pos_count(false), seen_pos_count(false), heard_pos_count(false), vel_count(false), seen_vel_count(false), ghost_count(false), id(false), side(false), uniform_number(false), uniform_number_count(false), is_goalie(false), body_direction(false), body_direction_count(false), face_direction(false), face_direction_count(false), point_to_direction(false), point_to_direction_count(false), is_kicking(false), dist_from_ball(false), angle_from_ball(false), ball_reach_steps(false), is_tackling(false), relative_neck_direction(false), stamina(false), is_kickable(false), catch_probability(false), tackle_probability(false), foul_probability(false), view_width(false), type_id(false), kick_rate(false) {} - bool position :1; - bool seen_position :1; - bool heard_position :1; - bool velocity :1; - bool seen_velocity :1; - bool pos_count :1; - bool seen_pos_count :1; - bool heard_pos_count :1; - bool vel_count :1; - bool seen_vel_count :1; - bool ghost_count :1; - bool id :1; - bool side :1; - bool uniform_number :1; - bool uniform_number_count :1; - bool is_goalie :1; - bool body_direction :1; - bool body_direction_count :1; - bool face_direction :1; - bool face_direction_count :1; - bool point_to_direction :1; - bool point_to_direction_count :1; - bool is_kicking :1; - bool dist_from_ball :1; - bool angle_from_ball :1; - bool ball_reach_steps :1; - bool is_tackling :1; - bool relative_neck_direction :1; - bool stamina :1; - bool is_kickable :1; - bool catch_probability :1; - bool tackle_probability :1; - bool foul_probability :1; - bool view_width :1; - bool type_id :1; - bool kick_rate :1; -} _Self__isset; - -class Self : public virtual ::apache::thrift::TBase { - public: - - Self(const Self&) noexcept; - Self& operator=(const Self&) noexcept; - Self() noexcept - : pos_count(0), - seen_pos_count(0), - heard_pos_count(0), - vel_count(0), - seen_vel_count(0), - ghost_count(0), - id(0), - side(static_cast(0)), - uniform_number(0), - uniform_number_count(0), - is_goalie(0), - body_direction(0), - body_direction_count(0), - face_direction(0), - face_direction_count(0), - point_to_direction(0), - point_to_direction_count(0), - is_kicking(0), - dist_from_ball(0), - angle_from_ball(0), - ball_reach_steps(0), - is_tackling(0), - relative_neck_direction(0), - stamina(0), - is_kickable(0), - catch_probability(0), - tackle_probability(0), - foul_probability(0), - view_width(static_cast(0)), - type_id(0), - kick_rate(0) { - } - - virtual ~Self() noexcept; - RpcVector2D position; - RpcVector2D seen_position; - RpcVector2D heard_position; - RpcVector2D velocity; - RpcVector2D seen_velocity; - int32_t pos_count; - int32_t seen_pos_count; - int32_t heard_pos_count; - int32_t vel_count; - int32_t seen_vel_count; - int32_t ghost_count; - int32_t id; - /** - * - * @see Side - */ - Side::type side; - int32_t uniform_number; - int32_t uniform_number_count; - bool is_goalie; - double body_direction; - int32_t body_direction_count; - double face_direction; - int32_t face_direction_count; - double point_to_direction; - int32_t point_to_direction_count; - bool is_kicking; - double dist_from_ball; - double angle_from_ball; - int32_t ball_reach_steps; - bool is_tackling; - double relative_neck_direction; - double stamina; - bool is_kickable; - double catch_probability; - double tackle_probability; - double foul_probability; - /** - * - * @see ViewWidth - */ - ViewWidth::type view_width; - int32_t type_id; - double kick_rate; - - _Self__isset __isset; - - void __set_position(const RpcVector2D& val); - - void __set_seen_position(const RpcVector2D& val); - - void __set_heard_position(const RpcVector2D& val); - - void __set_velocity(const RpcVector2D& val); - - void __set_seen_velocity(const RpcVector2D& val); - - void __set_pos_count(const int32_t val); - - void __set_seen_pos_count(const int32_t val); - - void __set_heard_pos_count(const int32_t val); - - void __set_vel_count(const int32_t val); - - void __set_seen_vel_count(const int32_t val); - - void __set_ghost_count(const int32_t val); - - void __set_id(const int32_t val); - - void __set_side(const Side::type val); - - void __set_uniform_number(const int32_t val); - - void __set_uniform_number_count(const int32_t val); - - void __set_is_goalie(const bool val); - - void __set_body_direction(const double val); - - void __set_body_direction_count(const int32_t val); - - void __set_face_direction(const double val); - - void __set_face_direction_count(const int32_t val); - - void __set_point_to_direction(const double val); - - void __set_point_to_direction_count(const int32_t val); - - void __set_is_kicking(const bool val); - - void __set_dist_from_ball(const double val); - - void __set_angle_from_ball(const double val); - - void __set_ball_reach_steps(const int32_t val); - - void __set_is_tackling(const bool val); - - void __set_relative_neck_direction(const double val); - - void __set_stamina(const double val); - - void __set_is_kickable(const bool val); - - void __set_catch_probability(const double val); - - void __set_tackle_probability(const double val); - - void __set_foul_probability(const double val); - - void __set_view_width(const ViewWidth::type val); - - void __set_type_id(const int32_t val); - - void __set_kick_rate(const double val); - - bool operator == (const Self & rhs) const - { - if (!(position == rhs.position)) - return false; - if (!(seen_position == rhs.seen_position)) - return false; - if (!(heard_position == rhs.heard_position)) - return false; - if (!(velocity == rhs.velocity)) - return false; - if (!(seen_velocity == rhs.seen_velocity)) - return false; - if (!(pos_count == rhs.pos_count)) - return false; - if (!(seen_pos_count == rhs.seen_pos_count)) - return false; - if (!(heard_pos_count == rhs.heard_pos_count)) - return false; - if (!(vel_count == rhs.vel_count)) - return false; - if (!(seen_vel_count == rhs.seen_vel_count)) - return false; - if (!(ghost_count == rhs.ghost_count)) - return false; - if (!(id == rhs.id)) - return false; - if (!(side == rhs.side)) - return false; - if (!(uniform_number == rhs.uniform_number)) - return false; - if (!(uniform_number_count == rhs.uniform_number_count)) - return false; - if (!(is_goalie == rhs.is_goalie)) - return false; - if (!(body_direction == rhs.body_direction)) - return false; - if (!(body_direction_count == rhs.body_direction_count)) - return false; - if (!(face_direction == rhs.face_direction)) - return false; - if (!(face_direction_count == rhs.face_direction_count)) - return false; - if (!(point_to_direction == rhs.point_to_direction)) - return false; - if (!(point_to_direction_count == rhs.point_to_direction_count)) - return false; - if (!(is_kicking == rhs.is_kicking)) - return false; - if (!(dist_from_ball == rhs.dist_from_ball)) - return false; - if (!(angle_from_ball == rhs.angle_from_ball)) - return false; - if (!(ball_reach_steps == rhs.ball_reach_steps)) - return false; - if (!(is_tackling == rhs.is_tackling)) - return false; - if (!(relative_neck_direction == rhs.relative_neck_direction)) - return false; - if (!(stamina == rhs.stamina)) - return false; - if (!(is_kickable == rhs.is_kickable)) - return false; - if (!(catch_probability == rhs.catch_probability)) - return false; - if (!(tackle_probability == rhs.tackle_probability)) - return false; - if (!(foul_probability == rhs.foul_probability)) - return false; - if (!(view_width == rhs.view_width)) - return false; - if (!(type_id == rhs.type_id)) - return false; - if (!(kick_rate == rhs.kick_rate)) - return false; - return true; - } - bool operator != (const Self &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Self & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Self &a, Self &b); - -std::ostream& operator<<(std::ostream& out, const Self& obj); - -typedef struct _InterceptInfo__isset { - _InterceptInfo__isset() : action_type(false), turn_steps(false), turn_angle(false), dash_steps(false), dash_power(false), dash_dir(false), final_self_position(false), final_ball_dist(false), final_stamina(false), value(false) {} - bool action_type :1; - bool turn_steps :1; - bool turn_angle :1; - bool dash_steps :1; - bool dash_power :1; - bool dash_dir :1; - bool final_self_position :1; - bool final_ball_dist :1; - bool final_stamina :1; - bool value :1; -} _InterceptInfo__isset; - -class InterceptInfo : public virtual ::apache::thrift::TBase { - public: - - InterceptInfo(const InterceptInfo&) noexcept; - InterceptInfo& operator=(const InterceptInfo&) noexcept; - InterceptInfo() noexcept - : action_type(static_cast(0)), - turn_steps(0), - turn_angle(0), - dash_steps(0), - dash_power(0), - dash_dir(0), - final_ball_dist(0), - final_stamina(0), - value(0) { - } - - virtual ~InterceptInfo() noexcept; - /** - * - * @see InterceptActionType - */ - InterceptActionType::type action_type; - int32_t turn_steps; - double turn_angle; - int32_t dash_steps; - double dash_power; - double dash_dir; - RpcVector2D final_self_position; - double final_ball_dist; - double final_stamina; - double value; - - _InterceptInfo__isset __isset; - - void __set_action_type(const InterceptActionType::type val); - - void __set_turn_steps(const int32_t val); - - void __set_turn_angle(const double val); - - void __set_dash_steps(const int32_t val); - - void __set_dash_power(const double val); - - void __set_dash_dir(const double val); - - void __set_final_self_position(const RpcVector2D& val); - - void __set_final_ball_dist(const double val); - - void __set_final_stamina(const double val); - - void __set_value(const double val); - - bool operator == (const InterceptInfo & rhs) const - { - if (!(action_type == rhs.action_type)) - return false; - if (!(turn_steps == rhs.turn_steps)) - return false; - if (!(turn_angle == rhs.turn_angle)) - return false; - if (!(dash_steps == rhs.dash_steps)) - return false; - if (!(dash_power == rhs.dash_power)) - return false; - if (!(dash_dir == rhs.dash_dir)) - return false; - if (!(final_self_position == rhs.final_self_position)) - return false; - if (!(final_ball_dist == rhs.final_ball_dist)) - return false; - if (!(final_stamina == rhs.final_stamina)) - return false; - if (!(value == rhs.value)) - return false; - return true; - } - bool operator != (const InterceptInfo &rhs) const { - return !(*this == rhs); - } - - bool operator < (const InterceptInfo & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(InterceptInfo &a, InterceptInfo &b); - -std::ostream& operator<<(std::ostream& out, const InterceptInfo& obj); - -typedef struct _InterceptTable__isset { - _InterceptTable__isset() : self_reach_steps(false), first_teammate_reach_steps(false), second_teammate_reach_steps(false), first_opponent_reach_steps(false), second_opponent_reach_steps(false), first_teammate_id(false), second_teammate_id(false), first_opponent_id(false), second_opponent_id(false), self_intercept_info(false) {} - bool self_reach_steps :1; - bool first_teammate_reach_steps :1; - bool second_teammate_reach_steps :1; - bool first_opponent_reach_steps :1; - bool second_opponent_reach_steps :1; - bool first_teammate_id :1; - bool second_teammate_id :1; - bool first_opponent_id :1; - bool second_opponent_id :1; - bool self_intercept_info :1; -} _InterceptTable__isset; - -class InterceptTable : public virtual ::apache::thrift::TBase { - public: - - InterceptTable(const InterceptTable&); - InterceptTable& operator=(const InterceptTable&); - InterceptTable() noexcept - : self_reach_steps(0), - first_teammate_reach_steps(0), - second_teammate_reach_steps(0), - first_opponent_reach_steps(0), - second_opponent_reach_steps(0), - first_teammate_id(0), - second_teammate_id(0), - first_opponent_id(0), - second_opponent_id(0) { - } - - virtual ~InterceptTable() noexcept; - int32_t self_reach_steps; - int32_t first_teammate_reach_steps; - int32_t second_teammate_reach_steps; - int32_t first_opponent_reach_steps; - int32_t second_opponent_reach_steps; - int32_t first_teammate_id; - int32_t second_teammate_id; - int32_t first_opponent_id; - int32_t second_opponent_id; - std::vector self_intercept_info; - - _InterceptTable__isset __isset; - - void __set_self_reach_steps(const int32_t val); - - void __set_first_teammate_reach_steps(const int32_t val); - - void __set_second_teammate_reach_steps(const int32_t val); - - void __set_first_opponent_reach_steps(const int32_t val); - - void __set_second_opponent_reach_steps(const int32_t val); - - void __set_first_teammate_id(const int32_t val); - - void __set_second_teammate_id(const int32_t val); - - void __set_first_opponent_id(const int32_t val); - - void __set_second_opponent_id(const int32_t val); - - void __set_self_intercept_info(const std::vector & val); - - bool operator == (const InterceptTable & rhs) const - { - if (!(self_reach_steps == rhs.self_reach_steps)) - return false; - if (!(first_teammate_reach_steps == rhs.first_teammate_reach_steps)) - return false; - if (!(second_teammate_reach_steps == rhs.second_teammate_reach_steps)) - return false; - if (!(first_opponent_reach_steps == rhs.first_opponent_reach_steps)) - return false; - if (!(second_opponent_reach_steps == rhs.second_opponent_reach_steps)) - return false; - if (!(first_teammate_id == rhs.first_teammate_id)) - return false; - if (!(second_teammate_id == rhs.second_teammate_id)) - return false; - if (!(first_opponent_id == rhs.first_opponent_id)) - return false; - if (!(second_opponent_id == rhs.second_opponent_id)) - return false; - if (!(self_intercept_info == rhs.self_intercept_info)) - return false; - return true; - } - bool operator != (const InterceptTable &rhs) const { - return !(*this == rhs); - } - - bool operator < (const InterceptTable & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(InterceptTable &a, InterceptTable &b); - -std::ostream& operator<<(std::ostream& out, const InterceptTable& obj); - -typedef struct _WorldModel__isset { - _WorldModel__isset() : intercept_table(false), our_team_name(false), their_team_name(false), our_side(false), last_set_play_start_time(false), myself(false), ball(false), teammates(false), opponents(false), unknowns(false), our_players_dict(false), their_players_dict(false), our_goalie_uniform_number(false), their_goalie_uniform_number(false), offside_line_x(false), offside_line_x_count(false), kickable_teammate_id(false), kickable_opponent_id(false), last_kick_side(false), last_kicker_uniform_number(false), cycle(false), game_mode_type(false), left_team_score(false), right_team_score(false), is_our_set_play(false), is_their_set_play(false), stoped_cycle(false), our_team_score(false), their_team_score(false), is_penalty_kick_mode(false), helios_home_positions(false) {} - bool intercept_table :1; - bool our_team_name :1; - bool their_team_name :1; - bool our_side :1; - bool last_set_play_start_time :1; - bool myself :1; - bool ball :1; - bool teammates :1; - bool opponents :1; - bool unknowns :1; - bool our_players_dict :1; - bool their_players_dict :1; - bool our_goalie_uniform_number :1; - bool their_goalie_uniform_number :1; - bool offside_line_x :1; - bool offside_line_x_count :1; - bool kickable_teammate_id :1; - bool kickable_opponent_id :1; - bool last_kick_side :1; - bool last_kicker_uniform_number :1; - bool cycle :1; - bool game_mode_type :1; - bool left_team_score :1; - bool right_team_score :1; - bool is_our_set_play :1; - bool is_their_set_play :1; - bool stoped_cycle :1; - bool our_team_score :1; - bool their_team_score :1; - bool is_penalty_kick_mode :1; - bool helios_home_positions :1; -} _WorldModel__isset; - -class WorldModel : public virtual ::apache::thrift::TBase { - public: - - WorldModel(const WorldModel&); - WorldModel& operator=(const WorldModel&); - WorldModel() noexcept - : our_team_name(), - their_team_name(), - our_side(static_cast(0)), - last_set_play_start_time(0), - our_goalie_uniform_number(0), - their_goalie_uniform_number(0), - offside_line_x(0), - offside_line_x_count(0), - kickable_teammate_id(0), - kickable_opponent_id(0), - last_kick_side(static_cast(0)), - last_kicker_uniform_number(0), - cycle(0), - game_mode_type(static_cast(0)), - left_team_score(0), - right_team_score(0), - is_our_set_play(0), - is_their_set_play(0), - stoped_cycle(0), - our_team_score(0), - their_team_score(0), - is_penalty_kick_mode(0) { - } - - virtual ~WorldModel() noexcept; - InterceptTable intercept_table; - std::string our_team_name; - std::string their_team_name; - /** - * - * @see Side - */ - Side::type our_side; - int32_t last_set_play_start_time; - Self myself; - Ball ball; - std::vector teammates; - std::vector opponents; - std::vector unknowns; - std::map our_players_dict; - std::map their_players_dict; - int32_t our_goalie_uniform_number; - int32_t their_goalie_uniform_number; - double offside_line_x; - int32_t offside_line_x_count; - int32_t kickable_teammate_id; - int32_t kickable_opponent_id; - /** - * - * @see Side - */ - Side::type last_kick_side; - int32_t last_kicker_uniform_number; - int32_t cycle; - /** - * - * @see GameModeType - */ - GameModeType::type game_mode_type; - int32_t left_team_score; - int32_t right_team_score; - bool is_our_set_play; - bool is_their_set_play; - int32_t stoped_cycle; - int32_t our_team_score; - int32_t their_team_score; - bool is_penalty_kick_mode; - std::map helios_home_positions; - - _WorldModel__isset __isset; - - void __set_intercept_table(const InterceptTable& val); - - void __set_our_team_name(const std::string& val); - - void __set_their_team_name(const std::string& val); - - void __set_our_side(const Side::type val); - - void __set_last_set_play_start_time(const int32_t val); - - void __set_myself(const Self& val); - - void __set_ball(const Ball& val); - - void __set_teammates(const std::vector & val); - - void __set_opponents(const std::vector & val); - - void __set_unknowns(const std::vector & val); - - void __set_our_players_dict(const std::map & val); - - void __set_their_players_dict(const std::map & val); - - void __set_our_goalie_uniform_number(const int32_t val); - - void __set_their_goalie_uniform_number(const int32_t val); - - void __set_offside_line_x(const double val); - - void __set_offside_line_x_count(const int32_t val); - - void __set_kickable_teammate_id(const int32_t val); - - void __set_kickable_opponent_id(const int32_t val); - - void __set_last_kick_side(const Side::type val); - - void __set_last_kicker_uniform_number(const int32_t val); - - void __set_cycle(const int32_t val); - - void __set_game_mode_type(const GameModeType::type val); - - void __set_left_team_score(const int32_t val); - - void __set_right_team_score(const int32_t val); - - void __set_is_our_set_play(const bool val); - - void __set_is_their_set_play(const bool val); - - void __set_stoped_cycle(const int32_t val); - - void __set_our_team_score(const int32_t val); - - void __set_their_team_score(const int32_t val); - - void __set_is_penalty_kick_mode(const bool val); - - void __set_helios_home_positions(const std::map & val); - - bool operator == (const WorldModel & rhs) const - { - if (!(intercept_table == rhs.intercept_table)) - return false; - if (!(our_team_name == rhs.our_team_name)) - return false; - if (!(their_team_name == rhs.their_team_name)) - return false; - if (!(our_side == rhs.our_side)) - return false; - if (!(last_set_play_start_time == rhs.last_set_play_start_time)) - return false; - if (!(myself == rhs.myself)) - return false; - if (!(ball == rhs.ball)) - return false; - if (!(teammates == rhs.teammates)) - return false; - if (!(opponents == rhs.opponents)) - return false; - if (!(unknowns == rhs.unknowns)) - return false; - if (!(our_players_dict == rhs.our_players_dict)) - return false; - if (!(their_players_dict == rhs.their_players_dict)) - return false; - if (!(our_goalie_uniform_number == rhs.our_goalie_uniform_number)) - return false; - if (!(their_goalie_uniform_number == rhs.their_goalie_uniform_number)) - return false; - if (!(offside_line_x == rhs.offside_line_x)) - return false; - if (!(offside_line_x_count == rhs.offside_line_x_count)) - return false; - if (!(kickable_teammate_id == rhs.kickable_teammate_id)) - return false; - if (!(kickable_opponent_id == rhs.kickable_opponent_id)) - return false; - if (!(last_kick_side == rhs.last_kick_side)) - return false; - if (!(last_kicker_uniform_number == rhs.last_kicker_uniform_number)) - return false; - if (!(cycle == rhs.cycle)) - return false; - if (!(game_mode_type == rhs.game_mode_type)) - return false; - if (!(left_team_score == rhs.left_team_score)) - return false; - if (!(right_team_score == rhs.right_team_score)) - return false; - if (!(is_our_set_play == rhs.is_our_set_play)) - return false; - if (!(is_their_set_play == rhs.is_their_set_play)) - return false; - if (!(stoped_cycle == rhs.stoped_cycle)) - return false; - if (!(our_team_score == rhs.our_team_score)) - return false; - if (!(their_team_score == rhs.their_team_score)) - return false; - if (!(is_penalty_kick_mode == rhs.is_penalty_kick_mode)) - return false; - if (!(helios_home_positions == rhs.helios_home_positions)) - return false; - return true; - } - bool operator != (const WorldModel &rhs) const { - return !(*this == rhs); - } - - bool operator < (const WorldModel & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(WorldModel &a, WorldModel &b); - -std::ostream& operator<<(std::ostream& out, const WorldModel& obj); - -typedef struct _State__isset { - _State__isset() : register_response(false), world_model(false), full_world_model(false), need_preprocess(false) {} - bool register_response :1; - bool world_model :1; - bool full_world_model :1; - bool need_preprocess :1; -} _State__isset; - -class State : public virtual ::apache::thrift::TBase { - public: - - State(const State&); - State& operator=(const State&); - State() noexcept - : need_preprocess(0) { - } - - virtual ~State() noexcept; - RegisterResponse register_response; - WorldModel world_model; - WorldModel full_world_model; - bool need_preprocess; - - _State__isset __isset; - - void __set_register_response(const RegisterResponse& val); - - void __set_world_model(const WorldModel& val); - - void __set_full_world_model(const WorldModel& val); - - void __set_need_preprocess(const bool val); - - bool operator == (const State & rhs) const - { - if (!(register_response == rhs.register_response)) - return false; - if (!(world_model == rhs.world_model)) - return false; - if (!(full_world_model == rhs.full_world_model)) - return false; - if (!(need_preprocess == rhs.need_preprocess)) - return false; - return true; - } - bool operator != (const State &rhs) const { - return !(*this == rhs); - } - - bool operator < (const State & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(State &a, State &b); - -std::ostream& operator<<(std::ostream& out, const State& obj); - -typedef struct _InitMessage__isset { - _InitMessage__isset() : register_response(false), debug_mode(false) {} - bool register_response :1; - bool debug_mode :1; -} _InitMessage__isset; - -class InitMessage : public virtual ::apache::thrift::TBase { - public: - - InitMessage(const InitMessage&); - InitMessage& operator=(const InitMessage&); - InitMessage() noexcept - : debug_mode(0) { - } - - virtual ~InitMessage() noexcept; - RegisterResponse register_response; - bool debug_mode; - - _InitMessage__isset __isset; - - void __set_register_response(const RegisterResponse& val); - - void __set_debug_mode(const bool val); - - bool operator == (const InitMessage & rhs) const - { - if (!(register_response == rhs.register_response)) - return false; - if (!(debug_mode == rhs.debug_mode)) - return false; - return true; - } - bool operator != (const InitMessage &rhs) const { - return !(*this == rhs); - } - - bool operator < (const InitMessage & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(InitMessage &a, InitMessage &b); - -std::ostream& operator<<(std::ostream& out, const InitMessage& obj); - -typedef struct _Dash__isset { - _Dash__isset() : power(false), relative_direction(false) {} - bool power :1; - bool relative_direction :1; -} _Dash__isset; - -class Dash : public virtual ::apache::thrift::TBase { - public: - - Dash(const Dash&) noexcept; - Dash& operator=(const Dash&) noexcept; - Dash() noexcept - : power(0), - relative_direction(0) { - } - - virtual ~Dash() noexcept; - double power; - double relative_direction; - - _Dash__isset __isset; - - void __set_power(const double val); - - void __set_relative_direction(const double val); - - bool operator == (const Dash & rhs) const - { - if (!(power == rhs.power)) - return false; - if (!(relative_direction == rhs.relative_direction)) - return false; - return true; - } - bool operator != (const Dash &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Dash & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Dash &a, Dash &b); - -std::ostream& operator<<(std::ostream& out, const Dash& obj); - -typedef struct _Turn__isset { - _Turn__isset() : relative_direction(false) {} - bool relative_direction :1; -} _Turn__isset; - -class Turn : public virtual ::apache::thrift::TBase { - public: - - Turn(const Turn&) noexcept; - Turn& operator=(const Turn&) noexcept; - Turn() noexcept - : relative_direction(0) { - } - - virtual ~Turn() noexcept; - double relative_direction; - - _Turn__isset __isset; - - void __set_relative_direction(const double val); - - bool operator == (const Turn & rhs) const - { - if (!(relative_direction == rhs.relative_direction)) - return false; - return true; - } - bool operator != (const Turn &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Turn & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Turn &a, Turn &b); - -std::ostream& operator<<(std::ostream& out, const Turn& obj); - -typedef struct _Kick__isset { - _Kick__isset() : power(false), relative_direction(false) {} - bool power :1; - bool relative_direction :1; -} _Kick__isset; - -class Kick : public virtual ::apache::thrift::TBase { - public: - - Kick(const Kick&) noexcept; - Kick& operator=(const Kick&) noexcept; - Kick() noexcept - : power(0), - relative_direction(0) { - } - - virtual ~Kick() noexcept; - double power; - double relative_direction; - - _Kick__isset __isset; - - void __set_power(const double val); - - void __set_relative_direction(const double val); - - bool operator == (const Kick & rhs) const - { - if (!(power == rhs.power)) - return false; - if (!(relative_direction == rhs.relative_direction)) - return false; - return true; - } - bool operator != (const Kick &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Kick & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Kick &a, Kick &b); - -std::ostream& operator<<(std::ostream& out, const Kick& obj); - -typedef struct _Tackle__isset { - _Tackle__isset() : power_or_dir(false), foul(false) {} - bool power_or_dir :1; - bool foul :1; -} _Tackle__isset; - -class Tackle : public virtual ::apache::thrift::TBase { - public: - - Tackle(const Tackle&) noexcept; - Tackle& operator=(const Tackle&) noexcept; - Tackle() noexcept - : power_or_dir(0), - foul(0) { - } - - virtual ~Tackle() noexcept; - double power_or_dir; - bool foul; - - _Tackle__isset __isset; - - void __set_power_or_dir(const double val); - - void __set_foul(const bool val); - - bool operator == (const Tackle & rhs) const - { - if (!(power_or_dir == rhs.power_or_dir)) - return false; - if (!(foul == rhs.foul)) - return false; - return true; - } - bool operator != (const Tackle &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Tackle & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Tackle &a, Tackle &b); - -std::ostream& operator<<(std::ostream& out, const Tackle& obj); - - -class Catch : public virtual ::apache::thrift::TBase { - public: - - Catch(const Catch&) noexcept; - Catch& operator=(const Catch&) noexcept; - Catch() noexcept { - } - - virtual ~Catch() noexcept; - - bool operator == (const Catch & /* rhs */) const - { - return true; - } - bool operator != (const Catch &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Catch & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Catch &a, Catch &b); - -std::ostream& operator<<(std::ostream& out, const Catch& obj); - -typedef struct _Move__isset { - _Move__isset() : x(false), y(false) {} - bool x :1; - bool y :1; -} _Move__isset; - -class Move : public virtual ::apache::thrift::TBase { - public: - - Move(const Move&) noexcept; - Move& operator=(const Move&) noexcept; - Move() noexcept - : x(0), - y(0) { - } - - virtual ~Move() noexcept; - double x; - double y; - - _Move__isset __isset; - - void __set_x(const double val); - - void __set_y(const double val); - - bool operator == (const Move & rhs) const - { - if (!(x == rhs.x)) - return false; - if (!(y == rhs.y)) - return false; - return true; - } - bool operator != (const Move &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Move & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Move &a, Move &b); - -std::ostream& operator<<(std::ostream& out, const Move& obj); - -typedef struct _TurnNeck__isset { - _TurnNeck__isset() : moment(false) {} - bool moment :1; -} _TurnNeck__isset; - -class TurnNeck : public virtual ::apache::thrift::TBase { - public: - - TurnNeck(const TurnNeck&) noexcept; - TurnNeck& operator=(const TurnNeck&) noexcept; - TurnNeck() noexcept - : moment(0) { - } - - virtual ~TurnNeck() noexcept; - double moment; - - _TurnNeck__isset __isset; - - void __set_moment(const double val); - - bool operator == (const TurnNeck & rhs) const - { - if (!(moment == rhs.moment)) - return false; - return true; - } - bool operator != (const TurnNeck &rhs) const { - return !(*this == rhs); - } - - bool operator < (const TurnNeck & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(TurnNeck &a, TurnNeck &b); - -std::ostream& operator<<(std::ostream& out, const TurnNeck& obj); - -typedef struct _ChangeView__isset { - _ChangeView__isset() : view_width(false) {} - bool view_width :1; -} _ChangeView__isset; - -class ChangeView : public virtual ::apache::thrift::TBase { - public: - - ChangeView(const ChangeView&) noexcept; - ChangeView& operator=(const ChangeView&) noexcept; - ChangeView() noexcept - : view_width(static_cast(0)) { - } - - virtual ~ChangeView() noexcept; - /** - * - * @see ViewWidth - */ - ViewWidth::type view_width; - - _ChangeView__isset __isset; - - void __set_view_width(const ViewWidth::type val); - - bool operator == (const ChangeView & rhs) const - { - if (!(view_width == rhs.view_width)) - return false; - return true; - } - bool operator != (const ChangeView &rhs) const { - return !(*this == rhs); - } - - bool operator < (const ChangeView & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(ChangeView &a, ChangeView &b); - -std::ostream& operator<<(std::ostream& out, const ChangeView& obj); - -typedef struct _BallMessage__isset { - _BallMessage__isset() : ball_position(false), ball_velocity(false) {} - bool ball_position :1; - bool ball_velocity :1; -} _BallMessage__isset; - -class BallMessage : public virtual ::apache::thrift::TBase { - public: - - BallMessage(const BallMessage&) noexcept; - BallMessage& operator=(const BallMessage&) noexcept; - BallMessage() noexcept { - } - - virtual ~BallMessage() noexcept; - RpcVector2D ball_position; - RpcVector2D ball_velocity; - - _BallMessage__isset __isset; - - void __set_ball_position(const RpcVector2D& val); - - void __set_ball_velocity(const RpcVector2D& val); - - bool operator == (const BallMessage & rhs) const - { - if (!(ball_position == rhs.ball_position)) - return false; - if (!(ball_velocity == rhs.ball_velocity)) - return false; - return true; - } - bool operator != (const BallMessage &rhs) const { - return !(*this == rhs); - } - - bool operator < (const BallMessage & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(BallMessage &a, BallMessage &b); - -std::ostream& operator<<(std::ostream& out, const BallMessage& obj); - -typedef struct _PassMessage__isset { - _PassMessage__isset() : receiver_uniform_number(false), receiver_point(false), ball_position(false), ball_velocity(false) {} - bool receiver_uniform_number :1; - bool receiver_point :1; - bool ball_position :1; - bool ball_velocity :1; -} _PassMessage__isset; - -class PassMessage : public virtual ::apache::thrift::TBase { - public: - - PassMessage(const PassMessage&) noexcept; - PassMessage& operator=(const PassMessage&) noexcept; - PassMessage() noexcept - : receiver_uniform_number(0) { - } - - virtual ~PassMessage() noexcept; - int32_t receiver_uniform_number; - RpcVector2D receiver_point; - RpcVector2D ball_position; - RpcVector2D ball_velocity; - - _PassMessage__isset __isset; - - void __set_receiver_uniform_number(const int32_t val); - - void __set_receiver_point(const RpcVector2D& val); - - void __set_ball_position(const RpcVector2D& val); - - void __set_ball_velocity(const RpcVector2D& val); - - bool operator == (const PassMessage & rhs) const - { - if (!(receiver_uniform_number == rhs.receiver_uniform_number)) - return false; - if (!(receiver_point == rhs.receiver_point)) - return false; - if (!(ball_position == rhs.ball_position)) - return false; - if (!(ball_velocity == rhs.ball_velocity)) - return false; - return true; - } - bool operator != (const PassMessage &rhs) const { - return !(*this == rhs); - } - - bool operator < (const PassMessage & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(PassMessage &a, PassMessage &b); - -std::ostream& operator<<(std::ostream& out, const PassMessage& obj); - -typedef struct _InterceptMessage__isset { - _InterceptMessage__isset() : our(false), uniform_number(false), cycle(false) {} - bool our :1; - bool uniform_number :1; - bool cycle :1; -} _InterceptMessage__isset; - -class InterceptMessage : public virtual ::apache::thrift::TBase { - public: - - InterceptMessage(const InterceptMessage&) noexcept; - InterceptMessage& operator=(const InterceptMessage&) noexcept; - InterceptMessage() noexcept - : our(0), - uniform_number(0), - cycle(0) { - } - - virtual ~InterceptMessage() noexcept; - bool our; - int32_t uniform_number; - int32_t cycle; - - _InterceptMessage__isset __isset; - - void __set_our(const bool val); - - void __set_uniform_number(const int32_t val); - - void __set_cycle(const int32_t val); - - bool operator == (const InterceptMessage & rhs) const - { - if (!(our == rhs.our)) - return false; - if (!(uniform_number == rhs.uniform_number)) - return false; - if (!(cycle == rhs.cycle)) - return false; - return true; - } - bool operator != (const InterceptMessage &rhs) const { - return !(*this == rhs); - } - - bool operator < (const InterceptMessage & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(InterceptMessage &a, InterceptMessage &b); - -std::ostream& operator<<(std::ostream& out, const InterceptMessage& obj); - -typedef struct _GoalieMessage__isset { - _GoalieMessage__isset() : goalie_uniform_number(false), goalie_position(false), goalie_body_direction(false) {} - bool goalie_uniform_number :1; - bool goalie_position :1; - bool goalie_body_direction :1; -} _GoalieMessage__isset; - -class GoalieMessage : public virtual ::apache::thrift::TBase { - public: - - GoalieMessage(const GoalieMessage&) noexcept; - GoalieMessage& operator=(const GoalieMessage&) noexcept; - GoalieMessage() noexcept - : goalie_uniform_number(0), - goalie_body_direction(0) { - } - - virtual ~GoalieMessage() noexcept; - int32_t goalie_uniform_number; - RpcVector2D goalie_position; - double goalie_body_direction; - - _GoalieMessage__isset __isset; - - void __set_goalie_uniform_number(const int32_t val); - - void __set_goalie_position(const RpcVector2D& val); - - void __set_goalie_body_direction(const double val); - - bool operator == (const GoalieMessage & rhs) const - { - if (!(goalie_uniform_number == rhs.goalie_uniform_number)) - return false; - if (!(goalie_position == rhs.goalie_position)) - return false; - if (!(goalie_body_direction == rhs.goalie_body_direction)) - return false; - return true; - } - bool operator != (const GoalieMessage &rhs) const { - return !(*this == rhs); - } - - bool operator < (const GoalieMessage & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(GoalieMessage &a, GoalieMessage &b); - -std::ostream& operator<<(std::ostream& out, const GoalieMessage& obj); - -typedef struct _GoalieAndPlayerMessage__isset { - _GoalieAndPlayerMessage__isset() : goalie_uniform_number(false), goalie_position(false), goalie_body_direction(false), player_uniform_number(false), player_position(false) {} - bool goalie_uniform_number :1; - bool goalie_position :1; - bool goalie_body_direction :1; - bool player_uniform_number :1; - bool player_position :1; -} _GoalieAndPlayerMessage__isset; - -class GoalieAndPlayerMessage : public virtual ::apache::thrift::TBase { - public: - - GoalieAndPlayerMessage(const GoalieAndPlayerMessage&) noexcept; - GoalieAndPlayerMessage& operator=(const GoalieAndPlayerMessage&) noexcept; - GoalieAndPlayerMessage() noexcept - : goalie_uniform_number(0), - goalie_body_direction(0), - player_uniform_number(0) { - } - - virtual ~GoalieAndPlayerMessage() noexcept; - int32_t goalie_uniform_number; - RpcVector2D goalie_position; - double goalie_body_direction; - int32_t player_uniform_number; - RpcVector2D player_position; - - _GoalieAndPlayerMessage__isset __isset; - - void __set_goalie_uniform_number(const int32_t val); - - void __set_goalie_position(const RpcVector2D& val); - - void __set_goalie_body_direction(const double val); - - void __set_player_uniform_number(const int32_t val); - - void __set_player_position(const RpcVector2D& val); - - bool operator == (const GoalieAndPlayerMessage & rhs) const - { - if (!(goalie_uniform_number == rhs.goalie_uniform_number)) - return false; - if (!(goalie_position == rhs.goalie_position)) - return false; - if (!(goalie_body_direction == rhs.goalie_body_direction)) - return false; - if (!(player_uniform_number == rhs.player_uniform_number)) - return false; - if (!(player_position == rhs.player_position)) - return false; - return true; - } - bool operator != (const GoalieAndPlayerMessage &rhs) const { - return !(*this == rhs); - } - - bool operator < (const GoalieAndPlayerMessage & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(GoalieAndPlayerMessage &a, GoalieAndPlayerMessage &b); - -std::ostream& operator<<(std::ostream& out, const GoalieAndPlayerMessage& obj); - -typedef struct _OffsideLineMessage__isset { - _OffsideLineMessage__isset() : offside_line_x(false) {} - bool offside_line_x :1; -} _OffsideLineMessage__isset; - -class OffsideLineMessage : public virtual ::apache::thrift::TBase { - public: - - OffsideLineMessage(const OffsideLineMessage&) noexcept; - OffsideLineMessage& operator=(const OffsideLineMessage&) noexcept; - OffsideLineMessage() noexcept - : offside_line_x(0) { - } - - virtual ~OffsideLineMessage() noexcept; - double offside_line_x; - - _OffsideLineMessage__isset __isset; - - void __set_offside_line_x(const double val); - - bool operator == (const OffsideLineMessage & rhs) const - { - if (!(offside_line_x == rhs.offside_line_x)) - return false; - return true; - } - bool operator != (const OffsideLineMessage &rhs) const { - return !(*this == rhs); - } - - bool operator < (const OffsideLineMessage & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(OffsideLineMessage &a, OffsideLineMessage &b); - -std::ostream& operator<<(std::ostream& out, const OffsideLineMessage& obj); - -typedef struct _DefenseLineMessage__isset { - _DefenseLineMessage__isset() : defense_line_x(false) {} - bool defense_line_x :1; -} _DefenseLineMessage__isset; - -class DefenseLineMessage : public virtual ::apache::thrift::TBase { - public: - - DefenseLineMessage(const DefenseLineMessage&) noexcept; - DefenseLineMessage& operator=(const DefenseLineMessage&) noexcept; - DefenseLineMessage() noexcept - : defense_line_x(0) { - } - - virtual ~DefenseLineMessage() noexcept; - double defense_line_x; - - _DefenseLineMessage__isset __isset; - - void __set_defense_line_x(const double val); - - bool operator == (const DefenseLineMessage & rhs) const - { - if (!(defense_line_x == rhs.defense_line_x)) - return false; - return true; - } - bool operator != (const DefenseLineMessage &rhs) const { - return !(*this == rhs); - } - - bool operator < (const DefenseLineMessage & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(DefenseLineMessage &a, DefenseLineMessage &b); - -std::ostream& operator<<(std::ostream& out, const DefenseLineMessage& obj); - - -class WaitRequestMessage : public virtual ::apache::thrift::TBase { - public: - - WaitRequestMessage(const WaitRequestMessage&) noexcept; - WaitRequestMessage& operator=(const WaitRequestMessage&) noexcept; - WaitRequestMessage() noexcept { - } - - virtual ~WaitRequestMessage() noexcept; - - bool operator == (const WaitRequestMessage & /* rhs */) const - { - return true; - } - bool operator != (const WaitRequestMessage &rhs) const { - return !(*this == rhs); - } - - bool operator < (const WaitRequestMessage & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(WaitRequestMessage &a, WaitRequestMessage &b); - -std::ostream& operator<<(std::ostream& out, const WaitRequestMessage& obj); - -typedef struct _SetplayMessage__isset { - _SetplayMessage__isset() : wait_step(false) {} - bool wait_step :1; -} _SetplayMessage__isset; - -class SetplayMessage : public virtual ::apache::thrift::TBase { - public: - - SetplayMessage(const SetplayMessage&) noexcept; - SetplayMessage& operator=(const SetplayMessage&) noexcept; - SetplayMessage() noexcept - : wait_step(0) { - } - - virtual ~SetplayMessage() noexcept; - int32_t wait_step; - - _SetplayMessage__isset __isset; - - void __set_wait_step(const int32_t val); - - bool operator == (const SetplayMessage & rhs) const - { - if (!(wait_step == rhs.wait_step)) - return false; - return true; - } - bool operator != (const SetplayMessage &rhs) const { - return !(*this == rhs); - } - - bool operator < (const SetplayMessage & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(SetplayMessage &a, SetplayMessage &b); - -std::ostream& operator<<(std::ostream& out, const SetplayMessage& obj); - -typedef struct _PassRequestMessage__isset { - _PassRequestMessage__isset() : target_point(false) {} - bool target_point :1; -} _PassRequestMessage__isset; - -class PassRequestMessage : public virtual ::apache::thrift::TBase { - public: - - PassRequestMessage(const PassRequestMessage&) noexcept; - PassRequestMessage& operator=(const PassRequestMessage&) noexcept; - PassRequestMessage() noexcept { - } - - virtual ~PassRequestMessage() noexcept; - RpcVector2D target_point; - - _PassRequestMessage__isset __isset; - - void __set_target_point(const RpcVector2D& val); - - bool operator == (const PassRequestMessage & rhs) const - { - if (!(target_point == rhs.target_point)) - return false; - return true; - } - bool operator != (const PassRequestMessage &rhs) const { - return !(*this == rhs); - } - - bool operator < (const PassRequestMessage & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(PassRequestMessage &a, PassRequestMessage &b); - -std::ostream& operator<<(std::ostream& out, const PassRequestMessage& obj); - -typedef struct _StaminaMessage__isset { - _StaminaMessage__isset() : stamina(false) {} - bool stamina :1; -} _StaminaMessage__isset; - -class StaminaMessage : public virtual ::apache::thrift::TBase { - public: - - StaminaMessage(const StaminaMessage&) noexcept; - StaminaMessage& operator=(const StaminaMessage&) noexcept; - StaminaMessage() noexcept - : stamina(0) { - } - - virtual ~StaminaMessage() noexcept; - double stamina; - - _StaminaMessage__isset __isset; - - void __set_stamina(const double val); - - bool operator == (const StaminaMessage & rhs) const - { - if (!(stamina == rhs.stamina)) - return false; - return true; - } - bool operator != (const StaminaMessage &rhs) const { - return !(*this == rhs); - } - - bool operator < (const StaminaMessage & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(StaminaMessage &a, StaminaMessage &b); - -std::ostream& operator<<(std::ostream& out, const StaminaMessage& obj); - -typedef struct _RecoveryMessage__isset { - _RecoveryMessage__isset() : recovery(false) {} - bool recovery :1; -} _RecoveryMessage__isset; - -class RecoveryMessage : public virtual ::apache::thrift::TBase { - public: - - RecoveryMessage(const RecoveryMessage&) noexcept; - RecoveryMessage& operator=(const RecoveryMessage&) noexcept; - RecoveryMessage() noexcept - : recovery(0) { - } - - virtual ~RecoveryMessage() noexcept; - double recovery; - - _RecoveryMessage__isset __isset; - - void __set_recovery(const double val); - - bool operator == (const RecoveryMessage & rhs) const - { - if (!(recovery == rhs.recovery)) - return false; - return true; - } - bool operator != (const RecoveryMessage &rhs) const { - return !(*this == rhs); - } - - bool operator < (const RecoveryMessage & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(RecoveryMessage &a, RecoveryMessage &b); - -std::ostream& operator<<(std::ostream& out, const RecoveryMessage& obj); - -typedef struct _StaminaCapacityMessage__isset { - _StaminaCapacityMessage__isset() : stamina_capacity(false) {} - bool stamina_capacity :1; -} _StaminaCapacityMessage__isset; - -class StaminaCapacityMessage : public virtual ::apache::thrift::TBase { - public: - - StaminaCapacityMessage(const StaminaCapacityMessage&) noexcept; - StaminaCapacityMessage& operator=(const StaminaCapacityMessage&) noexcept; - StaminaCapacityMessage() noexcept - : stamina_capacity(0) { - } - - virtual ~StaminaCapacityMessage() noexcept; - double stamina_capacity; - - _StaminaCapacityMessage__isset __isset; - - void __set_stamina_capacity(const double val); - - bool operator == (const StaminaCapacityMessage & rhs) const - { - if (!(stamina_capacity == rhs.stamina_capacity)) - return false; - return true; - } - bool operator != (const StaminaCapacityMessage &rhs) const { - return !(*this == rhs); - } - - bool operator < (const StaminaCapacityMessage & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(StaminaCapacityMessage &a, StaminaCapacityMessage &b); - -std::ostream& operator<<(std::ostream& out, const StaminaCapacityMessage& obj); - -typedef struct _DribbleMessage__isset { - _DribbleMessage__isset() : target_point(false), queue_count(false) {} - bool target_point :1; - bool queue_count :1; -} _DribbleMessage__isset; - -class DribbleMessage : public virtual ::apache::thrift::TBase { - public: - - DribbleMessage(const DribbleMessage&) noexcept; - DribbleMessage& operator=(const DribbleMessage&) noexcept; - DribbleMessage() noexcept - : queue_count(0) { - } - - virtual ~DribbleMessage() noexcept; - RpcVector2D target_point; - int32_t queue_count; - - _DribbleMessage__isset __isset; - - void __set_target_point(const RpcVector2D& val); - - void __set_queue_count(const int32_t val); - - bool operator == (const DribbleMessage & rhs) const - { - if (!(target_point == rhs.target_point)) - return false; - if (!(queue_count == rhs.queue_count)) - return false; - return true; - } - bool operator != (const DribbleMessage &rhs) const { - return !(*this == rhs); - } - - bool operator < (const DribbleMessage & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(DribbleMessage &a, DribbleMessage &b); - -std::ostream& operator<<(std::ostream& out, const DribbleMessage& obj); - -typedef struct _BallGoalieMessage__isset { - _BallGoalieMessage__isset() : ball_position(false), ball_velocity(false), goalie_position(false), goalie_body_direction(false) {} - bool ball_position :1; - bool ball_velocity :1; - bool goalie_position :1; - bool goalie_body_direction :1; -} _BallGoalieMessage__isset; - -class BallGoalieMessage : public virtual ::apache::thrift::TBase { - public: - - BallGoalieMessage(const BallGoalieMessage&) noexcept; - BallGoalieMessage& operator=(const BallGoalieMessage&) noexcept; - BallGoalieMessage() noexcept - : goalie_body_direction(0) { - } - - virtual ~BallGoalieMessage() noexcept; - RpcVector2D ball_position; - RpcVector2D ball_velocity; - RpcVector2D goalie_position; - double goalie_body_direction; - - _BallGoalieMessage__isset __isset; - - void __set_ball_position(const RpcVector2D& val); - - void __set_ball_velocity(const RpcVector2D& val); - - void __set_goalie_position(const RpcVector2D& val); - - void __set_goalie_body_direction(const double val); - - bool operator == (const BallGoalieMessage & rhs) const - { - if (!(ball_position == rhs.ball_position)) - return false; - if (!(ball_velocity == rhs.ball_velocity)) - return false; - if (!(goalie_position == rhs.goalie_position)) - return false; - if (!(goalie_body_direction == rhs.goalie_body_direction)) - return false; - return true; - } - bool operator != (const BallGoalieMessage &rhs) const { - return !(*this == rhs); - } - - bool operator < (const BallGoalieMessage & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(BallGoalieMessage &a, BallGoalieMessage &b); - -std::ostream& operator<<(std::ostream& out, const BallGoalieMessage& obj); - -typedef struct _OnePlayerMessage__isset { - _OnePlayerMessage__isset() : uniform_number(false), position(false) {} - bool uniform_number :1; - bool position :1; -} _OnePlayerMessage__isset; - -class OnePlayerMessage : public virtual ::apache::thrift::TBase { - public: - - OnePlayerMessage(const OnePlayerMessage&) noexcept; - OnePlayerMessage& operator=(const OnePlayerMessage&) noexcept; - OnePlayerMessage() noexcept - : uniform_number(0) { - } - - virtual ~OnePlayerMessage() noexcept; - int32_t uniform_number; - RpcVector2D position; - - _OnePlayerMessage__isset __isset; - - void __set_uniform_number(const int32_t val); - - void __set_position(const RpcVector2D& val); - - bool operator == (const OnePlayerMessage & rhs) const - { - if (!(uniform_number == rhs.uniform_number)) - return false; - if (!(position == rhs.position)) - return false; - return true; - } - bool operator != (const OnePlayerMessage &rhs) const { - return !(*this == rhs); - } - - bool operator < (const OnePlayerMessage & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(OnePlayerMessage &a, OnePlayerMessage &b); - -std::ostream& operator<<(std::ostream& out, const OnePlayerMessage& obj); - -typedef struct _TwoPlayerMessage__isset { - _TwoPlayerMessage__isset() : first_uniform_number(false), first_position(false), second_uniform_number(false), second_position(false) {} - bool first_uniform_number :1; - bool first_position :1; - bool second_uniform_number :1; - bool second_position :1; -} _TwoPlayerMessage__isset; - -class TwoPlayerMessage : public virtual ::apache::thrift::TBase { - public: - - TwoPlayerMessage(const TwoPlayerMessage&) noexcept; - TwoPlayerMessage& operator=(const TwoPlayerMessage&) noexcept; - TwoPlayerMessage() noexcept - : first_uniform_number(0), - second_uniform_number(0) { - } - - virtual ~TwoPlayerMessage() noexcept; - int32_t first_uniform_number; - RpcVector2D first_position; - int32_t second_uniform_number; - RpcVector2D second_position; - - _TwoPlayerMessage__isset __isset; - - void __set_first_uniform_number(const int32_t val); - - void __set_first_position(const RpcVector2D& val); - - void __set_second_uniform_number(const int32_t val); - - void __set_second_position(const RpcVector2D& val); - - bool operator == (const TwoPlayerMessage & rhs) const - { - if (!(first_uniform_number == rhs.first_uniform_number)) - return false; - if (!(first_position == rhs.first_position)) - return false; - if (!(second_uniform_number == rhs.second_uniform_number)) - return false; - if (!(second_position == rhs.second_position)) - return false; - return true; - } - bool operator != (const TwoPlayerMessage &rhs) const { - return !(*this == rhs); - } - - bool operator < (const TwoPlayerMessage & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(TwoPlayerMessage &a, TwoPlayerMessage &b); - -std::ostream& operator<<(std::ostream& out, const TwoPlayerMessage& obj); - -typedef struct _ThreePlayerMessage__isset { - _ThreePlayerMessage__isset() : first_uniform_number(false), first_position(false), second_uniform_number(false), second_position(false), third_uniform_number(false), third_position(false) {} - bool first_uniform_number :1; - bool first_position :1; - bool second_uniform_number :1; - bool second_position :1; - bool third_uniform_number :1; - bool third_position :1; -} _ThreePlayerMessage__isset; - -class ThreePlayerMessage : public virtual ::apache::thrift::TBase { - public: - - ThreePlayerMessage(const ThreePlayerMessage&) noexcept; - ThreePlayerMessage& operator=(const ThreePlayerMessage&) noexcept; - ThreePlayerMessage() noexcept - : first_uniform_number(0), - second_uniform_number(0), - third_uniform_number(0) { - } - - virtual ~ThreePlayerMessage() noexcept; - int32_t first_uniform_number; - RpcVector2D first_position; - int32_t second_uniform_number; - RpcVector2D second_position; - int32_t third_uniform_number; - RpcVector2D third_position; - - _ThreePlayerMessage__isset __isset; - - void __set_first_uniform_number(const int32_t val); - - void __set_first_position(const RpcVector2D& val); - - void __set_second_uniform_number(const int32_t val); - - void __set_second_position(const RpcVector2D& val); - - void __set_third_uniform_number(const int32_t val); - - void __set_third_position(const RpcVector2D& val); - - bool operator == (const ThreePlayerMessage & rhs) const - { - if (!(first_uniform_number == rhs.first_uniform_number)) - return false; - if (!(first_position == rhs.first_position)) - return false; - if (!(second_uniform_number == rhs.second_uniform_number)) - return false; - if (!(second_position == rhs.second_position)) - return false; - if (!(third_uniform_number == rhs.third_uniform_number)) - return false; - if (!(third_position == rhs.third_position)) - return false; - return true; - } - bool operator != (const ThreePlayerMessage &rhs) const { - return !(*this == rhs); - } - - bool operator < (const ThreePlayerMessage & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(ThreePlayerMessage &a, ThreePlayerMessage &b); - -std::ostream& operator<<(std::ostream& out, const ThreePlayerMessage& obj); - -typedef struct _SelfMessage__isset { - _SelfMessage__isset() : self_position(false), self_body_direction(false), self_stamina(false) {} - bool self_position :1; - bool self_body_direction :1; - bool self_stamina :1; -} _SelfMessage__isset; - -class SelfMessage : public virtual ::apache::thrift::TBase { - public: - - SelfMessage(const SelfMessage&) noexcept; - SelfMessage& operator=(const SelfMessage&) noexcept; - SelfMessage() noexcept - : self_body_direction(0), - self_stamina(0) { - } - - virtual ~SelfMessage() noexcept; - RpcVector2D self_position; - double self_body_direction; - double self_stamina; - - _SelfMessage__isset __isset; - - void __set_self_position(const RpcVector2D& val); - - void __set_self_body_direction(const double val); - - void __set_self_stamina(const double val); - - bool operator == (const SelfMessage & rhs) const - { - if (!(self_position == rhs.self_position)) - return false; - if (!(self_body_direction == rhs.self_body_direction)) - return false; - if (!(self_stamina == rhs.self_stamina)) - return false; - return true; - } - bool operator != (const SelfMessage &rhs) const { - return !(*this == rhs); - } - - bool operator < (const SelfMessage & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(SelfMessage &a, SelfMessage &b); - -std::ostream& operator<<(std::ostream& out, const SelfMessage& obj); - -typedef struct _TeammateMessage__isset { - _TeammateMessage__isset() : uniform_number(false), position(false), body_direction(false) {} - bool uniform_number :1; - bool position :1; - bool body_direction :1; -} _TeammateMessage__isset; - -class TeammateMessage : public virtual ::apache::thrift::TBase { - public: - - TeammateMessage(const TeammateMessage&) noexcept; - TeammateMessage& operator=(const TeammateMessage&) noexcept; - TeammateMessage() noexcept - : uniform_number(0), - body_direction(0) { - } - - virtual ~TeammateMessage() noexcept; - int32_t uniform_number; - RpcVector2D position; - double body_direction; - - _TeammateMessage__isset __isset; - - void __set_uniform_number(const int32_t val); - - void __set_position(const RpcVector2D& val); - - void __set_body_direction(const double val); - - bool operator == (const TeammateMessage & rhs) const - { - if (!(uniform_number == rhs.uniform_number)) - return false; - if (!(position == rhs.position)) - return false; - if (!(body_direction == rhs.body_direction)) - return false; - return true; - } - bool operator != (const TeammateMessage &rhs) const { - return !(*this == rhs); - } - - bool operator < (const TeammateMessage & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(TeammateMessage &a, TeammateMessage &b); - -std::ostream& operator<<(std::ostream& out, const TeammateMessage& obj); - -typedef struct _OpponentMessage__isset { - _OpponentMessage__isset() : uniform_number(false), position(false), body_direction(false) {} - bool uniform_number :1; - bool position :1; - bool body_direction :1; -} _OpponentMessage__isset; - -class OpponentMessage : public virtual ::apache::thrift::TBase { - public: - - OpponentMessage(const OpponentMessage&) noexcept; - OpponentMessage& operator=(const OpponentMessage&) noexcept; - OpponentMessage() noexcept - : uniform_number(0), - body_direction(0) { - } - - virtual ~OpponentMessage() noexcept; - int32_t uniform_number; - RpcVector2D position; - double body_direction; - - _OpponentMessage__isset __isset; - - void __set_uniform_number(const int32_t val); - - void __set_position(const RpcVector2D& val); - - void __set_body_direction(const double val); - - bool operator == (const OpponentMessage & rhs) const - { - if (!(uniform_number == rhs.uniform_number)) - return false; - if (!(position == rhs.position)) - return false; - if (!(body_direction == rhs.body_direction)) - return false; - return true; - } - bool operator != (const OpponentMessage &rhs) const { - return !(*this == rhs); - } - - bool operator < (const OpponentMessage & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(OpponentMessage &a, OpponentMessage &b); - -std::ostream& operator<<(std::ostream& out, const OpponentMessage& obj); - -typedef struct _BallPlayerMessage__isset { - _BallPlayerMessage__isset() : ball_position(false), ball_velocity(false), uniform_number(false), player_position(false), body_direction(false) {} - bool ball_position :1; - bool ball_velocity :1; - bool uniform_number :1; - bool player_position :1; - bool body_direction :1; -} _BallPlayerMessage__isset; - -class BallPlayerMessage : public virtual ::apache::thrift::TBase { - public: - - BallPlayerMessage(const BallPlayerMessage&) noexcept; - BallPlayerMessage& operator=(const BallPlayerMessage&) noexcept; - BallPlayerMessage() noexcept - : uniform_number(0), - body_direction(0) { - } - - virtual ~BallPlayerMessage() noexcept; - RpcVector2D ball_position; - RpcVector2D ball_velocity; - int32_t uniform_number; - RpcVector2D player_position; - double body_direction; - - _BallPlayerMessage__isset __isset; - - void __set_ball_position(const RpcVector2D& val); - - void __set_ball_velocity(const RpcVector2D& val); - - void __set_uniform_number(const int32_t val); - - void __set_player_position(const RpcVector2D& val); - - void __set_body_direction(const double val); - - bool operator == (const BallPlayerMessage & rhs) const - { - if (!(ball_position == rhs.ball_position)) - return false; - if (!(ball_velocity == rhs.ball_velocity)) - return false; - if (!(uniform_number == rhs.uniform_number)) - return false; - if (!(player_position == rhs.player_position)) - return false; - if (!(body_direction == rhs.body_direction)) - return false; - return true; - } - bool operator != (const BallPlayerMessage &rhs) const { - return !(*this == rhs); - } - - bool operator < (const BallPlayerMessage & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(BallPlayerMessage &a, BallPlayerMessage &b); - -std::ostream& operator<<(std::ostream& out, const BallPlayerMessage& obj); - -typedef struct _Say__isset { - _Say__isset() : ball_message(false), pass_message(false), intercept_message(false), goalie_message(false), goalie_and_player_message(false), offside_line_message(false), defense_line_message(false), wait_request_message(false), setplay_message(false), pass_request_message(false), stamina_message(false), recovery_message(false), stamina_capacity_message(false), dribble_message(false), ball_goalie_message(false), one_player_message(false), two_player_message(false), three_player_message(false), self_message(false), teammate_message(false), opponent_message(false), ball_player_message(false) {} - bool ball_message :1; - bool pass_message :1; - bool intercept_message :1; - bool goalie_message :1; - bool goalie_and_player_message :1; - bool offside_line_message :1; - bool defense_line_message :1; - bool wait_request_message :1; - bool setplay_message :1; - bool pass_request_message :1; - bool stamina_message :1; - bool recovery_message :1; - bool stamina_capacity_message :1; - bool dribble_message :1; - bool ball_goalie_message :1; - bool one_player_message :1; - bool two_player_message :1; - bool three_player_message :1; - bool self_message :1; - bool teammate_message :1; - bool opponent_message :1; - bool ball_player_message :1; -} _Say__isset; - -class Say : public virtual ::apache::thrift::TBase { - public: - - Say(const Say&) noexcept; - Say& operator=(const Say&) noexcept; - Say() noexcept { - } - - virtual ~Say() noexcept; - BallMessage ball_message; - PassMessage pass_message; - InterceptMessage intercept_message; - GoalieMessage goalie_message; - GoalieAndPlayerMessage goalie_and_player_message; - OffsideLineMessage offside_line_message; - DefenseLineMessage defense_line_message; - WaitRequestMessage wait_request_message; - SetplayMessage setplay_message; - PassRequestMessage pass_request_message; - StaminaMessage stamina_message; - RecoveryMessage recovery_message; - StaminaCapacityMessage stamina_capacity_message; - DribbleMessage dribble_message; - BallGoalieMessage ball_goalie_message; - OnePlayerMessage one_player_message; - TwoPlayerMessage two_player_message; - ThreePlayerMessage three_player_message; - SelfMessage self_message; - TeammateMessage teammate_message; - OpponentMessage opponent_message; - BallPlayerMessage ball_player_message; - - _Say__isset __isset; - - void __set_ball_message(const BallMessage& val); - - void __set_pass_message(const PassMessage& val); - - void __set_intercept_message(const InterceptMessage& val); - - void __set_goalie_message(const GoalieMessage& val); - - void __set_goalie_and_player_message(const GoalieAndPlayerMessage& val); - - void __set_offside_line_message(const OffsideLineMessage& val); - - void __set_defense_line_message(const DefenseLineMessage& val); - - void __set_wait_request_message(const WaitRequestMessage& val); - - void __set_setplay_message(const SetplayMessage& val); - - void __set_pass_request_message(const PassRequestMessage& val); - - void __set_stamina_message(const StaminaMessage& val); - - void __set_recovery_message(const RecoveryMessage& val); - - void __set_stamina_capacity_message(const StaminaCapacityMessage& val); - - void __set_dribble_message(const DribbleMessage& val); - - void __set_ball_goalie_message(const BallGoalieMessage& val); - - void __set_one_player_message(const OnePlayerMessage& val); - - void __set_two_player_message(const TwoPlayerMessage& val); - - void __set_three_player_message(const ThreePlayerMessage& val); - - void __set_self_message(const SelfMessage& val); - - void __set_teammate_message(const TeammateMessage& val); - - void __set_opponent_message(const OpponentMessage& val); - - void __set_ball_player_message(const BallPlayerMessage& val); - - bool operator == (const Say & rhs) const - { - if (__isset.ball_message != rhs.__isset.ball_message) - return false; - else if (__isset.ball_message && !(ball_message == rhs.ball_message)) - return false; - if (__isset.pass_message != rhs.__isset.pass_message) - return false; - else if (__isset.pass_message && !(pass_message == rhs.pass_message)) - return false; - if (__isset.intercept_message != rhs.__isset.intercept_message) - return false; - else if (__isset.intercept_message && !(intercept_message == rhs.intercept_message)) - return false; - if (__isset.goalie_message != rhs.__isset.goalie_message) - return false; - else if (__isset.goalie_message && !(goalie_message == rhs.goalie_message)) - return false; - if (__isset.goalie_and_player_message != rhs.__isset.goalie_and_player_message) - return false; - else if (__isset.goalie_and_player_message && !(goalie_and_player_message == rhs.goalie_and_player_message)) - return false; - if (__isset.offside_line_message != rhs.__isset.offside_line_message) - return false; - else if (__isset.offside_line_message && !(offside_line_message == rhs.offside_line_message)) - return false; - if (__isset.defense_line_message != rhs.__isset.defense_line_message) - return false; - else if (__isset.defense_line_message && !(defense_line_message == rhs.defense_line_message)) - return false; - if (__isset.wait_request_message != rhs.__isset.wait_request_message) - return false; - else if (__isset.wait_request_message && !(wait_request_message == rhs.wait_request_message)) - return false; - if (__isset.setplay_message != rhs.__isset.setplay_message) - return false; - else if (__isset.setplay_message && !(setplay_message == rhs.setplay_message)) - return false; - if (__isset.pass_request_message != rhs.__isset.pass_request_message) - return false; - else if (__isset.pass_request_message && !(pass_request_message == rhs.pass_request_message)) - return false; - if (__isset.stamina_message != rhs.__isset.stamina_message) - return false; - else if (__isset.stamina_message && !(stamina_message == rhs.stamina_message)) - return false; - if (__isset.recovery_message != rhs.__isset.recovery_message) - return false; - else if (__isset.recovery_message && !(recovery_message == rhs.recovery_message)) - return false; - if (__isset.stamina_capacity_message != rhs.__isset.stamina_capacity_message) - return false; - else if (__isset.stamina_capacity_message && !(stamina_capacity_message == rhs.stamina_capacity_message)) - return false; - if (__isset.dribble_message != rhs.__isset.dribble_message) - return false; - else if (__isset.dribble_message && !(dribble_message == rhs.dribble_message)) - return false; - if (__isset.ball_goalie_message != rhs.__isset.ball_goalie_message) - return false; - else if (__isset.ball_goalie_message && !(ball_goalie_message == rhs.ball_goalie_message)) - return false; - if (__isset.one_player_message != rhs.__isset.one_player_message) - return false; - else if (__isset.one_player_message && !(one_player_message == rhs.one_player_message)) - return false; - if (__isset.two_player_message != rhs.__isset.two_player_message) - return false; - else if (__isset.two_player_message && !(two_player_message == rhs.two_player_message)) - return false; - if (__isset.three_player_message != rhs.__isset.three_player_message) - return false; - else if (__isset.three_player_message && !(three_player_message == rhs.three_player_message)) - return false; - if (__isset.self_message != rhs.__isset.self_message) - return false; - else if (__isset.self_message && !(self_message == rhs.self_message)) - return false; - if (__isset.teammate_message != rhs.__isset.teammate_message) - return false; - else if (__isset.teammate_message && !(teammate_message == rhs.teammate_message)) - return false; - if (__isset.opponent_message != rhs.__isset.opponent_message) - return false; - else if (__isset.opponent_message && !(opponent_message == rhs.opponent_message)) - return false; - if (__isset.ball_player_message != rhs.__isset.ball_player_message) - return false; - else if (__isset.ball_player_message && !(ball_player_message == rhs.ball_player_message)) - return false; - return true; - } - bool operator != (const Say &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Say & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Say &a, Say &b); - -std::ostream& operator<<(std::ostream& out, const Say& obj); - -typedef struct _PointTo__isset { - _PointTo__isset() : x(false), y(false) {} - bool x :1; - bool y :1; -} _PointTo__isset; - -class PointTo : public virtual ::apache::thrift::TBase { - public: - - PointTo(const PointTo&) noexcept; - PointTo& operator=(const PointTo&) noexcept; - PointTo() noexcept - : x(0), - y(0) { - } - - virtual ~PointTo() noexcept; - double x; - double y; - - _PointTo__isset __isset; - - void __set_x(const double val); - - void __set_y(const double val); - - bool operator == (const PointTo & rhs) const - { - if (!(x == rhs.x)) - return false; - if (!(y == rhs.y)) - return false; - return true; - } - bool operator != (const PointTo &rhs) const { - return !(*this == rhs); - } - - bool operator < (const PointTo & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(PointTo &a, PointTo &b); - -std::ostream& operator<<(std::ostream& out, const PointTo& obj); - - -class PointToOf : public virtual ::apache::thrift::TBase { - public: - - PointToOf(const PointToOf&) noexcept; - PointToOf& operator=(const PointToOf&) noexcept; - PointToOf() noexcept { - } - - virtual ~PointToOf() noexcept; - - bool operator == (const PointToOf & /* rhs */) const - { - return true; - } - bool operator != (const PointToOf &rhs) const { - return !(*this == rhs); - } - - bool operator < (const PointToOf & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(PointToOf &a, PointToOf &b); - -std::ostream& operator<<(std::ostream& out, const PointToOf& obj); - -typedef struct _AttentionTo__isset { - _AttentionTo__isset() : side(false), unum(false) {} - bool side :1; - bool unum :1; -} _AttentionTo__isset; - -class AttentionTo : public virtual ::apache::thrift::TBase { - public: - - AttentionTo(const AttentionTo&) noexcept; - AttentionTo& operator=(const AttentionTo&) noexcept; - AttentionTo() noexcept - : side(static_cast(0)), - unum(0) { - } - - virtual ~AttentionTo() noexcept; - /** - * - * @see Side - */ - Side::type side; - int32_t unum; - - _AttentionTo__isset __isset; - - void __set_side(const Side::type val); - - void __set_unum(const int32_t val); - - bool operator == (const AttentionTo & rhs) const - { - if (!(side == rhs.side)) - return false; - if (!(unum == rhs.unum)) - return false; - return true; - } - bool operator != (const AttentionTo &rhs) const { - return !(*this == rhs); - } - - bool operator < (const AttentionTo & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(AttentionTo &a, AttentionTo &b); - -std::ostream& operator<<(std::ostream& out, const AttentionTo& obj); - - -class AttentionToOf : public virtual ::apache::thrift::TBase { - public: - - AttentionToOf(const AttentionToOf&) noexcept; - AttentionToOf& operator=(const AttentionToOf&) noexcept; - AttentionToOf() noexcept { - } - - virtual ~AttentionToOf() noexcept; - - bool operator == (const AttentionToOf & /* rhs */) const - { - return true; - } - bool operator != (const AttentionToOf &rhs) const { - return !(*this == rhs); - } - - bool operator < (const AttentionToOf & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(AttentionToOf &a, AttentionToOf &b); - -std::ostream& operator<<(std::ostream& out, const AttentionToOf& obj); - -typedef struct _AddText__isset { - _AddText__isset() : level(false), message(false) {} - bool level :1; - bool message :1; -} _AddText__isset; - -class AddText : public virtual ::apache::thrift::TBase { - public: - - AddText(const AddText&); - AddText& operator=(const AddText&); - AddText() noexcept - : level(static_cast(0)), - message() { - } - - virtual ~AddText() noexcept; - /** - * - * @see LoggerLevel - */ - LoggerLevel::type level; - std::string message; - - _AddText__isset __isset; - - void __set_level(const LoggerLevel::type val); - - void __set_message(const std::string& val); - - bool operator == (const AddText & rhs) const - { - if (!(level == rhs.level)) - return false; - if (!(message == rhs.message)) - return false; - return true; - } - bool operator != (const AddText &rhs) const { - return !(*this == rhs); - } - - bool operator < (const AddText & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(AddText &a, AddText &b); - -std::ostream& operator<<(std::ostream& out, const AddText& obj); - -typedef struct _AddPoint__isset { - _AddPoint__isset() : level(false), point(false), color(false) {} - bool level :1; - bool point :1; - bool color :1; -} _AddPoint__isset; - -class AddPoint : public virtual ::apache::thrift::TBase { - public: - - AddPoint(const AddPoint&); - AddPoint& operator=(const AddPoint&); - AddPoint() noexcept - : level(static_cast(0)), - color() { - } - - virtual ~AddPoint() noexcept; - /** - * - * @see LoggerLevel - */ - LoggerLevel::type level; - RpcVector2D point; - std::string color; - - _AddPoint__isset __isset; - - void __set_level(const LoggerLevel::type val); - - void __set_point(const RpcVector2D& val); - - void __set_color(const std::string& val); - - bool operator == (const AddPoint & rhs) const - { - if (!(level == rhs.level)) - return false; - if (!(point == rhs.point)) - return false; - if (!(color == rhs.color)) - return false; - return true; - } - bool operator != (const AddPoint &rhs) const { - return !(*this == rhs); - } - - bool operator < (const AddPoint & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(AddPoint &a, AddPoint &b); - -std::ostream& operator<<(std::ostream& out, const AddPoint& obj); - -typedef struct _AddLine__isset { - _AddLine__isset() : level(false), start_point(false), end_point(false), color(false) {} - bool level :1; - bool start_point :1; - bool end_point :1; - bool color :1; -} _AddLine__isset; - -class AddLine : public virtual ::apache::thrift::TBase { - public: - - AddLine(const AddLine&); - AddLine& operator=(const AddLine&); - AddLine() noexcept - : level(static_cast(0)), - color() { - } - - virtual ~AddLine() noexcept; - /** - * - * @see LoggerLevel - */ - LoggerLevel::type level; - RpcVector2D start_point; - RpcVector2D end_point; - std::string color; - - _AddLine__isset __isset; - - void __set_level(const LoggerLevel::type val); - - void __set_start_point(const RpcVector2D& val); - - void __set_end_point(const RpcVector2D& val); - - void __set_color(const std::string& val); - - bool operator == (const AddLine & rhs) const - { - if (!(level == rhs.level)) - return false; - if (!(start_point == rhs.start_point)) - return false; - if (!(end_point == rhs.end_point)) - return false; - if (!(color == rhs.color)) - return false; - return true; - } - bool operator != (const AddLine &rhs) const { - return !(*this == rhs); - } - - bool operator < (const AddLine & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(AddLine &a, AddLine &b); - -std::ostream& operator<<(std::ostream& out, const AddLine& obj); - -typedef struct _AddArc__isset { - _AddArc__isset() : level(false), center(false), radius(false), start_angle(false), span_angel(false), color(false) {} - bool level :1; - bool center :1; - bool radius :1; - bool start_angle :1; - bool span_angel :1; - bool color :1; -} _AddArc__isset; - -class AddArc : public virtual ::apache::thrift::TBase { - public: - - AddArc(const AddArc&); - AddArc& operator=(const AddArc&); - AddArc() noexcept - : level(static_cast(0)), - radius(0), - start_angle(0), - span_angel(0), - color() { - } - - virtual ~AddArc() noexcept; - /** - * - * @see LoggerLevel - */ - LoggerLevel::type level; - RpcVector2D center; - double radius; - double start_angle; - double span_angel; - std::string color; - - _AddArc__isset __isset; - - void __set_level(const LoggerLevel::type val); - - void __set_center(const RpcVector2D& val); - - void __set_radius(const double val); - - void __set_start_angle(const double val); - - void __set_span_angel(const double val); - - void __set_color(const std::string& val); - - bool operator == (const AddArc & rhs) const - { - if (!(level == rhs.level)) - return false; - if (!(center == rhs.center)) - return false; - if (!(radius == rhs.radius)) - return false; - if (!(start_angle == rhs.start_angle)) - return false; - if (!(span_angel == rhs.span_angel)) - return false; - if (!(color == rhs.color)) - return false; - return true; - } - bool operator != (const AddArc &rhs) const { - return !(*this == rhs); - } - - bool operator < (const AddArc & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(AddArc &a, AddArc &b); - -std::ostream& operator<<(std::ostream& out, const AddArc& obj); - -typedef struct _AddCircle__isset { - _AddCircle__isset() : level(false), center(false), radius(false), color(false), fill(false) {} - bool level :1; - bool center :1; - bool radius :1; - bool color :1; - bool fill :1; -} _AddCircle__isset; - -class AddCircle : public virtual ::apache::thrift::TBase { - public: - - AddCircle(const AddCircle&); - AddCircle& operator=(const AddCircle&); - AddCircle() noexcept - : level(static_cast(0)), - radius(0), - color(), - fill(0) { - } - - virtual ~AddCircle() noexcept; - /** - * - * @see LoggerLevel - */ - LoggerLevel::type level; - RpcVector2D center; - double radius; - std::string color; - bool fill; - - _AddCircle__isset __isset; - - void __set_level(const LoggerLevel::type val); - - void __set_center(const RpcVector2D& val); - - void __set_radius(const double val); - - void __set_color(const std::string& val); - - void __set_fill(const bool val); - - bool operator == (const AddCircle & rhs) const - { - if (!(level == rhs.level)) - return false; - if (!(center == rhs.center)) - return false; - if (!(radius == rhs.radius)) - return false; - if (!(color == rhs.color)) - return false; - if (!(fill == rhs.fill)) - return false; - return true; - } - bool operator != (const AddCircle &rhs) const { - return !(*this == rhs); - } - - bool operator < (const AddCircle & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(AddCircle &a, AddCircle &b); - -std::ostream& operator<<(std::ostream& out, const AddCircle& obj); - -typedef struct _AddTriangle__isset { - _AddTriangle__isset() : level(false), point1(false), point2(false), point3(false), color(false), fill(false) {} - bool level :1; - bool point1 :1; - bool point2 :1; - bool point3 :1; - bool color :1; - bool fill :1; -} _AddTriangle__isset; - -class AddTriangle : public virtual ::apache::thrift::TBase { - public: - - AddTriangle(const AddTriangle&); - AddTriangle& operator=(const AddTriangle&); - AddTriangle() noexcept - : level(static_cast(0)), - color(), - fill(0) { - } - - virtual ~AddTriangle() noexcept; - /** - * - * @see LoggerLevel - */ - LoggerLevel::type level; - RpcVector2D point1; - RpcVector2D point2; - RpcVector2D point3; - std::string color; - bool fill; - - _AddTriangle__isset __isset; - - void __set_level(const LoggerLevel::type val); - - void __set_point1(const RpcVector2D& val); - - void __set_point2(const RpcVector2D& val); - - void __set_point3(const RpcVector2D& val); - - void __set_color(const std::string& val); - - void __set_fill(const bool val); - - bool operator == (const AddTriangle & rhs) const - { - if (!(level == rhs.level)) - return false; - if (!(point1 == rhs.point1)) - return false; - if (!(point2 == rhs.point2)) - return false; - if (!(point3 == rhs.point3)) - return false; - if (!(color == rhs.color)) - return false; - if (!(fill == rhs.fill)) - return false; - return true; - } - bool operator != (const AddTriangle &rhs) const { - return !(*this == rhs); - } - - bool operator < (const AddTriangle & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(AddTriangle &a, AddTriangle &b); - -std::ostream& operator<<(std::ostream& out, const AddTriangle& obj); - -typedef struct _AddRectangle__isset { - _AddRectangle__isset() : level(false), left(false), top(false), length(false), width(false), color(false), fill(false) {} - bool level :1; - bool left :1; - bool top :1; - bool length :1; - bool width :1; - bool color :1; - bool fill :1; -} _AddRectangle__isset; - -class AddRectangle : public virtual ::apache::thrift::TBase { - public: - - AddRectangle(const AddRectangle&); - AddRectangle& operator=(const AddRectangle&); - AddRectangle() noexcept - : level(static_cast(0)), - left(0), - top(0), - length(0), - width(0), - color(), - fill(0) { - } - - virtual ~AddRectangle() noexcept; - /** - * - * @see LoggerLevel - */ - LoggerLevel::type level; - double left; - double top; - double length; - double width; - std::string color; - bool fill; - - _AddRectangle__isset __isset; - - void __set_level(const LoggerLevel::type val); - - void __set_left(const double val); - - void __set_top(const double val); - - void __set_length(const double val); - - void __set_width(const double val); - - void __set_color(const std::string& val); - - void __set_fill(const bool val); - - bool operator == (const AddRectangle & rhs) const - { - if (!(level == rhs.level)) - return false; - if (!(left == rhs.left)) - return false; - if (!(top == rhs.top)) - return false; - if (!(length == rhs.length)) - return false; - if (!(width == rhs.width)) - return false; - if (!(color == rhs.color)) - return false; - if (!(fill == rhs.fill)) - return false; - return true; - } - bool operator != (const AddRectangle &rhs) const { - return !(*this == rhs); - } - - bool operator < (const AddRectangle & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(AddRectangle &a, AddRectangle &b); - -std::ostream& operator<<(std::ostream& out, const AddRectangle& obj); - -typedef struct _AddSector__isset { - _AddSector__isset() : level(false), center(false), min_radius(false), max_radius(false), start_angle(false), span_angel(false), color(false), fill(false) {} - bool level :1; - bool center :1; - bool min_radius :1; - bool max_radius :1; - bool start_angle :1; - bool span_angel :1; - bool color :1; - bool fill :1; -} _AddSector__isset; - -class AddSector : public virtual ::apache::thrift::TBase { - public: - - AddSector(const AddSector&); - AddSector& operator=(const AddSector&); - AddSector() noexcept - : level(static_cast(0)), - min_radius(0), - max_radius(0), - start_angle(0), - span_angel(0), - color(), - fill(0) { - } - - virtual ~AddSector() noexcept; - /** - * - * @see LoggerLevel - */ - LoggerLevel::type level; - RpcVector2D center; - double min_radius; - double max_radius; - double start_angle; - double span_angel; - std::string color; - bool fill; - - _AddSector__isset __isset; - - void __set_level(const LoggerLevel::type val); - - void __set_center(const RpcVector2D& val); - - void __set_min_radius(const double val); - - void __set_max_radius(const double val); - - void __set_start_angle(const double val); - - void __set_span_angel(const double val); - - void __set_color(const std::string& val); - - void __set_fill(const bool val); - - bool operator == (const AddSector & rhs) const - { - if (!(level == rhs.level)) - return false; - if (!(center == rhs.center)) - return false; - if (!(min_radius == rhs.min_radius)) - return false; - if (!(max_radius == rhs.max_radius)) - return false; - if (!(start_angle == rhs.start_angle)) - return false; - if (!(span_angel == rhs.span_angel)) - return false; - if (!(color == rhs.color)) - return false; - if (!(fill == rhs.fill)) - return false; - return true; - } - bool operator != (const AddSector &rhs) const { - return !(*this == rhs); - } - - bool operator < (const AddSector & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(AddSector &a, AddSector &b); - -std::ostream& operator<<(std::ostream& out, const AddSector& obj); - -typedef struct _AddMessage__isset { - _AddMessage__isset() : level(false), position(false), message(false), color(false) {} - bool level :1; - bool position :1; - bool message :1; - bool color :1; -} _AddMessage__isset; - -class AddMessage : public virtual ::apache::thrift::TBase { - public: - - AddMessage(const AddMessage&); - AddMessage& operator=(const AddMessage&); - AddMessage() noexcept - : level(static_cast(0)), - message(), - color() { - } - - virtual ~AddMessage() noexcept; - /** - * - * @see LoggerLevel - */ - LoggerLevel::type level; - RpcVector2D position; - std::string message; - std::string color; - - _AddMessage__isset __isset; - - void __set_level(const LoggerLevel::type val); - - void __set_position(const RpcVector2D& val); - - void __set_message(const std::string& val); - - void __set_color(const std::string& val); - - bool operator == (const AddMessage & rhs) const - { - if (!(level == rhs.level)) - return false; - if (!(position == rhs.position)) - return false; - if (!(message == rhs.message)) - return false; - if (!(color == rhs.color)) - return false; - return true; - } - bool operator != (const AddMessage &rhs) const { - return !(*this == rhs); - } - - bool operator < (const AddMessage & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(AddMessage &a, AddMessage &b); - -std::ostream& operator<<(std::ostream& out, const AddMessage& obj); - -typedef struct _Log__isset { - _Log__isset() : add_text(false), add_point(false), add_line(false), add_arc(false), add_circle(false), add_triangle(false), add_rectangle(false), add_sector(false), add_message(false) {} - bool add_text :1; - bool add_point :1; - bool add_line :1; - bool add_arc :1; - bool add_circle :1; - bool add_triangle :1; - bool add_rectangle :1; - bool add_sector :1; - bool add_message :1; -} _Log__isset; - -class Log : public virtual ::apache::thrift::TBase { - public: - - Log(const Log&); - Log& operator=(const Log&); - Log() noexcept { - } - - virtual ~Log() noexcept; - AddText add_text; - AddPoint add_point; - AddLine add_line; - AddArc add_arc; - AddCircle add_circle; - AddTriangle add_triangle; - AddRectangle add_rectangle; - AddSector add_sector; - AddMessage add_message; - - _Log__isset __isset; - - void __set_add_text(const AddText& val); - - void __set_add_point(const AddPoint& val); - - void __set_add_line(const AddLine& val); - - void __set_add_arc(const AddArc& val); - - void __set_add_circle(const AddCircle& val); - - void __set_add_triangle(const AddTriangle& val); - - void __set_add_rectangle(const AddRectangle& val); - - void __set_add_sector(const AddSector& val); - - void __set_add_message(const AddMessage& val); - - bool operator == (const Log & rhs) const - { - if (__isset.add_text != rhs.__isset.add_text) - return false; - else if (__isset.add_text && !(add_text == rhs.add_text)) - return false; - if (__isset.add_point != rhs.__isset.add_point) - return false; - else if (__isset.add_point && !(add_point == rhs.add_point)) - return false; - if (__isset.add_line != rhs.__isset.add_line) - return false; - else if (__isset.add_line && !(add_line == rhs.add_line)) - return false; - if (__isset.add_arc != rhs.__isset.add_arc) - return false; - else if (__isset.add_arc && !(add_arc == rhs.add_arc)) - return false; - if (__isset.add_circle != rhs.__isset.add_circle) - return false; - else if (__isset.add_circle && !(add_circle == rhs.add_circle)) - return false; - if (__isset.add_triangle != rhs.__isset.add_triangle) - return false; - else if (__isset.add_triangle && !(add_triangle == rhs.add_triangle)) - return false; - if (__isset.add_rectangle != rhs.__isset.add_rectangle) - return false; - else if (__isset.add_rectangle && !(add_rectangle == rhs.add_rectangle)) - return false; - if (__isset.add_sector != rhs.__isset.add_sector) - return false; - else if (__isset.add_sector && !(add_sector == rhs.add_sector)) - return false; - if (__isset.add_message != rhs.__isset.add_message) - return false; - else if (__isset.add_message && !(add_message == rhs.add_message)) - return false; - return true; - } - bool operator != (const Log &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Log & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Log &a, Log &b); - -std::ostream& operator<<(std::ostream& out, const Log& obj); - -typedef struct _DebugClient__isset { - _DebugClient__isset() : message(false) {} - bool message :1; -} _DebugClient__isset; - -class DebugClient : public virtual ::apache::thrift::TBase { - public: - - DebugClient(const DebugClient&); - DebugClient& operator=(const DebugClient&); - DebugClient() noexcept - : message() { - } - - virtual ~DebugClient() noexcept; - std::string message; - - _DebugClient__isset __isset; - - void __set_message(const std::string& val); - - bool operator == (const DebugClient & rhs) const - { - if (!(message == rhs.message)) - return false; - return true; - } - bool operator != (const DebugClient &rhs) const { - return !(*this == rhs); - } - - bool operator < (const DebugClient & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(DebugClient &a, DebugClient &b); - -std::ostream& operator<<(std::ostream& out, const DebugClient& obj); - -typedef struct _Body_GoToPoint__isset { - _Body_GoToPoint__isset() : target_point(false), distance_threshold(false), max_dash_power(false) {} - bool target_point :1; - bool distance_threshold :1; - bool max_dash_power :1; -} _Body_GoToPoint__isset; - -class Body_GoToPoint : public virtual ::apache::thrift::TBase { - public: - - Body_GoToPoint(const Body_GoToPoint&) noexcept; - Body_GoToPoint& operator=(const Body_GoToPoint&) noexcept; - Body_GoToPoint() noexcept - : distance_threshold(0), - max_dash_power(0) { - } - - virtual ~Body_GoToPoint() noexcept; - RpcVector2D target_point; - double distance_threshold; - double max_dash_power; - - _Body_GoToPoint__isset __isset; - - void __set_target_point(const RpcVector2D& val); - - void __set_distance_threshold(const double val); - - void __set_max_dash_power(const double val); - - bool operator == (const Body_GoToPoint & rhs) const - { - if (!(target_point == rhs.target_point)) - return false; - if (!(distance_threshold == rhs.distance_threshold)) - return false; - if (!(max_dash_power == rhs.max_dash_power)) - return false; - return true; - } - bool operator != (const Body_GoToPoint &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Body_GoToPoint & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Body_GoToPoint &a, Body_GoToPoint &b); - -std::ostream& operator<<(std::ostream& out, const Body_GoToPoint& obj); - -typedef struct _Body_SmartKick__isset { - _Body_SmartKick__isset() : target_point(false), first_speed(false), first_speed_threshold(false), max_steps(false) {} - bool target_point :1; - bool first_speed :1; - bool first_speed_threshold :1; - bool max_steps :1; -} _Body_SmartKick__isset; - -class Body_SmartKick : public virtual ::apache::thrift::TBase { - public: - - Body_SmartKick(const Body_SmartKick&) noexcept; - Body_SmartKick& operator=(const Body_SmartKick&) noexcept; - Body_SmartKick() noexcept - : first_speed(0), - first_speed_threshold(0), - max_steps(0) { - } - - virtual ~Body_SmartKick() noexcept; - RpcVector2D target_point; - double first_speed; - double first_speed_threshold; - int32_t max_steps; - - _Body_SmartKick__isset __isset; - - void __set_target_point(const RpcVector2D& val); - - void __set_first_speed(const double val); - - void __set_first_speed_threshold(const double val); - - void __set_max_steps(const int32_t val); - - bool operator == (const Body_SmartKick & rhs) const - { - if (!(target_point == rhs.target_point)) - return false; - if (!(first_speed == rhs.first_speed)) - return false; - if (!(first_speed_threshold == rhs.first_speed_threshold)) - return false; - if (!(max_steps == rhs.max_steps)) - return false; - return true; - } - bool operator != (const Body_SmartKick &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Body_SmartKick & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Body_SmartKick &a, Body_SmartKick &b); - -std::ostream& operator<<(std::ostream& out, const Body_SmartKick& obj); - -typedef struct _Bhv_BeforeKickOff__isset { - _Bhv_BeforeKickOff__isset() : point(false) {} - bool point :1; -} _Bhv_BeforeKickOff__isset; - -class Bhv_BeforeKickOff : public virtual ::apache::thrift::TBase { - public: - - Bhv_BeforeKickOff(const Bhv_BeforeKickOff&) noexcept; - Bhv_BeforeKickOff& operator=(const Bhv_BeforeKickOff&) noexcept; - Bhv_BeforeKickOff() noexcept { - } - - virtual ~Bhv_BeforeKickOff() noexcept; - RpcVector2D point; - - _Bhv_BeforeKickOff__isset __isset; - - void __set_point(const RpcVector2D& val); - - bool operator == (const Bhv_BeforeKickOff & rhs) const - { - if (!(point == rhs.point)) - return false; - return true; - } - bool operator != (const Bhv_BeforeKickOff &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Bhv_BeforeKickOff & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Bhv_BeforeKickOff &a, Bhv_BeforeKickOff &b); - -std::ostream& operator<<(std::ostream& out, const Bhv_BeforeKickOff& obj); - - -class Bhv_BodyNeckToBall : public virtual ::apache::thrift::TBase { - public: - - Bhv_BodyNeckToBall(const Bhv_BodyNeckToBall&) noexcept; - Bhv_BodyNeckToBall& operator=(const Bhv_BodyNeckToBall&) noexcept; - Bhv_BodyNeckToBall() noexcept { - } - - virtual ~Bhv_BodyNeckToBall() noexcept; - - bool operator == (const Bhv_BodyNeckToBall & /* rhs */) const - { - return true; - } - bool operator != (const Bhv_BodyNeckToBall &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Bhv_BodyNeckToBall & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Bhv_BodyNeckToBall &a, Bhv_BodyNeckToBall &b); - -std::ostream& operator<<(std::ostream& out, const Bhv_BodyNeckToBall& obj); - -typedef struct _Bhv_BodyNeckToPoint__isset { - _Bhv_BodyNeckToPoint__isset() : point(false) {} - bool point :1; -} _Bhv_BodyNeckToPoint__isset; - -class Bhv_BodyNeckToPoint : public virtual ::apache::thrift::TBase { - public: - - Bhv_BodyNeckToPoint(const Bhv_BodyNeckToPoint&) noexcept; - Bhv_BodyNeckToPoint& operator=(const Bhv_BodyNeckToPoint&) noexcept; - Bhv_BodyNeckToPoint() noexcept { - } - - virtual ~Bhv_BodyNeckToPoint() noexcept; - RpcVector2D point; - - _Bhv_BodyNeckToPoint__isset __isset; - - void __set_point(const RpcVector2D& val); - - bool operator == (const Bhv_BodyNeckToPoint & rhs) const - { - if (!(point == rhs.point)) - return false; - return true; - } - bool operator != (const Bhv_BodyNeckToPoint &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Bhv_BodyNeckToPoint & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Bhv_BodyNeckToPoint &a, Bhv_BodyNeckToPoint &b); - -std::ostream& operator<<(std::ostream& out, const Bhv_BodyNeckToPoint& obj); - - -class Bhv_Emergency : public virtual ::apache::thrift::TBase { - public: - - Bhv_Emergency(const Bhv_Emergency&) noexcept; - Bhv_Emergency& operator=(const Bhv_Emergency&) noexcept; - Bhv_Emergency() noexcept { - } - - virtual ~Bhv_Emergency() noexcept; - - bool operator == (const Bhv_Emergency & /* rhs */) const - { - return true; - } - bool operator != (const Bhv_Emergency &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Bhv_Emergency & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Bhv_Emergency &a, Bhv_Emergency &b); - -std::ostream& operator<<(std::ostream& out, const Bhv_Emergency& obj); - -typedef struct _Bhv_GoToPointLookBall__isset { - _Bhv_GoToPointLookBall__isset() : target_point(false), distance_threshold(false), max_dash_power(false) {} - bool target_point :1; - bool distance_threshold :1; - bool max_dash_power :1; -} _Bhv_GoToPointLookBall__isset; - -class Bhv_GoToPointLookBall : public virtual ::apache::thrift::TBase { - public: - - Bhv_GoToPointLookBall(const Bhv_GoToPointLookBall&) noexcept; - Bhv_GoToPointLookBall& operator=(const Bhv_GoToPointLookBall&) noexcept; - Bhv_GoToPointLookBall() noexcept - : distance_threshold(0), - max_dash_power(0) { - } - - virtual ~Bhv_GoToPointLookBall() noexcept; - RpcVector2D target_point; - double distance_threshold; - double max_dash_power; - - _Bhv_GoToPointLookBall__isset __isset; - - void __set_target_point(const RpcVector2D& val); - - void __set_distance_threshold(const double val); - - void __set_max_dash_power(const double val); - - bool operator == (const Bhv_GoToPointLookBall & rhs) const - { - if (!(target_point == rhs.target_point)) - return false; - if (!(distance_threshold == rhs.distance_threshold)) - return false; - if (!(max_dash_power == rhs.max_dash_power)) - return false; - return true; - } - bool operator != (const Bhv_GoToPointLookBall &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Bhv_GoToPointLookBall & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Bhv_GoToPointLookBall &a, Bhv_GoToPointLookBall &b); - -std::ostream& operator<<(std::ostream& out, const Bhv_GoToPointLookBall& obj); - -typedef struct _Bhv_NeckBodyToBall__isset { - _Bhv_NeckBodyToBall__isset() : angle_buf(false) {} - bool angle_buf :1; -} _Bhv_NeckBodyToBall__isset; - -class Bhv_NeckBodyToBall : public virtual ::apache::thrift::TBase { - public: - - Bhv_NeckBodyToBall(const Bhv_NeckBodyToBall&) noexcept; - Bhv_NeckBodyToBall& operator=(const Bhv_NeckBodyToBall&) noexcept; - Bhv_NeckBodyToBall() noexcept - : angle_buf(0) { - } - - virtual ~Bhv_NeckBodyToBall() noexcept; - double angle_buf; - - _Bhv_NeckBodyToBall__isset __isset; - - void __set_angle_buf(const double val); - - bool operator == (const Bhv_NeckBodyToBall & rhs) const - { - if (!(angle_buf == rhs.angle_buf)) - return false; - return true; - } - bool operator != (const Bhv_NeckBodyToBall &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Bhv_NeckBodyToBall & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Bhv_NeckBodyToBall &a, Bhv_NeckBodyToBall &b); - -std::ostream& operator<<(std::ostream& out, const Bhv_NeckBodyToBall& obj); - -typedef struct _Bhv_NeckBodyToPoint__isset { - _Bhv_NeckBodyToPoint__isset() : point(false), angle_buf(false) {} - bool point :1; - bool angle_buf :1; -} _Bhv_NeckBodyToPoint__isset; - -class Bhv_NeckBodyToPoint : public virtual ::apache::thrift::TBase { - public: - - Bhv_NeckBodyToPoint(const Bhv_NeckBodyToPoint&) noexcept; - Bhv_NeckBodyToPoint& operator=(const Bhv_NeckBodyToPoint&) noexcept; - Bhv_NeckBodyToPoint() noexcept - : angle_buf(0) { - } - - virtual ~Bhv_NeckBodyToPoint() noexcept; - RpcVector2D point; - double angle_buf; - - _Bhv_NeckBodyToPoint__isset __isset; - - void __set_point(const RpcVector2D& val); - - void __set_angle_buf(const double val); - - bool operator == (const Bhv_NeckBodyToPoint & rhs) const - { - if (!(point == rhs.point)) - return false; - if (!(angle_buf == rhs.angle_buf)) - return false; - return true; - } - bool operator != (const Bhv_NeckBodyToPoint &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Bhv_NeckBodyToPoint & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Bhv_NeckBodyToPoint &a, Bhv_NeckBodyToPoint &b); - -std::ostream& operator<<(std::ostream& out, const Bhv_NeckBodyToPoint& obj); - - -class Bhv_ScanField : public virtual ::apache::thrift::TBase { - public: - - Bhv_ScanField(const Bhv_ScanField&) noexcept; - Bhv_ScanField& operator=(const Bhv_ScanField&) noexcept; - Bhv_ScanField() noexcept { - } - - virtual ~Bhv_ScanField() noexcept; - - bool operator == (const Bhv_ScanField & /* rhs */) const - { - return true; - } - bool operator != (const Bhv_ScanField &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Bhv_ScanField & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Bhv_ScanField &a, Bhv_ScanField &b); - -std::ostream& operator<<(std::ostream& out, const Bhv_ScanField& obj); - - -class Body_AdvanceBall : public virtual ::apache::thrift::TBase { - public: - - Body_AdvanceBall(const Body_AdvanceBall&) noexcept; - Body_AdvanceBall& operator=(const Body_AdvanceBall&) noexcept; - Body_AdvanceBall() noexcept { - } - - virtual ~Body_AdvanceBall() noexcept; - - bool operator == (const Body_AdvanceBall & /* rhs */) const - { - return true; - } - bool operator != (const Body_AdvanceBall &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Body_AdvanceBall & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Body_AdvanceBall &a, Body_AdvanceBall &b); - -std::ostream& operator<<(std::ostream& out, const Body_AdvanceBall& obj); - - -class Body_ClearBall : public virtual ::apache::thrift::TBase { - public: - - Body_ClearBall(const Body_ClearBall&) noexcept; - Body_ClearBall& operator=(const Body_ClearBall&) noexcept; - Body_ClearBall() noexcept { - } - - virtual ~Body_ClearBall() noexcept; - - bool operator == (const Body_ClearBall & /* rhs */) const - { - return true; - } - bool operator != (const Body_ClearBall &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Body_ClearBall & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Body_ClearBall &a, Body_ClearBall &b); - -std::ostream& operator<<(std::ostream& out, const Body_ClearBall& obj); - -typedef struct _Body_Dribble__isset { - _Body_Dribble__isset() : target_point(false), distance_threshold(false), dash_power(false), dash_count(false), dodge(false) {} - bool target_point :1; - bool distance_threshold :1; - bool dash_power :1; - bool dash_count :1; - bool dodge :1; -} _Body_Dribble__isset; - -class Body_Dribble : public virtual ::apache::thrift::TBase { - public: - - Body_Dribble(const Body_Dribble&) noexcept; - Body_Dribble& operator=(const Body_Dribble&) noexcept; - Body_Dribble() noexcept - : distance_threshold(0), - dash_power(0), - dash_count(0), - dodge(0) { - } - - virtual ~Body_Dribble() noexcept; - RpcVector2D target_point; - double distance_threshold; - double dash_power; - int32_t dash_count; - bool dodge; - - _Body_Dribble__isset __isset; - - void __set_target_point(const RpcVector2D& val); - - void __set_distance_threshold(const double val); - - void __set_dash_power(const double val); - - void __set_dash_count(const int32_t val); - - void __set_dodge(const bool val); - - bool operator == (const Body_Dribble & rhs) const - { - if (!(target_point == rhs.target_point)) - return false; - if (!(distance_threshold == rhs.distance_threshold)) - return false; - if (!(dash_power == rhs.dash_power)) - return false; - if (!(dash_count == rhs.dash_count)) - return false; - if (!(dodge == rhs.dodge)) - return false; - return true; - } - bool operator != (const Body_Dribble &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Body_Dribble & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Body_Dribble &a, Body_Dribble &b); - -std::ostream& operator<<(std::ostream& out, const Body_Dribble& obj); - -typedef struct _Body_GoToPointDodge__isset { - _Body_GoToPointDodge__isset() : target_point(false), dash_power(false) {} - bool target_point :1; - bool dash_power :1; -} _Body_GoToPointDodge__isset; - -class Body_GoToPointDodge : public virtual ::apache::thrift::TBase { - public: - - Body_GoToPointDodge(const Body_GoToPointDodge&) noexcept; - Body_GoToPointDodge& operator=(const Body_GoToPointDodge&) noexcept; - Body_GoToPointDodge() noexcept - : dash_power(0) { - } - - virtual ~Body_GoToPointDodge() noexcept; - RpcVector2D target_point; - double dash_power; - - _Body_GoToPointDodge__isset __isset; - - void __set_target_point(const RpcVector2D& val); - - void __set_dash_power(const double val); - - bool operator == (const Body_GoToPointDodge & rhs) const - { - if (!(target_point == rhs.target_point)) - return false; - if (!(dash_power == rhs.dash_power)) - return false; - return true; - } - bool operator != (const Body_GoToPointDodge &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Body_GoToPointDodge & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Body_GoToPointDodge &a, Body_GoToPointDodge &b); - -std::ostream& operator<<(std::ostream& out, const Body_GoToPointDodge& obj); - -typedef struct _Body_HoldBall__isset { - _Body_HoldBall__isset() : do_turn(false), turn_target_point(false), kick_target_point(false) {} - bool do_turn :1; - bool turn_target_point :1; - bool kick_target_point :1; -} _Body_HoldBall__isset; - -class Body_HoldBall : public virtual ::apache::thrift::TBase { - public: - - Body_HoldBall(const Body_HoldBall&) noexcept; - Body_HoldBall& operator=(const Body_HoldBall&) noexcept; - Body_HoldBall() noexcept - : do_turn(0) { - } - - virtual ~Body_HoldBall() noexcept; - bool do_turn; - RpcVector2D turn_target_point; - RpcVector2D kick_target_point; - - _Body_HoldBall__isset __isset; - - void __set_do_turn(const bool val); - - void __set_turn_target_point(const RpcVector2D& val); - - void __set_kick_target_point(const RpcVector2D& val); - - bool operator == (const Body_HoldBall & rhs) const - { - if (!(do_turn == rhs.do_turn)) - return false; - if (!(turn_target_point == rhs.turn_target_point)) - return false; - if (!(kick_target_point == rhs.kick_target_point)) - return false; - return true; - } - bool operator != (const Body_HoldBall &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Body_HoldBall & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Body_HoldBall &a, Body_HoldBall &b); - -std::ostream& operator<<(std::ostream& out, const Body_HoldBall& obj); - -typedef struct _Body_Intercept__isset { - _Body_Intercept__isset() : save_recovery(false), face_point(false) {} - bool save_recovery :1; - bool face_point :1; -} _Body_Intercept__isset; - -class Body_Intercept : public virtual ::apache::thrift::TBase { - public: - - Body_Intercept(const Body_Intercept&) noexcept; - Body_Intercept& operator=(const Body_Intercept&) noexcept; - Body_Intercept() noexcept - : save_recovery(0) { - } - - virtual ~Body_Intercept() noexcept; - bool save_recovery; - RpcVector2D face_point; - - _Body_Intercept__isset __isset; - - void __set_save_recovery(const bool val); - - void __set_face_point(const RpcVector2D& val); - - bool operator == (const Body_Intercept & rhs) const - { - if (!(save_recovery == rhs.save_recovery)) - return false; - if (!(face_point == rhs.face_point)) - return false; - return true; - } - bool operator != (const Body_Intercept &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Body_Intercept & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Body_Intercept &a, Body_Intercept &b); - -std::ostream& operator<<(std::ostream& out, const Body_Intercept& obj); - -typedef struct _Body_KickOneStep__isset { - _Body_KickOneStep__isset() : target_point(false), first_speed(false), force_mode(false) {} - bool target_point :1; - bool first_speed :1; - bool force_mode :1; -} _Body_KickOneStep__isset; - -class Body_KickOneStep : public virtual ::apache::thrift::TBase { - public: - - Body_KickOneStep(const Body_KickOneStep&) noexcept; - Body_KickOneStep& operator=(const Body_KickOneStep&) noexcept; - Body_KickOneStep() noexcept - : first_speed(0), - force_mode(0) { - } - - virtual ~Body_KickOneStep() noexcept; - RpcVector2D target_point; - double first_speed; - bool force_mode; - - _Body_KickOneStep__isset __isset; - - void __set_target_point(const RpcVector2D& val); - - void __set_first_speed(const double val); - - void __set_force_mode(const bool val); - - bool operator == (const Body_KickOneStep & rhs) const - { - if (!(target_point == rhs.target_point)) - return false; - if (!(first_speed == rhs.first_speed)) - return false; - if (!(force_mode == rhs.force_mode)) - return false; - return true; - } - bool operator != (const Body_KickOneStep &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Body_KickOneStep & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Body_KickOneStep &a, Body_KickOneStep &b); - -std::ostream& operator<<(std::ostream& out, const Body_KickOneStep& obj); - - -class Body_StopBall : public virtual ::apache::thrift::TBase { - public: - - Body_StopBall(const Body_StopBall&) noexcept; - Body_StopBall& operator=(const Body_StopBall&) noexcept; - Body_StopBall() noexcept { - } - - virtual ~Body_StopBall() noexcept; - - bool operator == (const Body_StopBall & /* rhs */) const - { - return true; - } - bool operator != (const Body_StopBall &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Body_StopBall & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Body_StopBall &a, Body_StopBall &b); - -std::ostream& operator<<(std::ostream& out, const Body_StopBall& obj); - -typedef struct _Body_StopDash__isset { - _Body_StopDash__isset() : save_recovery(false) {} - bool save_recovery :1; -} _Body_StopDash__isset; - -class Body_StopDash : public virtual ::apache::thrift::TBase { - public: - - Body_StopDash(const Body_StopDash&) noexcept; - Body_StopDash& operator=(const Body_StopDash&) noexcept; - Body_StopDash() noexcept - : save_recovery(0) { - } - - virtual ~Body_StopDash() noexcept; - bool save_recovery; - - _Body_StopDash__isset __isset; - - void __set_save_recovery(const bool val); - - bool operator == (const Body_StopDash & rhs) const - { - if (!(save_recovery == rhs.save_recovery)) - return false; - return true; - } - bool operator != (const Body_StopDash &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Body_StopDash & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Body_StopDash &a, Body_StopDash &b); - -std::ostream& operator<<(std::ostream& out, const Body_StopDash& obj); - -typedef struct _Body_TackleToPoint__isset { - _Body_TackleToPoint__isset() : target_point(false), min_probability(false), min_speed(false) {} - bool target_point :1; - bool min_probability :1; - bool min_speed :1; -} _Body_TackleToPoint__isset; - -class Body_TackleToPoint : public virtual ::apache::thrift::TBase { - public: - - Body_TackleToPoint(const Body_TackleToPoint&) noexcept; - Body_TackleToPoint& operator=(const Body_TackleToPoint&) noexcept; - Body_TackleToPoint() noexcept - : min_probability(0), - min_speed(0) { - } - - virtual ~Body_TackleToPoint() noexcept; - RpcVector2D target_point; - double min_probability; - double min_speed; - - _Body_TackleToPoint__isset __isset; - - void __set_target_point(const RpcVector2D& val); - - void __set_min_probability(const double val); - - void __set_min_speed(const double val); - - bool operator == (const Body_TackleToPoint & rhs) const - { - if (!(target_point == rhs.target_point)) - return false; - if (!(min_probability == rhs.min_probability)) - return false; - if (!(min_speed == rhs.min_speed)) - return false; - return true; - } - bool operator != (const Body_TackleToPoint &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Body_TackleToPoint & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Body_TackleToPoint &a, Body_TackleToPoint &b); - -std::ostream& operator<<(std::ostream& out, const Body_TackleToPoint& obj); - -typedef struct _Body_TurnToAngle__isset { - _Body_TurnToAngle__isset() : angle(false) {} - bool angle :1; -} _Body_TurnToAngle__isset; - -class Body_TurnToAngle : public virtual ::apache::thrift::TBase { - public: - - Body_TurnToAngle(const Body_TurnToAngle&) noexcept; - Body_TurnToAngle& operator=(const Body_TurnToAngle&) noexcept; - Body_TurnToAngle() noexcept - : angle(0) { - } - - virtual ~Body_TurnToAngle() noexcept; - double angle; - - _Body_TurnToAngle__isset __isset; - - void __set_angle(const double val); - - bool operator == (const Body_TurnToAngle & rhs) const - { - if (!(angle == rhs.angle)) - return false; - return true; - } - bool operator != (const Body_TurnToAngle &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Body_TurnToAngle & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Body_TurnToAngle &a, Body_TurnToAngle &b); - -std::ostream& operator<<(std::ostream& out, const Body_TurnToAngle& obj); - -typedef struct _Body_TurnToBall__isset { - _Body_TurnToBall__isset() : cycle(false) {} - bool cycle :1; -} _Body_TurnToBall__isset; - -class Body_TurnToBall : public virtual ::apache::thrift::TBase { - public: - - Body_TurnToBall(const Body_TurnToBall&) noexcept; - Body_TurnToBall& operator=(const Body_TurnToBall&) noexcept; - Body_TurnToBall() noexcept - : cycle(0) { - } - - virtual ~Body_TurnToBall() noexcept; - int32_t cycle; - - _Body_TurnToBall__isset __isset; - - void __set_cycle(const int32_t val); - - bool operator == (const Body_TurnToBall & rhs) const - { - if (!(cycle == rhs.cycle)) - return false; - return true; - } - bool operator != (const Body_TurnToBall &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Body_TurnToBall & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Body_TurnToBall &a, Body_TurnToBall &b); - -std::ostream& operator<<(std::ostream& out, const Body_TurnToBall& obj); - -typedef struct _Body_TurnToPoint__isset { - _Body_TurnToPoint__isset() : target_point(false), cycle(false) {} - bool target_point :1; - bool cycle :1; -} _Body_TurnToPoint__isset; - -class Body_TurnToPoint : public virtual ::apache::thrift::TBase { - public: - - Body_TurnToPoint(const Body_TurnToPoint&) noexcept; - Body_TurnToPoint& operator=(const Body_TurnToPoint&) noexcept; - Body_TurnToPoint() noexcept - : cycle(0) { - } - - virtual ~Body_TurnToPoint() noexcept; - RpcVector2D target_point; - int32_t cycle; - - _Body_TurnToPoint__isset __isset; - - void __set_target_point(const RpcVector2D& val); - - void __set_cycle(const int32_t val); - - bool operator == (const Body_TurnToPoint & rhs) const - { - if (!(target_point == rhs.target_point)) - return false; - if (!(cycle == rhs.cycle)) - return false; - return true; - } - bool operator != (const Body_TurnToPoint &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Body_TurnToPoint & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Body_TurnToPoint &a, Body_TurnToPoint &b); - -std::ostream& operator<<(std::ostream& out, const Body_TurnToPoint& obj); - -typedef struct _Focus_MoveToPoint__isset { - _Focus_MoveToPoint__isset() : target_point(false) {} - bool target_point :1; -} _Focus_MoveToPoint__isset; - -class Focus_MoveToPoint : public virtual ::apache::thrift::TBase { - public: - - Focus_MoveToPoint(const Focus_MoveToPoint&) noexcept; - Focus_MoveToPoint& operator=(const Focus_MoveToPoint&) noexcept; - Focus_MoveToPoint() noexcept { - } - - virtual ~Focus_MoveToPoint() noexcept; - RpcVector2D target_point; - - _Focus_MoveToPoint__isset __isset; - - void __set_target_point(const RpcVector2D& val); - - bool operator == (const Focus_MoveToPoint & rhs) const - { - if (!(target_point == rhs.target_point)) - return false; - return true; - } - bool operator != (const Focus_MoveToPoint &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Focus_MoveToPoint & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Focus_MoveToPoint &a, Focus_MoveToPoint &b); - -std::ostream& operator<<(std::ostream& out, const Focus_MoveToPoint& obj); - - -class Focus_Reset : public virtual ::apache::thrift::TBase { - public: - - Focus_Reset(const Focus_Reset&) noexcept; - Focus_Reset& operator=(const Focus_Reset&) noexcept; - Focus_Reset() noexcept { - } - - virtual ~Focus_Reset() noexcept; - - bool operator == (const Focus_Reset & /* rhs */) const - { - return true; - } - bool operator != (const Focus_Reset &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Focus_Reset & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Focus_Reset &a, Focus_Reset &b); - -std::ostream& operator<<(std::ostream& out, const Focus_Reset& obj); - - -class Neck_ScanField : public virtual ::apache::thrift::TBase { - public: - - Neck_ScanField(const Neck_ScanField&) noexcept; - Neck_ScanField& operator=(const Neck_ScanField&) noexcept; - Neck_ScanField() noexcept { - } - - virtual ~Neck_ScanField() noexcept; - - bool operator == (const Neck_ScanField & /* rhs */) const - { - return true; - } - bool operator != (const Neck_ScanField &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Neck_ScanField & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Neck_ScanField &a, Neck_ScanField &b); - -std::ostream& operator<<(std::ostream& out, const Neck_ScanField& obj); - - -class Neck_ScanPlayers : public virtual ::apache::thrift::TBase { - public: - - Neck_ScanPlayers(const Neck_ScanPlayers&) noexcept; - Neck_ScanPlayers& operator=(const Neck_ScanPlayers&) noexcept; - Neck_ScanPlayers() noexcept { - } - - virtual ~Neck_ScanPlayers() noexcept; - - bool operator == (const Neck_ScanPlayers & /* rhs */) const - { - return true; - } - bool operator != (const Neck_ScanPlayers &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Neck_ScanPlayers & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Neck_ScanPlayers &a, Neck_ScanPlayers &b); - -std::ostream& operator<<(std::ostream& out, const Neck_ScanPlayers& obj); - -typedef struct _Neck_TurnToBallAndPlayer__isset { - _Neck_TurnToBallAndPlayer__isset() : side(false), uniform_number(false), count_threshold(false) {} - bool side :1; - bool uniform_number :1; - bool count_threshold :1; -} _Neck_TurnToBallAndPlayer__isset; - -class Neck_TurnToBallAndPlayer : public virtual ::apache::thrift::TBase { - public: - - Neck_TurnToBallAndPlayer(const Neck_TurnToBallAndPlayer&) noexcept; - Neck_TurnToBallAndPlayer& operator=(const Neck_TurnToBallAndPlayer&) noexcept; - Neck_TurnToBallAndPlayer() noexcept - : side(static_cast(0)), - uniform_number(0), - count_threshold(0) { - } - - virtual ~Neck_TurnToBallAndPlayer() noexcept; - /** - * - * @see Side - */ - Side::type side; - int32_t uniform_number; - int32_t count_threshold; - - _Neck_TurnToBallAndPlayer__isset __isset; - - void __set_side(const Side::type val); - - void __set_uniform_number(const int32_t val); - - void __set_count_threshold(const int32_t val); - - bool operator == (const Neck_TurnToBallAndPlayer & rhs) const - { - if (!(side == rhs.side)) - return false; - if (!(uniform_number == rhs.uniform_number)) - return false; - if (!(count_threshold == rhs.count_threshold)) - return false; - return true; - } - bool operator != (const Neck_TurnToBallAndPlayer &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Neck_TurnToBallAndPlayer & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Neck_TurnToBallAndPlayer &a, Neck_TurnToBallAndPlayer &b); - -std::ostream& operator<<(std::ostream& out, const Neck_TurnToBallAndPlayer& obj); - -typedef struct _Neck_TurnToBallOrScan__isset { - _Neck_TurnToBallOrScan__isset() : count_threshold(false) {} - bool count_threshold :1; -} _Neck_TurnToBallOrScan__isset; - -class Neck_TurnToBallOrScan : public virtual ::apache::thrift::TBase { - public: - - Neck_TurnToBallOrScan(const Neck_TurnToBallOrScan&) noexcept; - Neck_TurnToBallOrScan& operator=(const Neck_TurnToBallOrScan&) noexcept; - Neck_TurnToBallOrScan() noexcept - : count_threshold(0) { - } - - virtual ~Neck_TurnToBallOrScan() noexcept; - int32_t count_threshold; - - _Neck_TurnToBallOrScan__isset __isset; - - void __set_count_threshold(const int32_t val); - - bool operator == (const Neck_TurnToBallOrScan & rhs) const - { - if (!(count_threshold == rhs.count_threshold)) - return false; - return true; - } - bool operator != (const Neck_TurnToBallOrScan &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Neck_TurnToBallOrScan & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Neck_TurnToBallOrScan &a, Neck_TurnToBallOrScan &b); - -std::ostream& operator<<(std::ostream& out, const Neck_TurnToBallOrScan& obj); - - -class Neck_TurnToBall : public virtual ::apache::thrift::TBase { - public: - - Neck_TurnToBall(const Neck_TurnToBall&) noexcept; - Neck_TurnToBall& operator=(const Neck_TurnToBall&) noexcept; - Neck_TurnToBall() noexcept { - } - - virtual ~Neck_TurnToBall() noexcept; - - bool operator == (const Neck_TurnToBall & /* rhs */) const - { - return true; - } - bool operator != (const Neck_TurnToBall &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Neck_TurnToBall & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Neck_TurnToBall &a, Neck_TurnToBall &b); - -std::ostream& operator<<(std::ostream& out, const Neck_TurnToBall& obj); - -typedef struct _Neck_TurnToGoalieOrScan__isset { - _Neck_TurnToGoalieOrScan__isset() : count_threshold(false) {} - bool count_threshold :1; -} _Neck_TurnToGoalieOrScan__isset; - -class Neck_TurnToGoalieOrScan : public virtual ::apache::thrift::TBase { - public: - - Neck_TurnToGoalieOrScan(const Neck_TurnToGoalieOrScan&) noexcept; - Neck_TurnToGoalieOrScan& operator=(const Neck_TurnToGoalieOrScan&) noexcept; - Neck_TurnToGoalieOrScan() noexcept - : count_threshold(0) { - } - - virtual ~Neck_TurnToGoalieOrScan() noexcept; - int32_t count_threshold; - - _Neck_TurnToGoalieOrScan__isset __isset; - - void __set_count_threshold(const int32_t val); - - bool operator == (const Neck_TurnToGoalieOrScan & rhs) const - { - if (!(count_threshold == rhs.count_threshold)) - return false; - return true; - } - bool operator != (const Neck_TurnToGoalieOrScan &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Neck_TurnToGoalieOrScan & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Neck_TurnToGoalieOrScan &a, Neck_TurnToGoalieOrScan &b); - -std::ostream& operator<<(std::ostream& out, const Neck_TurnToGoalieOrScan& obj); - - -class Neck_TurnToLowConfTeammate : public virtual ::apache::thrift::TBase { - public: - - Neck_TurnToLowConfTeammate(const Neck_TurnToLowConfTeammate&) noexcept; - Neck_TurnToLowConfTeammate& operator=(const Neck_TurnToLowConfTeammate&) noexcept; - Neck_TurnToLowConfTeammate() noexcept { - } - - virtual ~Neck_TurnToLowConfTeammate() noexcept; - - bool operator == (const Neck_TurnToLowConfTeammate & /* rhs */) const - { - return true; - } - bool operator != (const Neck_TurnToLowConfTeammate &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Neck_TurnToLowConfTeammate & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Neck_TurnToLowConfTeammate &a, Neck_TurnToLowConfTeammate &b); - -std::ostream& operator<<(std::ostream& out, const Neck_TurnToLowConfTeammate& obj); - -typedef struct _Neck_TurnToPlayerOrScan__isset { - _Neck_TurnToPlayerOrScan__isset() : side(false), uniform_number(false), count_threshold(false) {} - bool side :1; - bool uniform_number :1; - bool count_threshold :1; -} _Neck_TurnToPlayerOrScan__isset; - -class Neck_TurnToPlayerOrScan : public virtual ::apache::thrift::TBase { - public: - - Neck_TurnToPlayerOrScan(const Neck_TurnToPlayerOrScan&) noexcept; - Neck_TurnToPlayerOrScan& operator=(const Neck_TurnToPlayerOrScan&) noexcept; - Neck_TurnToPlayerOrScan() noexcept - : side(static_cast(0)), - uniform_number(0), - count_threshold(0) { - } - - virtual ~Neck_TurnToPlayerOrScan() noexcept; - /** - * - * @see Side - */ - Side::type side; - int32_t uniform_number; - int32_t count_threshold; - - _Neck_TurnToPlayerOrScan__isset __isset; - - void __set_side(const Side::type val); - - void __set_uniform_number(const int32_t val); - - void __set_count_threshold(const int32_t val); - - bool operator == (const Neck_TurnToPlayerOrScan & rhs) const - { - if (!(side == rhs.side)) - return false; - if (!(uniform_number == rhs.uniform_number)) - return false; - if (!(count_threshold == rhs.count_threshold)) - return false; - return true; - } - bool operator != (const Neck_TurnToPlayerOrScan &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Neck_TurnToPlayerOrScan & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Neck_TurnToPlayerOrScan &a, Neck_TurnToPlayerOrScan &b); - -std::ostream& operator<<(std::ostream& out, const Neck_TurnToPlayerOrScan& obj); - -typedef struct _Neck_TurnToPoint__isset { - _Neck_TurnToPoint__isset() : target_point(false) {} - bool target_point :1; -} _Neck_TurnToPoint__isset; - -class Neck_TurnToPoint : public virtual ::apache::thrift::TBase { - public: - - Neck_TurnToPoint(const Neck_TurnToPoint&) noexcept; - Neck_TurnToPoint& operator=(const Neck_TurnToPoint&) noexcept; - Neck_TurnToPoint() noexcept { - } - - virtual ~Neck_TurnToPoint() noexcept; - RpcVector2D target_point; - - _Neck_TurnToPoint__isset __isset; - - void __set_target_point(const RpcVector2D& val); - - bool operator == (const Neck_TurnToPoint & rhs) const - { - if (!(target_point == rhs.target_point)) - return false; - return true; - } - bool operator != (const Neck_TurnToPoint &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Neck_TurnToPoint & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Neck_TurnToPoint &a, Neck_TurnToPoint &b); - -std::ostream& operator<<(std::ostream& out, const Neck_TurnToPoint& obj); - -typedef struct _Neck_TurnToRelative__isset { - _Neck_TurnToRelative__isset() : angle(false) {} - bool angle :1; -} _Neck_TurnToRelative__isset; - -class Neck_TurnToRelative : public virtual ::apache::thrift::TBase { - public: - - Neck_TurnToRelative(const Neck_TurnToRelative&) noexcept; - Neck_TurnToRelative& operator=(const Neck_TurnToRelative&) noexcept; - Neck_TurnToRelative() noexcept - : angle(0) { - } - - virtual ~Neck_TurnToRelative() noexcept; - double angle; - - _Neck_TurnToRelative__isset __isset; - - void __set_angle(const double val); - - bool operator == (const Neck_TurnToRelative & rhs) const - { - if (!(angle == rhs.angle)) - return false; - return true; - } - bool operator != (const Neck_TurnToRelative &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Neck_TurnToRelative & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Neck_TurnToRelative &a, Neck_TurnToRelative &b); - -std::ostream& operator<<(std::ostream& out, const Neck_TurnToRelative& obj); - -typedef struct _View_ChangeWidth__isset { - _View_ChangeWidth__isset() : view_width(false) {} - bool view_width :1; -} _View_ChangeWidth__isset; - -class View_ChangeWidth : public virtual ::apache::thrift::TBase { - public: - - View_ChangeWidth(const View_ChangeWidth&) noexcept; - View_ChangeWidth& operator=(const View_ChangeWidth&) noexcept; - View_ChangeWidth() noexcept - : view_width(static_cast(0)) { - } - - virtual ~View_ChangeWidth() noexcept; - /** - * - * @see ViewWidth - */ - ViewWidth::type view_width; - - _View_ChangeWidth__isset __isset; - - void __set_view_width(const ViewWidth::type val); - - bool operator == (const View_ChangeWidth & rhs) const - { - if (!(view_width == rhs.view_width)) - return false; - return true; - } - bool operator != (const View_ChangeWidth &rhs) const { - return !(*this == rhs); - } - - bool operator < (const View_ChangeWidth & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(View_ChangeWidth &a, View_ChangeWidth &b); - -std::ostream& operator<<(std::ostream& out, const View_ChangeWidth& obj); - - -class View_Normal : public virtual ::apache::thrift::TBase { - public: - - View_Normal(const View_Normal&) noexcept; - View_Normal& operator=(const View_Normal&) noexcept; - View_Normal() noexcept { - } - - virtual ~View_Normal() noexcept; - - bool operator == (const View_Normal & /* rhs */) const - { - return true; - } - bool operator != (const View_Normal &rhs) const { - return !(*this == rhs); - } - - bool operator < (const View_Normal & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(View_Normal &a, View_Normal &b); - -std::ostream& operator<<(std::ostream& out, const View_Normal& obj); - - -class View_Synch : public virtual ::apache::thrift::TBase { - public: - - View_Synch(const View_Synch&) noexcept; - View_Synch& operator=(const View_Synch&) noexcept; - View_Synch() noexcept { - } - - virtual ~View_Synch() noexcept; - - bool operator == (const View_Synch & /* rhs */) const - { - return true; - } - bool operator != (const View_Synch &rhs) const { - return !(*this == rhs); - } - - bool operator < (const View_Synch & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(View_Synch &a, View_Synch &b); - -std::ostream& operator<<(std::ostream& out, const View_Synch& obj); - - -class View_Wide : public virtual ::apache::thrift::TBase { - public: - - View_Wide(const View_Wide&) noexcept; - View_Wide& operator=(const View_Wide&) noexcept; - View_Wide() noexcept { - } - - virtual ~View_Wide() noexcept; - - bool operator == (const View_Wide & /* rhs */) const - { - return true; - } - bool operator != (const View_Wide &rhs) const { - return !(*this == rhs); - } - - bool operator < (const View_Wide & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(View_Wide &a, View_Wide &b); - -std::ostream& operator<<(std::ostream& out, const View_Wide& obj); - - -class HeliosGoalie : public virtual ::apache::thrift::TBase { - public: - - HeliosGoalie(const HeliosGoalie&) noexcept; - HeliosGoalie& operator=(const HeliosGoalie&) noexcept; - HeliosGoalie() noexcept { - } - - virtual ~HeliosGoalie() noexcept; - - bool operator == (const HeliosGoalie & /* rhs */) const - { - return true; - } - bool operator != (const HeliosGoalie &rhs) const { - return !(*this == rhs); - } - - bool operator < (const HeliosGoalie & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(HeliosGoalie &a, HeliosGoalie &b); - -std::ostream& operator<<(std::ostream& out, const HeliosGoalie& obj); - - -class HeliosGoalieMove : public virtual ::apache::thrift::TBase { - public: - - HeliosGoalieMove(const HeliosGoalieMove&) noexcept; - HeliosGoalieMove& operator=(const HeliosGoalieMove&) noexcept; - HeliosGoalieMove() noexcept { - } - - virtual ~HeliosGoalieMove() noexcept; - - bool operator == (const HeliosGoalieMove & /* rhs */) const - { - return true; - } - bool operator != (const HeliosGoalieMove &rhs) const { - return !(*this == rhs); - } - - bool operator < (const HeliosGoalieMove & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(HeliosGoalieMove &a, HeliosGoalieMove &b); - -std::ostream& operator<<(std::ostream& out, const HeliosGoalieMove& obj); - - -class HeliosGoalieKick : public virtual ::apache::thrift::TBase { - public: - - HeliosGoalieKick(const HeliosGoalieKick&) noexcept; - HeliosGoalieKick& operator=(const HeliosGoalieKick&) noexcept; - HeliosGoalieKick() noexcept { - } - - virtual ~HeliosGoalieKick() noexcept; - - bool operator == (const HeliosGoalieKick & /* rhs */) const - { - return true; - } - bool operator != (const HeliosGoalieKick &rhs) const { - return !(*this == rhs); - } - - bool operator < (const HeliosGoalieKick & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(HeliosGoalieKick &a, HeliosGoalieKick &b); - -std::ostream& operator<<(std::ostream& out, const HeliosGoalieKick& obj); - - -class HeliosShoot : public virtual ::apache::thrift::TBase { - public: - - HeliosShoot(const HeliosShoot&) noexcept; - HeliosShoot& operator=(const HeliosShoot&) noexcept; - HeliosShoot() noexcept { - } - - virtual ~HeliosShoot() noexcept; - - bool operator == (const HeliosShoot & /* rhs */) const - { - return true; - } - bool operator != (const HeliosShoot &rhs) const { - return !(*this == rhs); - } - - bool operator < (const HeliosShoot & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(HeliosShoot &a, HeliosShoot &b); - -std::ostream& operator<<(std::ostream& out, const HeliosShoot& obj); - -typedef struct _HeliosChainAction__isset { - _HeliosChainAction__isset() : direct_pass(false), lead_pass(false), through_pass(false), short_dribble(false), long_dribble(false), cross(false), simple_pass(false), simple_dribble(false), simple_shoot(false), server_side_decision(false) {} - bool direct_pass :1; - bool lead_pass :1; - bool through_pass :1; - bool short_dribble :1; - bool long_dribble :1; - bool cross :1; - bool simple_pass :1; - bool simple_dribble :1; - bool simple_shoot :1; - bool server_side_decision :1; -} _HeliosChainAction__isset; - -class HeliosChainAction : public virtual ::apache::thrift::TBase { - public: - - HeliosChainAction(const HeliosChainAction&) noexcept; - HeliosChainAction& operator=(const HeliosChainAction&) noexcept; - HeliosChainAction() noexcept - : direct_pass(0), - lead_pass(0), - through_pass(0), - short_dribble(0), - long_dribble(0), - cross(0), - simple_pass(0), - simple_dribble(0), - simple_shoot(0), - server_side_decision(0) { - } - - virtual ~HeliosChainAction() noexcept; - bool direct_pass; - bool lead_pass; - bool through_pass; - bool short_dribble; - bool long_dribble; - bool cross; - bool simple_pass; - bool simple_dribble; - bool simple_shoot; - bool server_side_decision; - - _HeliosChainAction__isset __isset; - - void __set_direct_pass(const bool val); - - void __set_lead_pass(const bool val); - - void __set_through_pass(const bool val); - - void __set_short_dribble(const bool val); - - void __set_long_dribble(const bool val); - - void __set_cross(const bool val); - - void __set_simple_pass(const bool val); - - void __set_simple_dribble(const bool val); - - void __set_simple_shoot(const bool val); - - void __set_server_side_decision(const bool val); - - bool operator == (const HeliosChainAction & rhs) const - { - if (!(direct_pass == rhs.direct_pass)) - return false; - if (!(lead_pass == rhs.lead_pass)) - return false; - if (!(through_pass == rhs.through_pass)) - return false; - if (!(short_dribble == rhs.short_dribble)) - return false; - if (!(long_dribble == rhs.long_dribble)) - return false; - if (!(cross == rhs.cross)) - return false; - if (!(simple_pass == rhs.simple_pass)) - return false; - if (!(simple_dribble == rhs.simple_dribble)) - return false; - if (!(simple_shoot == rhs.simple_shoot)) - return false; - if (!(server_side_decision == rhs.server_side_decision)) - return false; - return true; - } - bool operator != (const HeliosChainAction &rhs) const { - return !(*this == rhs); - } - - bool operator < (const HeliosChainAction & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(HeliosChainAction &a, HeliosChainAction &b); - -std::ostream& operator<<(std::ostream& out, const HeliosChainAction& obj); - - -class HeliosBasicOffensive : public virtual ::apache::thrift::TBase { - public: - - HeliosBasicOffensive(const HeliosBasicOffensive&) noexcept; - HeliosBasicOffensive& operator=(const HeliosBasicOffensive&) noexcept; - HeliosBasicOffensive() noexcept { - } - - virtual ~HeliosBasicOffensive() noexcept; - - bool operator == (const HeliosBasicOffensive & /* rhs */) const - { - return true; - } - bool operator != (const HeliosBasicOffensive &rhs) const { - return !(*this == rhs); - } - - bool operator < (const HeliosBasicOffensive & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(HeliosBasicOffensive &a, HeliosBasicOffensive &b); - -std::ostream& operator<<(std::ostream& out, const HeliosBasicOffensive& obj); - - -class HeliosBasicMove : public virtual ::apache::thrift::TBase { - public: - - HeliosBasicMove(const HeliosBasicMove&) noexcept; - HeliosBasicMove& operator=(const HeliosBasicMove&) noexcept; - HeliosBasicMove() noexcept { - } - - virtual ~HeliosBasicMove() noexcept; - - bool operator == (const HeliosBasicMove & /* rhs */) const - { - return true; - } - bool operator != (const HeliosBasicMove &rhs) const { - return !(*this == rhs); - } - - bool operator < (const HeliosBasicMove & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(HeliosBasicMove &a, HeliosBasicMove &b); - -std::ostream& operator<<(std::ostream& out, const HeliosBasicMove& obj); - - -class HeliosSetPlay : public virtual ::apache::thrift::TBase { - public: - - HeliosSetPlay(const HeliosSetPlay&) noexcept; - HeliosSetPlay& operator=(const HeliosSetPlay&) noexcept; - HeliosSetPlay() noexcept { - } - - virtual ~HeliosSetPlay() noexcept; - - bool operator == (const HeliosSetPlay & /* rhs */) const - { - return true; - } - bool operator != (const HeliosSetPlay &rhs) const { - return !(*this == rhs); - } - - bool operator < (const HeliosSetPlay & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(HeliosSetPlay &a, HeliosSetPlay &b); - -std::ostream& operator<<(std::ostream& out, const HeliosSetPlay& obj); - - -class HeliosPenalty : public virtual ::apache::thrift::TBase { - public: - - HeliosPenalty(const HeliosPenalty&) noexcept; - HeliosPenalty& operator=(const HeliosPenalty&) noexcept; - HeliosPenalty() noexcept { - } - - virtual ~HeliosPenalty() noexcept; - - bool operator == (const HeliosPenalty & /* rhs */) const - { - return true; - } - bool operator != (const HeliosPenalty &rhs) const { - return !(*this == rhs); - } - - bool operator < (const HeliosPenalty & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(HeliosPenalty &a, HeliosPenalty &b); - -std::ostream& operator<<(std::ostream& out, const HeliosPenalty& obj); - - -class HeliosCommunicaion : public virtual ::apache::thrift::TBase { - public: - - HeliosCommunicaion(const HeliosCommunicaion&) noexcept; - HeliosCommunicaion& operator=(const HeliosCommunicaion&) noexcept; - HeliosCommunicaion() noexcept { - } - - virtual ~HeliosCommunicaion() noexcept; - - bool operator == (const HeliosCommunicaion & /* rhs */) const - { - return true; - } - bool operator != (const HeliosCommunicaion &rhs) const { - return !(*this == rhs); - } - - bool operator < (const HeliosCommunicaion & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(HeliosCommunicaion &a, HeliosCommunicaion &b); - -std::ostream& operator<<(std::ostream& out, const HeliosCommunicaion& obj); - -typedef struct _PlayerAction__isset { - _PlayerAction__isset() : dash(false), turn(false), kick(false), tackle(false), catch_action(false), move(false), turn_neck(false), change_view(false), say(false), point_to(false), point_to_of(false), attention_to(false), attention_to_of(false), log(false), debug_client(false), body_go_to_point(false), body_smart_kick(false), bhv_before_kick_off(false), bhv_body_neck_to_ball(false), bhv_body_neck_to_point(false), bhv_emergency(false), bhv_go_to_point_look_ball(false), bhv_neck_body_to_ball(false), bhv_neck_body_to_point(false), bhv_scan_field(false), body_advance_ball(false), body_clear_ball(false), body_dribble(false), body_go_to_point_dodge(false), body_hold_ball(false), body_intercept(false), body_kick_one_step(false), body_stop_ball(false), body_stop_dash(false), body_tackle_to_point(false), body_turn_to_angle(false), body_turn_to_ball(false), body_turn_to_point(false), focus_move_to_point(false), focus_reset(false), neck_scan_field(false), neck_scan_players(false), neck_turn_to_ball_and_player(false), neck_turn_to_ball_or_scan(false), neck_turn_to_ball(false), neck_turn_to_goalie_or_scan(false), neck_turn_to_low_conf_teammate(false), neck_turn_to_player_or_scan(false), neck_turn_to_point(false), neck_turn_to_relative(false), view_change_width(false), view_normal(false), view_synch(false), view_wide(false), helios_goalie(false), helios_goalie_move(false), helios_goalie_kick(false), helios_shoot(false), helios_chain_action(false), helios_basic_offensive(false), helios_basic_move(false), helios_set_play(false), helios_penalty(false), helios_communication(false) {} - bool dash :1; - bool turn :1; - bool kick :1; - bool tackle :1; - bool catch_action :1; - bool move :1; - bool turn_neck :1; - bool change_view :1; - bool say :1; - bool point_to :1; - bool point_to_of :1; - bool attention_to :1; - bool attention_to_of :1; - bool log :1; - bool debug_client :1; - bool body_go_to_point :1; - bool body_smart_kick :1; - bool bhv_before_kick_off :1; - bool bhv_body_neck_to_ball :1; - bool bhv_body_neck_to_point :1; - bool bhv_emergency :1; - bool bhv_go_to_point_look_ball :1; - bool bhv_neck_body_to_ball :1; - bool bhv_neck_body_to_point :1; - bool bhv_scan_field :1; - bool body_advance_ball :1; - bool body_clear_ball :1; - bool body_dribble :1; - bool body_go_to_point_dodge :1; - bool body_hold_ball :1; - bool body_intercept :1; - bool body_kick_one_step :1; - bool body_stop_ball :1; - bool body_stop_dash :1; - bool body_tackle_to_point :1; - bool body_turn_to_angle :1; - bool body_turn_to_ball :1; - bool body_turn_to_point :1; - bool focus_move_to_point :1; - bool focus_reset :1; - bool neck_scan_field :1; - bool neck_scan_players :1; - bool neck_turn_to_ball_and_player :1; - bool neck_turn_to_ball_or_scan :1; - bool neck_turn_to_ball :1; - bool neck_turn_to_goalie_or_scan :1; - bool neck_turn_to_low_conf_teammate :1; - bool neck_turn_to_player_or_scan :1; - bool neck_turn_to_point :1; - bool neck_turn_to_relative :1; - bool view_change_width :1; - bool view_normal :1; - bool view_synch :1; - bool view_wide :1; - bool helios_goalie :1; - bool helios_goalie_move :1; - bool helios_goalie_kick :1; - bool helios_shoot :1; - bool helios_chain_action :1; - bool helios_basic_offensive :1; - bool helios_basic_move :1; - bool helios_set_play :1; - bool helios_penalty :1; - bool helios_communication :1; -} _PlayerAction__isset; - -class PlayerAction : public virtual ::apache::thrift::TBase { - public: - - PlayerAction(const PlayerAction&); - PlayerAction& operator=(const PlayerAction&); - PlayerAction() noexcept { - } - - virtual ~PlayerAction() noexcept; - Dash dash; - Turn turn; - Kick kick; - Tackle tackle; - Catch catch_action; - Move move; - TurnNeck turn_neck; - ChangeView change_view; - Say say; - PointTo point_to; - PointToOf point_to_of; - AttentionTo attention_to; - AttentionToOf attention_to_of; - Log log; - DebugClient debug_client; - Body_GoToPoint body_go_to_point; - Body_SmartKick body_smart_kick; - Bhv_BeforeKickOff bhv_before_kick_off; - Bhv_BodyNeckToBall bhv_body_neck_to_ball; - Bhv_BodyNeckToPoint bhv_body_neck_to_point; - Bhv_Emergency bhv_emergency; - Bhv_GoToPointLookBall bhv_go_to_point_look_ball; - Bhv_NeckBodyToBall bhv_neck_body_to_ball; - Bhv_NeckBodyToPoint bhv_neck_body_to_point; - Bhv_ScanField bhv_scan_field; - Body_AdvanceBall body_advance_ball; - Body_ClearBall body_clear_ball; - Body_Dribble body_dribble; - Body_GoToPointDodge body_go_to_point_dodge; - Body_HoldBall body_hold_ball; - Body_Intercept body_intercept; - Body_KickOneStep body_kick_one_step; - Body_StopBall body_stop_ball; - Body_StopDash body_stop_dash; - Body_TackleToPoint body_tackle_to_point; - Body_TurnToAngle body_turn_to_angle; - Body_TurnToBall body_turn_to_ball; - Body_TurnToPoint body_turn_to_point; - Focus_MoveToPoint focus_move_to_point; - Focus_Reset focus_reset; - Neck_ScanField neck_scan_field; - Neck_ScanPlayers neck_scan_players; - Neck_TurnToBallAndPlayer neck_turn_to_ball_and_player; - Neck_TurnToBallOrScan neck_turn_to_ball_or_scan; - Neck_TurnToBall neck_turn_to_ball; - Neck_TurnToGoalieOrScan neck_turn_to_goalie_or_scan; - Neck_TurnToLowConfTeammate neck_turn_to_low_conf_teammate; - Neck_TurnToPlayerOrScan neck_turn_to_player_or_scan; - Neck_TurnToPoint neck_turn_to_point; - Neck_TurnToRelative neck_turn_to_relative; - View_ChangeWidth view_change_width; - View_Normal view_normal; - View_Synch view_synch; - View_Wide view_wide; - HeliosGoalie helios_goalie; - HeliosGoalieMove helios_goalie_move; - HeliosGoalieKick helios_goalie_kick; - HeliosShoot helios_shoot; - HeliosChainAction helios_chain_action; - HeliosBasicOffensive helios_basic_offensive; - HeliosBasicMove helios_basic_move; - HeliosSetPlay helios_set_play; - HeliosPenalty helios_penalty; - HeliosCommunicaion helios_communication; - - _PlayerAction__isset __isset; - - void __set_dash(const Dash& val); - - void __set_turn(const Turn& val); - - void __set_kick(const Kick& val); - - void __set_tackle(const Tackle& val); - - void __set_catch_action(const Catch& val); - - void __set_move(const Move& val); - - void __set_turn_neck(const TurnNeck& val); - - void __set_change_view(const ChangeView& val); - - void __set_say(const Say& val); - - void __set_point_to(const PointTo& val); - - void __set_point_to_of(const PointToOf& val); - - void __set_attention_to(const AttentionTo& val); - - void __set_attention_to_of(const AttentionToOf& val); - - void __set_log(const Log& val); - - void __set_debug_client(const DebugClient& val); - - void __set_body_go_to_point(const Body_GoToPoint& val); - - void __set_body_smart_kick(const Body_SmartKick& val); - - void __set_bhv_before_kick_off(const Bhv_BeforeKickOff& val); - - void __set_bhv_body_neck_to_ball(const Bhv_BodyNeckToBall& val); - - void __set_bhv_body_neck_to_point(const Bhv_BodyNeckToPoint& val); - - void __set_bhv_emergency(const Bhv_Emergency& val); - - void __set_bhv_go_to_point_look_ball(const Bhv_GoToPointLookBall& val); - - void __set_bhv_neck_body_to_ball(const Bhv_NeckBodyToBall& val); - - void __set_bhv_neck_body_to_point(const Bhv_NeckBodyToPoint& val); - - void __set_bhv_scan_field(const Bhv_ScanField& val); - - void __set_body_advance_ball(const Body_AdvanceBall& val); - - void __set_body_clear_ball(const Body_ClearBall& val); - - void __set_body_dribble(const Body_Dribble& val); - - void __set_body_go_to_point_dodge(const Body_GoToPointDodge& val); - - void __set_body_hold_ball(const Body_HoldBall& val); - - void __set_body_intercept(const Body_Intercept& val); - - void __set_body_kick_one_step(const Body_KickOneStep& val); - - void __set_body_stop_ball(const Body_StopBall& val); - - void __set_body_stop_dash(const Body_StopDash& val); - - void __set_body_tackle_to_point(const Body_TackleToPoint& val); - - void __set_body_turn_to_angle(const Body_TurnToAngle& val); - - void __set_body_turn_to_ball(const Body_TurnToBall& val); - - void __set_body_turn_to_point(const Body_TurnToPoint& val); - - void __set_focus_move_to_point(const Focus_MoveToPoint& val); - - void __set_focus_reset(const Focus_Reset& val); - - void __set_neck_scan_field(const Neck_ScanField& val); - - void __set_neck_scan_players(const Neck_ScanPlayers& val); - - void __set_neck_turn_to_ball_and_player(const Neck_TurnToBallAndPlayer& val); - - void __set_neck_turn_to_ball_or_scan(const Neck_TurnToBallOrScan& val); - - void __set_neck_turn_to_ball(const Neck_TurnToBall& val); - - void __set_neck_turn_to_goalie_or_scan(const Neck_TurnToGoalieOrScan& val); - - void __set_neck_turn_to_low_conf_teammate(const Neck_TurnToLowConfTeammate& val); - - void __set_neck_turn_to_player_or_scan(const Neck_TurnToPlayerOrScan& val); - - void __set_neck_turn_to_point(const Neck_TurnToPoint& val); - - void __set_neck_turn_to_relative(const Neck_TurnToRelative& val); - - void __set_view_change_width(const View_ChangeWidth& val); - - void __set_view_normal(const View_Normal& val); - - void __set_view_synch(const View_Synch& val); - - void __set_view_wide(const View_Wide& val); - - void __set_helios_goalie(const HeliosGoalie& val); - - void __set_helios_goalie_move(const HeliosGoalieMove& val); - - void __set_helios_goalie_kick(const HeliosGoalieKick& val); - - void __set_helios_shoot(const HeliosShoot& val); - - void __set_helios_chain_action(const HeliosChainAction& val); - - void __set_helios_basic_offensive(const HeliosBasicOffensive& val); - - void __set_helios_basic_move(const HeliosBasicMove& val); - - void __set_helios_set_play(const HeliosSetPlay& val); - - void __set_helios_penalty(const HeliosPenalty& val); - - void __set_helios_communication(const HeliosCommunicaion& val); - - bool operator == (const PlayerAction & rhs) const - { - if (__isset.dash != rhs.__isset.dash) - return false; - else if (__isset.dash && !(dash == rhs.dash)) - return false; - if (__isset.turn != rhs.__isset.turn) - return false; - else if (__isset.turn && !(turn == rhs.turn)) - return false; - if (__isset.kick != rhs.__isset.kick) - return false; - else if (__isset.kick && !(kick == rhs.kick)) - return false; - if (__isset.tackle != rhs.__isset.tackle) - return false; - else if (__isset.tackle && !(tackle == rhs.tackle)) - return false; - if (__isset.catch_action != rhs.__isset.catch_action) - return false; - else if (__isset.catch_action && !(catch_action == rhs.catch_action)) - return false; - if (__isset.move != rhs.__isset.move) - return false; - else if (__isset.move && !(move == rhs.move)) - return false; - if (__isset.turn_neck != rhs.__isset.turn_neck) - return false; - else if (__isset.turn_neck && !(turn_neck == rhs.turn_neck)) - return false; - if (__isset.change_view != rhs.__isset.change_view) - return false; - else if (__isset.change_view && !(change_view == rhs.change_view)) - return false; - if (__isset.say != rhs.__isset.say) - return false; - else if (__isset.say && !(say == rhs.say)) - return false; - if (__isset.point_to != rhs.__isset.point_to) - return false; - else if (__isset.point_to && !(point_to == rhs.point_to)) - return false; - if (__isset.point_to_of != rhs.__isset.point_to_of) - return false; - else if (__isset.point_to_of && !(point_to_of == rhs.point_to_of)) - return false; - if (__isset.attention_to != rhs.__isset.attention_to) - return false; - else if (__isset.attention_to && !(attention_to == rhs.attention_to)) - return false; - if (__isset.attention_to_of != rhs.__isset.attention_to_of) - return false; - else if (__isset.attention_to_of && !(attention_to_of == rhs.attention_to_of)) - return false; - if (__isset.log != rhs.__isset.log) - return false; - else if (__isset.log && !(log == rhs.log)) - return false; - if (__isset.debug_client != rhs.__isset.debug_client) - return false; - else if (__isset.debug_client && !(debug_client == rhs.debug_client)) - return false; - if (__isset.body_go_to_point != rhs.__isset.body_go_to_point) - return false; - else if (__isset.body_go_to_point && !(body_go_to_point == rhs.body_go_to_point)) - return false; - if (__isset.body_smart_kick != rhs.__isset.body_smart_kick) - return false; - else if (__isset.body_smart_kick && !(body_smart_kick == rhs.body_smart_kick)) - return false; - if (__isset.bhv_before_kick_off != rhs.__isset.bhv_before_kick_off) - return false; - else if (__isset.bhv_before_kick_off && !(bhv_before_kick_off == rhs.bhv_before_kick_off)) - return false; - if (__isset.bhv_body_neck_to_ball != rhs.__isset.bhv_body_neck_to_ball) - return false; - else if (__isset.bhv_body_neck_to_ball && !(bhv_body_neck_to_ball == rhs.bhv_body_neck_to_ball)) - return false; - if (__isset.bhv_body_neck_to_point != rhs.__isset.bhv_body_neck_to_point) - return false; - else if (__isset.bhv_body_neck_to_point && !(bhv_body_neck_to_point == rhs.bhv_body_neck_to_point)) - return false; - if (__isset.bhv_emergency != rhs.__isset.bhv_emergency) - return false; - else if (__isset.bhv_emergency && !(bhv_emergency == rhs.bhv_emergency)) - return false; - if (__isset.bhv_go_to_point_look_ball != rhs.__isset.bhv_go_to_point_look_ball) - return false; - else if (__isset.bhv_go_to_point_look_ball && !(bhv_go_to_point_look_ball == rhs.bhv_go_to_point_look_ball)) - return false; - if (__isset.bhv_neck_body_to_ball != rhs.__isset.bhv_neck_body_to_ball) - return false; - else if (__isset.bhv_neck_body_to_ball && !(bhv_neck_body_to_ball == rhs.bhv_neck_body_to_ball)) - return false; - if (__isset.bhv_neck_body_to_point != rhs.__isset.bhv_neck_body_to_point) - return false; - else if (__isset.bhv_neck_body_to_point && !(bhv_neck_body_to_point == rhs.bhv_neck_body_to_point)) - return false; - if (__isset.bhv_scan_field != rhs.__isset.bhv_scan_field) - return false; - else if (__isset.bhv_scan_field && !(bhv_scan_field == rhs.bhv_scan_field)) - return false; - if (__isset.body_advance_ball != rhs.__isset.body_advance_ball) - return false; - else if (__isset.body_advance_ball && !(body_advance_ball == rhs.body_advance_ball)) - return false; - if (__isset.body_clear_ball != rhs.__isset.body_clear_ball) - return false; - else if (__isset.body_clear_ball && !(body_clear_ball == rhs.body_clear_ball)) - return false; - if (__isset.body_dribble != rhs.__isset.body_dribble) - return false; - else if (__isset.body_dribble && !(body_dribble == rhs.body_dribble)) - return false; - if (__isset.body_go_to_point_dodge != rhs.__isset.body_go_to_point_dodge) - return false; - else if (__isset.body_go_to_point_dodge && !(body_go_to_point_dodge == rhs.body_go_to_point_dodge)) - return false; - if (__isset.body_hold_ball != rhs.__isset.body_hold_ball) - return false; - else if (__isset.body_hold_ball && !(body_hold_ball == rhs.body_hold_ball)) - return false; - if (__isset.body_intercept != rhs.__isset.body_intercept) - return false; - else if (__isset.body_intercept && !(body_intercept == rhs.body_intercept)) - return false; - if (__isset.body_kick_one_step != rhs.__isset.body_kick_one_step) - return false; - else if (__isset.body_kick_one_step && !(body_kick_one_step == rhs.body_kick_one_step)) - return false; - if (__isset.body_stop_ball != rhs.__isset.body_stop_ball) - return false; - else if (__isset.body_stop_ball && !(body_stop_ball == rhs.body_stop_ball)) - return false; - if (__isset.body_stop_dash != rhs.__isset.body_stop_dash) - return false; - else if (__isset.body_stop_dash && !(body_stop_dash == rhs.body_stop_dash)) - return false; - if (__isset.body_tackle_to_point != rhs.__isset.body_tackle_to_point) - return false; - else if (__isset.body_tackle_to_point && !(body_tackle_to_point == rhs.body_tackle_to_point)) - return false; - if (__isset.body_turn_to_angle != rhs.__isset.body_turn_to_angle) - return false; - else if (__isset.body_turn_to_angle && !(body_turn_to_angle == rhs.body_turn_to_angle)) - return false; - if (__isset.body_turn_to_ball != rhs.__isset.body_turn_to_ball) - return false; - else if (__isset.body_turn_to_ball && !(body_turn_to_ball == rhs.body_turn_to_ball)) - return false; - if (__isset.body_turn_to_point != rhs.__isset.body_turn_to_point) - return false; - else if (__isset.body_turn_to_point && !(body_turn_to_point == rhs.body_turn_to_point)) - return false; - if (__isset.focus_move_to_point != rhs.__isset.focus_move_to_point) - return false; - else if (__isset.focus_move_to_point && !(focus_move_to_point == rhs.focus_move_to_point)) - return false; - if (__isset.focus_reset != rhs.__isset.focus_reset) - return false; - else if (__isset.focus_reset && !(focus_reset == rhs.focus_reset)) - return false; - if (__isset.neck_scan_field != rhs.__isset.neck_scan_field) - return false; - else if (__isset.neck_scan_field && !(neck_scan_field == rhs.neck_scan_field)) - return false; - if (__isset.neck_scan_players != rhs.__isset.neck_scan_players) - return false; - else if (__isset.neck_scan_players && !(neck_scan_players == rhs.neck_scan_players)) - return false; - if (__isset.neck_turn_to_ball_and_player != rhs.__isset.neck_turn_to_ball_and_player) - return false; - else if (__isset.neck_turn_to_ball_and_player && !(neck_turn_to_ball_and_player == rhs.neck_turn_to_ball_and_player)) - return false; - if (__isset.neck_turn_to_ball_or_scan != rhs.__isset.neck_turn_to_ball_or_scan) - return false; - else if (__isset.neck_turn_to_ball_or_scan && !(neck_turn_to_ball_or_scan == rhs.neck_turn_to_ball_or_scan)) - return false; - if (__isset.neck_turn_to_ball != rhs.__isset.neck_turn_to_ball) - return false; - else if (__isset.neck_turn_to_ball && !(neck_turn_to_ball == rhs.neck_turn_to_ball)) - return false; - if (__isset.neck_turn_to_goalie_or_scan != rhs.__isset.neck_turn_to_goalie_or_scan) - return false; - else if (__isset.neck_turn_to_goalie_or_scan && !(neck_turn_to_goalie_or_scan == rhs.neck_turn_to_goalie_or_scan)) - return false; - if (__isset.neck_turn_to_low_conf_teammate != rhs.__isset.neck_turn_to_low_conf_teammate) - return false; - else if (__isset.neck_turn_to_low_conf_teammate && !(neck_turn_to_low_conf_teammate == rhs.neck_turn_to_low_conf_teammate)) - return false; - if (__isset.neck_turn_to_player_or_scan != rhs.__isset.neck_turn_to_player_or_scan) - return false; - else if (__isset.neck_turn_to_player_or_scan && !(neck_turn_to_player_or_scan == rhs.neck_turn_to_player_or_scan)) - return false; - if (__isset.neck_turn_to_point != rhs.__isset.neck_turn_to_point) - return false; - else if (__isset.neck_turn_to_point && !(neck_turn_to_point == rhs.neck_turn_to_point)) - return false; - if (__isset.neck_turn_to_relative != rhs.__isset.neck_turn_to_relative) - return false; - else if (__isset.neck_turn_to_relative && !(neck_turn_to_relative == rhs.neck_turn_to_relative)) - return false; - if (__isset.view_change_width != rhs.__isset.view_change_width) - return false; - else if (__isset.view_change_width && !(view_change_width == rhs.view_change_width)) - return false; - if (__isset.view_normal != rhs.__isset.view_normal) - return false; - else if (__isset.view_normal && !(view_normal == rhs.view_normal)) - return false; - if (__isset.view_synch != rhs.__isset.view_synch) - return false; - else if (__isset.view_synch && !(view_synch == rhs.view_synch)) - return false; - if (__isset.view_wide != rhs.__isset.view_wide) - return false; - else if (__isset.view_wide && !(view_wide == rhs.view_wide)) - return false; - if (__isset.helios_goalie != rhs.__isset.helios_goalie) - return false; - else if (__isset.helios_goalie && !(helios_goalie == rhs.helios_goalie)) - return false; - if (__isset.helios_goalie_move != rhs.__isset.helios_goalie_move) - return false; - else if (__isset.helios_goalie_move && !(helios_goalie_move == rhs.helios_goalie_move)) - return false; - if (__isset.helios_goalie_kick != rhs.__isset.helios_goalie_kick) - return false; - else if (__isset.helios_goalie_kick && !(helios_goalie_kick == rhs.helios_goalie_kick)) - return false; - if (__isset.helios_shoot != rhs.__isset.helios_shoot) - return false; - else if (__isset.helios_shoot && !(helios_shoot == rhs.helios_shoot)) - return false; - if (__isset.helios_chain_action != rhs.__isset.helios_chain_action) - return false; - else if (__isset.helios_chain_action && !(helios_chain_action == rhs.helios_chain_action)) - return false; - if (__isset.helios_basic_offensive != rhs.__isset.helios_basic_offensive) - return false; - else if (__isset.helios_basic_offensive && !(helios_basic_offensive == rhs.helios_basic_offensive)) - return false; - if (__isset.helios_basic_move != rhs.__isset.helios_basic_move) - return false; - else if (__isset.helios_basic_move && !(helios_basic_move == rhs.helios_basic_move)) - return false; - if (__isset.helios_set_play != rhs.__isset.helios_set_play) - return false; - else if (__isset.helios_set_play && !(helios_set_play == rhs.helios_set_play)) - return false; - if (__isset.helios_penalty != rhs.__isset.helios_penalty) - return false; - else if (__isset.helios_penalty && !(helios_penalty == rhs.helios_penalty)) - return false; - if (__isset.helios_communication != rhs.__isset.helios_communication) - return false; - else if (__isset.helios_communication && !(helios_communication == rhs.helios_communication)) - return false; - return true; - } - bool operator != (const PlayerAction &rhs) const { - return !(*this == rhs); - } - - bool operator < (const PlayerAction & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(PlayerAction &a, PlayerAction &b); - -std::ostream& operator<<(std::ostream& out, const PlayerAction& obj); - -typedef struct _PlayerActions__isset { - _PlayerActions__isset() : actions(false), ignore_preprocess(false) {} - bool actions :1; - bool ignore_preprocess :1; -} _PlayerActions__isset; - -class PlayerActions : public virtual ::apache::thrift::TBase { - public: - - PlayerActions(const PlayerActions&); - PlayerActions& operator=(const PlayerActions&); - PlayerActions() noexcept - : ignore_preprocess(0) { - } - - virtual ~PlayerActions() noexcept; - std::vector actions; - bool ignore_preprocess; - - _PlayerActions__isset __isset; - - void __set_actions(const std::vector & val); - - void __set_ignore_preprocess(const bool val); - - bool operator == (const PlayerActions & rhs) const - { - if (!(actions == rhs.actions)) - return false; - if (!(ignore_preprocess == rhs.ignore_preprocess)) - return false; - return true; - } - bool operator != (const PlayerActions &rhs) const { - return !(*this == rhs); - } - - bool operator < (const PlayerActions & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(PlayerActions &a, PlayerActions &b); - -std::ostream& operator<<(std::ostream& out, const PlayerActions& obj); - -typedef struct _ChangePlayerType__isset { - _ChangePlayerType__isset() : uniform_number(false), type(false) {} - bool uniform_number :1; - bool type :1; -} _ChangePlayerType__isset; - -class ChangePlayerType : public virtual ::apache::thrift::TBase { - public: - - ChangePlayerType(const ChangePlayerType&) noexcept; - ChangePlayerType& operator=(const ChangePlayerType&) noexcept; - ChangePlayerType() noexcept - : uniform_number(0), - type(0) { - } - - virtual ~ChangePlayerType() noexcept; - int32_t uniform_number; - int32_t type; - - _ChangePlayerType__isset __isset; - - void __set_uniform_number(const int32_t val); - - void __set_type(const int32_t val); - - bool operator == (const ChangePlayerType & rhs) const - { - if (!(uniform_number == rhs.uniform_number)) - return false; - if (!(type == rhs.type)) - return false; - return true; - } - bool operator != (const ChangePlayerType &rhs) const { - return !(*this == rhs); - } - - bool operator < (const ChangePlayerType & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(ChangePlayerType &a, ChangePlayerType &b); - -std::ostream& operator<<(std::ostream& out, const ChangePlayerType& obj); - - -class DoHeliosSubstitute : public virtual ::apache::thrift::TBase { - public: - - DoHeliosSubstitute(const DoHeliosSubstitute&) noexcept; - DoHeliosSubstitute& operator=(const DoHeliosSubstitute&) noexcept; - DoHeliosSubstitute() noexcept { - } - - virtual ~DoHeliosSubstitute() noexcept; - - bool operator == (const DoHeliosSubstitute & /* rhs */) const - { - return true; - } - bool operator != (const DoHeliosSubstitute &rhs) const { - return !(*this == rhs); - } - - bool operator < (const DoHeliosSubstitute & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(DoHeliosSubstitute &a, DoHeliosSubstitute &b); - -std::ostream& operator<<(std::ostream& out, const DoHeliosSubstitute& obj); - - -class DoHeliosSayPlayerTypes : public virtual ::apache::thrift::TBase { - public: - - DoHeliosSayPlayerTypes(const DoHeliosSayPlayerTypes&) noexcept; - DoHeliosSayPlayerTypes& operator=(const DoHeliosSayPlayerTypes&) noexcept; - DoHeliosSayPlayerTypes() noexcept { - } - - virtual ~DoHeliosSayPlayerTypes() noexcept; - - bool operator == (const DoHeliosSayPlayerTypes & /* rhs */) const - { - return true; - } - bool operator != (const DoHeliosSayPlayerTypes &rhs) const { - return !(*this == rhs); - } - - bool operator < (const DoHeliosSayPlayerTypes & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(DoHeliosSayPlayerTypes &a, DoHeliosSayPlayerTypes &b); - -std::ostream& operator<<(std::ostream& out, const DoHeliosSayPlayerTypes& obj); - -typedef struct _CoachAction__isset { - _CoachAction__isset() : change_player_types(false), do_helios_substitute(false), do_helios_say_player_types(false) {} - bool change_player_types :1; - bool do_helios_substitute :1; - bool do_helios_say_player_types :1; -} _CoachAction__isset; - -class CoachAction : public virtual ::apache::thrift::TBase { - public: - - CoachAction(const CoachAction&) noexcept; - CoachAction& operator=(const CoachAction&) noexcept; - CoachAction() noexcept { - } - - virtual ~CoachAction() noexcept; - ChangePlayerType change_player_types; - DoHeliosSubstitute do_helios_substitute; - DoHeliosSayPlayerTypes do_helios_say_player_types; - - _CoachAction__isset __isset; - - void __set_change_player_types(const ChangePlayerType& val); - - void __set_do_helios_substitute(const DoHeliosSubstitute& val); - - void __set_do_helios_say_player_types(const DoHeliosSayPlayerTypes& val); - - bool operator == (const CoachAction & rhs) const - { - if (__isset.change_player_types != rhs.__isset.change_player_types) - return false; - else if (__isset.change_player_types && !(change_player_types == rhs.change_player_types)) - return false; - if (__isset.do_helios_substitute != rhs.__isset.do_helios_substitute) - return false; - else if (__isset.do_helios_substitute && !(do_helios_substitute == rhs.do_helios_substitute)) - return false; - if (__isset.do_helios_say_player_types != rhs.__isset.do_helios_say_player_types) - return false; - else if (__isset.do_helios_say_player_types && !(do_helios_say_player_types == rhs.do_helios_say_player_types)) - return false; - return true; - } - bool operator != (const CoachAction &rhs) const { - return !(*this == rhs); - } - - bool operator < (const CoachAction & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(CoachAction &a, CoachAction &b); - -std::ostream& operator<<(std::ostream& out, const CoachAction& obj); - -typedef struct _CoachActions__isset { - _CoachActions__isset() : actions(false) {} - bool actions :1; -} _CoachActions__isset; - -class CoachActions : public virtual ::apache::thrift::TBase { - public: - - CoachActions(const CoachActions&); - CoachActions& operator=(const CoachActions&); - CoachActions() noexcept { - } - - virtual ~CoachActions() noexcept; - std::vector actions; - - _CoachActions__isset __isset; - - void __set_actions(const std::vector & val); - - bool operator == (const CoachActions & rhs) const - { - if (!(actions == rhs.actions)) - return false; - return true; - } - bool operator != (const CoachActions &rhs) const { - return !(*this == rhs); - } - - bool operator < (const CoachActions & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(CoachActions &a, CoachActions &b); - -std::ostream& operator<<(std::ostream& out, const CoachActions& obj); - - -class DoKickOff : public virtual ::apache::thrift::TBase { - public: - - DoKickOff(const DoKickOff&) noexcept; - DoKickOff& operator=(const DoKickOff&) noexcept; - DoKickOff() noexcept { - } - - virtual ~DoKickOff() noexcept; - - bool operator == (const DoKickOff & /* rhs */) const - { - return true; - } - bool operator != (const DoKickOff &rhs) const { - return !(*this == rhs); - } - - bool operator < (const DoKickOff & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(DoKickOff &a, DoKickOff &b); - -std::ostream& operator<<(std::ostream& out, const DoKickOff& obj); - -typedef struct _DoMoveBall__isset { - _DoMoveBall__isset() : position(false), velocity(false) {} - bool position :1; - bool velocity :1; -} _DoMoveBall__isset; - -class DoMoveBall : public virtual ::apache::thrift::TBase { - public: - - DoMoveBall(const DoMoveBall&) noexcept; - DoMoveBall& operator=(const DoMoveBall&) noexcept; - DoMoveBall() noexcept { - } - - virtual ~DoMoveBall() noexcept; - RpcVector2D position; - RpcVector2D velocity; - - _DoMoveBall__isset __isset; - - void __set_position(const RpcVector2D& val); - - void __set_velocity(const RpcVector2D& val); - - bool operator == (const DoMoveBall & rhs) const - { - if (!(position == rhs.position)) - return false; - if (__isset.velocity != rhs.__isset.velocity) - return false; - else if (__isset.velocity && !(velocity == rhs.velocity)) - return false; - return true; - } - bool operator != (const DoMoveBall &rhs) const { - return !(*this == rhs); - } - - bool operator < (const DoMoveBall & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(DoMoveBall &a, DoMoveBall &b); - -std::ostream& operator<<(std::ostream& out, const DoMoveBall& obj); - -typedef struct _DoMovePlayer__isset { - _DoMovePlayer__isset() : our_side(false), uniform_number(false), position(false), body_direction(false) {} - bool our_side :1; - bool uniform_number :1; - bool position :1; - bool body_direction :1; -} _DoMovePlayer__isset; - -class DoMovePlayer : public virtual ::apache::thrift::TBase { - public: - - DoMovePlayer(const DoMovePlayer&) noexcept; - DoMovePlayer& operator=(const DoMovePlayer&) noexcept; - DoMovePlayer() noexcept - : our_side(0), - uniform_number(0), - body_direction(0) { - } - - virtual ~DoMovePlayer() noexcept; - bool our_side; - int32_t uniform_number; - RpcVector2D position; - double body_direction; - - _DoMovePlayer__isset __isset; - - void __set_our_side(const bool val); - - void __set_uniform_number(const int32_t val); - - void __set_position(const RpcVector2D& val); - - void __set_body_direction(const double val); - - bool operator == (const DoMovePlayer & rhs) const - { - if (!(our_side == rhs.our_side)) - return false; - if (!(uniform_number == rhs.uniform_number)) - return false; - if (!(position == rhs.position)) - return false; - if (!(body_direction == rhs.body_direction)) - return false; - return true; - } - bool operator != (const DoMovePlayer &rhs) const { - return !(*this == rhs); - } - - bool operator < (const DoMovePlayer & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(DoMovePlayer &a, DoMovePlayer &b); - -std::ostream& operator<<(std::ostream& out, const DoMovePlayer& obj); - - -class DoRecover : public virtual ::apache::thrift::TBase { - public: - - DoRecover(const DoRecover&) noexcept; - DoRecover& operator=(const DoRecover&) noexcept; - DoRecover() noexcept { - } - - virtual ~DoRecover() noexcept; - - bool operator == (const DoRecover & /* rhs */) const - { - return true; - } - bool operator != (const DoRecover &rhs) const { - return !(*this == rhs); - } - - bool operator < (const DoRecover & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(DoRecover &a, DoRecover &b); - -std::ostream& operator<<(std::ostream& out, const DoRecover& obj); - -typedef struct _DoChangeMode__isset { - _DoChangeMode__isset() : game_mode_type(false), side(false) {} - bool game_mode_type :1; - bool side :1; -} _DoChangeMode__isset; - -class DoChangeMode : public virtual ::apache::thrift::TBase { - public: - - DoChangeMode(const DoChangeMode&) noexcept; - DoChangeMode& operator=(const DoChangeMode&) noexcept; - DoChangeMode() noexcept - : game_mode_type(static_cast(0)), - side(static_cast(0)) { - } - - virtual ~DoChangeMode() noexcept; - /** - * - * @see GameModeType - */ - GameModeType::type game_mode_type; - /** - * - * @see Side - */ - Side::type side; - - _DoChangeMode__isset __isset; - - void __set_game_mode_type(const GameModeType::type val); - - void __set_side(const Side::type val); - - bool operator == (const DoChangeMode & rhs) const - { - if (!(game_mode_type == rhs.game_mode_type)) - return false; - if (!(side == rhs.side)) - return false; - return true; - } - bool operator != (const DoChangeMode &rhs) const { - return !(*this == rhs); - } - - bool operator < (const DoChangeMode & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(DoChangeMode &a, DoChangeMode &b); - -std::ostream& operator<<(std::ostream& out, const DoChangeMode& obj); - -typedef struct _DoChangePlayerType__isset { - _DoChangePlayerType__isset() : our_side(false), uniform_number(false), type(false) {} - bool our_side :1; - bool uniform_number :1; - bool type :1; -} _DoChangePlayerType__isset; - -class DoChangePlayerType : public virtual ::apache::thrift::TBase { - public: - - DoChangePlayerType(const DoChangePlayerType&) noexcept; - DoChangePlayerType& operator=(const DoChangePlayerType&) noexcept; - DoChangePlayerType() noexcept - : our_side(0), - uniform_number(0), - type(0) { - } - - virtual ~DoChangePlayerType() noexcept; - bool our_side; - int32_t uniform_number; - int32_t type; - - _DoChangePlayerType__isset __isset; - - void __set_our_side(const bool val); - - void __set_uniform_number(const int32_t val); - - void __set_type(const int32_t val); - - bool operator == (const DoChangePlayerType & rhs) const - { - if (!(our_side == rhs.our_side)) - return false; - if (!(uniform_number == rhs.uniform_number)) - return false; - if (!(type == rhs.type)) - return false; - return true; - } - bool operator != (const DoChangePlayerType &rhs) const { - return !(*this == rhs); - } - - bool operator < (const DoChangePlayerType & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(DoChangePlayerType &a, DoChangePlayerType &b); - -std::ostream& operator<<(std::ostream& out, const DoChangePlayerType& obj); - -typedef struct _TrainerAction__isset { - _TrainerAction__isset() : do_kick_off(false), do_move_ball(false), do_move_player(false), do_recover(false), do_change_mode(false), do_change_player_type(false) {} - bool do_kick_off :1; - bool do_move_ball :1; - bool do_move_player :1; - bool do_recover :1; - bool do_change_mode :1; - bool do_change_player_type :1; -} _TrainerAction__isset; - -class TrainerAction : public virtual ::apache::thrift::TBase { - public: - - TrainerAction(const TrainerAction&) noexcept; - TrainerAction& operator=(const TrainerAction&) noexcept; - TrainerAction() noexcept { - } - - virtual ~TrainerAction() noexcept; - DoKickOff do_kick_off; - DoMoveBall do_move_ball; - DoMovePlayer do_move_player; - DoRecover do_recover; - DoChangeMode do_change_mode; - DoChangePlayerType do_change_player_type; - - _TrainerAction__isset __isset; - - void __set_do_kick_off(const DoKickOff& val); - - void __set_do_move_ball(const DoMoveBall& val); - - void __set_do_move_player(const DoMovePlayer& val); - - void __set_do_recover(const DoRecover& val); - - void __set_do_change_mode(const DoChangeMode& val); - - void __set_do_change_player_type(const DoChangePlayerType& val); - - bool operator == (const TrainerAction & rhs) const - { - if (__isset.do_kick_off != rhs.__isset.do_kick_off) - return false; - else if (__isset.do_kick_off && !(do_kick_off == rhs.do_kick_off)) - return false; - if (__isset.do_move_ball != rhs.__isset.do_move_ball) - return false; - else if (__isset.do_move_ball && !(do_move_ball == rhs.do_move_ball)) - return false; - if (__isset.do_move_player != rhs.__isset.do_move_player) - return false; - else if (__isset.do_move_player && !(do_move_player == rhs.do_move_player)) - return false; - if (__isset.do_recover != rhs.__isset.do_recover) - return false; - else if (__isset.do_recover && !(do_recover == rhs.do_recover)) - return false; - if (__isset.do_change_mode != rhs.__isset.do_change_mode) - return false; - else if (__isset.do_change_mode && !(do_change_mode == rhs.do_change_mode)) - return false; - if (__isset.do_change_player_type != rhs.__isset.do_change_player_type) - return false; - else if (__isset.do_change_player_type && !(do_change_player_type == rhs.do_change_player_type)) - return false; - return true; - } - bool operator != (const TrainerAction &rhs) const { - return !(*this == rhs); - } - - bool operator < (const TrainerAction & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(TrainerAction &a, TrainerAction &b); - -std::ostream& operator<<(std::ostream& out, const TrainerAction& obj); - -typedef struct _TrainerActions__isset { - _TrainerActions__isset() : actions(false) {} - bool actions :1; -} _TrainerActions__isset; - -class TrainerActions : public virtual ::apache::thrift::TBase { - public: - - TrainerActions(const TrainerActions&); - TrainerActions& operator=(const TrainerActions&); - TrainerActions() noexcept { - } - - virtual ~TrainerActions() noexcept; - std::vector actions; - - _TrainerActions__isset __isset; - - void __set_actions(const std::vector & val); - - bool operator == (const TrainerActions & rhs) const - { - if (!(actions == rhs.actions)) - return false; - return true; - } - bool operator != (const TrainerActions &rhs) const { - return !(*this == rhs); - } - - bool operator < (const TrainerActions & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(TrainerActions &a, TrainerActions &b); - -std::ostream& operator<<(std::ostream& out, const TrainerActions& obj); - -typedef struct _ServerParam__isset { - _ServerParam__isset() : register_response(false), inertia_moment(false), player_size(false), player_decay(false), player_rand(false), player_weight(false), player_speed_max(false), player_accel_max(false), stamina_max(false), stamina_inc_max(false), recover_init(false), recover_dec_thr(false), recover_min(false), recover_dec(false), effort_init(false), effort_dec_thr(false), effort_min(false), effort_dec(false), effort_inc_thr(false), effort_inc(false), kick_rand(false), team_actuator_noise(false), player_rand_factor_l(false), player_rand_factor_r(false), kick_rand_factor_l(false), kick_rand_factor_r(false), ball_size(false), ball_decay(false), ball_rand(false), ball_weight(false), ball_speed_max(false), ball_accel_max(false), dash_power_rate(false), kick_power_rate(false), kickable_margin(false), control_radius(false), control_radius_width(false), max_power(false), min_power(false), max_moment(false), min_moment(false), max_neck_moment(false), min_neck_moment(false), max_neck_angle(false), min_neck_angle(false), visible_angle(false), visible_distance(false), wind_dir(false), wind_force(false), wind_angle(false), wind_rand(false), kickable_area(false), catch_area_l(false), catch_area_w(false), catch_probability(false), goalie_max_moves(false), corner_kick_margin(false), offside_active_area_size(false), wind_none(false), use_wind_random(false), coach_say_count_max(false), coach_say_msg_size(false), clang_win_size(false), clang_define_win(false), clang_meta_win(false), clang_advice_win(false), clang_info_win(false), clang_mess_delay(false), clang_mess_per_cycle(false), half_time(false), simulator_step(false), send_step(false), recv_step(false), sense_body_step(false), lcm_step(false), player_say_msg_size(false), player_hear_max(false), player_hear_inc(false), player_hear_decay(false), catch_ban_cycle(false), slow_down_factor(false), use_offside(false), kickoff_offside(false), offside_kick_margin(false), audio_cut_dist(false), dist_quantize_step(false), landmark_dist_quantize_step(false), dir_quantize_step(false), dist_quantize_step_l(false), dist_quantize_step_r(false), landmark_dist_quantize_step_l(false), landmark_dist_quantize_step_r(false), dir_quantize_step_l(false), dir_quantize_step_r(false), coach_mode(false), coach_with_referee_mode(false), use_old_coach_hear(false), slowness_on_top_for_left_team(false), slowness_on_top_for_right_team(false), start_goal_l(false), start_goal_r(false), fullstate_l(false), fullstate_r(false), drop_ball_time(false), synch_mode(false), synch_offset(false), synch_micro_sleep(false), point_to_ban(false), point_to_duration(false), player_port(false), trainer_port(false), online_coach_port(false), verbose_mode(false), coach_send_vi_step(false), replay_file(false), landmark_file(false), send_comms(false), text_logging(false), game_logging(false), game_log_version(false), text_log_dir(false), game_log_dir(false), text_log_fixed_name(false), game_log_fixed_name(false), use_text_log_fixed(false), use_game_log_fixed(false), use_text_log_dated(false), use_game_log_dated(false), log_date_format(false), log_times(false), record_message(false), text_log_compression(false), game_log_compression(false), use_profile(false), tackle_dist(false), tackle_back_dist(false), tackle_width(false), tackle_exponent(false), tackle_cycles(false), tackle_power_rate(false), freeform_wait_period(false), freeform_send_period(false), free_kick_faults(false), back_passes(false), proper_goal_kicks(false), stopped_ball_vel(false), max_goal_kicks(false), clang_del_win(false), clang_rule_win(false), auto_mode(false), kick_off_wait(false), connect_wait(false), game_over_wait(false), team_l_start(false), team_r_start(false), keepaway_mode(false), keepaway_length(false), keepaway_width(false), keepaway_logging(false), keepaway_log_dir(false), keepaway_log_fixed_name(false), keepaway_log_fixed(false), keepaway_log_dated(false), keepaway_start(false), nr_normal_halfs(false), nr_extra_halfs(false), penalty_shoot_outs(false), pen_before_setup_wait(false), pen_setup_wait(false), pen_ready_wait(false), pen_taken_wait(false), pen_nr_kicks(false), pen_max_extra_kicks(false), pen_dist_x(false), pen_random_winner(false), pen_allow_mult_kicks(false), pen_max_goalie_dist_x(false), pen_coach_moves_players(false), module_dir(false), ball_stuck_area(false), coach_msg_file(false), max_tackle_power(false), max_back_tackle_power(false), player_speed_max_min(false), extra_stamina(false), synch_see_offset(false), extra_half_time(false), stamina_capacity(false), max_dash_angle(false), min_dash_angle(false), dash_angle_step(false), side_dash_rate(false), back_dash_rate(false), max_dash_power(false), min_dash_power(false), tackle_rand_factor(false), foul_detect_probability(false), foul_exponent(false), foul_cycles(false), golden_goal(false), red_card_probability(false), illegal_defense_duration(false), illegal_defense_number(false), illegal_defense_dist_x(false), illegal_defense_width(false), fixed_teamname_l(false), fixed_teamname_r(false), max_catch_angle(false), min_catch_angle(false), random_seed(false), long_kick_power_factor(false), long_kick_delay(false), max_monitors(false), catchable_area(false), real_speed_max(false), pitch_half_length(false), pitch_half_width(false), our_penalty_area_line_x(false), their_penalty_area_line_x(false), penalty_area_half_width(false), penalty_area_length(false), goal_width(false) {} - bool register_response :1; - bool inertia_moment :1; - bool player_size :1; - bool player_decay :1; - bool player_rand :1; - bool player_weight :1; - bool player_speed_max :1; - bool player_accel_max :1; - bool stamina_max :1; - bool stamina_inc_max :1; - bool recover_init :1; - bool recover_dec_thr :1; - bool recover_min :1; - bool recover_dec :1; - bool effort_init :1; - bool effort_dec_thr :1; - bool effort_min :1; - bool effort_dec :1; - bool effort_inc_thr :1; - bool effort_inc :1; - bool kick_rand :1; - bool team_actuator_noise :1; - bool player_rand_factor_l :1; - bool player_rand_factor_r :1; - bool kick_rand_factor_l :1; - bool kick_rand_factor_r :1; - bool ball_size :1; - bool ball_decay :1; - bool ball_rand :1; - bool ball_weight :1; - bool ball_speed_max :1; - bool ball_accel_max :1; - bool dash_power_rate :1; - bool kick_power_rate :1; - bool kickable_margin :1; - bool control_radius :1; - bool control_radius_width :1; - bool max_power :1; - bool min_power :1; - bool max_moment :1; - bool min_moment :1; - bool max_neck_moment :1; - bool min_neck_moment :1; - bool max_neck_angle :1; - bool min_neck_angle :1; - bool visible_angle :1; - bool visible_distance :1; - bool wind_dir :1; - bool wind_force :1; - bool wind_angle :1; - bool wind_rand :1; - bool kickable_area :1; - bool catch_area_l :1; - bool catch_area_w :1; - bool catch_probability :1; - bool goalie_max_moves :1; - bool corner_kick_margin :1; - bool offside_active_area_size :1; - bool wind_none :1; - bool use_wind_random :1; - bool coach_say_count_max :1; - bool coach_say_msg_size :1; - bool clang_win_size :1; - bool clang_define_win :1; - bool clang_meta_win :1; - bool clang_advice_win :1; - bool clang_info_win :1; - bool clang_mess_delay :1; - bool clang_mess_per_cycle :1; - bool half_time :1; - bool simulator_step :1; - bool send_step :1; - bool recv_step :1; - bool sense_body_step :1; - bool lcm_step :1; - bool player_say_msg_size :1; - bool player_hear_max :1; - bool player_hear_inc :1; - bool player_hear_decay :1; - bool catch_ban_cycle :1; - bool slow_down_factor :1; - bool use_offside :1; - bool kickoff_offside :1; - bool offside_kick_margin :1; - bool audio_cut_dist :1; - bool dist_quantize_step :1; - bool landmark_dist_quantize_step :1; - bool dir_quantize_step :1; - bool dist_quantize_step_l :1; - bool dist_quantize_step_r :1; - bool landmark_dist_quantize_step_l :1; - bool landmark_dist_quantize_step_r :1; - bool dir_quantize_step_l :1; - bool dir_quantize_step_r :1; - bool coach_mode :1; - bool coach_with_referee_mode :1; - bool use_old_coach_hear :1; - bool slowness_on_top_for_left_team :1; - bool slowness_on_top_for_right_team :1; - bool start_goal_l :1; - bool start_goal_r :1; - bool fullstate_l :1; - bool fullstate_r :1; - bool drop_ball_time :1; - bool synch_mode :1; - bool synch_offset :1; - bool synch_micro_sleep :1; - bool point_to_ban :1; - bool point_to_duration :1; - bool player_port :1; - bool trainer_port :1; - bool online_coach_port :1; - bool verbose_mode :1; - bool coach_send_vi_step :1; - bool replay_file :1; - bool landmark_file :1; - bool send_comms :1; - bool text_logging :1; - bool game_logging :1; - bool game_log_version :1; - bool text_log_dir :1; - bool game_log_dir :1; - bool text_log_fixed_name :1; - bool game_log_fixed_name :1; - bool use_text_log_fixed :1; - bool use_game_log_fixed :1; - bool use_text_log_dated :1; - bool use_game_log_dated :1; - bool log_date_format :1; - bool log_times :1; - bool record_message :1; - bool text_log_compression :1; - bool game_log_compression :1; - bool use_profile :1; - bool tackle_dist :1; - bool tackle_back_dist :1; - bool tackle_width :1; - bool tackle_exponent :1; - bool tackle_cycles :1; - bool tackle_power_rate :1; - bool freeform_wait_period :1; - bool freeform_send_period :1; - bool free_kick_faults :1; - bool back_passes :1; - bool proper_goal_kicks :1; - bool stopped_ball_vel :1; - bool max_goal_kicks :1; - bool clang_del_win :1; - bool clang_rule_win :1; - bool auto_mode :1; - bool kick_off_wait :1; - bool connect_wait :1; - bool game_over_wait :1; - bool team_l_start :1; - bool team_r_start :1; - bool keepaway_mode :1; - bool keepaway_length :1; - bool keepaway_width :1; - bool keepaway_logging :1; - bool keepaway_log_dir :1; - bool keepaway_log_fixed_name :1; - bool keepaway_log_fixed :1; - bool keepaway_log_dated :1; - bool keepaway_start :1; - bool nr_normal_halfs :1; - bool nr_extra_halfs :1; - bool penalty_shoot_outs :1; - bool pen_before_setup_wait :1; - bool pen_setup_wait :1; - bool pen_ready_wait :1; - bool pen_taken_wait :1; - bool pen_nr_kicks :1; - bool pen_max_extra_kicks :1; - bool pen_dist_x :1; - bool pen_random_winner :1; - bool pen_allow_mult_kicks :1; - bool pen_max_goalie_dist_x :1; - bool pen_coach_moves_players :1; - bool module_dir :1; - bool ball_stuck_area :1; - bool coach_msg_file :1; - bool max_tackle_power :1; - bool max_back_tackle_power :1; - bool player_speed_max_min :1; - bool extra_stamina :1; - bool synch_see_offset :1; - bool extra_half_time :1; - bool stamina_capacity :1; - bool max_dash_angle :1; - bool min_dash_angle :1; - bool dash_angle_step :1; - bool side_dash_rate :1; - bool back_dash_rate :1; - bool max_dash_power :1; - bool min_dash_power :1; - bool tackle_rand_factor :1; - bool foul_detect_probability :1; - bool foul_exponent :1; - bool foul_cycles :1; - bool golden_goal :1; - bool red_card_probability :1; - bool illegal_defense_duration :1; - bool illegal_defense_number :1; - bool illegal_defense_dist_x :1; - bool illegal_defense_width :1; - bool fixed_teamname_l :1; - bool fixed_teamname_r :1; - bool max_catch_angle :1; - bool min_catch_angle :1; - bool random_seed :1; - bool long_kick_power_factor :1; - bool long_kick_delay :1; - bool max_monitors :1; - bool catchable_area :1; - bool real_speed_max :1; - bool pitch_half_length :1; - bool pitch_half_width :1; - bool our_penalty_area_line_x :1; - bool their_penalty_area_line_x :1; - bool penalty_area_half_width :1; - bool penalty_area_length :1; - bool goal_width :1; -} _ServerParam__isset; - -class ServerParam : public virtual ::apache::thrift::TBase { - public: - - ServerParam(const ServerParam&); - ServerParam& operator=(const ServerParam&); - ServerParam() noexcept - : inertia_moment(0), - player_size(0), - player_decay(0), - player_rand(0), - player_weight(0), - player_speed_max(0), - player_accel_max(0), - stamina_max(0), - stamina_inc_max(0), - recover_init(0), - recover_dec_thr(0), - recover_min(0), - recover_dec(0), - effort_init(0), - effort_dec_thr(0), - effort_min(0), - effort_dec(0), - effort_inc_thr(0), - effort_inc(0), - kick_rand(0), - team_actuator_noise(0), - player_rand_factor_l(0), - player_rand_factor_r(0), - kick_rand_factor_l(0), - kick_rand_factor_r(0), - ball_size(0), - ball_decay(0), - ball_rand(0), - ball_weight(0), - ball_speed_max(0), - ball_accel_max(0), - dash_power_rate(0), - kick_power_rate(0), - kickable_margin(0), - control_radius(0), - control_radius_width(0), - max_power(0), - min_power(0), - max_moment(0), - min_moment(0), - max_neck_moment(0), - min_neck_moment(0), - max_neck_angle(0), - min_neck_angle(0), - visible_angle(0), - visible_distance(0), - wind_dir(0), - wind_force(0), - wind_angle(0), - wind_rand(0), - kickable_area(0), - catch_area_l(0), - catch_area_w(0), - catch_probability(0), - goalie_max_moves(0), - corner_kick_margin(0), - offside_active_area_size(0), - wind_none(0), - use_wind_random(0), - coach_say_count_max(0), - coach_say_msg_size(0), - clang_win_size(0), - clang_define_win(0), - clang_meta_win(0), - clang_advice_win(0), - clang_info_win(0), - clang_mess_delay(0), - clang_mess_per_cycle(0), - half_time(0), - simulator_step(0), - send_step(0), - recv_step(0), - sense_body_step(0), - lcm_step(0), - player_say_msg_size(0), - player_hear_max(0), - player_hear_inc(0), - player_hear_decay(0), - catch_ban_cycle(0), - slow_down_factor(0), - use_offside(0), - kickoff_offside(0), - offside_kick_margin(0), - audio_cut_dist(0), - dist_quantize_step(0), - landmark_dist_quantize_step(0), - dir_quantize_step(0), - dist_quantize_step_l(0), - dist_quantize_step_r(0), - landmark_dist_quantize_step_l(0), - landmark_dist_quantize_step_r(0), - dir_quantize_step_l(0), - dir_quantize_step_r(0), - coach_mode(0), - coach_with_referee_mode(0), - use_old_coach_hear(0), - slowness_on_top_for_left_team(0), - slowness_on_top_for_right_team(0), - start_goal_l(0), - start_goal_r(0), - fullstate_l(0), - fullstate_r(0), - drop_ball_time(0), - synch_mode(0), - synch_offset(0), - synch_micro_sleep(0), - point_to_ban(0), - point_to_duration(0), - player_port(0), - trainer_port(0), - online_coach_port(0), - verbose_mode(0), - coach_send_vi_step(0), - replay_file(), - landmark_file(), - send_comms(0), - text_logging(0), - game_logging(0), - game_log_version(0), - text_log_dir(), - game_log_dir(), - text_log_fixed_name(), - game_log_fixed_name(), - use_text_log_fixed(0), - use_game_log_fixed(0), - use_text_log_dated(0), - use_game_log_dated(0), - log_date_format(), - log_times(0), - record_message(0), - text_log_compression(0), - game_log_compression(0), - use_profile(0), - tackle_dist(0), - tackle_back_dist(0), - tackle_width(0), - tackle_exponent(0), - tackle_cycles(0), - tackle_power_rate(0), - freeform_wait_period(0), - freeform_send_period(0), - free_kick_faults(0), - back_passes(0), - proper_goal_kicks(0), - stopped_ball_vel(0), - max_goal_kicks(0), - clang_del_win(0), - clang_rule_win(0), - auto_mode(0), - kick_off_wait(0), - connect_wait(0), - game_over_wait(0), - team_l_start(), - team_r_start(), - keepaway_mode(0), - keepaway_length(0), - keepaway_width(0), - keepaway_logging(0), - keepaway_log_dir(), - keepaway_log_fixed_name(), - keepaway_log_fixed(0), - keepaway_log_dated(0), - keepaway_start(0), - nr_normal_halfs(0), - nr_extra_halfs(0), - penalty_shoot_outs(0), - pen_before_setup_wait(0), - pen_setup_wait(0), - pen_ready_wait(0), - pen_taken_wait(0), - pen_nr_kicks(0), - pen_max_extra_kicks(0), - pen_dist_x(0), - pen_random_winner(0), - pen_allow_mult_kicks(0), - pen_max_goalie_dist_x(0), - pen_coach_moves_players(0), - module_dir(), - ball_stuck_area(0), - coach_msg_file(), - max_tackle_power(0), - max_back_tackle_power(0), - player_speed_max_min(0), - extra_stamina(0), - synch_see_offset(0), - extra_half_time(0), - stamina_capacity(0), - max_dash_angle(0), - min_dash_angle(0), - dash_angle_step(0), - side_dash_rate(0), - back_dash_rate(0), - max_dash_power(0), - min_dash_power(0), - tackle_rand_factor(0), - foul_detect_probability(0), - foul_exponent(0), - foul_cycles(0), - golden_goal(0), - red_card_probability(0), - illegal_defense_duration(0), - illegal_defense_number(0), - illegal_defense_dist_x(0), - illegal_defense_width(0), - fixed_teamname_l(), - fixed_teamname_r(), - max_catch_angle(0), - min_catch_angle(0), - random_seed(0), - long_kick_power_factor(0), - long_kick_delay(0), - max_monitors(0), - catchable_area(0), - real_speed_max(0), - pitch_half_length(0), - pitch_half_width(0), - our_penalty_area_line_x(0), - their_penalty_area_line_x(0), - penalty_area_half_width(0), - penalty_area_length(0), - goal_width(0) { - } - - virtual ~ServerParam() noexcept; - RegisterResponse register_response; - double inertia_moment; - double player_size; - double player_decay; - double player_rand; - double player_weight; - double player_speed_max; - double player_accel_max; - double stamina_max; - double stamina_inc_max; - double recover_init; - double recover_dec_thr; - double recover_min; - double recover_dec; - double effort_init; - double effort_dec_thr; - double effort_min; - double effort_dec; - double effort_inc_thr; - double effort_inc; - double kick_rand; - bool team_actuator_noise; - double player_rand_factor_l; - double player_rand_factor_r; - double kick_rand_factor_l; - double kick_rand_factor_r; - double ball_size; - double ball_decay; - double ball_rand; - double ball_weight; - double ball_speed_max; - double ball_accel_max; - double dash_power_rate; - double kick_power_rate; - double kickable_margin; - double control_radius; - double control_radius_width; - double max_power; - double min_power; - double max_moment; - double min_moment; - double max_neck_moment; - double min_neck_moment; - double max_neck_angle; - double min_neck_angle; - double visible_angle; - double visible_distance; - double wind_dir; - double wind_force; - double wind_angle; - double wind_rand; - double kickable_area; - double catch_area_l; - double catch_area_w; - double catch_probability; - int32_t goalie_max_moves; - double corner_kick_margin; - double offside_active_area_size; - bool wind_none; - bool use_wind_random; - int32_t coach_say_count_max; - int32_t coach_say_msg_size; - int32_t clang_win_size; - int32_t clang_define_win; - int32_t clang_meta_win; - int32_t clang_advice_win; - int32_t clang_info_win; - int32_t clang_mess_delay; - int32_t clang_mess_per_cycle; - int32_t half_time; - int32_t simulator_step; - int32_t send_step; - int32_t recv_step; - int32_t sense_body_step; - int32_t lcm_step; - int32_t player_say_msg_size; - int32_t player_hear_max; - int32_t player_hear_inc; - int32_t player_hear_decay; - int32_t catch_ban_cycle; - int32_t slow_down_factor; - bool use_offside; - bool kickoff_offside; - double offside_kick_margin; - double audio_cut_dist; - double dist_quantize_step; - double landmark_dist_quantize_step; - double dir_quantize_step; - double dist_quantize_step_l; - double dist_quantize_step_r; - double landmark_dist_quantize_step_l; - double landmark_dist_quantize_step_r; - double dir_quantize_step_l; - double dir_quantize_step_r; - bool coach_mode; - bool coach_with_referee_mode; - bool use_old_coach_hear; - double slowness_on_top_for_left_team; - double slowness_on_top_for_right_team; - int32_t start_goal_l; - int32_t start_goal_r; - bool fullstate_l; - bool fullstate_r; - int32_t drop_ball_time; - bool synch_mode; - int32_t synch_offset; - int32_t synch_micro_sleep; - int32_t point_to_ban; - int32_t point_to_duration; - int32_t player_port; - int32_t trainer_port; - int32_t online_coach_port; - bool verbose_mode; - int32_t coach_send_vi_step; - std::string replay_file; - std::string landmark_file; - bool send_comms; - bool text_logging; - bool game_logging; - int32_t game_log_version; - std::string text_log_dir; - std::string game_log_dir; - std::string text_log_fixed_name; - std::string game_log_fixed_name; - bool use_text_log_fixed; - bool use_game_log_fixed; - bool use_text_log_dated; - bool use_game_log_dated; - std::string log_date_format; - bool log_times; - bool record_message; - int32_t text_log_compression; - int32_t game_log_compression; - bool use_profile; - double tackle_dist; - double tackle_back_dist; - double tackle_width; - double tackle_exponent; - int32_t tackle_cycles; - double tackle_power_rate; - int32_t freeform_wait_period; - int32_t freeform_send_period; - bool free_kick_faults; - bool back_passes; - bool proper_goal_kicks; - double stopped_ball_vel; - int32_t max_goal_kicks; - int32_t clang_del_win; - int32_t clang_rule_win; - bool auto_mode; - int32_t kick_off_wait; - int32_t connect_wait; - int32_t game_over_wait; - std::string team_l_start; - std::string team_r_start; - bool keepaway_mode; - double keepaway_length; - double keepaway_width; - bool keepaway_logging; - std::string keepaway_log_dir; - std::string keepaway_log_fixed_name; - bool keepaway_log_fixed; - bool keepaway_log_dated; - int32_t keepaway_start; - int32_t nr_normal_halfs; - int32_t nr_extra_halfs; - bool penalty_shoot_outs; - int32_t pen_before_setup_wait; - int32_t pen_setup_wait; - int32_t pen_ready_wait; - int32_t pen_taken_wait; - int32_t pen_nr_kicks; - int32_t pen_max_extra_kicks; - double pen_dist_x; - bool pen_random_winner; - bool pen_allow_mult_kicks; - double pen_max_goalie_dist_x; - bool pen_coach_moves_players; - std::string module_dir; - double ball_stuck_area; - std::string coach_msg_file; - double max_tackle_power; - double max_back_tackle_power; - double player_speed_max_min; - double extra_stamina; - int32_t synch_see_offset; - int32_t extra_half_time; - double stamina_capacity; - double max_dash_angle; - double min_dash_angle; - double dash_angle_step; - double side_dash_rate; - double back_dash_rate; - double max_dash_power; - double min_dash_power; - double tackle_rand_factor; - double foul_detect_probability; - double foul_exponent; - int32_t foul_cycles; - bool golden_goal; - double red_card_probability; - int32_t illegal_defense_duration; - int32_t illegal_defense_number; - double illegal_defense_dist_x; - double illegal_defense_width; - std::string fixed_teamname_l; - std::string fixed_teamname_r; - double max_catch_angle; - double min_catch_angle; - int32_t random_seed; - double long_kick_power_factor; - int32_t long_kick_delay; - int32_t max_monitors; - double catchable_area; - double real_speed_max; - double pitch_half_length; - double pitch_half_width; - double our_penalty_area_line_x; - double their_penalty_area_line_x; - double penalty_area_half_width; - double penalty_area_length; - double goal_width; - - _ServerParam__isset __isset; - - void __set_register_response(const RegisterResponse& val); - - void __set_inertia_moment(const double val); - - void __set_player_size(const double val); - - void __set_player_decay(const double val); - - void __set_player_rand(const double val); - - void __set_player_weight(const double val); - - void __set_player_speed_max(const double val); - - void __set_player_accel_max(const double val); - - void __set_stamina_max(const double val); - - void __set_stamina_inc_max(const double val); - - void __set_recover_init(const double val); - - void __set_recover_dec_thr(const double val); - - void __set_recover_min(const double val); - - void __set_recover_dec(const double val); - - void __set_effort_init(const double val); - - void __set_effort_dec_thr(const double val); - - void __set_effort_min(const double val); - - void __set_effort_dec(const double val); - - void __set_effort_inc_thr(const double val); - - void __set_effort_inc(const double val); - - void __set_kick_rand(const double val); - - void __set_team_actuator_noise(const bool val); - - void __set_player_rand_factor_l(const double val); - - void __set_player_rand_factor_r(const double val); - - void __set_kick_rand_factor_l(const double val); - - void __set_kick_rand_factor_r(const double val); - - void __set_ball_size(const double val); - - void __set_ball_decay(const double val); - - void __set_ball_rand(const double val); - - void __set_ball_weight(const double val); - - void __set_ball_speed_max(const double val); - - void __set_ball_accel_max(const double val); - - void __set_dash_power_rate(const double val); - - void __set_kick_power_rate(const double val); - - void __set_kickable_margin(const double val); - - void __set_control_radius(const double val); - - void __set_control_radius_width(const double val); - - void __set_max_power(const double val); - - void __set_min_power(const double val); - - void __set_max_moment(const double val); - - void __set_min_moment(const double val); - - void __set_max_neck_moment(const double val); - - void __set_min_neck_moment(const double val); - - void __set_max_neck_angle(const double val); - - void __set_min_neck_angle(const double val); - - void __set_visible_angle(const double val); - - void __set_visible_distance(const double val); - - void __set_wind_dir(const double val); - - void __set_wind_force(const double val); - - void __set_wind_angle(const double val); - - void __set_wind_rand(const double val); - - void __set_kickable_area(const double val); - - void __set_catch_area_l(const double val); - - void __set_catch_area_w(const double val); - - void __set_catch_probability(const double val); - - void __set_goalie_max_moves(const int32_t val); - - void __set_corner_kick_margin(const double val); - - void __set_offside_active_area_size(const double val); - - void __set_wind_none(const bool val); - - void __set_use_wind_random(const bool val); - - void __set_coach_say_count_max(const int32_t val); - - void __set_coach_say_msg_size(const int32_t val); - - void __set_clang_win_size(const int32_t val); - - void __set_clang_define_win(const int32_t val); - - void __set_clang_meta_win(const int32_t val); - - void __set_clang_advice_win(const int32_t val); - - void __set_clang_info_win(const int32_t val); - - void __set_clang_mess_delay(const int32_t val); - - void __set_clang_mess_per_cycle(const int32_t val); - - void __set_half_time(const int32_t val); - - void __set_simulator_step(const int32_t val); - - void __set_send_step(const int32_t val); - - void __set_recv_step(const int32_t val); - - void __set_sense_body_step(const int32_t val); - - void __set_lcm_step(const int32_t val); - - void __set_player_say_msg_size(const int32_t val); - - void __set_player_hear_max(const int32_t val); - - void __set_player_hear_inc(const int32_t val); - - void __set_player_hear_decay(const int32_t val); - - void __set_catch_ban_cycle(const int32_t val); - - void __set_slow_down_factor(const int32_t val); - - void __set_use_offside(const bool val); - - void __set_kickoff_offside(const bool val); - - void __set_offside_kick_margin(const double val); - - void __set_audio_cut_dist(const double val); - - void __set_dist_quantize_step(const double val); - - void __set_landmark_dist_quantize_step(const double val); - - void __set_dir_quantize_step(const double val); - - void __set_dist_quantize_step_l(const double val); - - void __set_dist_quantize_step_r(const double val); - - void __set_landmark_dist_quantize_step_l(const double val); - - void __set_landmark_dist_quantize_step_r(const double val); - - void __set_dir_quantize_step_l(const double val); - - void __set_dir_quantize_step_r(const double val); - - void __set_coach_mode(const bool val); - - void __set_coach_with_referee_mode(const bool val); - - void __set_use_old_coach_hear(const bool val); - - void __set_slowness_on_top_for_left_team(const double val); - - void __set_slowness_on_top_for_right_team(const double val); - - void __set_start_goal_l(const int32_t val); - - void __set_start_goal_r(const int32_t val); - - void __set_fullstate_l(const bool val); - - void __set_fullstate_r(const bool val); - - void __set_drop_ball_time(const int32_t val); - - void __set_synch_mode(const bool val); - - void __set_synch_offset(const int32_t val); - - void __set_synch_micro_sleep(const int32_t val); - - void __set_point_to_ban(const int32_t val); - - void __set_point_to_duration(const int32_t val); - - void __set_player_port(const int32_t val); - - void __set_trainer_port(const int32_t val); - - void __set_online_coach_port(const int32_t val); - - void __set_verbose_mode(const bool val); - - void __set_coach_send_vi_step(const int32_t val); - - void __set_replay_file(const std::string& val); - - void __set_landmark_file(const std::string& val); - - void __set_send_comms(const bool val); - - void __set_text_logging(const bool val); - - void __set_game_logging(const bool val); - - void __set_game_log_version(const int32_t val); - - void __set_text_log_dir(const std::string& val); - - void __set_game_log_dir(const std::string& val); - - void __set_text_log_fixed_name(const std::string& val); - - void __set_game_log_fixed_name(const std::string& val); - - void __set_use_text_log_fixed(const bool val); - - void __set_use_game_log_fixed(const bool val); - - void __set_use_text_log_dated(const bool val); - - void __set_use_game_log_dated(const bool val); - - void __set_log_date_format(const std::string& val); - - void __set_log_times(const bool val); - - void __set_record_message(const bool val); - - void __set_text_log_compression(const int32_t val); - - void __set_game_log_compression(const int32_t val); - - void __set_use_profile(const bool val); - - void __set_tackle_dist(const double val); - - void __set_tackle_back_dist(const double val); - - void __set_tackle_width(const double val); - - void __set_tackle_exponent(const double val); - - void __set_tackle_cycles(const int32_t val); - - void __set_tackle_power_rate(const double val); - - void __set_freeform_wait_period(const int32_t val); - - void __set_freeform_send_period(const int32_t val); - - void __set_free_kick_faults(const bool val); - - void __set_back_passes(const bool val); - - void __set_proper_goal_kicks(const bool val); - - void __set_stopped_ball_vel(const double val); - - void __set_max_goal_kicks(const int32_t val); - - void __set_clang_del_win(const int32_t val); - - void __set_clang_rule_win(const int32_t val); - - void __set_auto_mode(const bool val); - - void __set_kick_off_wait(const int32_t val); - - void __set_connect_wait(const int32_t val); - - void __set_game_over_wait(const int32_t val); - - void __set_team_l_start(const std::string& val); - - void __set_team_r_start(const std::string& val); - - void __set_keepaway_mode(const bool val); - - void __set_keepaway_length(const double val); - - void __set_keepaway_width(const double val); - - void __set_keepaway_logging(const bool val); - - void __set_keepaway_log_dir(const std::string& val); - - void __set_keepaway_log_fixed_name(const std::string& val); - - void __set_keepaway_log_fixed(const bool val); - - void __set_keepaway_log_dated(const bool val); - - void __set_keepaway_start(const int32_t val); - - void __set_nr_normal_halfs(const int32_t val); - - void __set_nr_extra_halfs(const int32_t val); - - void __set_penalty_shoot_outs(const bool val); - - void __set_pen_before_setup_wait(const int32_t val); - - void __set_pen_setup_wait(const int32_t val); - - void __set_pen_ready_wait(const int32_t val); - - void __set_pen_taken_wait(const int32_t val); - - void __set_pen_nr_kicks(const int32_t val); - - void __set_pen_max_extra_kicks(const int32_t val); - - void __set_pen_dist_x(const double val); - - void __set_pen_random_winner(const bool val); - - void __set_pen_allow_mult_kicks(const bool val); - - void __set_pen_max_goalie_dist_x(const double val); - - void __set_pen_coach_moves_players(const bool val); - - void __set_module_dir(const std::string& val); - - void __set_ball_stuck_area(const double val); - - void __set_coach_msg_file(const std::string& val); - - void __set_max_tackle_power(const double val); - - void __set_max_back_tackle_power(const double val); - - void __set_player_speed_max_min(const double val); - - void __set_extra_stamina(const double val); - - void __set_synch_see_offset(const int32_t val); - - void __set_extra_half_time(const int32_t val); - - void __set_stamina_capacity(const double val); - - void __set_max_dash_angle(const double val); - - void __set_min_dash_angle(const double val); - - void __set_dash_angle_step(const double val); - - void __set_side_dash_rate(const double val); - - void __set_back_dash_rate(const double val); - - void __set_max_dash_power(const double val); - - void __set_min_dash_power(const double val); - - void __set_tackle_rand_factor(const double val); - - void __set_foul_detect_probability(const double val); - - void __set_foul_exponent(const double val); - - void __set_foul_cycles(const int32_t val); - - void __set_golden_goal(const bool val); - - void __set_red_card_probability(const double val); - - void __set_illegal_defense_duration(const int32_t val); - - void __set_illegal_defense_number(const int32_t val); - - void __set_illegal_defense_dist_x(const double val); - - void __set_illegal_defense_width(const double val); - - void __set_fixed_teamname_l(const std::string& val); - - void __set_fixed_teamname_r(const std::string& val); - - void __set_max_catch_angle(const double val); - - void __set_min_catch_angle(const double val); - - void __set_random_seed(const int32_t val); - - void __set_long_kick_power_factor(const double val); - - void __set_long_kick_delay(const int32_t val); - - void __set_max_monitors(const int32_t val); - - void __set_catchable_area(const double val); - - void __set_real_speed_max(const double val); - - void __set_pitch_half_length(const double val); - - void __set_pitch_half_width(const double val); - - void __set_our_penalty_area_line_x(const double val); - - void __set_their_penalty_area_line_x(const double val); - - void __set_penalty_area_half_width(const double val); - - void __set_penalty_area_length(const double val); - - void __set_goal_width(const double val); - - bool operator == (const ServerParam & rhs) const - { - if (!(register_response == rhs.register_response)) - return false; - if (!(inertia_moment == rhs.inertia_moment)) - return false; - if (!(player_size == rhs.player_size)) - return false; - if (!(player_decay == rhs.player_decay)) - return false; - if (!(player_rand == rhs.player_rand)) - return false; - if (!(player_weight == rhs.player_weight)) - return false; - if (!(player_speed_max == rhs.player_speed_max)) - return false; - if (!(player_accel_max == rhs.player_accel_max)) - return false; - if (!(stamina_max == rhs.stamina_max)) - return false; - if (!(stamina_inc_max == rhs.stamina_inc_max)) - return false; - if (!(recover_init == rhs.recover_init)) - return false; - if (!(recover_dec_thr == rhs.recover_dec_thr)) - return false; - if (!(recover_min == rhs.recover_min)) - return false; - if (!(recover_dec == rhs.recover_dec)) - return false; - if (!(effort_init == rhs.effort_init)) - return false; - if (!(effort_dec_thr == rhs.effort_dec_thr)) - return false; - if (!(effort_min == rhs.effort_min)) - return false; - if (!(effort_dec == rhs.effort_dec)) - return false; - if (!(effort_inc_thr == rhs.effort_inc_thr)) - return false; - if (!(effort_inc == rhs.effort_inc)) - return false; - if (!(kick_rand == rhs.kick_rand)) - return false; - if (!(team_actuator_noise == rhs.team_actuator_noise)) - return false; - if (!(player_rand_factor_l == rhs.player_rand_factor_l)) - return false; - if (!(player_rand_factor_r == rhs.player_rand_factor_r)) - return false; - if (!(kick_rand_factor_l == rhs.kick_rand_factor_l)) - return false; - if (!(kick_rand_factor_r == rhs.kick_rand_factor_r)) - return false; - if (!(ball_size == rhs.ball_size)) - return false; - if (!(ball_decay == rhs.ball_decay)) - return false; - if (!(ball_rand == rhs.ball_rand)) - return false; - if (!(ball_weight == rhs.ball_weight)) - return false; - if (!(ball_speed_max == rhs.ball_speed_max)) - return false; - if (!(ball_accel_max == rhs.ball_accel_max)) - return false; - if (!(dash_power_rate == rhs.dash_power_rate)) - return false; - if (!(kick_power_rate == rhs.kick_power_rate)) - return false; - if (!(kickable_margin == rhs.kickable_margin)) - return false; - if (!(control_radius == rhs.control_radius)) - return false; - if (!(control_radius_width == rhs.control_radius_width)) - return false; - if (!(max_power == rhs.max_power)) - return false; - if (!(min_power == rhs.min_power)) - return false; - if (!(max_moment == rhs.max_moment)) - return false; - if (!(min_moment == rhs.min_moment)) - return false; - if (!(max_neck_moment == rhs.max_neck_moment)) - return false; - if (!(min_neck_moment == rhs.min_neck_moment)) - return false; - if (!(max_neck_angle == rhs.max_neck_angle)) - return false; - if (!(min_neck_angle == rhs.min_neck_angle)) - return false; - if (!(visible_angle == rhs.visible_angle)) - return false; - if (!(visible_distance == rhs.visible_distance)) - return false; - if (!(wind_dir == rhs.wind_dir)) - return false; - if (!(wind_force == rhs.wind_force)) - return false; - if (!(wind_angle == rhs.wind_angle)) - return false; - if (!(wind_rand == rhs.wind_rand)) - return false; - if (!(kickable_area == rhs.kickable_area)) - return false; - if (!(catch_area_l == rhs.catch_area_l)) - return false; - if (!(catch_area_w == rhs.catch_area_w)) - return false; - if (!(catch_probability == rhs.catch_probability)) - return false; - if (!(goalie_max_moves == rhs.goalie_max_moves)) - return false; - if (!(corner_kick_margin == rhs.corner_kick_margin)) - return false; - if (!(offside_active_area_size == rhs.offside_active_area_size)) - return false; - if (!(wind_none == rhs.wind_none)) - return false; - if (!(use_wind_random == rhs.use_wind_random)) - return false; - if (!(coach_say_count_max == rhs.coach_say_count_max)) - return false; - if (!(coach_say_msg_size == rhs.coach_say_msg_size)) - return false; - if (!(clang_win_size == rhs.clang_win_size)) - return false; - if (!(clang_define_win == rhs.clang_define_win)) - return false; - if (!(clang_meta_win == rhs.clang_meta_win)) - return false; - if (!(clang_advice_win == rhs.clang_advice_win)) - return false; - if (!(clang_info_win == rhs.clang_info_win)) - return false; - if (!(clang_mess_delay == rhs.clang_mess_delay)) - return false; - if (!(clang_mess_per_cycle == rhs.clang_mess_per_cycle)) - return false; - if (!(half_time == rhs.half_time)) - return false; - if (!(simulator_step == rhs.simulator_step)) - return false; - if (!(send_step == rhs.send_step)) - return false; - if (!(recv_step == rhs.recv_step)) - return false; - if (!(sense_body_step == rhs.sense_body_step)) - return false; - if (!(lcm_step == rhs.lcm_step)) - return false; - if (!(player_say_msg_size == rhs.player_say_msg_size)) - return false; - if (!(player_hear_max == rhs.player_hear_max)) - return false; - if (!(player_hear_inc == rhs.player_hear_inc)) - return false; - if (!(player_hear_decay == rhs.player_hear_decay)) - return false; - if (!(catch_ban_cycle == rhs.catch_ban_cycle)) - return false; - if (!(slow_down_factor == rhs.slow_down_factor)) - return false; - if (!(use_offside == rhs.use_offside)) - return false; - if (!(kickoff_offside == rhs.kickoff_offside)) - return false; - if (!(offside_kick_margin == rhs.offside_kick_margin)) - return false; - if (!(audio_cut_dist == rhs.audio_cut_dist)) - return false; - if (!(dist_quantize_step == rhs.dist_quantize_step)) - return false; - if (!(landmark_dist_quantize_step == rhs.landmark_dist_quantize_step)) - return false; - if (!(dir_quantize_step == rhs.dir_quantize_step)) - return false; - if (!(dist_quantize_step_l == rhs.dist_quantize_step_l)) - return false; - if (!(dist_quantize_step_r == rhs.dist_quantize_step_r)) - return false; - if (!(landmark_dist_quantize_step_l == rhs.landmark_dist_quantize_step_l)) - return false; - if (!(landmark_dist_quantize_step_r == rhs.landmark_dist_quantize_step_r)) - return false; - if (!(dir_quantize_step_l == rhs.dir_quantize_step_l)) - return false; - if (!(dir_quantize_step_r == rhs.dir_quantize_step_r)) - return false; - if (!(coach_mode == rhs.coach_mode)) - return false; - if (!(coach_with_referee_mode == rhs.coach_with_referee_mode)) - return false; - if (!(use_old_coach_hear == rhs.use_old_coach_hear)) - return false; - if (!(slowness_on_top_for_left_team == rhs.slowness_on_top_for_left_team)) - return false; - if (!(slowness_on_top_for_right_team == rhs.slowness_on_top_for_right_team)) - return false; - if (!(start_goal_l == rhs.start_goal_l)) - return false; - if (!(start_goal_r == rhs.start_goal_r)) - return false; - if (!(fullstate_l == rhs.fullstate_l)) - return false; - if (!(fullstate_r == rhs.fullstate_r)) - return false; - if (!(drop_ball_time == rhs.drop_ball_time)) - return false; - if (!(synch_mode == rhs.synch_mode)) - return false; - if (!(synch_offset == rhs.synch_offset)) - return false; - if (!(synch_micro_sleep == rhs.synch_micro_sleep)) - return false; - if (!(point_to_ban == rhs.point_to_ban)) - return false; - if (!(point_to_duration == rhs.point_to_duration)) - return false; - if (!(player_port == rhs.player_port)) - return false; - if (!(trainer_port == rhs.trainer_port)) - return false; - if (!(online_coach_port == rhs.online_coach_port)) - return false; - if (!(verbose_mode == rhs.verbose_mode)) - return false; - if (!(coach_send_vi_step == rhs.coach_send_vi_step)) - return false; - if (!(replay_file == rhs.replay_file)) - return false; - if (!(landmark_file == rhs.landmark_file)) - return false; - if (!(send_comms == rhs.send_comms)) - return false; - if (!(text_logging == rhs.text_logging)) - return false; - if (!(game_logging == rhs.game_logging)) - return false; - if (!(game_log_version == rhs.game_log_version)) - return false; - if (!(text_log_dir == rhs.text_log_dir)) - return false; - if (!(game_log_dir == rhs.game_log_dir)) - return false; - if (!(text_log_fixed_name == rhs.text_log_fixed_name)) - return false; - if (!(game_log_fixed_name == rhs.game_log_fixed_name)) - return false; - if (!(use_text_log_fixed == rhs.use_text_log_fixed)) - return false; - if (!(use_game_log_fixed == rhs.use_game_log_fixed)) - return false; - if (!(use_text_log_dated == rhs.use_text_log_dated)) - return false; - if (!(use_game_log_dated == rhs.use_game_log_dated)) - return false; - if (!(log_date_format == rhs.log_date_format)) - return false; - if (!(log_times == rhs.log_times)) - return false; - if (!(record_message == rhs.record_message)) - return false; - if (!(text_log_compression == rhs.text_log_compression)) - return false; - if (!(game_log_compression == rhs.game_log_compression)) - return false; - if (!(use_profile == rhs.use_profile)) - return false; - if (!(tackle_dist == rhs.tackle_dist)) - return false; - if (!(tackle_back_dist == rhs.tackle_back_dist)) - return false; - if (!(tackle_width == rhs.tackle_width)) - return false; - if (!(tackle_exponent == rhs.tackle_exponent)) - return false; - if (!(tackle_cycles == rhs.tackle_cycles)) - return false; - if (!(tackle_power_rate == rhs.tackle_power_rate)) - return false; - if (!(freeform_wait_period == rhs.freeform_wait_period)) - return false; - if (!(freeform_send_period == rhs.freeform_send_period)) - return false; - if (!(free_kick_faults == rhs.free_kick_faults)) - return false; - if (!(back_passes == rhs.back_passes)) - return false; - if (!(proper_goal_kicks == rhs.proper_goal_kicks)) - return false; - if (!(stopped_ball_vel == rhs.stopped_ball_vel)) - return false; - if (!(max_goal_kicks == rhs.max_goal_kicks)) - return false; - if (!(clang_del_win == rhs.clang_del_win)) - return false; - if (!(clang_rule_win == rhs.clang_rule_win)) - return false; - if (!(auto_mode == rhs.auto_mode)) - return false; - if (!(kick_off_wait == rhs.kick_off_wait)) - return false; - if (!(connect_wait == rhs.connect_wait)) - return false; - if (!(game_over_wait == rhs.game_over_wait)) - return false; - if (!(team_l_start == rhs.team_l_start)) - return false; - if (!(team_r_start == rhs.team_r_start)) - return false; - if (!(keepaway_mode == rhs.keepaway_mode)) - return false; - if (!(keepaway_length == rhs.keepaway_length)) - return false; - if (!(keepaway_width == rhs.keepaway_width)) - return false; - if (!(keepaway_logging == rhs.keepaway_logging)) - return false; - if (!(keepaway_log_dir == rhs.keepaway_log_dir)) - return false; - if (!(keepaway_log_fixed_name == rhs.keepaway_log_fixed_name)) - return false; - if (!(keepaway_log_fixed == rhs.keepaway_log_fixed)) - return false; - if (!(keepaway_log_dated == rhs.keepaway_log_dated)) - return false; - if (!(keepaway_start == rhs.keepaway_start)) - return false; - if (!(nr_normal_halfs == rhs.nr_normal_halfs)) - return false; - if (!(nr_extra_halfs == rhs.nr_extra_halfs)) - return false; - if (!(penalty_shoot_outs == rhs.penalty_shoot_outs)) - return false; - if (!(pen_before_setup_wait == rhs.pen_before_setup_wait)) - return false; - if (!(pen_setup_wait == rhs.pen_setup_wait)) - return false; - if (!(pen_ready_wait == rhs.pen_ready_wait)) - return false; - if (!(pen_taken_wait == rhs.pen_taken_wait)) - return false; - if (!(pen_nr_kicks == rhs.pen_nr_kicks)) - return false; - if (!(pen_max_extra_kicks == rhs.pen_max_extra_kicks)) - return false; - if (!(pen_dist_x == rhs.pen_dist_x)) - return false; - if (!(pen_random_winner == rhs.pen_random_winner)) - return false; - if (!(pen_allow_mult_kicks == rhs.pen_allow_mult_kicks)) - return false; - if (!(pen_max_goalie_dist_x == rhs.pen_max_goalie_dist_x)) - return false; - if (!(pen_coach_moves_players == rhs.pen_coach_moves_players)) - return false; - if (!(module_dir == rhs.module_dir)) - return false; - if (!(ball_stuck_area == rhs.ball_stuck_area)) - return false; - if (!(coach_msg_file == rhs.coach_msg_file)) - return false; - if (!(max_tackle_power == rhs.max_tackle_power)) - return false; - if (!(max_back_tackle_power == rhs.max_back_tackle_power)) - return false; - if (!(player_speed_max_min == rhs.player_speed_max_min)) - return false; - if (!(extra_stamina == rhs.extra_stamina)) - return false; - if (!(synch_see_offset == rhs.synch_see_offset)) - return false; - if (!(extra_half_time == rhs.extra_half_time)) - return false; - if (!(stamina_capacity == rhs.stamina_capacity)) - return false; - if (!(max_dash_angle == rhs.max_dash_angle)) - return false; - if (!(min_dash_angle == rhs.min_dash_angle)) - return false; - if (!(dash_angle_step == rhs.dash_angle_step)) - return false; - if (!(side_dash_rate == rhs.side_dash_rate)) - return false; - if (!(back_dash_rate == rhs.back_dash_rate)) - return false; - if (!(max_dash_power == rhs.max_dash_power)) - return false; - if (!(min_dash_power == rhs.min_dash_power)) - return false; - if (!(tackle_rand_factor == rhs.tackle_rand_factor)) - return false; - if (!(foul_detect_probability == rhs.foul_detect_probability)) - return false; - if (!(foul_exponent == rhs.foul_exponent)) - return false; - if (!(foul_cycles == rhs.foul_cycles)) - return false; - if (!(golden_goal == rhs.golden_goal)) - return false; - if (!(red_card_probability == rhs.red_card_probability)) - return false; - if (!(illegal_defense_duration == rhs.illegal_defense_duration)) - return false; - if (!(illegal_defense_number == rhs.illegal_defense_number)) - return false; - if (!(illegal_defense_dist_x == rhs.illegal_defense_dist_x)) - return false; - if (!(illegal_defense_width == rhs.illegal_defense_width)) - return false; - if (!(fixed_teamname_l == rhs.fixed_teamname_l)) - return false; - if (!(fixed_teamname_r == rhs.fixed_teamname_r)) - return false; - if (!(max_catch_angle == rhs.max_catch_angle)) - return false; - if (!(min_catch_angle == rhs.min_catch_angle)) - return false; - if (!(random_seed == rhs.random_seed)) - return false; - if (!(long_kick_power_factor == rhs.long_kick_power_factor)) - return false; - if (!(long_kick_delay == rhs.long_kick_delay)) - return false; - if (!(max_monitors == rhs.max_monitors)) - return false; - if (!(catchable_area == rhs.catchable_area)) - return false; - if (!(real_speed_max == rhs.real_speed_max)) - return false; - if (!(pitch_half_length == rhs.pitch_half_length)) - return false; - if (!(pitch_half_width == rhs.pitch_half_width)) - return false; - if (!(our_penalty_area_line_x == rhs.our_penalty_area_line_x)) - return false; - if (!(their_penalty_area_line_x == rhs.their_penalty_area_line_x)) - return false; - if (!(penalty_area_half_width == rhs.penalty_area_half_width)) - return false; - if (!(penalty_area_length == rhs.penalty_area_length)) - return false; - if (!(goal_width == rhs.goal_width)) - return false; - return true; - } - bool operator != (const ServerParam &rhs) const { - return !(*this == rhs); - } - - bool operator < (const ServerParam & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(ServerParam &a, ServerParam &b); - -std::ostream& operator<<(std::ostream& out, const ServerParam& obj); - -typedef struct _PlayerParam__isset { - _PlayerParam__isset() : register_response(false), player_types(false), subs_max(false), pt_max(false), allow_mult_default_type(false), player_speed_max_delta_min(false), player_speed_max_delta_max(false), stamina_inc_max_delta_factor(false), player_decay_delta_min(false), player_decay_delta_max(false), inertia_moment_delta_factor(false), dash_power_rate_delta_min(false), dash_power_rate_delta_max(false), player_size_delta_factor(false), kickable_margin_delta_min(false), kickable_margin_delta_max(false), kick_rand_delta_factor(false), extra_stamina_delta_min(false), extra_stamina_delta_max(false), effort_max_delta_factor(false), effort_min_delta_factor(false), random_seed(false), new_dash_power_rate_delta_min(false), new_dash_power_rate_delta_max(false), new_stamina_inc_max_delta_factor(false), kick_power_rate_delta_min(false), kick_power_rate_delta_max(false), foul_detect_probability_delta_factor(false), catchable_area_l_stretch_min(false), catchable_area_l_stretch_max(false) {} - bool register_response :1; - bool player_types :1; - bool subs_max :1; - bool pt_max :1; - bool allow_mult_default_type :1; - bool player_speed_max_delta_min :1; - bool player_speed_max_delta_max :1; - bool stamina_inc_max_delta_factor :1; - bool player_decay_delta_min :1; - bool player_decay_delta_max :1; - bool inertia_moment_delta_factor :1; - bool dash_power_rate_delta_min :1; - bool dash_power_rate_delta_max :1; - bool player_size_delta_factor :1; - bool kickable_margin_delta_min :1; - bool kickable_margin_delta_max :1; - bool kick_rand_delta_factor :1; - bool extra_stamina_delta_min :1; - bool extra_stamina_delta_max :1; - bool effort_max_delta_factor :1; - bool effort_min_delta_factor :1; - bool random_seed :1; - bool new_dash_power_rate_delta_min :1; - bool new_dash_power_rate_delta_max :1; - bool new_stamina_inc_max_delta_factor :1; - bool kick_power_rate_delta_min :1; - bool kick_power_rate_delta_max :1; - bool foul_detect_probability_delta_factor :1; - bool catchable_area_l_stretch_min :1; - bool catchable_area_l_stretch_max :1; -} _PlayerParam__isset; - -class PlayerParam : public virtual ::apache::thrift::TBase { - public: - - PlayerParam(const PlayerParam&); - PlayerParam& operator=(const PlayerParam&); - PlayerParam() noexcept - : player_types(0), - subs_max(0), - pt_max(0), - allow_mult_default_type(0), - player_speed_max_delta_min(0), - player_speed_max_delta_max(0), - stamina_inc_max_delta_factor(0), - player_decay_delta_min(0), - player_decay_delta_max(0), - inertia_moment_delta_factor(0), - dash_power_rate_delta_min(0), - dash_power_rate_delta_max(0), - player_size_delta_factor(0), - kickable_margin_delta_min(0), - kickable_margin_delta_max(0), - kick_rand_delta_factor(0), - extra_stamina_delta_min(0), - extra_stamina_delta_max(0), - effort_max_delta_factor(0), - effort_min_delta_factor(0), - random_seed(0), - new_dash_power_rate_delta_min(0), - new_dash_power_rate_delta_max(0), - new_stamina_inc_max_delta_factor(0), - kick_power_rate_delta_min(0), - kick_power_rate_delta_max(0), - foul_detect_probability_delta_factor(0), - catchable_area_l_stretch_min(0), - catchable_area_l_stretch_max(0) { - } - - virtual ~PlayerParam() noexcept; - RegisterResponse register_response; - int32_t player_types; - int32_t subs_max; - int32_t pt_max; - bool allow_mult_default_type; - double player_speed_max_delta_min; - double player_speed_max_delta_max; - double stamina_inc_max_delta_factor; - double player_decay_delta_min; - double player_decay_delta_max; - double inertia_moment_delta_factor; - double dash_power_rate_delta_min; - double dash_power_rate_delta_max; - double player_size_delta_factor; - double kickable_margin_delta_min; - double kickable_margin_delta_max; - double kick_rand_delta_factor; - double extra_stamina_delta_min; - double extra_stamina_delta_max; - double effort_max_delta_factor; - double effort_min_delta_factor; - int32_t random_seed; - double new_dash_power_rate_delta_min; - double new_dash_power_rate_delta_max; - double new_stamina_inc_max_delta_factor; - double kick_power_rate_delta_min; - double kick_power_rate_delta_max; - double foul_detect_probability_delta_factor; - double catchable_area_l_stretch_min; - double catchable_area_l_stretch_max; - - _PlayerParam__isset __isset; - - void __set_register_response(const RegisterResponse& val); - - void __set_player_types(const int32_t val); - - void __set_subs_max(const int32_t val); - - void __set_pt_max(const int32_t val); - - void __set_allow_mult_default_type(const bool val); - - void __set_player_speed_max_delta_min(const double val); - - void __set_player_speed_max_delta_max(const double val); - - void __set_stamina_inc_max_delta_factor(const double val); - - void __set_player_decay_delta_min(const double val); - - void __set_player_decay_delta_max(const double val); - - void __set_inertia_moment_delta_factor(const double val); - - void __set_dash_power_rate_delta_min(const double val); - - void __set_dash_power_rate_delta_max(const double val); - - void __set_player_size_delta_factor(const double val); - - void __set_kickable_margin_delta_min(const double val); - - void __set_kickable_margin_delta_max(const double val); - - void __set_kick_rand_delta_factor(const double val); - - void __set_extra_stamina_delta_min(const double val); - - void __set_extra_stamina_delta_max(const double val); - - void __set_effort_max_delta_factor(const double val); - - void __set_effort_min_delta_factor(const double val); - - void __set_random_seed(const int32_t val); - - void __set_new_dash_power_rate_delta_min(const double val); - - void __set_new_dash_power_rate_delta_max(const double val); - - void __set_new_stamina_inc_max_delta_factor(const double val); - - void __set_kick_power_rate_delta_min(const double val); - - void __set_kick_power_rate_delta_max(const double val); - - void __set_foul_detect_probability_delta_factor(const double val); - - void __set_catchable_area_l_stretch_min(const double val); - - void __set_catchable_area_l_stretch_max(const double val); - - bool operator == (const PlayerParam & rhs) const - { - if (!(register_response == rhs.register_response)) - return false; - if (!(player_types == rhs.player_types)) - return false; - if (!(subs_max == rhs.subs_max)) - return false; - if (!(pt_max == rhs.pt_max)) - return false; - if (!(allow_mult_default_type == rhs.allow_mult_default_type)) - return false; - if (!(player_speed_max_delta_min == rhs.player_speed_max_delta_min)) - return false; - if (!(player_speed_max_delta_max == rhs.player_speed_max_delta_max)) - return false; - if (!(stamina_inc_max_delta_factor == rhs.stamina_inc_max_delta_factor)) - return false; - if (!(player_decay_delta_min == rhs.player_decay_delta_min)) - return false; - if (!(player_decay_delta_max == rhs.player_decay_delta_max)) - return false; - if (!(inertia_moment_delta_factor == rhs.inertia_moment_delta_factor)) - return false; - if (!(dash_power_rate_delta_min == rhs.dash_power_rate_delta_min)) - return false; - if (!(dash_power_rate_delta_max == rhs.dash_power_rate_delta_max)) - return false; - if (!(player_size_delta_factor == rhs.player_size_delta_factor)) - return false; - if (!(kickable_margin_delta_min == rhs.kickable_margin_delta_min)) - return false; - if (!(kickable_margin_delta_max == rhs.kickable_margin_delta_max)) - return false; - if (!(kick_rand_delta_factor == rhs.kick_rand_delta_factor)) - return false; - if (!(extra_stamina_delta_min == rhs.extra_stamina_delta_min)) - return false; - if (!(extra_stamina_delta_max == rhs.extra_stamina_delta_max)) - return false; - if (!(effort_max_delta_factor == rhs.effort_max_delta_factor)) - return false; - if (!(effort_min_delta_factor == rhs.effort_min_delta_factor)) - return false; - if (!(random_seed == rhs.random_seed)) - return false; - if (!(new_dash_power_rate_delta_min == rhs.new_dash_power_rate_delta_min)) - return false; - if (!(new_dash_power_rate_delta_max == rhs.new_dash_power_rate_delta_max)) - return false; - if (!(new_stamina_inc_max_delta_factor == rhs.new_stamina_inc_max_delta_factor)) - return false; - if (!(kick_power_rate_delta_min == rhs.kick_power_rate_delta_min)) - return false; - if (!(kick_power_rate_delta_max == rhs.kick_power_rate_delta_max)) - return false; - if (!(foul_detect_probability_delta_factor == rhs.foul_detect_probability_delta_factor)) - return false; - if (!(catchable_area_l_stretch_min == rhs.catchable_area_l_stretch_min)) - return false; - if (!(catchable_area_l_stretch_max == rhs.catchable_area_l_stretch_max)) - return false; - return true; - } - bool operator != (const PlayerParam &rhs) const { - return !(*this == rhs); - } - - bool operator < (const PlayerParam & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(PlayerParam &a, PlayerParam &b); - -std::ostream& operator<<(std::ostream& out, const PlayerParam& obj); - -typedef struct _PlayerType__isset { - _PlayerType__isset() : register_response(false), id(false), stamina_inc_max(false), player_decay(false), inertia_moment(false), dash_power_rate(false), player_size(false), kickable_margin(false), kick_rand(false), extra_stamina(false), effort_max(false), effort_min(false), kick_power_rate(false), foul_detect_probability(false), catchable_area_l_stretch(false), unum_far_length(false), unum_too_far_length(false), team_far_length(false), team_too_far_length(false), player_max_observation_length(false), ball_vel_far_length(false), ball_vel_too_far_length(false), ball_max_observation_length(false), flag_chg_far_length(false), flag_chg_too_far_length(false), flag_max_observation_length(false), kickable_area(false), reliable_catchable_dist(false), max_catchable_dist(false), real_speed_max(false), player_speed_max2(false), real_speed_max2(false), cycles_to_reach_max_speed(false), player_speed_max(false) {} - bool register_response :1; - bool id :1; - bool stamina_inc_max :1; - bool player_decay :1; - bool inertia_moment :1; - bool dash_power_rate :1; - bool player_size :1; - bool kickable_margin :1; - bool kick_rand :1; - bool extra_stamina :1; - bool effort_max :1; - bool effort_min :1; - bool kick_power_rate :1; - bool foul_detect_probability :1; - bool catchable_area_l_stretch :1; - bool unum_far_length :1; - bool unum_too_far_length :1; - bool team_far_length :1; - bool team_too_far_length :1; - bool player_max_observation_length :1; - bool ball_vel_far_length :1; - bool ball_vel_too_far_length :1; - bool ball_max_observation_length :1; - bool flag_chg_far_length :1; - bool flag_chg_too_far_length :1; - bool flag_max_observation_length :1; - bool kickable_area :1; - bool reliable_catchable_dist :1; - bool max_catchable_dist :1; - bool real_speed_max :1; - bool player_speed_max2 :1; - bool real_speed_max2 :1; - bool cycles_to_reach_max_speed :1; - bool player_speed_max :1; -} _PlayerType__isset; - -class PlayerType : public virtual ::apache::thrift::TBase { - public: - - PlayerType(const PlayerType&); - PlayerType& operator=(const PlayerType&); - PlayerType() noexcept - : id(0), - stamina_inc_max(0), - player_decay(0), - inertia_moment(0), - dash_power_rate(0), - player_size(0), - kickable_margin(0), - kick_rand(0), - extra_stamina(0), - effort_max(0), - effort_min(0), - kick_power_rate(0), - foul_detect_probability(0), - catchable_area_l_stretch(0), - unum_far_length(0), - unum_too_far_length(0), - team_far_length(0), - team_too_far_length(0), - player_max_observation_length(0), - ball_vel_far_length(0), - ball_vel_too_far_length(0), - ball_max_observation_length(0), - flag_chg_far_length(0), - flag_chg_too_far_length(0), - flag_max_observation_length(0), - kickable_area(0), - reliable_catchable_dist(0), - max_catchable_dist(0), - real_speed_max(0), - player_speed_max2(0), - real_speed_max2(0), - cycles_to_reach_max_speed(0), - player_speed_max(0) { - } - - virtual ~PlayerType() noexcept; - RegisterResponse register_response; - int32_t id; - double stamina_inc_max; - double player_decay; - double inertia_moment; - double dash_power_rate; - double player_size; - double kickable_margin; - double kick_rand; - double extra_stamina; - double effort_max; - double effort_min; - double kick_power_rate; - double foul_detect_probability; - double catchable_area_l_stretch; - double unum_far_length; - double unum_too_far_length; - double team_far_length; - double team_too_far_length; - double player_max_observation_length; - double ball_vel_far_length; - double ball_vel_too_far_length; - double ball_max_observation_length; - double flag_chg_far_length; - double flag_chg_too_far_length; - double flag_max_observation_length; - double kickable_area; - double reliable_catchable_dist; - double max_catchable_dist; - double real_speed_max; - double player_speed_max2; - double real_speed_max2; - int32_t cycles_to_reach_max_speed; - double player_speed_max; - - _PlayerType__isset __isset; - - void __set_register_response(const RegisterResponse& val); - - void __set_id(const int32_t val); - - void __set_stamina_inc_max(const double val); - - void __set_player_decay(const double val); - - void __set_inertia_moment(const double val); - - void __set_dash_power_rate(const double val); - - void __set_player_size(const double val); - - void __set_kickable_margin(const double val); - - void __set_kick_rand(const double val); - - void __set_extra_stamina(const double val); - - void __set_effort_max(const double val); - - void __set_effort_min(const double val); - - void __set_kick_power_rate(const double val); - - void __set_foul_detect_probability(const double val); - - void __set_catchable_area_l_stretch(const double val); - - void __set_unum_far_length(const double val); - - void __set_unum_too_far_length(const double val); - - void __set_team_far_length(const double val); - - void __set_team_too_far_length(const double val); - - void __set_player_max_observation_length(const double val); - - void __set_ball_vel_far_length(const double val); - - void __set_ball_vel_too_far_length(const double val); - - void __set_ball_max_observation_length(const double val); - - void __set_flag_chg_far_length(const double val); - - void __set_flag_chg_too_far_length(const double val); - - void __set_flag_max_observation_length(const double val); - - void __set_kickable_area(const double val); - - void __set_reliable_catchable_dist(const double val); - - void __set_max_catchable_dist(const double val); - - void __set_real_speed_max(const double val); - - void __set_player_speed_max2(const double val); - - void __set_real_speed_max2(const double val); - - void __set_cycles_to_reach_max_speed(const int32_t val); - - void __set_player_speed_max(const double val); - - bool operator == (const PlayerType & rhs) const - { - if (!(register_response == rhs.register_response)) - return false; - if (!(id == rhs.id)) - return false; - if (!(stamina_inc_max == rhs.stamina_inc_max)) - return false; - if (!(player_decay == rhs.player_decay)) - return false; - if (!(inertia_moment == rhs.inertia_moment)) - return false; - if (!(dash_power_rate == rhs.dash_power_rate)) - return false; - if (!(player_size == rhs.player_size)) - return false; - if (!(kickable_margin == rhs.kickable_margin)) - return false; - if (!(kick_rand == rhs.kick_rand)) - return false; - if (!(extra_stamina == rhs.extra_stamina)) - return false; - if (!(effort_max == rhs.effort_max)) - return false; - if (!(effort_min == rhs.effort_min)) - return false; - if (!(kick_power_rate == rhs.kick_power_rate)) - return false; - if (!(foul_detect_probability == rhs.foul_detect_probability)) - return false; - if (!(catchable_area_l_stretch == rhs.catchable_area_l_stretch)) - return false; - if (!(unum_far_length == rhs.unum_far_length)) - return false; - if (!(unum_too_far_length == rhs.unum_too_far_length)) - return false; - if (!(team_far_length == rhs.team_far_length)) - return false; - if (!(team_too_far_length == rhs.team_too_far_length)) - return false; - if (!(player_max_observation_length == rhs.player_max_observation_length)) - return false; - if (!(ball_vel_far_length == rhs.ball_vel_far_length)) - return false; - if (!(ball_vel_too_far_length == rhs.ball_vel_too_far_length)) - return false; - if (!(ball_max_observation_length == rhs.ball_max_observation_length)) - return false; - if (!(flag_chg_far_length == rhs.flag_chg_far_length)) - return false; - if (!(flag_chg_too_far_length == rhs.flag_chg_too_far_length)) - return false; - if (!(flag_max_observation_length == rhs.flag_max_observation_length)) - return false; - if (!(kickable_area == rhs.kickable_area)) - return false; - if (!(reliable_catchable_dist == rhs.reliable_catchable_dist)) - return false; - if (!(max_catchable_dist == rhs.max_catchable_dist)) - return false; - if (!(real_speed_max == rhs.real_speed_max)) - return false; - if (!(player_speed_max2 == rhs.player_speed_max2)) - return false; - if (!(real_speed_max2 == rhs.real_speed_max2)) - return false; - if (!(cycles_to_reach_max_speed == rhs.cycles_to_reach_max_speed)) - return false; - if (!(player_speed_max == rhs.player_speed_max)) - return false; - return true; - } - bool operator != (const PlayerType &rhs) const { - return !(*this == rhs); - } - - bool operator < (const PlayerType & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(PlayerType &a, PlayerType &b); - -std::ostream& operator<<(std::ostream& out, const PlayerType& obj); - -typedef struct _RpcCooperativeAction__isset { - _RpcCooperativeAction__isset() : category(false), index(false), sender_unum(false), target_unum(false), target_point(false), first_ball_speed(false), first_turn_moment(false), first_dash_power(false), first_dash_angle_relative(false), duration_step(false), kick_count(false), turn_count(false), dash_count(false), final_action(false), description(false), parent_index(false) {} - bool category :1; - bool index :1; - bool sender_unum :1; - bool target_unum :1; - bool target_point :1; - bool first_ball_speed :1; - bool first_turn_moment :1; - bool first_dash_power :1; - bool first_dash_angle_relative :1; - bool duration_step :1; - bool kick_count :1; - bool turn_count :1; - bool dash_count :1; - bool final_action :1; - bool description :1; - bool parent_index :1; -} _RpcCooperativeAction__isset; - -class RpcCooperativeAction : public virtual ::apache::thrift::TBase { - public: - - RpcCooperativeAction(const RpcCooperativeAction&); - RpcCooperativeAction& operator=(const RpcCooperativeAction&); - RpcCooperativeAction() noexcept - : category(static_cast(0)), - index(0), - sender_unum(0), - target_unum(0), - first_ball_speed(0), - first_turn_moment(0), - first_dash_power(0), - first_dash_angle_relative(0), - duration_step(0), - kick_count(0), - turn_count(0), - dash_count(0), - final_action(0), - description(), - parent_index(0) { - } - - virtual ~RpcCooperativeAction() noexcept; - /** - * - * @see RpcActionCategory - */ - RpcActionCategory::type category; - int32_t index; - int32_t sender_unum; - int32_t target_unum; - RpcVector2D target_point; - double first_ball_speed; - double first_turn_moment; - double first_dash_power; - double first_dash_angle_relative; - int32_t duration_step; - int32_t kick_count; - int32_t turn_count; - int32_t dash_count; - bool final_action; - std::string description; - int32_t parent_index; - - _RpcCooperativeAction__isset __isset; - - void __set_category(const RpcActionCategory::type val); - - void __set_index(const int32_t val); - - void __set_sender_unum(const int32_t val); - - void __set_target_unum(const int32_t val); - - void __set_target_point(const RpcVector2D& val); - - void __set_first_ball_speed(const double val); - - void __set_first_turn_moment(const double val); - - void __set_first_dash_power(const double val); - - void __set_first_dash_angle_relative(const double val); - - void __set_duration_step(const int32_t val); - - void __set_kick_count(const int32_t val); - - void __set_turn_count(const int32_t val); - - void __set_dash_count(const int32_t val); - - void __set_final_action(const bool val); - - void __set_description(const std::string& val); - - void __set_parent_index(const int32_t val); - - bool operator == (const RpcCooperativeAction & rhs) const - { - if (!(category == rhs.category)) - return false; - if (!(index == rhs.index)) - return false; - if (!(sender_unum == rhs.sender_unum)) - return false; - if (!(target_unum == rhs.target_unum)) - return false; - if (!(target_point == rhs.target_point)) - return false; - if (!(first_ball_speed == rhs.first_ball_speed)) - return false; - if (!(first_turn_moment == rhs.first_turn_moment)) - return false; - if (!(first_dash_power == rhs.first_dash_power)) - return false; - if (!(first_dash_angle_relative == rhs.first_dash_angle_relative)) - return false; - if (!(duration_step == rhs.duration_step)) - return false; - if (!(kick_count == rhs.kick_count)) - return false; - if (!(turn_count == rhs.turn_count)) - return false; - if (!(dash_count == rhs.dash_count)) - return false; - if (!(final_action == rhs.final_action)) - return false; - if (!(description == rhs.description)) - return false; - if (!(parent_index == rhs.parent_index)) - return false; - return true; - } - bool operator != (const RpcCooperativeAction &rhs) const { - return !(*this == rhs); - } - - bool operator < (const RpcCooperativeAction & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(RpcCooperativeAction &a, RpcCooperativeAction &b); - -std::ostream& operator<<(std::ostream& out, const RpcCooperativeAction& obj); - -typedef struct _RpcPredictState__isset { - _RpcPredictState__isset() : spend_time(false), ball_holder_unum(false), ball_position(false), ball_velocity(false), our_defense_line_x(false), our_offense_line_x(false) {} - bool spend_time :1; - bool ball_holder_unum :1; - bool ball_position :1; - bool ball_velocity :1; - bool our_defense_line_x :1; - bool our_offense_line_x :1; -} _RpcPredictState__isset; - -class RpcPredictState : public virtual ::apache::thrift::TBase { - public: - - RpcPredictState(const RpcPredictState&) noexcept; - RpcPredictState& operator=(const RpcPredictState&) noexcept; - RpcPredictState() noexcept - : spend_time(0), - ball_holder_unum(0), - our_defense_line_x(0), - our_offense_line_x(0) { - } - - virtual ~RpcPredictState() noexcept; - int32_t spend_time; - int32_t ball_holder_unum; - RpcVector2D ball_position; - RpcVector2D ball_velocity; - double our_defense_line_x; - double our_offense_line_x; - - _RpcPredictState__isset __isset; - - void __set_spend_time(const int32_t val); - - void __set_ball_holder_unum(const int32_t val); - - void __set_ball_position(const RpcVector2D& val); - - void __set_ball_velocity(const RpcVector2D& val); - - void __set_our_defense_line_x(const double val); - - void __set_our_offense_line_x(const double val); - - bool operator == (const RpcPredictState & rhs) const - { - if (!(spend_time == rhs.spend_time)) - return false; - if (!(ball_holder_unum == rhs.ball_holder_unum)) - return false; - if (!(ball_position == rhs.ball_position)) - return false; - if (!(ball_velocity == rhs.ball_velocity)) - return false; - if (!(our_defense_line_x == rhs.our_defense_line_x)) - return false; - if (!(our_offense_line_x == rhs.our_offense_line_x)) - return false; - return true; - } - bool operator != (const RpcPredictState &rhs) const { - return !(*this == rhs); - } - - bool operator < (const RpcPredictState & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(RpcPredictState &a, RpcPredictState &b); - -std::ostream& operator<<(std::ostream& out, const RpcPredictState& obj); - -typedef struct _RpcActionState__isset { - _RpcActionState__isset() : action(false), predict_state(false), evaluation(false) {} - bool action :1; - bool predict_state :1; - bool evaluation :1; -} _RpcActionState__isset; - -class RpcActionState : public virtual ::apache::thrift::TBase { - public: - - RpcActionState(const RpcActionState&); - RpcActionState& operator=(const RpcActionState&); - RpcActionState() noexcept - : evaluation(0) { - } - - virtual ~RpcActionState() noexcept; - RpcCooperativeAction action; - RpcPredictState predict_state; - double evaluation; - - _RpcActionState__isset __isset; - - void __set_action(const RpcCooperativeAction& val); - - void __set_predict_state(const RpcPredictState& val); - - void __set_evaluation(const double val); - - bool operator == (const RpcActionState & rhs) const - { - if (!(action == rhs.action)) - return false; - if (!(predict_state == rhs.predict_state)) - return false; - if (!(evaluation == rhs.evaluation)) - return false; - return true; - } - bool operator != (const RpcActionState &rhs) const { - return !(*this == rhs); - } - - bool operator < (const RpcActionState & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(RpcActionState &a, RpcActionState &b); - -std::ostream& operator<<(std::ostream& out, const RpcActionState& obj); - -typedef struct _BestPlannerActionRequest__isset { - _BestPlannerActionRequest__isset() : register_response(false), pairs(false), state(false) {} - bool register_response :1; - bool pairs :1; - bool state :1; -} _BestPlannerActionRequest__isset; - -class BestPlannerActionRequest : public virtual ::apache::thrift::TBase { - public: - - BestPlannerActionRequest(const BestPlannerActionRequest&); - BestPlannerActionRequest& operator=(const BestPlannerActionRequest&); - BestPlannerActionRequest() noexcept { - } - - virtual ~BestPlannerActionRequest() noexcept; - RegisterResponse register_response; - std::map pairs; - State state; - - _BestPlannerActionRequest__isset __isset; - - void __set_register_response(const RegisterResponse& val); - - void __set_pairs(const std::map & val); - - void __set_state(const State& val); - - bool operator == (const BestPlannerActionRequest & rhs) const - { - if (!(register_response == rhs.register_response)) - return false; - if (!(pairs == rhs.pairs)) - return false; - if (!(state == rhs.state)) - return false; - return true; - } - bool operator != (const BestPlannerActionRequest &rhs) const { - return !(*this == rhs); - } - - bool operator < (const BestPlannerActionRequest & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(BestPlannerActionRequest &a, BestPlannerActionRequest &b); - -std::ostream& operator<<(std::ostream& out, const BestPlannerActionRequest& obj); - -typedef struct _BestPlannerActionResponse__isset { - _BestPlannerActionResponse__isset() : index(false) {} - bool index :1; -} _BestPlannerActionResponse__isset; - -class BestPlannerActionResponse : public virtual ::apache::thrift::TBase { - public: - - BestPlannerActionResponse(const BestPlannerActionResponse&) noexcept; - BestPlannerActionResponse& operator=(const BestPlannerActionResponse&) noexcept; - BestPlannerActionResponse() noexcept - : index(0) { - } - - virtual ~BestPlannerActionResponse() noexcept; - int32_t index; - - _BestPlannerActionResponse__isset __isset; - - void __set_index(const int32_t val); - - bool operator == (const BestPlannerActionResponse & rhs) const - { - if (!(index == rhs.index)) - return false; - return true; - } - bool operator != (const BestPlannerActionResponse &rhs) const { - return !(*this == rhs); - } - - bool operator < (const BestPlannerActionResponse & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(BestPlannerActionResponse &a, BestPlannerActionResponse &b); - -std::ostream& operator<<(std::ostream& out, const BestPlannerActionResponse& obj); - - -class Empty : public virtual ::apache::thrift::TBase { - public: - - Empty(const Empty&) noexcept; - Empty& operator=(const Empty&) noexcept; - Empty() noexcept { - } - - virtual ~Empty() noexcept; - - bool operator == (const Empty & /* rhs */) const - { - return true; - } - bool operator != (const Empty &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Empty & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Empty &a, Empty &b); - -std::ostream& operator<<(std::ostream& out, const Empty& obj); - -} // namespace - -#endif From 204e9fae44efa1d60ceeaedab0b370eb198037d5 Mon Sep 17 00:00:00 2001 From: SK2iP Date: Sat, 14 Sep 2024 00:34:54 +0330 Subject: [PATCH 12/21] clean code for bodyhold ball in getactions --- src/grpc-client/grpc_client_player.cpp | 5 ++--- src/thrift-client/thrift_client_player.cpp | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/grpc-client/grpc_client_player.cpp b/src/grpc-client/grpc_client_player.cpp index cc13b57..24b8da9 100644 --- a/src/grpc-client/grpc_client_player.cpp +++ b/src/grpc-client/grpc_client_player.cpp @@ -646,10 +646,9 @@ void GrpcClientPlayer::getActions() break; } - Body_HoldBall().execute(agent); - agent->setNeckAction(new Neck_ScanField()); } - + Body_HoldBall().execute(agent); + agent->setNeckAction(new Neck_ScanField()); break; } diff --git a/src/thrift-client/thrift_client_player.cpp b/src/thrift-client/thrift_client_player.cpp index 3105e2d..5f307a0 100644 --- a/src/thrift-client/thrift_client_player.cpp +++ b/src/thrift-client/thrift_client_player.cpp @@ -638,7 +638,7 @@ void ThriftClientPlayer::getActions() { agent->debugClient().addMessage("GetBestPlannerAction"); continue; - }; + } } else { @@ -648,9 +648,9 @@ void ThriftClientPlayer::getActions() continue; } - Body_HoldBall().execute(agent); - agent->setNeckAction(new Neck_ScanField()); } + Body_HoldBall().execute(agent); + agent->setNeckAction(new Neck_ScanField()); continue; } #ifdef DEBUG_CLIENT_PLAYER From 66fad16d50fd735cff81f3cc50bb67c8bec0c7da Mon Sep 17 00:00:00 2001 From: naderzare Date: Fri, 13 Sep 2024 19:02:16 -0300 Subject: [PATCH 13/21] Update service.proto and soccer_service.thrift Add new fields for recovery and stamina capacity in the Self struct. Add new fields for defense line and defense player line in the WorldModel struct. --- idl/grpc/service.proto | 6 + idl/thrift/soccer_service.thrift | 10 +- src/grpc-client/state_generator.cpp | 6 + src/grpc-generated/service.pb.cc | 1836 ++++++++++------- src/grpc-generated/service.pb.h | 192 ++ src/thrift-client/thrift_state_generator.cpp | 8 +- src/thrift-generated/soccer_service_types.cpp | 120 ++ src/thrift-generated/soccer_service_types.h | 50 +- 8 files changed, 1437 insertions(+), 791 deletions(-) diff --git a/idl/grpc/service.proto b/idl/grpc/service.proto index 1519b88..39adf02 100644 --- a/idl/grpc/service.proto +++ b/idl/grpc/service.proto @@ -153,6 +153,8 @@ message Self { ViewWidth view_width = 34; int32 type_id = 35; float kick_rate = 36; + float recovery = 37; + float stamina_capacity = 38; } enum InterceptActionType { @@ -256,6 +258,10 @@ message WorldModel { int32 their_team_score = 29; bool is_penalty_kick_mode = 30; map helios_home_positions = 31; + double our_defense_line_x = 32; + double their_defense_line_x = 33; + double our_defense_player_line_x = 34; + double their_defense_player_line_x = 35; } message State { diff --git a/idl/thrift/soccer_service.thrift b/idl/thrift/soccer_service.thrift index d36bb67..c6c6a61 100644 --- a/idl/thrift/soccer_service.thrift +++ b/idl/thrift/soccer_service.thrift @@ -155,7 +155,9 @@ struct Self { 33: double foul_probability, 34: ViewWidth view_width, 35: i32 type_id, - 36: double kick_rate + 36: double kick_rate, + 37: double recovery, + 38: double stamina_capacity } enum InterceptActionType { @@ -258,7 +260,11 @@ struct WorldModel { 28: i32 our_team_score, 29: i32 their_team_score, 30: bool is_penalty_kick_mode, - 31: map helios_home_positions + 31: map helios_home_positions, + 32: double our_defense_line_x, + 33: double their_defense_line_x, + 34: double our_defense_player_line_x, + 35: double their_defense_player_line_x } struct State { diff --git a/src/grpc-client/state_generator.cpp b/src/grpc-client/state_generator.cpp index 51d9626..1db4881 100644 --- a/src/grpc-client/state_generator.cpp +++ b/src/grpc-client/state_generator.cpp @@ -150,6 +150,8 @@ protos::Self *StateGenerator::convertSelf(const rcsc::SelfObject &self, const rc (wm.ball().angleFromSelf() - self.body()).degree()); kick_rate = std::max(kick_rate, 0.0001); res->set_kick_rate(kick_rate); + res->set_recovery(static_cast(self.recovery())); + res->set_stamina_capacity(static_cast(self.staminaCapacity())); return res; } @@ -467,6 +469,10 @@ protos::WorldModel *StateGenerator::convertWorldModel(const rcsc::WorldModel &wm res->set_our_team_score(wm.ourSide() == rcsc::SideID::LEFT ? wm.gameMode().scoreLeft() : wm.gameMode().scoreRight()); res->set_their_team_score(wm.ourSide() == rcsc::SideID::LEFT ? wm.gameMode().scoreRight() : wm.gameMode().scoreLeft()); res->set_is_penalty_kick_mode(wm.gameMode().isPenaltyKickMode()); + res->set_our_defense_line_x(static_cast(wm.ourDefenseLineX())); + res->set_their_defense_line_x(static_cast(wm.theirDefenseLineX())); + res->set_our_defense_player_line_x(static_cast(wm.ourDefensePlayerLineX())); + res->set_their_defense_player_line_x(static_cast(wm.theirDefensePlayerLineX())); return res; } diff --git a/src/grpc-generated/service.pb.cc b/src/grpc-generated/service.pb.cc index 433b7ee..7e2fd54 100644 --- a/src/grpc-generated/service.pb.cc +++ b/src/grpc-generated/service.pb.cc @@ -270,6 +270,10 @@ PROTOBUF_CONSTEXPR Self::Self( , /*decltype(_impl_.type_id_)*/ 0 , /*decltype(_impl_.kick_rate_)*/ 0 + + , /*decltype(_impl_.recovery_)*/ 0 + + , /*decltype(_impl_.stamina_capacity_)*/ 0 } {} struct SelfDefaultTypeInternal { PROTOBUF_CONSTEXPR SelfDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} @@ -448,6 +452,14 @@ PROTOBUF_CONSTEXPR WorldModel::WorldModel( , /*decltype(_impl_.our_team_score_)*/ 0 , /*decltype(_impl_.their_team_score_)*/ 0 + + , /*decltype(_impl_.our_defense_line_x_)*/ 0 + + , /*decltype(_impl_.their_defense_line_x_)*/ 0 + + , /*decltype(_impl_.our_defense_player_line_x_)*/ 0 + + , /*decltype(_impl_.their_defense_player_line_x_)*/ 0 } {} struct WorldModelDefaultTypeInternal { PROTOBUF_CONSTEXPR WorldModelDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} @@ -3399,6 +3411,8 @@ const ::uint32_t TableStruct_service_2eproto::offsets[] PROTOBUF_SECTION_VARIABL PROTOBUF_FIELD_OFFSET(::protos::Self, _impl_.view_width_), PROTOBUF_FIELD_OFFSET(::protos::Self, _impl_.type_id_), PROTOBUF_FIELD_OFFSET(::protos::Self, _impl_.kick_rate_), + PROTOBUF_FIELD_OFFSET(::protos::Self, _impl_.recovery_), + PROTOBUF_FIELD_OFFSET(::protos::Self, _impl_.stamina_capacity_), 0, 1, 2, @@ -3435,6 +3449,8 @@ const ::uint32_t TableStruct_service_2eproto::offsets[] PROTOBUF_SECTION_VARIABL ~0u, ~0u, ~0u, + ~0u, + ~0u, PROTOBUF_FIELD_OFFSET(::protos::InterceptInfo, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::protos::InterceptInfo, _internal_metadata_), ~0u, // no _extensions_ @@ -3556,6 +3572,10 @@ const ::uint32_t TableStruct_service_2eproto::offsets[] PROTOBUF_SECTION_VARIABL PROTOBUF_FIELD_OFFSET(::protos::WorldModel, _impl_.their_team_score_), PROTOBUF_FIELD_OFFSET(::protos::WorldModel, _impl_.is_penalty_kick_mode_), PROTOBUF_FIELD_OFFSET(::protos::WorldModel, _impl_.helios_home_positions_), + PROTOBUF_FIELD_OFFSET(::protos::WorldModel, _impl_.our_defense_line_x_), + PROTOBUF_FIELD_OFFSET(::protos::WorldModel, _impl_.their_defense_line_x_), + PROTOBUF_FIELD_OFFSET(::protos::WorldModel, _impl_.our_defense_player_line_x_), + PROTOBUF_FIELD_OFFSET(::protos::WorldModel, _impl_.their_defense_player_line_x_), 0, ~0u, ~0u, @@ -3587,6 +3607,10 @@ const ::uint32_t TableStruct_service_2eproto::offsets[] PROTOBUF_SECTION_VARIABL ~0u, ~0u, ~0u, + ~0u, + ~0u, + ~0u, + ~0u, PROTOBUF_FIELD_OFFSET(::protos::State, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::protos::State, _internal_metadata_), ~0u, // no _extensions_ @@ -5645,135 +5669,135 @@ static const ::_pbi::MigrationSchema { 23, -1, -1, sizeof(::protos::RegisterResponse)}, { 35, 60, -1, sizeof(::protos::Ball)}, { 77, 115, -1, sizeof(::protos::Player)}, - { 145, 189, -1, sizeof(::protos::Self)}, - { 225, 243, -1, sizeof(::protos::InterceptInfo)}, - { 253, -1, -1, sizeof(::protos::InterceptTable)}, - { 271, 281, -1, sizeof(::protos::WorldModel_OurPlayersDictEntry_DoNotUse)}, - { 283, 293, -1, sizeof(::protos::WorldModel_TheirPlayersDictEntry_DoNotUse)}, - { 295, 305, -1, sizeof(::protos::WorldModel_HeliosHomePositionsEntry_DoNotUse)}, - { 307, 346, -1, sizeof(::protos::WorldModel)}, - { 377, 389, -1, sizeof(::protos::State)}, - { 393, 403, -1, sizeof(::protos::InitMessage)}, - { 405, -1, -1, sizeof(::protos::Dash)}, - { 415, -1, -1, sizeof(::protos::Turn)}, - { 424, -1, -1, sizeof(::protos::Kick)}, - { 434, -1, -1, sizeof(::protos::Tackle)}, - { 444, -1, -1, sizeof(::protos::Catch)}, - { 452, -1, -1, sizeof(::protos::Move)}, - { 462, -1, -1, sizeof(::protos::TurnNeck)}, - { 471, -1, -1, sizeof(::protos::ChangeView)}, - { 480, 490, -1, sizeof(::protos::BallMessage)}, - { 492, 504, -1, sizeof(::protos::PassMessage)}, - { 508, -1, -1, sizeof(::protos::InterceptMessage)}, - { 519, 530, -1, sizeof(::protos::GoalieMessage)}, - { 533, 546, -1, sizeof(::protos::GoalieAndPlayerMessage)}, - { 551, -1, -1, sizeof(::protos::OffsideLineMessage)}, - { 560, -1, -1, sizeof(::protos::DefenseLineMessage)}, - { 569, -1, -1, sizeof(::protos::WaitRequestMessage)}, - { 577, -1, -1, sizeof(::protos::SetplayMessage)}, - { 586, 595, -1, sizeof(::protos::PassRequestMessage)}, - { 596, -1, -1, sizeof(::protos::StaminaMessage)}, - { 605, -1, -1, sizeof(::protos::RecoveryMessage)}, - { 614, -1, -1, sizeof(::protos::StaminaCapacityMessage)}, - { 623, 633, -1, sizeof(::protos::DribbleMessage)}, - { 635, 647, -1, sizeof(::protos::BallGoalieMessage)}, - { 651, 661, -1, sizeof(::protos::OnePlayerMessage)}, - { 663, 675, -1, sizeof(::protos::TwoPlayerMessage)}, - { 679, 693, -1, sizeof(::protos::ThreePlayerMessage)}, - { 699, 710, -1, sizeof(::protos::SelfMessage)}, - { 713, 724, -1, sizeof(::protos::TeammateMessage)}, - { 727, 738, -1, sizeof(::protos::OpponentMessage)}, - { 741, 754, -1, sizeof(::protos::BallPlayerMessage)}, - { 759, -1, -1, sizeof(::protos::Say)}, - { 790, -1, -1, sizeof(::protos::PointTo)}, - { 800, -1, -1, sizeof(::protos::PointToOf)}, - { 808, -1, -1, sizeof(::protos::AttentionTo)}, - { 818, -1, -1, sizeof(::protos::AttentionToOf)}, - { 826, -1, -1, sizeof(::protos::AddText)}, - { 836, 847, -1, sizeof(::protos::AddPoint)}, - { 850, 862, -1, sizeof(::protos::AddLine)}, - { 866, 880, -1, sizeof(::protos::AddArc)}, - { 886, 899, -1, sizeof(::protos::AddCircle)}, - { 904, 918, -1, sizeof(::protos::AddTriangle)}, - { 924, -1, -1, sizeof(::protos::AddRectangle)}, - { 939, 955, -1, sizeof(::protos::AddSector)}, - { 963, 975, -1, sizeof(::protos::AddMessage)}, - { 979, -1, -1, sizeof(::protos::Log)}, - { 997, -1, -1, sizeof(::protos::DebugClient)}, - { 1006, 1017, -1, sizeof(::protos::Body_GoToPoint)}, - { 1020, 1032, -1, sizeof(::protos::Body_SmartKick)}, - { 1036, 1045, -1, sizeof(::protos::Bhv_BeforeKickOff)}, - { 1046, -1, -1, sizeof(::protos::Bhv_BodyNeckToBall)}, - { 1054, 1063, -1, sizeof(::protos::Bhv_BodyNeckToPoint)}, - { 1064, -1, -1, sizeof(::protos::Bhv_Emergency)}, - { 1072, 1083, -1, sizeof(::protos::Bhv_GoToPointLookBall)}, - { 1086, -1, -1, sizeof(::protos::Bhv_NeckBodyToBall)}, - { 1095, 1105, -1, sizeof(::protos::Bhv_NeckBodyToPoint)}, - { 1107, -1, -1, sizeof(::protos::Bhv_ScanField)}, - { 1115, -1, -1, sizeof(::protos::Body_AdvanceBall)}, - { 1123, -1, -1, sizeof(::protos::Body_ClearBall)}, - { 1131, 1144, -1, sizeof(::protos::Body_Dribble)}, - { 1149, 1159, -1, sizeof(::protos::Body_GoToPointDodge)}, - { 1161, 1172, -1, sizeof(::protos::Body_HoldBall)}, - { 1175, 1185, -1, sizeof(::protos::Body_Intercept)}, - { 1187, 1198, -1, sizeof(::protos::Body_KickOneStep)}, - { 1201, -1, -1, sizeof(::protos::Body_StopBall)}, - { 1209, -1, -1, sizeof(::protos::Body_StopDash)}, - { 1218, 1229, -1, sizeof(::protos::Body_TackleToPoint)}, - { 1232, -1, -1, sizeof(::protos::Body_TurnToAngle)}, - { 1241, -1, -1, sizeof(::protos::Body_TurnToBall)}, - { 1250, 1260, -1, sizeof(::protos::Body_TurnToPoint)}, - { 1262, 1271, -1, sizeof(::protos::Focus_MoveToPoint)}, - { 1272, -1, -1, sizeof(::protos::Focus_Reset)}, - { 1280, -1, -1, sizeof(::protos::Neck_ScanField)}, - { 1288, -1, -1, sizeof(::protos::Neck_ScanPlayers)}, - { 1296, -1, -1, sizeof(::protos::Neck_TurnToBallAndPlayer)}, - { 1307, -1, -1, sizeof(::protos::Neck_TurnToBallOrScan)}, - { 1316, -1, -1, sizeof(::protos::Neck_TurnToBall)}, - { 1324, -1, -1, sizeof(::protos::Neck_TurnToGoalieOrScan)}, - { 1333, -1, -1, sizeof(::protos::Neck_TurnToLowConfTeammate)}, - { 1341, -1, -1, sizeof(::protos::Neck_TurnToPlayerOrScan)}, - { 1352, 1361, -1, sizeof(::protos::Neck_TurnToPoint)}, - { 1362, -1, -1, sizeof(::protos::Neck_TurnToRelative)}, - { 1371, -1, -1, sizeof(::protos::View_ChangeWidth)}, - { 1380, -1, -1, sizeof(::protos::View_Normal)}, - { 1388, -1, -1, sizeof(::protos::View_Synch)}, - { 1396, -1, -1, sizeof(::protos::View_Wide)}, - { 1404, -1, -1, sizeof(::protos::HeliosGoalie)}, - { 1412, -1, -1, sizeof(::protos::HeliosGoalieMove)}, - { 1420, -1, -1, sizeof(::protos::HeliosGoalieKick)}, - { 1428, -1, -1, sizeof(::protos::HeliosShoot)}, - { 1436, -1, -1, sizeof(::protos::HeliosChainAction)}, - { 1454, -1, -1, sizeof(::protos::HeliosBasicOffensive)}, - { 1462, -1, -1, sizeof(::protos::HeliosBasicMove)}, - { 1470, -1, -1, sizeof(::protos::HeliosSetPlay)}, - { 1478, -1, -1, sizeof(::protos::HeliosPenalty)}, - { 1486, -1, -1, sizeof(::protos::HeliosCommunicaion)}, - { 1494, -1, -1, sizeof(::protos::PlayerAction)}, - { 1567, -1, -1, sizeof(::protos::PlayerActions)}, - { 1577, -1, -1, sizeof(::protos::ChangePlayerType)}, - { 1587, -1, -1, sizeof(::protos::DoHeliosSubstitute)}, - { 1595, -1, -1, sizeof(::protos::DoHeliosSayPlayerTypes)}, - { 1603, -1, -1, sizeof(::protos::CoachAction)}, - { 1615, -1, -1, sizeof(::protos::CoachActions)}, - { 1624, -1, -1, sizeof(::protos::DoKickOff)}, - { 1632, 1642, -1, sizeof(::protos::DoMoveBall)}, - { 1644, 1656, -1, sizeof(::protos::DoMovePlayer)}, - { 1660, -1, -1, sizeof(::protos::DoRecover)}, - { 1668, -1, -1, sizeof(::protos::DoChangeMode)}, - { 1678, -1, -1, sizeof(::protos::DoChangePlayerType)}, - { 1689, -1, -1, sizeof(::protos::TrainerAction)}, - { 1704, -1, -1, sizeof(::protos::TrainerActions)}, - { 1713, 1943, -1, sizeof(::protos::ServerParam)}, - { 2165, 2203, -1, sizeof(::protos::PlayerParam)}, - { 2233, 2275, -1, sizeof(::protos::PlayerType)}, - { 2309, 2333, -1, sizeof(::protos::RpcCooperativeAction)}, - { 2349, 2363, -1, sizeof(::protos::RpcPredictState)}, - { 2369, 2380, -1, sizeof(::protos::RpcActionState)}, - { 2383, 2393, -1, sizeof(::protos::BestPlannerActionRequest_PairsEntry_DoNotUse)}, - { 2395, 2406, -1, sizeof(::protos::BestPlannerActionRequest)}, - { 2409, -1, -1, sizeof(::protos::BestPlannerActionResponse)}, - { 2418, -1, -1, sizeof(::protos::Empty)}, + { 145, 191, -1, sizeof(::protos::Self)}, + { 229, 247, -1, sizeof(::protos::InterceptInfo)}, + { 257, -1, -1, sizeof(::protos::InterceptTable)}, + { 275, 285, -1, sizeof(::protos::WorldModel_OurPlayersDictEntry_DoNotUse)}, + { 287, 297, -1, sizeof(::protos::WorldModel_TheirPlayersDictEntry_DoNotUse)}, + { 299, 309, -1, sizeof(::protos::WorldModel_HeliosHomePositionsEntry_DoNotUse)}, + { 311, 354, -1, sizeof(::protos::WorldModel)}, + { 389, 401, -1, sizeof(::protos::State)}, + { 405, 415, -1, sizeof(::protos::InitMessage)}, + { 417, -1, -1, sizeof(::protos::Dash)}, + { 427, -1, -1, sizeof(::protos::Turn)}, + { 436, -1, -1, sizeof(::protos::Kick)}, + { 446, -1, -1, sizeof(::protos::Tackle)}, + { 456, -1, -1, sizeof(::protos::Catch)}, + { 464, -1, -1, sizeof(::protos::Move)}, + { 474, -1, -1, sizeof(::protos::TurnNeck)}, + { 483, -1, -1, sizeof(::protos::ChangeView)}, + { 492, 502, -1, sizeof(::protos::BallMessage)}, + { 504, 516, -1, sizeof(::protos::PassMessage)}, + { 520, -1, -1, sizeof(::protos::InterceptMessage)}, + { 531, 542, -1, sizeof(::protos::GoalieMessage)}, + { 545, 558, -1, sizeof(::protos::GoalieAndPlayerMessage)}, + { 563, -1, -1, sizeof(::protos::OffsideLineMessage)}, + { 572, -1, -1, sizeof(::protos::DefenseLineMessage)}, + { 581, -1, -1, sizeof(::protos::WaitRequestMessage)}, + { 589, -1, -1, sizeof(::protos::SetplayMessage)}, + { 598, 607, -1, sizeof(::protos::PassRequestMessage)}, + { 608, -1, -1, sizeof(::protos::StaminaMessage)}, + { 617, -1, -1, sizeof(::protos::RecoveryMessage)}, + { 626, -1, -1, sizeof(::protos::StaminaCapacityMessage)}, + { 635, 645, -1, sizeof(::protos::DribbleMessage)}, + { 647, 659, -1, sizeof(::protos::BallGoalieMessage)}, + { 663, 673, -1, sizeof(::protos::OnePlayerMessage)}, + { 675, 687, -1, sizeof(::protos::TwoPlayerMessage)}, + { 691, 705, -1, sizeof(::protos::ThreePlayerMessage)}, + { 711, 722, -1, sizeof(::protos::SelfMessage)}, + { 725, 736, -1, sizeof(::protos::TeammateMessage)}, + { 739, 750, -1, sizeof(::protos::OpponentMessage)}, + { 753, 766, -1, sizeof(::protos::BallPlayerMessage)}, + { 771, -1, -1, sizeof(::protos::Say)}, + { 802, -1, -1, sizeof(::protos::PointTo)}, + { 812, -1, -1, sizeof(::protos::PointToOf)}, + { 820, -1, -1, sizeof(::protos::AttentionTo)}, + { 830, -1, -1, sizeof(::protos::AttentionToOf)}, + { 838, -1, -1, sizeof(::protos::AddText)}, + { 848, 859, -1, sizeof(::protos::AddPoint)}, + { 862, 874, -1, sizeof(::protos::AddLine)}, + { 878, 892, -1, sizeof(::protos::AddArc)}, + { 898, 911, -1, sizeof(::protos::AddCircle)}, + { 916, 930, -1, sizeof(::protos::AddTriangle)}, + { 936, -1, -1, sizeof(::protos::AddRectangle)}, + { 951, 967, -1, sizeof(::protos::AddSector)}, + { 975, 987, -1, sizeof(::protos::AddMessage)}, + { 991, -1, -1, sizeof(::protos::Log)}, + { 1009, -1, -1, sizeof(::protos::DebugClient)}, + { 1018, 1029, -1, sizeof(::protos::Body_GoToPoint)}, + { 1032, 1044, -1, sizeof(::protos::Body_SmartKick)}, + { 1048, 1057, -1, sizeof(::protos::Bhv_BeforeKickOff)}, + { 1058, -1, -1, sizeof(::protos::Bhv_BodyNeckToBall)}, + { 1066, 1075, -1, sizeof(::protos::Bhv_BodyNeckToPoint)}, + { 1076, -1, -1, sizeof(::protos::Bhv_Emergency)}, + { 1084, 1095, -1, sizeof(::protos::Bhv_GoToPointLookBall)}, + { 1098, -1, -1, sizeof(::protos::Bhv_NeckBodyToBall)}, + { 1107, 1117, -1, sizeof(::protos::Bhv_NeckBodyToPoint)}, + { 1119, -1, -1, sizeof(::protos::Bhv_ScanField)}, + { 1127, -1, -1, sizeof(::protos::Body_AdvanceBall)}, + { 1135, -1, -1, sizeof(::protos::Body_ClearBall)}, + { 1143, 1156, -1, sizeof(::protos::Body_Dribble)}, + { 1161, 1171, -1, sizeof(::protos::Body_GoToPointDodge)}, + { 1173, 1184, -1, sizeof(::protos::Body_HoldBall)}, + { 1187, 1197, -1, sizeof(::protos::Body_Intercept)}, + { 1199, 1210, -1, sizeof(::protos::Body_KickOneStep)}, + { 1213, -1, -1, sizeof(::protos::Body_StopBall)}, + { 1221, -1, -1, sizeof(::protos::Body_StopDash)}, + { 1230, 1241, -1, sizeof(::protos::Body_TackleToPoint)}, + { 1244, -1, -1, sizeof(::protos::Body_TurnToAngle)}, + { 1253, -1, -1, sizeof(::protos::Body_TurnToBall)}, + { 1262, 1272, -1, sizeof(::protos::Body_TurnToPoint)}, + { 1274, 1283, -1, sizeof(::protos::Focus_MoveToPoint)}, + { 1284, -1, -1, sizeof(::protos::Focus_Reset)}, + { 1292, -1, -1, sizeof(::protos::Neck_ScanField)}, + { 1300, -1, -1, sizeof(::protos::Neck_ScanPlayers)}, + { 1308, -1, -1, sizeof(::protos::Neck_TurnToBallAndPlayer)}, + { 1319, -1, -1, sizeof(::protos::Neck_TurnToBallOrScan)}, + { 1328, -1, -1, sizeof(::protos::Neck_TurnToBall)}, + { 1336, -1, -1, sizeof(::protos::Neck_TurnToGoalieOrScan)}, + { 1345, -1, -1, sizeof(::protos::Neck_TurnToLowConfTeammate)}, + { 1353, -1, -1, sizeof(::protos::Neck_TurnToPlayerOrScan)}, + { 1364, 1373, -1, sizeof(::protos::Neck_TurnToPoint)}, + { 1374, -1, -1, sizeof(::protos::Neck_TurnToRelative)}, + { 1383, -1, -1, sizeof(::protos::View_ChangeWidth)}, + { 1392, -1, -1, sizeof(::protos::View_Normal)}, + { 1400, -1, -1, sizeof(::protos::View_Synch)}, + { 1408, -1, -1, sizeof(::protos::View_Wide)}, + { 1416, -1, -1, sizeof(::protos::HeliosGoalie)}, + { 1424, -1, -1, sizeof(::protos::HeliosGoalieMove)}, + { 1432, -1, -1, sizeof(::protos::HeliosGoalieKick)}, + { 1440, -1, -1, sizeof(::protos::HeliosShoot)}, + { 1448, -1, -1, sizeof(::protos::HeliosChainAction)}, + { 1466, -1, -1, sizeof(::protos::HeliosBasicOffensive)}, + { 1474, -1, -1, sizeof(::protos::HeliosBasicMove)}, + { 1482, -1, -1, sizeof(::protos::HeliosSetPlay)}, + { 1490, -1, -1, sizeof(::protos::HeliosPenalty)}, + { 1498, -1, -1, sizeof(::protos::HeliosCommunicaion)}, + { 1506, -1, -1, sizeof(::protos::PlayerAction)}, + { 1579, -1, -1, sizeof(::protos::PlayerActions)}, + { 1589, -1, -1, sizeof(::protos::ChangePlayerType)}, + { 1599, -1, -1, sizeof(::protos::DoHeliosSubstitute)}, + { 1607, -1, -1, sizeof(::protos::DoHeliosSayPlayerTypes)}, + { 1615, -1, -1, sizeof(::protos::CoachAction)}, + { 1627, -1, -1, sizeof(::protos::CoachActions)}, + { 1636, -1, -1, sizeof(::protos::DoKickOff)}, + { 1644, 1654, -1, sizeof(::protos::DoMoveBall)}, + { 1656, 1668, -1, sizeof(::protos::DoMovePlayer)}, + { 1672, -1, -1, sizeof(::protos::DoRecover)}, + { 1680, -1, -1, sizeof(::protos::DoChangeMode)}, + { 1690, -1, -1, sizeof(::protos::DoChangePlayerType)}, + { 1701, -1, -1, sizeof(::protos::TrainerAction)}, + { 1716, -1, -1, sizeof(::protos::TrainerActions)}, + { 1725, 1955, -1, sizeof(::protos::ServerParam)}, + { 2177, 2215, -1, sizeof(::protos::PlayerParam)}, + { 2245, 2287, -1, sizeof(::protos::PlayerType)}, + { 2321, 2345, -1, sizeof(::protos::RpcCooperativeAction)}, + { 2361, 2375, -1, sizeof(::protos::RpcPredictState)}, + { 2381, 2392, -1, sizeof(::protos::RpcActionState)}, + { 2395, 2405, -1, sizeof(::protos::BestPlannerActionRequest_PairsEntry_DoNotUse)}, + { 2407, 2418, -1, sizeof(::protos::BestPlannerActionRequest)}, + { 2421, -1, -1, sizeof(::protos::BestPlannerActionResponse)}, + { 2430, -1, -1, sizeof(::protos::Empty)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -5954,7 +5978,7 @@ const char descriptor_table_protodef_service_2eproto[] PROTOBUF_SECTION_VARIABLE "tion_count\030\030 \001(\005\022\022\n\nis_kicking\030\031 \001(\010\022\026\n\016" "dist_from_ball\030\032 \001(\002\022\027\n\017angle_from_ball\030" "\033 \001(\002\022\030\n\020ball_reach_steps\030\034 \001(\005\022\023\n\013is_ta" - "ckling\030\035 \001(\010\022\017\n\007type_id\030\036 \001(\005\"\317\007\n\004Self\022%" + "ckling\030\035 \001(\010\022\017\n\007type_id\030\036 \001(\005\"\373\007\n\004Self\022%" "\n\010position\030\001 \001(\0132\023.protos.RpcVector2D\022*\n" "\rseen_position\030\002 \001(\0132\023.protos.RpcVector2" "D\022+\n\016heard_position\030\003 \001(\0132\023.protos.RpcVe" @@ -5979,656 +6003,660 @@ const char descriptor_table_protodef_service_2eproto[] PROTOBUF_SECTION_VARIABLE "\n\022tackle_probability\030 \001(\002\022\030\n\020foul_proba" "bility\030! \001(\002\022%\n\nview_width\030\" \001(\0162\021.proto" "s.ViewWidth\022\017\n\007type_id\030# \001(\005\022\021\n\tkick_rat" - "e\030$ \001(\002\"\224\002\n\rInterceptInfo\0220\n\013action_type" - "\030\001 \001(\0162\033.protos.InterceptActionType\022\022\n\nt" - "urn_steps\030\002 \001(\005\022\022\n\nturn_angle\030\003 \001(\002\022\022\n\nd" - "ash_steps\030\004 \001(\005\022\022\n\ndash_power\030\005 \001(\002\022\020\n\010d" - "ash_dir\030\006 \001(\002\0220\n\023final_self_position\030\007 \001" - "(\0132\023.protos.RpcVector2D\022\027\n\017final_ball_di" - "st\030\010 \001(\002\022\025\n\rfinal_stamina\030\t \001(\002\022\r\n\005value" - "\030\n \001(\002\"\336\002\n\016InterceptTable\022\030\n\020self_reach_" - "steps\030\001 \001(\005\022\"\n\032first_teammate_reach_step" - "s\030\002 \001(\005\022#\n\033second_teammate_reach_steps\030\003" - " \001(\005\022\"\n\032first_opponent_reach_steps\030\004 \001(\005" - "\022#\n\033second_opponent_reach_steps\030\005 \001(\005\022\031\n" - "\021first_teammate_id\030\006 \001(\005\022\032\n\022second_teamm" - "ate_id\030\007 \001(\005\022\031\n\021first_opponent_id\030\010 \001(\005\022" - "\032\n\022second_opponent_id\030\t \001(\005\0222\n\023self_inte" - "rcept_info\030\n \003(\0132\025.protos.InterceptInfo\"" - "\221\n\n\nWorldModel\022/\n\017intercept_table\030\001 \001(\0132" - "\026.protos.InterceptTable\022\025\n\rour_team_name" - "\030\002 \001(\t\022\027\n\017their_team_name\030\003 \001(\t\022\036\n\010our_s" - "ide\030\004 \001(\0162\014.protos.Side\022 \n\030last_set_play" - "_start_time\030\005 \001(\005\022\032\n\004self\030\006 \001(\0132\014.protos" - ".Self\022\032\n\004ball\030\007 \001(\0132\014.protos.Ball\022!\n\ttea" - "mmates\030\010 \003(\0132\016.protos.Player\022!\n\topponent" - "s\030\t \003(\0132\016.protos.Player\022 \n\010unknowns\030\n \003(" - "\0132\016.protos.Player\022@\n\020our_players_dict\030\013 " - "\003(\0132&.protos.WorldModel.OurPlayersDictEn" - "try\022D\n\022their_players_dict\030\014 \003(\0132(.protos" - ".WorldModel.TheirPlayersDictEntry\022!\n\031our" - "_goalie_uniform_number\030\r \001(\005\022#\n\033their_go" - "alie_uniform_number\030\016 \001(\005\022\026\n\016offside_lin" - "e_x\030\017 \001(\002\022\033\n\023ofside_line_x_count\030\020 \001(\005\022\034" - "\n\024kickable_teammate_id\030\021 \001(\005\022\034\n\024kickable" - "_opponent_id\030\022 \001(\005\022$\n\016last_kick_side\030\023 \001" - "(\0162\014.protos.Side\022\"\n\032last_kicker_uniform_" - "number\030\024 \001(\005\022\r\n\005cycle\030\025 \001(\005\022,\n\016game_mode" - "_type\030\026 \001(\0162\024.protos.GameModeType\022\027\n\017lef" - "t_team_score\030\027 \001(\005\022\030\n\020right_team_score\030\030" - " \001(\005\022\027\n\017is_our_set_play\030\031 \001(\010\022\031\n\021is_thei" - "r_set_play\030\032 \001(\010\022\024\n\014stoped_cycle\030\033 \001(\005\022\026" - "\n\016our_team_score\030\034 \001(\005\022\030\n\020their_team_sco" - "re\030\035 \001(\005\022\034\n\024is_penalty_kick_mode\030\036 \001(\010\022J" - "\n\025helios_home_positions\030\037 \003(\0132+.protos.W" - "orldModel.HeliosHomePositionsEntry\032E\n\023Ou" - "rPlayersDictEntry\022\013\n\003key\030\001 \001(\005\022\035\n\005value\030" - "\002 \001(\0132\016.protos.Player:\0028\001\032G\n\025TheirPlayer" - "sDictEntry\022\013\n\003key\030\001 \001(\005\022\035\n\005value\030\002 \001(\0132\016" - ".protos.Player:\0028\001\032O\n\030HeliosHomePosition" - "sEntry\022\013\n\003key\030\001 \001(\005\022\"\n\005value\030\002 \001(\0132\023.pro" - "tos.RpcVector2D:\0028\001\"\254\001\n\005State\0223\n\021registe" - "r_response\030\001 \001(\0132\030.protos.RegisterRespon" - "se\022\'\n\013world_model\030\002 \001(\0132\022.protos.WorldMo" - "del\022,\n\020full_world_model\030\003 \001(\0132\022.protos.W" - "orldModel\022\027\n\017need_preprocess\030\004 \001(\010\"V\n\013In" - "itMessage\0223\n\021register_response\030\001 \001(\0132\030.p" - "rotos.RegisterResponse\022\022\n\ndebug_mode\030\002 \001" - "(\010\"1\n\004Dash\022\r\n\005power\030\001 \001(\002\022\032\n\022relative_di" - "rection\030\002 \001(\002\"\"\n\004Turn\022\032\n\022relative_direct" - "ion\030\001 \001(\002\"1\n\004Kick\022\r\n\005power\030\001 \001(\002\022\032\n\022rela" - "tive_direction\030\002 \001(\002\",\n\006Tackle\022\024\n\014power_" - "or_dir\030\001 \001(\002\022\014\n\004foul\030\002 \001(\010\"\007\n\005Catch\"\034\n\004M" - "ove\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"\032\n\010TurnNeck\022\016\n" - "\006moment\030\001 \001(\002\"3\n\nChangeView\022%\n\nview_widt" - "h\030\001 \001(\0162\021.protos.ViewWidth\"e\n\013BallMessag" - "e\022*\n\rball_position\030\001 \001(\0132\023.protos.RpcVec" - "tor2D\022*\n\rball_velocity\030\002 \001(\0132\023.protos.Rp" - "cVector2D\"\263\001\n\013PassMessage\022\037\n\027receiver_un" - "iform_number\030\001 \001(\005\022+\n\016receiver_point\030\002 \001" - "(\0132\023.protos.RpcVector2D\022*\n\rball_position" - "\030\003 \001(\0132\023.protos.RpcVector2D\022*\n\rball_velo" - "city\030\004 \001(\0132\023.protos.RpcVector2D\"F\n\020Inter" - "ceptMessage\022\013\n\003our\030\001 \001(\010\022\026\n\016uniform_numb" - "er\030\002 \001(\005\022\r\n\005cycle\030\003 \001(\005\"{\n\rGoalieMessage" - "\022\035\n\025goalie_uniform_number\030\001 \001(\005\022,\n\017goali" - "e_position\030\002 \001(\0132\023.protos.RpcVector2D\022\035\n" - "\025goalie_body_direction\030\003 \001(\002\"\321\001\n\026GoalieA" - "ndPlayerMessage\022\035\n\025goalie_uniform_number" - "\030\001 \001(\005\022,\n\017goalie_position\030\002 \001(\0132\023.protos" - ".RpcVector2D\022\035\n\025goalie_body_direction\030\003 " - "\001(\002\022\035\n\025player_uniform_number\030\004 \001(\005\022,\n\017pl" - "ayer_position\030\005 \001(\0132\023.protos.RpcVector2D" - "\",\n\022OffsideLineMessage\022\026\n\016offside_line_x" - "\030\001 \001(\002\",\n\022DefenseLineMessage\022\026\n\016defense_" - "line_x\030\001 \001(\002\"\024\n\022WaitRequestMessage\"#\n\016Se" - "tplayMessage\022\021\n\twait_step\030\001 \001(\005\"\?\n\022PassR" - "equestMessage\022)\n\014target_point\030\001 \001(\0132\023.pr" - "otos.RpcVector2D\"!\n\016StaminaMessage\022\017\n\007st" - "amina\030\001 \001(\002\"#\n\017RecoveryMessage\022\020\n\010recove" - "ry\030\001 \001(\002\"2\n\026StaminaCapacityMessage\022\030\n\020st" - "amina_capacity\030\001 \001(\002\"P\n\016DribbleMessage\022)" - "\n\014target_point\030\001 \001(\0132\023.protos.RpcVector2" - "D\022\023\n\013queue_count\030\002 \001(\005\"\270\001\n\021BallGoalieMes" - "sage\022*\n\rball_position\030\001 \001(\0132\023.protos.Rpc" - "Vector2D\022*\n\rball_velocity\030\002 \001(\0132\023.protos" - ".RpcVector2D\022,\n\017goalie_position\030\003 \001(\0132\023." - "protos.RpcVector2D\022\035\n\025goalie_body_direct" - "ion\030\004 \001(\002\"Q\n\020OnePlayerMessage\022\026\n\016uniform" - "_number\030\001 \001(\005\022%\n\010position\030\002 \001(\0132\023.protos" - ".RpcVector2D\"\252\001\n\020TwoPlayerMessage\022\034\n\024fir" - "st_uniform_number\030\001 \001(\005\022+\n\016first_positio" - "n\030\002 \001(\0132\023.protos.RpcVector2D\022\035\n\025second_u" - "niform_number\030\003 \001(\005\022,\n\017second_position\030\004" - " \001(\0132\023.protos.RpcVector2D\"\367\001\n\022ThreePlaye" - "rMessage\022\034\n\024first_uniform_number\030\001 \001(\005\022+" - "\n\016first_position\030\002 \001(\0132\023.protos.RpcVecto" - "r2D\022\035\n\025second_uniform_number\030\003 \001(\005\022,\n\017se" - "cond_position\030\004 \001(\0132\023.protos.RpcVector2D" - "\022\034\n\024third_uniform_number\030\005 \001(\005\022+\n\016third_" - "position\030\006 \001(\0132\023.protos.RpcVector2D\"l\n\013S" - "elfMessage\022*\n\rself_position\030\001 \001(\0132\023.prot" - "os.RpcVector2D\022\033\n\023self_body_direction\030\002 " - "\001(\002\022\024\n\014self_stamina\030\003 \001(\002\"h\n\017TeammateMes" + "e\030$ \001(\002\022\020\n\010recovery\030% \001(\002\022\030\n\020stamina_cap" + "acity\030& \001(\002\"\224\002\n\rInterceptInfo\0220\n\013action_" + "type\030\001 \001(\0162\033.protos.InterceptActionType\022" + "\022\n\nturn_steps\030\002 \001(\005\022\022\n\nturn_angle\030\003 \001(\002\022" + "\022\n\ndash_steps\030\004 \001(\005\022\022\n\ndash_power\030\005 \001(\002\022" + "\020\n\010dash_dir\030\006 \001(\002\0220\n\023final_self_position" + "\030\007 \001(\0132\023.protos.RpcVector2D\022\027\n\017final_bal" + "l_dist\030\010 \001(\002\022\025\n\rfinal_stamina\030\t \001(\002\022\r\n\005v" + "alue\030\n \001(\002\"\336\002\n\016InterceptTable\022\030\n\020self_re" + "ach_steps\030\001 \001(\005\022\"\n\032first_teammate_reach_" + "steps\030\002 \001(\005\022#\n\033second_teammate_reach_ste" + "ps\030\003 \001(\005\022\"\n\032first_opponent_reach_steps\030\004" + " \001(\005\022#\n\033second_opponent_reach_steps\030\005 \001(" + "\005\022\031\n\021first_teammate_id\030\006 \001(\005\022\032\n\022second_t" + "eammate_id\030\007 \001(\005\022\031\n\021first_opponent_id\030\010 " + "\001(\005\022\032\n\022second_opponent_id\030\t \001(\005\0222\n\023self_" + "intercept_info\030\n \003(\0132\025.protos.InterceptI" + "nfo\"\223\013\n\nWorldModel\022/\n\017intercept_table\030\001 " + "\001(\0132\026.protos.InterceptTable\022\025\n\rour_team_" + "name\030\002 \001(\t\022\027\n\017their_team_name\030\003 \001(\t\022\036\n\010o" + "ur_side\030\004 \001(\0162\014.protos.Side\022 \n\030last_set_" + "play_start_time\030\005 \001(\005\022\032\n\004self\030\006 \001(\0132\014.pr" + "otos.Self\022\032\n\004ball\030\007 \001(\0132\014.protos.Ball\022!\n" + "\tteammates\030\010 \003(\0132\016.protos.Player\022!\n\toppo" + "nents\030\t \003(\0132\016.protos.Player\022 \n\010unknowns\030" + "\n \003(\0132\016.protos.Player\022@\n\020our_players_dic" + "t\030\013 \003(\0132&.protos.WorldModel.OurPlayersDi" + "ctEntry\022D\n\022their_players_dict\030\014 \003(\0132(.pr" + "otos.WorldModel.TheirPlayersDictEntry\022!\n" + "\031our_goalie_uniform_number\030\r \001(\005\022#\n\033thei" + "r_goalie_uniform_number\030\016 \001(\005\022\026\n\016offside" + "_line_x\030\017 \001(\002\022\033\n\023ofside_line_x_count\030\020 \001" + "(\005\022\034\n\024kickable_teammate_id\030\021 \001(\005\022\034\n\024kick" + "able_opponent_id\030\022 \001(\005\022$\n\016last_kick_side" + "\030\023 \001(\0162\014.protos.Side\022\"\n\032last_kicker_unif" + "orm_number\030\024 \001(\005\022\r\n\005cycle\030\025 \001(\005\022,\n\016game_" + "mode_type\030\026 \001(\0162\024.protos.GameModeType\022\027\n" + "\017left_team_score\030\027 \001(\005\022\030\n\020right_team_sco" + "re\030\030 \001(\005\022\027\n\017is_our_set_play\030\031 \001(\010\022\031\n\021is_" + "their_set_play\030\032 \001(\010\022\024\n\014stoped_cycle\030\033 \001" + "(\005\022\026\n\016our_team_score\030\034 \001(\005\022\030\n\020their_team" + "_score\030\035 \001(\005\022\034\n\024is_penalty_kick_mode\030\036 \001" + "(\010\022J\n\025helios_home_positions\030\037 \003(\0132+.prot" + "os.WorldModel.HeliosHomePositionsEntry\022\032" + "\n\022our_defense_line_x\030 \001(\001\022\034\n\024their_defe" + "nse_line_x\030! \001(\001\022!\n\031our_defense_player_l" + "ine_x\030\" \001(\001\022#\n\033their_defense_player_line" + "_x\030# \001(\001\032E\n\023OurPlayersDictEntry\022\013\n\003key\030\001" + " \001(\005\022\035\n\005value\030\002 \001(\0132\016.protos.Player:\0028\001\032" + "G\n\025TheirPlayersDictEntry\022\013\n\003key\030\001 \001(\005\022\035\n" + "\005value\030\002 \001(\0132\016.protos.Player:\0028\001\032O\n\030Heli" + "osHomePositionsEntry\022\013\n\003key\030\001 \001(\005\022\"\n\005val" + "ue\030\002 \001(\0132\023.protos.RpcVector2D:\0028\001\"\254\001\n\005St" + "ate\0223\n\021register_response\030\001 \001(\0132\030.protos." + "RegisterResponse\022\'\n\013world_model\030\002 \001(\0132\022." + "protos.WorldModel\022,\n\020full_world_model\030\003 " + "\001(\0132\022.protos.WorldModel\022\027\n\017need_preproce" + "ss\030\004 \001(\010\"V\n\013InitMessage\0223\n\021register_resp" + "onse\030\001 \001(\0132\030.protos.RegisterResponse\022\022\n\n" + "debug_mode\030\002 \001(\010\"1\n\004Dash\022\r\n\005power\030\001 \001(\002\022" + "\032\n\022relative_direction\030\002 \001(\002\"\"\n\004Turn\022\032\n\022r" + "elative_direction\030\001 \001(\002\"1\n\004Kick\022\r\n\005power" + "\030\001 \001(\002\022\032\n\022relative_direction\030\002 \001(\002\",\n\006Ta" + "ckle\022\024\n\014power_or_dir\030\001 \001(\002\022\014\n\004foul\030\002 \001(\010" + "\"\007\n\005Catch\"\034\n\004Move\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"" + "\032\n\010TurnNeck\022\016\n\006moment\030\001 \001(\002\"3\n\nChangeVie" + "w\022%\n\nview_width\030\001 \001(\0162\021.protos.ViewWidth" + "\"e\n\013BallMessage\022*\n\rball_position\030\001 \001(\0132\023" + ".protos.RpcVector2D\022*\n\rball_velocity\030\002 \001" + "(\0132\023.protos.RpcVector2D\"\263\001\n\013PassMessage\022" + "\037\n\027receiver_uniform_number\030\001 \001(\005\022+\n\016rece" + "iver_point\030\002 \001(\0132\023.protos.RpcVector2D\022*\n" + "\rball_position\030\003 \001(\0132\023.protos.RpcVector2" + "D\022*\n\rball_velocity\030\004 \001(\0132\023.protos.RpcVec" + "tor2D\"F\n\020InterceptMessage\022\013\n\003our\030\001 \001(\010\022\026" + "\n\016uniform_number\030\002 \001(\005\022\r\n\005cycle\030\003 \001(\005\"{\n" + "\rGoalieMessage\022\035\n\025goalie_uniform_number\030" + "\001 \001(\005\022,\n\017goalie_position\030\002 \001(\0132\023.protos." + "RpcVector2D\022\035\n\025goalie_body_direction\030\003 \001" + "(\002\"\321\001\n\026GoalieAndPlayerMessage\022\035\n\025goalie_" + "uniform_number\030\001 \001(\005\022,\n\017goalie_position\030" + "\002 \001(\0132\023.protos.RpcVector2D\022\035\n\025goalie_bod" + "y_direction\030\003 \001(\002\022\035\n\025player_uniform_numb" + "er\030\004 \001(\005\022,\n\017player_position\030\005 \001(\0132\023.prot" + "os.RpcVector2D\",\n\022OffsideLineMessage\022\026\n\016" + "offside_line_x\030\001 \001(\002\",\n\022DefenseLineMessa" + "ge\022\026\n\016defense_line_x\030\001 \001(\002\"\024\n\022WaitReques" + "tMessage\"#\n\016SetplayMessage\022\021\n\twait_step\030" + "\001 \001(\005\"\?\n\022PassRequestMessage\022)\n\014target_po" + "int\030\001 \001(\0132\023.protos.RpcVector2D\"!\n\016Stamin" + "aMessage\022\017\n\007stamina\030\001 \001(\002\"#\n\017RecoveryMes" + "sage\022\020\n\010recovery\030\001 \001(\002\"2\n\026StaminaCapacit" + "yMessage\022\030\n\020stamina_capacity\030\001 \001(\002\"P\n\016Dr" + "ibbleMessage\022)\n\014target_point\030\001 \001(\0132\023.pro" + "tos.RpcVector2D\022\023\n\013queue_count\030\002 \001(\005\"\270\001\n" + "\021BallGoalieMessage\022*\n\rball_position\030\001 \001(" + "\0132\023.protos.RpcVector2D\022*\n\rball_velocity\030" + "\002 \001(\0132\023.protos.RpcVector2D\022,\n\017goalie_pos" + "ition\030\003 \001(\0132\023.protos.RpcVector2D\022\035\n\025goal" + "ie_body_direction\030\004 \001(\002\"Q\n\020OnePlayerMess" + "age\022\026\n\016uniform_number\030\001 \001(\005\022%\n\010position\030" + "\002 \001(\0132\023.protos.RpcVector2D\"\252\001\n\020TwoPlayer" + "Message\022\034\n\024first_uniform_number\030\001 \001(\005\022+\n" + "\016first_position\030\002 \001(\0132\023.protos.RpcVector" + "2D\022\035\n\025second_uniform_number\030\003 \001(\005\022,\n\017sec" + "ond_position\030\004 \001(\0132\023.protos.RpcVector2D\"" + "\367\001\n\022ThreePlayerMessage\022\034\n\024first_uniform_" + "number\030\001 \001(\005\022+\n\016first_position\030\002 \001(\0132\023.p" + "rotos.RpcVector2D\022\035\n\025second_uniform_numb" + "er\030\003 \001(\005\022,\n\017second_position\030\004 \001(\0132\023.prot" + "os.RpcVector2D\022\034\n\024third_uniform_number\030\005" + " \001(\005\022+\n\016third_position\030\006 \001(\0132\023.protos.Rp" + "cVector2D\"l\n\013SelfMessage\022*\n\rself_positio" + "n\030\001 \001(\0132\023.protos.RpcVector2D\022\033\n\023self_bod" + "y_direction\030\002 \001(\002\022\024\n\014self_stamina\030\003 \001(\002\"" + "h\n\017TeammateMessage\022\026\n\016uniform_number\030\001 \001" + "(\005\022%\n\010position\030\002 \001(\0132\023.protos.RpcVector2" + "D\022\026\n\016body_direction\030\003 \001(\002\"h\n\017OpponentMes" "sage\022\026\n\016uniform_number\030\001 \001(\005\022%\n\010position" "\030\002 \001(\0132\023.protos.RpcVector2D\022\026\n\016body_dire" - "ction\030\003 \001(\002\"h\n\017OpponentMessage\022\026\n\016unifor" - "m_number\030\001 \001(\005\022%\n\010position\030\002 \001(\0132\023.proto" - "s.RpcVector2D\022\026\n\016body_direction\030\003 \001(\002\"\311\001" - "\n\021BallPlayerMessage\022*\n\rball_position\030\001 \001" - "(\0132\023.protos.RpcVector2D\022*\n\rball_velocity" - "\030\002 \001(\0132\023.protos.RpcVector2D\022\026\n\016uniform_n" - "umber\030\003 \001(\005\022,\n\017player_position\030\004 \001(\0132\023.p" - "rotos.RpcVector2D\022\026\n\016body_direction\030\005 \001(" - "\002\"\320\t\n\003Say\022+\n\014ball_message\030\001 \001(\0132\023.protos" - ".BallMessageH\000\022+\n\014pass_message\030\002 \001(\0132\023.p" - "rotos.PassMessageH\000\0225\n\021intercept_message" - "\030\003 \001(\0132\030.protos.InterceptMessageH\000\022/\n\016go" - "alie_message\030\004 \001(\0132\025.protos.GoalieMessag" - "eH\000\022C\n\031goalie_and_player_message\030\005 \001(\0132\036" - ".protos.GoalieAndPlayerMessageH\000\022:\n\024offs" - "ide_line_message\030\006 \001(\0132\032.protos.OffsideL" - "ineMessageH\000\022:\n\024defense_line_message\030\007 \001" - "(\0132\032.protos.DefenseLineMessageH\000\022:\n\024wait" - "_request_message\030\010 \001(\0132\032.protos.WaitRequ" - "estMessageH\000\0221\n\017setplay_message\030\t \001(\0132\026." - "protos.SetplayMessageH\000\022:\n\024pass_request_" - "message\030\n \001(\0132\032.protos.PassRequestMessag" - "eH\000\0221\n\017stamina_message\030\013 \001(\0132\026.protos.St" - "aminaMessageH\000\0223\n\020recovery_message\030\014 \001(\013" - "2\027.protos.RecoveryMessageH\000\022B\n\030stamina_c" - "apacity_message\030\r \001(\0132\036.protos.StaminaCa" - "pacityMessageH\000\0221\n\017dribble_message\030\016 \001(\013" - "2\026.protos.DribbleMessageH\000\0228\n\023ball_goali" - "e_message\030\017 \001(\0132\031.protos.BallGoalieMessa" - "geH\000\0226\n\022one_player_message\030\020 \001(\0132\030.proto" - "s.OnePlayerMessageH\000\0226\n\022two_player_messa" - "ge\030\021 \001(\0132\030.protos.TwoPlayerMessageH\000\022:\n\024" - "three_player_message\030\022 \001(\0132\032.protos.Thre" - "ePlayerMessageH\000\022+\n\014self_message\030\023 \001(\0132\023" - ".protos.SelfMessageH\000\0223\n\020teammate_messag" - "e\030\024 \001(\0132\027.protos.TeammateMessageH\000\0223\n\020op" - "ponent_message\030\025 \001(\0132\027.protos.OpponentMe" - "ssageH\000\0228\n\023ball_player_message\030\026 \001(\0132\031.p" - "rotos.BallPlayerMessageH\000B\t\n\007message\"\037\n\007" - "PointTo\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"\013\n\tPointTo" - "Of\"7\n\013AttentionTo\022\032\n\004side\030\001 \001(\0162\014.protos" - ".Side\022\014\n\004unum\030\002 \001(\005\"\017\n\rAttentionToOf\">\n\007" - "AddText\022\"\n\005level\030\001 \001(\0162\023.protos.LoggerLe" - "vel\022\017\n\007message\030\002 \001(\t\"a\n\010AddPoint\022\"\n\005leve" - "l\030\001 \001(\0162\023.protos.LoggerLevel\022\"\n\005point\030\002 " - "\001(\0132\023.protos.RpcVector2D\022\r\n\005color\030\003 \001(\t\"" - "\202\001\n\007AddLine\022\"\n\005level\030\001 \001(\0162\023.protos.Logg" - "erLevel\022\"\n\005start\030\002 \001(\0132\023.protos.RpcVecto" - "r2D\022 \n\003end\030\003 \001(\0132\023.protos.RpcVector2D\022\r\n" - "\005color\030\004 \001(\t\"\231\001\n\006AddArc\022\"\n\005level\030\001 \001(\0162\023" - ".protos.LoggerLevel\022#\n\006center\030\002 \001(\0132\023.pr" - "otos.RpcVector2D\022\016\n\006radius\030\003 \001(\002\022\023\n\013star" - "t_angle\030\004 \001(\002\022\022\n\nspan_angel\030\005 \001(\002\022\r\n\005col" - "or\030\006 \001(\t\"\201\001\n\tAddCircle\022\"\n\005level\030\001 \001(\0162\023." - "protos.LoggerLevel\022#\n\006center\030\002 \001(\0132\023.pro" - "tos.RpcVector2D\022\016\n\006radius\030\003 \001(\002\022\r\n\005color" - "\030\004 \001(\t\022\014\n\004fill\030\005 \001(\010\"\275\001\n\013AddTriangle\022\"\n\005" - "level\030\001 \001(\0162\023.protos.LoggerLevel\022#\n\006poin" - "t1\030\002 \001(\0132\023.protos.RpcVector2D\022#\n\006point2\030" - "\003 \001(\0132\023.protos.RpcVector2D\022#\n\006point3\030\004 \001" - "(\0132\023.protos.RpcVector2D\022\r\n\005color\030\005 \001(\t\022\014" - "\n\004fill\030\006 \001(\010\"\211\001\n\014AddRectangle\022\"\n\005level\030\001" - " \001(\0162\023.protos.LoggerLevel\022\014\n\004left\030\002 \001(\002\022" - "\013\n\003top\030\003 \001(\002\022\016\n\006length\030\004 \001(\002\022\r\n\005width\030\005 " - "\001(\002\022\r\n\005color\030\006 \001(\t\022\014\n\004fill\030\007 \001(\010\"\302\001\n\tAdd" - "Sector\022\"\n\005level\030\001 \001(\0162\023.protos.LoggerLev" - "el\022#\n\006center\030\002 \001(\0132\023.protos.RpcVector2D\022" - "\022\n\nmin_radius\030\003 \001(\002\022\022\n\nmax_radius\030\004 \001(\002\022" - "\023\n\013start_angle\030\005 \001(\002\022\022\n\nspan_angel\030\006 \001(\002" - "\022\r\n\005color\030\007 \001(\t\022\014\n\004fill\030\010 \001(\010\"w\n\nAddMess" - "age\022\"\n\005level\030\001 \001(\0162\023.protos.LoggerLevel\022" - "%\n\010position\030\002 \001(\0132\023.protos.RpcVector2D\022\017" - "\n\007message\030\003 \001(\t\022\r\n\005color\030\004 \001(\t\"\371\002\n\003Log\022#" - "\n\010add_text\030\001 \001(\0132\017.protos.AddTextH\000\022%\n\ta" - "dd_point\030\002 \001(\0132\020.protos.AddPointH\000\022#\n\010ad" - "d_line\030\003 \001(\0132\017.protos.AddLineH\000\022!\n\007add_a" - "rc\030\004 \001(\0132\016.protos.AddArcH\000\022\'\n\nadd_circle" - "\030\005 \001(\0132\021.protos.AddCircleH\000\022+\n\014add_trian" - "gle\030\006 \001(\0132\023.protos.AddTriangleH\000\022-\n\radd_" - "rectangle\030\007 \001(\0132\024.protos.AddRectangleH\000\022" - "\'\n\nadd_sector\030\010 \001(\0132\021.protos.AddSectorH\000" - "\022)\n\013add_message\030\t \001(\0132\022.protos.AddMessag" - "eH\000B\005\n\003log\"\036\n\013DebugClient\022\017\n\007message\030\001 \001" - "(\t\"o\n\016Body_GoToPoint\022)\n\014target_point\030\001 \001" - "(\0132\023.protos.RpcVector2D\022\032\n\022distance_thre" - "shold\030\002 \001(\002\022\026\n\016max_dash_power\030\003 \001(\002\"\202\001\n\016" - "Body_SmartKick\022)\n\014target_point\030\001 \001(\0132\023.p" - "rotos.RpcVector2D\022\023\n\013first_speed\030\002 \001(\002\022\035" - "\n\025first_speed_threshold\030\003 \001(\002\022\021\n\tmax_ste" - "ps\030\004 \001(\005\"7\n\021Bhv_BeforeKickOff\022\"\n\005point\030\001" - " \001(\0132\023.protos.RpcVector2D\"\024\n\022Bhv_BodyNec" - "kToBall\"9\n\023Bhv_BodyNeckToPoint\022\"\n\005point\030" - "\001 \001(\0132\023.protos.RpcVector2D\"\017\n\rBhv_Emerge" - "ncy\"v\n\025Bhv_GoToPointLookBall\022)\n\014target_p" - "oint\030\001 \001(\0132\023.protos.RpcVector2D\022\032\n\022dista" - "nce_threshold\030\002 \001(\002\022\026\n\016max_dash_power\030\003 " - "\001(\002\"\'\n\022Bhv_NeckBodyToBall\022\021\n\tangle_buf\030\001" - " \001(\002\"L\n\023Bhv_NeckBodyToPoint\022\"\n\005point\030\001 \001" - "(\0132\023.protos.RpcVector2D\022\021\n\tangle_buf\030\002 \001" - "(\002\"\017\n\rBhv_ScanField\"\022\n\020Body_AdvanceBall\"" - "\020\n\016Body_ClearBall\"\214\001\n\014Body_Dribble\022)\n\014ta" + "ction\030\003 \001(\002\"\311\001\n\021BallPlayerMessage\022*\n\rbal" + "l_position\030\001 \001(\0132\023.protos.RpcVector2D\022*\n" + "\rball_velocity\030\002 \001(\0132\023.protos.RpcVector2" + "D\022\026\n\016uniform_number\030\003 \001(\005\022,\n\017player_posi" + "tion\030\004 \001(\0132\023.protos.RpcVector2D\022\026\n\016body_" + "direction\030\005 \001(\002\"\320\t\n\003Say\022+\n\014ball_message\030" + "\001 \001(\0132\023.protos.BallMessageH\000\022+\n\014pass_mes" + "sage\030\002 \001(\0132\023.protos.PassMessageH\000\0225\n\021int" + "ercept_message\030\003 \001(\0132\030.protos.InterceptM" + "essageH\000\022/\n\016goalie_message\030\004 \001(\0132\025.proto" + "s.GoalieMessageH\000\022C\n\031goalie_and_player_m" + "essage\030\005 \001(\0132\036.protos.GoalieAndPlayerMes" + "sageH\000\022:\n\024offside_line_message\030\006 \001(\0132\032.p" + "rotos.OffsideLineMessageH\000\022:\n\024defense_li" + "ne_message\030\007 \001(\0132\032.protos.DefenseLineMes" + "sageH\000\022:\n\024wait_request_message\030\010 \001(\0132\032.p" + "rotos.WaitRequestMessageH\000\0221\n\017setplay_me" + "ssage\030\t \001(\0132\026.protos.SetplayMessageH\000\022:\n" + "\024pass_request_message\030\n \001(\0132\032.protos.Pas" + "sRequestMessageH\000\0221\n\017stamina_message\030\013 \001" + "(\0132\026.protos.StaminaMessageH\000\0223\n\020recovery" + "_message\030\014 \001(\0132\027.protos.RecoveryMessageH" + "\000\022B\n\030stamina_capacity_message\030\r \001(\0132\036.pr" + "otos.StaminaCapacityMessageH\000\0221\n\017dribble" + "_message\030\016 \001(\0132\026.protos.DribbleMessageH\000" + "\0228\n\023ball_goalie_message\030\017 \001(\0132\031.protos.B" + "allGoalieMessageH\000\0226\n\022one_player_message" + "\030\020 \001(\0132\030.protos.OnePlayerMessageH\000\0226\n\022tw" + "o_player_message\030\021 \001(\0132\030.protos.TwoPlaye" + "rMessageH\000\022:\n\024three_player_message\030\022 \001(\013" + "2\032.protos.ThreePlayerMessageH\000\022+\n\014self_m" + "essage\030\023 \001(\0132\023.protos.SelfMessageH\000\0223\n\020t" + "eammate_message\030\024 \001(\0132\027.protos.TeammateM" + "essageH\000\0223\n\020opponent_message\030\025 \001(\0132\027.pro" + "tos.OpponentMessageH\000\0228\n\023ball_player_mes" + "sage\030\026 \001(\0132\031.protos.BallPlayerMessageH\000B" + "\t\n\007message\"\037\n\007PointTo\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 " + "\001(\002\"\013\n\tPointToOf\"7\n\013AttentionTo\022\032\n\004side\030" + "\001 \001(\0162\014.protos.Side\022\014\n\004unum\030\002 \001(\005\"\017\n\rAtt" + "entionToOf\">\n\007AddText\022\"\n\005level\030\001 \001(\0162\023.p" + "rotos.LoggerLevel\022\017\n\007message\030\002 \001(\t\"a\n\010Ad" + "dPoint\022\"\n\005level\030\001 \001(\0162\023.protos.LoggerLev" + "el\022\"\n\005point\030\002 \001(\0132\023.protos.RpcVector2D\022\r" + "\n\005color\030\003 \001(\t\"\202\001\n\007AddLine\022\"\n\005level\030\001 \001(\016" + "2\023.protos.LoggerLevel\022\"\n\005start\030\002 \001(\0132\023.p" + "rotos.RpcVector2D\022 \n\003end\030\003 \001(\0132\023.protos." + "RpcVector2D\022\r\n\005color\030\004 \001(\t\"\231\001\n\006AddArc\022\"\n" + "\005level\030\001 \001(\0162\023.protos.LoggerLevel\022#\n\006cen" + "ter\030\002 \001(\0132\023.protos.RpcVector2D\022\016\n\006radius" + "\030\003 \001(\002\022\023\n\013start_angle\030\004 \001(\002\022\022\n\nspan_ange" + "l\030\005 \001(\002\022\r\n\005color\030\006 \001(\t\"\201\001\n\tAddCircle\022\"\n\005" + "level\030\001 \001(\0162\023.protos.LoggerLevel\022#\n\006cent" + "er\030\002 \001(\0132\023.protos.RpcVector2D\022\016\n\006radius\030" + "\003 \001(\002\022\r\n\005color\030\004 \001(\t\022\014\n\004fill\030\005 \001(\010\"\275\001\n\013A" + "ddTriangle\022\"\n\005level\030\001 \001(\0162\023.protos.Logge" + "rLevel\022#\n\006point1\030\002 \001(\0132\023.protos.RpcVecto" + "r2D\022#\n\006point2\030\003 \001(\0132\023.protos.RpcVector2D" + "\022#\n\006point3\030\004 \001(\0132\023.protos.RpcVector2D\022\r\n" + "\005color\030\005 \001(\t\022\014\n\004fill\030\006 \001(\010\"\211\001\n\014AddRectan" + "gle\022\"\n\005level\030\001 \001(\0162\023.protos.LoggerLevel\022" + "\014\n\004left\030\002 \001(\002\022\013\n\003top\030\003 \001(\002\022\016\n\006length\030\004 \001" + "(\002\022\r\n\005width\030\005 \001(\002\022\r\n\005color\030\006 \001(\t\022\014\n\004fill" + "\030\007 \001(\010\"\302\001\n\tAddSector\022\"\n\005level\030\001 \001(\0162\023.pr" + "otos.LoggerLevel\022#\n\006center\030\002 \001(\0132\023.proto" + "s.RpcVector2D\022\022\n\nmin_radius\030\003 \001(\002\022\022\n\nmax" + "_radius\030\004 \001(\002\022\023\n\013start_angle\030\005 \001(\002\022\022\n\nsp" + "an_angel\030\006 \001(\002\022\r\n\005color\030\007 \001(\t\022\014\n\004fill\030\010 " + "\001(\010\"w\n\nAddMessage\022\"\n\005level\030\001 \001(\0162\023.proto" + "s.LoggerLevel\022%\n\010position\030\002 \001(\0132\023.protos" + ".RpcVector2D\022\017\n\007message\030\003 \001(\t\022\r\n\005color\030\004" + " \001(\t\"\371\002\n\003Log\022#\n\010add_text\030\001 \001(\0132\017.protos." + "AddTextH\000\022%\n\tadd_point\030\002 \001(\0132\020.protos.Ad" + "dPointH\000\022#\n\010add_line\030\003 \001(\0132\017.protos.AddL" + "ineH\000\022!\n\007add_arc\030\004 \001(\0132\016.protos.AddArcH\000" + "\022\'\n\nadd_circle\030\005 \001(\0132\021.protos.AddCircleH" + "\000\022+\n\014add_triangle\030\006 \001(\0132\023.protos.AddTria" + "ngleH\000\022-\n\radd_rectangle\030\007 \001(\0132\024.protos.A" + "ddRectangleH\000\022\'\n\nadd_sector\030\010 \001(\0132\021.prot" + "os.AddSectorH\000\022)\n\013add_message\030\t \001(\0132\022.pr" + "otos.AddMessageH\000B\005\n\003log\"\036\n\013DebugClient\022" + "\017\n\007message\030\001 \001(\t\"o\n\016Body_GoToPoint\022)\n\014ta" "rget_point\030\001 \001(\0132\023.protos.RpcVector2D\022\032\n" - "\022distance_threshold\030\002 \001(\002\022\022\n\ndash_power\030" - "\003 \001(\002\022\022\n\ndash_count\030\004 \001(\005\022\r\n\005dodge\030\005 \001(\010" - "\"T\n\023Body_GoToPointDodge\022)\n\014target_point\030" - "\001 \001(\0132\023.protos.RpcVector2D\022\022\n\ndash_power" - "\030\002 \001(\002\"\200\001\n\rBody_HoldBall\022\017\n\007do_turn\030\001 \001(" - "\010\022.\n\021turn_target_point\030\002 \001(\0132\023.protos.Rp" - "cVector2D\022.\n\021kick_target_point\030\003 \001(\0132\023.p" - "rotos.RpcVector2D\"P\n\016Body_Intercept\022\025\n\rs" - "ave_recovery\030\001 \001(\010\022\'\n\nface_point\030\002 \001(\0132\023" - ".protos.RpcVector2D\"f\n\020Body_KickOneStep\022" - ")\n\014target_point\030\001 \001(\0132\023.protos.RpcVector" - "2D\022\023\n\013first_speed\030\002 \001(\002\022\022\n\nforce_mode\030\003 " - "\001(\010\"\017\n\rBody_StopBall\"&\n\rBody_StopDash\022\025\n" - "\rsave_recovery\030\001 \001(\010\"k\n\022Body_TackleToPoi" - "nt\022)\n\014target_point\030\001 \001(\0132\023.protos.RpcVec" - "tor2D\022\027\n\017min_probability\030\002 \001(\002\022\021\n\tmin_sp" - "eed\030\003 \001(\002\"!\n\020Body_TurnToAngle\022\r\n\005angle\030\001" - " \001(\002\" \n\017Body_TurnToBall\022\r\n\005cycle\030\001 \001(\005\"L" - "\n\020Body_TurnToPoint\022)\n\014target_point\030\001 \001(\013" - "2\023.protos.RpcVector2D\022\r\n\005cycle\030\002 \001(\005\">\n\021" - "Focus_MoveToPoint\022)\n\014target_point\030\001 \001(\0132" - "\023.protos.RpcVector2D\"\r\n\013Focus_Reset\"\020\n\016N" - "eck_ScanField\"\022\n\020Neck_ScanPlayers\"g\n\030Nec" - "k_TurnToBallAndPlayer\022\032\n\004side\030\001 \001(\0162\014.pr" - "otos.Side\022\026\n\016uniform_number\030\002 \001(\005\022\027\n\017cou" - "nt_threshold\030\003 \001(\005\"0\n\025Neck_TurnToBallOrS" - "can\022\027\n\017count_threshold\030\001 \001(\005\"\021\n\017Neck_Tur" - "nToBall\"2\n\027Neck_TurnToGoalieOrScan\022\027\n\017co" - "unt_threshold\030\001 \001(\005\"\034\n\032Neck_TurnToLowCon" - "fTeammate\"f\n\027Neck_TurnToPlayerOrScan\022\032\n\004" - "side\030\001 \001(\0162\014.protos.Side\022\026\n\016uniform_numb" - "er\030\002 \001(\005\022\027\n\017count_threshold\030\003 \001(\005\"=\n\020Nec" - "k_TurnToPoint\022)\n\014target_point\030\001 \001(\0132\023.pr" - "otos.RpcVector2D\"$\n\023Neck_TurnToRelative\022" - "\r\n\005angle\030\001 \001(\002\"9\n\020View_ChangeWidth\022%\n\nvi" - "ew_width\030\001 \001(\0162\021.protos.ViewWidth\"\r\n\013Vie" - "w_Normal\"\014\n\nView_Synch\"\013\n\tView_Wide\"\016\n\014H" - "eliosGoalie\"\022\n\020HeliosGoalieMove\"\022\n\020Helio" - "sGoalieKick\"\r\n\013HeliosShoot\"\356\001\n\021HeliosCha" - "inAction\022\023\n\013direct_pass\030\001 \001(\010\022\021\n\tlead_pa" - "ss\030\002 \001(\010\022\024\n\014through_pass\030\003 \001(\010\022\025\n\rshort_" - "dribble\030\004 \001(\010\022\024\n\014long_dribble\030\005 \001(\010\022\r\n\005c" - "ross\030\006 \001(\010\022\023\n\013simple_pass\030\007 \001(\010\022\026\n\016simpl" - "e_dribble\030\010 \001(\010\022\024\n\014simple_shoot\030\t \001(\010\022\034\n" - "\024server_side_decision\030\n \001(\010\"\026\n\024HeliosBas" - "icOffensive\"\021\n\017HeliosBasicMove\"\017\n\rHelios" - "SetPlay\"\017\n\rHeliosPenalty\"\024\n\022HeliosCommun" - "icaion\"\343\031\n\014PlayerAction\022\034\n\004dash\030\001 \001(\0132\014." - "protos.DashH\000\022\034\n\004turn\030\002 \001(\0132\014.protos.Tur" - "nH\000\022\034\n\004kick\030\003 \001(\0132\014.protos.KickH\000\022 \n\006tac" - "kle\030\004 \001(\0132\016.protos.TackleH\000\022\036\n\005catch\030\005 \001" - "(\0132\r.protos.CatchH\000\022\034\n\004move\030\006 \001(\0132\014.prot" - "os.MoveH\000\022%\n\tturn_neck\030\007 \001(\0132\020.protos.Tu" - "rnNeckH\000\022)\n\013change_view\030\010 \001(\0132\022.protos.C" - "hangeViewH\000\022\032\n\003say\030\t \001(\0132\013.protos.SayH\000\022" - "#\n\010point_to\030\n \001(\0132\017.protos.PointToH\000\022(\n\013" - "point_to_of\030\013 \001(\0132\021.protos.PointToOfH\000\022+" - "\n\014attention_to\030\014 \001(\0132\023.protos.AttentionT" - "oH\000\0220\n\017attention_to_of\030\r \001(\0132\025.protos.At" - "tentionToOfH\000\022\032\n\003log\030\016 \001(\0132\013.protos.LogH" - "\000\022+\n\014debug_client\030\017 \001(\0132\023.protos.DebugCl" - "ientH\000\0222\n\020body_go_to_point\030\020 \001(\0132\026.proto" - "s.Body_GoToPointH\000\0221\n\017body_smart_kick\030\021 " - "\001(\0132\026.protos.Body_SmartKickH\000\0228\n\023bhv_bef" - "ore_kick_off\030\022 \001(\0132\031.protos.Bhv_BeforeKi" - "ckOffH\000\022;\n\025bhv_body_neck_to_ball\030\023 \001(\0132\032" - ".protos.Bhv_BodyNeckToBallH\000\022=\n\026bhv_body" - "_neck_to_point\030\024 \001(\0132\033.protos.Bhv_BodyNe" - "ckToPointH\000\022.\n\rbhv_emergency\030\025 \001(\0132\025.pro" - "tos.Bhv_EmergencyH\000\022B\n\031bhv_go_to_point_l" - "ook_ball\030\026 \001(\0132\035.protos.Bhv_GoToPointLoo" - "kBallH\000\022;\n\025bhv_neck_body_to_ball\030\027 \001(\0132\032" - ".protos.Bhv_NeckBodyToBallH\000\022=\n\026bhv_neck" - "_body_to_point\030\030 \001(\0132\033.protos.Bhv_NeckBo" - "dyToPointH\000\022/\n\016bhv_scan_field\030\031 \001(\0132\025.pr" - "otos.Bhv_ScanFieldH\000\0225\n\021body_advance_bal" - "l\030\032 \001(\0132\030.protos.Body_AdvanceBallH\000\0221\n\017b" - "ody_clear_ball\030\033 \001(\0132\026.protos.Body_Clear" - "BallH\000\022,\n\014body_dribble\030\034 \001(\0132\024.protos.Bo" - "dy_DribbleH\000\022=\n\026body_go_to_point_dodge\030\035" - " \001(\0132\033.protos.Body_GoToPointDodgeH\000\022/\n\016b" - "ody_hold_ball\030\036 \001(\0132\025.protos.Body_HoldBa" - "llH\000\0220\n\016body_intercept\030\037 \001(\0132\026.protos.Bo" - "dy_InterceptH\000\0226\n\022body_kick_one_step\030 \001" - "(\0132\030.protos.Body_KickOneStepH\000\022/\n\016body_s" - "top_ball\030! \001(\0132\025.protos.Body_StopBallH\000\022" - "/\n\016body_stop_dash\030\" \001(\0132\025.protos.Body_St" - "opDashH\000\022:\n\024body_tackle_to_point\030# \001(\0132\032" - ".protos.Body_TackleToPointH\000\0226\n\022body_tur" - "n_to_angle\030$ \001(\0132\030.protos.Body_TurnToAng" - "leH\000\0224\n\021body_turn_to_ball\030% \001(\0132\027.protos" - ".Body_TurnToBallH\000\0226\n\022body_turn_to_point" - "\030& \001(\0132\030.protos.Body_TurnToPointH\000\0228\n\023fo" - "cus_move_to_point\030\' \001(\0132\031.protos.Focus_M" - "oveToPointH\000\022*\n\013focus_reset\030( \001(\0132\023.prot" - "os.Focus_ResetH\000\0221\n\017neck_scan_field\030) \001(" - "\0132\026.protos.Neck_ScanFieldH\000\0225\n\021neck_scan" - "_players\030* \001(\0132\030.protos.Neck_ScanPlayers" - "H\000\022H\n\034neck_turn_to_ball_and_player\030+ \001(\013" - "2 .protos.Neck_TurnToBallAndPlayerH\000\022B\n\031" - "neck_turn_to_ball_or_scan\030, \001(\0132\035.protos" - ".Neck_TurnToBallOrScanH\000\0224\n\021neck_turn_to" - "_ball\030- \001(\0132\027.protos.Neck_TurnToBallH\000\022F" - "\n\033neck_turn_to_goalie_or_scan\030. \001(\0132\037.pr" - "otos.Neck_TurnToGoalieOrScanH\000\022L\n\036neck_t" - "urn_to_low_conf_teammate\030/ \001(\0132\".protos." - "Neck_TurnToLowConfTeammateH\000\022F\n\033neck_tur" - "n_to_player_or_scan\0300 \001(\0132\037.protos.Neck_" - "TurnToPlayerOrScanH\000\0226\n\022neck_turn_to_poi" - "nt\0301 \001(\0132\030.protos.Neck_TurnToPointH\000\022<\n\025" - "neck_turn_to_relative\0302 \001(\0132\033.protos.Nec" - "k_TurnToRelativeH\000\0225\n\021view_change_width\030" - "3 \001(\0132\030.protos.View_ChangeWidthH\000\022*\n\013vie" - "w_normal\0304 \001(\0132\023.protos.View_NormalH\000\022(\n" - "\nview_synch\0305 \001(\0132\022.protos.View_SynchH\000\022" - "&\n\tview_wide\0306 \001(\0132\021.protos.View_WideH\000\022" - "-\n\rhelios_goalie\0307 \001(\0132\024.protos.HeliosGo" - "alieH\000\0226\n\022helios_goalie_move\0308 \001(\0132\030.pro" - "tos.HeliosGoalieMoveH\000\0226\n\022helios_goalie_" - "kick\0309 \001(\0132\030.protos.HeliosGoalieKickH\000\022+" - "\n\014helios_shoot\030: \001(\0132\023.protos.HeliosShoo" - "tH\000\0228\n\023helios_chain_action\030; \001(\0132\031.proto" - "s.HeliosChainActionH\000\022>\n\026helios_basic_of" - "fensive\030< \001(\0132\034.protos.HeliosBasicOffens" - "iveH\000\0224\n\021helios_basic_move\030= \001(\0132\027.proto" - "s.HeliosBasicMoveH\000\0220\n\017helios_set_play\030>" - " \001(\0132\025.protos.HeliosSetPlayH\000\022/\n\016helios_" - "penalty\030\? \001(\0132\025.protos.HeliosPenaltyH\000\022:" - "\n\024helios_communication\030@ \001(\0132\032.protos.He" - "liosCommunicaionH\000B\010\n\006action\"Q\n\rPlayerAc" - "tions\022%\n\007actions\030\001 \003(\0132\024.protos.PlayerAc" - "tion\022\031\n\021ignore_preprocess\030\002 \001(\010\"8\n\020Chang" - "ePlayerType\022\026\n\016uniform_number\030\001 \001(\005\022\014\n\004t" - "ype\030\002 \001(\005\"\024\n\022DoHeliosSubstitute\"\030\n\026DoHel" - "iosSayPlayerTypes\"\322\001\n\013CoachAction\0227\n\023cha" - "nge_player_types\030\001 \001(\0132\030.protos.ChangePl" - "ayerTypeH\000\022:\n\024do_helios_substitute\030\002 \001(\013" - "2\032.protos.DoHeliosSubstituteH\000\022D\n\032do_hel" - "ios_say_player_types\030\003 \001(\0132\036.protos.DoHe" - "liosSayPlayerTypesH\000B\010\n\006action\"4\n\014CoachA" - "ctions\022$\n\007actions\030\001 \003(\0132\023.protos.CoachAc" - "tion\"\013\n\tDoKickOff\"Z\n\nDoMoveBall\022%\n\010posit" - "ion\030\001 \001(\0132\023.protos.RpcVector2D\022%\n\010veloci" - "ty\030\002 \001(\0132\023.protos.RpcVector2D\"w\n\014DoMoveP" - "layer\022\020\n\010our_side\030\001 \001(\010\022\026\n\016uniform_numbe" - "r\030\002 \001(\005\022%\n\010position\030\003 \001(\0132\023.protos.RpcVe" - "ctor2D\022\026\n\016body_direction\030\004 \001(\002\"\013\n\tDoReco" - "ver\"X\n\014DoChangeMode\022,\n\016game_mode_type\030\001 " - "\001(\0162\024.protos.GameModeType\022\032\n\004side\030\002 \001(\0162" - "\014.protos.Side\"L\n\022DoChangePlayerType\022\020\n\010o" - "ur_side\030\001 \001(\010\022\026\n\016uniform_number\030\002 \001(\005\022\014\n" - "\004type\030\003 \001(\005\"\265\002\n\rTrainerAction\022(\n\013do_kick" - "_off\030\001 \001(\0132\021.protos.DoKickOffH\000\022*\n\014do_mo" - "ve_ball\030\002 \001(\0132\022.protos.DoMoveBallH\000\022.\n\016d" - "o_move_player\030\003 \001(\0132\024.protos.DoMovePlaye" - "rH\000\022\'\n\ndo_recover\030\004 \001(\0132\021.protos.DoRecov" - "erH\000\022.\n\016do_change_mode\030\005 \001(\0132\024.protos.Do" - "ChangeModeH\000\022;\n\025do_change_player_type\030\006 " - "\001(\0132\032.protos.DoChangePlayerTypeH\000B\010\n\006act" - "ion\"8\n\016TrainerActions\022&\n\007actions\030\001 \003(\0132\025" - ".protos.TrainerAction\"\335,\n\013ServerParam\0223\n" - "\021register_response\030\001 \001(\0132\030.protos.Regist" - "erResponse\022\026\n\016inertia_moment\030\002 \001(\002\022\023\n\013pl" - "ayer_size\030\003 \001(\002\022\024\n\014player_decay\030\004 \001(\002\022\023\n" - "\013player_rand\030\005 \001(\002\022\025\n\rplayer_weight\030\006 \001(" - "\002\022\030\n\020player_speed_max\030\007 \001(\002\022\030\n\020player_ac" - "cel_max\030\010 \001(\002\022\023\n\013stamina_max\030\t \001(\002\022\027\n\017st" - "amina_inc_max\030\n \001(\002\022\024\n\014recover_init\030\013 \001(" - "\002\022\027\n\017recover_dec_thr\030\014 \001(\002\022\023\n\013recover_mi" - "n\030\r \001(\002\022\023\n\013recover_dec\030\016 \001(\002\022\023\n\013effort_i" - "nit\030\017 \001(\002\022\026\n\016effort_dec_thr\030\020 \001(\002\022\022\n\neff" - "ort_min\030\021 \001(\002\022\022\n\neffort_dec\030\022 \001(\002\022\026\n\016eff" - "ort_inc_thr\030\023 \001(\002\022\022\n\neffort_inc\030\024 \001(\002\022\021\n" - "\tkick_rand\030\025 \001(\002\022\033\n\023team_actuator_noise\030" - "\026 \001(\010\022\034\n\024player_rand_factor_l\030\027 \001(\002\022\034\n\024p" - "layer_rand_factor_r\030\030 \001(\002\022\032\n\022kick_rand_f" - "actor_l\030\031 \001(\002\022\032\n\022kick_rand_factor_r\030\032 \001(" - "\002\022\021\n\tball_size\030\033 \001(\002\022\022\n\nball_decay\030\034 \001(\002" - "\022\021\n\tball_rand\030\035 \001(\002\022\023\n\013ball_weight\030\036 \001(\002" - "\022\026\n\016ball_speed_max\030\037 \001(\002\022\026\n\016ball_accel_m" - "ax\030 \001(\002\022\027\n\017dash_power_rate\030! \001(\002\022\027\n\017kic" - "k_power_rate\030\" \001(\002\022\027\n\017kickable_margin\030# " - "\001(\002\022\026\n\016control_radius\030$ \001(\002\022\034\n\024control_r" - "adius_width\030% \001(\002\022\021\n\tmax_power\030& \001(\002\022\021\n\t" - "min_power\030\' \001(\002\022\022\n\nmax_moment\030( \001(\002\022\022\n\nm" - "in_moment\030) \001(\002\022\027\n\017max_neck_moment\030* \001(\002" - "\022\027\n\017min_neck_moment\030+ \001(\002\022\026\n\016max_neck_an" - "gle\030, \001(\002\022\026\n\016min_neck_angle\030- \001(\002\022\025\n\rvis" - "ible_angle\030. \001(\002\022\030\n\020visible_distance\030/ \001" - "(\002\022\020\n\010wind_dir\0300 \001(\002\022\022\n\nwind_force\0301 \001(\002" - "\022\022\n\nwind_angle\0302 \001(\002\022\021\n\twind_rand\0303 \001(\002\022" - "\025\n\rkickable_area\0304 \001(\002\022\024\n\014catch_area_l\0305" - " \001(\002\022\024\n\014catch_area_w\0306 \001(\002\022\031\n\021catch_prob" - "ability\0307 \001(\002\022\030\n\020goalie_max_moves\0308 \001(\005\022" - "\032\n\022corner_kick_margin\0309 \001(\002\022 \n\030offside_a" - "ctive_area_size\030: \001(\002\022\021\n\twind_none\030; \001(\010" - "\022\027\n\017use_wind_random\030< \001(\010\022\033\n\023coach_say_c" - "ount_max\030= \001(\005\022\032\n\022coach_say_msg_size\030> \001" - "(\005\022\026\n\016clang_win_size\030\? \001(\005\022\030\n\020clang_defi" - "ne_win\030@ \001(\005\022\026\n\016clang_meta_win\030A \001(\005\022\030\n\020" - "clang_advice_win\030B \001(\005\022\026\n\016clang_info_win" - "\030C \001(\005\022\030\n\020clang_mess_delay\030D \001(\005\022\034\n\024clan" - "g_mess_per_cycle\030E \001(\005\022\021\n\thalf_time\030F \001(" - "\005\022\026\n\016simulator_step\030G \001(\005\022\021\n\tsend_step\030H" - " \001(\005\022\021\n\trecv_step\030I \001(\005\022\027\n\017sense_body_st" - "ep\030J \001(\005\022\020\n\010lcm_step\030K \001(\005\022\033\n\023player_say" - "_msg_size\030L \001(\005\022\027\n\017player_hear_max\030M \001(\005" - "\022\027\n\017player_hear_inc\030N \001(\005\022\031\n\021player_hear" - "_decay\030O \001(\005\022\027\n\017catch_ban_cycle\030P \001(\005\022\030\n" - "\020slow_down_factor\030Q \001(\005\022\023\n\013use_offside\030R" - " \001(\010\022\027\n\017kickoff_offside\030S \001(\010\022\033\n\023offside" - "_kick_margin\030T \001(\002\022\026\n\016audio_cut_dist\030U \001" - "(\002\022\032\n\022dist_quantize_step\030V \001(\002\022#\n\033landma" - "rk_dist_quantize_step\030W \001(\002\022\031\n\021dir_quant" - "ize_step\030X \001(\002\022\034\n\024dist_quantize_step_l\030Y" - " \001(\002\022\034\n\024dist_quantize_step_r\030Z \001(\002\022%\n\035la" - "ndmark_dist_quantize_step_l\030[ \001(\002\022%\n\035lan" - "dmark_dist_quantize_step_r\030\\ \001(\002\022\033\n\023dir_" - "quantize_step_l\030] \001(\002\022\033\n\023dir_quantize_st" - "ep_r\030^ \001(\002\022\022\n\ncoach_mode\030_ \001(\010\022\037\n\027coach_" - "with_referee_mode\030` \001(\010\022\032\n\022use_old_coach" - "_hear\030a \001(\010\022%\n\035slowness_on_top_for_left_" - "team\030b \001(\002\022&\n\036slowness_on_top_for_right_" - "team\030c \001(\002\022\024\n\014start_goal_l\030d \001(\005\022\024\n\014star" - "t_goal_r\030e \001(\005\022\023\n\013fullstate_l\030f \001(\010\022\023\n\013f" - "ullstate_r\030g \001(\010\022\026\n\016drop_ball_time\030h \001(\005" - "\022\022\n\nsynch_mode\030i \001(\010\022\024\n\014synch_offset\030j \001" - "(\005\022\031\n\021synch_micro_sleep\030k \001(\005\022\024\n\014point_t" - "o_ban\030l \001(\005\022\031\n\021point_to_duration\030m \001(\005\022\023" - "\n\013player_port\030n \001(\005\022\024\n\014trainer_port\030o \001(" - "\005\022\031\n\021online_coach_port\030p \001(\005\022\024\n\014verbose_" - "mode\030q \001(\010\022\032\n\022coach_send_vi_step\030r \001(\005\022\023" - "\n\013replay_file\030s \001(\t\022\025\n\rlandmark_file\030t \001" - "(\t\022\022\n\nsend_comms\030u \001(\010\022\024\n\014text_logging\030v" - " \001(\010\022\024\n\014game_logging\030w \001(\010\022\030\n\020game_log_v" - "ersion\030x \001(\005\022\024\n\014text_log_dir\030y \001(\t\022\024\n\014ga" - "me_log_dir\030z \001(\t\022\033\n\023text_log_fixed_name\030" - "{ \001(\t\022\033\n\023game_log_fixed_name\030| \001(\t\022\032\n\022us" - "e_text_log_fixed\030} \001(\010\022\032\n\022use_game_log_f" - "ixed\030~ \001(\010\022\032\n\022use_text_log_dated\030\177 \001(\010\022\033" - "\n\022use_game_log_dated\030\200\001 \001(\010\022\030\n\017log_date_" - "format\030\201\001 \001(\t\022\022\n\tlog_times\030\202\001 \001(\010\022\027\n\016rec" - "ord_message\030\203\001 \001(\010\022\035\n\024text_log_compressi" - "on\030\204\001 \001(\005\022\035\n\024game_log_compression\030\205\001 \001(\005" - "\022\024\n\013use_profile\030\206\001 \001(\010\022\024\n\013tackle_dist\030\207\001" - " \001(\002\022\031\n\020tackle_back_dist\030\210\001 \001(\002\022\025\n\014tackl" - "e_width\030\211\001 \001(\002\022\030\n\017tackle_exponent\030\212\001 \001(\002" - "\022\026\n\rtackle_cycles\030\213\001 \001(\005\022\032\n\021tackle_power" - "_rate\030\214\001 \001(\002\022\035\n\024freeform_wait_period\030\215\001 " - "\001(\005\022\035\n\024freeform_send_period\030\216\001 \001(\005\022\031\n\020fr" - "ee_kick_faults\030\217\001 \001(\010\022\024\n\013back_passes\030\220\001 " - "\001(\010\022\032\n\021proper_goal_kicks\030\221\001 \001(\010\022\031\n\020stopp" - "ed_ball_vel\030\222\001 \001(\002\022\027\n\016max_goal_kicks\030\223\001 " - "\001(\005\022\026\n\rclang_del_win\030\224\001 \001(\005\022\027\n\016clang_rul" - "e_win\030\225\001 \001(\005\022\022\n\tauto_mode\030\226\001 \001(\010\022\026\n\rkick" - "_off_wait\030\227\001 \001(\005\022\025\n\014connect_wait\030\230\001 \001(\005\022" - "\027\n\016game_over_wait\030\231\001 \001(\005\022\025\n\014team_l_start" - "\030\232\001 \001(\t\022\025\n\014team_r_start\030\233\001 \001(\t\022\026\n\rkeepaw" - "ay_mode\030\234\001 \001(\010\022\030\n\017keepaway_length\030\235\001 \001(\002" - "\022\027\n\016keepaway_width\030\236\001 \001(\002\022\031\n\020keepaway_lo" - "gging\030\237\001 \001(\010\022\031\n\020keepaway_log_dir\030\240\001 \001(\t\022" - " \n\027keepaway_log_fixed_name\030\241\001 \001(\t\022\033\n\022kee" - "paway_log_fixed\030\242\001 \001(\010\022\033\n\022keepaway_log_d" - "ated\030\243\001 \001(\010\022\027\n\016keepaway_start\030\244\001 \001(\005\022\030\n\017" - "nr_normal_halfs\030\245\001 \001(\005\022\027\n\016nr_extra_halfs" - "\030\246\001 \001(\005\022\033\n\022penalty_shoot_outs\030\247\001 \001(\010\022\036\n\025" - "pen_before_setup_wait\030\250\001 \001(\005\022\027\n\016pen_setu" - "p_wait\030\251\001 \001(\005\022\027\n\016pen_ready_wait\030\252\001 \001(\005\022\027" - "\n\016pen_taken_wait\030\253\001 \001(\005\022\025\n\014pen_nr_kicks\030" - "\254\001 \001(\005\022\034\n\023pen_max_extra_kicks\030\255\001 \001(\005\022\023\n\n" - "pen_dist_x\030\256\001 \001(\002\022\032\n\021pen_random_winner\030\257" - "\001 \001(\010\022\035\n\024pen_allow_mult_kicks\030\260\001 \001(\010\022\036\n\025" - "pen_max_goalie_dist_x\030\261\001 \001(\002\022 \n\027pen_coac" - "h_moves_players\030\262\001 \001(\010\022\023\n\nmodule_dir\030\263\001 " - "\001(\t\022\030\n\017ball_stuck_area\030\264\001 \001(\002\022\027\n\016coach_m" - "sg_file\030\265\001 \001(\t\022\031\n\020max_tackle_power\030\266\001 \001(" - "\002\022\036\n\025max_back_tackle_power\030\267\001 \001(\002\022\035\n\024pla" - "yer_speed_max_min\030\270\001 \001(\002\022\026\n\rextra_stamin" - "a\030\271\001 \001(\002\022\031\n\020synch_see_offset\030\272\001 \001(\005\022\030\n\017e" - "xtra_half_time\030\273\001 \001(\005\022\031\n\020stamina_capacit" - "y\030\274\001 \001(\002\022\027\n\016max_dash_angle\030\275\001 \001(\002\022\027\n\016min" - "_dash_angle\030\276\001 \001(\002\022\030\n\017dash_angle_step\030\277\001" - " \001(\002\022\027\n\016side_dash_rate\030\300\001 \001(\002\022\027\n\016back_da" - "sh_rate\030\301\001 \001(\002\022\027\n\016max_dash_power\030\302\001 \001(\002\022" - "\027\n\016min_dash_power\030\303\001 \001(\002\022\033\n\022tackle_rand_" - "factor\030\304\001 \001(\002\022 \n\027foul_detect_probability" - "\030\305\001 \001(\002\022\026\n\rfoul_exponent\030\306\001 \001(\002\022\024\n\013foul_" - "cycles\030\307\001 \001(\005\022\024\n\013golden_goal\030\310\001 \001(\010\022\035\n\024r" - "ed_card_probability\030\311\001 \001(\002\022!\n\030illegal_de" - "fense_duration\030\312\001 \001(\005\022\037\n\026illegal_defense" - "_number\030\313\001 \001(\005\022\037\n\026illegal_defense_dist_x" - "\030\314\001 \001(\002\022\036\n\025illegal_defense_width\030\315\001 \001(\002\022" - "\031\n\020fixed_teamname_l\030\316\001 \001(\t\022\031\n\020fixed_team" - "name_r\030\317\001 \001(\t\022\030\n\017max_catch_angle\030\320\001 \001(\002\022" - "\030\n\017min_catch_angle\030\321\001 \001(\002\022\024\n\013random_seed" - "\030\322\001 \001(\005\022\037\n\026long_kick_power_factor\030\323\001 \001(\002" - "\022\030\n\017long_kick_delay\030\324\001 \001(\005\022\025\n\014max_monito" - "rs\030\325\001 \001(\005\022\027\n\016catchable_area\030\326\001 \001(\002\022\027\n\016re" - "al_speed_max\030\327\001 \001(\002\022\032\n\021pitch_half_length" - "\030\330\001 \001(\002\022\031\n\020pitch_half_width\030\331\001 \001(\002\022 \n\027ou" - "r_penalty_area_line_x\030\332\001 \001(\002\022\"\n\031their_pe" - "nalty_area_line_x\030\333\001 \001(\002\022 \n\027penalty_area" - "_half_width\030\334\001 \001(\002\022\034\n\023penalty_area_lengt" - "h\030\335\001 \001(\002\022\023\n\ngoal_width\030\336\001 \001(\002\"\215\010\n\013Player" - "Param\0223\n\021register_response\030\001 \001(\0132\030.proto" - "s.RegisterResponse\022\024\n\014player_types\030\002 \001(\005" - "\022\020\n\010subs_max\030\003 \001(\005\022\016\n\006pt_max\030\004 \001(\005\022\037\n\027al" - "low_mult_default_type\030\005 \001(\010\022\"\n\032player_sp" - "eed_max_delta_min\030\006 \001(\002\022\"\n\032player_speed_" - "max_delta_max\030\007 \001(\002\022$\n\034stamina_inc_max_d" - "elta_factor\030\010 \001(\002\022\036\n\026player_decay_delta_" - "min\030\t \001(\002\022\036\n\026player_decay_delta_max\030\n \001(" - "\002\022#\n\033inertia_moment_delta_factor\030\013 \001(\002\022!" - "\n\031dash_power_rate_delta_min\030\014 \001(\002\022!\n\031das" - "h_power_rate_delta_max\030\r \001(\002\022 \n\030player_s" - "ize_delta_factor\030\016 \001(\002\022!\n\031kickable_margi" - "n_delta_min\030\017 \001(\002\022!\n\031kickable_margin_del" - "ta_max\030\020 \001(\002\022\036\n\026kick_rand_delta_factor\030\021" - " \001(\002\022\037\n\027extra_stamina_delta_min\030\022 \001(\002\022\037\n" - "\027extra_stamina_delta_max\030\023 \001(\002\022\037\n\027effort" - "_max_delta_factor\030\024 \001(\002\022\037\n\027effort_min_de" - "lta_factor\030\025 \001(\002\022\023\n\013random_seed\030\026 \001(\005\022%\n" - "\035new_dash_power_rate_delta_min\030\027 \001(\002\022%\n\035" - "new_dash_power_rate_delta_max\030\030 \001(\002\022(\n n" - "ew_stamina_inc_max_delta_factor\030\031 \001(\002\022!\n" - "\031kick_power_rate_delta_min\030\032 \001(\002\022!\n\031kick" - "_power_rate_delta_max\030\033 \001(\002\022,\n$foul_dete" - "ct_probability_delta_factor\030\034 \001(\002\022$\n\034cat" - "chable_area_l_stretch_min\030\035 \001(\002\022$\n\034catch" - "able_area_l_stretch_max\030\036 \001(\002\"\277\007\n\nPlayer" - "Type\0223\n\021register_response\030\001 \001(\0132\030.protos" - ".RegisterResponse\022\n\n\002id\030\002 \001(\005\022\027\n\017stamina" - "_inc_max\030\003 \001(\002\022\024\n\014player_decay\030\004 \001(\002\022\026\n\016" - "inertia_moment\030\005 \001(\002\022\027\n\017dash_power_rate\030" - "\006 \001(\002\022\023\n\013player_size\030\007 \001(\002\022\027\n\017kickable_m" - "argin\030\010 \001(\002\022\021\n\tkick_rand\030\t \001(\002\022\025\n\rextra_" - "stamina\030\n \001(\002\022\022\n\neffort_max\030\013 \001(\002\022\022\n\neff" - "ort_min\030\014 \001(\002\022\027\n\017kick_power_rate\030\r \001(\002\022\037" - "\n\027foul_detect_probability\030\016 \001(\002\022 \n\030catch" - "able_area_l_stretch\030\017 \001(\002\022\027\n\017unum_far_le" - "ngth\030\020 \001(\002\022\033\n\023unum_too_far_length\030\021 \001(\002\022" - "\027\n\017team_far_length\030\022 \001(\002\022\033\n\023team_too_far" - "_length\030\023 \001(\002\022%\n\035player_max_observation_" - "length\030\024 \001(\002\022\033\n\023ball_vel_far_length\030\025 \001(" - "\002\022\037\n\027ball_vel_too_far_length\030\026 \001(\002\022#\n\033ba" - "ll_max_observation_length\030\027 \001(\002\022\033\n\023flag_" - "chg_far_length\030\030 \001(\002\022\037\n\027flag_chg_too_far" - "_length\030\031 \001(\002\022#\n\033flag_max_observation_le" - "ngth\030\032 \001(\002\022\025\n\rkickable_area\030\033 \001(\002\022\037\n\027rel" - "iable_catchable_dist\030\034 \001(\002\022\032\n\022max_catcha" - "ble_dist\030\035 \001(\002\022\026\n\016real_speed_max\030\036 \001(\002\022\031" - "\n\021player_speed_max2\030\037 \001(\002\022\027\n\017real_speed_" - "max2\030 \001(\002\022!\n\031cycles_to_reach_max_speed\030" - "! \001(\005\022\030\n\020player_speed_max\030\" \001(\002\"\255\003\n\024RpcC" - "ooperativeAction\022+\n\010category\030\001 \001(\0162\031.pro" - "tos.RpcActionCategory\022\r\n\005index\030\002 \001(\005\022\023\n\013" - "sender_unum\030\003 \001(\005\022\023\n\013target_unum\030\004 \001(\005\022)" - "\n\014target_point\030\005 \001(\0132\023.protos.RpcVector2" - "D\022\030\n\020first_ball_speed\030\006 \001(\001\022\031\n\021first_tur" - "n_moment\030\007 \001(\001\022\030\n\020first_dash_power\030\010 \001(\001" - "\022!\n\031first_dash_angle_relative\030\t \001(\001\022\025\n\rd" - "uration_step\030\n \001(\005\022\022\n\nkick_count\030\013 \001(\005\022\022" - "\n\nturn_count\030\014 \001(\005\022\022\n\ndash_count\030\r \001(\005\022\024" - "\n\014final_action\030\016 \001(\010\022\023\n\013description\030\017 \001(" - "\t\022\024\n\014parent_index\030\020 \001(\005\"\317\001\n\017RpcPredictSt" - "ate\022\022\n\nspend_time\030\001 \001(\005\022\030\n\020ball_holder_u" - "num\030\002 \001(\005\022*\n\rball_position\030\003 \001(\0132\023.proto" - "s.RpcVector2D\022*\n\rball_velocity\030\004 \001(\0132\023.p" - "rotos.RpcVector2D\022\032\n\022our_defense_line_x\030" - "\005 \001(\001\022\032\n\022our_offense_line_x\030\006 \001(\001\"\202\001\n\016Rp" - "cActionState\022,\n\006action\030\001 \001(\0132\034.protos.Rp" - "cCooperativeAction\022.\n\rpredict_state\030\002 \001(" - "\0132\027.protos.RpcPredictState\022\022\n\nevaluation" - "\030\003 \001(\001\"\357\001\n\030BestPlannerActionRequest\0223\n\021r" - "egister_response\030\001 \001(\0132\030.protos.Register" - "Response\022:\n\005pairs\030\002 \003(\0132+.protos.BestPla" - "nnerActionRequest.PairsEntry\022\034\n\005state\030\003 " - "\001(\0132\r.protos.State\032D\n\nPairsEntry\022\013\n\003key\030" - "\001 \001(\005\022%\n\005value\030\002 \001(\0132\026.protos.RpcActionS" - "tate:\0028\001\"*\n\031BestPlannerActionResponse\022\r\n" - "\005index\030\001 \001(\005\"\007\n\005Empty*-\n\tViewWidth\022\n\n\006NA" - "RROW\020\000\022\n\n\006NORMAL\020\001\022\010\n\004WIDE\020\002*(\n\004Side\022\013\n\007" - "UNKNOWN\020\000\022\010\n\004LEFT\020\001\022\t\n\005RIGHT\020\002*\262\002\n\013Logge" - "rLevel\022\r\n\tNoneLevel\020\000\022\n\n\006SYSTEM\020\001\022\n\n\006SEN" - "SOR\020\002\022\t\n\005WORLD\020\004\022\n\n\006ACTION\020\010\022\r\n\tINTERCEP" - "T\020\020\022\010\n\004KICK\020 \022\010\n\004HOLD\020@\022\014\n\007DRIBBLE\020\200\001\022\t\n" - "\004PASS\020\200\002\022\n\n\005CROSS\020\200\004\022\n\n\005SHOOT\020\200\010\022\n\n\005CLEA" - "R\020\200\020\022\n\n\005BLOCK\020\200 \022\t\n\004MARK\020\200@\022\021\n\013POSITIONI" - "NG\020\200\200\001\022\n\n\004ROLE\020\200\200\002\022\n\n\004TEAM\020\200\200\004\022\023\n\rCOMMUN" - "ICATION\020\200\200\010\022\016\n\010ANALYZER\020\200\200\020\022\022\n\014ACTION_CH" - "AIN\020\200\200 \022\n\n\004PLAN\020\200\200@*v\n\023InterceptActionTy" - "pe\022!\n\035UNKNOWN_Intercept_Action_Type\020\000\022\r\n" - "\tOMNI_DASH\020\001\022\025\n\021TURN_FORWARD_DASH\020\002\022\026\n\022T" - "URN_BACKWARD_DASH\020\003*\273\004\n\014GameModeType\022\021\n\r" - "BeforeKickOff\020\000\022\014\n\010TimeOver\020\001\022\n\n\006PlayOn\020" - "\002\022\014\n\010KickOff_\020\003\022\013\n\007KickIn_\020\004\022\r\n\tFreeKick" - "_\020\005\022\017\n\013CornerKick_\020\006\022\r\n\tGoalKick_\020\007\022\016\n\nA" - "fterGoal_\020\010\022\014\n\010OffSide_\020\t\022\020\n\014PenaltyKick" - "_\020\n\022\021\n\rFirstHalfOver\020\013\022\t\n\005Pause\020\014\022\t\n\005Hum" - "an\020\r\022\017\n\013FoulCharge_\020\016\022\r\n\tFoulPush_\020\017\022\031\n\025" - "FoulMultipleAttacker_\020\020\022\020\n\014FoulBallOut_\020" - "\021\022\r\n\tBackPass_\020\022\022\022\n\016FreeKickFault_\020\023\022\017\n\013" - "CatchFault_\020\024\022\020\n\014IndFreeKick_\020\025\022\021\n\rPenal" - "tySetup_\020\026\022\021\n\rPenaltyReady_\020\027\022\021\n\rPenalty" - "Taken_\020\030\022\020\n\014PenaltyMiss_\020\031\022\021\n\rPenaltySco" - "re_\020\032\022\023\n\017IllegalDefense_\020\033\022\023\n\017PenaltyOnf" - "ield_\020\034\022\020\n\014PenaltyFoul_\020\035\022\020\n\014GoalieCatch" - "_\020\036\022\016\n\nExtendHalf\020\037\022\014\n\010MODE_MAX\020 *2\n\tAge" - "ntType\022\013\n\007PlayerT\020\000\022\n\n\006CoachT\020\001\022\014\n\010Train" - "erT\020\002*w\n\021RpcActionCategory\022\013\n\007AC_Hold\020\000\022" - "\016\n\nAC_Dribble\020\001\022\013\n\007AC_Pass\020\002\022\014\n\010AC_Shoot" - "\020\003\022\014\n\010AC_Clear\020\004\022\013\n\007AC_Move\020\005\022\017\n\013AC_NoAc" - "tion\020\0062\373\004\n\004Game\022:\n\020GetPlayerActions\022\r.pr" - "otos.State\032\025.protos.PlayerActions\"\000\0228\n\017G" - "etCoachActions\022\r.protos.State\032\024.protos.C" - "oachActions\"\000\022<\n\021GetTrainerActions\022\r.pro" - "tos.State\032\026.protos.TrainerActions\"\000\0227\n\017S" - "endInitMessage\022\023.protos.InitMessage\032\r.pr" - "otos.Empty\"\000\0228\n\020SendServerParams\022\023.proto" - "s.ServerParam\032\r.protos.Empty\"\000\0228\n\020SendPl" - "ayerParams\022\023.protos.PlayerParam\032\r.protos" - ".Empty\"\000\0225\n\016SendPlayerType\022\022.protos.Play" - "erType\032\r.protos.Empty\"\000\022\?\n\010Register\022\027.pr" - "otos.RegisterRequest\032\030.protos.RegisterRe" - "sponse\"\000\022;\n\016SendByeCommand\022\030.protos.Regi" - "sterResponse\032\r.protos.Empty\"\000\022]\n\024GetBest" - "PlannerAction\022 .protos.BestPlannerAction" - "Request\032!.protos.BestPlannerActionRespon" - "se\"\000b\006proto3" + "\022distance_threshold\030\002 \001(\002\022\026\n\016max_dash_po" + "wer\030\003 \001(\002\"\202\001\n\016Body_SmartKick\022)\n\014target_p" + "oint\030\001 \001(\0132\023.protos.RpcVector2D\022\023\n\013first" + "_speed\030\002 \001(\002\022\035\n\025first_speed_threshold\030\003 " + "\001(\002\022\021\n\tmax_steps\030\004 \001(\005\"7\n\021Bhv_BeforeKick" + "Off\022\"\n\005point\030\001 \001(\0132\023.protos.RpcVector2D\"" + "\024\n\022Bhv_BodyNeckToBall\"9\n\023Bhv_BodyNeckToP" + "oint\022\"\n\005point\030\001 \001(\0132\023.protos.RpcVector2D" + "\"\017\n\rBhv_Emergency\"v\n\025Bhv_GoToPointLookBa" + "ll\022)\n\014target_point\030\001 \001(\0132\023.protos.RpcVec" + "tor2D\022\032\n\022distance_threshold\030\002 \001(\002\022\026\n\016max" + "_dash_power\030\003 \001(\002\"\'\n\022Bhv_NeckBodyToBall\022" + "\021\n\tangle_buf\030\001 \001(\002\"L\n\023Bhv_NeckBodyToPoin" + "t\022\"\n\005point\030\001 \001(\0132\023.protos.RpcVector2D\022\021\n" + "\tangle_buf\030\002 \001(\002\"\017\n\rBhv_ScanField\"\022\n\020Bod" + "y_AdvanceBall\"\020\n\016Body_ClearBall\"\214\001\n\014Body" + "_Dribble\022)\n\014target_point\030\001 \001(\0132\023.protos." + "RpcVector2D\022\032\n\022distance_threshold\030\002 \001(\002\022" + "\022\n\ndash_power\030\003 \001(\002\022\022\n\ndash_count\030\004 \001(\005\022" + "\r\n\005dodge\030\005 \001(\010\"T\n\023Body_GoToPointDodge\022)\n" + "\014target_point\030\001 \001(\0132\023.protos.RpcVector2D" + "\022\022\n\ndash_power\030\002 \001(\002\"\200\001\n\rBody_HoldBall\022\017" + "\n\007do_turn\030\001 \001(\010\022.\n\021turn_target_point\030\002 \001" + "(\0132\023.protos.RpcVector2D\022.\n\021kick_target_p" + "oint\030\003 \001(\0132\023.protos.RpcVector2D\"P\n\016Body_" + "Intercept\022\025\n\rsave_recovery\030\001 \001(\010\022\'\n\nface" + "_point\030\002 \001(\0132\023.protos.RpcVector2D\"f\n\020Bod" + "y_KickOneStep\022)\n\014target_point\030\001 \001(\0132\023.pr" + "otos.RpcVector2D\022\023\n\013first_speed\030\002 \001(\002\022\022\n" + "\nforce_mode\030\003 \001(\010\"\017\n\rBody_StopBall\"&\n\rBo" + "dy_StopDash\022\025\n\rsave_recovery\030\001 \001(\010\"k\n\022Bo" + "dy_TackleToPoint\022)\n\014target_point\030\001 \001(\0132\023" + ".protos.RpcVector2D\022\027\n\017min_probability\030\002" + " \001(\002\022\021\n\tmin_speed\030\003 \001(\002\"!\n\020Body_TurnToAn" + "gle\022\r\n\005angle\030\001 \001(\002\" \n\017Body_TurnToBall\022\r\n" + "\005cycle\030\001 \001(\005\"L\n\020Body_TurnToPoint\022)\n\014targ" + "et_point\030\001 \001(\0132\023.protos.RpcVector2D\022\r\n\005c" + "ycle\030\002 \001(\005\">\n\021Focus_MoveToPoint\022)\n\014targe" + "t_point\030\001 \001(\0132\023.protos.RpcVector2D\"\r\n\013Fo" + "cus_Reset\"\020\n\016Neck_ScanField\"\022\n\020Neck_Scan" + "Players\"g\n\030Neck_TurnToBallAndPlayer\022\032\n\004s" + "ide\030\001 \001(\0162\014.protos.Side\022\026\n\016uniform_numbe" + "r\030\002 \001(\005\022\027\n\017count_threshold\030\003 \001(\005\"0\n\025Neck" + "_TurnToBallOrScan\022\027\n\017count_threshold\030\001 \001" + "(\005\"\021\n\017Neck_TurnToBall\"2\n\027Neck_TurnToGoal" + "ieOrScan\022\027\n\017count_threshold\030\001 \001(\005\"\034\n\032Nec" + "k_TurnToLowConfTeammate\"f\n\027Neck_TurnToPl" + "ayerOrScan\022\032\n\004side\030\001 \001(\0162\014.protos.Side\022\026" + "\n\016uniform_number\030\002 \001(\005\022\027\n\017count_threshol" + "d\030\003 \001(\005\"=\n\020Neck_TurnToPoint\022)\n\014target_po" + "int\030\001 \001(\0132\023.protos.RpcVector2D\"$\n\023Neck_T" + "urnToRelative\022\r\n\005angle\030\001 \001(\002\"9\n\020View_Cha" + "ngeWidth\022%\n\nview_width\030\001 \001(\0162\021.protos.Vi" + "ewWidth\"\r\n\013View_Normal\"\014\n\nView_Synch\"\013\n\t" + "View_Wide\"\016\n\014HeliosGoalie\"\022\n\020HeliosGoali" + "eMove\"\022\n\020HeliosGoalieKick\"\r\n\013HeliosShoot" + "\"\356\001\n\021HeliosChainAction\022\023\n\013direct_pass\030\001 " + "\001(\010\022\021\n\tlead_pass\030\002 \001(\010\022\024\n\014through_pass\030\003" + " \001(\010\022\025\n\rshort_dribble\030\004 \001(\010\022\024\n\014long_drib" + "ble\030\005 \001(\010\022\r\n\005cross\030\006 \001(\010\022\023\n\013simple_pass\030" + "\007 \001(\010\022\026\n\016simple_dribble\030\010 \001(\010\022\024\n\014simple_" + "shoot\030\t \001(\010\022\034\n\024server_side_decision\030\n \001(" + "\010\"\026\n\024HeliosBasicOffensive\"\021\n\017HeliosBasic" + "Move\"\017\n\rHeliosSetPlay\"\017\n\rHeliosPenalty\"\024" + "\n\022HeliosCommunicaion\"\343\031\n\014PlayerAction\022\034\n" + "\004dash\030\001 \001(\0132\014.protos.DashH\000\022\034\n\004turn\030\002 \001(" + "\0132\014.protos.TurnH\000\022\034\n\004kick\030\003 \001(\0132\014.protos" + ".KickH\000\022 \n\006tackle\030\004 \001(\0132\016.protos.TackleH" + "\000\022\036\n\005catch\030\005 \001(\0132\r.protos.CatchH\000\022\034\n\004mov" + "e\030\006 \001(\0132\014.protos.MoveH\000\022%\n\tturn_neck\030\007 \001" + "(\0132\020.protos.TurnNeckH\000\022)\n\013change_view\030\010 " + "\001(\0132\022.protos.ChangeViewH\000\022\032\n\003say\030\t \001(\0132\013" + ".protos.SayH\000\022#\n\010point_to\030\n \001(\0132\017.protos" + ".PointToH\000\022(\n\013point_to_of\030\013 \001(\0132\021.protos" + ".PointToOfH\000\022+\n\014attention_to\030\014 \001(\0132\023.pro" + "tos.AttentionToH\000\0220\n\017attention_to_of\030\r \001" + "(\0132\025.protos.AttentionToOfH\000\022\032\n\003log\030\016 \001(\013" + "2\013.protos.LogH\000\022+\n\014debug_client\030\017 \001(\0132\023." + "protos.DebugClientH\000\0222\n\020body_go_to_point" + "\030\020 \001(\0132\026.protos.Body_GoToPointH\000\0221\n\017body" + "_smart_kick\030\021 \001(\0132\026.protos.Body_SmartKic" + "kH\000\0228\n\023bhv_before_kick_off\030\022 \001(\0132\031.proto" + "s.Bhv_BeforeKickOffH\000\022;\n\025bhv_body_neck_t" + "o_ball\030\023 \001(\0132\032.protos.Bhv_BodyNeckToBall" + "H\000\022=\n\026bhv_body_neck_to_point\030\024 \001(\0132\033.pro" + "tos.Bhv_BodyNeckToPointH\000\022.\n\rbhv_emergen" + "cy\030\025 \001(\0132\025.protos.Bhv_EmergencyH\000\022B\n\031bhv" + "_go_to_point_look_ball\030\026 \001(\0132\035.protos.Bh" + "v_GoToPointLookBallH\000\022;\n\025bhv_neck_body_t" + "o_ball\030\027 \001(\0132\032.protos.Bhv_NeckBodyToBall" + "H\000\022=\n\026bhv_neck_body_to_point\030\030 \001(\0132\033.pro" + "tos.Bhv_NeckBodyToPointH\000\022/\n\016bhv_scan_fi" + "eld\030\031 \001(\0132\025.protos.Bhv_ScanFieldH\000\0225\n\021bo" + "dy_advance_ball\030\032 \001(\0132\030.protos.Body_Adva" + "nceBallH\000\0221\n\017body_clear_ball\030\033 \001(\0132\026.pro" + "tos.Body_ClearBallH\000\022,\n\014body_dribble\030\034 \001" + "(\0132\024.protos.Body_DribbleH\000\022=\n\026body_go_to" + "_point_dodge\030\035 \001(\0132\033.protos.Body_GoToPoi" + "ntDodgeH\000\022/\n\016body_hold_ball\030\036 \001(\0132\025.prot" + "os.Body_HoldBallH\000\0220\n\016body_intercept\030\037 \001" + "(\0132\026.protos.Body_InterceptH\000\0226\n\022body_kic" + "k_one_step\030 \001(\0132\030.protos.Body_KickOneSt" + "epH\000\022/\n\016body_stop_ball\030! \001(\0132\025.protos.Bo" + "dy_StopBallH\000\022/\n\016body_stop_dash\030\" \001(\0132\025." + "protos.Body_StopDashH\000\022:\n\024body_tackle_to" + "_point\030# \001(\0132\032.protos.Body_TackleToPoint" + "H\000\0226\n\022body_turn_to_angle\030$ \001(\0132\030.protos." + "Body_TurnToAngleH\000\0224\n\021body_turn_to_ball\030" + "% \001(\0132\027.protos.Body_TurnToBallH\000\0226\n\022body" + "_turn_to_point\030& \001(\0132\030.protos.Body_TurnT" + "oPointH\000\0228\n\023focus_move_to_point\030\' \001(\0132\031." + "protos.Focus_MoveToPointH\000\022*\n\013focus_rese" + "t\030( \001(\0132\023.protos.Focus_ResetH\000\0221\n\017neck_s" + "can_field\030) \001(\0132\026.protos.Neck_ScanFieldH" + "\000\0225\n\021neck_scan_players\030* \001(\0132\030.protos.Ne" + "ck_ScanPlayersH\000\022H\n\034neck_turn_to_ball_an" + "d_player\030+ \001(\0132 .protos.Neck_TurnToBallA" + "ndPlayerH\000\022B\n\031neck_turn_to_ball_or_scan\030" + ", \001(\0132\035.protos.Neck_TurnToBallOrScanH\000\0224" + "\n\021neck_turn_to_ball\030- \001(\0132\027.protos.Neck_" + "TurnToBallH\000\022F\n\033neck_turn_to_goalie_or_s" + "can\030. \001(\0132\037.protos.Neck_TurnToGoalieOrSc" + "anH\000\022L\n\036neck_turn_to_low_conf_teammate\030/" + " \001(\0132\".protos.Neck_TurnToLowConfTeammate" + "H\000\022F\n\033neck_turn_to_player_or_scan\0300 \001(\0132" + "\037.protos.Neck_TurnToPlayerOrScanH\000\0226\n\022ne" + "ck_turn_to_point\0301 \001(\0132\030.protos.Neck_Tur" + "nToPointH\000\022<\n\025neck_turn_to_relative\0302 \001(" + "\0132\033.protos.Neck_TurnToRelativeH\000\0225\n\021view" + "_change_width\0303 \001(\0132\030.protos.View_Change" + "WidthH\000\022*\n\013view_normal\0304 \001(\0132\023.protos.Vi" + "ew_NormalH\000\022(\n\nview_synch\0305 \001(\0132\022.protos" + ".View_SynchH\000\022&\n\tview_wide\0306 \001(\0132\021.proto" + "s.View_WideH\000\022-\n\rhelios_goalie\0307 \001(\0132\024.p" + "rotos.HeliosGoalieH\000\0226\n\022helios_goalie_mo" + "ve\0308 \001(\0132\030.protos.HeliosGoalieMoveH\000\0226\n\022" + "helios_goalie_kick\0309 \001(\0132\030.protos.Helios" + "GoalieKickH\000\022+\n\014helios_shoot\030: \001(\0132\023.pro" + "tos.HeliosShootH\000\0228\n\023helios_chain_action" + "\030; \001(\0132\031.protos.HeliosChainActionH\000\022>\n\026h" + "elios_basic_offensive\030< \001(\0132\034.protos.Hel" + "iosBasicOffensiveH\000\0224\n\021helios_basic_move" + "\030= \001(\0132\027.protos.HeliosBasicMoveH\000\0220\n\017hel" + "ios_set_play\030> \001(\0132\025.protos.HeliosSetPla" + "yH\000\022/\n\016helios_penalty\030\? \001(\0132\025.protos.Hel" + "iosPenaltyH\000\022:\n\024helios_communication\030@ \001" + "(\0132\032.protos.HeliosCommunicaionH\000B\010\n\006acti" + "on\"Q\n\rPlayerActions\022%\n\007actions\030\001 \003(\0132\024.p" + "rotos.PlayerAction\022\031\n\021ignore_preprocess\030" + "\002 \001(\010\"8\n\020ChangePlayerType\022\026\n\016uniform_num" + "ber\030\001 \001(\005\022\014\n\004type\030\002 \001(\005\"\024\n\022DoHeliosSubst" + "itute\"\030\n\026DoHeliosSayPlayerTypes\"\322\001\n\013Coac" + "hAction\0227\n\023change_player_types\030\001 \001(\0132\030.p" + "rotos.ChangePlayerTypeH\000\022:\n\024do_helios_su" + "bstitute\030\002 \001(\0132\032.protos.DoHeliosSubstitu" + "teH\000\022D\n\032do_helios_say_player_types\030\003 \001(\013" + "2\036.protos.DoHeliosSayPlayerTypesH\000B\010\n\006ac" + "tion\"4\n\014CoachActions\022$\n\007actions\030\001 \003(\0132\023." + "protos.CoachAction\"\013\n\tDoKickOff\"Z\n\nDoMov" + "eBall\022%\n\010position\030\001 \001(\0132\023.protos.RpcVect" + "or2D\022%\n\010velocity\030\002 \001(\0132\023.protos.RpcVecto" + "r2D\"w\n\014DoMovePlayer\022\020\n\010our_side\030\001 \001(\010\022\026\n" + "\016uniform_number\030\002 \001(\005\022%\n\010position\030\003 \001(\0132" + "\023.protos.RpcVector2D\022\026\n\016body_direction\030\004" + " \001(\002\"\013\n\tDoRecover\"X\n\014DoChangeMode\022,\n\016gam" + "e_mode_type\030\001 \001(\0162\024.protos.GameModeType\022" + "\032\n\004side\030\002 \001(\0162\014.protos.Side\"L\n\022DoChangeP" + "layerType\022\020\n\010our_side\030\001 \001(\010\022\026\n\016uniform_n" + "umber\030\002 \001(\005\022\014\n\004type\030\003 \001(\005\"\265\002\n\rTrainerAct" + "ion\022(\n\013do_kick_off\030\001 \001(\0132\021.protos.DoKick" + "OffH\000\022*\n\014do_move_ball\030\002 \001(\0132\022.protos.DoM" + "oveBallH\000\022.\n\016do_move_player\030\003 \001(\0132\024.prot" + "os.DoMovePlayerH\000\022\'\n\ndo_recover\030\004 \001(\0132\021." + "protos.DoRecoverH\000\022.\n\016do_change_mode\030\005 \001" + "(\0132\024.protos.DoChangeModeH\000\022;\n\025do_change_" + "player_type\030\006 \001(\0132\032.protos.DoChangePlaye" + "rTypeH\000B\010\n\006action\"8\n\016TrainerActions\022&\n\007a" + "ctions\030\001 \003(\0132\025.protos.TrainerAction\"\335,\n\013" + "ServerParam\0223\n\021register_response\030\001 \001(\0132\030" + ".protos.RegisterResponse\022\026\n\016inertia_mome" + "nt\030\002 \001(\002\022\023\n\013player_size\030\003 \001(\002\022\024\n\014player_" + "decay\030\004 \001(\002\022\023\n\013player_rand\030\005 \001(\002\022\025\n\rplay" + "er_weight\030\006 \001(\002\022\030\n\020player_speed_max\030\007 \001(" + "\002\022\030\n\020player_accel_max\030\010 \001(\002\022\023\n\013stamina_m" + "ax\030\t \001(\002\022\027\n\017stamina_inc_max\030\n \001(\002\022\024\n\014rec" + "over_init\030\013 \001(\002\022\027\n\017recover_dec_thr\030\014 \001(\002" + "\022\023\n\013recover_min\030\r \001(\002\022\023\n\013recover_dec\030\016 \001" + "(\002\022\023\n\013effort_init\030\017 \001(\002\022\026\n\016effort_dec_th" + "r\030\020 \001(\002\022\022\n\neffort_min\030\021 \001(\002\022\022\n\neffort_de" + "c\030\022 \001(\002\022\026\n\016effort_inc_thr\030\023 \001(\002\022\022\n\neffor" + "t_inc\030\024 \001(\002\022\021\n\tkick_rand\030\025 \001(\002\022\033\n\023team_a" + "ctuator_noise\030\026 \001(\010\022\034\n\024player_rand_facto" + "r_l\030\027 \001(\002\022\034\n\024player_rand_factor_r\030\030 \001(\002\022" + "\032\n\022kick_rand_factor_l\030\031 \001(\002\022\032\n\022kick_rand" + "_factor_r\030\032 \001(\002\022\021\n\tball_size\030\033 \001(\002\022\022\n\nba" + "ll_decay\030\034 \001(\002\022\021\n\tball_rand\030\035 \001(\002\022\023\n\013bal" + "l_weight\030\036 \001(\002\022\026\n\016ball_speed_max\030\037 \001(\002\022\026" + "\n\016ball_accel_max\030 \001(\002\022\027\n\017dash_power_rat" + "e\030! \001(\002\022\027\n\017kick_power_rate\030\" \001(\002\022\027\n\017kick" + "able_margin\030# \001(\002\022\026\n\016control_radius\030$ \001(" + "\002\022\034\n\024control_radius_width\030% \001(\002\022\021\n\tmax_p" + "ower\030& \001(\002\022\021\n\tmin_power\030\' \001(\002\022\022\n\nmax_mom" + "ent\030( \001(\002\022\022\n\nmin_moment\030) \001(\002\022\027\n\017max_nec" + "k_moment\030* \001(\002\022\027\n\017min_neck_moment\030+ \001(\002\022" + "\026\n\016max_neck_angle\030, \001(\002\022\026\n\016min_neck_angl" + "e\030- \001(\002\022\025\n\rvisible_angle\030. \001(\002\022\030\n\020visibl" + "e_distance\030/ \001(\002\022\020\n\010wind_dir\0300 \001(\002\022\022\n\nwi" + "nd_force\0301 \001(\002\022\022\n\nwind_angle\0302 \001(\002\022\021\n\twi" + "nd_rand\0303 \001(\002\022\025\n\rkickable_area\0304 \001(\002\022\024\n\014" + "catch_area_l\0305 \001(\002\022\024\n\014catch_area_w\0306 \001(\002" + "\022\031\n\021catch_probability\0307 \001(\002\022\030\n\020goalie_ma" + "x_moves\0308 \001(\005\022\032\n\022corner_kick_margin\0309 \001(" + "\002\022 \n\030offside_active_area_size\030: \001(\002\022\021\n\tw" + "ind_none\030; \001(\010\022\027\n\017use_wind_random\030< \001(\010\022" + "\033\n\023coach_say_count_max\030= \001(\005\022\032\n\022coach_sa" + "y_msg_size\030> \001(\005\022\026\n\016clang_win_size\030\? \001(\005" + "\022\030\n\020clang_define_win\030@ \001(\005\022\026\n\016clang_meta" + "_win\030A \001(\005\022\030\n\020clang_advice_win\030B \001(\005\022\026\n\016" + "clang_info_win\030C \001(\005\022\030\n\020clang_mess_delay" + "\030D \001(\005\022\034\n\024clang_mess_per_cycle\030E \001(\005\022\021\n\t" + "half_time\030F \001(\005\022\026\n\016simulator_step\030G \001(\005\022" + "\021\n\tsend_step\030H \001(\005\022\021\n\trecv_step\030I \001(\005\022\027\n" + "\017sense_body_step\030J \001(\005\022\020\n\010lcm_step\030K \001(\005" + "\022\033\n\023player_say_msg_size\030L \001(\005\022\027\n\017player_" + "hear_max\030M \001(\005\022\027\n\017player_hear_inc\030N \001(\005\022" + "\031\n\021player_hear_decay\030O \001(\005\022\027\n\017catch_ban_" + "cycle\030P \001(\005\022\030\n\020slow_down_factor\030Q \001(\005\022\023\n" + "\013use_offside\030R \001(\010\022\027\n\017kickoff_offside\030S " + "\001(\010\022\033\n\023offside_kick_margin\030T \001(\002\022\026\n\016audi" + "o_cut_dist\030U \001(\002\022\032\n\022dist_quantize_step\030V" + " \001(\002\022#\n\033landmark_dist_quantize_step\030W \001(" + "\002\022\031\n\021dir_quantize_step\030X \001(\002\022\034\n\024dist_qua" + "ntize_step_l\030Y \001(\002\022\034\n\024dist_quantize_step" + "_r\030Z \001(\002\022%\n\035landmark_dist_quantize_step_" + "l\030[ \001(\002\022%\n\035landmark_dist_quantize_step_r" + "\030\\ \001(\002\022\033\n\023dir_quantize_step_l\030] \001(\002\022\033\n\023d" + "ir_quantize_step_r\030^ \001(\002\022\022\n\ncoach_mode\030_" + " \001(\010\022\037\n\027coach_with_referee_mode\030` \001(\010\022\032\n" + "\022use_old_coach_hear\030a \001(\010\022%\n\035slowness_on" + "_top_for_left_team\030b \001(\002\022&\n\036slowness_on_" + "top_for_right_team\030c \001(\002\022\024\n\014start_goal_l" + "\030d \001(\005\022\024\n\014start_goal_r\030e \001(\005\022\023\n\013fullstat" + "e_l\030f \001(\010\022\023\n\013fullstate_r\030g \001(\010\022\026\n\016drop_b" + "all_time\030h \001(\005\022\022\n\nsynch_mode\030i \001(\010\022\024\n\014sy" + "nch_offset\030j \001(\005\022\031\n\021synch_micro_sleep\030k " + "\001(\005\022\024\n\014point_to_ban\030l \001(\005\022\031\n\021point_to_du" + "ration\030m \001(\005\022\023\n\013player_port\030n \001(\005\022\024\n\014tra" + "iner_port\030o \001(\005\022\031\n\021online_coach_port\030p \001" + "(\005\022\024\n\014verbose_mode\030q \001(\010\022\032\n\022coach_send_v" + "i_step\030r \001(\005\022\023\n\013replay_file\030s \001(\t\022\025\n\rlan" + "dmark_file\030t \001(\t\022\022\n\nsend_comms\030u \001(\010\022\024\n\014" + "text_logging\030v \001(\010\022\024\n\014game_logging\030w \001(\010" + "\022\030\n\020game_log_version\030x \001(\005\022\024\n\014text_log_d" + "ir\030y \001(\t\022\024\n\014game_log_dir\030z \001(\t\022\033\n\023text_l" + "og_fixed_name\030{ \001(\t\022\033\n\023game_log_fixed_na" + "me\030| \001(\t\022\032\n\022use_text_log_fixed\030} \001(\010\022\032\n\022" + "use_game_log_fixed\030~ \001(\010\022\032\n\022use_text_log" + "_dated\030\177 \001(\010\022\033\n\022use_game_log_dated\030\200\001 \001(" + "\010\022\030\n\017log_date_format\030\201\001 \001(\t\022\022\n\tlog_times" + "\030\202\001 \001(\010\022\027\n\016record_message\030\203\001 \001(\010\022\035\n\024text" + "_log_compression\030\204\001 \001(\005\022\035\n\024game_log_comp" + "ression\030\205\001 \001(\005\022\024\n\013use_profile\030\206\001 \001(\010\022\024\n\013" + "tackle_dist\030\207\001 \001(\002\022\031\n\020tackle_back_dist\030\210" + "\001 \001(\002\022\025\n\014tackle_width\030\211\001 \001(\002\022\030\n\017tackle_e" + "xponent\030\212\001 \001(\002\022\026\n\rtackle_cycles\030\213\001 \001(\005\022\032" + "\n\021tackle_power_rate\030\214\001 \001(\002\022\035\n\024freeform_w" + "ait_period\030\215\001 \001(\005\022\035\n\024freeform_send_perio" + "d\030\216\001 \001(\005\022\031\n\020free_kick_faults\030\217\001 \001(\010\022\024\n\013b" + "ack_passes\030\220\001 \001(\010\022\032\n\021proper_goal_kicks\030\221" + "\001 \001(\010\022\031\n\020stopped_ball_vel\030\222\001 \001(\002\022\027\n\016max_" + "goal_kicks\030\223\001 \001(\005\022\026\n\rclang_del_win\030\224\001 \001(" + "\005\022\027\n\016clang_rule_win\030\225\001 \001(\005\022\022\n\tauto_mode\030" + "\226\001 \001(\010\022\026\n\rkick_off_wait\030\227\001 \001(\005\022\025\n\014connec" + "t_wait\030\230\001 \001(\005\022\027\n\016game_over_wait\030\231\001 \001(\005\022\025" + "\n\014team_l_start\030\232\001 \001(\t\022\025\n\014team_r_start\030\233\001" + " \001(\t\022\026\n\rkeepaway_mode\030\234\001 \001(\010\022\030\n\017keepaway" + "_length\030\235\001 \001(\002\022\027\n\016keepaway_width\030\236\001 \001(\002\022" + "\031\n\020keepaway_logging\030\237\001 \001(\010\022\031\n\020keepaway_l" + "og_dir\030\240\001 \001(\t\022 \n\027keepaway_log_fixed_name" + "\030\241\001 \001(\t\022\033\n\022keepaway_log_fixed\030\242\001 \001(\010\022\033\n\022" + "keepaway_log_dated\030\243\001 \001(\010\022\027\n\016keepaway_st" + "art\030\244\001 \001(\005\022\030\n\017nr_normal_halfs\030\245\001 \001(\005\022\027\n\016" + "nr_extra_halfs\030\246\001 \001(\005\022\033\n\022penalty_shoot_o" + "uts\030\247\001 \001(\010\022\036\n\025pen_before_setup_wait\030\250\001 \001" + "(\005\022\027\n\016pen_setup_wait\030\251\001 \001(\005\022\027\n\016pen_ready" + "_wait\030\252\001 \001(\005\022\027\n\016pen_taken_wait\030\253\001 \001(\005\022\025\n" + "\014pen_nr_kicks\030\254\001 \001(\005\022\034\n\023pen_max_extra_ki" + "cks\030\255\001 \001(\005\022\023\n\npen_dist_x\030\256\001 \001(\002\022\032\n\021pen_r" + "andom_winner\030\257\001 \001(\010\022\035\n\024pen_allow_mult_ki" + "cks\030\260\001 \001(\010\022\036\n\025pen_max_goalie_dist_x\030\261\001 \001" + "(\002\022 \n\027pen_coach_moves_players\030\262\001 \001(\010\022\023\n\n" + "module_dir\030\263\001 \001(\t\022\030\n\017ball_stuck_area\030\264\001 " + "\001(\002\022\027\n\016coach_msg_file\030\265\001 \001(\t\022\031\n\020max_tack" + "le_power\030\266\001 \001(\002\022\036\n\025max_back_tackle_power" + "\030\267\001 \001(\002\022\035\n\024player_speed_max_min\030\270\001 \001(\002\022\026" + "\n\rextra_stamina\030\271\001 \001(\002\022\031\n\020synch_see_offs" + "et\030\272\001 \001(\005\022\030\n\017extra_half_time\030\273\001 \001(\005\022\031\n\020s" + "tamina_capacity\030\274\001 \001(\002\022\027\n\016max_dash_angle" + "\030\275\001 \001(\002\022\027\n\016min_dash_angle\030\276\001 \001(\002\022\030\n\017dash" + "_angle_step\030\277\001 \001(\002\022\027\n\016side_dash_rate\030\300\001 " + "\001(\002\022\027\n\016back_dash_rate\030\301\001 \001(\002\022\027\n\016max_dash" + "_power\030\302\001 \001(\002\022\027\n\016min_dash_power\030\303\001 \001(\002\022\033" + "\n\022tackle_rand_factor\030\304\001 \001(\002\022 \n\027foul_dete" + "ct_probability\030\305\001 \001(\002\022\026\n\rfoul_exponent\030\306" + "\001 \001(\002\022\024\n\013foul_cycles\030\307\001 \001(\005\022\024\n\013golden_go" + "al\030\310\001 \001(\010\022\035\n\024red_card_probability\030\311\001 \001(\002" + "\022!\n\030illegal_defense_duration\030\312\001 \001(\005\022\037\n\026i" + "llegal_defense_number\030\313\001 \001(\005\022\037\n\026illegal_" + "defense_dist_x\030\314\001 \001(\002\022\036\n\025illegal_defense" + "_width\030\315\001 \001(\002\022\031\n\020fixed_teamname_l\030\316\001 \001(\t" + "\022\031\n\020fixed_teamname_r\030\317\001 \001(\t\022\030\n\017max_catch" + "_angle\030\320\001 \001(\002\022\030\n\017min_catch_angle\030\321\001 \001(\002\022" + "\024\n\013random_seed\030\322\001 \001(\005\022\037\n\026long_kick_power" + "_factor\030\323\001 \001(\002\022\030\n\017long_kick_delay\030\324\001 \001(\005" + "\022\025\n\014max_monitors\030\325\001 \001(\005\022\027\n\016catchable_are" + "a\030\326\001 \001(\002\022\027\n\016real_speed_max\030\327\001 \001(\002\022\032\n\021pit" + "ch_half_length\030\330\001 \001(\002\022\031\n\020pitch_half_widt" + "h\030\331\001 \001(\002\022 \n\027our_penalty_area_line_x\030\332\001 \001" + "(\002\022\"\n\031their_penalty_area_line_x\030\333\001 \001(\002\022 " + "\n\027penalty_area_half_width\030\334\001 \001(\002\022\034\n\023pena" + "lty_area_length\030\335\001 \001(\002\022\023\n\ngoal_width\030\336\001 " + "\001(\002\"\215\010\n\013PlayerParam\0223\n\021register_response" + "\030\001 \001(\0132\030.protos.RegisterResponse\022\024\n\014play" + "er_types\030\002 \001(\005\022\020\n\010subs_max\030\003 \001(\005\022\016\n\006pt_m" + "ax\030\004 \001(\005\022\037\n\027allow_mult_default_type\030\005 \001(" + "\010\022\"\n\032player_speed_max_delta_min\030\006 \001(\002\022\"\n" + "\032player_speed_max_delta_max\030\007 \001(\002\022$\n\034sta" + "mina_inc_max_delta_factor\030\010 \001(\002\022\036\n\026playe" + "r_decay_delta_min\030\t \001(\002\022\036\n\026player_decay_" + "delta_max\030\n \001(\002\022#\n\033inertia_moment_delta_" + "factor\030\013 \001(\002\022!\n\031dash_power_rate_delta_mi" + "n\030\014 \001(\002\022!\n\031dash_power_rate_delta_max\030\r \001" + "(\002\022 \n\030player_size_delta_factor\030\016 \001(\002\022!\n\031" + "kickable_margin_delta_min\030\017 \001(\002\022!\n\031kicka" + "ble_margin_delta_max\030\020 \001(\002\022\036\n\026kick_rand_" + "delta_factor\030\021 \001(\002\022\037\n\027extra_stamina_delt" + "a_min\030\022 \001(\002\022\037\n\027extra_stamina_delta_max\030\023" + " \001(\002\022\037\n\027effort_max_delta_factor\030\024 \001(\002\022\037\n" + "\027effort_min_delta_factor\030\025 \001(\002\022\023\n\013random" + "_seed\030\026 \001(\005\022%\n\035new_dash_power_rate_delta" + "_min\030\027 \001(\002\022%\n\035new_dash_power_rate_delta_" + "max\030\030 \001(\002\022(\n new_stamina_inc_max_delta_f" + "actor\030\031 \001(\002\022!\n\031kick_power_rate_delta_min" + "\030\032 \001(\002\022!\n\031kick_power_rate_delta_max\030\033 \001(" + "\002\022,\n$foul_detect_probability_delta_facto" + "r\030\034 \001(\002\022$\n\034catchable_area_l_stretch_min\030" + "\035 \001(\002\022$\n\034catchable_area_l_stretch_max\030\036 " + "\001(\002\"\277\007\n\nPlayerType\0223\n\021register_response\030" + "\001 \001(\0132\030.protos.RegisterResponse\022\n\n\002id\030\002 " + "\001(\005\022\027\n\017stamina_inc_max\030\003 \001(\002\022\024\n\014player_d" + "ecay\030\004 \001(\002\022\026\n\016inertia_moment\030\005 \001(\002\022\027\n\017da" + "sh_power_rate\030\006 \001(\002\022\023\n\013player_size\030\007 \001(\002" + "\022\027\n\017kickable_margin\030\010 \001(\002\022\021\n\tkick_rand\030\t" + " \001(\002\022\025\n\rextra_stamina\030\n \001(\002\022\022\n\neffort_ma" + "x\030\013 \001(\002\022\022\n\neffort_min\030\014 \001(\002\022\027\n\017kick_powe" + "r_rate\030\r \001(\002\022\037\n\027foul_detect_probability\030" + "\016 \001(\002\022 \n\030catchable_area_l_stretch\030\017 \001(\002\022" + "\027\n\017unum_far_length\030\020 \001(\002\022\033\n\023unum_too_far" + "_length\030\021 \001(\002\022\027\n\017team_far_length\030\022 \001(\002\022\033" + "\n\023team_too_far_length\030\023 \001(\002\022%\n\035player_ma" + "x_observation_length\030\024 \001(\002\022\033\n\023ball_vel_f" + "ar_length\030\025 \001(\002\022\037\n\027ball_vel_too_far_leng" + "th\030\026 \001(\002\022#\n\033ball_max_observation_length\030" + "\027 \001(\002\022\033\n\023flag_chg_far_length\030\030 \001(\002\022\037\n\027fl" + "ag_chg_too_far_length\030\031 \001(\002\022#\n\033flag_max_" + "observation_length\030\032 \001(\002\022\025\n\rkickable_are" + "a\030\033 \001(\002\022\037\n\027reliable_catchable_dist\030\034 \001(\002" + "\022\032\n\022max_catchable_dist\030\035 \001(\002\022\026\n\016real_spe" + "ed_max\030\036 \001(\002\022\031\n\021player_speed_max2\030\037 \001(\002\022" + "\027\n\017real_speed_max2\030 \001(\002\022!\n\031cycles_to_re" + "ach_max_speed\030! \001(\005\022\030\n\020player_speed_max\030" + "\" \001(\002\"\255\003\n\024RpcCooperativeAction\022+\n\010catego" + "ry\030\001 \001(\0162\031.protos.RpcActionCategory\022\r\n\005i" + "ndex\030\002 \001(\005\022\023\n\013sender_unum\030\003 \001(\005\022\023\n\013targe" + "t_unum\030\004 \001(\005\022)\n\014target_point\030\005 \001(\0132\023.pro" + "tos.RpcVector2D\022\030\n\020first_ball_speed\030\006 \001(" + "\001\022\031\n\021first_turn_moment\030\007 \001(\001\022\030\n\020first_da" + "sh_power\030\010 \001(\001\022!\n\031first_dash_angle_relat" + "ive\030\t \001(\001\022\025\n\rduration_step\030\n \001(\005\022\022\n\nkick" + "_count\030\013 \001(\005\022\022\n\nturn_count\030\014 \001(\005\022\022\n\ndash" + "_count\030\r \001(\005\022\024\n\014final_action\030\016 \001(\010\022\023\n\013de" + "scription\030\017 \001(\t\022\024\n\014parent_index\030\020 \001(\005\"\317\001" + "\n\017RpcPredictState\022\022\n\nspend_time\030\001 \001(\005\022\030\n" + "\020ball_holder_unum\030\002 \001(\005\022*\n\rball_position" + "\030\003 \001(\0132\023.protos.RpcVector2D\022*\n\rball_velo" + "city\030\004 \001(\0132\023.protos.RpcVector2D\022\032\n\022our_d" + "efense_line_x\030\005 \001(\001\022\032\n\022our_offense_line_" + "x\030\006 \001(\001\"\202\001\n\016RpcActionState\022,\n\006action\030\001 \001" + "(\0132\034.protos.RpcCooperativeAction\022.\n\rpred" + "ict_state\030\002 \001(\0132\027.protos.RpcPredictState" + "\022\022\n\nevaluation\030\003 \001(\001\"\357\001\n\030BestPlannerActi" + "onRequest\0223\n\021register_response\030\001 \001(\0132\030.p" + "rotos.RegisterResponse\022:\n\005pairs\030\002 \003(\0132+." + "protos.BestPlannerActionRequest.PairsEnt" + "ry\022\034\n\005state\030\003 \001(\0132\r.protos.State\032D\n\nPair" + "sEntry\022\013\n\003key\030\001 \001(\005\022%\n\005value\030\002 \001(\0132\026.pro" + "tos.RpcActionState:\0028\001\"*\n\031BestPlannerAct" + "ionResponse\022\r\n\005index\030\001 \001(\005\"\007\n\005Empty*-\n\tV" + "iewWidth\022\n\n\006NARROW\020\000\022\n\n\006NORMAL\020\001\022\010\n\004WIDE" + "\020\002*(\n\004Side\022\013\n\007UNKNOWN\020\000\022\010\n\004LEFT\020\001\022\t\n\005RIG" + "HT\020\002*\262\002\n\013LoggerLevel\022\r\n\tNoneLevel\020\000\022\n\n\006S" + "YSTEM\020\001\022\n\n\006SENSOR\020\002\022\t\n\005WORLD\020\004\022\n\n\006ACTION" + "\020\010\022\r\n\tINTERCEPT\020\020\022\010\n\004KICK\020 \022\010\n\004HOLD\020@\022\014\n" + "\007DRIBBLE\020\200\001\022\t\n\004PASS\020\200\002\022\n\n\005CROSS\020\200\004\022\n\n\005SH" + "OOT\020\200\010\022\n\n\005CLEAR\020\200\020\022\n\n\005BLOCK\020\200 \022\t\n\004MARK\020\200" + "@\022\021\n\013POSITIONING\020\200\200\001\022\n\n\004ROLE\020\200\200\002\022\n\n\004TEAM" + "\020\200\200\004\022\023\n\rCOMMUNICATION\020\200\200\010\022\016\n\010ANALYZER\020\200\200" + "\020\022\022\n\014ACTION_CHAIN\020\200\200 \022\n\n\004PLAN\020\200\200@*v\n\023Int" + "erceptActionType\022!\n\035UNKNOWN_Intercept_Ac" + "tion_Type\020\000\022\r\n\tOMNI_DASH\020\001\022\025\n\021TURN_FORWA" + "RD_DASH\020\002\022\026\n\022TURN_BACKWARD_DASH\020\003*\273\004\n\014Ga" + "meModeType\022\021\n\rBeforeKickOff\020\000\022\014\n\010TimeOve" + "r\020\001\022\n\n\006PlayOn\020\002\022\014\n\010KickOff_\020\003\022\013\n\007KickIn_" + "\020\004\022\r\n\tFreeKick_\020\005\022\017\n\013CornerKick_\020\006\022\r\n\tGo" + "alKick_\020\007\022\016\n\nAfterGoal_\020\010\022\014\n\010OffSide_\020\t\022" + "\020\n\014PenaltyKick_\020\n\022\021\n\rFirstHalfOver\020\013\022\t\n\005" + "Pause\020\014\022\t\n\005Human\020\r\022\017\n\013FoulCharge_\020\016\022\r\n\tF" + "oulPush_\020\017\022\031\n\025FoulMultipleAttacker_\020\020\022\020\n" + "\014FoulBallOut_\020\021\022\r\n\tBackPass_\020\022\022\022\n\016FreeKi" + "ckFault_\020\023\022\017\n\013CatchFault_\020\024\022\020\n\014IndFreeKi" + "ck_\020\025\022\021\n\rPenaltySetup_\020\026\022\021\n\rPenaltyReady" + "_\020\027\022\021\n\rPenaltyTaken_\020\030\022\020\n\014PenaltyMiss_\020\031" + "\022\021\n\rPenaltyScore_\020\032\022\023\n\017IllegalDefense_\020\033" + "\022\023\n\017PenaltyOnfield_\020\034\022\020\n\014PenaltyFoul_\020\035\022" + "\020\n\014GoalieCatch_\020\036\022\016\n\nExtendHalf\020\037\022\014\n\010MOD" + "E_MAX\020 *2\n\tAgentType\022\013\n\007PlayerT\020\000\022\n\n\006Coa" + "chT\020\001\022\014\n\010TrainerT\020\002*w\n\021RpcActionCategory" + "\022\013\n\007AC_Hold\020\000\022\016\n\nAC_Dribble\020\001\022\013\n\007AC_Pass" + "\020\002\022\014\n\010AC_Shoot\020\003\022\014\n\010AC_Clear\020\004\022\013\n\007AC_Mov" + "e\020\005\022\017\n\013AC_NoAction\020\0062\373\004\n\004Game\022:\n\020GetPlay" + "erActions\022\r.protos.State\032\025.protos.Player" + "Actions\"\000\0228\n\017GetCoachActions\022\r.protos.St" + "ate\032\024.protos.CoachActions\"\000\022<\n\021GetTraine" + "rActions\022\r.protos.State\032\026.protos.Trainer" + "Actions\"\000\0227\n\017SendInitMessage\022\023.protos.In" + "itMessage\032\r.protos.Empty\"\000\0228\n\020SendServer" + "Params\022\023.protos.ServerParam\032\r.protos.Emp" + "ty\"\000\0228\n\020SendPlayerParams\022\023.protos.Player" + "Param\032\r.protos.Empty\"\000\0225\n\016SendPlayerType" + "\022\022.protos.PlayerType\032\r.protos.Empty\"\000\022\?\n" + "\010Register\022\027.protos.RegisterRequest\032\030.pro" + "tos.RegisterResponse\"\000\022;\n\016SendByeCommand" + "\022\030.protos.RegisterResponse\032\r.protos.Empt" + "y\"\000\022]\n\024GetBestPlannerAction\022 .protos.Bes" + "tPlannerActionRequest\032!.protos.BestPlann" + "erActionResponse\"\000b\006proto3" }; static ::absl::once_flag descriptor_table_service_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_service_2eproto = { false, false, - 28372, + 28546, descriptor_table_protodef_service_2eproto, "service.proto", &descriptor_table_service_2eproto_once, @@ -9815,6 +9843,10 @@ Self::Self(const Self& from) , decltype(_impl_.type_id_) {} , decltype(_impl_.kick_rate_) {} + + , decltype(_impl_.recovery_) {} + + , decltype(_impl_.stamina_capacity_) {} }; _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); @@ -9834,8 +9866,8 @@ Self::Self(const Self& from) _this->_impl_.seen_velocity_ = new ::protos::RpcVector2D(*from._impl_.seen_velocity_); } ::memcpy(&_impl_.pos_count_, &from._impl_.pos_count_, - static_cast<::size_t>(reinterpret_cast(&_impl_.kick_rate_) - - reinterpret_cast(&_impl_.pos_count_)) + sizeof(_impl_.kick_rate_)); + static_cast<::size_t>(reinterpret_cast(&_impl_.stamina_capacity_) - + reinterpret_cast(&_impl_.pos_count_)) + sizeof(_impl_.stamina_capacity_)); // @@protoc_insertion_point(copy_constructor:protos.Self) } @@ -9911,6 +9943,10 @@ inline void Self::SharedCtor(::_pb::Arena* arena) { , decltype(_impl_.kick_rate_) { 0 } + , decltype(_impl_.recovery_) { 0 } + + , decltype(_impl_.stamina_capacity_) { 0 } + }; } @@ -9966,8 +10002,8 @@ void Self::Clear() { } } ::memset(&_impl_.pos_count_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.kick_rate_) - - reinterpret_cast(&_impl_.pos_count_)) + sizeof(_impl_.kick_rate_)); + reinterpret_cast(&_impl_.stamina_capacity_) - + reinterpret_cast(&_impl_.pos_count_)) + sizeof(_impl_.stamina_capacity_)); _impl_._has_bits_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -10305,6 +10341,24 @@ const char* Self::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { goto handle_unusual; } continue; + // float recovery = 37; + case 37: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 45)) { + _impl_.recovery_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float stamina_capacity = 38; + case 38: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 53)) { + _impl_.stamina_capacity_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; default: goto handle_unusual; } // switch @@ -10632,6 +10686,28 @@ ::uint8_t* Self::_InternalSerialize( 36, this->_internal_kick_rate(), target); } + // float recovery = 37; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_recovery = this->_internal_recovery(); + ::uint32_t raw_recovery; + memcpy(&raw_recovery, &tmp_recovery, sizeof(tmp_recovery)); + if (raw_recovery != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 37, this->_internal_recovery(), target); + } + + // float stamina_capacity = 38; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_stamina_capacity = this->_internal_stamina_capacity(); + ::uint32_t raw_stamina_capacity; + memcpy(&raw_stamina_capacity, &tmp_stamina_capacity, sizeof(tmp_stamina_capacity)); + if (raw_stamina_capacity != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 38, this->_internal_stamina_capacity(), target); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -10901,6 +10977,24 @@ ::size_t Self::ByteSizeLong() const { total_size += 6; } + // float recovery = 37; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_recovery = this->_internal_recovery(); + ::uint32_t raw_recovery; + memcpy(&raw_recovery, &tmp_recovery, sizeof(tmp_recovery)); + if (raw_recovery != 0) { + total_size += 6; + } + + // float stamina_capacity = 38; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_stamina_capacity = this->_internal_stamina_capacity(); + ::uint32_t raw_stamina_capacity; + memcpy(&raw_stamina_capacity, &tmp_stamina_capacity, sizeof(tmp_stamina_capacity)); + if (raw_stamina_capacity != 0) { + total_size += 6; + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } @@ -11079,6 +11173,20 @@ void Self::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_ if (raw_kick_rate != 0) { _this->_internal_set_kick_rate(from._internal_kick_rate()); } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_recovery = from._internal_recovery(); + ::uint32_t raw_recovery; + memcpy(&raw_recovery, &tmp_recovery, sizeof(tmp_recovery)); + if (raw_recovery != 0) { + _this->_internal_set_recovery(from._internal_recovery()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_stamina_capacity = from._internal_stamina_capacity(); + ::uint32_t raw_stamina_capacity; + memcpy(&raw_stamina_capacity, &tmp_stamina_capacity, sizeof(tmp_stamina_capacity)); + if (raw_stamina_capacity != 0) { + _this->_internal_set_stamina_capacity(from._internal_stamina_capacity()); + } _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -11098,8 +11206,8 @@ void Self::InternalSwap(Self* other) { _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(Self, _impl_.kick_rate_) - + sizeof(Self::_impl_.kick_rate_) + PROTOBUF_FIELD_OFFSET(Self, _impl_.stamina_capacity_) + + sizeof(Self::_impl_.stamina_capacity_) - PROTOBUF_FIELD_OFFSET(Self, _impl_.position_)>( reinterpret_cast(&_impl_.position_), reinterpret_cast(&other->_impl_.position_)); @@ -12244,6 +12352,14 @@ WorldModel::WorldModel(const WorldModel& from) , decltype(_impl_.our_team_score_) {} , decltype(_impl_.their_team_score_) {} + + , decltype(_impl_.our_defense_line_x_) {} + + , decltype(_impl_.their_defense_line_x_) {} + + , decltype(_impl_.our_defense_player_line_x_) {} + + , decltype(_impl_.their_defense_player_line_x_) {} }; _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); @@ -12274,8 +12390,8 @@ WorldModel::WorldModel(const WorldModel& from) _this->_impl_.ball_ = new ::protos::Ball(*from._impl_.ball_); } ::memcpy(&_impl_.our_side_, &from._impl_.our_side_, - static_cast<::size_t>(reinterpret_cast(&_impl_.their_team_score_) - - reinterpret_cast(&_impl_.our_side_)) + sizeof(_impl_.their_team_score_)); + static_cast<::size_t>(reinterpret_cast(&_impl_.their_defense_player_line_x_) - + reinterpret_cast(&_impl_.our_side_)) + sizeof(_impl_.their_defense_player_line_x_)); // @@protoc_insertion_point(copy_constructor:protos.WorldModel) } @@ -12337,6 +12453,14 @@ inline void WorldModel::SharedCtor(::_pb::Arena* arena) { , decltype(_impl_.their_team_score_) { 0 } + , decltype(_impl_.our_defense_line_x_) { 0 } + + , decltype(_impl_.their_defense_line_x_) { 0 } + + , decltype(_impl_.our_defense_player_line_x_) { 0 } + + , decltype(_impl_.their_defense_player_line_x_) { 0 } + }; _impl_.our_team_name_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING @@ -12406,8 +12530,8 @@ void WorldModel::Clear() { } } ::memset(&_impl_.our_side_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.their_team_score_) - - reinterpret_cast(&_impl_.our_side_)) + sizeof(_impl_.their_team_score_)); + reinterpret_cast(&_impl_.their_defense_player_line_x_) - + reinterpret_cast(&_impl_.our_side_)) + sizeof(_impl_.their_defense_player_line_x_)); _impl_._has_bits_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -12735,6 +12859,42 @@ const char* WorldModel::_InternalParse(const char* ptr, ::_pbi::ParseContext* ct goto handle_unusual; } continue; + // double our_defense_line_x = 32; + case 32: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 1)) { + _impl_.our_defense_line_x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(double); + } else { + goto handle_unusual; + } + continue; + // double their_defense_line_x = 33; + case 33: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 9)) { + _impl_.their_defense_line_x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(double); + } else { + goto handle_unusual; + } + continue; + // double our_defense_player_line_x = 34; + case 34: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 17)) { + _impl_.our_defense_player_line_x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(double); + } else { + goto handle_unusual; + } + continue; + // double their_defense_player_line_x = 35; + case 35: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 25)) { + _impl_.their_defense_player_line_x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(double); + } else { + goto handle_unusual; + } + continue; default: goto handle_unusual; } // switch @@ -13022,6 +13182,50 @@ ::uint8_t* WorldModel::_InternalSerialize( } } + // double our_defense_line_x = 32; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_our_defense_line_x = this->_internal_our_defense_line_x(); + ::uint64_t raw_our_defense_line_x; + memcpy(&raw_our_defense_line_x, &tmp_our_defense_line_x, sizeof(tmp_our_defense_line_x)); + if (raw_our_defense_line_x != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 32, this->_internal_our_defense_line_x(), target); + } + + // double their_defense_line_x = 33; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_their_defense_line_x = this->_internal_their_defense_line_x(); + ::uint64_t raw_their_defense_line_x; + memcpy(&raw_their_defense_line_x, &tmp_their_defense_line_x, sizeof(tmp_their_defense_line_x)); + if (raw_their_defense_line_x != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 33, this->_internal_their_defense_line_x(), target); + } + + // double our_defense_player_line_x = 34; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_our_defense_player_line_x = this->_internal_our_defense_player_line_x(); + ::uint64_t raw_our_defense_player_line_x; + memcpy(&raw_our_defense_player_line_x, &tmp_our_defense_player_line_x, sizeof(tmp_our_defense_player_line_x)); + if (raw_our_defense_player_line_x != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 34, this->_internal_our_defense_player_line_x(), target); + } + + // double their_defense_player_line_x = 35; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_their_defense_player_line_x = this->_internal_their_defense_player_line_x(); + ::uint64_t raw_their_defense_player_line_x; + memcpy(&raw_their_defense_player_line_x, &tmp_their_defense_player_line_x, sizeof(tmp_their_defense_player_line_x)); + if (raw_their_defense_player_line_x != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 35, this->_internal_their_defense_player_line_x(), target); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -13242,6 +13446,42 @@ ::size_t WorldModel::ByteSizeLong() const { this->_internal_their_team_score()); } + // double our_defense_line_x = 32; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_our_defense_line_x = this->_internal_our_defense_line_x(); + ::uint64_t raw_our_defense_line_x; + memcpy(&raw_our_defense_line_x, &tmp_our_defense_line_x, sizeof(tmp_our_defense_line_x)); + if (raw_our_defense_line_x != 0) { + total_size += 10; + } + + // double their_defense_line_x = 33; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_their_defense_line_x = this->_internal_their_defense_line_x(); + ::uint64_t raw_their_defense_line_x; + memcpy(&raw_their_defense_line_x, &tmp_their_defense_line_x, sizeof(tmp_their_defense_line_x)); + if (raw_their_defense_line_x != 0) { + total_size += 10; + } + + // double our_defense_player_line_x = 34; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_our_defense_player_line_x = this->_internal_our_defense_player_line_x(); + ::uint64_t raw_our_defense_player_line_x; + memcpy(&raw_our_defense_player_line_x, &tmp_our_defense_player_line_x, sizeof(tmp_our_defense_player_line_x)); + if (raw_our_defense_player_line_x != 0) { + total_size += 10; + } + + // double their_defense_player_line_x = 35; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_their_defense_player_line_x = this->_internal_their_defense_player_line_x(); + ::uint64_t raw_their_defense_player_line_x; + memcpy(&raw_their_defense_player_line_x, &tmp_their_defense_player_line_x, sizeof(tmp_their_defense_player_line_x)); + if (raw_their_defense_player_line_x != 0) { + total_size += 10; + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } @@ -13351,6 +13591,34 @@ void WorldModel::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PRO if (from._internal_their_team_score() != 0) { _this->_internal_set_their_team_score(from._internal_their_team_score()); } + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_our_defense_line_x = from._internal_our_defense_line_x(); + ::uint64_t raw_our_defense_line_x; + memcpy(&raw_our_defense_line_x, &tmp_our_defense_line_x, sizeof(tmp_our_defense_line_x)); + if (raw_our_defense_line_x != 0) { + _this->_internal_set_our_defense_line_x(from._internal_our_defense_line_x()); + } + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_their_defense_line_x = from._internal_their_defense_line_x(); + ::uint64_t raw_their_defense_line_x; + memcpy(&raw_their_defense_line_x, &tmp_their_defense_line_x, sizeof(tmp_their_defense_line_x)); + if (raw_their_defense_line_x != 0) { + _this->_internal_set_their_defense_line_x(from._internal_their_defense_line_x()); + } + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_our_defense_player_line_x = from._internal_our_defense_player_line_x(); + ::uint64_t raw_our_defense_player_line_x; + memcpy(&raw_our_defense_player_line_x, &tmp_our_defense_player_line_x, sizeof(tmp_our_defense_player_line_x)); + if (raw_our_defense_player_line_x != 0) { + _this->_internal_set_our_defense_player_line_x(from._internal_our_defense_player_line_x()); + } + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_their_defense_player_line_x = from._internal_their_defense_player_line_x(); + ::uint64_t raw_their_defense_player_line_x; + memcpy(&raw_their_defense_player_line_x, &tmp_their_defense_player_line_x, sizeof(tmp_their_defense_player_line_x)); + if (raw_their_defense_player_line_x != 0) { + _this->_internal_set_their_defense_player_line_x(from._internal_their_defense_player_line_x()); + } _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -13382,8 +13650,8 @@ void WorldModel::InternalSwap(WorldModel* other) { ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.their_team_name_, lhs_arena, &other->_impl_.their_team_name_, rhs_arena); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(WorldModel, _impl_.their_team_score_) - + sizeof(WorldModel::_impl_.their_team_score_) + PROTOBUF_FIELD_OFFSET(WorldModel, _impl_.their_defense_player_line_x_) + + sizeof(WorldModel::_impl_.their_defense_player_line_x_) - PROTOBUF_FIELD_OFFSET(WorldModel, _impl_.intercept_table_)>( reinterpret_cast(&_impl_.intercept_table_), reinterpret_cast(&other->_impl_.intercept_table_)); diff --git a/src/grpc-generated/service.pb.h b/src/grpc-generated/service.pb.h index 1d8e283..a0e8f6a 100644 --- a/src/grpc-generated/service.pb.h +++ b/src/grpc-generated/service.pb.h @@ -2661,6 +2661,8 @@ class Self final : kViewWidthFieldNumber = 34, kTypeIdFieldNumber = 35, kKickRateFieldNumber = 36, + kRecoveryFieldNumber = 37, + kStaminaCapacityFieldNumber = 38, }; // .protos.RpcVector2D position = 1; bool has_position() const; @@ -3041,6 +3043,26 @@ class Self final : float _internal_kick_rate() const; void _internal_set_kick_rate(float value); + public: + // float recovery = 37; + void clear_recovery() ; + float recovery() const; + void set_recovery(float value); + + private: + float _internal_recovery() const; + void _internal_set_recovery(float value); + + public: + // float stamina_capacity = 38; + void clear_stamina_capacity() ; + float stamina_capacity() const; + void set_stamina_capacity(float value); + + private: + float _internal_stamina_capacity() const; + void _internal_set_stamina_capacity(float value); + public: // @@protoc_insertion_point(class_scope:protos.Self) private: @@ -3088,6 +3110,8 @@ class Self final : int view_width_; ::int32_t type_id_; float kick_rate_; + float recovery_; + float stamina_capacity_; }; union { Impl_ _impl_; }; friend struct ::TableStruct_service_2eproto; @@ -3866,6 +3890,10 @@ class WorldModel final : kIsPenaltyKickModeFieldNumber = 30, kOurTeamScoreFieldNumber = 28, kTheirTeamScoreFieldNumber = 29, + kOurDefenseLineXFieldNumber = 32, + kTheirDefenseLineXFieldNumber = 33, + kOurDefensePlayerLineXFieldNumber = 34, + kTheirDefensePlayerLineXFieldNumber = 35, }; // repeated .protos.Player teammates = 8; int teammates_size() const; @@ -4259,6 +4287,46 @@ class WorldModel final : ::int32_t _internal_their_team_score() const; void _internal_set_their_team_score(::int32_t value); + public: + // double our_defense_line_x = 32; + void clear_our_defense_line_x() ; + double our_defense_line_x() const; + void set_our_defense_line_x(double value); + + private: + double _internal_our_defense_line_x() const; + void _internal_set_our_defense_line_x(double value); + + public: + // double their_defense_line_x = 33; + void clear_their_defense_line_x() ; + double their_defense_line_x() const; + void set_their_defense_line_x(double value); + + private: + double _internal_their_defense_line_x() const; + void _internal_set_their_defense_line_x(double value); + + public: + // double our_defense_player_line_x = 34; + void clear_our_defense_player_line_x() ; + double our_defense_player_line_x() const; + void set_our_defense_player_line_x(double value); + + private: + double _internal_our_defense_player_line_x() const; + void _internal_set_our_defense_player_line_x(double value); + + public: + // double their_defense_player_line_x = 35; + void clear_their_defense_player_line_x() ; + double their_defense_player_line_x() const; + void set_their_defense_player_line_x(double value); + + private: + double _internal_their_defense_player_line_x() const; + void _internal_set_their_defense_player_line_x(double value); + public: // @@protoc_insertion_point(class_scope:protos.WorldModel) private: @@ -4313,6 +4381,10 @@ class WorldModel final : bool is_penalty_kick_mode_; ::int32_t our_team_score_; ::int32_t their_team_score_; + double our_defense_line_x_; + double their_defense_line_x_; + double our_defense_player_line_x_; + double their_defense_player_line_x_; }; union { Impl_ _impl_; }; friend struct ::TableStruct_service_2eproto; @@ -33320,6 +33392,46 @@ inline void Self::_internal_set_kick_rate(float value) { _impl_.kick_rate_ = value; } +// float recovery = 37; +inline void Self::clear_recovery() { + _impl_.recovery_ = 0; +} +inline float Self::recovery() const { + // @@protoc_insertion_point(field_get:protos.Self.recovery) + return _internal_recovery(); +} +inline void Self::set_recovery(float value) { + _internal_set_recovery(value); + // @@protoc_insertion_point(field_set:protos.Self.recovery) +} +inline float Self::_internal_recovery() const { + return _impl_.recovery_; +} +inline void Self::_internal_set_recovery(float value) { + ; + _impl_.recovery_ = value; +} + +// float stamina_capacity = 38; +inline void Self::clear_stamina_capacity() { + _impl_.stamina_capacity_ = 0; +} +inline float Self::stamina_capacity() const { + // @@protoc_insertion_point(field_get:protos.Self.stamina_capacity) + return _internal_stamina_capacity(); +} +inline void Self::set_stamina_capacity(float value) { + _internal_set_stamina_capacity(value); + // @@protoc_insertion_point(field_set:protos.Self.stamina_capacity) +} +inline float Self::_internal_stamina_capacity() const { + return _impl_.stamina_capacity_; +} +inline void Self::_internal_set_stamina_capacity(float value) { + ; + _impl_.stamina_capacity_ = value; +} + // ------------------------------------------------------------------- // InterceptInfo @@ -34819,6 +34931,86 @@ WorldModel::mutable_helios_home_positions() { return _internal_mutable_helios_home_positions(); } +// double our_defense_line_x = 32; +inline void WorldModel::clear_our_defense_line_x() { + _impl_.our_defense_line_x_ = 0; +} +inline double WorldModel::our_defense_line_x() const { + // @@protoc_insertion_point(field_get:protos.WorldModel.our_defense_line_x) + return _internal_our_defense_line_x(); +} +inline void WorldModel::set_our_defense_line_x(double value) { + _internal_set_our_defense_line_x(value); + // @@protoc_insertion_point(field_set:protos.WorldModel.our_defense_line_x) +} +inline double WorldModel::_internal_our_defense_line_x() const { + return _impl_.our_defense_line_x_; +} +inline void WorldModel::_internal_set_our_defense_line_x(double value) { + ; + _impl_.our_defense_line_x_ = value; +} + +// double their_defense_line_x = 33; +inline void WorldModel::clear_their_defense_line_x() { + _impl_.their_defense_line_x_ = 0; +} +inline double WorldModel::their_defense_line_x() const { + // @@protoc_insertion_point(field_get:protos.WorldModel.their_defense_line_x) + return _internal_their_defense_line_x(); +} +inline void WorldModel::set_their_defense_line_x(double value) { + _internal_set_their_defense_line_x(value); + // @@protoc_insertion_point(field_set:protos.WorldModel.their_defense_line_x) +} +inline double WorldModel::_internal_their_defense_line_x() const { + return _impl_.their_defense_line_x_; +} +inline void WorldModel::_internal_set_their_defense_line_x(double value) { + ; + _impl_.their_defense_line_x_ = value; +} + +// double our_defense_player_line_x = 34; +inline void WorldModel::clear_our_defense_player_line_x() { + _impl_.our_defense_player_line_x_ = 0; +} +inline double WorldModel::our_defense_player_line_x() const { + // @@protoc_insertion_point(field_get:protos.WorldModel.our_defense_player_line_x) + return _internal_our_defense_player_line_x(); +} +inline void WorldModel::set_our_defense_player_line_x(double value) { + _internal_set_our_defense_player_line_x(value); + // @@protoc_insertion_point(field_set:protos.WorldModel.our_defense_player_line_x) +} +inline double WorldModel::_internal_our_defense_player_line_x() const { + return _impl_.our_defense_player_line_x_; +} +inline void WorldModel::_internal_set_our_defense_player_line_x(double value) { + ; + _impl_.our_defense_player_line_x_ = value; +} + +// double their_defense_player_line_x = 35; +inline void WorldModel::clear_their_defense_player_line_x() { + _impl_.their_defense_player_line_x_ = 0; +} +inline double WorldModel::their_defense_player_line_x() const { + // @@protoc_insertion_point(field_get:protos.WorldModel.their_defense_player_line_x) + return _internal_their_defense_player_line_x(); +} +inline void WorldModel::set_their_defense_player_line_x(double value) { + _internal_set_their_defense_player_line_x(value); + // @@protoc_insertion_point(field_set:protos.WorldModel.their_defense_player_line_x) +} +inline double WorldModel::_internal_their_defense_player_line_x() const { + return _impl_.their_defense_player_line_x_; +} +inline void WorldModel::_internal_set_their_defense_player_line_x(double value) { + ; + _impl_.their_defense_player_line_x_ = value; +} + // ------------------------------------------------------------------- // State diff --git a/src/thrift-client/thrift_state_generator.cpp b/src/thrift-client/thrift_state_generator.cpp index 4913464..967f831 100644 --- a/src/thrift-client/thrift_state_generator.cpp +++ b/src/thrift-client/thrift_state_generator.cpp @@ -155,7 +155,9 @@ soccer::Self ThriftStateGenerator::convertSelf(const rcsc::SelfObject &self, con (wm.ball().angleFromSelf() - self.body()).degree()); kick_rate = std::max(kick_rate, 0.0001); res.kick_rate = static_cast(kick_rate); - + res.recovery = static_cast(self.recovery()); + res.stamina_capacity = static_cast(self.staminaCapacity()); + return res; } @@ -493,6 +495,10 @@ soccer::WorldModel ThriftStateGenerator::convertWorldModel(const rcsc::WorldMode res.our_team_score = wm.ourSide() == rcsc::SideID::LEFT ? wm.gameMode().scoreLeft() : wm.gameMode().scoreRight(); res.their_team_score = wm.ourSide() == rcsc::SideID::LEFT ? wm.gameMode().scoreRight() : wm.gameMode().scoreLeft(); res.is_penalty_kick_mode = wm.gameMode().isPenaltyKickMode(); + res.our_defense_line_x = static_cast(wm.ourDefenseLineX()); + res.their_defense_line_x = static_cast(wm.theirDefenseLineX()); + res.our_defense_player_line_x = static_cast(wm.ourDefensePlayerLineX()); + res.their_defense_player_line_x = static_cast(wm.theirDefensePlayerLineX()); return res; } diff --git a/src/thrift-generated/soccer_service_types.cpp b/src/thrift-generated/soccer_service_types.cpp index 13f9d1b..cb29836 100644 --- a/src/thrift-generated/soccer_service_types.cpp +++ b/src/thrift-generated/soccer_service_types.cpp @@ -2012,6 +2012,14 @@ void Self::__set_type_id(const int32_t val) { void Self::__set_kick_rate(const double val) { this->kick_rate = val; } + +void Self::__set_recovery(const double val) { + this->recovery = val; +} + +void Self::__set_stamina_capacity(const double val) { + this->stamina_capacity = val; +} std::ostream& operator<<(std::ostream& out, const Self& obj) { obj.printTo(out); @@ -2332,6 +2340,22 @@ uint32_t Self::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 37: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->recovery); + this->__isset.recovery = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 38: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->stamina_capacity); + this->__isset.stamina_capacity = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -2493,6 +2517,14 @@ uint32_t Self::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeDouble(this->kick_rate); xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldBegin("recovery", ::apache::thrift::protocol::T_DOUBLE, 37); + xfer += oprot->writeDouble(this->recovery); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("stamina_capacity", ::apache::thrift::protocol::T_DOUBLE, 38); + xfer += oprot->writeDouble(this->stamina_capacity); + xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -2536,6 +2568,8 @@ void swap(Self &a, Self &b) { swap(a.view_width, b.view_width); swap(a.type_id, b.type_id); swap(a.kick_rate, b.kick_rate); + swap(a.recovery, b.recovery); + swap(a.stamina_capacity, b.stamina_capacity); swap(a.__isset, b.__isset); } @@ -2576,6 +2610,8 @@ Self::Self(const Self& other15) noexcept { view_width = other15.view_width; type_id = other15.type_id; kick_rate = other15.kick_rate; + recovery = other15.recovery; + stamina_capacity = other15.stamina_capacity; __isset = other15.__isset; } Self& Self::operator=(const Self& other16) noexcept { @@ -2615,6 +2651,8 @@ Self& Self::operator=(const Self& other16) noexcept { view_width = other16.view_width; type_id = other16.type_id; kick_rate = other16.kick_rate; + recovery = other16.recovery; + stamina_capacity = other16.stamina_capacity; __isset = other16.__isset; return *this; } @@ -2657,6 +2695,8 @@ void Self::printTo(std::ostream& out) const { out << ", " << "view_width=" << to_string(view_width); out << ", " << "type_id=" << to_string(type_id); out << ", " << "kick_rate=" << to_string(kick_rate); + out << ", " << "recovery=" << to_string(recovery); + out << ", " << "stamina_capacity=" << to_string(stamina_capacity); out << ")"; } @@ -3354,6 +3394,22 @@ void WorldModel::__set_is_penalty_kick_mode(const bool val) { void WorldModel::__set_helios_home_positions(const std::map & val) { this->helios_home_positions = val; } + +void WorldModel::__set_our_defense_line_x(const double val) { + this->our_defense_line_x = val; +} + +void WorldModel::__set_their_defense_line_x(const double val) { + this->their_defense_line_x = val; +} + +void WorldModel::__set_our_defense_player_line_x(const double val) { + this->our_defense_player_line_x = val; +} + +void WorldModel::__set_their_defense_player_line_x(const double val) { + this->their_defense_player_line_x = val; +} std::ostream& operator<<(std::ostream& out, const WorldModel& obj) { obj.printTo(out); @@ -3717,6 +3773,38 @@ uint32_t WorldModel::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 32: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->our_defense_line_x); + this->__isset.our_defense_line_x = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 33: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->their_defense_line_x); + this->__isset.their_defense_line_x = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 34: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->our_defense_player_line_x); + this->__isset.our_defense_player_line_x = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 35: + if (ftype == ::apache::thrift::protocol::T_DOUBLE) { + xfer += iprot->readDouble(this->their_defense_player_line_x); + this->__isset.their_defense_player_line_x = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -3909,6 +3997,22 @@ uint32_t WorldModel::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldBegin("our_defense_line_x", ::apache::thrift::protocol::T_DOUBLE, 32); + xfer += oprot->writeDouble(this->our_defense_line_x); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("their_defense_line_x", ::apache::thrift::protocol::T_DOUBLE, 33); + xfer += oprot->writeDouble(this->their_defense_line_x); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("our_defense_player_line_x", ::apache::thrift::protocol::T_DOUBLE, 34); + xfer += oprot->writeDouble(this->our_defense_player_line_x); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("their_defense_player_line_x", ::apache::thrift::protocol::T_DOUBLE, 35); + xfer += oprot->writeDouble(this->their_defense_player_line_x); + xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -3947,6 +4051,10 @@ void swap(WorldModel &a, WorldModel &b) { swap(a.their_team_score, b.their_team_score); swap(a.is_penalty_kick_mode, b.is_penalty_kick_mode); swap(a.helios_home_positions, b.helios_home_positions); + swap(a.our_defense_line_x, b.our_defense_line_x); + swap(a.their_defense_line_x, b.their_defense_line_x); + swap(a.our_defense_player_line_x, b.our_defense_player_line_x); + swap(a.their_defense_player_line_x, b.their_defense_player_line_x); swap(a.__isset, b.__isset); } @@ -3982,6 +4090,10 @@ WorldModel::WorldModel(const WorldModel& other73) { their_team_score = other73.their_team_score; is_penalty_kick_mode = other73.is_penalty_kick_mode; helios_home_positions = other73.helios_home_positions; + our_defense_line_x = other73.our_defense_line_x; + their_defense_line_x = other73.their_defense_line_x; + our_defense_player_line_x = other73.our_defense_player_line_x; + their_defense_player_line_x = other73.their_defense_player_line_x; __isset = other73.__isset; } WorldModel& WorldModel::operator=(const WorldModel& other74) { @@ -4016,6 +4128,10 @@ WorldModel& WorldModel::operator=(const WorldModel& other74) { their_team_score = other74.their_team_score; is_penalty_kick_mode = other74.is_penalty_kick_mode; helios_home_positions = other74.helios_home_positions; + our_defense_line_x = other74.our_defense_line_x; + their_defense_line_x = other74.their_defense_line_x; + our_defense_player_line_x = other74.our_defense_player_line_x; + their_defense_player_line_x = other74.their_defense_player_line_x; __isset = other74.__isset; return *this; } @@ -4053,6 +4169,10 @@ void WorldModel::printTo(std::ostream& out) const { out << ", " << "their_team_score=" << to_string(their_team_score); out << ", " << "is_penalty_kick_mode=" << to_string(is_penalty_kick_mode); out << ", " << "helios_home_positions=" << to_string(helios_home_positions); + out << ", " << "our_defense_line_x=" << to_string(our_defense_line_x); + out << ", " << "their_defense_line_x=" << to_string(their_defense_line_x); + out << ", " << "our_defense_player_line_x=" << to_string(our_defense_player_line_x); + out << ", " << "their_defense_player_line_x=" << to_string(their_defense_player_line_x); out << ")"; } diff --git a/src/thrift-generated/soccer_service_types.h b/src/thrift-generated/soccer_service_types.h index 9b4ca21..9b08e4a 100644 --- a/src/thrift-generated/soccer_service_types.h +++ b/src/thrift-generated/soccer_service_types.h @@ -1020,7 +1020,7 @@ void swap(Player &a, Player &b); std::ostream& operator<<(std::ostream& out, const Player& obj); typedef struct _Self__isset { - _Self__isset() : position(false), seen_position(false), heard_position(false), velocity(false), seen_velocity(false), pos_count(false), seen_pos_count(false), heard_pos_count(false), vel_count(false), seen_vel_count(false), ghost_count(false), id(false), side(false), uniform_number(false), uniform_number_count(false), is_goalie(false), body_direction(false), body_direction_count(false), face_direction(false), face_direction_count(false), point_to_direction(false), point_to_direction_count(false), is_kicking(false), dist_from_ball(false), angle_from_ball(false), ball_reach_steps(false), is_tackling(false), relative_neck_direction(false), stamina(false), is_kickable(false), catch_probability(false), tackle_probability(false), foul_probability(false), view_width(false), type_id(false), kick_rate(false) {} + _Self__isset() : position(false), seen_position(false), heard_position(false), velocity(false), seen_velocity(false), pos_count(false), seen_pos_count(false), heard_pos_count(false), vel_count(false), seen_vel_count(false), ghost_count(false), id(false), side(false), uniform_number(false), uniform_number_count(false), is_goalie(false), body_direction(false), body_direction_count(false), face_direction(false), face_direction_count(false), point_to_direction(false), point_to_direction_count(false), is_kicking(false), dist_from_ball(false), angle_from_ball(false), ball_reach_steps(false), is_tackling(false), relative_neck_direction(false), stamina(false), is_kickable(false), catch_probability(false), tackle_probability(false), foul_probability(false), view_width(false), type_id(false), kick_rate(false), recovery(false), stamina_capacity(false) {} bool position :1; bool seen_position :1; bool heard_position :1; @@ -1057,6 +1057,8 @@ typedef struct _Self__isset { bool view_width :1; bool type_id :1; bool kick_rate :1; + bool recovery :1; + bool stamina_capacity :1; } _Self__isset; class Self : public virtual ::apache::thrift::TBase { @@ -1095,7 +1097,9 @@ class Self : public virtual ::apache::thrift::TBase { foul_probability(0), view_width(static_cast(0)), type_id(0), - kick_rate(0) { + kick_rate(0), + recovery(0), + stamina_capacity(0) { } virtual ~Self() noexcept; @@ -1143,6 +1147,8 @@ class Self : public virtual ::apache::thrift::TBase { ViewWidth::type view_width; int32_t type_id; double kick_rate; + double recovery; + double stamina_capacity; _Self__isset __isset; @@ -1218,6 +1224,10 @@ class Self : public virtual ::apache::thrift::TBase { void __set_kick_rate(const double val); + void __set_recovery(const double val); + + void __set_stamina_capacity(const double val); + bool operator == (const Self & rhs) const { if (!(position == rhs.position)) @@ -1292,6 +1302,10 @@ class Self : public virtual ::apache::thrift::TBase { return false; if (!(kick_rate == rhs.kick_rate)) return false; + if (!(recovery == rhs.recovery)) + return false; + if (!(stamina_capacity == rhs.stamina_capacity)) + return false; return true; } bool operator != (const Self &rhs) const { @@ -1525,7 +1539,7 @@ void swap(InterceptTable &a, InterceptTable &b); std::ostream& operator<<(std::ostream& out, const InterceptTable& obj); typedef struct _WorldModel__isset { - _WorldModel__isset() : intercept_table(false), our_team_name(false), their_team_name(false), our_side(false), last_set_play_start_time(false), myself(false), ball(false), teammates(false), opponents(false), unknowns(false), our_players_dict(false), their_players_dict(false), our_goalie_uniform_number(false), their_goalie_uniform_number(false), offside_line_x(false), offside_line_x_count(false), kickable_teammate_id(false), kickable_opponent_id(false), last_kick_side(false), last_kicker_uniform_number(false), cycle(false), game_mode_type(false), left_team_score(false), right_team_score(false), is_our_set_play(false), is_their_set_play(false), stoped_cycle(false), our_team_score(false), their_team_score(false), is_penalty_kick_mode(false), helios_home_positions(false) {} + _WorldModel__isset() : intercept_table(false), our_team_name(false), their_team_name(false), our_side(false), last_set_play_start_time(false), myself(false), ball(false), teammates(false), opponents(false), unknowns(false), our_players_dict(false), their_players_dict(false), our_goalie_uniform_number(false), their_goalie_uniform_number(false), offside_line_x(false), offside_line_x_count(false), kickable_teammate_id(false), kickable_opponent_id(false), last_kick_side(false), last_kicker_uniform_number(false), cycle(false), game_mode_type(false), left_team_score(false), right_team_score(false), is_our_set_play(false), is_their_set_play(false), stoped_cycle(false), our_team_score(false), their_team_score(false), is_penalty_kick_mode(false), helios_home_positions(false), our_defense_line_x(false), their_defense_line_x(false), our_defense_player_line_x(false), their_defense_player_line_x(false) {} bool intercept_table :1; bool our_team_name :1; bool their_team_name :1; @@ -1557,6 +1571,10 @@ typedef struct _WorldModel__isset { bool their_team_score :1; bool is_penalty_kick_mode :1; bool helios_home_positions :1; + bool our_defense_line_x :1; + bool their_defense_line_x :1; + bool our_defense_player_line_x :1; + bool their_defense_player_line_x :1; } _WorldModel__isset; class WorldModel : public virtual ::apache::thrift::TBase { @@ -1586,7 +1604,11 @@ class WorldModel : public virtual ::apache::thrift::TBase { stoped_cycle(0), our_team_score(0), their_team_score(0), - is_penalty_kick_mode(0) { + is_penalty_kick_mode(0), + our_defense_line_x(0), + their_defense_line_x(0), + our_defense_player_line_x(0), + their_defense_player_line_x(0) { } virtual ~WorldModel() noexcept; @@ -1633,6 +1655,10 @@ class WorldModel : public virtual ::apache::thrift::TBase { int32_t their_team_score; bool is_penalty_kick_mode; std::map helios_home_positions; + double our_defense_line_x; + double their_defense_line_x; + double our_defense_player_line_x; + double their_defense_player_line_x; _WorldModel__isset __isset; @@ -1698,6 +1724,14 @@ class WorldModel : public virtual ::apache::thrift::TBase { void __set_helios_home_positions(const std::map & val); + void __set_our_defense_line_x(const double val); + + void __set_their_defense_line_x(const double val); + + void __set_our_defense_player_line_x(const double val); + + void __set_their_defense_player_line_x(const double val); + bool operator == (const WorldModel & rhs) const { if (!(intercept_table == rhs.intercept_table)) @@ -1762,6 +1796,14 @@ class WorldModel : public virtual ::apache::thrift::TBase { return false; if (!(helios_home_positions == rhs.helios_home_positions)) return false; + if (!(our_defense_line_x == rhs.our_defense_line_x)) + return false; + if (!(their_defense_line_x == rhs.their_defense_line_x)) + return false; + if (!(our_defense_player_line_x == rhs.our_defense_player_line_x)) + return false; + if (!(their_defense_player_line_x == rhs.their_defense_player_line_x)) + return false; return true; } bool operator != (const WorldModel &rhs) const { From d80dcd57010049fba3ef0b05cd25316d830e85f5 Mon Sep 17 00:00:00 2001 From: SK2iP Date: Sat, 14 Sep 2024 03:13:18 +0330 Subject: [PATCH 14/21] clean code in client_players --- src/grpc-client/grpc_client_player.cpp | 518 +++++++++------------ src/grpc-client/grpc_client_player.h | 1 + src/thrift-client/thrift_client_player.cpp | 421 ++++++++--------- src/thrift-client/thrift_client_player.h | 2 + 4 files changed, 425 insertions(+), 517 deletions(-) diff --git a/src/grpc-client/grpc_client_player.cpp b/src/grpc-client/grpc_client_player.cpp index 24b8da9..1c003c6 100644 --- a/src/grpc-client/grpc_client_player.cpp +++ b/src/grpc-client/grpc_client_player.cpp @@ -138,169 +138,128 @@ void GrpcClientPlayer::getActions() for (int i = 0; i < actions.actions_size(); i++) { auto action = actions.actions(i); - switch (action.action_case()) - { - case PlayerAction::kDash: - { + if (action.action_case() == PlayerAction::kDash) { agent->doDash(action.dash().power(), action.dash().relative_direction()); body_action_done++; - break; } - case PlayerAction::kKick: - { + else if (action.action_case() == PlayerAction::kKick) { agent->doKick(action.kick().power(), action.kick().relative_direction()); body_action_done++; - break; } - case PlayerAction::kTurn: - { + else if (action.action_case() == PlayerAction::kTurn) { agent->doTurn(action.turn().relative_direction()); body_action_done++; - break; } - case PlayerAction::kTackle: - { + else if (action.action_case() == PlayerAction::kTackle) { agent->doTackle(action.tackle().power_or_dir(), action.tackle().foul()); body_action_done++; - break; } - case PlayerAction::kCatch: - { + else if (action.action_case() == PlayerAction::kCatch) { agent->doCatch(); body_action_done++; - break; } - case PlayerAction::kMove: - { + else if (action.action_case() == PlayerAction::kMove) { agent->doMove(action.move().x(), action.move().y()); body_action_done++; - break; } - case PlayerAction::kTurnNeck: - { + else if (action.action_case() == PlayerAction::kTurnNeck) { agent->doTurnNeck(action.turn_neck().moment()); - break; } - case PlayerAction::kChangeView: - { + else if (action.action_case() == PlayerAction::kChangeView) { const rcsc::ViewWidth view_width = GrpcClient::convertViewWidth(action.change_view().view_width()); agent->doChangeView(view_width); - break; } - case PlayerAction::kSay: - { + else if (action.action_case() == PlayerAction::kSay) { addSayMessage(action.say()); - break; } - case PlayerAction::kPointTo: - { + else if (action.action_case() == PlayerAction::kPointTo) { agent->doPointto(action.point_to().x(), action.point_to().y()); - break; } - case PlayerAction::kPointToOf: - { + else if (action.action_case() == PlayerAction::kPointToOf) { + agent->doPointtoOff(); - break; } - case PlayerAction::kAttentionTo: - { + else if (action.action_case() == PlayerAction::kAttentionTo) { const rcsc::SideID side = GrpcClient::convertSideID(action.attention_to().side()); agent->doAttentionto(side, action.attention_to().unum()); - break; } - case PlayerAction::kAttentionToOf: - { + else if (action.action_case() == PlayerAction::kAttentionToOf) { agent->doAttentiontoOff(); - break; } - case PlayerAction::kLog: - { + else if (action.action_case() == PlayerAction::kLog) { addDlog(action.log()); - break; } - // todo debugClient - case PlayerAction::kBodyGoToPoint: - { + else if (action.action_case() == PlayerAction::kBodyGoToPoint) { const auto &bodyGoToPoint = action.body_go_to_point(); const auto &targetPoint = GrpcClient::convertVector2D(bodyGoToPoint.target_point()); Body_GoToPoint(targetPoint, bodyGoToPoint.distance_threshold(), bodyGoToPoint.max_dash_power()).execute(agent); body_action_done++; - break; + agent->debugClient().addMessage("Body_GoToPoint"); } - case PlayerAction::kBodySmartKick: - { + else if (action.action_case() == PlayerAction::kBodySmartKick) { const auto &bodySmartKick = action.body_smart_kick(); const auto &targetPoint = GrpcClient::convertVector2D(bodySmartKick.target_point()); Body_SmartKick(targetPoint, bodySmartKick.first_speed(), bodySmartKick.first_speed_threshold(), bodySmartKick.max_steps()).execute(agent); body_action_done++; - break; + agent->debugClient().addMessage("Body_SmartKick"); } - case PlayerAction::kBhvBeforeKickOff: - { + else if (action.action_case() == PlayerAction::kBhvBeforeKickOff) { const auto &bhvBeforeKickOff = action.bhv_before_kick_off(); const auto &point = GrpcClient::convertVector2D(bhvBeforeKickOff.point()); Bhv_BeforeKickOff(point).execute(agent); - break; + agent->debugClient().addMessage("Bhv_BeforeKickOff"); } - case PlayerAction::kBhvBodyNeckToBall: - { + else if (action.action_case() == PlayerAction::kBhvBodyNeckToBall) { Bhv_BodyNeckToBall().execute(agent); body_action_done++; - break; + agent->debugClient().addMessage("Bhv_BodyNeckToBall"); } - case PlayerAction::kBhvBodyNeckToPoint: - { + else if (action.action_case() == PlayerAction::kBhvBodyNeckToPoint) { const auto &bhvBodyNeckToPoint = action.bhv_body_neck_to_point(); const auto &targetPoint = GrpcClient::convertVector2D(bhvBodyNeckToPoint.point()); Bhv_BodyNeckToPoint(targetPoint).execute(agent); body_action_done++; - break; + agent->debugClient().addMessage("Bhv_BodyNeckToPoint"); } - case PlayerAction::kBhvEmergency: - { + else if (action.action_case() == PlayerAction::kBhvEmergency) { Bhv_Emergency().execute(agent); - break; + agent->debugClient().addMessage("Bhv_Emergency"); + } - case PlayerAction::kBhvGoToPointLookBall: - { + else if (action.action_case() == PlayerAction::kBhvGoToPointLookBall) { const auto &bhvGoToPointLookBall = action.bhv_go_to_point_look_ball(); const auto &targetPoint = GrpcClient::convertVector2D(bhvGoToPointLookBall.target_point()); Bhv_GoToPointLookBall(targetPoint, bhvGoToPointLookBall.distance_threshold(), bhvGoToPointLookBall.max_dash_power()).execute(agent); body_action_done++; - break; + agent->debugClient().addMessage("Bhv_GoToPointLookBall"); } - case PlayerAction::kBhvNeckBodyToBall: - { + else if (action.action_case() == PlayerAction::kBhvNeckBodyToBall) { + const auto &bhvNeckBodyToBall = action.bhv_neck_body_to_ball(); Bhv_NeckBodyToBall(bhvNeckBodyToBall.angle_buf()).execute(agent); - break; + agent->debugClient().addMessage("Bhv_NeckBodyToBall"); } - case PlayerAction::kBhvNeckBodyToPoint: - { + else if (action.action_case() == PlayerAction::kBhvNeckBodyToPoint) { const auto &bhvNeckBodyToPoint = action.bhv_neck_body_to_point(); const auto &targetPoint = GrpcClient::convertVector2D(bhvNeckBodyToPoint.point()); Bhv_NeckBodyToPoint(targetPoint, bhvNeckBodyToPoint.angle_buf()).execute(agent); - break; + agent->debugClient().addMessage("Bhv_NeckBodyToPoint"); } - case PlayerAction::kBhvScanField: - { + else if (action.action_case() == PlayerAction::kBhvScanField) { Bhv_ScanField().execute(agent); - break; + agent->debugClient().addMessage("Bhv_ScanField"); } - case PlayerAction::kBodyAdvanceBall: - { + else if (action.action_case() == PlayerAction::kBodyAdvanceBall) { Body_AdvanceBall().execute(agent); body_action_done++; - break; + agent->debugClient().addMessage("Body_AdvanceBall"); } - case PlayerAction::kBodyClearBall: - { + else if (action.action_case() == PlayerAction::kBodyClearBall) { Body_ClearBall().execute(agent); body_action_done++; - break; + agent->debugClient().addMessage("Body_ClearBall"); } - case PlayerAction::kBodyDribble: - { + else if (action.action_case() == PlayerAction::kBodyDribble) { const auto &bodyDribble = action.body_dribble(); const auto &targetPoint = GrpcClient::convertVector2D(bodyDribble.target_point()); Body_Dribble( @@ -311,10 +270,9 @@ void GrpcClientPlayer::getActions() bodyDribble.dodge()) .execute(agent); body_action_done++; - break; + agent->debugClient().addMessage("Body_Dribble"); } - case PlayerAction::kBodyGoToPointDodge: - { + else if (action.action_case() == PlayerAction::kBodyGoToPointDodge) { const auto &bodyGoToPointDodge = action.body_go_to_point_dodge(); const auto &targetPoint = GrpcClient::convertVector2D(bodyGoToPointDodge.target_point()); Body_GoToPointDodge( @@ -322,10 +280,9 @@ void GrpcClientPlayer::getActions() bodyGoToPointDodge.dash_power()) .execute(agent); body_action_done++; - break; + agent->debugClient().addMessage("Body_GoToPointDodge"); } - case PlayerAction::kBodyHoldBall: - { + else if (action.action_case() == PlayerAction::kBodyHoldBall) { const auto &bodyHoldBall = action.body_hold_ball(); const auto &turnTargetPoint = GrpcClient::convertVector2D(bodyHoldBall.turn_target_point()); const auto &kickTargetPoint = GrpcClient::convertVector2D(bodyHoldBall.kick_target_point()); @@ -335,10 +292,9 @@ void GrpcClientPlayer::getActions() kickTargetPoint) .execute(agent); body_action_done++; - break; + agent->debugClient().addMessage("Body_HoldBall"); } - case PlayerAction::kBodyIntercept: - { + else if (action.action_case() == PlayerAction::kBodyIntercept) { const auto &bodyIntercept = action.body_intercept(); const auto &facePoint = GrpcClient::convertVector2D(bodyIntercept.face_point()); Body_Intercept( @@ -346,10 +302,9 @@ void GrpcClientPlayer::getActions() facePoint) .execute(agent); body_action_done++; - break; + agent->debugClient().addMessage("Body_Intercept"); } - case PlayerAction::kBodyKickOneStep: - { + else if (action.action_case() == PlayerAction::kBodyKickOneStep) { const auto &bodyKickOneStep = action.body_kick_one_step(); const auto &targetPoint = GrpcClient::convertVector2D(bodyKickOneStep.target_point()); Body_KickOneStep( @@ -358,25 +313,22 @@ void GrpcClientPlayer::getActions() bodyKickOneStep.force_mode()) .execute(agent); body_action_done++; - break; + agent->debugClient().addMessage("Body_KickOneStep"); } - case PlayerAction::kBodyStopBall: - { + else if (action.action_case() == PlayerAction::kBodyStopBall) { Body_StopBall().execute(agent); body_action_done++; - break; + agent->debugClient().addMessage("Body_StopBall"); } - case PlayerAction::kBodyStopDash: - { + else if (action.action_case() == PlayerAction::kBodyStopDash) { const auto &bodyStopDash = action.body_stop_dash(); Body_StopDash( bodyStopDash.save_recovery()) .execute(agent); body_action_done++; - break; + agent->debugClient().addMessage("Body_StopDash"); } - case PlayerAction::kBodyTackleToPoint: - { + else if (action.action_case() == PlayerAction::kBodyTackleToPoint) { const auto &bodyTackleToPoint = action.body_tackle_to_point(); const auto &targetPoint = GrpcClient::convertVector2D(bodyTackleToPoint.target_point()); Body_TackleToPoint( @@ -385,28 +337,25 @@ void GrpcClientPlayer::getActions() bodyTackleToPoint.min_speed()) .execute(agent); body_action_done++; - break; + agent->debugClient().addMessage("Body_TackleToPoint"); } - case PlayerAction::kBodyTurnToAngle: - { + else if (action.action_case() == PlayerAction::kBodyTurnToAngle) { const auto &bodyTurnToAngle = action.body_turn_to_angle(); Body_TurnToAngle( bodyTurnToAngle.angle()) .execute(agent); body_action_done++; - break; + agent->debugClient().addMessage("Body_TurnToAngle"); } - case PlayerAction::kBodyTurnToBall: - { + else if (action.action_case() == PlayerAction::kBodyTurnToBall) { const auto &bodyTurnToBall = action.body_turn_to_ball(); Body_TurnToBall( bodyTurnToBall.cycle()) .execute(agent); body_action_done++; - break; + agent->debugClient().addMessage("Body_TurnToBall"); } - case PlayerAction::kBodyTurnToPoint: - { + else if (action.action_case() == PlayerAction::kBodyTurnToPoint) { const auto &bodyTurnToPoint = action.body_turn_to_point(); const auto &targetPoint = GrpcClient::convertVector2D(bodyTurnToPoint.target_point()); Body_TurnToPoint( @@ -414,195 +363,164 @@ void GrpcClientPlayer::getActions() bodyTurnToPoint.cycle()) .execute(agent); body_action_done++; - break; + agent->debugClient().addMessage("Body_TurnToPoint"); } - case PlayerAction::kFocusMoveToPoint: - { + else if (action.action_case() == PlayerAction::kFocusMoveToPoint) { const auto &focusMoveToPoint = action.focus_move_to_point(); const auto &targetPoint = GrpcClient::convertVector2D(focusMoveToPoint.target_point()); rcsc::Focus_MoveToPoint( targetPoint) .execute(agent); - break; + agent->debugClient().addMessage("Focus_MoveToPoint"); } - case PlayerAction::kFocusReset: - { + else if (action.action_case() == PlayerAction::kFocusReset) { rcsc::Focus_Reset().execute(agent); - break; + agent->debugClient().addMessage("Focus_Reset"); } - case PlayerAction::kNeckScanField: - { + else if (action.action_case() == PlayerAction::kNeckScanField) { Neck_ScanField().execute(agent); - break; + agent->debugClient().addMessage("Neck_ScanField"); } - case PlayerAction::kNeckScanPlayers: - { + else if (action.action_case() == PlayerAction::kNeckScanPlayers) { Neck_ScanPlayers().execute(agent); - break; + agent->debugClient().addMessage("Neck_ScanPlayers"); } - case PlayerAction::kNeckTurnToBallAndPlayer: - { + else if (action.action_case() == PlayerAction::kNeckTurnToBallAndPlayer) { const auto &neckTurnToBallAndPlayer = action.neck_turn_to_ball_and_player(); const rcsc::AbstractPlayerObject *player = nullptr; - if (neckTurnToBallAndPlayer.side() == protos::Side::LEFT && agent->world().ourSide() == rcsc::SideID::LEFT) - { + if (neckTurnToBallAndPlayer.side() == protos::Side::LEFT && agent->world().ourSide() == rcsc::SideID::LEFT){ player = agent->world().ourPlayer(neckTurnToBallAndPlayer.uniform_number()); } - else - { + else{ player = agent->world().theirPlayer(neckTurnToBallAndPlayer.uniform_number()); } - if (player != nullptr) - { + if (player != nullptr){ Neck_TurnToBallAndPlayer( player, neckTurnToBallAndPlayer.count_threshold()) .execute(agent); + agent->debugClient().addMessage("Neck_TurnToBallAndPlayer"); } - break; } - case PlayerAction::kNeckTurnToBallOrScan: - { + else if (action.action_case() == PlayerAction::kNeckTurnToBallOrScan) { const auto &neckTurnToBallOrScan = action.neck_turn_to_ball_or_scan(); Neck_TurnToBallOrScan( neckTurnToBallOrScan.count_threshold()) .execute(agent); - break; + agent->debugClient().addMessage("Neck_TurnToBallOrScan"); } - case PlayerAction::kNeckTurnToBall: - { + else if (action.action_case() == PlayerAction::kNeckTurnToBall) { Neck_TurnToBall().execute(agent); - break; + agent->debugClient().addMessage("Neck_TurnToBall"); } - case PlayerAction::kNeckTurnToGoalieOrScan: - { + else if (action.action_case() == PlayerAction::kNeckTurnToGoalieOrScan) { const auto &neckTurnToGoalieOrScan = action.neck_turn_to_goalie_or_scan(); Neck_TurnToGoalieOrScan( neckTurnToGoalieOrScan.count_threshold()) .execute(agent); - break; + agent->debugClient().addMessage("Neck_TurnToGoalieOrScan"); } - case PlayerAction::kNeckTurnToLowConfTeammate: - { + else if (action.action_case() == PlayerAction::kNeckTurnToLowConfTeammate) { const auto &neckTurnToLowConfTeammate = action.neck_turn_to_low_conf_teammate(); Neck_TurnToLowConfTeammate().execute(agent); - break; + agent->debugClient().addMessage("Neck_TurnToLowConfTeammate"); } - case PlayerAction::kNeckTurnToPlayerOrScan: - { + else if (action.action_case() == PlayerAction::kNeckTurnToPlayerOrScan) { const auto &neckTurnToPlayerOrScan = action.neck_turn_to_player_or_scan(); const rcsc::AbstractPlayerObject *player = nullptr; - if (neckTurnToPlayerOrScan.side() == protos::Side::LEFT && agent->world().ourSide() == rcsc::SideID::LEFT) - { + if (neckTurnToPlayerOrScan.side() == protos::Side::LEFT && agent->world().ourSide() == rcsc::SideID::LEFT){ player = agent->world().ourPlayer(neckTurnToPlayerOrScan.uniform_number()); } - else - { + else{ player = agent->world().theirPlayer(neckTurnToPlayerOrScan.uniform_number()); } - if (player != nullptr) - { + if (player != nullptr){ Neck_TurnToPlayerOrScan( player, neckTurnToPlayerOrScan.count_threshold()) .execute(agent); + agent->debugClient().addMessage("Neck_TurnToPlayerOrScan"); } - break; } - case PlayerAction::kNeckTurnToPoint: - { + else if (action.action_case() == PlayerAction::kNeckTurnToPoint) { const auto &neckTurnToPoint = action.neck_turn_to_point(); const auto &targetPoint = GrpcClient::convertVector2D(neckTurnToPoint.target_point()); Neck_TurnToPoint( targetPoint) .execute(agent); - break; + agent->debugClient().addMessage("Neck_TurnToPoint"); } - case PlayerAction::kNeckTurnToRelative: - { + else if (action.action_case() == PlayerAction::kNeckTurnToRelative) { const auto &neckTurnToRelative = action.neck_turn_to_relative(); Neck_TurnToRelative( neckTurnToRelative.angle()) .execute(agent); - break; + agent->debugClient().addMessage("Neck_TurnToRelative"); } - case PlayerAction::kViewChangeWidth: - { + else if (action.action_case() == PlayerAction::kViewChangeWidth) { const auto &viewChangeWidth = action.view_change_width(); const rcsc::ViewWidth view_width = GrpcClient::convertViewWidth(viewChangeWidth.view_width()); View_ChangeWidth( view_width) .execute(agent); - break; + agent->debugClient().addMessage("View_ChangeWidth"); } - case PlayerAction::kViewNormal: - { + else if (action.action_case() == PlayerAction::kViewNormal) { View_Normal().execute(agent); - break; + agent->debugClient().addMessage("View_Normal"); } - case PlayerAction::kViewWide: - { + else if (action.action_case() == PlayerAction::kViewWide) { View_Wide().execute(agent); - break; + agent->debugClient().addMessage("View_Wide"); } - case PlayerAction::kViewSynch: - { + else if (action.action_case() == PlayerAction::kViewSynch) { View_Synch().execute(agent); - break; + agent->debugClient().addMessage("View_Synch"); } - case PlayerAction::kHeliosGoalie: - { + else if (action.action_case() == PlayerAction::kHeliosGoalie) { RoleGoalie roleGoalie = RoleGoalie(); roleGoalie.execute(agent); - break; + agent->debugClient().addMessage("RoleGoalie - execute"); } - case PlayerAction::kHeliosGoalieMove: - { + else if (action.action_case() == PlayerAction::kHeliosGoalieMove) { RoleGoalie roleGoalie = RoleGoalie(); roleGoalie.doMove(agent); - break; + agent->debugClient().addMessage("RoleGoalie - do Move"); } - case PlayerAction::kHeliosGoalieKick: - { + else if (action.action_case() == PlayerAction::kHeliosGoalieKick) { RoleGoalie roleGoalie = RoleGoalie(); roleGoalie.doKick(agent); - break; + agent->debugClient().addMessage("RoleGoalie - do Kick"); } - case PlayerAction::kHeliosShoot: - { + else if (action.action_case() == PlayerAction::kHeliosShoot) { const rcsc::WorldModel &wm = agent->world(); - + if (wm.gameMode().type() != rcsc::GameMode::IndFreeKick_ && wm.time().stopped() == 0 && wm.self().isKickable() && Bhv_StrictCheckShoot().execute(agent)) - { + { } - break; } - case PlayerAction::kHeliosBasicMove: - { + else if (action.action_case() == PlayerAction::kHeliosBasicMove) { Bhv_BasicMove().execute(agent); - break; + agent->debugClient().addMessage("Bhv_BasicMove"); } - case PlayerAction::kHeliosSetPlay: - { + else if (action.action_case() == PlayerAction::kHeliosSetPlay) { Bhv_SetPlay().execute(agent); - break; + agent->debugClient().addMessage("Bhv_SetPlay"); } - case PlayerAction::kHeliosPenalty: - { + else if (action.action_case() == PlayerAction::kHeliosPenalty) { Bhv_PenaltyKick().execute(agent); - break; + agent->debugClient().addMessage("Bhv_PenaltyKick"); } - case PlayerAction::kHeliosCommunication: - { - sample_communication->execute(agent); - break; + else if (action.action_case() == PlayerAction::kHeliosCommunication) { + sample_communication->execute(agent); + agent->debugClient().addMessage("sample_communication - execute"); } - case PlayerAction::kHeliosChainAction: - { + else if (action.action_case() == PlayerAction::kHeliosChainAction) { FieldEvaluator::ConstPtr field_evaluator = FieldEvaluator::ConstPtr(new SampleFieldEvaluator); CompositeActionGenerator *g = new CompositeActionGenerator(); - - if (action.helios_chain_action().lead_pass() || action.helios_chain_action().direct_pass() || action.helios_chain_action().through_pass()) + + if (action.helios_chain_action().lead_pass() + || action.helios_chain_action().direct_pass() || action.helios_chain_action().through_pass()) g->addGenerator(new ActGen_MaxActionChainLengthFilter(new ActGen_StrictCheckPass(), 1)); if (action.helios_chain_action().cross()) g->addGenerator(new ActGen_MaxActionChainLengthFilter(new ActGen_Cross(), 1)); @@ -623,7 +541,7 @@ void GrpcClientPlayer::getActions() { Body_HoldBall().execute(agent); agent->setNeckAction(new Neck_ScanField()); - break; + continue; } ActionGenerator::ConstPtr action_generator = ActionGenerator::ConstPtr(g); ActionChainHolder::instance().setFieldEvaluator(field_evaluator); @@ -635,7 +553,6 @@ void GrpcClientPlayer::getActions() if (GetBestPlannerAction()) { agent->debugClient().addMessage("GetBestPlannerAction"); - break; } } else @@ -643,21 +560,18 @@ void GrpcClientPlayer::getActions() if (Bhv_PlannedAction().execute(agent)) { agent->debugClient().addMessage("PlannedAction"); - break; } - + } - Body_HoldBall().execute(agent); - agent->setNeckAction(new Neck_ScanField()); - break; - } - // HeliosChainAction helios_chain_action = 59; - default: - { - LOG("unknown action"); - break; } + else + { + #ifdef DEBUG_CLIENT_PLAYER + std::cout << "Unkown action"<setNeckAction(new Neck_ScanField()); } } } @@ -673,92 +587,10 @@ bool GrpcClientPlayer::GetBestPlannerAction() std::cout << "GetBestActionStatePair:" << "c" << M_agent->world().time().cycle() << std::endl; std::cout << "results size:" << ActionChainHolder::instance().graph().getAllResults().size() << std::endl; #endif - for (auto & index_resultPair : ActionChainHolder::instance().graph().getAllResults()) - { - try - { - - auto & result_pair = index_resultPair.second; - auto action_ptr = result_pair.first->actionPtr(); - auto state_ptr = result_pair.first->statePtr(); - int unique_index = action_ptr->uniqueIndex(); - int parent_index = action_ptr->parentIndex(); - auto eval = result_pair.second; - #ifdef DEBUG_CLIENT_PLAYER - std::cout<<"index:"<mutable_pairs(); - auto rpc_action_state_pair = protos::RpcActionState(); - auto rpc_cooperative_action = new protos::RpcCooperativeAction(); - auto rpc_predict_state = new protos::RpcPredictState(); - auto category = protos::RpcActionCategory::AC_Hold; - - switch (action_ptr->category()) - { - case CooperativeAction::Hold: - category = protos::RpcActionCategory::AC_Hold; - break; - case CooperativeAction::Dribble: - category = protos::RpcActionCategory::AC_Dribble; - break; - case CooperativeAction::Pass: - category = protos::RpcActionCategory::AC_Pass; - break; - case CooperativeAction::Shoot: - category = protos::RpcActionCategory::AC_Shoot; - break; - case CooperativeAction::Clear: - category = protos::RpcActionCategory::AC_Clear; - break; - case CooperativeAction::Move: - category = protos::RpcActionCategory::AC_Move; - break; - case CooperativeAction::NoAction: - category = protos::RpcActionCategory::AC_NoAction; - break; - default: - break; - } - rpc_cooperative_action->set_category(category); - rpc_cooperative_action->set_index(unique_index); - rpc_cooperative_action->set_sender_unum(action_ptr->playerUnum()); - rpc_cooperative_action->set_target_unum(action_ptr->targetPlayerUnum()); - rpc_cooperative_action->set_allocated_target_point(StateGenerator::convertVector2D(action_ptr->targetPoint())); - rpc_cooperative_action->set_first_ball_speed(action_ptr->firstBallSpeed()); - rpc_cooperative_action->set_first_turn_moment(action_ptr->firstTurnMoment()); - rpc_cooperative_action->set_first_dash_power(action_ptr->firstDashPower()); - rpc_cooperative_action->set_first_dash_angle_relative(action_ptr->firstDashAngle().degree()); - rpc_cooperative_action->set_duration_step(action_ptr->durationStep()); - rpc_cooperative_action->set_kick_count(action_ptr->kickCount()); - rpc_cooperative_action->set_turn_count(action_ptr->turnCount()); - rpc_cooperative_action->set_dash_count(action_ptr->dashCount()); - rpc_cooperative_action->set_final_action(action_ptr->isFinalAction()); - rpc_cooperative_action->set_description(action_ptr->description()); - rpc_cooperative_action->set_parent_index(parent_index); - - rpc_predict_state->set_spend_time(state_ptr->spendTime()); - rpc_predict_state->set_ball_holder_unum(state_ptr->ballHolderUnum()); - rpc_predict_state->set_allocated_ball_position(StateGenerator::convertVector2D(state_ptr->ball().pos())); - rpc_predict_state->set_allocated_ball_velocity(StateGenerator::convertVector2D(state_ptr->ball().vel())); - rpc_predict_state->set_our_defense_line_x(state_ptr->ourDefenseLineX()); - rpc_predict_state->set_our_offense_line_x(state_ptr->ourOffensePlayerLineX()); - - rpc_action_state_pair.set_allocated_action(rpc_cooperative_action); - rpc_action_state_pair.set_allocated_predict_state(rpc_predict_state); - rpc_action_state_pair.set_evaluation(eval); - - (*map)[unique_index] = rpc_action_state_pair; - } - catch (const std::exception &e) - { - std::cout << e.what() << '\n'; - } - } - + convertResultPairToRpcActionStatePair(action_state_pairs->mutable_pairs()) #ifdef DEBUG_CLIENT_PLAYER std::cout << "map size:" << action_state_pairs->pairs_size() << std::endl; #endif - protos::BestPlannerActionResponse best_action; ClientContext context; Status status = M_stub_->GetBestPlannerAction(&context, *action_state_pairs, &best_action); @@ -999,3 +831,87 @@ void GrpcClientPlayer::addHomePosition(protos::WorldModel *res) const (*map)[i] = vec_msg; } } +void GrpcClientPlayer::convertResultPairToRpcActionStatePair( std::map * pairs) +{ + for (auto & index_resultPair : ActionChainHolder::instance().graph().getAllResults()) + { + try + { + + auto & result_pair = index_resultPair.second; + auto action_ptr = result_pair.first->actionPtr(); + auto state_ptr = result_pair.first->statePtr(); + int unique_index = action_ptr->uniqueIndex(); + int parent_index = action_ptr->parentIndex(); + auto eval = result_pair.second; + #ifdef DEBUG_CLIENT_PLAYER + std::cout<<"index:"<category()) + { + case CooperativeAction::Hold: + category = protos::RpcActionCategory::AC_Hold; + break; + case CooperativeAction::Dribble: + category = protos::RpcActionCategory::AC_Dribble; + break; + case CooperativeAction::Pass: + category = protos::RpcActionCategory::AC_Pass; + break; + case CooperativeAction::Shoot: + category = protos::RpcActionCategory::AC_Shoot; + break; + case CooperativeAction::Clear: + category = protos::RpcActionCategory::AC_Clear; + break; + case CooperativeAction::Move: + category = protos::RpcActionCategory::AC_Move; + break; + case CooperativeAction::NoAction: + category = protos::RpcActionCategory::AC_NoAction; + break; + default: + break; + } + rpc_cooperative_action->set_category(category); + rpc_cooperative_action->set_index(unique_index); + rpc_cooperative_action->set_sender_unum(action_ptr->playerUnum()); + rpc_cooperative_action->set_target_unum(action_ptr->targetPlayerUnum()); + rpc_cooperative_action->set_allocated_target_point(StateGenerator::convertVector2D(action_ptr->targetPoint())); + rpc_cooperative_action->set_first_ball_speed(action_ptr->firstBallSpeed()); + rpc_cooperative_action->set_first_turn_moment(action_ptr->firstTurnMoment()); + rpc_cooperative_action->set_first_dash_power(action_ptr->firstDashPower()); + rpc_cooperative_action->set_first_dash_angle_relative(action_ptr->firstDashAngle().degree()); + rpc_cooperative_action->set_duration_step(action_ptr->durationStep()); + rpc_cooperative_action->set_kick_count(action_ptr->kickCount()); + rpc_cooperative_action->set_turn_count(action_ptr->turnCount()); + rpc_cooperative_action->set_dash_count(action_ptr->dashCount()); + rpc_cooperative_action->set_final_action(action_ptr->isFinalAction()); + rpc_cooperative_action->set_description(action_ptr->description()); + rpc_cooperative_action->set_parent_index(parent_index); + + rpc_predict_state->set_spend_time(state_ptr->spendTime()); + rpc_predict_state->set_ball_holder_unum(state_ptr->ballHolderUnum()); + rpc_predict_state->set_allocated_ball_position(StateGenerator::convertVector2D(state_ptr->ball().pos())); + rpc_predict_state->set_allocated_ball_velocity(StateGenerator::convertVector2D(state_ptr->ball().vel())); + rpc_predict_state->set_our_defense_line_x(state_ptr->ourDefenseLineX()); + rpc_predict_state->set_our_offense_line_x(state_ptr->ourOffensePlayerLineX()); + + rpc_action_state_pair.set_allocated_action(rpc_cooperative_action); + rpc_action_state_pair.set_allocated_predict_state(rpc_predict_state); + rpc_action_state_pair.set_evaluation(eval); + + (*map)[unique_index] = rpc_action_state_pair; + } + catch (const std::exception &e) + { + std::cout << e.what() << '\n'; + } + } +} diff --git a/src/grpc-client/grpc_client_player.h b/src/grpc-client/grpc_client_player.h index 7d7ebdd..a0b62c0 100644 --- a/src/grpc-client/grpc_client_player.h +++ b/src/grpc-client/grpc_client_player.h @@ -18,6 +18,7 @@ class GrpcClientPlayer : public GrpcClient, public RpcPlayerClient void getActions(); bool GetBestPlannerAction(); + void convertResultPairToRpcActionStatePair( std::map * pairs); void addSayMessage(protos::Say sayMessage) const; State generateState() const; void addHomePosition(protos::WorldModel *world_model) const; diff --git a/src/thrift-client/thrift_client_player.cpp b/src/thrift-client/thrift_client_player.cpp index 5f307a0..170010e 100644 --- a/src/thrift-client/thrift_client_player.cpp +++ b/src/thrift-client/thrift_client_player.cpp @@ -143,163 +143,148 @@ void ThriftClientPlayer::getActions() std::cout<<"Dash:"<doDash(action.dash.power, action.dash.relative_direction); body_action_done++; - continue; } - if (action.__isset.kick) + else if (action.__isset.kick) { agent->doKick(action.kick.power, action.kick.relative_direction); body_action_done++; - continue; } - if (action.__isset.turn) + else if (action.__isset.turn) { agent->doTurn(action.turn.relative_direction); body_action_done++; - continue; } - if (action.__isset.tackle) + else if (action.__isset.tackle) { agent->doTackle(action.tackle.power_or_dir, action.tackle.foul); body_action_done++; - continue; } - if (action.__isset.catch_action) + else if (action.__isset.catch_action) { agent->doCatch(); body_action_done++; - continue; } - if (action.__isset.move) + else if (action.__isset.move) { agent->doMove(action.move.x, action.move.y); body_action_done++; - continue; } - if (action.__isset.turn_neck) + else if (action.__isset.turn_neck) { agent->doTurnNeck(action.turn_neck.moment); - continue; } - if (action.__isset.change_view) + else if (action.__isset.change_view) { const rcsc::ViewWidth view_width = ThriftAgent::convertViewWidth(action.change_view.view_width); agent->doChangeView(view_width); - continue; } - if (action.__isset.say) + else if (action.__isset.say) { addSayMessage(action.say); - continue; } - if (action.__isset.point_to) + else if (action.__isset.point_to) { agent->doPointto(action.point_to.x, action.point_to.y); - continue; } - if (action.__isset.point_to_of) + else if (action.__isset.point_to_of) { agent->doPointtoOff(); - continue; } - if (action.__isset.attention_to) + else if (action.__isset.attention_to) { const rcsc::SideID side = ThriftAgent::convertSideID(action.attention_to.side); agent->doAttentionto(side, action.attention_to.unum); - continue; } - if (action.__isset.attention_to_of) + else if (action.__isset.attention_to_of) { agent->doAttentiontoOff(); - continue; } - if (action.__isset.log) + else if (action.__isset.log) { addDlog(action.log); - continue; } - // todo debugClient - if (action.__isset.body_go_to_point) + else if (action.__isset.body_go_to_point) { const auto &bodyGoToPoint = action.body_go_to_point; const auto &targetPoint = ThriftAgent::convertVector2D(bodyGoToPoint.target_point); Body_GoToPoint(targetPoint, bodyGoToPoint.distance_threshold, bodyGoToPoint.max_dash_power).execute(agent); body_action_done++; - continue; + agent->debugClient().addMessage("Body_GoToPoint"); } - if (action.__isset.body_smart_kick) + else if (action.__isset.body_smart_kick) { const auto &bodySmartKick = action.body_smart_kick; const auto &targetPoint = ThriftAgent::convertVector2D(bodySmartKick.target_point); Body_SmartKick(targetPoint, bodySmartKick.first_speed, bodySmartKick.first_speed_threshold, bodySmartKick.max_steps).execute(agent); body_action_done++; - continue; + agent->debugClient().addMessage("Body_SmartKick"); } - if (action.__isset.bhv_before_kick_off) + else if (action.__isset.bhv_before_kick_off) { const auto &bhvBeforeKickOff = action.bhv_before_kick_off; const auto &point = ThriftAgent::convertVector2D(bhvBeforeKickOff.point); Bhv_BeforeKickOff(point).execute(agent); - continue; + agent->debugClient().addMessage("Bhv_BeforeKickOff"); } - if (action.__isset.bhv_body_neck_to_ball) + else if (action.__isset.bhv_body_neck_to_ball) { Bhv_BodyNeckToBall().execute(agent); body_action_done++; - continue; + agent->debugClient().addMessage("Bhv_BodyNeckToBall"); } - if (action.__isset.bhv_body_neck_to_point) + else if (action.__isset.bhv_body_neck_to_point) { const auto &bhvBodyNeckToPoint = action.bhv_body_neck_to_point; const auto &targetPoint = ThriftAgent::convertVector2D(bhvBodyNeckToPoint.point); Bhv_BodyNeckToPoint(targetPoint).execute(agent); body_action_done++; - continue; + agent->debugClient().addMessage("Bhv_BodyNeckToPoint"); } - if (action.__isset.bhv_emergency) + else if (action.__isset.bhv_emergency) { Bhv_Emergency().execute(agent); - continue; + agent->debugClient().addMessage("Bhv_Emergency"); } - if (action.__isset.bhv_go_to_point_look_ball) + else if (action.__isset.bhv_go_to_point_look_ball) { const auto &bhvGoToPointLookBall = action.bhv_go_to_point_look_ball; const auto &targetPoint = ThriftAgent::convertVector2D(bhvGoToPointLookBall.target_point); Bhv_GoToPointLookBall(targetPoint, bhvGoToPointLookBall.distance_threshold, bhvGoToPointLookBall.max_dash_power).execute(agent); body_action_done++; - continue; + agent->debugClient().addMessage("Bhv_GoToPointLookBall"); } - if (action.__isset.bhv_neck_body_to_ball) + else if (action.__isset.bhv_neck_body_to_ball) { const auto &bhvNeckBodyToBall = action.bhv_neck_body_to_ball; Bhv_NeckBodyToBall(bhvNeckBodyToBall.angle_buf).execute(agent); - continue; + agent->debugClient().addMessage("Bhv_NeckBodyToBall"); } - if (action.__isset.bhv_neck_body_to_point) + else if (action.__isset.bhv_neck_body_to_point) { const auto &bhvNeckBodyToPoint = action.bhv_neck_body_to_point; const auto &targetPoint = ThriftAgent::convertVector2D(bhvNeckBodyToPoint.point); Bhv_NeckBodyToPoint(targetPoint, bhvNeckBodyToPoint.angle_buf).execute(agent); - continue; + agent->debugClient().addMessage("Bhv_NeckBodyToPoint"); } - if (action.__isset.bhv_scan_field) + else if (action.__isset.bhv_scan_field) { Bhv_ScanField().execute(agent); - continue; + agent->debugClient().addMessage("Bhv_ScanField"); } - if (action.__isset.body_advance_ball) + else if (action.__isset.body_advance_ball) { Body_AdvanceBall().execute(agent); - body_action_done++; - continue; + body_action_done++; + agent->debugClient().addMessage("Body_AdvanceBall"); } - if (action.__isset.body_clear_ball) + else if (action.__isset.body_clear_ball) { Body_ClearBall().execute(agent); body_action_done++; - continue; + agent->debugClient().addMessage("Body_ClearBall"); } - if (action.__isset.body_dribble) + else if (action.__isset.body_dribble) { const auto &bodyDribble = action.body_dribble; const auto &targetPoint = ThriftAgent::convertVector2D(bodyDribble.target_point); @@ -311,9 +296,9 @@ void ThriftClientPlayer::getActions() bodyDribble.dodge) .execute(agent); body_action_done++; - continue; + agent->debugClient().addMessage("Body_Dribble"); } - if (action.__isset.body_go_to_point_dodge) + else if (action.__isset.body_go_to_point_dodge) { const auto &bodyGoToPointDodge = action.body_go_to_point_dodge; const auto &targetPoint = ThriftAgent::convertVector2D(bodyGoToPointDodge.target_point); @@ -322,9 +307,9 @@ void ThriftClientPlayer::getActions() bodyGoToPointDodge.dash_power) .execute(agent); body_action_done++; - continue; + agent->debugClient().addMessage("Body_GoToPointDodge"); } - if (action.__isset.body_hold_ball) + else if (action.__isset.body_hold_ball) { const auto &bodyHoldBall = action.body_hold_ball; const auto &turnTargetPoint = ThriftAgent::convertVector2D(bodyHoldBall.turn_target_point); @@ -335,9 +320,9 @@ void ThriftClientPlayer::getActions() kickTargetPoint) .execute(agent); body_action_done++; - continue; + agent->debugClient().addMessage("Body_HoldBall"); } - if (action.__isset.body_intercept) + else if (action.__isset.body_intercept) { const auto &bodyIntercept = action.body_intercept; const auto &facePoint = ThriftAgent::convertVector2D(bodyIntercept.face_point); @@ -346,9 +331,9 @@ void ThriftClientPlayer::getActions() facePoint) .execute(agent); body_action_done++; - continue; + agent->debugClient().addMessage("Body_Intercept"); } - if (action.__isset.body_kick_one_step) + else if (action.__isset.body_kick_one_step) { const auto &bodyKickOneStep = action.body_kick_one_step; const auto &targetPoint = ThriftAgent::convertVector2D(bodyKickOneStep.target_point); @@ -358,24 +343,24 @@ void ThriftClientPlayer::getActions() bodyKickOneStep.force_mode) .execute(agent); body_action_done++; - continue; + agent->debugClient().addMessage("Body_KickOneStep"); } - if (action.__isset.body_stop_ball) + else if (action.__isset.body_stop_ball) { Body_StopBall().execute(agent); body_action_done++; - continue; + agent->debugClient().addMessage("Body_StopBall"); } - if (action.__isset.body_stop_dash) + else if (action.__isset.body_stop_dash) { const auto &bodyStopDash = action.body_stop_dash; Body_StopDash( bodyStopDash.save_recovery) .execute(agent); body_action_done++; - continue; + agent->debugClient().addMessage("Body_StopDash"); } - if (action.__isset.body_tackle_to_point) + else if (action.__isset.body_tackle_to_point) { const auto &bodyTackleToPoint = action.body_tackle_to_point; const auto &targetPoint = ThriftAgent::convertVector2D(bodyTackleToPoint.target_point); @@ -385,27 +370,27 @@ void ThriftClientPlayer::getActions() bodyTackleToPoint.min_speed) .execute(agent); body_action_done++; - continue; + agent->debugClient().addMessage("Body_TackleToPoint"); } - if (action.__isset.body_turn_to_angle) + else if (action.__isset.body_turn_to_angle) { const auto &bodyTurnToAngle = action.body_turn_to_angle; Body_TurnToAngle( bodyTurnToAngle.angle) .execute(agent); body_action_done++; - continue; + agent->debugClient().addMessage("Body_TurnToAngle"); } - if (action.__isset.body_turn_to_ball) + else if (action.__isset.body_turn_to_ball) { const auto &bodyTurnToBall = action.body_turn_to_ball; Body_TurnToBall( bodyTurnToBall.cycle) .execute(agent); body_action_done++; - continue; + agent->debugClient().addMessage("Body_TurnToBall"); } - if (action.__isset.body_turn_to_point) + else if (action.__isset.body_turn_to_point) { const auto &bodyTurnToPoint = action.body_turn_to_point; const auto &targetPoint = ThriftAgent::convertVector2D(bodyTurnToPoint.target_point); @@ -414,33 +399,33 @@ void ThriftClientPlayer::getActions() bodyTurnToPoint.cycle) .execute(agent); body_action_done++; - continue; + agent->debugClient().addMessage("Body_TurnToPoint"); } - if (action.__isset.focus_move_to_point) + else if (action.__isset.focus_move_to_point) { const auto &focusMoveToPoint = action.focus_move_to_point; const auto &targetPoint = ThriftAgent::convertVector2D(focusMoveToPoint.target_point); rcsc::Focus_MoveToPoint( targetPoint) .execute(agent); - continue; + agent->debugClient().addMessage("Focus_MoveToPoint"); } - if (action.__isset.focus_reset) + else if (action.__isset.focus_reset) { rcsc::Focus_Reset().execute(agent); - continue; + agent->debugClient().addMessage("Focus_Reset"); } - if (action.__isset.neck_scan_field) + else if (action.__isset.neck_scan_field) { Neck_ScanField().execute(agent); - continue; + agent->debugClient().addMessage("Neck_ScanField"); } - if (action.__isset.neck_scan_players) + else if (action.__isset.neck_scan_players) { Neck_ScanPlayers().execute(agent); - continue; + agent->debugClient().addMessage("Neck_ScanPlayers"); } - if (action.__isset.neck_turn_to_ball_and_player) + else if (action.__isset.neck_turn_to_ball_and_player) { const auto &neckTurnToBallAndPlayer = action.neck_turn_to_ball_and_player; const rcsc::AbstractPlayerObject *player = nullptr; @@ -458,37 +443,38 @@ void ThriftClientPlayer::getActions() player, neckTurnToBallAndPlayer.count_threshold) .execute(agent); + agent->debugClient().addMessage("Neck_TurnToBallAndPlayer"); } - continue; + } - if (action.__isset.neck_turn_to_ball_or_scan) + else if (action.__isset.neck_turn_to_ball_or_scan) { const auto &neckTurnToBallOrScan = action.neck_turn_to_ball_or_scan; Neck_TurnToBallOrScan( neckTurnToBallOrScan.count_threshold) .execute(agent); - continue; + agent->debugClient().addMessage("Neck_TurnToBallOrScan"); } - if (action.__isset.neck_turn_to_ball) + else if (action.__isset.neck_turn_to_ball) { Neck_TurnToBall().execute(agent); - continue; + agent->debugClient().addMessage("Neck_TurnToBall"); } - if (action.__isset.neck_turn_to_goalie_or_scan) + else if (action.__isset.neck_turn_to_goalie_or_scan) { const auto &neckTurnToGoalieOrScan = action.neck_turn_to_goalie_or_scan; Neck_TurnToGoalieOrScan( neckTurnToGoalieOrScan.count_threshold) .execute(agent); - continue; + agent->debugClient().addMessage("Neck_TurnToGoalieOrScan"); } - if (action.__isset.neck_turn_to_low_conf_teammate) + else if (action.__isset.neck_turn_to_low_conf_teammate) { const auto &neckTurnToLowConfTeammate = action.neck_turn_to_low_conf_teammate; Neck_TurnToLowConfTeammate().execute(agent); - continue; + agent->debugClient().addMessage("Neck_TurnToLowConfTeammate"); } - if (action.__isset.neck_turn_to_player_or_scan) + else if (action.__isset.neck_turn_to_player_or_scan) { const auto &neckTurnToPlayerOrScan = action.neck_turn_to_player_or_scan; const rcsc::AbstractPlayerObject *player = nullptr; @@ -506,69 +492,70 @@ void ThriftClientPlayer::getActions() player, neckTurnToPlayerOrScan.count_threshold) .execute(agent); + agent->debugClient().addMessage("Neck_TurnToPlayerOrScan"); } - continue; } - if (action.__isset.neck_turn_to_point) + else if (action.__isset.neck_turn_to_point) { const auto &neckTurnToPoint = action.neck_turn_to_point; const auto &targetPoint = ThriftAgent::convertVector2D(neckTurnToPoint.target_point); Neck_TurnToPoint( targetPoint) .execute(agent); - continue; + agent->debugClient().addMessage("Neck_TurnToPoint"); } - if (action.__isset.neck_turn_to_relative) + else if (action.__isset.neck_turn_to_relative) { const auto &neckTurnToRelative = action.neck_turn_to_relative; Neck_TurnToRelative( neckTurnToRelative.angle) .execute(agent); - continue; + agent->debugClient().addMessage("Neck_TurnToRelative"); } - if (action.__isset.view_change_width) + else if (action.__isset.view_change_width) { const auto &viewChangeWidth = action.view_change_width; const rcsc::ViewWidth view_width = ThriftAgent::convertViewWidth(viewChangeWidth.view_width); View_ChangeWidth( view_width) .execute(agent); - continue; + agent->debugClient().addMessage("View_ChangeWidth"); + } - if (action.__isset.view_normal) + else if (action.__isset.view_normal) { View_Normal().execute(agent); - continue; + agent->debugClient().addMessage("View_Normal"); } - if (action.__isset.view_wide) + else if (action.__isset.view_wide) { View_Wide().execute(agent); - continue; + agent->debugClient().addMessage("View_Wide"); } - if (action.__isset.view_synch) + else if (action.__isset.view_synch) { View_Synch().execute(agent); - continue; + agent->debugClient().addMessage("View_Synch"); } - if (action.__isset.helios_goalie) + else if (action.__isset.helios_goalie) { RoleGoalie roleGoalie = RoleGoalie(); roleGoalie.execute(agent); - continue; + agent->debugClient().addMessage("RoleGoalie - execute"); } - if (action.__isset.helios_goalie_move) + else if (action.__isset.helios_goalie_move) { RoleGoalie roleGoalie = RoleGoalie(); roleGoalie.doMove(agent); - continue; + agent->debugClient().addMessage("RoleGoalie - do Move"); } - if (action.__isset.helios_goalie_kick) + else if (action.__isset.helios_goalie_kick) { RoleGoalie roleGoalie = RoleGoalie(); roleGoalie.doKick(agent); - continue; + agent->debugClient().addMessage("RoleGoalie - do Kick"); } - if (action.__isset.helios_shoot) + else if (action.__isset.helios_shoot) { const rcsc::WorldModel &wm = agent->world(); @@ -576,29 +563,30 @@ void ThriftClientPlayer::getActions() && wm.time().stopped() == 0 && wm.self().isKickable() && Bhv_StrictCheckShoot().execute(agent)) { } - continue; + } - if (action.__isset.helios_basic_move) + else if (action.__isset.helios_basic_move) { Bhv_BasicMove().execute(agent); - continue; + agent->debugClient().addMessage("Bhv_BasicMove"); } - if (action.__isset.helios_set_play) + else if (action.__isset.helios_set_play) { Bhv_SetPlay().execute(agent); - continue; + agent->debugClient().addMessage("Bhv_SetPlay"); } - if (action.__isset.helios_penalty) + else if (action.__isset.helios_penalty) { Bhv_PenaltyKick().execute(agent); - continue; + agent->debugClient().addMessage("Bhv_PenaltyKick"); } - if (action.__isset.helios_communication) + else if (action.__isset.helios_communication) { sample_communication->execute(agent); - continue; + agent->debugClient().addMessage("sample_communication - execute"); + } - if (action.__isset.helios_chain_action) + else if (action.__isset.helios_chain_action) { FieldEvaluator::ConstPtr field_evaluator = FieldEvaluator::ConstPtr(new SampleFieldEvaluator); CompositeActionGenerator *g = new CompositeActionGenerator(); @@ -637,7 +625,6 @@ void ThriftClientPlayer::getActions() if (GetBestPlannerAction()) { agent->debugClient().addMessage("GetBestPlannerAction"); - continue; } } else @@ -645,19 +632,17 @@ void ThriftClientPlayer::getActions() if (Bhv_PlannedAction().execute(agent)) { agent->debugClient().addMessage("PlannedAction"); - continue; } - } + } + else + { + #ifdef DEBUG_CLIENT_PLAYER + std::cout << "Unkown action"<setNeckAction(new Neck_ScanField()); - continue; } - #ifdef DEBUG_CLIENT_PLAYER - std::cout << "Unkown action"<setNeckAction(new Neck_ScanField()); } } @@ -674,88 +659,7 @@ bool ThriftClientPlayer::GetBestPlannerAction() #ifdef DEBUG_CLIENT_PLAYER std::cout << "GetBestActionStatePair:" << "c" << M_agent->world().time().cycle() << std::endl; #endif - for (auto & index_resultPair : ActionChainHolder::instance().graph().getAllResults()) - { - try - { - - auto & result_pair = index_resultPair.second; - auto action_ptr = result_pair.first->actionPtr(); - auto state_ptr = result_pair.first->statePtr(); - int unique_index = action_ptr->uniqueIndex(); - int parent_index = action_ptr->parentIndex(); - auto eval = result_pair.second; - auto map = & action_state_pairs.pairs; - auto rpc_action_state_pair = soccer::RpcActionState(); - auto rpc_cooperative_action = soccer::RpcCooperativeAction(); - auto rpc_predict_state = soccer::RpcPredictState(); - auto category = soccer::RpcActionCategory::AC_Hold; - - switch (action_ptr->category()) - { - case CooperativeAction::Hold: - category = soccer::RpcActionCategory::AC_Hold; - break; - case CooperativeAction::Dribble: - category = soccer::RpcActionCategory::AC_Dribble; - break; - case CooperativeAction::Pass: - category = soccer::RpcActionCategory::AC_Pass; - break; - case CooperativeAction::Shoot : - category = soccer::RpcActionCategory::AC_Shoot; - break; - case CooperativeAction::Clear: - category = soccer::RpcActionCategory::AC_Clear; - break; - case CooperativeAction::Move: - category = soccer::RpcActionCategory::AC_Move; - break; - case CooperativeAction::NoAction: - category = soccer::RpcActionCategory::AC_NoAction; - break; - default: - break; - } - rpc_cooperative_action.category = category; - rpc_cooperative_action.index = unique_index; - rpc_cooperative_action.sender_unum = action_ptr->playerUnum(); - rpc_cooperative_action.target_unum = action_ptr->targetPlayerUnum(); - rpc_cooperative_action.target_point = ThriftStateGenerator::convertVector2D(action_ptr->targetPoint()); - rpc_cooperative_action.first_ball_speed = action_ptr->firstBallSpeed(); - rpc_cooperative_action.first_turn_moment = action_ptr->firstTurnMoment(); - rpc_cooperative_action.first_dash_power = action_ptr->firstDashPower(); - rpc_cooperative_action.first_dash_angle_relative = action_ptr->firstDashAngle().degree(); - rpc_cooperative_action.duration_step = action_ptr->durationStep(); - rpc_cooperative_action.kick_count = action_ptr->kickCount(); - rpc_cooperative_action.turn_count = action_ptr->turnCount(); - rpc_cooperative_action.dash_count = action_ptr->dashCount(); - rpc_cooperative_action.final_action = action_ptr->isFinalAction(); - rpc_cooperative_action.description = action_ptr->description(); - rpc_cooperative_action.parent_index = parent_index; - - // RpcPredictState - rpc_predict_state.spend_time = state_ptr->spendTime(); - rpc_predict_state.ball_holder_unum = state_ptr->ballHolderUnum(); - rpc_predict_state.ball_position = ThriftStateGenerator::convertVector2D(state_ptr->ball().pos()); - rpc_predict_state.ball_velocity = ThriftStateGenerator::convertVector2D(state_ptr->ball().vel()); - rpc_predict_state.our_defense_line_x = state_ptr->ourDefenseLineX(); - rpc_predict_state.our_offense_line_x = state_ptr->ourOffensePlayerLineX(); - - // RpcActionState - rpc_action_state_pair.action = rpc_cooperative_action; - rpc_action_state_pair.predict_state = rpc_predict_state; - rpc_action_state_pair.evaluation = eval; - - (*map)[unique_index] = rpc_action_state_pair; - - } - catch (const std::exception &e) - { - std::cout << e.what() << '\n'; - } - } - + convertResultPairToRpcActionStatePair(&action_state_pairs.pairs); #ifdef DEBUG_CLIENT_PLAYER std::cout << "map size:" << action_state_pairs.pairs.size() << std::endl; #endif @@ -967,4 +871,89 @@ void ThriftClientPlayer::addHomePosition(soccer::WorldModel *res) const vec_msg.y = home_pos.y; res->helios_home_positions[i] = vec_msg; } -} \ No newline at end of file +} + +void ThriftClientPlayer::convertResultPairToRpcActionStatePair( std::map * pairs) +{ + for (auto & index_resultPair : ActionChainHolder::instance().graph().getAllResults()) + { + try + { + + auto & result_pair = index_resultPair.second; + auto action_ptr = result_pair.first->actionPtr(); + auto state_ptr = result_pair.first->statePtr(); + int unique_index = action_ptr->uniqueIndex(); + int parent_index = action_ptr->parentIndex(); + auto eval = result_pair.second; + auto map = pairs; + auto rpc_action_state_pair = soccer::RpcActionState(); + auto rpc_cooperative_action = soccer::RpcCooperativeAction(); + auto rpc_predict_state = soccer::RpcPredictState(); + auto category = soccer::RpcActionCategory::AC_Hold; + + switch (action_ptr->category()) + { + case CooperativeAction::Hold: + category = soccer::RpcActionCategory::AC_Hold; + break; + case CooperativeAction::Dribble: + category = soccer::RpcActionCategory::AC_Dribble; + break; + case CooperativeAction::Pass: + category = soccer::RpcActionCategory::AC_Pass; + break; + case CooperativeAction::Shoot : + category = soccer::RpcActionCategory::AC_Shoot; + break; + case CooperativeAction::Clear: + category = soccer::RpcActionCategory::AC_Clear; + break; + case CooperativeAction::Move: + category = soccer::RpcActionCategory::AC_Move; + break; + case CooperativeAction::NoAction: + category = soccer::RpcActionCategory::AC_NoAction; + break; + default: + break; + } + rpc_cooperative_action.category = category; + rpc_cooperative_action.index = unique_index; + rpc_cooperative_action.sender_unum = action_ptr->playerUnum(); + rpc_cooperative_action.target_unum = action_ptr->targetPlayerUnum(); + rpc_cooperative_action.target_point = ThriftStateGenerator::convertVector2D(action_ptr->targetPoint()); + rpc_cooperative_action.first_ball_speed = action_ptr->firstBallSpeed(); + rpc_cooperative_action.first_turn_moment = action_ptr->firstTurnMoment(); + rpc_cooperative_action.first_dash_power = action_ptr->firstDashPower(); + rpc_cooperative_action.first_dash_angle_relative = action_ptr->firstDashAngle().degree(); + rpc_cooperative_action.duration_step = action_ptr->durationStep(); + rpc_cooperative_action.kick_count = action_ptr->kickCount(); + rpc_cooperative_action.turn_count = action_ptr->turnCount(); + rpc_cooperative_action.dash_count = action_ptr->dashCount(); + rpc_cooperative_action.final_action = action_ptr->isFinalAction(); + rpc_cooperative_action.description = action_ptr->description(); + rpc_cooperative_action.parent_index = parent_index; + + // RpcPredictState + rpc_predict_state.spend_time = state_ptr->spendTime(); + rpc_predict_state.ball_holder_unum = state_ptr->ballHolderUnum(); + rpc_predict_state.ball_position = ThriftStateGenerator::convertVector2D(state_ptr->ball().pos()); + rpc_predict_state.ball_velocity = ThriftStateGenerator::convertVector2D(state_ptr->ball().vel()); + rpc_predict_state.our_defense_line_x = state_ptr->ourDefenseLineX(); + rpc_predict_state.our_offense_line_x = state_ptr->ourOffensePlayerLineX(); + + // RpcActionState + rpc_action_state_pair.action = rpc_cooperative_action; + rpc_action_state_pair.predict_state = rpc_predict_state; + rpc_action_state_pair.evaluation = eval; + + (*map)[unique_index] = rpc_action_state_pair; + + } + catch (const std::exception &e) + { + std::cout << e.what() << '\n'; + } + } +} diff --git a/src/thrift-client/thrift_client_player.h b/src/thrift-client/thrift_client_player.h index e9501e3..2ad5620 100644 --- a/src/thrift-client/thrift_client_player.h +++ b/src/thrift-client/thrift_client_player.h @@ -1,6 +1,7 @@ #include "thrift_client.h" #include "player/sample_communication.h" #include "rpc-client/rpc-player-client.h" +#include "planner/action_chain_graph.h" class ThriftClientPlayer : public ThriftAgent, public RpcPlayerClient { rcsc::PlayerAgent * M_agent; @@ -16,6 +17,7 @@ class ThriftClientPlayer : public ThriftAgent, public RpcPlayerClient { void getActions(); bool GetBestPlannerAction(); + void convertResultPairToRpcActionStatePair( std::map * pairs); void addSayMessage(soccer::Say sayMessage) const; soccer::State generateState() const; void addHomePosition(soccer::WorldModel * world_model) const; From 715ba15d8f8fe92dd8c3bdc6938c4776d2dceef9 Mon Sep 17 00:00:00 2001 From: naderzare Date: Sat, 14 Sep 2024 00:40:43 -0300 Subject: [PATCH 15/21] fix build problem in grpc --- src/grpc-client/grpc_client_player.cpp | 6 +++--- src/grpc-client/grpc_client_player.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/grpc-client/grpc_client_player.cpp b/src/grpc-client/grpc_client_player.cpp index 1c003c6..cb57575 100644 --- a/src/grpc-client/grpc_client_player.cpp +++ b/src/grpc-client/grpc_client_player.cpp @@ -587,7 +587,8 @@ bool GrpcClientPlayer::GetBestPlannerAction() std::cout << "GetBestActionStatePair:" << "c" << M_agent->world().time().cycle() << std::endl; std::cout << "results size:" << ActionChainHolder::instance().graph().getAllResults().size() << std::endl; #endif - convertResultPairToRpcActionStatePair(action_state_pairs->mutable_pairs()) + auto map = action_state_pairs->mutable_pairs(); + convertResultPairToRpcActionStatePair(map); #ifdef DEBUG_CLIENT_PLAYER std::cout << "map size:" << action_state_pairs->pairs_size() << std::endl; #endif @@ -831,7 +832,7 @@ void GrpcClientPlayer::addHomePosition(protos::WorldModel *res) const (*map)[i] = vec_msg; } } -void GrpcClientPlayer::convertResultPairToRpcActionStatePair( std::map * pairs) +void GrpcClientPlayer::convertResultPairToRpcActionStatePair( google::protobuf::Map * map) { for (auto & index_resultPair : ActionChainHolder::instance().graph().getAllResults()) { @@ -847,7 +848,6 @@ void GrpcClientPlayer::convertResultPairToRpcActionStatePair( std::map * pairs); + void convertResultPairToRpcActionStatePair( google::protobuf::Map * map); void addSayMessage(protos::Say sayMessage) const; State generateState() const; void addHomePosition(protos::WorldModel *world_model) const; From 38d07eab86e4b14a9664aac1c1973bfd24db433c Mon Sep 17 00:00:00 2001 From: naderzare Date: Sat, 14 Sep 2024 00:54:21 -0300 Subject: [PATCH 16/21] Refactor message structure for offensive planner --- idl/grpc/service.proto | 4 +- idl/thrift/soccer_service.thrift | 4 +- src/grpc-client/grpc_client_player.cpp | 45 +- src/grpc-generated/service.pb.cc | 950 +++++++++--------- src/grpc-generated/service.pb.h | 318 +++--- src/thrift-client/thrift_client_player.cpp | 45 +- src/thrift-generated/soccer_service_types.cpp | 64 +- src/thrift-generated/soccer_service_types.h | 62 +- 8 files changed, 721 insertions(+), 771 deletions(-) diff --git a/idl/grpc/service.proto b/idl/grpc/service.proto index 1519b88..b6b45f9 100644 --- a/idl/grpc/service.proto +++ b/idl/grpc/service.proto @@ -750,7 +750,7 @@ message HeliosGoalieKick {} message HeliosShoot {} -message HeliosChainAction { +message HeliosOffensivePlanner { bool direct_pass = 1; bool lead_pass = 2; bool through_pass = 3; @@ -833,7 +833,7 @@ message PlayerAction { HeliosGoalieMove helios_goalie_move = 56; HeliosGoalieKick helios_goalie_kick = 57; HeliosShoot helios_shoot = 58; - HeliosChainAction helios_chain_action = 59; + HeliosOffensivePlanner helios_offensive_planner = 59; HeliosBasicOffensive helios_basic_offensive = 60; HeliosBasicMove helios_basic_move = 61; HeliosSetPlay helios_set_play = 62; diff --git a/idl/thrift/soccer_service.thrift b/idl/thrift/soccer_service.thrift index d36bb67..431fd89 100644 --- a/idl/thrift/soccer_service.thrift +++ b/idl/thrift/soccer_service.thrift @@ -716,7 +716,7 @@ struct HeliosGoalieKick {} struct HeliosShoot {} -struct HeliosChainAction { +struct HeliosOffensivePlanner { 1: bool direct_pass, 2: bool lead_pass, 3: bool through_pass, @@ -798,7 +798,7 @@ struct PlayerAction { 56: optional HeliosGoalieMove helios_goalie_move, 57: optional HeliosGoalieKick helios_goalie_kick, 58: optional HeliosShoot helios_shoot, - 59: optional HeliosChainAction helios_chain_action, + 59: optional HeliosOffensivePlanner helios_offensive_planner, 60: optional HeliosBasicOffensive helios_basic_offensive, 61: optional HeliosBasicMove helios_basic_move, 62: optional HeliosSetPlay helios_set_play, diff --git a/src/grpc-client/grpc_client_player.cpp b/src/grpc-client/grpc_client_player.cpp index cb57575..12d974b 100644 --- a/src/grpc-client/grpc_client_player.cpp +++ b/src/grpc-client/grpc_client_player.cpp @@ -134,33 +134,26 @@ void GrpcClientPlayer::getActions() } } - int body_action_done = 0; for (int i = 0; i < actions.actions_size(); i++) { auto action = actions.actions(i); if (action.action_case() == PlayerAction::kDash) { agent->doDash(action.dash().power(), action.dash().relative_direction()); - body_action_done++; } else if (action.action_case() == PlayerAction::kKick) { agent->doKick(action.kick().power(), action.kick().relative_direction()); - body_action_done++; } else if (action.action_case() == PlayerAction::kTurn) { agent->doTurn(action.turn().relative_direction()); - body_action_done++; } else if (action.action_case() == PlayerAction::kTackle) { agent->doTackle(action.tackle().power_or_dir(), action.tackle().foul()); - body_action_done++; } else if (action.action_case() == PlayerAction::kCatch) { agent->doCatch(); - body_action_done++; } else if (action.action_case() == PlayerAction::kMove) { agent->doMove(action.move().x(), action.move().y()); - body_action_done++; } else if (action.action_case() == PlayerAction::kTurnNeck) { agent->doTurnNeck(action.turn_neck().moment()); @@ -193,14 +186,12 @@ void GrpcClientPlayer::getActions() const auto &bodyGoToPoint = action.body_go_to_point(); const auto &targetPoint = GrpcClient::convertVector2D(bodyGoToPoint.target_point()); Body_GoToPoint(targetPoint, bodyGoToPoint.distance_threshold(), bodyGoToPoint.max_dash_power()).execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_GoToPoint"); } else if (action.action_case() == PlayerAction::kBodySmartKick) { const auto &bodySmartKick = action.body_smart_kick(); const auto &targetPoint = GrpcClient::convertVector2D(bodySmartKick.target_point()); Body_SmartKick(targetPoint, bodySmartKick.first_speed(), bodySmartKick.first_speed_threshold(), bodySmartKick.max_steps()).execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_SmartKick"); } else if (action.action_case() == PlayerAction::kBhvBeforeKickOff) { @@ -211,14 +202,12 @@ void GrpcClientPlayer::getActions() } else if (action.action_case() == PlayerAction::kBhvBodyNeckToBall) { Bhv_BodyNeckToBall().execute(agent); - body_action_done++; agent->debugClient().addMessage("Bhv_BodyNeckToBall"); } else if (action.action_case() == PlayerAction::kBhvBodyNeckToPoint) { const auto &bhvBodyNeckToPoint = action.bhv_body_neck_to_point(); const auto &targetPoint = GrpcClient::convertVector2D(bhvBodyNeckToPoint.point()); Bhv_BodyNeckToPoint(targetPoint).execute(agent); - body_action_done++; agent->debugClient().addMessage("Bhv_BodyNeckToPoint"); } else if (action.action_case() == PlayerAction::kBhvEmergency) { @@ -230,7 +219,6 @@ void GrpcClientPlayer::getActions() const auto &bhvGoToPointLookBall = action.bhv_go_to_point_look_ball(); const auto &targetPoint = GrpcClient::convertVector2D(bhvGoToPointLookBall.target_point()); Bhv_GoToPointLookBall(targetPoint, bhvGoToPointLookBall.distance_threshold(), bhvGoToPointLookBall.max_dash_power()).execute(agent); - body_action_done++; agent->debugClient().addMessage("Bhv_GoToPointLookBall"); } else if (action.action_case() == PlayerAction::kBhvNeckBodyToBall) { @@ -251,12 +239,10 @@ void GrpcClientPlayer::getActions() } else if (action.action_case() == PlayerAction::kBodyAdvanceBall) { Body_AdvanceBall().execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_AdvanceBall"); } else if (action.action_case() == PlayerAction::kBodyClearBall) { Body_ClearBall().execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_ClearBall"); } else if (action.action_case() == PlayerAction::kBodyDribble) { @@ -269,7 +255,6 @@ void GrpcClientPlayer::getActions() bodyDribble.dash_count(), bodyDribble.dodge()) .execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_Dribble"); } else if (action.action_case() == PlayerAction::kBodyGoToPointDodge) { @@ -279,7 +264,6 @@ void GrpcClientPlayer::getActions() targetPoint, bodyGoToPointDodge.dash_power()) .execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_GoToPointDodge"); } else if (action.action_case() == PlayerAction::kBodyHoldBall) { @@ -291,7 +275,6 @@ void GrpcClientPlayer::getActions() turnTargetPoint, kickTargetPoint) .execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_HoldBall"); } else if (action.action_case() == PlayerAction::kBodyIntercept) { @@ -301,7 +284,6 @@ void GrpcClientPlayer::getActions() bodyIntercept.save_recovery(), facePoint) .execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_Intercept"); } else if (action.action_case() == PlayerAction::kBodyKickOneStep) { @@ -312,12 +294,10 @@ void GrpcClientPlayer::getActions() bodyKickOneStep.first_speed(), bodyKickOneStep.force_mode()) .execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_KickOneStep"); } else if (action.action_case() == PlayerAction::kBodyStopBall) { Body_StopBall().execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_StopBall"); } else if (action.action_case() == PlayerAction::kBodyStopDash) { @@ -325,7 +305,6 @@ void GrpcClientPlayer::getActions() Body_StopDash( bodyStopDash.save_recovery()) .execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_StopDash"); } else if (action.action_case() == PlayerAction::kBodyTackleToPoint) { @@ -336,7 +315,6 @@ void GrpcClientPlayer::getActions() bodyTackleToPoint.min_probability(), bodyTackleToPoint.min_speed()) .execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_TackleToPoint"); } else if (action.action_case() == PlayerAction::kBodyTurnToAngle) { @@ -344,7 +322,6 @@ void GrpcClientPlayer::getActions() Body_TurnToAngle( bodyTurnToAngle.angle()) .execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_TurnToAngle"); } else if (action.action_case() == PlayerAction::kBodyTurnToBall) { @@ -352,7 +329,6 @@ void GrpcClientPlayer::getActions() Body_TurnToBall( bodyTurnToBall.cycle()) .execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_TurnToBall"); } else if (action.action_case() == PlayerAction::kBodyTurnToPoint) { @@ -362,7 +338,6 @@ void GrpcClientPlayer::getActions() targetPoint, bodyTurnToPoint.cycle()) .execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_TurnToPoint"); } else if (action.action_case() == PlayerAction::kFocusMoveToPoint) { @@ -515,26 +490,26 @@ void GrpcClientPlayer::getActions() sample_communication->execute(agent); agent->debugClient().addMessage("sample_communication - execute"); } - else if (action.action_case() == PlayerAction::kHeliosChainAction) { + else if (action.action_case() == PlayerAction::kHeliosOffensivePlanner) { FieldEvaluator::ConstPtr field_evaluator = FieldEvaluator::ConstPtr(new SampleFieldEvaluator); CompositeActionGenerator *g = new CompositeActionGenerator(); - if (action.helios_chain_action().lead_pass() - || action.helios_chain_action().direct_pass() || action.helios_chain_action().through_pass()) + if (action.helios_offensive_planner().lead_pass() + || action.helios_offensive_planner().direct_pass() || action.helios_offensive_planner().through_pass()) g->addGenerator(new ActGen_MaxActionChainLengthFilter(new ActGen_StrictCheckPass(), 1)); - if (action.helios_chain_action().cross()) + if (action.helios_offensive_planner().cross()) g->addGenerator(new ActGen_MaxActionChainLengthFilter(new ActGen_Cross(), 1)); - if (action.helios_chain_action().simple_pass()) + if (action.helios_offensive_planner().simple_pass()) g->addGenerator(new ActGen_RangeActionChainLengthFilter(new ActGen_DirectPass(), 2, ActGen_RangeActionChainLengthFilter::MAX)); - if (action.helios_chain_action().short_dribble()) + if (action.helios_offensive_planner().short_dribble()) g->addGenerator(new ActGen_MaxActionChainLengthFilter(new ActGen_ShortDribble(), 1)); - if (action.helios_chain_action().long_dribble()) + if (action.helios_offensive_planner().long_dribble()) g->addGenerator(new ActGen_MaxActionChainLengthFilter(new ActGen_SelfPass(), 1)); - if (action.helios_chain_action().simple_dribble()) + if (action.helios_offensive_planner().simple_dribble()) g->addGenerator(new ActGen_RangeActionChainLengthFilter(new ActGen_SimpleDribble(), 2, ActGen_RangeActionChainLengthFilter::MAX)); - if (action.helios_chain_action().simple_shoot()) + if (action.helios_offensive_planner().simple_shoot()) g->addGenerator(new ActGen_RangeActionChainLengthFilter(new ActGen_Shoot(), 2, ActGen_RangeActionChainLengthFilter::MAX)); if (g->M_generators.empty()) @@ -548,7 +523,7 @@ void GrpcClientPlayer::getActions() ActionChainHolder::instance().setActionGenerator(action_generator); ActionChainHolder::instance().update(agent->world()); - if (action.helios_chain_action().server_side_decision()) + if (action.helios_offensive_planner().server_side_decision()) { if (GetBestPlannerAction()) { diff --git a/src/grpc-generated/service.pb.cc b/src/grpc-generated/service.pb.cc index 433b7ee..45661c1 100644 --- a/src/grpc-generated/service.pb.cc +++ b/src/grpc-generated/service.pb.cc @@ -2067,7 +2067,7 @@ struct HeliosShootDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HeliosShootDefaultTypeInternal _HeliosShoot_default_instance_; template -PROTOBUF_CONSTEXPR HeliosChainAction::HeliosChainAction( +PROTOBUF_CONSTEXPR HeliosOffensivePlanner::HeliosOffensivePlanner( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.direct_pass_)*/ false @@ -2090,16 +2090,16 @@ PROTOBUF_CONSTEXPR HeliosChainAction::HeliosChainAction( , /*decltype(_impl_.server_side_decision_)*/ false , /*decltype(_impl_._cached_size_)*/{}} {} -struct HeliosChainActionDefaultTypeInternal { - PROTOBUF_CONSTEXPR HeliosChainActionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~HeliosChainActionDefaultTypeInternal() {} +struct HeliosOffensivePlannerDefaultTypeInternal { + PROTOBUF_CONSTEXPR HeliosOffensivePlannerDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~HeliosOffensivePlannerDefaultTypeInternal() {} union { - HeliosChainAction _instance; + HeliosOffensivePlanner _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HeliosChainActionDefaultTypeInternal _HeliosChainAction_default_instance_; + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HeliosOffensivePlannerDefaultTypeInternal _HeliosOffensivePlanner_default_instance_; template PROTOBUF_CONSTEXPR HeliosBasicOffensive::HeliosBasicOffensive( ::_pbi::ConstantInitialized) {} @@ -4647,23 +4647,23 @@ const ::uint32_t TableStruct_service_2eproto::offsets[] PROTOBUF_SECTION_VARIABL ~0u, // no _split_ ~0u, // no sizeof(Split) ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::protos::HeliosChainAction, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::protos::HeliosOffensivePlanner, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::protos::HeliosChainAction, _impl_.direct_pass_), - PROTOBUF_FIELD_OFFSET(::protos::HeliosChainAction, _impl_.lead_pass_), - PROTOBUF_FIELD_OFFSET(::protos::HeliosChainAction, _impl_.through_pass_), - PROTOBUF_FIELD_OFFSET(::protos::HeliosChainAction, _impl_.short_dribble_), - PROTOBUF_FIELD_OFFSET(::protos::HeliosChainAction, _impl_.long_dribble_), - PROTOBUF_FIELD_OFFSET(::protos::HeliosChainAction, _impl_.cross_), - PROTOBUF_FIELD_OFFSET(::protos::HeliosChainAction, _impl_.simple_pass_), - PROTOBUF_FIELD_OFFSET(::protos::HeliosChainAction, _impl_.simple_dribble_), - PROTOBUF_FIELD_OFFSET(::protos::HeliosChainAction, _impl_.simple_shoot_), - PROTOBUF_FIELD_OFFSET(::protos::HeliosChainAction, _impl_.server_side_decision_), + PROTOBUF_FIELD_OFFSET(::protos::HeliosOffensivePlanner, _impl_.direct_pass_), + PROTOBUF_FIELD_OFFSET(::protos::HeliosOffensivePlanner, _impl_.lead_pass_), + PROTOBUF_FIELD_OFFSET(::protos::HeliosOffensivePlanner, _impl_.through_pass_), + PROTOBUF_FIELD_OFFSET(::protos::HeliosOffensivePlanner, _impl_.short_dribble_), + PROTOBUF_FIELD_OFFSET(::protos::HeliosOffensivePlanner, _impl_.long_dribble_), + PROTOBUF_FIELD_OFFSET(::protos::HeliosOffensivePlanner, _impl_.cross_), + PROTOBUF_FIELD_OFFSET(::protos::HeliosOffensivePlanner, _impl_.simple_pass_), + PROTOBUF_FIELD_OFFSET(::protos::HeliosOffensivePlanner, _impl_.simple_dribble_), + PROTOBUF_FIELD_OFFSET(::protos::HeliosOffensivePlanner, _impl_.simple_shoot_), + PROTOBUF_FIELD_OFFSET(::protos::HeliosOffensivePlanner, _impl_.server_side_decision_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::protos::HeliosBasicOffensive, _internal_metadata_), ~0u, // no _extensions_ @@ -5743,7 +5743,7 @@ static const ::_pbi::MigrationSchema { 1412, -1, -1, sizeof(::protos::HeliosGoalieMove)}, { 1420, -1, -1, sizeof(::protos::HeliosGoalieKick)}, { 1428, -1, -1, sizeof(::protos::HeliosShoot)}, - { 1436, -1, -1, sizeof(::protos::HeliosChainAction)}, + { 1436, -1, -1, sizeof(::protos::HeliosOffensivePlanner)}, { 1454, -1, -1, sizeof(::protos::HeliosBasicOffensive)}, { 1462, -1, -1, sizeof(::protos::HeliosBasicMove)}, { 1470, -1, -1, sizeof(::protos::HeliosSetPlay)}, @@ -5880,7 +5880,7 @@ static const ::_pb::Message* const file_default_instances[] = { &::protos::_HeliosGoalieMove_default_instance_._instance, &::protos::_HeliosGoalieKick_default_instance_._instance, &::protos::_HeliosShoot_default_instance_._instance, - &::protos::_HeliosChainAction_default_instance_._instance, + &::protos::_HeliosOffensivePlanner_default_instance_._instance, &::protos::_HeliosBasicOffensive_default_instance_._instance, &::protos::_HeliosBasicMove_default_instance_._instance, &::protos::_HeliosSetPlay_default_instance_._instance, @@ -6232,403 +6232,403 @@ const char descriptor_table_protodef_service_2eproto[] PROTOBUF_SECTION_VARIABLE "ew_width\030\001 \001(\0162\021.protos.ViewWidth\"\r\n\013Vie" "w_Normal\"\014\n\nView_Synch\"\013\n\tView_Wide\"\016\n\014H" "eliosGoalie\"\022\n\020HeliosGoalieMove\"\022\n\020Helio" - "sGoalieKick\"\r\n\013HeliosShoot\"\356\001\n\021HeliosCha" - "inAction\022\023\n\013direct_pass\030\001 \001(\010\022\021\n\tlead_pa" - "ss\030\002 \001(\010\022\024\n\014through_pass\030\003 \001(\010\022\025\n\rshort_" - "dribble\030\004 \001(\010\022\024\n\014long_dribble\030\005 \001(\010\022\r\n\005c" - "ross\030\006 \001(\010\022\023\n\013simple_pass\030\007 \001(\010\022\026\n\016simpl" - "e_dribble\030\010 \001(\010\022\024\n\014simple_shoot\030\t \001(\010\022\034\n" - "\024server_side_decision\030\n \001(\010\"\026\n\024HeliosBas" - "icOffensive\"\021\n\017HeliosBasicMove\"\017\n\rHelios" - "SetPlay\"\017\n\rHeliosPenalty\"\024\n\022HeliosCommun" - "icaion\"\343\031\n\014PlayerAction\022\034\n\004dash\030\001 \001(\0132\014." - "protos.DashH\000\022\034\n\004turn\030\002 \001(\0132\014.protos.Tur" - "nH\000\022\034\n\004kick\030\003 \001(\0132\014.protos.KickH\000\022 \n\006tac" - "kle\030\004 \001(\0132\016.protos.TackleH\000\022\036\n\005catch\030\005 \001" - "(\0132\r.protos.CatchH\000\022\034\n\004move\030\006 \001(\0132\014.prot" - "os.MoveH\000\022%\n\tturn_neck\030\007 \001(\0132\020.protos.Tu" - "rnNeckH\000\022)\n\013change_view\030\010 \001(\0132\022.protos.C" - "hangeViewH\000\022\032\n\003say\030\t \001(\0132\013.protos.SayH\000\022" - "#\n\010point_to\030\n \001(\0132\017.protos.PointToH\000\022(\n\013" - "point_to_of\030\013 \001(\0132\021.protos.PointToOfH\000\022+" - "\n\014attention_to\030\014 \001(\0132\023.protos.AttentionT" - "oH\000\0220\n\017attention_to_of\030\r \001(\0132\025.protos.At" - "tentionToOfH\000\022\032\n\003log\030\016 \001(\0132\013.protos.LogH" - "\000\022+\n\014debug_client\030\017 \001(\0132\023.protos.DebugCl" - "ientH\000\0222\n\020body_go_to_point\030\020 \001(\0132\026.proto" - "s.Body_GoToPointH\000\0221\n\017body_smart_kick\030\021 " - "\001(\0132\026.protos.Body_SmartKickH\000\0228\n\023bhv_bef" - "ore_kick_off\030\022 \001(\0132\031.protos.Bhv_BeforeKi" - "ckOffH\000\022;\n\025bhv_body_neck_to_ball\030\023 \001(\0132\032" - ".protos.Bhv_BodyNeckToBallH\000\022=\n\026bhv_body" - "_neck_to_point\030\024 \001(\0132\033.protos.Bhv_BodyNe" - "ckToPointH\000\022.\n\rbhv_emergency\030\025 \001(\0132\025.pro" - "tos.Bhv_EmergencyH\000\022B\n\031bhv_go_to_point_l" - "ook_ball\030\026 \001(\0132\035.protos.Bhv_GoToPointLoo" - "kBallH\000\022;\n\025bhv_neck_body_to_ball\030\027 \001(\0132\032" - ".protos.Bhv_NeckBodyToBallH\000\022=\n\026bhv_neck" - "_body_to_point\030\030 \001(\0132\033.protos.Bhv_NeckBo" - "dyToPointH\000\022/\n\016bhv_scan_field\030\031 \001(\0132\025.pr" - "otos.Bhv_ScanFieldH\000\0225\n\021body_advance_bal" - "l\030\032 \001(\0132\030.protos.Body_AdvanceBallH\000\0221\n\017b" - "ody_clear_ball\030\033 \001(\0132\026.protos.Body_Clear" - "BallH\000\022,\n\014body_dribble\030\034 \001(\0132\024.protos.Bo" - "dy_DribbleH\000\022=\n\026body_go_to_point_dodge\030\035" - " \001(\0132\033.protos.Body_GoToPointDodgeH\000\022/\n\016b" - "ody_hold_ball\030\036 \001(\0132\025.protos.Body_HoldBa" - "llH\000\0220\n\016body_intercept\030\037 \001(\0132\026.protos.Bo" - "dy_InterceptH\000\0226\n\022body_kick_one_step\030 \001" - "(\0132\030.protos.Body_KickOneStepH\000\022/\n\016body_s" - "top_ball\030! \001(\0132\025.protos.Body_StopBallH\000\022" - "/\n\016body_stop_dash\030\" \001(\0132\025.protos.Body_St" - "opDashH\000\022:\n\024body_tackle_to_point\030# \001(\0132\032" - ".protos.Body_TackleToPointH\000\0226\n\022body_tur" - "n_to_angle\030$ \001(\0132\030.protos.Body_TurnToAng" - "leH\000\0224\n\021body_turn_to_ball\030% \001(\0132\027.protos" - ".Body_TurnToBallH\000\0226\n\022body_turn_to_point" - "\030& \001(\0132\030.protos.Body_TurnToPointH\000\0228\n\023fo" - "cus_move_to_point\030\' \001(\0132\031.protos.Focus_M" - "oveToPointH\000\022*\n\013focus_reset\030( \001(\0132\023.prot" - "os.Focus_ResetH\000\0221\n\017neck_scan_field\030) \001(" - "\0132\026.protos.Neck_ScanFieldH\000\0225\n\021neck_scan" - "_players\030* \001(\0132\030.protos.Neck_ScanPlayers" - "H\000\022H\n\034neck_turn_to_ball_and_player\030+ \001(\013" - "2 .protos.Neck_TurnToBallAndPlayerH\000\022B\n\031" - "neck_turn_to_ball_or_scan\030, \001(\0132\035.protos" - ".Neck_TurnToBallOrScanH\000\0224\n\021neck_turn_to" - "_ball\030- \001(\0132\027.protos.Neck_TurnToBallH\000\022F" - "\n\033neck_turn_to_goalie_or_scan\030. \001(\0132\037.pr" - "otos.Neck_TurnToGoalieOrScanH\000\022L\n\036neck_t" - "urn_to_low_conf_teammate\030/ \001(\0132\".protos." - "Neck_TurnToLowConfTeammateH\000\022F\n\033neck_tur" - "n_to_player_or_scan\0300 \001(\0132\037.protos.Neck_" - "TurnToPlayerOrScanH\000\0226\n\022neck_turn_to_poi" - "nt\0301 \001(\0132\030.protos.Neck_TurnToPointH\000\022<\n\025" - "neck_turn_to_relative\0302 \001(\0132\033.protos.Nec" - "k_TurnToRelativeH\000\0225\n\021view_change_width\030" - "3 \001(\0132\030.protos.View_ChangeWidthH\000\022*\n\013vie" - "w_normal\0304 \001(\0132\023.protos.View_NormalH\000\022(\n" - "\nview_synch\0305 \001(\0132\022.protos.View_SynchH\000\022" - "&\n\tview_wide\0306 \001(\0132\021.protos.View_WideH\000\022" - "-\n\rhelios_goalie\0307 \001(\0132\024.protos.HeliosGo" - "alieH\000\0226\n\022helios_goalie_move\0308 \001(\0132\030.pro" - "tos.HeliosGoalieMoveH\000\0226\n\022helios_goalie_" - "kick\0309 \001(\0132\030.protos.HeliosGoalieKickH\000\022+" - "\n\014helios_shoot\030: \001(\0132\023.protos.HeliosShoo" - "tH\000\0228\n\023helios_chain_action\030; \001(\0132\031.proto" - "s.HeliosChainActionH\000\022>\n\026helios_basic_of" - "fensive\030< \001(\0132\034.protos.HeliosBasicOffens" - "iveH\000\0224\n\021helios_basic_move\030= \001(\0132\027.proto" - "s.HeliosBasicMoveH\000\0220\n\017helios_set_play\030>" - " \001(\0132\025.protos.HeliosSetPlayH\000\022/\n\016helios_" - "penalty\030\? \001(\0132\025.protos.HeliosPenaltyH\000\022:" - "\n\024helios_communication\030@ \001(\0132\032.protos.He" - "liosCommunicaionH\000B\010\n\006action\"Q\n\rPlayerAc" - "tions\022%\n\007actions\030\001 \003(\0132\024.protos.PlayerAc" - "tion\022\031\n\021ignore_preprocess\030\002 \001(\010\"8\n\020Chang" - "ePlayerType\022\026\n\016uniform_number\030\001 \001(\005\022\014\n\004t" - "ype\030\002 \001(\005\"\024\n\022DoHeliosSubstitute\"\030\n\026DoHel" - "iosSayPlayerTypes\"\322\001\n\013CoachAction\0227\n\023cha" - "nge_player_types\030\001 \001(\0132\030.protos.ChangePl" - "ayerTypeH\000\022:\n\024do_helios_substitute\030\002 \001(\013" - "2\032.protos.DoHeliosSubstituteH\000\022D\n\032do_hel" - "ios_say_player_types\030\003 \001(\0132\036.protos.DoHe" - "liosSayPlayerTypesH\000B\010\n\006action\"4\n\014CoachA" - "ctions\022$\n\007actions\030\001 \003(\0132\023.protos.CoachAc" - "tion\"\013\n\tDoKickOff\"Z\n\nDoMoveBall\022%\n\010posit" - "ion\030\001 \001(\0132\023.protos.RpcVector2D\022%\n\010veloci" - "ty\030\002 \001(\0132\023.protos.RpcVector2D\"w\n\014DoMoveP" - "layer\022\020\n\010our_side\030\001 \001(\010\022\026\n\016uniform_numbe" - "r\030\002 \001(\005\022%\n\010position\030\003 \001(\0132\023.protos.RpcVe" - "ctor2D\022\026\n\016body_direction\030\004 \001(\002\"\013\n\tDoReco" - "ver\"X\n\014DoChangeMode\022,\n\016game_mode_type\030\001 " - "\001(\0162\024.protos.GameModeType\022\032\n\004side\030\002 \001(\0162" - "\014.protos.Side\"L\n\022DoChangePlayerType\022\020\n\010o" - "ur_side\030\001 \001(\010\022\026\n\016uniform_number\030\002 \001(\005\022\014\n" - "\004type\030\003 \001(\005\"\265\002\n\rTrainerAction\022(\n\013do_kick" - "_off\030\001 \001(\0132\021.protos.DoKickOffH\000\022*\n\014do_mo" - "ve_ball\030\002 \001(\0132\022.protos.DoMoveBallH\000\022.\n\016d" - "o_move_player\030\003 \001(\0132\024.protos.DoMovePlaye" - "rH\000\022\'\n\ndo_recover\030\004 \001(\0132\021.protos.DoRecov" - "erH\000\022.\n\016do_change_mode\030\005 \001(\0132\024.protos.Do" - "ChangeModeH\000\022;\n\025do_change_player_type\030\006 " - "\001(\0132\032.protos.DoChangePlayerTypeH\000B\010\n\006act" - "ion\"8\n\016TrainerActions\022&\n\007actions\030\001 \003(\0132\025" - ".protos.TrainerAction\"\335,\n\013ServerParam\0223\n" - "\021register_response\030\001 \001(\0132\030.protos.Regist" - "erResponse\022\026\n\016inertia_moment\030\002 \001(\002\022\023\n\013pl" - "ayer_size\030\003 \001(\002\022\024\n\014player_decay\030\004 \001(\002\022\023\n" - "\013player_rand\030\005 \001(\002\022\025\n\rplayer_weight\030\006 \001(" - "\002\022\030\n\020player_speed_max\030\007 \001(\002\022\030\n\020player_ac" - "cel_max\030\010 \001(\002\022\023\n\013stamina_max\030\t \001(\002\022\027\n\017st" - "amina_inc_max\030\n \001(\002\022\024\n\014recover_init\030\013 \001(" - "\002\022\027\n\017recover_dec_thr\030\014 \001(\002\022\023\n\013recover_mi" - "n\030\r \001(\002\022\023\n\013recover_dec\030\016 \001(\002\022\023\n\013effort_i" - "nit\030\017 \001(\002\022\026\n\016effort_dec_thr\030\020 \001(\002\022\022\n\neff" - "ort_min\030\021 \001(\002\022\022\n\neffort_dec\030\022 \001(\002\022\026\n\016eff" - "ort_inc_thr\030\023 \001(\002\022\022\n\neffort_inc\030\024 \001(\002\022\021\n" - "\tkick_rand\030\025 \001(\002\022\033\n\023team_actuator_noise\030" - "\026 \001(\010\022\034\n\024player_rand_factor_l\030\027 \001(\002\022\034\n\024p" - "layer_rand_factor_r\030\030 \001(\002\022\032\n\022kick_rand_f" - "actor_l\030\031 \001(\002\022\032\n\022kick_rand_factor_r\030\032 \001(" - "\002\022\021\n\tball_size\030\033 \001(\002\022\022\n\nball_decay\030\034 \001(\002" - "\022\021\n\tball_rand\030\035 \001(\002\022\023\n\013ball_weight\030\036 \001(\002" - "\022\026\n\016ball_speed_max\030\037 \001(\002\022\026\n\016ball_accel_m" - "ax\030 \001(\002\022\027\n\017dash_power_rate\030! \001(\002\022\027\n\017kic" - "k_power_rate\030\" \001(\002\022\027\n\017kickable_margin\030# " - "\001(\002\022\026\n\016control_radius\030$ \001(\002\022\034\n\024control_r" - "adius_width\030% \001(\002\022\021\n\tmax_power\030& \001(\002\022\021\n\t" - "min_power\030\' \001(\002\022\022\n\nmax_moment\030( \001(\002\022\022\n\nm" - "in_moment\030) \001(\002\022\027\n\017max_neck_moment\030* \001(\002" - "\022\027\n\017min_neck_moment\030+ \001(\002\022\026\n\016max_neck_an" - "gle\030, \001(\002\022\026\n\016min_neck_angle\030- \001(\002\022\025\n\rvis" - "ible_angle\030. \001(\002\022\030\n\020visible_distance\030/ \001" - "(\002\022\020\n\010wind_dir\0300 \001(\002\022\022\n\nwind_force\0301 \001(\002" - "\022\022\n\nwind_angle\0302 \001(\002\022\021\n\twind_rand\0303 \001(\002\022" - "\025\n\rkickable_area\0304 \001(\002\022\024\n\014catch_area_l\0305" - " \001(\002\022\024\n\014catch_area_w\0306 \001(\002\022\031\n\021catch_prob" - "ability\0307 \001(\002\022\030\n\020goalie_max_moves\0308 \001(\005\022" - "\032\n\022corner_kick_margin\0309 \001(\002\022 \n\030offside_a" - "ctive_area_size\030: \001(\002\022\021\n\twind_none\030; \001(\010" - "\022\027\n\017use_wind_random\030< \001(\010\022\033\n\023coach_say_c" - "ount_max\030= \001(\005\022\032\n\022coach_say_msg_size\030> \001" - "(\005\022\026\n\016clang_win_size\030\? \001(\005\022\030\n\020clang_defi" - "ne_win\030@ \001(\005\022\026\n\016clang_meta_win\030A \001(\005\022\030\n\020" - "clang_advice_win\030B \001(\005\022\026\n\016clang_info_win" - "\030C \001(\005\022\030\n\020clang_mess_delay\030D \001(\005\022\034\n\024clan" - "g_mess_per_cycle\030E \001(\005\022\021\n\thalf_time\030F \001(" - "\005\022\026\n\016simulator_step\030G \001(\005\022\021\n\tsend_step\030H" - " \001(\005\022\021\n\trecv_step\030I \001(\005\022\027\n\017sense_body_st" - "ep\030J \001(\005\022\020\n\010lcm_step\030K \001(\005\022\033\n\023player_say" - "_msg_size\030L \001(\005\022\027\n\017player_hear_max\030M \001(\005" - "\022\027\n\017player_hear_inc\030N \001(\005\022\031\n\021player_hear" - "_decay\030O \001(\005\022\027\n\017catch_ban_cycle\030P \001(\005\022\030\n" - "\020slow_down_factor\030Q \001(\005\022\023\n\013use_offside\030R" - " \001(\010\022\027\n\017kickoff_offside\030S \001(\010\022\033\n\023offside" - "_kick_margin\030T \001(\002\022\026\n\016audio_cut_dist\030U \001" - "(\002\022\032\n\022dist_quantize_step\030V \001(\002\022#\n\033landma" - "rk_dist_quantize_step\030W \001(\002\022\031\n\021dir_quant" - "ize_step\030X \001(\002\022\034\n\024dist_quantize_step_l\030Y" - " \001(\002\022\034\n\024dist_quantize_step_r\030Z \001(\002\022%\n\035la" - "ndmark_dist_quantize_step_l\030[ \001(\002\022%\n\035lan" - "dmark_dist_quantize_step_r\030\\ \001(\002\022\033\n\023dir_" - "quantize_step_l\030] \001(\002\022\033\n\023dir_quantize_st" - "ep_r\030^ \001(\002\022\022\n\ncoach_mode\030_ \001(\010\022\037\n\027coach_" - "with_referee_mode\030` \001(\010\022\032\n\022use_old_coach" - "_hear\030a \001(\010\022%\n\035slowness_on_top_for_left_" - "team\030b \001(\002\022&\n\036slowness_on_top_for_right_" - "team\030c \001(\002\022\024\n\014start_goal_l\030d \001(\005\022\024\n\014star" - "t_goal_r\030e \001(\005\022\023\n\013fullstate_l\030f \001(\010\022\023\n\013f" - "ullstate_r\030g \001(\010\022\026\n\016drop_ball_time\030h \001(\005" - "\022\022\n\nsynch_mode\030i \001(\010\022\024\n\014synch_offset\030j \001" - "(\005\022\031\n\021synch_micro_sleep\030k \001(\005\022\024\n\014point_t" - "o_ban\030l \001(\005\022\031\n\021point_to_duration\030m \001(\005\022\023" - "\n\013player_port\030n \001(\005\022\024\n\014trainer_port\030o \001(" - "\005\022\031\n\021online_coach_port\030p \001(\005\022\024\n\014verbose_" - "mode\030q \001(\010\022\032\n\022coach_send_vi_step\030r \001(\005\022\023" - "\n\013replay_file\030s \001(\t\022\025\n\rlandmark_file\030t \001" - "(\t\022\022\n\nsend_comms\030u \001(\010\022\024\n\014text_logging\030v" - " \001(\010\022\024\n\014game_logging\030w \001(\010\022\030\n\020game_log_v" - "ersion\030x \001(\005\022\024\n\014text_log_dir\030y \001(\t\022\024\n\014ga" - "me_log_dir\030z \001(\t\022\033\n\023text_log_fixed_name\030" - "{ \001(\t\022\033\n\023game_log_fixed_name\030| \001(\t\022\032\n\022us" - "e_text_log_fixed\030} \001(\010\022\032\n\022use_game_log_f" - "ixed\030~ \001(\010\022\032\n\022use_text_log_dated\030\177 \001(\010\022\033" - "\n\022use_game_log_dated\030\200\001 \001(\010\022\030\n\017log_date_" - "format\030\201\001 \001(\t\022\022\n\tlog_times\030\202\001 \001(\010\022\027\n\016rec" - "ord_message\030\203\001 \001(\010\022\035\n\024text_log_compressi" - "on\030\204\001 \001(\005\022\035\n\024game_log_compression\030\205\001 \001(\005" - "\022\024\n\013use_profile\030\206\001 \001(\010\022\024\n\013tackle_dist\030\207\001" - " \001(\002\022\031\n\020tackle_back_dist\030\210\001 \001(\002\022\025\n\014tackl" - "e_width\030\211\001 \001(\002\022\030\n\017tackle_exponent\030\212\001 \001(\002" - "\022\026\n\rtackle_cycles\030\213\001 \001(\005\022\032\n\021tackle_power" - "_rate\030\214\001 \001(\002\022\035\n\024freeform_wait_period\030\215\001 " - "\001(\005\022\035\n\024freeform_send_period\030\216\001 \001(\005\022\031\n\020fr" - "ee_kick_faults\030\217\001 \001(\010\022\024\n\013back_passes\030\220\001 " - "\001(\010\022\032\n\021proper_goal_kicks\030\221\001 \001(\010\022\031\n\020stopp" - "ed_ball_vel\030\222\001 \001(\002\022\027\n\016max_goal_kicks\030\223\001 " - "\001(\005\022\026\n\rclang_del_win\030\224\001 \001(\005\022\027\n\016clang_rul" - "e_win\030\225\001 \001(\005\022\022\n\tauto_mode\030\226\001 \001(\010\022\026\n\rkick" - "_off_wait\030\227\001 \001(\005\022\025\n\014connect_wait\030\230\001 \001(\005\022" - "\027\n\016game_over_wait\030\231\001 \001(\005\022\025\n\014team_l_start" - "\030\232\001 \001(\t\022\025\n\014team_r_start\030\233\001 \001(\t\022\026\n\rkeepaw" - "ay_mode\030\234\001 \001(\010\022\030\n\017keepaway_length\030\235\001 \001(\002" - "\022\027\n\016keepaway_width\030\236\001 \001(\002\022\031\n\020keepaway_lo" - "gging\030\237\001 \001(\010\022\031\n\020keepaway_log_dir\030\240\001 \001(\t\022" - " \n\027keepaway_log_fixed_name\030\241\001 \001(\t\022\033\n\022kee" - "paway_log_fixed\030\242\001 \001(\010\022\033\n\022keepaway_log_d" - "ated\030\243\001 \001(\010\022\027\n\016keepaway_start\030\244\001 \001(\005\022\030\n\017" - "nr_normal_halfs\030\245\001 \001(\005\022\027\n\016nr_extra_halfs" - "\030\246\001 \001(\005\022\033\n\022penalty_shoot_outs\030\247\001 \001(\010\022\036\n\025" - "pen_before_setup_wait\030\250\001 \001(\005\022\027\n\016pen_setu" - "p_wait\030\251\001 \001(\005\022\027\n\016pen_ready_wait\030\252\001 \001(\005\022\027" - "\n\016pen_taken_wait\030\253\001 \001(\005\022\025\n\014pen_nr_kicks\030" - "\254\001 \001(\005\022\034\n\023pen_max_extra_kicks\030\255\001 \001(\005\022\023\n\n" - "pen_dist_x\030\256\001 \001(\002\022\032\n\021pen_random_winner\030\257" - "\001 \001(\010\022\035\n\024pen_allow_mult_kicks\030\260\001 \001(\010\022\036\n\025" - "pen_max_goalie_dist_x\030\261\001 \001(\002\022 \n\027pen_coac" - "h_moves_players\030\262\001 \001(\010\022\023\n\nmodule_dir\030\263\001 " - "\001(\t\022\030\n\017ball_stuck_area\030\264\001 \001(\002\022\027\n\016coach_m" - "sg_file\030\265\001 \001(\t\022\031\n\020max_tackle_power\030\266\001 \001(" - "\002\022\036\n\025max_back_tackle_power\030\267\001 \001(\002\022\035\n\024pla" - "yer_speed_max_min\030\270\001 \001(\002\022\026\n\rextra_stamin" - "a\030\271\001 \001(\002\022\031\n\020synch_see_offset\030\272\001 \001(\005\022\030\n\017e" - "xtra_half_time\030\273\001 \001(\005\022\031\n\020stamina_capacit" - "y\030\274\001 \001(\002\022\027\n\016max_dash_angle\030\275\001 \001(\002\022\027\n\016min" - "_dash_angle\030\276\001 \001(\002\022\030\n\017dash_angle_step\030\277\001" - " \001(\002\022\027\n\016side_dash_rate\030\300\001 \001(\002\022\027\n\016back_da" - "sh_rate\030\301\001 \001(\002\022\027\n\016max_dash_power\030\302\001 \001(\002\022" - "\027\n\016min_dash_power\030\303\001 \001(\002\022\033\n\022tackle_rand_" - "factor\030\304\001 \001(\002\022 \n\027foul_detect_probability" - "\030\305\001 \001(\002\022\026\n\rfoul_exponent\030\306\001 \001(\002\022\024\n\013foul_" - "cycles\030\307\001 \001(\005\022\024\n\013golden_goal\030\310\001 \001(\010\022\035\n\024r" - "ed_card_probability\030\311\001 \001(\002\022!\n\030illegal_de" - "fense_duration\030\312\001 \001(\005\022\037\n\026illegal_defense" - "_number\030\313\001 \001(\005\022\037\n\026illegal_defense_dist_x" - "\030\314\001 \001(\002\022\036\n\025illegal_defense_width\030\315\001 \001(\002\022" - "\031\n\020fixed_teamname_l\030\316\001 \001(\t\022\031\n\020fixed_team" - "name_r\030\317\001 \001(\t\022\030\n\017max_catch_angle\030\320\001 \001(\002\022" - "\030\n\017min_catch_angle\030\321\001 \001(\002\022\024\n\013random_seed" - "\030\322\001 \001(\005\022\037\n\026long_kick_power_factor\030\323\001 \001(\002" - "\022\030\n\017long_kick_delay\030\324\001 \001(\005\022\025\n\014max_monito" - "rs\030\325\001 \001(\005\022\027\n\016catchable_area\030\326\001 \001(\002\022\027\n\016re" - "al_speed_max\030\327\001 \001(\002\022\032\n\021pitch_half_length" - "\030\330\001 \001(\002\022\031\n\020pitch_half_width\030\331\001 \001(\002\022 \n\027ou" - "r_penalty_area_line_x\030\332\001 \001(\002\022\"\n\031their_pe" - "nalty_area_line_x\030\333\001 \001(\002\022 \n\027penalty_area" - "_half_width\030\334\001 \001(\002\022\034\n\023penalty_area_lengt" - "h\030\335\001 \001(\002\022\023\n\ngoal_width\030\336\001 \001(\002\"\215\010\n\013Player" - "Param\0223\n\021register_response\030\001 \001(\0132\030.proto" - "s.RegisterResponse\022\024\n\014player_types\030\002 \001(\005" - "\022\020\n\010subs_max\030\003 \001(\005\022\016\n\006pt_max\030\004 \001(\005\022\037\n\027al" - "low_mult_default_type\030\005 \001(\010\022\"\n\032player_sp" - "eed_max_delta_min\030\006 \001(\002\022\"\n\032player_speed_" - "max_delta_max\030\007 \001(\002\022$\n\034stamina_inc_max_d" - "elta_factor\030\010 \001(\002\022\036\n\026player_decay_delta_" - "min\030\t \001(\002\022\036\n\026player_decay_delta_max\030\n \001(" - "\002\022#\n\033inertia_moment_delta_factor\030\013 \001(\002\022!" - "\n\031dash_power_rate_delta_min\030\014 \001(\002\022!\n\031das" - "h_power_rate_delta_max\030\r \001(\002\022 \n\030player_s" - "ize_delta_factor\030\016 \001(\002\022!\n\031kickable_margi" - "n_delta_min\030\017 \001(\002\022!\n\031kickable_margin_del" - "ta_max\030\020 \001(\002\022\036\n\026kick_rand_delta_factor\030\021" - " \001(\002\022\037\n\027extra_stamina_delta_min\030\022 \001(\002\022\037\n" - "\027extra_stamina_delta_max\030\023 \001(\002\022\037\n\027effort" - "_max_delta_factor\030\024 \001(\002\022\037\n\027effort_min_de" - "lta_factor\030\025 \001(\002\022\023\n\013random_seed\030\026 \001(\005\022%\n" - "\035new_dash_power_rate_delta_min\030\027 \001(\002\022%\n\035" - "new_dash_power_rate_delta_max\030\030 \001(\002\022(\n n" - "ew_stamina_inc_max_delta_factor\030\031 \001(\002\022!\n" - "\031kick_power_rate_delta_min\030\032 \001(\002\022!\n\031kick" - "_power_rate_delta_max\030\033 \001(\002\022,\n$foul_dete" - "ct_probability_delta_factor\030\034 \001(\002\022$\n\034cat" - "chable_area_l_stretch_min\030\035 \001(\002\022$\n\034catch" - "able_area_l_stretch_max\030\036 \001(\002\"\277\007\n\nPlayer" - "Type\0223\n\021register_response\030\001 \001(\0132\030.protos" - ".RegisterResponse\022\n\n\002id\030\002 \001(\005\022\027\n\017stamina" - "_inc_max\030\003 \001(\002\022\024\n\014player_decay\030\004 \001(\002\022\026\n\016" - "inertia_moment\030\005 \001(\002\022\027\n\017dash_power_rate\030" - "\006 \001(\002\022\023\n\013player_size\030\007 \001(\002\022\027\n\017kickable_m" - "argin\030\010 \001(\002\022\021\n\tkick_rand\030\t \001(\002\022\025\n\rextra_" - "stamina\030\n \001(\002\022\022\n\neffort_max\030\013 \001(\002\022\022\n\neff" - "ort_min\030\014 \001(\002\022\027\n\017kick_power_rate\030\r \001(\002\022\037" - "\n\027foul_detect_probability\030\016 \001(\002\022 \n\030catch" - "able_area_l_stretch\030\017 \001(\002\022\027\n\017unum_far_le" - "ngth\030\020 \001(\002\022\033\n\023unum_too_far_length\030\021 \001(\002\022" - "\027\n\017team_far_length\030\022 \001(\002\022\033\n\023team_too_far" - "_length\030\023 \001(\002\022%\n\035player_max_observation_" - "length\030\024 \001(\002\022\033\n\023ball_vel_far_length\030\025 \001(" - "\002\022\037\n\027ball_vel_too_far_length\030\026 \001(\002\022#\n\033ba" - "ll_max_observation_length\030\027 \001(\002\022\033\n\023flag_" - "chg_far_length\030\030 \001(\002\022\037\n\027flag_chg_too_far" - "_length\030\031 \001(\002\022#\n\033flag_max_observation_le" - "ngth\030\032 \001(\002\022\025\n\rkickable_area\030\033 \001(\002\022\037\n\027rel" - "iable_catchable_dist\030\034 \001(\002\022\032\n\022max_catcha" - "ble_dist\030\035 \001(\002\022\026\n\016real_speed_max\030\036 \001(\002\022\031" - "\n\021player_speed_max2\030\037 \001(\002\022\027\n\017real_speed_" - "max2\030 \001(\002\022!\n\031cycles_to_reach_max_speed\030" - "! \001(\005\022\030\n\020player_speed_max\030\" \001(\002\"\255\003\n\024RpcC" - "ooperativeAction\022+\n\010category\030\001 \001(\0162\031.pro" - "tos.RpcActionCategory\022\r\n\005index\030\002 \001(\005\022\023\n\013" - "sender_unum\030\003 \001(\005\022\023\n\013target_unum\030\004 \001(\005\022)" - "\n\014target_point\030\005 \001(\0132\023.protos.RpcVector2" - "D\022\030\n\020first_ball_speed\030\006 \001(\001\022\031\n\021first_tur" - "n_moment\030\007 \001(\001\022\030\n\020first_dash_power\030\010 \001(\001" - "\022!\n\031first_dash_angle_relative\030\t \001(\001\022\025\n\rd" - "uration_step\030\n \001(\005\022\022\n\nkick_count\030\013 \001(\005\022\022" - "\n\nturn_count\030\014 \001(\005\022\022\n\ndash_count\030\r \001(\005\022\024" - "\n\014final_action\030\016 \001(\010\022\023\n\013description\030\017 \001(" - "\t\022\024\n\014parent_index\030\020 \001(\005\"\317\001\n\017RpcPredictSt" - "ate\022\022\n\nspend_time\030\001 \001(\005\022\030\n\020ball_holder_u" - "num\030\002 \001(\005\022*\n\rball_position\030\003 \001(\0132\023.proto" - "s.RpcVector2D\022*\n\rball_velocity\030\004 \001(\0132\023.p" - "rotos.RpcVector2D\022\032\n\022our_defense_line_x\030" - "\005 \001(\001\022\032\n\022our_offense_line_x\030\006 \001(\001\"\202\001\n\016Rp" - "cActionState\022,\n\006action\030\001 \001(\0132\034.protos.Rp" - "cCooperativeAction\022.\n\rpredict_state\030\002 \001(" - "\0132\027.protos.RpcPredictState\022\022\n\nevaluation" - "\030\003 \001(\001\"\357\001\n\030BestPlannerActionRequest\0223\n\021r" - "egister_response\030\001 \001(\0132\030.protos.Register" - "Response\022:\n\005pairs\030\002 \003(\0132+.protos.BestPla" - "nnerActionRequest.PairsEntry\022\034\n\005state\030\003 " - "\001(\0132\r.protos.State\032D\n\nPairsEntry\022\013\n\003key\030" - "\001 \001(\005\022%\n\005value\030\002 \001(\0132\026.protos.RpcActionS" - "tate:\0028\001\"*\n\031BestPlannerActionResponse\022\r\n" - "\005index\030\001 \001(\005\"\007\n\005Empty*-\n\tViewWidth\022\n\n\006NA" - "RROW\020\000\022\n\n\006NORMAL\020\001\022\010\n\004WIDE\020\002*(\n\004Side\022\013\n\007" - "UNKNOWN\020\000\022\010\n\004LEFT\020\001\022\t\n\005RIGHT\020\002*\262\002\n\013Logge" - "rLevel\022\r\n\tNoneLevel\020\000\022\n\n\006SYSTEM\020\001\022\n\n\006SEN" - "SOR\020\002\022\t\n\005WORLD\020\004\022\n\n\006ACTION\020\010\022\r\n\tINTERCEP" - "T\020\020\022\010\n\004KICK\020 \022\010\n\004HOLD\020@\022\014\n\007DRIBBLE\020\200\001\022\t\n" - "\004PASS\020\200\002\022\n\n\005CROSS\020\200\004\022\n\n\005SHOOT\020\200\010\022\n\n\005CLEA" - "R\020\200\020\022\n\n\005BLOCK\020\200 \022\t\n\004MARK\020\200@\022\021\n\013POSITIONI" - "NG\020\200\200\001\022\n\n\004ROLE\020\200\200\002\022\n\n\004TEAM\020\200\200\004\022\023\n\rCOMMUN" - "ICATION\020\200\200\010\022\016\n\010ANALYZER\020\200\200\020\022\022\n\014ACTION_CH" - "AIN\020\200\200 \022\n\n\004PLAN\020\200\200@*v\n\023InterceptActionTy" - "pe\022!\n\035UNKNOWN_Intercept_Action_Type\020\000\022\r\n" - "\tOMNI_DASH\020\001\022\025\n\021TURN_FORWARD_DASH\020\002\022\026\n\022T" - "URN_BACKWARD_DASH\020\003*\273\004\n\014GameModeType\022\021\n\r" - "BeforeKickOff\020\000\022\014\n\010TimeOver\020\001\022\n\n\006PlayOn\020" - "\002\022\014\n\010KickOff_\020\003\022\013\n\007KickIn_\020\004\022\r\n\tFreeKick" - "_\020\005\022\017\n\013CornerKick_\020\006\022\r\n\tGoalKick_\020\007\022\016\n\nA" - "fterGoal_\020\010\022\014\n\010OffSide_\020\t\022\020\n\014PenaltyKick" - "_\020\n\022\021\n\rFirstHalfOver\020\013\022\t\n\005Pause\020\014\022\t\n\005Hum" - "an\020\r\022\017\n\013FoulCharge_\020\016\022\r\n\tFoulPush_\020\017\022\031\n\025" - "FoulMultipleAttacker_\020\020\022\020\n\014FoulBallOut_\020" - "\021\022\r\n\tBackPass_\020\022\022\022\n\016FreeKickFault_\020\023\022\017\n\013" - "CatchFault_\020\024\022\020\n\014IndFreeKick_\020\025\022\021\n\rPenal" - "tySetup_\020\026\022\021\n\rPenaltyReady_\020\027\022\021\n\rPenalty" - "Taken_\020\030\022\020\n\014PenaltyMiss_\020\031\022\021\n\rPenaltySco" - "re_\020\032\022\023\n\017IllegalDefense_\020\033\022\023\n\017PenaltyOnf" - "ield_\020\034\022\020\n\014PenaltyFoul_\020\035\022\020\n\014GoalieCatch" - "_\020\036\022\016\n\nExtendHalf\020\037\022\014\n\010MODE_MAX\020 *2\n\tAge" - "ntType\022\013\n\007PlayerT\020\000\022\n\n\006CoachT\020\001\022\014\n\010Train" - "erT\020\002*w\n\021RpcActionCategory\022\013\n\007AC_Hold\020\000\022" - "\016\n\nAC_Dribble\020\001\022\013\n\007AC_Pass\020\002\022\014\n\010AC_Shoot" - "\020\003\022\014\n\010AC_Clear\020\004\022\013\n\007AC_Move\020\005\022\017\n\013AC_NoAc" - "tion\020\0062\373\004\n\004Game\022:\n\020GetPlayerActions\022\r.pr" - "otos.State\032\025.protos.PlayerActions\"\000\0228\n\017G" - "etCoachActions\022\r.protos.State\032\024.protos.C" - "oachActions\"\000\022<\n\021GetTrainerActions\022\r.pro" - "tos.State\032\026.protos.TrainerActions\"\000\0227\n\017S" - "endInitMessage\022\023.protos.InitMessage\032\r.pr" - "otos.Empty\"\000\0228\n\020SendServerParams\022\023.proto" - "s.ServerParam\032\r.protos.Empty\"\000\0228\n\020SendPl" - "ayerParams\022\023.protos.PlayerParam\032\r.protos" - ".Empty\"\000\0225\n\016SendPlayerType\022\022.protos.Play" - "erType\032\r.protos.Empty\"\000\022\?\n\010Register\022\027.pr" - "otos.RegisterRequest\032\030.protos.RegisterRe" - "sponse\"\000\022;\n\016SendByeCommand\022\030.protos.Regi" - "sterResponse\032\r.protos.Empty\"\000\022]\n\024GetBest" - "PlannerAction\022 .protos.BestPlannerAction" - "Request\032!.protos.BestPlannerActionRespon" - "se\"\000b\006proto3" + "sGoalieKick\"\r\n\013HeliosShoot\"\363\001\n\026HeliosOff" + "ensivePlanner\022\023\n\013direct_pass\030\001 \001(\010\022\021\n\tle" + "ad_pass\030\002 \001(\010\022\024\n\014through_pass\030\003 \001(\010\022\025\n\rs" + "hort_dribble\030\004 \001(\010\022\024\n\014long_dribble\030\005 \001(\010" + "\022\r\n\005cross\030\006 \001(\010\022\023\n\013simple_pass\030\007 \001(\010\022\026\n\016" + "simple_dribble\030\010 \001(\010\022\024\n\014simple_shoot\030\t \001" + "(\010\022\034\n\024server_side_decision\030\n \001(\010\"\026\n\024Heli" + "osBasicOffensive\"\021\n\017HeliosBasicMove\"\017\n\rH" + "eliosSetPlay\"\017\n\rHeliosPenalty\"\024\n\022HeliosC" + "ommunicaion\"\355\031\n\014PlayerAction\022\034\n\004dash\030\001 \001" + "(\0132\014.protos.DashH\000\022\034\n\004turn\030\002 \001(\0132\014.proto" + "s.TurnH\000\022\034\n\004kick\030\003 \001(\0132\014.protos.KickH\000\022 " + "\n\006tackle\030\004 \001(\0132\016.protos.TackleH\000\022\036\n\005catc" + "h\030\005 \001(\0132\r.protos.CatchH\000\022\034\n\004move\030\006 \001(\0132\014" + ".protos.MoveH\000\022%\n\tturn_neck\030\007 \001(\0132\020.prot" + "os.TurnNeckH\000\022)\n\013change_view\030\010 \001(\0132\022.pro" + "tos.ChangeViewH\000\022\032\n\003say\030\t \001(\0132\013.protos.S" + "ayH\000\022#\n\010point_to\030\n \001(\0132\017.protos.PointToH" + "\000\022(\n\013point_to_of\030\013 \001(\0132\021.protos.PointToO" + "fH\000\022+\n\014attention_to\030\014 \001(\0132\023.protos.Atten" + "tionToH\000\0220\n\017attention_to_of\030\r \001(\0132\025.prot" + "os.AttentionToOfH\000\022\032\n\003log\030\016 \001(\0132\013.protos" + ".LogH\000\022+\n\014debug_client\030\017 \001(\0132\023.protos.De" + "bugClientH\000\0222\n\020body_go_to_point\030\020 \001(\0132\026." + "protos.Body_GoToPointH\000\0221\n\017body_smart_ki" + "ck\030\021 \001(\0132\026.protos.Body_SmartKickH\000\0228\n\023bh" + "v_before_kick_off\030\022 \001(\0132\031.protos.Bhv_Bef" + "oreKickOffH\000\022;\n\025bhv_body_neck_to_ball\030\023 " + "\001(\0132\032.protos.Bhv_BodyNeckToBallH\000\022=\n\026bhv" + "_body_neck_to_point\030\024 \001(\0132\033.protos.Bhv_B" + "odyNeckToPointH\000\022.\n\rbhv_emergency\030\025 \001(\0132" + "\025.protos.Bhv_EmergencyH\000\022B\n\031bhv_go_to_po" + "int_look_ball\030\026 \001(\0132\035.protos.Bhv_GoToPoi" + "ntLookBallH\000\022;\n\025bhv_neck_body_to_ball\030\027 " + "\001(\0132\032.protos.Bhv_NeckBodyToBallH\000\022=\n\026bhv" + "_neck_body_to_point\030\030 \001(\0132\033.protos.Bhv_N" + "eckBodyToPointH\000\022/\n\016bhv_scan_field\030\031 \001(\013" + "2\025.protos.Bhv_ScanFieldH\000\0225\n\021body_advanc" + "e_ball\030\032 \001(\0132\030.protos.Body_AdvanceBallH\000" + "\0221\n\017body_clear_ball\030\033 \001(\0132\026.protos.Body_" + "ClearBallH\000\022,\n\014body_dribble\030\034 \001(\0132\024.prot" + "os.Body_DribbleH\000\022=\n\026body_go_to_point_do" + "dge\030\035 \001(\0132\033.protos.Body_GoToPointDodgeH\000" + "\022/\n\016body_hold_ball\030\036 \001(\0132\025.protos.Body_H" + "oldBallH\000\0220\n\016body_intercept\030\037 \001(\0132\026.prot" + "os.Body_InterceptH\000\0226\n\022body_kick_one_ste" + "p\030 \001(\0132\030.protos.Body_KickOneStepH\000\022/\n\016b" + "ody_stop_ball\030! \001(\0132\025.protos.Body_StopBa" + "llH\000\022/\n\016body_stop_dash\030\" \001(\0132\025.protos.Bo" + "dy_StopDashH\000\022:\n\024body_tackle_to_point\030# " + "\001(\0132\032.protos.Body_TackleToPointH\000\0226\n\022bod" + "y_turn_to_angle\030$ \001(\0132\030.protos.Body_Turn" + "ToAngleH\000\0224\n\021body_turn_to_ball\030% \001(\0132\027.p" + "rotos.Body_TurnToBallH\000\0226\n\022body_turn_to_" + "point\030& \001(\0132\030.protos.Body_TurnToPointH\000\022" + "8\n\023focus_move_to_point\030\' \001(\0132\031.protos.Fo" + "cus_MoveToPointH\000\022*\n\013focus_reset\030( \001(\0132\023" + ".protos.Focus_ResetH\000\0221\n\017neck_scan_field" + "\030) \001(\0132\026.protos.Neck_ScanFieldH\000\0225\n\021neck" + "_scan_players\030* \001(\0132\030.protos.Neck_ScanPl" + "ayersH\000\022H\n\034neck_turn_to_ball_and_player\030" + "+ \001(\0132 .protos.Neck_TurnToBallAndPlayerH" + "\000\022B\n\031neck_turn_to_ball_or_scan\030, \001(\0132\035.p" + "rotos.Neck_TurnToBallOrScanH\000\0224\n\021neck_tu" + "rn_to_ball\030- \001(\0132\027.protos.Neck_TurnToBal" + "lH\000\022F\n\033neck_turn_to_goalie_or_scan\030. \001(\013" + "2\037.protos.Neck_TurnToGoalieOrScanH\000\022L\n\036n" + "eck_turn_to_low_conf_teammate\030/ \001(\0132\".pr" + "otos.Neck_TurnToLowConfTeammateH\000\022F\n\033nec" + "k_turn_to_player_or_scan\0300 \001(\0132\037.protos." + "Neck_TurnToPlayerOrScanH\000\0226\n\022neck_turn_t" + "o_point\0301 \001(\0132\030.protos.Neck_TurnToPointH" + "\000\022<\n\025neck_turn_to_relative\0302 \001(\0132\033.proto" + "s.Neck_TurnToRelativeH\000\0225\n\021view_change_w" + "idth\0303 \001(\0132\030.protos.View_ChangeWidthH\000\022*" + "\n\013view_normal\0304 \001(\0132\023.protos.View_Normal" + "H\000\022(\n\nview_synch\0305 \001(\0132\022.protos.View_Syn" + "chH\000\022&\n\tview_wide\0306 \001(\0132\021.protos.View_Wi" + "deH\000\022-\n\rhelios_goalie\0307 \001(\0132\024.protos.Hel" + "iosGoalieH\000\0226\n\022helios_goalie_move\0308 \001(\0132" + "\030.protos.HeliosGoalieMoveH\000\0226\n\022helios_go" + "alie_kick\0309 \001(\0132\030.protos.HeliosGoalieKic" + "kH\000\022+\n\014helios_shoot\030: \001(\0132\023.protos.Helio" + "sShootH\000\022B\n\030helios_offensive_planner\030; \001" + "(\0132\036.protos.HeliosOffensivePlannerH\000\022>\n\026" + "helios_basic_offensive\030< \001(\0132\034.protos.He" + "liosBasicOffensiveH\000\0224\n\021helios_basic_mov" + "e\030= \001(\0132\027.protos.HeliosBasicMoveH\000\0220\n\017he" + "lios_set_play\030> \001(\0132\025.protos.HeliosSetPl" + "ayH\000\022/\n\016helios_penalty\030\? \001(\0132\025.protos.He" + "liosPenaltyH\000\022:\n\024helios_communication\030@ " + "\001(\0132\032.protos.HeliosCommunicaionH\000B\010\n\006act" + "ion\"Q\n\rPlayerActions\022%\n\007actions\030\001 \003(\0132\024." + "protos.PlayerAction\022\031\n\021ignore_preprocess" + "\030\002 \001(\010\"8\n\020ChangePlayerType\022\026\n\016uniform_nu" + "mber\030\001 \001(\005\022\014\n\004type\030\002 \001(\005\"\024\n\022DoHeliosSubs" + "titute\"\030\n\026DoHeliosSayPlayerTypes\"\322\001\n\013Coa" + "chAction\0227\n\023change_player_types\030\001 \001(\0132\030." + "protos.ChangePlayerTypeH\000\022:\n\024do_helios_s" + "ubstitute\030\002 \001(\0132\032.protos.DoHeliosSubstit" + "uteH\000\022D\n\032do_helios_say_player_types\030\003 \001(" + "\0132\036.protos.DoHeliosSayPlayerTypesH\000B\010\n\006a" + "ction\"4\n\014CoachActions\022$\n\007actions\030\001 \003(\0132\023" + ".protos.CoachAction\"\013\n\tDoKickOff\"Z\n\nDoMo" + "veBall\022%\n\010position\030\001 \001(\0132\023.protos.RpcVec" + "tor2D\022%\n\010velocity\030\002 \001(\0132\023.protos.RpcVect" + "or2D\"w\n\014DoMovePlayer\022\020\n\010our_side\030\001 \001(\010\022\026" + "\n\016uniform_number\030\002 \001(\005\022%\n\010position\030\003 \001(\013" + "2\023.protos.RpcVector2D\022\026\n\016body_direction\030" + "\004 \001(\002\"\013\n\tDoRecover\"X\n\014DoChangeMode\022,\n\016ga" + "me_mode_type\030\001 \001(\0162\024.protos.GameModeType" + "\022\032\n\004side\030\002 \001(\0162\014.protos.Side\"L\n\022DoChange" + "PlayerType\022\020\n\010our_side\030\001 \001(\010\022\026\n\016uniform_" + "number\030\002 \001(\005\022\014\n\004type\030\003 \001(\005\"\265\002\n\rTrainerAc" + "tion\022(\n\013do_kick_off\030\001 \001(\0132\021.protos.DoKic" + "kOffH\000\022*\n\014do_move_ball\030\002 \001(\0132\022.protos.Do" + "MoveBallH\000\022.\n\016do_move_player\030\003 \001(\0132\024.pro" + "tos.DoMovePlayerH\000\022\'\n\ndo_recover\030\004 \001(\0132\021" + ".protos.DoRecoverH\000\022.\n\016do_change_mode\030\005 " + "\001(\0132\024.protos.DoChangeModeH\000\022;\n\025do_change" + "_player_type\030\006 \001(\0132\032.protos.DoChangePlay" + "erTypeH\000B\010\n\006action\"8\n\016TrainerActions\022&\n\007" + "actions\030\001 \003(\0132\025.protos.TrainerAction\"\335,\n" + "\013ServerParam\0223\n\021register_response\030\001 \001(\0132" + "\030.protos.RegisterResponse\022\026\n\016inertia_mom" + "ent\030\002 \001(\002\022\023\n\013player_size\030\003 \001(\002\022\024\n\014player" + "_decay\030\004 \001(\002\022\023\n\013player_rand\030\005 \001(\002\022\025\n\rpla" + "yer_weight\030\006 \001(\002\022\030\n\020player_speed_max\030\007 \001" + "(\002\022\030\n\020player_accel_max\030\010 \001(\002\022\023\n\013stamina_" + "max\030\t \001(\002\022\027\n\017stamina_inc_max\030\n \001(\002\022\024\n\014re" + "cover_init\030\013 \001(\002\022\027\n\017recover_dec_thr\030\014 \001(" + "\002\022\023\n\013recover_min\030\r \001(\002\022\023\n\013recover_dec\030\016 " + "\001(\002\022\023\n\013effort_init\030\017 \001(\002\022\026\n\016effort_dec_t" + "hr\030\020 \001(\002\022\022\n\neffort_min\030\021 \001(\002\022\022\n\neffort_d" + "ec\030\022 \001(\002\022\026\n\016effort_inc_thr\030\023 \001(\002\022\022\n\neffo" + "rt_inc\030\024 \001(\002\022\021\n\tkick_rand\030\025 \001(\002\022\033\n\023team_" + "actuator_noise\030\026 \001(\010\022\034\n\024player_rand_fact" + "or_l\030\027 \001(\002\022\034\n\024player_rand_factor_r\030\030 \001(\002" + "\022\032\n\022kick_rand_factor_l\030\031 \001(\002\022\032\n\022kick_ran" + "d_factor_r\030\032 \001(\002\022\021\n\tball_size\030\033 \001(\002\022\022\n\nb" + "all_decay\030\034 \001(\002\022\021\n\tball_rand\030\035 \001(\002\022\023\n\013ba" + "ll_weight\030\036 \001(\002\022\026\n\016ball_speed_max\030\037 \001(\002\022" + "\026\n\016ball_accel_max\030 \001(\002\022\027\n\017dash_power_ra" + "te\030! \001(\002\022\027\n\017kick_power_rate\030\" \001(\002\022\027\n\017kic" + "kable_margin\030# \001(\002\022\026\n\016control_radius\030$ \001" + "(\002\022\034\n\024control_radius_width\030% \001(\002\022\021\n\tmax_" + "power\030& \001(\002\022\021\n\tmin_power\030\' \001(\002\022\022\n\nmax_mo" + "ment\030( \001(\002\022\022\n\nmin_moment\030) \001(\002\022\027\n\017max_ne" + "ck_moment\030* \001(\002\022\027\n\017min_neck_moment\030+ \001(\002" + "\022\026\n\016max_neck_angle\030, \001(\002\022\026\n\016min_neck_ang" + "le\030- \001(\002\022\025\n\rvisible_angle\030. \001(\002\022\030\n\020visib" + "le_distance\030/ \001(\002\022\020\n\010wind_dir\0300 \001(\002\022\022\n\nw" + "ind_force\0301 \001(\002\022\022\n\nwind_angle\0302 \001(\002\022\021\n\tw" + "ind_rand\0303 \001(\002\022\025\n\rkickable_area\0304 \001(\002\022\024\n" + "\014catch_area_l\0305 \001(\002\022\024\n\014catch_area_w\0306 \001(" + "\002\022\031\n\021catch_probability\0307 \001(\002\022\030\n\020goalie_m" + "ax_moves\0308 \001(\005\022\032\n\022corner_kick_margin\0309 \001" + "(\002\022 \n\030offside_active_area_size\030: \001(\002\022\021\n\t" + "wind_none\030; \001(\010\022\027\n\017use_wind_random\030< \001(\010" + "\022\033\n\023coach_say_count_max\030= \001(\005\022\032\n\022coach_s" + "ay_msg_size\030> \001(\005\022\026\n\016clang_win_size\030\? \001(" + "\005\022\030\n\020clang_define_win\030@ \001(\005\022\026\n\016clang_met" + "a_win\030A \001(\005\022\030\n\020clang_advice_win\030B \001(\005\022\026\n" + "\016clang_info_win\030C \001(\005\022\030\n\020clang_mess_dela" + "y\030D \001(\005\022\034\n\024clang_mess_per_cycle\030E \001(\005\022\021\n" + "\thalf_time\030F \001(\005\022\026\n\016simulator_step\030G \001(\005" + "\022\021\n\tsend_step\030H \001(\005\022\021\n\trecv_step\030I \001(\005\022\027" + "\n\017sense_body_step\030J \001(\005\022\020\n\010lcm_step\030K \001(" + "\005\022\033\n\023player_say_msg_size\030L \001(\005\022\027\n\017player" + "_hear_max\030M \001(\005\022\027\n\017player_hear_inc\030N \001(\005" + "\022\031\n\021player_hear_decay\030O \001(\005\022\027\n\017catch_ban" + "_cycle\030P \001(\005\022\030\n\020slow_down_factor\030Q \001(\005\022\023" + "\n\013use_offside\030R \001(\010\022\027\n\017kickoff_offside\030S" + " \001(\010\022\033\n\023offside_kick_margin\030T \001(\002\022\026\n\016aud" + "io_cut_dist\030U \001(\002\022\032\n\022dist_quantize_step\030" + "V \001(\002\022#\n\033landmark_dist_quantize_step\030W \001" + "(\002\022\031\n\021dir_quantize_step\030X \001(\002\022\034\n\024dist_qu" + "antize_step_l\030Y \001(\002\022\034\n\024dist_quantize_ste" + "p_r\030Z \001(\002\022%\n\035landmark_dist_quantize_step" + "_l\030[ \001(\002\022%\n\035landmark_dist_quantize_step_" + "r\030\\ \001(\002\022\033\n\023dir_quantize_step_l\030] \001(\002\022\033\n\023" + "dir_quantize_step_r\030^ \001(\002\022\022\n\ncoach_mode\030" + "_ \001(\010\022\037\n\027coach_with_referee_mode\030` \001(\010\022\032" + "\n\022use_old_coach_hear\030a \001(\010\022%\n\035slowness_o" + "n_top_for_left_team\030b \001(\002\022&\n\036slowness_on" + "_top_for_right_team\030c \001(\002\022\024\n\014start_goal_" + "l\030d \001(\005\022\024\n\014start_goal_r\030e \001(\005\022\023\n\013fullsta" + "te_l\030f \001(\010\022\023\n\013fullstate_r\030g \001(\010\022\026\n\016drop_" + "ball_time\030h \001(\005\022\022\n\nsynch_mode\030i \001(\010\022\024\n\014s" + "ynch_offset\030j \001(\005\022\031\n\021synch_micro_sleep\030k" + " \001(\005\022\024\n\014point_to_ban\030l \001(\005\022\031\n\021point_to_d" + "uration\030m \001(\005\022\023\n\013player_port\030n \001(\005\022\024\n\014tr" + "ainer_port\030o \001(\005\022\031\n\021online_coach_port\030p " + "\001(\005\022\024\n\014verbose_mode\030q \001(\010\022\032\n\022coach_send_" + "vi_step\030r \001(\005\022\023\n\013replay_file\030s \001(\t\022\025\n\rla" + "ndmark_file\030t \001(\t\022\022\n\nsend_comms\030u \001(\010\022\024\n" + "\014text_logging\030v \001(\010\022\024\n\014game_logging\030w \001(" + "\010\022\030\n\020game_log_version\030x \001(\005\022\024\n\014text_log_" + "dir\030y \001(\t\022\024\n\014game_log_dir\030z \001(\t\022\033\n\023text_" + "log_fixed_name\030{ \001(\t\022\033\n\023game_log_fixed_n" + "ame\030| \001(\t\022\032\n\022use_text_log_fixed\030} \001(\010\022\032\n" + "\022use_game_log_fixed\030~ \001(\010\022\032\n\022use_text_lo" + "g_dated\030\177 \001(\010\022\033\n\022use_game_log_dated\030\200\001 \001" + "(\010\022\030\n\017log_date_format\030\201\001 \001(\t\022\022\n\tlog_time" + "s\030\202\001 \001(\010\022\027\n\016record_message\030\203\001 \001(\010\022\035\n\024tex" + "t_log_compression\030\204\001 \001(\005\022\035\n\024game_log_com" + "pression\030\205\001 \001(\005\022\024\n\013use_profile\030\206\001 \001(\010\022\024\n" + "\013tackle_dist\030\207\001 \001(\002\022\031\n\020tackle_back_dist\030" + "\210\001 \001(\002\022\025\n\014tackle_width\030\211\001 \001(\002\022\030\n\017tackle_" + "exponent\030\212\001 \001(\002\022\026\n\rtackle_cycles\030\213\001 \001(\005\022" + "\032\n\021tackle_power_rate\030\214\001 \001(\002\022\035\n\024freeform_" + "wait_period\030\215\001 \001(\005\022\035\n\024freeform_send_peri" + "od\030\216\001 \001(\005\022\031\n\020free_kick_faults\030\217\001 \001(\010\022\024\n\013" + "back_passes\030\220\001 \001(\010\022\032\n\021proper_goal_kicks\030" + "\221\001 \001(\010\022\031\n\020stopped_ball_vel\030\222\001 \001(\002\022\027\n\016max" + "_goal_kicks\030\223\001 \001(\005\022\026\n\rclang_del_win\030\224\001 \001" + "(\005\022\027\n\016clang_rule_win\030\225\001 \001(\005\022\022\n\tauto_mode" + "\030\226\001 \001(\010\022\026\n\rkick_off_wait\030\227\001 \001(\005\022\025\n\014conne" + "ct_wait\030\230\001 \001(\005\022\027\n\016game_over_wait\030\231\001 \001(\005\022" + "\025\n\014team_l_start\030\232\001 \001(\t\022\025\n\014team_r_start\030\233" + "\001 \001(\t\022\026\n\rkeepaway_mode\030\234\001 \001(\010\022\030\n\017keepawa" + "y_length\030\235\001 \001(\002\022\027\n\016keepaway_width\030\236\001 \001(\002" + "\022\031\n\020keepaway_logging\030\237\001 \001(\010\022\031\n\020keepaway_" + "log_dir\030\240\001 \001(\t\022 \n\027keepaway_log_fixed_nam" + "e\030\241\001 \001(\t\022\033\n\022keepaway_log_fixed\030\242\001 \001(\010\022\033\n" + "\022keepaway_log_dated\030\243\001 \001(\010\022\027\n\016keepaway_s" + "tart\030\244\001 \001(\005\022\030\n\017nr_normal_halfs\030\245\001 \001(\005\022\027\n" + "\016nr_extra_halfs\030\246\001 \001(\005\022\033\n\022penalty_shoot_" + "outs\030\247\001 \001(\010\022\036\n\025pen_before_setup_wait\030\250\001 " + "\001(\005\022\027\n\016pen_setup_wait\030\251\001 \001(\005\022\027\n\016pen_read" + "y_wait\030\252\001 \001(\005\022\027\n\016pen_taken_wait\030\253\001 \001(\005\022\025" + "\n\014pen_nr_kicks\030\254\001 \001(\005\022\034\n\023pen_max_extra_k" + "icks\030\255\001 \001(\005\022\023\n\npen_dist_x\030\256\001 \001(\002\022\032\n\021pen_" + "random_winner\030\257\001 \001(\010\022\035\n\024pen_allow_mult_k" + "icks\030\260\001 \001(\010\022\036\n\025pen_max_goalie_dist_x\030\261\001 " + "\001(\002\022 \n\027pen_coach_moves_players\030\262\001 \001(\010\022\023\n" + "\nmodule_dir\030\263\001 \001(\t\022\030\n\017ball_stuck_area\030\264\001" + " \001(\002\022\027\n\016coach_msg_file\030\265\001 \001(\t\022\031\n\020max_tac" + "kle_power\030\266\001 \001(\002\022\036\n\025max_back_tackle_powe" + "r\030\267\001 \001(\002\022\035\n\024player_speed_max_min\030\270\001 \001(\002\022" + "\026\n\rextra_stamina\030\271\001 \001(\002\022\031\n\020synch_see_off" + "set\030\272\001 \001(\005\022\030\n\017extra_half_time\030\273\001 \001(\005\022\031\n\020" + "stamina_capacity\030\274\001 \001(\002\022\027\n\016max_dash_angl" + "e\030\275\001 \001(\002\022\027\n\016min_dash_angle\030\276\001 \001(\002\022\030\n\017das" + "h_angle_step\030\277\001 \001(\002\022\027\n\016side_dash_rate\030\300\001" + " \001(\002\022\027\n\016back_dash_rate\030\301\001 \001(\002\022\027\n\016max_das" + "h_power\030\302\001 \001(\002\022\027\n\016min_dash_power\030\303\001 \001(\002\022" + "\033\n\022tackle_rand_factor\030\304\001 \001(\002\022 \n\027foul_det" + "ect_probability\030\305\001 \001(\002\022\026\n\rfoul_exponent\030" + "\306\001 \001(\002\022\024\n\013foul_cycles\030\307\001 \001(\005\022\024\n\013golden_g" + "oal\030\310\001 \001(\010\022\035\n\024red_card_probability\030\311\001 \001(" + "\002\022!\n\030illegal_defense_duration\030\312\001 \001(\005\022\037\n\026" + "illegal_defense_number\030\313\001 \001(\005\022\037\n\026illegal" + "_defense_dist_x\030\314\001 \001(\002\022\036\n\025illegal_defens" + "e_width\030\315\001 \001(\002\022\031\n\020fixed_teamname_l\030\316\001 \001(" + "\t\022\031\n\020fixed_teamname_r\030\317\001 \001(\t\022\030\n\017max_catc" + "h_angle\030\320\001 \001(\002\022\030\n\017min_catch_angle\030\321\001 \001(\002" + "\022\024\n\013random_seed\030\322\001 \001(\005\022\037\n\026long_kick_powe" + "r_factor\030\323\001 \001(\002\022\030\n\017long_kick_delay\030\324\001 \001(" + "\005\022\025\n\014max_monitors\030\325\001 \001(\005\022\027\n\016catchable_ar" + "ea\030\326\001 \001(\002\022\027\n\016real_speed_max\030\327\001 \001(\002\022\032\n\021pi" + "tch_half_length\030\330\001 \001(\002\022\031\n\020pitch_half_wid" + "th\030\331\001 \001(\002\022 \n\027our_penalty_area_line_x\030\332\001 " + "\001(\002\022\"\n\031their_penalty_area_line_x\030\333\001 \001(\002\022" + " \n\027penalty_area_half_width\030\334\001 \001(\002\022\034\n\023pen" + "alty_area_length\030\335\001 \001(\002\022\023\n\ngoal_width\030\336\001" + " \001(\002\"\215\010\n\013PlayerParam\0223\n\021register_respons" + "e\030\001 \001(\0132\030.protos.RegisterResponse\022\024\n\014pla" + "yer_types\030\002 \001(\005\022\020\n\010subs_max\030\003 \001(\005\022\016\n\006pt_" + "max\030\004 \001(\005\022\037\n\027allow_mult_default_type\030\005 \001" + "(\010\022\"\n\032player_speed_max_delta_min\030\006 \001(\002\022\"" + "\n\032player_speed_max_delta_max\030\007 \001(\002\022$\n\034st" + "amina_inc_max_delta_factor\030\010 \001(\002\022\036\n\026play" + "er_decay_delta_min\030\t \001(\002\022\036\n\026player_decay" + "_delta_max\030\n \001(\002\022#\n\033inertia_moment_delta" + "_factor\030\013 \001(\002\022!\n\031dash_power_rate_delta_m" + "in\030\014 \001(\002\022!\n\031dash_power_rate_delta_max\030\r " + "\001(\002\022 \n\030player_size_delta_factor\030\016 \001(\002\022!\n" + "\031kickable_margin_delta_min\030\017 \001(\002\022!\n\031kick" + "able_margin_delta_max\030\020 \001(\002\022\036\n\026kick_rand" + "_delta_factor\030\021 \001(\002\022\037\n\027extra_stamina_del" + "ta_min\030\022 \001(\002\022\037\n\027extra_stamina_delta_max\030" + "\023 \001(\002\022\037\n\027effort_max_delta_factor\030\024 \001(\002\022\037" + "\n\027effort_min_delta_factor\030\025 \001(\002\022\023\n\013rando" + "m_seed\030\026 \001(\005\022%\n\035new_dash_power_rate_delt" + "a_min\030\027 \001(\002\022%\n\035new_dash_power_rate_delta" + "_max\030\030 \001(\002\022(\n new_stamina_inc_max_delta_" + "factor\030\031 \001(\002\022!\n\031kick_power_rate_delta_mi" + "n\030\032 \001(\002\022!\n\031kick_power_rate_delta_max\030\033 \001" + "(\002\022,\n$foul_detect_probability_delta_fact" + "or\030\034 \001(\002\022$\n\034catchable_area_l_stretch_min" + "\030\035 \001(\002\022$\n\034catchable_area_l_stretch_max\030\036" + " \001(\002\"\277\007\n\nPlayerType\0223\n\021register_response" + "\030\001 \001(\0132\030.protos.RegisterResponse\022\n\n\002id\030\002" + " \001(\005\022\027\n\017stamina_inc_max\030\003 \001(\002\022\024\n\014player_" + "decay\030\004 \001(\002\022\026\n\016inertia_moment\030\005 \001(\002\022\027\n\017d" + "ash_power_rate\030\006 \001(\002\022\023\n\013player_size\030\007 \001(" + "\002\022\027\n\017kickable_margin\030\010 \001(\002\022\021\n\tkick_rand\030" + "\t \001(\002\022\025\n\rextra_stamina\030\n \001(\002\022\022\n\neffort_m" + "ax\030\013 \001(\002\022\022\n\neffort_min\030\014 \001(\002\022\027\n\017kick_pow" + "er_rate\030\r \001(\002\022\037\n\027foul_detect_probability" + "\030\016 \001(\002\022 \n\030catchable_area_l_stretch\030\017 \001(\002" + "\022\027\n\017unum_far_length\030\020 \001(\002\022\033\n\023unum_too_fa" + "r_length\030\021 \001(\002\022\027\n\017team_far_length\030\022 \001(\002\022" + "\033\n\023team_too_far_length\030\023 \001(\002\022%\n\035player_m" + "ax_observation_length\030\024 \001(\002\022\033\n\023ball_vel_" + "far_length\030\025 \001(\002\022\037\n\027ball_vel_too_far_len" + "gth\030\026 \001(\002\022#\n\033ball_max_observation_length" + "\030\027 \001(\002\022\033\n\023flag_chg_far_length\030\030 \001(\002\022\037\n\027f" + "lag_chg_too_far_length\030\031 \001(\002\022#\n\033flag_max" + "_observation_length\030\032 \001(\002\022\025\n\rkickable_ar" + "ea\030\033 \001(\002\022\037\n\027reliable_catchable_dist\030\034 \001(" + "\002\022\032\n\022max_catchable_dist\030\035 \001(\002\022\026\n\016real_sp" + "eed_max\030\036 \001(\002\022\031\n\021player_speed_max2\030\037 \001(\002" + "\022\027\n\017real_speed_max2\030 \001(\002\022!\n\031cycles_to_r" + "each_max_speed\030! \001(\005\022\030\n\020player_speed_max" + "\030\" \001(\002\"\255\003\n\024RpcCooperativeAction\022+\n\010categ" + "ory\030\001 \001(\0162\031.protos.RpcActionCategory\022\r\n\005" + "index\030\002 \001(\005\022\023\n\013sender_unum\030\003 \001(\005\022\023\n\013targ" + "et_unum\030\004 \001(\005\022)\n\014target_point\030\005 \001(\0132\023.pr" + "otos.RpcVector2D\022\030\n\020first_ball_speed\030\006 \001" + "(\001\022\031\n\021first_turn_moment\030\007 \001(\001\022\030\n\020first_d" + "ash_power\030\010 \001(\001\022!\n\031first_dash_angle_rela" + "tive\030\t \001(\001\022\025\n\rduration_step\030\n \001(\005\022\022\n\nkic" + "k_count\030\013 \001(\005\022\022\n\nturn_count\030\014 \001(\005\022\022\n\ndas" + "h_count\030\r \001(\005\022\024\n\014final_action\030\016 \001(\010\022\023\n\013d" + "escription\030\017 \001(\t\022\024\n\014parent_index\030\020 \001(\005\"\317" + "\001\n\017RpcPredictState\022\022\n\nspend_time\030\001 \001(\005\022\030" + "\n\020ball_holder_unum\030\002 \001(\005\022*\n\rball_positio" + "n\030\003 \001(\0132\023.protos.RpcVector2D\022*\n\rball_vel" + "ocity\030\004 \001(\0132\023.protos.RpcVector2D\022\032\n\022our_" + "defense_line_x\030\005 \001(\001\022\032\n\022our_offense_line" + "_x\030\006 \001(\001\"\202\001\n\016RpcActionState\022,\n\006action\030\001 " + "\001(\0132\034.protos.RpcCooperativeAction\022.\n\rpre" + "dict_state\030\002 \001(\0132\027.protos.RpcPredictStat" + "e\022\022\n\nevaluation\030\003 \001(\001\"\357\001\n\030BestPlannerAct" + "ionRequest\0223\n\021register_response\030\001 \001(\0132\030." + "protos.RegisterResponse\022:\n\005pairs\030\002 \003(\0132+" + ".protos.BestPlannerActionRequest.PairsEn" + "try\022\034\n\005state\030\003 \001(\0132\r.protos.State\032D\n\nPai" + "rsEntry\022\013\n\003key\030\001 \001(\005\022%\n\005value\030\002 \001(\0132\026.pr" + "otos.RpcActionState:\0028\001\"*\n\031BestPlannerAc" + "tionResponse\022\r\n\005index\030\001 \001(\005\"\007\n\005Empty*-\n\t" + "ViewWidth\022\n\n\006NARROW\020\000\022\n\n\006NORMAL\020\001\022\010\n\004WID" + "E\020\002*(\n\004Side\022\013\n\007UNKNOWN\020\000\022\010\n\004LEFT\020\001\022\t\n\005RI" + "GHT\020\002*\262\002\n\013LoggerLevel\022\r\n\tNoneLevel\020\000\022\n\n\006" + "SYSTEM\020\001\022\n\n\006SENSOR\020\002\022\t\n\005WORLD\020\004\022\n\n\006ACTIO" + "N\020\010\022\r\n\tINTERCEPT\020\020\022\010\n\004KICK\020 \022\010\n\004HOLD\020@\022\014" + "\n\007DRIBBLE\020\200\001\022\t\n\004PASS\020\200\002\022\n\n\005CROSS\020\200\004\022\n\n\005S" + "HOOT\020\200\010\022\n\n\005CLEAR\020\200\020\022\n\n\005BLOCK\020\200 \022\t\n\004MARK\020" + "\200@\022\021\n\013POSITIONING\020\200\200\001\022\n\n\004ROLE\020\200\200\002\022\n\n\004TEA" + "M\020\200\200\004\022\023\n\rCOMMUNICATION\020\200\200\010\022\016\n\010ANALYZER\020\200" + "\200\020\022\022\n\014ACTION_CHAIN\020\200\200 \022\n\n\004PLAN\020\200\200@*v\n\023In" + "terceptActionType\022!\n\035UNKNOWN_Intercept_A" + "ction_Type\020\000\022\r\n\tOMNI_DASH\020\001\022\025\n\021TURN_FORW" + "ARD_DASH\020\002\022\026\n\022TURN_BACKWARD_DASH\020\003*\273\004\n\014G" + "ameModeType\022\021\n\rBeforeKickOff\020\000\022\014\n\010TimeOv" + "er\020\001\022\n\n\006PlayOn\020\002\022\014\n\010KickOff_\020\003\022\013\n\007KickIn" + "_\020\004\022\r\n\tFreeKick_\020\005\022\017\n\013CornerKick_\020\006\022\r\n\tG" + "oalKick_\020\007\022\016\n\nAfterGoal_\020\010\022\014\n\010OffSide_\020\t" + "\022\020\n\014PenaltyKick_\020\n\022\021\n\rFirstHalfOver\020\013\022\t\n" + "\005Pause\020\014\022\t\n\005Human\020\r\022\017\n\013FoulCharge_\020\016\022\r\n\t" + "FoulPush_\020\017\022\031\n\025FoulMultipleAttacker_\020\020\022\020" + "\n\014FoulBallOut_\020\021\022\r\n\tBackPass_\020\022\022\022\n\016FreeK" + "ickFault_\020\023\022\017\n\013CatchFault_\020\024\022\020\n\014IndFreeK" + "ick_\020\025\022\021\n\rPenaltySetup_\020\026\022\021\n\rPenaltyRead" + "y_\020\027\022\021\n\rPenaltyTaken_\020\030\022\020\n\014PenaltyMiss_\020" + "\031\022\021\n\rPenaltyScore_\020\032\022\023\n\017IllegalDefense_\020" + "\033\022\023\n\017PenaltyOnfield_\020\034\022\020\n\014PenaltyFoul_\020\035" + "\022\020\n\014GoalieCatch_\020\036\022\016\n\nExtendHalf\020\037\022\014\n\010MO" + "DE_MAX\020 *2\n\tAgentType\022\013\n\007PlayerT\020\000\022\n\n\006Co" + "achT\020\001\022\014\n\010TrainerT\020\002*w\n\021RpcActionCategor" + "y\022\013\n\007AC_Hold\020\000\022\016\n\nAC_Dribble\020\001\022\013\n\007AC_Pas" + "s\020\002\022\014\n\010AC_Shoot\020\003\022\014\n\010AC_Clear\020\004\022\013\n\007AC_Mo" + "ve\020\005\022\017\n\013AC_NoAction\020\0062\373\004\n\004Game\022:\n\020GetPla" + "yerActions\022\r.protos.State\032\025.protos.Playe" + "rActions\"\000\0228\n\017GetCoachActions\022\r.protos.S" + "tate\032\024.protos.CoachActions\"\000\022<\n\021GetTrain" + "erActions\022\r.protos.State\032\026.protos.Traine" + "rActions\"\000\0227\n\017SendInitMessage\022\023.protos.I" + "nitMessage\032\r.protos.Empty\"\000\0228\n\020SendServe" + "rParams\022\023.protos.ServerParam\032\r.protos.Em" + "pty\"\000\0228\n\020SendPlayerParams\022\023.protos.Playe" + "rParam\032\r.protos.Empty\"\000\0225\n\016SendPlayerTyp" + "e\022\022.protos.PlayerType\032\r.protos.Empty\"\000\022\?" + "\n\010Register\022\027.protos.RegisterRequest\032\030.pr" + "otos.RegisterResponse\"\000\022;\n\016SendByeComman" + "d\022\030.protos.RegisterResponse\032\r.protos.Emp" + "ty\"\000\022]\n\024GetBestPlannerAction\022 .protos.Be" + "stPlannerActionRequest\032!.protos.BestPlan" + "nerActionResponse\"\000b\006proto3" }; static ::absl::once_flag descriptor_table_service_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_service_2eproto = { false, false, - 28372, + 28387, descriptor_table_protodef_service_2eproto, "service.proto", &descriptor_table_service_2eproto_once, @@ -33810,23 +33810,23 @@ ::PROTOBUF_NAMESPACE_ID::Metadata HeliosShoot::GetMetadata() const { } // =================================================================== -class HeliosChainAction::_Internal { +class HeliosOffensivePlanner::_Internal { public: }; -HeliosChainAction::HeliosChainAction(::PROTOBUF_NAMESPACE_ID::Arena* arena) +HeliosOffensivePlanner::HeliosOffensivePlanner(::PROTOBUF_NAMESPACE_ID::Arena* arena) : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:protos.HeliosChainAction) + // @@protoc_insertion_point(arena_constructor:protos.HeliosOffensivePlanner) } -HeliosChainAction::HeliosChainAction(const HeliosChainAction& from) +HeliosOffensivePlanner::HeliosOffensivePlanner(const HeliosOffensivePlanner& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:protos.HeliosChainAction) + // @@protoc_insertion_point(copy_constructor:protos.HeliosOffensivePlanner) } -inline void HeliosChainAction::SharedCtor(::_pb::Arena* arena) { +inline void HeliosOffensivePlanner::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.direct_pass_) { false } @@ -33853,8 +33853,8 @@ inline void HeliosChainAction::SharedCtor(::_pb::Arena* arena) { }; } -HeliosChainAction::~HeliosChainAction() { - // @@protoc_insertion_point(destructor:protos.HeliosChainAction) +HeliosOffensivePlanner::~HeliosOffensivePlanner() { + // @@protoc_insertion_point(destructor:protos.HeliosOffensivePlanner) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -33862,16 +33862,16 @@ HeliosChainAction::~HeliosChainAction() { SharedDtor(); } -inline void HeliosChainAction::SharedDtor() { +inline void HeliosOffensivePlanner::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); } -void HeliosChainAction::SetCachedSize(int size) const { +void HeliosOffensivePlanner::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void HeliosChainAction::Clear() { -// @@protoc_insertion_point(message_clear_start:protos.HeliosChainAction) +void HeliosOffensivePlanner::Clear() { +// @@protoc_insertion_point(message_clear_start:protos.HeliosOffensivePlanner) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -33882,7 +33882,7 @@ void HeliosChainAction::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* HeliosChainAction::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* HeliosOffensivePlanner::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { ::uint32_t tag; @@ -34001,9 +34001,9 @@ const char* HeliosChainAction::_InternalParse(const char* ptr, ::_pbi::ParseCont #undef CHK_ } -::uint8_t* HeliosChainAction::_InternalSerialize( +::uint8_t* HeliosOffensivePlanner::_InternalSerialize( ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:protos.HeliosChainAction) + // @@protoc_insertion_point(serialize_to_array_start:protos.HeliosOffensivePlanner) ::uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -34081,12 +34081,12 @@ ::uint8_t* HeliosChainAction::_InternalSerialize( target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:protos.HeliosChainAction) + // @@protoc_insertion_point(serialize_to_array_end:protos.HeliosOffensivePlanner) return target; } -::size_t HeliosChainAction::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:protos.HeliosChainAction) +::size_t HeliosOffensivePlanner::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:protos.HeliosOffensivePlanner) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; @@ -34146,17 +34146,17 @@ ::size_t HeliosChainAction::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData HeliosChainAction::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData HeliosOffensivePlanner::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - HeliosChainAction::MergeImpl + HeliosOffensivePlanner::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*HeliosChainAction::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*HeliosOffensivePlanner::GetClassData() const { return &_class_data_; } -void HeliosChainAction::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:protos.HeliosChainAction) +void HeliosOffensivePlanner::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:protos.HeliosOffensivePlanner) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -34194,29 +34194,29 @@ void HeliosChainAction::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, cons _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void HeliosChainAction::CopyFrom(const HeliosChainAction& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:protos.HeliosChainAction) +void HeliosOffensivePlanner::CopyFrom(const HeliosOffensivePlanner& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:protos.HeliosOffensivePlanner) if (&from == this) return; Clear(); MergeFrom(from); } -bool HeliosChainAction::IsInitialized() const { +bool HeliosOffensivePlanner::IsInitialized() const { return true; } -void HeliosChainAction::InternalSwap(HeliosChainAction* other) { +void HeliosOffensivePlanner::InternalSwap(HeliosOffensivePlanner* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(HeliosChainAction, _impl_.server_side_decision_) - + sizeof(HeliosChainAction::_impl_.server_side_decision_) - - PROTOBUF_FIELD_OFFSET(HeliosChainAction, _impl_.direct_pass_)>( + PROTOBUF_FIELD_OFFSET(HeliosOffensivePlanner, _impl_.server_side_decision_) + + sizeof(HeliosOffensivePlanner::_impl_.server_side_decision_) + - PROTOBUF_FIELD_OFFSET(HeliosOffensivePlanner, _impl_.direct_pass_)>( reinterpret_cast(&_impl_.direct_pass_), reinterpret_cast(&other->_impl_.direct_pass_)); } -::PROTOBUF_NAMESPACE_ID::Metadata HeliosChainAction::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata HeliosOffensivePlanner::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_service_2eproto_getter, &descriptor_table_service_2eproto_once, file_level_metadata_service_2eproto[103]); @@ -34475,7 +34475,7 @@ class PlayerAction::_Internal { static const ::protos::HeliosGoalieMove& helios_goalie_move(const PlayerAction* msg); static const ::protos::HeliosGoalieKick& helios_goalie_kick(const PlayerAction* msg); static const ::protos::HeliosShoot& helios_shoot(const PlayerAction* msg); - static const ::protos::HeliosChainAction& helios_chain_action(const PlayerAction* msg); + static const ::protos::HeliosOffensivePlanner& helios_offensive_planner(const PlayerAction* msg); static const ::protos::HeliosBasicOffensive& helios_basic_offensive(const PlayerAction* msg); static const ::protos::HeliosBasicMove& helios_basic_move(const PlayerAction* msg); static const ::protos::HeliosSetPlay& helios_set_play(const PlayerAction* msg); @@ -34715,9 +34715,9 @@ const ::protos::HeliosShoot& PlayerAction::_Internal::helios_shoot(const PlayerAction* msg) { return *msg->_impl_.action_.helios_shoot_; } -const ::protos::HeliosChainAction& -PlayerAction::_Internal::helios_chain_action(const PlayerAction* msg) { - return *msg->_impl_.action_.helios_chain_action_; +const ::protos::HeliosOffensivePlanner& +PlayerAction::_Internal::helios_offensive_planner(const PlayerAction* msg) { + return *msg->_impl_.action_.helios_offensive_planner_; } const ::protos::HeliosBasicOffensive& PlayerAction::_Internal::helios_basic_offensive(const PlayerAction* msg) { @@ -35609,20 +35609,20 @@ void PlayerAction::set_allocated_helios_shoot(::protos::HeliosShoot* helios_shoo } // @@protoc_insertion_point(field_set_allocated:protos.PlayerAction.helios_shoot) } -void PlayerAction::set_allocated_helios_chain_action(::protos::HeliosChainAction* helios_chain_action) { +void PlayerAction::set_allocated_helios_offensive_planner(::protos::HeliosOffensivePlanner* helios_offensive_planner) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); clear_action(); - if (helios_chain_action) { + if (helios_offensive_planner) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(helios_chain_action); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(helios_offensive_planner); if (message_arena != submessage_arena) { - helios_chain_action = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, helios_chain_action, submessage_arena); + helios_offensive_planner = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, helios_offensive_planner, submessage_arena); } - set_has_helios_chain_action(); - _impl_.action_.helios_chain_action_ = helios_chain_action; + set_has_helios_offensive_planner(); + _impl_.action_.helios_offensive_planner_ = helios_offensive_planner; } - // @@protoc_insertion_point(field_set_allocated:protos.PlayerAction.helios_chain_action) + // @@protoc_insertion_point(field_set_allocated:protos.PlayerAction.helios_offensive_planner) } void PlayerAction::set_allocated_helios_basic_offensive(::protos::HeliosBasicOffensive* helios_basic_offensive) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); @@ -36005,9 +36005,9 @@ PlayerAction::PlayerAction(const PlayerAction& from) from._internal_helios_shoot()); break; } - case kHeliosChainAction: { - _this->_internal_mutable_helios_chain_action()->::protos::HeliosChainAction::MergeFrom( - from._internal_helios_chain_action()); + case kHeliosOffensivePlanner: { + _this->_internal_mutable_helios_offensive_planner()->::protos::HeliosOffensivePlanner::MergeFrom( + from._internal_helios_offensive_planner()); break; } case kHeliosBasicOffensive: { @@ -36423,9 +36423,9 @@ void PlayerAction::clear_action() { } break; } - case kHeliosChainAction: { + case kHeliosOffensivePlanner: { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.helios_chain_action_; + delete _impl_.action_.helios_offensive_planner_; } break; } @@ -37005,10 +37005,10 @@ const char* PlayerAction::_InternalParse(const char* ptr, ::_pbi::ParseContext* goto handle_unusual; } continue; - // .protos.HeliosChainAction helios_chain_action = 59; + // .protos.HeliosOffensivePlanner helios_offensive_planner = 59; case 59: if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 218)) { - ptr = ctx->ParseMessage(_internal_mutable_helios_chain_action(), ptr); + ptr = ctx->ParseMessage(_internal_mutable_helios_offensive_planner(), ptr); CHK_(ptr); } else { goto handle_unusual; @@ -37437,10 +37437,10 @@ ::uint8_t* PlayerAction::_InternalSerialize( _Internal::helios_shoot(this).GetCachedSize(), target, stream); break; } - case kHeliosChainAction: { + case kHeliosOffensivePlanner: { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(59, _Internal::helios_chain_action(this), - _Internal::helios_chain_action(this).GetCachedSize(), target, stream); + InternalWriteMessage(59, _Internal::helios_offensive_planner(this), + _Internal::helios_offensive_planner(this).GetCachedSize(), target, stream); break; } case kHeliosBasicOffensive: { @@ -37898,11 +37898,11 @@ ::size_t PlayerAction::ByteSizeLong() const { *_impl_.action_.helios_shoot_); break; } - // .protos.HeliosChainAction helios_chain_action = 59; - case kHeliosChainAction: { + // .protos.HeliosOffensivePlanner helios_offensive_planner = 59; + case kHeliosOffensivePlanner: { total_size += 2 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.action_.helios_chain_action_); + *_impl_.action_.helios_offensive_planner_); break; } // .protos.HeliosBasicOffensive helios_basic_offensive = 60; @@ -38253,9 +38253,9 @@ void PlayerAction::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::P from._internal_helios_shoot()); break; } - case kHeliosChainAction: { - _this->_internal_mutable_helios_chain_action()->::protos::HeliosChainAction::MergeFrom( - from._internal_helios_chain_action()); + case kHeliosOffensivePlanner: { + _this->_internal_mutable_helios_offensive_planner()->::protos::HeliosOffensivePlanner::MergeFrom( + from._internal_helios_offensive_planner()); break; } case kHeliosBasicOffensive: { @@ -54438,9 +54438,9 @@ template<> PROTOBUF_NOINLINE ::protos::HeliosShoot* Arena::CreateMaybeMessage< ::protos::HeliosShoot >(Arena* arena) { return Arena::CreateMessageInternal< ::protos::HeliosShoot >(arena); } -template<> PROTOBUF_NOINLINE ::protos::HeliosChainAction* -Arena::CreateMaybeMessage< ::protos::HeliosChainAction >(Arena* arena) { - return Arena::CreateMessageInternal< ::protos::HeliosChainAction >(arena); +template<> PROTOBUF_NOINLINE ::protos::HeliosOffensivePlanner* +Arena::CreateMaybeMessage< ::protos::HeliosOffensivePlanner >(Arena* arena) { + return Arena::CreateMessageInternal< ::protos::HeliosOffensivePlanner >(arena); } template<> PROTOBUF_NOINLINE ::protos::HeliosBasicOffensive* Arena::CreateMaybeMessage< ::protos::HeliosBasicOffensive >(Arena* arena) { diff --git a/src/grpc-generated/service.pb.h b/src/grpc-generated/service.pb.h index 1d8e283..a76e976 100644 --- a/src/grpc-generated/service.pb.h +++ b/src/grpc-generated/service.pb.h @@ -251,9 +251,6 @@ extern HeliosBasicMoveDefaultTypeInternal _HeliosBasicMove_default_instance_; class HeliosBasicOffensive; struct HeliosBasicOffensiveDefaultTypeInternal; extern HeliosBasicOffensiveDefaultTypeInternal _HeliosBasicOffensive_default_instance_; -class HeliosChainAction; -struct HeliosChainActionDefaultTypeInternal; -extern HeliosChainActionDefaultTypeInternal _HeliosChainAction_default_instance_; class HeliosCommunicaion; struct HeliosCommunicaionDefaultTypeInternal; extern HeliosCommunicaionDefaultTypeInternal _HeliosCommunicaion_default_instance_; @@ -266,6 +263,9 @@ extern HeliosGoalieKickDefaultTypeInternal _HeliosGoalieKick_default_instance_; class HeliosGoalieMove; struct HeliosGoalieMoveDefaultTypeInternal; extern HeliosGoalieMoveDefaultTypeInternal _HeliosGoalieMove_default_instance_; +class HeliosOffensivePlanner; +struct HeliosOffensivePlannerDefaultTypeInternal; +extern HeliosOffensivePlannerDefaultTypeInternal _HeliosOffensivePlanner_default_instance_; class HeliosPenalty; struct HeliosPenaltyDefaultTypeInternal; extern HeliosPenaltyDefaultTypeInternal _HeliosPenalty_default_instance_; @@ -591,8 +591,6 @@ ::protos::HeliosBasicMove* Arena::CreateMaybeMessage<::protos::HeliosBasicMove>( template <> ::protos::HeliosBasicOffensive* Arena::CreateMaybeMessage<::protos::HeliosBasicOffensive>(Arena*); template <> -::protos::HeliosChainAction* Arena::CreateMaybeMessage<::protos::HeliosChainAction>(Arena*); -template <> ::protos::HeliosCommunicaion* Arena::CreateMaybeMessage<::protos::HeliosCommunicaion>(Arena*); template <> ::protos::HeliosGoalie* Arena::CreateMaybeMessage<::protos::HeliosGoalie>(Arena*); @@ -601,6 +599,8 @@ ::protos::HeliosGoalieKick* Arena::CreateMaybeMessage<::protos::HeliosGoalieKick template <> ::protos::HeliosGoalieMove* Arena::CreateMaybeMessage<::protos::HeliosGoalieMove>(Arena*); template <> +::protos::HeliosOffensivePlanner* Arena::CreateMaybeMessage<::protos::HeliosOffensivePlanner>(Arena*); +template <> ::protos::HeliosPenalty* Arena::CreateMaybeMessage<::protos::HeliosPenalty>(Arena*); template <> ::protos::HeliosSetPlay* Arena::CreateMaybeMessage<::protos::HeliosSetPlay>(Arena*); @@ -20069,25 +20069,25 @@ class HeliosShoot final : friend struct ::TableStruct_service_2eproto; };// ------------------------------------------------------------------- -class HeliosChainAction final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protos.HeliosChainAction) */ { +class HeliosOffensivePlanner final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protos.HeliosOffensivePlanner) */ { public: - inline HeliosChainAction() : HeliosChainAction(nullptr) {} - ~HeliosChainAction() override; + inline HeliosOffensivePlanner() : HeliosOffensivePlanner(nullptr) {} + ~HeliosOffensivePlanner() override; template - explicit PROTOBUF_CONSTEXPR HeliosChainAction(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR HeliosOffensivePlanner(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - HeliosChainAction(const HeliosChainAction& from); - HeliosChainAction(HeliosChainAction&& from) noexcept - : HeliosChainAction() { + HeliosOffensivePlanner(const HeliosOffensivePlanner& from); + HeliosOffensivePlanner(HeliosOffensivePlanner&& from) noexcept + : HeliosOffensivePlanner() { *this = ::std::move(from); } - inline HeliosChainAction& operator=(const HeliosChainAction& from) { + inline HeliosOffensivePlanner& operator=(const HeliosOffensivePlanner& from) { CopyFrom(from); return *this; } - inline HeliosChainAction& operator=(HeliosChainAction&& from) noexcept { + inline HeliosOffensivePlanner& operator=(HeliosOffensivePlanner&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -20117,20 +20117,20 @@ class HeliosChainAction final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const HeliosChainAction& default_instance() { + static const HeliosOffensivePlanner& default_instance() { return *internal_default_instance(); } - static inline const HeliosChainAction* internal_default_instance() { - return reinterpret_cast( - &_HeliosChainAction_default_instance_); + static inline const HeliosOffensivePlanner* internal_default_instance() { + return reinterpret_cast( + &_HeliosOffensivePlanner_default_instance_); } static constexpr int kIndexInFileMessages = 103; - friend void swap(HeliosChainAction& a, HeliosChainAction& b) { + friend void swap(HeliosOffensivePlanner& a, HeliosOffensivePlanner& b) { a.Swap(&b); } - inline void Swap(HeliosChainAction* other) { + inline void Swap(HeliosOffensivePlanner* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -20143,7 +20143,7 @@ class HeliosChainAction final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(HeliosChainAction* other) { + void UnsafeArenaSwap(HeliosOffensivePlanner* other) { if (other == this) return; ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -20151,14 +20151,14 @@ class HeliosChainAction final : // implements Message ---------------------------------------------- - HeliosChainAction* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + HeliosOffensivePlanner* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const HeliosChainAction& from); + void CopyFrom(const HeliosOffensivePlanner& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const HeliosChainAction& from) { - HeliosChainAction::MergeImpl(*this, from); + void MergeFrom( const HeliosOffensivePlanner& from) { + HeliosOffensivePlanner::MergeImpl(*this, from); } private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); @@ -20176,15 +20176,15 @@ class HeliosChainAction final : void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(HeliosChainAction* other); + void InternalSwap(HeliosOffensivePlanner* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::absl::string_view FullMessageName() { - return "protos.HeliosChainAction"; + return "protos.HeliosOffensivePlanner"; } protected: - explicit HeliosChainAction(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit HeliosOffensivePlanner(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -20308,7 +20308,7 @@ class HeliosChainAction final : void _internal_set_server_side_decision(bool value); public: - // @@protoc_insertion_point(class_scope:protos.HeliosChainAction) + // @@protoc_insertion_point(class_scope:protos.HeliosOffensivePlanner) private: class _Internal; @@ -21062,7 +21062,7 @@ class PlayerAction final : kHeliosGoalieMove = 56, kHeliosGoalieKick = 57, kHeliosShoot = 58, - kHeliosChainAction = 59, + kHeliosOffensivePlanner = 59, kHeliosBasicOffensive = 60, kHeliosBasicMove = 61, kHeliosSetPlay = 62, @@ -21206,7 +21206,7 @@ class PlayerAction final : kHeliosGoalieMoveFieldNumber = 56, kHeliosGoalieKickFieldNumber = 57, kHeliosShootFieldNumber = 58, - kHeliosChainActionFieldNumber = 59, + kHeliosOffensivePlannerFieldNumber = 59, kHeliosBasicOffensiveFieldNumber = 60, kHeliosBasicMoveFieldNumber = 61, kHeliosSetPlayFieldNumber = 62, @@ -22257,24 +22257,24 @@ class PlayerAction final : void unsafe_arena_set_allocated_helios_shoot( ::protos::HeliosShoot* helios_shoot); ::protos::HeliosShoot* unsafe_arena_release_helios_shoot(); - // .protos.HeliosChainAction helios_chain_action = 59; - bool has_helios_chain_action() const; + // .protos.HeliosOffensivePlanner helios_offensive_planner = 59; + bool has_helios_offensive_planner() const; private: - bool _internal_has_helios_chain_action() const; + bool _internal_has_helios_offensive_planner() const; public: - void clear_helios_chain_action() ; - const ::protos::HeliosChainAction& helios_chain_action() const; - PROTOBUF_NODISCARD ::protos::HeliosChainAction* release_helios_chain_action(); - ::protos::HeliosChainAction* mutable_helios_chain_action(); - void set_allocated_helios_chain_action(::protos::HeliosChainAction* helios_chain_action); + void clear_helios_offensive_planner() ; + const ::protos::HeliosOffensivePlanner& helios_offensive_planner() const; + PROTOBUF_NODISCARD ::protos::HeliosOffensivePlanner* release_helios_offensive_planner(); + ::protos::HeliosOffensivePlanner* mutable_helios_offensive_planner(); + void set_allocated_helios_offensive_planner(::protos::HeliosOffensivePlanner* helios_offensive_planner); private: - const ::protos::HeliosChainAction& _internal_helios_chain_action() const; - ::protos::HeliosChainAction* _internal_mutable_helios_chain_action(); + const ::protos::HeliosOffensivePlanner& _internal_helios_offensive_planner() const; + ::protos::HeliosOffensivePlanner* _internal_mutable_helios_offensive_planner(); public: - void unsafe_arena_set_allocated_helios_chain_action( - ::protos::HeliosChainAction* helios_chain_action); - ::protos::HeliosChainAction* unsafe_arena_release_helios_chain_action(); + void unsafe_arena_set_allocated_helios_offensive_planner( + ::protos::HeliosOffensivePlanner* helios_offensive_planner); + ::protos::HeliosOffensivePlanner* unsafe_arena_release_helios_offensive_planner(); // .protos.HeliosBasicOffensive helios_basic_offensive = 60; bool has_helios_basic_offensive() const; private: @@ -22428,7 +22428,7 @@ class PlayerAction final : void set_has_helios_goalie_move(); void set_has_helios_goalie_kick(); void set_has_helios_shoot(); - void set_has_helios_chain_action(); + void set_has_helios_offensive_planner(); void set_has_helios_basic_offensive(); void set_has_helios_basic_move(); void set_has_helios_set_play(); @@ -22503,7 +22503,7 @@ class PlayerAction final : ::protos::HeliosGoalieMove* helios_goalie_move_; ::protos::HeliosGoalieKick* helios_goalie_kick_; ::protos::HeliosShoot* helios_shoot_; - ::protos::HeliosChainAction* helios_chain_action_; + ::protos::HeliosOffensivePlanner* helios_offensive_planner_; ::protos::HeliosBasicOffensive* helios_basic_offensive_; ::protos::HeliosBasicMove* helios_basic_move_; ::protos::HeliosSetPlay* helios_set_play_; @@ -44939,204 +44939,204 @@ inline void View_ChangeWidth::_internal_set_view_width(::protos::ViewWidth value // ------------------------------------------------------------------- -// HeliosChainAction +// HeliosOffensivePlanner // bool direct_pass = 1; -inline void HeliosChainAction::clear_direct_pass() { +inline void HeliosOffensivePlanner::clear_direct_pass() { _impl_.direct_pass_ = false; } -inline bool HeliosChainAction::direct_pass() const { - // @@protoc_insertion_point(field_get:protos.HeliosChainAction.direct_pass) +inline bool HeliosOffensivePlanner::direct_pass() const { + // @@protoc_insertion_point(field_get:protos.HeliosOffensivePlanner.direct_pass) return _internal_direct_pass(); } -inline void HeliosChainAction::set_direct_pass(bool value) { +inline void HeliosOffensivePlanner::set_direct_pass(bool value) { _internal_set_direct_pass(value); - // @@protoc_insertion_point(field_set:protos.HeliosChainAction.direct_pass) + // @@protoc_insertion_point(field_set:protos.HeliosOffensivePlanner.direct_pass) } -inline bool HeliosChainAction::_internal_direct_pass() const { +inline bool HeliosOffensivePlanner::_internal_direct_pass() const { return _impl_.direct_pass_; } -inline void HeliosChainAction::_internal_set_direct_pass(bool value) { +inline void HeliosOffensivePlanner::_internal_set_direct_pass(bool value) { ; _impl_.direct_pass_ = value; } // bool lead_pass = 2; -inline void HeliosChainAction::clear_lead_pass() { +inline void HeliosOffensivePlanner::clear_lead_pass() { _impl_.lead_pass_ = false; } -inline bool HeliosChainAction::lead_pass() const { - // @@protoc_insertion_point(field_get:protos.HeliosChainAction.lead_pass) +inline bool HeliosOffensivePlanner::lead_pass() const { + // @@protoc_insertion_point(field_get:protos.HeliosOffensivePlanner.lead_pass) return _internal_lead_pass(); } -inline void HeliosChainAction::set_lead_pass(bool value) { +inline void HeliosOffensivePlanner::set_lead_pass(bool value) { _internal_set_lead_pass(value); - // @@protoc_insertion_point(field_set:protos.HeliosChainAction.lead_pass) + // @@protoc_insertion_point(field_set:protos.HeliosOffensivePlanner.lead_pass) } -inline bool HeliosChainAction::_internal_lead_pass() const { +inline bool HeliosOffensivePlanner::_internal_lead_pass() const { return _impl_.lead_pass_; } -inline void HeliosChainAction::_internal_set_lead_pass(bool value) { +inline void HeliosOffensivePlanner::_internal_set_lead_pass(bool value) { ; _impl_.lead_pass_ = value; } // bool through_pass = 3; -inline void HeliosChainAction::clear_through_pass() { +inline void HeliosOffensivePlanner::clear_through_pass() { _impl_.through_pass_ = false; } -inline bool HeliosChainAction::through_pass() const { - // @@protoc_insertion_point(field_get:protos.HeliosChainAction.through_pass) +inline bool HeliosOffensivePlanner::through_pass() const { + // @@protoc_insertion_point(field_get:protos.HeliosOffensivePlanner.through_pass) return _internal_through_pass(); } -inline void HeliosChainAction::set_through_pass(bool value) { +inline void HeliosOffensivePlanner::set_through_pass(bool value) { _internal_set_through_pass(value); - // @@protoc_insertion_point(field_set:protos.HeliosChainAction.through_pass) + // @@protoc_insertion_point(field_set:protos.HeliosOffensivePlanner.through_pass) } -inline bool HeliosChainAction::_internal_through_pass() const { +inline bool HeliosOffensivePlanner::_internal_through_pass() const { return _impl_.through_pass_; } -inline void HeliosChainAction::_internal_set_through_pass(bool value) { +inline void HeliosOffensivePlanner::_internal_set_through_pass(bool value) { ; _impl_.through_pass_ = value; } // bool short_dribble = 4; -inline void HeliosChainAction::clear_short_dribble() { +inline void HeliosOffensivePlanner::clear_short_dribble() { _impl_.short_dribble_ = false; } -inline bool HeliosChainAction::short_dribble() const { - // @@protoc_insertion_point(field_get:protos.HeliosChainAction.short_dribble) +inline bool HeliosOffensivePlanner::short_dribble() const { + // @@protoc_insertion_point(field_get:protos.HeliosOffensivePlanner.short_dribble) return _internal_short_dribble(); } -inline void HeliosChainAction::set_short_dribble(bool value) { +inline void HeliosOffensivePlanner::set_short_dribble(bool value) { _internal_set_short_dribble(value); - // @@protoc_insertion_point(field_set:protos.HeliosChainAction.short_dribble) + // @@protoc_insertion_point(field_set:protos.HeliosOffensivePlanner.short_dribble) } -inline bool HeliosChainAction::_internal_short_dribble() const { +inline bool HeliosOffensivePlanner::_internal_short_dribble() const { return _impl_.short_dribble_; } -inline void HeliosChainAction::_internal_set_short_dribble(bool value) { +inline void HeliosOffensivePlanner::_internal_set_short_dribble(bool value) { ; _impl_.short_dribble_ = value; } // bool long_dribble = 5; -inline void HeliosChainAction::clear_long_dribble() { +inline void HeliosOffensivePlanner::clear_long_dribble() { _impl_.long_dribble_ = false; } -inline bool HeliosChainAction::long_dribble() const { - // @@protoc_insertion_point(field_get:protos.HeliosChainAction.long_dribble) +inline bool HeliosOffensivePlanner::long_dribble() const { + // @@protoc_insertion_point(field_get:protos.HeliosOffensivePlanner.long_dribble) return _internal_long_dribble(); } -inline void HeliosChainAction::set_long_dribble(bool value) { +inline void HeliosOffensivePlanner::set_long_dribble(bool value) { _internal_set_long_dribble(value); - // @@protoc_insertion_point(field_set:protos.HeliosChainAction.long_dribble) + // @@protoc_insertion_point(field_set:protos.HeliosOffensivePlanner.long_dribble) } -inline bool HeliosChainAction::_internal_long_dribble() const { +inline bool HeliosOffensivePlanner::_internal_long_dribble() const { return _impl_.long_dribble_; } -inline void HeliosChainAction::_internal_set_long_dribble(bool value) { +inline void HeliosOffensivePlanner::_internal_set_long_dribble(bool value) { ; _impl_.long_dribble_ = value; } // bool cross = 6; -inline void HeliosChainAction::clear_cross() { +inline void HeliosOffensivePlanner::clear_cross() { _impl_.cross_ = false; } -inline bool HeliosChainAction::cross() const { - // @@protoc_insertion_point(field_get:protos.HeliosChainAction.cross) +inline bool HeliosOffensivePlanner::cross() const { + // @@protoc_insertion_point(field_get:protos.HeliosOffensivePlanner.cross) return _internal_cross(); } -inline void HeliosChainAction::set_cross(bool value) { +inline void HeliosOffensivePlanner::set_cross(bool value) { _internal_set_cross(value); - // @@protoc_insertion_point(field_set:protos.HeliosChainAction.cross) + // @@protoc_insertion_point(field_set:protos.HeliosOffensivePlanner.cross) } -inline bool HeliosChainAction::_internal_cross() const { +inline bool HeliosOffensivePlanner::_internal_cross() const { return _impl_.cross_; } -inline void HeliosChainAction::_internal_set_cross(bool value) { +inline void HeliosOffensivePlanner::_internal_set_cross(bool value) { ; _impl_.cross_ = value; } // bool simple_pass = 7; -inline void HeliosChainAction::clear_simple_pass() { +inline void HeliosOffensivePlanner::clear_simple_pass() { _impl_.simple_pass_ = false; } -inline bool HeliosChainAction::simple_pass() const { - // @@protoc_insertion_point(field_get:protos.HeliosChainAction.simple_pass) +inline bool HeliosOffensivePlanner::simple_pass() const { + // @@protoc_insertion_point(field_get:protos.HeliosOffensivePlanner.simple_pass) return _internal_simple_pass(); } -inline void HeliosChainAction::set_simple_pass(bool value) { +inline void HeliosOffensivePlanner::set_simple_pass(bool value) { _internal_set_simple_pass(value); - // @@protoc_insertion_point(field_set:protos.HeliosChainAction.simple_pass) + // @@protoc_insertion_point(field_set:protos.HeliosOffensivePlanner.simple_pass) } -inline bool HeliosChainAction::_internal_simple_pass() const { +inline bool HeliosOffensivePlanner::_internal_simple_pass() const { return _impl_.simple_pass_; } -inline void HeliosChainAction::_internal_set_simple_pass(bool value) { +inline void HeliosOffensivePlanner::_internal_set_simple_pass(bool value) { ; _impl_.simple_pass_ = value; } // bool simple_dribble = 8; -inline void HeliosChainAction::clear_simple_dribble() { +inline void HeliosOffensivePlanner::clear_simple_dribble() { _impl_.simple_dribble_ = false; } -inline bool HeliosChainAction::simple_dribble() const { - // @@protoc_insertion_point(field_get:protos.HeliosChainAction.simple_dribble) +inline bool HeliosOffensivePlanner::simple_dribble() const { + // @@protoc_insertion_point(field_get:protos.HeliosOffensivePlanner.simple_dribble) return _internal_simple_dribble(); } -inline void HeliosChainAction::set_simple_dribble(bool value) { +inline void HeliosOffensivePlanner::set_simple_dribble(bool value) { _internal_set_simple_dribble(value); - // @@protoc_insertion_point(field_set:protos.HeliosChainAction.simple_dribble) + // @@protoc_insertion_point(field_set:protos.HeliosOffensivePlanner.simple_dribble) } -inline bool HeliosChainAction::_internal_simple_dribble() const { +inline bool HeliosOffensivePlanner::_internal_simple_dribble() const { return _impl_.simple_dribble_; } -inline void HeliosChainAction::_internal_set_simple_dribble(bool value) { +inline void HeliosOffensivePlanner::_internal_set_simple_dribble(bool value) { ; _impl_.simple_dribble_ = value; } // bool simple_shoot = 9; -inline void HeliosChainAction::clear_simple_shoot() { +inline void HeliosOffensivePlanner::clear_simple_shoot() { _impl_.simple_shoot_ = false; } -inline bool HeliosChainAction::simple_shoot() const { - // @@protoc_insertion_point(field_get:protos.HeliosChainAction.simple_shoot) +inline bool HeliosOffensivePlanner::simple_shoot() const { + // @@protoc_insertion_point(field_get:protos.HeliosOffensivePlanner.simple_shoot) return _internal_simple_shoot(); } -inline void HeliosChainAction::set_simple_shoot(bool value) { +inline void HeliosOffensivePlanner::set_simple_shoot(bool value) { _internal_set_simple_shoot(value); - // @@protoc_insertion_point(field_set:protos.HeliosChainAction.simple_shoot) + // @@protoc_insertion_point(field_set:protos.HeliosOffensivePlanner.simple_shoot) } -inline bool HeliosChainAction::_internal_simple_shoot() const { +inline bool HeliosOffensivePlanner::_internal_simple_shoot() const { return _impl_.simple_shoot_; } -inline void HeliosChainAction::_internal_set_simple_shoot(bool value) { +inline void HeliosOffensivePlanner::_internal_set_simple_shoot(bool value) { ; _impl_.simple_shoot_ = value; } // bool server_side_decision = 10; -inline void HeliosChainAction::clear_server_side_decision() { +inline void HeliosOffensivePlanner::clear_server_side_decision() { _impl_.server_side_decision_ = false; } -inline bool HeliosChainAction::server_side_decision() const { - // @@protoc_insertion_point(field_get:protos.HeliosChainAction.server_side_decision) +inline bool HeliosOffensivePlanner::server_side_decision() const { + // @@protoc_insertion_point(field_get:protos.HeliosOffensivePlanner.server_side_decision) return _internal_server_side_decision(); } -inline void HeliosChainAction::set_server_side_decision(bool value) { +inline void HeliosOffensivePlanner::set_server_side_decision(bool value) { _internal_set_server_side_decision(value); - // @@protoc_insertion_point(field_set:protos.HeliosChainAction.server_side_decision) + // @@protoc_insertion_point(field_set:protos.HeliosOffensivePlanner.server_side_decision) } -inline bool HeliosChainAction::_internal_server_side_decision() const { +inline bool HeliosOffensivePlanner::_internal_server_side_decision() const { return _impl_.server_side_decision_; } -inline void HeliosChainAction::_internal_set_server_side_decision(bool value) { +inline void HeliosOffensivePlanner::_internal_set_server_side_decision(bool value) { ; _impl_.server_side_decision_ = value; } @@ -49457,77 +49457,77 @@ inline ::protos::HeliosShoot* PlayerAction::mutable_helios_shoot() { return _msg; } -// .protos.HeliosChainAction helios_chain_action = 59; -inline bool PlayerAction::has_helios_chain_action() const { - return action_case() == kHeliosChainAction; +// .protos.HeliosOffensivePlanner helios_offensive_planner = 59; +inline bool PlayerAction::has_helios_offensive_planner() const { + return action_case() == kHeliosOffensivePlanner; } -inline bool PlayerAction::_internal_has_helios_chain_action() const { - return action_case() == kHeliosChainAction; +inline bool PlayerAction::_internal_has_helios_offensive_planner() const { + return action_case() == kHeliosOffensivePlanner; } -inline void PlayerAction::set_has_helios_chain_action() { - _impl_._oneof_case_[0] = kHeliosChainAction; +inline void PlayerAction::set_has_helios_offensive_planner() { + _impl_._oneof_case_[0] = kHeliosOffensivePlanner; } -inline void PlayerAction::clear_helios_chain_action() { - if (action_case() == kHeliosChainAction) { +inline void PlayerAction::clear_helios_offensive_planner() { + if (action_case() == kHeliosOffensivePlanner) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.action_.helios_chain_action_; + delete _impl_.action_.helios_offensive_planner_; } clear_has_action(); } } -inline ::protos::HeliosChainAction* PlayerAction::release_helios_chain_action() { - // @@protoc_insertion_point(field_release:protos.PlayerAction.helios_chain_action) - if (action_case() == kHeliosChainAction) { +inline ::protos::HeliosOffensivePlanner* PlayerAction::release_helios_offensive_planner() { + // @@protoc_insertion_point(field_release:protos.PlayerAction.helios_offensive_planner) + if (action_case() == kHeliosOffensivePlanner) { clear_has_action(); - ::protos::HeliosChainAction* temp = _impl_.action_.helios_chain_action_; + ::protos::HeliosOffensivePlanner* temp = _impl_.action_.helios_offensive_planner_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.action_.helios_chain_action_ = nullptr; + _impl_.action_.helios_offensive_planner_ = nullptr; return temp; } else { return nullptr; } } -inline const ::protos::HeliosChainAction& PlayerAction::_internal_helios_chain_action() const { - return action_case() == kHeliosChainAction - ? *_impl_.action_.helios_chain_action_ - : reinterpret_cast<::protos::HeliosChainAction&>(::protos::_HeliosChainAction_default_instance_); +inline const ::protos::HeliosOffensivePlanner& PlayerAction::_internal_helios_offensive_planner() const { + return action_case() == kHeliosOffensivePlanner + ? *_impl_.action_.helios_offensive_planner_ + : reinterpret_cast<::protos::HeliosOffensivePlanner&>(::protos::_HeliosOffensivePlanner_default_instance_); } -inline const ::protos::HeliosChainAction& PlayerAction::helios_chain_action() const { - // @@protoc_insertion_point(field_get:protos.PlayerAction.helios_chain_action) - return _internal_helios_chain_action(); +inline const ::protos::HeliosOffensivePlanner& PlayerAction::helios_offensive_planner() const { + // @@protoc_insertion_point(field_get:protos.PlayerAction.helios_offensive_planner) + return _internal_helios_offensive_planner(); } -inline ::protos::HeliosChainAction* PlayerAction::unsafe_arena_release_helios_chain_action() { - // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.helios_chain_action) - if (action_case() == kHeliosChainAction) { +inline ::protos::HeliosOffensivePlanner* PlayerAction::unsafe_arena_release_helios_offensive_planner() { + // @@protoc_insertion_point(field_unsafe_arena_release:protos.PlayerAction.helios_offensive_planner) + if (action_case() == kHeliosOffensivePlanner) { clear_has_action(); - ::protos::HeliosChainAction* temp = _impl_.action_.helios_chain_action_; - _impl_.action_.helios_chain_action_ = nullptr; + ::protos::HeliosOffensivePlanner* temp = _impl_.action_.helios_offensive_planner_; + _impl_.action_.helios_offensive_planner_ = nullptr; return temp; } else { return nullptr; } } -inline void PlayerAction::unsafe_arena_set_allocated_helios_chain_action(::protos::HeliosChainAction* helios_chain_action) { +inline void PlayerAction::unsafe_arena_set_allocated_helios_offensive_planner(::protos::HeliosOffensivePlanner* helios_offensive_planner) { clear_action(); - if (helios_chain_action) { - set_has_helios_chain_action(); - _impl_.action_.helios_chain_action_ = helios_chain_action; + if (helios_offensive_planner) { + set_has_helios_offensive_planner(); + _impl_.action_.helios_offensive_planner_ = helios_offensive_planner; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.helios_chain_action) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.PlayerAction.helios_offensive_planner) } -inline ::protos::HeliosChainAction* PlayerAction::_internal_mutable_helios_chain_action() { - if (action_case() != kHeliosChainAction) { +inline ::protos::HeliosOffensivePlanner* PlayerAction::_internal_mutable_helios_offensive_planner() { + if (action_case() != kHeliosOffensivePlanner) { clear_action(); - set_has_helios_chain_action(); - _impl_.action_.helios_chain_action_ = CreateMaybeMessage< ::protos::HeliosChainAction >(GetArenaForAllocation()); + set_has_helios_offensive_planner(); + _impl_.action_.helios_offensive_planner_ = CreateMaybeMessage< ::protos::HeliosOffensivePlanner >(GetArenaForAllocation()); } - return _impl_.action_.helios_chain_action_; + return _impl_.action_.helios_offensive_planner_; } -inline ::protos::HeliosChainAction* PlayerAction::mutable_helios_chain_action() { - ::protos::HeliosChainAction* _msg = _internal_mutable_helios_chain_action(); - // @@protoc_insertion_point(field_mutable:protos.PlayerAction.helios_chain_action) +inline ::protos::HeliosOffensivePlanner* PlayerAction::mutable_helios_offensive_planner() { + ::protos::HeliosOffensivePlanner* _msg = _internal_mutable_helios_offensive_planner(); + // @@protoc_insertion_point(field_mutable:protos.PlayerAction.helios_offensive_planner) return _msg; } diff --git a/src/thrift-client/thrift_client_player.cpp b/src/thrift-client/thrift_client_player.cpp index 170010e..51e0ba2 100644 --- a/src/thrift-client/thrift_client_player.cpp +++ b/src/thrift-client/thrift_client_player.cpp @@ -133,7 +133,6 @@ void ThriftClientPlayer::getActions() } } std::cout<<"action size:"<doDash(action.dash.power, action.dash.relative_direction); - body_action_done++; } else if (action.__isset.kick) { agent->doKick(action.kick.power, action.kick.relative_direction); - body_action_done++; } else if (action.__isset.turn) { agent->doTurn(action.turn.relative_direction); - body_action_done++; } else if (action.__isset.tackle) { agent->doTackle(action.tackle.power_or_dir, action.tackle.foul); - body_action_done++; } else if (action.__isset.catch_action) { agent->doCatch(); - body_action_done++; } else if (action.__isset.move) { agent->doMove(action.move.x, action.move.y); - body_action_done++; } else if (action.__isset.turn_neck) { @@ -208,7 +201,6 @@ void ThriftClientPlayer::getActions() const auto &bodyGoToPoint = action.body_go_to_point; const auto &targetPoint = ThriftAgent::convertVector2D(bodyGoToPoint.target_point); Body_GoToPoint(targetPoint, bodyGoToPoint.distance_threshold, bodyGoToPoint.max_dash_power).execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_GoToPoint"); } else if (action.__isset.body_smart_kick) @@ -217,7 +209,6 @@ void ThriftClientPlayer::getActions() const auto &targetPoint = ThriftAgent::convertVector2D(bodySmartKick.target_point); Body_SmartKick(targetPoint, bodySmartKick.first_speed, bodySmartKick.first_speed_threshold, bodySmartKick.max_steps).execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_SmartKick"); } else if (action.__isset.bhv_before_kick_off) @@ -230,7 +221,6 @@ void ThriftClientPlayer::getActions() else if (action.__isset.bhv_body_neck_to_ball) { Bhv_BodyNeckToBall().execute(agent); - body_action_done++; agent->debugClient().addMessage("Bhv_BodyNeckToBall"); } else if (action.__isset.bhv_body_neck_to_point) @@ -238,7 +228,6 @@ void ThriftClientPlayer::getActions() const auto &bhvBodyNeckToPoint = action.bhv_body_neck_to_point; const auto &targetPoint = ThriftAgent::convertVector2D(bhvBodyNeckToPoint.point); Bhv_BodyNeckToPoint(targetPoint).execute(agent); - body_action_done++; agent->debugClient().addMessage("Bhv_BodyNeckToPoint"); } else if (action.__isset.bhv_emergency) @@ -251,7 +240,6 @@ void ThriftClientPlayer::getActions() const auto &bhvGoToPointLookBall = action.bhv_go_to_point_look_ball; const auto &targetPoint = ThriftAgent::convertVector2D(bhvGoToPointLookBall.target_point); Bhv_GoToPointLookBall(targetPoint, bhvGoToPointLookBall.distance_threshold, bhvGoToPointLookBall.max_dash_power).execute(agent); - body_action_done++; agent->debugClient().addMessage("Bhv_GoToPointLookBall"); } else if (action.__isset.bhv_neck_body_to_ball) @@ -275,13 +263,11 @@ void ThriftClientPlayer::getActions() else if (action.__isset.body_advance_ball) { Body_AdvanceBall().execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_AdvanceBall"); } else if (action.__isset.body_clear_ball) { Body_ClearBall().execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_ClearBall"); } else if (action.__isset.body_dribble) @@ -295,7 +281,6 @@ void ThriftClientPlayer::getActions() bodyDribble.dash_count, bodyDribble.dodge) .execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_Dribble"); } else if (action.__isset.body_go_to_point_dodge) @@ -306,7 +291,6 @@ void ThriftClientPlayer::getActions() targetPoint, bodyGoToPointDodge.dash_power) .execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_GoToPointDodge"); } else if (action.__isset.body_hold_ball) @@ -319,7 +303,6 @@ void ThriftClientPlayer::getActions() turnTargetPoint, kickTargetPoint) .execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_HoldBall"); } else if (action.__isset.body_intercept) @@ -330,7 +313,6 @@ void ThriftClientPlayer::getActions() bodyIntercept.save_recovery, facePoint) .execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_Intercept"); } else if (action.__isset.body_kick_one_step) @@ -342,13 +324,11 @@ void ThriftClientPlayer::getActions() bodyKickOneStep.first_speed, bodyKickOneStep.force_mode) .execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_KickOneStep"); } else if (action.__isset.body_stop_ball) { Body_StopBall().execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_StopBall"); } else if (action.__isset.body_stop_dash) @@ -357,7 +337,6 @@ void ThriftClientPlayer::getActions() Body_StopDash( bodyStopDash.save_recovery) .execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_StopDash"); } else if (action.__isset.body_tackle_to_point) @@ -369,7 +348,6 @@ void ThriftClientPlayer::getActions() bodyTackleToPoint.min_probability, bodyTackleToPoint.min_speed) .execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_TackleToPoint"); } else if (action.__isset.body_turn_to_angle) @@ -378,7 +356,6 @@ void ThriftClientPlayer::getActions() Body_TurnToAngle( bodyTurnToAngle.angle) .execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_TurnToAngle"); } else if (action.__isset.body_turn_to_ball) @@ -387,7 +364,6 @@ void ThriftClientPlayer::getActions() Body_TurnToBall( bodyTurnToBall.cycle) .execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_TurnToBall"); } else if (action.__isset.body_turn_to_point) @@ -398,7 +374,6 @@ void ThriftClientPlayer::getActions() targetPoint, bodyTurnToPoint.cycle) .execute(agent); - body_action_done++; agent->debugClient().addMessage("Body_TurnToPoint"); } else if (action.__isset.focus_move_to_point) @@ -586,27 +561,27 @@ void ThriftClientPlayer::getActions() agent->debugClient().addMessage("sample_communication - execute"); } - else if (action.__isset.helios_chain_action) + else if (action.__isset.helios_offensive_planner) { FieldEvaluator::ConstPtr field_evaluator = FieldEvaluator::ConstPtr(new SampleFieldEvaluator); CompositeActionGenerator *g = new CompositeActionGenerator(); - if (action.helios_chain_action.lead_pass - || action.helios_chain_action.direct_pass || action.helios_chain_action.through_pass) + if (action.helios_offensive_planner.lead_pass + || action.helios_offensive_planner.direct_pass || action.helios_offensive_planner.through_pass) g->addGenerator(new ActGen_MaxActionChainLengthFilter(new ActGen_StrictCheckPass(), 1)); - if (action.helios_chain_action.cross) + if (action.helios_offensive_planner.cross) g->addGenerator(new ActGen_MaxActionChainLengthFilter(new ActGen_Cross(), 1)); - if (action.helios_chain_action.simple_pass) + if (action.helios_offensive_planner.simple_pass) g->addGenerator(new ActGen_RangeActionChainLengthFilter(new ActGen_DirectPass(), 2, ActGen_RangeActionChainLengthFilter::MAX)); - if (action.helios_chain_action.short_dribble) + if (action.helios_offensive_planner.short_dribble) g->addGenerator(new ActGen_MaxActionChainLengthFilter(new ActGen_ShortDribble(), 1)); - if (action.helios_chain_action.long_dribble) + if (action.helios_offensive_planner.long_dribble) g->addGenerator(new ActGen_MaxActionChainLengthFilter(new ActGen_SelfPass(), 1)); - if (action.helios_chain_action.simple_dribble) + if (action.helios_offensive_planner.simple_dribble) g->addGenerator(new ActGen_RangeActionChainLengthFilter(new ActGen_SimpleDribble(), 2, ActGen_RangeActionChainLengthFilter::MAX)); - if (action.helios_chain_action.simple_shoot) + if (action.helios_offensive_planner.simple_shoot) g->addGenerator(new ActGen_RangeActionChainLengthFilter(new ActGen_Shoot(), 2, ActGen_RangeActionChainLengthFilter::MAX)); if (g->M_generators.empty()) @@ -620,7 +595,7 @@ void ThriftClientPlayer::getActions() ActionChainHolder::instance().setActionGenerator(action_generator); ActionChainHolder::instance().update(agent->world()); - if (action.helios_chain_action.server_side_decision) + if (action.helios_offensive_planner.server_side_decision) { if (GetBestPlannerAction()) { diff --git a/src/thrift-generated/soccer_service_types.cpp b/src/thrift-generated/soccer_service_types.cpp index 13f9d1b..9910895 100644 --- a/src/thrift-generated/soccer_service_types.cpp +++ b/src/thrift-generated/soccer_service_types.cpp @@ -14691,57 +14691,57 @@ void HeliosShoot::printTo(std::ostream& out) const { } -HeliosChainAction::~HeliosChainAction() noexcept { +HeliosOffensivePlanner::~HeliosOffensivePlanner() noexcept { } -void HeliosChainAction::__set_direct_pass(const bool val) { +void HeliosOffensivePlanner::__set_direct_pass(const bool val) { this->direct_pass = val; } -void HeliosChainAction::__set_lead_pass(const bool val) { +void HeliosOffensivePlanner::__set_lead_pass(const bool val) { this->lead_pass = val; } -void HeliosChainAction::__set_through_pass(const bool val) { +void HeliosOffensivePlanner::__set_through_pass(const bool val) { this->through_pass = val; } -void HeliosChainAction::__set_short_dribble(const bool val) { +void HeliosOffensivePlanner::__set_short_dribble(const bool val) { this->short_dribble = val; } -void HeliosChainAction::__set_long_dribble(const bool val) { +void HeliosOffensivePlanner::__set_long_dribble(const bool val) { this->long_dribble = val; } -void HeliosChainAction::__set_cross(const bool val) { +void HeliosOffensivePlanner::__set_cross(const bool val) { this->cross = val; } -void HeliosChainAction::__set_simple_pass(const bool val) { +void HeliosOffensivePlanner::__set_simple_pass(const bool val) { this->simple_pass = val; } -void HeliosChainAction::__set_simple_dribble(const bool val) { +void HeliosOffensivePlanner::__set_simple_dribble(const bool val) { this->simple_dribble = val; } -void HeliosChainAction::__set_simple_shoot(const bool val) { +void HeliosOffensivePlanner::__set_simple_shoot(const bool val) { this->simple_shoot = val; } -void HeliosChainAction::__set_server_side_decision(const bool val) { +void HeliosOffensivePlanner::__set_server_side_decision(const bool val) { this->server_side_decision = val; } -std::ostream& operator<<(std::ostream& out, const HeliosChainAction& obj) +std::ostream& operator<<(std::ostream& out, const HeliosOffensivePlanner& obj) { obj.printTo(out); return out; } -uint32_t HeliosChainAction::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t HeliosOffensivePlanner::read(::apache::thrift::protocol::TProtocol* iprot) { ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -14854,10 +14854,10 @@ uint32_t HeliosChainAction::read(::apache::thrift::protocol::TProtocol* iprot) { return xfer; } -uint32_t HeliosChainAction::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t HeliosOffensivePlanner::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("HeliosChainAction"); + xfer += oprot->writeStructBegin("HeliosOffensivePlanner"); xfer += oprot->writeFieldBegin("direct_pass", ::apache::thrift::protocol::T_BOOL, 1); xfer += oprot->writeBool(this->direct_pass); @@ -14904,7 +14904,7 @@ uint32_t HeliosChainAction::write(::apache::thrift::protocol::TProtocol* oprot) return xfer; } -void swap(HeliosChainAction &a, HeliosChainAction &b) { +void swap(HeliosOffensivePlanner &a, HeliosOffensivePlanner &b) { using ::std::swap; swap(a.direct_pass, b.direct_pass); swap(a.lead_pass, b.lead_pass); @@ -14919,7 +14919,7 @@ void swap(HeliosChainAction &a, HeliosChainAction &b) { swap(a.__isset, b.__isset); } -HeliosChainAction::HeliosChainAction(const HeliosChainAction& other271) noexcept { +HeliosOffensivePlanner::HeliosOffensivePlanner(const HeliosOffensivePlanner& other271) noexcept { direct_pass = other271.direct_pass; lead_pass = other271.lead_pass; through_pass = other271.through_pass; @@ -14932,7 +14932,7 @@ HeliosChainAction::HeliosChainAction(const HeliosChainAction& other271) noexcept server_side_decision = other271.server_side_decision; __isset = other271.__isset; } -HeliosChainAction& HeliosChainAction::operator=(const HeliosChainAction& other272) noexcept { +HeliosOffensivePlanner& HeliosOffensivePlanner::operator=(const HeliosOffensivePlanner& other272) noexcept { direct_pass = other272.direct_pass; lead_pass = other272.lead_pass; through_pass = other272.through_pass; @@ -14946,9 +14946,9 @@ HeliosChainAction& HeliosChainAction::operator=(const HeliosChainAction& other27 __isset = other272.__isset; return *this; } -void HeliosChainAction::printTo(std::ostream& out) const { +void HeliosOffensivePlanner::printTo(std::ostream& out) const { using ::apache::thrift::to_string; - out << "HeliosChainAction("; + out << "HeliosOffensivePlanner("; out << "direct_pass=" << to_string(direct_pass); out << ", " << "lead_pass=" << to_string(lead_pass); out << ", " << "through_pass=" << to_string(through_pass); @@ -15597,9 +15597,9 @@ void PlayerAction::__set_helios_shoot(const HeliosShoot& val) { __isset.helios_shoot = true; } -void PlayerAction::__set_helios_chain_action(const HeliosChainAction& val) { - this->helios_chain_action = val; -__isset.helios_chain_action = true; +void PlayerAction::__set_helios_offensive_planner(const HeliosOffensivePlanner& val) { + this->helios_offensive_planner = val; +__isset.helios_offensive_planner = true; } void PlayerAction::__set_helios_basic_offensive(const HeliosBasicOffensive& val) { @@ -16120,8 +16120,8 @@ uint32_t PlayerAction::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 59: if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->helios_chain_action.read(iprot); - this->__isset.helios_chain_action = true; + xfer += this->helios_offensive_planner.read(iprot); + this->__isset.helios_offensive_planner = true; } else { xfer += iprot->skip(ftype); } @@ -16473,9 +16473,9 @@ uint32_t PlayerAction::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += this->helios_shoot.write(oprot); xfer += oprot->writeFieldEnd(); } - if (this->__isset.helios_chain_action) { - xfer += oprot->writeFieldBegin("helios_chain_action", ::apache::thrift::protocol::T_STRUCT, 59); - xfer += this->helios_chain_action.write(oprot); + if (this->__isset.helios_offensive_planner) { + xfer += oprot->writeFieldBegin("helios_offensive_planner", ::apache::thrift::protocol::T_STRUCT, 59); + xfer += this->helios_offensive_planner.write(oprot); xfer += oprot->writeFieldEnd(); } if (this->__isset.helios_basic_offensive) { @@ -16568,7 +16568,7 @@ void swap(PlayerAction &a, PlayerAction &b) { swap(a.helios_goalie_move, b.helios_goalie_move); swap(a.helios_goalie_kick, b.helios_goalie_kick); swap(a.helios_shoot, b.helios_shoot); - swap(a.helios_chain_action, b.helios_chain_action); + swap(a.helios_offensive_planner, b.helios_offensive_planner); swap(a.helios_basic_offensive, b.helios_basic_offensive); swap(a.helios_basic_move, b.helios_basic_move); swap(a.helios_set_play, b.helios_set_play); @@ -16636,7 +16636,7 @@ PlayerAction::PlayerAction(const PlayerAction& other283) { helios_goalie_move = other283.helios_goalie_move; helios_goalie_kick = other283.helios_goalie_kick; helios_shoot = other283.helios_shoot; - helios_chain_action = other283.helios_chain_action; + helios_offensive_planner = other283.helios_offensive_planner; helios_basic_offensive = other283.helios_basic_offensive; helios_basic_move = other283.helios_basic_move; helios_set_play = other283.helios_set_play; @@ -16703,7 +16703,7 @@ PlayerAction& PlayerAction::operator=(const PlayerAction& other284) { helios_goalie_move = other284.helios_goalie_move; helios_goalie_kick = other284.helios_goalie_kick; helios_shoot = other284.helios_shoot; - helios_chain_action = other284.helios_chain_action; + helios_offensive_planner = other284.helios_offensive_planner; helios_basic_offensive = other284.helios_basic_offensive; helios_basic_move = other284.helios_basic_move; helios_set_play = other284.helios_set_play; @@ -16773,7 +16773,7 @@ void PlayerAction::printTo(std::ostream& out) const { out << ", " << "helios_goalie_move="; (__isset.helios_goalie_move ? (out << to_string(helios_goalie_move)) : (out << "")); out << ", " << "helios_goalie_kick="; (__isset.helios_goalie_kick ? (out << to_string(helios_goalie_kick)) : (out << "")); out << ", " << "helios_shoot="; (__isset.helios_shoot ? (out << to_string(helios_shoot)) : (out << "")); - out << ", " << "helios_chain_action="; (__isset.helios_chain_action ? (out << to_string(helios_chain_action)) : (out << "")); + out << ", " << "helios_offensive_planner="; (__isset.helios_offensive_planner ? (out << to_string(helios_offensive_planner)) : (out << "")); out << ", " << "helios_basic_offensive="; (__isset.helios_basic_offensive ? (out << to_string(helios_basic_offensive)) : (out << "")); out << ", " << "helios_basic_move="; (__isset.helios_basic_move ? (out << to_string(helios_basic_move)) : (out << "")); out << ", " << "helios_set_play="; (__isset.helios_set_play ? (out << to_string(helios_set_play)) : (out << "")); diff --git a/src/thrift-generated/soccer_service_types.h b/src/thrift-generated/soccer_service_types.h index 9b4ca21..51aaa2c 100644 --- a/src/thrift-generated/soccer_service_types.h +++ b/src/thrift-generated/soccer_service_types.h @@ -373,7 +373,7 @@ class HeliosGoalieKick; class HeliosShoot; -class HeliosChainAction; +class HeliosOffensivePlanner; class HeliosBasicOffensive; @@ -6406,8 +6406,8 @@ void swap(HeliosShoot &a, HeliosShoot &b); std::ostream& operator<<(std::ostream& out, const HeliosShoot& obj); -typedef struct _HeliosChainAction__isset { - _HeliosChainAction__isset() : direct_pass(false), lead_pass(false), through_pass(false), short_dribble(false), long_dribble(false), cross(false), simple_pass(false), simple_dribble(false), simple_shoot(false), server_side_decision(false) {} +typedef struct _HeliosOffensivePlanner__isset { + _HeliosOffensivePlanner__isset() : direct_pass(false), lead_pass(false), through_pass(false), short_dribble(false), long_dribble(false), cross(false), simple_pass(false), simple_dribble(false), simple_shoot(false), server_side_decision(false) {} bool direct_pass :1; bool lead_pass :1; bool through_pass :1; @@ -6418,27 +6418,27 @@ typedef struct _HeliosChainAction__isset { bool simple_dribble :1; bool simple_shoot :1; bool server_side_decision :1; -} _HeliosChainAction__isset; +} _HeliosOffensivePlanner__isset; -class HeliosChainAction : public virtual ::apache::thrift::TBase { +class HeliosOffensivePlanner : public virtual ::apache::thrift::TBase { public: - HeliosChainAction(const HeliosChainAction&) noexcept; - HeliosChainAction& operator=(const HeliosChainAction&) noexcept; - HeliosChainAction() noexcept - : direct_pass(0), - lead_pass(0), - through_pass(0), - short_dribble(0), - long_dribble(0), - cross(0), - simple_pass(0), - simple_dribble(0), - simple_shoot(0), - server_side_decision(0) { + HeliosOffensivePlanner(const HeliosOffensivePlanner&) noexcept; + HeliosOffensivePlanner& operator=(const HeliosOffensivePlanner&) noexcept; + HeliosOffensivePlanner() noexcept + : direct_pass(0), + lead_pass(0), + through_pass(0), + short_dribble(0), + long_dribble(0), + cross(0), + simple_pass(0), + simple_dribble(0), + simple_shoot(0), + server_side_decision(0) { } - virtual ~HeliosChainAction() noexcept; + virtual ~HeliosOffensivePlanner() noexcept; bool direct_pass; bool lead_pass; bool through_pass; @@ -6450,7 +6450,7 @@ class HeliosChainAction : public virtual ::apache::thrift::TBase { bool simple_shoot; bool server_side_decision; - _HeliosChainAction__isset __isset; + _HeliosOffensivePlanner__isset __isset; void __set_direct_pass(const bool val); @@ -6472,7 +6472,7 @@ class HeliosChainAction : public virtual ::apache::thrift::TBase { void __set_server_side_decision(const bool val); - bool operator == (const HeliosChainAction & rhs) const + bool operator == (const HeliosOffensivePlanner & rhs) const { if (!(direct_pass == rhs.direct_pass)) return false; @@ -6496,11 +6496,11 @@ class HeliosChainAction : public virtual ::apache::thrift::TBase { return false; return true; } - bool operator != (const HeliosChainAction &rhs) const { + bool operator != (const HeliosOffensivePlanner &rhs) const { return !(*this == rhs); } - bool operator < (const HeliosChainAction & ) const; + bool operator < (const HeliosOffensivePlanner & ) const; uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override; @@ -6508,9 +6508,9 @@ class HeliosChainAction : public virtual ::apache::thrift::TBase { virtual void printTo(std::ostream& out) const; }; -void swap(HeliosChainAction &a, HeliosChainAction &b); +void swap(HeliosOffensivePlanner &a, HeliosOffensivePlanner &b); -std::ostream& operator<<(std::ostream& out, const HeliosChainAction& obj); +std::ostream& operator<<(std::ostream& out, const HeliosOffensivePlanner& obj); class HeliosBasicOffensive : public virtual ::apache::thrift::TBase { @@ -6668,7 +6668,7 @@ void swap(HeliosCommunicaion &a, HeliosCommunicaion &b); std::ostream& operator<<(std::ostream& out, const HeliosCommunicaion& obj); typedef struct _PlayerAction__isset { - _PlayerAction__isset() : dash(false), turn(false), kick(false), tackle(false), catch_action(false), move(false), turn_neck(false), change_view(false), say(false), point_to(false), point_to_of(false), attention_to(false), attention_to_of(false), log(false), debug_client(false), body_go_to_point(false), body_smart_kick(false), bhv_before_kick_off(false), bhv_body_neck_to_ball(false), bhv_body_neck_to_point(false), bhv_emergency(false), bhv_go_to_point_look_ball(false), bhv_neck_body_to_ball(false), bhv_neck_body_to_point(false), bhv_scan_field(false), body_advance_ball(false), body_clear_ball(false), body_dribble(false), body_go_to_point_dodge(false), body_hold_ball(false), body_intercept(false), body_kick_one_step(false), body_stop_ball(false), body_stop_dash(false), body_tackle_to_point(false), body_turn_to_angle(false), body_turn_to_ball(false), body_turn_to_point(false), focus_move_to_point(false), focus_reset(false), neck_scan_field(false), neck_scan_players(false), neck_turn_to_ball_and_player(false), neck_turn_to_ball_or_scan(false), neck_turn_to_ball(false), neck_turn_to_goalie_or_scan(false), neck_turn_to_low_conf_teammate(false), neck_turn_to_player_or_scan(false), neck_turn_to_point(false), neck_turn_to_relative(false), view_change_width(false), view_normal(false), view_synch(false), view_wide(false), helios_goalie(false), helios_goalie_move(false), helios_goalie_kick(false), helios_shoot(false), helios_chain_action(false), helios_basic_offensive(false), helios_basic_move(false), helios_set_play(false), helios_penalty(false), helios_communication(false) {} + _PlayerAction__isset() : dash(false), turn(false), kick(false), tackle(false), catch_action(false), move(false), turn_neck(false), change_view(false), say(false), point_to(false), point_to_of(false), attention_to(false), attention_to_of(false), log(false), debug_client(false), body_go_to_point(false), body_smart_kick(false), bhv_before_kick_off(false), bhv_body_neck_to_ball(false), bhv_body_neck_to_point(false), bhv_emergency(false), bhv_go_to_point_look_ball(false), bhv_neck_body_to_ball(false), bhv_neck_body_to_point(false), bhv_scan_field(false), body_advance_ball(false), body_clear_ball(false), body_dribble(false), body_go_to_point_dodge(false), body_hold_ball(false), body_intercept(false), body_kick_one_step(false), body_stop_ball(false), body_stop_dash(false), body_tackle_to_point(false), body_turn_to_angle(false), body_turn_to_ball(false), body_turn_to_point(false), focus_move_to_point(false), focus_reset(false), neck_scan_field(false), neck_scan_players(false), neck_turn_to_ball_and_player(false), neck_turn_to_ball_or_scan(false), neck_turn_to_ball(false), neck_turn_to_goalie_or_scan(false), neck_turn_to_low_conf_teammate(false), neck_turn_to_player_or_scan(false), neck_turn_to_point(false), neck_turn_to_relative(false), view_change_width(false), view_normal(false), view_synch(false), view_wide(false), helios_goalie(false), helios_goalie_move(false), helios_goalie_kick(false), helios_shoot(false), helios_offensive_planner(false), helios_basic_offensive(false), helios_basic_move(false), helios_set_play(false), helios_penalty(false), helios_communication(false) {} bool dash :1; bool turn :1; bool kick :1; @@ -6727,7 +6727,7 @@ typedef struct _PlayerAction__isset { bool helios_goalie_move :1; bool helios_goalie_kick :1; bool helios_shoot :1; - bool helios_chain_action :1; + bool helios_offensive_planner :1; bool helios_basic_offensive :1; bool helios_basic_move :1; bool helios_set_play :1; @@ -6802,7 +6802,7 @@ class PlayerAction : public virtual ::apache::thrift::TBase { HeliosGoalieMove helios_goalie_move; HeliosGoalieKick helios_goalie_kick; HeliosShoot helios_shoot; - HeliosChainAction helios_chain_action; + HeliosOffensivePlanner helios_offensive_planner; HeliosBasicOffensive helios_basic_offensive; HeliosBasicMove helios_basic_move; HeliosSetPlay helios_set_play; @@ -6927,7 +6927,7 @@ class PlayerAction : public virtual ::apache::thrift::TBase { void __set_helios_shoot(const HeliosShoot& val); - void __set_helios_chain_action(const HeliosChainAction& val); + void __set_helios_offensive_planner(const HeliosOffensivePlanner& val); void __set_helios_basic_offensive(const HeliosBasicOffensive& val); @@ -7173,9 +7173,9 @@ class PlayerAction : public virtual ::apache::thrift::TBase { return false; else if (__isset.helios_shoot && !(helios_shoot == rhs.helios_shoot)) return false; - if (__isset.helios_chain_action != rhs.__isset.helios_chain_action) + if (__isset.helios_offensive_planner != rhs.__isset.helios_offensive_planner) return false; - else if (__isset.helios_chain_action && !(helios_chain_action == rhs.helios_chain_action)) + else if (__isset.helios_offensive_planner && !(helios_offensive_planner == rhs.helios_offensive_planner)) return false; if (__isset.helios_basic_offensive != rhs.__isset.helios_basic_offensive) return false; From 92618f96cb1008a4491b5254d624f422754f41ba Mon Sep 17 00:00:00 2001 From: naderzare Date: Sat, 14 Sep 2024 15:45:11 -0300 Subject: [PATCH 17/21] update grpc gen code --- src/grpc-generated/service.pb.cc | 1353 +++++++++--------------------- 1 file changed, 393 insertions(+), 960 deletions(-) diff --git a/src/grpc-generated/service.pb.cc b/src/grpc-generated/service.pb.cc index 2fd2f20..d7c29f5 100644 --- a/src/grpc-generated/service.pb.cc +++ b/src/grpc-generated/service.pb.cc @@ -5669,137 +5669,6 @@ static const ::_pbi::MigrationSchema { 23, -1, -1, sizeof(::protos::RegisterResponse)}, { 35, 60, -1, sizeof(::protos::Ball)}, { 77, 115, -1, sizeof(::protos::Player)}, -<<<<<<< HEAD - { 145, 189, -1, sizeof(::protos::Self)}, - { 225, 243, -1, sizeof(::protos::InterceptInfo)}, - { 253, -1, -1, sizeof(::protos::InterceptTable)}, - { 271, 281, -1, sizeof(::protos::WorldModel_OurPlayersDictEntry_DoNotUse)}, - { 283, 293, -1, sizeof(::protos::WorldModel_TheirPlayersDictEntry_DoNotUse)}, - { 295, 305, -1, sizeof(::protos::WorldModel_HeliosHomePositionsEntry_DoNotUse)}, - { 307, 346, -1, sizeof(::protos::WorldModel)}, - { 377, 389, -1, sizeof(::protos::State)}, - { 393, 403, -1, sizeof(::protos::InitMessage)}, - { 405, -1, -1, sizeof(::protos::Dash)}, - { 415, -1, -1, sizeof(::protos::Turn)}, - { 424, -1, -1, sizeof(::protos::Kick)}, - { 434, -1, -1, sizeof(::protos::Tackle)}, - { 444, -1, -1, sizeof(::protos::Catch)}, - { 452, -1, -1, sizeof(::protos::Move)}, - { 462, -1, -1, sizeof(::protos::TurnNeck)}, - { 471, -1, -1, sizeof(::protos::ChangeView)}, - { 480, 490, -1, sizeof(::protos::BallMessage)}, - { 492, 504, -1, sizeof(::protos::PassMessage)}, - { 508, -1, -1, sizeof(::protos::InterceptMessage)}, - { 519, 530, -1, sizeof(::protos::GoalieMessage)}, - { 533, 546, -1, sizeof(::protos::GoalieAndPlayerMessage)}, - { 551, -1, -1, sizeof(::protos::OffsideLineMessage)}, - { 560, -1, -1, sizeof(::protos::DefenseLineMessage)}, - { 569, -1, -1, sizeof(::protos::WaitRequestMessage)}, - { 577, -1, -1, sizeof(::protos::SetplayMessage)}, - { 586, 595, -1, sizeof(::protos::PassRequestMessage)}, - { 596, -1, -1, sizeof(::protos::StaminaMessage)}, - { 605, -1, -1, sizeof(::protos::RecoveryMessage)}, - { 614, -1, -1, sizeof(::protos::StaminaCapacityMessage)}, - { 623, 633, -1, sizeof(::protos::DribbleMessage)}, - { 635, 647, -1, sizeof(::protos::BallGoalieMessage)}, - { 651, 661, -1, sizeof(::protos::OnePlayerMessage)}, - { 663, 675, -1, sizeof(::protos::TwoPlayerMessage)}, - { 679, 693, -1, sizeof(::protos::ThreePlayerMessage)}, - { 699, 710, -1, sizeof(::protos::SelfMessage)}, - { 713, 724, -1, sizeof(::protos::TeammateMessage)}, - { 727, 738, -1, sizeof(::protos::OpponentMessage)}, - { 741, 754, -1, sizeof(::protos::BallPlayerMessage)}, - { 759, -1, -1, sizeof(::protos::Say)}, - { 790, -1, -1, sizeof(::protos::PointTo)}, - { 800, -1, -1, sizeof(::protos::PointToOf)}, - { 808, -1, -1, sizeof(::protos::AttentionTo)}, - { 818, -1, -1, sizeof(::protos::AttentionToOf)}, - { 826, -1, -1, sizeof(::protos::AddText)}, - { 836, 847, -1, sizeof(::protos::AddPoint)}, - { 850, 862, -1, sizeof(::protos::AddLine)}, - { 866, 880, -1, sizeof(::protos::AddArc)}, - { 886, 899, -1, sizeof(::protos::AddCircle)}, - { 904, 918, -1, sizeof(::protos::AddTriangle)}, - { 924, -1, -1, sizeof(::protos::AddRectangle)}, - { 939, 955, -1, sizeof(::protos::AddSector)}, - { 963, 975, -1, sizeof(::protos::AddMessage)}, - { 979, -1, -1, sizeof(::protos::Log)}, - { 997, -1, -1, sizeof(::protos::DebugClient)}, - { 1006, 1017, -1, sizeof(::protos::Body_GoToPoint)}, - { 1020, 1032, -1, sizeof(::protos::Body_SmartKick)}, - { 1036, 1045, -1, sizeof(::protos::Bhv_BeforeKickOff)}, - { 1046, -1, -1, sizeof(::protos::Bhv_BodyNeckToBall)}, - { 1054, 1063, -1, sizeof(::protos::Bhv_BodyNeckToPoint)}, - { 1064, -1, -1, sizeof(::protos::Bhv_Emergency)}, - { 1072, 1083, -1, sizeof(::protos::Bhv_GoToPointLookBall)}, - { 1086, -1, -1, sizeof(::protos::Bhv_NeckBodyToBall)}, - { 1095, 1105, -1, sizeof(::protos::Bhv_NeckBodyToPoint)}, - { 1107, -1, -1, sizeof(::protos::Bhv_ScanField)}, - { 1115, -1, -1, sizeof(::protos::Body_AdvanceBall)}, - { 1123, -1, -1, sizeof(::protos::Body_ClearBall)}, - { 1131, 1144, -1, sizeof(::protos::Body_Dribble)}, - { 1149, 1159, -1, sizeof(::protos::Body_GoToPointDodge)}, - { 1161, 1172, -1, sizeof(::protos::Body_HoldBall)}, - { 1175, 1185, -1, sizeof(::protos::Body_Intercept)}, - { 1187, 1198, -1, sizeof(::protos::Body_KickOneStep)}, - { 1201, -1, -1, sizeof(::protos::Body_StopBall)}, - { 1209, -1, -1, sizeof(::protos::Body_StopDash)}, - { 1218, 1229, -1, sizeof(::protos::Body_TackleToPoint)}, - { 1232, -1, -1, sizeof(::protos::Body_TurnToAngle)}, - { 1241, -1, -1, sizeof(::protos::Body_TurnToBall)}, - { 1250, 1260, -1, sizeof(::protos::Body_TurnToPoint)}, - { 1262, 1271, -1, sizeof(::protos::Focus_MoveToPoint)}, - { 1272, -1, -1, sizeof(::protos::Focus_Reset)}, - { 1280, -1, -1, sizeof(::protos::Neck_ScanField)}, - { 1288, -1, -1, sizeof(::protos::Neck_ScanPlayers)}, - { 1296, -1, -1, sizeof(::protos::Neck_TurnToBallAndPlayer)}, - { 1307, -1, -1, sizeof(::protos::Neck_TurnToBallOrScan)}, - { 1316, -1, -1, sizeof(::protos::Neck_TurnToBall)}, - { 1324, -1, -1, sizeof(::protos::Neck_TurnToGoalieOrScan)}, - { 1333, -1, -1, sizeof(::protos::Neck_TurnToLowConfTeammate)}, - { 1341, -1, -1, sizeof(::protos::Neck_TurnToPlayerOrScan)}, - { 1352, 1361, -1, sizeof(::protos::Neck_TurnToPoint)}, - { 1362, -1, -1, sizeof(::protos::Neck_TurnToRelative)}, - { 1371, -1, -1, sizeof(::protos::View_ChangeWidth)}, - { 1380, -1, -1, sizeof(::protos::View_Normal)}, - { 1388, -1, -1, sizeof(::protos::View_Synch)}, - { 1396, -1, -1, sizeof(::protos::View_Wide)}, - { 1404, -1, -1, sizeof(::protos::HeliosGoalie)}, - { 1412, -1, -1, sizeof(::protos::HeliosGoalieMove)}, - { 1420, -1, -1, sizeof(::protos::HeliosGoalieKick)}, - { 1428, -1, -1, sizeof(::protos::HeliosShoot)}, - { 1436, -1, -1, sizeof(::protos::HeliosOffensivePlanner)}, - { 1454, -1, -1, sizeof(::protos::HeliosBasicOffensive)}, - { 1462, -1, -1, sizeof(::protos::HeliosBasicMove)}, - { 1470, -1, -1, sizeof(::protos::HeliosSetPlay)}, - { 1478, -1, -1, sizeof(::protos::HeliosPenalty)}, - { 1486, -1, -1, sizeof(::protos::HeliosCommunicaion)}, - { 1494, -1, -1, sizeof(::protos::PlayerAction)}, - { 1567, -1, -1, sizeof(::protos::PlayerActions)}, - { 1577, -1, -1, sizeof(::protos::ChangePlayerType)}, - { 1587, -1, -1, sizeof(::protos::DoHeliosSubstitute)}, - { 1595, -1, -1, sizeof(::protos::DoHeliosSayPlayerTypes)}, - { 1603, -1, -1, sizeof(::protos::CoachAction)}, - { 1615, -1, -1, sizeof(::protos::CoachActions)}, - { 1624, -1, -1, sizeof(::protos::DoKickOff)}, - { 1632, 1642, -1, sizeof(::protos::DoMoveBall)}, - { 1644, 1656, -1, sizeof(::protos::DoMovePlayer)}, - { 1660, -1, -1, sizeof(::protos::DoRecover)}, - { 1668, -1, -1, sizeof(::protos::DoChangeMode)}, - { 1678, -1, -1, sizeof(::protos::DoChangePlayerType)}, - { 1689, -1, -1, sizeof(::protos::TrainerAction)}, - { 1704, -1, -1, sizeof(::protos::TrainerActions)}, - { 1713, 1943, -1, sizeof(::protos::ServerParam)}, - { 2165, 2203, -1, sizeof(::protos::PlayerParam)}, - { 2233, 2275, -1, sizeof(::protos::PlayerType)}, - { 2309, 2333, -1, sizeof(::protos::RpcCooperativeAction)}, - { 2349, 2363, -1, sizeof(::protos::RpcPredictState)}, - { 2369, 2380, -1, sizeof(::protos::RpcActionState)}, - { 2383, 2393, -1, sizeof(::protos::BestPlannerActionRequest_PairsEntry_DoNotUse)}, - { 2395, 2406, -1, sizeof(::protos::BestPlannerActionRequest)}, - { 2409, -1, -1, sizeof(::protos::BestPlannerActionResponse)}, - { 2418, -1, -1, sizeof(::protos::Empty)}, -======= { 145, 191, -1, sizeof(::protos::Self)}, { 229, 247, -1, sizeof(::protos::InterceptInfo)}, { 257, -1, -1, sizeof(::protos::InterceptTable)}, @@ -5898,7 +5767,7 @@ static const ::_pbi::MigrationSchema { 1424, -1, -1, sizeof(::protos::HeliosGoalieMove)}, { 1432, -1, -1, sizeof(::protos::HeliosGoalieKick)}, { 1440, -1, -1, sizeof(::protos::HeliosShoot)}, - { 1448, -1, -1, sizeof(::protos::HeliosChainAction)}, + { 1448, -1, -1, sizeof(::protos::HeliosOffensivePlanner)}, { 1466, -1, -1, sizeof(::protos::HeliosBasicOffensive)}, { 1474, -1, -1, sizeof(::protos::HeliosBasicMove)}, { 1482, -1, -1, sizeof(::protos::HeliosSetPlay)}, @@ -5929,7 +5798,6 @@ static const ::_pbi::MigrationSchema { 2407, 2418, -1, sizeof(::protos::BestPlannerActionRequest)}, { 2421, -1, -1, sizeof(::protos::BestPlannerActionResponse)}, { 2430, -1, -1, sizeof(::protos::Empty)}, ->>>>>>> add_more_data_to_rpc }; static const ::_pb::Message* const file_default_instances[] = { @@ -6337,437 +6205,6 @@ const char descriptor_table_protodef_service_2eproto[] PROTOBUF_SECTION_VARIABLE "otos.AddMessageH\000B\005\n\003log\"\036\n\013DebugClient\022" "\017\n\007message\030\001 \001(\t\"o\n\016Body_GoToPoint\022)\n\014ta" "rget_point\030\001 \001(\0132\023.protos.RpcVector2D\022\032\n" -<<<<<<< HEAD - "\022distance_threshold\030\002 \001(\002\022\022\n\ndash_power\030" - "\003 \001(\002\022\022\n\ndash_count\030\004 \001(\005\022\r\n\005dodge\030\005 \001(\010" - "\"T\n\023Body_GoToPointDodge\022)\n\014target_point\030" - "\001 \001(\0132\023.protos.RpcVector2D\022\022\n\ndash_power" - "\030\002 \001(\002\"\200\001\n\rBody_HoldBall\022\017\n\007do_turn\030\001 \001(" - "\010\022.\n\021turn_target_point\030\002 \001(\0132\023.protos.Rp" - "cVector2D\022.\n\021kick_target_point\030\003 \001(\0132\023.p" - "rotos.RpcVector2D\"P\n\016Body_Intercept\022\025\n\rs" - "ave_recovery\030\001 \001(\010\022\'\n\nface_point\030\002 \001(\0132\023" - ".protos.RpcVector2D\"f\n\020Body_KickOneStep\022" - ")\n\014target_point\030\001 \001(\0132\023.protos.RpcVector" - "2D\022\023\n\013first_speed\030\002 \001(\002\022\022\n\nforce_mode\030\003 " - "\001(\010\"\017\n\rBody_StopBall\"&\n\rBody_StopDash\022\025\n" - "\rsave_recovery\030\001 \001(\010\"k\n\022Body_TackleToPoi" - "nt\022)\n\014target_point\030\001 \001(\0132\023.protos.RpcVec" - "tor2D\022\027\n\017min_probability\030\002 \001(\002\022\021\n\tmin_sp" - "eed\030\003 \001(\002\"!\n\020Body_TurnToAngle\022\r\n\005angle\030\001" - " \001(\002\" \n\017Body_TurnToBall\022\r\n\005cycle\030\001 \001(\005\"L" - "\n\020Body_TurnToPoint\022)\n\014target_point\030\001 \001(\013" - "2\023.protos.RpcVector2D\022\r\n\005cycle\030\002 \001(\005\">\n\021" - "Focus_MoveToPoint\022)\n\014target_point\030\001 \001(\0132" - "\023.protos.RpcVector2D\"\r\n\013Focus_Reset\"\020\n\016N" - "eck_ScanField\"\022\n\020Neck_ScanPlayers\"g\n\030Nec" - "k_TurnToBallAndPlayer\022\032\n\004side\030\001 \001(\0162\014.pr" - "otos.Side\022\026\n\016uniform_number\030\002 \001(\005\022\027\n\017cou" - "nt_threshold\030\003 \001(\005\"0\n\025Neck_TurnToBallOrS" - "can\022\027\n\017count_threshold\030\001 \001(\005\"\021\n\017Neck_Tur" - "nToBall\"2\n\027Neck_TurnToGoalieOrScan\022\027\n\017co" - "unt_threshold\030\001 \001(\005\"\034\n\032Neck_TurnToLowCon" - "fTeammate\"f\n\027Neck_TurnToPlayerOrScan\022\032\n\004" - "side\030\001 \001(\0162\014.protos.Side\022\026\n\016uniform_numb" - "er\030\002 \001(\005\022\027\n\017count_threshold\030\003 \001(\005\"=\n\020Nec" - "k_TurnToPoint\022)\n\014target_point\030\001 \001(\0132\023.pr" - "otos.RpcVector2D\"$\n\023Neck_TurnToRelative\022" - "\r\n\005angle\030\001 \001(\002\"9\n\020View_ChangeWidth\022%\n\nvi" - "ew_width\030\001 \001(\0162\021.protos.ViewWidth\"\r\n\013Vie" - "w_Normal\"\014\n\nView_Synch\"\013\n\tView_Wide\"\016\n\014H" - "eliosGoalie\"\022\n\020HeliosGoalieMove\"\022\n\020Helio" - "sGoalieKick\"\r\n\013HeliosShoot\"\363\001\n\026HeliosOff" - "ensivePlanner\022\023\n\013direct_pass\030\001 \001(\010\022\021\n\tle" - "ad_pass\030\002 \001(\010\022\024\n\014through_pass\030\003 \001(\010\022\025\n\rs" - "hort_dribble\030\004 \001(\010\022\024\n\014long_dribble\030\005 \001(\010" - "\022\r\n\005cross\030\006 \001(\010\022\023\n\013simple_pass\030\007 \001(\010\022\026\n\016" - "simple_dribble\030\010 \001(\010\022\024\n\014simple_shoot\030\t \001" - "(\010\022\034\n\024server_side_decision\030\n \001(\010\"\026\n\024Heli" - "osBasicOffensive\"\021\n\017HeliosBasicMove\"\017\n\rH" - "eliosSetPlay\"\017\n\rHeliosPenalty\"\024\n\022HeliosC" - "ommunicaion\"\355\031\n\014PlayerAction\022\034\n\004dash\030\001 \001" - "(\0132\014.protos.DashH\000\022\034\n\004turn\030\002 \001(\0132\014.proto" - "s.TurnH\000\022\034\n\004kick\030\003 \001(\0132\014.protos.KickH\000\022 " - "\n\006tackle\030\004 \001(\0132\016.protos.TackleH\000\022\036\n\005catc" - "h\030\005 \001(\0132\r.protos.CatchH\000\022\034\n\004move\030\006 \001(\0132\014" - ".protos.MoveH\000\022%\n\tturn_neck\030\007 \001(\0132\020.prot" - "os.TurnNeckH\000\022)\n\013change_view\030\010 \001(\0132\022.pro" - "tos.ChangeViewH\000\022\032\n\003say\030\t \001(\0132\013.protos.S" - "ayH\000\022#\n\010point_to\030\n \001(\0132\017.protos.PointToH" - "\000\022(\n\013point_to_of\030\013 \001(\0132\021.protos.PointToO" - "fH\000\022+\n\014attention_to\030\014 \001(\0132\023.protos.Atten" - "tionToH\000\0220\n\017attention_to_of\030\r \001(\0132\025.prot" - "os.AttentionToOfH\000\022\032\n\003log\030\016 \001(\0132\013.protos" - ".LogH\000\022+\n\014debug_client\030\017 \001(\0132\023.protos.De" - "bugClientH\000\0222\n\020body_go_to_point\030\020 \001(\0132\026." - "protos.Body_GoToPointH\000\0221\n\017body_smart_ki" - "ck\030\021 \001(\0132\026.protos.Body_SmartKickH\000\0228\n\023bh" - "v_before_kick_off\030\022 \001(\0132\031.protos.Bhv_Bef" - "oreKickOffH\000\022;\n\025bhv_body_neck_to_ball\030\023 " - "\001(\0132\032.protos.Bhv_BodyNeckToBallH\000\022=\n\026bhv" - "_body_neck_to_point\030\024 \001(\0132\033.protos.Bhv_B" - "odyNeckToPointH\000\022.\n\rbhv_emergency\030\025 \001(\0132" - "\025.protos.Bhv_EmergencyH\000\022B\n\031bhv_go_to_po" - "int_look_ball\030\026 \001(\0132\035.protos.Bhv_GoToPoi" - "ntLookBallH\000\022;\n\025bhv_neck_body_to_ball\030\027 " - "\001(\0132\032.protos.Bhv_NeckBodyToBallH\000\022=\n\026bhv" - "_neck_body_to_point\030\030 \001(\0132\033.protos.Bhv_N" - "eckBodyToPointH\000\022/\n\016bhv_scan_field\030\031 \001(\013" - "2\025.protos.Bhv_ScanFieldH\000\0225\n\021body_advanc" - "e_ball\030\032 \001(\0132\030.protos.Body_AdvanceBallH\000" - "\0221\n\017body_clear_ball\030\033 \001(\0132\026.protos.Body_" - "ClearBallH\000\022,\n\014body_dribble\030\034 \001(\0132\024.prot" - "os.Body_DribbleH\000\022=\n\026body_go_to_point_do" - "dge\030\035 \001(\0132\033.protos.Body_GoToPointDodgeH\000" - "\022/\n\016body_hold_ball\030\036 \001(\0132\025.protos.Body_H" - "oldBallH\000\0220\n\016body_intercept\030\037 \001(\0132\026.prot" - "os.Body_InterceptH\000\0226\n\022body_kick_one_ste" - "p\030 \001(\0132\030.protos.Body_KickOneStepH\000\022/\n\016b" - "ody_stop_ball\030! \001(\0132\025.protos.Body_StopBa" - "llH\000\022/\n\016body_stop_dash\030\" \001(\0132\025.protos.Bo" - "dy_StopDashH\000\022:\n\024body_tackle_to_point\030# " - "\001(\0132\032.protos.Body_TackleToPointH\000\0226\n\022bod" - "y_turn_to_angle\030$ \001(\0132\030.protos.Body_Turn" - "ToAngleH\000\0224\n\021body_turn_to_ball\030% \001(\0132\027.p" - "rotos.Body_TurnToBallH\000\0226\n\022body_turn_to_" - "point\030& \001(\0132\030.protos.Body_TurnToPointH\000\022" - "8\n\023focus_move_to_point\030\' \001(\0132\031.protos.Fo" - "cus_MoveToPointH\000\022*\n\013focus_reset\030( \001(\0132\023" - ".protos.Focus_ResetH\000\0221\n\017neck_scan_field" - "\030) \001(\0132\026.protos.Neck_ScanFieldH\000\0225\n\021neck" - "_scan_players\030* \001(\0132\030.protos.Neck_ScanPl" - "ayersH\000\022H\n\034neck_turn_to_ball_and_player\030" - "+ \001(\0132 .protos.Neck_TurnToBallAndPlayerH" - "\000\022B\n\031neck_turn_to_ball_or_scan\030, \001(\0132\035.p" - "rotos.Neck_TurnToBallOrScanH\000\0224\n\021neck_tu" - "rn_to_ball\030- \001(\0132\027.protos.Neck_TurnToBal" - "lH\000\022F\n\033neck_turn_to_goalie_or_scan\030. \001(\013" - "2\037.protos.Neck_TurnToGoalieOrScanH\000\022L\n\036n" - "eck_turn_to_low_conf_teammate\030/ \001(\0132\".pr" - "otos.Neck_TurnToLowConfTeammateH\000\022F\n\033nec" - "k_turn_to_player_or_scan\0300 \001(\0132\037.protos." - "Neck_TurnToPlayerOrScanH\000\0226\n\022neck_turn_t" - "o_point\0301 \001(\0132\030.protos.Neck_TurnToPointH" - "\000\022<\n\025neck_turn_to_relative\0302 \001(\0132\033.proto" - "s.Neck_TurnToRelativeH\000\0225\n\021view_change_w" - "idth\0303 \001(\0132\030.protos.View_ChangeWidthH\000\022*" - "\n\013view_normal\0304 \001(\0132\023.protos.View_Normal" - "H\000\022(\n\nview_synch\0305 \001(\0132\022.protos.View_Syn" - "chH\000\022&\n\tview_wide\0306 \001(\0132\021.protos.View_Wi" - "deH\000\022-\n\rhelios_goalie\0307 \001(\0132\024.protos.Hel" - "iosGoalieH\000\0226\n\022helios_goalie_move\0308 \001(\0132" - "\030.protos.HeliosGoalieMoveH\000\0226\n\022helios_go" - "alie_kick\0309 \001(\0132\030.protos.HeliosGoalieKic" - "kH\000\022+\n\014helios_shoot\030: \001(\0132\023.protos.Helio" - "sShootH\000\022B\n\030helios_offensive_planner\030; \001" - "(\0132\036.protos.HeliosOffensivePlannerH\000\022>\n\026" - "helios_basic_offensive\030< \001(\0132\034.protos.He" - "liosBasicOffensiveH\000\0224\n\021helios_basic_mov" - "e\030= \001(\0132\027.protos.HeliosBasicMoveH\000\0220\n\017he" - "lios_set_play\030> \001(\0132\025.protos.HeliosSetPl" - "ayH\000\022/\n\016helios_penalty\030\? \001(\0132\025.protos.He" - "liosPenaltyH\000\022:\n\024helios_communication\030@ " - "\001(\0132\032.protos.HeliosCommunicaionH\000B\010\n\006act" - "ion\"Q\n\rPlayerActions\022%\n\007actions\030\001 \003(\0132\024." - "protos.PlayerAction\022\031\n\021ignore_preprocess" - "\030\002 \001(\010\"8\n\020ChangePlayerType\022\026\n\016uniform_nu" - "mber\030\001 \001(\005\022\014\n\004type\030\002 \001(\005\"\024\n\022DoHeliosSubs" - "titute\"\030\n\026DoHeliosSayPlayerTypes\"\322\001\n\013Coa" - "chAction\0227\n\023change_player_types\030\001 \001(\0132\030." - "protos.ChangePlayerTypeH\000\022:\n\024do_helios_s" - "ubstitute\030\002 \001(\0132\032.protos.DoHeliosSubstit" - "uteH\000\022D\n\032do_helios_say_player_types\030\003 \001(" - "\0132\036.protos.DoHeliosSayPlayerTypesH\000B\010\n\006a" - "ction\"4\n\014CoachActions\022$\n\007actions\030\001 \003(\0132\023" - ".protos.CoachAction\"\013\n\tDoKickOff\"Z\n\nDoMo" - "veBall\022%\n\010position\030\001 \001(\0132\023.protos.RpcVec" - "tor2D\022%\n\010velocity\030\002 \001(\0132\023.protos.RpcVect" - "or2D\"w\n\014DoMovePlayer\022\020\n\010our_side\030\001 \001(\010\022\026" - "\n\016uniform_number\030\002 \001(\005\022%\n\010position\030\003 \001(\013" - "2\023.protos.RpcVector2D\022\026\n\016body_direction\030" - "\004 \001(\002\"\013\n\tDoRecover\"X\n\014DoChangeMode\022,\n\016ga" - "me_mode_type\030\001 \001(\0162\024.protos.GameModeType" - "\022\032\n\004side\030\002 \001(\0162\014.protos.Side\"L\n\022DoChange" - "PlayerType\022\020\n\010our_side\030\001 \001(\010\022\026\n\016uniform_" - "number\030\002 \001(\005\022\014\n\004type\030\003 \001(\005\"\265\002\n\rTrainerAc" - "tion\022(\n\013do_kick_off\030\001 \001(\0132\021.protos.DoKic" - "kOffH\000\022*\n\014do_move_ball\030\002 \001(\0132\022.protos.Do" - "MoveBallH\000\022.\n\016do_move_player\030\003 \001(\0132\024.pro" - "tos.DoMovePlayerH\000\022\'\n\ndo_recover\030\004 \001(\0132\021" - ".protos.DoRecoverH\000\022.\n\016do_change_mode\030\005 " - "\001(\0132\024.protos.DoChangeModeH\000\022;\n\025do_change" - "_player_type\030\006 \001(\0132\032.protos.DoChangePlay" - "erTypeH\000B\010\n\006action\"8\n\016TrainerActions\022&\n\007" - "actions\030\001 \003(\0132\025.protos.TrainerAction\"\335,\n" - "\013ServerParam\0223\n\021register_response\030\001 \001(\0132" - "\030.protos.RegisterResponse\022\026\n\016inertia_mom" - "ent\030\002 \001(\002\022\023\n\013player_size\030\003 \001(\002\022\024\n\014player" - "_decay\030\004 \001(\002\022\023\n\013player_rand\030\005 \001(\002\022\025\n\rpla" - "yer_weight\030\006 \001(\002\022\030\n\020player_speed_max\030\007 \001" - "(\002\022\030\n\020player_accel_max\030\010 \001(\002\022\023\n\013stamina_" - "max\030\t \001(\002\022\027\n\017stamina_inc_max\030\n \001(\002\022\024\n\014re" - "cover_init\030\013 \001(\002\022\027\n\017recover_dec_thr\030\014 \001(" - "\002\022\023\n\013recover_min\030\r \001(\002\022\023\n\013recover_dec\030\016 " - "\001(\002\022\023\n\013effort_init\030\017 \001(\002\022\026\n\016effort_dec_t" - "hr\030\020 \001(\002\022\022\n\neffort_min\030\021 \001(\002\022\022\n\neffort_d" - "ec\030\022 \001(\002\022\026\n\016effort_inc_thr\030\023 \001(\002\022\022\n\neffo" - "rt_inc\030\024 \001(\002\022\021\n\tkick_rand\030\025 \001(\002\022\033\n\023team_" - "actuator_noise\030\026 \001(\010\022\034\n\024player_rand_fact" - "or_l\030\027 \001(\002\022\034\n\024player_rand_factor_r\030\030 \001(\002" - "\022\032\n\022kick_rand_factor_l\030\031 \001(\002\022\032\n\022kick_ran" - "d_factor_r\030\032 \001(\002\022\021\n\tball_size\030\033 \001(\002\022\022\n\nb" - "all_decay\030\034 \001(\002\022\021\n\tball_rand\030\035 \001(\002\022\023\n\013ba" - "ll_weight\030\036 \001(\002\022\026\n\016ball_speed_max\030\037 \001(\002\022" - "\026\n\016ball_accel_max\030 \001(\002\022\027\n\017dash_power_ra" - "te\030! \001(\002\022\027\n\017kick_power_rate\030\" \001(\002\022\027\n\017kic" - "kable_margin\030# \001(\002\022\026\n\016control_radius\030$ \001" - "(\002\022\034\n\024control_radius_width\030% \001(\002\022\021\n\tmax_" - "power\030& \001(\002\022\021\n\tmin_power\030\' \001(\002\022\022\n\nmax_mo" - "ment\030( \001(\002\022\022\n\nmin_moment\030) \001(\002\022\027\n\017max_ne" - "ck_moment\030* \001(\002\022\027\n\017min_neck_moment\030+ \001(\002" - "\022\026\n\016max_neck_angle\030, \001(\002\022\026\n\016min_neck_ang" - "le\030- \001(\002\022\025\n\rvisible_angle\030. \001(\002\022\030\n\020visib" - "le_distance\030/ \001(\002\022\020\n\010wind_dir\0300 \001(\002\022\022\n\nw" - "ind_force\0301 \001(\002\022\022\n\nwind_angle\0302 \001(\002\022\021\n\tw" - "ind_rand\0303 \001(\002\022\025\n\rkickable_area\0304 \001(\002\022\024\n" - "\014catch_area_l\0305 \001(\002\022\024\n\014catch_area_w\0306 \001(" - "\002\022\031\n\021catch_probability\0307 \001(\002\022\030\n\020goalie_m" - "ax_moves\0308 \001(\005\022\032\n\022corner_kick_margin\0309 \001" - "(\002\022 \n\030offside_active_area_size\030: \001(\002\022\021\n\t" - "wind_none\030; \001(\010\022\027\n\017use_wind_random\030< \001(\010" - "\022\033\n\023coach_say_count_max\030= \001(\005\022\032\n\022coach_s" - "ay_msg_size\030> \001(\005\022\026\n\016clang_win_size\030\? \001(" - "\005\022\030\n\020clang_define_win\030@ \001(\005\022\026\n\016clang_met" - "a_win\030A \001(\005\022\030\n\020clang_advice_win\030B \001(\005\022\026\n" - "\016clang_info_win\030C \001(\005\022\030\n\020clang_mess_dela" - "y\030D \001(\005\022\034\n\024clang_mess_per_cycle\030E \001(\005\022\021\n" - "\thalf_time\030F \001(\005\022\026\n\016simulator_step\030G \001(\005" - "\022\021\n\tsend_step\030H \001(\005\022\021\n\trecv_step\030I \001(\005\022\027" - "\n\017sense_body_step\030J \001(\005\022\020\n\010lcm_step\030K \001(" - "\005\022\033\n\023player_say_msg_size\030L \001(\005\022\027\n\017player" - "_hear_max\030M \001(\005\022\027\n\017player_hear_inc\030N \001(\005" - "\022\031\n\021player_hear_decay\030O \001(\005\022\027\n\017catch_ban" - "_cycle\030P \001(\005\022\030\n\020slow_down_factor\030Q \001(\005\022\023" - "\n\013use_offside\030R \001(\010\022\027\n\017kickoff_offside\030S" - " \001(\010\022\033\n\023offside_kick_margin\030T \001(\002\022\026\n\016aud" - "io_cut_dist\030U \001(\002\022\032\n\022dist_quantize_step\030" - "V \001(\002\022#\n\033landmark_dist_quantize_step\030W \001" - "(\002\022\031\n\021dir_quantize_step\030X \001(\002\022\034\n\024dist_qu" - "antize_step_l\030Y \001(\002\022\034\n\024dist_quantize_ste" - "p_r\030Z \001(\002\022%\n\035landmark_dist_quantize_step" - "_l\030[ \001(\002\022%\n\035landmark_dist_quantize_step_" - "r\030\\ \001(\002\022\033\n\023dir_quantize_step_l\030] \001(\002\022\033\n\023" - "dir_quantize_step_r\030^ \001(\002\022\022\n\ncoach_mode\030" - "_ \001(\010\022\037\n\027coach_with_referee_mode\030` \001(\010\022\032" - "\n\022use_old_coach_hear\030a \001(\010\022%\n\035slowness_o" - "n_top_for_left_team\030b \001(\002\022&\n\036slowness_on" - "_top_for_right_team\030c \001(\002\022\024\n\014start_goal_" - "l\030d \001(\005\022\024\n\014start_goal_r\030e \001(\005\022\023\n\013fullsta" - "te_l\030f \001(\010\022\023\n\013fullstate_r\030g \001(\010\022\026\n\016drop_" - "ball_time\030h \001(\005\022\022\n\nsynch_mode\030i \001(\010\022\024\n\014s" - "ynch_offset\030j \001(\005\022\031\n\021synch_micro_sleep\030k" - " \001(\005\022\024\n\014point_to_ban\030l \001(\005\022\031\n\021point_to_d" - "uration\030m \001(\005\022\023\n\013player_port\030n \001(\005\022\024\n\014tr" - "ainer_port\030o \001(\005\022\031\n\021online_coach_port\030p " - "\001(\005\022\024\n\014verbose_mode\030q \001(\010\022\032\n\022coach_send_" - "vi_step\030r \001(\005\022\023\n\013replay_file\030s \001(\t\022\025\n\rla" - "ndmark_file\030t \001(\t\022\022\n\nsend_comms\030u \001(\010\022\024\n" - "\014text_logging\030v \001(\010\022\024\n\014game_logging\030w \001(" - "\010\022\030\n\020game_log_version\030x \001(\005\022\024\n\014text_log_" - "dir\030y \001(\t\022\024\n\014game_log_dir\030z \001(\t\022\033\n\023text_" - "log_fixed_name\030{ \001(\t\022\033\n\023game_log_fixed_n" - "ame\030| \001(\t\022\032\n\022use_text_log_fixed\030} \001(\010\022\032\n" - "\022use_game_log_fixed\030~ \001(\010\022\032\n\022use_text_lo" - "g_dated\030\177 \001(\010\022\033\n\022use_game_log_dated\030\200\001 \001" - "(\010\022\030\n\017log_date_format\030\201\001 \001(\t\022\022\n\tlog_time" - "s\030\202\001 \001(\010\022\027\n\016record_message\030\203\001 \001(\010\022\035\n\024tex" - "t_log_compression\030\204\001 \001(\005\022\035\n\024game_log_com" - "pression\030\205\001 \001(\005\022\024\n\013use_profile\030\206\001 \001(\010\022\024\n" - "\013tackle_dist\030\207\001 \001(\002\022\031\n\020tackle_back_dist\030" - "\210\001 \001(\002\022\025\n\014tackle_width\030\211\001 \001(\002\022\030\n\017tackle_" - "exponent\030\212\001 \001(\002\022\026\n\rtackle_cycles\030\213\001 \001(\005\022" - "\032\n\021tackle_power_rate\030\214\001 \001(\002\022\035\n\024freeform_" - "wait_period\030\215\001 \001(\005\022\035\n\024freeform_send_peri" - "od\030\216\001 \001(\005\022\031\n\020free_kick_faults\030\217\001 \001(\010\022\024\n\013" - "back_passes\030\220\001 \001(\010\022\032\n\021proper_goal_kicks\030" - "\221\001 \001(\010\022\031\n\020stopped_ball_vel\030\222\001 \001(\002\022\027\n\016max" - "_goal_kicks\030\223\001 \001(\005\022\026\n\rclang_del_win\030\224\001 \001" - "(\005\022\027\n\016clang_rule_win\030\225\001 \001(\005\022\022\n\tauto_mode" - "\030\226\001 \001(\010\022\026\n\rkick_off_wait\030\227\001 \001(\005\022\025\n\014conne" - "ct_wait\030\230\001 \001(\005\022\027\n\016game_over_wait\030\231\001 \001(\005\022" - "\025\n\014team_l_start\030\232\001 \001(\t\022\025\n\014team_r_start\030\233" - "\001 \001(\t\022\026\n\rkeepaway_mode\030\234\001 \001(\010\022\030\n\017keepawa" - "y_length\030\235\001 \001(\002\022\027\n\016keepaway_width\030\236\001 \001(\002" - "\022\031\n\020keepaway_logging\030\237\001 \001(\010\022\031\n\020keepaway_" - "log_dir\030\240\001 \001(\t\022 \n\027keepaway_log_fixed_nam" - "e\030\241\001 \001(\t\022\033\n\022keepaway_log_fixed\030\242\001 \001(\010\022\033\n" - "\022keepaway_log_dated\030\243\001 \001(\010\022\027\n\016keepaway_s" - "tart\030\244\001 \001(\005\022\030\n\017nr_normal_halfs\030\245\001 \001(\005\022\027\n" - "\016nr_extra_halfs\030\246\001 \001(\005\022\033\n\022penalty_shoot_" - "outs\030\247\001 \001(\010\022\036\n\025pen_before_setup_wait\030\250\001 " - "\001(\005\022\027\n\016pen_setup_wait\030\251\001 \001(\005\022\027\n\016pen_read" - "y_wait\030\252\001 \001(\005\022\027\n\016pen_taken_wait\030\253\001 \001(\005\022\025" - "\n\014pen_nr_kicks\030\254\001 \001(\005\022\034\n\023pen_max_extra_k" - "icks\030\255\001 \001(\005\022\023\n\npen_dist_x\030\256\001 \001(\002\022\032\n\021pen_" - "random_winner\030\257\001 \001(\010\022\035\n\024pen_allow_mult_k" - "icks\030\260\001 \001(\010\022\036\n\025pen_max_goalie_dist_x\030\261\001 " - "\001(\002\022 \n\027pen_coach_moves_players\030\262\001 \001(\010\022\023\n" - "\nmodule_dir\030\263\001 \001(\t\022\030\n\017ball_stuck_area\030\264\001" - " \001(\002\022\027\n\016coach_msg_file\030\265\001 \001(\t\022\031\n\020max_tac" - "kle_power\030\266\001 \001(\002\022\036\n\025max_back_tackle_powe" - "r\030\267\001 \001(\002\022\035\n\024player_speed_max_min\030\270\001 \001(\002\022" - "\026\n\rextra_stamina\030\271\001 \001(\002\022\031\n\020synch_see_off" - "set\030\272\001 \001(\005\022\030\n\017extra_half_time\030\273\001 \001(\005\022\031\n\020" - "stamina_capacity\030\274\001 \001(\002\022\027\n\016max_dash_angl" - "e\030\275\001 \001(\002\022\027\n\016min_dash_angle\030\276\001 \001(\002\022\030\n\017das" - "h_angle_step\030\277\001 \001(\002\022\027\n\016side_dash_rate\030\300\001" - " \001(\002\022\027\n\016back_dash_rate\030\301\001 \001(\002\022\027\n\016max_das" - "h_power\030\302\001 \001(\002\022\027\n\016min_dash_power\030\303\001 \001(\002\022" - "\033\n\022tackle_rand_factor\030\304\001 \001(\002\022 \n\027foul_det" - "ect_probability\030\305\001 \001(\002\022\026\n\rfoul_exponent\030" - "\306\001 \001(\002\022\024\n\013foul_cycles\030\307\001 \001(\005\022\024\n\013golden_g" - "oal\030\310\001 \001(\010\022\035\n\024red_card_probability\030\311\001 \001(" - "\002\022!\n\030illegal_defense_duration\030\312\001 \001(\005\022\037\n\026" - "illegal_defense_number\030\313\001 \001(\005\022\037\n\026illegal" - "_defense_dist_x\030\314\001 \001(\002\022\036\n\025illegal_defens" - "e_width\030\315\001 \001(\002\022\031\n\020fixed_teamname_l\030\316\001 \001(" - "\t\022\031\n\020fixed_teamname_r\030\317\001 \001(\t\022\030\n\017max_catc" - "h_angle\030\320\001 \001(\002\022\030\n\017min_catch_angle\030\321\001 \001(\002" - "\022\024\n\013random_seed\030\322\001 \001(\005\022\037\n\026long_kick_powe" - "r_factor\030\323\001 \001(\002\022\030\n\017long_kick_delay\030\324\001 \001(" - "\005\022\025\n\014max_monitors\030\325\001 \001(\005\022\027\n\016catchable_ar" - "ea\030\326\001 \001(\002\022\027\n\016real_speed_max\030\327\001 \001(\002\022\032\n\021pi" - "tch_half_length\030\330\001 \001(\002\022\031\n\020pitch_half_wid" - "th\030\331\001 \001(\002\022 \n\027our_penalty_area_line_x\030\332\001 " - "\001(\002\022\"\n\031their_penalty_area_line_x\030\333\001 \001(\002\022" - " \n\027penalty_area_half_width\030\334\001 \001(\002\022\034\n\023pen" - "alty_area_length\030\335\001 \001(\002\022\023\n\ngoal_width\030\336\001" - " \001(\002\"\215\010\n\013PlayerParam\0223\n\021register_respons" - "e\030\001 \001(\0132\030.protos.RegisterResponse\022\024\n\014pla" - "yer_types\030\002 \001(\005\022\020\n\010subs_max\030\003 \001(\005\022\016\n\006pt_" - "max\030\004 \001(\005\022\037\n\027allow_mult_default_type\030\005 \001" - "(\010\022\"\n\032player_speed_max_delta_min\030\006 \001(\002\022\"" - "\n\032player_speed_max_delta_max\030\007 \001(\002\022$\n\034st" - "amina_inc_max_delta_factor\030\010 \001(\002\022\036\n\026play" - "er_decay_delta_min\030\t \001(\002\022\036\n\026player_decay" - "_delta_max\030\n \001(\002\022#\n\033inertia_moment_delta" - "_factor\030\013 \001(\002\022!\n\031dash_power_rate_delta_m" - "in\030\014 \001(\002\022!\n\031dash_power_rate_delta_max\030\r " - "\001(\002\022 \n\030player_size_delta_factor\030\016 \001(\002\022!\n" - "\031kickable_margin_delta_min\030\017 \001(\002\022!\n\031kick" - "able_margin_delta_max\030\020 \001(\002\022\036\n\026kick_rand" - "_delta_factor\030\021 \001(\002\022\037\n\027extra_stamina_del" - "ta_min\030\022 \001(\002\022\037\n\027extra_stamina_delta_max\030" - "\023 \001(\002\022\037\n\027effort_max_delta_factor\030\024 \001(\002\022\037" - "\n\027effort_min_delta_factor\030\025 \001(\002\022\023\n\013rando" - "m_seed\030\026 \001(\005\022%\n\035new_dash_power_rate_delt" - "a_min\030\027 \001(\002\022%\n\035new_dash_power_rate_delta" - "_max\030\030 \001(\002\022(\n new_stamina_inc_max_delta_" - "factor\030\031 \001(\002\022!\n\031kick_power_rate_delta_mi" - "n\030\032 \001(\002\022!\n\031kick_power_rate_delta_max\030\033 \001" - "(\002\022,\n$foul_detect_probability_delta_fact" - "or\030\034 \001(\002\022$\n\034catchable_area_l_stretch_min" - "\030\035 \001(\002\022$\n\034catchable_area_l_stretch_max\030\036" - " \001(\002\"\277\007\n\nPlayerType\0223\n\021register_response" - "\030\001 \001(\0132\030.protos.RegisterResponse\022\n\n\002id\030\002" - " \001(\005\022\027\n\017stamina_inc_max\030\003 \001(\002\022\024\n\014player_" - "decay\030\004 \001(\002\022\026\n\016inertia_moment\030\005 \001(\002\022\027\n\017d" - "ash_power_rate\030\006 \001(\002\022\023\n\013player_size\030\007 \001(" - "\002\022\027\n\017kickable_margin\030\010 \001(\002\022\021\n\tkick_rand\030" - "\t \001(\002\022\025\n\rextra_stamina\030\n \001(\002\022\022\n\neffort_m" - "ax\030\013 \001(\002\022\022\n\neffort_min\030\014 \001(\002\022\027\n\017kick_pow" - "er_rate\030\r \001(\002\022\037\n\027foul_detect_probability" - "\030\016 \001(\002\022 \n\030catchable_area_l_stretch\030\017 \001(\002" - "\022\027\n\017unum_far_length\030\020 \001(\002\022\033\n\023unum_too_fa" - "r_length\030\021 \001(\002\022\027\n\017team_far_length\030\022 \001(\002\022" - "\033\n\023team_too_far_length\030\023 \001(\002\022%\n\035player_m" - "ax_observation_length\030\024 \001(\002\022\033\n\023ball_vel_" - "far_length\030\025 \001(\002\022\037\n\027ball_vel_too_far_len" - "gth\030\026 \001(\002\022#\n\033ball_max_observation_length" - "\030\027 \001(\002\022\033\n\023flag_chg_far_length\030\030 \001(\002\022\037\n\027f" - "lag_chg_too_far_length\030\031 \001(\002\022#\n\033flag_max" - "_observation_length\030\032 \001(\002\022\025\n\rkickable_ar" - "ea\030\033 \001(\002\022\037\n\027reliable_catchable_dist\030\034 \001(" - "\002\022\032\n\022max_catchable_dist\030\035 \001(\002\022\026\n\016real_sp" - "eed_max\030\036 \001(\002\022\031\n\021player_speed_max2\030\037 \001(\002" - "\022\027\n\017real_speed_max2\030 \001(\002\022!\n\031cycles_to_r" - "each_max_speed\030! \001(\005\022\030\n\020player_speed_max" - "\030\" \001(\002\"\255\003\n\024RpcCooperativeAction\022+\n\010categ" - "ory\030\001 \001(\0162\031.protos.RpcActionCategory\022\r\n\005" - "index\030\002 \001(\005\022\023\n\013sender_unum\030\003 \001(\005\022\023\n\013targ" - "et_unum\030\004 \001(\005\022)\n\014target_point\030\005 \001(\0132\023.pr" - "otos.RpcVector2D\022\030\n\020first_ball_speed\030\006 \001" - "(\001\022\031\n\021first_turn_moment\030\007 \001(\001\022\030\n\020first_d" - "ash_power\030\010 \001(\001\022!\n\031first_dash_angle_rela" - "tive\030\t \001(\001\022\025\n\rduration_step\030\n \001(\005\022\022\n\nkic" - "k_count\030\013 \001(\005\022\022\n\nturn_count\030\014 \001(\005\022\022\n\ndas" - "h_count\030\r \001(\005\022\024\n\014final_action\030\016 \001(\010\022\023\n\013d" - "escription\030\017 \001(\t\022\024\n\014parent_index\030\020 \001(\005\"\317" - "\001\n\017RpcPredictState\022\022\n\nspend_time\030\001 \001(\005\022\030" - "\n\020ball_holder_unum\030\002 \001(\005\022*\n\rball_positio" - "n\030\003 \001(\0132\023.protos.RpcVector2D\022*\n\rball_vel" - "ocity\030\004 \001(\0132\023.protos.RpcVector2D\022\032\n\022our_" - "defense_line_x\030\005 \001(\001\022\032\n\022our_offense_line" - "_x\030\006 \001(\001\"\202\001\n\016RpcActionState\022,\n\006action\030\001 " - "\001(\0132\034.protos.RpcCooperativeAction\022.\n\rpre" - "dict_state\030\002 \001(\0132\027.protos.RpcPredictStat" - "e\022\022\n\nevaluation\030\003 \001(\001\"\357\001\n\030BestPlannerAct" - "ionRequest\0223\n\021register_response\030\001 \001(\0132\030." - "protos.RegisterResponse\022:\n\005pairs\030\002 \003(\0132+" - ".protos.BestPlannerActionRequest.PairsEn" - "try\022\034\n\005state\030\003 \001(\0132\r.protos.State\032D\n\nPai" - "rsEntry\022\013\n\003key\030\001 \001(\005\022%\n\005value\030\002 \001(\0132\026.pr" - "otos.RpcActionState:\0028\001\"*\n\031BestPlannerAc" - "tionResponse\022\r\n\005index\030\001 \001(\005\"\007\n\005Empty*-\n\t" - "ViewWidth\022\n\n\006NARROW\020\000\022\n\n\006NORMAL\020\001\022\010\n\004WID" - "E\020\002*(\n\004Side\022\013\n\007UNKNOWN\020\000\022\010\n\004LEFT\020\001\022\t\n\005RI" - "GHT\020\002*\262\002\n\013LoggerLevel\022\r\n\tNoneLevel\020\000\022\n\n\006" - "SYSTEM\020\001\022\n\n\006SENSOR\020\002\022\t\n\005WORLD\020\004\022\n\n\006ACTIO" - "N\020\010\022\r\n\tINTERCEPT\020\020\022\010\n\004KICK\020 \022\010\n\004HOLD\020@\022\014" - "\n\007DRIBBLE\020\200\001\022\t\n\004PASS\020\200\002\022\n\n\005CROSS\020\200\004\022\n\n\005S" - "HOOT\020\200\010\022\n\n\005CLEAR\020\200\020\022\n\n\005BLOCK\020\200 \022\t\n\004MARK\020" - "\200@\022\021\n\013POSITIONING\020\200\200\001\022\n\n\004ROLE\020\200\200\002\022\n\n\004TEA" - "M\020\200\200\004\022\023\n\rCOMMUNICATION\020\200\200\010\022\016\n\010ANALYZER\020\200" - "\200\020\022\022\n\014ACTION_CHAIN\020\200\200 \022\n\n\004PLAN\020\200\200@*v\n\023In" - "terceptActionType\022!\n\035UNKNOWN_Intercept_A" - "ction_Type\020\000\022\r\n\tOMNI_DASH\020\001\022\025\n\021TURN_FORW" - "ARD_DASH\020\002\022\026\n\022TURN_BACKWARD_DASH\020\003*\273\004\n\014G" - "ameModeType\022\021\n\rBeforeKickOff\020\000\022\014\n\010TimeOv" - "er\020\001\022\n\n\006PlayOn\020\002\022\014\n\010KickOff_\020\003\022\013\n\007KickIn" - "_\020\004\022\r\n\tFreeKick_\020\005\022\017\n\013CornerKick_\020\006\022\r\n\tG" - "oalKick_\020\007\022\016\n\nAfterGoal_\020\010\022\014\n\010OffSide_\020\t" - "\022\020\n\014PenaltyKick_\020\n\022\021\n\rFirstHalfOver\020\013\022\t\n" - "\005Pause\020\014\022\t\n\005Human\020\r\022\017\n\013FoulCharge_\020\016\022\r\n\t" - "FoulPush_\020\017\022\031\n\025FoulMultipleAttacker_\020\020\022\020" - "\n\014FoulBallOut_\020\021\022\r\n\tBackPass_\020\022\022\022\n\016FreeK" - "ickFault_\020\023\022\017\n\013CatchFault_\020\024\022\020\n\014IndFreeK" - "ick_\020\025\022\021\n\rPenaltySetup_\020\026\022\021\n\rPenaltyRead" - "y_\020\027\022\021\n\rPenaltyTaken_\020\030\022\020\n\014PenaltyMiss_\020" - "\031\022\021\n\rPenaltyScore_\020\032\022\023\n\017IllegalDefense_\020" - "\033\022\023\n\017PenaltyOnfield_\020\034\022\020\n\014PenaltyFoul_\020\035" - "\022\020\n\014GoalieCatch_\020\036\022\016\n\nExtendHalf\020\037\022\014\n\010MO" - "DE_MAX\020 *2\n\tAgentType\022\013\n\007PlayerT\020\000\022\n\n\006Co" - "achT\020\001\022\014\n\010TrainerT\020\002*w\n\021RpcActionCategor" - "y\022\013\n\007AC_Hold\020\000\022\016\n\nAC_Dribble\020\001\022\013\n\007AC_Pas" - "s\020\002\022\014\n\010AC_Shoot\020\003\022\014\n\010AC_Clear\020\004\022\013\n\007AC_Mo" - "ve\020\005\022\017\n\013AC_NoAction\020\0062\373\004\n\004Game\022:\n\020GetPla" - "yerActions\022\r.protos.State\032\025.protos.Playe" - "rActions\"\000\0228\n\017GetCoachActions\022\r.protos.S" - "tate\032\024.protos.CoachActions\"\000\022<\n\021GetTrain" - "erActions\022\r.protos.State\032\026.protos.Traine" - "rActions\"\000\0227\n\017SendInitMessage\022\023.protos.I" - "nitMessage\032\r.protos.Empty\"\000\0228\n\020SendServe" - "rParams\022\023.protos.ServerParam\032\r.protos.Em" - "pty\"\000\0228\n\020SendPlayerParams\022\023.protos.Playe" - "rParam\032\r.protos.Empty\"\000\0225\n\016SendPlayerTyp" - "e\022\022.protos.PlayerType\032\r.protos.Empty\"\000\022\?" - "\n\010Register\022\027.protos.RegisterRequest\032\030.pr" - "otos.RegisterResponse\"\000\022;\n\016SendByeComman" - "d\022\030.protos.RegisterResponse\032\r.protos.Emp" - "ty\"\000\022]\n\024GetBestPlannerAction\022 .protos.Be" - "stPlannerActionRequest\032!.protos.BestPlan" - "nerActionResponse\"\000b\006proto3" -======= "\022distance_threshold\030\002 \001(\002\022\026\n\016max_dash_po" "wer\030\003 \001(\002\"\202\001\n\016Body_SmartKick\022)\n\014target_p" "oint\030\001 \001(\0132\023.protos.RpcVector2D\022\023\n\013first" @@ -6824,407 +6261,403 @@ const char descriptor_table_protodef_service_2eproto[] PROTOBUF_SECTION_VARIABLE "ewWidth\"\r\n\013View_Normal\"\014\n\nView_Synch\"\013\n\t" "View_Wide\"\016\n\014HeliosGoalie\"\022\n\020HeliosGoali" "eMove\"\022\n\020HeliosGoalieKick\"\r\n\013HeliosShoot" - "\"\356\001\n\021HeliosChainAction\022\023\n\013direct_pass\030\001 " - "\001(\010\022\021\n\tlead_pass\030\002 \001(\010\022\024\n\014through_pass\030\003" - " \001(\010\022\025\n\rshort_dribble\030\004 \001(\010\022\024\n\014long_drib" - "ble\030\005 \001(\010\022\r\n\005cross\030\006 \001(\010\022\023\n\013simple_pass\030" - "\007 \001(\010\022\026\n\016simple_dribble\030\010 \001(\010\022\024\n\014simple_" - "shoot\030\t \001(\010\022\034\n\024server_side_decision\030\n \001(" - "\010\"\026\n\024HeliosBasicOffensive\"\021\n\017HeliosBasic" - "Move\"\017\n\rHeliosSetPlay\"\017\n\rHeliosPenalty\"\024" - "\n\022HeliosCommunicaion\"\343\031\n\014PlayerAction\022\034\n" - "\004dash\030\001 \001(\0132\014.protos.DashH\000\022\034\n\004turn\030\002 \001(" - "\0132\014.protos.TurnH\000\022\034\n\004kick\030\003 \001(\0132\014.protos" - ".KickH\000\022 \n\006tackle\030\004 \001(\0132\016.protos.TackleH" - "\000\022\036\n\005catch\030\005 \001(\0132\r.protos.CatchH\000\022\034\n\004mov" - "e\030\006 \001(\0132\014.protos.MoveH\000\022%\n\tturn_neck\030\007 \001" - "(\0132\020.protos.TurnNeckH\000\022)\n\013change_view\030\010 " - "\001(\0132\022.protos.ChangeViewH\000\022\032\n\003say\030\t \001(\0132\013" - ".protos.SayH\000\022#\n\010point_to\030\n \001(\0132\017.protos" - ".PointToH\000\022(\n\013point_to_of\030\013 \001(\0132\021.protos" - ".PointToOfH\000\022+\n\014attention_to\030\014 \001(\0132\023.pro" - "tos.AttentionToH\000\0220\n\017attention_to_of\030\r \001" - "(\0132\025.protos.AttentionToOfH\000\022\032\n\003log\030\016 \001(\013" - "2\013.protos.LogH\000\022+\n\014debug_client\030\017 \001(\0132\023." - "protos.DebugClientH\000\0222\n\020body_go_to_point" - "\030\020 \001(\0132\026.protos.Body_GoToPointH\000\0221\n\017body" - "_smart_kick\030\021 \001(\0132\026.protos.Body_SmartKic" - "kH\000\0228\n\023bhv_before_kick_off\030\022 \001(\0132\031.proto" - "s.Bhv_BeforeKickOffH\000\022;\n\025bhv_body_neck_t" - "o_ball\030\023 \001(\0132\032.protos.Bhv_BodyNeckToBall" - "H\000\022=\n\026bhv_body_neck_to_point\030\024 \001(\0132\033.pro" - "tos.Bhv_BodyNeckToPointH\000\022.\n\rbhv_emergen" - "cy\030\025 \001(\0132\025.protos.Bhv_EmergencyH\000\022B\n\031bhv" - "_go_to_point_look_ball\030\026 \001(\0132\035.protos.Bh" - "v_GoToPointLookBallH\000\022;\n\025bhv_neck_body_t" - "o_ball\030\027 \001(\0132\032.protos.Bhv_NeckBodyToBall" - "H\000\022=\n\026bhv_neck_body_to_point\030\030 \001(\0132\033.pro" - "tos.Bhv_NeckBodyToPointH\000\022/\n\016bhv_scan_fi" - "eld\030\031 \001(\0132\025.protos.Bhv_ScanFieldH\000\0225\n\021bo" - "dy_advance_ball\030\032 \001(\0132\030.protos.Body_Adva" - "nceBallH\000\0221\n\017body_clear_ball\030\033 \001(\0132\026.pro" - "tos.Body_ClearBallH\000\022,\n\014body_dribble\030\034 \001" - "(\0132\024.protos.Body_DribbleH\000\022=\n\026body_go_to" - "_point_dodge\030\035 \001(\0132\033.protos.Body_GoToPoi" - "ntDodgeH\000\022/\n\016body_hold_ball\030\036 \001(\0132\025.prot" - "os.Body_HoldBallH\000\0220\n\016body_intercept\030\037 \001" - "(\0132\026.protos.Body_InterceptH\000\0226\n\022body_kic" - "k_one_step\030 \001(\0132\030.protos.Body_KickOneSt" - "epH\000\022/\n\016body_stop_ball\030! \001(\0132\025.protos.Bo" - "dy_StopBallH\000\022/\n\016body_stop_dash\030\" \001(\0132\025." - "protos.Body_StopDashH\000\022:\n\024body_tackle_to" - "_point\030# \001(\0132\032.protos.Body_TackleToPoint" - "H\000\0226\n\022body_turn_to_angle\030$ \001(\0132\030.protos." - "Body_TurnToAngleH\000\0224\n\021body_turn_to_ball\030" - "% \001(\0132\027.protos.Body_TurnToBallH\000\0226\n\022body" - "_turn_to_point\030& \001(\0132\030.protos.Body_TurnT" - "oPointH\000\0228\n\023focus_move_to_point\030\' \001(\0132\031." - "protos.Focus_MoveToPointH\000\022*\n\013focus_rese" - "t\030( \001(\0132\023.protos.Focus_ResetH\000\0221\n\017neck_s" - "can_field\030) \001(\0132\026.protos.Neck_ScanFieldH" - "\000\0225\n\021neck_scan_players\030* \001(\0132\030.protos.Ne" - "ck_ScanPlayersH\000\022H\n\034neck_turn_to_ball_an" - "d_player\030+ \001(\0132 .protos.Neck_TurnToBallA" - "ndPlayerH\000\022B\n\031neck_turn_to_ball_or_scan\030" - ", \001(\0132\035.protos.Neck_TurnToBallOrScanH\000\0224" - "\n\021neck_turn_to_ball\030- \001(\0132\027.protos.Neck_" - "TurnToBallH\000\022F\n\033neck_turn_to_goalie_or_s" - "can\030. \001(\0132\037.protos.Neck_TurnToGoalieOrSc" - "anH\000\022L\n\036neck_turn_to_low_conf_teammate\030/" - " \001(\0132\".protos.Neck_TurnToLowConfTeammate" - "H\000\022F\n\033neck_turn_to_player_or_scan\0300 \001(\0132" - "\037.protos.Neck_TurnToPlayerOrScanH\000\0226\n\022ne" - "ck_turn_to_point\0301 \001(\0132\030.protos.Neck_Tur" - "nToPointH\000\022<\n\025neck_turn_to_relative\0302 \001(" - "\0132\033.protos.Neck_TurnToRelativeH\000\0225\n\021view" - "_change_width\0303 \001(\0132\030.protos.View_Change" - "WidthH\000\022*\n\013view_normal\0304 \001(\0132\023.protos.Vi" - "ew_NormalH\000\022(\n\nview_synch\0305 \001(\0132\022.protos" - ".View_SynchH\000\022&\n\tview_wide\0306 \001(\0132\021.proto" - "s.View_WideH\000\022-\n\rhelios_goalie\0307 \001(\0132\024.p" - "rotos.HeliosGoalieH\000\0226\n\022helios_goalie_mo" - "ve\0308 \001(\0132\030.protos.HeliosGoalieMoveH\000\0226\n\022" - "helios_goalie_kick\0309 \001(\0132\030.protos.Helios" - "GoalieKickH\000\022+\n\014helios_shoot\030: \001(\0132\023.pro" - "tos.HeliosShootH\000\0228\n\023helios_chain_action" - "\030; \001(\0132\031.protos.HeliosChainActionH\000\022>\n\026h" - "elios_basic_offensive\030< \001(\0132\034.protos.Hel" - "iosBasicOffensiveH\000\0224\n\021helios_basic_move" - "\030= \001(\0132\027.protos.HeliosBasicMoveH\000\0220\n\017hel" - "ios_set_play\030> \001(\0132\025.protos.HeliosSetPla" - "yH\000\022/\n\016helios_penalty\030\? \001(\0132\025.protos.Hel" - "iosPenaltyH\000\022:\n\024helios_communication\030@ \001" - "(\0132\032.protos.HeliosCommunicaionH\000B\010\n\006acti" - "on\"Q\n\rPlayerActions\022%\n\007actions\030\001 \003(\0132\024.p" - "rotos.PlayerAction\022\031\n\021ignore_preprocess\030" - "\002 \001(\010\"8\n\020ChangePlayerType\022\026\n\016uniform_num" - "ber\030\001 \001(\005\022\014\n\004type\030\002 \001(\005\"\024\n\022DoHeliosSubst" - "itute\"\030\n\026DoHeliosSayPlayerTypes\"\322\001\n\013Coac" - "hAction\0227\n\023change_player_types\030\001 \001(\0132\030.p" - "rotos.ChangePlayerTypeH\000\022:\n\024do_helios_su" - "bstitute\030\002 \001(\0132\032.protos.DoHeliosSubstitu" - "teH\000\022D\n\032do_helios_say_player_types\030\003 \001(\013" - "2\036.protos.DoHeliosSayPlayerTypesH\000B\010\n\006ac" - "tion\"4\n\014CoachActions\022$\n\007actions\030\001 \003(\0132\023." - "protos.CoachAction\"\013\n\tDoKickOff\"Z\n\nDoMov" - "eBall\022%\n\010position\030\001 \001(\0132\023.protos.RpcVect" - "or2D\022%\n\010velocity\030\002 \001(\0132\023.protos.RpcVecto" - "r2D\"w\n\014DoMovePlayer\022\020\n\010our_side\030\001 \001(\010\022\026\n" - "\016uniform_number\030\002 \001(\005\022%\n\010position\030\003 \001(\0132" - "\023.protos.RpcVector2D\022\026\n\016body_direction\030\004" - " \001(\002\"\013\n\tDoRecover\"X\n\014DoChangeMode\022,\n\016gam" - "e_mode_type\030\001 \001(\0162\024.protos.GameModeType\022" - "\032\n\004side\030\002 \001(\0162\014.protos.Side\"L\n\022DoChangeP" - "layerType\022\020\n\010our_side\030\001 \001(\010\022\026\n\016uniform_n" - "umber\030\002 \001(\005\022\014\n\004type\030\003 \001(\005\"\265\002\n\rTrainerAct" - "ion\022(\n\013do_kick_off\030\001 \001(\0132\021.protos.DoKick" - "OffH\000\022*\n\014do_move_ball\030\002 \001(\0132\022.protos.DoM" - "oveBallH\000\022.\n\016do_move_player\030\003 \001(\0132\024.prot" - "os.DoMovePlayerH\000\022\'\n\ndo_recover\030\004 \001(\0132\021." - "protos.DoRecoverH\000\022.\n\016do_change_mode\030\005 \001" - "(\0132\024.protos.DoChangeModeH\000\022;\n\025do_change_" - "player_type\030\006 \001(\0132\032.protos.DoChangePlaye" - "rTypeH\000B\010\n\006action\"8\n\016TrainerActions\022&\n\007a" - "ctions\030\001 \003(\0132\025.protos.TrainerAction\"\335,\n\013" - "ServerParam\0223\n\021register_response\030\001 \001(\0132\030" - ".protos.RegisterResponse\022\026\n\016inertia_mome" - "nt\030\002 \001(\002\022\023\n\013player_size\030\003 \001(\002\022\024\n\014player_" - "decay\030\004 \001(\002\022\023\n\013player_rand\030\005 \001(\002\022\025\n\rplay" - "er_weight\030\006 \001(\002\022\030\n\020player_speed_max\030\007 \001(" - "\002\022\030\n\020player_accel_max\030\010 \001(\002\022\023\n\013stamina_m" - "ax\030\t \001(\002\022\027\n\017stamina_inc_max\030\n \001(\002\022\024\n\014rec" - "over_init\030\013 \001(\002\022\027\n\017recover_dec_thr\030\014 \001(\002" - "\022\023\n\013recover_min\030\r \001(\002\022\023\n\013recover_dec\030\016 \001" - "(\002\022\023\n\013effort_init\030\017 \001(\002\022\026\n\016effort_dec_th" - "r\030\020 \001(\002\022\022\n\neffort_min\030\021 \001(\002\022\022\n\neffort_de" - "c\030\022 \001(\002\022\026\n\016effort_inc_thr\030\023 \001(\002\022\022\n\neffor" - "t_inc\030\024 \001(\002\022\021\n\tkick_rand\030\025 \001(\002\022\033\n\023team_a" - "ctuator_noise\030\026 \001(\010\022\034\n\024player_rand_facto" - "r_l\030\027 \001(\002\022\034\n\024player_rand_factor_r\030\030 \001(\002\022" - "\032\n\022kick_rand_factor_l\030\031 \001(\002\022\032\n\022kick_rand" - "_factor_r\030\032 \001(\002\022\021\n\tball_size\030\033 \001(\002\022\022\n\nba" - "ll_decay\030\034 \001(\002\022\021\n\tball_rand\030\035 \001(\002\022\023\n\013bal" - "l_weight\030\036 \001(\002\022\026\n\016ball_speed_max\030\037 \001(\002\022\026" - "\n\016ball_accel_max\030 \001(\002\022\027\n\017dash_power_rat" - "e\030! \001(\002\022\027\n\017kick_power_rate\030\" \001(\002\022\027\n\017kick" - "able_margin\030# \001(\002\022\026\n\016control_radius\030$ \001(" - "\002\022\034\n\024control_radius_width\030% \001(\002\022\021\n\tmax_p" - "ower\030& \001(\002\022\021\n\tmin_power\030\' \001(\002\022\022\n\nmax_mom" - "ent\030( \001(\002\022\022\n\nmin_moment\030) \001(\002\022\027\n\017max_nec" - "k_moment\030* \001(\002\022\027\n\017min_neck_moment\030+ \001(\002\022" - "\026\n\016max_neck_angle\030, \001(\002\022\026\n\016min_neck_angl" - "e\030- \001(\002\022\025\n\rvisible_angle\030. \001(\002\022\030\n\020visibl" - "e_distance\030/ \001(\002\022\020\n\010wind_dir\0300 \001(\002\022\022\n\nwi" - "nd_force\0301 \001(\002\022\022\n\nwind_angle\0302 \001(\002\022\021\n\twi" - "nd_rand\0303 \001(\002\022\025\n\rkickable_area\0304 \001(\002\022\024\n\014" - "catch_area_l\0305 \001(\002\022\024\n\014catch_area_w\0306 \001(\002" - "\022\031\n\021catch_probability\0307 \001(\002\022\030\n\020goalie_ma" - "x_moves\0308 \001(\005\022\032\n\022corner_kick_margin\0309 \001(" - "\002\022 \n\030offside_active_area_size\030: \001(\002\022\021\n\tw" - "ind_none\030; \001(\010\022\027\n\017use_wind_random\030< \001(\010\022" - "\033\n\023coach_say_count_max\030= \001(\005\022\032\n\022coach_sa" - "y_msg_size\030> \001(\005\022\026\n\016clang_win_size\030\? \001(\005" - "\022\030\n\020clang_define_win\030@ \001(\005\022\026\n\016clang_meta" - "_win\030A \001(\005\022\030\n\020clang_advice_win\030B \001(\005\022\026\n\016" - "clang_info_win\030C \001(\005\022\030\n\020clang_mess_delay" - "\030D \001(\005\022\034\n\024clang_mess_per_cycle\030E \001(\005\022\021\n\t" - "half_time\030F \001(\005\022\026\n\016simulator_step\030G \001(\005\022" - "\021\n\tsend_step\030H \001(\005\022\021\n\trecv_step\030I \001(\005\022\027\n" - "\017sense_body_step\030J \001(\005\022\020\n\010lcm_step\030K \001(\005" - "\022\033\n\023player_say_msg_size\030L \001(\005\022\027\n\017player_" - "hear_max\030M \001(\005\022\027\n\017player_hear_inc\030N \001(\005\022" - "\031\n\021player_hear_decay\030O \001(\005\022\027\n\017catch_ban_" - "cycle\030P \001(\005\022\030\n\020slow_down_factor\030Q \001(\005\022\023\n" - "\013use_offside\030R \001(\010\022\027\n\017kickoff_offside\030S " - "\001(\010\022\033\n\023offside_kick_margin\030T \001(\002\022\026\n\016audi" - "o_cut_dist\030U \001(\002\022\032\n\022dist_quantize_step\030V" - " \001(\002\022#\n\033landmark_dist_quantize_step\030W \001(" - "\002\022\031\n\021dir_quantize_step\030X \001(\002\022\034\n\024dist_qua" - "ntize_step_l\030Y \001(\002\022\034\n\024dist_quantize_step" - "_r\030Z \001(\002\022%\n\035landmark_dist_quantize_step_" - "l\030[ \001(\002\022%\n\035landmark_dist_quantize_step_r" - "\030\\ \001(\002\022\033\n\023dir_quantize_step_l\030] \001(\002\022\033\n\023d" - "ir_quantize_step_r\030^ \001(\002\022\022\n\ncoach_mode\030_" - " \001(\010\022\037\n\027coach_with_referee_mode\030` \001(\010\022\032\n" - "\022use_old_coach_hear\030a \001(\010\022%\n\035slowness_on" - "_top_for_left_team\030b \001(\002\022&\n\036slowness_on_" - "top_for_right_team\030c \001(\002\022\024\n\014start_goal_l" - "\030d \001(\005\022\024\n\014start_goal_r\030e \001(\005\022\023\n\013fullstat" - "e_l\030f \001(\010\022\023\n\013fullstate_r\030g \001(\010\022\026\n\016drop_b" - "all_time\030h \001(\005\022\022\n\nsynch_mode\030i \001(\010\022\024\n\014sy" - "nch_offset\030j \001(\005\022\031\n\021synch_micro_sleep\030k " - "\001(\005\022\024\n\014point_to_ban\030l \001(\005\022\031\n\021point_to_du" - "ration\030m \001(\005\022\023\n\013player_port\030n \001(\005\022\024\n\014tra" - "iner_port\030o \001(\005\022\031\n\021online_coach_port\030p \001" - "(\005\022\024\n\014verbose_mode\030q \001(\010\022\032\n\022coach_send_v" - "i_step\030r \001(\005\022\023\n\013replay_file\030s \001(\t\022\025\n\rlan" - "dmark_file\030t \001(\t\022\022\n\nsend_comms\030u \001(\010\022\024\n\014" - "text_logging\030v \001(\010\022\024\n\014game_logging\030w \001(\010" - "\022\030\n\020game_log_version\030x \001(\005\022\024\n\014text_log_d" - "ir\030y \001(\t\022\024\n\014game_log_dir\030z \001(\t\022\033\n\023text_l" - "og_fixed_name\030{ \001(\t\022\033\n\023game_log_fixed_na" - "me\030| \001(\t\022\032\n\022use_text_log_fixed\030} \001(\010\022\032\n\022" - "use_game_log_fixed\030~ \001(\010\022\032\n\022use_text_log" - "_dated\030\177 \001(\010\022\033\n\022use_game_log_dated\030\200\001 \001(" - "\010\022\030\n\017log_date_format\030\201\001 \001(\t\022\022\n\tlog_times" - "\030\202\001 \001(\010\022\027\n\016record_message\030\203\001 \001(\010\022\035\n\024text" - "_log_compression\030\204\001 \001(\005\022\035\n\024game_log_comp" - "ression\030\205\001 \001(\005\022\024\n\013use_profile\030\206\001 \001(\010\022\024\n\013" - "tackle_dist\030\207\001 \001(\002\022\031\n\020tackle_back_dist\030\210" - "\001 \001(\002\022\025\n\014tackle_width\030\211\001 \001(\002\022\030\n\017tackle_e" - "xponent\030\212\001 \001(\002\022\026\n\rtackle_cycles\030\213\001 \001(\005\022\032" - "\n\021tackle_power_rate\030\214\001 \001(\002\022\035\n\024freeform_w" - "ait_period\030\215\001 \001(\005\022\035\n\024freeform_send_perio" - "d\030\216\001 \001(\005\022\031\n\020free_kick_faults\030\217\001 \001(\010\022\024\n\013b" - "ack_passes\030\220\001 \001(\010\022\032\n\021proper_goal_kicks\030\221" - "\001 \001(\010\022\031\n\020stopped_ball_vel\030\222\001 \001(\002\022\027\n\016max_" - "goal_kicks\030\223\001 \001(\005\022\026\n\rclang_del_win\030\224\001 \001(" - "\005\022\027\n\016clang_rule_win\030\225\001 \001(\005\022\022\n\tauto_mode\030" - "\226\001 \001(\010\022\026\n\rkick_off_wait\030\227\001 \001(\005\022\025\n\014connec" - "t_wait\030\230\001 \001(\005\022\027\n\016game_over_wait\030\231\001 \001(\005\022\025" - "\n\014team_l_start\030\232\001 \001(\t\022\025\n\014team_r_start\030\233\001" - " \001(\t\022\026\n\rkeepaway_mode\030\234\001 \001(\010\022\030\n\017keepaway" - "_length\030\235\001 \001(\002\022\027\n\016keepaway_width\030\236\001 \001(\002\022" - "\031\n\020keepaway_logging\030\237\001 \001(\010\022\031\n\020keepaway_l" - "og_dir\030\240\001 \001(\t\022 \n\027keepaway_log_fixed_name" - "\030\241\001 \001(\t\022\033\n\022keepaway_log_fixed\030\242\001 \001(\010\022\033\n\022" - "keepaway_log_dated\030\243\001 \001(\010\022\027\n\016keepaway_st" - "art\030\244\001 \001(\005\022\030\n\017nr_normal_halfs\030\245\001 \001(\005\022\027\n\016" - "nr_extra_halfs\030\246\001 \001(\005\022\033\n\022penalty_shoot_o" - "uts\030\247\001 \001(\010\022\036\n\025pen_before_setup_wait\030\250\001 \001" - "(\005\022\027\n\016pen_setup_wait\030\251\001 \001(\005\022\027\n\016pen_ready" - "_wait\030\252\001 \001(\005\022\027\n\016pen_taken_wait\030\253\001 \001(\005\022\025\n" - "\014pen_nr_kicks\030\254\001 \001(\005\022\034\n\023pen_max_extra_ki" - "cks\030\255\001 \001(\005\022\023\n\npen_dist_x\030\256\001 \001(\002\022\032\n\021pen_r" - "andom_winner\030\257\001 \001(\010\022\035\n\024pen_allow_mult_ki" - "cks\030\260\001 \001(\010\022\036\n\025pen_max_goalie_dist_x\030\261\001 \001" - "(\002\022 \n\027pen_coach_moves_players\030\262\001 \001(\010\022\023\n\n" - "module_dir\030\263\001 \001(\t\022\030\n\017ball_stuck_area\030\264\001 " - "\001(\002\022\027\n\016coach_msg_file\030\265\001 \001(\t\022\031\n\020max_tack" - "le_power\030\266\001 \001(\002\022\036\n\025max_back_tackle_power" - "\030\267\001 \001(\002\022\035\n\024player_speed_max_min\030\270\001 \001(\002\022\026" - "\n\rextra_stamina\030\271\001 \001(\002\022\031\n\020synch_see_offs" - "et\030\272\001 \001(\005\022\030\n\017extra_half_time\030\273\001 \001(\005\022\031\n\020s" - "tamina_capacity\030\274\001 \001(\002\022\027\n\016max_dash_angle" - "\030\275\001 \001(\002\022\027\n\016min_dash_angle\030\276\001 \001(\002\022\030\n\017dash" - "_angle_step\030\277\001 \001(\002\022\027\n\016side_dash_rate\030\300\001 " - "\001(\002\022\027\n\016back_dash_rate\030\301\001 \001(\002\022\027\n\016max_dash" - "_power\030\302\001 \001(\002\022\027\n\016min_dash_power\030\303\001 \001(\002\022\033" - "\n\022tackle_rand_factor\030\304\001 \001(\002\022 \n\027foul_dete" - "ct_probability\030\305\001 \001(\002\022\026\n\rfoul_exponent\030\306" - "\001 \001(\002\022\024\n\013foul_cycles\030\307\001 \001(\005\022\024\n\013golden_go" - "al\030\310\001 \001(\010\022\035\n\024red_card_probability\030\311\001 \001(\002" - "\022!\n\030illegal_defense_duration\030\312\001 \001(\005\022\037\n\026i" - "llegal_defense_number\030\313\001 \001(\005\022\037\n\026illegal_" - "defense_dist_x\030\314\001 \001(\002\022\036\n\025illegal_defense" - "_width\030\315\001 \001(\002\022\031\n\020fixed_teamname_l\030\316\001 \001(\t" - "\022\031\n\020fixed_teamname_r\030\317\001 \001(\t\022\030\n\017max_catch" - "_angle\030\320\001 \001(\002\022\030\n\017min_catch_angle\030\321\001 \001(\002\022" - "\024\n\013random_seed\030\322\001 \001(\005\022\037\n\026long_kick_power" - "_factor\030\323\001 \001(\002\022\030\n\017long_kick_delay\030\324\001 \001(\005" - "\022\025\n\014max_monitors\030\325\001 \001(\005\022\027\n\016catchable_are" - "a\030\326\001 \001(\002\022\027\n\016real_speed_max\030\327\001 \001(\002\022\032\n\021pit" - "ch_half_length\030\330\001 \001(\002\022\031\n\020pitch_half_widt" - "h\030\331\001 \001(\002\022 \n\027our_penalty_area_line_x\030\332\001 \001" - "(\002\022\"\n\031their_penalty_area_line_x\030\333\001 \001(\002\022 " - "\n\027penalty_area_half_width\030\334\001 \001(\002\022\034\n\023pena" - "lty_area_length\030\335\001 \001(\002\022\023\n\ngoal_width\030\336\001 " - "\001(\002\"\215\010\n\013PlayerParam\0223\n\021register_response" - "\030\001 \001(\0132\030.protos.RegisterResponse\022\024\n\014play" - "er_types\030\002 \001(\005\022\020\n\010subs_max\030\003 \001(\005\022\016\n\006pt_m" - "ax\030\004 \001(\005\022\037\n\027allow_mult_default_type\030\005 \001(" - "\010\022\"\n\032player_speed_max_delta_min\030\006 \001(\002\022\"\n" - "\032player_speed_max_delta_max\030\007 \001(\002\022$\n\034sta" - "mina_inc_max_delta_factor\030\010 \001(\002\022\036\n\026playe" - "r_decay_delta_min\030\t \001(\002\022\036\n\026player_decay_" - "delta_max\030\n \001(\002\022#\n\033inertia_moment_delta_" - "factor\030\013 \001(\002\022!\n\031dash_power_rate_delta_mi" - "n\030\014 \001(\002\022!\n\031dash_power_rate_delta_max\030\r \001" - "(\002\022 \n\030player_size_delta_factor\030\016 \001(\002\022!\n\031" - "kickable_margin_delta_min\030\017 \001(\002\022!\n\031kicka" - "ble_margin_delta_max\030\020 \001(\002\022\036\n\026kick_rand_" - "delta_factor\030\021 \001(\002\022\037\n\027extra_stamina_delt" - "a_min\030\022 \001(\002\022\037\n\027extra_stamina_delta_max\030\023" - " \001(\002\022\037\n\027effort_max_delta_factor\030\024 \001(\002\022\037\n" - "\027effort_min_delta_factor\030\025 \001(\002\022\023\n\013random" - "_seed\030\026 \001(\005\022%\n\035new_dash_power_rate_delta" - "_min\030\027 \001(\002\022%\n\035new_dash_power_rate_delta_" - "max\030\030 \001(\002\022(\n new_stamina_inc_max_delta_f" - "actor\030\031 \001(\002\022!\n\031kick_power_rate_delta_min" - "\030\032 \001(\002\022!\n\031kick_power_rate_delta_max\030\033 \001(" - "\002\022,\n$foul_detect_probability_delta_facto" - "r\030\034 \001(\002\022$\n\034catchable_area_l_stretch_min\030" - "\035 \001(\002\022$\n\034catchable_area_l_stretch_max\030\036 " - "\001(\002\"\277\007\n\nPlayerType\0223\n\021register_response\030" - "\001 \001(\0132\030.protos.RegisterResponse\022\n\n\002id\030\002 " - "\001(\005\022\027\n\017stamina_inc_max\030\003 \001(\002\022\024\n\014player_d" - "ecay\030\004 \001(\002\022\026\n\016inertia_moment\030\005 \001(\002\022\027\n\017da" - "sh_power_rate\030\006 \001(\002\022\023\n\013player_size\030\007 \001(\002" - "\022\027\n\017kickable_margin\030\010 \001(\002\022\021\n\tkick_rand\030\t" - " \001(\002\022\025\n\rextra_stamina\030\n \001(\002\022\022\n\neffort_ma" - "x\030\013 \001(\002\022\022\n\neffort_min\030\014 \001(\002\022\027\n\017kick_powe" - "r_rate\030\r \001(\002\022\037\n\027foul_detect_probability\030" - "\016 \001(\002\022 \n\030catchable_area_l_stretch\030\017 \001(\002\022" - "\027\n\017unum_far_length\030\020 \001(\002\022\033\n\023unum_too_far" - "_length\030\021 \001(\002\022\027\n\017team_far_length\030\022 \001(\002\022\033" - "\n\023team_too_far_length\030\023 \001(\002\022%\n\035player_ma" - "x_observation_length\030\024 \001(\002\022\033\n\023ball_vel_f" - "ar_length\030\025 \001(\002\022\037\n\027ball_vel_too_far_leng" - "th\030\026 \001(\002\022#\n\033ball_max_observation_length\030" - "\027 \001(\002\022\033\n\023flag_chg_far_length\030\030 \001(\002\022\037\n\027fl" - "ag_chg_too_far_length\030\031 \001(\002\022#\n\033flag_max_" - "observation_length\030\032 \001(\002\022\025\n\rkickable_are" - "a\030\033 \001(\002\022\037\n\027reliable_catchable_dist\030\034 \001(\002" - "\022\032\n\022max_catchable_dist\030\035 \001(\002\022\026\n\016real_spe" - "ed_max\030\036 \001(\002\022\031\n\021player_speed_max2\030\037 \001(\002\022" - "\027\n\017real_speed_max2\030 \001(\002\022!\n\031cycles_to_re" - "ach_max_speed\030! \001(\005\022\030\n\020player_speed_max\030" - "\" \001(\002\"\255\003\n\024RpcCooperativeAction\022+\n\010catego" - "ry\030\001 \001(\0162\031.protos.RpcActionCategory\022\r\n\005i" - "ndex\030\002 \001(\005\022\023\n\013sender_unum\030\003 \001(\005\022\023\n\013targe" - "t_unum\030\004 \001(\005\022)\n\014target_point\030\005 \001(\0132\023.pro" - "tos.RpcVector2D\022\030\n\020first_ball_speed\030\006 \001(" - "\001\022\031\n\021first_turn_moment\030\007 \001(\001\022\030\n\020first_da" - "sh_power\030\010 \001(\001\022!\n\031first_dash_angle_relat" - "ive\030\t \001(\001\022\025\n\rduration_step\030\n \001(\005\022\022\n\nkick" - "_count\030\013 \001(\005\022\022\n\nturn_count\030\014 \001(\005\022\022\n\ndash" - "_count\030\r \001(\005\022\024\n\014final_action\030\016 \001(\010\022\023\n\013de" - "scription\030\017 \001(\t\022\024\n\014parent_index\030\020 \001(\005\"\317\001" - "\n\017RpcPredictState\022\022\n\nspend_time\030\001 \001(\005\022\030\n" - "\020ball_holder_unum\030\002 \001(\005\022*\n\rball_position" - "\030\003 \001(\0132\023.protos.RpcVector2D\022*\n\rball_velo" - "city\030\004 \001(\0132\023.protos.RpcVector2D\022\032\n\022our_d" - "efense_line_x\030\005 \001(\001\022\032\n\022our_offense_line_" - "x\030\006 \001(\001\"\202\001\n\016RpcActionState\022,\n\006action\030\001 \001" - "(\0132\034.protos.RpcCooperativeAction\022.\n\rpred" - "ict_state\030\002 \001(\0132\027.protos.RpcPredictState" - "\022\022\n\nevaluation\030\003 \001(\001\"\357\001\n\030BestPlannerActi" - "onRequest\0223\n\021register_response\030\001 \001(\0132\030.p" - "rotos.RegisterResponse\022:\n\005pairs\030\002 \003(\0132+." - "protos.BestPlannerActionRequest.PairsEnt" - "ry\022\034\n\005state\030\003 \001(\0132\r.protos.State\032D\n\nPair" - "sEntry\022\013\n\003key\030\001 \001(\005\022%\n\005value\030\002 \001(\0132\026.pro" - "tos.RpcActionState:\0028\001\"*\n\031BestPlannerAct" - "ionResponse\022\r\n\005index\030\001 \001(\005\"\007\n\005Empty*-\n\tV" - "iewWidth\022\n\n\006NARROW\020\000\022\n\n\006NORMAL\020\001\022\010\n\004WIDE" - "\020\002*(\n\004Side\022\013\n\007UNKNOWN\020\000\022\010\n\004LEFT\020\001\022\t\n\005RIG" - "HT\020\002*\262\002\n\013LoggerLevel\022\r\n\tNoneLevel\020\000\022\n\n\006S" - "YSTEM\020\001\022\n\n\006SENSOR\020\002\022\t\n\005WORLD\020\004\022\n\n\006ACTION" - "\020\010\022\r\n\tINTERCEPT\020\020\022\010\n\004KICK\020 \022\010\n\004HOLD\020@\022\014\n" - "\007DRIBBLE\020\200\001\022\t\n\004PASS\020\200\002\022\n\n\005CROSS\020\200\004\022\n\n\005SH" - "OOT\020\200\010\022\n\n\005CLEAR\020\200\020\022\n\n\005BLOCK\020\200 \022\t\n\004MARK\020\200" - "@\022\021\n\013POSITIONING\020\200\200\001\022\n\n\004ROLE\020\200\200\002\022\n\n\004TEAM" - "\020\200\200\004\022\023\n\rCOMMUNICATION\020\200\200\010\022\016\n\010ANALYZER\020\200\200" - "\020\022\022\n\014ACTION_CHAIN\020\200\200 \022\n\n\004PLAN\020\200\200@*v\n\023Int" - "erceptActionType\022!\n\035UNKNOWN_Intercept_Ac" - "tion_Type\020\000\022\r\n\tOMNI_DASH\020\001\022\025\n\021TURN_FORWA" - "RD_DASH\020\002\022\026\n\022TURN_BACKWARD_DASH\020\003*\273\004\n\014Ga" - "meModeType\022\021\n\rBeforeKickOff\020\000\022\014\n\010TimeOve" - "r\020\001\022\n\n\006PlayOn\020\002\022\014\n\010KickOff_\020\003\022\013\n\007KickIn_" - "\020\004\022\r\n\tFreeKick_\020\005\022\017\n\013CornerKick_\020\006\022\r\n\tGo" - "alKick_\020\007\022\016\n\nAfterGoal_\020\010\022\014\n\010OffSide_\020\t\022" - "\020\n\014PenaltyKick_\020\n\022\021\n\rFirstHalfOver\020\013\022\t\n\005" - "Pause\020\014\022\t\n\005Human\020\r\022\017\n\013FoulCharge_\020\016\022\r\n\tF" - "oulPush_\020\017\022\031\n\025FoulMultipleAttacker_\020\020\022\020\n" - "\014FoulBallOut_\020\021\022\r\n\tBackPass_\020\022\022\022\n\016FreeKi" - "ckFault_\020\023\022\017\n\013CatchFault_\020\024\022\020\n\014IndFreeKi" - "ck_\020\025\022\021\n\rPenaltySetup_\020\026\022\021\n\rPenaltyReady" - "_\020\027\022\021\n\rPenaltyTaken_\020\030\022\020\n\014PenaltyMiss_\020\031" - "\022\021\n\rPenaltyScore_\020\032\022\023\n\017IllegalDefense_\020\033" - "\022\023\n\017PenaltyOnfield_\020\034\022\020\n\014PenaltyFoul_\020\035\022" - "\020\n\014GoalieCatch_\020\036\022\016\n\nExtendHalf\020\037\022\014\n\010MOD" - "E_MAX\020 *2\n\tAgentType\022\013\n\007PlayerT\020\000\022\n\n\006Coa" - "chT\020\001\022\014\n\010TrainerT\020\002*w\n\021RpcActionCategory" - "\022\013\n\007AC_Hold\020\000\022\016\n\nAC_Dribble\020\001\022\013\n\007AC_Pass" - "\020\002\022\014\n\010AC_Shoot\020\003\022\014\n\010AC_Clear\020\004\022\013\n\007AC_Mov" - "e\020\005\022\017\n\013AC_NoAction\020\0062\373\004\n\004Game\022:\n\020GetPlay" - "erActions\022\r.protos.State\032\025.protos.Player" - "Actions\"\000\0228\n\017GetCoachActions\022\r.protos.St" - "ate\032\024.protos.CoachActions\"\000\022<\n\021GetTraine" - "rActions\022\r.protos.State\032\026.protos.Trainer" - "Actions\"\000\0227\n\017SendInitMessage\022\023.protos.In" - "itMessage\032\r.protos.Empty\"\000\0228\n\020SendServer" - "Params\022\023.protos.ServerParam\032\r.protos.Emp" - "ty\"\000\0228\n\020SendPlayerParams\022\023.protos.Player" - "Param\032\r.protos.Empty\"\000\0225\n\016SendPlayerType" - "\022\022.protos.PlayerType\032\r.protos.Empty\"\000\022\?\n" - "\010Register\022\027.protos.RegisterRequest\032\030.pro" - "tos.RegisterResponse\"\000\022;\n\016SendByeCommand" - "\022\030.protos.RegisterResponse\032\r.protos.Empt" - "y\"\000\022]\n\024GetBestPlannerAction\022 .protos.Bes" - "tPlannerActionRequest\032!.protos.BestPlann" - "erActionResponse\"\000b\006proto3" ->>>>>>> add_more_data_to_rpc + "\"\363\001\n\026HeliosOffensivePlanner\022\023\n\013direct_pa" + "ss\030\001 \001(\010\022\021\n\tlead_pass\030\002 \001(\010\022\024\n\014through_p" + "ass\030\003 \001(\010\022\025\n\rshort_dribble\030\004 \001(\010\022\024\n\014long" + "_dribble\030\005 \001(\010\022\r\n\005cross\030\006 \001(\010\022\023\n\013simple_" + "pass\030\007 \001(\010\022\026\n\016simple_dribble\030\010 \001(\010\022\024\n\014si" + "mple_shoot\030\t \001(\010\022\034\n\024server_side_decision" + "\030\n \001(\010\"\026\n\024HeliosBasicOffensive\"\021\n\017Helios" + "BasicMove\"\017\n\rHeliosSetPlay\"\017\n\rHeliosPena" + "lty\"\024\n\022HeliosCommunicaion\"\355\031\n\014PlayerActi" + "on\022\034\n\004dash\030\001 \001(\0132\014.protos.DashH\000\022\034\n\004turn" + "\030\002 \001(\0132\014.protos.TurnH\000\022\034\n\004kick\030\003 \001(\0132\014.p" + "rotos.KickH\000\022 \n\006tackle\030\004 \001(\0132\016.protos.Ta" + "ckleH\000\022\036\n\005catch\030\005 \001(\0132\r.protos.CatchH\000\022\034" + "\n\004move\030\006 \001(\0132\014.protos.MoveH\000\022%\n\tturn_nec" + "k\030\007 \001(\0132\020.protos.TurnNeckH\000\022)\n\013change_vi" + "ew\030\010 \001(\0132\022.protos.ChangeViewH\000\022\032\n\003say\030\t " + "\001(\0132\013.protos.SayH\000\022#\n\010point_to\030\n \001(\0132\017.p" + "rotos.PointToH\000\022(\n\013point_to_of\030\013 \001(\0132\021.p" + "rotos.PointToOfH\000\022+\n\014attention_to\030\014 \001(\0132" + "\023.protos.AttentionToH\000\0220\n\017attention_to_o" + "f\030\r \001(\0132\025.protos.AttentionToOfH\000\022\032\n\003log\030" + "\016 \001(\0132\013.protos.LogH\000\022+\n\014debug_client\030\017 \001" + "(\0132\023.protos.DebugClientH\000\0222\n\020body_go_to_" + "point\030\020 \001(\0132\026.protos.Body_GoToPointH\000\0221\n" + "\017body_smart_kick\030\021 \001(\0132\026.protos.Body_Sma" + "rtKickH\000\0228\n\023bhv_before_kick_off\030\022 \001(\0132\031." + "protos.Bhv_BeforeKickOffH\000\022;\n\025bhv_body_n" + "eck_to_ball\030\023 \001(\0132\032.protos.Bhv_BodyNeckT" + "oBallH\000\022=\n\026bhv_body_neck_to_point\030\024 \001(\0132" + "\033.protos.Bhv_BodyNeckToPointH\000\022.\n\rbhv_em" + "ergency\030\025 \001(\0132\025.protos.Bhv_EmergencyH\000\022B" + "\n\031bhv_go_to_point_look_ball\030\026 \001(\0132\035.prot" + "os.Bhv_GoToPointLookBallH\000\022;\n\025bhv_neck_b" + "ody_to_ball\030\027 \001(\0132\032.protos.Bhv_NeckBodyT" + "oBallH\000\022=\n\026bhv_neck_body_to_point\030\030 \001(\0132" + "\033.protos.Bhv_NeckBodyToPointH\000\022/\n\016bhv_sc" + "an_field\030\031 \001(\0132\025.protos.Bhv_ScanFieldH\000\022" + "5\n\021body_advance_ball\030\032 \001(\0132\030.protos.Body" + "_AdvanceBallH\000\0221\n\017body_clear_ball\030\033 \001(\0132" + "\026.protos.Body_ClearBallH\000\022,\n\014body_dribbl" + "e\030\034 \001(\0132\024.protos.Body_DribbleH\000\022=\n\026body_" + "go_to_point_dodge\030\035 \001(\0132\033.protos.Body_Go" + "ToPointDodgeH\000\022/\n\016body_hold_ball\030\036 \001(\0132\025" + ".protos.Body_HoldBallH\000\0220\n\016body_intercep" + "t\030\037 \001(\0132\026.protos.Body_InterceptH\000\0226\n\022bod" + "y_kick_one_step\030 \001(\0132\030.protos.Body_Kick" + "OneStepH\000\022/\n\016body_stop_ball\030! \001(\0132\025.prot" + "os.Body_StopBallH\000\022/\n\016body_stop_dash\030\" \001" + "(\0132\025.protos.Body_StopDashH\000\022:\n\024body_tack" + "le_to_point\030# \001(\0132\032.protos.Body_TackleTo" + "PointH\000\0226\n\022body_turn_to_angle\030$ \001(\0132\030.pr" + "otos.Body_TurnToAngleH\000\0224\n\021body_turn_to_" + "ball\030% \001(\0132\027.protos.Body_TurnToBallH\000\0226\n" + "\022body_turn_to_point\030& \001(\0132\030.protos.Body_" + "TurnToPointH\000\0228\n\023focus_move_to_point\030\' \001" + "(\0132\031.protos.Focus_MoveToPointH\000\022*\n\013focus" + "_reset\030( \001(\0132\023.protos.Focus_ResetH\000\0221\n\017n" + "eck_scan_field\030) \001(\0132\026.protos.Neck_ScanF" + "ieldH\000\0225\n\021neck_scan_players\030* \001(\0132\030.prot" + "os.Neck_ScanPlayersH\000\022H\n\034neck_turn_to_ba" + "ll_and_player\030+ \001(\0132 .protos.Neck_TurnTo" + "BallAndPlayerH\000\022B\n\031neck_turn_to_ball_or_" + "scan\030, \001(\0132\035.protos.Neck_TurnToBallOrSca" + "nH\000\0224\n\021neck_turn_to_ball\030- \001(\0132\027.protos." + "Neck_TurnToBallH\000\022F\n\033neck_turn_to_goalie" + "_or_scan\030. \001(\0132\037.protos.Neck_TurnToGoali" + "eOrScanH\000\022L\n\036neck_turn_to_low_conf_teamm" + "ate\030/ \001(\0132\".protos.Neck_TurnToLowConfTea" + "mmateH\000\022F\n\033neck_turn_to_player_or_scan\0300" + " \001(\0132\037.protos.Neck_TurnToPlayerOrScanH\000\022" + "6\n\022neck_turn_to_point\0301 \001(\0132\030.protos.Nec" + "k_TurnToPointH\000\022<\n\025neck_turn_to_relative" + "\0302 \001(\0132\033.protos.Neck_TurnToRelativeH\000\0225\n" + "\021view_change_width\0303 \001(\0132\030.protos.View_C" + "hangeWidthH\000\022*\n\013view_normal\0304 \001(\0132\023.prot" + "os.View_NormalH\000\022(\n\nview_synch\0305 \001(\0132\022.p" + "rotos.View_SynchH\000\022&\n\tview_wide\0306 \001(\0132\021." + "protos.View_WideH\000\022-\n\rhelios_goalie\0307 \001(" + "\0132\024.protos.HeliosGoalieH\000\0226\n\022helios_goal" + "ie_move\0308 \001(\0132\030.protos.HeliosGoalieMoveH" + "\000\0226\n\022helios_goalie_kick\0309 \001(\0132\030.protos.H" + "eliosGoalieKickH\000\022+\n\014helios_shoot\030: \001(\0132" + "\023.protos.HeliosShootH\000\022B\n\030helios_offensi" + "ve_planner\030; \001(\0132\036.protos.HeliosOffensiv" + "ePlannerH\000\022>\n\026helios_basic_offensive\030< \001" + "(\0132\034.protos.HeliosBasicOffensiveH\000\0224\n\021he" + "lios_basic_move\030= \001(\0132\027.protos.HeliosBas" + "icMoveH\000\0220\n\017helios_set_play\030> \001(\0132\025.prot" + "os.HeliosSetPlayH\000\022/\n\016helios_penalty\030\? \001" + "(\0132\025.protos.HeliosPenaltyH\000\022:\n\024helios_co" + "mmunication\030@ \001(\0132\032.protos.HeliosCommuni" + "caionH\000B\010\n\006action\"Q\n\rPlayerActions\022%\n\007ac" + "tions\030\001 \003(\0132\024.protos.PlayerAction\022\031\n\021ign" + "ore_preprocess\030\002 \001(\010\"8\n\020ChangePlayerType" + "\022\026\n\016uniform_number\030\001 \001(\005\022\014\n\004type\030\002 \001(\005\"\024" + "\n\022DoHeliosSubstitute\"\030\n\026DoHeliosSayPlaye" + "rTypes\"\322\001\n\013CoachAction\0227\n\023change_player_" + "types\030\001 \001(\0132\030.protos.ChangePlayerTypeH\000\022" + ":\n\024do_helios_substitute\030\002 \001(\0132\032.protos.D" + "oHeliosSubstituteH\000\022D\n\032do_helios_say_pla" + "yer_types\030\003 \001(\0132\036.protos.DoHeliosSayPlay" + "erTypesH\000B\010\n\006action\"4\n\014CoachActions\022$\n\007a" + "ctions\030\001 \003(\0132\023.protos.CoachAction\"\013\n\tDoK" + "ickOff\"Z\n\nDoMoveBall\022%\n\010position\030\001 \001(\0132\023" + ".protos.RpcVector2D\022%\n\010velocity\030\002 \001(\0132\023." + "protos.RpcVector2D\"w\n\014DoMovePlayer\022\020\n\010ou" + "r_side\030\001 \001(\010\022\026\n\016uniform_number\030\002 \001(\005\022%\n\010" + "position\030\003 \001(\0132\023.protos.RpcVector2D\022\026\n\016b" + "ody_direction\030\004 \001(\002\"\013\n\tDoRecover\"X\n\014DoCh" + "angeMode\022,\n\016game_mode_type\030\001 \001(\0162\024.proto" + "s.GameModeType\022\032\n\004side\030\002 \001(\0162\014.protos.Si" + "de\"L\n\022DoChangePlayerType\022\020\n\010our_side\030\001 \001" + "(\010\022\026\n\016uniform_number\030\002 \001(\005\022\014\n\004type\030\003 \001(\005" + "\"\265\002\n\rTrainerAction\022(\n\013do_kick_off\030\001 \001(\0132" + "\021.protos.DoKickOffH\000\022*\n\014do_move_ball\030\002 \001" + "(\0132\022.protos.DoMoveBallH\000\022.\n\016do_move_play" + "er\030\003 \001(\0132\024.protos.DoMovePlayerH\000\022\'\n\ndo_r" + "ecover\030\004 \001(\0132\021.protos.DoRecoverH\000\022.\n\016do_" + "change_mode\030\005 \001(\0132\024.protos.DoChangeModeH" + "\000\022;\n\025do_change_player_type\030\006 \001(\0132\032.proto" + "s.DoChangePlayerTypeH\000B\010\n\006action\"8\n\016Trai" + "nerActions\022&\n\007actions\030\001 \003(\0132\025.protos.Tra" + "inerAction\"\335,\n\013ServerParam\0223\n\021register_r" + "esponse\030\001 \001(\0132\030.protos.RegisterResponse\022" + "\026\n\016inertia_moment\030\002 \001(\002\022\023\n\013player_size\030\003" + " \001(\002\022\024\n\014player_decay\030\004 \001(\002\022\023\n\013player_ran" + "d\030\005 \001(\002\022\025\n\rplayer_weight\030\006 \001(\002\022\030\n\020player" + "_speed_max\030\007 \001(\002\022\030\n\020player_accel_max\030\010 \001" + "(\002\022\023\n\013stamina_max\030\t \001(\002\022\027\n\017stamina_inc_m" + "ax\030\n \001(\002\022\024\n\014recover_init\030\013 \001(\002\022\027\n\017recove" + "r_dec_thr\030\014 \001(\002\022\023\n\013recover_min\030\r \001(\002\022\023\n\013" + "recover_dec\030\016 \001(\002\022\023\n\013effort_init\030\017 \001(\002\022\026" + "\n\016effort_dec_thr\030\020 \001(\002\022\022\n\neffort_min\030\021 \001" + "(\002\022\022\n\neffort_dec\030\022 \001(\002\022\026\n\016effort_inc_thr" + "\030\023 \001(\002\022\022\n\neffort_inc\030\024 \001(\002\022\021\n\tkick_rand\030" + "\025 \001(\002\022\033\n\023team_actuator_noise\030\026 \001(\010\022\034\n\024pl" + "ayer_rand_factor_l\030\027 \001(\002\022\034\n\024player_rand_" + "factor_r\030\030 \001(\002\022\032\n\022kick_rand_factor_l\030\031 \001" + "(\002\022\032\n\022kick_rand_factor_r\030\032 \001(\002\022\021\n\tball_s" + "ize\030\033 \001(\002\022\022\n\nball_decay\030\034 \001(\002\022\021\n\tball_ra" + "nd\030\035 \001(\002\022\023\n\013ball_weight\030\036 \001(\002\022\026\n\016ball_sp" + "eed_max\030\037 \001(\002\022\026\n\016ball_accel_max\030 \001(\002\022\027\n" + "\017dash_power_rate\030! \001(\002\022\027\n\017kick_power_rat" + "e\030\" \001(\002\022\027\n\017kickable_margin\030# \001(\002\022\026\n\016cont" + "rol_radius\030$ \001(\002\022\034\n\024control_radius_width" + "\030% \001(\002\022\021\n\tmax_power\030& \001(\002\022\021\n\tmin_power\030\'" + " \001(\002\022\022\n\nmax_moment\030( \001(\002\022\022\n\nmin_moment\030)" + " \001(\002\022\027\n\017max_neck_moment\030* \001(\002\022\027\n\017min_nec" + "k_moment\030+ \001(\002\022\026\n\016max_neck_angle\030, \001(\002\022\026" + "\n\016min_neck_angle\030- \001(\002\022\025\n\rvisible_angle\030" + ". \001(\002\022\030\n\020visible_distance\030/ \001(\002\022\020\n\010wind_" + "dir\0300 \001(\002\022\022\n\nwind_force\0301 \001(\002\022\022\n\nwind_an" + "gle\0302 \001(\002\022\021\n\twind_rand\0303 \001(\002\022\025\n\rkickable" + "_area\0304 \001(\002\022\024\n\014catch_area_l\0305 \001(\002\022\024\n\014cat" + "ch_area_w\0306 \001(\002\022\031\n\021catch_probability\0307 \001" + "(\002\022\030\n\020goalie_max_moves\0308 \001(\005\022\032\n\022corner_k" + "ick_margin\0309 \001(\002\022 \n\030offside_active_area_" + "size\030: \001(\002\022\021\n\twind_none\030; \001(\010\022\027\n\017use_win" + "d_random\030< \001(\010\022\033\n\023coach_say_count_max\030= " + "\001(\005\022\032\n\022coach_say_msg_size\030> \001(\005\022\026\n\016clang" + "_win_size\030\? \001(\005\022\030\n\020clang_define_win\030@ \001(" + "\005\022\026\n\016clang_meta_win\030A \001(\005\022\030\n\020clang_advic" + "e_win\030B \001(\005\022\026\n\016clang_info_win\030C \001(\005\022\030\n\020c" + "lang_mess_delay\030D \001(\005\022\034\n\024clang_mess_per_" + "cycle\030E \001(\005\022\021\n\thalf_time\030F \001(\005\022\026\n\016simula" + "tor_step\030G \001(\005\022\021\n\tsend_step\030H \001(\005\022\021\n\trec" + "v_step\030I \001(\005\022\027\n\017sense_body_step\030J \001(\005\022\020\n" + "\010lcm_step\030K \001(\005\022\033\n\023player_say_msg_size\030L" + " \001(\005\022\027\n\017player_hear_max\030M \001(\005\022\027\n\017player_" + "hear_inc\030N \001(\005\022\031\n\021player_hear_decay\030O \001(" + "\005\022\027\n\017catch_ban_cycle\030P \001(\005\022\030\n\020slow_down_" + "factor\030Q \001(\005\022\023\n\013use_offside\030R \001(\010\022\027\n\017kic" + "koff_offside\030S \001(\010\022\033\n\023offside_kick_margi" + "n\030T \001(\002\022\026\n\016audio_cut_dist\030U \001(\002\022\032\n\022dist_" + "quantize_step\030V \001(\002\022#\n\033landmark_dist_qua" + "ntize_step\030W \001(\002\022\031\n\021dir_quantize_step\030X " + "\001(\002\022\034\n\024dist_quantize_step_l\030Y \001(\002\022\034\n\024dis" + "t_quantize_step_r\030Z \001(\002\022%\n\035landmark_dist" + "_quantize_step_l\030[ \001(\002\022%\n\035landmark_dist_" + "quantize_step_r\030\\ \001(\002\022\033\n\023dir_quantize_st" + "ep_l\030] \001(\002\022\033\n\023dir_quantize_step_r\030^ \001(\002\022" + "\022\n\ncoach_mode\030_ \001(\010\022\037\n\027coach_with_refere" + "e_mode\030` \001(\010\022\032\n\022use_old_coach_hear\030a \001(\010" + "\022%\n\035slowness_on_top_for_left_team\030b \001(\002\022" + "&\n\036slowness_on_top_for_right_team\030c \001(\002\022" + "\024\n\014start_goal_l\030d \001(\005\022\024\n\014start_goal_r\030e " + "\001(\005\022\023\n\013fullstate_l\030f \001(\010\022\023\n\013fullstate_r\030" + "g \001(\010\022\026\n\016drop_ball_time\030h \001(\005\022\022\n\nsynch_m" + "ode\030i \001(\010\022\024\n\014synch_offset\030j \001(\005\022\031\n\021synch" + "_micro_sleep\030k \001(\005\022\024\n\014point_to_ban\030l \001(\005" + "\022\031\n\021point_to_duration\030m \001(\005\022\023\n\013player_po" + "rt\030n \001(\005\022\024\n\014trainer_port\030o \001(\005\022\031\n\021online" + "_coach_port\030p \001(\005\022\024\n\014verbose_mode\030q \001(\010\022" + "\032\n\022coach_send_vi_step\030r \001(\005\022\023\n\013replay_fi" + "le\030s \001(\t\022\025\n\rlandmark_file\030t \001(\t\022\022\n\nsend_" + "comms\030u \001(\010\022\024\n\014text_logging\030v \001(\010\022\024\n\014gam" + "e_logging\030w \001(\010\022\030\n\020game_log_version\030x \001(" + "\005\022\024\n\014text_log_dir\030y \001(\t\022\024\n\014game_log_dir\030" + "z \001(\t\022\033\n\023text_log_fixed_name\030{ \001(\t\022\033\n\023ga" + "me_log_fixed_name\030| \001(\t\022\032\n\022use_text_log_" + "fixed\030} \001(\010\022\032\n\022use_game_log_fixed\030~ \001(\010\022" + "\032\n\022use_text_log_dated\030\177 \001(\010\022\033\n\022use_game_" + "log_dated\030\200\001 \001(\010\022\030\n\017log_date_format\030\201\001 \001" + "(\t\022\022\n\tlog_times\030\202\001 \001(\010\022\027\n\016record_message" + "\030\203\001 \001(\010\022\035\n\024text_log_compression\030\204\001 \001(\005\022\035" + "\n\024game_log_compression\030\205\001 \001(\005\022\024\n\013use_pro" + "file\030\206\001 \001(\010\022\024\n\013tackle_dist\030\207\001 \001(\002\022\031\n\020tac" + "kle_back_dist\030\210\001 \001(\002\022\025\n\014tackle_width\030\211\001 " + "\001(\002\022\030\n\017tackle_exponent\030\212\001 \001(\002\022\026\n\rtackle_" + "cycles\030\213\001 \001(\005\022\032\n\021tackle_power_rate\030\214\001 \001(" + "\002\022\035\n\024freeform_wait_period\030\215\001 \001(\005\022\035\n\024free" + "form_send_period\030\216\001 \001(\005\022\031\n\020free_kick_fau" + "lts\030\217\001 \001(\010\022\024\n\013back_passes\030\220\001 \001(\010\022\032\n\021prop" + "er_goal_kicks\030\221\001 \001(\010\022\031\n\020stopped_ball_vel" + "\030\222\001 \001(\002\022\027\n\016max_goal_kicks\030\223\001 \001(\005\022\026\n\rclan" + "g_del_win\030\224\001 \001(\005\022\027\n\016clang_rule_win\030\225\001 \001(" + "\005\022\022\n\tauto_mode\030\226\001 \001(\010\022\026\n\rkick_off_wait\030\227" + "\001 \001(\005\022\025\n\014connect_wait\030\230\001 \001(\005\022\027\n\016game_ove" + "r_wait\030\231\001 \001(\005\022\025\n\014team_l_start\030\232\001 \001(\t\022\025\n\014" + "team_r_start\030\233\001 \001(\t\022\026\n\rkeepaway_mode\030\234\001 " + "\001(\010\022\030\n\017keepaway_length\030\235\001 \001(\002\022\027\n\016keepawa" + "y_width\030\236\001 \001(\002\022\031\n\020keepaway_logging\030\237\001 \001(" + "\010\022\031\n\020keepaway_log_dir\030\240\001 \001(\t\022 \n\027keepaway" + "_log_fixed_name\030\241\001 \001(\t\022\033\n\022keepaway_log_f" + "ixed\030\242\001 \001(\010\022\033\n\022keepaway_log_dated\030\243\001 \001(\010" + "\022\027\n\016keepaway_start\030\244\001 \001(\005\022\030\n\017nr_normal_h" + "alfs\030\245\001 \001(\005\022\027\n\016nr_extra_halfs\030\246\001 \001(\005\022\033\n\022" + "penalty_shoot_outs\030\247\001 \001(\010\022\036\n\025pen_before_" + "setup_wait\030\250\001 \001(\005\022\027\n\016pen_setup_wait\030\251\001 \001" + "(\005\022\027\n\016pen_ready_wait\030\252\001 \001(\005\022\027\n\016pen_taken" + "_wait\030\253\001 \001(\005\022\025\n\014pen_nr_kicks\030\254\001 \001(\005\022\034\n\023p" + "en_max_extra_kicks\030\255\001 \001(\005\022\023\n\npen_dist_x\030" + "\256\001 \001(\002\022\032\n\021pen_random_winner\030\257\001 \001(\010\022\035\n\024pe" + "n_allow_mult_kicks\030\260\001 \001(\010\022\036\n\025pen_max_goa" + "lie_dist_x\030\261\001 \001(\002\022 \n\027pen_coach_moves_pla" + "yers\030\262\001 \001(\010\022\023\n\nmodule_dir\030\263\001 \001(\t\022\030\n\017ball" + "_stuck_area\030\264\001 \001(\002\022\027\n\016coach_msg_file\030\265\001 " + "\001(\t\022\031\n\020max_tackle_power\030\266\001 \001(\002\022\036\n\025max_ba" + "ck_tackle_power\030\267\001 \001(\002\022\035\n\024player_speed_m" + "ax_min\030\270\001 \001(\002\022\026\n\rextra_stamina\030\271\001 \001(\002\022\031\n" + "\020synch_see_offset\030\272\001 \001(\005\022\030\n\017extra_half_t" + "ime\030\273\001 \001(\005\022\031\n\020stamina_capacity\030\274\001 \001(\002\022\027\n" + "\016max_dash_angle\030\275\001 \001(\002\022\027\n\016min_dash_angle" + "\030\276\001 \001(\002\022\030\n\017dash_angle_step\030\277\001 \001(\002\022\027\n\016sid" + "e_dash_rate\030\300\001 \001(\002\022\027\n\016back_dash_rate\030\301\001 " + "\001(\002\022\027\n\016max_dash_power\030\302\001 \001(\002\022\027\n\016min_dash" + "_power\030\303\001 \001(\002\022\033\n\022tackle_rand_factor\030\304\001 \001" + "(\002\022 \n\027foul_detect_probability\030\305\001 \001(\002\022\026\n\r" + "foul_exponent\030\306\001 \001(\002\022\024\n\013foul_cycles\030\307\001 \001" + "(\005\022\024\n\013golden_goal\030\310\001 \001(\010\022\035\n\024red_card_pro" + "bability\030\311\001 \001(\002\022!\n\030illegal_defense_durat" + "ion\030\312\001 \001(\005\022\037\n\026illegal_defense_number\030\313\001 " + "\001(\005\022\037\n\026illegal_defense_dist_x\030\314\001 \001(\002\022\036\n\025" + "illegal_defense_width\030\315\001 \001(\002\022\031\n\020fixed_te" + "amname_l\030\316\001 \001(\t\022\031\n\020fixed_teamname_r\030\317\001 \001" + "(\t\022\030\n\017max_catch_angle\030\320\001 \001(\002\022\030\n\017min_catc" + "h_angle\030\321\001 \001(\002\022\024\n\013random_seed\030\322\001 \001(\005\022\037\n\026" + "long_kick_power_factor\030\323\001 \001(\002\022\030\n\017long_ki" + "ck_delay\030\324\001 \001(\005\022\025\n\014max_monitors\030\325\001 \001(\005\022\027" + "\n\016catchable_area\030\326\001 \001(\002\022\027\n\016real_speed_ma" + "x\030\327\001 \001(\002\022\032\n\021pitch_half_length\030\330\001 \001(\002\022\031\n\020" + "pitch_half_width\030\331\001 \001(\002\022 \n\027our_penalty_a" + "rea_line_x\030\332\001 \001(\002\022\"\n\031their_penalty_area_" + "line_x\030\333\001 \001(\002\022 \n\027penalty_area_half_width" + "\030\334\001 \001(\002\022\034\n\023penalty_area_length\030\335\001 \001(\002\022\023\n" + "\ngoal_width\030\336\001 \001(\002\"\215\010\n\013PlayerParam\0223\n\021re" + "gister_response\030\001 \001(\0132\030.protos.RegisterR" + "esponse\022\024\n\014player_types\030\002 \001(\005\022\020\n\010subs_ma" + "x\030\003 \001(\005\022\016\n\006pt_max\030\004 \001(\005\022\037\n\027allow_mult_de" + "fault_type\030\005 \001(\010\022\"\n\032player_speed_max_del" + "ta_min\030\006 \001(\002\022\"\n\032player_speed_max_delta_m" + "ax\030\007 \001(\002\022$\n\034stamina_inc_max_delta_factor" + "\030\010 \001(\002\022\036\n\026player_decay_delta_min\030\t \001(\002\022\036" + "\n\026player_decay_delta_max\030\n \001(\002\022#\n\033inerti" + "a_moment_delta_factor\030\013 \001(\002\022!\n\031dash_powe" + "r_rate_delta_min\030\014 \001(\002\022!\n\031dash_power_rat" + "e_delta_max\030\r \001(\002\022 \n\030player_size_delta_f" + "actor\030\016 \001(\002\022!\n\031kickable_margin_delta_min" + "\030\017 \001(\002\022!\n\031kickable_margin_delta_max\030\020 \001(" + "\002\022\036\n\026kick_rand_delta_factor\030\021 \001(\002\022\037\n\027ext" + "ra_stamina_delta_min\030\022 \001(\002\022\037\n\027extra_stam" + "ina_delta_max\030\023 \001(\002\022\037\n\027effort_max_delta_" + "factor\030\024 \001(\002\022\037\n\027effort_min_delta_factor\030" + "\025 \001(\002\022\023\n\013random_seed\030\026 \001(\005\022%\n\035new_dash_p" + "ower_rate_delta_min\030\027 \001(\002\022%\n\035new_dash_po" + "wer_rate_delta_max\030\030 \001(\002\022(\n new_stamina_" + "inc_max_delta_factor\030\031 \001(\002\022!\n\031kick_power" + "_rate_delta_min\030\032 \001(\002\022!\n\031kick_power_rate" + "_delta_max\030\033 \001(\002\022,\n$foul_detect_probabil" + "ity_delta_factor\030\034 \001(\002\022$\n\034catchable_area" + "_l_stretch_min\030\035 \001(\002\022$\n\034catchable_area_l" + "_stretch_max\030\036 \001(\002\"\277\007\n\nPlayerType\0223\n\021reg" + "ister_response\030\001 \001(\0132\030.protos.RegisterRe" + "sponse\022\n\n\002id\030\002 \001(\005\022\027\n\017stamina_inc_max\030\003 " + "\001(\002\022\024\n\014player_decay\030\004 \001(\002\022\026\n\016inertia_mom" + "ent\030\005 \001(\002\022\027\n\017dash_power_rate\030\006 \001(\002\022\023\n\013pl" + "ayer_size\030\007 \001(\002\022\027\n\017kickable_margin\030\010 \001(\002" + "\022\021\n\tkick_rand\030\t \001(\002\022\025\n\rextra_stamina\030\n \001" + "(\002\022\022\n\neffort_max\030\013 \001(\002\022\022\n\neffort_min\030\014 \001" + "(\002\022\027\n\017kick_power_rate\030\r \001(\002\022\037\n\027foul_dete" + "ct_probability\030\016 \001(\002\022 \n\030catchable_area_l" + "_stretch\030\017 \001(\002\022\027\n\017unum_far_length\030\020 \001(\002\022" + "\033\n\023unum_too_far_length\030\021 \001(\002\022\027\n\017team_far" + "_length\030\022 \001(\002\022\033\n\023team_too_far_length\030\023 \001" + "(\002\022%\n\035player_max_observation_length\030\024 \001(" + "\002\022\033\n\023ball_vel_far_length\030\025 \001(\002\022\037\n\027ball_v" + "el_too_far_length\030\026 \001(\002\022#\n\033ball_max_obse" + "rvation_length\030\027 \001(\002\022\033\n\023flag_chg_far_len" + "gth\030\030 \001(\002\022\037\n\027flag_chg_too_far_length\030\031 \001" + "(\002\022#\n\033flag_max_observation_length\030\032 \001(\002\022" + "\025\n\rkickable_area\030\033 \001(\002\022\037\n\027reliable_catch" + "able_dist\030\034 \001(\002\022\032\n\022max_catchable_dist\030\035 " + "\001(\002\022\026\n\016real_speed_max\030\036 \001(\002\022\031\n\021player_sp" + "eed_max2\030\037 \001(\002\022\027\n\017real_speed_max2\030 \001(\002\022" + "!\n\031cycles_to_reach_max_speed\030! \001(\005\022\030\n\020pl" + "ayer_speed_max\030\" \001(\002\"\255\003\n\024RpcCooperativeA" + "ction\022+\n\010category\030\001 \001(\0162\031.protos.RpcActi" + "onCategory\022\r\n\005index\030\002 \001(\005\022\023\n\013sender_unum" + "\030\003 \001(\005\022\023\n\013target_unum\030\004 \001(\005\022)\n\014target_po" + "int\030\005 \001(\0132\023.protos.RpcVector2D\022\030\n\020first_" + "ball_speed\030\006 \001(\001\022\031\n\021first_turn_moment\030\007 " + "\001(\001\022\030\n\020first_dash_power\030\010 \001(\001\022!\n\031first_d" + "ash_angle_relative\030\t \001(\001\022\025\n\rduration_ste" + "p\030\n \001(\005\022\022\n\nkick_count\030\013 \001(\005\022\022\n\nturn_coun" + "t\030\014 \001(\005\022\022\n\ndash_count\030\r \001(\005\022\024\n\014final_act" + "ion\030\016 \001(\010\022\023\n\013description\030\017 \001(\t\022\024\n\014parent" + "_index\030\020 \001(\005\"\317\001\n\017RpcPredictState\022\022\n\nspen" + "d_time\030\001 \001(\005\022\030\n\020ball_holder_unum\030\002 \001(\005\022*" + "\n\rball_position\030\003 \001(\0132\023.protos.RpcVector" + "2D\022*\n\rball_velocity\030\004 \001(\0132\023.protos.RpcVe" + "ctor2D\022\032\n\022our_defense_line_x\030\005 \001(\001\022\032\n\022ou" + "r_offense_line_x\030\006 \001(\001\"\202\001\n\016RpcActionStat" + "e\022,\n\006action\030\001 \001(\0132\034.protos.RpcCooperativ" + "eAction\022.\n\rpredict_state\030\002 \001(\0132\027.protos." + "RpcPredictState\022\022\n\nevaluation\030\003 \001(\001\"\357\001\n\030" + "BestPlannerActionRequest\0223\n\021register_res" + "ponse\030\001 \001(\0132\030.protos.RegisterResponse\022:\n" + "\005pairs\030\002 \003(\0132+.protos.BestPlannerActionR" + "equest.PairsEntry\022\034\n\005state\030\003 \001(\0132\r.proto" + "s.State\032D\n\nPairsEntry\022\013\n\003key\030\001 \001(\005\022%\n\005va" + "lue\030\002 \001(\0132\026.protos.RpcActionState:\0028\001\"*\n" + "\031BestPlannerActionResponse\022\r\n\005index\030\001 \001(" + "\005\"\007\n\005Empty*-\n\tViewWidth\022\n\n\006NARROW\020\000\022\n\n\006N" + "ORMAL\020\001\022\010\n\004WIDE\020\002*(\n\004Side\022\013\n\007UNKNOWN\020\000\022\010" + "\n\004LEFT\020\001\022\t\n\005RIGHT\020\002*\262\002\n\013LoggerLevel\022\r\n\tN" + "oneLevel\020\000\022\n\n\006SYSTEM\020\001\022\n\n\006SENSOR\020\002\022\t\n\005WO" + "RLD\020\004\022\n\n\006ACTION\020\010\022\r\n\tINTERCEPT\020\020\022\010\n\004KICK" + "\020 \022\010\n\004HOLD\020@\022\014\n\007DRIBBLE\020\200\001\022\t\n\004PASS\020\200\002\022\n\n" + "\005CROSS\020\200\004\022\n\n\005SHOOT\020\200\010\022\n\n\005CLEAR\020\200\020\022\n\n\005BLO" + "CK\020\200 \022\t\n\004MARK\020\200@\022\021\n\013POSITIONING\020\200\200\001\022\n\n\004R" + "OLE\020\200\200\002\022\n\n\004TEAM\020\200\200\004\022\023\n\rCOMMUNICATION\020\200\200\010" + "\022\016\n\010ANALYZER\020\200\200\020\022\022\n\014ACTION_CHAIN\020\200\200 \022\n\n\004" + "PLAN\020\200\200@*v\n\023InterceptActionType\022!\n\035UNKNO" + "WN_Intercept_Action_Type\020\000\022\r\n\tOMNI_DASH\020" + "\001\022\025\n\021TURN_FORWARD_DASH\020\002\022\026\n\022TURN_BACKWAR" + "D_DASH\020\003*\273\004\n\014GameModeType\022\021\n\rBeforeKickO" + "ff\020\000\022\014\n\010TimeOver\020\001\022\n\n\006PlayOn\020\002\022\014\n\010KickOf" + "f_\020\003\022\013\n\007KickIn_\020\004\022\r\n\tFreeKick_\020\005\022\017\n\013Corn" + "erKick_\020\006\022\r\n\tGoalKick_\020\007\022\016\n\nAfterGoal_\020\010" + "\022\014\n\010OffSide_\020\t\022\020\n\014PenaltyKick_\020\n\022\021\n\rFirs" + "tHalfOver\020\013\022\t\n\005Pause\020\014\022\t\n\005Human\020\r\022\017\n\013Fou" + "lCharge_\020\016\022\r\n\tFoulPush_\020\017\022\031\n\025FoulMultipl" + "eAttacker_\020\020\022\020\n\014FoulBallOut_\020\021\022\r\n\tBackPa" + "ss_\020\022\022\022\n\016FreeKickFault_\020\023\022\017\n\013CatchFault_" + "\020\024\022\020\n\014IndFreeKick_\020\025\022\021\n\rPenaltySetup_\020\026\022" + "\021\n\rPenaltyReady_\020\027\022\021\n\rPenaltyTaken_\020\030\022\020\n" + "\014PenaltyMiss_\020\031\022\021\n\rPenaltyScore_\020\032\022\023\n\017Il" + "legalDefense_\020\033\022\023\n\017PenaltyOnfield_\020\034\022\020\n\014" + "PenaltyFoul_\020\035\022\020\n\014GoalieCatch_\020\036\022\016\n\nExte" + "ndHalf\020\037\022\014\n\010MODE_MAX\020 *2\n\tAgentType\022\013\n\007P" + "layerT\020\000\022\n\n\006CoachT\020\001\022\014\n\010TrainerT\020\002*w\n\021Rp" + "cActionCategory\022\013\n\007AC_Hold\020\000\022\016\n\nAC_Dribb" + "le\020\001\022\013\n\007AC_Pass\020\002\022\014\n\010AC_Shoot\020\003\022\014\n\010AC_Cl" + "ear\020\004\022\013\n\007AC_Move\020\005\022\017\n\013AC_NoAction\020\0062\373\004\n\004" + "Game\022:\n\020GetPlayerActions\022\r.protos.State\032" + "\025.protos.PlayerActions\"\000\0228\n\017GetCoachActi" + "ons\022\r.protos.State\032\024.protos.CoachActions" + "\"\000\022<\n\021GetTrainerActions\022\r.protos.State\032\026" + ".protos.TrainerActions\"\000\0227\n\017SendInitMess" + "age\022\023.protos.InitMessage\032\r.protos.Empty\"" + "\000\0228\n\020SendServerParams\022\023.protos.ServerPar" + "am\032\r.protos.Empty\"\000\0228\n\020SendPlayerParams\022" + "\023.protos.PlayerParam\032\r.protos.Empty\"\000\0225\n" + "\016SendPlayerType\022\022.protos.PlayerType\032\r.pr" + "otos.Empty\"\000\022\?\n\010Register\022\027.protos.Regist" + "erRequest\032\030.protos.RegisterResponse\"\000\022;\n" + "\016SendByeCommand\022\030.protos.RegisterRespons" + "e\032\r.protos.Empty\"\000\022]\n\024GetBestPlannerActi" + "on\022 .protos.BestPlannerActionRequest\032!.p" + "rotos.BestPlannerActionResponse\"\000b\006proto" + "3" }; static ::absl::once_flag descriptor_table_service_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_service_2eproto = { false, false, -<<<<<<< HEAD - 28387, -======= - 28546, ->>>>>>> add_more_data_to_rpc + 28561, descriptor_table_protodef_service_2eproto, "service.proto", &descriptor_table_service_2eproto_once, From ca27aae33142e976d7ea9e7a1e378ba36a9a5aa7 Mon Sep 17 00:00:00 2001 From: naderzare Date: Sat, 14 Sep 2024 16:02:27 -0300 Subject: [PATCH 18/21] Refactor message structure for card type --- idl/grpc/service.proto | 7 + idl/thrift/soccer_service.thrift | 9 +- src/grpc-client/state_generator.cpp | 20 + src/grpc-client/state_generator.h | 1 + src/grpc-generated/service.pb.cc | 1623 +++++----- src/grpc-generated/service.pb.h | 71 + src/thrift-client/thrift_state_generator.cpp | 20 + src/thrift-client/thrift_state_generator.h | 1 + src/thrift-generated/soccer_service_types.cpp | 2855 +++++++++-------- src/thrift-generated/soccer_service_types.h | 29 +- 10 files changed, 2445 insertions(+), 2191 deletions(-) diff --git a/idl/grpc/service.proto b/idl/grpc/service.proto index 25adfdb..35315fd 100644 --- a/idl/grpc/service.proto +++ b/idl/grpc/service.proto @@ -83,6 +83,12 @@ enum LoggerLevel{ // LEVEL_ANY = 0xffffffff; } +enum CardType { + NO_CARD = 0; + YELLOW = 1; + RED = 2; +} + message Player { RpcVector2D position = 1; RpcVector2D seen_position = 2; @@ -155,6 +161,7 @@ message Self { float kick_rate = 36; float recovery = 37; float stamina_capacity = 38; + CardType card = 39; } enum InterceptActionType { diff --git a/idl/thrift/soccer_service.thrift b/idl/thrift/soccer_service.thrift index f7ed167..4b58296 100644 --- a/idl/thrift/soccer_service.thrift +++ b/idl/thrift/soccer_service.thrift @@ -86,6 +86,12 @@ enum LoggerLevel { PLAN = 1048576 } +enum CardType { + NO_CARD = 0, + YELLOW = 1, + RED = 2 +} + struct Player { 1: RpcVector2D position, 2: RpcVector2D seen_position, @@ -157,7 +163,8 @@ struct Self { 35: i32 type_id, 36: double kick_rate, 37: double recovery, - 38: double stamina_capacity + 38: double stamina_capacity, + 39: CardType card } enum InterceptActionType { diff --git a/src/grpc-client/state_generator.cpp b/src/grpc-client/state_generator.cpp index 1db4881..63d362b 100644 --- a/src/grpc-client/state_generator.cpp +++ b/src/grpc-client/state_generator.cpp @@ -42,6 +42,25 @@ protos::ViewWidth StateGenerator::convertViewWidth(rcsc::ViewWidth::Type viewWid return protos::ViewWidth::NARROW; } +/** + * Converts the given `rcsc::Card` to `protos::CardType`. + * + * @param cardType The `rcsc::Card` to be converted. + * @return The converted `protos::CardType`. + */ +protos::CardType StateGenerator::convertCardType(rcsc::Card cardType) +{ + switch (cardType) + { + case rcsc::Card::YELLOW: + return protos::CardType::YELLOW; + case rcsc::Card::RED: + return protos::CardType::RED; + default: + return protos::CardType::NO_CARD; + } +} + /** * Converts an rcsc::Vector2D object to a protos::Vector2D object. * @@ -152,6 +171,7 @@ protos::Self *StateGenerator::convertSelf(const rcsc::SelfObject &self, const rc res->set_kick_rate(kick_rate); res->set_recovery(static_cast(self.recovery())); res->set_stamina_capacity(static_cast(self.staminaCapacity())); + res->set_card(convertCardType(self.card())); return res; } diff --git a/src/grpc-client/state_generator.h b/src/grpc-client/state_generator.h index 515e3d1..f792e11 100644 --- a/src/grpc-client/state_generator.h +++ b/src/grpc-client/state_generator.h @@ -15,6 +15,7 @@ class StateGenerator public: static protos::Side convertSide(rcsc::SideID sideId); static protos::ViewWidth convertViewWidth(rcsc::ViewWidth::Type viewWidth); + static protos::CardType convertCardType(rcsc::Card cardType); static protos::RpcVector2D *convertVector2D(rcsc::Vector2D vector2D); static protos::Ball *convertBall(const rcsc::BallObject &ball); static protos::Ball *convertBall(const rcsc::CoachBallObject &ball); diff --git a/src/grpc-generated/service.pb.cc b/src/grpc-generated/service.pb.cc index d7c29f5..d20afff 100644 --- a/src/grpc-generated/service.pb.cc +++ b/src/grpc-generated/service.pb.cc @@ -274,6 +274,8 @@ PROTOBUF_CONSTEXPR Self::Self( , /*decltype(_impl_.recovery_)*/ 0 , /*decltype(_impl_.stamina_capacity_)*/ 0 + + , /*decltype(_impl_.card_)*/ 0 } {} struct SelfDefaultTypeInternal { PROTOBUF_CONSTEXPR SelfDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} @@ -3217,7 +3219,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EmptyDefaultTypeInternal _Empty_default_instance_; } // namespace protos static ::_pb::Metadata file_level_metadata_service_2eproto[134]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_service_2eproto[7]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_service_2eproto[8]; static constexpr const ::_pb::ServiceDescriptor** file_level_service_descriptors_service_2eproto = nullptr; const ::uint32_t TableStruct_service_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE( @@ -3413,6 +3415,7 @@ const ::uint32_t TableStruct_service_2eproto::offsets[] PROTOBUF_SECTION_VARIABL PROTOBUF_FIELD_OFFSET(::protos::Self, _impl_.kick_rate_), PROTOBUF_FIELD_OFFSET(::protos::Self, _impl_.recovery_), PROTOBUF_FIELD_OFFSET(::protos::Self, _impl_.stamina_capacity_), + PROTOBUF_FIELD_OFFSET(::protos::Self, _impl_.card_), 0, 1, 2, @@ -3451,6 +3454,7 @@ const ::uint32_t TableStruct_service_2eproto::offsets[] PROTOBUF_SECTION_VARIABL ~0u, ~0u, ~0u, + ~0u, PROTOBUF_FIELD_OFFSET(::protos::InterceptInfo, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::protos::InterceptInfo, _internal_metadata_), ~0u, // no _extensions_ @@ -5669,135 +5673,135 @@ static const ::_pbi::MigrationSchema { 23, -1, -1, sizeof(::protos::RegisterResponse)}, { 35, 60, -1, sizeof(::protos::Ball)}, { 77, 115, -1, sizeof(::protos::Player)}, - { 145, 191, -1, sizeof(::protos::Self)}, - { 229, 247, -1, sizeof(::protos::InterceptInfo)}, - { 257, -1, -1, sizeof(::protos::InterceptTable)}, - { 275, 285, -1, sizeof(::protos::WorldModel_OurPlayersDictEntry_DoNotUse)}, - { 287, 297, -1, sizeof(::protos::WorldModel_TheirPlayersDictEntry_DoNotUse)}, - { 299, 309, -1, sizeof(::protos::WorldModel_HeliosHomePositionsEntry_DoNotUse)}, - { 311, 354, -1, sizeof(::protos::WorldModel)}, - { 389, 401, -1, sizeof(::protos::State)}, - { 405, 415, -1, sizeof(::protos::InitMessage)}, - { 417, -1, -1, sizeof(::protos::Dash)}, - { 427, -1, -1, sizeof(::protos::Turn)}, - { 436, -1, -1, sizeof(::protos::Kick)}, - { 446, -1, -1, sizeof(::protos::Tackle)}, - { 456, -1, -1, sizeof(::protos::Catch)}, - { 464, -1, -1, sizeof(::protos::Move)}, - { 474, -1, -1, sizeof(::protos::TurnNeck)}, - { 483, -1, -1, sizeof(::protos::ChangeView)}, - { 492, 502, -1, sizeof(::protos::BallMessage)}, - { 504, 516, -1, sizeof(::protos::PassMessage)}, - { 520, -1, -1, sizeof(::protos::InterceptMessage)}, - { 531, 542, -1, sizeof(::protos::GoalieMessage)}, - { 545, 558, -1, sizeof(::protos::GoalieAndPlayerMessage)}, - { 563, -1, -1, sizeof(::protos::OffsideLineMessage)}, - { 572, -1, -1, sizeof(::protos::DefenseLineMessage)}, - { 581, -1, -1, sizeof(::protos::WaitRequestMessage)}, - { 589, -1, -1, sizeof(::protos::SetplayMessage)}, - { 598, 607, -1, sizeof(::protos::PassRequestMessage)}, - { 608, -1, -1, sizeof(::protos::StaminaMessage)}, - { 617, -1, -1, sizeof(::protos::RecoveryMessage)}, - { 626, -1, -1, sizeof(::protos::StaminaCapacityMessage)}, - { 635, 645, -1, sizeof(::protos::DribbleMessage)}, - { 647, 659, -1, sizeof(::protos::BallGoalieMessage)}, - { 663, 673, -1, sizeof(::protos::OnePlayerMessage)}, - { 675, 687, -1, sizeof(::protos::TwoPlayerMessage)}, - { 691, 705, -1, sizeof(::protos::ThreePlayerMessage)}, - { 711, 722, -1, sizeof(::protos::SelfMessage)}, - { 725, 736, -1, sizeof(::protos::TeammateMessage)}, - { 739, 750, -1, sizeof(::protos::OpponentMessage)}, - { 753, 766, -1, sizeof(::protos::BallPlayerMessage)}, - { 771, -1, -1, sizeof(::protos::Say)}, - { 802, -1, -1, sizeof(::protos::PointTo)}, - { 812, -1, -1, sizeof(::protos::PointToOf)}, - { 820, -1, -1, sizeof(::protos::AttentionTo)}, - { 830, -1, -1, sizeof(::protos::AttentionToOf)}, - { 838, -1, -1, sizeof(::protos::AddText)}, - { 848, 859, -1, sizeof(::protos::AddPoint)}, - { 862, 874, -1, sizeof(::protos::AddLine)}, - { 878, 892, -1, sizeof(::protos::AddArc)}, - { 898, 911, -1, sizeof(::protos::AddCircle)}, - { 916, 930, -1, sizeof(::protos::AddTriangle)}, - { 936, -1, -1, sizeof(::protos::AddRectangle)}, - { 951, 967, -1, sizeof(::protos::AddSector)}, - { 975, 987, -1, sizeof(::protos::AddMessage)}, - { 991, -1, -1, sizeof(::protos::Log)}, - { 1009, -1, -1, sizeof(::protos::DebugClient)}, - { 1018, 1029, -1, sizeof(::protos::Body_GoToPoint)}, - { 1032, 1044, -1, sizeof(::protos::Body_SmartKick)}, - { 1048, 1057, -1, sizeof(::protos::Bhv_BeforeKickOff)}, - { 1058, -1, -1, sizeof(::protos::Bhv_BodyNeckToBall)}, - { 1066, 1075, -1, sizeof(::protos::Bhv_BodyNeckToPoint)}, - { 1076, -1, -1, sizeof(::protos::Bhv_Emergency)}, - { 1084, 1095, -1, sizeof(::protos::Bhv_GoToPointLookBall)}, - { 1098, -1, -1, sizeof(::protos::Bhv_NeckBodyToBall)}, - { 1107, 1117, -1, sizeof(::protos::Bhv_NeckBodyToPoint)}, - { 1119, -1, -1, sizeof(::protos::Bhv_ScanField)}, - { 1127, -1, -1, sizeof(::protos::Body_AdvanceBall)}, - { 1135, -1, -1, sizeof(::protos::Body_ClearBall)}, - { 1143, 1156, -1, sizeof(::protos::Body_Dribble)}, - { 1161, 1171, -1, sizeof(::protos::Body_GoToPointDodge)}, - { 1173, 1184, -1, sizeof(::protos::Body_HoldBall)}, - { 1187, 1197, -1, sizeof(::protos::Body_Intercept)}, - { 1199, 1210, -1, sizeof(::protos::Body_KickOneStep)}, - { 1213, -1, -1, sizeof(::protos::Body_StopBall)}, - { 1221, -1, -1, sizeof(::protos::Body_StopDash)}, - { 1230, 1241, -1, sizeof(::protos::Body_TackleToPoint)}, - { 1244, -1, -1, sizeof(::protos::Body_TurnToAngle)}, - { 1253, -1, -1, sizeof(::protos::Body_TurnToBall)}, - { 1262, 1272, -1, sizeof(::protos::Body_TurnToPoint)}, - { 1274, 1283, -1, sizeof(::protos::Focus_MoveToPoint)}, - { 1284, -1, -1, sizeof(::protos::Focus_Reset)}, - { 1292, -1, -1, sizeof(::protos::Neck_ScanField)}, - { 1300, -1, -1, sizeof(::protos::Neck_ScanPlayers)}, - { 1308, -1, -1, sizeof(::protos::Neck_TurnToBallAndPlayer)}, - { 1319, -1, -1, sizeof(::protos::Neck_TurnToBallOrScan)}, - { 1328, -1, -1, sizeof(::protos::Neck_TurnToBall)}, - { 1336, -1, -1, sizeof(::protos::Neck_TurnToGoalieOrScan)}, - { 1345, -1, -1, sizeof(::protos::Neck_TurnToLowConfTeammate)}, - { 1353, -1, -1, sizeof(::protos::Neck_TurnToPlayerOrScan)}, - { 1364, 1373, -1, sizeof(::protos::Neck_TurnToPoint)}, - { 1374, -1, -1, sizeof(::protos::Neck_TurnToRelative)}, - { 1383, -1, -1, sizeof(::protos::View_ChangeWidth)}, - { 1392, -1, -1, sizeof(::protos::View_Normal)}, - { 1400, -1, -1, sizeof(::protos::View_Synch)}, - { 1408, -1, -1, sizeof(::protos::View_Wide)}, - { 1416, -1, -1, sizeof(::protos::HeliosGoalie)}, - { 1424, -1, -1, sizeof(::protos::HeliosGoalieMove)}, - { 1432, -1, -1, sizeof(::protos::HeliosGoalieKick)}, - { 1440, -1, -1, sizeof(::protos::HeliosShoot)}, - { 1448, -1, -1, sizeof(::protos::HeliosOffensivePlanner)}, - { 1466, -1, -1, sizeof(::protos::HeliosBasicOffensive)}, - { 1474, -1, -1, sizeof(::protos::HeliosBasicMove)}, - { 1482, -1, -1, sizeof(::protos::HeliosSetPlay)}, - { 1490, -1, -1, sizeof(::protos::HeliosPenalty)}, - { 1498, -1, -1, sizeof(::protos::HeliosCommunicaion)}, - { 1506, -1, -1, sizeof(::protos::PlayerAction)}, - { 1579, -1, -1, sizeof(::protos::PlayerActions)}, - { 1589, -1, -1, sizeof(::protos::ChangePlayerType)}, - { 1599, -1, -1, sizeof(::protos::DoHeliosSubstitute)}, - { 1607, -1, -1, sizeof(::protos::DoHeliosSayPlayerTypes)}, - { 1615, -1, -1, sizeof(::protos::CoachAction)}, - { 1627, -1, -1, sizeof(::protos::CoachActions)}, - { 1636, -1, -1, sizeof(::protos::DoKickOff)}, - { 1644, 1654, -1, sizeof(::protos::DoMoveBall)}, - { 1656, 1668, -1, sizeof(::protos::DoMovePlayer)}, - { 1672, -1, -1, sizeof(::protos::DoRecover)}, - { 1680, -1, -1, sizeof(::protos::DoChangeMode)}, - { 1690, -1, -1, sizeof(::protos::DoChangePlayerType)}, - { 1701, -1, -1, sizeof(::protos::TrainerAction)}, - { 1716, -1, -1, sizeof(::protos::TrainerActions)}, - { 1725, 1955, -1, sizeof(::protos::ServerParam)}, - { 2177, 2215, -1, sizeof(::protos::PlayerParam)}, - { 2245, 2287, -1, sizeof(::protos::PlayerType)}, - { 2321, 2345, -1, sizeof(::protos::RpcCooperativeAction)}, - { 2361, 2375, -1, sizeof(::protos::RpcPredictState)}, - { 2381, 2392, -1, sizeof(::protos::RpcActionState)}, - { 2395, 2405, -1, sizeof(::protos::BestPlannerActionRequest_PairsEntry_DoNotUse)}, - { 2407, 2418, -1, sizeof(::protos::BestPlannerActionRequest)}, - { 2421, -1, -1, sizeof(::protos::BestPlannerActionResponse)}, - { 2430, -1, -1, sizeof(::protos::Empty)}, + { 145, 192, -1, sizeof(::protos::Self)}, + { 231, 249, -1, sizeof(::protos::InterceptInfo)}, + { 259, -1, -1, sizeof(::protos::InterceptTable)}, + { 277, 287, -1, sizeof(::protos::WorldModel_OurPlayersDictEntry_DoNotUse)}, + { 289, 299, -1, sizeof(::protos::WorldModel_TheirPlayersDictEntry_DoNotUse)}, + { 301, 311, -1, sizeof(::protos::WorldModel_HeliosHomePositionsEntry_DoNotUse)}, + { 313, 356, -1, sizeof(::protos::WorldModel)}, + { 391, 403, -1, sizeof(::protos::State)}, + { 407, 417, -1, sizeof(::protos::InitMessage)}, + { 419, -1, -1, sizeof(::protos::Dash)}, + { 429, -1, -1, sizeof(::protos::Turn)}, + { 438, -1, -1, sizeof(::protos::Kick)}, + { 448, -1, -1, sizeof(::protos::Tackle)}, + { 458, -1, -1, sizeof(::protos::Catch)}, + { 466, -1, -1, sizeof(::protos::Move)}, + { 476, -1, -1, sizeof(::protos::TurnNeck)}, + { 485, -1, -1, sizeof(::protos::ChangeView)}, + { 494, 504, -1, sizeof(::protos::BallMessage)}, + { 506, 518, -1, sizeof(::protos::PassMessage)}, + { 522, -1, -1, sizeof(::protos::InterceptMessage)}, + { 533, 544, -1, sizeof(::protos::GoalieMessage)}, + { 547, 560, -1, sizeof(::protos::GoalieAndPlayerMessage)}, + { 565, -1, -1, sizeof(::protos::OffsideLineMessage)}, + { 574, -1, -1, sizeof(::protos::DefenseLineMessage)}, + { 583, -1, -1, sizeof(::protos::WaitRequestMessage)}, + { 591, -1, -1, sizeof(::protos::SetplayMessage)}, + { 600, 609, -1, sizeof(::protos::PassRequestMessage)}, + { 610, -1, -1, sizeof(::protos::StaminaMessage)}, + { 619, -1, -1, sizeof(::protos::RecoveryMessage)}, + { 628, -1, -1, sizeof(::protos::StaminaCapacityMessage)}, + { 637, 647, -1, sizeof(::protos::DribbleMessage)}, + { 649, 661, -1, sizeof(::protos::BallGoalieMessage)}, + { 665, 675, -1, sizeof(::protos::OnePlayerMessage)}, + { 677, 689, -1, sizeof(::protos::TwoPlayerMessage)}, + { 693, 707, -1, sizeof(::protos::ThreePlayerMessage)}, + { 713, 724, -1, sizeof(::protos::SelfMessage)}, + { 727, 738, -1, sizeof(::protos::TeammateMessage)}, + { 741, 752, -1, sizeof(::protos::OpponentMessage)}, + { 755, 768, -1, sizeof(::protos::BallPlayerMessage)}, + { 773, -1, -1, sizeof(::protos::Say)}, + { 804, -1, -1, sizeof(::protos::PointTo)}, + { 814, -1, -1, sizeof(::protos::PointToOf)}, + { 822, -1, -1, sizeof(::protos::AttentionTo)}, + { 832, -1, -1, sizeof(::protos::AttentionToOf)}, + { 840, -1, -1, sizeof(::protos::AddText)}, + { 850, 861, -1, sizeof(::protos::AddPoint)}, + { 864, 876, -1, sizeof(::protos::AddLine)}, + { 880, 894, -1, sizeof(::protos::AddArc)}, + { 900, 913, -1, sizeof(::protos::AddCircle)}, + { 918, 932, -1, sizeof(::protos::AddTriangle)}, + { 938, -1, -1, sizeof(::protos::AddRectangle)}, + { 953, 969, -1, sizeof(::protos::AddSector)}, + { 977, 989, -1, sizeof(::protos::AddMessage)}, + { 993, -1, -1, sizeof(::protos::Log)}, + { 1011, -1, -1, sizeof(::protos::DebugClient)}, + { 1020, 1031, -1, sizeof(::protos::Body_GoToPoint)}, + { 1034, 1046, -1, sizeof(::protos::Body_SmartKick)}, + { 1050, 1059, -1, sizeof(::protos::Bhv_BeforeKickOff)}, + { 1060, -1, -1, sizeof(::protos::Bhv_BodyNeckToBall)}, + { 1068, 1077, -1, sizeof(::protos::Bhv_BodyNeckToPoint)}, + { 1078, -1, -1, sizeof(::protos::Bhv_Emergency)}, + { 1086, 1097, -1, sizeof(::protos::Bhv_GoToPointLookBall)}, + { 1100, -1, -1, sizeof(::protos::Bhv_NeckBodyToBall)}, + { 1109, 1119, -1, sizeof(::protos::Bhv_NeckBodyToPoint)}, + { 1121, -1, -1, sizeof(::protos::Bhv_ScanField)}, + { 1129, -1, -1, sizeof(::protos::Body_AdvanceBall)}, + { 1137, -1, -1, sizeof(::protos::Body_ClearBall)}, + { 1145, 1158, -1, sizeof(::protos::Body_Dribble)}, + { 1163, 1173, -1, sizeof(::protos::Body_GoToPointDodge)}, + { 1175, 1186, -1, sizeof(::protos::Body_HoldBall)}, + { 1189, 1199, -1, sizeof(::protos::Body_Intercept)}, + { 1201, 1212, -1, sizeof(::protos::Body_KickOneStep)}, + { 1215, -1, -1, sizeof(::protos::Body_StopBall)}, + { 1223, -1, -1, sizeof(::protos::Body_StopDash)}, + { 1232, 1243, -1, sizeof(::protos::Body_TackleToPoint)}, + { 1246, -1, -1, sizeof(::protos::Body_TurnToAngle)}, + { 1255, -1, -1, sizeof(::protos::Body_TurnToBall)}, + { 1264, 1274, -1, sizeof(::protos::Body_TurnToPoint)}, + { 1276, 1285, -1, sizeof(::protos::Focus_MoveToPoint)}, + { 1286, -1, -1, sizeof(::protos::Focus_Reset)}, + { 1294, -1, -1, sizeof(::protos::Neck_ScanField)}, + { 1302, -1, -1, sizeof(::protos::Neck_ScanPlayers)}, + { 1310, -1, -1, sizeof(::protos::Neck_TurnToBallAndPlayer)}, + { 1321, -1, -1, sizeof(::protos::Neck_TurnToBallOrScan)}, + { 1330, -1, -1, sizeof(::protos::Neck_TurnToBall)}, + { 1338, -1, -1, sizeof(::protos::Neck_TurnToGoalieOrScan)}, + { 1347, -1, -1, sizeof(::protos::Neck_TurnToLowConfTeammate)}, + { 1355, -1, -1, sizeof(::protos::Neck_TurnToPlayerOrScan)}, + { 1366, 1375, -1, sizeof(::protos::Neck_TurnToPoint)}, + { 1376, -1, -1, sizeof(::protos::Neck_TurnToRelative)}, + { 1385, -1, -1, sizeof(::protos::View_ChangeWidth)}, + { 1394, -1, -1, sizeof(::protos::View_Normal)}, + { 1402, -1, -1, sizeof(::protos::View_Synch)}, + { 1410, -1, -1, sizeof(::protos::View_Wide)}, + { 1418, -1, -1, sizeof(::protos::HeliosGoalie)}, + { 1426, -1, -1, sizeof(::protos::HeliosGoalieMove)}, + { 1434, -1, -1, sizeof(::protos::HeliosGoalieKick)}, + { 1442, -1, -1, sizeof(::protos::HeliosShoot)}, + { 1450, -1, -1, sizeof(::protos::HeliosOffensivePlanner)}, + { 1468, -1, -1, sizeof(::protos::HeliosBasicOffensive)}, + { 1476, -1, -1, sizeof(::protos::HeliosBasicMove)}, + { 1484, -1, -1, sizeof(::protos::HeliosSetPlay)}, + { 1492, -1, -1, sizeof(::protos::HeliosPenalty)}, + { 1500, -1, -1, sizeof(::protos::HeliosCommunicaion)}, + { 1508, -1, -1, sizeof(::protos::PlayerAction)}, + { 1581, -1, -1, sizeof(::protos::PlayerActions)}, + { 1591, -1, -1, sizeof(::protos::ChangePlayerType)}, + { 1601, -1, -1, sizeof(::protos::DoHeliosSubstitute)}, + { 1609, -1, -1, sizeof(::protos::DoHeliosSayPlayerTypes)}, + { 1617, -1, -1, sizeof(::protos::CoachAction)}, + { 1629, -1, -1, sizeof(::protos::CoachActions)}, + { 1638, -1, -1, sizeof(::protos::DoKickOff)}, + { 1646, 1656, -1, sizeof(::protos::DoMoveBall)}, + { 1658, 1670, -1, sizeof(::protos::DoMovePlayer)}, + { 1674, -1, -1, sizeof(::protos::DoRecover)}, + { 1682, -1, -1, sizeof(::protos::DoChangeMode)}, + { 1692, -1, -1, sizeof(::protos::DoChangePlayerType)}, + { 1703, -1, -1, sizeof(::protos::TrainerAction)}, + { 1718, -1, -1, sizeof(::protos::TrainerActions)}, + { 1727, 1957, -1, sizeof(::protos::ServerParam)}, + { 2179, 2217, -1, sizeof(::protos::PlayerParam)}, + { 2247, 2289, -1, sizeof(::protos::PlayerType)}, + { 2323, 2347, -1, sizeof(::protos::RpcCooperativeAction)}, + { 2363, 2377, -1, sizeof(::protos::RpcPredictState)}, + { 2383, 2394, -1, sizeof(::protos::RpcActionState)}, + { 2397, 2407, -1, sizeof(::protos::BestPlannerActionRequest_PairsEntry_DoNotUse)}, + { 2409, 2420, -1, sizeof(::protos::BestPlannerActionRequest)}, + { 2423, -1, -1, sizeof(::protos::BestPlannerActionResponse)}, + { 2432, -1, -1, sizeof(::protos::Empty)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -5978,7 +5982,7 @@ const char descriptor_table_protodef_service_2eproto[] PROTOBUF_SECTION_VARIABLE "tion_count\030\030 \001(\005\022\022\n\nis_kicking\030\031 \001(\010\022\026\n\016" "dist_from_ball\030\032 \001(\002\022\027\n\017angle_from_ball\030" "\033 \001(\002\022\030\n\020ball_reach_steps\030\034 \001(\005\022\023\n\013is_ta" - "ckling\030\035 \001(\010\022\017\n\007type_id\030\036 \001(\005\"\373\007\n\004Self\022%" + "ckling\030\035 \001(\010\022\017\n\007type_id\030\036 \001(\005\"\233\010\n\004Self\022%" "\n\010position\030\001 \001(\0132\023.protos.RpcVector2D\022*\n" "\rseen_position\030\002 \001(\0132\023.protos.RpcVector2" "D\022+\n\016heard_position\030\003 \001(\0132\023.protos.RpcVe" @@ -6004,660 +6008,661 @@ const char descriptor_table_protodef_service_2eproto[] PROTOBUF_SECTION_VARIABLE "bility\030! \001(\002\022%\n\nview_width\030\" \001(\0162\021.proto" "s.ViewWidth\022\017\n\007type_id\030# \001(\005\022\021\n\tkick_rat" "e\030$ \001(\002\022\020\n\010recovery\030% \001(\002\022\030\n\020stamina_cap" - "acity\030& \001(\002\"\224\002\n\rInterceptInfo\0220\n\013action_" - "type\030\001 \001(\0162\033.protos.InterceptActionType\022" - "\022\n\nturn_steps\030\002 \001(\005\022\022\n\nturn_angle\030\003 \001(\002\022" - "\022\n\ndash_steps\030\004 \001(\005\022\022\n\ndash_power\030\005 \001(\002\022" - "\020\n\010dash_dir\030\006 \001(\002\0220\n\023final_self_position" - "\030\007 \001(\0132\023.protos.RpcVector2D\022\027\n\017final_bal" - "l_dist\030\010 \001(\002\022\025\n\rfinal_stamina\030\t \001(\002\022\r\n\005v" - "alue\030\n \001(\002\"\336\002\n\016InterceptTable\022\030\n\020self_re" - "ach_steps\030\001 \001(\005\022\"\n\032first_teammate_reach_" - "steps\030\002 \001(\005\022#\n\033second_teammate_reach_ste" - "ps\030\003 \001(\005\022\"\n\032first_opponent_reach_steps\030\004" - " \001(\005\022#\n\033second_opponent_reach_steps\030\005 \001(" - "\005\022\031\n\021first_teammate_id\030\006 \001(\005\022\032\n\022second_t" - "eammate_id\030\007 \001(\005\022\031\n\021first_opponent_id\030\010 " - "\001(\005\022\032\n\022second_opponent_id\030\t \001(\005\0222\n\023self_" - "intercept_info\030\n \003(\0132\025.protos.InterceptI" - "nfo\"\223\013\n\nWorldModel\022/\n\017intercept_table\030\001 " - "\001(\0132\026.protos.InterceptTable\022\025\n\rour_team_" - "name\030\002 \001(\t\022\027\n\017their_team_name\030\003 \001(\t\022\036\n\010o" - "ur_side\030\004 \001(\0162\014.protos.Side\022 \n\030last_set_" - "play_start_time\030\005 \001(\005\022\032\n\004self\030\006 \001(\0132\014.pr" - "otos.Self\022\032\n\004ball\030\007 \001(\0132\014.protos.Ball\022!\n" - "\tteammates\030\010 \003(\0132\016.protos.Player\022!\n\toppo" - "nents\030\t \003(\0132\016.protos.Player\022 \n\010unknowns\030" - "\n \003(\0132\016.protos.Player\022@\n\020our_players_dic" - "t\030\013 \003(\0132&.protos.WorldModel.OurPlayersDi" - "ctEntry\022D\n\022their_players_dict\030\014 \003(\0132(.pr" - "otos.WorldModel.TheirPlayersDictEntry\022!\n" - "\031our_goalie_uniform_number\030\r \001(\005\022#\n\033thei" - "r_goalie_uniform_number\030\016 \001(\005\022\026\n\016offside" - "_line_x\030\017 \001(\002\022\033\n\023ofside_line_x_count\030\020 \001" - "(\005\022\034\n\024kickable_teammate_id\030\021 \001(\005\022\034\n\024kick" - "able_opponent_id\030\022 \001(\005\022$\n\016last_kick_side" - "\030\023 \001(\0162\014.protos.Side\022\"\n\032last_kicker_unif" - "orm_number\030\024 \001(\005\022\r\n\005cycle\030\025 \001(\005\022,\n\016game_" - "mode_type\030\026 \001(\0162\024.protos.GameModeType\022\027\n" - "\017left_team_score\030\027 \001(\005\022\030\n\020right_team_sco" - "re\030\030 \001(\005\022\027\n\017is_our_set_play\030\031 \001(\010\022\031\n\021is_" - "their_set_play\030\032 \001(\010\022\024\n\014stoped_cycle\030\033 \001" - "(\005\022\026\n\016our_team_score\030\034 \001(\005\022\030\n\020their_team" - "_score\030\035 \001(\005\022\034\n\024is_penalty_kick_mode\030\036 \001" - "(\010\022J\n\025helios_home_positions\030\037 \003(\0132+.prot" - "os.WorldModel.HeliosHomePositionsEntry\022\032" - "\n\022our_defense_line_x\030 \001(\001\022\034\n\024their_defe" - "nse_line_x\030! \001(\001\022!\n\031our_defense_player_l" - "ine_x\030\" \001(\001\022#\n\033their_defense_player_line" - "_x\030# \001(\001\032E\n\023OurPlayersDictEntry\022\013\n\003key\030\001" - " \001(\005\022\035\n\005value\030\002 \001(\0132\016.protos.Player:\0028\001\032" - "G\n\025TheirPlayersDictEntry\022\013\n\003key\030\001 \001(\005\022\035\n" - "\005value\030\002 \001(\0132\016.protos.Player:\0028\001\032O\n\030Heli" - "osHomePositionsEntry\022\013\n\003key\030\001 \001(\005\022\"\n\005val" - "ue\030\002 \001(\0132\023.protos.RpcVector2D:\0028\001\"\254\001\n\005St" - "ate\0223\n\021register_response\030\001 \001(\0132\030.protos." - "RegisterResponse\022\'\n\013world_model\030\002 \001(\0132\022." - "protos.WorldModel\022,\n\020full_world_model\030\003 " - "\001(\0132\022.protos.WorldModel\022\027\n\017need_preproce" - "ss\030\004 \001(\010\"V\n\013InitMessage\0223\n\021register_resp" - "onse\030\001 \001(\0132\030.protos.RegisterResponse\022\022\n\n" - "debug_mode\030\002 \001(\010\"1\n\004Dash\022\r\n\005power\030\001 \001(\002\022" - "\032\n\022relative_direction\030\002 \001(\002\"\"\n\004Turn\022\032\n\022r" - "elative_direction\030\001 \001(\002\"1\n\004Kick\022\r\n\005power" - "\030\001 \001(\002\022\032\n\022relative_direction\030\002 \001(\002\",\n\006Ta" - "ckle\022\024\n\014power_or_dir\030\001 \001(\002\022\014\n\004foul\030\002 \001(\010" - "\"\007\n\005Catch\"\034\n\004Move\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"" - "\032\n\010TurnNeck\022\016\n\006moment\030\001 \001(\002\"3\n\nChangeVie" - "w\022%\n\nview_width\030\001 \001(\0162\021.protos.ViewWidth" - "\"e\n\013BallMessage\022*\n\rball_position\030\001 \001(\0132\023" - ".protos.RpcVector2D\022*\n\rball_velocity\030\002 \001" - "(\0132\023.protos.RpcVector2D\"\263\001\n\013PassMessage\022" - "\037\n\027receiver_uniform_number\030\001 \001(\005\022+\n\016rece" - "iver_point\030\002 \001(\0132\023.protos.RpcVector2D\022*\n" - "\rball_position\030\003 \001(\0132\023.protos.RpcVector2" - "D\022*\n\rball_velocity\030\004 \001(\0132\023.protos.RpcVec" - "tor2D\"F\n\020InterceptMessage\022\013\n\003our\030\001 \001(\010\022\026" - "\n\016uniform_number\030\002 \001(\005\022\r\n\005cycle\030\003 \001(\005\"{\n" - "\rGoalieMessage\022\035\n\025goalie_uniform_number\030" - "\001 \001(\005\022,\n\017goalie_position\030\002 \001(\0132\023.protos." - "RpcVector2D\022\035\n\025goalie_body_direction\030\003 \001" - "(\002\"\321\001\n\026GoalieAndPlayerMessage\022\035\n\025goalie_" - "uniform_number\030\001 \001(\005\022,\n\017goalie_position\030" - "\002 \001(\0132\023.protos.RpcVector2D\022\035\n\025goalie_bod" - "y_direction\030\003 \001(\002\022\035\n\025player_uniform_numb" - "er\030\004 \001(\005\022,\n\017player_position\030\005 \001(\0132\023.prot" - "os.RpcVector2D\",\n\022OffsideLineMessage\022\026\n\016" - "offside_line_x\030\001 \001(\002\",\n\022DefenseLineMessa" - "ge\022\026\n\016defense_line_x\030\001 \001(\002\"\024\n\022WaitReques" - "tMessage\"#\n\016SetplayMessage\022\021\n\twait_step\030" - "\001 \001(\005\"\?\n\022PassRequestMessage\022)\n\014target_po" - "int\030\001 \001(\0132\023.protos.RpcVector2D\"!\n\016Stamin" - "aMessage\022\017\n\007stamina\030\001 \001(\002\"#\n\017RecoveryMes" - "sage\022\020\n\010recovery\030\001 \001(\002\"2\n\026StaminaCapacit" - "yMessage\022\030\n\020stamina_capacity\030\001 \001(\002\"P\n\016Dr" - "ibbleMessage\022)\n\014target_point\030\001 \001(\0132\023.pro" - "tos.RpcVector2D\022\023\n\013queue_count\030\002 \001(\005\"\270\001\n" - "\021BallGoalieMessage\022*\n\rball_position\030\001 \001(" - "\0132\023.protos.RpcVector2D\022*\n\rball_velocity\030" - "\002 \001(\0132\023.protos.RpcVector2D\022,\n\017goalie_pos" - "ition\030\003 \001(\0132\023.protos.RpcVector2D\022\035\n\025goal" - "ie_body_direction\030\004 \001(\002\"Q\n\020OnePlayerMess" - "age\022\026\n\016uniform_number\030\001 \001(\005\022%\n\010position\030" - "\002 \001(\0132\023.protos.RpcVector2D\"\252\001\n\020TwoPlayer" - "Message\022\034\n\024first_uniform_number\030\001 \001(\005\022+\n" - "\016first_position\030\002 \001(\0132\023.protos.RpcVector" - "2D\022\035\n\025second_uniform_number\030\003 \001(\005\022,\n\017sec" - "ond_position\030\004 \001(\0132\023.protos.RpcVector2D\"" - "\367\001\n\022ThreePlayerMessage\022\034\n\024first_uniform_" - "number\030\001 \001(\005\022+\n\016first_position\030\002 \001(\0132\023.p" - "rotos.RpcVector2D\022\035\n\025second_uniform_numb" - "er\030\003 \001(\005\022,\n\017second_position\030\004 \001(\0132\023.prot" - "os.RpcVector2D\022\034\n\024third_uniform_number\030\005" - " \001(\005\022+\n\016third_position\030\006 \001(\0132\023.protos.Rp" - "cVector2D\"l\n\013SelfMessage\022*\n\rself_positio" - "n\030\001 \001(\0132\023.protos.RpcVector2D\022\033\n\023self_bod" - "y_direction\030\002 \001(\002\022\024\n\014self_stamina\030\003 \001(\002\"" - "h\n\017TeammateMessage\022\026\n\016uniform_number\030\001 \001" - "(\005\022%\n\010position\030\002 \001(\0132\023.protos.RpcVector2" - "D\022\026\n\016body_direction\030\003 \001(\002\"h\n\017OpponentMes" - "sage\022\026\n\016uniform_number\030\001 \001(\005\022%\n\010position" - "\030\002 \001(\0132\023.protos.RpcVector2D\022\026\n\016body_dire" - "ction\030\003 \001(\002\"\311\001\n\021BallPlayerMessage\022*\n\rbal" - "l_position\030\001 \001(\0132\023.protos.RpcVector2D\022*\n" - "\rball_velocity\030\002 \001(\0132\023.protos.RpcVector2" - "D\022\026\n\016uniform_number\030\003 \001(\005\022,\n\017player_posi" - "tion\030\004 \001(\0132\023.protos.RpcVector2D\022\026\n\016body_" - "direction\030\005 \001(\002\"\320\t\n\003Say\022+\n\014ball_message\030" - "\001 \001(\0132\023.protos.BallMessageH\000\022+\n\014pass_mes" - "sage\030\002 \001(\0132\023.protos.PassMessageH\000\0225\n\021int" - "ercept_message\030\003 \001(\0132\030.protos.InterceptM" - "essageH\000\022/\n\016goalie_message\030\004 \001(\0132\025.proto" - "s.GoalieMessageH\000\022C\n\031goalie_and_player_m" - "essage\030\005 \001(\0132\036.protos.GoalieAndPlayerMes" - "sageH\000\022:\n\024offside_line_message\030\006 \001(\0132\032.p" - "rotos.OffsideLineMessageH\000\022:\n\024defense_li" - "ne_message\030\007 \001(\0132\032.protos.DefenseLineMes" - "sageH\000\022:\n\024wait_request_message\030\010 \001(\0132\032.p" - "rotos.WaitRequestMessageH\000\0221\n\017setplay_me" - "ssage\030\t \001(\0132\026.protos.SetplayMessageH\000\022:\n" - "\024pass_request_message\030\n \001(\0132\032.protos.Pas" - "sRequestMessageH\000\0221\n\017stamina_message\030\013 \001" - "(\0132\026.protos.StaminaMessageH\000\0223\n\020recovery" - "_message\030\014 \001(\0132\027.protos.RecoveryMessageH" - "\000\022B\n\030stamina_capacity_message\030\r \001(\0132\036.pr" - "otos.StaminaCapacityMessageH\000\0221\n\017dribble" - "_message\030\016 \001(\0132\026.protos.DribbleMessageH\000" - "\0228\n\023ball_goalie_message\030\017 \001(\0132\031.protos.B" - "allGoalieMessageH\000\0226\n\022one_player_message" - "\030\020 \001(\0132\030.protos.OnePlayerMessageH\000\0226\n\022tw" - "o_player_message\030\021 \001(\0132\030.protos.TwoPlaye" - "rMessageH\000\022:\n\024three_player_message\030\022 \001(\013" - "2\032.protos.ThreePlayerMessageH\000\022+\n\014self_m" - "essage\030\023 \001(\0132\023.protos.SelfMessageH\000\0223\n\020t" - "eammate_message\030\024 \001(\0132\027.protos.TeammateM" - "essageH\000\0223\n\020opponent_message\030\025 \001(\0132\027.pro" - "tos.OpponentMessageH\000\0228\n\023ball_player_mes" - "sage\030\026 \001(\0132\031.protos.BallPlayerMessageH\000B" - "\t\n\007message\"\037\n\007PointTo\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 " - "\001(\002\"\013\n\tPointToOf\"7\n\013AttentionTo\022\032\n\004side\030" - "\001 \001(\0162\014.protos.Side\022\014\n\004unum\030\002 \001(\005\"\017\n\rAtt" - "entionToOf\">\n\007AddText\022\"\n\005level\030\001 \001(\0162\023.p" - "rotos.LoggerLevel\022\017\n\007message\030\002 \001(\t\"a\n\010Ad" - "dPoint\022\"\n\005level\030\001 \001(\0162\023.protos.LoggerLev" - "el\022\"\n\005point\030\002 \001(\0132\023.protos.RpcVector2D\022\r" - "\n\005color\030\003 \001(\t\"\202\001\n\007AddLine\022\"\n\005level\030\001 \001(\016" - "2\023.protos.LoggerLevel\022\"\n\005start\030\002 \001(\0132\023.p" - "rotos.RpcVector2D\022 \n\003end\030\003 \001(\0132\023.protos." - "RpcVector2D\022\r\n\005color\030\004 \001(\t\"\231\001\n\006AddArc\022\"\n" - "\005level\030\001 \001(\0162\023.protos.LoggerLevel\022#\n\006cen" - "ter\030\002 \001(\0132\023.protos.RpcVector2D\022\016\n\006radius" - "\030\003 \001(\002\022\023\n\013start_angle\030\004 \001(\002\022\022\n\nspan_ange" - "l\030\005 \001(\002\022\r\n\005color\030\006 \001(\t\"\201\001\n\tAddCircle\022\"\n\005" - "level\030\001 \001(\0162\023.protos.LoggerLevel\022#\n\006cent" - "er\030\002 \001(\0132\023.protos.RpcVector2D\022\016\n\006radius\030" - "\003 \001(\002\022\r\n\005color\030\004 \001(\t\022\014\n\004fill\030\005 \001(\010\"\275\001\n\013A" - "ddTriangle\022\"\n\005level\030\001 \001(\0162\023.protos.Logge" - "rLevel\022#\n\006point1\030\002 \001(\0132\023.protos.RpcVecto" - "r2D\022#\n\006point2\030\003 \001(\0132\023.protos.RpcVector2D" - "\022#\n\006point3\030\004 \001(\0132\023.protos.RpcVector2D\022\r\n" - "\005color\030\005 \001(\t\022\014\n\004fill\030\006 \001(\010\"\211\001\n\014AddRectan" - "gle\022\"\n\005level\030\001 \001(\0162\023.protos.LoggerLevel\022" - "\014\n\004left\030\002 \001(\002\022\013\n\003top\030\003 \001(\002\022\016\n\006length\030\004 \001" - "(\002\022\r\n\005width\030\005 \001(\002\022\r\n\005color\030\006 \001(\t\022\014\n\004fill" - "\030\007 \001(\010\"\302\001\n\tAddSector\022\"\n\005level\030\001 \001(\0162\023.pr" - "otos.LoggerLevel\022#\n\006center\030\002 \001(\0132\023.proto" - "s.RpcVector2D\022\022\n\nmin_radius\030\003 \001(\002\022\022\n\nmax" - "_radius\030\004 \001(\002\022\023\n\013start_angle\030\005 \001(\002\022\022\n\nsp" - "an_angel\030\006 \001(\002\022\r\n\005color\030\007 \001(\t\022\014\n\004fill\030\010 " - "\001(\010\"w\n\nAddMessage\022\"\n\005level\030\001 \001(\0162\023.proto" - "s.LoggerLevel\022%\n\010position\030\002 \001(\0132\023.protos" - ".RpcVector2D\022\017\n\007message\030\003 \001(\t\022\r\n\005color\030\004" - " \001(\t\"\371\002\n\003Log\022#\n\010add_text\030\001 \001(\0132\017.protos." - "AddTextH\000\022%\n\tadd_point\030\002 \001(\0132\020.protos.Ad" - "dPointH\000\022#\n\010add_line\030\003 \001(\0132\017.protos.AddL" - "ineH\000\022!\n\007add_arc\030\004 \001(\0132\016.protos.AddArcH\000" - "\022\'\n\nadd_circle\030\005 \001(\0132\021.protos.AddCircleH" - "\000\022+\n\014add_triangle\030\006 \001(\0132\023.protos.AddTria" - "ngleH\000\022-\n\radd_rectangle\030\007 \001(\0132\024.protos.A" - "ddRectangleH\000\022\'\n\nadd_sector\030\010 \001(\0132\021.prot" - "os.AddSectorH\000\022)\n\013add_message\030\t \001(\0132\022.pr" - "otos.AddMessageH\000B\005\n\003log\"\036\n\013DebugClient\022" - "\017\n\007message\030\001 \001(\t\"o\n\016Body_GoToPoint\022)\n\014ta" + "acity\030& \001(\002\022\036\n\004card\030\' \001(\0162\020.protos.CardT" + "ype\"\224\002\n\rInterceptInfo\0220\n\013action_type\030\001 \001" + "(\0162\033.protos.InterceptActionType\022\022\n\nturn_" + "steps\030\002 \001(\005\022\022\n\nturn_angle\030\003 \001(\002\022\022\n\ndash_" + "steps\030\004 \001(\005\022\022\n\ndash_power\030\005 \001(\002\022\020\n\010dash_" + "dir\030\006 \001(\002\0220\n\023final_self_position\030\007 \001(\0132\023" + ".protos.RpcVector2D\022\027\n\017final_ball_dist\030\010" + " \001(\002\022\025\n\rfinal_stamina\030\t \001(\002\022\r\n\005value\030\n \001" + "(\002\"\336\002\n\016InterceptTable\022\030\n\020self_reach_step" + "s\030\001 \001(\005\022\"\n\032first_teammate_reach_steps\030\002 " + "\001(\005\022#\n\033second_teammate_reach_steps\030\003 \001(\005" + "\022\"\n\032first_opponent_reach_steps\030\004 \001(\005\022#\n\033" + "second_opponent_reach_steps\030\005 \001(\005\022\031\n\021fir" + "st_teammate_id\030\006 \001(\005\022\032\n\022second_teammate_" + "id\030\007 \001(\005\022\031\n\021first_opponent_id\030\010 \001(\005\022\032\n\022s" + "econd_opponent_id\030\t \001(\005\0222\n\023self_intercep" + "t_info\030\n \003(\0132\025.protos.InterceptInfo\"\223\013\n\n" + "WorldModel\022/\n\017intercept_table\030\001 \001(\0132\026.pr" + "otos.InterceptTable\022\025\n\rour_team_name\030\002 \001" + "(\t\022\027\n\017their_team_name\030\003 \001(\t\022\036\n\010our_side\030" + "\004 \001(\0162\014.protos.Side\022 \n\030last_set_play_sta" + "rt_time\030\005 \001(\005\022\032\n\004self\030\006 \001(\0132\014.protos.Sel" + "f\022\032\n\004ball\030\007 \001(\0132\014.protos.Ball\022!\n\tteammat" + "es\030\010 \003(\0132\016.protos.Player\022!\n\topponents\030\t " + "\003(\0132\016.protos.Player\022 \n\010unknowns\030\n \003(\0132\016." + "protos.Player\022@\n\020our_players_dict\030\013 \003(\0132" + "&.protos.WorldModel.OurPlayersDictEntry\022" + "D\n\022their_players_dict\030\014 \003(\0132(.protos.Wor" + "ldModel.TheirPlayersDictEntry\022!\n\031our_goa" + "lie_uniform_number\030\r \001(\005\022#\n\033their_goalie" + "_uniform_number\030\016 \001(\005\022\026\n\016offside_line_x\030" + "\017 \001(\002\022\033\n\023ofside_line_x_count\030\020 \001(\005\022\034\n\024ki" + "ckable_teammate_id\030\021 \001(\005\022\034\n\024kickable_opp" + "onent_id\030\022 \001(\005\022$\n\016last_kick_side\030\023 \001(\0162\014" + ".protos.Side\022\"\n\032last_kicker_uniform_numb" + "er\030\024 \001(\005\022\r\n\005cycle\030\025 \001(\005\022,\n\016game_mode_typ" + "e\030\026 \001(\0162\024.protos.GameModeType\022\027\n\017left_te" + "am_score\030\027 \001(\005\022\030\n\020right_team_score\030\030 \001(\005" + "\022\027\n\017is_our_set_play\030\031 \001(\010\022\031\n\021is_their_se" + "t_play\030\032 \001(\010\022\024\n\014stoped_cycle\030\033 \001(\005\022\026\n\016ou" + "r_team_score\030\034 \001(\005\022\030\n\020their_team_score\030\035" + " \001(\005\022\034\n\024is_penalty_kick_mode\030\036 \001(\010\022J\n\025he" + "lios_home_positions\030\037 \003(\0132+.protos.World" + "Model.HeliosHomePositionsEntry\022\032\n\022our_de" + "fense_line_x\030 \001(\001\022\034\n\024their_defense_line" + "_x\030! \001(\001\022!\n\031our_defense_player_line_x\030\" " + "\001(\001\022#\n\033their_defense_player_line_x\030# \001(\001" + "\032E\n\023OurPlayersDictEntry\022\013\n\003key\030\001 \001(\005\022\035\n\005" + "value\030\002 \001(\0132\016.protos.Player:\0028\001\032G\n\025Their" + "PlayersDictEntry\022\013\n\003key\030\001 \001(\005\022\035\n\005value\030\002" + " \001(\0132\016.protos.Player:\0028\001\032O\n\030HeliosHomePo" + "sitionsEntry\022\013\n\003key\030\001 \001(\005\022\"\n\005value\030\002 \001(\013" + "2\023.protos.RpcVector2D:\0028\001\"\254\001\n\005State\0223\n\021r" + "egister_response\030\001 \001(\0132\030.protos.Register" + "Response\022\'\n\013world_model\030\002 \001(\0132\022.protos.W" + "orldModel\022,\n\020full_world_model\030\003 \001(\0132\022.pr" + "otos.WorldModel\022\027\n\017need_preprocess\030\004 \001(\010" + "\"V\n\013InitMessage\0223\n\021register_response\030\001 \001" + "(\0132\030.protos.RegisterResponse\022\022\n\ndebug_mo" + "de\030\002 \001(\010\"1\n\004Dash\022\r\n\005power\030\001 \001(\002\022\032\n\022relat" + "ive_direction\030\002 \001(\002\"\"\n\004Turn\022\032\n\022relative_" + "direction\030\001 \001(\002\"1\n\004Kick\022\r\n\005power\030\001 \001(\002\022\032" + "\n\022relative_direction\030\002 \001(\002\",\n\006Tackle\022\024\n\014" + "power_or_dir\030\001 \001(\002\022\014\n\004foul\030\002 \001(\010\"\007\n\005Catc" + "h\"\034\n\004Move\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"\032\n\010TurnN" + "eck\022\016\n\006moment\030\001 \001(\002\"3\n\nChangeView\022%\n\nvie" + "w_width\030\001 \001(\0162\021.protos.ViewWidth\"e\n\013Ball" + "Message\022*\n\rball_position\030\001 \001(\0132\023.protos." + "RpcVector2D\022*\n\rball_velocity\030\002 \001(\0132\023.pro" + "tos.RpcVector2D\"\263\001\n\013PassMessage\022\037\n\027recei" + "ver_uniform_number\030\001 \001(\005\022+\n\016receiver_poi" + "nt\030\002 \001(\0132\023.protos.RpcVector2D\022*\n\rball_po" + "sition\030\003 \001(\0132\023.protos.RpcVector2D\022*\n\rbal" + "l_velocity\030\004 \001(\0132\023.protos.RpcVector2D\"F\n" + "\020InterceptMessage\022\013\n\003our\030\001 \001(\010\022\026\n\016unifor" + "m_number\030\002 \001(\005\022\r\n\005cycle\030\003 \001(\005\"{\n\rGoalieM" + "essage\022\035\n\025goalie_uniform_number\030\001 \001(\005\022,\n" + "\017goalie_position\030\002 \001(\0132\023.protos.RpcVecto" + "r2D\022\035\n\025goalie_body_direction\030\003 \001(\002\"\321\001\n\026G" + "oalieAndPlayerMessage\022\035\n\025goalie_uniform_" + "number\030\001 \001(\005\022,\n\017goalie_position\030\002 \001(\0132\023." + "protos.RpcVector2D\022\035\n\025goalie_body_direct" + "ion\030\003 \001(\002\022\035\n\025player_uniform_number\030\004 \001(\005" + "\022,\n\017player_position\030\005 \001(\0132\023.protos.RpcVe" + "ctor2D\",\n\022OffsideLineMessage\022\026\n\016offside_" + "line_x\030\001 \001(\002\",\n\022DefenseLineMessage\022\026\n\016de" + "fense_line_x\030\001 \001(\002\"\024\n\022WaitRequestMessage" + "\"#\n\016SetplayMessage\022\021\n\twait_step\030\001 \001(\005\"\?\n" + "\022PassRequestMessage\022)\n\014target_point\030\001 \001(" + "\0132\023.protos.RpcVector2D\"!\n\016StaminaMessage" + "\022\017\n\007stamina\030\001 \001(\002\"#\n\017RecoveryMessage\022\020\n\010" + "recovery\030\001 \001(\002\"2\n\026StaminaCapacityMessage" + "\022\030\n\020stamina_capacity\030\001 \001(\002\"P\n\016DribbleMes" + "sage\022)\n\014target_point\030\001 \001(\0132\023.protos.RpcV" + "ector2D\022\023\n\013queue_count\030\002 \001(\005\"\270\001\n\021BallGoa" + "lieMessage\022*\n\rball_position\030\001 \001(\0132\023.prot" + "os.RpcVector2D\022*\n\rball_velocity\030\002 \001(\0132\023." + "protos.RpcVector2D\022,\n\017goalie_position\030\003 " + "\001(\0132\023.protos.RpcVector2D\022\035\n\025goalie_body_" + "direction\030\004 \001(\002\"Q\n\020OnePlayerMessage\022\026\n\016u" + "niform_number\030\001 \001(\005\022%\n\010position\030\002 \001(\0132\023." + "protos.RpcVector2D\"\252\001\n\020TwoPlayerMessage\022" + "\034\n\024first_uniform_number\030\001 \001(\005\022+\n\016first_p" + "osition\030\002 \001(\0132\023.protos.RpcVector2D\022\035\n\025se" + "cond_uniform_number\030\003 \001(\005\022,\n\017second_posi" + "tion\030\004 \001(\0132\023.protos.RpcVector2D\"\367\001\n\022Thre" + "ePlayerMessage\022\034\n\024first_uniform_number\030\001" + " \001(\005\022+\n\016first_position\030\002 \001(\0132\023.protos.Rp" + "cVector2D\022\035\n\025second_uniform_number\030\003 \001(\005" + "\022,\n\017second_position\030\004 \001(\0132\023.protos.RpcVe" + "ctor2D\022\034\n\024third_uniform_number\030\005 \001(\005\022+\n\016" + "third_position\030\006 \001(\0132\023.protos.RpcVector2" + "D\"l\n\013SelfMessage\022*\n\rself_position\030\001 \001(\0132" + "\023.protos.RpcVector2D\022\033\n\023self_body_direct" + "ion\030\002 \001(\002\022\024\n\014self_stamina\030\003 \001(\002\"h\n\017Teamm" + "ateMessage\022\026\n\016uniform_number\030\001 \001(\005\022%\n\010po" + "sition\030\002 \001(\0132\023.protos.RpcVector2D\022\026\n\016bod" + "y_direction\030\003 \001(\002\"h\n\017OpponentMessage\022\026\n\016" + "uniform_number\030\001 \001(\005\022%\n\010position\030\002 \001(\0132\023" + ".protos.RpcVector2D\022\026\n\016body_direction\030\003 " + "\001(\002\"\311\001\n\021BallPlayerMessage\022*\n\rball_positi" + "on\030\001 \001(\0132\023.protos.RpcVector2D\022*\n\rball_ve" + "locity\030\002 \001(\0132\023.protos.RpcVector2D\022\026\n\016uni" + "form_number\030\003 \001(\005\022,\n\017player_position\030\004 \001" + "(\0132\023.protos.RpcVector2D\022\026\n\016body_directio" + "n\030\005 \001(\002\"\320\t\n\003Say\022+\n\014ball_message\030\001 \001(\0132\023." + "protos.BallMessageH\000\022+\n\014pass_message\030\002 \001" + "(\0132\023.protos.PassMessageH\000\0225\n\021intercept_m" + "essage\030\003 \001(\0132\030.protos.InterceptMessageH\000" + "\022/\n\016goalie_message\030\004 \001(\0132\025.protos.Goalie" + "MessageH\000\022C\n\031goalie_and_player_message\030\005" + " \001(\0132\036.protos.GoalieAndPlayerMessageH\000\022:" + "\n\024offside_line_message\030\006 \001(\0132\032.protos.Of" + "fsideLineMessageH\000\022:\n\024defense_line_messa" + "ge\030\007 \001(\0132\032.protos.DefenseLineMessageH\000\022:" + "\n\024wait_request_message\030\010 \001(\0132\032.protos.Wa" + "itRequestMessageH\000\0221\n\017setplay_message\030\t " + "\001(\0132\026.protos.SetplayMessageH\000\022:\n\024pass_re" + "quest_message\030\n \001(\0132\032.protos.PassRequest" + "MessageH\000\0221\n\017stamina_message\030\013 \001(\0132\026.pro" + "tos.StaminaMessageH\000\0223\n\020recovery_message" + "\030\014 \001(\0132\027.protos.RecoveryMessageH\000\022B\n\030sta" + "mina_capacity_message\030\r \001(\0132\036.protos.Sta" + "minaCapacityMessageH\000\0221\n\017dribble_message" + "\030\016 \001(\0132\026.protos.DribbleMessageH\000\0228\n\023ball" + "_goalie_message\030\017 \001(\0132\031.protos.BallGoali" + "eMessageH\000\0226\n\022one_player_message\030\020 \001(\0132\030" + ".protos.OnePlayerMessageH\000\0226\n\022two_player" + "_message\030\021 \001(\0132\030.protos.TwoPlayerMessage" + "H\000\022:\n\024three_player_message\030\022 \001(\0132\032.proto" + "s.ThreePlayerMessageH\000\022+\n\014self_message\030\023" + " \001(\0132\023.protos.SelfMessageH\000\0223\n\020teammate_" + "message\030\024 \001(\0132\027.protos.TeammateMessageH\000" + "\0223\n\020opponent_message\030\025 \001(\0132\027.protos.Oppo" + "nentMessageH\000\0228\n\023ball_player_message\030\026 \001" + "(\0132\031.protos.BallPlayerMessageH\000B\t\n\007messa" + "ge\"\037\n\007PointTo\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"\013\n\tP" + "ointToOf\"7\n\013AttentionTo\022\032\n\004side\030\001 \001(\0162\014." + "protos.Side\022\014\n\004unum\030\002 \001(\005\"\017\n\rAttentionTo" + "Of\">\n\007AddText\022\"\n\005level\030\001 \001(\0162\023.protos.Lo" + "ggerLevel\022\017\n\007message\030\002 \001(\t\"a\n\010AddPoint\022\"" + "\n\005level\030\001 \001(\0162\023.protos.LoggerLevel\022\"\n\005po" + "int\030\002 \001(\0132\023.protos.RpcVector2D\022\r\n\005color\030" + "\003 \001(\t\"\202\001\n\007AddLine\022\"\n\005level\030\001 \001(\0162\023.proto" + "s.LoggerLevel\022\"\n\005start\030\002 \001(\0132\023.protos.Rp" + "cVector2D\022 \n\003end\030\003 \001(\0132\023.protos.RpcVecto" + "r2D\022\r\n\005color\030\004 \001(\t\"\231\001\n\006AddArc\022\"\n\005level\030\001" + " \001(\0162\023.protos.LoggerLevel\022#\n\006center\030\002 \001(" + "\0132\023.protos.RpcVector2D\022\016\n\006radius\030\003 \001(\002\022\023" + "\n\013start_angle\030\004 \001(\002\022\022\n\nspan_angel\030\005 \001(\002\022" + "\r\n\005color\030\006 \001(\t\"\201\001\n\tAddCircle\022\"\n\005level\030\001 " + "\001(\0162\023.protos.LoggerLevel\022#\n\006center\030\002 \001(\013" + "2\023.protos.RpcVector2D\022\016\n\006radius\030\003 \001(\002\022\r\n" + "\005color\030\004 \001(\t\022\014\n\004fill\030\005 \001(\010\"\275\001\n\013AddTriang" + "le\022\"\n\005level\030\001 \001(\0162\023.protos.LoggerLevel\022#" + "\n\006point1\030\002 \001(\0132\023.protos.RpcVector2D\022#\n\006p" + "oint2\030\003 \001(\0132\023.protos.RpcVector2D\022#\n\006poin" + "t3\030\004 \001(\0132\023.protos.RpcVector2D\022\r\n\005color\030\005" + " \001(\t\022\014\n\004fill\030\006 \001(\010\"\211\001\n\014AddRectangle\022\"\n\005l" + "evel\030\001 \001(\0162\023.protos.LoggerLevel\022\014\n\004left\030" + "\002 \001(\002\022\013\n\003top\030\003 \001(\002\022\016\n\006length\030\004 \001(\002\022\r\n\005wi" + "dth\030\005 \001(\002\022\r\n\005color\030\006 \001(\t\022\014\n\004fill\030\007 \001(\010\"\302" + "\001\n\tAddSector\022\"\n\005level\030\001 \001(\0162\023.protos.Log" + "gerLevel\022#\n\006center\030\002 \001(\0132\023.protos.RpcVec" + "tor2D\022\022\n\nmin_radius\030\003 \001(\002\022\022\n\nmax_radius\030" + "\004 \001(\002\022\023\n\013start_angle\030\005 \001(\002\022\022\n\nspan_angel" + "\030\006 \001(\002\022\r\n\005color\030\007 \001(\t\022\014\n\004fill\030\010 \001(\010\"w\n\nA" + "ddMessage\022\"\n\005level\030\001 \001(\0162\023.protos.Logger" + "Level\022%\n\010position\030\002 \001(\0132\023.protos.RpcVect" + "or2D\022\017\n\007message\030\003 \001(\t\022\r\n\005color\030\004 \001(\t\"\371\002\n" + "\003Log\022#\n\010add_text\030\001 \001(\0132\017.protos.AddTextH" + "\000\022%\n\tadd_point\030\002 \001(\0132\020.protos.AddPointH\000" + "\022#\n\010add_line\030\003 \001(\0132\017.protos.AddLineH\000\022!\n" + "\007add_arc\030\004 \001(\0132\016.protos.AddArcH\000\022\'\n\nadd_" + "circle\030\005 \001(\0132\021.protos.AddCircleH\000\022+\n\014add" + "_triangle\030\006 \001(\0132\023.protos.AddTriangleH\000\022-" + "\n\radd_rectangle\030\007 \001(\0132\024.protos.AddRectan" + "gleH\000\022\'\n\nadd_sector\030\010 \001(\0132\021.protos.AddSe" + "ctorH\000\022)\n\013add_message\030\t \001(\0132\022.protos.Add" + "MessageH\000B\005\n\003log\"\036\n\013DebugClient\022\017\n\007messa" + "ge\030\001 \001(\t\"o\n\016Body_GoToPoint\022)\n\014target_poi" + "nt\030\001 \001(\0132\023.protos.RpcVector2D\022\032\n\022distanc" + "e_threshold\030\002 \001(\002\022\026\n\016max_dash_power\030\003 \001(" + "\002\"\202\001\n\016Body_SmartKick\022)\n\014target_point\030\001 \001" + "(\0132\023.protos.RpcVector2D\022\023\n\013first_speed\030\002" + " \001(\002\022\035\n\025first_speed_threshold\030\003 \001(\002\022\021\n\tm" + "ax_steps\030\004 \001(\005\"7\n\021Bhv_BeforeKickOff\022\"\n\005p" + "oint\030\001 \001(\0132\023.protos.RpcVector2D\"\024\n\022Bhv_B" + "odyNeckToBall\"9\n\023Bhv_BodyNeckToPoint\022\"\n\005" + "point\030\001 \001(\0132\023.protos.RpcVector2D\"\017\n\rBhv_" + "Emergency\"v\n\025Bhv_GoToPointLookBall\022)\n\014ta" "rget_point\030\001 \001(\0132\023.protos.RpcVector2D\022\032\n" "\022distance_threshold\030\002 \001(\002\022\026\n\016max_dash_po" - "wer\030\003 \001(\002\"\202\001\n\016Body_SmartKick\022)\n\014target_p" - "oint\030\001 \001(\0132\023.protos.RpcVector2D\022\023\n\013first" - "_speed\030\002 \001(\002\022\035\n\025first_speed_threshold\030\003 " - "\001(\002\022\021\n\tmax_steps\030\004 \001(\005\"7\n\021Bhv_BeforeKick" - "Off\022\"\n\005point\030\001 \001(\0132\023.protos.RpcVector2D\"" - "\024\n\022Bhv_BodyNeckToBall\"9\n\023Bhv_BodyNeckToP" - "oint\022\"\n\005point\030\001 \001(\0132\023.protos.RpcVector2D" - "\"\017\n\rBhv_Emergency\"v\n\025Bhv_GoToPointLookBa" - "ll\022)\n\014target_point\030\001 \001(\0132\023.protos.RpcVec" - "tor2D\022\032\n\022distance_threshold\030\002 \001(\002\022\026\n\016max" - "_dash_power\030\003 \001(\002\"\'\n\022Bhv_NeckBodyToBall\022" - "\021\n\tangle_buf\030\001 \001(\002\"L\n\023Bhv_NeckBodyToPoin" - "t\022\"\n\005point\030\001 \001(\0132\023.protos.RpcVector2D\022\021\n" - "\tangle_buf\030\002 \001(\002\"\017\n\rBhv_ScanField\"\022\n\020Bod" - "y_AdvanceBall\"\020\n\016Body_ClearBall\"\214\001\n\014Body" - "_Dribble\022)\n\014target_point\030\001 \001(\0132\023.protos." - "RpcVector2D\022\032\n\022distance_threshold\030\002 \001(\002\022" - "\022\n\ndash_power\030\003 \001(\002\022\022\n\ndash_count\030\004 \001(\005\022" - "\r\n\005dodge\030\005 \001(\010\"T\n\023Body_GoToPointDodge\022)\n" - "\014target_point\030\001 \001(\0132\023.protos.RpcVector2D" - "\022\022\n\ndash_power\030\002 \001(\002\"\200\001\n\rBody_HoldBall\022\017" - "\n\007do_turn\030\001 \001(\010\022.\n\021turn_target_point\030\002 \001" - "(\0132\023.protos.RpcVector2D\022.\n\021kick_target_p" - "oint\030\003 \001(\0132\023.protos.RpcVector2D\"P\n\016Body_" - "Intercept\022\025\n\rsave_recovery\030\001 \001(\010\022\'\n\nface" - "_point\030\002 \001(\0132\023.protos.RpcVector2D\"f\n\020Bod" - "y_KickOneStep\022)\n\014target_point\030\001 \001(\0132\023.pr" - "otos.RpcVector2D\022\023\n\013first_speed\030\002 \001(\002\022\022\n" - "\nforce_mode\030\003 \001(\010\"\017\n\rBody_StopBall\"&\n\rBo" - "dy_StopDash\022\025\n\rsave_recovery\030\001 \001(\010\"k\n\022Bo" - "dy_TackleToPoint\022)\n\014target_point\030\001 \001(\0132\023" - ".protos.RpcVector2D\022\027\n\017min_probability\030\002" - " \001(\002\022\021\n\tmin_speed\030\003 \001(\002\"!\n\020Body_TurnToAn" - "gle\022\r\n\005angle\030\001 \001(\002\" \n\017Body_TurnToBall\022\r\n" - "\005cycle\030\001 \001(\005\"L\n\020Body_TurnToPoint\022)\n\014targ" - "et_point\030\001 \001(\0132\023.protos.RpcVector2D\022\r\n\005c" - "ycle\030\002 \001(\005\">\n\021Focus_MoveToPoint\022)\n\014targe" - "t_point\030\001 \001(\0132\023.protos.RpcVector2D\"\r\n\013Fo" - "cus_Reset\"\020\n\016Neck_ScanField\"\022\n\020Neck_Scan" - "Players\"g\n\030Neck_TurnToBallAndPlayer\022\032\n\004s" - "ide\030\001 \001(\0162\014.protos.Side\022\026\n\016uniform_numbe" - "r\030\002 \001(\005\022\027\n\017count_threshold\030\003 \001(\005\"0\n\025Neck" - "_TurnToBallOrScan\022\027\n\017count_threshold\030\001 \001" - "(\005\"\021\n\017Neck_TurnToBall\"2\n\027Neck_TurnToGoal" - "ieOrScan\022\027\n\017count_threshold\030\001 \001(\005\"\034\n\032Nec" - "k_TurnToLowConfTeammate\"f\n\027Neck_TurnToPl" - "ayerOrScan\022\032\n\004side\030\001 \001(\0162\014.protos.Side\022\026" - "\n\016uniform_number\030\002 \001(\005\022\027\n\017count_threshol" - "d\030\003 \001(\005\"=\n\020Neck_TurnToPoint\022)\n\014target_po" - "int\030\001 \001(\0132\023.protos.RpcVector2D\"$\n\023Neck_T" - "urnToRelative\022\r\n\005angle\030\001 \001(\002\"9\n\020View_Cha" - "ngeWidth\022%\n\nview_width\030\001 \001(\0162\021.protos.Vi" - "ewWidth\"\r\n\013View_Normal\"\014\n\nView_Synch\"\013\n\t" - "View_Wide\"\016\n\014HeliosGoalie\"\022\n\020HeliosGoali" - "eMove\"\022\n\020HeliosGoalieKick\"\r\n\013HeliosShoot" - "\"\363\001\n\026HeliosOffensivePlanner\022\023\n\013direct_pa" - "ss\030\001 \001(\010\022\021\n\tlead_pass\030\002 \001(\010\022\024\n\014through_p" - "ass\030\003 \001(\010\022\025\n\rshort_dribble\030\004 \001(\010\022\024\n\014long" - "_dribble\030\005 \001(\010\022\r\n\005cross\030\006 \001(\010\022\023\n\013simple_" - "pass\030\007 \001(\010\022\026\n\016simple_dribble\030\010 \001(\010\022\024\n\014si" - "mple_shoot\030\t \001(\010\022\034\n\024server_side_decision" - "\030\n \001(\010\"\026\n\024HeliosBasicOffensive\"\021\n\017Helios" - "BasicMove\"\017\n\rHeliosSetPlay\"\017\n\rHeliosPena" - "lty\"\024\n\022HeliosCommunicaion\"\355\031\n\014PlayerActi" - "on\022\034\n\004dash\030\001 \001(\0132\014.protos.DashH\000\022\034\n\004turn" - "\030\002 \001(\0132\014.protos.TurnH\000\022\034\n\004kick\030\003 \001(\0132\014.p" - "rotos.KickH\000\022 \n\006tackle\030\004 \001(\0132\016.protos.Ta" - "ckleH\000\022\036\n\005catch\030\005 \001(\0132\r.protos.CatchH\000\022\034" - "\n\004move\030\006 \001(\0132\014.protos.MoveH\000\022%\n\tturn_nec" - "k\030\007 \001(\0132\020.protos.TurnNeckH\000\022)\n\013change_vi" - "ew\030\010 \001(\0132\022.protos.ChangeViewH\000\022\032\n\003say\030\t " - "\001(\0132\013.protos.SayH\000\022#\n\010point_to\030\n \001(\0132\017.p" - "rotos.PointToH\000\022(\n\013point_to_of\030\013 \001(\0132\021.p" - "rotos.PointToOfH\000\022+\n\014attention_to\030\014 \001(\0132" - "\023.protos.AttentionToH\000\0220\n\017attention_to_o" - "f\030\r \001(\0132\025.protos.AttentionToOfH\000\022\032\n\003log\030" - "\016 \001(\0132\013.protos.LogH\000\022+\n\014debug_client\030\017 \001" - "(\0132\023.protos.DebugClientH\000\0222\n\020body_go_to_" - "point\030\020 \001(\0132\026.protos.Body_GoToPointH\000\0221\n" - "\017body_smart_kick\030\021 \001(\0132\026.protos.Body_Sma" - "rtKickH\000\0228\n\023bhv_before_kick_off\030\022 \001(\0132\031." - "protos.Bhv_BeforeKickOffH\000\022;\n\025bhv_body_n" - "eck_to_ball\030\023 \001(\0132\032.protos.Bhv_BodyNeckT" - "oBallH\000\022=\n\026bhv_body_neck_to_point\030\024 \001(\0132" - "\033.protos.Bhv_BodyNeckToPointH\000\022.\n\rbhv_em" - "ergency\030\025 \001(\0132\025.protos.Bhv_EmergencyH\000\022B" - "\n\031bhv_go_to_point_look_ball\030\026 \001(\0132\035.prot" - "os.Bhv_GoToPointLookBallH\000\022;\n\025bhv_neck_b" - "ody_to_ball\030\027 \001(\0132\032.protos.Bhv_NeckBodyT" - "oBallH\000\022=\n\026bhv_neck_body_to_point\030\030 \001(\0132" - "\033.protos.Bhv_NeckBodyToPointH\000\022/\n\016bhv_sc" - "an_field\030\031 \001(\0132\025.protos.Bhv_ScanFieldH\000\022" - "5\n\021body_advance_ball\030\032 \001(\0132\030.protos.Body" - "_AdvanceBallH\000\0221\n\017body_clear_ball\030\033 \001(\0132" - "\026.protos.Body_ClearBallH\000\022,\n\014body_dribbl" - "e\030\034 \001(\0132\024.protos.Body_DribbleH\000\022=\n\026body_" - "go_to_point_dodge\030\035 \001(\0132\033.protos.Body_Go" - "ToPointDodgeH\000\022/\n\016body_hold_ball\030\036 \001(\0132\025" - ".protos.Body_HoldBallH\000\0220\n\016body_intercep" - "t\030\037 \001(\0132\026.protos.Body_InterceptH\000\0226\n\022bod" - "y_kick_one_step\030 \001(\0132\030.protos.Body_Kick" - "OneStepH\000\022/\n\016body_stop_ball\030! \001(\0132\025.prot" - "os.Body_StopBallH\000\022/\n\016body_stop_dash\030\" \001" - "(\0132\025.protos.Body_StopDashH\000\022:\n\024body_tack" - "le_to_point\030# \001(\0132\032.protos.Body_TackleTo" - "PointH\000\0226\n\022body_turn_to_angle\030$ \001(\0132\030.pr" - "otos.Body_TurnToAngleH\000\0224\n\021body_turn_to_" - "ball\030% \001(\0132\027.protos.Body_TurnToBallH\000\0226\n" - "\022body_turn_to_point\030& \001(\0132\030.protos.Body_" - "TurnToPointH\000\0228\n\023focus_move_to_point\030\' \001" - "(\0132\031.protos.Focus_MoveToPointH\000\022*\n\013focus" - "_reset\030( \001(\0132\023.protos.Focus_ResetH\000\0221\n\017n" - "eck_scan_field\030) \001(\0132\026.protos.Neck_ScanF" - "ieldH\000\0225\n\021neck_scan_players\030* \001(\0132\030.prot" - "os.Neck_ScanPlayersH\000\022H\n\034neck_turn_to_ba" - "ll_and_player\030+ \001(\0132 .protos.Neck_TurnTo" - "BallAndPlayerH\000\022B\n\031neck_turn_to_ball_or_" - "scan\030, \001(\0132\035.protos.Neck_TurnToBallOrSca" - "nH\000\0224\n\021neck_turn_to_ball\030- \001(\0132\027.protos." - "Neck_TurnToBallH\000\022F\n\033neck_turn_to_goalie" - "_or_scan\030. \001(\0132\037.protos.Neck_TurnToGoali" - "eOrScanH\000\022L\n\036neck_turn_to_low_conf_teamm" - "ate\030/ \001(\0132\".protos.Neck_TurnToLowConfTea" - "mmateH\000\022F\n\033neck_turn_to_player_or_scan\0300" - " \001(\0132\037.protos.Neck_TurnToPlayerOrScanH\000\022" - "6\n\022neck_turn_to_point\0301 \001(\0132\030.protos.Nec" - "k_TurnToPointH\000\022<\n\025neck_turn_to_relative" - "\0302 \001(\0132\033.protos.Neck_TurnToRelativeH\000\0225\n" - "\021view_change_width\0303 \001(\0132\030.protos.View_C" - "hangeWidthH\000\022*\n\013view_normal\0304 \001(\0132\023.prot" - "os.View_NormalH\000\022(\n\nview_synch\0305 \001(\0132\022.p" - "rotos.View_SynchH\000\022&\n\tview_wide\0306 \001(\0132\021." - "protos.View_WideH\000\022-\n\rhelios_goalie\0307 \001(" - "\0132\024.protos.HeliosGoalieH\000\0226\n\022helios_goal" - "ie_move\0308 \001(\0132\030.protos.HeliosGoalieMoveH" - "\000\0226\n\022helios_goalie_kick\0309 \001(\0132\030.protos.H" - "eliosGoalieKickH\000\022+\n\014helios_shoot\030: \001(\0132" - "\023.protos.HeliosShootH\000\022B\n\030helios_offensi" - "ve_planner\030; \001(\0132\036.protos.HeliosOffensiv" - "ePlannerH\000\022>\n\026helios_basic_offensive\030< \001" - "(\0132\034.protos.HeliosBasicOffensiveH\000\0224\n\021he" - "lios_basic_move\030= \001(\0132\027.protos.HeliosBas" - "icMoveH\000\0220\n\017helios_set_play\030> \001(\0132\025.prot" - "os.HeliosSetPlayH\000\022/\n\016helios_penalty\030\? \001" - "(\0132\025.protos.HeliosPenaltyH\000\022:\n\024helios_co" - "mmunication\030@ \001(\0132\032.protos.HeliosCommuni" - "caionH\000B\010\n\006action\"Q\n\rPlayerActions\022%\n\007ac" - "tions\030\001 \003(\0132\024.protos.PlayerAction\022\031\n\021ign" - "ore_preprocess\030\002 \001(\010\"8\n\020ChangePlayerType" - "\022\026\n\016uniform_number\030\001 \001(\005\022\014\n\004type\030\002 \001(\005\"\024" - "\n\022DoHeliosSubstitute\"\030\n\026DoHeliosSayPlaye" - "rTypes\"\322\001\n\013CoachAction\0227\n\023change_player_" - "types\030\001 \001(\0132\030.protos.ChangePlayerTypeH\000\022" - ":\n\024do_helios_substitute\030\002 \001(\0132\032.protos.D" - "oHeliosSubstituteH\000\022D\n\032do_helios_say_pla" - "yer_types\030\003 \001(\0132\036.protos.DoHeliosSayPlay" - "erTypesH\000B\010\n\006action\"4\n\014CoachActions\022$\n\007a" - "ctions\030\001 \003(\0132\023.protos.CoachAction\"\013\n\tDoK" - "ickOff\"Z\n\nDoMoveBall\022%\n\010position\030\001 \001(\0132\023" - ".protos.RpcVector2D\022%\n\010velocity\030\002 \001(\0132\023." - "protos.RpcVector2D\"w\n\014DoMovePlayer\022\020\n\010ou" - "r_side\030\001 \001(\010\022\026\n\016uniform_number\030\002 \001(\005\022%\n\010" - "position\030\003 \001(\0132\023.protos.RpcVector2D\022\026\n\016b" - "ody_direction\030\004 \001(\002\"\013\n\tDoRecover\"X\n\014DoCh" - "angeMode\022,\n\016game_mode_type\030\001 \001(\0162\024.proto" - "s.GameModeType\022\032\n\004side\030\002 \001(\0162\014.protos.Si" - "de\"L\n\022DoChangePlayerType\022\020\n\010our_side\030\001 \001" - "(\010\022\026\n\016uniform_number\030\002 \001(\005\022\014\n\004type\030\003 \001(\005" - "\"\265\002\n\rTrainerAction\022(\n\013do_kick_off\030\001 \001(\0132" - "\021.protos.DoKickOffH\000\022*\n\014do_move_ball\030\002 \001" - "(\0132\022.protos.DoMoveBallH\000\022.\n\016do_move_play" - "er\030\003 \001(\0132\024.protos.DoMovePlayerH\000\022\'\n\ndo_r" - "ecover\030\004 \001(\0132\021.protos.DoRecoverH\000\022.\n\016do_" - "change_mode\030\005 \001(\0132\024.protos.DoChangeModeH" - "\000\022;\n\025do_change_player_type\030\006 \001(\0132\032.proto" - "s.DoChangePlayerTypeH\000B\010\n\006action\"8\n\016Trai" - "nerActions\022&\n\007actions\030\001 \003(\0132\025.protos.Tra" - "inerAction\"\335,\n\013ServerParam\0223\n\021register_r" + "wer\030\003 \001(\002\"\'\n\022Bhv_NeckBodyToBall\022\021\n\tangle" + "_buf\030\001 \001(\002\"L\n\023Bhv_NeckBodyToPoint\022\"\n\005poi" + "nt\030\001 \001(\0132\023.protos.RpcVector2D\022\021\n\tangle_b" + "uf\030\002 \001(\002\"\017\n\rBhv_ScanField\"\022\n\020Body_Advanc" + "eBall\"\020\n\016Body_ClearBall\"\214\001\n\014Body_Dribble" + "\022)\n\014target_point\030\001 \001(\0132\023.protos.RpcVecto" + "r2D\022\032\n\022distance_threshold\030\002 \001(\002\022\022\n\ndash_" + "power\030\003 \001(\002\022\022\n\ndash_count\030\004 \001(\005\022\r\n\005dodge" + "\030\005 \001(\010\"T\n\023Body_GoToPointDodge\022)\n\014target_" + "point\030\001 \001(\0132\023.protos.RpcVector2D\022\022\n\ndash" + "_power\030\002 \001(\002\"\200\001\n\rBody_HoldBall\022\017\n\007do_tur" + "n\030\001 \001(\010\022.\n\021turn_target_point\030\002 \001(\0132\023.pro" + "tos.RpcVector2D\022.\n\021kick_target_point\030\003 \001" + "(\0132\023.protos.RpcVector2D\"P\n\016Body_Intercep" + "t\022\025\n\rsave_recovery\030\001 \001(\010\022\'\n\nface_point\030\002" + " \001(\0132\023.protos.RpcVector2D\"f\n\020Body_KickOn" + "eStep\022)\n\014target_point\030\001 \001(\0132\023.protos.Rpc" + "Vector2D\022\023\n\013first_speed\030\002 \001(\002\022\022\n\nforce_m" + "ode\030\003 \001(\010\"\017\n\rBody_StopBall\"&\n\rBody_StopD" + "ash\022\025\n\rsave_recovery\030\001 \001(\010\"k\n\022Body_Tackl" + "eToPoint\022)\n\014target_point\030\001 \001(\0132\023.protos." + "RpcVector2D\022\027\n\017min_probability\030\002 \001(\002\022\021\n\t" + "min_speed\030\003 \001(\002\"!\n\020Body_TurnToAngle\022\r\n\005a" + "ngle\030\001 \001(\002\" \n\017Body_TurnToBall\022\r\n\005cycle\030\001" + " \001(\005\"L\n\020Body_TurnToPoint\022)\n\014target_point" + "\030\001 \001(\0132\023.protos.RpcVector2D\022\r\n\005cycle\030\002 \001" + "(\005\">\n\021Focus_MoveToPoint\022)\n\014target_point\030" + "\001 \001(\0132\023.protos.RpcVector2D\"\r\n\013Focus_Rese" + "t\"\020\n\016Neck_ScanField\"\022\n\020Neck_ScanPlayers\"" + "g\n\030Neck_TurnToBallAndPlayer\022\032\n\004side\030\001 \001(" + "\0162\014.protos.Side\022\026\n\016uniform_number\030\002 \001(\005\022" + "\027\n\017count_threshold\030\003 \001(\005\"0\n\025Neck_TurnToB" + "allOrScan\022\027\n\017count_threshold\030\001 \001(\005\"\021\n\017Ne" + "ck_TurnToBall\"2\n\027Neck_TurnToGoalieOrScan" + "\022\027\n\017count_threshold\030\001 \001(\005\"\034\n\032Neck_TurnTo" + "LowConfTeammate\"f\n\027Neck_TurnToPlayerOrSc" + "an\022\032\n\004side\030\001 \001(\0162\014.protos.Side\022\026\n\016unifor" + "m_number\030\002 \001(\005\022\027\n\017count_threshold\030\003 \001(\005\"" + "=\n\020Neck_TurnToPoint\022)\n\014target_point\030\001 \001(" + "\0132\023.protos.RpcVector2D\"$\n\023Neck_TurnToRel" + "ative\022\r\n\005angle\030\001 \001(\002\"9\n\020View_ChangeWidth" + "\022%\n\nview_width\030\001 \001(\0162\021.protos.ViewWidth\"" + "\r\n\013View_Normal\"\014\n\nView_Synch\"\013\n\tView_Wid" + "e\"\016\n\014HeliosGoalie\"\022\n\020HeliosGoalieMove\"\022\n" + "\020HeliosGoalieKick\"\r\n\013HeliosShoot\"\363\001\n\026Hel" + "iosOffensivePlanner\022\023\n\013direct_pass\030\001 \001(\010" + "\022\021\n\tlead_pass\030\002 \001(\010\022\024\n\014through_pass\030\003 \001(" + "\010\022\025\n\rshort_dribble\030\004 \001(\010\022\024\n\014long_dribble" + "\030\005 \001(\010\022\r\n\005cross\030\006 \001(\010\022\023\n\013simple_pass\030\007 \001" + "(\010\022\026\n\016simple_dribble\030\010 \001(\010\022\024\n\014simple_sho" + "ot\030\t \001(\010\022\034\n\024server_side_decision\030\n \001(\010\"\026" + "\n\024HeliosBasicOffensive\"\021\n\017HeliosBasicMov" + "e\"\017\n\rHeliosSetPlay\"\017\n\rHeliosPenalty\"\024\n\022H" + "eliosCommunicaion\"\355\031\n\014PlayerAction\022\034\n\004da" + "sh\030\001 \001(\0132\014.protos.DashH\000\022\034\n\004turn\030\002 \001(\0132\014" + ".protos.TurnH\000\022\034\n\004kick\030\003 \001(\0132\014.protos.Ki" + "ckH\000\022 \n\006tackle\030\004 \001(\0132\016.protos.TackleH\000\022\036" + "\n\005catch\030\005 \001(\0132\r.protos.CatchH\000\022\034\n\004move\030\006" + " \001(\0132\014.protos.MoveH\000\022%\n\tturn_neck\030\007 \001(\0132" + "\020.protos.TurnNeckH\000\022)\n\013change_view\030\010 \001(\013" + "2\022.protos.ChangeViewH\000\022\032\n\003say\030\t \001(\0132\013.pr" + "otos.SayH\000\022#\n\010point_to\030\n \001(\0132\017.protos.Po" + "intToH\000\022(\n\013point_to_of\030\013 \001(\0132\021.protos.Po" + "intToOfH\000\022+\n\014attention_to\030\014 \001(\0132\023.protos" + ".AttentionToH\000\0220\n\017attention_to_of\030\r \001(\0132" + "\025.protos.AttentionToOfH\000\022\032\n\003log\030\016 \001(\0132\013." + "protos.LogH\000\022+\n\014debug_client\030\017 \001(\0132\023.pro" + "tos.DebugClientH\000\0222\n\020body_go_to_point\030\020 " + "\001(\0132\026.protos.Body_GoToPointH\000\0221\n\017body_sm" + "art_kick\030\021 \001(\0132\026.protos.Body_SmartKickH\000" + "\0228\n\023bhv_before_kick_off\030\022 \001(\0132\031.protos.B" + "hv_BeforeKickOffH\000\022;\n\025bhv_body_neck_to_b" + "all\030\023 \001(\0132\032.protos.Bhv_BodyNeckToBallH\000\022" + "=\n\026bhv_body_neck_to_point\030\024 \001(\0132\033.protos" + ".Bhv_BodyNeckToPointH\000\022.\n\rbhv_emergency\030" + "\025 \001(\0132\025.protos.Bhv_EmergencyH\000\022B\n\031bhv_go" + "_to_point_look_ball\030\026 \001(\0132\035.protos.Bhv_G" + "oToPointLookBallH\000\022;\n\025bhv_neck_body_to_b" + "all\030\027 \001(\0132\032.protos.Bhv_NeckBodyToBallH\000\022" + "=\n\026bhv_neck_body_to_point\030\030 \001(\0132\033.protos" + ".Bhv_NeckBodyToPointH\000\022/\n\016bhv_scan_field" + "\030\031 \001(\0132\025.protos.Bhv_ScanFieldH\000\0225\n\021body_" + "advance_ball\030\032 \001(\0132\030.protos.Body_Advance" + "BallH\000\0221\n\017body_clear_ball\030\033 \001(\0132\026.protos" + ".Body_ClearBallH\000\022,\n\014body_dribble\030\034 \001(\0132" + "\024.protos.Body_DribbleH\000\022=\n\026body_go_to_po" + "int_dodge\030\035 \001(\0132\033.protos.Body_GoToPointD" + "odgeH\000\022/\n\016body_hold_ball\030\036 \001(\0132\025.protos." + "Body_HoldBallH\000\0220\n\016body_intercept\030\037 \001(\0132" + "\026.protos.Body_InterceptH\000\0226\n\022body_kick_o" + "ne_step\030 \001(\0132\030.protos.Body_KickOneStepH" + "\000\022/\n\016body_stop_ball\030! \001(\0132\025.protos.Body_" + "StopBallH\000\022/\n\016body_stop_dash\030\" \001(\0132\025.pro" + "tos.Body_StopDashH\000\022:\n\024body_tackle_to_po" + "int\030# \001(\0132\032.protos.Body_TackleToPointH\000\022" + "6\n\022body_turn_to_angle\030$ \001(\0132\030.protos.Bod" + "y_TurnToAngleH\000\0224\n\021body_turn_to_ball\030% \001" + "(\0132\027.protos.Body_TurnToBallH\000\0226\n\022body_tu" + "rn_to_point\030& \001(\0132\030.protos.Body_TurnToPo" + "intH\000\0228\n\023focus_move_to_point\030\' \001(\0132\031.pro" + "tos.Focus_MoveToPointH\000\022*\n\013focus_reset\030(" + " \001(\0132\023.protos.Focus_ResetH\000\0221\n\017neck_scan" + "_field\030) \001(\0132\026.protos.Neck_ScanFieldH\000\0225" + "\n\021neck_scan_players\030* \001(\0132\030.protos.Neck_" + "ScanPlayersH\000\022H\n\034neck_turn_to_ball_and_p" + "layer\030+ \001(\0132 .protos.Neck_TurnToBallAndP" + "layerH\000\022B\n\031neck_turn_to_ball_or_scan\030, \001" + "(\0132\035.protos.Neck_TurnToBallOrScanH\000\0224\n\021n" + "eck_turn_to_ball\030- \001(\0132\027.protos.Neck_Tur" + "nToBallH\000\022F\n\033neck_turn_to_goalie_or_scan" + "\030. \001(\0132\037.protos.Neck_TurnToGoalieOrScanH" + "\000\022L\n\036neck_turn_to_low_conf_teammate\030/ \001(" + "\0132\".protos.Neck_TurnToLowConfTeammateH\000\022" + "F\n\033neck_turn_to_player_or_scan\0300 \001(\0132\037.p" + "rotos.Neck_TurnToPlayerOrScanH\000\0226\n\022neck_" + "turn_to_point\0301 \001(\0132\030.protos.Neck_TurnTo" + "PointH\000\022<\n\025neck_turn_to_relative\0302 \001(\0132\033" + ".protos.Neck_TurnToRelativeH\000\0225\n\021view_ch" + "ange_width\0303 \001(\0132\030.protos.View_ChangeWid" + "thH\000\022*\n\013view_normal\0304 \001(\0132\023.protos.View_" + "NormalH\000\022(\n\nview_synch\0305 \001(\0132\022.protos.Vi" + "ew_SynchH\000\022&\n\tview_wide\0306 \001(\0132\021.protos.V" + "iew_WideH\000\022-\n\rhelios_goalie\0307 \001(\0132\024.prot" + "os.HeliosGoalieH\000\0226\n\022helios_goalie_move\030" + "8 \001(\0132\030.protos.HeliosGoalieMoveH\000\0226\n\022hel" + "ios_goalie_kick\0309 \001(\0132\030.protos.HeliosGoa" + "lieKickH\000\022+\n\014helios_shoot\030: \001(\0132\023.protos" + ".HeliosShootH\000\022B\n\030helios_offensive_plann" + "er\030; \001(\0132\036.protos.HeliosOffensivePlanner" + "H\000\022>\n\026helios_basic_offensive\030< \001(\0132\034.pro" + "tos.HeliosBasicOffensiveH\000\0224\n\021helios_bas" + "ic_move\030= \001(\0132\027.protos.HeliosBasicMoveH\000" + "\0220\n\017helios_set_play\030> \001(\0132\025.protos.Helio" + "sSetPlayH\000\022/\n\016helios_penalty\030\? \001(\0132\025.pro" + "tos.HeliosPenaltyH\000\022:\n\024helios_communicat" + "ion\030@ \001(\0132\032.protos.HeliosCommunicaionH\000B" + "\010\n\006action\"Q\n\rPlayerActions\022%\n\007actions\030\001 " + "\003(\0132\024.protos.PlayerAction\022\031\n\021ignore_prep" + "rocess\030\002 \001(\010\"8\n\020ChangePlayerType\022\026\n\016unif" + "orm_number\030\001 \001(\005\022\014\n\004type\030\002 \001(\005\"\024\n\022DoHeli" + "osSubstitute\"\030\n\026DoHeliosSayPlayerTypes\"\322" + "\001\n\013CoachAction\0227\n\023change_player_types\030\001 " + "\001(\0132\030.protos.ChangePlayerTypeH\000\022:\n\024do_he" + "lios_substitute\030\002 \001(\0132\032.protos.DoHeliosS" + "ubstituteH\000\022D\n\032do_helios_say_player_type" + "s\030\003 \001(\0132\036.protos.DoHeliosSayPlayerTypesH" + "\000B\010\n\006action\"4\n\014CoachActions\022$\n\007actions\030\001" + " \003(\0132\023.protos.CoachAction\"\013\n\tDoKickOff\"Z" + "\n\nDoMoveBall\022%\n\010position\030\001 \001(\0132\023.protos." + "RpcVector2D\022%\n\010velocity\030\002 \001(\0132\023.protos.R" + "pcVector2D\"w\n\014DoMovePlayer\022\020\n\010our_side\030\001" + " \001(\010\022\026\n\016uniform_number\030\002 \001(\005\022%\n\010position" + "\030\003 \001(\0132\023.protos.RpcVector2D\022\026\n\016body_dire" + "ction\030\004 \001(\002\"\013\n\tDoRecover\"X\n\014DoChangeMode" + "\022,\n\016game_mode_type\030\001 \001(\0162\024.protos.GameMo" + "deType\022\032\n\004side\030\002 \001(\0162\014.protos.Side\"L\n\022Do" + "ChangePlayerType\022\020\n\010our_side\030\001 \001(\010\022\026\n\016un" + "iform_number\030\002 \001(\005\022\014\n\004type\030\003 \001(\005\"\265\002\n\rTra" + "inerAction\022(\n\013do_kick_off\030\001 \001(\0132\021.protos" + ".DoKickOffH\000\022*\n\014do_move_ball\030\002 \001(\0132\022.pro" + "tos.DoMoveBallH\000\022.\n\016do_move_player\030\003 \001(\013" + "2\024.protos.DoMovePlayerH\000\022\'\n\ndo_recover\030\004" + " \001(\0132\021.protos.DoRecoverH\000\022.\n\016do_change_m" + "ode\030\005 \001(\0132\024.protos.DoChangeModeH\000\022;\n\025do_" + "change_player_type\030\006 \001(\0132\032.protos.DoChan" + "gePlayerTypeH\000B\010\n\006action\"8\n\016TrainerActio" + "ns\022&\n\007actions\030\001 \003(\0132\025.protos.TrainerActi" + "on\"\335,\n\013ServerParam\0223\n\021register_response\030" + "\001 \001(\0132\030.protos.RegisterResponse\022\026\n\016inert" + "ia_moment\030\002 \001(\002\022\023\n\013player_size\030\003 \001(\002\022\024\n\014" + "player_decay\030\004 \001(\002\022\023\n\013player_rand\030\005 \001(\002\022" + "\025\n\rplayer_weight\030\006 \001(\002\022\030\n\020player_speed_m" + "ax\030\007 \001(\002\022\030\n\020player_accel_max\030\010 \001(\002\022\023\n\013st" + "amina_max\030\t \001(\002\022\027\n\017stamina_inc_max\030\n \001(\002" + "\022\024\n\014recover_init\030\013 \001(\002\022\027\n\017recover_dec_th" + "r\030\014 \001(\002\022\023\n\013recover_min\030\r \001(\002\022\023\n\013recover_" + "dec\030\016 \001(\002\022\023\n\013effort_init\030\017 \001(\002\022\026\n\016effort" + "_dec_thr\030\020 \001(\002\022\022\n\neffort_min\030\021 \001(\002\022\022\n\nef" + "fort_dec\030\022 \001(\002\022\026\n\016effort_inc_thr\030\023 \001(\002\022\022" + "\n\neffort_inc\030\024 \001(\002\022\021\n\tkick_rand\030\025 \001(\002\022\033\n" + "\023team_actuator_noise\030\026 \001(\010\022\034\n\024player_ran" + "d_factor_l\030\027 \001(\002\022\034\n\024player_rand_factor_r" + "\030\030 \001(\002\022\032\n\022kick_rand_factor_l\030\031 \001(\002\022\032\n\022ki" + "ck_rand_factor_r\030\032 \001(\002\022\021\n\tball_size\030\033 \001(" + "\002\022\022\n\nball_decay\030\034 \001(\002\022\021\n\tball_rand\030\035 \001(\002" + "\022\023\n\013ball_weight\030\036 \001(\002\022\026\n\016ball_speed_max\030" + "\037 \001(\002\022\026\n\016ball_accel_max\030 \001(\002\022\027\n\017dash_po" + "wer_rate\030! \001(\002\022\027\n\017kick_power_rate\030\" \001(\002\022" + "\027\n\017kickable_margin\030# \001(\002\022\026\n\016control_radi" + "us\030$ \001(\002\022\034\n\024control_radius_width\030% \001(\002\022\021" + "\n\tmax_power\030& \001(\002\022\021\n\tmin_power\030\' \001(\002\022\022\n\n" + "max_moment\030( \001(\002\022\022\n\nmin_moment\030) \001(\002\022\027\n\017" + "max_neck_moment\030* \001(\002\022\027\n\017min_neck_moment" + "\030+ \001(\002\022\026\n\016max_neck_angle\030, \001(\002\022\026\n\016min_ne" + "ck_angle\030- \001(\002\022\025\n\rvisible_angle\030. \001(\002\022\030\n" + "\020visible_distance\030/ \001(\002\022\020\n\010wind_dir\0300 \001(" + "\002\022\022\n\nwind_force\0301 \001(\002\022\022\n\nwind_angle\0302 \001(" + "\002\022\021\n\twind_rand\0303 \001(\002\022\025\n\rkickable_area\0304 " + "\001(\002\022\024\n\014catch_area_l\0305 \001(\002\022\024\n\014catch_area_" + "w\0306 \001(\002\022\031\n\021catch_probability\0307 \001(\002\022\030\n\020go" + "alie_max_moves\0308 \001(\005\022\032\n\022corner_kick_marg" + "in\0309 \001(\002\022 \n\030offside_active_area_size\030: \001" + "(\002\022\021\n\twind_none\030; \001(\010\022\027\n\017use_wind_random" + "\030< \001(\010\022\033\n\023coach_say_count_max\030= \001(\005\022\032\n\022c" + "oach_say_msg_size\030> \001(\005\022\026\n\016clang_win_siz" + "e\030\? \001(\005\022\030\n\020clang_define_win\030@ \001(\005\022\026\n\016cla" + "ng_meta_win\030A \001(\005\022\030\n\020clang_advice_win\030B " + "\001(\005\022\026\n\016clang_info_win\030C \001(\005\022\030\n\020clang_mes" + "s_delay\030D \001(\005\022\034\n\024clang_mess_per_cycle\030E " + "\001(\005\022\021\n\thalf_time\030F \001(\005\022\026\n\016simulator_step" + "\030G \001(\005\022\021\n\tsend_step\030H \001(\005\022\021\n\trecv_step\030I" + " \001(\005\022\027\n\017sense_body_step\030J \001(\005\022\020\n\010lcm_ste" + "p\030K \001(\005\022\033\n\023player_say_msg_size\030L \001(\005\022\027\n\017" + "player_hear_max\030M \001(\005\022\027\n\017player_hear_inc" + "\030N \001(\005\022\031\n\021player_hear_decay\030O \001(\005\022\027\n\017cat" + "ch_ban_cycle\030P \001(\005\022\030\n\020slow_down_factor\030Q" + " \001(\005\022\023\n\013use_offside\030R \001(\010\022\027\n\017kickoff_off" + "side\030S \001(\010\022\033\n\023offside_kick_margin\030T \001(\002\022" + "\026\n\016audio_cut_dist\030U \001(\002\022\032\n\022dist_quantize" + "_step\030V \001(\002\022#\n\033landmark_dist_quantize_st" + "ep\030W \001(\002\022\031\n\021dir_quantize_step\030X \001(\002\022\034\n\024d" + "ist_quantize_step_l\030Y \001(\002\022\034\n\024dist_quanti" + "ze_step_r\030Z \001(\002\022%\n\035landmark_dist_quantiz" + "e_step_l\030[ \001(\002\022%\n\035landmark_dist_quantize" + "_step_r\030\\ \001(\002\022\033\n\023dir_quantize_step_l\030] \001" + "(\002\022\033\n\023dir_quantize_step_r\030^ \001(\002\022\022\n\ncoach" + "_mode\030_ \001(\010\022\037\n\027coach_with_referee_mode\030`" + " \001(\010\022\032\n\022use_old_coach_hear\030a \001(\010\022%\n\035slow" + "ness_on_top_for_left_team\030b \001(\002\022&\n\036slown" + "ess_on_top_for_right_team\030c \001(\002\022\024\n\014start" + "_goal_l\030d \001(\005\022\024\n\014start_goal_r\030e \001(\005\022\023\n\013f" + "ullstate_l\030f \001(\010\022\023\n\013fullstate_r\030g \001(\010\022\026\n" + "\016drop_ball_time\030h \001(\005\022\022\n\nsynch_mode\030i \001(" + "\010\022\024\n\014synch_offset\030j \001(\005\022\031\n\021synch_micro_s" + "leep\030k \001(\005\022\024\n\014point_to_ban\030l \001(\005\022\031\n\021poin" + "t_to_duration\030m \001(\005\022\023\n\013player_port\030n \001(\005" + "\022\024\n\014trainer_port\030o \001(\005\022\031\n\021online_coach_p" + "ort\030p \001(\005\022\024\n\014verbose_mode\030q \001(\010\022\032\n\022coach" + "_send_vi_step\030r \001(\005\022\023\n\013replay_file\030s \001(\t" + "\022\025\n\rlandmark_file\030t \001(\t\022\022\n\nsend_comms\030u " + "\001(\010\022\024\n\014text_logging\030v \001(\010\022\024\n\014game_loggin" + "g\030w \001(\010\022\030\n\020game_log_version\030x \001(\005\022\024\n\014tex" + "t_log_dir\030y \001(\t\022\024\n\014game_log_dir\030z \001(\t\022\033\n" + "\023text_log_fixed_name\030{ \001(\t\022\033\n\023game_log_f" + "ixed_name\030| \001(\t\022\032\n\022use_text_log_fixed\030} " + "\001(\010\022\032\n\022use_game_log_fixed\030~ \001(\010\022\032\n\022use_t" + "ext_log_dated\030\177 \001(\010\022\033\n\022use_game_log_date" + "d\030\200\001 \001(\010\022\030\n\017log_date_format\030\201\001 \001(\t\022\022\n\tlo" + "g_times\030\202\001 \001(\010\022\027\n\016record_message\030\203\001 \001(\010\022" + "\035\n\024text_log_compression\030\204\001 \001(\005\022\035\n\024game_l" + "og_compression\030\205\001 \001(\005\022\024\n\013use_profile\030\206\001 " + "\001(\010\022\024\n\013tackle_dist\030\207\001 \001(\002\022\031\n\020tackle_back" + "_dist\030\210\001 \001(\002\022\025\n\014tackle_width\030\211\001 \001(\002\022\030\n\017t" + "ackle_exponent\030\212\001 \001(\002\022\026\n\rtackle_cycles\030\213" + "\001 \001(\005\022\032\n\021tackle_power_rate\030\214\001 \001(\002\022\035\n\024fre" + "eform_wait_period\030\215\001 \001(\005\022\035\n\024freeform_sen" + "d_period\030\216\001 \001(\005\022\031\n\020free_kick_faults\030\217\001 \001" + "(\010\022\024\n\013back_passes\030\220\001 \001(\010\022\032\n\021proper_goal_" + "kicks\030\221\001 \001(\010\022\031\n\020stopped_ball_vel\030\222\001 \001(\002\022" + "\027\n\016max_goal_kicks\030\223\001 \001(\005\022\026\n\rclang_del_wi" + "n\030\224\001 \001(\005\022\027\n\016clang_rule_win\030\225\001 \001(\005\022\022\n\taut" + "o_mode\030\226\001 \001(\010\022\026\n\rkick_off_wait\030\227\001 \001(\005\022\025\n" + "\014connect_wait\030\230\001 \001(\005\022\027\n\016game_over_wait\030\231" + "\001 \001(\005\022\025\n\014team_l_start\030\232\001 \001(\t\022\025\n\014team_r_s" + "tart\030\233\001 \001(\t\022\026\n\rkeepaway_mode\030\234\001 \001(\010\022\030\n\017k" + "eepaway_length\030\235\001 \001(\002\022\027\n\016keepaway_width\030" + "\236\001 \001(\002\022\031\n\020keepaway_logging\030\237\001 \001(\010\022\031\n\020kee" + "paway_log_dir\030\240\001 \001(\t\022 \n\027keepaway_log_fix" + "ed_name\030\241\001 \001(\t\022\033\n\022keepaway_log_fixed\030\242\001 " + "\001(\010\022\033\n\022keepaway_log_dated\030\243\001 \001(\010\022\027\n\016keep" + "away_start\030\244\001 \001(\005\022\030\n\017nr_normal_halfs\030\245\001 " + "\001(\005\022\027\n\016nr_extra_halfs\030\246\001 \001(\005\022\033\n\022penalty_" + "shoot_outs\030\247\001 \001(\010\022\036\n\025pen_before_setup_wa" + "it\030\250\001 \001(\005\022\027\n\016pen_setup_wait\030\251\001 \001(\005\022\027\n\016pe" + "n_ready_wait\030\252\001 \001(\005\022\027\n\016pen_taken_wait\030\253\001" + " \001(\005\022\025\n\014pen_nr_kicks\030\254\001 \001(\005\022\034\n\023pen_max_e" + "xtra_kicks\030\255\001 \001(\005\022\023\n\npen_dist_x\030\256\001 \001(\002\022\032" + "\n\021pen_random_winner\030\257\001 \001(\010\022\035\n\024pen_allow_" + "mult_kicks\030\260\001 \001(\010\022\036\n\025pen_max_goalie_dist" + "_x\030\261\001 \001(\002\022 \n\027pen_coach_moves_players\030\262\001 " + "\001(\010\022\023\n\nmodule_dir\030\263\001 \001(\t\022\030\n\017ball_stuck_a" + "rea\030\264\001 \001(\002\022\027\n\016coach_msg_file\030\265\001 \001(\t\022\031\n\020m" + "ax_tackle_power\030\266\001 \001(\002\022\036\n\025max_back_tackl" + "e_power\030\267\001 \001(\002\022\035\n\024player_speed_max_min\030\270" + "\001 \001(\002\022\026\n\rextra_stamina\030\271\001 \001(\002\022\031\n\020synch_s" + "ee_offset\030\272\001 \001(\005\022\030\n\017extra_half_time\030\273\001 \001" + "(\005\022\031\n\020stamina_capacity\030\274\001 \001(\002\022\027\n\016max_das" + "h_angle\030\275\001 \001(\002\022\027\n\016min_dash_angle\030\276\001 \001(\002\022" + "\030\n\017dash_angle_step\030\277\001 \001(\002\022\027\n\016side_dash_r" + "ate\030\300\001 \001(\002\022\027\n\016back_dash_rate\030\301\001 \001(\002\022\027\n\016m" + "ax_dash_power\030\302\001 \001(\002\022\027\n\016min_dash_power\030\303" + "\001 \001(\002\022\033\n\022tackle_rand_factor\030\304\001 \001(\002\022 \n\027fo" + "ul_detect_probability\030\305\001 \001(\002\022\026\n\rfoul_exp" + "onent\030\306\001 \001(\002\022\024\n\013foul_cycles\030\307\001 \001(\005\022\024\n\013go" + "lden_goal\030\310\001 \001(\010\022\035\n\024red_card_probability" + "\030\311\001 \001(\002\022!\n\030illegal_defense_duration\030\312\001 \001" + "(\005\022\037\n\026illegal_defense_number\030\313\001 \001(\005\022\037\n\026i" + "llegal_defense_dist_x\030\314\001 \001(\002\022\036\n\025illegal_" + "defense_width\030\315\001 \001(\002\022\031\n\020fixed_teamname_l" + "\030\316\001 \001(\t\022\031\n\020fixed_teamname_r\030\317\001 \001(\t\022\030\n\017ma" + "x_catch_angle\030\320\001 \001(\002\022\030\n\017min_catch_angle\030" + "\321\001 \001(\002\022\024\n\013random_seed\030\322\001 \001(\005\022\037\n\026long_kic" + "k_power_factor\030\323\001 \001(\002\022\030\n\017long_kick_delay" + "\030\324\001 \001(\005\022\025\n\014max_monitors\030\325\001 \001(\005\022\027\n\016catcha" + "ble_area\030\326\001 \001(\002\022\027\n\016real_speed_max\030\327\001 \001(\002" + "\022\032\n\021pitch_half_length\030\330\001 \001(\002\022\031\n\020pitch_ha" + "lf_width\030\331\001 \001(\002\022 \n\027our_penalty_area_line" + "_x\030\332\001 \001(\002\022\"\n\031their_penalty_area_line_x\030\333" + "\001 \001(\002\022 \n\027penalty_area_half_width\030\334\001 \001(\002\022" + "\034\n\023penalty_area_length\030\335\001 \001(\002\022\023\n\ngoal_wi" + "dth\030\336\001 \001(\002\"\215\010\n\013PlayerParam\0223\n\021register_r" "esponse\030\001 \001(\0132\030.protos.RegisterResponse\022" - "\026\n\016inertia_moment\030\002 \001(\002\022\023\n\013player_size\030\003" - " \001(\002\022\024\n\014player_decay\030\004 \001(\002\022\023\n\013player_ran" - "d\030\005 \001(\002\022\025\n\rplayer_weight\030\006 \001(\002\022\030\n\020player" - "_speed_max\030\007 \001(\002\022\030\n\020player_accel_max\030\010 \001" - "(\002\022\023\n\013stamina_max\030\t \001(\002\022\027\n\017stamina_inc_m" - "ax\030\n \001(\002\022\024\n\014recover_init\030\013 \001(\002\022\027\n\017recove" - "r_dec_thr\030\014 \001(\002\022\023\n\013recover_min\030\r \001(\002\022\023\n\013" - "recover_dec\030\016 \001(\002\022\023\n\013effort_init\030\017 \001(\002\022\026" - "\n\016effort_dec_thr\030\020 \001(\002\022\022\n\neffort_min\030\021 \001" - "(\002\022\022\n\neffort_dec\030\022 \001(\002\022\026\n\016effort_inc_thr" - "\030\023 \001(\002\022\022\n\neffort_inc\030\024 \001(\002\022\021\n\tkick_rand\030" - "\025 \001(\002\022\033\n\023team_actuator_noise\030\026 \001(\010\022\034\n\024pl" - "ayer_rand_factor_l\030\027 \001(\002\022\034\n\024player_rand_" - "factor_r\030\030 \001(\002\022\032\n\022kick_rand_factor_l\030\031 \001" - "(\002\022\032\n\022kick_rand_factor_r\030\032 \001(\002\022\021\n\tball_s" - "ize\030\033 \001(\002\022\022\n\nball_decay\030\034 \001(\002\022\021\n\tball_ra" - "nd\030\035 \001(\002\022\023\n\013ball_weight\030\036 \001(\002\022\026\n\016ball_sp" - "eed_max\030\037 \001(\002\022\026\n\016ball_accel_max\030 \001(\002\022\027\n" - "\017dash_power_rate\030! \001(\002\022\027\n\017kick_power_rat" - "e\030\" \001(\002\022\027\n\017kickable_margin\030# \001(\002\022\026\n\016cont" - "rol_radius\030$ \001(\002\022\034\n\024control_radius_width" - "\030% \001(\002\022\021\n\tmax_power\030& \001(\002\022\021\n\tmin_power\030\'" - " \001(\002\022\022\n\nmax_moment\030( \001(\002\022\022\n\nmin_moment\030)" - " \001(\002\022\027\n\017max_neck_moment\030* \001(\002\022\027\n\017min_nec" - "k_moment\030+ \001(\002\022\026\n\016max_neck_angle\030, \001(\002\022\026" - "\n\016min_neck_angle\030- \001(\002\022\025\n\rvisible_angle\030" - ". \001(\002\022\030\n\020visible_distance\030/ \001(\002\022\020\n\010wind_" - "dir\0300 \001(\002\022\022\n\nwind_force\0301 \001(\002\022\022\n\nwind_an" - "gle\0302 \001(\002\022\021\n\twind_rand\0303 \001(\002\022\025\n\rkickable" - "_area\0304 \001(\002\022\024\n\014catch_area_l\0305 \001(\002\022\024\n\014cat" - "ch_area_w\0306 \001(\002\022\031\n\021catch_probability\0307 \001" - "(\002\022\030\n\020goalie_max_moves\0308 \001(\005\022\032\n\022corner_k" - "ick_margin\0309 \001(\002\022 \n\030offside_active_area_" - "size\030: \001(\002\022\021\n\twind_none\030; \001(\010\022\027\n\017use_win" - "d_random\030< \001(\010\022\033\n\023coach_say_count_max\030= " - "\001(\005\022\032\n\022coach_say_msg_size\030> \001(\005\022\026\n\016clang" - "_win_size\030\? \001(\005\022\030\n\020clang_define_win\030@ \001(" - "\005\022\026\n\016clang_meta_win\030A \001(\005\022\030\n\020clang_advic" - "e_win\030B \001(\005\022\026\n\016clang_info_win\030C \001(\005\022\030\n\020c" - "lang_mess_delay\030D \001(\005\022\034\n\024clang_mess_per_" - "cycle\030E \001(\005\022\021\n\thalf_time\030F \001(\005\022\026\n\016simula" - "tor_step\030G \001(\005\022\021\n\tsend_step\030H \001(\005\022\021\n\trec" - "v_step\030I \001(\005\022\027\n\017sense_body_step\030J \001(\005\022\020\n" - "\010lcm_step\030K \001(\005\022\033\n\023player_say_msg_size\030L" - " \001(\005\022\027\n\017player_hear_max\030M \001(\005\022\027\n\017player_" - "hear_inc\030N \001(\005\022\031\n\021player_hear_decay\030O \001(" - "\005\022\027\n\017catch_ban_cycle\030P \001(\005\022\030\n\020slow_down_" - "factor\030Q \001(\005\022\023\n\013use_offside\030R \001(\010\022\027\n\017kic" - "koff_offside\030S \001(\010\022\033\n\023offside_kick_margi" - "n\030T \001(\002\022\026\n\016audio_cut_dist\030U \001(\002\022\032\n\022dist_" - "quantize_step\030V \001(\002\022#\n\033landmark_dist_qua" - "ntize_step\030W \001(\002\022\031\n\021dir_quantize_step\030X " - "\001(\002\022\034\n\024dist_quantize_step_l\030Y \001(\002\022\034\n\024dis" - "t_quantize_step_r\030Z \001(\002\022%\n\035landmark_dist" - "_quantize_step_l\030[ \001(\002\022%\n\035landmark_dist_" - "quantize_step_r\030\\ \001(\002\022\033\n\023dir_quantize_st" - "ep_l\030] \001(\002\022\033\n\023dir_quantize_step_r\030^ \001(\002\022" - "\022\n\ncoach_mode\030_ \001(\010\022\037\n\027coach_with_refere" - "e_mode\030` \001(\010\022\032\n\022use_old_coach_hear\030a \001(\010" - "\022%\n\035slowness_on_top_for_left_team\030b \001(\002\022" - "&\n\036slowness_on_top_for_right_team\030c \001(\002\022" - "\024\n\014start_goal_l\030d \001(\005\022\024\n\014start_goal_r\030e " - "\001(\005\022\023\n\013fullstate_l\030f \001(\010\022\023\n\013fullstate_r\030" - "g \001(\010\022\026\n\016drop_ball_time\030h \001(\005\022\022\n\nsynch_m" - "ode\030i \001(\010\022\024\n\014synch_offset\030j \001(\005\022\031\n\021synch" - "_micro_sleep\030k \001(\005\022\024\n\014point_to_ban\030l \001(\005" - "\022\031\n\021point_to_duration\030m \001(\005\022\023\n\013player_po" - "rt\030n \001(\005\022\024\n\014trainer_port\030o \001(\005\022\031\n\021online" - "_coach_port\030p \001(\005\022\024\n\014verbose_mode\030q \001(\010\022" - "\032\n\022coach_send_vi_step\030r \001(\005\022\023\n\013replay_fi" - "le\030s \001(\t\022\025\n\rlandmark_file\030t \001(\t\022\022\n\nsend_" - "comms\030u \001(\010\022\024\n\014text_logging\030v \001(\010\022\024\n\014gam" - "e_logging\030w \001(\010\022\030\n\020game_log_version\030x \001(" - "\005\022\024\n\014text_log_dir\030y \001(\t\022\024\n\014game_log_dir\030" - "z \001(\t\022\033\n\023text_log_fixed_name\030{ \001(\t\022\033\n\023ga" - "me_log_fixed_name\030| \001(\t\022\032\n\022use_text_log_" - "fixed\030} \001(\010\022\032\n\022use_game_log_fixed\030~ \001(\010\022" - "\032\n\022use_text_log_dated\030\177 \001(\010\022\033\n\022use_game_" - "log_dated\030\200\001 \001(\010\022\030\n\017log_date_format\030\201\001 \001" - "(\t\022\022\n\tlog_times\030\202\001 \001(\010\022\027\n\016record_message" - "\030\203\001 \001(\010\022\035\n\024text_log_compression\030\204\001 \001(\005\022\035" - "\n\024game_log_compression\030\205\001 \001(\005\022\024\n\013use_pro" - "file\030\206\001 \001(\010\022\024\n\013tackle_dist\030\207\001 \001(\002\022\031\n\020tac" - "kle_back_dist\030\210\001 \001(\002\022\025\n\014tackle_width\030\211\001 " - "\001(\002\022\030\n\017tackle_exponent\030\212\001 \001(\002\022\026\n\rtackle_" - "cycles\030\213\001 \001(\005\022\032\n\021tackle_power_rate\030\214\001 \001(" - "\002\022\035\n\024freeform_wait_period\030\215\001 \001(\005\022\035\n\024free" - "form_send_period\030\216\001 \001(\005\022\031\n\020free_kick_fau" - "lts\030\217\001 \001(\010\022\024\n\013back_passes\030\220\001 \001(\010\022\032\n\021prop" - "er_goal_kicks\030\221\001 \001(\010\022\031\n\020stopped_ball_vel" - "\030\222\001 \001(\002\022\027\n\016max_goal_kicks\030\223\001 \001(\005\022\026\n\rclan" - "g_del_win\030\224\001 \001(\005\022\027\n\016clang_rule_win\030\225\001 \001(" - "\005\022\022\n\tauto_mode\030\226\001 \001(\010\022\026\n\rkick_off_wait\030\227" - "\001 \001(\005\022\025\n\014connect_wait\030\230\001 \001(\005\022\027\n\016game_ove" - "r_wait\030\231\001 \001(\005\022\025\n\014team_l_start\030\232\001 \001(\t\022\025\n\014" - "team_r_start\030\233\001 \001(\t\022\026\n\rkeepaway_mode\030\234\001 " - "\001(\010\022\030\n\017keepaway_length\030\235\001 \001(\002\022\027\n\016keepawa" - "y_width\030\236\001 \001(\002\022\031\n\020keepaway_logging\030\237\001 \001(" - "\010\022\031\n\020keepaway_log_dir\030\240\001 \001(\t\022 \n\027keepaway" - "_log_fixed_name\030\241\001 \001(\t\022\033\n\022keepaway_log_f" - "ixed\030\242\001 \001(\010\022\033\n\022keepaway_log_dated\030\243\001 \001(\010" - "\022\027\n\016keepaway_start\030\244\001 \001(\005\022\030\n\017nr_normal_h" - "alfs\030\245\001 \001(\005\022\027\n\016nr_extra_halfs\030\246\001 \001(\005\022\033\n\022" - "penalty_shoot_outs\030\247\001 \001(\010\022\036\n\025pen_before_" - "setup_wait\030\250\001 \001(\005\022\027\n\016pen_setup_wait\030\251\001 \001" - "(\005\022\027\n\016pen_ready_wait\030\252\001 \001(\005\022\027\n\016pen_taken" - "_wait\030\253\001 \001(\005\022\025\n\014pen_nr_kicks\030\254\001 \001(\005\022\034\n\023p" - "en_max_extra_kicks\030\255\001 \001(\005\022\023\n\npen_dist_x\030" - "\256\001 \001(\002\022\032\n\021pen_random_winner\030\257\001 \001(\010\022\035\n\024pe" - "n_allow_mult_kicks\030\260\001 \001(\010\022\036\n\025pen_max_goa" - "lie_dist_x\030\261\001 \001(\002\022 \n\027pen_coach_moves_pla" - "yers\030\262\001 \001(\010\022\023\n\nmodule_dir\030\263\001 \001(\t\022\030\n\017ball" - "_stuck_area\030\264\001 \001(\002\022\027\n\016coach_msg_file\030\265\001 " - "\001(\t\022\031\n\020max_tackle_power\030\266\001 \001(\002\022\036\n\025max_ba" - "ck_tackle_power\030\267\001 \001(\002\022\035\n\024player_speed_m" - "ax_min\030\270\001 \001(\002\022\026\n\rextra_stamina\030\271\001 \001(\002\022\031\n" - "\020synch_see_offset\030\272\001 \001(\005\022\030\n\017extra_half_t" - "ime\030\273\001 \001(\005\022\031\n\020stamina_capacity\030\274\001 \001(\002\022\027\n" - "\016max_dash_angle\030\275\001 \001(\002\022\027\n\016min_dash_angle" - "\030\276\001 \001(\002\022\030\n\017dash_angle_step\030\277\001 \001(\002\022\027\n\016sid" - "e_dash_rate\030\300\001 \001(\002\022\027\n\016back_dash_rate\030\301\001 " - "\001(\002\022\027\n\016max_dash_power\030\302\001 \001(\002\022\027\n\016min_dash" - "_power\030\303\001 \001(\002\022\033\n\022tackle_rand_factor\030\304\001 \001" - "(\002\022 \n\027foul_detect_probability\030\305\001 \001(\002\022\026\n\r" - "foul_exponent\030\306\001 \001(\002\022\024\n\013foul_cycles\030\307\001 \001" - "(\005\022\024\n\013golden_goal\030\310\001 \001(\010\022\035\n\024red_card_pro" - "bability\030\311\001 \001(\002\022!\n\030illegal_defense_durat" - "ion\030\312\001 \001(\005\022\037\n\026illegal_defense_number\030\313\001 " - "\001(\005\022\037\n\026illegal_defense_dist_x\030\314\001 \001(\002\022\036\n\025" - "illegal_defense_width\030\315\001 \001(\002\022\031\n\020fixed_te" - "amname_l\030\316\001 \001(\t\022\031\n\020fixed_teamname_r\030\317\001 \001" - "(\t\022\030\n\017max_catch_angle\030\320\001 \001(\002\022\030\n\017min_catc" - "h_angle\030\321\001 \001(\002\022\024\n\013random_seed\030\322\001 \001(\005\022\037\n\026" - "long_kick_power_factor\030\323\001 \001(\002\022\030\n\017long_ki" - "ck_delay\030\324\001 \001(\005\022\025\n\014max_monitors\030\325\001 \001(\005\022\027" - "\n\016catchable_area\030\326\001 \001(\002\022\027\n\016real_speed_ma" - "x\030\327\001 \001(\002\022\032\n\021pitch_half_length\030\330\001 \001(\002\022\031\n\020" - "pitch_half_width\030\331\001 \001(\002\022 \n\027our_penalty_a" - "rea_line_x\030\332\001 \001(\002\022\"\n\031their_penalty_area_" - "line_x\030\333\001 \001(\002\022 \n\027penalty_area_half_width" - "\030\334\001 \001(\002\022\034\n\023penalty_area_length\030\335\001 \001(\002\022\023\n" - "\ngoal_width\030\336\001 \001(\002\"\215\010\n\013PlayerParam\0223\n\021re" - "gister_response\030\001 \001(\0132\030.protos.RegisterR" - "esponse\022\024\n\014player_types\030\002 \001(\005\022\020\n\010subs_ma" - "x\030\003 \001(\005\022\016\n\006pt_max\030\004 \001(\005\022\037\n\027allow_mult_de" - "fault_type\030\005 \001(\010\022\"\n\032player_speed_max_del" - "ta_min\030\006 \001(\002\022\"\n\032player_speed_max_delta_m" - "ax\030\007 \001(\002\022$\n\034stamina_inc_max_delta_factor" - "\030\010 \001(\002\022\036\n\026player_decay_delta_min\030\t \001(\002\022\036" - "\n\026player_decay_delta_max\030\n \001(\002\022#\n\033inerti" - "a_moment_delta_factor\030\013 \001(\002\022!\n\031dash_powe" - "r_rate_delta_min\030\014 \001(\002\022!\n\031dash_power_rat" - "e_delta_max\030\r \001(\002\022 \n\030player_size_delta_f" - "actor\030\016 \001(\002\022!\n\031kickable_margin_delta_min" - "\030\017 \001(\002\022!\n\031kickable_margin_delta_max\030\020 \001(" - "\002\022\036\n\026kick_rand_delta_factor\030\021 \001(\002\022\037\n\027ext" - "ra_stamina_delta_min\030\022 \001(\002\022\037\n\027extra_stam" - "ina_delta_max\030\023 \001(\002\022\037\n\027effort_max_delta_" - "factor\030\024 \001(\002\022\037\n\027effort_min_delta_factor\030" - "\025 \001(\002\022\023\n\013random_seed\030\026 \001(\005\022%\n\035new_dash_p" - "ower_rate_delta_min\030\027 \001(\002\022%\n\035new_dash_po" - "wer_rate_delta_max\030\030 \001(\002\022(\n new_stamina_" - "inc_max_delta_factor\030\031 \001(\002\022!\n\031kick_power" - "_rate_delta_min\030\032 \001(\002\022!\n\031kick_power_rate" - "_delta_max\030\033 \001(\002\022,\n$foul_detect_probabil" - "ity_delta_factor\030\034 \001(\002\022$\n\034catchable_area" - "_l_stretch_min\030\035 \001(\002\022$\n\034catchable_area_l" - "_stretch_max\030\036 \001(\002\"\277\007\n\nPlayerType\0223\n\021reg" - "ister_response\030\001 \001(\0132\030.protos.RegisterRe" - "sponse\022\n\n\002id\030\002 \001(\005\022\027\n\017stamina_inc_max\030\003 " - "\001(\002\022\024\n\014player_decay\030\004 \001(\002\022\026\n\016inertia_mom" - "ent\030\005 \001(\002\022\027\n\017dash_power_rate\030\006 \001(\002\022\023\n\013pl" - "ayer_size\030\007 \001(\002\022\027\n\017kickable_margin\030\010 \001(\002" - "\022\021\n\tkick_rand\030\t \001(\002\022\025\n\rextra_stamina\030\n \001" - "(\002\022\022\n\neffort_max\030\013 \001(\002\022\022\n\neffort_min\030\014 \001" - "(\002\022\027\n\017kick_power_rate\030\r \001(\002\022\037\n\027foul_dete" - "ct_probability\030\016 \001(\002\022 \n\030catchable_area_l" - "_stretch\030\017 \001(\002\022\027\n\017unum_far_length\030\020 \001(\002\022" - "\033\n\023unum_too_far_length\030\021 \001(\002\022\027\n\017team_far" - "_length\030\022 \001(\002\022\033\n\023team_too_far_length\030\023 \001" - "(\002\022%\n\035player_max_observation_length\030\024 \001(" - "\002\022\033\n\023ball_vel_far_length\030\025 \001(\002\022\037\n\027ball_v" - "el_too_far_length\030\026 \001(\002\022#\n\033ball_max_obse" - "rvation_length\030\027 \001(\002\022\033\n\023flag_chg_far_len" - "gth\030\030 \001(\002\022\037\n\027flag_chg_too_far_length\030\031 \001" - "(\002\022#\n\033flag_max_observation_length\030\032 \001(\002\022" - "\025\n\rkickable_area\030\033 \001(\002\022\037\n\027reliable_catch" - "able_dist\030\034 \001(\002\022\032\n\022max_catchable_dist\030\035 " - "\001(\002\022\026\n\016real_speed_max\030\036 \001(\002\022\031\n\021player_sp" - "eed_max2\030\037 \001(\002\022\027\n\017real_speed_max2\030 \001(\002\022" - "!\n\031cycles_to_reach_max_speed\030! \001(\005\022\030\n\020pl" - "ayer_speed_max\030\" \001(\002\"\255\003\n\024RpcCooperativeA" - "ction\022+\n\010category\030\001 \001(\0162\031.protos.RpcActi" - "onCategory\022\r\n\005index\030\002 \001(\005\022\023\n\013sender_unum" - "\030\003 \001(\005\022\023\n\013target_unum\030\004 \001(\005\022)\n\014target_po" - "int\030\005 \001(\0132\023.protos.RpcVector2D\022\030\n\020first_" - "ball_speed\030\006 \001(\001\022\031\n\021first_turn_moment\030\007 " - "\001(\001\022\030\n\020first_dash_power\030\010 \001(\001\022!\n\031first_d" - "ash_angle_relative\030\t \001(\001\022\025\n\rduration_ste" - "p\030\n \001(\005\022\022\n\nkick_count\030\013 \001(\005\022\022\n\nturn_coun" - "t\030\014 \001(\005\022\022\n\ndash_count\030\r \001(\005\022\024\n\014final_act" - "ion\030\016 \001(\010\022\023\n\013description\030\017 \001(\t\022\024\n\014parent" - "_index\030\020 \001(\005\"\317\001\n\017RpcPredictState\022\022\n\nspen" - "d_time\030\001 \001(\005\022\030\n\020ball_holder_unum\030\002 \001(\005\022*" - "\n\rball_position\030\003 \001(\0132\023.protos.RpcVector" - "2D\022*\n\rball_velocity\030\004 \001(\0132\023.protos.RpcVe" - "ctor2D\022\032\n\022our_defense_line_x\030\005 \001(\001\022\032\n\022ou" - "r_offense_line_x\030\006 \001(\001\"\202\001\n\016RpcActionStat" - "e\022,\n\006action\030\001 \001(\0132\034.protos.RpcCooperativ" - "eAction\022.\n\rpredict_state\030\002 \001(\0132\027.protos." - "RpcPredictState\022\022\n\nevaluation\030\003 \001(\001\"\357\001\n\030" - "BestPlannerActionRequest\0223\n\021register_res" - "ponse\030\001 \001(\0132\030.protos.RegisterResponse\022:\n" - "\005pairs\030\002 \003(\0132+.protos.BestPlannerActionR" - "equest.PairsEntry\022\034\n\005state\030\003 \001(\0132\r.proto" - "s.State\032D\n\nPairsEntry\022\013\n\003key\030\001 \001(\005\022%\n\005va" - "lue\030\002 \001(\0132\026.protos.RpcActionState:\0028\001\"*\n" - "\031BestPlannerActionResponse\022\r\n\005index\030\001 \001(" - "\005\"\007\n\005Empty*-\n\tViewWidth\022\n\n\006NARROW\020\000\022\n\n\006N" - "ORMAL\020\001\022\010\n\004WIDE\020\002*(\n\004Side\022\013\n\007UNKNOWN\020\000\022\010" - "\n\004LEFT\020\001\022\t\n\005RIGHT\020\002*\262\002\n\013LoggerLevel\022\r\n\tN" - "oneLevel\020\000\022\n\n\006SYSTEM\020\001\022\n\n\006SENSOR\020\002\022\t\n\005WO" - "RLD\020\004\022\n\n\006ACTION\020\010\022\r\n\tINTERCEPT\020\020\022\010\n\004KICK" - "\020 \022\010\n\004HOLD\020@\022\014\n\007DRIBBLE\020\200\001\022\t\n\004PASS\020\200\002\022\n\n" - "\005CROSS\020\200\004\022\n\n\005SHOOT\020\200\010\022\n\n\005CLEAR\020\200\020\022\n\n\005BLO" - "CK\020\200 \022\t\n\004MARK\020\200@\022\021\n\013POSITIONING\020\200\200\001\022\n\n\004R" - "OLE\020\200\200\002\022\n\n\004TEAM\020\200\200\004\022\023\n\rCOMMUNICATION\020\200\200\010" - "\022\016\n\010ANALYZER\020\200\200\020\022\022\n\014ACTION_CHAIN\020\200\200 \022\n\n\004" - "PLAN\020\200\200@*v\n\023InterceptActionType\022!\n\035UNKNO" - "WN_Intercept_Action_Type\020\000\022\r\n\tOMNI_DASH\020" - "\001\022\025\n\021TURN_FORWARD_DASH\020\002\022\026\n\022TURN_BACKWAR" - "D_DASH\020\003*\273\004\n\014GameModeType\022\021\n\rBeforeKickO" - "ff\020\000\022\014\n\010TimeOver\020\001\022\n\n\006PlayOn\020\002\022\014\n\010KickOf" - "f_\020\003\022\013\n\007KickIn_\020\004\022\r\n\tFreeKick_\020\005\022\017\n\013Corn" - "erKick_\020\006\022\r\n\tGoalKick_\020\007\022\016\n\nAfterGoal_\020\010" - "\022\014\n\010OffSide_\020\t\022\020\n\014PenaltyKick_\020\n\022\021\n\rFirs" - "tHalfOver\020\013\022\t\n\005Pause\020\014\022\t\n\005Human\020\r\022\017\n\013Fou" - "lCharge_\020\016\022\r\n\tFoulPush_\020\017\022\031\n\025FoulMultipl" - "eAttacker_\020\020\022\020\n\014FoulBallOut_\020\021\022\r\n\tBackPa" - "ss_\020\022\022\022\n\016FreeKickFault_\020\023\022\017\n\013CatchFault_" - "\020\024\022\020\n\014IndFreeKick_\020\025\022\021\n\rPenaltySetup_\020\026\022" - "\021\n\rPenaltyReady_\020\027\022\021\n\rPenaltyTaken_\020\030\022\020\n" - "\014PenaltyMiss_\020\031\022\021\n\rPenaltyScore_\020\032\022\023\n\017Il" - "legalDefense_\020\033\022\023\n\017PenaltyOnfield_\020\034\022\020\n\014" - "PenaltyFoul_\020\035\022\020\n\014GoalieCatch_\020\036\022\016\n\nExte" - "ndHalf\020\037\022\014\n\010MODE_MAX\020 *2\n\tAgentType\022\013\n\007P" - "layerT\020\000\022\n\n\006CoachT\020\001\022\014\n\010TrainerT\020\002*w\n\021Rp" - "cActionCategory\022\013\n\007AC_Hold\020\000\022\016\n\nAC_Dribb" - "le\020\001\022\013\n\007AC_Pass\020\002\022\014\n\010AC_Shoot\020\003\022\014\n\010AC_Cl" - "ear\020\004\022\013\n\007AC_Move\020\005\022\017\n\013AC_NoAction\020\0062\373\004\n\004" - "Game\022:\n\020GetPlayerActions\022\r.protos.State\032" - "\025.protos.PlayerActions\"\000\0228\n\017GetCoachActi" - "ons\022\r.protos.State\032\024.protos.CoachActions" - "\"\000\022<\n\021GetTrainerActions\022\r.protos.State\032\026" - ".protos.TrainerActions\"\000\0227\n\017SendInitMess" - "age\022\023.protos.InitMessage\032\r.protos.Empty\"" - "\000\0228\n\020SendServerParams\022\023.protos.ServerPar" - "am\032\r.protos.Empty\"\000\0228\n\020SendPlayerParams\022" - "\023.protos.PlayerParam\032\r.protos.Empty\"\000\0225\n" - "\016SendPlayerType\022\022.protos.PlayerType\032\r.pr" - "otos.Empty\"\000\022\?\n\010Register\022\027.protos.Regist" - "erRequest\032\030.protos.RegisterResponse\"\000\022;\n" - "\016SendByeCommand\022\030.protos.RegisterRespons" - "e\032\r.protos.Empty\"\000\022]\n\024GetBestPlannerActi" - "on\022 .protos.BestPlannerActionRequest\032!.p" - "rotos.BestPlannerActionResponse\"\000b\006proto" - "3" + "\024\n\014player_types\030\002 \001(\005\022\020\n\010subs_max\030\003 \001(\005\022" + "\016\n\006pt_max\030\004 \001(\005\022\037\n\027allow_mult_default_ty" + "pe\030\005 \001(\010\022\"\n\032player_speed_max_delta_min\030\006" + " \001(\002\022\"\n\032player_speed_max_delta_max\030\007 \001(\002" + "\022$\n\034stamina_inc_max_delta_factor\030\010 \001(\002\022\036" + "\n\026player_decay_delta_min\030\t \001(\002\022\036\n\026player" + "_decay_delta_max\030\n \001(\002\022#\n\033inertia_moment" + "_delta_factor\030\013 \001(\002\022!\n\031dash_power_rate_d" + "elta_min\030\014 \001(\002\022!\n\031dash_power_rate_delta_" + "max\030\r \001(\002\022 \n\030player_size_delta_factor\030\016 " + "\001(\002\022!\n\031kickable_margin_delta_min\030\017 \001(\002\022!" + "\n\031kickable_margin_delta_max\030\020 \001(\002\022\036\n\026kic" + "k_rand_delta_factor\030\021 \001(\002\022\037\n\027extra_stami" + "na_delta_min\030\022 \001(\002\022\037\n\027extra_stamina_delt" + "a_max\030\023 \001(\002\022\037\n\027effort_max_delta_factor\030\024" + " \001(\002\022\037\n\027effort_min_delta_factor\030\025 \001(\002\022\023\n" + "\013random_seed\030\026 \001(\005\022%\n\035new_dash_power_rat" + "e_delta_min\030\027 \001(\002\022%\n\035new_dash_power_rate" + "_delta_max\030\030 \001(\002\022(\n new_stamina_inc_max_" + "delta_factor\030\031 \001(\002\022!\n\031kick_power_rate_de" + "lta_min\030\032 \001(\002\022!\n\031kick_power_rate_delta_m" + "ax\030\033 \001(\002\022,\n$foul_detect_probability_delt" + "a_factor\030\034 \001(\002\022$\n\034catchable_area_l_stret" + "ch_min\030\035 \001(\002\022$\n\034catchable_area_l_stretch" + "_max\030\036 \001(\002\"\277\007\n\nPlayerType\0223\n\021register_re" + "sponse\030\001 \001(\0132\030.protos.RegisterResponse\022\n" + "\n\002id\030\002 \001(\005\022\027\n\017stamina_inc_max\030\003 \001(\002\022\024\n\014p" + "layer_decay\030\004 \001(\002\022\026\n\016inertia_moment\030\005 \001(" + "\002\022\027\n\017dash_power_rate\030\006 \001(\002\022\023\n\013player_siz" + "e\030\007 \001(\002\022\027\n\017kickable_margin\030\010 \001(\002\022\021\n\tkick" + "_rand\030\t \001(\002\022\025\n\rextra_stamina\030\n \001(\002\022\022\n\nef" + "fort_max\030\013 \001(\002\022\022\n\neffort_min\030\014 \001(\002\022\027\n\017ki" + "ck_power_rate\030\r \001(\002\022\037\n\027foul_detect_proba" + "bility\030\016 \001(\002\022 \n\030catchable_area_l_stretch" + "\030\017 \001(\002\022\027\n\017unum_far_length\030\020 \001(\002\022\033\n\023unum_" + "too_far_length\030\021 \001(\002\022\027\n\017team_far_length\030" + "\022 \001(\002\022\033\n\023team_too_far_length\030\023 \001(\002\022%\n\035pl" + "ayer_max_observation_length\030\024 \001(\002\022\033\n\023bal" + "l_vel_far_length\030\025 \001(\002\022\037\n\027ball_vel_too_f" + "ar_length\030\026 \001(\002\022#\n\033ball_max_observation_" + "length\030\027 \001(\002\022\033\n\023flag_chg_far_length\030\030 \001(" + "\002\022\037\n\027flag_chg_too_far_length\030\031 \001(\002\022#\n\033fl" + "ag_max_observation_length\030\032 \001(\002\022\025\n\rkicka" + "ble_area\030\033 \001(\002\022\037\n\027reliable_catchable_dis" + "t\030\034 \001(\002\022\032\n\022max_catchable_dist\030\035 \001(\002\022\026\n\016r" + "eal_speed_max\030\036 \001(\002\022\031\n\021player_speed_max2" + "\030\037 \001(\002\022\027\n\017real_speed_max2\030 \001(\002\022!\n\031cycle" + "s_to_reach_max_speed\030! \001(\005\022\030\n\020player_spe" + "ed_max\030\" \001(\002\"\255\003\n\024RpcCooperativeAction\022+\n" + "\010category\030\001 \001(\0162\031.protos.RpcActionCatego" + "ry\022\r\n\005index\030\002 \001(\005\022\023\n\013sender_unum\030\003 \001(\005\022\023" + "\n\013target_unum\030\004 \001(\005\022)\n\014target_point\030\005 \001(" + "\0132\023.protos.RpcVector2D\022\030\n\020first_ball_spe" + "ed\030\006 \001(\001\022\031\n\021first_turn_moment\030\007 \001(\001\022\030\n\020f" + "irst_dash_power\030\010 \001(\001\022!\n\031first_dash_angl" + "e_relative\030\t \001(\001\022\025\n\rduration_step\030\n \001(\005\022" + "\022\n\nkick_count\030\013 \001(\005\022\022\n\nturn_count\030\014 \001(\005\022" + "\022\n\ndash_count\030\r \001(\005\022\024\n\014final_action\030\016 \001(" + "\010\022\023\n\013description\030\017 \001(\t\022\024\n\014parent_index\030\020" + " \001(\005\"\317\001\n\017RpcPredictState\022\022\n\nspend_time\030\001" + " \001(\005\022\030\n\020ball_holder_unum\030\002 \001(\005\022*\n\rball_p" + "osition\030\003 \001(\0132\023.protos.RpcVector2D\022*\n\rba" + "ll_velocity\030\004 \001(\0132\023.protos.RpcVector2D\022\032" + "\n\022our_defense_line_x\030\005 \001(\001\022\032\n\022our_offens" + "e_line_x\030\006 \001(\001\"\202\001\n\016RpcActionState\022,\n\006act" + "ion\030\001 \001(\0132\034.protos.RpcCooperativeAction\022" + ".\n\rpredict_state\030\002 \001(\0132\027.protos.RpcPredi" + "ctState\022\022\n\nevaluation\030\003 \001(\001\"\357\001\n\030BestPlan" + "nerActionRequest\0223\n\021register_response\030\001 " + "\001(\0132\030.protos.RegisterResponse\022:\n\005pairs\030\002" + " \003(\0132+.protos.BestPlannerActionRequest.P" + "airsEntry\022\034\n\005state\030\003 \001(\0132\r.protos.State\032" + "D\n\nPairsEntry\022\013\n\003key\030\001 \001(\005\022%\n\005value\030\002 \001(" + "\0132\026.protos.RpcActionState:\0028\001\"*\n\031BestPla" + "nnerActionResponse\022\r\n\005index\030\001 \001(\005\"\007\n\005Emp" + "ty*-\n\tViewWidth\022\n\n\006NARROW\020\000\022\n\n\006NORMAL\020\001\022" + "\010\n\004WIDE\020\002*(\n\004Side\022\013\n\007UNKNOWN\020\000\022\010\n\004LEFT\020\001" + "\022\t\n\005RIGHT\020\002*\262\002\n\013LoggerLevel\022\r\n\tNoneLevel" + "\020\000\022\n\n\006SYSTEM\020\001\022\n\n\006SENSOR\020\002\022\t\n\005WORLD\020\004\022\n\n" + "\006ACTION\020\010\022\r\n\tINTERCEPT\020\020\022\010\n\004KICK\020 \022\010\n\004HO" + "LD\020@\022\014\n\007DRIBBLE\020\200\001\022\t\n\004PASS\020\200\002\022\n\n\005CROSS\020\200" + "\004\022\n\n\005SHOOT\020\200\010\022\n\n\005CLEAR\020\200\020\022\n\n\005BLOCK\020\200 \022\t\n" + "\004MARK\020\200@\022\021\n\013POSITIONING\020\200\200\001\022\n\n\004ROLE\020\200\200\002\022" + "\n\n\004TEAM\020\200\200\004\022\023\n\rCOMMUNICATION\020\200\200\010\022\016\n\010ANAL" + "YZER\020\200\200\020\022\022\n\014ACTION_CHAIN\020\200\200 \022\n\n\004PLAN\020\200\200@" + "*,\n\010CardType\022\013\n\007NO_CARD\020\000\022\n\n\006YELLOW\020\001\022\007\n" + "\003RED\020\002*v\n\023InterceptActionType\022!\n\035UNKNOWN" + "_Intercept_Action_Type\020\000\022\r\n\tOMNI_DASH\020\001\022" + "\025\n\021TURN_FORWARD_DASH\020\002\022\026\n\022TURN_BACKWARD_" + "DASH\020\003*\273\004\n\014GameModeType\022\021\n\rBeforeKickOff" + "\020\000\022\014\n\010TimeOver\020\001\022\n\n\006PlayOn\020\002\022\014\n\010KickOff_" + "\020\003\022\013\n\007KickIn_\020\004\022\r\n\tFreeKick_\020\005\022\017\n\013Corner" + "Kick_\020\006\022\r\n\tGoalKick_\020\007\022\016\n\nAfterGoal_\020\010\022\014" + "\n\010OffSide_\020\t\022\020\n\014PenaltyKick_\020\n\022\021\n\rFirstH" + "alfOver\020\013\022\t\n\005Pause\020\014\022\t\n\005Human\020\r\022\017\n\013FoulC" + "harge_\020\016\022\r\n\tFoulPush_\020\017\022\031\n\025FoulMultipleA" + "ttacker_\020\020\022\020\n\014FoulBallOut_\020\021\022\r\n\tBackPass" + "_\020\022\022\022\n\016FreeKickFault_\020\023\022\017\n\013CatchFault_\020\024" + "\022\020\n\014IndFreeKick_\020\025\022\021\n\rPenaltySetup_\020\026\022\021\n" + "\rPenaltyReady_\020\027\022\021\n\rPenaltyTaken_\020\030\022\020\n\014P" + "enaltyMiss_\020\031\022\021\n\rPenaltyScore_\020\032\022\023\n\017Ille" + "galDefense_\020\033\022\023\n\017PenaltyOnfield_\020\034\022\020\n\014Pe" + "naltyFoul_\020\035\022\020\n\014GoalieCatch_\020\036\022\016\n\nExtend" + "Half\020\037\022\014\n\010MODE_MAX\020 *2\n\tAgentType\022\013\n\007Pla" + "yerT\020\000\022\n\n\006CoachT\020\001\022\014\n\010TrainerT\020\002*w\n\021RpcA" + "ctionCategory\022\013\n\007AC_Hold\020\000\022\016\n\nAC_Dribble" + "\020\001\022\013\n\007AC_Pass\020\002\022\014\n\010AC_Shoot\020\003\022\014\n\010AC_Clea" + "r\020\004\022\013\n\007AC_Move\020\005\022\017\n\013AC_NoAction\020\0062\373\004\n\004Ga" + "me\022:\n\020GetPlayerActions\022\r.protos.State\032\025." + "protos.PlayerActions\"\000\0228\n\017GetCoachAction" + "s\022\r.protos.State\032\024.protos.CoachActions\"\000" + "\022<\n\021GetTrainerActions\022\r.protos.State\032\026.p" + "rotos.TrainerActions\"\000\0227\n\017SendInitMessag" + "e\022\023.protos.InitMessage\032\r.protos.Empty\"\000\022" + "8\n\020SendServerParams\022\023.protos.ServerParam" + "\032\r.protos.Empty\"\000\0228\n\020SendPlayerParams\022\023." + "protos.PlayerParam\032\r.protos.Empty\"\000\0225\n\016S" + "endPlayerType\022\022.protos.PlayerType\032\r.prot" + "os.Empty\"\000\022\?\n\010Register\022\027.protos.Register" + "Request\032\030.protos.RegisterResponse\"\000\022;\n\016S" + "endByeCommand\022\030.protos.RegisterResponse\032" + "\r.protos.Empty\"\000\022]\n\024GetBestPlannerAction" + "\022 .protos.BestPlannerActionRequest\032!.pro" + "tos.BestPlannerActionResponse\"\000b\006proto3" }; static ::absl::once_flag descriptor_table_service_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_service_2eproto = { false, false, - 28561, + 28639, descriptor_table_protodef_service_2eproto, "service.proto", &descriptor_table_service_2eproto_once, @@ -6751,10 +6756,24 @@ bool LoggerLevel_IsValid(int value) { return false; } } -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* InterceptActionType_descriptor() { +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CardType_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_service_2eproto); return file_level_enum_descriptors_service_2eproto[3]; } +bool CardType_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* InterceptActionType_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_service_2eproto); + return file_level_enum_descriptors_service_2eproto[4]; +} bool InterceptActionType_IsValid(int value) { switch (value) { case 0: @@ -6768,7 +6787,7 @@ bool InterceptActionType_IsValid(int value) { } const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* GameModeType_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_service_2eproto); - return file_level_enum_descriptors_service_2eproto[4]; + return file_level_enum_descriptors_service_2eproto[5]; } bool GameModeType_IsValid(int value) { switch (value) { @@ -6812,7 +6831,7 @@ bool GameModeType_IsValid(int value) { } const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* AgentType_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_service_2eproto); - return file_level_enum_descriptors_service_2eproto[5]; + return file_level_enum_descriptors_service_2eproto[6]; } bool AgentType_IsValid(int value) { switch (value) { @@ -6826,7 +6845,7 @@ bool AgentType_IsValid(int value) { } const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* RpcActionCategory_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_service_2eproto); - return file_level_enum_descriptors_service_2eproto[6]; + return file_level_enum_descriptors_service_2eproto[7]; } bool RpcActionCategory_IsValid(int value) { switch (value) { @@ -9848,6 +9867,8 @@ Self::Self(const Self& from) , decltype(_impl_.recovery_) {} , decltype(_impl_.stamina_capacity_) {} + + , decltype(_impl_.card_) {} }; _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); @@ -9867,8 +9888,8 @@ Self::Self(const Self& from) _this->_impl_.seen_velocity_ = new ::protos::RpcVector2D(*from._impl_.seen_velocity_); } ::memcpy(&_impl_.pos_count_, &from._impl_.pos_count_, - static_cast<::size_t>(reinterpret_cast(&_impl_.stamina_capacity_) - - reinterpret_cast(&_impl_.pos_count_)) + sizeof(_impl_.stamina_capacity_)); + static_cast<::size_t>(reinterpret_cast(&_impl_.card_) - + reinterpret_cast(&_impl_.pos_count_)) + sizeof(_impl_.card_)); // @@protoc_insertion_point(copy_constructor:protos.Self) } @@ -9948,6 +9969,8 @@ inline void Self::SharedCtor(::_pb::Arena* arena) { , decltype(_impl_.stamina_capacity_) { 0 } + , decltype(_impl_.card_) { 0 } + }; } @@ -10003,8 +10026,8 @@ void Self::Clear() { } } ::memset(&_impl_.pos_count_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.stamina_capacity_) - - reinterpret_cast(&_impl_.pos_count_)) + sizeof(_impl_.stamina_capacity_)); + reinterpret_cast(&_impl_.card_) - + reinterpret_cast(&_impl_.pos_count_)) + sizeof(_impl_.card_)); _impl_._has_bits_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -10360,6 +10383,16 @@ const char* Self::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { goto handle_unusual; } continue; + // .protos.CardType card = 39; + case 39: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) { + ::int32_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + _internal_set_card(static_cast<::protos::CardType>(val)); + } else { + goto handle_unusual; + } + continue; default: goto handle_unusual; } // switch @@ -10709,6 +10742,13 @@ ::uint8_t* Self::_InternalSerialize( 38, this->_internal_stamina_capacity(), target); } + // .protos.CardType card = 39; + if (this->_internal_card() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 39, this->_internal_card(), target); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -10996,6 +11036,12 @@ ::size_t Self::ByteSizeLong() const { total_size += 6; } + // .protos.CardType card = 39; + if (this->_internal_card() != 0) { + total_size += 2 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_card()); + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } @@ -11188,6 +11234,9 @@ void Self::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_ if (raw_stamina_capacity != 0) { _this->_internal_set_stamina_capacity(from._internal_stamina_capacity()); } + if (from._internal_card() != 0) { + _this->_internal_set_card(from._internal_card()); + } _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -11207,8 +11256,8 @@ void Self::InternalSwap(Self* other) { _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(Self, _impl_.stamina_capacity_) - + sizeof(Self::_impl_.stamina_capacity_) + PROTOBUF_FIELD_OFFSET(Self, _impl_.card_) + + sizeof(Self::_impl_.card_) - PROTOBUF_FIELD_OFFSET(Self, _impl_.position_)>( reinterpret_cast(&_impl_.position_), reinterpret_cast(&other->_impl_.position_)); diff --git a/src/grpc-generated/service.pb.h b/src/grpc-generated/service.pb.h index e5c1a2e..a4c3e8d 100644 --- a/src/grpc-generated/service.pb.h +++ b/src/grpc-generated/service.pb.h @@ -843,6 +843,39 @@ inline bool LoggerLevel_Parse(absl::string_view name, LoggerLevel* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( LoggerLevel_descriptor(), name, value); } +enum CardType : int { + NO_CARD = 0, + YELLOW = 1, + RED = 2, + CardType_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + CardType_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool CardType_IsValid(int value); +constexpr CardType CardType_MIN = static_cast(0); +constexpr CardType CardType_MAX = static_cast(2); +constexpr int CardType_ARRAYSIZE = 2 + 1; +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* +CardType_descriptor(); +template +const std::string& CardType_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to CardType_Name()."); + return CardType_Name(static_cast(value)); +} +template <> +inline const std::string& CardType_Name(CardType value) { + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool CardType_Parse(absl::string_view name, CardType* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + CardType_descriptor(), name, value); +} enum InterceptActionType : int { UNKNOWN_Intercept_Action_Type = 0, OMNI_DASH = 1, @@ -2663,6 +2696,7 @@ class Self final : kKickRateFieldNumber = 36, kRecoveryFieldNumber = 37, kStaminaCapacityFieldNumber = 38, + kCardFieldNumber = 39, }; // .protos.RpcVector2D position = 1; bool has_position() const; @@ -3063,6 +3097,16 @@ class Self final : float _internal_stamina_capacity() const; void _internal_set_stamina_capacity(float value); + public: + // .protos.CardType card = 39; + void clear_card() ; + ::protos::CardType card() const; + void set_card(::protos::CardType value); + + private: + ::protos::CardType _internal_card() const; + void _internal_set_card(::protos::CardType value); + public: // @@protoc_insertion_point(class_scope:protos.Self) private: @@ -3112,6 +3156,7 @@ class Self final : float kick_rate_; float recovery_; float stamina_capacity_; + int card_; }; union { Impl_ _impl_; }; friend struct ::TableStruct_service_2eproto; @@ -33432,6 +33477,26 @@ inline void Self::_internal_set_stamina_capacity(float value) { _impl_.stamina_capacity_ = value; } +// .protos.CardType card = 39; +inline void Self::clear_card() { + _impl_.card_ = 0; +} +inline ::protos::CardType Self::card() const { + // @@protoc_insertion_point(field_get:protos.Self.card) + return _internal_card(); +} +inline void Self::set_card(::protos::CardType value) { + _internal_set_card(value); + // @@protoc_insertion_point(field_set:protos.Self.card) +} +inline ::protos::CardType Self::_internal_card() const { + return static_cast<::protos::CardType>(_impl_.card_); +} +inline void Self::_internal_set_card(::protos::CardType value) { + ; + _impl_.card_ = value; +} + // ------------------------------------------------------------------- // InterceptInfo @@ -58945,6 +59010,12 @@ inline const EnumDescriptor* GetEnumDescriptor<::protos::LoggerLevel>() { return ::protos::LoggerLevel_descriptor(); } template <> +struct is_proto_enum<::protos::CardType> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::protos::CardType>() { + return ::protos::CardType_descriptor(); +} +template <> struct is_proto_enum<::protos::InterceptActionType> : std::true_type {}; template <> inline const EnumDescriptor* GetEnumDescriptor<::protos::InterceptActionType>() { diff --git a/src/thrift-client/thrift_state_generator.cpp b/src/thrift-client/thrift_state_generator.cpp index 967f831..826e1b4 100644 --- a/src/thrift-client/thrift_state_generator.cpp +++ b/src/thrift-client/thrift_state_generator.cpp @@ -45,6 +45,25 @@ soccer::ViewWidth::type ThriftStateGenerator::convertViewWidth(rcsc::ViewWidth:: return soccer::ViewWidth::NARROW; } +/** + * Converts the given `rcsc::Card` to `soccer::CardType`. + * + * @param cardType The `rcsc::Card` to be converted. + * @return The converted `soccer::CardType`. + */ +soccer::CardType::type ThriftStateGenerator::convertCardType(rcsc::Card cardType) +{ + if (cardType == rcsc::Card::YELLOW) + { + return soccer::CardType::YELLOW; + } + else if (cardType == rcsc::Card::RED) + { + return soccer::CardType::RED; + } + return soccer::CardType::NO_CARD; +} + /** * Converts an rcsc::Vector2D object to a soccer::Vector2D object. * @@ -157,6 +176,7 @@ soccer::Self ThriftStateGenerator::convertSelf(const rcsc::SelfObject &self, con res.kick_rate = static_cast(kick_rate); res.recovery = static_cast(self.recovery()); res.stamina_capacity = static_cast(self.staminaCapacity()); + res.card = convertCardType(self.card()); return res; } diff --git a/src/thrift-client/thrift_state_generator.h b/src/thrift-client/thrift_state_generator.h index d058065..2885a93 100644 --- a/src/thrift-client/thrift_state_generator.h +++ b/src/thrift-client/thrift_state_generator.h @@ -24,6 +24,7 @@ class ThriftStateGenerator public: static soccer::Side::type convertSide(rcsc::SideID sideId); static soccer::ViewWidth::type convertViewWidth(rcsc::ViewWidth::Type viewWidth); + static soccer::CardType::type convertCardType(rcsc::Card cardType); static soccer::RpcVector2D convertVector2D(rcsc::Vector2D vector2D); static soccer::Ball convertBall(const rcsc::BallObject &ball); static soccer::Ball convertBall(const rcsc::CoachBallObject &ball); diff --git a/src/thrift-generated/soccer_service_types.cpp b/src/thrift-generated/soccer_service_types.cpp index dab4897..61cb8a9 100644 --- a/src/thrift-generated/soccer_service_types.cpp +++ b/src/thrift-generated/soccer_service_types.cpp @@ -175,6 +175,37 @@ std::string to_string(const LoggerLevel::type& val) { } } +int _kCardTypeValues[] = { + CardType::NO_CARD, + CardType::YELLOW, + CardType::RED +}; +const char* _kCardTypeNames[] = { + "NO_CARD", + "YELLOW", + "RED" +}; +const std::map _CardType_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(3, _kCardTypeValues, _kCardTypeNames), ::apache::thrift::TEnumIterator(-1, nullptr, nullptr)); + +std::ostream& operator<<(std::ostream& out, const CardType::type& val) { + std::map::const_iterator it = _CardType_VALUES_TO_NAMES.find(val); + if (it != _CardType_VALUES_TO_NAMES.end()) { + out << it->second; + } else { + out << static_cast(val); + } + return out; +} + +std::string to_string(const CardType::type& val) { + std::map::const_iterator it = _CardType_VALUES_TO_NAMES.find(val); + if (it != _CardType_VALUES_TO_NAMES.end()) { + return std::string(it->second); + } else { + return std::to_string(static_cast(val)); + } +} + int _kInterceptActionTypeValues[] = { InterceptActionType::UNKNOWN_Intercept_Action_Type, InterceptActionType::OMNI_DASH, @@ -2020,6 +2051,10 @@ void Self::__set_recovery(const double val) { void Self::__set_stamina_capacity(const double val) { this->stamina_capacity = val; } + +void Self::__set_card(const CardType::type val) { + this->card = val; +} std::ostream& operator<<(std::ostream& out, const Self& obj) { obj.printTo(out); @@ -2356,6 +2391,16 @@ uint32_t Self::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 39: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast15; + xfer += iprot->readI32(ecast15); + this->card = static_cast(ecast15); + this->__isset.card = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -2525,6 +2570,10 @@ uint32_t Self::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeDouble(this->stamina_capacity); xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldBegin("card", ::apache::thrift::protocol::T_I32, 39); + xfer += oprot->writeI32(static_cast(this->card)); + xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -2570,51 +2619,11 @@ void swap(Self &a, Self &b) { swap(a.kick_rate, b.kick_rate); swap(a.recovery, b.recovery); swap(a.stamina_capacity, b.stamina_capacity); + swap(a.card, b.card); swap(a.__isset, b.__isset); } -Self::Self(const Self& other15) noexcept { - position = other15.position; - seen_position = other15.seen_position; - heard_position = other15.heard_position; - velocity = other15.velocity; - seen_velocity = other15.seen_velocity; - pos_count = other15.pos_count; - seen_pos_count = other15.seen_pos_count; - heard_pos_count = other15.heard_pos_count; - vel_count = other15.vel_count; - seen_vel_count = other15.seen_vel_count; - ghost_count = other15.ghost_count; - id = other15.id; - side = other15.side; - uniform_number = other15.uniform_number; - uniform_number_count = other15.uniform_number_count; - is_goalie = other15.is_goalie; - body_direction = other15.body_direction; - body_direction_count = other15.body_direction_count; - face_direction = other15.face_direction; - face_direction_count = other15.face_direction_count; - point_to_direction = other15.point_to_direction; - point_to_direction_count = other15.point_to_direction_count; - is_kicking = other15.is_kicking; - dist_from_ball = other15.dist_from_ball; - angle_from_ball = other15.angle_from_ball; - ball_reach_steps = other15.ball_reach_steps; - is_tackling = other15.is_tackling; - relative_neck_direction = other15.relative_neck_direction; - stamina = other15.stamina; - is_kickable = other15.is_kickable; - catch_probability = other15.catch_probability; - tackle_probability = other15.tackle_probability; - foul_probability = other15.foul_probability; - view_width = other15.view_width; - type_id = other15.type_id; - kick_rate = other15.kick_rate; - recovery = other15.recovery; - stamina_capacity = other15.stamina_capacity; - __isset = other15.__isset; -} -Self& Self::operator=(const Self& other16) noexcept { +Self::Self(const Self& other16) noexcept { position = other16.position; seen_position = other16.seen_position; heard_position = other16.heard_position; @@ -2653,7 +2662,50 @@ Self& Self::operator=(const Self& other16) noexcept { kick_rate = other16.kick_rate; recovery = other16.recovery; stamina_capacity = other16.stamina_capacity; + card = other16.card; __isset = other16.__isset; +} +Self& Self::operator=(const Self& other17) noexcept { + position = other17.position; + seen_position = other17.seen_position; + heard_position = other17.heard_position; + velocity = other17.velocity; + seen_velocity = other17.seen_velocity; + pos_count = other17.pos_count; + seen_pos_count = other17.seen_pos_count; + heard_pos_count = other17.heard_pos_count; + vel_count = other17.vel_count; + seen_vel_count = other17.seen_vel_count; + ghost_count = other17.ghost_count; + id = other17.id; + side = other17.side; + uniform_number = other17.uniform_number; + uniform_number_count = other17.uniform_number_count; + is_goalie = other17.is_goalie; + body_direction = other17.body_direction; + body_direction_count = other17.body_direction_count; + face_direction = other17.face_direction; + face_direction_count = other17.face_direction_count; + point_to_direction = other17.point_to_direction; + point_to_direction_count = other17.point_to_direction_count; + is_kicking = other17.is_kicking; + dist_from_ball = other17.dist_from_ball; + angle_from_ball = other17.angle_from_ball; + ball_reach_steps = other17.ball_reach_steps; + is_tackling = other17.is_tackling; + relative_neck_direction = other17.relative_neck_direction; + stamina = other17.stamina; + is_kickable = other17.is_kickable; + catch_probability = other17.catch_probability; + tackle_probability = other17.tackle_probability; + foul_probability = other17.foul_probability; + view_width = other17.view_width; + type_id = other17.type_id; + kick_rate = other17.kick_rate; + recovery = other17.recovery; + stamina_capacity = other17.stamina_capacity; + card = other17.card; + __isset = other17.__isset; return *this; } void Self::printTo(std::ostream& out) const { @@ -2697,6 +2749,7 @@ void Self::printTo(std::ostream& out) const { out << ", " << "kick_rate=" << to_string(kick_rate); out << ", " << "recovery=" << to_string(recovery); out << ", " << "stamina_capacity=" << to_string(stamina_capacity); + out << ", " << "card=" << to_string(card); out << ")"; } @@ -2774,9 +2827,9 @@ uint32_t InterceptInfo::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast17; - xfer += iprot->readI32(ecast17); - this->action_type = static_cast(ecast17); + int32_t ecast18; + xfer += iprot->readI32(ecast18); + this->action_type = static_cast(ecast18); this->__isset.action_type = true; } else { xfer += iprot->skip(ftype); @@ -2931,20 +2984,7 @@ void swap(InterceptInfo &a, InterceptInfo &b) { swap(a.__isset, b.__isset); } -InterceptInfo::InterceptInfo(const InterceptInfo& other18) noexcept { - action_type = other18.action_type; - turn_steps = other18.turn_steps; - turn_angle = other18.turn_angle; - dash_steps = other18.dash_steps; - dash_power = other18.dash_power; - dash_dir = other18.dash_dir; - final_self_position = other18.final_self_position; - final_ball_dist = other18.final_ball_dist; - final_stamina = other18.final_stamina; - value = other18.value; - __isset = other18.__isset; -} -InterceptInfo& InterceptInfo::operator=(const InterceptInfo& other19) noexcept { +InterceptInfo::InterceptInfo(const InterceptInfo& other19) noexcept { action_type = other19.action_type; turn_steps = other19.turn_steps; turn_angle = other19.turn_angle; @@ -2956,6 +2996,19 @@ InterceptInfo& InterceptInfo::operator=(const InterceptInfo& other19) noexcept { final_stamina = other19.final_stamina; value = other19.value; __isset = other19.__isset; +} +InterceptInfo& InterceptInfo::operator=(const InterceptInfo& other20) noexcept { + action_type = other20.action_type; + turn_steps = other20.turn_steps; + turn_angle = other20.turn_angle; + dash_steps = other20.dash_steps; + dash_power = other20.dash_power; + dash_dir = other20.dash_dir; + final_self_position = other20.final_self_position; + final_ball_dist = other20.final_ball_dist; + final_stamina = other20.final_stamina; + value = other20.value; + __isset = other20.__isset; return *this; } void InterceptInfo::printTo(std::ostream& out) const { @@ -3122,14 +3175,14 @@ uint32_t InterceptTable::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->self_intercept_info.clear(); - uint32_t _size20; - ::apache::thrift::protocol::TType _etype23; - xfer += iprot->readListBegin(_etype23, _size20); - this->self_intercept_info.resize(_size20); - uint32_t _i24; - for (_i24 = 0; _i24 < _size20; ++_i24) + uint32_t _size21; + ::apache::thrift::protocol::TType _etype24; + xfer += iprot->readListBegin(_etype24, _size21); + this->self_intercept_info.resize(_size21); + uint32_t _i25; + for (_i25 = 0; _i25 < _size21; ++_i25) { - xfer += this->self_intercept_info[_i24].read(iprot); + xfer += this->self_intercept_info[_i25].read(iprot); } xfer += iprot->readListEnd(); } @@ -3194,10 +3247,10 @@ uint32_t InterceptTable::write(::apache::thrift::protocol::TProtocol* oprot) con xfer += oprot->writeFieldBegin("self_intercept_info", ::apache::thrift::protocol::T_LIST, 10); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->self_intercept_info.size())); - std::vector ::const_iterator _iter25; - for (_iter25 = this->self_intercept_info.begin(); _iter25 != this->self_intercept_info.end(); ++_iter25) + std::vector ::const_iterator _iter26; + for (_iter26 = this->self_intercept_info.begin(); _iter26 != this->self_intercept_info.end(); ++_iter26) { - xfer += (*_iter25).write(oprot); + xfer += (*_iter26).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3223,20 +3276,7 @@ void swap(InterceptTable &a, InterceptTable &b) { swap(a.__isset, b.__isset); } -InterceptTable::InterceptTable(const InterceptTable& other26) { - self_reach_steps = other26.self_reach_steps; - first_teammate_reach_steps = other26.first_teammate_reach_steps; - second_teammate_reach_steps = other26.second_teammate_reach_steps; - first_opponent_reach_steps = other26.first_opponent_reach_steps; - second_opponent_reach_steps = other26.second_opponent_reach_steps; - first_teammate_id = other26.first_teammate_id; - second_teammate_id = other26.second_teammate_id; - first_opponent_id = other26.first_opponent_id; - second_opponent_id = other26.second_opponent_id; - self_intercept_info = other26.self_intercept_info; - __isset = other26.__isset; -} -InterceptTable& InterceptTable::operator=(const InterceptTable& other27) { +InterceptTable::InterceptTable(const InterceptTable& other27) { self_reach_steps = other27.self_reach_steps; first_teammate_reach_steps = other27.first_teammate_reach_steps; second_teammate_reach_steps = other27.second_teammate_reach_steps; @@ -3248,6 +3288,19 @@ InterceptTable& InterceptTable::operator=(const InterceptTable& other27) { second_opponent_id = other27.second_opponent_id; self_intercept_info = other27.self_intercept_info; __isset = other27.__isset; +} +InterceptTable& InterceptTable::operator=(const InterceptTable& other28) { + self_reach_steps = other28.self_reach_steps; + first_teammate_reach_steps = other28.first_teammate_reach_steps; + second_teammate_reach_steps = other28.second_teammate_reach_steps; + first_opponent_reach_steps = other28.first_opponent_reach_steps; + second_opponent_reach_steps = other28.second_opponent_reach_steps; + first_teammate_id = other28.first_teammate_id; + second_teammate_id = other28.second_teammate_id; + first_opponent_id = other28.first_opponent_id; + second_opponent_id = other28.second_opponent_id; + self_intercept_info = other28.self_intercept_info; + __isset = other28.__isset; return *this; } void InterceptTable::printTo(std::ostream& out) const { @@ -3464,9 +3517,9 @@ uint32_t WorldModel::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast28; - xfer += iprot->readI32(ecast28); - this->our_side = static_cast(ecast28); + int32_t ecast29; + xfer += iprot->readI32(ecast29); + this->our_side = static_cast(ecast29); this->__isset.our_side = true; } else { xfer += iprot->skip(ftype); @@ -3500,14 +3553,14 @@ uint32_t WorldModel::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->teammates.clear(); - uint32_t _size29; - ::apache::thrift::protocol::TType _etype32; - xfer += iprot->readListBegin(_etype32, _size29); - this->teammates.resize(_size29); - uint32_t _i33; - for (_i33 = 0; _i33 < _size29; ++_i33) + uint32_t _size30; + ::apache::thrift::protocol::TType _etype33; + xfer += iprot->readListBegin(_etype33, _size30); + this->teammates.resize(_size30); + uint32_t _i34; + for (_i34 = 0; _i34 < _size30; ++_i34) { - xfer += this->teammates[_i33].read(iprot); + xfer += this->teammates[_i34].read(iprot); } xfer += iprot->readListEnd(); } @@ -3520,14 +3573,14 @@ uint32_t WorldModel::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->opponents.clear(); - uint32_t _size34; - ::apache::thrift::protocol::TType _etype37; - xfer += iprot->readListBegin(_etype37, _size34); - this->opponents.resize(_size34); - uint32_t _i38; - for (_i38 = 0; _i38 < _size34; ++_i38) + uint32_t _size35; + ::apache::thrift::protocol::TType _etype38; + xfer += iprot->readListBegin(_etype38, _size35); + this->opponents.resize(_size35); + uint32_t _i39; + for (_i39 = 0; _i39 < _size35; ++_i39) { - xfer += this->opponents[_i38].read(iprot); + xfer += this->opponents[_i39].read(iprot); } xfer += iprot->readListEnd(); } @@ -3540,14 +3593,14 @@ uint32_t WorldModel::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->unknowns.clear(); - uint32_t _size39; - ::apache::thrift::protocol::TType _etype42; - xfer += iprot->readListBegin(_etype42, _size39); - this->unknowns.resize(_size39); - uint32_t _i43; - for (_i43 = 0; _i43 < _size39; ++_i43) + uint32_t _size40; + ::apache::thrift::protocol::TType _etype43; + xfer += iprot->readListBegin(_etype43, _size40); + this->unknowns.resize(_size40); + uint32_t _i44; + for (_i44 = 0; _i44 < _size40; ++_i44) { - xfer += this->unknowns[_i43].read(iprot); + xfer += this->unknowns[_i44].read(iprot); } xfer += iprot->readListEnd(); } @@ -3560,17 +3613,17 @@ uint32_t WorldModel::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->our_players_dict.clear(); - uint32_t _size44; - ::apache::thrift::protocol::TType _ktype45; - ::apache::thrift::protocol::TType _vtype46; - xfer += iprot->readMapBegin(_ktype45, _vtype46, _size44); - uint32_t _i48; - for (_i48 = 0; _i48 < _size44; ++_i48) + uint32_t _size45; + ::apache::thrift::protocol::TType _ktype46; + ::apache::thrift::protocol::TType _vtype47; + xfer += iprot->readMapBegin(_ktype46, _vtype47, _size45); + uint32_t _i49; + for (_i49 = 0; _i49 < _size45; ++_i49) { - int32_t _key49; - xfer += iprot->readI32(_key49); - Player& _val50 = this->our_players_dict[_key49]; - xfer += _val50.read(iprot); + int32_t _key50; + xfer += iprot->readI32(_key50); + Player& _val51 = this->our_players_dict[_key50]; + xfer += _val51.read(iprot); } xfer += iprot->readMapEnd(); } @@ -3583,17 +3636,17 @@ uint32_t WorldModel::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->their_players_dict.clear(); - uint32_t _size51; - ::apache::thrift::protocol::TType _ktype52; - ::apache::thrift::protocol::TType _vtype53; - xfer += iprot->readMapBegin(_ktype52, _vtype53, _size51); - uint32_t _i55; - for (_i55 = 0; _i55 < _size51; ++_i55) + uint32_t _size52; + ::apache::thrift::protocol::TType _ktype53; + ::apache::thrift::protocol::TType _vtype54; + xfer += iprot->readMapBegin(_ktype53, _vtype54, _size52); + uint32_t _i56; + for (_i56 = 0; _i56 < _size52; ++_i56) { - int32_t _key56; - xfer += iprot->readI32(_key56); - Player& _val57 = this->their_players_dict[_key56]; - xfer += _val57.read(iprot); + int32_t _key57; + xfer += iprot->readI32(_key57); + Player& _val58 = this->their_players_dict[_key57]; + xfer += _val58.read(iprot); } xfer += iprot->readMapEnd(); } @@ -3652,9 +3705,9 @@ uint32_t WorldModel::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 19: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast58; - xfer += iprot->readI32(ecast58); - this->last_kick_side = static_cast(ecast58); + int32_t ecast59; + xfer += iprot->readI32(ecast59); + this->last_kick_side = static_cast(ecast59); this->__isset.last_kick_side = true; } else { xfer += iprot->skip(ftype); @@ -3678,9 +3731,9 @@ uint32_t WorldModel::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 22: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast59; - xfer += iprot->readI32(ecast59); - this->game_mode_type = static_cast(ecast59); + int32_t ecast60; + xfer += iprot->readI32(ecast60); + this->game_mode_type = static_cast(ecast60); this->__isset.game_mode_type = true; } else { xfer += iprot->skip(ftype); @@ -3754,17 +3807,17 @@ uint32_t WorldModel::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->helios_home_positions.clear(); - uint32_t _size60; - ::apache::thrift::protocol::TType _ktype61; - ::apache::thrift::protocol::TType _vtype62; - xfer += iprot->readMapBegin(_ktype61, _vtype62, _size60); - uint32_t _i64; - for (_i64 = 0; _i64 < _size60; ++_i64) + uint32_t _size61; + ::apache::thrift::protocol::TType _ktype62; + ::apache::thrift::protocol::TType _vtype63; + xfer += iprot->readMapBegin(_ktype62, _vtype63, _size61); + uint32_t _i65; + for (_i65 = 0; _i65 < _size61; ++_i65) { - int32_t _key65; - xfer += iprot->readI32(_key65); - RpcVector2D& _val66 = this->helios_home_positions[_key65]; - xfer += _val66.read(iprot); + int32_t _key66; + xfer += iprot->readI32(_key66); + RpcVector2D& _val67 = this->helios_home_positions[_key66]; + xfer += _val67.read(iprot); } xfer += iprot->readMapEnd(); } @@ -3853,10 +3906,10 @@ uint32_t WorldModel::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("teammates", ::apache::thrift::protocol::T_LIST, 8); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->teammates.size())); - std::vector ::const_iterator _iter67; - for (_iter67 = this->teammates.begin(); _iter67 != this->teammates.end(); ++_iter67) + std::vector ::const_iterator _iter68; + for (_iter68 = this->teammates.begin(); _iter68 != this->teammates.end(); ++_iter68) { - xfer += (*_iter67).write(oprot); + xfer += (*_iter68).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3865,10 +3918,10 @@ uint32_t WorldModel::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("opponents", ::apache::thrift::protocol::T_LIST, 9); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->opponents.size())); - std::vector ::const_iterator _iter68; - for (_iter68 = this->opponents.begin(); _iter68 != this->opponents.end(); ++_iter68) + std::vector ::const_iterator _iter69; + for (_iter69 = this->opponents.begin(); _iter69 != this->opponents.end(); ++_iter69) { - xfer += (*_iter68).write(oprot); + xfer += (*_iter69).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3877,10 +3930,10 @@ uint32_t WorldModel::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("unknowns", ::apache::thrift::protocol::T_LIST, 10); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->unknowns.size())); - std::vector ::const_iterator _iter69; - for (_iter69 = this->unknowns.begin(); _iter69 != this->unknowns.end(); ++_iter69) + std::vector ::const_iterator _iter70; + for (_iter70 = this->unknowns.begin(); _iter70 != this->unknowns.end(); ++_iter70) { - xfer += (*_iter69).write(oprot); + xfer += (*_iter70).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3889,11 +3942,11 @@ uint32_t WorldModel::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("our_players_dict", ::apache::thrift::protocol::T_MAP, 11); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I32, ::apache::thrift::protocol::T_STRUCT, static_cast(this->our_players_dict.size())); - std::map ::const_iterator _iter70; - for (_iter70 = this->our_players_dict.begin(); _iter70 != this->our_players_dict.end(); ++_iter70) + std::map ::const_iterator _iter71; + for (_iter71 = this->our_players_dict.begin(); _iter71 != this->our_players_dict.end(); ++_iter71) { - xfer += oprot->writeI32(_iter70->first); - xfer += _iter70->second.write(oprot); + xfer += oprot->writeI32(_iter71->first); + xfer += _iter71->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -3902,11 +3955,11 @@ uint32_t WorldModel::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("their_players_dict", ::apache::thrift::protocol::T_MAP, 12); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I32, ::apache::thrift::protocol::T_STRUCT, static_cast(this->their_players_dict.size())); - std::map ::const_iterator _iter71; - for (_iter71 = this->their_players_dict.begin(); _iter71 != this->their_players_dict.end(); ++_iter71) + std::map ::const_iterator _iter72; + for (_iter72 = this->their_players_dict.begin(); _iter72 != this->their_players_dict.end(); ++_iter72) { - xfer += oprot->writeI32(_iter71->first); - xfer += _iter71->second.write(oprot); + xfer += oprot->writeI32(_iter72->first); + xfer += _iter72->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -3987,11 +4040,11 @@ uint32_t WorldModel::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("helios_home_positions", ::apache::thrift::protocol::T_MAP, 31); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I32, ::apache::thrift::protocol::T_STRUCT, static_cast(this->helios_home_positions.size())); - std::map ::const_iterator _iter72; - for (_iter72 = this->helios_home_positions.begin(); _iter72 != this->helios_home_positions.end(); ++_iter72) + std::map ::const_iterator _iter73; + for (_iter73 = this->helios_home_positions.begin(); _iter73 != this->helios_home_positions.end(); ++_iter73) { - xfer += oprot->writeI32(_iter72->first); - xfer += _iter72->second.write(oprot); + xfer += oprot->writeI32(_iter73->first); + xfer += _iter73->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -4058,45 +4111,7 @@ void swap(WorldModel &a, WorldModel &b) { swap(a.__isset, b.__isset); } -WorldModel::WorldModel(const WorldModel& other73) { - intercept_table = other73.intercept_table; - our_team_name = other73.our_team_name; - their_team_name = other73.their_team_name; - our_side = other73.our_side; - last_set_play_start_time = other73.last_set_play_start_time; - myself = other73.myself; - ball = other73.ball; - teammates = other73.teammates; - opponents = other73.opponents; - unknowns = other73.unknowns; - our_players_dict = other73.our_players_dict; - their_players_dict = other73.their_players_dict; - our_goalie_uniform_number = other73.our_goalie_uniform_number; - their_goalie_uniform_number = other73.their_goalie_uniform_number; - offside_line_x = other73.offside_line_x; - offside_line_x_count = other73.offside_line_x_count; - kickable_teammate_id = other73.kickable_teammate_id; - kickable_opponent_id = other73.kickable_opponent_id; - last_kick_side = other73.last_kick_side; - last_kicker_uniform_number = other73.last_kicker_uniform_number; - cycle = other73.cycle; - game_mode_type = other73.game_mode_type; - left_team_score = other73.left_team_score; - right_team_score = other73.right_team_score; - is_our_set_play = other73.is_our_set_play; - is_their_set_play = other73.is_their_set_play; - stoped_cycle = other73.stoped_cycle; - our_team_score = other73.our_team_score; - their_team_score = other73.their_team_score; - is_penalty_kick_mode = other73.is_penalty_kick_mode; - helios_home_positions = other73.helios_home_positions; - our_defense_line_x = other73.our_defense_line_x; - their_defense_line_x = other73.their_defense_line_x; - our_defense_player_line_x = other73.our_defense_player_line_x; - their_defense_player_line_x = other73.their_defense_player_line_x; - __isset = other73.__isset; -} -WorldModel& WorldModel::operator=(const WorldModel& other74) { +WorldModel::WorldModel(const WorldModel& other74) { intercept_table = other74.intercept_table; our_team_name = other74.our_team_name; their_team_name = other74.their_team_name; @@ -4133,6 +4148,44 @@ WorldModel& WorldModel::operator=(const WorldModel& other74) { our_defense_player_line_x = other74.our_defense_player_line_x; their_defense_player_line_x = other74.their_defense_player_line_x; __isset = other74.__isset; +} +WorldModel& WorldModel::operator=(const WorldModel& other75) { + intercept_table = other75.intercept_table; + our_team_name = other75.our_team_name; + their_team_name = other75.their_team_name; + our_side = other75.our_side; + last_set_play_start_time = other75.last_set_play_start_time; + myself = other75.myself; + ball = other75.ball; + teammates = other75.teammates; + opponents = other75.opponents; + unknowns = other75.unknowns; + our_players_dict = other75.our_players_dict; + their_players_dict = other75.their_players_dict; + our_goalie_uniform_number = other75.our_goalie_uniform_number; + their_goalie_uniform_number = other75.their_goalie_uniform_number; + offside_line_x = other75.offside_line_x; + offside_line_x_count = other75.offside_line_x_count; + kickable_teammate_id = other75.kickable_teammate_id; + kickable_opponent_id = other75.kickable_opponent_id; + last_kick_side = other75.last_kick_side; + last_kicker_uniform_number = other75.last_kicker_uniform_number; + cycle = other75.cycle; + game_mode_type = other75.game_mode_type; + left_team_score = other75.left_team_score; + right_team_score = other75.right_team_score; + is_our_set_play = other75.is_our_set_play; + is_their_set_play = other75.is_their_set_play; + stoped_cycle = other75.stoped_cycle; + our_team_score = other75.our_team_score; + their_team_score = other75.their_team_score; + is_penalty_kick_mode = other75.is_penalty_kick_mode; + helios_home_positions = other75.helios_home_positions; + our_defense_line_x = other75.our_defense_line_x; + their_defense_line_x = other75.their_defense_line_x; + our_defense_player_line_x = other75.our_defense_player_line_x; + their_defense_player_line_x = other75.their_defense_player_line_x; + __isset = other75.__isset; return *this; } void WorldModel::printTo(std::ostream& out) const { @@ -4303,19 +4356,19 @@ void swap(State &a, State &b) { swap(a.__isset, b.__isset); } -State::State(const State& other75) { - register_response = other75.register_response; - world_model = other75.world_model; - full_world_model = other75.full_world_model; - need_preprocess = other75.need_preprocess; - __isset = other75.__isset; -} -State& State::operator=(const State& other76) { +State::State(const State& other76) { register_response = other76.register_response; world_model = other76.world_model; full_world_model = other76.full_world_model; need_preprocess = other76.need_preprocess; __isset = other76.__isset; +} +State& State::operator=(const State& other77) { + register_response = other77.register_response; + world_model = other77.world_model; + full_world_model = other77.full_world_model; + need_preprocess = other77.need_preprocess; + __isset = other77.__isset; return *this; } void State::printTo(std::ostream& out) const { @@ -4421,15 +4474,15 @@ void swap(InitMessage &a, InitMessage &b) { swap(a.__isset, b.__isset); } -InitMessage::InitMessage(const InitMessage& other77) { - register_response = other77.register_response; - debug_mode = other77.debug_mode; - __isset = other77.__isset; -} -InitMessage& InitMessage::operator=(const InitMessage& other78) { +InitMessage::InitMessage(const InitMessage& other78) { register_response = other78.register_response; debug_mode = other78.debug_mode; __isset = other78.__isset; +} +InitMessage& InitMessage::operator=(const InitMessage& other79) { + register_response = other79.register_response; + debug_mode = other79.debug_mode; + __isset = other79.__isset; return *this; } void InitMessage::printTo(std::ostream& out) const { @@ -4533,15 +4586,15 @@ void swap(Dash &a, Dash &b) { swap(a.__isset, b.__isset); } -Dash::Dash(const Dash& other79) noexcept { - power = other79.power; - relative_direction = other79.relative_direction; - __isset = other79.__isset; -} -Dash& Dash::operator=(const Dash& other80) noexcept { +Dash::Dash(const Dash& other80) noexcept { power = other80.power; relative_direction = other80.relative_direction; __isset = other80.__isset; +} +Dash& Dash::operator=(const Dash& other81) noexcept { + power = other81.power; + relative_direction = other81.relative_direction; + __isset = other81.__isset; return *this; } void Dash::printTo(std::ostream& out) const { @@ -4628,13 +4681,13 @@ void swap(Turn &a, Turn &b) { swap(a.__isset, b.__isset); } -Turn::Turn(const Turn& other81) noexcept { - relative_direction = other81.relative_direction; - __isset = other81.__isset; -} -Turn& Turn::operator=(const Turn& other82) noexcept { +Turn::Turn(const Turn& other82) noexcept { relative_direction = other82.relative_direction; __isset = other82.__isset; +} +Turn& Turn::operator=(const Turn& other83) noexcept { + relative_direction = other83.relative_direction; + __isset = other83.__isset; return *this; } void Turn::printTo(std::ostream& out) const { @@ -4737,15 +4790,15 @@ void swap(Kick &a, Kick &b) { swap(a.__isset, b.__isset); } -Kick::Kick(const Kick& other83) noexcept { - power = other83.power; - relative_direction = other83.relative_direction; - __isset = other83.__isset; -} -Kick& Kick::operator=(const Kick& other84) noexcept { +Kick::Kick(const Kick& other84) noexcept { power = other84.power; relative_direction = other84.relative_direction; __isset = other84.__isset; +} +Kick& Kick::operator=(const Kick& other85) noexcept { + power = other85.power; + relative_direction = other85.relative_direction; + __isset = other85.__isset; return *this; } void Kick::printTo(std::ostream& out) const { @@ -4849,15 +4902,15 @@ void swap(Tackle &a, Tackle &b) { swap(a.__isset, b.__isset); } -Tackle::Tackle(const Tackle& other85) noexcept { - power_or_dir = other85.power_or_dir; - foul = other85.foul; - __isset = other85.__isset; -} -Tackle& Tackle::operator=(const Tackle& other86) noexcept { +Tackle::Tackle(const Tackle& other86) noexcept { power_or_dir = other86.power_or_dir; foul = other86.foul; __isset = other86.__isset; +} +Tackle& Tackle::operator=(const Tackle& other87) noexcept { + power_or_dir = other87.power_or_dir; + foul = other87.foul; + __isset = other87.__isset; return *this; } void Tackle::printTo(std::ostream& out) const { @@ -4923,11 +4976,11 @@ void swap(Catch &a, Catch &b) { (void) b; } -Catch::Catch(const Catch& other87) noexcept { - (void) other87; -} -Catch& Catch::operator=(const Catch& other88) noexcept { +Catch::Catch(const Catch& other88) noexcept { (void) other88; +} +Catch& Catch::operator=(const Catch& other89) noexcept { + (void) other89; return *this; } void Catch::printTo(std::ostream& out) const { @@ -5029,15 +5082,15 @@ void swap(Move &a, Move &b) { swap(a.__isset, b.__isset); } -Move::Move(const Move& other89) noexcept { - x = other89.x; - y = other89.y; - __isset = other89.__isset; -} -Move& Move::operator=(const Move& other90) noexcept { +Move::Move(const Move& other90) noexcept { x = other90.x; y = other90.y; __isset = other90.__isset; +} +Move& Move::operator=(const Move& other91) noexcept { + x = other91.x; + y = other91.y; + __isset = other91.__isset; return *this; } void Move::printTo(std::ostream& out) const { @@ -5124,13 +5177,13 @@ void swap(TurnNeck &a, TurnNeck &b) { swap(a.__isset, b.__isset); } -TurnNeck::TurnNeck(const TurnNeck& other91) noexcept { - moment = other91.moment; - __isset = other91.__isset; -} -TurnNeck& TurnNeck::operator=(const TurnNeck& other92) noexcept { +TurnNeck::TurnNeck(const TurnNeck& other92) noexcept { moment = other92.moment; __isset = other92.__isset; +} +TurnNeck& TurnNeck::operator=(const TurnNeck& other93) noexcept { + moment = other93.moment; + __isset = other93.__isset; return *this; } void TurnNeck::printTo(std::ostream& out) const { @@ -5178,9 +5231,9 @@ uint32_t ChangeView::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast93; - xfer += iprot->readI32(ecast93); - this->view_width = static_cast(ecast93); + int32_t ecast94; + xfer += iprot->readI32(ecast94); + this->view_width = static_cast(ecast94); this->__isset.view_width = true; } else { xfer += iprot->skip(ftype); @@ -5218,13 +5271,13 @@ void swap(ChangeView &a, ChangeView &b) { swap(a.__isset, b.__isset); } -ChangeView::ChangeView(const ChangeView& other94) noexcept { - view_width = other94.view_width; - __isset = other94.__isset; -} -ChangeView& ChangeView::operator=(const ChangeView& other95) noexcept { +ChangeView::ChangeView(const ChangeView& other95) noexcept { view_width = other95.view_width; __isset = other95.__isset; +} +ChangeView& ChangeView::operator=(const ChangeView& other96) noexcept { + view_width = other96.view_width; + __isset = other96.__isset; return *this; } void ChangeView::printTo(std::ostream& out) const { @@ -5327,15 +5380,15 @@ void swap(BallMessage &a, BallMessage &b) { swap(a.__isset, b.__isset); } -BallMessage::BallMessage(const BallMessage& other96) noexcept { - ball_position = other96.ball_position; - ball_velocity = other96.ball_velocity; - __isset = other96.__isset; -} -BallMessage& BallMessage::operator=(const BallMessage& other97) noexcept { +BallMessage::BallMessage(const BallMessage& other97) noexcept { ball_position = other97.ball_position; ball_velocity = other97.ball_velocity; __isset = other97.__isset; +} +BallMessage& BallMessage::operator=(const BallMessage& other98) noexcept { + ball_position = other98.ball_position; + ball_velocity = other98.ball_velocity; + __isset = other98.__isset; return *this; } void BallMessage::printTo(std::ostream& out) const { @@ -5473,19 +5526,19 @@ void swap(PassMessage &a, PassMessage &b) { swap(a.__isset, b.__isset); } -PassMessage::PassMessage(const PassMessage& other98) noexcept { - receiver_uniform_number = other98.receiver_uniform_number; - receiver_point = other98.receiver_point; - ball_position = other98.ball_position; - ball_velocity = other98.ball_velocity; - __isset = other98.__isset; -} -PassMessage& PassMessage::operator=(const PassMessage& other99) noexcept { +PassMessage::PassMessage(const PassMessage& other99) noexcept { receiver_uniform_number = other99.receiver_uniform_number; receiver_point = other99.receiver_point; ball_position = other99.ball_position; ball_velocity = other99.ball_velocity; __isset = other99.__isset; +} +PassMessage& PassMessage::operator=(const PassMessage& other100) noexcept { + receiver_uniform_number = other100.receiver_uniform_number; + receiver_point = other100.receiver_point; + ball_position = other100.ball_position; + ball_velocity = other100.ball_velocity; + __isset = other100.__isset; return *this; } void PassMessage::printTo(std::ostream& out) const { @@ -5608,17 +5661,17 @@ void swap(InterceptMessage &a, InterceptMessage &b) { swap(a.__isset, b.__isset); } -InterceptMessage::InterceptMessage(const InterceptMessage& other100) noexcept { - our = other100.our; - uniform_number = other100.uniform_number; - cycle = other100.cycle; - __isset = other100.__isset; -} -InterceptMessage& InterceptMessage::operator=(const InterceptMessage& other101) noexcept { +InterceptMessage::InterceptMessage(const InterceptMessage& other101) noexcept { our = other101.our; uniform_number = other101.uniform_number; cycle = other101.cycle; __isset = other101.__isset; +} +InterceptMessage& InterceptMessage::operator=(const InterceptMessage& other102) noexcept { + our = other102.our; + uniform_number = other102.uniform_number; + cycle = other102.cycle; + __isset = other102.__isset; return *this; } void InterceptMessage::printTo(std::ostream& out) const { @@ -5740,17 +5793,17 @@ void swap(GoalieMessage &a, GoalieMessage &b) { swap(a.__isset, b.__isset); } -GoalieMessage::GoalieMessage(const GoalieMessage& other102) noexcept { - goalie_uniform_number = other102.goalie_uniform_number; - goalie_position = other102.goalie_position; - goalie_body_direction = other102.goalie_body_direction; - __isset = other102.__isset; -} -GoalieMessage& GoalieMessage::operator=(const GoalieMessage& other103) noexcept { +GoalieMessage::GoalieMessage(const GoalieMessage& other103) noexcept { goalie_uniform_number = other103.goalie_uniform_number; goalie_position = other103.goalie_position; goalie_body_direction = other103.goalie_body_direction; __isset = other103.__isset; +} +GoalieMessage& GoalieMessage::operator=(const GoalieMessage& other104) noexcept { + goalie_uniform_number = other104.goalie_uniform_number; + goalie_position = other104.goalie_position; + goalie_body_direction = other104.goalie_body_direction; + __isset = other104.__isset; return *this; } void GoalieMessage::printTo(std::ostream& out) const { @@ -5906,21 +5959,21 @@ void swap(GoalieAndPlayerMessage &a, GoalieAndPlayerMessage &b) { swap(a.__isset, b.__isset); } -GoalieAndPlayerMessage::GoalieAndPlayerMessage(const GoalieAndPlayerMessage& other104) noexcept { - goalie_uniform_number = other104.goalie_uniform_number; - goalie_position = other104.goalie_position; - goalie_body_direction = other104.goalie_body_direction; - player_uniform_number = other104.player_uniform_number; - player_position = other104.player_position; - __isset = other104.__isset; -} -GoalieAndPlayerMessage& GoalieAndPlayerMessage::operator=(const GoalieAndPlayerMessage& other105) noexcept { +GoalieAndPlayerMessage::GoalieAndPlayerMessage(const GoalieAndPlayerMessage& other105) noexcept { goalie_uniform_number = other105.goalie_uniform_number; goalie_position = other105.goalie_position; goalie_body_direction = other105.goalie_body_direction; player_uniform_number = other105.player_uniform_number; player_position = other105.player_position; __isset = other105.__isset; +} +GoalieAndPlayerMessage& GoalieAndPlayerMessage::operator=(const GoalieAndPlayerMessage& other106) noexcept { + goalie_uniform_number = other106.goalie_uniform_number; + goalie_position = other106.goalie_position; + goalie_body_direction = other106.goalie_body_direction; + player_uniform_number = other106.player_uniform_number; + player_position = other106.player_position; + __isset = other106.__isset; return *this; } void GoalieAndPlayerMessage::printTo(std::ostream& out) const { @@ -6010,13 +6063,13 @@ void swap(OffsideLineMessage &a, OffsideLineMessage &b) { swap(a.__isset, b.__isset); } -OffsideLineMessage::OffsideLineMessage(const OffsideLineMessage& other106) noexcept { - offside_line_x = other106.offside_line_x; - __isset = other106.__isset; -} -OffsideLineMessage& OffsideLineMessage::operator=(const OffsideLineMessage& other107) noexcept { +OffsideLineMessage::OffsideLineMessage(const OffsideLineMessage& other107) noexcept { offside_line_x = other107.offside_line_x; __isset = other107.__isset; +} +OffsideLineMessage& OffsideLineMessage::operator=(const OffsideLineMessage& other108) noexcept { + offside_line_x = other108.offside_line_x; + __isset = other108.__isset; return *this; } void OffsideLineMessage::printTo(std::ostream& out) const { @@ -6102,13 +6155,13 @@ void swap(DefenseLineMessage &a, DefenseLineMessage &b) { swap(a.__isset, b.__isset); } -DefenseLineMessage::DefenseLineMessage(const DefenseLineMessage& other108) noexcept { - defense_line_x = other108.defense_line_x; - __isset = other108.__isset; -} -DefenseLineMessage& DefenseLineMessage::operator=(const DefenseLineMessage& other109) noexcept { +DefenseLineMessage::DefenseLineMessage(const DefenseLineMessage& other109) noexcept { defense_line_x = other109.defense_line_x; __isset = other109.__isset; +} +DefenseLineMessage& DefenseLineMessage::operator=(const DefenseLineMessage& other110) noexcept { + defense_line_x = other110.defense_line_x; + __isset = other110.__isset; return *this; } void DefenseLineMessage::printTo(std::ostream& out) const { @@ -6173,11 +6226,11 @@ void swap(WaitRequestMessage &a, WaitRequestMessage &b) { (void) b; } -WaitRequestMessage::WaitRequestMessage(const WaitRequestMessage& other110) noexcept { - (void) other110; -} -WaitRequestMessage& WaitRequestMessage::operator=(const WaitRequestMessage& other111) noexcept { +WaitRequestMessage::WaitRequestMessage(const WaitRequestMessage& other111) noexcept { (void) other111; +} +WaitRequestMessage& WaitRequestMessage::operator=(const WaitRequestMessage& other112) noexcept { + (void) other112; return *this; } void WaitRequestMessage::printTo(std::ostream& out) const { @@ -6262,13 +6315,13 @@ void swap(SetplayMessage &a, SetplayMessage &b) { swap(a.__isset, b.__isset); } -SetplayMessage::SetplayMessage(const SetplayMessage& other112) noexcept { - wait_step = other112.wait_step; - __isset = other112.__isset; -} -SetplayMessage& SetplayMessage::operator=(const SetplayMessage& other113) noexcept { +SetplayMessage::SetplayMessage(const SetplayMessage& other113) noexcept { wait_step = other113.wait_step; __isset = other113.__isset; +} +SetplayMessage& SetplayMessage::operator=(const SetplayMessage& other114) noexcept { + wait_step = other114.wait_step; + __isset = other114.__isset; return *this; } void SetplayMessage::printTo(std::ostream& out) const { @@ -6354,13 +6407,13 @@ void swap(PassRequestMessage &a, PassRequestMessage &b) { swap(a.__isset, b.__isset); } -PassRequestMessage::PassRequestMessage(const PassRequestMessage& other114) noexcept { - target_point = other114.target_point; - __isset = other114.__isset; -} -PassRequestMessage& PassRequestMessage::operator=(const PassRequestMessage& other115) noexcept { +PassRequestMessage::PassRequestMessage(const PassRequestMessage& other115) noexcept { target_point = other115.target_point; __isset = other115.__isset; +} +PassRequestMessage& PassRequestMessage::operator=(const PassRequestMessage& other116) noexcept { + target_point = other116.target_point; + __isset = other116.__isset; return *this; } void PassRequestMessage::printTo(std::ostream& out) const { @@ -6446,13 +6499,13 @@ void swap(StaminaMessage &a, StaminaMessage &b) { swap(a.__isset, b.__isset); } -StaminaMessage::StaminaMessage(const StaminaMessage& other116) noexcept { - stamina = other116.stamina; - __isset = other116.__isset; -} -StaminaMessage& StaminaMessage::operator=(const StaminaMessage& other117) noexcept { +StaminaMessage::StaminaMessage(const StaminaMessage& other117) noexcept { stamina = other117.stamina; __isset = other117.__isset; +} +StaminaMessage& StaminaMessage::operator=(const StaminaMessage& other118) noexcept { + stamina = other118.stamina; + __isset = other118.__isset; return *this; } void StaminaMessage::printTo(std::ostream& out) const { @@ -6538,13 +6591,13 @@ void swap(RecoveryMessage &a, RecoveryMessage &b) { swap(a.__isset, b.__isset); } -RecoveryMessage::RecoveryMessage(const RecoveryMessage& other118) noexcept { - recovery = other118.recovery; - __isset = other118.__isset; -} -RecoveryMessage& RecoveryMessage::operator=(const RecoveryMessage& other119) noexcept { +RecoveryMessage::RecoveryMessage(const RecoveryMessage& other119) noexcept { recovery = other119.recovery; __isset = other119.__isset; +} +RecoveryMessage& RecoveryMessage::operator=(const RecoveryMessage& other120) noexcept { + recovery = other120.recovery; + __isset = other120.__isset; return *this; } void RecoveryMessage::printTo(std::ostream& out) const { @@ -6630,13 +6683,13 @@ void swap(StaminaCapacityMessage &a, StaminaCapacityMessage &b) { swap(a.__isset, b.__isset); } -StaminaCapacityMessage::StaminaCapacityMessage(const StaminaCapacityMessage& other120) noexcept { - stamina_capacity = other120.stamina_capacity; - __isset = other120.__isset; -} -StaminaCapacityMessage& StaminaCapacityMessage::operator=(const StaminaCapacityMessage& other121) noexcept { +StaminaCapacityMessage::StaminaCapacityMessage(const StaminaCapacityMessage& other121) noexcept { stamina_capacity = other121.stamina_capacity; __isset = other121.__isset; +} +StaminaCapacityMessage& StaminaCapacityMessage::operator=(const StaminaCapacityMessage& other122) noexcept { + stamina_capacity = other122.stamina_capacity; + __isset = other122.__isset; return *this; } void StaminaCapacityMessage::printTo(std::ostream& out) const { @@ -6739,15 +6792,15 @@ void swap(DribbleMessage &a, DribbleMessage &b) { swap(a.__isset, b.__isset); } -DribbleMessage::DribbleMessage(const DribbleMessage& other122) noexcept { - target_point = other122.target_point; - queue_count = other122.queue_count; - __isset = other122.__isset; -} -DribbleMessage& DribbleMessage::operator=(const DribbleMessage& other123) noexcept { +DribbleMessage::DribbleMessage(const DribbleMessage& other123) noexcept { target_point = other123.target_point; queue_count = other123.queue_count; __isset = other123.__isset; +} +DribbleMessage& DribbleMessage::operator=(const DribbleMessage& other124) noexcept { + target_point = other124.target_point; + queue_count = other124.queue_count; + __isset = other124.__isset; return *this; } void DribbleMessage::printTo(std::ostream& out) const { @@ -6885,19 +6938,19 @@ void swap(BallGoalieMessage &a, BallGoalieMessage &b) { swap(a.__isset, b.__isset); } -BallGoalieMessage::BallGoalieMessage(const BallGoalieMessage& other124) noexcept { - ball_position = other124.ball_position; - ball_velocity = other124.ball_velocity; - goalie_position = other124.goalie_position; - goalie_body_direction = other124.goalie_body_direction; - __isset = other124.__isset; -} -BallGoalieMessage& BallGoalieMessage::operator=(const BallGoalieMessage& other125) noexcept { +BallGoalieMessage::BallGoalieMessage(const BallGoalieMessage& other125) noexcept { ball_position = other125.ball_position; ball_velocity = other125.ball_velocity; goalie_position = other125.goalie_position; goalie_body_direction = other125.goalie_body_direction; __isset = other125.__isset; +} +BallGoalieMessage& BallGoalieMessage::operator=(const BallGoalieMessage& other126) noexcept { + ball_position = other126.ball_position; + ball_velocity = other126.ball_velocity; + goalie_position = other126.goalie_position; + goalie_body_direction = other126.goalie_body_direction; + __isset = other126.__isset; return *this; } void BallGoalieMessage::printTo(std::ostream& out) const { @@ -7003,15 +7056,15 @@ void swap(OnePlayerMessage &a, OnePlayerMessage &b) { swap(a.__isset, b.__isset); } -OnePlayerMessage::OnePlayerMessage(const OnePlayerMessage& other126) noexcept { - uniform_number = other126.uniform_number; - position = other126.position; - __isset = other126.__isset; -} -OnePlayerMessage& OnePlayerMessage::operator=(const OnePlayerMessage& other127) noexcept { +OnePlayerMessage::OnePlayerMessage(const OnePlayerMessage& other127) noexcept { uniform_number = other127.uniform_number; position = other127.position; __isset = other127.__isset; +} +OnePlayerMessage& OnePlayerMessage::operator=(const OnePlayerMessage& other128) noexcept { + uniform_number = other128.uniform_number; + position = other128.position; + __isset = other128.__isset; return *this; } void OnePlayerMessage::printTo(std::ostream& out) const { @@ -7149,19 +7202,19 @@ void swap(TwoPlayerMessage &a, TwoPlayerMessage &b) { swap(a.__isset, b.__isset); } -TwoPlayerMessage::TwoPlayerMessage(const TwoPlayerMessage& other128) noexcept { - first_uniform_number = other128.first_uniform_number; - first_position = other128.first_position; - second_uniform_number = other128.second_uniform_number; - second_position = other128.second_position; - __isset = other128.__isset; -} -TwoPlayerMessage& TwoPlayerMessage::operator=(const TwoPlayerMessage& other129) noexcept { +TwoPlayerMessage::TwoPlayerMessage(const TwoPlayerMessage& other129) noexcept { first_uniform_number = other129.first_uniform_number; first_position = other129.first_position; second_uniform_number = other129.second_uniform_number; second_position = other129.second_position; __isset = other129.__isset; +} +TwoPlayerMessage& TwoPlayerMessage::operator=(const TwoPlayerMessage& other130) noexcept { + first_uniform_number = other130.first_uniform_number; + first_position = other130.first_position; + second_uniform_number = other130.second_uniform_number; + second_position = other130.second_position; + __isset = other130.__isset; return *this; } void TwoPlayerMessage::printTo(std::ostream& out) const { @@ -7335,16 +7388,7 @@ void swap(ThreePlayerMessage &a, ThreePlayerMessage &b) { swap(a.__isset, b.__isset); } -ThreePlayerMessage::ThreePlayerMessage(const ThreePlayerMessage& other130) noexcept { - first_uniform_number = other130.first_uniform_number; - first_position = other130.first_position; - second_uniform_number = other130.second_uniform_number; - second_position = other130.second_position; - third_uniform_number = other130.third_uniform_number; - third_position = other130.third_position; - __isset = other130.__isset; -} -ThreePlayerMessage& ThreePlayerMessage::operator=(const ThreePlayerMessage& other131) noexcept { +ThreePlayerMessage::ThreePlayerMessage(const ThreePlayerMessage& other131) noexcept { first_uniform_number = other131.first_uniform_number; first_position = other131.first_position; second_uniform_number = other131.second_uniform_number; @@ -7352,6 +7396,15 @@ ThreePlayerMessage& ThreePlayerMessage::operator=(const ThreePlayerMessage& othe third_uniform_number = other131.third_uniform_number; third_position = other131.third_position; __isset = other131.__isset; +} +ThreePlayerMessage& ThreePlayerMessage::operator=(const ThreePlayerMessage& other132) noexcept { + first_uniform_number = other132.first_uniform_number; + first_position = other132.first_position; + second_uniform_number = other132.second_uniform_number; + second_position = other132.second_position; + third_uniform_number = other132.third_uniform_number; + third_position = other132.third_position; + __isset = other132.__isset; return *this; } void ThreePlayerMessage::printTo(std::ostream& out) const { @@ -7476,17 +7529,17 @@ void swap(SelfMessage &a, SelfMessage &b) { swap(a.__isset, b.__isset); } -SelfMessage::SelfMessage(const SelfMessage& other132) noexcept { - self_position = other132.self_position; - self_body_direction = other132.self_body_direction; - self_stamina = other132.self_stamina; - __isset = other132.__isset; -} -SelfMessage& SelfMessage::operator=(const SelfMessage& other133) noexcept { +SelfMessage::SelfMessage(const SelfMessage& other133) noexcept { self_position = other133.self_position; self_body_direction = other133.self_body_direction; self_stamina = other133.self_stamina; __isset = other133.__isset; +} +SelfMessage& SelfMessage::operator=(const SelfMessage& other134) noexcept { + self_position = other134.self_position; + self_body_direction = other134.self_body_direction; + self_stamina = other134.self_stamina; + __isset = other134.__isset; return *this; } void SelfMessage::printTo(std::ostream& out) const { @@ -7608,17 +7661,17 @@ void swap(TeammateMessage &a, TeammateMessage &b) { swap(a.__isset, b.__isset); } -TeammateMessage::TeammateMessage(const TeammateMessage& other134) noexcept { - uniform_number = other134.uniform_number; - position = other134.position; - body_direction = other134.body_direction; - __isset = other134.__isset; -} -TeammateMessage& TeammateMessage::operator=(const TeammateMessage& other135) noexcept { +TeammateMessage::TeammateMessage(const TeammateMessage& other135) noexcept { uniform_number = other135.uniform_number; position = other135.position; body_direction = other135.body_direction; __isset = other135.__isset; +} +TeammateMessage& TeammateMessage::operator=(const TeammateMessage& other136) noexcept { + uniform_number = other136.uniform_number; + position = other136.position; + body_direction = other136.body_direction; + __isset = other136.__isset; return *this; } void TeammateMessage::printTo(std::ostream& out) const { @@ -7740,17 +7793,17 @@ void swap(OpponentMessage &a, OpponentMessage &b) { swap(a.__isset, b.__isset); } -OpponentMessage::OpponentMessage(const OpponentMessage& other136) noexcept { - uniform_number = other136.uniform_number; - position = other136.position; - body_direction = other136.body_direction; - __isset = other136.__isset; -} -OpponentMessage& OpponentMessage::operator=(const OpponentMessage& other137) noexcept { +OpponentMessage::OpponentMessage(const OpponentMessage& other137) noexcept { uniform_number = other137.uniform_number; position = other137.position; body_direction = other137.body_direction; __isset = other137.__isset; +} +OpponentMessage& OpponentMessage::operator=(const OpponentMessage& other138) noexcept { + uniform_number = other138.uniform_number; + position = other138.position; + body_direction = other138.body_direction; + __isset = other138.__isset; return *this; } void OpponentMessage::printTo(std::ostream& out) const { @@ -7906,21 +7959,21 @@ void swap(BallPlayerMessage &a, BallPlayerMessage &b) { swap(a.__isset, b.__isset); } -BallPlayerMessage::BallPlayerMessage(const BallPlayerMessage& other138) noexcept { - ball_position = other138.ball_position; - ball_velocity = other138.ball_velocity; - uniform_number = other138.uniform_number; - player_position = other138.player_position; - body_direction = other138.body_direction; - __isset = other138.__isset; -} -BallPlayerMessage& BallPlayerMessage::operator=(const BallPlayerMessage& other139) noexcept { +BallPlayerMessage::BallPlayerMessage(const BallPlayerMessage& other139) noexcept { ball_position = other139.ball_position; ball_velocity = other139.ball_velocity; uniform_number = other139.uniform_number; player_position = other139.player_position; body_direction = other139.body_direction; __isset = other139.__isset; +} +BallPlayerMessage& BallPlayerMessage::operator=(const BallPlayerMessage& other140) noexcept { + ball_position = other140.ball_position; + ball_velocity = other140.ball_velocity; + uniform_number = other140.uniform_number; + player_position = other140.player_position; + body_direction = other140.body_direction; + __isset = other140.__isset; return *this; } void BallPlayerMessage::printTo(std::ostream& out) const { @@ -8411,32 +8464,7 @@ void swap(Say &a, Say &b) { swap(a.__isset, b.__isset); } -Say::Say(const Say& other140) noexcept { - ball_message = other140.ball_message; - pass_message = other140.pass_message; - intercept_message = other140.intercept_message; - goalie_message = other140.goalie_message; - goalie_and_player_message = other140.goalie_and_player_message; - offside_line_message = other140.offside_line_message; - defense_line_message = other140.defense_line_message; - wait_request_message = other140.wait_request_message; - setplay_message = other140.setplay_message; - pass_request_message = other140.pass_request_message; - stamina_message = other140.stamina_message; - recovery_message = other140.recovery_message; - stamina_capacity_message = other140.stamina_capacity_message; - dribble_message = other140.dribble_message; - ball_goalie_message = other140.ball_goalie_message; - one_player_message = other140.one_player_message; - two_player_message = other140.two_player_message; - three_player_message = other140.three_player_message; - self_message = other140.self_message; - teammate_message = other140.teammate_message; - opponent_message = other140.opponent_message; - ball_player_message = other140.ball_player_message; - __isset = other140.__isset; -} -Say& Say::operator=(const Say& other141) noexcept { +Say::Say(const Say& other141) noexcept { ball_message = other141.ball_message; pass_message = other141.pass_message; intercept_message = other141.intercept_message; @@ -8460,6 +8488,31 @@ Say& Say::operator=(const Say& other141) noexcept { opponent_message = other141.opponent_message; ball_player_message = other141.ball_player_message; __isset = other141.__isset; +} +Say& Say::operator=(const Say& other142) noexcept { + ball_message = other142.ball_message; + pass_message = other142.pass_message; + intercept_message = other142.intercept_message; + goalie_message = other142.goalie_message; + goalie_and_player_message = other142.goalie_and_player_message; + offside_line_message = other142.offside_line_message; + defense_line_message = other142.defense_line_message; + wait_request_message = other142.wait_request_message; + setplay_message = other142.setplay_message; + pass_request_message = other142.pass_request_message; + stamina_message = other142.stamina_message; + recovery_message = other142.recovery_message; + stamina_capacity_message = other142.stamina_capacity_message; + dribble_message = other142.dribble_message; + ball_goalie_message = other142.ball_goalie_message; + one_player_message = other142.one_player_message; + two_player_message = other142.two_player_message; + three_player_message = other142.three_player_message; + self_message = other142.self_message; + teammate_message = other142.teammate_message; + opponent_message = other142.opponent_message; + ball_player_message = other142.ball_player_message; + __isset = other142.__isset; return *this; } void Say::printTo(std::ostream& out) const { @@ -8583,15 +8636,15 @@ void swap(PointTo &a, PointTo &b) { swap(a.__isset, b.__isset); } -PointTo::PointTo(const PointTo& other142) noexcept { - x = other142.x; - y = other142.y; - __isset = other142.__isset; -} -PointTo& PointTo::operator=(const PointTo& other143) noexcept { +PointTo::PointTo(const PointTo& other143) noexcept { x = other143.x; y = other143.y; __isset = other143.__isset; +} +PointTo& PointTo::operator=(const PointTo& other144) noexcept { + x = other144.x; + y = other144.y; + __isset = other144.__isset; return *this; } void PointTo::printTo(std::ostream& out) const { @@ -8657,11 +8710,11 @@ void swap(PointToOf &a, PointToOf &b) { (void) b; } -PointToOf::PointToOf(const PointToOf& other144) noexcept { - (void) other144; -} -PointToOf& PointToOf::operator=(const PointToOf& other145) noexcept { +PointToOf::PointToOf(const PointToOf& other145) noexcept { (void) other145; +} +PointToOf& PointToOf::operator=(const PointToOf& other146) noexcept { + (void) other146; return *this; } void PointToOf::printTo(std::ostream& out) const { @@ -8712,9 +8765,9 @@ uint32_t AttentionTo::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast146; - xfer += iprot->readI32(ecast146); - this->side = static_cast(ecast146); + int32_t ecast147; + xfer += iprot->readI32(ecast147); + this->side = static_cast(ecast147); this->__isset.side = true; } else { xfer += iprot->skip(ftype); @@ -8765,15 +8818,15 @@ void swap(AttentionTo &a, AttentionTo &b) { swap(a.__isset, b.__isset); } -AttentionTo::AttentionTo(const AttentionTo& other147) noexcept { - side = other147.side; - unum = other147.unum; - __isset = other147.__isset; -} -AttentionTo& AttentionTo::operator=(const AttentionTo& other148) noexcept { +AttentionTo::AttentionTo(const AttentionTo& other148) noexcept { side = other148.side; unum = other148.unum; __isset = other148.__isset; +} +AttentionTo& AttentionTo::operator=(const AttentionTo& other149) noexcept { + side = other149.side; + unum = other149.unum; + __isset = other149.__isset; return *this; } void AttentionTo::printTo(std::ostream& out) const { @@ -8839,11 +8892,11 @@ void swap(AttentionToOf &a, AttentionToOf &b) { (void) b; } -AttentionToOf::AttentionToOf(const AttentionToOf& other149) noexcept { - (void) other149; -} -AttentionToOf& AttentionToOf::operator=(const AttentionToOf& other150) noexcept { +AttentionToOf::AttentionToOf(const AttentionToOf& other150) noexcept { (void) other150; +} +AttentionToOf& AttentionToOf::operator=(const AttentionToOf& other151) noexcept { + (void) other151; return *this; } void AttentionToOf::printTo(std::ostream& out) const { @@ -8894,9 +8947,9 @@ uint32_t AddText::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast151; - xfer += iprot->readI32(ecast151); - this->level = static_cast(ecast151); + int32_t ecast152; + xfer += iprot->readI32(ecast152); + this->level = static_cast(ecast152); this->__isset.level = true; } else { xfer += iprot->skip(ftype); @@ -8947,15 +9000,15 @@ void swap(AddText &a, AddText &b) { swap(a.__isset, b.__isset); } -AddText::AddText(const AddText& other152) { - level = other152.level; - message = other152.message; - __isset = other152.__isset; -} -AddText& AddText::operator=(const AddText& other153) { +AddText::AddText(const AddText& other153) { level = other153.level; message = other153.message; __isset = other153.__isset; +} +AddText& AddText::operator=(const AddText& other154) { + level = other154.level; + message = other154.message; + __isset = other154.__isset; return *this; } void AddText::printTo(std::ostream& out) const { @@ -9012,9 +9065,9 @@ uint32_t AddPoint::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast154; - xfer += iprot->readI32(ecast154); - this->level = static_cast(ecast154); + int32_t ecast155; + xfer += iprot->readI32(ecast155); + this->level = static_cast(ecast155); this->__isset.level = true; } else { xfer += iprot->skip(ftype); @@ -9078,17 +9131,17 @@ void swap(AddPoint &a, AddPoint &b) { swap(a.__isset, b.__isset); } -AddPoint::AddPoint(const AddPoint& other155) { - level = other155.level; - point = other155.point; - color = other155.color; - __isset = other155.__isset; -} -AddPoint& AddPoint::operator=(const AddPoint& other156) { +AddPoint::AddPoint(const AddPoint& other156) { level = other156.level; point = other156.point; color = other156.color; __isset = other156.__isset; +} +AddPoint& AddPoint::operator=(const AddPoint& other157) { + level = other157.level; + point = other157.point; + color = other157.color; + __isset = other157.__isset; return *this; } void AddPoint::printTo(std::ostream& out) const { @@ -9150,9 +9203,9 @@ uint32_t AddLine::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast157; - xfer += iprot->readI32(ecast157); - this->level = static_cast(ecast157); + int32_t ecast158; + xfer += iprot->readI32(ecast158); + this->level = static_cast(ecast158); this->__isset.level = true; } else { xfer += iprot->skip(ftype); @@ -9229,19 +9282,19 @@ void swap(AddLine &a, AddLine &b) { swap(a.__isset, b.__isset); } -AddLine::AddLine(const AddLine& other158) { - level = other158.level; - start_point = other158.start_point; - end_point = other158.end_point; - color = other158.color; - __isset = other158.__isset; -} -AddLine& AddLine::operator=(const AddLine& other159) { +AddLine::AddLine(const AddLine& other159) { level = other159.level; start_point = other159.start_point; end_point = other159.end_point; color = other159.color; __isset = other159.__isset; +} +AddLine& AddLine::operator=(const AddLine& other160) { + level = other160.level; + start_point = other160.start_point; + end_point = other160.end_point; + color = other160.color; + __isset = other160.__isset; return *this; } void AddLine::printTo(std::ostream& out) const { @@ -9312,9 +9365,9 @@ uint32_t AddArc::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast160; - xfer += iprot->readI32(ecast160); - this->level = static_cast(ecast160); + int32_t ecast161; + xfer += iprot->readI32(ecast161); + this->level = static_cast(ecast161); this->__isset.level = true; } else { xfer += iprot->skip(ftype); @@ -9417,16 +9470,7 @@ void swap(AddArc &a, AddArc &b) { swap(a.__isset, b.__isset); } -AddArc::AddArc(const AddArc& other161) { - level = other161.level; - center = other161.center; - radius = other161.radius; - start_angle = other161.start_angle; - span_angel = other161.span_angel; - color = other161.color; - __isset = other161.__isset; -} -AddArc& AddArc::operator=(const AddArc& other162) { +AddArc::AddArc(const AddArc& other162) { level = other162.level; center = other162.center; radius = other162.radius; @@ -9434,6 +9478,15 @@ AddArc& AddArc::operator=(const AddArc& other162) { span_angel = other162.span_angel; color = other162.color; __isset = other162.__isset; +} +AddArc& AddArc::operator=(const AddArc& other163) { + level = other163.level; + center = other163.center; + radius = other163.radius; + start_angle = other163.start_angle; + span_angel = other163.span_angel; + color = other163.color; + __isset = other163.__isset; return *this; } void AddArc::printTo(std::ostream& out) const { @@ -9502,9 +9555,9 @@ uint32_t AddCircle::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast163; - xfer += iprot->readI32(ecast163); - this->level = static_cast(ecast163); + int32_t ecast164; + xfer += iprot->readI32(ecast164); + this->level = static_cast(ecast164); this->__isset.level = true; } else { xfer += iprot->skip(ftype); @@ -9594,21 +9647,21 @@ void swap(AddCircle &a, AddCircle &b) { swap(a.__isset, b.__isset); } -AddCircle::AddCircle(const AddCircle& other164) { - level = other164.level; - center = other164.center; - radius = other164.radius; - color = other164.color; - fill = other164.fill; - __isset = other164.__isset; -} -AddCircle& AddCircle::operator=(const AddCircle& other165) { +AddCircle::AddCircle(const AddCircle& other165) { level = other165.level; center = other165.center; radius = other165.radius; color = other165.color; fill = other165.fill; __isset = other165.__isset; +} +AddCircle& AddCircle::operator=(const AddCircle& other166) { + level = other166.level; + center = other166.center; + radius = other166.radius; + color = other166.color; + fill = other166.fill; + __isset = other166.__isset; return *this; } void AddCircle::printTo(std::ostream& out) const { @@ -9680,9 +9733,9 @@ uint32_t AddTriangle::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast166; - xfer += iprot->readI32(ecast166); - this->level = static_cast(ecast166); + int32_t ecast167; + xfer += iprot->readI32(ecast167); + this->level = static_cast(ecast167); this->__isset.level = true; } else { xfer += iprot->skip(ftype); @@ -9785,16 +9838,7 @@ void swap(AddTriangle &a, AddTriangle &b) { swap(a.__isset, b.__isset); } -AddTriangle::AddTriangle(const AddTriangle& other167) { - level = other167.level; - point1 = other167.point1; - point2 = other167.point2; - point3 = other167.point3; - color = other167.color; - fill = other167.fill; - __isset = other167.__isset; -} -AddTriangle& AddTriangle::operator=(const AddTriangle& other168) { +AddTriangle::AddTriangle(const AddTriangle& other168) { level = other168.level; point1 = other168.point1; point2 = other168.point2; @@ -9802,6 +9846,15 @@ AddTriangle& AddTriangle::operator=(const AddTriangle& other168) { color = other168.color; fill = other168.fill; __isset = other168.__isset; +} +AddTriangle& AddTriangle::operator=(const AddTriangle& other169) { + level = other169.level; + point1 = other169.point1; + point2 = other169.point2; + point3 = other169.point3; + color = other169.color; + fill = other169.fill; + __isset = other169.__isset; return *this; } void AddTriangle::printTo(std::ostream& out) const { @@ -9878,9 +9931,9 @@ uint32_t AddRectangle::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast169; - xfer += iprot->readI32(ecast169); - this->level = static_cast(ecast169); + int32_t ecast170; + xfer += iprot->readI32(ecast170); + this->level = static_cast(ecast170); this->__isset.level = true; } else { xfer += iprot->skip(ftype); @@ -9996,17 +10049,7 @@ void swap(AddRectangle &a, AddRectangle &b) { swap(a.__isset, b.__isset); } -AddRectangle::AddRectangle(const AddRectangle& other170) { - level = other170.level; - left = other170.left; - top = other170.top; - length = other170.length; - width = other170.width; - color = other170.color; - fill = other170.fill; - __isset = other170.__isset; -} -AddRectangle& AddRectangle::operator=(const AddRectangle& other171) { +AddRectangle::AddRectangle(const AddRectangle& other171) { level = other171.level; left = other171.left; top = other171.top; @@ -10015,6 +10058,16 @@ AddRectangle& AddRectangle::operator=(const AddRectangle& other171) { color = other171.color; fill = other171.fill; __isset = other171.__isset; +} +AddRectangle& AddRectangle::operator=(const AddRectangle& other172) { + level = other172.level; + left = other172.left; + top = other172.top; + length = other172.length; + width = other172.width; + color = other172.color; + fill = other172.fill; + __isset = other172.__isset; return *this; } void AddRectangle::printTo(std::ostream& out) const { @@ -10096,9 +10149,9 @@ uint32_t AddSector::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast172; - xfer += iprot->readI32(ecast172); - this->level = static_cast(ecast172); + int32_t ecast173; + xfer += iprot->readI32(ecast173); + this->level = static_cast(ecast173); this->__isset.level = true; } else { xfer += iprot->skip(ftype); @@ -10227,18 +10280,7 @@ void swap(AddSector &a, AddSector &b) { swap(a.__isset, b.__isset); } -AddSector::AddSector(const AddSector& other173) { - level = other173.level; - center = other173.center; - min_radius = other173.min_radius; - max_radius = other173.max_radius; - start_angle = other173.start_angle; - span_angel = other173.span_angel; - color = other173.color; - fill = other173.fill; - __isset = other173.__isset; -} -AddSector& AddSector::operator=(const AddSector& other174) { +AddSector::AddSector(const AddSector& other174) { level = other174.level; center = other174.center; min_radius = other174.min_radius; @@ -10248,6 +10290,17 @@ AddSector& AddSector::operator=(const AddSector& other174) { color = other174.color; fill = other174.fill; __isset = other174.__isset; +} +AddSector& AddSector::operator=(const AddSector& other175) { + level = other175.level; + center = other175.center; + min_radius = other175.min_radius; + max_radius = other175.max_radius; + start_angle = other175.start_angle; + span_angel = other175.span_angel; + color = other175.color; + fill = other175.fill; + __isset = other175.__isset; return *this; } void AddSector::printTo(std::ostream& out) const { @@ -10314,9 +10367,9 @@ uint32_t AddMessage::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast175; - xfer += iprot->readI32(ecast175); - this->level = static_cast(ecast175); + int32_t ecast176; + xfer += iprot->readI32(ecast176); + this->level = static_cast(ecast176); this->__isset.level = true; } else { xfer += iprot->skip(ftype); @@ -10393,19 +10446,19 @@ void swap(AddMessage &a, AddMessage &b) { swap(a.__isset, b.__isset); } -AddMessage::AddMessage(const AddMessage& other176) { - level = other176.level; - position = other176.position; - message = other176.message; - color = other176.color; - __isset = other176.__isset; -} -AddMessage& AddMessage::operator=(const AddMessage& other177) { +AddMessage::AddMessage(const AddMessage& other177) { level = other177.level; position = other177.position; message = other177.message; color = other177.color; __isset = other177.__isset; +} +AddMessage& AddMessage::operator=(const AddMessage& other178) { + level = other178.level; + position = other178.position; + message = other178.message; + color = other178.color; + __isset = other178.__isset; return *this; } void AddMessage::printTo(std::ostream& out) const { @@ -10648,19 +10701,7 @@ void swap(Log &a, Log &b) { swap(a.__isset, b.__isset); } -Log::Log(const Log& other178) { - add_text = other178.add_text; - add_point = other178.add_point; - add_line = other178.add_line; - add_arc = other178.add_arc; - add_circle = other178.add_circle; - add_triangle = other178.add_triangle; - add_rectangle = other178.add_rectangle; - add_sector = other178.add_sector; - add_message = other178.add_message; - __isset = other178.__isset; -} -Log& Log::operator=(const Log& other179) { +Log::Log(const Log& other179) { add_text = other179.add_text; add_point = other179.add_point; add_line = other179.add_line; @@ -10671,6 +10712,18 @@ Log& Log::operator=(const Log& other179) { add_sector = other179.add_sector; add_message = other179.add_message; __isset = other179.__isset; +} +Log& Log::operator=(const Log& other180) { + add_text = other180.add_text; + add_point = other180.add_point; + add_line = other180.add_line; + add_arc = other180.add_arc; + add_circle = other180.add_circle; + add_triangle = other180.add_triangle; + add_rectangle = other180.add_rectangle; + add_sector = other180.add_sector; + add_message = other180.add_message; + __isset = other180.__isset; return *this; } void Log::printTo(std::ostream& out) const { @@ -10764,13 +10817,13 @@ void swap(DebugClient &a, DebugClient &b) { swap(a.__isset, b.__isset); } -DebugClient::DebugClient(const DebugClient& other180) { - message = other180.message; - __isset = other180.__isset; -} -DebugClient& DebugClient::operator=(const DebugClient& other181) { +DebugClient::DebugClient(const DebugClient& other181) { message = other181.message; __isset = other181.__isset; +} +DebugClient& DebugClient::operator=(const DebugClient& other182) { + message = other182.message; + __isset = other182.__isset; return *this; } void DebugClient::printTo(std::ostream& out) const { @@ -10890,17 +10943,17 @@ void swap(Body_GoToPoint &a, Body_GoToPoint &b) { swap(a.__isset, b.__isset); } -Body_GoToPoint::Body_GoToPoint(const Body_GoToPoint& other182) noexcept { - target_point = other182.target_point; - distance_threshold = other182.distance_threshold; - max_dash_power = other182.max_dash_power; - __isset = other182.__isset; -} -Body_GoToPoint& Body_GoToPoint::operator=(const Body_GoToPoint& other183) noexcept { +Body_GoToPoint::Body_GoToPoint(const Body_GoToPoint& other183) noexcept { target_point = other183.target_point; distance_threshold = other183.distance_threshold; max_dash_power = other183.max_dash_power; __isset = other183.__isset; +} +Body_GoToPoint& Body_GoToPoint::operator=(const Body_GoToPoint& other184) noexcept { + target_point = other184.target_point; + distance_threshold = other184.distance_threshold; + max_dash_power = other184.max_dash_power; + __isset = other184.__isset; return *this; } void Body_GoToPoint::printTo(std::ostream& out) const { @@ -11039,19 +11092,19 @@ void swap(Body_SmartKick &a, Body_SmartKick &b) { swap(a.__isset, b.__isset); } -Body_SmartKick::Body_SmartKick(const Body_SmartKick& other184) noexcept { - target_point = other184.target_point; - first_speed = other184.first_speed; - first_speed_threshold = other184.first_speed_threshold; - max_steps = other184.max_steps; - __isset = other184.__isset; -} -Body_SmartKick& Body_SmartKick::operator=(const Body_SmartKick& other185) noexcept { +Body_SmartKick::Body_SmartKick(const Body_SmartKick& other185) noexcept { target_point = other185.target_point; first_speed = other185.first_speed; first_speed_threshold = other185.first_speed_threshold; max_steps = other185.max_steps; __isset = other185.__isset; +} +Body_SmartKick& Body_SmartKick::operator=(const Body_SmartKick& other186) noexcept { + target_point = other186.target_point; + first_speed = other186.first_speed; + first_speed_threshold = other186.first_speed_threshold; + max_steps = other186.max_steps; + __isset = other186.__isset; return *this; } void Body_SmartKick::printTo(std::ostream& out) const { @@ -11140,13 +11193,13 @@ void swap(Bhv_BeforeKickOff &a, Bhv_BeforeKickOff &b) { swap(a.__isset, b.__isset); } -Bhv_BeforeKickOff::Bhv_BeforeKickOff(const Bhv_BeforeKickOff& other186) noexcept { - point = other186.point; - __isset = other186.__isset; -} -Bhv_BeforeKickOff& Bhv_BeforeKickOff::operator=(const Bhv_BeforeKickOff& other187) noexcept { +Bhv_BeforeKickOff::Bhv_BeforeKickOff(const Bhv_BeforeKickOff& other187) noexcept { point = other187.point; __isset = other187.__isset; +} +Bhv_BeforeKickOff& Bhv_BeforeKickOff::operator=(const Bhv_BeforeKickOff& other188) noexcept { + point = other188.point; + __isset = other188.__isset; return *this; } void Bhv_BeforeKickOff::printTo(std::ostream& out) const { @@ -11211,11 +11264,11 @@ void swap(Bhv_BodyNeckToBall &a, Bhv_BodyNeckToBall &b) { (void) b; } -Bhv_BodyNeckToBall::Bhv_BodyNeckToBall(const Bhv_BodyNeckToBall& other188) noexcept { - (void) other188; -} -Bhv_BodyNeckToBall& Bhv_BodyNeckToBall::operator=(const Bhv_BodyNeckToBall& other189) noexcept { +Bhv_BodyNeckToBall::Bhv_BodyNeckToBall(const Bhv_BodyNeckToBall& other189) noexcept { (void) other189; +} +Bhv_BodyNeckToBall& Bhv_BodyNeckToBall::operator=(const Bhv_BodyNeckToBall& other190) noexcept { + (void) other190; return *this; } void Bhv_BodyNeckToBall::printTo(std::ostream& out) const { @@ -11300,13 +11353,13 @@ void swap(Bhv_BodyNeckToPoint &a, Bhv_BodyNeckToPoint &b) { swap(a.__isset, b.__isset); } -Bhv_BodyNeckToPoint::Bhv_BodyNeckToPoint(const Bhv_BodyNeckToPoint& other190) noexcept { - point = other190.point; - __isset = other190.__isset; -} -Bhv_BodyNeckToPoint& Bhv_BodyNeckToPoint::operator=(const Bhv_BodyNeckToPoint& other191) noexcept { +Bhv_BodyNeckToPoint::Bhv_BodyNeckToPoint(const Bhv_BodyNeckToPoint& other191) noexcept { point = other191.point; __isset = other191.__isset; +} +Bhv_BodyNeckToPoint& Bhv_BodyNeckToPoint::operator=(const Bhv_BodyNeckToPoint& other192) noexcept { + point = other192.point; + __isset = other192.__isset; return *this; } void Bhv_BodyNeckToPoint::printTo(std::ostream& out) const { @@ -11371,11 +11424,11 @@ void swap(Bhv_Emergency &a, Bhv_Emergency &b) { (void) b; } -Bhv_Emergency::Bhv_Emergency(const Bhv_Emergency& other192) noexcept { - (void) other192; -} -Bhv_Emergency& Bhv_Emergency::operator=(const Bhv_Emergency& other193) noexcept { +Bhv_Emergency::Bhv_Emergency(const Bhv_Emergency& other193) noexcept { (void) other193; +} +Bhv_Emergency& Bhv_Emergency::operator=(const Bhv_Emergency& other194) noexcept { + (void) other194; return *this; } void Bhv_Emergency::printTo(std::ostream& out) const { @@ -11494,17 +11547,17 @@ void swap(Bhv_GoToPointLookBall &a, Bhv_GoToPointLookBall &b) { swap(a.__isset, b.__isset); } -Bhv_GoToPointLookBall::Bhv_GoToPointLookBall(const Bhv_GoToPointLookBall& other194) noexcept { - target_point = other194.target_point; - distance_threshold = other194.distance_threshold; - max_dash_power = other194.max_dash_power; - __isset = other194.__isset; -} -Bhv_GoToPointLookBall& Bhv_GoToPointLookBall::operator=(const Bhv_GoToPointLookBall& other195) noexcept { +Bhv_GoToPointLookBall::Bhv_GoToPointLookBall(const Bhv_GoToPointLookBall& other195) noexcept { target_point = other195.target_point; distance_threshold = other195.distance_threshold; max_dash_power = other195.max_dash_power; __isset = other195.__isset; +} +Bhv_GoToPointLookBall& Bhv_GoToPointLookBall::operator=(const Bhv_GoToPointLookBall& other196) noexcept { + target_point = other196.target_point; + distance_threshold = other196.distance_threshold; + max_dash_power = other196.max_dash_power; + __isset = other196.__isset; return *this; } void Bhv_GoToPointLookBall::printTo(std::ostream& out) const { @@ -11592,13 +11645,13 @@ void swap(Bhv_NeckBodyToBall &a, Bhv_NeckBodyToBall &b) { swap(a.__isset, b.__isset); } -Bhv_NeckBodyToBall::Bhv_NeckBodyToBall(const Bhv_NeckBodyToBall& other196) noexcept { - angle_buf = other196.angle_buf; - __isset = other196.__isset; -} -Bhv_NeckBodyToBall& Bhv_NeckBodyToBall::operator=(const Bhv_NeckBodyToBall& other197) noexcept { +Bhv_NeckBodyToBall::Bhv_NeckBodyToBall(const Bhv_NeckBodyToBall& other197) noexcept { angle_buf = other197.angle_buf; __isset = other197.__isset; +} +Bhv_NeckBodyToBall& Bhv_NeckBodyToBall::operator=(const Bhv_NeckBodyToBall& other198) noexcept { + angle_buf = other198.angle_buf; + __isset = other198.__isset; return *this; } void Bhv_NeckBodyToBall::printTo(std::ostream& out) const { @@ -11701,15 +11754,15 @@ void swap(Bhv_NeckBodyToPoint &a, Bhv_NeckBodyToPoint &b) { swap(a.__isset, b.__isset); } -Bhv_NeckBodyToPoint::Bhv_NeckBodyToPoint(const Bhv_NeckBodyToPoint& other198) noexcept { - point = other198.point; - angle_buf = other198.angle_buf; - __isset = other198.__isset; -} -Bhv_NeckBodyToPoint& Bhv_NeckBodyToPoint::operator=(const Bhv_NeckBodyToPoint& other199) noexcept { +Bhv_NeckBodyToPoint::Bhv_NeckBodyToPoint(const Bhv_NeckBodyToPoint& other199) noexcept { point = other199.point; angle_buf = other199.angle_buf; __isset = other199.__isset; +} +Bhv_NeckBodyToPoint& Bhv_NeckBodyToPoint::operator=(const Bhv_NeckBodyToPoint& other200) noexcept { + point = other200.point; + angle_buf = other200.angle_buf; + __isset = other200.__isset; return *this; } void Bhv_NeckBodyToPoint::printTo(std::ostream& out) const { @@ -11775,11 +11828,11 @@ void swap(Bhv_ScanField &a, Bhv_ScanField &b) { (void) b; } -Bhv_ScanField::Bhv_ScanField(const Bhv_ScanField& other200) noexcept { - (void) other200; -} -Bhv_ScanField& Bhv_ScanField::operator=(const Bhv_ScanField& other201) noexcept { +Bhv_ScanField::Bhv_ScanField(const Bhv_ScanField& other201) noexcept { (void) other201; +} +Bhv_ScanField& Bhv_ScanField::operator=(const Bhv_ScanField& other202) noexcept { + (void) other202; return *this; } void Bhv_ScanField::printTo(std::ostream& out) const { @@ -11843,11 +11896,11 @@ void swap(Body_AdvanceBall &a, Body_AdvanceBall &b) { (void) b; } -Body_AdvanceBall::Body_AdvanceBall(const Body_AdvanceBall& other202) noexcept { - (void) other202; -} -Body_AdvanceBall& Body_AdvanceBall::operator=(const Body_AdvanceBall& other203) noexcept { +Body_AdvanceBall::Body_AdvanceBall(const Body_AdvanceBall& other203) noexcept { (void) other203; +} +Body_AdvanceBall& Body_AdvanceBall::operator=(const Body_AdvanceBall& other204) noexcept { + (void) other204; return *this; } void Body_AdvanceBall::printTo(std::ostream& out) const { @@ -11911,11 +11964,11 @@ void swap(Body_ClearBall &a, Body_ClearBall &b) { (void) b; } -Body_ClearBall::Body_ClearBall(const Body_ClearBall& other204) noexcept { - (void) other204; -} -Body_ClearBall& Body_ClearBall::operator=(const Body_ClearBall& other205) noexcept { +Body_ClearBall::Body_ClearBall(const Body_ClearBall& other205) noexcept { (void) other205; +} +Body_ClearBall& Body_ClearBall::operator=(const Body_ClearBall& other206) noexcept { + (void) other206; return *this; } void Body_ClearBall::printTo(std::ostream& out) const { @@ -12068,21 +12121,21 @@ void swap(Body_Dribble &a, Body_Dribble &b) { swap(a.__isset, b.__isset); } -Body_Dribble::Body_Dribble(const Body_Dribble& other206) noexcept { - target_point = other206.target_point; - distance_threshold = other206.distance_threshold; - dash_power = other206.dash_power; - dash_count = other206.dash_count; - dodge = other206.dodge; - __isset = other206.__isset; -} -Body_Dribble& Body_Dribble::operator=(const Body_Dribble& other207) noexcept { +Body_Dribble::Body_Dribble(const Body_Dribble& other207) noexcept { target_point = other207.target_point; distance_threshold = other207.distance_threshold; dash_power = other207.dash_power; dash_count = other207.dash_count; dodge = other207.dodge; __isset = other207.__isset; +} +Body_Dribble& Body_Dribble::operator=(const Body_Dribble& other208) noexcept { + target_point = other208.target_point; + distance_threshold = other208.distance_threshold; + dash_power = other208.dash_power; + dash_count = other208.dash_count; + dodge = other208.dodge; + __isset = other208.__isset; return *this; } void Body_Dribble::printTo(std::ostream& out) const { @@ -12189,15 +12242,15 @@ void swap(Body_GoToPointDodge &a, Body_GoToPointDodge &b) { swap(a.__isset, b.__isset); } -Body_GoToPointDodge::Body_GoToPointDodge(const Body_GoToPointDodge& other208) noexcept { - target_point = other208.target_point; - dash_power = other208.dash_power; - __isset = other208.__isset; -} -Body_GoToPointDodge& Body_GoToPointDodge::operator=(const Body_GoToPointDodge& other209) noexcept { +Body_GoToPointDodge::Body_GoToPointDodge(const Body_GoToPointDodge& other209) noexcept { target_point = other209.target_point; dash_power = other209.dash_power; __isset = other209.__isset; +} +Body_GoToPointDodge& Body_GoToPointDodge::operator=(const Body_GoToPointDodge& other210) noexcept { + target_point = other210.target_point; + dash_power = other210.dash_power; + __isset = other210.__isset; return *this; } void Body_GoToPointDodge::printTo(std::ostream& out) const { @@ -12318,17 +12371,17 @@ void swap(Body_HoldBall &a, Body_HoldBall &b) { swap(a.__isset, b.__isset); } -Body_HoldBall::Body_HoldBall(const Body_HoldBall& other210) noexcept { - do_turn = other210.do_turn; - turn_target_point = other210.turn_target_point; - kick_target_point = other210.kick_target_point; - __isset = other210.__isset; -} -Body_HoldBall& Body_HoldBall::operator=(const Body_HoldBall& other211) noexcept { +Body_HoldBall::Body_HoldBall(const Body_HoldBall& other211) noexcept { do_turn = other211.do_turn; turn_target_point = other211.turn_target_point; kick_target_point = other211.kick_target_point; __isset = other211.__isset; +} +Body_HoldBall& Body_HoldBall::operator=(const Body_HoldBall& other212) noexcept { + do_turn = other212.do_turn; + turn_target_point = other212.turn_target_point; + kick_target_point = other212.kick_target_point; + __isset = other212.__isset; return *this; } void Body_HoldBall::printTo(std::ostream& out) const { @@ -12433,15 +12486,15 @@ void swap(Body_Intercept &a, Body_Intercept &b) { swap(a.__isset, b.__isset); } -Body_Intercept::Body_Intercept(const Body_Intercept& other212) noexcept { - save_recovery = other212.save_recovery; - face_point = other212.face_point; - __isset = other212.__isset; -} -Body_Intercept& Body_Intercept::operator=(const Body_Intercept& other213) noexcept { +Body_Intercept::Body_Intercept(const Body_Intercept& other213) noexcept { save_recovery = other213.save_recovery; face_point = other213.face_point; __isset = other213.__isset; +} +Body_Intercept& Body_Intercept::operator=(const Body_Intercept& other214) noexcept { + save_recovery = other214.save_recovery; + face_point = other214.face_point; + __isset = other214.__isset; return *this; } void Body_Intercept::printTo(std::ostream& out) const { @@ -12562,17 +12615,17 @@ void swap(Body_KickOneStep &a, Body_KickOneStep &b) { swap(a.__isset, b.__isset); } -Body_KickOneStep::Body_KickOneStep(const Body_KickOneStep& other214) noexcept { - target_point = other214.target_point; - first_speed = other214.first_speed; - force_mode = other214.force_mode; - __isset = other214.__isset; -} -Body_KickOneStep& Body_KickOneStep::operator=(const Body_KickOneStep& other215) noexcept { +Body_KickOneStep::Body_KickOneStep(const Body_KickOneStep& other215) noexcept { target_point = other215.target_point; first_speed = other215.first_speed; force_mode = other215.force_mode; __isset = other215.__isset; +} +Body_KickOneStep& Body_KickOneStep::operator=(const Body_KickOneStep& other216) noexcept { + target_point = other216.target_point; + first_speed = other216.first_speed; + force_mode = other216.force_mode; + __isset = other216.__isset; return *this; } void Body_KickOneStep::printTo(std::ostream& out) const { @@ -12639,11 +12692,11 @@ void swap(Body_StopBall &a, Body_StopBall &b) { (void) b; } -Body_StopBall::Body_StopBall(const Body_StopBall& other216) noexcept { - (void) other216; -} -Body_StopBall& Body_StopBall::operator=(const Body_StopBall& other217) noexcept { +Body_StopBall::Body_StopBall(const Body_StopBall& other217) noexcept { (void) other217; +} +Body_StopBall& Body_StopBall::operator=(const Body_StopBall& other218) noexcept { + (void) other218; return *this; } void Body_StopBall::printTo(std::ostream& out) const { @@ -12728,13 +12781,13 @@ void swap(Body_StopDash &a, Body_StopDash &b) { swap(a.__isset, b.__isset); } -Body_StopDash::Body_StopDash(const Body_StopDash& other218) noexcept { - save_recovery = other218.save_recovery; - __isset = other218.__isset; -} -Body_StopDash& Body_StopDash::operator=(const Body_StopDash& other219) noexcept { +Body_StopDash::Body_StopDash(const Body_StopDash& other219) noexcept { save_recovery = other219.save_recovery; __isset = other219.__isset; +} +Body_StopDash& Body_StopDash::operator=(const Body_StopDash& other220) noexcept { + save_recovery = other220.save_recovery; + __isset = other220.__isset; return *this; } void Body_StopDash::printTo(std::ostream& out) const { @@ -12854,17 +12907,17 @@ void swap(Body_TackleToPoint &a, Body_TackleToPoint &b) { swap(a.__isset, b.__isset); } -Body_TackleToPoint::Body_TackleToPoint(const Body_TackleToPoint& other220) noexcept { - target_point = other220.target_point; - min_probability = other220.min_probability; - min_speed = other220.min_speed; - __isset = other220.__isset; -} -Body_TackleToPoint& Body_TackleToPoint::operator=(const Body_TackleToPoint& other221) noexcept { +Body_TackleToPoint::Body_TackleToPoint(const Body_TackleToPoint& other221) noexcept { target_point = other221.target_point; min_probability = other221.min_probability; min_speed = other221.min_speed; __isset = other221.__isset; +} +Body_TackleToPoint& Body_TackleToPoint::operator=(const Body_TackleToPoint& other222) noexcept { + target_point = other222.target_point; + min_probability = other222.min_probability; + min_speed = other222.min_speed; + __isset = other222.__isset; return *this; } void Body_TackleToPoint::printTo(std::ostream& out) const { @@ -12952,13 +13005,13 @@ void swap(Body_TurnToAngle &a, Body_TurnToAngle &b) { swap(a.__isset, b.__isset); } -Body_TurnToAngle::Body_TurnToAngle(const Body_TurnToAngle& other222) noexcept { - angle = other222.angle; - __isset = other222.__isset; -} -Body_TurnToAngle& Body_TurnToAngle::operator=(const Body_TurnToAngle& other223) noexcept { +Body_TurnToAngle::Body_TurnToAngle(const Body_TurnToAngle& other223) noexcept { angle = other223.angle; __isset = other223.__isset; +} +Body_TurnToAngle& Body_TurnToAngle::operator=(const Body_TurnToAngle& other224) noexcept { + angle = other224.angle; + __isset = other224.__isset; return *this; } void Body_TurnToAngle::printTo(std::ostream& out) const { @@ -13044,13 +13097,13 @@ void swap(Body_TurnToBall &a, Body_TurnToBall &b) { swap(a.__isset, b.__isset); } -Body_TurnToBall::Body_TurnToBall(const Body_TurnToBall& other224) noexcept { - cycle = other224.cycle; - __isset = other224.__isset; -} -Body_TurnToBall& Body_TurnToBall::operator=(const Body_TurnToBall& other225) noexcept { +Body_TurnToBall::Body_TurnToBall(const Body_TurnToBall& other225) noexcept { cycle = other225.cycle; __isset = other225.__isset; +} +Body_TurnToBall& Body_TurnToBall::operator=(const Body_TurnToBall& other226) noexcept { + cycle = other226.cycle; + __isset = other226.__isset; return *this; } void Body_TurnToBall::printTo(std::ostream& out) const { @@ -13153,15 +13206,15 @@ void swap(Body_TurnToPoint &a, Body_TurnToPoint &b) { swap(a.__isset, b.__isset); } -Body_TurnToPoint::Body_TurnToPoint(const Body_TurnToPoint& other226) noexcept { - target_point = other226.target_point; - cycle = other226.cycle; - __isset = other226.__isset; -} -Body_TurnToPoint& Body_TurnToPoint::operator=(const Body_TurnToPoint& other227) noexcept { +Body_TurnToPoint::Body_TurnToPoint(const Body_TurnToPoint& other227) noexcept { target_point = other227.target_point; cycle = other227.cycle; __isset = other227.__isset; +} +Body_TurnToPoint& Body_TurnToPoint::operator=(const Body_TurnToPoint& other228) noexcept { + target_point = other228.target_point; + cycle = other228.cycle; + __isset = other228.__isset; return *this; } void Body_TurnToPoint::printTo(std::ostream& out) const { @@ -13248,13 +13301,13 @@ void swap(Focus_MoveToPoint &a, Focus_MoveToPoint &b) { swap(a.__isset, b.__isset); } -Focus_MoveToPoint::Focus_MoveToPoint(const Focus_MoveToPoint& other228) noexcept { - target_point = other228.target_point; - __isset = other228.__isset; -} -Focus_MoveToPoint& Focus_MoveToPoint::operator=(const Focus_MoveToPoint& other229) noexcept { +Focus_MoveToPoint::Focus_MoveToPoint(const Focus_MoveToPoint& other229) noexcept { target_point = other229.target_point; __isset = other229.__isset; +} +Focus_MoveToPoint& Focus_MoveToPoint::operator=(const Focus_MoveToPoint& other230) noexcept { + target_point = other230.target_point; + __isset = other230.__isset; return *this; } void Focus_MoveToPoint::printTo(std::ostream& out) const { @@ -13319,11 +13372,11 @@ void swap(Focus_Reset &a, Focus_Reset &b) { (void) b; } -Focus_Reset::Focus_Reset(const Focus_Reset& other230) noexcept { - (void) other230; -} -Focus_Reset& Focus_Reset::operator=(const Focus_Reset& other231) noexcept { +Focus_Reset::Focus_Reset(const Focus_Reset& other231) noexcept { (void) other231; +} +Focus_Reset& Focus_Reset::operator=(const Focus_Reset& other232) noexcept { + (void) other232; return *this; } void Focus_Reset::printTo(std::ostream& out) const { @@ -13387,11 +13440,11 @@ void swap(Neck_ScanField &a, Neck_ScanField &b) { (void) b; } -Neck_ScanField::Neck_ScanField(const Neck_ScanField& other232) noexcept { - (void) other232; -} -Neck_ScanField& Neck_ScanField::operator=(const Neck_ScanField& other233) noexcept { +Neck_ScanField::Neck_ScanField(const Neck_ScanField& other233) noexcept { (void) other233; +} +Neck_ScanField& Neck_ScanField::operator=(const Neck_ScanField& other234) noexcept { + (void) other234; return *this; } void Neck_ScanField::printTo(std::ostream& out) const { @@ -13455,11 +13508,11 @@ void swap(Neck_ScanPlayers &a, Neck_ScanPlayers &b) { (void) b; } -Neck_ScanPlayers::Neck_ScanPlayers(const Neck_ScanPlayers& other234) noexcept { - (void) other234; -} -Neck_ScanPlayers& Neck_ScanPlayers::operator=(const Neck_ScanPlayers& other235) noexcept { +Neck_ScanPlayers::Neck_ScanPlayers(const Neck_ScanPlayers& other235) noexcept { (void) other235; +} +Neck_ScanPlayers& Neck_ScanPlayers::operator=(const Neck_ScanPlayers& other236) noexcept { + (void) other236; return *this; } void Neck_ScanPlayers::printTo(std::ostream& out) const { @@ -13514,9 +13567,9 @@ uint32_t Neck_TurnToBallAndPlayer::read(::apache::thrift::protocol::TProtocol* i { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast236; - xfer += iprot->readI32(ecast236); - this->side = static_cast(ecast236); + int32_t ecast237; + xfer += iprot->readI32(ecast237); + this->side = static_cast(ecast237); this->__isset.side = true; } else { xfer += iprot->skip(ftype); @@ -13580,17 +13633,17 @@ void swap(Neck_TurnToBallAndPlayer &a, Neck_TurnToBallAndPlayer &b) { swap(a.__isset, b.__isset); } -Neck_TurnToBallAndPlayer::Neck_TurnToBallAndPlayer(const Neck_TurnToBallAndPlayer& other237) noexcept { - side = other237.side; - uniform_number = other237.uniform_number; - count_threshold = other237.count_threshold; - __isset = other237.__isset; -} -Neck_TurnToBallAndPlayer& Neck_TurnToBallAndPlayer::operator=(const Neck_TurnToBallAndPlayer& other238) noexcept { +Neck_TurnToBallAndPlayer::Neck_TurnToBallAndPlayer(const Neck_TurnToBallAndPlayer& other238) noexcept { side = other238.side; uniform_number = other238.uniform_number; count_threshold = other238.count_threshold; __isset = other238.__isset; +} +Neck_TurnToBallAndPlayer& Neck_TurnToBallAndPlayer::operator=(const Neck_TurnToBallAndPlayer& other239) noexcept { + side = other239.side; + uniform_number = other239.uniform_number; + count_threshold = other239.count_threshold; + __isset = other239.__isset; return *this; } void Neck_TurnToBallAndPlayer::printTo(std::ostream& out) const { @@ -13678,13 +13731,13 @@ void swap(Neck_TurnToBallOrScan &a, Neck_TurnToBallOrScan &b) { swap(a.__isset, b.__isset); } -Neck_TurnToBallOrScan::Neck_TurnToBallOrScan(const Neck_TurnToBallOrScan& other239) noexcept { - count_threshold = other239.count_threshold; - __isset = other239.__isset; -} -Neck_TurnToBallOrScan& Neck_TurnToBallOrScan::operator=(const Neck_TurnToBallOrScan& other240) noexcept { +Neck_TurnToBallOrScan::Neck_TurnToBallOrScan(const Neck_TurnToBallOrScan& other240) noexcept { count_threshold = other240.count_threshold; __isset = other240.__isset; +} +Neck_TurnToBallOrScan& Neck_TurnToBallOrScan::operator=(const Neck_TurnToBallOrScan& other241) noexcept { + count_threshold = other241.count_threshold; + __isset = other241.__isset; return *this; } void Neck_TurnToBallOrScan::printTo(std::ostream& out) const { @@ -13749,11 +13802,11 @@ void swap(Neck_TurnToBall &a, Neck_TurnToBall &b) { (void) b; } -Neck_TurnToBall::Neck_TurnToBall(const Neck_TurnToBall& other241) noexcept { - (void) other241; -} -Neck_TurnToBall& Neck_TurnToBall::operator=(const Neck_TurnToBall& other242) noexcept { +Neck_TurnToBall::Neck_TurnToBall(const Neck_TurnToBall& other242) noexcept { (void) other242; +} +Neck_TurnToBall& Neck_TurnToBall::operator=(const Neck_TurnToBall& other243) noexcept { + (void) other243; return *this; } void Neck_TurnToBall::printTo(std::ostream& out) const { @@ -13838,13 +13891,13 @@ void swap(Neck_TurnToGoalieOrScan &a, Neck_TurnToGoalieOrScan &b) { swap(a.__isset, b.__isset); } -Neck_TurnToGoalieOrScan::Neck_TurnToGoalieOrScan(const Neck_TurnToGoalieOrScan& other243) noexcept { - count_threshold = other243.count_threshold; - __isset = other243.__isset; -} -Neck_TurnToGoalieOrScan& Neck_TurnToGoalieOrScan::operator=(const Neck_TurnToGoalieOrScan& other244) noexcept { +Neck_TurnToGoalieOrScan::Neck_TurnToGoalieOrScan(const Neck_TurnToGoalieOrScan& other244) noexcept { count_threshold = other244.count_threshold; __isset = other244.__isset; +} +Neck_TurnToGoalieOrScan& Neck_TurnToGoalieOrScan::operator=(const Neck_TurnToGoalieOrScan& other245) noexcept { + count_threshold = other245.count_threshold; + __isset = other245.__isset; return *this; } void Neck_TurnToGoalieOrScan::printTo(std::ostream& out) const { @@ -13909,11 +13962,11 @@ void swap(Neck_TurnToLowConfTeammate &a, Neck_TurnToLowConfTeammate &b) { (void) b; } -Neck_TurnToLowConfTeammate::Neck_TurnToLowConfTeammate(const Neck_TurnToLowConfTeammate& other245) noexcept { - (void) other245; -} -Neck_TurnToLowConfTeammate& Neck_TurnToLowConfTeammate::operator=(const Neck_TurnToLowConfTeammate& other246) noexcept { +Neck_TurnToLowConfTeammate::Neck_TurnToLowConfTeammate(const Neck_TurnToLowConfTeammate& other246) noexcept { (void) other246; +} +Neck_TurnToLowConfTeammate& Neck_TurnToLowConfTeammate::operator=(const Neck_TurnToLowConfTeammate& other247) noexcept { + (void) other247; return *this; } void Neck_TurnToLowConfTeammate::printTo(std::ostream& out) const { @@ -13968,9 +14021,9 @@ uint32_t Neck_TurnToPlayerOrScan::read(::apache::thrift::protocol::TProtocol* ip { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast247; - xfer += iprot->readI32(ecast247); - this->side = static_cast(ecast247); + int32_t ecast248; + xfer += iprot->readI32(ecast248); + this->side = static_cast(ecast248); this->__isset.side = true; } else { xfer += iprot->skip(ftype); @@ -14034,17 +14087,17 @@ void swap(Neck_TurnToPlayerOrScan &a, Neck_TurnToPlayerOrScan &b) { swap(a.__isset, b.__isset); } -Neck_TurnToPlayerOrScan::Neck_TurnToPlayerOrScan(const Neck_TurnToPlayerOrScan& other248) noexcept { - side = other248.side; - uniform_number = other248.uniform_number; - count_threshold = other248.count_threshold; - __isset = other248.__isset; -} -Neck_TurnToPlayerOrScan& Neck_TurnToPlayerOrScan::operator=(const Neck_TurnToPlayerOrScan& other249) noexcept { +Neck_TurnToPlayerOrScan::Neck_TurnToPlayerOrScan(const Neck_TurnToPlayerOrScan& other249) noexcept { side = other249.side; uniform_number = other249.uniform_number; count_threshold = other249.count_threshold; __isset = other249.__isset; +} +Neck_TurnToPlayerOrScan& Neck_TurnToPlayerOrScan::operator=(const Neck_TurnToPlayerOrScan& other250) noexcept { + side = other250.side; + uniform_number = other250.uniform_number; + count_threshold = other250.count_threshold; + __isset = other250.__isset; return *this; } void Neck_TurnToPlayerOrScan::printTo(std::ostream& out) const { @@ -14132,13 +14185,13 @@ void swap(Neck_TurnToPoint &a, Neck_TurnToPoint &b) { swap(a.__isset, b.__isset); } -Neck_TurnToPoint::Neck_TurnToPoint(const Neck_TurnToPoint& other250) noexcept { - target_point = other250.target_point; - __isset = other250.__isset; -} -Neck_TurnToPoint& Neck_TurnToPoint::operator=(const Neck_TurnToPoint& other251) noexcept { +Neck_TurnToPoint::Neck_TurnToPoint(const Neck_TurnToPoint& other251) noexcept { target_point = other251.target_point; __isset = other251.__isset; +} +Neck_TurnToPoint& Neck_TurnToPoint::operator=(const Neck_TurnToPoint& other252) noexcept { + target_point = other252.target_point; + __isset = other252.__isset; return *this; } void Neck_TurnToPoint::printTo(std::ostream& out) const { @@ -14224,13 +14277,13 @@ void swap(Neck_TurnToRelative &a, Neck_TurnToRelative &b) { swap(a.__isset, b.__isset); } -Neck_TurnToRelative::Neck_TurnToRelative(const Neck_TurnToRelative& other252) noexcept { - angle = other252.angle; - __isset = other252.__isset; -} -Neck_TurnToRelative& Neck_TurnToRelative::operator=(const Neck_TurnToRelative& other253) noexcept { +Neck_TurnToRelative::Neck_TurnToRelative(const Neck_TurnToRelative& other253) noexcept { angle = other253.angle; __isset = other253.__isset; +} +Neck_TurnToRelative& Neck_TurnToRelative::operator=(const Neck_TurnToRelative& other254) noexcept { + angle = other254.angle; + __isset = other254.__isset; return *this; } void Neck_TurnToRelative::printTo(std::ostream& out) const { @@ -14278,9 +14331,9 @@ uint32_t View_ChangeWidth::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast254; - xfer += iprot->readI32(ecast254); - this->view_width = static_cast(ecast254); + int32_t ecast255; + xfer += iprot->readI32(ecast255); + this->view_width = static_cast(ecast255); this->__isset.view_width = true; } else { xfer += iprot->skip(ftype); @@ -14318,13 +14371,13 @@ void swap(View_ChangeWidth &a, View_ChangeWidth &b) { swap(a.__isset, b.__isset); } -View_ChangeWidth::View_ChangeWidth(const View_ChangeWidth& other255) noexcept { - view_width = other255.view_width; - __isset = other255.__isset; -} -View_ChangeWidth& View_ChangeWidth::operator=(const View_ChangeWidth& other256) noexcept { +View_ChangeWidth::View_ChangeWidth(const View_ChangeWidth& other256) noexcept { view_width = other256.view_width; __isset = other256.__isset; +} +View_ChangeWidth& View_ChangeWidth::operator=(const View_ChangeWidth& other257) noexcept { + view_width = other257.view_width; + __isset = other257.__isset; return *this; } void View_ChangeWidth::printTo(std::ostream& out) const { @@ -14389,11 +14442,11 @@ void swap(View_Normal &a, View_Normal &b) { (void) b; } -View_Normal::View_Normal(const View_Normal& other257) noexcept { - (void) other257; -} -View_Normal& View_Normal::operator=(const View_Normal& other258) noexcept { +View_Normal::View_Normal(const View_Normal& other258) noexcept { (void) other258; +} +View_Normal& View_Normal::operator=(const View_Normal& other259) noexcept { + (void) other259; return *this; } void View_Normal::printTo(std::ostream& out) const { @@ -14457,11 +14510,11 @@ void swap(View_Synch &a, View_Synch &b) { (void) b; } -View_Synch::View_Synch(const View_Synch& other259) noexcept { - (void) other259; -} -View_Synch& View_Synch::operator=(const View_Synch& other260) noexcept { +View_Synch::View_Synch(const View_Synch& other260) noexcept { (void) other260; +} +View_Synch& View_Synch::operator=(const View_Synch& other261) noexcept { + (void) other261; return *this; } void View_Synch::printTo(std::ostream& out) const { @@ -14525,11 +14578,11 @@ void swap(View_Wide &a, View_Wide &b) { (void) b; } -View_Wide::View_Wide(const View_Wide& other261) noexcept { - (void) other261; -} -View_Wide& View_Wide::operator=(const View_Wide& other262) noexcept { +View_Wide::View_Wide(const View_Wide& other262) noexcept { (void) other262; +} +View_Wide& View_Wide::operator=(const View_Wide& other263) noexcept { + (void) other263; return *this; } void View_Wide::printTo(std::ostream& out) const { @@ -14593,11 +14646,11 @@ void swap(HeliosGoalie &a, HeliosGoalie &b) { (void) b; } -HeliosGoalie::HeliosGoalie(const HeliosGoalie& other263) noexcept { - (void) other263; -} -HeliosGoalie& HeliosGoalie::operator=(const HeliosGoalie& other264) noexcept { +HeliosGoalie::HeliosGoalie(const HeliosGoalie& other264) noexcept { (void) other264; +} +HeliosGoalie& HeliosGoalie::operator=(const HeliosGoalie& other265) noexcept { + (void) other265; return *this; } void HeliosGoalie::printTo(std::ostream& out) const { @@ -14661,11 +14714,11 @@ void swap(HeliosGoalieMove &a, HeliosGoalieMove &b) { (void) b; } -HeliosGoalieMove::HeliosGoalieMove(const HeliosGoalieMove& other265) noexcept { - (void) other265; -} -HeliosGoalieMove& HeliosGoalieMove::operator=(const HeliosGoalieMove& other266) noexcept { +HeliosGoalieMove::HeliosGoalieMove(const HeliosGoalieMove& other266) noexcept { (void) other266; +} +HeliosGoalieMove& HeliosGoalieMove::operator=(const HeliosGoalieMove& other267) noexcept { + (void) other267; return *this; } void HeliosGoalieMove::printTo(std::ostream& out) const { @@ -14729,11 +14782,11 @@ void swap(HeliosGoalieKick &a, HeliosGoalieKick &b) { (void) b; } -HeliosGoalieKick::HeliosGoalieKick(const HeliosGoalieKick& other267) noexcept { - (void) other267; -} -HeliosGoalieKick& HeliosGoalieKick::operator=(const HeliosGoalieKick& other268) noexcept { +HeliosGoalieKick::HeliosGoalieKick(const HeliosGoalieKick& other268) noexcept { (void) other268; +} +HeliosGoalieKick& HeliosGoalieKick::operator=(const HeliosGoalieKick& other269) noexcept { + (void) other269; return *this; } void HeliosGoalieKick::printTo(std::ostream& out) const { @@ -14797,11 +14850,11 @@ void swap(HeliosShoot &a, HeliosShoot &b) { (void) b; } -HeliosShoot::HeliosShoot(const HeliosShoot& other269) noexcept { - (void) other269; -} -HeliosShoot& HeliosShoot::operator=(const HeliosShoot& other270) noexcept { +HeliosShoot::HeliosShoot(const HeliosShoot& other270) noexcept { (void) other270; +} +HeliosShoot& HeliosShoot::operator=(const HeliosShoot& other271) noexcept { + (void) other271; return *this; } void HeliosShoot::printTo(std::ostream& out) const { @@ -15039,20 +15092,7 @@ void swap(HeliosOffensivePlanner &a, HeliosOffensivePlanner &b) { swap(a.__isset, b.__isset); } -HeliosOffensivePlanner::HeliosOffensivePlanner(const HeliosOffensivePlanner& other271) noexcept { - direct_pass = other271.direct_pass; - lead_pass = other271.lead_pass; - through_pass = other271.through_pass; - short_dribble = other271.short_dribble; - long_dribble = other271.long_dribble; - cross = other271.cross; - simple_pass = other271.simple_pass; - simple_dribble = other271.simple_dribble; - simple_shoot = other271.simple_shoot; - server_side_decision = other271.server_side_decision; - __isset = other271.__isset; -} -HeliosOffensivePlanner& HeliosOffensivePlanner::operator=(const HeliosOffensivePlanner& other272) noexcept { +HeliosOffensivePlanner::HeliosOffensivePlanner(const HeliosOffensivePlanner& other272) noexcept { direct_pass = other272.direct_pass; lead_pass = other272.lead_pass; through_pass = other272.through_pass; @@ -15064,6 +15104,19 @@ HeliosOffensivePlanner& HeliosOffensivePlanner::operator=(const HeliosOffensiveP simple_shoot = other272.simple_shoot; server_side_decision = other272.server_side_decision; __isset = other272.__isset; +} +HeliosOffensivePlanner& HeliosOffensivePlanner::operator=(const HeliosOffensivePlanner& other273) noexcept { + direct_pass = other273.direct_pass; + lead_pass = other273.lead_pass; + through_pass = other273.through_pass; + short_dribble = other273.short_dribble; + long_dribble = other273.long_dribble; + cross = other273.cross; + simple_pass = other273.simple_pass; + simple_dribble = other273.simple_dribble; + simple_shoot = other273.simple_shoot; + server_side_decision = other273.server_side_decision; + __isset = other273.__isset; return *this; } void HeliosOffensivePlanner::printTo(std::ostream& out) const { @@ -15137,11 +15190,11 @@ void swap(HeliosBasicOffensive &a, HeliosBasicOffensive &b) { (void) b; } -HeliosBasicOffensive::HeliosBasicOffensive(const HeliosBasicOffensive& other273) noexcept { - (void) other273; -} -HeliosBasicOffensive& HeliosBasicOffensive::operator=(const HeliosBasicOffensive& other274) noexcept { +HeliosBasicOffensive::HeliosBasicOffensive(const HeliosBasicOffensive& other274) noexcept { (void) other274; +} +HeliosBasicOffensive& HeliosBasicOffensive::operator=(const HeliosBasicOffensive& other275) noexcept { + (void) other275; return *this; } void HeliosBasicOffensive::printTo(std::ostream& out) const { @@ -15205,11 +15258,11 @@ void swap(HeliosBasicMove &a, HeliosBasicMove &b) { (void) b; } -HeliosBasicMove::HeliosBasicMove(const HeliosBasicMove& other275) noexcept { - (void) other275; -} -HeliosBasicMove& HeliosBasicMove::operator=(const HeliosBasicMove& other276) noexcept { +HeliosBasicMove::HeliosBasicMove(const HeliosBasicMove& other276) noexcept { (void) other276; +} +HeliosBasicMove& HeliosBasicMove::operator=(const HeliosBasicMove& other277) noexcept { + (void) other277; return *this; } void HeliosBasicMove::printTo(std::ostream& out) const { @@ -15273,11 +15326,11 @@ void swap(HeliosSetPlay &a, HeliosSetPlay &b) { (void) b; } -HeliosSetPlay::HeliosSetPlay(const HeliosSetPlay& other277) noexcept { - (void) other277; -} -HeliosSetPlay& HeliosSetPlay::operator=(const HeliosSetPlay& other278) noexcept { +HeliosSetPlay::HeliosSetPlay(const HeliosSetPlay& other278) noexcept { (void) other278; +} +HeliosSetPlay& HeliosSetPlay::operator=(const HeliosSetPlay& other279) noexcept { + (void) other279; return *this; } void HeliosSetPlay::printTo(std::ostream& out) const { @@ -15341,11 +15394,11 @@ void swap(HeliosPenalty &a, HeliosPenalty &b) { (void) b; } -HeliosPenalty::HeliosPenalty(const HeliosPenalty& other279) noexcept { - (void) other279; -} -HeliosPenalty& HeliosPenalty::operator=(const HeliosPenalty& other280) noexcept { +HeliosPenalty::HeliosPenalty(const HeliosPenalty& other280) noexcept { (void) other280; +} +HeliosPenalty& HeliosPenalty::operator=(const HeliosPenalty& other281) noexcept { + (void) other281; return *this; } void HeliosPenalty::printTo(std::ostream& out) const { @@ -15409,11 +15462,11 @@ void swap(HeliosCommunicaion &a, HeliosCommunicaion &b) { (void) b; } -HeliosCommunicaion::HeliosCommunicaion(const HeliosCommunicaion& other281) noexcept { - (void) other281; -} -HeliosCommunicaion& HeliosCommunicaion::operator=(const HeliosCommunicaion& other282) noexcept { +HeliosCommunicaion::HeliosCommunicaion(const HeliosCommunicaion& other282) noexcept { (void) other282; +} +HeliosCommunicaion& HeliosCommunicaion::operator=(const HeliosCommunicaion& other283) noexcept { + (void) other283; return *this; } void HeliosCommunicaion::printTo(std::ostream& out) const { @@ -16697,74 +16750,7 @@ void swap(PlayerAction &a, PlayerAction &b) { swap(a.__isset, b.__isset); } -PlayerAction::PlayerAction(const PlayerAction& other283) { - dash = other283.dash; - turn = other283.turn; - kick = other283.kick; - tackle = other283.tackle; - catch_action = other283.catch_action; - move = other283.move; - turn_neck = other283.turn_neck; - change_view = other283.change_view; - say = other283.say; - point_to = other283.point_to; - point_to_of = other283.point_to_of; - attention_to = other283.attention_to; - attention_to_of = other283.attention_to_of; - log = other283.log; - debug_client = other283.debug_client; - body_go_to_point = other283.body_go_to_point; - body_smart_kick = other283.body_smart_kick; - bhv_before_kick_off = other283.bhv_before_kick_off; - bhv_body_neck_to_ball = other283.bhv_body_neck_to_ball; - bhv_body_neck_to_point = other283.bhv_body_neck_to_point; - bhv_emergency = other283.bhv_emergency; - bhv_go_to_point_look_ball = other283.bhv_go_to_point_look_ball; - bhv_neck_body_to_ball = other283.bhv_neck_body_to_ball; - bhv_neck_body_to_point = other283.bhv_neck_body_to_point; - bhv_scan_field = other283.bhv_scan_field; - body_advance_ball = other283.body_advance_ball; - body_clear_ball = other283.body_clear_ball; - body_dribble = other283.body_dribble; - body_go_to_point_dodge = other283.body_go_to_point_dodge; - body_hold_ball = other283.body_hold_ball; - body_intercept = other283.body_intercept; - body_kick_one_step = other283.body_kick_one_step; - body_stop_ball = other283.body_stop_ball; - body_stop_dash = other283.body_stop_dash; - body_tackle_to_point = other283.body_tackle_to_point; - body_turn_to_angle = other283.body_turn_to_angle; - body_turn_to_ball = other283.body_turn_to_ball; - body_turn_to_point = other283.body_turn_to_point; - focus_move_to_point = other283.focus_move_to_point; - focus_reset = other283.focus_reset; - neck_scan_field = other283.neck_scan_field; - neck_scan_players = other283.neck_scan_players; - neck_turn_to_ball_and_player = other283.neck_turn_to_ball_and_player; - neck_turn_to_ball_or_scan = other283.neck_turn_to_ball_or_scan; - neck_turn_to_ball = other283.neck_turn_to_ball; - neck_turn_to_goalie_or_scan = other283.neck_turn_to_goalie_or_scan; - neck_turn_to_low_conf_teammate = other283.neck_turn_to_low_conf_teammate; - neck_turn_to_player_or_scan = other283.neck_turn_to_player_or_scan; - neck_turn_to_point = other283.neck_turn_to_point; - neck_turn_to_relative = other283.neck_turn_to_relative; - view_change_width = other283.view_change_width; - view_normal = other283.view_normal; - view_synch = other283.view_synch; - view_wide = other283.view_wide; - helios_goalie = other283.helios_goalie; - helios_goalie_move = other283.helios_goalie_move; - helios_goalie_kick = other283.helios_goalie_kick; - helios_shoot = other283.helios_shoot; - helios_offensive_planner = other283.helios_offensive_planner; - helios_basic_offensive = other283.helios_basic_offensive; - helios_basic_move = other283.helios_basic_move; - helios_set_play = other283.helios_set_play; - helios_penalty = other283.helios_penalty; - helios_communication = other283.helios_communication; - __isset = other283.__isset; -} -PlayerAction& PlayerAction::operator=(const PlayerAction& other284) { +PlayerAction::PlayerAction(const PlayerAction& other284) { dash = other284.dash; turn = other284.turn; kick = other284.kick; @@ -16830,6 +16816,73 @@ PlayerAction& PlayerAction::operator=(const PlayerAction& other284) { helios_penalty = other284.helios_penalty; helios_communication = other284.helios_communication; __isset = other284.__isset; +} +PlayerAction& PlayerAction::operator=(const PlayerAction& other285) { + dash = other285.dash; + turn = other285.turn; + kick = other285.kick; + tackle = other285.tackle; + catch_action = other285.catch_action; + move = other285.move; + turn_neck = other285.turn_neck; + change_view = other285.change_view; + say = other285.say; + point_to = other285.point_to; + point_to_of = other285.point_to_of; + attention_to = other285.attention_to; + attention_to_of = other285.attention_to_of; + log = other285.log; + debug_client = other285.debug_client; + body_go_to_point = other285.body_go_to_point; + body_smart_kick = other285.body_smart_kick; + bhv_before_kick_off = other285.bhv_before_kick_off; + bhv_body_neck_to_ball = other285.bhv_body_neck_to_ball; + bhv_body_neck_to_point = other285.bhv_body_neck_to_point; + bhv_emergency = other285.bhv_emergency; + bhv_go_to_point_look_ball = other285.bhv_go_to_point_look_ball; + bhv_neck_body_to_ball = other285.bhv_neck_body_to_ball; + bhv_neck_body_to_point = other285.bhv_neck_body_to_point; + bhv_scan_field = other285.bhv_scan_field; + body_advance_ball = other285.body_advance_ball; + body_clear_ball = other285.body_clear_ball; + body_dribble = other285.body_dribble; + body_go_to_point_dodge = other285.body_go_to_point_dodge; + body_hold_ball = other285.body_hold_ball; + body_intercept = other285.body_intercept; + body_kick_one_step = other285.body_kick_one_step; + body_stop_ball = other285.body_stop_ball; + body_stop_dash = other285.body_stop_dash; + body_tackle_to_point = other285.body_tackle_to_point; + body_turn_to_angle = other285.body_turn_to_angle; + body_turn_to_ball = other285.body_turn_to_ball; + body_turn_to_point = other285.body_turn_to_point; + focus_move_to_point = other285.focus_move_to_point; + focus_reset = other285.focus_reset; + neck_scan_field = other285.neck_scan_field; + neck_scan_players = other285.neck_scan_players; + neck_turn_to_ball_and_player = other285.neck_turn_to_ball_and_player; + neck_turn_to_ball_or_scan = other285.neck_turn_to_ball_or_scan; + neck_turn_to_ball = other285.neck_turn_to_ball; + neck_turn_to_goalie_or_scan = other285.neck_turn_to_goalie_or_scan; + neck_turn_to_low_conf_teammate = other285.neck_turn_to_low_conf_teammate; + neck_turn_to_player_or_scan = other285.neck_turn_to_player_or_scan; + neck_turn_to_point = other285.neck_turn_to_point; + neck_turn_to_relative = other285.neck_turn_to_relative; + view_change_width = other285.view_change_width; + view_normal = other285.view_normal; + view_synch = other285.view_synch; + view_wide = other285.view_wide; + helios_goalie = other285.helios_goalie; + helios_goalie_move = other285.helios_goalie_move; + helios_goalie_kick = other285.helios_goalie_kick; + helios_shoot = other285.helios_shoot; + helios_offensive_planner = other285.helios_offensive_planner; + helios_basic_offensive = other285.helios_basic_offensive; + helios_basic_move = other285.helios_basic_move; + helios_set_play = other285.helios_set_play; + helios_penalty = other285.helios_penalty; + helios_communication = other285.helios_communication; + __isset = other285.__isset; return *this; } void PlayerAction::printTo(std::ostream& out) const { @@ -16946,14 +16999,14 @@ uint32_t PlayerActions::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->actions.clear(); - uint32_t _size285; - ::apache::thrift::protocol::TType _etype288; - xfer += iprot->readListBegin(_etype288, _size285); - this->actions.resize(_size285); - uint32_t _i289; - for (_i289 = 0; _i289 < _size285; ++_i289) + uint32_t _size286; + ::apache::thrift::protocol::TType _etype289; + xfer += iprot->readListBegin(_etype289, _size286); + this->actions.resize(_size286); + uint32_t _i290; + for (_i290 = 0; _i290 < _size286; ++_i290) { - xfer += this->actions[_i289].read(iprot); + xfer += this->actions[_i290].read(iprot); } xfer += iprot->readListEnd(); } @@ -16990,10 +17043,10 @@ uint32_t PlayerActions::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldBegin("actions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->actions.size())); - std::vector ::const_iterator _iter290; - for (_iter290 = this->actions.begin(); _iter290 != this->actions.end(); ++_iter290) + std::vector ::const_iterator _iter291; + for (_iter291 = this->actions.begin(); _iter291 != this->actions.end(); ++_iter291) { - xfer += (*_iter290).write(oprot); + xfer += (*_iter291).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17015,15 +17068,15 @@ void swap(PlayerActions &a, PlayerActions &b) { swap(a.__isset, b.__isset); } -PlayerActions::PlayerActions(const PlayerActions& other291) { - actions = other291.actions; - ignore_preprocess = other291.ignore_preprocess; - __isset = other291.__isset; -} -PlayerActions& PlayerActions::operator=(const PlayerActions& other292) { +PlayerActions::PlayerActions(const PlayerActions& other292) { actions = other292.actions; ignore_preprocess = other292.ignore_preprocess; __isset = other292.__isset; +} +PlayerActions& PlayerActions::operator=(const PlayerActions& other293) { + actions = other293.actions; + ignore_preprocess = other293.ignore_preprocess; + __isset = other293.__isset; return *this; } void PlayerActions::printTo(std::ostream& out) const { @@ -17127,15 +17180,15 @@ void swap(ChangePlayerType &a, ChangePlayerType &b) { swap(a.__isset, b.__isset); } -ChangePlayerType::ChangePlayerType(const ChangePlayerType& other293) noexcept { - uniform_number = other293.uniform_number; - type = other293.type; - __isset = other293.__isset; -} -ChangePlayerType& ChangePlayerType::operator=(const ChangePlayerType& other294) noexcept { +ChangePlayerType::ChangePlayerType(const ChangePlayerType& other294) noexcept { uniform_number = other294.uniform_number; type = other294.type; __isset = other294.__isset; +} +ChangePlayerType& ChangePlayerType::operator=(const ChangePlayerType& other295) noexcept { + uniform_number = other295.uniform_number; + type = other295.type; + __isset = other295.__isset; return *this; } void ChangePlayerType::printTo(std::ostream& out) const { @@ -17201,11 +17254,11 @@ void swap(DoHeliosSubstitute &a, DoHeliosSubstitute &b) { (void) b; } -DoHeliosSubstitute::DoHeliosSubstitute(const DoHeliosSubstitute& other295) noexcept { - (void) other295; -} -DoHeliosSubstitute& DoHeliosSubstitute::operator=(const DoHeliosSubstitute& other296) noexcept { +DoHeliosSubstitute::DoHeliosSubstitute(const DoHeliosSubstitute& other296) noexcept { (void) other296; +} +DoHeliosSubstitute& DoHeliosSubstitute::operator=(const DoHeliosSubstitute& other297) noexcept { + (void) other297; return *this; } void DoHeliosSubstitute::printTo(std::ostream& out) const { @@ -17269,11 +17322,11 @@ void swap(DoHeliosSayPlayerTypes &a, DoHeliosSayPlayerTypes &b) { (void) b; } -DoHeliosSayPlayerTypes::DoHeliosSayPlayerTypes(const DoHeliosSayPlayerTypes& other297) noexcept { - (void) other297; -} -DoHeliosSayPlayerTypes& DoHeliosSayPlayerTypes::operator=(const DoHeliosSayPlayerTypes& other298) noexcept { +DoHeliosSayPlayerTypes::DoHeliosSayPlayerTypes(const DoHeliosSayPlayerTypes& other298) noexcept { (void) other298; +} +DoHeliosSayPlayerTypes& DoHeliosSayPlayerTypes::operator=(const DoHeliosSayPlayerTypes& other299) noexcept { + (void) other299; return *this; } void DoHeliosSayPlayerTypes::printTo(std::ostream& out) const { @@ -17398,17 +17451,17 @@ void swap(CoachAction &a, CoachAction &b) { swap(a.__isset, b.__isset); } -CoachAction::CoachAction(const CoachAction& other299) noexcept { - change_player_types = other299.change_player_types; - do_helios_substitute = other299.do_helios_substitute; - do_helios_say_player_types = other299.do_helios_say_player_types; - __isset = other299.__isset; -} -CoachAction& CoachAction::operator=(const CoachAction& other300) noexcept { +CoachAction::CoachAction(const CoachAction& other300) noexcept { change_player_types = other300.change_player_types; do_helios_substitute = other300.do_helios_substitute; do_helios_say_player_types = other300.do_helios_say_player_types; __isset = other300.__isset; +} +CoachAction& CoachAction::operator=(const CoachAction& other301) noexcept { + change_player_types = other301.change_player_types; + do_helios_substitute = other301.do_helios_substitute; + do_helios_say_player_types = other301.do_helios_say_player_types; + __isset = other301.__isset; return *this; } void CoachAction::printTo(std::ostream& out) const { @@ -17460,14 +17513,14 @@ uint32_t CoachActions::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->actions.clear(); - uint32_t _size301; - ::apache::thrift::protocol::TType _etype304; - xfer += iprot->readListBegin(_etype304, _size301); - this->actions.resize(_size301); - uint32_t _i305; - for (_i305 = 0; _i305 < _size301; ++_i305) + uint32_t _size302; + ::apache::thrift::protocol::TType _etype305; + xfer += iprot->readListBegin(_etype305, _size302); + this->actions.resize(_size302); + uint32_t _i306; + for (_i306 = 0; _i306 < _size302; ++_i306) { - xfer += this->actions[_i305].read(iprot); + xfer += this->actions[_i306].read(iprot); } xfer += iprot->readListEnd(); } @@ -17496,10 +17549,10 @@ uint32_t CoachActions::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldBegin("actions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->actions.size())); - std::vector ::const_iterator _iter306; - for (_iter306 = this->actions.begin(); _iter306 != this->actions.end(); ++_iter306) + std::vector ::const_iterator _iter307; + for (_iter307 = this->actions.begin(); _iter307 != this->actions.end(); ++_iter307) { - xfer += (*_iter306).write(oprot); + xfer += (*_iter307).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17516,13 +17569,13 @@ void swap(CoachActions &a, CoachActions &b) { swap(a.__isset, b.__isset); } -CoachActions::CoachActions(const CoachActions& other307) { - actions = other307.actions; - __isset = other307.__isset; -} -CoachActions& CoachActions::operator=(const CoachActions& other308) { +CoachActions::CoachActions(const CoachActions& other308) { actions = other308.actions; __isset = other308.__isset; +} +CoachActions& CoachActions::operator=(const CoachActions& other309) { + actions = other309.actions; + __isset = other309.__isset; return *this; } void CoachActions::printTo(std::ostream& out) const { @@ -17587,11 +17640,11 @@ void swap(DoKickOff &a, DoKickOff &b) { (void) b; } -DoKickOff::DoKickOff(const DoKickOff& other309) noexcept { - (void) other309; -} -DoKickOff& DoKickOff::operator=(const DoKickOff& other310) noexcept { +DoKickOff::DoKickOff(const DoKickOff& other310) noexcept { (void) other310; +} +DoKickOff& DoKickOff::operator=(const DoKickOff& other311) noexcept { + (void) other311; return *this; } void DoKickOff::printTo(std::ostream& out) const { @@ -17695,15 +17748,15 @@ void swap(DoMoveBall &a, DoMoveBall &b) { swap(a.__isset, b.__isset); } -DoMoveBall::DoMoveBall(const DoMoveBall& other311) noexcept { - position = other311.position; - velocity = other311.velocity; - __isset = other311.__isset; -} -DoMoveBall& DoMoveBall::operator=(const DoMoveBall& other312) noexcept { +DoMoveBall::DoMoveBall(const DoMoveBall& other312) noexcept { position = other312.position; velocity = other312.velocity; __isset = other312.__isset; +} +DoMoveBall& DoMoveBall::operator=(const DoMoveBall& other313) noexcept { + position = other313.position; + velocity = other313.velocity; + __isset = other313.__isset; return *this; } void DoMoveBall::printTo(std::ostream& out) const { @@ -17841,19 +17894,19 @@ void swap(DoMovePlayer &a, DoMovePlayer &b) { swap(a.__isset, b.__isset); } -DoMovePlayer::DoMovePlayer(const DoMovePlayer& other313) noexcept { - our_side = other313.our_side; - uniform_number = other313.uniform_number; - position = other313.position; - body_direction = other313.body_direction; - __isset = other313.__isset; -} -DoMovePlayer& DoMovePlayer::operator=(const DoMovePlayer& other314) noexcept { +DoMovePlayer::DoMovePlayer(const DoMovePlayer& other314) noexcept { our_side = other314.our_side; uniform_number = other314.uniform_number; position = other314.position; body_direction = other314.body_direction; __isset = other314.__isset; +} +DoMovePlayer& DoMovePlayer::operator=(const DoMovePlayer& other315) noexcept { + our_side = other315.our_side; + uniform_number = other315.uniform_number; + position = other315.position; + body_direction = other315.body_direction; + __isset = other315.__isset; return *this; } void DoMovePlayer::printTo(std::ostream& out) const { @@ -17921,11 +17974,11 @@ void swap(DoRecover &a, DoRecover &b) { (void) b; } -DoRecover::DoRecover(const DoRecover& other315) noexcept { - (void) other315; -} -DoRecover& DoRecover::operator=(const DoRecover& other316) noexcept { +DoRecover::DoRecover(const DoRecover& other316) noexcept { (void) other316; +} +DoRecover& DoRecover::operator=(const DoRecover& other317) noexcept { + (void) other317; return *this; } void DoRecover::printTo(std::ostream& out) const { @@ -17976,9 +18029,9 @@ uint32_t DoChangeMode::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast317; - xfer += iprot->readI32(ecast317); - this->game_mode_type = static_cast(ecast317); + int32_t ecast318; + xfer += iprot->readI32(ecast318); + this->game_mode_type = static_cast(ecast318); this->__isset.game_mode_type = true; } else { xfer += iprot->skip(ftype); @@ -17986,9 +18039,9 @@ uint32_t DoChangeMode::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast318; - xfer += iprot->readI32(ecast318); - this->side = static_cast(ecast318); + int32_t ecast319; + xfer += iprot->readI32(ecast319); + this->side = static_cast(ecast319); this->__isset.side = true; } else { xfer += iprot->skip(ftype); @@ -18031,15 +18084,15 @@ void swap(DoChangeMode &a, DoChangeMode &b) { swap(a.__isset, b.__isset); } -DoChangeMode::DoChangeMode(const DoChangeMode& other319) noexcept { - game_mode_type = other319.game_mode_type; - side = other319.side; - __isset = other319.__isset; -} -DoChangeMode& DoChangeMode::operator=(const DoChangeMode& other320) noexcept { +DoChangeMode::DoChangeMode(const DoChangeMode& other320) noexcept { game_mode_type = other320.game_mode_type; side = other320.side; __isset = other320.__isset; +} +DoChangeMode& DoChangeMode::operator=(const DoChangeMode& other321) noexcept { + game_mode_type = other321.game_mode_type; + side = other321.side; + __isset = other321.__isset; return *this; } void DoChangeMode::printTo(std::ostream& out) const { @@ -18160,17 +18213,17 @@ void swap(DoChangePlayerType &a, DoChangePlayerType &b) { swap(a.__isset, b.__isset); } -DoChangePlayerType::DoChangePlayerType(const DoChangePlayerType& other321) noexcept { - our_side = other321.our_side; - uniform_number = other321.uniform_number; - type = other321.type; - __isset = other321.__isset; -} -DoChangePlayerType& DoChangePlayerType::operator=(const DoChangePlayerType& other322) noexcept { +DoChangePlayerType::DoChangePlayerType(const DoChangePlayerType& other322) noexcept { our_side = other322.our_side; uniform_number = other322.uniform_number; type = other322.type; __isset = other322.__isset; +} +DoChangePlayerType& DoChangePlayerType::operator=(const DoChangePlayerType& other323) noexcept { + our_side = other323.our_side; + uniform_number = other323.uniform_number; + type = other323.type; + __isset = other323.__isset; return *this; } void DoChangePlayerType::printTo(std::ostream& out) const { @@ -18355,16 +18408,7 @@ void swap(TrainerAction &a, TrainerAction &b) { swap(a.__isset, b.__isset); } -TrainerAction::TrainerAction(const TrainerAction& other323) noexcept { - do_kick_off = other323.do_kick_off; - do_move_ball = other323.do_move_ball; - do_move_player = other323.do_move_player; - do_recover = other323.do_recover; - do_change_mode = other323.do_change_mode; - do_change_player_type = other323.do_change_player_type; - __isset = other323.__isset; -} -TrainerAction& TrainerAction::operator=(const TrainerAction& other324) noexcept { +TrainerAction::TrainerAction(const TrainerAction& other324) noexcept { do_kick_off = other324.do_kick_off; do_move_ball = other324.do_move_ball; do_move_player = other324.do_move_player; @@ -18372,6 +18416,15 @@ TrainerAction& TrainerAction::operator=(const TrainerAction& other324) noexcept do_change_mode = other324.do_change_mode; do_change_player_type = other324.do_change_player_type; __isset = other324.__isset; +} +TrainerAction& TrainerAction::operator=(const TrainerAction& other325) noexcept { + do_kick_off = other325.do_kick_off; + do_move_ball = other325.do_move_ball; + do_move_player = other325.do_move_player; + do_recover = other325.do_recover; + do_change_mode = other325.do_change_mode; + do_change_player_type = other325.do_change_player_type; + __isset = other325.__isset; return *this; } void TrainerAction::printTo(std::ostream& out) const { @@ -18426,14 +18479,14 @@ uint32_t TrainerActions::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->actions.clear(); - uint32_t _size325; - ::apache::thrift::protocol::TType _etype328; - xfer += iprot->readListBegin(_etype328, _size325); - this->actions.resize(_size325); - uint32_t _i329; - for (_i329 = 0; _i329 < _size325; ++_i329) + uint32_t _size326; + ::apache::thrift::protocol::TType _etype329; + xfer += iprot->readListBegin(_etype329, _size326); + this->actions.resize(_size326); + uint32_t _i330; + for (_i330 = 0; _i330 < _size326; ++_i330) { - xfer += this->actions[_i329].read(iprot); + xfer += this->actions[_i330].read(iprot); } xfer += iprot->readListEnd(); } @@ -18462,10 +18515,10 @@ uint32_t TrainerActions::write(::apache::thrift::protocol::TProtocol* oprot) con xfer += oprot->writeFieldBegin("actions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->actions.size())); - std::vector ::const_iterator _iter330; - for (_iter330 = this->actions.begin(); _iter330 != this->actions.end(); ++_iter330) + std::vector ::const_iterator _iter331; + for (_iter331 = this->actions.begin(); _iter331 != this->actions.end(); ++_iter331) { - xfer += (*_iter330).write(oprot); + xfer += (*_iter331).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18482,13 +18535,13 @@ void swap(TrainerActions &a, TrainerActions &b) { swap(a.__isset, b.__isset); } -TrainerActions::TrainerActions(const TrainerActions& other331) { - actions = other331.actions; - __isset = other331.__isset; -} -TrainerActions& TrainerActions::operator=(const TrainerActions& other332) { +TrainerActions::TrainerActions(const TrainerActions& other332) { actions = other332.actions; __isset = other332.__isset; +} +TrainerActions& TrainerActions::operator=(const TrainerActions& other333) { + actions = other333.actions; + __isset = other333.__isset; return *this; } void TrainerActions::printTo(std::ostream& out) const { @@ -22331,232 +22384,7 @@ void swap(ServerParam &a, ServerParam &b) { swap(a.__isset, b.__isset); } -ServerParam::ServerParam(const ServerParam& other333) { - register_response = other333.register_response; - inertia_moment = other333.inertia_moment; - player_size = other333.player_size; - player_decay = other333.player_decay; - player_rand = other333.player_rand; - player_weight = other333.player_weight; - player_speed_max = other333.player_speed_max; - player_accel_max = other333.player_accel_max; - stamina_max = other333.stamina_max; - stamina_inc_max = other333.stamina_inc_max; - recover_init = other333.recover_init; - recover_dec_thr = other333.recover_dec_thr; - recover_min = other333.recover_min; - recover_dec = other333.recover_dec; - effort_init = other333.effort_init; - effort_dec_thr = other333.effort_dec_thr; - effort_min = other333.effort_min; - effort_dec = other333.effort_dec; - effort_inc_thr = other333.effort_inc_thr; - effort_inc = other333.effort_inc; - kick_rand = other333.kick_rand; - team_actuator_noise = other333.team_actuator_noise; - player_rand_factor_l = other333.player_rand_factor_l; - player_rand_factor_r = other333.player_rand_factor_r; - kick_rand_factor_l = other333.kick_rand_factor_l; - kick_rand_factor_r = other333.kick_rand_factor_r; - ball_size = other333.ball_size; - ball_decay = other333.ball_decay; - ball_rand = other333.ball_rand; - ball_weight = other333.ball_weight; - ball_speed_max = other333.ball_speed_max; - ball_accel_max = other333.ball_accel_max; - dash_power_rate = other333.dash_power_rate; - kick_power_rate = other333.kick_power_rate; - kickable_margin = other333.kickable_margin; - control_radius = other333.control_radius; - control_radius_width = other333.control_radius_width; - max_power = other333.max_power; - min_power = other333.min_power; - max_moment = other333.max_moment; - min_moment = other333.min_moment; - max_neck_moment = other333.max_neck_moment; - min_neck_moment = other333.min_neck_moment; - max_neck_angle = other333.max_neck_angle; - min_neck_angle = other333.min_neck_angle; - visible_angle = other333.visible_angle; - visible_distance = other333.visible_distance; - wind_dir = other333.wind_dir; - wind_force = other333.wind_force; - wind_angle = other333.wind_angle; - wind_rand = other333.wind_rand; - kickable_area = other333.kickable_area; - catch_area_l = other333.catch_area_l; - catch_area_w = other333.catch_area_w; - catch_probability = other333.catch_probability; - goalie_max_moves = other333.goalie_max_moves; - corner_kick_margin = other333.corner_kick_margin; - offside_active_area_size = other333.offside_active_area_size; - wind_none = other333.wind_none; - use_wind_random = other333.use_wind_random; - coach_say_count_max = other333.coach_say_count_max; - coach_say_msg_size = other333.coach_say_msg_size; - clang_win_size = other333.clang_win_size; - clang_define_win = other333.clang_define_win; - clang_meta_win = other333.clang_meta_win; - clang_advice_win = other333.clang_advice_win; - clang_info_win = other333.clang_info_win; - clang_mess_delay = other333.clang_mess_delay; - clang_mess_per_cycle = other333.clang_mess_per_cycle; - half_time = other333.half_time; - simulator_step = other333.simulator_step; - send_step = other333.send_step; - recv_step = other333.recv_step; - sense_body_step = other333.sense_body_step; - lcm_step = other333.lcm_step; - player_say_msg_size = other333.player_say_msg_size; - player_hear_max = other333.player_hear_max; - player_hear_inc = other333.player_hear_inc; - player_hear_decay = other333.player_hear_decay; - catch_ban_cycle = other333.catch_ban_cycle; - slow_down_factor = other333.slow_down_factor; - use_offside = other333.use_offside; - kickoff_offside = other333.kickoff_offside; - offside_kick_margin = other333.offside_kick_margin; - audio_cut_dist = other333.audio_cut_dist; - dist_quantize_step = other333.dist_quantize_step; - landmark_dist_quantize_step = other333.landmark_dist_quantize_step; - dir_quantize_step = other333.dir_quantize_step; - dist_quantize_step_l = other333.dist_quantize_step_l; - dist_quantize_step_r = other333.dist_quantize_step_r; - landmark_dist_quantize_step_l = other333.landmark_dist_quantize_step_l; - landmark_dist_quantize_step_r = other333.landmark_dist_quantize_step_r; - dir_quantize_step_l = other333.dir_quantize_step_l; - dir_quantize_step_r = other333.dir_quantize_step_r; - coach_mode = other333.coach_mode; - coach_with_referee_mode = other333.coach_with_referee_mode; - use_old_coach_hear = other333.use_old_coach_hear; - slowness_on_top_for_left_team = other333.slowness_on_top_for_left_team; - slowness_on_top_for_right_team = other333.slowness_on_top_for_right_team; - start_goal_l = other333.start_goal_l; - start_goal_r = other333.start_goal_r; - fullstate_l = other333.fullstate_l; - fullstate_r = other333.fullstate_r; - drop_ball_time = other333.drop_ball_time; - synch_mode = other333.synch_mode; - synch_offset = other333.synch_offset; - synch_micro_sleep = other333.synch_micro_sleep; - point_to_ban = other333.point_to_ban; - point_to_duration = other333.point_to_duration; - player_port = other333.player_port; - trainer_port = other333.trainer_port; - online_coach_port = other333.online_coach_port; - verbose_mode = other333.verbose_mode; - coach_send_vi_step = other333.coach_send_vi_step; - replay_file = other333.replay_file; - landmark_file = other333.landmark_file; - send_comms = other333.send_comms; - text_logging = other333.text_logging; - game_logging = other333.game_logging; - game_log_version = other333.game_log_version; - text_log_dir = other333.text_log_dir; - game_log_dir = other333.game_log_dir; - text_log_fixed_name = other333.text_log_fixed_name; - game_log_fixed_name = other333.game_log_fixed_name; - use_text_log_fixed = other333.use_text_log_fixed; - use_game_log_fixed = other333.use_game_log_fixed; - use_text_log_dated = other333.use_text_log_dated; - use_game_log_dated = other333.use_game_log_dated; - log_date_format = other333.log_date_format; - log_times = other333.log_times; - record_message = other333.record_message; - text_log_compression = other333.text_log_compression; - game_log_compression = other333.game_log_compression; - use_profile = other333.use_profile; - tackle_dist = other333.tackle_dist; - tackle_back_dist = other333.tackle_back_dist; - tackle_width = other333.tackle_width; - tackle_exponent = other333.tackle_exponent; - tackle_cycles = other333.tackle_cycles; - tackle_power_rate = other333.tackle_power_rate; - freeform_wait_period = other333.freeform_wait_period; - freeform_send_period = other333.freeform_send_period; - free_kick_faults = other333.free_kick_faults; - back_passes = other333.back_passes; - proper_goal_kicks = other333.proper_goal_kicks; - stopped_ball_vel = other333.stopped_ball_vel; - max_goal_kicks = other333.max_goal_kicks; - clang_del_win = other333.clang_del_win; - clang_rule_win = other333.clang_rule_win; - auto_mode = other333.auto_mode; - kick_off_wait = other333.kick_off_wait; - connect_wait = other333.connect_wait; - game_over_wait = other333.game_over_wait; - team_l_start = other333.team_l_start; - team_r_start = other333.team_r_start; - keepaway_mode = other333.keepaway_mode; - keepaway_length = other333.keepaway_length; - keepaway_width = other333.keepaway_width; - keepaway_logging = other333.keepaway_logging; - keepaway_log_dir = other333.keepaway_log_dir; - keepaway_log_fixed_name = other333.keepaway_log_fixed_name; - keepaway_log_fixed = other333.keepaway_log_fixed; - keepaway_log_dated = other333.keepaway_log_dated; - keepaway_start = other333.keepaway_start; - nr_normal_halfs = other333.nr_normal_halfs; - nr_extra_halfs = other333.nr_extra_halfs; - penalty_shoot_outs = other333.penalty_shoot_outs; - pen_before_setup_wait = other333.pen_before_setup_wait; - pen_setup_wait = other333.pen_setup_wait; - pen_ready_wait = other333.pen_ready_wait; - pen_taken_wait = other333.pen_taken_wait; - pen_nr_kicks = other333.pen_nr_kicks; - pen_max_extra_kicks = other333.pen_max_extra_kicks; - pen_dist_x = other333.pen_dist_x; - pen_random_winner = other333.pen_random_winner; - pen_allow_mult_kicks = other333.pen_allow_mult_kicks; - pen_max_goalie_dist_x = other333.pen_max_goalie_dist_x; - pen_coach_moves_players = other333.pen_coach_moves_players; - module_dir = other333.module_dir; - ball_stuck_area = other333.ball_stuck_area; - coach_msg_file = other333.coach_msg_file; - max_tackle_power = other333.max_tackle_power; - max_back_tackle_power = other333.max_back_tackle_power; - player_speed_max_min = other333.player_speed_max_min; - extra_stamina = other333.extra_stamina; - synch_see_offset = other333.synch_see_offset; - extra_half_time = other333.extra_half_time; - stamina_capacity = other333.stamina_capacity; - max_dash_angle = other333.max_dash_angle; - min_dash_angle = other333.min_dash_angle; - dash_angle_step = other333.dash_angle_step; - side_dash_rate = other333.side_dash_rate; - back_dash_rate = other333.back_dash_rate; - max_dash_power = other333.max_dash_power; - min_dash_power = other333.min_dash_power; - tackle_rand_factor = other333.tackle_rand_factor; - foul_detect_probability = other333.foul_detect_probability; - foul_exponent = other333.foul_exponent; - foul_cycles = other333.foul_cycles; - golden_goal = other333.golden_goal; - red_card_probability = other333.red_card_probability; - illegal_defense_duration = other333.illegal_defense_duration; - illegal_defense_number = other333.illegal_defense_number; - illegal_defense_dist_x = other333.illegal_defense_dist_x; - illegal_defense_width = other333.illegal_defense_width; - fixed_teamname_l = other333.fixed_teamname_l; - fixed_teamname_r = other333.fixed_teamname_r; - max_catch_angle = other333.max_catch_angle; - min_catch_angle = other333.min_catch_angle; - random_seed = other333.random_seed; - long_kick_power_factor = other333.long_kick_power_factor; - long_kick_delay = other333.long_kick_delay; - max_monitors = other333.max_monitors; - catchable_area = other333.catchable_area; - real_speed_max = other333.real_speed_max; - pitch_half_length = other333.pitch_half_length; - pitch_half_width = other333.pitch_half_width; - our_penalty_area_line_x = other333.our_penalty_area_line_x; - their_penalty_area_line_x = other333.their_penalty_area_line_x; - penalty_area_half_width = other333.penalty_area_half_width; - penalty_area_length = other333.penalty_area_length; - goal_width = other333.goal_width; - __isset = other333.__isset; -} -ServerParam& ServerParam::operator=(const ServerParam& other334) { +ServerParam::ServerParam(const ServerParam& other334) { register_response = other334.register_response; inertia_moment = other334.inertia_moment; player_size = other334.player_size; @@ -22780,6 +22608,231 @@ ServerParam& ServerParam::operator=(const ServerParam& other334) { penalty_area_length = other334.penalty_area_length; goal_width = other334.goal_width; __isset = other334.__isset; +} +ServerParam& ServerParam::operator=(const ServerParam& other335) { + register_response = other335.register_response; + inertia_moment = other335.inertia_moment; + player_size = other335.player_size; + player_decay = other335.player_decay; + player_rand = other335.player_rand; + player_weight = other335.player_weight; + player_speed_max = other335.player_speed_max; + player_accel_max = other335.player_accel_max; + stamina_max = other335.stamina_max; + stamina_inc_max = other335.stamina_inc_max; + recover_init = other335.recover_init; + recover_dec_thr = other335.recover_dec_thr; + recover_min = other335.recover_min; + recover_dec = other335.recover_dec; + effort_init = other335.effort_init; + effort_dec_thr = other335.effort_dec_thr; + effort_min = other335.effort_min; + effort_dec = other335.effort_dec; + effort_inc_thr = other335.effort_inc_thr; + effort_inc = other335.effort_inc; + kick_rand = other335.kick_rand; + team_actuator_noise = other335.team_actuator_noise; + player_rand_factor_l = other335.player_rand_factor_l; + player_rand_factor_r = other335.player_rand_factor_r; + kick_rand_factor_l = other335.kick_rand_factor_l; + kick_rand_factor_r = other335.kick_rand_factor_r; + ball_size = other335.ball_size; + ball_decay = other335.ball_decay; + ball_rand = other335.ball_rand; + ball_weight = other335.ball_weight; + ball_speed_max = other335.ball_speed_max; + ball_accel_max = other335.ball_accel_max; + dash_power_rate = other335.dash_power_rate; + kick_power_rate = other335.kick_power_rate; + kickable_margin = other335.kickable_margin; + control_radius = other335.control_radius; + control_radius_width = other335.control_radius_width; + max_power = other335.max_power; + min_power = other335.min_power; + max_moment = other335.max_moment; + min_moment = other335.min_moment; + max_neck_moment = other335.max_neck_moment; + min_neck_moment = other335.min_neck_moment; + max_neck_angle = other335.max_neck_angle; + min_neck_angle = other335.min_neck_angle; + visible_angle = other335.visible_angle; + visible_distance = other335.visible_distance; + wind_dir = other335.wind_dir; + wind_force = other335.wind_force; + wind_angle = other335.wind_angle; + wind_rand = other335.wind_rand; + kickable_area = other335.kickable_area; + catch_area_l = other335.catch_area_l; + catch_area_w = other335.catch_area_w; + catch_probability = other335.catch_probability; + goalie_max_moves = other335.goalie_max_moves; + corner_kick_margin = other335.corner_kick_margin; + offside_active_area_size = other335.offside_active_area_size; + wind_none = other335.wind_none; + use_wind_random = other335.use_wind_random; + coach_say_count_max = other335.coach_say_count_max; + coach_say_msg_size = other335.coach_say_msg_size; + clang_win_size = other335.clang_win_size; + clang_define_win = other335.clang_define_win; + clang_meta_win = other335.clang_meta_win; + clang_advice_win = other335.clang_advice_win; + clang_info_win = other335.clang_info_win; + clang_mess_delay = other335.clang_mess_delay; + clang_mess_per_cycle = other335.clang_mess_per_cycle; + half_time = other335.half_time; + simulator_step = other335.simulator_step; + send_step = other335.send_step; + recv_step = other335.recv_step; + sense_body_step = other335.sense_body_step; + lcm_step = other335.lcm_step; + player_say_msg_size = other335.player_say_msg_size; + player_hear_max = other335.player_hear_max; + player_hear_inc = other335.player_hear_inc; + player_hear_decay = other335.player_hear_decay; + catch_ban_cycle = other335.catch_ban_cycle; + slow_down_factor = other335.slow_down_factor; + use_offside = other335.use_offside; + kickoff_offside = other335.kickoff_offside; + offside_kick_margin = other335.offside_kick_margin; + audio_cut_dist = other335.audio_cut_dist; + dist_quantize_step = other335.dist_quantize_step; + landmark_dist_quantize_step = other335.landmark_dist_quantize_step; + dir_quantize_step = other335.dir_quantize_step; + dist_quantize_step_l = other335.dist_quantize_step_l; + dist_quantize_step_r = other335.dist_quantize_step_r; + landmark_dist_quantize_step_l = other335.landmark_dist_quantize_step_l; + landmark_dist_quantize_step_r = other335.landmark_dist_quantize_step_r; + dir_quantize_step_l = other335.dir_quantize_step_l; + dir_quantize_step_r = other335.dir_quantize_step_r; + coach_mode = other335.coach_mode; + coach_with_referee_mode = other335.coach_with_referee_mode; + use_old_coach_hear = other335.use_old_coach_hear; + slowness_on_top_for_left_team = other335.slowness_on_top_for_left_team; + slowness_on_top_for_right_team = other335.slowness_on_top_for_right_team; + start_goal_l = other335.start_goal_l; + start_goal_r = other335.start_goal_r; + fullstate_l = other335.fullstate_l; + fullstate_r = other335.fullstate_r; + drop_ball_time = other335.drop_ball_time; + synch_mode = other335.synch_mode; + synch_offset = other335.synch_offset; + synch_micro_sleep = other335.synch_micro_sleep; + point_to_ban = other335.point_to_ban; + point_to_duration = other335.point_to_duration; + player_port = other335.player_port; + trainer_port = other335.trainer_port; + online_coach_port = other335.online_coach_port; + verbose_mode = other335.verbose_mode; + coach_send_vi_step = other335.coach_send_vi_step; + replay_file = other335.replay_file; + landmark_file = other335.landmark_file; + send_comms = other335.send_comms; + text_logging = other335.text_logging; + game_logging = other335.game_logging; + game_log_version = other335.game_log_version; + text_log_dir = other335.text_log_dir; + game_log_dir = other335.game_log_dir; + text_log_fixed_name = other335.text_log_fixed_name; + game_log_fixed_name = other335.game_log_fixed_name; + use_text_log_fixed = other335.use_text_log_fixed; + use_game_log_fixed = other335.use_game_log_fixed; + use_text_log_dated = other335.use_text_log_dated; + use_game_log_dated = other335.use_game_log_dated; + log_date_format = other335.log_date_format; + log_times = other335.log_times; + record_message = other335.record_message; + text_log_compression = other335.text_log_compression; + game_log_compression = other335.game_log_compression; + use_profile = other335.use_profile; + tackle_dist = other335.tackle_dist; + tackle_back_dist = other335.tackle_back_dist; + tackle_width = other335.tackle_width; + tackle_exponent = other335.tackle_exponent; + tackle_cycles = other335.tackle_cycles; + tackle_power_rate = other335.tackle_power_rate; + freeform_wait_period = other335.freeform_wait_period; + freeform_send_period = other335.freeform_send_period; + free_kick_faults = other335.free_kick_faults; + back_passes = other335.back_passes; + proper_goal_kicks = other335.proper_goal_kicks; + stopped_ball_vel = other335.stopped_ball_vel; + max_goal_kicks = other335.max_goal_kicks; + clang_del_win = other335.clang_del_win; + clang_rule_win = other335.clang_rule_win; + auto_mode = other335.auto_mode; + kick_off_wait = other335.kick_off_wait; + connect_wait = other335.connect_wait; + game_over_wait = other335.game_over_wait; + team_l_start = other335.team_l_start; + team_r_start = other335.team_r_start; + keepaway_mode = other335.keepaway_mode; + keepaway_length = other335.keepaway_length; + keepaway_width = other335.keepaway_width; + keepaway_logging = other335.keepaway_logging; + keepaway_log_dir = other335.keepaway_log_dir; + keepaway_log_fixed_name = other335.keepaway_log_fixed_name; + keepaway_log_fixed = other335.keepaway_log_fixed; + keepaway_log_dated = other335.keepaway_log_dated; + keepaway_start = other335.keepaway_start; + nr_normal_halfs = other335.nr_normal_halfs; + nr_extra_halfs = other335.nr_extra_halfs; + penalty_shoot_outs = other335.penalty_shoot_outs; + pen_before_setup_wait = other335.pen_before_setup_wait; + pen_setup_wait = other335.pen_setup_wait; + pen_ready_wait = other335.pen_ready_wait; + pen_taken_wait = other335.pen_taken_wait; + pen_nr_kicks = other335.pen_nr_kicks; + pen_max_extra_kicks = other335.pen_max_extra_kicks; + pen_dist_x = other335.pen_dist_x; + pen_random_winner = other335.pen_random_winner; + pen_allow_mult_kicks = other335.pen_allow_mult_kicks; + pen_max_goalie_dist_x = other335.pen_max_goalie_dist_x; + pen_coach_moves_players = other335.pen_coach_moves_players; + module_dir = other335.module_dir; + ball_stuck_area = other335.ball_stuck_area; + coach_msg_file = other335.coach_msg_file; + max_tackle_power = other335.max_tackle_power; + max_back_tackle_power = other335.max_back_tackle_power; + player_speed_max_min = other335.player_speed_max_min; + extra_stamina = other335.extra_stamina; + synch_see_offset = other335.synch_see_offset; + extra_half_time = other335.extra_half_time; + stamina_capacity = other335.stamina_capacity; + max_dash_angle = other335.max_dash_angle; + min_dash_angle = other335.min_dash_angle; + dash_angle_step = other335.dash_angle_step; + side_dash_rate = other335.side_dash_rate; + back_dash_rate = other335.back_dash_rate; + max_dash_power = other335.max_dash_power; + min_dash_power = other335.min_dash_power; + tackle_rand_factor = other335.tackle_rand_factor; + foul_detect_probability = other335.foul_detect_probability; + foul_exponent = other335.foul_exponent; + foul_cycles = other335.foul_cycles; + golden_goal = other335.golden_goal; + red_card_probability = other335.red_card_probability; + illegal_defense_duration = other335.illegal_defense_duration; + illegal_defense_number = other335.illegal_defense_number; + illegal_defense_dist_x = other335.illegal_defense_dist_x; + illegal_defense_width = other335.illegal_defense_width; + fixed_teamname_l = other335.fixed_teamname_l; + fixed_teamname_r = other335.fixed_teamname_r; + max_catch_angle = other335.max_catch_angle; + min_catch_angle = other335.min_catch_angle; + random_seed = other335.random_seed; + long_kick_power_factor = other335.long_kick_power_factor; + long_kick_delay = other335.long_kick_delay; + max_monitors = other335.max_monitors; + catchable_area = other335.catchable_area; + real_speed_max = other335.real_speed_max; + pitch_half_length = other335.pitch_half_length; + pitch_half_width = other335.pitch_half_width; + our_penalty_area_line_x = other335.our_penalty_area_line_x; + their_penalty_area_line_x = other335.their_penalty_area_line_x; + penalty_area_half_width = other335.penalty_area_half_width; + penalty_area_length = other335.penalty_area_length; + goal_width = other335.goal_width; + __isset = other335.__isset; return *this; } void ServerParam::printTo(std::ostream& out) const { @@ -23579,40 +23632,7 @@ void swap(PlayerParam &a, PlayerParam &b) { swap(a.__isset, b.__isset); } -PlayerParam::PlayerParam(const PlayerParam& other335) { - register_response = other335.register_response; - player_types = other335.player_types; - subs_max = other335.subs_max; - pt_max = other335.pt_max; - allow_mult_default_type = other335.allow_mult_default_type; - player_speed_max_delta_min = other335.player_speed_max_delta_min; - player_speed_max_delta_max = other335.player_speed_max_delta_max; - stamina_inc_max_delta_factor = other335.stamina_inc_max_delta_factor; - player_decay_delta_min = other335.player_decay_delta_min; - player_decay_delta_max = other335.player_decay_delta_max; - inertia_moment_delta_factor = other335.inertia_moment_delta_factor; - dash_power_rate_delta_min = other335.dash_power_rate_delta_min; - dash_power_rate_delta_max = other335.dash_power_rate_delta_max; - player_size_delta_factor = other335.player_size_delta_factor; - kickable_margin_delta_min = other335.kickable_margin_delta_min; - kickable_margin_delta_max = other335.kickable_margin_delta_max; - kick_rand_delta_factor = other335.kick_rand_delta_factor; - extra_stamina_delta_min = other335.extra_stamina_delta_min; - extra_stamina_delta_max = other335.extra_stamina_delta_max; - effort_max_delta_factor = other335.effort_max_delta_factor; - effort_min_delta_factor = other335.effort_min_delta_factor; - random_seed = other335.random_seed; - new_dash_power_rate_delta_min = other335.new_dash_power_rate_delta_min; - new_dash_power_rate_delta_max = other335.new_dash_power_rate_delta_max; - new_stamina_inc_max_delta_factor = other335.new_stamina_inc_max_delta_factor; - kick_power_rate_delta_min = other335.kick_power_rate_delta_min; - kick_power_rate_delta_max = other335.kick_power_rate_delta_max; - foul_detect_probability_delta_factor = other335.foul_detect_probability_delta_factor; - catchable_area_l_stretch_min = other335.catchable_area_l_stretch_min; - catchable_area_l_stretch_max = other335.catchable_area_l_stretch_max; - __isset = other335.__isset; -} -PlayerParam& PlayerParam::operator=(const PlayerParam& other336) { +PlayerParam::PlayerParam(const PlayerParam& other336) { register_response = other336.register_response; player_types = other336.player_types; subs_max = other336.subs_max; @@ -23644,6 +23664,39 @@ PlayerParam& PlayerParam::operator=(const PlayerParam& other336) { catchable_area_l_stretch_min = other336.catchable_area_l_stretch_min; catchable_area_l_stretch_max = other336.catchable_area_l_stretch_max; __isset = other336.__isset; +} +PlayerParam& PlayerParam::operator=(const PlayerParam& other337) { + register_response = other337.register_response; + player_types = other337.player_types; + subs_max = other337.subs_max; + pt_max = other337.pt_max; + allow_mult_default_type = other337.allow_mult_default_type; + player_speed_max_delta_min = other337.player_speed_max_delta_min; + player_speed_max_delta_max = other337.player_speed_max_delta_max; + stamina_inc_max_delta_factor = other337.stamina_inc_max_delta_factor; + player_decay_delta_min = other337.player_decay_delta_min; + player_decay_delta_max = other337.player_decay_delta_max; + inertia_moment_delta_factor = other337.inertia_moment_delta_factor; + dash_power_rate_delta_min = other337.dash_power_rate_delta_min; + dash_power_rate_delta_max = other337.dash_power_rate_delta_max; + player_size_delta_factor = other337.player_size_delta_factor; + kickable_margin_delta_min = other337.kickable_margin_delta_min; + kickable_margin_delta_max = other337.kickable_margin_delta_max; + kick_rand_delta_factor = other337.kick_rand_delta_factor; + extra_stamina_delta_min = other337.extra_stamina_delta_min; + extra_stamina_delta_max = other337.extra_stamina_delta_max; + effort_max_delta_factor = other337.effort_max_delta_factor; + effort_min_delta_factor = other337.effort_min_delta_factor; + random_seed = other337.random_seed; + new_dash_power_rate_delta_min = other337.new_dash_power_rate_delta_min; + new_dash_power_rate_delta_max = other337.new_dash_power_rate_delta_max; + new_stamina_inc_max_delta_factor = other337.new_stamina_inc_max_delta_factor; + kick_power_rate_delta_min = other337.kick_power_rate_delta_min; + kick_power_rate_delta_max = other337.kick_power_rate_delta_max; + foul_detect_probability_delta_factor = other337.foul_detect_probability_delta_factor; + catchable_area_l_stretch_min = other337.catchable_area_l_stretch_min; + catchable_area_l_stretch_max = other337.catchable_area_l_stretch_max; + __isset = other337.__isset; return *this; } void PlayerParam::printTo(std::ostream& out) const { @@ -24319,44 +24372,7 @@ void swap(PlayerType &a, PlayerType &b) { swap(a.__isset, b.__isset); } -PlayerType::PlayerType(const PlayerType& other337) { - register_response = other337.register_response; - id = other337.id; - stamina_inc_max = other337.stamina_inc_max; - player_decay = other337.player_decay; - inertia_moment = other337.inertia_moment; - dash_power_rate = other337.dash_power_rate; - player_size = other337.player_size; - kickable_margin = other337.kickable_margin; - kick_rand = other337.kick_rand; - extra_stamina = other337.extra_stamina; - effort_max = other337.effort_max; - effort_min = other337.effort_min; - kick_power_rate = other337.kick_power_rate; - foul_detect_probability = other337.foul_detect_probability; - catchable_area_l_stretch = other337.catchable_area_l_stretch; - unum_far_length = other337.unum_far_length; - unum_too_far_length = other337.unum_too_far_length; - team_far_length = other337.team_far_length; - team_too_far_length = other337.team_too_far_length; - player_max_observation_length = other337.player_max_observation_length; - ball_vel_far_length = other337.ball_vel_far_length; - ball_vel_too_far_length = other337.ball_vel_too_far_length; - ball_max_observation_length = other337.ball_max_observation_length; - flag_chg_far_length = other337.flag_chg_far_length; - flag_chg_too_far_length = other337.flag_chg_too_far_length; - flag_max_observation_length = other337.flag_max_observation_length; - kickable_area = other337.kickable_area; - reliable_catchable_dist = other337.reliable_catchable_dist; - max_catchable_dist = other337.max_catchable_dist; - real_speed_max = other337.real_speed_max; - player_speed_max2 = other337.player_speed_max2; - real_speed_max2 = other337.real_speed_max2; - cycles_to_reach_max_speed = other337.cycles_to_reach_max_speed; - player_speed_max = other337.player_speed_max; - __isset = other337.__isset; -} -PlayerType& PlayerType::operator=(const PlayerType& other338) { +PlayerType::PlayerType(const PlayerType& other338) { register_response = other338.register_response; id = other338.id; stamina_inc_max = other338.stamina_inc_max; @@ -24392,6 +24408,43 @@ PlayerType& PlayerType::operator=(const PlayerType& other338) { cycles_to_reach_max_speed = other338.cycles_to_reach_max_speed; player_speed_max = other338.player_speed_max; __isset = other338.__isset; +} +PlayerType& PlayerType::operator=(const PlayerType& other339) { + register_response = other339.register_response; + id = other339.id; + stamina_inc_max = other339.stamina_inc_max; + player_decay = other339.player_decay; + inertia_moment = other339.inertia_moment; + dash_power_rate = other339.dash_power_rate; + player_size = other339.player_size; + kickable_margin = other339.kickable_margin; + kick_rand = other339.kick_rand; + extra_stamina = other339.extra_stamina; + effort_max = other339.effort_max; + effort_min = other339.effort_min; + kick_power_rate = other339.kick_power_rate; + foul_detect_probability = other339.foul_detect_probability; + catchable_area_l_stretch = other339.catchable_area_l_stretch; + unum_far_length = other339.unum_far_length; + unum_too_far_length = other339.unum_too_far_length; + team_far_length = other339.team_far_length; + team_too_far_length = other339.team_too_far_length; + player_max_observation_length = other339.player_max_observation_length; + ball_vel_far_length = other339.ball_vel_far_length; + ball_vel_too_far_length = other339.ball_vel_too_far_length; + ball_max_observation_length = other339.ball_max_observation_length; + flag_chg_far_length = other339.flag_chg_far_length; + flag_chg_too_far_length = other339.flag_chg_too_far_length; + flag_max_observation_length = other339.flag_max_observation_length; + kickable_area = other339.kickable_area; + reliable_catchable_dist = other339.reliable_catchable_dist; + max_catchable_dist = other339.max_catchable_dist; + real_speed_max = other339.real_speed_max; + player_speed_max2 = other339.player_speed_max2; + real_speed_max2 = other339.real_speed_max2; + cycles_to_reach_max_speed = other339.cycles_to_reach_max_speed; + player_speed_max = other339.player_speed_max; + __isset = other339.__isset; return *this; } void PlayerType::printTo(std::ostream& out) const { @@ -24532,9 +24585,9 @@ uint32_t RpcCooperativeAction::read(::apache::thrift::protocol::TProtocol* iprot { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast339; - xfer += iprot->readI32(ecast339); - this->category = static_cast(ecast339); + int32_t ecast340; + xfer += iprot->readI32(ecast340); + this->category = static_cast(ecast340); this->__isset.category = true; } else { xfer += iprot->skip(ftype); @@ -24767,26 +24820,7 @@ void swap(RpcCooperativeAction &a, RpcCooperativeAction &b) { swap(a.__isset, b.__isset); } -RpcCooperativeAction::RpcCooperativeAction(const RpcCooperativeAction& other340) { - category = other340.category; - index = other340.index; - sender_unum = other340.sender_unum; - target_unum = other340.target_unum; - target_point = other340.target_point; - first_ball_speed = other340.first_ball_speed; - first_turn_moment = other340.first_turn_moment; - first_dash_power = other340.first_dash_power; - first_dash_angle_relative = other340.first_dash_angle_relative; - duration_step = other340.duration_step; - kick_count = other340.kick_count; - turn_count = other340.turn_count; - dash_count = other340.dash_count; - final_action = other340.final_action; - description = other340.description; - parent_index = other340.parent_index; - __isset = other340.__isset; -} -RpcCooperativeAction& RpcCooperativeAction::operator=(const RpcCooperativeAction& other341) { +RpcCooperativeAction::RpcCooperativeAction(const RpcCooperativeAction& other341) { category = other341.category; index = other341.index; sender_unum = other341.sender_unum; @@ -24804,6 +24838,25 @@ RpcCooperativeAction& RpcCooperativeAction::operator=(const RpcCooperativeAction description = other341.description; parent_index = other341.parent_index; __isset = other341.__isset; +} +RpcCooperativeAction& RpcCooperativeAction::operator=(const RpcCooperativeAction& other342) { + category = other342.category; + index = other342.index; + sender_unum = other342.sender_unum; + target_unum = other342.target_unum; + target_point = other342.target_point; + first_ball_speed = other342.first_ball_speed; + first_turn_moment = other342.first_turn_moment; + first_dash_power = other342.first_dash_power; + first_dash_angle_relative = other342.first_dash_angle_relative; + duration_step = other342.duration_step; + kick_count = other342.kick_count; + turn_count = other342.turn_count; + dash_count = other342.dash_count; + final_action = other342.final_action; + description = other342.description; + parent_index = other342.parent_index; + __isset = other342.__isset; return *this; } void RpcCooperativeAction::printTo(std::ostream& out) const { @@ -24989,16 +25042,7 @@ void swap(RpcPredictState &a, RpcPredictState &b) { swap(a.__isset, b.__isset); } -RpcPredictState::RpcPredictState(const RpcPredictState& other342) noexcept { - spend_time = other342.spend_time; - ball_holder_unum = other342.ball_holder_unum; - ball_position = other342.ball_position; - ball_velocity = other342.ball_velocity; - our_defense_line_x = other342.our_defense_line_x; - our_offense_line_x = other342.our_offense_line_x; - __isset = other342.__isset; -} -RpcPredictState& RpcPredictState::operator=(const RpcPredictState& other343) noexcept { +RpcPredictState::RpcPredictState(const RpcPredictState& other343) noexcept { spend_time = other343.spend_time; ball_holder_unum = other343.ball_holder_unum; ball_position = other343.ball_position; @@ -25006,6 +25050,15 @@ RpcPredictState& RpcPredictState::operator=(const RpcPredictState& other343) noe our_defense_line_x = other343.our_defense_line_x; our_offense_line_x = other343.our_offense_line_x; __isset = other343.__isset; +} +RpcPredictState& RpcPredictState::operator=(const RpcPredictState& other344) noexcept { + spend_time = other344.spend_time; + ball_holder_unum = other344.ball_holder_unum; + ball_position = other344.ball_position; + ball_velocity = other344.ball_velocity; + our_defense_line_x = other344.our_defense_line_x; + our_offense_line_x = other344.our_offense_line_x; + __isset = other344.__isset; return *this; } void RpcPredictState::printTo(std::ostream& out) const { @@ -25130,17 +25183,17 @@ void swap(RpcActionState &a, RpcActionState &b) { swap(a.__isset, b.__isset); } -RpcActionState::RpcActionState(const RpcActionState& other344) { - action = other344.action; - predict_state = other344.predict_state; - evaluation = other344.evaluation; - __isset = other344.__isset; -} -RpcActionState& RpcActionState::operator=(const RpcActionState& other345) { +RpcActionState::RpcActionState(const RpcActionState& other345) { action = other345.action; predict_state = other345.predict_state; evaluation = other345.evaluation; __isset = other345.__isset; +} +RpcActionState& RpcActionState::operator=(const RpcActionState& other346) { + action = other346.action; + predict_state = other346.predict_state; + evaluation = other346.evaluation; + __isset = other346.__isset; return *this; } void RpcActionState::printTo(std::ostream& out) const { @@ -25208,17 +25261,17 @@ uint32_t BestPlannerActionRequest::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_MAP) { { this->pairs.clear(); - uint32_t _size346; - ::apache::thrift::protocol::TType _ktype347; - ::apache::thrift::protocol::TType _vtype348; - xfer += iprot->readMapBegin(_ktype347, _vtype348, _size346); - uint32_t _i350; - for (_i350 = 0; _i350 < _size346; ++_i350) + uint32_t _size347; + ::apache::thrift::protocol::TType _ktype348; + ::apache::thrift::protocol::TType _vtype349; + xfer += iprot->readMapBegin(_ktype348, _vtype349, _size347); + uint32_t _i351; + for (_i351 = 0; _i351 < _size347; ++_i351) { - int32_t _key351; - xfer += iprot->readI32(_key351); - RpcActionState& _val352 = this->pairs[_key351]; - xfer += _val352.read(iprot); + int32_t _key352; + xfer += iprot->readI32(_key352); + RpcActionState& _val353 = this->pairs[_key352]; + xfer += _val353.read(iprot); } xfer += iprot->readMapEnd(); } @@ -25259,11 +25312,11 @@ uint32_t BestPlannerActionRequest::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("pairs", ::apache::thrift::protocol::T_MAP, 2); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I32, ::apache::thrift::protocol::T_STRUCT, static_cast(this->pairs.size())); - std::map ::const_iterator _iter353; - for (_iter353 = this->pairs.begin(); _iter353 != this->pairs.end(); ++_iter353) + std::map ::const_iterator _iter354; + for (_iter354 = this->pairs.begin(); _iter354 != this->pairs.end(); ++_iter354) { - xfer += oprot->writeI32(_iter353->first); - xfer += _iter353->second.write(oprot); + xfer += oprot->writeI32(_iter354->first); + xfer += _iter354->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -25286,17 +25339,17 @@ void swap(BestPlannerActionRequest &a, BestPlannerActionRequest &b) { swap(a.__isset, b.__isset); } -BestPlannerActionRequest::BestPlannerActionRequest(const BestPlannerActionRequest& other354) { - register_response = other354.register_response; - pairs = other354.pairs; - state = other354.state; - __isset = other354.__isset; -} -BestPlannerActionRequest& BestPlannerActionRequest::operator=(const BestPlannerActionRequest& other355) { +BestPlannerActionRequest::BestPlannerActionRequest(const BestPlannerActionRequest& other355) { register_response = other355.register_response; pairs = other355.pairs; state = other355.state; __isset = other355.__isset; +} +BestPlannerActionRequest& BestPlannerActionRequest::operator=(const BestPlannerActionRequest& other356) { + register_response = other356.register_response; + pairs = other356.pairs; + state = other356.state; + __isset = other356.__isset; return *this; } void BestPlannerActionRequest::printTo(std::ostream& out) const { @@ -25384,13 +25437,13 @@ void swap(BestPlannerActionResponse &a, BestPlannerActionResponse &b) { swap(a.__isset, b.__isset); } -BestPlannerActionResponse::BestPlannerActionResponse(const BestPlannerActionResponse& other356) noexcept { - index = other356.index; - __isset = other356.__isset; -} -BestPlannerActionResponse& BestPlannerActionResponse::operator=(const BestPlannerActionResponse& other357) noexcept { +BestPlannerActionResponse::BestPlannerActionResponse(const BestPlannerActionResponse& other357) noexcept { index = other357.index; __isset = other357.__isset; +} +BestPlannerActionResponse& BestPlannerActionResponse::operator=(const BestPlannerActionResponse& other358) noexcept { + index = other358.index; + __isset = other358.__isset; return *this; } void BestPlannerActionResponse::printTo(std::ostream& out) const { @@ -25455,11 +25508,11 @@ void swap(Empty &a, Empty &b) { (void) b; } -Empty::Empty(const Empty& other358) noexcept { - (void) other358; -} -Empty& Empty::operator=(const Empty& other359) noexcept { +Empty::Empty(const Empty& other359) noexcept { (void) other359; +} +Empty& Empty::operator=(const Empty& other360) noexcept { + (void) other360; return *this; } void Empty::printTo(std::ostream& out) const { diff --git a/src/thrift-generated/soccer_service_types.h b/src/thrift-generated/soccer_service_types.h index 5656280..0cdbfc2 100644 --- a/src/thrift-generated/soccer_service_types.h +++ b/src/thrift-generated/soccer_service_types.h @@ -96,6 +96,20 @@ std::ostream& operator<<(std::ostream& out, const LoggerLevel::type& val); std::string to_string(const LoggerLevel::type& val); +struct CardType { + enum type { + NO_CARD = 0, + YELLOW = 1, + RED = 2 + }; +}; + +extern const std::map _CardType_VALUES_TO_NAMES; + +std::ostream& operator<<(std::ostream& out, const CardType::type& val); + +std::string to_string(const CardType::type& val); + struct InterceptActionType { enum type { UNKNOWN_Intercept_Action_Type = 0, @@ -1020,7 +1034,7 @@ void swap(Player &a, Player &b); std::ostream& operator<<(std::ostream& out, const Player& obj); typedef struct _Self__isset { - _Self__isset() : position(false), seen_position(false), heard_position(false), velocity(false), seen_velocity(false), pos_count(false), seen_pos_count(false), heard_pos_count(false), vel_count(false), seen_vel_count(false), ghost_count(false), id(false), side(false), uniform_number(false), uniform_number_count(false), is_goalie(false), body_direction(false), body_direction_count(false), face_direction(false), face_direction_count(false), point_to_direction(false), point_to_direction_count(false), is_kicking(false), dist_from_ball(false), angle_from_ball(false), ball_reach_steps(false), is_tackling(false), relative_neck_direction(false), stamina(false), is_kickable(false), catch_probability(false), tackle_probability(false), foul_probability(false), view_width(false), type_id(false), kick_rate(false), recovery(false), stamina_capacity(false) {} + _Self__isset() : position(false), seen_position(false), heard_position(false), velocity(false), seen_velocity(false), pos_count(false), seen_pos_count(false), heard_pos_count(false), vel_count(false), seen_vel_count(false), ghost_count(false), id(false), side(false), uniform_number(false), uniform_number_count(false), is_goalie(false), body_direction(false), body_direction_count(false), face_direction(false), face_direction_count(false), point_to_direction(false), point_to_direction_count(false), is_kicking(false), dist_from_ball(false), angle_from_ball(false), ball_reach_steps(false), is_tackling(false), relative_neck_direction(false), stamina(false), is_kickable(false), catch_probability(false), tackle_probability(false), foul_probability(false), view_width(false), type_id(false), kick_rate(false), recovery(false), stamina_capacity(false), card(false) {} bool position :1; bool seen_position :1; bool heard_position :1; @@ -1059,6 +1073,7 @@ typedef struct _Self__isset { bool kick_rate :1; bool recovery :1; bool stamina_capacity :1; + bool card :1; } _Self__isset; class Self : public virtual ::apache::thrift::TBase { @@ -1099,7 +1114,8 @@ class Self : public virtual ::apache::thrift::TBase { type_id(0), kick_rate(0), recovery(0), - stamina_capacity(0) { + stamina_capacity(0), + card(static_cast(0)) { } virtual ~Self() noexcept; @@ -1149,6 +1165,11 @@ class Self : public virtual ::apache::thrift::TBase { double kick_rate; double recovery; double stamina_capacity; + /** + * + * @see CardType + */ + CardType::type card; _Self__isset __isset; @@ -1228,6 +1249,8 @@ class Self : public virtual ::apache::thrift::TBase { void __set_stamina_capacity(const double val); + void __set_card(const CardType::type val); + bool operator == (const Self & rhs) const { if (!(position == rhs.position)) @@ -1306,6 +1329,8 @@ class Self : public virtual ::apache::thrift::TBase { return false; if (!(stamina_capacity == rhs.stamina_capacity)) return false; + if (!(card == rhs.card)) + return false; return true; } bool operator != (const Self &rhs) const { From c21f3518a49137e788e8eaabcf887cf50c2747cf Mon Sep 17 00:00:00 2001 From: naderzare Date: Sat, 14 Sep 2024 16:03:45 -0300 Subject: [PATCH 19/21] Refactor version numbers in service.proto and soccer_service.thrift --- idl/grpc/service.proto | 2 +- idl/thrift/soccer_service.thrift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/idl/grpc/service.proto b/idl/grpc/service.proto index 35315fd..a7fbd62 100644 --- a/idl/grpc/service.proto +++ b/idl/grpc/service.proto @@ -1,4 +1,4 @@ -// version 0 +// version 1 syntax = "proto3"; diff --git a/idl/thrift/soccer_service.thrift b/idl/thrift/soccer_service.thrift index 4b58296..9013d1d 100644 --- a/idl/thrift/soccer_service.thrift +++ b/idl/thrift/soccer_service.thrift @@ -1,4 +1,4 @@ -// version 0 +// version 1 namespace cpp soccer namespace py soccer From 4f564dd73b0be5264c1e5ceb6e656f55d32271d7 Mon Sep 17 00:00:00 2001 From: naderzare Date: Sun, 15 Sep 2024 22:09:14 -0300 Subject: [PATCH 20/21] add rpc_version and rpc_server_language_type to rpc idls --- idl/grpc/service.proto | 13 + idl/thrift/soccer_service.thrift | 17 +- src/grpc-generated/service.grpc.pb.h | 2 +- src/grpc-generated/service.pb.cc | 1820 +++++----- src/grpc-generated/service.pb.h | 108 + src/thrift-generated/soccer_service_types.cpp | 3037 +++++++++-------- src/thrift-generated/soccer_service_types.h | 45 +- 7 files changed, 2693 insertions(+), 2349 deletions(-) diff --git a/idl/grpc/service.proto b/idl/grpc/service.proto index a7fbd62..e67c939 100644 --- a/idl/grpc/service.proto +++ b/idl/grpc/service.proto @@ -21,6 +21,18 @@ message RegisterRequest { AgentType agent_type = 1; string team_name = 2; int32 uniform_number = 3; + int32 rpc_version = 4; +} + +enum RpcServerLanguageType { + UNKNOWN_LANGUAGE = 0; + PYThON = 1; + JAVA = 2; + CPP = 3; + CSHARP = 4; + RUBY = 5; + JAVE_SCRIPT = 6; + GO = 7; } message RegisterResponse { @@ -28,6 +40,7 @@ message RegisterResponse { AgentType agent_type = 2; string team_name = 3; int32 uniform_number = 4; + RpcServerLanguageType rpc_server_language_type = 5; } message Ball { diff --git a/idl/thrift/soccer_service.thrift b/idl/thrift/soccer_service.thrift index 9013d1d..f4f989e 100644 --- a/idl/thrift/soccer_service.thrift +++ b/idl/thrift/soccer_service.thrift @@ -25,14 +25,27 @@ struct RpcVector2D { struct RegisterRequest { 1: AgentType agent_type, 2: string team_name, - 3: i32 uniform_number + 3: i32 uniform_number, + 4: i32 rpc_version +} + +enum RpcServerLanguageType { + UNKNOWN_LANGUAGE = 0; + PYThON = 1; + JAVA = 2; + CPP = 3; + CSHARP = 4; + RUBY = 5; + JAVE_SCRIPT = 6; + GO = 7; } struct RegisterResponse { 1: i32 client_id 2: AgentType agent_type, 3: string team_name, - 4: i32 uniform_number + 4: i32 uniform_number, + 5: RpcServerLanguageType rpc_server_language_type } struct Ball { diff --git a/src/grpc-generated/service.grpc.pb.h b/src/grpc-generated/service.grpc.pb.h index 61a735f..f57661c 100644 --- a/src/grpc-generated/service.grpc.pb.h +++ b/src/grpc-generated/service.grpc.pb.h @@ -2,7 +2,7 @@ // If you make any local change, they will be lost. // source: service.proto // Original file comments: -// version 0 +// version 1 // #ifndef GRPC_service_2eproto__INCLUDED #define GRPC_service_2eproto__INCLUDED diff --git a/src/grpc-generated/service.pb.cc b/src/grpc-generated/service.pb.cc index d20afff..7afca2f 100644 --- a/src/grpc-generated/service.pb.cc +++ b/src/grpc-generated/service.pb.cc @@ -52,6 +52,8 @@ PROTOBUF_CONSTEXPR RegisterRequest::RegisterRequest( , /*decltype(_impl_.uniform_number_)*/ 0 + , /*decltype(_impl_.rpc_version_)*/ 0 + , /*decltype(_impl_._cached_size_)*/{}} {} struct RegisterRequestDefaultTypeInternal { PROTOBUF_CONSTEXPR RegisterRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} @@ -76,6 +78,8 @@ PROTOBUF_CONSTEXPR RegisterResponse::RegisterResponse( , /*decltype(_impl_.uniform_number_)*/ 0 + , /*decltype(_impl_.rpc_server_language_type_)*/ 0 + , /*decltype(_impl_._cached_size_)*/{}} {} struct RegisterResponseDefaultTypeInternal { PROTOBUF_CONSTEXPR RegisterResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} @@ -3219,7 +3223,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EmptyDefaultTypeInternal _Empty_default_instance_; } // namespace protos static ::_pb::Metadata file_level_metadata_service_2eproto[134]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_service_2eproto[8]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_service_2eproto[9]; static constexpr const ::_pb::ServiceDescriptor** file_level_service_descriptors_service_2eproto = nullptr; const ::uint32_t TableStruct_service_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE( @@ -3247,6 +3251,7 @@ const ::uint32_t TableStruct_service_2eproto::offsets[] PROTOBUF_SECTION_VARIABL PROTOBUF_FIELD_OFFSET(::protos::RegisterRequest, _impl_.agent_type_), PROTOBUF_FIELD_OFFSET(::protos::RegisterRequest, _impl_.team_name_), PROTOBUF_FIELD_OFFSET(::protos::RegisterRequest, _impl_.uniform_number_), + PROTOBUF_FIELD_OFFSET(::protos::RegisterRequest, _impl_.rpc_version_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::protos::RegisterResponse, _internal_metadata_), ~0u, // no _extensions_ @@ -3259,6 +3264,7 @@ const ::uint32_t TableStruct_service_2eproto::offsets[] PROTOBUF_SECTION_VARIABL PROTOBUF_FIELD_OFFSET(::protos::RegisterResponse, _impl_.agent_type_), PROTOBUF_FIELD_OFFSET(::protos::RegisterResponse, _impl_.team_name_), PROTOBUF_FIELD_OFFSET(::protos::RegisterResponse, _impl_.uniform_number_), + PROTOBUF_FIELD_OFFSET(::protos::RegisterResponse, _impl_.rpc_server_language_type_), PROTOBUF_FIELD_OFFSET(::protos::Ball, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::protos::Ball, _internal_metadata_), ~0u, // no _extensions_ @@ -5670,138 +5676,138 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, -1, sizeof(::protos::RpcVector2D)}, { 12, -1, -1, sizeof(::protos::RegisterRequest)}, - { 23, -1, -1, sizeof(::protos::RegisterResponse)}, - { 35, 60, -1, sizeof(::protos::Ball)}, - { 77, 115, -1, sizeof(::protos::Player)}, - { 145, 192, -1, sizeof(::protos::Self)}, - { 231, 249, -1, sizeof(::protos::InterceptInfo)}, - { 259, -1, -1, sizeof(::protos::InterceptTable)}, - { 277, 287, -1, sizeof(::protos::WorldModel_OurPlayersDictEntry_DoNotUse)}, - { 289, 299, -1, sizeof(::protos::WorldModel_TheirPlayersDictEntry_DoNotUse)}, - { 301, 311, -1, sizeof(::protos::WorldModel_HeliosHomePositionsEntry_DoNotUse)}, - { 313, 356, -1, sizeof(::protos::WorldModel)}, - { 391, 403, -1, sizeof(::protos::State)}, - { 407, 417, -1, sizeof(::protos::InitMessage)}, - { 419, -1, -1, sizeof(::protos::Dash)}, - { 429, -1, -1, sizeof(::protos::Turn)}, - { 438, -1, -1, sizeof(::protos::Kick)}, - { 448, -1, -1, sizeof(::protos::Tackle)}, - { 458, -1, -1, sizeof(::protos::Catch)}, - { 466, -1, -1, sizeof(::protos::Move)}, - { 476, -1, -1, sizeof(::protos::TurnNeck)}, - { 485, -1, -1, sizeof(::protos::ChangeView)}, - { 494, 504, -1, sizeof(::protos::BallMessage)}, - { 506, 518, -1, sizeof(::protos::PassMessage)}, - { 522, -1, -1, sizeof(::protos::InterceptMessage)}, - { 533, 544, -1, sizeof(::protos::GoalieMessage)}, - { 547, 560, -1, sizeof(::protos::GoalieAndPlayerMessage)}, - { 565, -1, -1, sizeof(::protos::OffsideLineMessage)}, - { 574, -1, -1, sizeof(::protos::DefenseLineMessage)}, - { 583, -1, -1, sizeof(::protos::WaitRequestMessage)}, - { 591, -1, -1, sizeof(::protos::SetplayMessage)}, - { 600, 609, -1, sizeof(::protos::PassRequestMessage)}, - { 610, -1, -1, sizeof(::protos::StaminaMessage)}, - { 619, -1, -1, sizeof(::protos::RecoveryMessage)}, - { 628, -1, -1, sizeof(::protos::StaminaCapacityMessage)}, - { 637, 647, -1, sizeof(::protos::DribbleMessage)}, - { 649, 661, -1, sizeof(::protos::BallGoalieMessage)}, - { 665, 675, -1, sizeof(::protos::OnePlayerMessage)}, - { 677, 689, -1, sizeof(::protos::TwoPlayerMessage)}, - { 693, 707, -1, sizeof(::protos::ThreePlayerMessage)}, - { 713, 724, -1, sizeof(::protos::SelfMessage)}, - { 727, 738, -1, sizeof(::protos::TeammateMessage)}, - { 741, 752, -1, sizeof(::protos::OpponentMessage)}, - { 755, 768, -1, sizeof(::protos::BallPlayerMessage)}, - { 773, -1, -1, sizeof(::protos::Say)}, - { 804, -1, -1, sizeof(::protos::PointTo)}, - { 814, -1, -1, sizeof(::protos::PointToOf)}, - { 822, -1, -1, sizeof(::protos::AttentionTo)}, - { 832, -1, -1, sizeof(::protos::AttentionToOf)}, - { 840, -1, -1, sizeof(::protos::AddText)}, - { 850, 861, -1, sizeof(::protos::AddPoint)}, - { 864, 876, -1, sizeof(::protos::AddLine)}, - { 880, 894, -1, sizeof(::protos::AddArc)}, - { 900, 913, -1, sizeof(::protos::AddCircle)}, - { 918, 932, -1, sizeof(::protos::AddTriangle)}, - { 938, -1, -1, sizeof(::protos::AddRectangle)}, - { 953, 969, -1, sizeof(::protos::AddSector)}, - { 977, 989, -1, sizeof(::protos::AddMessage)}, - { 993, -1, -1, sizeof(::protos::Log)}, - { 1011, -1, -1, sizeof(::protos::DebugClient)}, - { 1020, 1031, -1, sizeof(::protos::Body_GoToPoint)}, - { 1034, 1046, -1, sizeof(::protos::Body_SmartKick)}, - { 1050, 1059, -1, sizeof(::protos::Bhv_BeforeKickOff)}, - { 1060, -1, -1, sizeof(::protos::Bhv_BodyNeckToBall)}, - { 1068, 1077, -1, sizeof(::protos::Bhv_BodyNeckToPoint)}, - { 1078, -1, -1, sizeof(::protos::Bhv_Emergency)}, - { 1086, 1097, -1, sizeof(::protos::Bhv_GoToPointLookBall)}, - { 1100, -1, -1, sizeof(::protos::Bhv_NeckBodyToBall)}, - { 1109, 1119, -1, sizeof(::protos::Bhv_NeckBodyToPoint)}, - { 1121, -1, -1, sizeof(::protos::Bhv_ScanField)}, - { 1129, -1, -1, sizeof(::protos::Body_AdvanceBall)}, - { 1137, -1, -1, sizeof(::protos::Body_ClearBall)}, - { 1145, 1158, -1, sizeof(::protos::Body_Dribble)}, - { 1163, 1173, -1, sizeof(::protos::Body_GoToPointDodge)}, - { 1175, 1186, -1, sizeof(::protos::Body_HoldBall)}, - { 1189, 1199, -1, sizeof(::protos::Body_Intercept)}, - { 1201, 1212, -1, sizeof(::protos::Body_KickOneStep)}, - { 1215, -1, -1, sizeof(::protos::Body_StopBall)}, - { 1223, -1, -1, sizeof(::protos::Body_StopDash)}, - { 1232, 1243, -1, sizeof(::protos::Body_TackleToPoint)}, - { 1246, -1, -1, sizeof(::protos::Body_TurnToAngle)}, - { 1255, -1, -1, sizeof(::protos::Body_TurnToBall)}, - { 1264, 1274, -1, sizeof(::protos::Body_TurnToPoint)}, - { 1276, 1285, -1, sizeof(::protos::Focus_MoveToPoint)}, - { 1286, -1, -1, sizeof(::protos::Focus_Reset)}, - { 1294, -1, -1, sizeof(::protos::Neck_ScanField)}, - { 1302, -1, -1, sizeof(::protos::Neck_ScanPlayers)}, - { 1310, -1, -1, sizeof(::protos::Neck_TurnToBallAndPlayer)}, - { 1321, -1, -1, sizeof(::protos::Neck_TurnToBallOrScan)}, - { 1330, -1, -1, sizeof(::protos::Neck_TurnToBall)}, - { 1338, -1, -1, sizeof(::protos::Neck_TurnToGoalieOrScan)}, - { 1347, -1, -1, sizeof(::protos::Neck_TurnToLowConfTeammate)}, - { 1355, -1, -1, sizeof(::protos::Neck_TurnToPlayerOrScan)}, - { 1366, 1375, -1, sizeof(::protos::Neck_TurnToPoint)}, - { 1376, -1, -1, sizeof(::protos::Neck_TurnToRelative)}, - { 1385, -1, -1, sizeof(::protos::View_ChangeWidth)}, - { 1394, -1, -1, sizeof(::protos::View_Normal)}, - { 1402, -1, -1, sizeof(::protos::View_Synch)}, - { 1410, -1, -1, sizeof(::protos::View_Wide)}, - { 1418, -1, -1, sizeof(::protos::HeliosGoalie)}, - { 1426, -1, -1, sizeof(::protos::HeliosGoalieMove)}, - { 1434, -1, -1, sizeof(::protos::HeliosGoalieKick)}, - { 1442, -1, -1, sizeof(::protos::HeliosShoot)}, - { 1450, -1, -1, sizeof(::protos::HeliosOffensivePlanner)}, - { 1468, -1, -1, sizeof(::protos::HeliosBasicOffensive)}, - { 1476, -1, -1, sizeof(::protos::HeliosBasicMove)}, - { 1484, -1, -1, sizeof(::protos::HeliosSetPlay)}, - { 1492, -1, -1, sizeof(::protos::HeliosPenalty)}, - { 1500, -1, -1, sizeof(::protos::HeliosCommunicaion)}, - { 1508, -1, -1, sizeof(::protos::PlayerAction)}, - { 1581, -1, -1, sizeof(::protos::PlayerActions)}, - { 1591, -1, -1, sizeof(::protos::ChangePlayerType)}, - { 1601, -1, -1, sizeof(::protos::DoHeliosSubstitute)}, - { 1609, -1, -1, sizeof(::protos::DoHeliosSayPlayerTypes)}, - { 1617, -1, -1, sizeof(::protos::CoachAction)}, - { 1629, -1, -1, sizeof(::protos::CoachActions)}, - { 1638, -1, -1, sizeof(::protos::DoKickOff)}, - { 1646, 1656, -1, sizeof(::protos::DoMoveBall)}, - { 1658, 1670, -1, sizeof(::protos::DoMovePlayer)}, - { 1674, -1, -1, sizeof(::protos::DoRecover)}, - { 1682, -1, -1, sizeof(::protos::DoChangeMode)}, - { 1692, -1, -1, sizeof(::protos::DoChangePlayerType)}, - { 1703, -1, -1, sizeof(::protos::TrainerAction)}, - { 1718, -1, -1, sizeof(::protos::TrainerActions)}, - { 1727, 1957, -1, sizeof(::protos::ServerParam)}, - { 2179, 2217, -1, sizeof(::protos::PlayerParam)}, - { 2247, 2289, -1, sizeof(::protos::PlayerType)}, - { 2323, 2347, -1, sizeof(::protos::RpcCooperativeAction)}, - { 2363, 2377, -1, sizeof(::protos::RpcPredictState)}, - { 2383, 2394, -1, sizeof(::protos::RpcActionState)}, - { 2397, 2407, -1, sizeof(::protos::BestPlannerActionRequest_PairsEntry_DoNotUse)}, - { 2409, 2420, -1, sizeof(::protos::BestPlannerActionRequest)}, - { 2423, -1, -1, sizeof(::protos::BestPlannerActionResponse)}, - { 2432, -1, -1, sizeof(::protos::Empty)}, + { 24, -1, -1, sizeof(::protos::RegisterResponse)}, + { 37, 62, -1, sizeof(::protos::Ball)}, + { 79, 117, -1, sizeof(::protos::Player)}, + { 147, 194, -1, sizeof(::protos::Self)}, + { 233, 251, -1, sizeof(::protos::InterceptInfo)}, + { 261, -1, -1, sizeof(::protos::InterceptTable)}, + { 279, 289, -1, sizeof(::protos::WorldModel_OurPlayersDictEntry_DoNotUse)}, + { 291, 301, -1, sizeof(::protos::WorldModel_TheirPlayersDictEntry_DoNotUse)}, + { 303, 313, -1, sizeof(::protos::WorldModel_HeliosHomePositionsEntry_DoNotUse)}, + { 315, 358, -1, sizeof(::protos::WorldModel)}, + { 393, 405, -1, sizeof(::protos::State)}, + { 409, 419, -1, sizeof(::protos::InitMessage)}, + { 421, -1, -1, sizeof(::protos::Dash)}, + { 431, -1, -1, sizeof(::protos::Turn)}, + { 440, -1, -1, sizeof(::protos::Kick)}, + { 450, -1, -1, sizeof(::protos::Tackle)}, + { 460, -1, -1, sizeof(::protos::Catch)}, + { 468, -1, -1, sizeof(::protos::Move)}, + { 478, -1, -1, sizeof(::protos::TurnNeck)}, + { 487, -1, -1, sizeof(::protos::ChangeView)}, + { 496, 506, -1, sizeof(::protos::BallMessage)}, + { 508, 520, -1, sizeof(::protos::PassMessage)}, + { 524, -1, -1, sizeof(::protos::InterceptMessage)}, + { 535, 546, -1, sizeof(::protos::GoalieMessage)}, + { 549, 562, -1, sizeof(::protos::GoalieAndPlayerMessage)}, + { 567, -1, -1, sizeof(::protos::OffsideLineMessage)}, + { 576, -1, -1, sizeof(::protos::DefenseLineMessage)}, + { 585, -1, -1, sizeof(::protos::WaitRequestMessage)}, + { 593, -1, -1, sizeof(::protos::SetplayMessage)}, + { 602, 611, -1, sizeof(::protos::PassRequestMessage)}, + { 612, -1, -1, sizeof(::protos::StaminaMessage)}, + { 621, -1, -1, sizeof(::protos::RecoveryMessage)}, + { 630, -1, -1, sizeof(::protos::StaminaCapacityMessage)}, + { 639, 649, -1, sizeof(::protos::DribbleMessage)}, + { 651, 663, -1, sizeof(::protos::BallGoalieMessage)}, + { 667, 677, -1, sizeof(::protos::OnePlayerMessage)}, + { 679, 691, -1, sizeof(::protos::TwoPlayerMessage)}, + { 695, 709, -1, sizeof(::protos::ThreePlayerMessage)}, + { 715, 726, -1, sizeof(::protos::SelfMessage)}, + { 729, 740, -1, sizeof(::protos::TeammateMessage)}, + { 743, 754, -1, sizeof(::protos::OpponentMessage)}, + { 757, 770, -1, sizeof(::protos::BallPlayerMessage)}, + { 775, -1, -1, sizeof(::protos::Say)}, + { 806, -1, -1, sizeof(::protos::PointTo)}, + { 816, -1, -1, sizeof(::protos::PointToOf)}, + { 824, -1, -1, sizeof(::protos::AttentionTo)}, + { 834, -1, -1, sizeof(::protos::AttentionToOf)}, + { 842, -1, -1, sizeof(::protos::AddText)}, + { 852, 863, -1, sizeof(::protos::AddPoint)}, + { 866, 878, -1, sizeof(::protos::AddLine)}, + { 882, 896, -1, sizeof(::protos::AddArc)}, + { 902, 915, -1, sizeof(::protos::AddCircle)}, + { 920, 934, -1, sizeof(::protos::AddTriangle)}, + { 940, -1, -1, sizeof(::protos::AddRectangle)}, + { 955, 971, -1, sizeof(::protos::AddSector)}, + { 979, 991, -1, sizeof(::protos::AddMessage)}, + { 995, -1, -1, sizeof(::protos::Log)}, + { 1013, -1, -1, sizeof(::protos::DebugClient)}, + { 1022, 1033, -1, sizeof(::protos::Body_GoToPoint)}, + { 1036, 1048, -1, sizeof(::protos::Body_SmartKick)}, + { 1052, 1061, -1, sizeof(::protos::Bhv_BeforeKickOff)}, + { 1062, -1, -1, sizeof(::protos::Bhv_BodyNeckToBall)}, + { 1070, 1079, -1, sizeof(::protos::Bhv_BodyNeckToPoint)}, + { 1080, -1, -1, sizeof(::protos::Bhv_Emergency)}, + { 1088, 1099, -1, sizeof(::protos::Bhv_GoToPointLookBall)}, + { 1102, -1, -1, sizeof(::protos::Bhv_NeckBodyToBall)}, + { 1111, 1121, -1, sizeof(::protos::Bhv_NeckBodyToPoint)}, + { 1123, -1, -1, sizeof(::protos::Bhv_ScanField)}, + { 1131, -1, -1, sizeof(::protos::Body_AdvanceBall)}, + { 1139, -1, -1, sizeof(::protos::Body_ClearBall)}, + { 1147, 1160, -1, sizeof(::protos::Body_Dribble)}, + { 1165, 1175, -1, sizeof(::protos::Body_GoToPointDodge)}, + { 1177, 1188, -1, sizeof(::protos::Body_HoldBall)}, + { 1191, 1201, -1, sizeof(::protos::Body_Intercept)}, + { 1203, 1214, -1, sizeof(::protos::Body_KickOneStep)}, + { 1217, -1, -1, sizeof(::protos::Body_StopBall)}, + { 1225, -1, -1, sizeof(::protos::Body_StopDash)}, + { 1234, 1245, -1, sizeof(::protos::Body_TackleToPoint)}, + { 1248, -1, -1, sizeof(::protos::Body_TurnToAngle)}, + { 1257, -1, -1, sizeof(::protos::Body_TurnToBall)}, + { 1266, 1276, -1, sizeof(::protos::Body_TurnToPoint)}, + { 1278, 1287, -1, sizeof(::protos::Focus_MoveToPoint)}, + { 1288, -1, -1, sizeof(::protos::Focus_Reset)}, + { 1296, -1, -1, sizeof(::protos::Neck_ScanField)}, + { 1304, -1, -1, sizeof(::protos::Neck_ScanPlayers)}, + { 1312, -1, -1, sizeof(::protos::Neck_TurnToBallAndPlayer)}, + { 1323, -1, -1, sizeof(::protos::Neck_TurnToBallOrScan)}, + { 1332, -1, -1, sizeof(::protos::Neck_TurnToBall)}, + { 1340, -1, -1, sizeof(::protos::Neck_TurnToGoalieOrScan)}, + { 1349, -1, -1, sizeof(::protos::Neck_TurnToLowConfTeammate)}, + { 1357, -1, -1, sizeof(::protos::Neck_TurnToPlayerOrScan)}, + { 1368, 1377, -1, sizeof(::protos::Neck_TurnToPoint)}, + { 1378, -1, -1, sizeof(::protos::Neck_TurnToRelative)}, + { 1387, -1, -1, sizeof(::protos::View_ChangeWidth)}, + { 1396, -1, -1, sizeof(::protos::View_Normal)}, + { 1404, -1, -1, sizeof(::protos::View_Synch)}, + { 1412, -1, -1, sizeof(::protos::View_Wide)}, + { 1420, -1, -1, sizeof(::protos::HeliosGoalie)}, + { 1428, -1, -1, sizeof(::protos::HeliosGoalieMove)}, + { 1436, -1, -1, sizeof(::protos::HeliosGoalieKick)}, + { 1444, -1, -1, sizeof(::protos::HeliosShoot)}, + { 1452, -1, -1, sizeof(::protos::HeliosOffensivePlanner)}, + { 1470, -1, -1, sizeof(::protos::HeliosBasicOffensive)}, + { 1478, -1, -1, sizeof(::protos::HeliosBasicMove)}, + { 1486, -1, -1, sizeof(::protos::HeliosSetPlay)}, + { 1494, -1, -1, sizeof(::protos::HeliosPenalty)}, + { 1502, -1, -1, sizeof(::protos::HeliosCommunicaion)}, + { 1510, -1, -1, sizeof(::protos::PlayerAction)}, + { 1583, -1, -1, sizeof(::protos::PlayerActions)}, + { 1593, -1, -1, sizeof(::protos::ChangePlayerType)}, + { 1603, -1, -1, sizeof(::protos::DoHeliosSubstitute)}, + { 1611, -1, -1, sizeof(::protos::DoHeliosSayPlayerTypes)}, + { 1619, -1, -1, sizeof(::protos::CoachAction)}, + { 1631, -1, -1, sizeof(::protos::CoachActions)}, + { 1640, -1, -1, sizeof(::protos::DoKickOff)}, + { 1648, 1658, -1, sizeof(::protos::DoMoveBall)}, + { 1660, 1672, -1, sizeof(::protos::DoMovePlayer)}, + { 1676, -1, -1, sizeof(::protos::DoRecover)}, + { 1684, -1, -1, sizeof(::protos::DoChangeMode)}, + { 1694, -1, -1, sizeof(::protos::DoChangePlayerType)}, + { 1705, -1, -1, sizeof(::protos::TrainerAction)}, + { 1720, -1, -1, sizeof(::protos::TrainerActions)}, + { 1729, 1959, -1, sizeof(::protos::ServerParam)}, + { 2181, 2219, -1, sizeof(::protos::PlayerParam)}, + { 2249, 2291, -1, sizeof(::protos::PlayerType)}, + { 2325, 2349, -1, sizeof(::protos::RpcCooperativeAction)}, + { 2365, 2379, -1, sizeof(::protos::RpcPredictState)}, + { 2385, 2396, -1, sizeof(::protos::RpcActionState)}, + { 2399, 2409, -1, sizeof(::protos::BestPlannerActionRequest_PairsEntry_DoNotUse)}, + { 2411, 2422, -1, sizeof(::protos::BestPlannerActionRequest)}, + { 2425, -1, -1, sizeof(::protos::BestPlannerActionResponse)}, + { 2434, -1, -1, sizeof(::protos::Empty)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -5943,726 +5949,732 @@ static const ::_pb::Message* const file_default_instances[] = { const char descriptor_table_protodef_service_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { "\n\rservice.proto\022\006protos\"@\n\013RpcVector2D\022\t" "\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\014\n\004dist\030\003 \001(\002\022\r\n\005an" - "gle\030\004 \001(\002\"c\n\017RegisterRequest\022%\n\nagent_ty" + "gle\030\004 \001(\002\"x\n\017RegisterRequest\022%\n\nagent_ty" "pe\030\001 \001(\0162\021.protos.AgentType\022\021\n\tteam_name" - "\030\002 \001(\t\022\026\n\016uniform_number\030\003 \001(\005\"w\n\020Regist" - "erResponse\022\021\n\tclient_id\030\001 \001(\005\022%\n\nagent_t" - "ype\030\002 \001(\0162\021.protos.AgentType\022\021\n\tteam_nam" - "e\030\003 \001(\t\022\026\n\016uniform_number\030\004 \001(\005\"\230\004\n\004Ball" - "\022%\n\010position\030\001 \001(\0132\023.protos.RpcVector2D\022" - ".\n\021relative_position\030\002 \001(\0132\023.protos.RpcV" - "ector2D\022*\n\rseen_position\030\003 \001(\0132\023.protos." - "RpcVector2D\022+\n\016heard_position\030\004 \001(\0132\023.pr" - "otos.RpcVector2D\022%\n\010velocity\030\005 \001(\0132\023.pro" - "tos.RpcVector2D\022*\n\rseen_velocity\030\006 \001(\0132\023" - ".protos.RpcVector2D\022+\n\016heard_velocity\030\007 " - "\001(\0132\023.protos.RpcVector2D\022\021\n\tpos_count\030\010 " - "\001(\005\022\026\n\016seen_pos_count\030\t \001(\005\022\027\n\017heard_pos" - "_count\030\n \001(\005\022\021\n\tvel_count\030\013 \001(\005\022\026\n\016seen_" - "vel_count\030\014 \001(\005\022\027\n\017heard_vel_count\030\r \001(\005" - "\022\022\n\nlost_count\030\016 \001(\005\022\023\n\013ghost_count\030\017 \001(" - "\005\022\026\n\016dist_from_self\030\020 \001(\002\022\027\n\017angle_from_" - "self\030\021 \001(\002\"\260\006\n\006Player\022%\n\010position\030\001 \001(\0132" - "\023.protos.RpcVector2D\022*\n\rseen_position\030\002 " - "\001(\0132\023.protos.RpcVector2D\022+\n\016heard_positi" - "on\030\003 \001(\0132\023.protos.RpcVector2D\022%\n\010velocit" - "y\030\004 \001(\0132\023.protos.RpcVector2D\022*\n\rseen_vel" - "ocity\030\005 \001(\0132\023.protos.RpcVector2D\022\021\n\tpos_" - "count\030\006 \001(\005\022\026\n\016seen_pos_count\030\007 \001(\005\022\027\n\017h" - "eard_pos_count\030\010 \001(\005\022\021\n\tvel_count\030\t \001(\005\022" - "\026\n\016seen_vel_count\030\n \001(\005\022\023\n\013ghost_count\030\013" - " \001(\005\022\026\n\016dist_from_self\030\014 \001(\002\022\027\n\017angle_fr" - "om_self\030\r \001(\002\022\n\n\002id\030\016 \001(\005\022\032\n\004side\030\017 \001(\0162" - "\014.protos.Side\022\026\n\016uniform_number\030\020 \001(\005\022\034\n" - "\024uniform_number_count\030\021 \001(\005\022\021\n\tis_goalie" - "\030\022 \001(\010\022\026\n\016body_direction\030\023 \001(\002\022\034\n\024body_d" - "irection_count\030\024 \001(\005\022\026\n\016face_direction\030\025" - " \001(\002\022\034\n\024face_direction_count\030\026 \001(\005\022\032\n\022po" - "int_to_direction\030\027 \001(\002\022 \n\030point_to_direc" - "tion_count\030\030 \001(\005\022\022\n\nis_kicking\030\031 \001(\010\022\026\n\016" - "dist_from_ball\030\032 \001(\002\022\027\n\017angle_from_ball\030" - "\033 \001(\002\022\030\n\020ball_reach_steps\030\034 \001(\005\022\023\n\013is_ta" - "ckling\030\035 \001(\010\022\017\n\007type_id\030\036 \001(\005\"\233\010\n\004Self\022%" - "\n\010position\030\001 \001(\0132\023.protos.RpcVector2D\022*\n" - "\rseen_position\030\002 \001(\0132\023.protos.RpcVector2" - "D\022+\n\016heard_position\030\003 \001(\0132\023.protos.RpcVe" - "ctor2D\022%\n\010velocity\030\004 \001(\0132\023.protos.RpcVec" - "tor2D\022*\n\rseen_velocity\030\005 \001(\0132\023.protos.Rp" - "cVector2D\022\021\n\tpos_count\030\006 \001(\005\022\026\n\016seen_pos" - "_count\030\007 \001(\005\022\027\n\017heard_pos_count\030\010 \001(\005\022\021\n" - "\tvel_count\030\t \001(\005\022\026\n\016seen_vel_count\030\n \001(\005" - "\022\023\n\013ghost_count\030\013 \001(\005\022\n\n\002id\030\014 \001(\005\022\032\n\004sid" - "e\030\r \001(\0162\014.protos.Side\022\026\n\016uniform_number\030" - "\016 \001(\005\022\034\n\024uniform_number_count\030\017 \001(\005\022\021\n\ti" - "s_goalie\030\020 \001(\010\022\026\n\016body_direction\030\021 \001(\002\022\034" - "\n\024body_direction_count\030\022 \001(\005\022\026\n\016face_dir" - "ection\030\023 \001(\002\022\034\n\024face_direction_count\030\024 \001" - "(\005\022\032\n\022point_to_direction\030\025 \001(\002\022 \n\030point_" - "to_direction_count\030\026 \001(\005\022\022\n\nis_kicking\030\027" - " \001(\010\022\026\n\016dist_from_ball\030\030 \001(\002\022\027\n\017angle_fr" - "om_ball\030\031 \001(\002\022\030\n\020ball_reach_steps\030\032 \001(\005\022" - "\023\n\013is_tackling\030\033 \001(\010\022\037\n\027relative_neck_di" - "rection\030\034 \001(\002\022\017\n\007stamina\030\035 \001(\002\022\023\n\013is_kic" - "kable\030\036 \001(\010\022\031\n\021catch_probability\030\037 \001(\002\022\032" - "\n\022tackle_probability\030 \001(\002\022\030\n\020foul_proba" - "bility\030! \001(\002\022%\n\nview_width\030\" \001(\0162\021.proto" - "s.ViewWidth\022\017\n\007type_id\030# \001(\005\022\021\n\tkick_rat" - "e\030$ \001(\002\022\020\n\010recovery\030% \001(\002\022\030\n\020stamina_cap" - "acity\030& \001(\002\022\036\n\004card\030\' \001(\0162\020.protos.CardT" - "ype\"\224\002\n\rInterceptInfo\0220\n\013action_type\030\001 \001" - "(\0162\033.protos.InterceptActionType\022\022\n\nturn_" - "steps\030\002 \001(\005\022\022\n\nturn_angle\030\003 \001(\002\022\022\n\ndash_" - "steps\030\004 \001(\005\022\022\n\ndash_power\030\005 \001(\002\022\020\n\010dash_" - "dir\030\006 \001(\002\0220\n\023final_self_position\030\007 \001(\0132\023" - ".protos.RpcVector2D\022\027\n\017final_ball_dist\030\010" - " \001(\002\022\025\n\rfinal_stamina\030\t \001(\002\022\r\n\005value\030\n \001" - "(\002\"\336\002\n\016InterceptTable\022\030\n\020self_reach_step" - "s\030\001 \001(\005\022\"\n\032first_teammate_reach_steps\030\002 " - "\001(\005\022#\n\033second_teammate_reach_steps\030\003 \001(\005" - "\022\"\n\032first_opponent_reach_steps\030\004 \001(\005\022#\n\033" - "second_opponent_reach_steps\030\005 \001(\005\022\031\n\021fir" - "st_teammate_id\030\006 \001(\005\022\032\n\022second_teammate_" - "id\030\007 \001(\005\022\031\n\021first_opponent_id\030\010 \001(\005\022\032\n\022s" - "econd_opponent_id\030\t \001(\005\0222\n\023self_intercep" - "t_info\030\n \003(\0132\025.protos.InterceptInfo\"\223\013\n\n" - "WorldModel\022/\n\017intercept_table\030\001 \001(\0132\026.pr" - "otos.InterceptTable\022\025\n\rour_team_name\030\002 \001" - "(\t\022\027\n\017their_team_name\030\003 \001(\t\022\036\n\010our_side\030" - "\004 \001(\0162\014.protos.Side\022 \n\030last_set_play_sta" - "rt_time\030\005 \001(\005\022\032\n\004self\030\006 \001(\0132\014.protos.Sel" - "f\022\032\n\004ball\030\007 \001(\0132\014.protos.Ball\022!\n\tteammat" - "es\030\010 \003(\0132\016.protos.Player\022!\n\topponents\030\t " - "\003(\0132\016.protos.Player\022 \n\010unknowns\030\n \003(\0132\016." - "protos.Player\022@\n\020our_players_dict\030\013 \003(\0132" - "&.protos.WorldModel.OurPlayersDictEntry\022" - "D\n\022their_players_dict\030\014 \003(\0132(.protos.Wor" - "ldModel.TheirPlayersDictEntry\022!\n\031our_goa" - "lie_uniform_number\030\r \001(\005\022#\n\033their_goalie" - "_uniform_number\030\016 \001(\005\022\026\n\016offside_line_x\030" - "\017 \001(\002\022\033\n\023ofside_line_x_count\030\020 \001(\005\022\034\n\024ki" - "ckable_teammate_id\030\021 \001(\005\022\034\n\024kickable_opp" - "onent_id\030\022 \001(\005\022$\n\016last_kick_side\030\023 \001(\0162\014" - ".protos.Side\022\"\n\032last_kicker_uniform_numb" - "er\030\024 \001(\005\022\r\n\005cycle\030\025 \001(\005\022,\n\016game_mode_typ" - "e\030\026 \001(\0162\024.protos.GameModeType\022\027\n\017left_te" - "am_score\030\027 \001(\005\022\030\n\020right_team_score\030\030 \001(\005" - "\022\027\n\017is_our_set_play\030\031 \001(\010\022\031\n\021is_their_se" - "t_play\030\032 \001(\010\022\024\n\014stoped_cycle\030\033 \001(\005\022\026\n\016ou" - "r_team_score\030\034 \001(\005\022\030\n\020their_team_score\030\035" - " \001(\005\022\034\n\024is_penalty_kick_mode\030\036 \001(\010\022J\n\025he" - "lios_home_positions\030\037 \003(\0132+.protos.World" - "Model.HeliosHomePositionsEntry\022\032\n\022our_de" - "fense_line_x\030 \001(\001\022\034\n\024their_defense_line" - "_x\030! \001(\001\022!\n\031our_defense_player_line_x\030\" " - "\001(\001\022#\n\033their_defense_player_line_x\030# \001(\001" - "\032E\n\023OurPlayersDictEntry\022\013\n\003key\030\001 \001(\005\022\035\n\005" - "value\030\002 \001(\0132\016.protos.Player:\0028\001\032G\n\025Their" - "PlayersDictEntry\022\013\n\003key\030\001 \001(\005\022\035\n\005value\030\002" - " \001(\0132\016.protos.Player:\0028\001\032O\n\030HeliosHomePo" - "sitionsEntry\022\013\n\003key\030\001 \001(\005\022\"\n\005value\030\002 \001(\013" - "2\023.protos.RpcVector2D:\0028\001\"\254\001\n\005State\0223\n\021r" - "egister_response\030\001 \001(\0132\030.protos.Register" - "Response\022\'\n\013world_model\030\002 \001(\0132\022.protos.W" - "orldModel\022,\n\020full_world_model\030\003 \001(\0132\022.pr" - "otos.WorldModel\022\027\n\017need_preprocess\030\004 \001(\010" - "\"V\n\013InitMessage\0223\n\021register_response\030\001 \001" - "(\0132\030.protos.RegisterResponse\022\022\n\ndebug_mo" - "de\030\002 \001(\010\"1\n\004Dash\022\r\n\005power\030\001 \001(\002\022\032\n\022relat" - "ive_direction\030\002 \001(\002\"\"\n\004Turn\022\032\n\022relative_" - "direction\030\001 \001(\002\"1\n\004Kick\022\r\n\005power\030\001 \001(\002\022\032" - "\n\022relative_direction\030\002 \001(\002\",\n\006Tackle\022\024\n\014" - "power_or_dir\030\001 \001(\002\022\014\n\004foul\030\002 \001(\010\"\007\n\005Catc" - "h\"\034\n\004Move\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"\032\n\010TurnN" - "eck\022\016\n\006moment\030\001 \001(\002\"3\n\nChangeView\022%\n\nvie" - "w_width\030\001 \001(\0162\021.protos.ViewWidth\"e\n\013Ball" - "Message\022*\n\rball_position\030\001 \001(\0132\023.protos." - "RpcVector2D\022*\n\rball_velocity\030\002 \001(\0132\023.pro" - "tos.RpcVector2D\"\263\001\n\013PassMessage\022\037\n\027recei" - "ver_uniform_number\030\001 \001(\005\022+\n\016receiver_poi" - "nt\030\002 \001(\0132\023.protos.RpcVector2D\022*\n\rball_po" - "sition\030\003 \001(\0132\023.protos.RpcVector2D\022*\n\rbal" - "l_velocity\030\004 \001(\0132\023.protos.RpcVector2D\"F\n" - "\020InterceptMessage\022\013\n\003our\030\001 \001(\010\022\026\n\016unifor" - "m_number\030\002 \001(\005\022\r\n\005cycle\030\003 \001(\005\"{\n\rGoalieM" - "essage\022\035\n\025goalie_uniform_number\030\001 \001(\005\022,\n" - "\017goalie_position\030\002 \001(\0132\023.protos.RpcVecto" - "r2D\022\035\n\025goalie_body_direction\030\003 \001(\002\"\321\001\n\026G" - "oalieAndPlayerMessage\022\035\n\025goalie_uniform_" - "number\030\001 \001(\005\022,\n\017goalie_position\030\002 \001(\0132\023." - "protos.RpcVector2D\022\035\n\025goalie_body_direct" - "ion\030\003 \001(\002\022\035\n\025player_uniform_number\030\004 \001(\005" - "\022,\n\017player_position\030\005 \001(\0132\023.protos.RpcVe" - "ctor2D\",\n\022OffsideLineMessage\022\026\n\016offside_" - "line_x\030\001 \001(\002\",\n\022DefenseLineMessage\022\026\n\016de" - "fense_line_x\030\001 \001(\002\"\024\n\022WaitRequestMessage" - "\"#\n\016SetplayMessage\022\021\n\twait_step\030\001 \001(\005\"\?\n" - "\022PassRequestMessage\022)\n\014target_point\030\001 \001(" - "\0132\023.protos.RpcVector2D\"!\n\016StaminaMessage" - "\022\017\n\007stamina\030\001 \001(\002\"#\n\017RecoveryMessage\022\020\n\010" - "recovery\030\001 \001(\002\"2\n\026StaminaCapacityMessage" - "\022\030\n\020stamina_capacity\030\001 \001(\002\"P\n\016DribbleMes" - "sage\022)\n\014target_point\030\001 \001(\0132\023.protos.RpcV" - "ector2D\022\023\n\013queue_count\030\002 \001(\005\"\270\001\n\021BallGoa" - "lieMessage\022*\n\rball_position\030\001 \001(\0132\023.prot" - "os.RpcVector2D\022*\n\rball_velocity\030\002 \001(\0132\023." - "protos.RpcVector2D\022,\n\017goalie_position\030\003 " - "\001(\0132\023.protos.RpcVector2D\022\035\n\025goalie_body_" - "direction\030\004 \001(\002\"Q\n\020OnePlayerMessage\022\026\n\016u" - "niform_number\030\001 \001(\005\022%\n\010position\030\002 \001(\0132\023." - "protos.RpcVector2D\"\252\001\n\020TwoPlayerMessage\022" - "\034\n\024first_uniform_number\030\001 \001(\005\022+\n\016first_p" - "osition\030\002 \001(\0132\023.protos.RpcVector2D\022\035\n\025se" - "cond_uniform_number\030\003 \001(\005\022,\n\017second_posi" - "tion\030\004 \001(\0132\023.protos.RpcVector2D\"\367\001\n\022Thre" - "ePlayerMessage\022\034\n\024first_uniform_number\030\001" - " \001(\005\022+\n\016first_position\030\002 \001(\0132\023.protos.Rp" - "cVector2D\022\035\n\025second_uniform_number\030\003 \001(\005" - "\022,\n\017second_position\030\004 \001(\0132\023.protos.RpcVe" - "ctor2D\022\034\n\024third_uniform_number\030\005 \001(\005\022+\n\016" - "third_position\030\006 \001(\0132\023.protos.RpcVector2" - "D\"l\n\013SelfMessage\022*\n\rself_position\030\001 \001(\0132" - "\023.protos.RpcVector2D\022\033\n\023self_body_direct" - "ion\030\002 \001(\002\022\024\n\014self_stamina\030\003 \001(\002\"h\n\017Teamm" - "ateMessage\022\026\n\016uniform_number\030\001 \001(\005\022%\n\010po" - "sition\030\002 \001(\0132\023.protos.RpcVector2D\022\026\n\016bod" - "y_direction\030\003 \001(\002\"h\n\017OpponentMessage\022\026\n\016" - "uniform_number\030\001 \001(\005\022%\n\010position\030\002 \001(\0132\023" - ".protos.RpcVector2D\022\026\n\016body_direction\030\003 " - "\001(\002\"\311\001\n\021BallPlayerMessage\022*\n\rball_positi" - "on\030\001 \001(\0132\023.protos.RpcVector2D\022*\n\rball_ve" - "locity\030\002 \001(\0132\023.protos.RpcVector2D\022\026\n\016uni" - "form_number\030\003 \001(\005\022,\n\017player_position\030\004 \001" - "(\0132\023.protos.RpcVector2D\022\026\n\016body_directio" - "n\030\005 \001(\002\"\320\t\n\003Say\022+\n\014ball_message\030\001 \001(\0132\023." - "protos.BallMessageH\000\022+\n\014pass_message\030\002 \001" - "(\0132\023.protos.PassMessageH\000\0225\n\021intercept_m" - "essage\030\003 \001(\0132\030.protos.InterceptMessageH\000" - "\022/\n\016goalie_message\030\004 \001(\0132\025.protos.Goalie" - "MessageH\000\022C\n\031goalie_and_player_message\030\005" - " \001(\0132\036.protos.GoalieAndPlayerMessageH\000\022:" - "\n\024offside_line_message\030\006 \001(\0132\032.protos.Of" - "fsideLineMessageH\000\022:\n\024defense_line_messa" - "ge\030\007 \001(\0132\032.protos.DefenseLineMessageH\000\022:" - "\n\024wait_request_message\030\010 \001(\0132\032.protos.Wa" - "itRequestMessageH\000\0221\n\017setplay_message\030\t " - "\001(\0132\026.protos.SetplayMessageH\000\022:\n\024pass_re" - "quest_message\030\n \001(\0132\032.protos.PassRequest" - "MessageH\000\0221\n\017stamina_message\030\013 \001(\0132\026.pro" - "tos.StaminaMessageH\000\0223\n\020recovery_message" - "\030\014 \001(\0132\027.protos.RecoveryMessageH\000\022B\n\030sta" - "mina_capacity_message\030\r \001(\0132\036.protos.Sta" - "minaCapacityMessageH\000\0221\n\017dribble_message" - "\030\016 \001(\0132\026.protos.DribbleMessageH\000\0228\n\023ball" - "_goalie_message\030\017 \001(\0132\031.protos.BallGoali" - "eMessageH\000\0226\n\022one_player_message\030\020 \001(\0132\030" - ".protos.OnePlayerMessageH\000\0226\n\022two_player" - "_message\030\021 \001(\0132\030.protos.TwoPlayerMessage" - "H\000\022:\n\024three_player_message\030\022 \001(\0132\032.proto" - "s.ThreePlayerMessageH\000\022+\n\014self_message\030\023" - " \001(\0132\023.protos.SelfMessageH\000\0223\n\020teammate_" - "message\030\024 \001(\0132\027.protos.TeammateMessageH\000" - "\0223\n\020opponent_message\030\025 \001(\0132\027.protos.Oppo" - "nentMessageH\000\0228\n\023ball_player_message\030\026 \001" - "(\0132\031.protos.BallPlayerMessageH\000B\t\n\007messa" - "ge\"\037\n\007PointTo\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"\013\n\tP" - "ointToOf\"7\n\013AttentionTo\022\032\n\004side\030\001 \001(\0162\014." - "protos.Side\022\014\n\004unum\030\002 \001(\005\"\017\n\rAttentionTo" - "Of\">\n\007AddText\022\"\n\005level\030\001 \001(\0162\023.protos.Lo" - "ggerLevel\022\017\n\007message\030\002 \001(\t\"a\n\010AddPoint\022\"" - "\n\005level\030\001 \001(\0162\023.protos.LoggerLevel\022\"\n\005po" - "int\030\002 \001(\0132\023.protos.RpcVector2D\022\r\n\005color\030" - "\003 \001(\t\"\202\001\n\007AddLine\022\"\n\005level\030\001 \001(\0162\023.proto" - "s.LoggerLevel\022\"\n\005start\030\002 \001(\0132\023.protos.Rp" - "cVector2D\022 \n\003end\030\003 \001(\0132\023.protos.RpcVecto" - "r2D\022\r\n\005color\030\004 \001(\t\"\231\001\n\006AddArc\022\"\n\005level\030\001" - " \001(\0162\023.protos.LoggerLevel\022#\n\006center\030\002 \001(" - "\0132\023.protos.RpcVector2D\022\016\n\006radius\030\003 \001(\002\022\023" - "\n\013start_angle\030\004 \001(\002\022\022\n\nspan_angel\030\005 \001(\002\022" - "\r\n\005color\030\006 \001(\t\"\201\001\n\tAddCircle\022\"\n\005level\030\001 " - "\001(\0162\023.protos.LoggerLevel\022#\n\006center\030\002 \001(\013" - "2\023.protos.RpcVector2D\022\016\n\006radius\030\003 \001(\002\022\r\n" - "\005color\030\004 \001(\t\022\014\n\004fill\030\005 \001(\010\"\275\001\n\013AddTriang" - "le\022\"\n\005level\030\001 \001(\0162\023.protos.LoggerLevel\022#" - "\n\006point1\030\002 \001(\0132\023.protos.RpcVector2D\022#\n\006p" - "oint2\030\003 \001(\0132\023.protos.RpcVector2D\022#\n\006poin" - "t3\030\004 \001(\0132\023.protos.RpcVector2D\022\r\n\005color\030\005" - " \001(\t\022\014\n\004fill\030\006 \001(\010\"\211\001\n\014AddRectangle\022\"\n\005l" - "evel\030\001 \001(\0162\023.protos.LoggerLevel\022\014\n\004left\030" - "\002 \001(\002\022\013\n\003top\030\003 \001(\002\022\016\n\006length\030\004 \001(\002\022\r\n\005wi" - "dth\030\005 \001(\002\022\r\n\005color\030\006 \001(\t\022\014\n\004fill\030\007 \001(\010\"\302" - "\001\n\tAddSector\022\"\n\005level\030\001 \001(\0162\023.protos.Log" - "gerLevel\022#\n\006center\030\002 \001(\0132\023.protos.RpcVec" - "tor2D\022\022\n\nmin_radius\030\003 \001(\002\022\022\n\nmax_radius\030" - "\004 \001(\002\022\023\n\013start_angle\030\005 \001(\002\022\022\n\nspan_angel" - "\030\006 \001(\002\022\r\n\005color\030\007 \001(\t\022\014\n\004fill\030\010 \001(\010\"w\n\nA" - "ddMessage\022\"\n\005level\030\001 \001(\0162\023.protos.Logger" - "Level\022%\n\010position\030\002 \001(\0132\023.protos.RpcVect" - "or2D\022\017\n\007message\030\003 \001(\t\022\r\n\005color\030\004 \001(\t\"\371\002\n" - "\003Log\022#\n\010add_text\030\001 \001(\0132\017.protos.AddTextH" - "\000\022%\n\tadd_point\030\002 \001(\0132\020.protos.AddPointH\000" - "\022#\n\010add_line\030\003 \001(\0132\017.protos.AddLineH\000\022!\n" - "\007add_arc\030\004 \001(\0132\016.protos.AddArcH\000\022\'\n\nadd_" - "circle\030\005 \001(\0132\021.protos.AddCircleH\000\022+\n\014add" - "_triangle\030\006 \001(\0132\023.protos.AddTriangleH\000\022-" - "\n\radd_rectangle\030\007 \001(\0132\024.protos.AddRectan" - "gleH\000\022\'\n\nadd_sector\030\010 \001(\0132\021.protos.AddSe" - "ctorH\000\022)\n\013add_message\030\t \001(\0132\022.protos.Add" - "MessageH\000B\005\n\003log\"\036\n\013DebugClient\022\017\n\007messa" - "ge\030\001 \001(\t\"o\n\016Body_GoToPoint\022)\n\014target_poi" - "nt\030\001 \001(\0132\023.protos.RpcVector2D\022\032\n\022distanc" - "e_threshold\030\002 \001(\002\022\026\n\016max_dash_power\030\003 \001(" - "\002\"\202\001\n\016Body_SmartKick\022)\n\014target_point\030\001 \001" - "(\0132\023.protos.RpcVector2D\022\023\n\013first_speed\030\002" - " \001(\002\022\035\n\025first_speed_threshold\030\003 \001(\002\022\021\n\tm" - "ax_steps\030\004 \001(\005\"7\n\021Bhv_BeforeKickOff\022\"\n\005p" - "oint\030\001 \001(\0132\023.protos.RpcVector2D\"\024\n\022Bhv_B" - "odyNeckToBall\"9\n\023Bhv_BodyNeckToPoint\022\"\n\005" - "point\030\001 \001(\0132\023.protos.RpcVector2D\"\017\n\rBhv_" - "Emergency\"v\n\025Bhv_GoToPointLookBall\022)\n\014ta" - "rget_point\030\001 \001(\0132\023.protos.RpcVector2D\022\032\n" - "\022distance_threshold\030\002 \001(\002\022\026\n\016max_dash_po" - "wer\030\003 \001(\002\"\'\n\022Bhv_NeckBodyToBall\022\021\n\tangle" - "_buf\030\001 \001(\002\"L\n\023Bhv_NeckBodyToPoint\022\"\n\005poi" - "nt\030\001 \001(\0132\023.protos.RpcVector2D\022\021\n\tangle_b" - "uf\030\002 \001(\002\"\017\n\rBhv_ScanField\"\022\n\020Body_Advanc" - "eBall\"\020\n\016Body_ClearBall\"\214\001\n\014Body_Dribble" - "\022)\n\014target_point\030\001 \001(\0132\023.protos.RpcVecto" - "r2D\022\032\n\022distance_threshold\030\002 \001(\002\022\022\n\ndash_" - "power\030\003 \001(\002\022\022\n\ndash_count\030\004 \001(\005\022\r\n\005dodge" - "\030\005 \001(\010\"T\n\023Body_GoToPointDodge\022)\n\014target_" - "point\030\001 \001(\0132\023.protos.RpcVector2D\022\022\n\ndash" - "_power\030\002 \001(\002\"\200\001\n\rBody_HoldBall\022\017\n\007do_tur" - "n\030\001 \001(\010\022.\n\021turn_target_point\030\002 \001(\0132\023.pro" - "tos.RpcVector2D\022.\n\021kick_target_point\030\003 \001" - "(\0132\023.protos.RpcVector2D\"P\n\016Body_Intercep" - "t\022\025\n\rsave_recovery\030\001 \001(\010\022\'\n\nface_point\030\002" - " \001(\0132\023.protos.RpcVector2D\"f\n\020Body_KickOn" - "eStep\022)\n\014target_point\030\001 \001(\0132\023.protos.Rpc" - "Vector2D\022\023\n\013first_speed\030\002 \001(\002\022\022\n\nforce_m" - "ode\030\003 \001(\010\"\017\n\rBody_StopBall\"&\n\rBody_StopD" - "ash\022\025\n\rsave_recovery\030\001 \001(\010\"k\n\022Body_Tackl" - "eToPoint\022)\n\014target_point\030\001 \001(\0132\023.protos." - "RpcVector2D\022\027\n\017min_probability\030\002 \001(\002\022\021\n\t" - "min_speed\030\003 \001(\002\"!\n\020Body_TurnToAngle\022\r\n\005a" - "ngle\030\001 \001(\002\" \n\017Body_TurnToBall\022\r\n\005cycle\030\001" - " \001(\005\"L\n\020Body_TurnToPoint\022)\n\014target_point" - "\030\001 \001(\0132\023.protos.RpcVector2D\022\r\n\005cycle\030\002 \001" - "(\005\">\n\021Focus_MoveToPoint\022)\n\014target_point\030" - "\001 \001(\0132\023.protos.RpcVector2D\"\r\n\013Focus_Rese" - "t\"\020\n\016Neck_ScanField\"\022\n\020Neck_ScanPlayers\"" - "g\n\030Neck_TurnToBallAndPlayer\022\032\n\004side\030\001 \001(" - "\0162\014.protos.Side\022\026\n\016uniform_number\030\002 \001(\005\022" - "\027\n\017count_threshold\030\003 \001(\005\"0\n\025Neck_TurnToB" - "allOrScan\022\027\n\017count_threshold\030\001 \001(\005\"\021\n\017Ne" - "ck_TurnToBall\"2\n\027Neck_TurnToGoalieOrScan" - "\022\027\n\017count_threshold\030\001 \001(\005\"\034\n\032Neck_TurnTo" - "LowConfTeammate\"f\n\027Neck_TurnToPlayerOrSc" - "an\022\032\n\004side\030\001 \001(\0162\014.protos.Side\022\026\n\016unifor" - "m_number\030\002 \001(\005\022\027\n\017count_threshold\030\003 \001(\005\"" - "=\n\020Neck_TurnToPoint\022)\n\014target_point\030\001 \001(" - "\0132\023.protos.RpcVector2D\"$\n\023Neck_TurnToRel" - "ative\022\r\n\005angle\030\001 \001(\002\"9\n\020View_ChangeWidth" + "\030\002 \001(\t\022\026\n\016uniform_number\030\003 \001(\005\022\023\n\013rpc_ve" + "rsion\030\004 \001(\005\"\270\001\n\020RegisterResponse\022\021\n\tclie" + "nt_id\030\001 \001(\005\022%\n\nagent_type\030\002 \001(\0162\021.protos" + ".AgentType\022\021\n\tteam_name\030\003 \001(\t\022\026\n\016uniform" + "_number\030\004 \001(\005\022\?\n\030rpc_server_language_typ" + "e\030\005 \001(\0162\035.protos.RpcServerLanguageType\"\230" + "\004\n\004Ball\022%\n\010position\030\001 \001(\0132\023.protos.RpcVe" + "ctor2D\022.\n\021relative_position\030\002 \001(\0132\023.prot" + "os.RpcVector2D\022*\n\rseen_position\030\003 \001(\0132\023." + "protos.RpcVector2D\022+\n\016heard_position\030\004 \001" + "(\0132\023.protos.RpcVector2D\022%\n\010velocity\030\005 \001(" + "\0132\023.protos.RpcVector2D\022*\n\rseen_velocity\030" + "\006 \001(\0132\023.protos.RpcVector2D\022+\n\016heard_velo" + "city\030\007 \001(\0132\023.protos.RpcVector2D\022\021\n\tpos_c" + "ount\030\010 \001(\005\022\026\n\016seen_pos_count\030\t \001(\005\022\027\n\017he" + "ard_pos_count\030\n \001(\005\022\021\n\tvel_count\030\013 \001(\005\022\026" + "\n\016seen_vel_count\030\014 \001(\005\022\027\n\017heard_vel_coun" + "t\030\r \001(\005\022\022\n\nlost_count\030\016 \001(\005\022\023\n\013ghost_cou" + "nt\030\017 \001(\005\022\026\n\016dist_from_self\030\020 \001(\002\022\027\n\017angl" + "e_from_self\030\021 \001(\002\"\260\006\n\006Player\022%\n\010position" + "\030\001 \001(\0132\023.protos.RpcVector2D\022*\n\rseen_posi" + "tion\030\002 \001(\0132\023.protos.RpcVector2D\022+\n\016heard" + "_position\030\003 \001(\0132\023.protos.RpcVector2D\022%\n\010" + "velocity\030\004 \001(\0132\023.protos.RpcVector2D\022*\n\rs" + "een_velocity\030\005 \001(\0132\023.protos.RpcVector2D\022" + "\021\n\tpos_count\030\006 \001(\005\022\026\n\016seen_pos_count\030\007 \001" + "(\005\022\027\n\017heard_pos_count\030\010 \001(\005\022\021\n\tvel_count" + "\030\t \001(\005\022\026\n\016seen_vel_count\030\n \001(\005\022\023\n\013ghost_" + "count\030\013 \001(\005\022\026\n\016dist_from_self\030\014 \001(\002\022\027\n\017a" + "ngle_from_self\030\r \001(\002\022\n\n\002id\030\016 \001(\005\022\032\n\004side" + "\030\017 \001(\0162\014.protos.Side\022\026\n\016uniform_number\030\020" + " \001(\005\022\034\n\024uniform_number_count\030\021 \001(\005\022\021\n\tis" + "_goalie\030\022 \001(\010\022\026\n\016body_direction\030\023 \001(\002\022\034\n" + "\024body_direction_count\030\024 \001(\005\022\026\n\016face_dire" + "ction\030\025 \001(\002\022\034\n\024face_direction_count\030\026 \001(" + "\005\022\032\n\022point_to_direction\030\027 \001(\002\022 \n\030point_t" + "o_direction_count\030\030 \001(\005\022\022\n\nis_kicking\030\031 " + "\001(\010\022\026\n\016dist_from_ball\030\032 \001(\002\022\027\n\017angle_fro" + "m_ball\030\033 \001(\002\022\030\n\020ball_reach_steps\030\034 \001(\005\022\023" + "\n\013is_tackling\030\035 \001(\010\022\017\n\007type_id\030\036 \001(\005\"\233\010\n" + "\004Self\022%\n\010position\030\001 \001(\0132\023.protos.RpcVect" + "or2D\022*\n\rseen_position\030\002 \001(\0132\023.protos.Rpc" + "Vector2D\022+\n\016heard_position\030\003 \001(\0132\023.proto" + "s.RpcVector2D\022%\n\010velocity\030\004 \001(\0132\023.protos" + ".RpcVector2D\022*\n\rseen_velocity\030\005 \001(\0132\023.pr" + "otos.RpcVector2D\022\021\n\tpos_count\030\006 \001(\005\022\026\n\016s" + "een_pos_count\030\007 \001(\005\022\027\n\017heard_pos_count\030\010" + " \001(\005\022\021\n\tvel_count\030\t \001(\005\022\026\n\016seen_vel_coun" + "t\030\n \001(\005\022\023\n\013ghost_count\030\013 \001(\005\022\n\n\002id\030\014 \001(\005" + "\022\032\n\004side\030\r \001(\0162\014.protos.Side\022\026\n\016uniform_" + "number\030\016 \001(\005\022\034\n\024uniform_number_count\030\017 \001" + "(\005\022\021\n\tis_goalie\030\020 \001(\010\022\026\n\016body_direction\030" + "\021 \001(\002\022\034\n\024body_direction_count\030\022 \001(\005\022\026\n\016f" + "ace_direction\030\023 \001(\002\022\034\n\024face_direction_co" + "unt\030\024 \001(\005\022\032\n\022point_to_direction\030\025 \001(\002\022 \n" + "\030point_to_direction_count\030\026 \001(\005\022\022\n\nis_ki" + "cking\030\027 \001(\010\022\026\n\016dist_from_ball\030\030 \001(\002\022\027\n\017a" + "ngle_from_ball\030\031 \001(\002\022\030\n\020ball_reach_steps" + "\030\032 \001(\005\022\023\n\013is_tackling\030\033 \001(\010\022\037\n\027relative_" + "neck_direction\030\034 \001(\002\022\017\n\007stamina\030\035 \001(\002\022\023\n" + "\013is_kickable\030\036 \001(\010\022\031\n\021catch_probability\030" + "\037 \001(\002\022\032\n\022tackle_probability\030 \001(\002\022\030\n\020fou" + "l_probability\030! \001(\002\022%\n\nview_width\030\" \001(\0162" + "\021.protos.ViewWidth\022\017\n\007type_id\030# \001(\005\022\021\n\tk" + "ick_rate\030$ \001(\002\022\020\n\010recovery\030% \001(\002\022\030\n\020stam" + "ina_capacity\030& \001(\002\022\036\n\004card\030\' \001(\0162\020.proto" + "s.CardType\"\224\002\n\rInterceptInfo\0220\n\013action_t" + "ype\030\001 \001(\0162\033.protos.InterceptActionType\022\022" + "\n\nturn_steps\030\002 \001(\005\022\022\n\nturn_angle\030\003 \001(\002\022\022" + "\n\ndash_steps\030\004 \001(\005\022\022\n\ndash_power\030\005 \001(\002\022\020" + "\n\010dash_dir\030\006 \001(\002\0220\n\023final_self_position\030" + "\007 \001(\0132\023.protos.RpcVector2D\022\027\n\017final_ball" + "_dist\030\010 \001(\002\022\025\n\rfinal_stamina\030\t \001(\002\022\r\n\005va" + "lue\030\n \001(\002\"\336\002\n\016InterceptTable\022\030\n\020self_rea" + "ch_steps\030\001 \001(\005\022\"\n\032first_teammate_reach_s" + "teps\030\002 \001(\005\022#\n\033second_teammate_reach_step" + "s\030\003 \001(\005\022\"\n\032first_opponent_reach_steps\030\004 " + "\001(\005\022#\n\033second_opponent_reach_steps\030\005 \001(\005" + "\022\031\n\021first_teammate_id\030\006 \001(\005\022\032\n\022second_te" + "ammate_id\030\007 \001(\005\022\031\n\021first_opponent_id\030\010 \001" + "(\005\022\032\n\022second_opponent_id\030\t \001(\005\0222\n\023self_i" + "ntercept_info\030\n \003(\0132\025.protos.InterceptIn" + "fo\"\223\013\n\nWorldModel\022/\n\017intercept_table\030\001 \001" + "(\0132\026.protos.InterceptTable\022\025\n\rour_team_n" + "ame\030\002 \001(\t\022\027\n\017their_team_name\030\003 \001(\t\022\036\n\010ou" + "r_side\030\004 \001(\0162\014.protos.Side\022 \n\030last_set_p" + "lay_start_time\030\005 \001(\005\022\032\n\004self\030\006 \001(\0132\014.pro" + "tos.Self\022\032\n\004ball\030\007 \001(\0132\014.protos.Ball\022!\n\t" + "teammates\030\010 \003(\0132\016.protos.Player\022!\n\toppon" + "ents\030\t \003(\0132\016.protos.Player\022 \n\010unknowns\030\n" + " \003(\0132\016.protos.Player\022@\n\020our_players_dict" + "\030\013 \003(\0132&.protos.WorldModel.OurPlayersDic" + "tEntry\022D\n\022their_players_dict\030\014 \003(\0132(.pro" + "tos.WorldModel.TheirPlayersDictEntry\022!\n\031" + "our_goalie_uniform_number\030\r \001(\005\022#\n\033their" + "_goalie_uniform_number\030\016 \001(\005\022\026\n\016offside_" + "line_x\030\017 \001(\002\022\033\n\023ofside_line_x_count\030\020 \001(" + "\005\022\034\n\024kickable_teammate_id\030\021 \001(\005\022\034\n\024kicka" + "ble_opponent_id\030\022 \001(\005\022$\n\016last_kick_side\030" + "\023 \001(\0162\014.protos.Side\022\"\n\032last_kicker_unifo" + "rm_number\030\024 \001(\005\022\r\n\005cycle\030\025 \001(\005\022,\n\016game_m" + "ode_type\030\026 \001(\0162\024.protos.GameModeType\022\027\n\017" + "left_team_score\030\027 \001(\005\022\030\n\020right_team_scor" + "e\030\030 \001(\005\022\027\n\017is_our_set_play\030\031 \001(\010\022\031\n\021is_t" + "heir_set_play\030\032 \001(\010\022\024\n\014stoped_cycle\030\033 \001(" + "\005\022\026\n\016our_team_score\030\034 \001(\005\022\030\n\020their_team_" + "score\030\035 \001(\005\022\034\n\024is_penalty_kick_mode\030\036 \001(" + "\010\022J\n\025helios_home_positions\030\037 \003(\0132+.proto" + "s.WorldModel.HeliosHomePositionsEntry\022\032\n" + "\022our_defense_line_x\030 \001(\001\022\034\n\024their_defen" + "se_line_x\030! \001(\001\022!\n\031our_defense_player_li" + "ne_x\030\" \001(\001\022#\n\033their_defense_player_line_" + "x\030# \001(\001\032E\n\023OurPlayersDictEntry\022\013\n\003key\030\001 " + "\001(\005\022\035\n\005value\030\002 \001(\0132\016.protos.Player:\0028\001\032G" + "\n\025TheirPlayersDictEntry\022\013\n\003key\030\001 \001(\005\022\035\n\005" + "value\030\002 \001(\0132\016.protos.Player:\0028\001\032O\n\030Helio" + "sHomePositionsEntry\022\013\n\003key\030\001 \001(\005\022\"\n\005valu" + "e\030\002 \001(\0132\023.protos.RpcVector2D:\0028\001\"\254\001\n\005Sta" + "te\0223\n\021register_response\030\001 \001(\0132\030.protos.R" + "egisterResponse\022\'\n\013world_model\030\002 \001(\0132\022.p" + "rotos.WorldModel\022,\n\020full_world_model\030\003 \001" + "(\0132\022.protos.WorldModel\022\027\n\017need_preproces" + "s\030\004 \001(\010\"V\n\013InitMessage\0223\n\021register_respo" + "nse\030\001 \001(\0132\030.protos.RegisterResponse\022\022\n\nd" + "ebug_mode\030\002 \001(\010\"1\n\004Dash\022\r\n\005power\030\001 \001(\002\022\032" + "\n\022relative_direction\030\002 \001(\002\"\"\n\004Turn\022\032\n\022re" + "lative_direction\030\001 \001(\002\"1\n\004Kick\022\r\n\005power\030" + "\001 \001(\002\022\032\n\022relative_direction\030\002 \001(\002\",\n\006Tac" + "kle\022\024\n\014power_or_dir\030\001 \001(\002\022\014\n\004foul\030\002 \001(\010\"" + "\007\n\005Catch\"\034\n\004Move\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"\032" + "\n\010TurnNeck\022\016\n\006moment\030\001 \001(\002\"3\n\nChangeView" "\022%\n\nview_width\030\001 \001(\0162\021.protos.ViewWidth\"" - "\r\n\013View_Normal\"\014\n\nView_Synch\"\013\n\tView_Wid" - "e\"\016\n\014HeliosGoalie\"\022\n\020HeliosGoalieMove\"\022\n" - "\020HeliosGoalieKick\"\r\n\013HeliosShoot\"\363\001\n\026Hel" - "iosOffensivePlanner\022\023\n\013direct_pass\030\001 \001(\010" - "\022\021\n\tlead_pass\030\002 \001(\010\022\024\n\014through_pass\030\003 \001(" - "\010\022\025\n\rshort_dribble\030\004 \001(\010\022\024\n\014long_dribble" - "\030\005 \001(\010\022\r\n\005cross\030\006 \001(\010\022\023\n\013simple_pass\030\007 \001" - "(\010\022\026\n\016simple_dribble\030\010 \001(\010\022\024\n\014simple_sho" - "ot\030\t \001(\010\022\034\n\024server_side_decision\030\n \001(\010\"\026" - "\n\024HeliosBasicOffensive\"\021\n\017HeliosBasicMov" - "e\"\017\n\rHeliosSetPlay\"\017\n\rHeliosPenalty\"\024\n\022H" - "eliosCommunicaion\"\355\031\n\014PlayerAction\022\034\n\004da" - "sh\030\001 \001(\0132\014.protos.DashH\000\022\034\n\004turn\030\002 \001(\0132\014" - ".protos.TurnH\000\022\034\n\004kick\030\003 \001(\0132\014.protos.Ki" - "ckH\000\022 \n\006tackle\030\004 \001(\0132\016.protos.TackleH\000\022\036" - "\n\005catch\030\005 \001(\0132\r.protos.CatchH\000\022\034\n\004move\030\006" - " \001(\0132\014.protos.MoveH\000\022%\n\tturn_neck\030\007 \001(\0132" - "\020.protos.TurnNeckH\000\022)\n\013change_view\030\010 \001(\013" - "2\022.protos.ChangeViewH\000\022\032\n\003say\030\t \001(\0132\013.pr" - "otos.SayH\000\022#\n\010point_to\030\n \001(\0132\017.protos.Po" - "intToH\000\022(\n\013point_to_of\030\013 \001(\0132\021.protos.Po" - "intToOfH\000\022+\n\014attention_to\030\014 \001(\0132\023.protos" - ".AttentionToH\000\0220\n\017attention_to_of\030\r \001(\0132" - "\025.protos.AttentionToOfH\000\022\032\n\003log\030\016 \001(\0132\013." - "protos.LogH\000\022+\n\014debug_client\030\017 \001(\0132\023.pro" - "tos.DebugClientH\000\0222\n\020body_go_to_point\030\020 " - "\001(\0132\026.protos.Body_GoToPointH\000\0221\n\017body_sm" - "art_kick\030\021 \001(\0132\026.protos.Body_SmartKickH\000" - "\0228\n\023bhv_before_kick_off\030\022 \001(\0132\031.protos.B" - "hv_BeforeKickOffH\000\022;\n\025bhv_body_neck_to_b" - "all\030\023 \001(\0132\032.protos.Bhv_BodyNeckToBallH\000\022" - "=\n\026bhv_body_neck_to_point\030\024 \001(\0132\033.protos" - ".Bhv_BodyNeckToPointH\000\022.\n\rbhv_emergency\030" - "\025 \001(\0132\025.protos.Bhv_EmergencyH\000\022B\n\031bhv_go" - "_to_point_look_ball\030\026 \001(\0132\035.protos.Bhv_G" - "oToPointLookBallH\000\022;\n\025bhv_neck_body_to_b" - "all\030\027 \001(\0132\032.protos.Bhv_NeckBodyToBallH\000\022" - "=\n\026bhv_neck_body_to_point\030\030 \001(\0132\033.protos" - ".Bhv_NeckBodyToPointH\000\022/\n\016bhv_scan_field" - "\030\031 \001(\0132\025.protos.Bhv_ScanFieldH\000\0225\n\021body_" - "advance_ball\030\032 \001(\0132\030.protos.Body_Advance" - "BallH\000\0221\n\017body_clear_ball\030\033 \001(\0132\026.protos" - ".Body_ClearBallH\000\022,\n\014body_dribble\030\034 \001(\0132" - "\024.protos.Body_DribbleH\000\022=\n\026body_go_to_po" - "int_dodge\030\035 \001(\0132\033.protos.Body_GoToPointD" - "odgeH\000\022/\n\016body_hold_ball\030\036 \001(\0132\025.protos." - "Body_HoldBallH\000\0220\n\016body_intercept\030\037 \001(\0132" - "\026.protos.Body_InterceptH\000\0226\n\022body_kick_o" - "ne_step\030 \001(\0132\030.protos.Body_KickOneStepH" - "\000\022/\n\016body_stop_ball\030! \001(\0132\025.protos.Body_" - "StopBallH\000\022/\n\016body_stop_dash\030\" \001(\0132\025.pro" - "tos.Body_StopDashH\000\022:\n\024body_tackle_to_po" - "int\030# \001(\0132\032.protos.Body_TackleToPointH\000\022" - "6\n\022body_turn_to_angle\030$ \001(\0132\030.protos.Bod" - "y_TurnToAngleH\000\0224\n\021body_turn_to_ball\030% \001" - "(\0132\027.protos.Body_TurnToBallH\000\0226\n\022body_tu" - "rn_to_point\030& \001(\0132\030.protos.Body_TurnToPo" - "intH\000\0228\n\023focus_move_to_point\030\' \001(\0132\031.pro" - "tos.Focus_MoveToPointH\000\022*\n\013focus_reset\030(" - " \001(\0132\023.protos.Focus_ResetH\000\0221\n\017neck_scan" - "_field\030) \001(\0132\026.protos.Neck_ScanFieldH\000\0225" - "\n\021neck_scan_players\030* \001(\0132\030.protos.Neck_" - "ScanPlayersH\000\022H\n\034neck_turn_to_ball_and_p" - "layer\030+ \001(\0132 .protos.Neck_TurnToBallAndP" - "layerH\000\022B\n\031neck_turn_to_ball_or_scan\030, \001" - "(\0132\035.protos.Neck_TurnToBallOrScanH\000\0224\n\021n" - "eck_turn_to_ball\030- \001(\0132\027.protos.Neck_Tur" - "nToBallH\000\022F\n\033neck_turn_to_goalie_or_scan" - "\030. \001(\0132\037.protos.Neck_TurnToGoalieOrScanH" - "\000\022L\n\036neck_turn_to_low_conf_teammate\030/ \001(" - "\0132\".protos.Neck_TurnToLowConfTeammateH\000\022" - "F\n\033neck_turn_to_player_or_scan\0300 \001(\0132\037.p" - "rotos.Neck_TurnToPlayerOrScanH\000\0226\n\022neck_" - "turn_to_point\0301 \001(\0132\030.protos.Neck_TurnTo" - "PointH\000\022<\n\025neck_turn_to_relative\0302 \001(\0132\033" - ".protos.Neck_TurnToRelativeH\000\0225\n\021view_ch" - "ange_width\0303 \001(\0132\030.protos.View_ChangeWid" - "thH\000\022*\n\013view_normal\0304 \001(\0132\023.protos.View_" - "NormalH\000\022(\n\nview_synch\0305 \001(\0132\022.protos.Vi" - "ew_SynchH\000\022&\n\tview_wide\0306 \001(\0132\021.protos.V" - "iew_WideH\000\022-\n\rhelios_goalie\0307 \001(\0132\024.prot" - "os.HeliosGoalieH\000\0226\n\022helios_goalie_move\030" - "8 \001(\0132\030.protos.HeliosGoalieMoveH\000\0226\n\022hel" - "ios_goalie_kick\0309 \001(\0132\030.protos.HeliosGoa" - "lieKickH\000\022+\n\014helios_shoot\030: \001(\0132\023.protos" - ".HeliosShootH\000\022B\n\030helios_offensive_plann" - "er\030; \001(\0132\036.protos.HeliosOffensivePlanner" - "H\000\022>\n\026helios_basic_offensive\030< \001(\0132\034.pro" - "tos.HeliosBasicOffensiveH\000\0224\n\021helios_bas" - "ic_move\030= \001(\0132\027.protos.HeliosBasicMoveH\000" - "\0220\n\017helios_set_play\030> \001(\0132\025.protos.Helio" - "sSetPlayH\000\022/\n\016helios_penalty\030\? \001(\0132\025.pro" - "tos.HeliosPenaltyH\000\022:\n\024helios_communicat" - "ion\030@ \001(\0132\032.protos.HeliosCommunicaionH\000B" - "\010\n\006action\"Q\n\rPlayerActions\022%\n\007actions\030\001 " - "\003(\0132\024.protos.PlayerAction\022\031\n\021ignore_prep" - "rocess\030\002 \001(\010\"8\n\020ChangePlayerType\022\026\n\016unif" - "orm_number\030\001 \001(\005\022\014\n\004type\030\002 \001(\005\"\024\n\022DoHeli" - "osSubstitute\"\030\n\026DoHeliosSayPlayerTypes\"\322" - "\001\n\013CoachAction\0227\n\023change_player_types\030\001 " - "\001(\0132\030.protos.ChangePlayerTypeH\000\022:\n\024do_he" - "lios_substitute\030\002 \001(\0132\032.protos.DoHeliosS" - "ubstituteH\000\022D\n\032do_helios_say_player_type" - "s\030\003 \001(\0132\036.protos.DoHeliosSayPlayerTypesH" - "\000B\010\n\006action\"4\n\014CoachActions\022$\n\007actions\030\001" - " \003(\0132\023.protos.CoachAction\"\013\n\tDoKickOff\"Z" - "\n\nDoMoveBall\022%\n\010position\030\001 \001(\0132\023.protos." - "RpcVector2D\022%\n\010velocity\030\002 \001(\0132\023.protos.R" - "pcVector2D\"w\n\014DoMovePlayer\022\020\n\010our_side\030\001" - " \001(\010\022\026\n\016uniform_number\030\002 \001(\005\022%\n\010position" - "\030\003 \001(\0132\023.protos.RpcVector2D\022\026\n\016body_dire" - "ction\030\004 \001(\002\"\013\n\tDoRecover\"X\n\014DoChangeMode" - "\022,\n\016game_mode_type\030\001 \001(\0162\024.protos.GameMo" - "deType\022\032\n\004side\030\002 \001(\0162\014.protos.Side\"L\n\022Do" - "ChangePlayerType\022\020\n\010our_side\030\001 \001(\010\022\026\n\016un" - "iform_number\030\002 \001(\005\022\014\n\004type\030\003 \001(\005\"\265\002\n\rTra" - "inerAction\022(\n\013do_kick_off\030\001 \001(\0132\021.protos" - ".DoKickOffH\000\022*\n\014do_move_ball\030\002 \001(\0132\022.pro" - "tos.DoMoveBallH\000\022.\n\016do_move_player\030\003 \001(\013" - "2\024.protos.DoMovePlayerH\000\022\'\n\ndo_recover\030\004" - " \001(\0132\021.protos.DoRecoverH\000\022.\n\016do_change_m" - "ode\030\005 \001(\0132\024.protos.DoChangeModeH\000\022;\n\025do_" - "change_player_type\030\006 \001(\0132\032.protos.DoChan" - "gePlayerTypeH\000B\010\n\006action\"8\n\016TrainerActio" - "ns\022&\n\007actions\030\001 \003(\0132\025.protos.TrainerActi" - "on\"\335,\n\013ServerParam\0223\n\021register_response\030" - "\001 \001(\0132\030.protos.RegisterResponse\022\026\n\016inert" - "ia_moment\030\002 \001(\002\022\023\n\013player_size\030\003 \001(\002\022\024\n\014" - "player_decay\030\004 \001(\002\022\023\n\013player_rand\030\005 \001(\002\022" - "\025\n\rplayer_weight\030\006 \001(\002\022\030\n\020player_speed_m" - "ax\030\007 \001(\002\022\030\n\020player_accel_max\030\010 \001(\002\022\023\n\013st" - "amina_max\030\t \001(\002\022\027\n\017stamina_inc_max\030\n \001(\002" - "\022\024\n\014recover_init\030\013 \001(\002\022\027\n\017recover_dec_th" - "r\030\014 \001(\002\022\023\n\013recover_min\030\r \001(\002\022\023\n\013recover_" - "dec\030\016 \001(\002\022\023\n\013effort_init\030\017 \001(\002\022\026\n\016effort" - "_dec_thr\030\020 \001(\002\022\022\n\neffort_min\030\021 \001(\002\022\022\n\nef" - "fort_dec\030\022 \001(\002\022\026\n\016effort_inc_thr\030\023 \001(\002\022\022" - "\n\neffort_inc\030\024 \001(\002\022\021\n\tkick_rand\030\025 \001(\002\022\033\n" - "\023team_actuator_noise\030\026 \001(\010\022\034\n\024player_ran" - "d_factor_l\030\027 \001(\002\022\034\n\024player_rand_factor_r" - "\030\030 \001(\002\022\032\n\022kick_rand_factor_l\030\031 \001(\002\022\032\n\022ki" - "ck_rand_factor_r\030\032 \001(\002\022\021\n\tball_size\030\033 \001(" - "\002\022\022\n\nball_decay\030\034 \001(\002\022\021\n\tball_rand\030\035 \001(\002" - "\022\023\n\013ball_weight\030\036 \001(\002\022\026\n\016ball_speed_max\030" - "\037 \001(\002\022\026\n\016ball_accel_max\030 \001(\002\022\027\n\017dash_po" - "wer_rate\030! \001(\002\022\027\n\017kick_power_rate\030\" \001(\002\022" - "\027\n\017kickable_margin\030# \001(\002\022\026\n\016control_radi" - "us\030$ \001(\002\022\034\n\024control_radius_width\030% \001(\002\022\021" - "\n\tmax_power\030& \001(\002\022\021\n\tmin_power\030\' \001(\002\022\022\n\n" - "max_moment\030( \001(\002\022\022\n\nmin_moment\030) \001(\002\022\027\n\017" - "max_neck_moment\030* \001(\002\022\027\n\017min_neck_moment" - "\030+ \001(\002\022\026\n\016max_neck_angle\030, \001(\002\022\026\n\016min_ne" - "ck_angle\030- \001(\002\022\025\n\rvisible_angle\030. \001(\002\022\030\n" - "\020visible_distance\030/ \001(\002\022\020\n\010wind_dir\0300 \001(" - "\002\022\022\n\nwind_force\0301 \001(\002\022\022\n\nwind_angle\0302 \001(" - "\002\022\021\n\twind_rand\0303 \001(\002\022\025\n\rkickable_area\0304 " - "\001(\002\022\024\n\014catch_area_l\0305 \001(\002\022\024\n\014catch_area_" - "w\0306 \001(\002\022\031\n\021catch_probability\0307 \001(\002\022\030\n\020go" - "alie_max_moves\0308 \001(\005\022\032\n\022corner_kick_marg" - "in\0309 \001(\002\022 \n\030offside_active_area_size\030: \001" - "(\002\022\021\n\twind_none\030; \001(\010\022\027\n\017use_wind_random" - "\030< \001(\010\022\033\n\023coach_say_count_max\030= \001(\005\022\032\n\022c" - "oach_say_msg_size\030> \001(\005\022\026\n\016clang_win_siz" - "e\030\? \001(\005\022\030\n\020clang_define_win\030@ \001(\005\022\026\n\016cla" - "ng_meta_win\030A \001(\005\022\030\n\020clang_advice_win\030B " - "\001(\005\022\026\n\016clang_info_win\030C \001(\005\022\030\n\020clang_mes" - "s_delay\030D \001(\005\022\034\n\024clang_mess_per_cycle\030E " - "\001(\005\022\021\n\thalf_time\030F \001(\005\022\026\n\016simulator_step" - "\030G \001(\005\022\021\n\tsend_step\030H \001(\005\022\021\n\trecv_step\030I" - " \001(\005\022\027\n\017sense_body_step\030J \001(\005\022\020\n\010lcm_ste" - "p\030K \001(\005\022\033\n\023player_say_msg_size\030L \001(\005\022\027\n\017" - "player_hear_max\030M \001(\005\022\027\n\017player_hear_inc" - "\030N \001(\005\022\031\n\021player_hear_decay\030O \001(\005\022\027\n\017cat" - "ch_ban_cycle\030P \001(\005\022\030\n\020slow_down_factor\030Q" - " \001(\005\022\023\n\013use_offside\030R \001(\010\022\027\n\017kickoff_off" - "side\030S \001(\010\022\033\n\023offside_kick_margin\030T \001(\002\022" - "\026\n\016audio_cut_dist\030U \001(\002\022\032\n\022dist_quantize" - "_step\030V \001(\002\022#\n\033landmark_dist_quantize_st" - "ep\030W \001(\002\022\031\n\021dir_quantize_step\030X \001(\002\022\034\n\024d" - "ist_quantize_step_l\030Y \001(\002\022\034\n\024dist_quanti" - "ze_step_r\030Z \001(\002\022%\n\035landmark_dist_quantiz" - "e_step_l\030[ \001(\002\022%\n\035landmark_dist_quantize" - "_step_r\030\\ \001(\002\022\033\n\023dir_quantize_step_l\030] \001" - "(\002\022\033\n\023dir_quantize_step_r\030^ \001(\002\022\022\n\ncoach" - "_mode\030_ \001(\010\022\037\n\027coach_with_referee_mode\030`" - " \001(\010\022\032\n\022use_old_coach_hear\030a \001(\010\022%\n\035slow" - "ness_on_top_for_left_team\030b \001(\002\022&\n\036slown" - "ess_on_top_for_right_team\030c \001(\002\022\024\n\014start" - "_goal_l\030d \001(\005\022\024\n\014start_goal_r\030e \001(\005\022\023\n\013f" - "ullstate_l\030f \001(\010\022\023\n\013fullstate_r\030g \001(\010\022\026\n" - "\016drop_ball_time\030h \001(\005\022\022\n\nsynch_mode\030i \001(" - "\010\022\024\n\014synch_offset\030j \001(\005\022\031\n\021synch_micro_s" - "leep\030k \001(\005\022\024\n\014point_to_ban\030l \001(\005\022\031\n\021poin" - "t_to_duration\030m \001(\005\022\023\n\013player_port\030n \001(\005" - "\022\024\n\014trainer_port\030o \001(\005\022\031\n\021online_coach_p" - "ort\030p \001(\005\022\024\n\014verbose_mode\030q \001(\010\022\032\n\022coach" - "_send_vi_step\030r \001(\005\022\023\n\013replay_file\030s \001(\t" - "\022\025\n\rlandmark_file\030t \001(\t\022\022\n\nsend_comms\030u " - "\001(\010\022\024\n\014text_logging\030v \001(\010\022\024\n\014game_loggin" - "g\030w \001(\010\022\030\n\020game_log_version\030x \001(\005\022\024\n\014tex" - "t_log_dir\030y \001(\t\022\024\n\014game_log_dir\030z \001(\t\022\033\n" - "\023text_log_fixed_name\030{ \001(\t\022\033\n\023game_log_f" - "ixed_name\030| \001(\t\022\032\n\022use_text_log_fixed\030} " - "\001(\010\022\032\n\022use_game_log_fixed\030~ \001(\010\022\032\n\022use_t" - "ext_log_dated\030\177 \001(\010\022\033\n\022use_game_log_date" - "d\030\200\001 \001(\010\022\030\n\017log_date_format\030\201\001 \001(\t\022\022\n\tlo" - "g_times\030\202\001 \001(\010\022\027\n\016record_message\030\203\001 \001(\010\022" - "\035\n\024text_log_compression\030\204\001 \001(\005\022\035\n\024game_l" - "og_compression\030\205\001 \001(\005\022\024\n\013use_profile\030\206\001 " - "\001(\010\022\024\n\013tackle_dist\030\207\001 \001(\002\022\031\n\020tackle_back" - "_dist\030\210\001 \001(\002\022\025\n\014tackle_width\030\211\001 \001(\002\022\030\n\017t" - "ackle_exponent\030\212\001 \001(\002\022\026\n\rtackle_cycles\030\213" - "\001 \001(\005\022\032\n\021tackle_power_rate\030\214\001 \001(\002\022\035\n\024fre" - "eform_wait_period\030\215\001 \001(\005\022\035\n\024freeform_sen" - "d_period\030\216\001 \001(\005\022\031\n\020free_kick_faults\030\217\001 \001" - "(\010\022\024\n\013back_passes\030\220\001 \001(\010\022\032\n\021proper_goal_" - "kicks\030\221\001 \001(\010\022\031\n\020stopped_ball_vel\030\222\001 \001(\002\022" - "\027\n\016max_goal_kicks\030\223\001 \001(\005\022\026\n\rclang_del_wi" - "n\030\224\001 \001(\005\022\027\n\016clang_rule_win\030\225\001 \001(\005\022\022\n\taut" - "o_mode\030\226\001 \001(\010\022\026\n\rkick_off_wait\030\227\001 \001(\005\022\025\n" - "\014connect_wait\030\230\001 \001(\005\022\027\n\016game_over_wait\030\231" - "\001 \001(\005\022\025\n\014team_l_start\030\232\001 \001(\t\022\025\n\014team_r_s" - "tart\030\233\001 \001(\t\022\026\n\rkeepaway_mode\030\234\001 \001(\010\022\030\n\017k" - "eepaway_length\030\235\001 \001(\002\022\027\n\016keepaway_width\030" - "\236\001 \001(\002\022\031\n\020keepaway_logging\030\237\001 \001(\010\022\031\n\020kee" - "paway_log_dir\030\240\001 \001(\t\022 \n\027keepaway_log_fix" - "ed_name\030\241\001 \001(\t\022\033\n\022keepaway_log_fixed\030\242\001 " - "\001(\010\022\033\n\022keepaway_log_dated\030\243\001 \001(\010\022\027\n\016keep" - "away_start\030\244\001 \001(\005\022\030\n\017nr_normal_halfs\030\245\001 " - "\001(\005\022\027\n\016nr_extra_halfs\030\246\001 \001(\005\022\033\n\022penalty_" - "shoot_outs\030\247\001 \001(\010\022\036\n\025pen_before_setup_wa" - "it\030\250\001 \001(\005\022\027\n\016pen_setup_wait\030\251\001 \001(\005\022\027\n\016pe" - "n_ready_wait\030\252\001 \001(\005\022\027\n\016pen_taken_wait\030\253\001" - " \001(\005\022\025\n\014pen_nr_kicks\030\254\001 \001(\005\022\034\n\023pen_max_e" - "xtra_kicks\030\255\001 \001(\005\022\023\n\npen_dist_x\030\256\001 \001(\002\022\032" - "\n\021pen_random_winner\030\257\001 \001(\010\022\035\n\024pen_allow_" - "mult_kicks\030\260\001 \001(\010\022\036\n\025pen_max_goalie_dist" - "_x\030\261\001 \001(\002\022 \n\027pen_coach_moves_players\030\262\001 " - "\001(\010\022\023\n\nmodule_dir\030\263\001 \001(\t\022\030\n\017ball_stuck_a" - "rea\030\264\001 \001(\002\022\027\n\016coach_msg_file\030\265\001 \001(\t\022\031\n\020m" - "ax_tackle_power\030\266\001 \001(\002\022\036\n\025max_back_tackl" - "e_power\030\267\001 \001(\002\022\035\n\024player_speed_max_min\030\270" - "\001 \001(\002\022\026\n\rextra_stamina\030\271\001 \001(\002\022\031\n\020synch_s" - "ee_offset\030\272\001 \001(\005\022\030\n\017extra_half_time\030\273\001 \001" - "(\005\022\031\n\020stamina_capacity\030\274\001 \001(\002\022\027\n\016max_das" - "h_angle\030\275\001 \001(\002\022\027\n\016min_dash_angle\030\276\001 \001(\002\022" - "\030\n\017dash_angle_step\030\277\001 \001(\002\022\027\n\016side_dash_r" - "ate\030\300\001 \001(\002\022\027\n\016back_dash_rate\030\301\001 \001(\002\022\027\n\016m" - "ax_dash_power\030\302\001 \001(\002\022\027\n\016min_dash_power\030\303" - "\001 \001(\002\022\033\n\022tackle_rand_factor\030\304\001 \001(\002\022 \n\027fo" - "ul_detect_probability\030\305\001 \001(\002\022\026\n\rfoul_exp" - "onent\030\306\001 \001(\002\022\024\n\013foul_cycles\030\307\001 \001(\005\022\024\n\013go" - "lden_goal\030\310\001 \001(\010\022\035\n\024red_card_probability" - "\030\311\001 \001(\002\022!\n\030illegal_defense_duration\030\312\001 \001" - "(\005\022\037\n\026illegal_defense_number\030\313\001 \001(\005\022\037\n\026i" - "llegal_defense_dist_x\030\314\001 \001(\002\022\036\n\025illegal_" - "defense_width\030\315\001 \001(\002\022\031\n\020fixed_teamname_l" - "\030\316\001 \001(\t\022\031\n\020fixed_teamname_r\030\317\001 \001(\t\022\030\n\017ma" - "x_catch_angle\030\320\001 \001(\002\022\030\n\017min_catch_angle\030" - "\321\001 \001(\002\022\024\n\013random_seed\030\322\001 \001(\005\022\037\n\026long_kic" - "k_power_factor\030\323\001 \001(\002\022\030\n\017long_kick_delay" - "\030\324\001 \001(\005\022\025\n\014max_monitors\030\325\001 \001(\005\022\027\n\016catcha" - "ble_area\030\326\001 \001(\002\022\027\n\016real_speed_max\030\327\001 \001(\002" - "\022\032\n\021pitch_half_length\030\330\001 \001(\002\022\031\n\020pitch_ha" - "lf_width\030\331\001 \001(\002\022 \n\027our_penalty_area_line" - "_x\030\332\001 \001(\002\022\"\n\031their_penalty_area_line_x\030\333" - "\001 \001(\002\022 \n\027penalty_area_half_width\030\334\001 \001(\002\022" - "\034\n\023penalty_area_length\030\335\001 \001(\002\022\023\n\ngoal_wi" - "dth\030\336\001 \001(\002\"\215\010\n\013PlayerParam\0223\n\021register_r" - "esponse\030\001 \001(\0132\030.protos.RegisterResponse\022" - "\024\n\014player_types\030\002 \001(\005\022\020\n\010subs_max\030\003 \001(\005\022" - "\016\n\006pt_max\030\004 \001(\005\022\037\n\027allow_mult_default_ty" - "pe\030\005 \001(\010\022\"\n\032player_speed_max_delta_min\030\006" - " \001(\002\022\"\n\032player_speed_max_delta_max\030\007 \001(\002" - "\022$\n\034stamina_inc_max_delta_factor\030\010 \001(\002\022\036" - "\n\026player_decay_delta_min\030\t \001(\002\022\036\n\026player" - "_decay_delta_max\030\n \001(\002\022#\n\033inertia_moment" - "_delta_factor\030\013 \001(\002\022!\n\031dash_power_rate_d" - "elta_min\030\014 \001(\002\022!\n\031dash_power_rate_delta_" - "max\030\r \001(\002\022 \n\030player_size_delta_factor\030\016 " - "\001(\002\022!\n\031kickable_margin_delta_min\030\017 \001(\002\022!" - "\n\031kickable_margin_delta_max\030\020 \001(\002\022\036\n\026kic" - "k_rand_delta_factor\030\021 \001(\002\022\037\n\027extra_stami" - "na_delta_min\030\022 \001(\002\022\037\n\027extra_stamina_delt" - "a_max\030\023 \001(\002\022\037\n\027effort_max_delta_factor\030\024" - " \001(\002\022\037\n\027effort_min_delta_factor\030\025 \001(\002\022\023\n" - "\013random_seed\030\026 \001(\005\022%\n\035new_dash_power_rat" - "e_delta_min\030\027 \001(\002\022%\n\035new_dash_power_rate" - "_delta_max\030\030 \001(\002\022(\n new_stamina_inc_max_" - "delta_factor\030\031 \001(\002\022!\n\031kick_power_rate_de" - "lta_min\030\032 \001(\002\022!\n\031kick_power_rate_delta_m" - "ax\030\033 \001(\002\022,\n$foul_detect_probability_delt" - "a_factor\030\034 \001(\002\022$\n\034catchable_area_l_stret" - "ch_min\030\035 \001(\002\022$\n\034catchable_area_l_stretch" - "_max\030\036 \001(\002\"\277\007\n\nPlayerType\0223\n\021register_re" - "sponse\030\001 \001(\0132\030.protos.RegisterResponse\022\n" - "\n\002id\030\002 \001(\005\022\027\n\017stamina_inc_max\030\003 \001(\002\022\024\n\014p" - "layer_decay\030\004 \001(\002\022\026\n\016inertia_moment\030\005 \001(" - "\002\022\027\n\017dash_power_rate\030\006 \001(\002\022\023\n\013player_siz" - "e\030\007 \001(\002\022\027\n\017kickable_margin\030\010 \001(\002\022\021\n\tkick" - "_rand\030\t \001(\002\022\025\n\rextra_stamina\030\n \001(\002\022\022\n\nef" - "fort_max\030\013 \001(\002\022\022\n\neffort_min\030\014 \001(\002\022\027\n\017ki" - "ck_power_rate\030\r \001(\002\022\037\n\027foul_detect_proba" - "bility\030\016 \001(\002\022 \n\030catchable_area_l_stretch" - "\030\017 \001(\002\022\027\n\017unum_far_length\030\020 \001(\002\022\033\n\023unum_" - "too_far_length\030\021 \001(\002\022\027\n\017team_far_length\030" - "\022 \001(\002\022\033\n\023team_too_far_length\030\023 \001(\002\022%\n\035pl" - "ayer_max_observation_length\030\024 \001(\002\022\033\n\023bal" - "l_vel_far_length\030\025 \001(\002\022\037\n\027ball_vel_too_f" - "ar_length\030\026 \001(\002\022#\n\033ball_max_observation_" - "length\030\027 \001(\002\022\033\n\023flag_chg_far_length\030\030 \001(" - "\002\022\037\n\027flag_chg_too_far_length\030\031 \001(\002\022#\n\033fl" - "ag_max_observation_length\030\032 \001(\002\022\025\n\rkicka" - "ble_area\030\033 \001(\002\022\037\n\027reliable_catchable_dis" - "t\030\034 \001(\002\022\032\n\022max_catchable_dist\030\035 \001(\002\022\026\n\016r" - "eal_speed_max\030\036 \001(\002\022\031\n\021player_speed_max2" - "\030\037 \001(\002\022\027\n\017real_speed_max2\030 \001(\002\022!\n\031cycle" - "s_to_reach_max_speed\030! \001(\005\022\030\n\020player_spe" - "ed_max\030\" \001(\002\"\255\003\n\024RpcCooperativeAction\022+\n" - "\010category\030\001 \001(\0162\031.protos.RpcActionCatego" - "ry\022\r\n\005index\030\002 \001(\005\022\023\n\013sender_unum\030\003 \001(\005\022\023" - "\n\013target_unum\030\004 \001(\005\022)\n\014target_point\030\005 \001(" - "\0132\023.protos.RpcVector2D\022\030\n\020first_ball_spe" - "ed\030\006 \001(\001\022\031\n\021first_turn_moment\030\007 \001(\001\022\030\n\020f" - "irst_dash_power\030\010 \001(\001\022!\n\031first_dash_angl" - "e_relative\030\t \001(\001\022\025\n\rduration_step\030\n \001(\005\022" - "\022\n\nkick_count\030\013 \001(\005\022\022\n\nturn_count\030\014 \001(\005\022" - "\022\n\ndash_count\030\r \001(\005\022\024\n\014final_action\030\016 \001(" - "\010\022\023\n\013description\030\017 \001(\t\022\024\n\014parent_index\030\020" - " \001(\005\"\317\001\n\017RpcPredictState\022\022\n\nspend_time\030\001" - " \001(\005\022\030\n\020ball_holder_unum\030\002 \001(\005\022*\n\rball_p" - "osition\030\003 \001(\0132\023.protos.RpcVector2D\022*\n\rba" - "ll_velocity\030\004 \001(\0132\023.protos.RpcVector2D\022\032" - "\n\022our_defense_line_x\030\005 \001(\001\022\032\n\022our_offens" - "e_line_x\030\006 \001(\001\"\202\001\n\016RpcActionState\022,\n\006act" - "ion\030\001 \001(\0132\034.protos.RpcCooperativeAction\022" - ".\n\rpredict_state\030\002 \001(\0132\027.protos.RpcPredi" - "ctState\022\022\n\nevaluation\030\003 \001(\001\"\357\001\n\030BestPlan" - "nerActionRequest\0223\n\021register_response\030\001 " - "\001(\0132\030.protos.RegisterResponse\022:\n\005pairs\030\002" - " \003(\0132+.protos.BestPlannerActionRequest.P" - "airsEntry\022\034\n\005state\030\003 \001(\0132\r.protos.State\032" - "D\n\nPairsEntry\022\013\n\003key\030\001 \001(\005\022%\n\005value\030\002 \001(" - "\0132\026.protos.RpcActionState:\0028\001\"*\n\031BestPla" - "nnerActionResponse\022\r\n\005index\030\001 \001(\005\"\007\n\005Emp" - "ty*-\n\tViewWidth\022\n\n\006NARROW\020\000\022\n\n\006NORMAL\020\001\022" - "\010\n\004WIDE\020\002*(\n\004Side\022\013\n\007UNKNOWN\020\000\022\010\n\004LEFT\020\001" - "\022\t\n\005RIGHT\020\002*\262\002\n\013LoggerLevel\022\r\n\tNoneLevel" - "\020\000\022\n\n\006SYSTEM\020\001\022\n\n\006SENSOR\020\002\022\t\n\005WORLD\020\004\022\n\n" - "\006ACTION\020\010\022\r\n\tINTERCEPT\020\020\022\010\n\004KICK\020 \022\010\n\004HO" - "LD\020@\022\014\n\007DRIBBLE\020\200\001\022\t\n\004PASS\020\200\002\022\n\n\005CROSS\020\200" - "\004\022\n\n\005SHOOT\020\200\010\022\n\n\005CLEAR\020\200\020\022\n\n\005BLOCK\020\200 \022\t\n" - "\004MARK\020\200@\022\021\n\013POSITIONING\020\200\200\001\022\n\n\004ROLE\020\200\200\002\022" - "\n\n\004TEAM\020\200\200\004\022\023\n\rCOMMUNICATION\020\200\200\010\022\016\n\010ANAL" - "YZER\020\200\200\020\022\022\n\014ACTION_CHAIN\020\200\200 \022\n\n\004PLAN\020\200\200@" - "*,\n\010CardType\022\013\n\007NO_CARD\020\000\022\n\n\006YELLOW\020\001\022\007\n" - "\003RED\020\002*v\n\023InterceptActionType\022!\n\035UNKNOWN" - "_Intercept_Action_Type\020\000\022\r\n\tOMNI_DASH\020\001\022" - "\025\n\021TURN_FORWARD_DASH\020\002\022\026\n\022TURN_BACKWARD_" - "DASH\020\003*\273\004\n\014GameModeType\022\021\n\rBeforeKickOff" - "\020\000\022\014\n\010TimeOver\020\001\022\n\n\006PlayOn\020\002\022\014\n\010KickOff_" - "\020\003\022\013\n\007KickIn_\020\004\022\r\n\tFreeKick_\020\005\022\017\n\013Corner" - "Kick_\020\006\022\r\n\tGoalKick_\020\007\022\016\n\nAfterGoal_\020\010\022\014" - "\n\010OffSide_\020\t\022\020\n\014PenaltyKick_\020\n\022\021\n\rFirstH" - "alfOver\020\013\022\t\n\005Pause\020\014\022\t\n\005Human\020\r\022\017\n\013FoulC" - "harge_\020\016\022\r\n\tFoulPush_\020\017\022\031\n\025FoulMultipleA" - "ttacker_\020\020\022\020\n\014FoulBallOut_\020\021\022\r\n\tBackPass" - "_\020\022\022\022\n\016FreeKickFault_\020\023\022\017\n\013CatchFault_\020\024" - "\022\020\n\014IndFreeKick_\020\025\022\021\n\rPenaltySetup_\020\026\022\021\n" - "\rPenaltyReady_\020\027\022\021\n\rPenaltyTaken_\020\030\022\020\n\014P" - "enaltyMiss_\020\031\022\021\n\rPenaltyScore_\020\032\022\023\n\017Ille" - "galDefense_\020\033\022\023\n\017PenaltyOnfield_\020\034\022\020\n\014Pe" - "naltyFoul_\020\035\022\020\n\014GoalieCatch_\020\036\022\016\n\nExtend" - "Half\020\037\022\014\n\010MODE_MAX\020 *2\n\tAgentType\022\013\n\007Pla" - "yerT\020\000\022\n\n\006CoachT\020\001\022\014\n\010TrainerT\020\002*w\n\021RpcA" - "ctionCategory\022\013\n\007AC_Hold\020\000\022\016\n\nAC_Dribble" - "\020\001\022\013\n\007AC_Pass\020\002\022\014\n\010AC_Shoot\020\003\022\014\n\010AC_Clea" - "r\020\004\022\013\n\007AC_Move\020\005\022\017\n\013AC_NoAction\020\0062\373\004\n\004Ga" - "me\022:\n\020GetPlayerActions\022\r.protos.State\032\025." - "protos.PlayerActions\"\000\0228\n\017GetCoachAction" - "s\022\r.protos.State\032\024.protos.CoachActions\"\000" - "\022<\n\021GetTrainerActions\022\r.protos.State\032\026.p" - "rotos.TrainerActions\"\000\0227\n\017SendInitMessag" - "e\022\023.protos.InitMessage\032\r.protos.Empty\"\000\022" - "8\n\020SendServerParams\022\023.protos.ServerParam" - "\032\r.protos.Empty\"\000\0228\n\020SendPlayerParams\022\023." - "protos.PlayerParam\032\r.protos.Empty\"\000\0225\n\016S" - "endPlayerType\022\022.protos.PlayerType\032\r.prot" - "os.Empty\"\000\022\?\n\010Register\022\027.protos.Register" - "Request\032\030.protos.RegisterResponse\"\000\022;\n\016S" - "endByeCommand\022\030.protos.RegisterResponse\032" - "\r.protos.Empty\"\000\022]\n\024GetBestPlannerAction" - "\022 .protos.BestPlannerActionRequest\032!.pro" - "tos.BestPlannerActionResponse\"\000b\006proto3" + "e\n\013BallMessage\022*\n\rball_position\030\001 \001(\0132\023." + "protos.RpcVector2D\022*\n\rball_velocity\030\002 \001(" + "\0132\023.protos.RpcVector2D\"\263\001\n\013PassMessage\022\037" + "\n\027receiver_uniform_number\030\001 \001(\005\022+\n\016recei" + "ver_point\030\002 \001(\0132\023.protos.RpcVector2D\022*\n\r" + "ball_position\030\003 \001(\0132\023.protos.RpcVector2D" + "\022*\n\rball_velocity\030\004 \001(\0132\023.protos.RpcVect" + "or2D\"F\n\020InterceptMessage\022\013\n\003our\030\001 \001(\010\022\026\n" + "\016uniform_number\030\002 \001(\005\022\r\n\005cycle\030\003 \001(\005\"{\n\r" + "GoalieMessage\022\035\n\025goalie_uniform_number\030\001" + " \001(\005\022,\n\017goalie_position\030\002 \001(\0132\023.protos.R" + "pcVector2D\022\035\n\025goalie_body_direction\030\003 \001(" + "\002\"\321\001\n\026GoalieAndPlayerMessage\022\035\n\025goalie_u" + "niform_number\030\001 \001(\005\022,\n\017goalie_position\030\002" + " \001(\0132\023.protos.RpcVector2D\022\035\n\025goalie_body" + "_direction\030\003 \001(\002\022\035\n\025player_uniform_numbe" + "r\030\004 \001(\005\022,\n\017player_position\030\005 \001(\0132\023.proto" + "s.RpcVector2D\",\n\022OffsideLineMessage\022\026\n\016o" + "ffside_line_x\030\001 \001(\002\",\n\022DefenseLineMessag" + "e\022\026\n\016defense_line_x\030\001 \001(\002\"\024\n\022WaitRequest" + "Message\"#\n\016SetplayMessage\022\021\n\twait_step\030\001" + " \001(\005\"\?\n\022PassRequestMessage\022)\n\014target_poi" + "nt\030\001 \001(\0132\023.protos.RpcVector2D\"!\n\016Stamina" + "Message\022\017\n\007stamina\030\001 \001(\002\"#\n\017RecoveryMess" + "age\022\020\n\010recovery\030\001 \001(\002\"2\n\026StaminaCapacity" + "Message\022\030\n\020stamina_capacity\030\001 \001(\002\"P\n\016Dri" + "bbleMessage\022)\n\014target_point\030\001 \001(\0132\023.prot" + "os.RpcVector2D\022\023\n\013queue_count\030\002 \001(\005\"\270\001\n\021" + "BallGoalieMessage\022*\n\rball_position\030\001 \001(\013" + "2\023.protos.RpcVector2D\022*\n\rball_velocity\030\002" + " \001(\0132\023.protos.RpcVector2D\022,\n\017goalie_posi" + "tion\030\003 \001(\0132\023.protos.RpcVector2D\022\035\n\025goali" + "e_body_direction\030\004 \001(\002\"Q\n\020OnePlayerMessa" + "ge\022\026\n\016uniform_number\030\001 \001(\005\022%\n\010position\030\002" + " \001(\0132\023.protos.RpcVector2D\"\252\001\n\020TwoPlayerM" + "essage\022\034\n\024first_uniform_number\030\001 \001(\005\022+\n\016" + "first_position\030\002 \001(\0132\023.protos.RpcVector2" + "D\022\035\n\025second_uniform_number\030\003 \001(\005\022,\n\017seco" + "nd_position\030\004 \001(\0132\023.protos.RpcVector2D\"\367" + "\001\n\022ThreePlayerMessage\022\034\n\024first_uniform_n" + "umber\030\001 \001(\005\022+\n\016first_position\030\002 \001(\0132\023.pr" + "otos.RpcVector2D\022\035\n\025second_uniform_numbe" + "r\030\003 \001(\005\022,\n\017second_position\030\004 \001(\0132\023.proto" + "s.RpcVector2D\022\034\n\024third_uniform_number\030\005 " + "\001(\005\022+\n\016third_position\030\006 \001(\0132\023.protos.Rpc" + "Vector2D\"l\n\013SelfMessage\022*\n\rself_position" + "\030\001 \001(\0132\023.protos.RpcVector2D\022\033\n\023self_body" + "_direction\030\002 \001(\002\022\024\n\014self_stamina\030\003 \001(\002\"h" + "\n\017TeammateMessage\022\026\n\016uniform_number\030\001 \001(" + "\005\022%\n\010position\030\002 \001(\0132\023.protos.RpcVector2D" + "\022\026\n\016body_direction\030\003 \001(\002\"h\n\017OpponentMess" + "age\022\026\n\016uniform_number\030\001 \001(\005\022%\n\010position\030" + "\002 \001(\0132\023.protos.RpcVector2D\022\026\n\016body_direc" + "tion\030\003 \001(\002\"\311\001\n\021BallPlayerMessage\022*\n\rball" + "_position\030\001 \001(\0132\023.protos.RpcVector2D\022*\n\r" + "ball_velocity\030\002 \001(\0132\023.protos.RpcVector2D" + "\022\026\n\016uniform_number\030\003 \001(\005\022,\n\017player_posit" + "ion\030\004 \001(\0132\023.protos.RpcVector2D\022\026\n\016body_d" + "irection\030\005 \001(\002\"\320\t\n\003Say\022+\n\014ball_message\030\001" + " \001(\0132\023.protos.BallMessageH\000\022+\n\014pass_mess" + "age\030\002 \001(\0132\023.protos.PassMessageH\000\0225\n\021inte" + "rcept_message\030\003 \001(\0132\030.protos.InterceptMe" + "ssageH\000\022/\n\016goalie_message\030\004 \001(\0132\025.protos" + ".GoalieMessageH\000\022C\n\031goalie_and_player_me" + "ssage\030\005 \001(\0132\036.protos.GoalieAndPlayerMess" + "ageH\000\022:\n\024offside_line_message\030\006 \001(\0132\032.pr" + "otos.OffsideLineMessageH\000\022:\n\024defense_lin" + "e_message\030\007 \001(\0132\032.protos.DefenseLineMess" + "ageH\000\022:\n\024wait_request_message\030\010 \001(\0132\032.pr" + "otos.WaitRequestMessageH\000\0221\n\017setplay_mes" + "sage\030\t \001(\0132\026.protos.SetplayMessageH\000\022:\n\024" + "pass_request_message\030\n \001(\0132\032.protos.Pass" + "RequestMessageH\000\0221\n\017stamina_message\030\013 \001(" + "\0132\026.protos.StaminaMessageH\000\0223\n\020recovery_" + "message\030\014 \001(\0132\027.protos.RecoveryMessageH\000" + "\022B\n\030stamina_capacity_message\030\r \001(\0132\036.pro" + "tos.StaminaCapacityMessageH\000\0221\n\017dribble_" + "message\030\016 \001(\0132\026.protos.DribbleMessageH\000\022" + "8\n\023ball_goalie_message\030\017 \001(\0132\031.protos.Ba" + "llGoalieMessageH\000\0226\n\022one_player_message\030" + "\020 \001(\0132\030.protos.OnePlayerMessageH\000\0226\n\022two" + "_player_message\030\021 \001(\0132\030.protos.TwoPlayer" + "MessageH\000\022:\n\024three_player_message\030\022 \001(\0132" + "\032.protos.ThreePlayerMessageH\000\022+\n\014self_me" + "ssage\030\023 \001(\0132\023.protos.SelfMessageH\000\0223\n\020te" + "ammate_message\030\024 \001(\0132\027.protos.TeammateMe" + "ssageH\000\0223\n\020opponent_message\030\025 \001(\0132\027.prot" + "os.OpponentMessageH\000\0228\n\023ball_player_mess" + "age\030\026 \001(\0132\031.protos.BallPlayerMessageH\000B\t" + "\n\007message\"\037\n\007PointTo\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001" + "(\002\"\013\n\tPointToOf\"7\n\013AttentionTo\022\032\n\004side\030\001" + " \001(\0162\014.protos.Side\022\014\n\004unum\030\002 \001(\005\"\017\n\rAtte" + "ntionToOf\">\n\007AddText\022\"\n\005level\030\001 \001(\0162\023.pr" + "otos.LoggerLevel\022\017\n\007message\030\002 \001(\t\"a\n\010Add" + "Point\022\"\n\005level\030\001 \001(\0162\023.protos.LoggerLeve" + "l\022\"\n\005point\030\002 \001(\0132\023.protos.RpcVector2D\022\r\n" + "\005color\030\003 \001(\t\"\202\001\n\007AddLine\022\"\n\005level\030\001 \001(\0162" + "\023.protos.LoggerLevel\022\"\n\005start\030\002 \001(\0132\023.pr" + "otos.RpcVector2D\022 \n\003end\030\003 \001(\0132\023.protos.R" + "pcVector2D\022\r\n\005color\030\004 \001(\t\"\231\001\n\006AddArc\022\"\n\005" + "level\030\001 \001(\0162\023.protos.LoggerLevel\022#\n\006cent" + "er\030\002 \001(\0132\023.protos.RpcVector2D\022\016\n\006radius\030" + "\003 \001(\002\022\023\n\013start_angle\030\004 \001(\002\022\022\n\nspan_angel" + "\030\005 \001(\002\022\r\n\005color\030\006 \001(\t\"\201\001\n\tAddCircle\022\"\n\005l" + "evel\030\001 \001(\0162\023.protos.LoggerLevel\022#\n\006cente" + "r\030\002 \001(\0132\023.protos.RpcVector2D\022\016\n\006radius\030\003" + " \001(\002\022\r\n\005color\030\004 \001(\t\022\014\n\004fill\030\005 \001(\010\"\275\001\n\013Ad" + "dTriangle\022\"\n\005level\030\001 \001(\0162\023.protos.Logger" + "Level\022#\n\006point1\030\002 \001(\0132\023.protos.RpcVector" + "2D\022#\n\006point2\030\003 \001(\0132\023.protos.RpcVector2D\022" + "#\n\006point3\030\004 \001(\0132\023.protos.RpcVector2D\022\r\n\005" + "color\030\005 \001(\t\022\014\n\004fill\030\006 \001(\010\"\211\001\n\014AddRectang" + "le\022\"\n\005level\030\001 \001(\0162\023.protos.LoggerLevel\022\014" + "\n\004left\030\002 \001(\002\022\013\n\003top\030\003 \001(\002\022\016\n\006length\030\004 \001(" + "\002\022\r\n\005width\030\005 \001(\002\022\r\n\005color\030\006 \001(\t\022\014\n\004fill\030" + "\007 \001(\010\"\302\001\n\tAddSector\022\"\n\005level\030\001 \001(\0162\023.pro" + "tos.LoggerLevel\022#\n\006center\030\002 \001(\0132\023.protos" + ".RpcVector2D\022\022\n\nmin_radius\030\003 \001(\002\022\022\n\nmax_" + "radius\030\004 \001(\002\022\023\n\013start_angle\030\005 \001(\002\022\022\n\nspa" + "n_angel\030\006 \001(\002\022\r\n\005color\030\007 \001(\t\022\014\n\004fill\030\010 \001" + "(\010\"w\n\nAddMessage\022\"\n\005level\030\001 \001(\0162\023.protos" + ".LoggerLevel\022%\n\010position\030\002 \001(\0132\023.protos." + "RpcVector2D\022\017\n\007message\030\003 \001(\t\022\r\n\005color\030\004 " + "\001(\t\"\371\002\n\003Log\022#\n\010add_text\030\001 \001(\0132\017.protos.A" + "ddTextH\000\022%\n\tadd_point\030\002 \001(\0132\020.protos.Add" + "PointH\000\022#\n\010add_line\030\003 \001(\0132\017.protos.AddLi" + "neH\000\022!\n\007add_arc\030\004 \001(\0132\016.protos.AddArcH\000\022" + "\'\n\nadd_circle\030\005 \001(\0132\021.protos.AddCircleH\000" + "\022+\n\014add_triangle\030\006 \001(\0132\023.protos.AddTrian" + "gleH\000\022-\n\radd_rectangle\030\007 \001(\0132\024.protos.Ad" + "dRectangleH\000\022\'\n\nadd_sector\030\010 \001(\0132\021.proto" + "s.AddSectorH\000\022)\n\013add_message\030\t \001(\0132\022.pro" + "tos.AddMessageH\000B\005\n\003log\"\036\n\013DebugClient\022\017" + "\n\007message\030\001 \001(\t\"o\n\016Body_GoToPoint\022)\n\014tar" + "get_point\030\001 \001(\0132\023.protos.RpcVector2D\022\032\n\022" + "distance_threshold\030\002 \001(\002\022\026\n\016max_dash_pow" + "er\030\003 \001(\002\"\202\001\n\016Body_SmartKick\022)\n\014target_po" + "int\030\001 \001(\0132\023.protos.RpcVector2D\022\023\n\013first_" + "speed\030\002 \001(\002\022\035\n\025first_speed_threshold\030\003 \001" + "(\002\022\021\n\tmax_steps\030\004 \001(\005\"7\n\021Bhv_BeforeKickO" + "ff\022\"\n\005point\030\001 \001(\0132\023.protos.RpcVector2D\"\024" + "\n\022Bhv_BodyNeckToBall\"9\n\023Bhv_BodyNeckToPo" + "int\022\"\n\005point\030\001 \001(\0132\023.protos.RpcVector2D\"" + "\017\n\rBhv_Emergency\"v\n\025Bhv_GoToPointLookBal" + "l\022)\n\014target_point\030\001 \001(\0132\023.protos.RpcVect" + "or2D\022\032\n\022distance_threshold\030\002 \001(\002\022\026\n\016max_" + "dash_power\030\003 \001(\002\"\'\n\022Bhv_NeckBodyToBall\022\021" + "\n\tangle_buf\030\001 \001(\002\"L\n\023Bhv_NeckBodyToPoint" + "\022\"\n\005point\030\001 \001(\0132\023.protos.RpcVector2D\022\021\n\t" + "angle_buf\030\002 \001(\002\"\017\n\rBhv_ScanField\"\022\n\020Body" + "_AdvanceBall\"\020\n\016Body_ClearBall\"\214\001\n\014Body_" + "Dribble\022)\n\014target_point\030\001 \001(\0132\023.protos.R" + "pcVector2D\022\032\n\022distance_threshold\030\002 \001(\002\022\022" + "\n\ndash_power\030\003 \001(\002\022\022\n\ndash_count\030\004 \001(\005\022\r" + "\n\005dodge\030\005 \001(\010\"T\n\023Body_GoToPointDodge\022)\n\014" + "target_point\030\001 \001(\0132\023.protos.RpcVector2D\022" + "\022\n\ndash_power\030\002 \001(\002\"\200\001\n\rBody_HoldBall\022\017\n" + "\007do_turn\030\001 \001(\010\022.\n\021turn_target_point\030\002 \001(" + "\0132\023.protos.RpcVector2D\022.\n\021kick_target_po" + "int\030\003 \001(\0132\023.protos.RpcVector2D\"P\n\016Body_I" + "ntercept\022\025\n\rsave_recovery\030\001 \001(\010\022\'\n\nface_" + "point\030\002 \001(\0132\023.protos.RpcVector2D\"f\n\020Body" + "_KickOneStep\022)\n\014target_point\030\001 \001(\0132\023.pro" + "tos.RpcVector2D\022\023\n\013first_speed\030\002 \001(\002\022\022\n\n" + "force_mode\030\003 \001(\010\"\017\n\rBody_StopBall\"&\n\rBod" + "y_StopDash\022\025\n\rsave_recovery\030\001 \001(\010\"k\n\022Bod" + "y_TackleToPoint\022)\n\014target_point\030\001 \001(\0132\023." + "protos.RpcVector2D\022\027\n\017min_probability\030\002 " + "\001(\002\022\021\n\tmin_speed\030\003 \001(\002\"!\n\020Body_TurnToAng" + "le\022\r\n\005angle\030\001 \001(\002\" \n\017Body_TurnToBall\022\r\n\005" + "cycle\030\001 \001(\005\"L\n\020Body_TurnToPoint\022)\n\014targe" + "t_point\030\001 \001(\0132\023.protos.RpcVector2D\022\r\n\005cy" + "cle\030\002 \001(\005\">\n\021Focus_MoveToPoint\022)\n\014target" + "_point\030\001 \001(\0132\023.protos.RpcVector2D\"\r\n\013Foc" + "us_Reset\"\020\n\016Neck_ScanField\"\022\n\020Neck_ScanP" + "layers\"g\n\030Neck_TurnToBallAndPlayer\022\032\n\004si" + "de\030\001 \001(\0162\014.protos.Side\022\026\n\016uniform_number" + "\030\002 \001(\005\022\027\n\017count_threshold\030\003 \001(\005\"0\n\025Neck_" + "TurnToBallOrScan\022\027\n\017count_threshold\030\001 \001(" + "\005\"\021\n\017Neck_TurnToBall\"2\n\027Neck_TurnToGoali" + "eOrScan\022\027\n\017count_threshold\030\001 \001(\005\"\034\n\032Neck" + "_TurnToLowConfTeammate\"f\n\027Neck_TurnToPla" + "yerOrScan\022\032\n\004side\030\001 \001(\0162\014.protos.Side\022\026\n" + "\016uniform_number\030\002 \001(\005\022\027\n\017count_threshold" + "\030\003 \001(\005\"=\n\020Neck_TurnToPoint\022)\n\014target_poi" + "nt\030\001 \001(\0132\023.protos.RpcVector2D\"$\n\023Neck_Tu" + "rnToRelative\022\r\n\005angle\030\001 \001(\002\"9\n\020View_Chan" + "geWidth\022%\n\nview_width\030\001 \001(\0162\021.protos.Vie" + "wWidth\"\r\n\013View_Normal\"\014\n\nView_Synch\"\013\n\tV" + "iew_Wide\"\016\n\014HeliosGoalie\"\022\n\020HeliosGoalie" + "Move\"\022\n\020HeliosGoalieKick\"\r\n\013HeliosShoot\"" + "\363\001\n\026HeliosOffensivePlanner\022\023\n\013direct_pas" + "s\030\001 \001(\010\022\021\n\tlead_pass\030\002 \001(\010\022\024\n\014through_pa" + "ss\030\003 \001(\010\022\025\n\rshort_dribble\030\004 \001(\010\022\024\n\014long_" + "dribble\030\005 \001(\010\022\r\n\005cross\030\006 \001(\010\022\023\n\013simple_p" + "ass\030\007 \001(\010\022\026\n\016simple_dribble\030\010 \001(\010\022\024\n\014sim" + "ple_shoot\030\t \001(\010\022\034\n\024server_side_decision\030" + "\n \001(\010\"\026\n\024HeliosBasicOffensive\"\021\n\017HeliosB" + "asicMove\"\017\n\rHeliosSetPlay\"\017\n\rHeliosPenal" + "ty\"\024\n\022HeliosCommunicaion\"\355\031\n\014PlayerActio" + "n\022\034\n\004dash\030\001 \001(\0132\014.protos.DashH\000\022\034\n\004turn\030" + "\002 \001(\0132\014.protos.TurnH\000\022\034\n\004kick\030\003 \001(\0132\014.pr" + "otos.KickH\000\022 \n\006tackle\030\004 \001(\0132\016.protos.Tac" + "kleH\000\022\036\n\005catch\030\005 \001(\0132\r.protos.CatchH\000\022\034\n" + "\004move\030\006 \001(\0132\014.protos.MoveH\000\022%\n\tturn_neck" + "\030\007 \001(\0132\020.protos.TurnNeckH\000\022)\n\013change_vie" + "w\030\010 \001(\0132\022.protos.ChangeViewH\000\022\032\n\003say\030\t \001" + "(\0132\013.protos.SayH\000\022#\n\010point_to\030\n \001(\0132\017.pr" + "otos.PointToH\000\022(\n\013point_to_of\030\013 \001(\0132\021.pr" + "otos.PointToOfH\000\022+\n\014attention_to\030\014 \001(\0132\023" + ".protos.AttentionToH\000\0220\n\017attention_to_of" + "\030\r \001(\0132\025.protos.AttentionToOfH\000\022\032\n\003log\030\016" + " \001(\0132\013.protos.LogH\000\022+\n\014debug_client\030\017 \001(" + "\0132\023.protos.DebugClientH\000\0222\n\020body_go_to_p" + "oint\030\020 \001(\0132\026.protos.Body_GoToPointH\000\0221\n\017" + "body_smart_kick\030\021 \001(\0132\026.protos.Body_Smar" + "tKickH\000\0228\n\023bhv_before_kick_off\030\022 \001(\0132\031.p" + "rotos.Bhv_BeforeKickOffH\000\022;\n\025bhv_body_ne" + "ck_to_ball\030\023 \001(\0132\032.protos.Bhv_BodyNeckTo" + "BallH\000\022=\n\026bhv_body_neck_to_point\030\024 \001(\0132\033" + ".protos.Bhv_BodyNeckToPointH\000\022.\n\rbhv_eme" + "rgency\030\025 \001(\0132\025.protos.Bhv_EmergencyH\000\022B\n" + "\031bhv_go_to_point_look_ball\030\026 \001(\0132\035.proto" + "s.Bhv_GoToPointLookBallH\000\022;\n\025bhv_neck_bo" + "dy_to_ball\030\027 \001(\0132\032.protos.Bhv_NeckBodyTo" + "BallH\000\022=\n\026bhv_neck_body_to_point\030\030 \001(\0132\033" + ".protos.Bhv_NeckBodyToPointH\000\022/\n\016bhv_sca" + "n_field\030\031 \001(\0132\025.protos.Bhv_ScanFieldH\000\0225" + "\n\021body_advance_ball\030\032 \001(\0132\030.protos.Body_" + "AdvanceBallH\000\0221\n\017body_clear_ball\030\033 \001(\0132\026" + ".protos.Body_ClearBallH\000\022,\n\014body_dribble" + "\030\034 \001(\0132\024.protos.Body_DribbleH\000\022=\n\026body_g" + "o_to_point_dodge\030\035 \001(\0132\033.protos.Body_GoT" + "oPointDodgeH\000\022/\n\016body_hold_ball\030\036 \001(\0132\025." + "protos.Body_HoldBallH\000\0220\n\016body_intercept" + "\030\037 \001(\0132\026.protos.Body_InterceptH\000\0226\n\022body" + "_kick_one_step\030 \001(\0132\030.protos.Body_KickO" + "neStepH\000\022/\n\016body_stop_ball\030! \001(\0132\025.proto" + "s.Body_StopBallH\000\022/\n\016body_stop_dash\030\" \001(" + "\0132\025.protos.Body_StopDashH\000\022:\n\024body_tackl" + "e_to_point\030# \001(\0132\032.protos.Body_TackleToP" + "ointH\000\0226\n\022body_turn_to_angle\030$ \001(\0132\030.pro" + "tos.Body_TurnToAngleH\000\0224\n\021body_turn_to_b" + "all\030% \001(\0132\027.protos.Body_TurnToBallH\000\0226\n\022" + "body_turn_to_point\030& \001(\0132\030.protos.Body_T" + "urnToPointH\000\0228\n\023focus_move_to_point\030\' \001(" + "\0132\031.protos.Focus_MoveToPointH\000\022*\n\013focus_" + "reset\030( \001(\0132\023.protos.Focus_ResetH\000\0221\n\017ne" + "ck_scan_field\030) \001(\0132\026.protos.Neck_ScanFi" + "eldH\000\0225\n\021neck_scan_players\030* \001(\0132\030.proto" + "s.Neck_ScanPlayersH\000\022H\n\034neck_turn_to_bal" + "l_and_player\030+ \001(\0132 .protos.Neck_TurnToB" + "allAndPlayerH\000\022B\n\031neck_turn_to_ball_or_s" + "can\030, \001(\0132\035.protos.Neck_TurnToBallOrScan" + "H\000\0224\n\021neck_turn_to_ball\030- \001(\0132\027.protos.N" + "eck_TurnToBallH\000\022F\n\033neck_turn_to_goalie_" + "or_scan\030. \001(\0132\037.protos.Neck_TurnToGoalie" + "OrScanH\000\022L\n\036neck_turn_to_low_conf_teamma" + "te\030/ \001(\0132\".protos.Neck_TurnToLowConfTeam" + "mateH\000\022F\n\033neck_turn_to_player_or_scan\0300 " + "\001(\0132\037.protos.Neck_TurnToPlayerOrScanH\000\0226" + "\n\022neck_turn_to_point\0301 \001(\0132\030.protos.Neck" + "_TurnToPointH\000\022<\n\025neck_turn_to_relative\030" + "2 \001(\0132\033.protos.Neck_TurnToRelativeH\000\0225\n\021" + "view_change_width\0303 \001(\0132\030.protos.View_Ch" + "angeWidthH\000\022*\n\013view_normal\0304 \001(\0132\023.proto" + "s.View_NormalH\000\022(\n\nview_synch\0305 \001(\0132\022.pr" + "otos.View_SynchH\000\022&\n\tview_wide\0306 \001(\0132\021.p" + "rotos.View_WideH\000\022-\n\rhelios_goalie\0307 \001(\013" + "2\024.protos.HeliosGoalieH\000\0226\n\022helios_goali" + "e_move\0308 \001(\0132\030.protos.HeliosGoalieMoveH\000" + "\0226\n\022helios_goalie_kick\0309 \001(\0132\030.protos.He" + "liosGoalieKickH\000\022+\n\014helios_shoot\030: \001(\0132\023" + ".protos.HeliosShootH\000\022B\n\030helios_offensiv" + "e_planner\030; \001(\0132\036.protos.HeliosOffensive" + "PlannerH\000\022>\n\026helios_basic_offensive\030< \001(" + "\0132\034.protos.HeliosBasicOffensiveH\000\0224\n\021hel" + "ios_basic_move\030= \001(\0132\027.protos.HeliosBasi" + "cMoveH\000\0220\n\017helios_set_play\030> \001(\0132\025.proto" + "s.HeliosSetPlayH\000\022/\n\016helios_penalty\030\? \001(" + "\0132\025.protos.HeliosPenaltyH\000\022:\n\024helios_com" + "munication\030@ \001(\0132\032.protos.HeliosCommunic" + "aionH\000B\010\n\006action\"Q\n\rPlayerActions\022%\n\007act" + "ions\030\001 \003(\0132\024.protos.PlayerAction\022\031\n\021igno" + "re_preprocess\030\002 \001(\010\"8\n\020ChangePlayerType\022" + "\026\n\016uniform_number\030\001 \001(\005\022\014\n\004type\030\002 \001(\005\"\024\n" + "\022DoHeliosSubstitute\"\030\n\026DoHeliosSayPlayer" + "Types\"\322\001\n\013CoachAction\0227\n\023change_player_t" + "ypes\030\001 \001(\0132\030.protos.ChangePlayerTypeH\000\022:" + "\n\024do_helios_substitute\030\002 \001(\0132\032.protos.Do" + "HeliosSubstituteH\000\022D\n\032do_helios_say_play" + "er_types\030\003 \001(\0132\036.protos.DoHeliosSayPlaye" + "rTypesH\000B\010\n\006action\"4\n\014CoachActions\022$\n\007ac" + "tions\030\001 \003(\0132\023.protos.CoachAction\"\013\n\tDoKi" + "ckOff\"Z\n\nDoMoveBall\022%\n\010position\030\001 \001(\0132\023." + "protos.RpcVector2D\022%\n\010velocity\030\002 \001(\0132\023.p" + "rotos.RpcVector2D\"w\n\014DoMovePlayer\022\020\n\010our" + "_side\030\001 \001(\010\022\026\n\016uniform_number\030\002 \001(\005\022%\n\010p" + "osition\030\003 \001(\0132\023.protos.RpcVector2D\022\026\n\016bo" + "dy_direction\030\004 \001(\002\"\013\n\tDoRecover\"X\n\014DoCha" + "ngeMode\022,\n\016game_mode_type\030\001 \001(\0162\024.protos" + ".GameModeType\022\032\n\004side\030\002 \001(\0162\014.protos.Sid" + "e\"L\n\022DoChangePlayerType\022\020\n\010our_side\030\001 \001(" + "\010\022\026\n\016uniform_number\030\002 \001(\005\022\014\n\004type\030\003 \001(\005\"" + "\265\002\n\rTrainerAction\022(\n\013do_kick_off\030\001 \001(\0132\021" + ".protos.DoKickOffH\000\022*\n\014do_move_ball\030\002 \001(" + "\0132\022.protos.DoMoveBallH\000\022.\n\016do_move_playe" + "r\030\003 \001(\0132\024.protos.DoMovePlayerH\000\022\'\n\ndo_re" + "cover\030\004 \001(\0132\021.protos.DoRecoverH\000\022.\n\016do_c" + "hange_mode\030\005 \001(\0132\024.protos.DoChangeModeH\000" + "\022;\n\025do_change_player_type\030\006 \001(\0132\032.protos" + ".DoChangePlayerTypeH\000B\010\n\006action\"8\n\016Train" + "erActions\022&\n\007actions\030\001 \003(\0132\025.protos.Trai" + "nerAction\"\335,\n\013ServerParam\0223\n\021register_re" + "sponse\030\001 \001(\0132\030.protos.RegisterResponse\022\026" + "\n\016inertia_moment\030\002 \001(\002\022\023\n\013player_size\030\003 " + "\001(\002\022\024\n\014player_decay\030\004 \001(\002\022\023\n\013player_rand" + "\030\005 \001(\002\022\025\n\rplayer_weight\030\006 \001(\002\022\030\n\020player_" + "speed_max\030\007 \001(\002\022\030\n\020player_accel_max\030\010 \001(" + "\002\022\023\n\013stamina_max\030\t \001(\002\022\027\n\017stamina_inc_ma" + "x\030\n \001(\002\022\024\n\014recover_init\030\013 \001(\002\022\027\n\017recover" + "_dec_thr\030\014 \001(\002\022\023\n\013recover_min\030\r \001(\002\022\023\n\013r" + "ecover_dec\030\016 \001(\002\022\023\n\013effort_init\030\017 \001(\002\022\026\n" + "\016effort_dec_thr\030\020 \001(\002\022\022\n\neffort_min\030\021 \001(" + "\002\022\022\n\neffort_dec\030\022 \001(\002\022\026\n\016effort_inc_thr\030" + "\023 \001(\002\022\022\n\neffort_inc\030\024 \001(\002\022\021\n\tkick_rand\030\025" + " \001(\002\022\033\n\023team_actuator_noise\030\026 \001(\010\022\034\n\024pla" + "yer_rand_factor_l\030\027 \001(\002\022\034\n\024player_rand_f" + "actor_r\030\030 \001(\002\022\032\n\022kick_rand_factor_l\030\031 \001(" + "\002\022\032\n\022kick_rand_factor_r\030\032 \001(\002\022\021\n\tball_si" + "ze\030\033 \001(\002\022\022\n\nball_decay\030\034 \001(\002\022\021\n\tball_ran" + "d\030\035 \001(\002\022\023\n\013ball_weight\030\036 \001(\002\022\026\n\016ball_spe" + "ed_max\030\037 \001(\002\022\026\n\016ball_accel_max\030 \001(\002\022\027\n\017" + "dash_power_rate\030! \001(\002\022\027\n\017kick_power_rate" + "\030\" \001(\002\022\027\n\017kickable_margin\030# \001(\002\022\026\n\016contr" + "ol_radius\030$ \001(\002\022\034\n\024control_radius_width\030" + "% \001(\002\022\021\n\tmax_power\030& \001(\002\022\021\n\tmin_power\030\' " + "\001(\002\022\022\n\nmax_moment\030( \001(\002\022\022\n\nmin_moment\030) " + "\001(\002\022\027\n\017max_neck_moment\030* \001(\002\022\027\n\017min_neck" + "_moment\030+ \001(\002\022\026\n\016max_neck_angle\030, \001(\002\022\026\n" + "\016min_neck_angle\030- \001(\002\022\025\n\rvisible_angle\030." + " \001(\002\022\030\n\020visible_distance\030/ \001(\002\022\020\n\010wind_d" + "ir\0300 \001(\002\022\022\n\nwind_force\0301 \001(\002\022\022\n\nwind_ang" + "le\0302 \001(\002\022\021\n\twind_rand\0303 \001(\002\022\025\n\rkickable_" + "area\0304 \001(\002\022\024\n\014catch_area_l\0305 \001(\002\022\024\n\014catc" + "h_area_w\0306 \001(\002\022\031\n\021catch_probability\0307 \001(" + "\002\022\030\n\020goalie_max_moves\0308 \001(\005\022\032\n\022corner_ki" + "ck_margin\0309 \001(\002\022 \n\030offside_active_area_s" + "ize\030: \001(\002\022\021\n\twind_none\030; \001(\010\022\027\n\017use_wind" + "_random\030< \001(\010\022\033\n\023coach_say_count_max\030= \001" + "(\005\022\032\n\022coach_say_msg_size\030> \001(\005\022\026\n\016clang_" + "win_size\030\? \001(\005\022\030\n\020clang_define_win\030@ \001(\005" + "\022\026\n\016clang_meta_win\030A \001(\005\022\030\n\020clang_advice" + "_win\030B \001(\005\022\026\n\016clang_info_win\030C \001(\005\022\030\n\020cl" + "ang_mess_delay\030D \001(\005\022\034\n\024clang_mess_per_c" + "ycle\030E \001(\005\022\021\n\thalf_time\030F \001(\005\022\026\n\016simulat" + "or_step\030G \001(\005\022\021\n\tsend_step\030H \001(\005\022\021\n\trecv" + "_step\030I \001(\005\022\027\n\017sense_body_step\030J \001(\005\022\020\n\010" + "lcm_step\030K \001(\005\022\033\n\023player_say_msg_size\030L " + "\001(\005\022\027\n\017player_hear_max\030M \001(\005\022\027\n\017player_h" + "ear_inc\030N \001(\005\022\031\n\021player_hear_decay\030O \001(\005" + "\022\027\n\017catch_ban_cycle\030P \001(\005\022\030\n\020slow_down_f" + "actor\030Q \001(\005\022\023\n\013use_offside\030R \001(\010\022\027\n\017kick" + "off_offside\030S \001(\010\022\033\n\023offside_kick_margin" + "\030T \001(\002\022\026\n\016audio_cut_dist\030U \001(\002\022\032\n\022dist_q" + "uantize_step\030V \001(\002\022#\n\033landmark_dist_quan" + "tize_step\030W \001(\002\022\031\n\021dir_quantize_step\030X \001" + "(\002\022\034\n\024dist_quantize_step_l\030Y \001(\002\022\034\n\024dist" + "_quantize_step_r\030Z \001(\002\022%\n\035landmark_dist_" + "quantize_step_l\030[ \001(\002\022%\n\035landmark_dist_q" + "uantize_step_r\030\\ \001(\002\022\033\n\023dir_quantize_ste" + "p_l\030] \001(\002\022\033\n\023dir_quantize_step_r\030^ \001(\002\022\022" + "\n\ncoach_mode\030_ \001(\010\022\037\n\027coach_with_referee" + "_mode\030` \001(\010\022\032\n\022use_old_coach_hear\030a \001(\010\022" + "%\n\035slowness_on_top_for_left_team\030b \001(\002\022&" + "\n\036slowness_on_top_for_right_team\030c \001(\002\022\024" + "\n\014start_goal_l\030d \001(\005\022\024\n\014start_goal_r\030e \001" + "(\005\022\023\n\013fullstate_l\030f \001(\010\022\023\n\013fullstate_r\030g" + " \001(\010\022\026\n\016drop_ball_time\030h \001(\005\022\022\n\nsynch_mo" + "de\030i \001(\010\022\024\n\014synch_offset\030j \001(\005\022\031\n\021synch_" + "micro_sleep\030k \001(\005\022\024\n\014point_to_ban\030l \001(\005\022" + "\031\n\021point_to_duration\030m \001(\005\022\023\n\013player_por" + "t\030n \001(\005\022\024\n\014trainer_port\030o \001(\005\022\031\n\021online_" + "coach_port\030p \001(\005\022\024\n\014verbose_mode\030q \001(\010\022\032" + "\n\022coach_send_vi_step\030r \001(\005\022\023\n\013replay_fil" + "e\030s \001(\t\022\025\n\rlandmark_file\030t \001(\t\022\022\n\nsend_c" + "omms\030u \001(\010\022\024\n\014text_logging\030v \001(\010\022\024\n\014game" + "_logging\030w \001(\010\022\030\n\020game_log_version\030x \001(\005" + "\022\024\n\014text_log_dir\030y \001(\t\022\024\n\014game_log_dir\030z" + " \001(\t\022\033\n\023text_log_fixed_name\030{ \001(\t\022\033\n\023gam" + "e_log_fixed_name\030| \001(\t\022\032\n\022use_text_log_f" + "ixed\030} \001(\010\022\032\n\022use_game_log_fixed\030~ \001(\010\022\032" + "\n\022use_text_log_dated\030\177 \001(\010\022\033\n\022use_game_l" + "og_dated\030\200\001 \001(\010\022\030\n\017log_date_format\030\201\001 \001(" + "\t\022\022\n\tlog_times\030\202\001 \001(\010\022\027\n\016record_message\030" + "\203\001 \001(\010\022\035\n\024text_log_compression\030\204\001 \001(\005\022\035\n" + "\024game_log_compression\030\205\001 \001(\005\022\024\n\013use_prof" + "ile\030\206\001 \001(\010\022\024\n\013tackle_dist\030\207\001 \001(\002\022\031\n\020tack" + "le_back_dist\030\210\001 \001(\002\022\025\n\014tackle_width\030\211\001 \001" + "(\002\022\030\n\017tackle_exponent\030\212\001 \001(\002\022\026\n\rtackle_c" + "ycles\030\213\001 \001(\005\022\032\n\021tackle_power_rate\030\214\001 \001(\002" + "\022\035\n\024freeform_wait_period\030\215\001 \001(\005\022\035\n\024freef" + "orm_send_period\030\216\001 \001(\005\022\031\n\020free_kick_faul" + "ts\030\217\001 \001(\010\022\024\n\013back_passes\030\220\001 \001(\010\022\032\n\021prope" + "r_goal_kicks\030\221\001 \001(\010\022\031\n\020stopped_ball_vel\030" + "\222\001 \001(\002\022\027\n\016max_goal_kicks\030\223\001 \001(\005\022\026\n\rclang" + "_del_win\030\224\001 \001(\005\022\027\n\016clang_rule_win\030\225\001 \001(\005" + "\022\022\n\tauto_mode\030\226\001 \001(\010\022\026\n\rkick_off_wait\030\227\001" + " \001(\005\022\025\n\014connect_wait\030\230\001 \001(\005\022\027\n\016game_over" + "_wait\030\231\001 \001(\005\022\025\n\014team_l_start\030\232\001 \001(\t\022\025\n\014t" + "eam_r_start\030\233\001 \001(\t\022\026\n\rkeepaway_mode\030\234\001 \001" + "(\010\022\030\n\017keepaway_length\030\235\001 \001(\002\022\027\n\016keepaway" + "_width\030\236\001 \001(\002\022\031\n\020keepaway_logging\030\237\001 \001(\010" + "\022\031\n\020keepaway_log_dir\030\240\001 \001(\t\022 \n\027keepaway_" + "log_fixed_name\030\241\001 \001(\t\022\033\n\022keepaway_log_fi" + "xed\030\242\001 \001(\010\022\033\n\022keepaway_log_dated\030\243\001 \001(\010\022" + "\027\n\016keepaway_start\030\244\001 \001(\005\022\030\n\017nr_normal_ha" + "lfs\030\245\001 \001(\005\022\027\n\016nr_extra_halfs\030\246\001 \001(\005\022\033\n\022p" + "enalty_shoot_outs\030\247\001 \001(\010\022\036\n\025pen_before_s" + "etup_wait\030\250\001 \001(\005\022\027\n\016pen_setup_wait\030\251\001 \001(" + "\005\022\027\n\016pen_ready_wait\030\252\001 \001(\005\022\027\n\016pen_taken_" + "wait\030\253\001 \001(\005\022\025\n\014pen_nr_kicks\030\254\001 \001(\005\022\034\n\023pe" + "n_max_extra_kicks\030\255\001 \001(\005\022\023\n\npen_dist_x\030\256" + "\001 \001(\002\022\032\n\021pen_random_winner\030\257\001 \001(\010\022\035\n\024pen" + "_allow_mult_kicks\030\260\001 \001(\010\022\036\n\025pen_max_goal" + "ie_dist_x\030\261\001 \001(\002\022 \n\027pen_coach_moves_play" + "ers\030\262\001 \001(\010\022\023\n\nmodule_dir\030\263\001 \001(\t\022\030\n\017ball_" + "stuck_area\030\264\001 \001(\002\022\027\n\016coach_msg_file\030\265\001 \001" + "(\t\022\031\n\020max_tackle_power\030\266\001 \001(\002\022\036\n\025max_bac" + "k_tackle_power\030\267\001 \001(\002\022\035\n\024player_speed_ma" + "x_min\030\270\001 \001(\002\022\026\n\rextra_stamina\030\271\001 \001(\002\022\031\n\020" + "synch_see_offset\030\272\001 \001(\005\022\030\n\017extra_half_ti" + "me\030\273\001 \001(\005\022\031\n\020stamina_capacity\030\274\001 \001(\002\022\027\n\016" + "max_dash_angle\030\275\001 \001(\002\022\027\n\016min_dash_angle\030" + "\276\001 \001(\002\022\030\n\017dash_angle_step\030\277\001 \001(\002\022\027\n\016side" + "_dash_rate\030\300\001 \001(\002\022\027\n\016back_dash_rate\030\301\001 \001" + "(\002\022\027\n\016max_dash_power\030\302\001 \001(\002\022\027\n\016min_dash_" + "power\030\303\001 \001(\002\022\033\n\022tackle_rand_factor\030\304\001 \001(" + "\002\022 \n\027foul_detect_probability\030\305\001 \001(\002\022\026\n\rf" + "oul_exponent\030\306\001 \001(\002\022\024\n\013foul_cycles\030\307\001 \001(" + "\005\022\024\n\013golden_goal\030\310\001 \001(\010\022\035\n\024red_card_prob" + "ability\030\311\001 \001(\002\022!\n\030illegal_defense_durati" + "on\030\312\001 \001(\005\022\037\n\026illegal_defense_number\030\313\001 \001" + "(\005\022\037\n\026illegal_defense_dist_x\030\314\001 \001(\002\022\036\n\025i" + "llegal_defense_width\030\315\001 \001(\002\022\031\n\020fixed_tea" + "mname_l\030\316\001 \001(\t\022\031\n\020fixed_teamname_r\030\317\001 \001(" + "\t\022\030\n\017max_catch_angle\030\320\001 \001(\002\022\030\n\017min_catch" + "_angle\030\321\001 \001(\002\022\024\n\013random_seed\030\322\001 \001(\005\022\037\n\026l" + "ong_kick_power_factor\030\323\001 \001(\002\022\030\n\017long_kic" + "k_delay\030\324\001 \001(\005\022\025\n\014max_monitors\030\325\001 \001(\005\022\027\n" + "\016catchable_area\030\326\001 \001(\002\022\027\n\016real_speed_max" + "\030\327\001 \001(\002\022\032\n\021pitch_half_length\030\330\001 \001(\002\022\031\n\020p" + "itch_half_width\030\331\001 \001(\002\022 \n\027our_penalty_ar" + "ea_line_x\030\332\001 \001(\002\022\"\n\031their_penalty_area_l" + "ine_x\030\333\001 \001(\002\022 \n\027penalty_area_half_width\030" + "\334\001 \001(\002\022\034\n\023penalty_area_length\030\335\001 \001(\002\022\023\n\n" + "goal_width\030\336\001 \001(\002\"\215\010\n\013PlayerParam\0223\n\021reg" + "ister_response\030\001 \001(\0132\030.protos.RegisterRe" + "sponse\022\024\n\014player_types\030\002 \001(\005\022\020\n\010subs_max" + "\030\003 \001(\005\022\016\n\006pt_max\030\004 \001(\005\022\037\n\027allow_mult_def" + "ault_type\030\005 \001(\010\022\"\n\032player_speed_max_delt" + "a_min\030\006 \001(\002\022\"\n\032player_speed_max_delta_ma" + "x\030\007 \001(\002\022$\n\034stamina_inc_max_delta_factor\030" + "\010 \001(\002\022\036\n\026player_decay_delta_min\030\t \001(\002\022\036\n" + "\026player_decay_delta_max\030\n \001(\002\022#\n\033inertia" + "_moment_delta_factor\030\013 \001(\002\022!\n\031dash_power" + "_rate_delta_min\030\014 \001(\002\022!\n\031dash_power_rate" + "_delta_max\030\r \001(\002\022 \n\030player_size_delta_fa" + "ctor\030\016 \001(\002\022!\n\031kickable_margin_delta_min\030" + "\017 \001(\002\022!\n\031kickable_margin_delta_max\030\020 \001(\002" + "\022\036\n\026kick_rand_delta_factor\030\021 \001(\002\022\037\n\027extr" + "a_stamina_delta_min\030\022 \001(\002\022\037\n\027extra_stami" + "na_delta_max\030\023 \001(\002\022\037\n\027effort_max_delta_f" + "actor\030\024 \001(\002\022\037\n\027effort_min_delta_factor\030\025" + " \001(\002\022\023\n\013random_seed\030\026 \001(\005\022%\n\035new_dash_po" + "wer_rate_delta_min\030\027 \001(\002\022%\n\035new_dash_pow" + "er_rate_delta_max\030\030 \001(\002\022(\n new_stamina_i" + "nc_max_delta_factor\030\031 \001(\002\022!\n\031kick_power_" + "rate_delta_min\030\032 \001(\002\022!\n\031kick_power_rate_" + "delta_max\030\033 \001(\002\022,\n$foul_detect_probabili" + "ty_delta_factor\030\034 \001(\002\022$\n\034catchable_area_" + "l_stretch_min\030\035 \001(\002\022$\n\034catchable_area_l_" + "stretch_max\030\036 \001(\002\"\277\007\n\nPlayerType\0223\n\021regi" + "ster_response\030\001 \001(\0132\030.protos.RegisterRes" + "ponse\022\n\n\002id\030\002 \001(\005\022\027\n\017stamina_inc_max\030\003 \001" + "(\002\022\024\n\014player_decay\030\004 \001(\002\022\026\n\016inertia_mome" + "nt\030\005 \001(\002\022\027\n\017dash_power_rate\030\006 \001(\002\022\023\n\013pla" + "yer_size\030\007 \001(\002\022\027\n\017kickable_margin\030\010 \001(\002\022" + "\021\n\tkick_rand\030\t \001(\002\022\025\n\rextra_stamina\030\n \001(" + "\002\022\022\n\neffort_max\030\013 \001(\002\022\022\n\neffort_min\030\014 \001(" + "\002\022\027\n\017kick_power_rate\030\r \001(\002\022\037\n\027foul_detec" + "t_probability\030\016 \001(\002\022 \n\030catchable_area_l_" + "stretch\030\017 \001(\002\022\027\n\017unum_far_length\030\020 \001(\002\022\033" + "\n\023unum_too_far_length\030\021 \001(\002\022\027\n\017team_far_" + "length\030\022 \001(\002\022\033\n\023team_too_far_length\030\023 \001(" + "\002\022%\n\035player_max_observation_length\030\024 \001(\002" + "\022\033\n\023ball_vel_far_length\030\025 \001(\002\022\037\n\027ball_ve" + "l_too_far_length\030\026 \001(\002\022#\n\033ball_max_obser" + "vation_length\030\027 \001(\002\022\033\n\023flag_chg_far_leng" + "th\030\030 \001(\002\022\037\n\027flag_chg_too_far_length\030\031 \001(" + "\002\022#\n\033flag_max_observation_length\030\032 \001(\002\022\025" + "\n\rkickable_area\030\033 \001(\002\022\037\n\027reliable_catcha" + "ble_dist\030\034 \001(\002\022\032\n\022max_catchable_dist\030\035 \001" + "(\002\022\026\n\016real_speed_max\030\036 \001(\002\022\031\n\021player_spe" + "ed_max2\030\037 \001(\002\022\027\n\017real_speed_max2\030 \001(\002\022!" + "\n\031cycles_to_reach_max_speed\030! \001(\005\022\030\n\020pla" + "yer_speed_max\030\" \001(\002\"\255\003\n\024RpcCooperativeAc" + "tion\022+\n\010category\030\001 \001(\0162\031.protos.RpcActio" + "nCategory\022\r\n\005index\030\002 \001(\005\022\023\n\013sender_unum\030" + "\003 \001(\005\022\023\n\013target_unum\030\004 \001(\005\022)\n\014target_poi" + "nt\030\005 \001(\0132\023.protos.RpcVector2D\022\030\n\020first_b" + "all_speed\030\006 \001(\001\022\031\n\021first_turn_moment\030\007 \001" + "(\001\022\030\n\020first_dash_power\030\010 \001(\001\022!\n\031first_da" + "sh_angle_relative\030\t \001(\001\022\025\n\rduration_step" + "\030\n \001(\005\022\022\n\nkick_count\030\013 \001(\005\022\022\n\nturn_count" + "\030\014 \001(\005\022\022\n\ndash_count\030\r \001(\005\022\024\n\014final_acti" + "on\030\016 \001(\010\022\023\n\013description\030\017 \001(\t\022\024\n\014parent_" + "index\030\020 \001(\005\"\317\001\n\017RpcPredictState\022\022\n\nspend" + "_time\030\001 \001(\005\022\030\n\020ball_holder_unum\030\002 \001(\005\022*\n" + "\rball_position\030\003 \001(\0132\023.protos.RpcVector2" + "D\022*\n\rball_velocity\030\004 \001(\0132\023.protos.RpcVec" + "tor2D\022\032\n\022our_defense_line_x\030\005 \001(\001\022\032\n\022our" + "_offense_line_x\030\006 \001(\001\"\202\001\n\016RpcActionState" + "\022,\n\006action\030\001 \001(\0132\034.protos.RpcCooperative" + "Action\022.\n\rpredict_state\030\002 \001(\0132\027.protos.R" + "pcPredictState\022\022\n\nevaluation\030\003 \001(\001\"\357\001\n\030B" + "estPlannerActionRequest\0223\n\021register_resp" + "onse\030\001 \001(\0132\030.protos.RegisterResponse\022:\n\005" + "pairs\030\002 \003(\0132+.protos.BestPlannerActionRe" + "quest.PairsEntry\022\034\n\005state\030\003 \001(\0132\r.protos" + ".State\032D\n\nPairsEntry\022\013\n\003key\030\001 \001(\005\022%\n\005val" + "ue\030\002 \001(\0132\026.protos.RpcActionState:\0028\001\"*\n\031" + "BestPlannerActionResponse\022\r\n\005index\030\001 \001(\005" + "\"\007\n\005Empty*-\n\tViewWidth\022\n\n\006NARROW\020\000\022\n\n\006NO" + "RMAL\020\001\022\010\n\004WIDE\020\002*{\n\025RpcServerLanguageTyp" + "e\022\024\n\020UNKNOWN_LANGUAGE\020\000\022\n\n\006PYThON\020\001\022\010\n\004J" + "AVA\020\002\022\007\n\003CPP\020\003\022\n\n\006CSHARP\020\004\022\010\n\004RUBY\020\005\022\017\n\013" + "JAVE_SCRIPT\020\006\022\006\n\002GO\020\007*(\n\004Side\022\013\n\007UNKNOWN" + "\020\000\022\010\n\004LEFT\020\001\022\t\n\005RIGHT\020\002*\262\002\n\013LoggerLevel\022" + "\r\n\tNoneLevel\020\000\022\n\n\006SYSTEM\020\001\022\n\n\006SENSOR\020\002\022\t" + "\n\005WORLD\020\004\022\n\n\006ACTION\020\010\022\r\n\tINTERCEPT\020\020\022\010\n\004" + "KICK\020 \022\010\n\004HOLD\020@\022\014\n\007DRIBBLE\020\200\001\022\t\n\004PASS\020\200" + "\002\022\n\n\005CROSS\020\200\004\022\n\n\005SHOOT\020\200\010\022\n\n\005CLEAR\020\200\020\022\n\n" + "\005BLOCK\020\200 \022\t\n\004MARK\020\200@\022\021\n\013POSITIONING\020\200\200\001\022" + "\n\n\004ROLE\020\200\200\002\022\n\n\004TEAM\020\200\200\004\022\023\n\rCOMMUNICATION" + "\020\200\200\010\022\016\n\010ANALYZER\020\200\200\020\022\022\n\014ACTION_CHAIN\020\200\200 " + "\022\n\n\004PLAN\020\200\200@*,\n\010CardType\022\013\n\007NO_CARD\020\000\022\n\n" + "\006YELLOW\020\001\022\007\n\003RED\020\002*v\n\023InterceptActionTyp" + "e\022!\n\035UNKNOWN_Intercept_Action_Type\020\000\022\r\n\t" + "OMNI_DASH\020\001\022\025\n\021TURN_FORWARD_DASH\020\002\022\026\n\022TU" + "RN_BACKWARD_DASH\020\003*\273\004\n\014GameModeType\022\021\n\rB" + "eforeKickOff\020\000\022\014\n\010TimeOver\020\001\022\n\n\006PlayOn\020\002" + "\022\014\n\010KickOff_\020\003\022\013\n\007KickIn_\020\004\022\r\n\tFreeKick_" + "\020\005\022\017\n\013CornerKick_\020\006\022\r\n\tGoalKick_\020\007\022\016\n\nAf" + "terGoal_\020\010\022\014\n\010OffSide_\020\t\022\020\n\014PenaltyKick_" + "\020\n\022\021\n\rFirstHalfOver\020\013\022\t\n\005Pause\020\014\022\t\n\005Huma" + "n\020\r\022\017\n\013FoulCharge_\020\016\022\r\n\tFoulPush_\020\017\022\031\n\025F" + "oulMultipleAttacker_\020\020\022\020\n\014FoulBallOut_\020\021" + "\022\r\n\tBackPass_\020\022\022\022\n\016FreeKickFault_\020\023\022\017\n\013C" + "atchFault_\020\024\022\020\n\014IndFreeKick_\020\025\022\021\n\rPenalt" + "ySetup_\020\026\022\021\n\rPenaltyReady_\020\027\022\021\n\rPenaltyT" + "aken_\020\030\022\020\n\014PenaltyMiss_\020\031\022\021\n\rPenaltyScor" + "e_\020\032\022\023\n\017IllegalDefense_\020\033\022\023\n\017PenaltyOnfi" + "eld_\020\034\022\020\n\014PenaltyFoul_\020\035\022\020\n\014GoalieCatch_" + "\020\036\022\016\n\nExtendHalf\020\037\022\014\n\010MODE_MAX\020 *2\n\tAgen" + "tType\022\013\n\007PlayerT\020\000\022\n\n\006CoachT\020\001\022\014\n\010Traine" + "rT\020\002*w\n\021RpcActionCategory\022\013\n\007AC_Hold\020\000\022\016" + "\n\nAC_Dribble\020\001\022\013\n\007AC_Pass\020\002\022\014\n\010AC_Shoot\020" + "\003\022\014\n\010AC_Clear\020\004\022\013\n\007AC_Move\020\005\022\017\n\013AC_NoAct" + "ion\020\0062\373\004\n\004Game\022:\n\020GetPlayerActions\022\r.pro" + "tos.State\032\025.protos.PlayerActions\"\000\0228\n\017Ge" + "tCoachActions\022\r.protos.State\032\024.protos.Co" + "achActions\"\000\022<\n\021GetTrainerActions\022\r.prot" + "os.State\032\026.protos.TrainerActions\"\000\0227\n\017Se" + "ndInitMessage\022\023.protos.InitMessage\032\r.pro" + "tos.Empty\"\000\0228\n\020SendServerParams\022\023.protos" + ".ServerParam\032\r.protos.Empty\"\000\0228\n\020SendPla" + "yerParams\022\023.protos.PlayerParam\032\r.protos." + "Empty\"\000\0225\n\016SendPlayerType\022\022.protos.Playe" + "rType\032\r.protos.Empty\"\000\022\?\n\010Register\022\027.pro" + "tos.RegisterRequest\032\030.protos.RegisterRes" + "ponse\"\000\022;\n\016SendByeCommand\022\030.protos.Regis" + "terResponse\032\r.protos.Empty\"\000\022]\n\024GetBestP" + "lannerAction\022 .protos.BestPlannerActionR" + "equest\032!.protos.BestPlannerActionRespons" + "e\"\000b\006proto3" }; static ::absl::once_flag descriptor_table_service_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_service_2eproto = { false, false, - 28639, + 28851, descriptor_table_protodef_service_2eproto, "service.proto", &descriptor_table_service_2eproto_once, @@ -6709,10 +6721,29 @@ bool ViewWidth_IsValid(int value) { return false; } } -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Side_descriptor() { +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* RpcServerLanguageType_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_service_2eproto); return file_level_enum_descriptors_service_2eproto[1]; } +bool RpcServerLanguageType_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + return true; + default: + return false; + } +} +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Side_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_service_2eproto); + return file_level_enum_descriptors_service_2eproto[2]; +} bool Side_IsValid(int value) { switch (value) { case 0: @@ -6725,7 +6756,7 @@ bool Side_IsValid(int value) { } const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* LoggerLevel_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_service_2eproto); - return file_level_enum_descriptors_service_2eproto[2]; + return file_level_enum_descriptors_service_2eproto[3]; } bool LoggerLevel_IsValid(int value) { switch (value) { @@ -6758,7 +6789,7 @@ bool LoggerLevel_IsValid(int value) { } const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CardType_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_service_2eproto); - return file_level_enum_descriptors_service_2eproto[3]; + return file_level_enum_descriptors_service_2eproto[4]; } bool CardType_IsValid(int value) { switch (value) { @@ -6772,7 +6803,7 @@ bool CardType_IsValid(int value) { } const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* InterceptActionType_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_service_2eproto); - return file_level_enum_descriptors_service_2eproto[4]; + return file_level_enum_descriptors_service_2eproto[5]; } bool InterceptActionType_IsValid(int value) { switch (value) { @@ -6787,7 +6818,7 @@ bool InterceptActionType_IsValid(int value) { } const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* GameModeType_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_service_2eproto); - return file_level_enum_descriptors_service_2eproto[5]; + return file_level_enum_descriptors_service_2eproto[6]; } bool GameModeType_IsValid(int value) { switch (value) { @@ -6831,7 +6862,7 @@ bool GameModeType_IsValid(int value) { } const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* AgentType_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_service_2eproto); - return file_level_enum_descriptors_service_2eproto[6]; + return file_level_enum_descriptors_service_2eproto[7]; } bool AgentType_IsValid(int value) { switch (value) { @@ -6845,7 +6876,7 @@ bool AgentType_IsValid(int value) { } const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* RpcActionCategory_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_service_2eproto); - return file_level_enum_descriptors_service_2eproto[7]; + return file_level_enum_descriptors_service_2eproto[8]; } bool RpcActionCategory_IsValid(int value) { switch (value) { @@ -7187,6 +7218,8 @@ RegisterRequest::RegisterRequest(const RegisterRequest& from) , decltype(_impl_.uniform_number_) {} + , decltype(_impl_.rpc_version_) {} + , /*decltype(_impl_._cached_size_)*/{}}; _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); @@ -7198,8 +7231,8 @@ RegisterRequest::RegisterRequest(const RegisterRequest& from) _this->_impl_.team_name_.Set(from._internal_team_name(), _this->GetArenaForAllocation()); } ::memcpy(&_impl_.agent_type_, &from._impl_.agent_type_, - static_cast<::size_t>(reinterpret_cast(&_impl_.uniform_number_) - - reinterpret_cast(&_impl_.agent_type_)) + sizeof(_impl_.uniform_number_)); + static_cast<::size_t>(reinterpret_cast(&_impl_.rpc_version_) - + reinterpret_cast(&_impl_.agent_type_)) + sizeof(_impl_.rpc_version_)); // @@protoc_insertion_point(copy_constructor:protos.RegisterRequest) } @@ -7212,6 +7245,8 @@ inline void RegisterRequest::SharedCtor(::_pb::Arena* arena) { , decltype(_impl_.uniform_number_) { 0 } + , decltype(_impl_.rpc_version_) { 0 } + , /*decltype(_impl_._cached_size_)*/{} }; _impl_.team_name_.InitDefault(); @@ -7246,8 +7281,8 @@ void RegisterRequest::Clear() { _impl_.team_name_.ClearToEmpty(); ::memset(&_impl_.agent_type_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.uniform_number_) - - reinterpret_cast(&_impl_.agent_type_)) + sizeof(_impl_.uniform_number_)); + reinterpret_cast(&_impl_.rpc_version_) - + reinterpret_cast(&_impl_.agent_type_)) + sizeof(_impl_.rpc_version_)); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -7287,6 +7322,15 @@ const char* RegisterRequest::_InternalParse(const char* ptr, ::_pbi::ParseContex goto handle_unusual; } continue; + // int32 rpc_version = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.rpc_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; default: goto handle_unusual; } // switch @@ -7338,6 +7382,13 @@ ::uint8_t* RegisterRequest::_InternalSerialize( 3, this->_internal_uniform_number(), target); } + // int32 rpc_version = 4; + if (this->_internal_rpc_version() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 4, this->_internal_rpc_version(), target); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -7372,6 +7423,12 @@ ::size_t RegisterRequest::ByteSizeLong() const { this->_internal_uniform_number()); } + // int32 rpc_version = 4; + if (this->_internal_rpc_version() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_rpc_version()); + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } @@ -7399,6 +7456,9 @@ void RegisterRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const if (from._internal_uniform_number() != 0) { _this->_internal_set_uniform_number(from._internal_uniform_number()); } + if (from._internal_rpc_version() != 0) { + _this->_internal_set_rpc_version(from._internal_rpc_version()); + } _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -7421,8 +7481,8 @@ void RegisterRequest::InternalSwap(RegisterRequest* other) { ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.team_name_, lhs_arena, &other->_impl_.team_name_, rhs_arena); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(RegisterRequest, _impl_.uniform_number_) - + sizeof(RegisterRequest::_impl_.uniform_number_) + PROTOBUF_FIELD_OFFSET(RegisterRequest, _impl_.rpc_version_) + + sizeof(RegisterRequest::_impl_.rpc_version_) - PROTOBUF_FIELD_OFFSET(RegisterRequest, _impl_.agent_type_)>( reinterpret_cast(&_impl_.agent_type_), reinterpret_cast(&other->_impl_.agent_type_)); @@ -7456,6 +7516,8 @@ RegisterResponse::RegisterResponse(const RegisterResponse& from) , decltype(_impl_.uniform_number_) {} + , decltype(_impl_.rpc_server_language_type_) {} + , /*decltype(_impl_._cached_size_)*/{}}; _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); @@ -7467,8 +7529,8 @@ RegisterResponse::RegisterResponse(const RegisterResponse& from) _this->_impl_.team_name_.Set(from._internal_team_name(), _this->GetArenaForAllocation()); } ::memcpy(&_impl_.client_id_, &from._impl_.client_id_, - static_cast<::size_t>(reinterpret_cast(&_impl_.uniform_number_) - - reinterpret_cast(&_impl_.client_id_)) + sizeof(_impl_.uniform_number_)); + static_cast<::size_t>(reinterpret_cast(&_impl_.rpc_server_language_type_) - + reinterpret_cast(&_impl_.client_id_)) + sizeof(_impl_.rpc_server_language_type_)); // @@protoc_insertion_point(copy_constructor:protos.RegisterResponse) } @@ -7483,6 +7545,8 @@ inline void RegisterResponse::SharedCtor(::_pb::Arena* arena) { , decltype(_impl_.uniform_number_) { 0 } + , decltype(_impl_.rpc_server_language_type_) { 0 } + , /*decltype(_impl_._cached_size_)*/{} }; _impl_.team_name_.InitDefault(); @@ -7517,8 +7581,8 @@ void RegisterResponse::Clear() { _impl_.team_name_.ClearToEmpty(); ::memset(&_impl_.client_id_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.uniform_number_) - - reinterpret_cast(&_impl_.client_id_)) + sizeof(_impl_.uniform_number_)); + reinterpret_cast(&_impl_.rpc_server_language_type_) - + reinterpret_cast(&_impl_.client_id_)) + sizeof(_impl_.rpc_server_language_type_)); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -7567,6 +7631,16 @@ const char* RegisterResponse::_InternalParse(const char* ptr, ::_pbi::ParseConte goto handle_unusual; } continue; + // .protos.RpcServerLanguageType rpc_server_language_type = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) { + ::int32_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + _internal_set_rpc_server_language_type(static_cast<::protos::RpcServerLanguageType>(val)); + } else { + goto handle_unusual; + } + continue; default: goto handle_unusual; } // switch @@ -7625,6 +7699,13 @@ ::uint8_t* RegisterResponse::_InternalSerialize( 4, this->_internal_uniform_number(), target); } + // .protos.RpcServerLanguageType rpc_server_language_type = 5; + if (this->_internal_rpc_server_language_type() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 5, this->_internal_rpc_server_language_type(), target); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -7665,6 +7746,12 @@ ::size_t RegisterResponse::ByteSizeLong() const { this->_internal_uniform_number()); } + // .protos.RpcServerLanguageType rpc_server_language_type = 5; + if (this->_internal_rpc_server_language_type() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_rpc_server_language_type()); + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } @@ -7695,6 +7782,9 @@ void RegisterResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const if (from._internal_uniform_number() != 0) { _this->_internal_set_uniform_number(from._internal_uniform_number()); } + if (from._internal_rpc_server_language_type() != 0) { + _this->_internal_set_rpc_server_language_type(from._internal_rpc_server_language_type()); + } _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -7717,8 +7807,8 @@ void RegisterResponse::InternalSwap(RegisterResponse* other) { ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.team_name_, lhs_arena, &other->_impl_.team_name_, rhs_arena); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(RegisterResponse, _impl_.uniform_number_) - + sizeof(RegisterResponse::_impl_.uniform_number_) + PROTOBUF_FIELD_OFFSET(RegisterResponse, _impl_.rpc_server_language_type_) + + sizeof(RegisterResponse::_impl_.rpc_server_language_type_) - PROTOBUF_FIELD_OFFSET(RegisterResponse, _impl_.client_id_)>( reinterpret_cast(&_impl_.client_id_), reinterpret_cast(&other->_impl_.client_id_)); diff --git a/src/grpc-generated/service.pb.h b/src/grpc-generated/service.pb.h index a4c3e8d..3beab22 100644 --- a/src/grpc-generated/service.pb.h +++ b/src/grpc-generated/service.pb.h @@ -764,6 +764,44 @@ inline bool ViewWidth_Parse(absl::string_view name, ViewWidth* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( ViewWidth_descriptor(), name, value); } +enum RpcServerLanguageType : int { + UNKNOWN_LANGUAGE = 0, + PYThON = 1, + JAVA = 2, + CPP = 3, + CSHARP = 4, + RUBY = 5, + JAVE_SCRIPT = 6, + GO = 7, + RpcServerLanguageType_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + RpcServerLanguageType_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool RpcServerLanguageType_IsValid(int value); +constexpr RpcServerLanguageType RpcServerLanguageType_MIN = static_cast(0); +constexpr RpcServerLanguageType RpcServerLanguageType_MAX = static_cast(7); +constexpr int RpcServerLanguageType_ARRAYSIZE = 7 + 1; +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* +RpcServerLanguageType_descriptor(); +template +const std::string& RpcServerLanguageType_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to RpcServerLanguageType_Name()."); + return RpcServerLanguageType_Name(static_cast(value)); +} +template <> +inline const std::string& RpcServerLanguageType_Name(RpcServerLanguageType value) { + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool RpcServerLanguageType_Parse(absl::string_view name, RpcServerLanguageType* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + RpcServerLanguageType_descriptor(), name, value); +} enum Side : int { UNKNOWN = 0, LEFT = 1, @@ -1371,6 +1409,7 @@ class RegisterRequest final : kTeamNameFieldNumber = 2, kAgentTypeFieldNumber = 1, kUniformNumberFieldNumber = 3, + kRpcVersionFieldNumber = 4, }; // string team_name = 2; void clear_team_name() ; @@ -1411,6 +1450,16 @@ class RegisterRequest final : ::int32_t _internal_uniform_number() const; void _internal_set_uniform_number(::int32_t value); + public: + // int32 rpc_version = 4; + void clear_rpc_version() ; + ::int32_t rpc_version() const; + void set_rpc_version(::int32_t value); + + private: + ::int32_t _internal_rpc_version() const; + void _internal_set_rpc_version(::int32_t value); + public: // @@protoc_insertion_point(class_scope:protos.RegisterRequest) private: @@ -1423,6 +1472,7 @@ class RegisterRequest final : ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr team_name_; int agent_type_; ::int32_t uniform_number_; + ::int32_t rpc_version_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; }; union { Impl_ _impl_; }; @@ -1561,6 +1611,7 @@ class RegisterResponse final : kClientIdFieldNumber = 1, kAgentTypeFieldNumber = 2, kUniformNumberFieldNumber = 4, + kRpcServerLanguageTypeFieldNumber = 5, }; // string team_name = 3; void clear_team_name() ; @@ -1611,6 +1662,16 @@ class RegisterResponse final : ::int32_t _internal_uniform_number() const; void _internal_set_uniform_number(::int32_t value); + public: + // .protos.RpcServerLanguageType rpc_server_language_type = 5; + void clear_rpc_server_language_type() ; + ::protos::RpcServerLanguageType rpc_server_language_type() const; + void set_rpc_server_language_type(::protos::RpcServerLanguageType value); + + private: + ::protos::RpcServerLanguageType _internal_rpc_server_language_type() const; + void _internal_set_rpc_server_language_type(::protos::RpcServerLanguageType value); + public: // @@protoc_insertion_point(class_scope:protos.RegisterResponse) private: @@ -1624,6 +1685,7 @@ class RegisterResponse final : ::int32_t client_id_; int agent_type_; ::int32_t uniform_number_; + int rpc_server_language_type_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; }; union { Impl_ _impl_; }; @@ -30515,6 +30577,26 @@ inline void RegisterRequest::_internal_set_uniform_number(::int32_t value) { _impl_.uniform_number_ = value; } +// int32 rpc_version = 4; +inline void RegisterRequest::clear_rpc_version() { + _impl_.rpc_version_ = 0; +} +inline ::int32_t RegisterRequest::rpc_version() const { + // @@protoc_insertion_point(field_get:protos.RegisterRequest.rpc_version) + return _internal_rpc_version(); +} +inline void RegisterRequest::set_rpc_version(::int32_t value) { + _internal_set_rpc_version(value); + // @@protoc_insertion_point(field_set:protos.RegisterRequest.rpc_version) +} +inline ::int32_t RegisterRequest::_internal_rpc_version() const { + return _impl_.rpc_version_; +} +inline void RegisterRequest::_internal_set_rpc_version(::int32_t value) { + ; + _impl_.rpc_version_ = value; +} + // ------------------------------------------------------------------- // RegisterResponse @@ -30626,6 +30708,26 @@ inline void RegisterResponse::_internal_set_uniform_number(::int32_t value) { _impl_.uniform_number_ = value; } +// .protos.RpcServerLanguageType rpc_server_language_type = 5; +inline void RegisterResponse::clear_rpc_server_language_type() { + _impl_.rpc_server_language_type_ = 0; +} +inline ::protos::RpcServerLanguageType RegisterResponse::rpc_server_language_type() const { + // @@protoc_insertion_point(field_get:protos.RegisterResponse.rpc_server_language_type) + return _internal_rpc_server_language_type(); +} +inline void RegisterResponse::set_rpc_server_language_type(::protos::RpcServerLanguageType value) { + _internal_set_rpc_server_language_type(value); + // @@protoc_insertion_point(field_set:protos.RegisterResponse.rpc_server_language_type) +} +inline ::protos::RpcServerLanguageType RegisterResponse::_internal_rpc_server_language_type() const { + return static_cast<::protos::RpcServerLanguageType>(_impl_.rpc_server_language_type_); +} +inline void RegisterResponse::_internal_set_rpc_server_language_type(::protos::RpcServerLanguageType value) { + ; + _impl_.rpc_server_language_type_ = value; +} + // ------------------------------------------------------------------- // Ball @@ -58998,6 +59100,12 @@ inline const EnumDescriptor* GetEnumDescriptor<::protos::ViewWidth>() { return ::protos::ViewWidth_descriptor(); } template <> +struct is_proto_enum<::protos::RpcServerLanguageType> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::protos::RpcServerLanguageType>() { + return ::protos::RpcServerLanguageType_descriptor(); +} +template <> struct is_proto_enum<::protos::Side> : std::true_type {}; template <> inline const EnumDescriptor* GetEnumDescriptor<::protos::Side>() { diff --git a/src/thrift-generated/soccer_service_types.cpp b/src/thrift-generated/soccer_service_types.cpp index 61cb8a9..c649910 100644 --- a/src/thrift-generated/soccer_service_types.cpp +++ b/src/thrift-generated/soccer_service_types.cpp @@ -75,6 +75,47 @@ std::string to_string(const AgentType::type& val) { } } +int _kRpcServerLanguageTypeValues[] = { + RpcServerLanguageType::UNKNOWN_LANGUAGE, + RpcServerLanguageType::PYThON, + RpcServerLanguageType::JAVA, + RpcServerLanguageType::CPP, + RpcServerLanguageType::CSHARP, + RpcServerLanguageType::RUBY, + RpcServerLanguageType::JAVE_SCRIPT, + RpcServerLanguageType::GO +}; +const char* _kRpcServerLanguageTypeNames[] = { + "UNKNOWN_LANGUAGE", + "PYThON", + "JAVA", + "CPP", + "CSHARP", + "RUBY", + "JAVE_SCRIPT", + "GO" +}; +const std::map _RpcServerLanguageType_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(8, _kRpcServerLanguageTypeValues, _kRpcServerLanguageTypeNames), ::apache::thrift::TEnumIterator(-1, nullptr, nullptr)); + +std::ostream& operator<<(std::ostream& out, const RpcServerLanguageType::type& val) { + std::map::const_iterator it = _RpcServerLanguageType_VALUES_TO_NAMES.find(val); + if (it != _RpcServerLanguageType_VALUES_TO_NAMES.end()) { + out << it->second; + } else { + out << static_cast(val); + } + return out; +} + +std::string to_string(const RpcServerLanguageType::type& val) { + std::map::const_iterator it = _RpcServerLanguageType_VALUES_TO_NAMES.find(val); + if (it != _RpcServerLanguageType_VALUES_TO_NAMES.end()) { + return std::string(it->second); + } else { + return std::to_string(static_cast(val)); + } +} + int _kSideValues[] = { Side::UNKNOWN, Side::LEFT, @@ -537,6 +578,10 @@ void RegisterRequest::__set_team_name(const std::string& val) { void RegisterRequest::__set_uniform_number(const int32_t val) { this->uniform_number = val; } + +void RegisterRequest::__set_rpc_version(const int32_t val) { + this->rpc_version = val; +} std::ostream& operator<<(std::ostream& out, const RegisterRequest& obj) { obj.printTo(out); @@ -591,6 +636,14 @@ uint32_t RegisterRequest::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 4: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->rpc_version); + this->__isset.rpc_version = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -620,6 +673,10 @@ uint32_t RegisterRequest::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeI32(this->uniform_number); xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldBegin("rpc_version", ::apache::thrift::protocol::T_I32, 4); + xfer += oprot->writeI32(this->rpc_version); + xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -630,6 +687,7 @@ void swap(RegisterRequest &a, RegisterRequest &b) { swap(a.agent_type, b.agent_type); swap(a.team_name, b.team_name); swap(a.uniform_number, b.uniform_number); + swap(a.rpc_version, b.rpc_version); swap(a.__isset, b.__isset); } @@ -637,12 +695,14 @@ RegisterRequest::RegisterRequest(const RegisterRequest& other3) { agent_type = other3.agent_type; team_name = other3.team_name; uniform_number = other3.uniform_number; + rpc_version = other3.rpc_version; __isset = other3.__isset; } RegisterRequest& RegisterRequest::operator=(const RegisterRequest& other4) { agent_type = other4.agent_type; team_name = other4.team_name; uniform_number = other4.uniform_number; + rpc_version = other4.rpc_version; __isset = other4.__isset; return *this; } @@ -652,6 +712,7 @@ void RegisterRequest::printTo(std::ostream& out) const { out << "agent_type=" << to_string(agent_type); out << ", " << "team_name=" << to_string(team_name); out << ", " << "uniform_number=" << to_string(uniform_number); + out << ", " << "rpc_version=" << to_string(rpc_version); out << ")"; } @@ -675,6 +736,10 @@ void RegisterResponse::__set_team_name(const std::string& val) { void RegisterResponse::__set_uniform_number(const int32_t val) { this->uniform_number = val; } + +void RegisterResponse::__set_rpc_server_language_type(const RpcServerLanguageType::type val) { + this->rpc_server_language_type = val; +} std::ostream& operator<<(std::ostream& out, const RegisterResponse& obj) { obj.printTo(out); @@ -737,6 +802,16 @@ uint32_t RegisterResponse::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 5: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast6; + xfer += iprot->readI32(ecast6); + this->rpc_server_language_type = static_cast(ecast6); + this->__isset.rpc_server_language_type = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -770,6 +845,10 @@ uint32_t RegisterResponse::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeI32(this->uniform_number); xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldBegin("rpc_server_language_type", ::apache::thrift::protocol::T_I32, 5); + xfer += oprot->writeI32(static_cast(this->rpc_server_language_type)); + xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -781,22 +860,25 @@ void swap(RegisterResponse &a, RegisterResponse &b) { swap(a.agent_type, b.agent_type); swap(a.team_name, b.team_name); swap(a.uniform_number, b.uniform_number); + swap(a.rpc_server_language_type, b.rpc_server_language_type); swap(a.__isset, b.__isset); } -RegisterResponse::RegisterResponse(const RegisterResponse& other6) { - client_id = other6.client_id; - agent_type = other6.agent_type; - team_name = other6.team_name; - uniform_number = other6.uniform_number; - __isset = other6.__isset; -} -RegisterResponse& RegisterResponse::operator=(const RegisterResponse& other7) { +RegisterResponse::RegisterResponse(const RegisterResponse& other7) { client_id = other7.client_id; agent_type = other7.agent_type; team_name = other7.team_name; uniform_number = other7.uniform_number; + rpc_server_language_type = other7.rpc_server_language_type; __isset = other7.__isset; +} +RegisterResponse& RegisterResponse::operator=(const RegisterResponse& other8) { + client_id = other8.client_id; + agent_type = other8.agent_type; + team_name = other8.team_name; + uniform_number = other8.uniform_number; + rpc_server_language_type = other8.rpc_server_language_type; + __isset = other8.__isset; return *this; } void RegisterResponse::printTo(std::ostream& out) const { @@ -806,6 +888,7 @@ void RegisterResponse::printTo(std::ostream& out) const { out << ", " << "agent_type=" << to_string(agent_type); out << ", " << "team_name=" << to_string(team_name); out << ", " << "uniform_number=" << to_string(uniform_number); + out << ", " << "rpc_server_language_type=" << to_string(rpc_server_language_type); out << ")"; } @@ -1157,27 +1240,7 @@ void swap(Ball &a, Ball &b) { swap(a.__isset, b.__isset); } -Ball::Ball(const Ball& other8) noexcept { - position = other8.position; - relative_position = other8.relative_position; - seen_position = other8.seen_position; - heard_position = other8.heard_position; - velocity = other8.velocity; - seen_velocity = other8.seen_velocity; - heard_velocity = other8.heard_velocity; - pos_count = other8.pos_count; - seen_pos_count = other8.seen_pos_count; - heard_pos_count = other8.heard_pos_count; - vel_count = other8.vel_count; - seen_vel_count = other8.seen_vel_count; - heard_vel_count = other8.heard_vel_count; - lost_count = other8.lost_count; - ghost_count = other8.ghost_count; - dist_from_self = other8.dist_from_self; - angle_from_self = other8.angle_from_self; - __isset = other8.__isset; -} -Ball& Ball::operator=(const Ball& other9) noexcept { +Ball::Ball(const Ball& other9) noexcept { position = other9.position; relative_position = other9.relative_position; seen_position = other9.seen_position; @@ -1196,6 +1259,26 @@ Ball& Ball::operator=(const Ball& other9) noexcept { dist_from_self = other9.dist_from_self; angle_from_self = other9.angle_from_self; __isset = other9.__isset; +} +Ball& Ball::operator=(const Ball& other10) noexcept { + position = other10.position; + relative_position = other10.relative_position; + seen_position = other10.seen_position; + heard_position = other10.heard_position; + velocity = other10.velocity; + seen_velocity = other10.seen_velocity; + heard_velocity = other10.heard_velocity; + pos_count = other10.pos_count; + seen_pos_count = other10.seen_pos_count; + heard_pos_count = other10.heard_pos_count; + vel_count = other10.vel_count; + seen_vel_count = other10.seen_vel_count; + heard_vel_count = other10.heard_vel_count; + lost_count = other10.lost_count; + ghost_count = other10.ghost_count; + dist_from_self = other10.dist_from_self; + angle_from_self = other10.angle_from_self; + __isset = other10.__isset; return *this; } void Ball::printTo(std::ostream& out) const { @@ -1487,9 +1570,9 @@ uint32_t Player::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 15: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast10; - xfer += iprot->readI32(ecast10); - this->side = static_cast(ecast10); + int32_t ecast11; + xfer += iprot->readI32(ecast11); + this->side = static_cast(ecast11); this->__isset.side = true; } else { xfer += iprot->skip(ftype); @@ -1792,40 +1875,7 @@ void swap(Player &a, Player &b) { swap(a.__isset, b.__isset); } -Player::Player(const Player& other11) noexcept { - position = other11.position; - seen_position = other11.seen_position; - heard_position = other11.heard_position; - velocity = other11.velocity; - seen_velocity = other11.seen_velocity; - pos_count = other11.pos_count; - seen_pos_count = other11.seen_pos_count; - heard_pos_count = other11.heard_pos_count; - vel_count = other11.vel_count; - seen_vel_count = other11.seen_vel_count; - ghost_count = other11.ghost_count; - dist_from_self = other11.dist_from_self; - angle_from_self = other11.angle_from_self; - id = other11.id; - side = other11.side; - uniform_number = other11.uniform_number; - uniform_number_count = other11.uniform_number_count; - is_goalie = other11.is_goalie; - body_direction = other11.body_direction; - body_direction_count = other11.body_direction_count; - face_direction = other11.face_direction; - face_direction_count = other11.face_direction_count; - point_to_direction = other11.point_to_direction; - point_to_direction_count = other11.point_to_direction_count; - is_kicking = other11.is_kicking; - dist_from_ball = other11.dist_from_ball; - angle_from_ball = other11.angle_from_ball; - ball_reach_steps = other11.ball_reach_steps; - is_tackling = other11.is_tackling; - type_id = other11.type_id; - __isset = other11.__isset; -} -Player& Player::operator=(const Player& other12) noexcept { +Player::Player(const Player& other12) noexcept { position = other12.position; seen_position = other12.seen_position; heard_position = other12.heard_position; @@ -1857,6 +1907,39 @@ Player& Player::operator=(const Player& other12) noexcept { is_tackling = other12.is_tackling; type_id = other12.type_id; __isset = other12.__isset; +} +Player& Player::operator=(const Player& other13) noexcept { + position = other13.position; + seen_position = other13.seen_position; + heard_position = other13.heard_position; + velocity = other13.velocity; + seen_velocity = other13.seen_velocity; + pos_count = other13.pos_count; + seen_pos_count = other13.seen_pos_count; + heard_pos_count = other13.heard_pos_count; + vel_count = other13.vel_count; + seen_vel_count = other13.seen_vel_count; + ghost_count = other13.ghost_count; + dist_from_self = other13.dist_from_self; + angle_from_self = other13.angle_from_self; + id = other13.id; + side = other13.side; + uniform_number = other13.uniform_number; + uniform_number_count = other13.uniform_number_count; + is_goalie = other13.is_goalie; + body_direction = other13.body_direction; + body_direction_count = other13.body_direction_count; + face_direction = other13.face_direction; + face_direction_count = other13.face_direction_count; + point_to_direction = other13.point_to_direction; + point_to_direction_count = other13.point_to_direction_count; + is_kicking = other13.is_kicking; + dist_from_ball = other13.dist_from_ball; + angle_from_ball = other13.angle_from_ball; + ball_reach_steps = other13.ball_reach_steps; + is_tackling = other13.is_tackling; + type_id = other13.type_id; + __isset = other13.__isset; return *this; } void Player::printTo(std::ostream& out) const { @@ -2181,9 +2264,9 @@ uint32_t Self::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 13: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast13; - xfer += iprot->readI32(ecast13); - this->side = static_cast(ecast13); + int32_t ecast14; + xfer += iprot->readI32(ecast14); + this->side = static_cast(ecast14); this->__isset.side = true; } else { xfer += iprot->skip(ftype); @@ -2351,9 +2434,9 @@ uint32_t Self::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 34: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast14; - xfer += iprot->readI32(ecast14); - this->view_width = static_cast(ecast14); + int32_t ecast15; + xfer += iprot->readI32(ecast15); + this->view_width = static_cast(ecast15); this->__isset.view_width = true; } else { xfer += iprot->skip(ftype); @@ -2393,9 +2476,9 @@ uint32_t Self::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 39: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast15; - xfer += iprot->readI32(ecast15); - this->card = static_cast(ecast15); + int32_t ecast16; + xfer += iprot->readI32(ecast16); + this->card = static_cast(ecast16); this->__isset.card = true; } else { xfer += iprot->skip(ftype); @@ -2623,49 +2706,7 @@ void swap(Self &a, Self &b) { swap(a.__isset, b.__isset); } -Self::Self(const Self& other16) noexcept { - position = other16.position; - seen_position = other16.seen_position; - heard_position = other16.heard_position; - velocity = other16.velocity; - seen_velocity = other16.seen_velocity; - pos_count = other16.pos_count; - seen_pos_count = other16.seen_pos_count; - heard_pos_count = other16.heard_pos_count; - vel_count = other16.vel_count; - seen_vel_count = other16.seen_vel_count; - ghost_count = other16.ghost_count; - id = other16.id; - side = other16.side; - uniform_number = other16.uniform_number; - uniform_number_count = other16.uniform_number_count; - is_goalie = other16.is_goalie; - body_direction = other16.body_direction; - body_direction_count = other16.body_direction_count; - face_direction = other16.face_direction; - face_direction_count = other16.face_direction_count; - point_to_direction = other16.point_to_direction; - point_to_direction_count = other16.point_to_direction_count; - is_kicking = other16.is_kicking; - dist_from_ball = other16.dist_from_ball; - angle_from_ball = other16.angle_from_ball; - ball_reach_steps = other16.ball_reach_steps; - is_tackling = other16.is_tackling; - relative_neck_direction = other16.relative_neck_direction; - stamina = other16.stamina; - is_kickable = other16.is_kickable; - catch_probability = other16.catch_probability; - tackle_probability = other16.tackle_probability; - foul_probability = other16.foul_probability; - view_width = other16.view_width; - type_id = other16.type_id; - kick_rate = other16.kick_rate; - recovery = other16.recovery; - stamina_capacity = other16.stamina_capacity; - card = other16.card; - __isset = other16.__isset; -} -Self& Self::operator=(const Self& other17) noexcept { +Self::Self(const Self& other17) noexcept { position = other17.position; seen_position = other17.seen_position; heard_position = other17.heard_position; @@ -2706,6 +2747,48 @@ Self& Self::operator=(const Self& other17) noexcept { stamina_capacity = other17.stamina_capacity; card = other17.card; __isset = other17.__isset; +} +Self& Self::operator=(const Self& other18) noexcept { + position = other18.position; + seen_position = other18.seen_position; + heard_position = other18.heard_position; + velocity = other18.velocity; + seen_velocity = other18.seen_velocity; + pos_count = other18.pos_count; + seen_pos_count = other18.seen_pos_count; + heard_pos_count = other18.heard_pos_count; + vel_count = other18.vel_count; + seen_vel_count = other18.seen_vel_count; + ghost_count = other18.ghost_count; + id = other18.id; + side = other18.side; + uniform_number = other18.uniform_number; + uniform_number_count = other18.uniform_number_count; + is_goalie = other18.is_goalie; + body_direction = other18.body_direction; + body_direction_count = other18.body_direction_count; + face_direction = other18.face_direction; + face_direction_count = other18.face_direction_count; + point_to_direction = other18.point_to_direction; + point_to_direction_count = other18.point_to_direction_count; + is_kicking = other18.is_kicking; + dist_from_ball = other18.dist_from_ball; + angle_from_ball = other18.angle_from_ball; + ball_reach_steps = other18.ball_reach_steps; + is_tackling = other18.is_tackling; + relative_neck_direction = other18.relative_neck_direction; + stamina = other18.stamina; + is_kickable = other18.is_kickable; + catch_probability = other18.catch_probability; + tackle_probability = other18.tackle_probability; + foul_probability = other18.foul_probability; + view_width = other18.view_width; + type_id = other18.type_id; + kick_rate = other18.kick_rate; + recovery = other18.recovery; + stamina_capacity = other18.stamina_capacity; + card = other18.card; + __isset = other18.__isset; return *this; } void Self::printTo(std::ostream& out) const { @@ -2827,9 +2910,9 @@ uint32_t InterceptInfo::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast18; - xfer += iprot->readI32(ecast18); - this->action_type = static_cast(ecast18); + int32_t ecast19; + xfer += iprot->readI32(ecast19); + this->action_type = static_cast(ecast19); this->__isset.action_type = true; } else { xfer += iprot->skip(ftype); @@ -2984,20 +3067,7 @@ void swap(InterceptInfo &a, InterceptInfo &b) { swap(a.__isset, b.__isset); } -InterceptInfo::InterceptInfo(const InterceptInfo& other19) noexcept { - action_type = other19.action_type; - turn_steps = other19.turn_steps; - turn_angle = other19.turn_angle; - dash_steps = other19.dash_steps; - dash_power = other19.dash_power; - dash_dir = other19.dash_dir; - final_self_position = other19.final_self_position; - final_ball_dist = other19.final_ball_dist; - final_stamina = other19.final_stamina; - value = other19.value; - __isset = other19.__isset; -} -InterceptInfo& InterceptInfo::operator=(const InterceptInfo& other20) noexcept { +InterceptInfo::InterceptInfo(const InterceptInfo& other20) noexcept { action_type = other20.action_type; turn_steps = other20.turn_steps; turn_angle = other20.turn_angle; @@ -3009,6 +3079,19 @@ InterceptInfo& InterceptInfo::operator=(const InterceptInfo& other20) noexcept { final_stamina = other20.final_stamina; value = other20.value; __isset = other20.__isset; +} +InterceptInfo& InterceptInfo::operator=(const InterceptInfo& other21) noexcept { + action_type = other21.action_type; + turn_steps = other21.turn_steps; + turn_angle = other21.turn_angle; + dash_steps = other21.dash_steps; + dash_power = other21.dash_power; + dash_dir = other21.dash_dir; + final_self_position = other21.final_self_position; + final_ball_dist = other21.final_ball_dist; + final_stamina = other21.final_stamina; + value = other21.value; + __isset = other21.__isset; return *this; } void InterceptInfo::printTo(std::ostream& out) const { @@ -3175,14 +3258,14 @@ uint32_t InterceptTable::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->self_intercept_info.clear(); - uint32_t _size21; - ::apache::thrift::protocol::TType _etype24; - xfer += iprot->readListBegin(_etype24, _size21); - this->self_intercept_info.resize(_size21); - uint32_t _i25; - for (_i25 = 0; _i25 < _size21; ++_i25) + uint32_t _size22; + ::apache::thrift::protocol::TType _etype25; + xfer += iprot->readListBegin(_etype25, _size22); + this->self_intercept_info.resize(_size22); + uint32_t _i26; + for (_i26 = 0; _i26 < _size22; ++_i26) { - xfer += this->self_intercept_info[_i25].read(iprot); + xfer += this->self_intercept_info[_i26].read(iprot); } xfer += iprot->readListEnd(); } @@ -3247,10 +3330,10 @@ uint32_t InterceptTable::write(::apache::thrift::protocol::TProtocol* oprot) con xfer += oprot->writeFieldBegin("self_intercept_info", ::apache::thrift::protocol::T_LIST, 10); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->self_intercept_info.size())); - std::vector ::const_iterator _iter26; - for (_iter26 = this->self_intercept_info.begin(); _iter26 != this->self_intercept_info.end(); ++_iter26) + std::vector ::const_iterator _iter27; + for (_iter27 = this->self_intercept_info.begin(); _iter27 != this->self_intercept_info.end(); ++_iter27) { - xfer += (*_iter26).write(oprot); + xfer += (*_iter27).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3276,20 +3359,7 @@ void swap(InterceptTable &a, InterceptTable &b) { swap(a.__isset, b.__isset); } -InterceptTable::InterceptTable(const InterceptTable& other27) { - self_reach_steps = other27.self_reach_steps; - first_teammate_reach_steps = other27.first_teammate_reach_steps; - second_teammate_reach_steps = other27.second_teammate_reach_steps; - first_opponent_reach_steps = other27.first_opponent_reach_steps; - second_opponent_reach_steps = other27.second_opponent_reach_steps; - first_teammate_id = other27.first_teammate_id; - second_teammate_id = other27.second_teammate_id; - first_opponent_id = other27.first_opponent_id; - second_opponent_id = other27.second_opponent_id; - self_intercept_info = other27.self_intercept_info; - __isset = other27.__isset; -} -InterceptTable& InterceptTable::operator=(const InterceptTable& other28) { +InterceptTable::InterceptTable(const InterceptTable& other28) { self_reach_steps = other28.self_reach_steps; first_teammate_reach_steps = other28.first_teammate_reach_steps; second_teammate_reach_steps = other28.second_teammate_reach_steps; @@ -3301,6 +3371,19 @@ InterceptTable& InterceptTable::operator=(const InterceptTable& other28) { second_opponent_id = other28.second_opponent_id; self_intercept_info = other28.self_intercept_info; __isset = other28.__isset; +} +InterceptTable& InterceptTable::operator=(const InterceptTable& other29) { + self_reach_steps = other29.self_reach_steps; + first_teammate_reach_steps = other29.first_teammate_reach_steps; + second_teammate_reach_steps = other29.second_teammate_reach_steps; + first_opponent_reach_steps = other29.first_opponent_reach_steps; + second_opponent_reach_steps = other29.second_opponent_reach_steps; + first_teammate_id = other29.first_teammate_id; + second_teammate_id = other29.second_teammate_id; + first_opponent_id = other29.first_opponent_id; + second_opponent_id = other29.second_opponent_id; + self_intercept_info = other29.self_intercept_info; + __isset = other29.__isset; return *this; } void InterceptTable::printTo(std::ostream& out) const { @@ -3517,9 +3600,9 @@ uint32_t WorldModel::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast29; - xfer += iprot->readI32(ecast29); - this->our_side = static_cast(ecast29); + int32_t ecast30; + xfer += iprot->readI32(ecast30); + this->our_side = static_cast(ecast30); this->__isset.our_side = true; } else { xfer += iprot->skip(ftype); @@ -3553,14 +3636,14 @@ uint32_t WorldModel::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->teammates.clear(); - uint32_t _size30; - ::apache::thrift::protocol::TType _etype33; - xfer += iprot->readListBegin(_etype33, _size30); - this->teammates.resize(_size30); - uint32_t _i34; - for (_i34 = 0; _i34 < _size30; ++_i34) + uint32_t _size31; + ::apache::thrift::protocol::TType _etype34; + xfer += iprot->readListBegin(_etype34, _size31); + this->teammates.resize(_size31); + uint32_t _i35; + for (_i35 = 0; _i35 < _size31; ++_i35) { - xfer += this->teammates[_i34].read(iprot); + xfer += this->teammates[_i35].read(iprot); } xfer += iprot->readListEnd(); } @@ -3573,14 +3656,14 @@ uint32_t WorldModel::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->opponents.clear(); - uint32_t _size35; - ::apache::thrift::protocol::TType _etype38; - xfer += iprot->readListBegin(_etype38, _size35); - this->opponents.resize(_size35); - uint32_t _i39; - for (_i39 = 0; _i39 < _size35; ++_i39) + uint32_t _size36; + ::apache::thrift::protocol::TType _etype39; + xfer += iprot->readListBegin(_etype39, _size36); + this->opponents.resize(_size36); + uint32_t _i40; + for (_i40 = 0; _i40 < _size36; ++_i40) { - xfer += this->opponents[_i39].read(iprot); + xfer += this->opponents[_i40].read(iprot); } xfer += iprot->readListEnd(); } @@ -3593,14 +3676,14 @@ uint32_t WorldModel::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->unknowns.clear(); - uint32_t _size40; - ::apache::thrift::protocol::TType _etype43; - xfer += iprot->readListBegin(_etype43, _size40); - this->unknowns.resize(_size40); - uint32_t _i44; - for (_i44 = 0; _i44 < _size40; ++_i44) + uint32_t _size41; + ::apache::thrift::protocol::TType _etype44; + xfer += iprot->readListBegin(_etype44, _size41); + this->unknowns.resize(_size41); + uint32_t _i45; + for (_i45 = 0; _i45 < _size41; ++_i45) { - xfer += this->unknowns[_i44].read(iprot); + xfer += this->unknowns[_i45].read(iprot); } xfer += iprot->readListEnd(); } @@ -3613,17 +3696,17 @@ uint32_t WorldModel::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->our_players_dict.clear(); - uint32_t _size45; - ::apache::thrift::protocol::TType _ktype46; - ::apache::thrift::protocol::TType _vtype47; - xfer += iprot->readMapBegin(_ktype46, _vtype47, _size45); - uint32_t _i49; - for (_i49 = 0; _i49 < _size45; ++_i49) + uint32_t _size46; + ::apache::thrift::protocol::TType _ktype47; + ::apache::thrift::protocol::TType _vtype48; + xfer += iprot->readMapBegin(_ktype47, _vtype48, _size46); + uint32_t _i50; + for (_i50 = 0; _i50 < _size46; ++_i50) { - int32_t _key50; - xfer += iprot->readI32(_key50); - Player& _val51 = this->our_players_dict[_key50]; - xfer += _val51.read(iprot); + int32_t _key51; + xfer += iprot->readI32(_key51); + Player& _val52 = this->our_players_dict[_key51]; + xfer += _val52.read(iprot); } xfer += iprot->readMapEnd(); } @@ -3636,17 +3719,17 @@ uint32_t WorldModel::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->their_players_dict.clear(); - uint32_t _size52; - ::apache::thrift::protocol::TType _ktype53; - ::apache::thrift::protocol::TType _vtype54; - xfer += iprot->readMapBegin(_ktype53, _vtype54, _size52); - uint32_t _i56; - for (_i56 = 0; _i56 < _size52; ++_i56) + uint32_t _size53; + ::apache::thrift::protocol::TType _ktype54; + ::apache::thrift::protocol::TType _vtype55; + xfer += iprot->readMapBegin(_ktype54, _vtype55, _size53); + uint32_t _i57; + for (_i57 = 0; _i57 < _size53; ++_i57) { - int32_t _key57; - xfer += iprot->readI32(_key57); - Player& _val58 = this->their_players_dict[_key57]; - xfer += _val58.read(iprot); + int32_t _key58; + xfer += iprot->readI32(_key58); + Player& _val59 = this->their_players_dict[_key58]; + xfer += _val59.read(iprot); } xfer += iprot->readMapEnd(); } @@ -3705,9 +3788,9 @@ uint32_t WorldModel::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 19: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast59; - xfer += iprot->readI32(ecast59); - this->last_kick_side = static_cast(ecast59); + int32_t ecast60; + xfer += iprot->readI32(ecast60); + this->last_kick_side = static_cast(ecast60); this->__isset.last_kick_side = true; } else { xfer += iprot->skip(ftype); @@ -3731,9 +3814,9 @@ uint32_t WorldModel::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 22: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast60; - xfer += iprot->readI32(ecast60); - this->game_mode_type = static_cast(ecast60); + int32_t ecast61; + xfer += iprot->readI32(ecast61); + this->game_mode_type = static_cast(ecast61); this->__isset.game_mode_type = true; } else { xfer += iprot->skip(ftype); @@ -3807,17 +3890,17 @@ uint32_t WorldModel::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->helios_home_positions.clear(); - uint32_t _size61; - ::apache::thrift::protocol::TType _ktype62; - ::apache::thrift::protocol::TType _vtype63; - xfer += iprot->readMapBegin(_ktype62, _vtype63, _size61); - uint32_t _i65; - for (_i65 = 0; _i65 < _size61; ++_i65) + uint32_t _size62; + ::apache::thrift::protocol::TType _ktype63; + ::apache::thrift::protocol::TType _vtype64; + xfer += iprot->readMapBegin(_ktype63, _vtype64, _size62); + uint32_t _i66; + for (_i66 = 0; _i66 < _size62; ++_i66) { - int32_t _key66; - xfer += iprot->readI32(_key66); - RpcVector2D& _val67 = this->helios_home_positions[_key66]; - xfer += _val67.read(iprot); + int32_t _key67; + xfer += iprot->readI32(_key67); + RpcVector2D& _val68 = this->helios_home_positions[_key67]; + xfer += _val68.read(iprot); } xfer += iprot->readMapEnd(); } @@ -3906,10 +3989,10 @@ uint32_t WorldModel::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("teammates", ::apache::thrift::protocol::T_LIST, 8); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->teammates.size())); - std::vector ::const_iterator _iter68; - for (_iter68 = this->teammates.begin(); _iter68 != this->teammates.end(); ++_iter68) + std::vector ::const_iterator _iter69; + for (_iter69 = this->teammates.begin(); _iter69 != this->teammates.end(); ++_iter69) { - xfer += (*_iter68).write(oprot); + xfer += (*_iter69).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3918,10 +4001,10 @@ uint32_t WorldModel::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("opponents", ::apache::thrift::protocol::T_LIST, 9); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->opponents.size())); - std::vector ::const_iterator _iter69; - for (_iter69 = this->opponents.begin(); _iter69 != this->opponents.end(); ++_iter69) + std::vector ::const_iterator _iter70; + for (_iter70 = this->opponents.begin(); _iter70 != this->opponents.end(); ++_iter70) { - xfer += (*_iter69).write(oprot); + xfer += (*_iter70).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3930,10 +4013,10 @@ uint32_t WorldModel::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("unknowns", ::apache::thrift::protocol::T_LIST, 10); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->unknowns.size())); - std::vector ::const_iterator _iter70; - for (_iter70 = this->unknowns.begin(); _iter70 != this->unknowns.end(); ++_iter70) + std::vector ::const_iterator _iter71; + for (_iter71 = this->unknowns.begin(); _iter71 != this->unknowns.end(); ++_iter71) { - xfer += (*_iter70).write(oprot); + xfer += (*_iter71).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3942,11 +4025,11 @@ uint32_t WorldModel::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("our_players_dict", ::apache::thrift::protocol::T_MAP, 11); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I32, ::apache::thrift::protocol::T_STRUCT, static_cast(this->our_players_dict.size())); - std::map ::const_iterator _iter71; - for (_iter71 = this->our_players_dict.begin(); _iter71 != this->our_players_dict.end(); ++_iter71) + std::map ::const_iterator _iter72; + for (_iter72 = this->our_players_dict.begin(); _iter72 != this->our_players_dict.end(); ++_iter72) { - xfer += oprot->writeI32(_iter71->first); - xfer += _iter71->second.write(oprot); + xfer += oprot->writeI32(_iter72->first); + xfer += _iter72->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -3955,11 +4038,11 @@ uint32_t WorldModel::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("their_players_dict", ::apache::thrift::protocol::T_MAP, 12); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I32, ::apache::thrift::protocol::T_STRUCT, static_cast(this->their_players_dict.size())); - std::map ::const_iterator _iter72; - for (_iter72 = this->their_players_dict.begin(); _iter72 != this->their_players_dict.end(); ++_iter72) + std::map ::const_iterator _iter73; + for (_iter73 = this->their_players_dict.begin(); _iter73 != this->their_players_dict.end(); ++_iter73) { - xfer += oprot->writeI32(_iter72->first); - xfer += _iter72->second.write(oprot); + xfer += oprot->writeI32(_iter73->first); + xfer += _iter73->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -4040,11 +4123,11 @@ uint32_t WorldModel::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("helios_home_positions", ::apache::thrift::protocol::T_MAP, 31); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I32, ::apache::thrift::protocol::T_STRUCT, static_cast(this->helios_home_positions.size())); - std::map ::const_iterator _iter73; - for (_iter73 = this->helios_home_positions.begin(); _iter73 != this->helios_home_positions.end(); ++_iter73) + std::map ::const_iterator _iter74; + for (_iter74 = this->helios_home_positions.begin(); _iter74 != this->helios_home_positions.end(); ++_iter74) { - xfer += oprot->writeI32(_iter73->first); - xfer += _iter73->second.write(oprot); + xfer += oprot->writeI32(_iter74->first); + xfer += _iter74->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -4111,45 +4194,7 @@ void swap(WorldModel &a, WorldModel &b) { swap(a.__isset, b.__isset); } -WorldModel::WorldModel(const WorldModel& other74) { - intercept_table = other74.intercept_table; - our_team_name = other74.our_team_name; - their_team_name = other74.their_team_name; - our_side = other74.our_side; - last_set_play_start_time = other74.last_set_play_start_time; - myself = other74.myself; - ball = other74.ball; - teammates = other74.teammates; - opponents = other74.opponents; - unknowns = other74.unknowns; - our_players_dict = other74.our_players_dict; - their_players_dict = other74.their_players_dict; - our_goalie_uniform_number = other74.our_goalie_uniform_number; - their_goalie_uniform_number = other74.their_goalie_uniform_number; - offside_line_x = other74.offside_line_x; - offside_line_x_count = other74.offside_line_x_count; - kickable_teammate_id = other74.kickable_teammate_id; - kickable_opponent_id = other74.kickable_opponent_id; - last_kick_side = other74.last_kick_side; - last_kicker_uniform_number = other74.last_kicker_uniform_number; - cycle = other74.cycle; - game_mode_type = other74.game_mode_type; - left_team_score = other74.left_team_score; - right_team_score = other74.right_team_score; - is_our_set_play = other74.is_our_set_play; - is_their_set_play = other74.is_their_set_play; - stoped_cycle = other74.stoped_cycle; - our_team_score = other74.our_team_score; - their_team_score = other74.their_team_score; - is_penalty_kick_mode = other74.is_penalty_kick_mode; - helios_home_positions = other74.helios_home_positions; - our_defense_line_x = other74.our_defense_line_x; - their_defense_line_x = other74.their_defense_line_x; - our_defense_player_line_x = other74.our_defense_player_line_x; - their_defense_player_line_x = other74.their_defense_player_line_x; - __isset = other74.__isset; -} -WorldModel& WorldModel::operator=(const WorldModel& other75) { +WorldModel::WorldModel(const WorldModel& other75) { intercept_table = other75.intercept_table; our_team_name = other75.our_team_name; their_team_name = other75.their_team_name; @@ -4186,6 +4231,44 @@ WorldModel& WorldModel::operator=(const WorldModel& other75) { our_defense_player_line_x = other75.our_defense_player_line_x; their_defense_player_line_x = other75.their_defense_player_line_x; __isset = other75.__isset; +} +WorldModel& WorldModel::operator=(const WorldModel& other76) { + intercept_table = other76.intercept_table; + our_team_name = other76.our_team_name; + their_team_name = other76.their_team_name; + our_side = other76.our_side; + last_set_play_start_time = other76.last_set_play_start_time; + myself = other76.myself; + ball = other76.ball; + teammates = other76.teammates; + opponents = other76.opponents; + unknowns = other76.unknowns; + our_players_dict = other76.our_players_dict; + their_players_dict = other76.their_players_dict; + our_goalie_uniform_number = other76.our_goalie_uniform_number; + their_goalie_uniform_number = other76.their_goalie_uniform_number; + offside_line_x = other76.offside_line_x; + offside_line_x_count = other76.offside_line_x_count; + kickable_teammate_id = other76.kickable_teammate_id; + kickable_opponent_id = other76.kickable_opponent_id; + last_kick_side = other76.last_kick_side; + last_kicker_uniform_number = other76.last_kicker_uniform_number; + cycle = other76.cycle; + game_mode_type = other76.game_mode_type; + left_team_score = other76.left_team_score; + right_team_score = other76.right_team_score; + is_our_set_play = other76.is_our_set_play; + is_their_set_play = other76.is_their_set_play; + stoped_cycle = other76.stoped_cycle; + our_team_score = other76.our_team_score; + their_team_score = other76.their_team_score; + is_penalty_kick_mode = other76.is_penalty_kick_mode; + helios_home_positions = other76.helios_home_positions; + our_defense_line_x = other76.our_defense_line_x; + their_defense_line_x = other76.their_defense_line_x; + our_defense_player_line_x = other76.our_defense_player_line_x; + their_defense_player_line_x = other76.their_defense_player_line_x; + __isset = other76.__isset; return *this; } void WorldModel::printTo(std::ostream& out) const { @@ -4356,19 +4439,19 @@ void swap(State &a, State &b) { swap(a.__isset, b.__isset); } -State::State(const State& other76) { - register_response = other76.register_response; - world_model = other76.world_model; - full_world_model = other76.full_world_model; - need_preprocess = other76.need_preprocess; - __isset = other76.__isset; -} -State& State::operator=(const State& other77) { +State::State(const State& other77) { register_response = other77.register_response; world_model = other77.world_model; full_world_model = other77.full_world_model; need_preprocess = other77.need_preprocess; __isset = other77.__isset; +} +State& State::operator=(const State& other78) { + register_response = other78.register_response; + world_model = other78.world_model; + full_world_model = other78.full_world_model; + need_preprocess = other78.need_preprocess; + __isset = other78.__isset; return *this; } void State::printTo(std::ostream& out) const { @@ -4474,15 +4557,15 @@ void swap(InitMessage &a, InitMessage &b) { swap(a.__isset, b.__isset); } -InitMessage::InitMessage(const InitMessage& other78) { - register_response = other78.register_response; - debug_mode = other78.debug_mode; - __isset = other78.__isset; -} -InitMessage& InitMessage::operator=(const InitMessage& other79) { +InitMessage::InitMessage(const InitMessage& other79) { register_response = other79.register_response; debug_mode = other79.debug_mode; __isset = other79.__isset; +} +InitMessage& InitMessage::operator=(const InitMessage& other80) { + register_response = other80.register_response; + debug_mode = other80.debug_mode; + __isset = other80.__isset; return *this; } void InitMessage::printTo(std::ostream& out) const { @@ -4586,15 +4669,15 @@ void swap(Dash &a, Dash &b) { swap(a.__isset, b.__isset); } -Dash::Dash(const Dash& other80) noexcept { - power = other80.power; - relative_direction = other80.relative_direction; - __isset = other80.__isset; -} -Dash& Dash::operator=(const Dash& other81) noexcept { +Dash::Dash(const Dash& other81) noexcept { power = other81.power; relative_direction = other81.relative_direction; __isset = other81.__isset; +} +Dash& Dash::operator=(const Dash& other82) noexcept { + power = other82.power; + relative_direction = other82.relative_direction; + __isset = other82.__isset; return *this; } void Dash::printTo(std::ostream& out) const { @@ -4681,13 +4764,13 @@ void swap(Turn &a, Turn &b) { swap(a.__isset, b.__isset); } -Turn::Turn(const Turn& other82) noexcept { - relative_direction = other82.relative_direction; - __isset = other82.__isset; -} -Turn& Turn::operator=(const Turn& other83) noexcept { +Turn::Turn(const Turn& other83) noexcept { relative_direction = other83.relative_direction; __isset = other83.__isset; +} +Turn& Turn::operator=(const Turn& other84) noexcept { + relative_direction = other84.relative_direction; + __isset = other84.__isset; return *this; } void Turn::printTo(std::ostream& out) const { @@ -4790,15 +4873,15 @@ void swap(Kick &a, Kick &b) { swap(a.__isset, b.__isset); } -Kick::Kick(const Kick& other84) noexcept { - power = other84.power; - relative_direction = other84.relative_direction; - __isset = other84.__isset; -} -Kick& Kick::operator=(const Kick& other85) noexcept { +Kick::Kick(const Kick& other85) noexcept { power = other85.power; relative_direction = other85.relative_direction; __isset = other85.__isset; +} +Kick& Kick::operator=(const Kick& other86) noexcept { + power = other86.power; + relative_direction = other86.relative_direction; + __isset = other86.__isset; return *this; } void Kick::printTo(std::ostream& out) const { @@ -4902,15 +4985,15 @@ void swap(Tackle &a, Tackle &b) { swap(a.__isset, b.__isset); } -Tackle::Tackle(const Tackle& other86) noexcept { - power_or_dir = other86.power_or_dir; - foul = other86.foul; - __isset = other86.__isset; -} -Tackle& Tackle::operator=(const Tackle& other87) noexcept { +Tackle::Tackle(const Tackle& other87) noexcept { power_or_dir = other87.power_or_dir; foul = other87.foul; __isset = other87.__isset; +} +Tackle& Tackle::operator=(const Tackle& other88) noexcept { + power_or_dir = other88.power_or_dir; + foul = other88.foul; + __isset = other88.__isset; return *this; } void Tackle::printTo(std::ostream& out) const { @@ -4976,11 +5059,11 @@ void swap(Catch &a, Catch &b) { (void) b; } -Catch::Catch(const Catch& other88) noexcept { - (void) other88; -} -Catch& Catch::operator=(const Catch& other89) noexcept { +Catch::Catch(const Catch& other89) noexcept { (void) other89; +} +Catch& Catch::operator=(const Catch& other90) noexcept { + (void) other90; return *this; } void Catch::printTo(std::ostream& out) const { @@ -5082,15 +5165,15 @@ void swap(Move &a, Move &b) { swap(a.__isset, b.__isset); } -Move::Move(const Move& other90) noexcept { - x = other90.x; - y = other90.y; - __isset = other90.__isset; -} -Move& Move::operator=(const Move& other91) noexcept { +Move::Move(const Move& other91) noexcept { x = other91.x; y = other91.y; __isset = other91.__isset; +} +Move& Move::operator=(const Move& other92) noexcept { + x = other92.x; + y = other92.y; + __isset = other92.__isset; return *this; } void Move::printTo(std::ostream& out) const { @@ -5177,13 +5260,13 @@ void swap(TurnNeck &a, TurnNeck &b) { swap(a.__isset, b.__isset); } -TurnNeck::TurnNeck(const TurnNeck& other92) noexcept { - moment = other92.moment; - __isset = other92.__isset; -} -TurnNeck& TurnNeck::operator=(const TurnNeck& other93) noexcept { +TurnNeck::TurnNeck(const TurnNeck& other93) noexcept { moment = other93.moment; __isset = other93.__isset; +} +TurnNeck& TurnNeck::operator=(const TurnNeck& other94) noexcept { + moment = other94.moment; + __isset = other94.__isset; return *this; } void TurnNeck::printTo(std::ostream& out) const { @@ -5231,9 +5314,9 @@ uint32_t ChangeView::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast94; - xfer += iprot->readI32(ecast94); - this->view_width = static_cast(ecast94); + int32_t ecast95; + xfer += iprot->readI32(ecast95); + this->view_width = static_cast(ecast95); this->__isset.view_width = true; } else { xfer += iprot->skip(ftype); @@ -5271,13 +5354,13 @@ void swap(ChangeView &a, ChangeView &b) { swap(a.__isset, b.__isset); } -ChangeView::ChangeView(const ChangeView& other95) noexcept { - view_width = other95.view_width; - __isset = other95.__isset; -} -ChangeView& ChangeView::operator=(const ChangeView& other96) noexcept { +ChangeView::ChangeView(const ChangeView& other96) noexcept { view_width = other96.view_width; __isset = other96.__isset; +} +ChangeView& ChangeView::operator=(const ChangeView& other97) noexcept { + view_width = other97.view_width; + __isset = other97.__isset; return *this; } void ChangeView::printTo(std::ostream& out) const { @@ -5380,15 +5463,15 @@ void swap(BallMessage &a, BallMessage &b) { swap(a.__isset, b.__isset); } -BallMessage::BallMessage(const BallMessage& other97) noexcept { - ball_position = other97.ball_position; - ball_velocity = other97.ball_velocity; - __isset = other97.__isset; -} -BallMessage& BallMessage::operator=(const BallMessage& other98) noexcept { +BallMessage::BallMessage(const BallMessage& other98) noexcept { ball_position = other98.ball_position; ball_velocity = other98.ball_velocity; __isset = other98.__isset; +} +BallMessage& BallMessage::operator=(const BallMessage& other99) noexcept { + ball_position = other99.ball_position; + ball_velocity = other99.ball_velocity; + __isset = other99.__isset; return *this; } void BallMessage::printTo(std::ostream& out) const { @@ -5526,19 +5609,19 @@ void swap(PassMessage &a, PassMessage &b) { swap(a.__isset, b.__isset); } -PassMessage::PassMessage(const PassMessage& other99) noexcept { - receiver_uniform_number = other99.receiver_uniform_number; - receiver_point = other99.receiver_point; - ball_position = other99.ball_position; - ball_velocity = other99.ball_velocity; - __isset = other99.__isset; -} -PassMessage& PassMessage::operator=(const PassMessage& other100) noexcept { +PassMessage::PassMessage(const PassMessage& other100) noexcept { receiver_uniform_number = other100.receiver_uniform_number; receiver_point = other100.receiver_point; ball_position = other100.ball_position; ball_velocity = other100.ball_velocity; __isset = other100.__isset; +} +PassMessage& PassMessage::operator=(const PassMessage& other101) noexcept { + receiver_uniform_number = other101.receiver_uniform_number; + receiver_point = other101.receiver_point; + ball_position = other101.ball_position; + ball_velocity = other101.ball_velocity; + __isset = other101.__isset; return *this; } void PassMessage::printTo(std::ostream& out) const { @@ -5661,17 +5744,17 @@ void swap(InterceptMessage &a, InterceptMessage &b) { swap(a.__isset, b.__isset); } -InterceptMessage::InterceptMessage(const InterceptMessage& other101) noexcept { - our = other101.our; - uniform_number = other101.uniform_number; - cycle = other101.cycle; - __isset = other101.__isset; -} -InterceptMessage& InterceptMessage::operator=(const InterceptMessage& other102) noexcept { +InterceptMessage::InterceptMessage(const InterceptMessage& other102) noexcept { our = other102.our; uniform_number = other102.uniform_number; cycle = other102.cycle; __isset = other102.__isset; +} +InterceptMessage& InterceptMessage::operator=(const InterceptMessage& other103) noexcept { + our = other103.our; + uniform_number = other103.uniform_number; + cycle = other103.cycle; + __isset = other103.__isset; return *this; } void InterceptMessage::printTo(std::ostream& out) const { @@ -5793,17 +5876,17 @@ void swap(GoalieMessage &a, GoalieMessage &b) { swap(a.__isset, b.__isset); } -GoalieMessage::GoalieMessage(const GoalieMessage& other103) noexcept { - goalie_uniform_number = other103.goalie_uniform_number; - goalie_position = other103.goalie_position; - goalie_body_direction = other103.goalie_body_direction; - __isset = other103.__isset; -} -GoalieMessage& GoalieMessage::operator=(const GoalieMessage& other104) noexcept { +GoalieMessage::GoalieMessage(const GoalieMessage& other104) noexcept { goalie_uniform_number = other104.goalie_uniform_number; goalie_position = other104.goalie_position; goalie_body_direction = other104.goalie_body_direction; __isset = other104.__isset; +} +GoalieMessage& GoalieMessage::operator=(const GoalieMessage& other105) noexcept { + goalie_uniform_number = other105.goalie_uniform_number; + goalie_position = other105.goalie_position; + goalie_body_direction = other105.goalie_body_direction; + __isset = other105.__isset; return *this; } void GoalieMessage::printTo(std::ostream& out) const { @@ -5959,21 +6042,21 @@ void swap(GoalieAndPlayerMessage &a, GoalieAndPlayerMessage &b) { swap(a.__isset, b.__isset); } -GoalieAndPlayerMessage::GoalieAndPlayerMessage(const GoalieAndPlayerMessage& other105) noexcept { - goalie_uniform_number = other105.goalie_uniform_number; - goalie_position = other105.goalie_position; - goalie_body_direction = other105.goalie_body_direction; - player_uniform_number = other105.player_uniform_number; - player_position = other105.player_position; - __isset = other105.__isset; -} -GoalieAndPlayerMessage& GoalieAndPlayerMessage::operator=(const GoalieAndPlayerMessage& other106) noexcept { +GoalieAndPlayerMessage::GoalieAndPlayerMessage(const GoalieAndPlayerMessage& other106) noexcept { goalie_uniform_number = other106.goalie_uniform_number; goalie_position = other106.goalie_position; goalie_body_direction = other106.goalie_body_direction; player_uniform_number = other106.player_uniform_number; player_position = other106.player_position; __isset = other106.__isset; +} +GoalieAndPlayerMessage& GoalieAndPlayerMessage::operator=(const GoalieAndPlayerMessage& other107) noexcept { + goalie_uniform_number = other107.goalie_uniform_number; + goalie_position = other107.goalie_position; + goalie_body_direction = other107.goalie_body_direction; + player_uniform_number = other107.player_uniform_number; + player_position = other107.player_position; + __isset = other107.__isset; return *this; } void GoalieAndPlayerMessage::printTo(std::ostream& out) const { @@ -6063,13 +6146,13 @@ void swap(OffsideLineMessage &a, OffsideLineMessage &b) { swap(a.__isset, b.__isset); } -OffsideLineMessage::OffsideLineMessage(const OffsideLineMessage& other107) noexcept { - offside_line_x = other107.offside_line_x; - __isset = other107.__isset; -} -OffsideLineMessage& OffsideLineMessage::operator=(const OffsideLineMessage& other108) noexcept { +OffsideLineMessage::OffsideLineMessage(const OffsideLineMessage& other108) noexcept { offside_line_x = other108.offside_line_x; __isset = other108.__isset; +} +OffsideLineMessage& OffsideLineMessage::operator=(const OffsideLineMessage& other109) noexcept { + offside_line_x = other109.offside_line_x; + __isset = other109.__isset; return *this; } void OffsideLineMessage::printTo(std::ostream& out) const { @@ -6155,13 +6238,13 @@ void swap(DefenseLineMessage &a, DefenseLineMessage &b) { swap(a.__isset, b.__isset); } -DefenseLineMessage::DefenseLineMessage(const DefenseLineMessage& other109) noexcept { - defense_line_x = other109.defense_line_x; - __isset = other109.__isset; -} -DefenseLineMessage& DefenseLineMessage::operator=(const DefenseLineMessage& other110) noexcept { +DefenseLineMessage::DefenseLineMessage(const DefenseLineMessage& other110) noexcept { defense_line_x = other110.defense_line_x; __isset = other110.__isset; +} +DefenseLineMessage& DefenseLineMessage::operator=(const DefenseLineMessage& other111) noexcept { + defense_line_x = other111.defense_line_x; + __isset = other111.__isset; return *this; } void DefenseLineMessage::printTo(std::ostream& out) const { @@ -6226,11 +6309,11 @@ void swap(WaitRequestMessage &a, WaitRequestMessage &b) { (void) b; } -WaitRequestMessage::WaitRequestMessage(const WaitRequestMessage& other111) noexcept { - (void) other111; -} -WaitRequestMessage& WaitRequestMessage::operator=(const WaitRequestMessage& other112) noexcept { +WaitRequestMessage::WaitRequestMessage(const WaitRequestMessage& other112) noexcept { (void) other112; +} +WaitRequestMessage& WaitRequestMessage::operator=(const WaitRequestMessage& other113) noexcept { + (void) other113; return *this; } void WaitRequestMessage::printTo(std::ostream& out) const { @@ -6315,13 +6398,13 @@ void swap(SetplayMessage &a, SetplayMessage &b) { swap(a.__isset, b.__isset); } -SetplayMessage::SetplayMessage(const SetplayMessage& other113) noexcept { - wait_step = other113.wait_step; - __isset = other113.__isset; -} -SetplayMessage& SetplayMessage::operator=(const SetplayMessage& other114) noexcept { +SetplayMessage::SetplayMessage(const SetplayMessage& other114) noexcept { wait_step = other114.wait_step; __isset = other114.__isset; +} +SetplayMessage& SetplayMessage::operator=(const SetplayMessage& other115) noexcept { + wait_step = other115.wait_step; + __isset = other115.__isset; return *this; } void SetplayMessage::printTo(std::ostream& out) const { @@ -6407,13 +6490,13 @@ void swap(PassRequestMessage &a, PassRequestMessage &b) { swap(a.__isset, b.__isset); } -PassRequestMessage::PassRequestMessage(const PassRequestMessage& other115) noexcept { - target_point = other115.target_point; - __isset = other115.__isset; -} -PassRequestMessage& PassRequestMessage::operator=(const PassRequestMessage& other116) noexcept { +PassRequestMessage::PassRequestMessage(const PassRequestMessage& other116) noexcept { target_point = other116.target_point; __isset = other116.__isset; +} +PassRequestMessage& PassRequestMessage::operator=(const PassRequestMessage& other117) noexcept { + target_point = other117.target_point; + __isset = other117.__isset; return *this; } void PassRequestMessage::printTo(std::ostream& out) const { @@ -6499,13 +6582,13 @@ void swap(StaminaMessage &a, StaminaMessage &b) { swap(a.__isset, b.__isset); } -StaminaMessage::StaminaMessage(const StaminaMessage& other117) noexcept { - stamina = other117.stamina; - __isset = other117.__isset; -} -StaminaMessage& StaminaMessage::operator=(const StaminaMessage& other118) noexcept { +StaminaMessage::StaminaMessage(const StaminaMessage& other118) noexcept { stamina = other118.stamina; __isset = other118.__isset; +} +StaminaMessage& StaminaMessage::operator=(const StaminaMessage& other119) noexcept { + stamina = other119.stamina; + __isset = other119.__isset; return *this; } void StaminaMessage::printTo(std::ostream& out) const { @@ -6591,13 +6674,13 @@ void swap(RecoveryMessage &a, RecoveryMessage &b) { swap(a.__isset, b.__isset); } -RecoveryMessage::RecoveryMessage(const RecoveryMessage& other119) noexcept { - recovery = other119.recovery; - __isset = other119.__isset; -} -RecoveryMessage& RecoveryMessage::operator=(const RecoveryMessage& other120) noexcept { +RecoveryMessage::RecoveryMessage(const RecoveryMessage& other120) noexcept { recovery = other120.recovery; __isset = other120.__isset; +} +RecoveryMessage& RecoveryMessage::operator=(const RecoveryMessage& other121) noexcept { + recovery = other121.recovery; + __isset = other121.__isset; return *this; } void RecoveryMessage::printTo(std::ostream& out) const { @@ -6683,13 +6766,13 @@ void swap(StaminaCapacityMessage &a, StaminaCapacityMessage &b) { swap(a.__isset, b.__isset); } -StaminaCapacityMessage::StaminaCapacityMessage(const StaminaCapacityMessage& other121) noexcept { - stamina_capacity = other121.stamina_capacity; - __isset = other121.__isset; -} -StaminaCapacityMessage& StaminaCapacityMessage::operator=(const StaminaCapacityMessage& other122) noexcept { +StaminaCapacityMessage::StaminaCapacityMessage(const StaminaCapacityMessage& other122) noexcept { stamina_capacity = other122.stamina_capacity; __isset = other122.__isset; +} +StaminaCapacityMessage& StaminaCapacityMessage::operator=(const StaminaCapacityMessage& other123) noexcept { + stamina_capacity = other123.stamina_capacity; + __isset = other123.__isset; return *this; } void StaminaCapacityMessage::printTo(std::ostream& out) const { @@ -6792,15 +6875,15 @@ void swap(DribbleMessage &a, DribbleMessage &b) { swap(a.__isset, b.__isset); } -DribbleMessage::DribbleMessage(const DribbleMessage& other123) noexcept { - target_point = other123.target_point; - queue_count = other123.queue_count; - __isset = other123.__isset; -} -DribbleMessage& DribbleMessage::operator=(const DribbleMessage& other124) noexcept { +DribbleMessage::DribbleMessage(const DribbleMessage& other124) noexcept { target_point = other124.target_point; queue_count = other124.queue_count; __isset = other124.__isset; +} +DribbleMessage& DribbleMessage::operator=(const DribbleMessage& other125) noexcept { + target_point = other125.target_point; + queue_count = other125.queue_count; + __isset = other125.__isset; return *this; } void DribbleMessage::printTo(std::ostream& out) const { @@ -6938,19 +7021,19 @@ void swap(BallGoalieMessage &a, BallGoalieMessage &b) { swap(a.__isset, b.__isset); } -BallGoalieMessage::BallGoalieMessage(const BallGoalieMessage& other125) noexcept { - ball_position = other125.ball_position; - ball_velocity = other125.ball_velocity; - goalie_position = other125.goalie_position; - goalie_body_direction = other125.goalie_body_direction; - __isset = other125.__isset; -} -BallGoalieMessage& BallGoalieMessage::operator=(const BallGoalieMessage& other126) noexcept { +BallGoalieMessage::BallGoalieMessage(const BallGoalieMessage& other126) noexcept { ball_position = other126.ball_position; ball_velocity = other126.ball_velocity; goalie_position = other126.goalie_position; goalie_body_direction = other126.goalie_body_direction; __isset = other126.__isset; +} +BallGoalieMessage& BallGoalieMessage::operator=(const BallGoalieMessage& other127) noexcept { + ball_position = other127.ball_position; + ball_velocity = other127.ball_velocity; + goalie_position = other127.goalie_position; + goalie_body_direction = other127.goalie_body_direction; + __isset = other127.__isset; return *this; } void BallGoalieMessage::printTo(std::ostream& out) const { @@ -7056,15 +7139,15 @@ void swap(OnePlayerMessage &a, OnePlayerMessage &b) { swap(a.__isset, b.__isset); } -OnePlayerMessage::OnePlayerMessage(const OnePlayerMessage& other127) noexcept { - uniform_number = other127.uniform_number; - position = other127.position; - __isset = other127.__isset; -} -OnePlayerMessage& OnePlayerMessage::operator=(const OnePlayerMessage& other128) noexcept { +OnePlayerMessage::OnePlayerMessage(const OnePlayerMessage& other128) noexcept { uniform_number = other128.uniform_number; position = other128.position; __isset = other128.__isset; +} +OnePlayerMessage& OnePlayerMessage::operator=(const OnePlayerMessage& other129) noexcept { + uniform_number = other129.uniform_number; + position = other129.position; + __isset = other129.__isset; return *this; } void OnePlayerMessage::printTo(std::ostream& out) const { @@ -7202,19 +7285,19 @@ void swap(TwoPlayerMessage &a, TwoPlayerMessage &b) { swap(a.__isset, b.__isset); } -TwoPlayerMessage::TwoPlayerMessage(const TwoPlayerMessage& other129) noexcept { - first_uniform_number = other129.first_uniform_number; - first_position = other129.first_position; - second_uniform_number = other129.second_uniform_number; - second_position = other129.second_position; - __isset = other129.__isset; -} -TwoPlayerMessage& TwoPlayerMessage::operator=(const TwoPlayerMessage& other130) noexcept { +TwoPlayerMessage::TwoPlayerMessage(const TwoPlayerMessage& other130) noexcept { first_uniform_number = other130.first_uniform_number; first_position = other130.first_position; second_uniform_number = other130.second_uniform_number; second_position = other130.second_position; __isset = other130.__isset; +} +TwoPlayerMessage& TwoPlayerMessage::operator=(const TwoPlayerMessage& other131) noexcept { + first_uniform_number = other131.first_uniform_number; + first_position = other131.first_position; + second_uniform_number = other131.second_uniform_number; + second_position = other131.second_position; + __isset = other131.__isset; return *this; } void TwoPlayerMessage::printTo(std::ostream& out) const { @@ -7388,16 +7471,7 @@ void swap(ThreePlayerMessage &a, ThreePlayerMessage &b) { swap(a.__isset, b.__isset); } -ThreePlayerMessage::ThreePlayerMessage(const ThreePlayerMessage& other131) noexcept { - first_uniform_number = other131.first_uniform_number; - first_position = other131.first_position; - second_uniform_number = other131.second_uniform_number; - second_position = other131.second_position; - third_uniform_number = other131.third_uniform_number; - third_position = other131.third_position; - __isset = other131.__isset; -} -ThreePlayerMessage& ThreePlayerMessage::operator=(const ThreePlayerMessage& other132) noexcept { +ThreePlayerMessage::ThreePlayerMessage(const ThreePlayerMessage& other132) noexcept { first_uniform_number = other132.first_uniform_number; first_position = other132.first_position; second_uniform_number = other132.second_uniform_number; @@ -7405,6 +7479,15 @@ ThreePlayerMessage& ThreePlayerMessage::operator=(const ThreePlayerMessage& othe third_uniform_number = other132.third_uniform_number; third_position = other132.third_position; __isset = other132.__isset; +} +ThreePlayerMessage& ThreePlayerMessage::operator=(const ThreePlayerMessage& other133) noexcept { + first_uniform_number = other133.first_uniform_number; + first_position = other133.first_position; + second_uniform_number = other133.second_uniform_number; + second_position = other133.second_position; + third_uniform_number = other133.third_uniform_number; + third_position = other133.third_position; + __isset = other133.__isset; return *this; } void ThreePlayerMessage::printTo(std::ostream& out) const { @@ -7529,17 +7612,17 @@ void swap(SelfMessage &a, SelfMessage &b) { swap(a.__isset, b.__isset); } -SelfMessage::SelfMessage(const SelfMessage& other133) noexcept { - self_position = other133.self_position; - self_body_direction = other133.self_body_direction; - self_stamina = other133.self_stamina; - __isset = other133.__isset; -} -SelfMessage& SelfMessage::operator=(const SelfMessage& other134) noexcept { +SelfMessage::SelfMessage(const SelfMessage& other134) noexcept { self_position = other134.self_position; self_body_direction = other134.self_body_direction; self_stamina = other134.self_stamina; __isset = other134.__isset; +} +SelfMessage& SelfMessage::operator=(const SelfMessage& other135) noexcept { + self_position = other135.self_position; + self_body_direction = other135.self_body_direction; + self_stamina = other135.self_stamina; + __isset = other135.__isset; return *this; } void SelfMessage::printTo(std::ostream& out) const { @@ -7661,17 +7744,17 @@ void swap(TeammateMessage &a, TeammateMessage &b) { swap(a.__isset, b.__isset); } -TeammateMessage::TeammateMessage(const TeammateMessage& other135) noexcept { - uniform_number = other135.uniform_number; - position = other135.position; - body_direction = other135.body_direction; - __isset = other135.__isset; -} -TeammateMessage& TeammateMessage::operator=(const TeammateMessage& other136) noexcept { +TeammateMessage::TeammateMessage(const TeammateMessage& other136) noexcept { uniform_number = other136.uniform_number; position = other136.position; body_direction = other136.body_direction; __isset = other136.__isset; +} +TeammateMessage& TeammateMessage::operator=(const TeammateMessage& other137) noexcept { + uniform_number = other137.uniform_number; + position = other137.position; + body_direction = other137.body_direction; + __isset = other137.__isset; return *this; } void TeammateMessage::printTo(std::ostream& out) const { @@ -7793,17 +7876,17 @@ void swap(OpponentMessage &a, OpponentMessage &b) { swap(a.__isset, b.__isset); } -OpponentMessage::OpponentMessage(const OpponentMessage& other137) noexcept { - uniform_number = other137.uniform_number; - position = other137.position; - body_direction = other137.body_direction; - __isset = other137.__isset; -} -OpponentMessage& OpponentMessage::operator=(const OpponentMessage& other138) noexcept { +OpponentMessage::OpponentMessage(const OpponentMessage& other138) noexcept { uniform_number = other138.uniform_number; position = other138.position; body_direction = other138.body_direction; __isset = other138.__isset; +} +OpponentMessage& OpponentMessage::operator=(const OpponentMessage& other139) noexcept { + uniform_number = other139.uniform_number; + position = other139.position; + body_direction = other139.body_direction; + __isset = other139.__isset; return *this; } void OpponentMessage::printTo(std::ostream& out) const { @@ -7959,21 +8042,21 @@ void swap(BallPlayerMessage &a, BallPlayerMessage &b) { swap(a.__isset, b.__isset); } -BallPlayerMessage::BallPlayerMessage(const BallPlayerMessage& other139) noexcept { - ball_position = other139.ball_position; - ball_velocity = other139.ball_velocity; - uniform_number = other139.uniform_number; - player_position = other139.player_position; - body_direction = other139.body_direction; - __isset = other139.__isset; -} -BallPlayerMessage& BallPlayerMessage::operator=(const BallPlayerMessage& other140) noexcept { +BallPlayerMessage::BallPlayerMessage(const BallPlayerMessage& other140) noexcept { ball_position = other140.ball_position; ball_velocity = other140.ball_velocity; uniform_number = other140.uniform_number; player_position = other140.player_position; body_direction = other140.body_direction; __isset = other140.__isset; +} +BallPlayerMessage& BallPlayerMessage::operator=(const BallPlayerMessage& other141) noexcept { + ball_position = other141.ball_position; + ball_velocity = other141.ball_velocity; + uniform_number = other141.uniform_number; + player_position = other141.player_position; + body_direction = other141.body_direction; + __isset = other141.__isset; return *this; } void BallPlayerMessage::printTo(std::ostream& out) const { @@ -8464,32 +8547,7 @@ void swap(Say &a, Say &b) { swap(a.__isset, b.__isset); } -Say::Say(const Say& other141) noexcept { - ball_message = other141.ball_message; - pass_message = other141.pass_message; - intercept_message = other141.intercept_message; - goalie_message = other141.goalie_message; - goalie_and_player_message = other141.goalie_and_player_message; - offside_line_message = other141.offside_line_message; - defense_line_message = other141.defense_line_message; - wait_request_message = other141.wait_request_message; - setplay_message = other141.setplay_message; - pass_request_message = other141.pass_request_message; - stamina_message = other141.stamina_message; - recovery_message = other141.recovery_message; - stamina_capacity_message = other141.stamina_capacity_message; - dribble_message = other141.dribble_message; - ball_goalie_message = other141.ball_goalie_message; - one_player_message = other141.one_player_message; - two_player_message = other141.two_player_message; - three_player_message = other141.three_player_message; - self_message = other141.self_message; - teammate_message = other141.teammate_message; - opponent_message = other141.opponent_message; - ball_player_message = other141.ball_player_message; - __isset = other141.__isset; -} -Say& Say::operator=(const Say& other142) noexcept { +Say::Say(const Say& other142) noexcept { ball_message = other142.ball_message; pass_message = other142.pass_message; intercept_message = other142.intercept_message; @@ -8513,6 +8571,31 @@ Say& Say::operator=(const Say& other142) noexcept { opponent_message = other142.opponent_message; ball_player_message = other142.ball_player_message; __isset = other142.__isset; +} +Say& Say::operator=(const Say& other143) noexcept { + ball_message = other143.ball_message; + pass_message = other143.pass_message; + intercept_message = other143.intercept_message; + goalie_message = other143.goalie_message; + goalie_and_player_message = other143.goalie_and_player_message; + offside_line_message = other143.offside_line_message; + defense_line_message = other143.defense_line_message; + wait_request_message = other143.wait_request_message; + setplay_message = other143.setplay_message; + pass_request_message = other143.pass_request_message; + stamina_message = other143.stamina_message; + recovery_message = other143.recovery_message; + stamina_capacity_message = other143.stamina_capacity_message; + dribble_message = other143.dribble_message; + ball_goalie_message = other143.ball_goalie_message; + one_player_message = other143.one_player_message; + two_player_message = other143.two_player_message; + three_player_message = other143.three_player_message; + self_message = other143.self_message; + teammate_message = other143.teammate_message; + opponent_message = other143.opponent_message; + ball_player_message = other143.ball_player_message; + __isset = other143.__isset; return *this; } void Say::printTo(std::ostream& out) const { @@ -8636,15 +8719,15 @@ void swap(PointTo &a, PointTo &b) { swap(a.__isset, b.__isset); } -PointTo::PointTo(const PointTo& other143) noexcept { - x = other143.x; - y = other143.y; - __isset = other143.__isset; -} -PointTo& PointTo::operator=(const PointTo& other144) noexcept { +PointTo::PointTo(const PointTo& other144) noexcept { x = other144.x; y = other144.y; __isset = other144.__isset; +} +PointTo& PointTo::operator=(const PointTo& other145) noexcept { + x = other145.x; + y = other145.y; + __isset = other145.__isset; return *this; } void PointTo::printTo(std::ostream& out) const { @@ -8710,11 +8793,11 @@ void swap(PointToOf &a, PointToOf &b) { (void) b; } -PointToOf::PointToOf(const PointToOf& other145) noexcept { - (void) other145; -} -PointToOf& PointToOf::operator=(const PointToOf& other146) noexcept { +PointToOf::PointToOf(const PointToOf& other146) noexcept { (void) other146; +} +PointToOf& PointToOf::operator=(const PointToOf& other147) noexcept { + (void) other147; return *this; } void PointToOf::printTo(std::ostream& out) const { @@ -8765,9 +8848,9 @@ uint32_t AttentionTo::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast147; - xfer += iprot->readI32(ecast147); - this->side = static_cast(ecast147); + int32_t ecast148; + xfer += iprot->readI32(ecast148); + this->side = static_cast(ecast148); this->__isset.side = true; } else { xfer += iprot->skip(ftype); @@ -8818,15 +8901,15 @@ void swap(AttentionTo &a, AttentionTo &b) { swap(a.__isset, b.__isset); } -AttentionTo::AttentionTo(const AttentionTo& other148) noexcept { - side = other148.side; - unum = other148.unum; - __isset = other148.__isset; -} -AttentionTo& AttentionTo::operator=(const AttentionTo& other149) noexcept { +AttentionTo::AttentionTo(const AttentionTo& other149) noexcept { side = other149.side; unum = other149.unum; __isset = other149.__isset; +} +AttentionTo& AttentionTo::operator=(const AttentionTo& other150) noexcept { + side = other150.side; + unum = other150.unum; + __isset = other150.__isset; return *this; } void AttentionTo::printTo(std::ostream& out) const { @@ -8892,11 +8975,11 @@ void swap(AttentionToOf &a, AttentionToOf &b) { (void) b; } -AttentionToOf::AttentionToOf(const AttentionToOf& other150) noexcept { - (void) other150; -} -AttentionToOf& AttentionToOf::operator=(const AttentionToOf& other151) noexcept { +AttentionToOf::AttentionToOf(const AttentionToOf& other151) noexcept { (void) other151; +} +AttentionToOf& AttentionToOf::operator=(const AttentionToOf& other152) noexcept { + (void) other152; return *this; } void AttentionToOf::printTo(std::ostream& out) const { @@ -8947,9 +9030,9 @@ uint32_t AddText::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast152; - xfer += iprot->readI32(ecast152); - this->level = static_cast(ecast152); + int32_t ecast153; + xfer += iprot->readI32(ecast153); + this->level = static_cast(ecast153); this->__isset.level = true; } else { xfer += iprot->skip(ftype); @@ -9000,15 +9083,15 @@ void swap(AddText &a, AddText &b) { swap(a.__isset, b.__isset); } -AddText::AddText(const AddText& other153) { - level = other153.level; - message = other153.message; - __isset = other153.__isset; -} -AddText& AddText::operator=(const AddText& other154) { +AddText::AddText(const AddText& other154) { level = other154.level; message = other154.message; __isset = other154.__isset; +} +AddText& AddText::operator=(const AddText& other155) { + level = other155.level; + message = other155.message; + __isset = other155.__isset; return *this; } void AddText::printTo(std::ostream& out) const { @@ -9065,9 +9148,9 @@ uint32_t AddPoint::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast155; - xfer += iprot->readI32(ecast155); - this->level = static_cast(ecast155); + int32_t ecast156; + xfer += iprot->readI32(ecast156); + this->level = static_cast(ecast156); this->__isset.level = true; } else { xfer += iprot->skip(ftype); @@ -9131,17 +9214,17 @@ void swap(AddPoint &a, AddPoint &b) { swap(a.__isset, b.__isset); } -AddPoint::AddPoint(const AddPoint& other156) { - level = other156.level; - point = other156.point; - color = other156.color; - __isset = other156.__isset; -} -AddPoint& AddPoint::operator=(const AddPoint& other157) { +AddPoint::AddPoint(const AddPoint& other157) { level = other157.level; point = other157.point; color = other157.color; __isset = other157.__isset; +} +AddPoint& AddPoint::operator=(const AddPoint& other158) { + level = other158.level; + point = other158.point; + color = other158.color; + __isset = other158.__isset; return *this; } void AddPoint::printTo(std::ostream& out) const { @@ -9203,9 +9286,9 @@ uint32_t AddLine::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast158; - xfer += iprot->readI32(ecast158); - this->level = static_cast(ecast158); + int32_t ecast159; + xfer += iprot->readI32(ecast159); + this->level = static_cast(ecast159); this->__isset.level = true; } else { xfer += iprot->skip(ftype); @@ -9282,19 +9365,19 @@ void swap(AddLine &a, AddLine &b) { swap(a.__isset, b.__isset); } -AddLine::AddLine(const AddLine& other159) { - level = other159.level; - start_point = other159.start_point; - end_point = other159.end_point; - color = other159.color; - __isset = other159.__isset; -} -AddLine& AddLine::operator=(const AddLine& other160) { +AddLine::AddLine(const AddLine& other160) { level = other160.level; start_point = other160.start_point; end_point = other160.end_point; color = other160.color; __isset = other160.__isset; +} +AddLine& AddLine::operator=(const AddLine& other161) { + level = other161.level; + start_point = other161.start_point; + end_point = other161.end_point; + color = other161.color; + __isset = other161.__isset; return *this; } void AddLine::printTo(std::ostream& out) const { @@ -9365,9 +9448,9 @@ uint32_t AddArc::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast161; - xfer += iprot->readI32(ecast161); - this->level = static_cast(ecast161); + int32_t ecast162; + xfer += iprot->readI32(ecast162); + this->level = static_cast(ecast162); this->__isset.level = true; } else { xfer += iprot->skip(ftype); @@ -9470,16 +9553,7 @@ void swap(AddArc &a, AddArc &b) { swap(a.__isset, b.__isset); } -AddArc::AddArc(const AddArc& other162) { - level = other162.level; - center = other162.center; - radius = other162.radius; - start_angle = other162.start_angle; - span_angel = other162.span_angel; - color = other162.color; - __isset = other162.__isset; -} -AddArc& AddArc::operator=(const AddArc& other163) { +AddArc::AddArc(const AddArc& other163) { level = other163.level; center = other163.center; radius = other163.radius; @@ -9487,6 +9561,15 @@ AddArc& AddArc::operator=(const AddArc& other163) { span_angel = other163.span_angel; color = other163.color; __isset = other163.__isset; +} +AddArc& AddArc::operator=(const AddArc& other164) { + level = other164.level; + center = other164.center; + radius = other164.radius; + start_angle = other164.start_angle; + span_angel = other164.span_angel; + color = other164.color; + __isset = other164.__isset; return *this; } void AddArc::printTo(std::ostream& out) const { @@ -9555,9 +9638,9 @@ uint32_t AddCircle::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast164; - xfer += iprot->readI32(ecast164); - this->level = static_cast(ecast164); + int32_t ecast165; + xfer += iprot->readI32(ecast165); + this->level = static_cast(ecast165); this->__isset.level = true; } else { xfer += iprot->skip(ftype); @@ -9647,21 +9730,21 @@ void swap(AddCircle &a, AddCircle &b) { swap(a.__isset, b.__isset); } -AddCircle::AddCircle(const AddCircle& other165) { - level = other165.level; - center = other165.center; - radius = other165.radius; - color = other165.color; - fill = other165.fill; - __isset = other165.__isset; -} -AddCircle& AddCircle::operator=(const AddCircle& other166) { +AddCircle::AddCircle(const AddCircle& other166) { level = other166.level; center = other166.center; radius = other166.radius; color = other166.color; fill = other166.fill; __isset = other166.__isset; +} +AddCircle& AddCircle::operator=(const AddCircle& other167) { + level = other167.level; + center = other167.center; + radius = other167.radius; + color = other167.color; + fill = other167.fill; + __isset = other167.__isset; return *this; } void AddCircle::printTo(std::ostream& out) const { @@ -9733,9 +9816,9 @@ uint32_t AddTriangle::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast167; - xfer += iprot->readI32(ecast167); - this->level = static_cast(ecast167); + int32_t ecast168; + xfer += iprot->readI32(ecast168); + this->level = static_cast(ecast168); this->__isset.level = true; } else { xfer += iprot->skip(ftype); @@ -9838,16 +9921,7 @@ void swap(AddTriangle &a, AddTriangle &b) { swap(a.__isset, b.__isset); } -AddTriangle::AddTriangle(const AddTriangle& other168) { - level = other168.level; - point1 = other168.point1; - point2 = other168.point2; - point3 = other168.point3; - color = other168.color; - fill = other168.fill; - __isset = other168.__isset; -} -AddTriangle& AddTriangle::operator=(const AddTriangle& other169) { +AddTriangle::AddTriangle(const AddTriangle& other169) { level = other169.level; point1 = other169.point1; point2 = other169.point2; @@ -9855,6 +9929,15 @@ AddTriangle& AddTriangle::operator=(const AddTriangle& other169) { color = other169.color; fill = other169.fill; __isset = other169.__isset; +} +AddTriangle& AddTriangle::operator=(const AddTriangle& other170) { + level = other170.level; + point1 = other170.point1; + point2 = other170.point2; + point3 = other170.point3; + color = other170.color; + fill = other170.fill; + __isset = other170.__isset; return *this; } void AddTriangle::printTo(std::ostream& out) const { @@ -9931,9 +10014,9 @@ uint32_t AddRectangle::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast170; - xfer += iprot->readI32(ecast170); - this->level = static_cast(ecast170); + int32_t ecast171; + xfer += iprot->readI32(ecast171); + this->level = static_cast(ecast171); this->__isset.level = true; } else { xfer += iprot->skip(ftype); @@ -10049,17 +10132,7 @@ void swap(AddRectangle &a, AddRectangle &b) { swap(a.__isset, b.__isset); } -AddRectangle::AddRectangle(const AddRectangle& other171) { - level = other171.level; - left = other171.left; - top = other171.top; - length = other171.length; - width = other171.width; - color = other171.color; - fill = other171.fill; - __isset = other171.__isset; -} -AddRectangle& AddRectangle::operator=(const AddRectangle& other172) { +AddRectangle::AddRectangle(const AddRectangle& other172) { level = other172.level; left = other172.left; top = other172.top; @@ -10068,6 +10141,16 @@ AddRectangle& AddRectangle::operator=(const AddRectangle& other172) { color = other172.color; fill = other172.fill; __isset = other172.__isset; +} +AddRectangle& AddRectangle::operator=(const AddRectangle& other173) { + level = other173.level; + left = other173.left; + top = other173.top; + length = other173.length; + width = other173.width; + color = other173.color; + fill = other173.fill; + __isset = other173.__isset; return *this; } void AddRectangle::printTo(std::ostream& out) const { @@ -10149,9 +10232,9 @@ uint32_t AddSector::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast173; - xfer += iprot->readI32(ecast173); - this->level = static_cast(ecast173); + int32_t ecast174; + xfer += iprot->readI32(ecast174); + this->level = static_cast(ecast174); this->__isset.level = true; } else { xfer += iprot->skip(ftype); @@ -10280,18 +10363,7 @@ void swap(AddSector &a, AddSector &b) { swap(a.__isset, b.__isset); } -AddSector::AddSector(const AddSector& other174) { - level = other174.level; - center = other174.center; - min_radius = other174.min_radius; - max_radius = other174.max_radius; - start_angle = other174.start_angle; - span_angel = other174.span_angel; - color = other174.color; - fill = other174.fill; - __isset = other174.__isset; -} -AddSector& AddSector::operator=(const AddSector& other175) { +AddSector::AddSector(const AddSector& other175) { level = other175.level; center = other175.center; min_radius = other175.min_radius; @@ -10301,6 +10373,17 @@ AddSector& AddSector::operator=(const AddSector& other175) { color = other175.color; fill = other175.fill; __isset = other175.__isset; +} +AddSector& AddSector::operator=(const AddSector& other176) { + level = other176.level; + center = other176.center; + min_radius = other176.min_radius; + max_radius = other176.max_radius; + start_angle = other176.start_angle; + span_angel = other176.span_angel; + color = other176.color; + fill = other176.fill; + __isset = other176.__isset; return *this; } void AddSector::printTo(std::ostream& out) const { @@ -10367,9 +10450,9 @@ uint32_t AddMessage::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast176; - xfer += iprot->readI32(ecast176); - this->level = static_cast(ecast176); + int32_t ecast177; + xfer += iprot->readI32(ecast177); + this->level = static_cast(ecast177); this->__isset.level = true; } else { xfer += iprot->skip(ftype); @@ -10446,19 +10529,19 @@ void swap(AddMessage &a, AddMessage &b) { swap(a.__isset, b.__isset); } -AddMessage::AddMessage(const AddMessage& other177) { - level = other177.level; - position = other177.position; - message = other177.message; - color = other177.color; - __isset = other177.__isset; -} -AddMessage& AddMessage::operator=(const AddMessage& other178) { +AddMessage::AddMessage(const AddMessage& other178) { level = other178.level; position = other178.position; message = other178.message; color = other178.color; __isset = other178.__isset; +} +AddMessage& AddMessage::operator=(const AddMessage& other179) { + level = other179.level; + position = other179.position; + message = other179.message; + color = other179.color; + __isset = other179.__isset; return *this; } void AddMessage::printTo(std::ostream& out) const { @@ -10701,19 +10784,7 @@ void swap(Log &a, Log &b) { swap(a.__isset, b.__isset); } -Log::Log(const Log& other179) { - add_text = other179.add_text; - add_point = other179.add_point; - add_line = other179.add_line; - add_arc = other179.add_arc; - add_circle = other179.add_circle; - add_triangle = other179.add_triangle; - add_rectangle = other179.add_rectangle; - add_sector = other179.add_sector; - add_message = other179.add_message; - __isset = other179.__isset; -} -Log& Log::operator=(const Log& other180) { +Log::Log(const Log& other180) { add_text = other180.add_text; add_point = other180.add_point; add_line = other180.add_line; @@ -10724,6 +10795,18 @@ Log& Log::operator=(const Log& other180) { add_sector = other180.add_sector; add_message = other180.add_message; __isset = other180.__isset; +} +Log& Log::operator=(const Log& other181) { + add_text = other181.add_text; + add_point = other181.add_point; + add_line = other181.add_line; + add_arc = other181.add_arc; + add_circle = other181.add_circle; + add_triangle = other181.add_triangle; + add_rectangle = other181.add_rectangle; + add_sector = other181.add_sector; + add_message = other181.add_message; + __isset = other181.__isset; return *this; } void Log::printTo(std::ostream& out) const { @@ -10817,13 +10900,13 @@ void swap(DebugClient &a, DebugClient &b) { swap(a.__isset, b.__isset); } -DebugClient::DebugClient(const DebugClient& other181) { - message = other181.message; - __isset = other181.__isset; -} -DebugClient& DebugClient::operator=(const DebugClient& other182) { +DebugClient::DebugClient(const DebugClient& other182) { message = other182.message; __isset = other182.__isset; +} +DebugClient& DebugClient::operator=(const DebugClient& other183) { + message = other183.message; + __isset = other183.__isset; return *this; } void DebugClient::printTo(std::ostream& out) const { @@ -10943,17 +11026,17 @@ void swap(Body_GoToPoint &a, Body_GoToPoint &b) { swap(a.__isset, b.__isset); } -Body_GoToPoint::Body_GoToPoint(const Body_GoToPoint& other183) noexcept { - target_point = other183.target_point; - distance_threshold = other183.distance_threshold; - max_dash_power = other183.max_dash_power; - __isset = other183.__isset; -} -Body_GoToPoint& Body_GoToPoint::operator=(const Body_GoToPoint& other184) noexcept { +Body_GoToPoint::Body_GoToPoint(const Body_GoToPoint& other184) noexcept { target_point = other184.target_point; distance_threshold = other184.distance_threshold; max_dash_power = other184.max_dash_power; __isset = other184.__isset; +} +Body_GoToPoint& Body_GoToPoint::operator=(const Body_GoToPoint& other185) noexcept { + target_point = other185.target_point; + distance_threshold = other185.distance_threshold; + max_dash_power = other185.max_dash_power; + __isset = other185.__isset; return *this; } void Body_GoToPoint::printTo(std::ostream& out) const { @@ -11092,19 +11175,19 @@ void swap(Body_SmartKick &a, Body_SmartKick &b) { swap(a.__isset, b.__isset); } -Body_SmartKick::Body_SmartKick(const Body_SmartKick& other185) noexcept { - target_point = other185.target_point; - first_speed = other185.first_speed; - first_speed_threshold = other185.first_speed_threshold; - max_steps = other185.max_steps; - __isset = other185.__isset; -} -Body_SmartKick& Body_SmartKick::operator=(const Body_SmartKick& other186) noexcept { +Body_SmartKick::Body_SmartKick(const Body_SmartKick& other186) noexcept { target_point = other186.target_point; first_speed = other186.first_speed; first_speed_threshold = other186.first_speed_threshold; max_steps = other186.max_steps; __isset = other186.__isset; +} +Body_SmartKick& Body_SmartKick::operator=(const Body_SmartKick& other187) noexcept { + target_point = other187.target_point; + first_speed = other187.first_speed; + first_speed_threshold = other187.first_speed_threshold; + max_steps = other187.max_steps; + __isset = other187.__isset; return *this; } void Body_SmartKick::printTo(std::ostream& out) const { @@ -11193,13 +11276,13 @@ void swap(Bhv_BeforeKickOff &a, Bhv_BeforeKickOff &b) { swap(a.__isset, b.__isset); } -Bhv_BeforeKickOff::Bhv_BeforeKickOff(const Bhv_BeforeKickOff& other187) noexcept { - point = other187.point; - __isset = other187.__isset; -} -Bhv_BeforeKickOff& Bhv_BeforeKickOff::operator=(const Bhv_BeforeKickOff& other188) noexcept { +Bhv_BeforeKickOff::Bhv_BeforeKickOff(const Bhv_BeforeKickOff& other188) noexcept { point = other188.point; __isset = other188.__isset; +} +Bhv_BeforeKickOff& Bhv_BeforeKickOff::operator=(const Bhv_BeforeKickOff& other189) noexcept { + point = other189.point; + __isset = other189.__isset; return *this; } void Bhv_BeforeKickOff::printTo(std::ostream& out) const { @@ -11264,11 +11347,11 @@ void swap(Bhv_BodyNeckToBall &a, Bhv_BodyNeckToBall &b) { (void) b; } -Bhv_BodyNeckToBall::Bhv_BodyNeckToBall(const Bhv_BodyNeckToBall& other189) noexcept { - (void) other189; -} -Bhv_BodyNeckToBall& Bhv_BodyNeckToBall::operator=(const Bhv_BodyNeckToBall& other190) noexcept { +Bhv_BodyNeckToBall::Bhv_BodyNeckToBall(const Bhv_BodyNeckToBall& other190) noexcept { (void) other190; +} +Bhv_BodyNeckToBall& Bhv_BodyNeckToBall::operator=(const Bhv_BodyNeckToBall& other191) noexcept { + (void) other191; return *this; } void Bhv_BodyNeckToBall::printTo(std::ostream& out) const { @@ -11353,13 +11436,13 @@ void swap(Bhv_BodyNeckToPoint &a, Bhv_BodyNeckToPoint &b) { swap(a.__isset, b.__isset); } -Bhv_BodyNeckToPoint::Bhv_BodyNeckToPoint(const Bhv_BodyNeckToPoint& other191) noexcept { - point = other191.point; - __isset = other191.__isset; -} -Bhv_BodyNeckToPoint& Bhv_BodyNeckToPoint::operator=(const Bhv_BodyNeckToPoint& other192) noexcept { +Bhv_BodyNeckToPoint::Bhv_BodyNeckToPoint(const Bhv_BodyNeckToPoint& other192) noexcept { point = other192.point; __isset = other192.__isset; +} +Bhv_BodyNeckToPoint& Bhv_BodyNeckToPoint::operator=(const Bhv_BodyNeckToPoint& other193) noexcept { + point = other193.point; + __isset = other193.__isset; return *this; } void Bhv_BodyNeckToPoint::printTo(std::ostream& out) const { @@ -11424,11 +11507,11 @@ void swap(Bhv_Emergency &a, Bhv_Emergency &b) { (void) b; } -Bhv_Emergency::Bhv_Emergency(const Bhv_Emergency& other193) noexcept { - (void) other193; -} -Bhv_Emergency& Bhv_Emergency::operator=(const Bhv_Emergency& other194) noexcept { +Bhv_Emergency::Bhv_Emergency(const Bhv_Emergency& other194) noexcept { (void) other194; +} +Bhv_Emergency& Bhv_Emergency::operator=(const Bhv_Emergency& other195) noexcept { + (void) other195; return *this; } void Bhv_Emergency::printTo(std::ostream& out) const { @@ -11547,17 +11630,17 @@ void swap(Bhv_GoToPointLookBall &a, Bhv_GoToPointLookBall &b) { swap(a.__isset, b.__isset); } -Bhv_GoToPointLookBall::Bhv_GoToPointLookBall(const Bhv_GoToPointLookBall& other195) noexcept { - target_point = other195.target_point; - distance_threshold = other195.distance_threshold; - max_dash_power = other195.max_dash_power; - __isset = other195.__isset; -} -Bhv_GoToPointLookBall& Bhv_GoToPointLookBall::operator=(const Bhv_GoToPointLookBall& other196) noexcept { +Bhv_GoToPointLookBall::Bhv_GoToPointLookBall(const Bhv_GoToPointLookBall& other196) noexcept { target_point = other196.target_point; distance_threshold = other196.distance_threshold; max_dash_power = other196.max_dash_power; __isset = other196.__isset; +} +Bhv_GoToPointLookBall& Bhv_GoToPointLookBall::operator=(const Bhv_GoToPointLookBall& other197) noexcept { + target_point = other197.target_point; + distance_threshold = other197.distance_threshold; + max_dash_power = other197.max_dash_power; + __isset = other197.__isset; return *this; } void Bhv_GoToPointLookBall::printTo(std::ostream& out) const { @@ -11645,13 +11728,13 @@ void swap(Bhv_NeckBodyToBall &a, Bhv_NeckBodyToBall &b) { swap(a.__isset, b.__isset); } -Bhv_NeckBodyToBall::Bhv_NeckBodyToBall(const Bhv_NeckBodyToBall& other197) noexcept { - angle_buf = other197.angle_buf; - __isset = other197.__isset; -} -Bhv_NeckBodyToBall& Bhv_NeckBodyToBall::operator=(const Bhv_NeckBodyToBall& other198) noexcept { +Bhv_NeckBodyToBall::Bhv_NeckBodyToBall(const Bhv_NeckBodyToBall& other198) noexcept { angle_buf = other198.angle_buf; __isset = other198.__isset; +} +Bhv_NeckBodyToBall& Bhv_NeckBodyToBall::operator=(const Bhv_NeckBodyToBall& other199) noexcept { + angle_buf = other199.angle_buf; + __isset = other199.__isset; return *this; } void Bhv_NeckBodyToBall::printTo(std::ostream& out) const { @@ -11754,15 +11837,15 @@ void swap(Bhv_NeckBodyToPoint &a, Bhv_NeckBodyToPoint &b) { swap(a.__isset, b.__isset); } -Bhv_NeckBodyToPoint::Bhv_NeckBodyToPoint(const Bhv_NeckBodyToPoint& other199) noexcept { - point = other199.point; - angle_buf = other199.angle_buf; - __isset = other199.__isset; -} -Bhv_NeckBodyToPoint& Bhv_NeckBodyToPoint::operator=(const Bhv_NeckBodyToPoint& other200) noexcept { +Bhv_NeckBodyToPoint::Bhv_NeckBodyToPoint(const Bhv_NeckBodyToPoint& other200) noexcept { point = other200.point; angle_buf = other200.angle_buf; __isset = other200.__isset; +} +Bhv_NeckBodyToPoint& Bhv_NeckBodyToPoint::operator=(const Bhv_NeckBodyToPoint& other201) noexcept { + point = other201.point; + angle_buf = other201.angle_buf; + __isset = other201.__isset; return *this; } void Bhv_NeckBodyToPoint::printTo(std::ostream& out) const { @@ -11828,11 +11911,11 @@ void swap(Bhv_ScanField &a, Bhv_ScanField &b) { (void) b; } -Bhv_ScanField::Bhv_ScanField(const Bhv_ScanField& other201) noexcept { - (void) other201; -} -Bhv_ScanField& Bhv_ScanField::operator=(const Bhv_ScanField& other202) noexcept { +Bhv_ScanField::Bhv_ScanField(const Bhv_ScanField& other202) noexcept { (void) other202; +} +Bhv_ScanField& Bhv_ScanField::operator=(const Bhv_ScanField& other203) noexcept { + (void) other203; return *this; } void Bhv_ScanField::printTo(std::ostream& out) const { @@ -11896,11 +11979,11 @@ void swap(Body_AdvanceBall &a, Body_AdvanceBall &b) { (void) b; } -Body_AdvanceBall::Body_AdvanceBall(const Body_AdvanceBall& other203) noexcept { - (void) other203; -} -Body_AdvanceBall& Body_AdvanceBall::operator=(const Body_AdvanceBall& other204) noexcept { +Body_AdvanceBall::Body_AdvanceBall(const Body_AdvanceBall& other204) noexcept { (void) other204; +} +Body_AdvanceBall& Body_AdvanceBall::operator=(const Body_AdvanceBall& other205) noexcept { + (void) other205; return *this; } void Body_AdvanceBall::printTo(std::ostream& out) const { @@ -11964,11 +12047,11 @@ void swap(Body_ClearBall &a, Body_ClearBall &b) { (void) b; } -Body_ClearBall::Body_ClearBall(const Body_ClearBall& other205) noexcept { - (void) other205; -} -Body_ClearBall& Body_ClearBall::operator=(const Body_ClearBall& other206) noexcept { +Body_ClearBall::Body_ClearBall(const Body_ClearBall& other206) noexcept { (void) other206; +} +Body_ClearBall& Body_ClearBall::operator=(const Body_ClearBall& other207) noexcept { + (void) other207; return *this; } void Body_ClearBall::printTo(std::ostream& out) const { @@ -12121,21 +12204,21 @@ void swap(Body_Dribble &a, Body_Dribble &b) { swap(a.__isset, b.__isset); } -Body_Dribble::Body_Dribble(const Body_Dribble& other207) noexcept { - target_point = other207.target_point; - distance_threshold = other207.distance_threshold; - dash_power = other207.dash_power; - dash_count = other207.dash_count; - dodge = other207.dodge; - __isset = other207.__isset; -} -Body_Dribble& Body_Dribble::operator=(const Body_Dribble& other208) noexcept { +Body_Dribble::Body_Dribble(const Body_Dribble& other208) noexcept { target_point = other208.target_point; distance_threshold = other208.distance_threshold; dash_power = other208.dash_power; dash_count = other208.dash_count; dodge = other208.dodge; __isset = other208.__isset; +} +Body_Dribble& Body_Dribble::operator=(const Body_Dribble& other209) noexcept { + target_point = other209.target_point; + distance_threshold = other209.distance_threshold; + dash_power = other209.dash_power; + dash_count = other209.dash_count; + dodge = other209.dodge; + __isset = other209.__isset; return *this; } void Body_Dribble::printTo(std::ostream& out) const { @@ -12242,15 +12325,15 @@ void swap(Body_GoToPointDodge &a, Body_GoToPointDodge &b) { swap(a.__isset, b.__isset); } -Body_GoToPointDodge::Body_GoToPointDodge(const Body_GoToPointDodge& other209) noexcept { - target_point = other209.target_point; - dash_power = other209.dash_power; - __isset = other209.__isset; -} -Body_GoToPointDodge& Body_GoToPointDodge::operator=(const Body_GoToPointDodge& other210) noexcept { +Body_GoToPointDodge::Body_GoToPointDodge(const Body_GoToPointDodge& other210) noexcept { target_point = other210.target_point; dash_power = other210.dash_power; __isset = other210.__isset; +} +Body_GoToPointDodge& Body_GoToPointDodge::operator=(const Body_GoToPointDodge& other211) noexcept { + target_point = other211.target_point; + dash_power = other211.dash_power; + __isset = other211.__isset; return *this; } void Body_GoToPointDodge::printTo(std::ostream& out) const { @@ -12371,17 +12454,17 @@ void swap(Body_HoldBall &a, Body_HoldBall &b) { swap(a.__isset, b.__isset); } -Body_HoldBall::Body_HoldBall(const Body_HoldBall& other211) noexcept { - do_turn = other211.do_turn; - turn_target_point = other211.turn_target_point; - kick_target_point = other211.kick_target_point; - __isset = other211.__isset; -} -Body_HoldBall& Body_HoldBall::operator=(const Body_HoldBall& other212) noexcept { +Body_HoldBall::Body_HoldBall(const Body_HoldBall& other212) noexcept { do_turn = other212.do_turn; turn_target_point = other212.turn_target_point; kick_target_point = other212.kick_target_point; __isset = other212.__isset; +} +Body_HoldBall& Body_HoldBall::operator=(const Body_HoldBall& other213) noexcept { + do_turn = other213.do_turn; + turn_target_point = other213.turn_target_point; + kick_target_point = other213.kick_target_point; + __isset = other213.__isset; return *this; } void Body_HoldBall::printTo(std::ostream& out) const { @@ -12486,15 +12569,15 @@ void swap(Body_Intercept &a, Body_Intercept &b) { swap(a.__isset, b.__isset); } -Body_Intercept::Body_Intercept(const Body_Intercept& other213) noexcept { - save_recovery = other213.save_recovery; - face_point = other213.face_point; - __isset = other213.__isset; -} -Body_Intercept& Body_Intercept::operator=(const Body_Intercept& other214) noexcept { +Body_Intercept::Body_Intercept(const Body_Intercept& other214) noexcept { save_recovery = other214.save_recovery; face_point = other214.face_point; __isset = other214.__isset; +} +Body_Intercept& Body_Intercept::operator=(const Body_Intercept& other215) noexcept { + save_recovery = other215.save_recovery; + face_point = other215.face_point; + __isset = other215.__isset; return *this; } void Body_Intercept::printTo(std::ostream& out) const { @@ -12615,17 +12698,17 @@ void swap(Body_KickOneStep &a, Body_KickOneStep &b) { swap(a.__isset, b.__isset); } -Body_KickOneStep::Body_KickOneStep(const Body_KickOneStep& other215) noexcept { - target_point = other215.target_point; - first_speed = other215.first_speed; - force_mode = other215.force_mode; - __isset = other215.__isset; -} -Body_KickOneStep& Body_KickOneStep::operator=(const Body_KickOneStep& other216) noexcept { +Body_KickOneStep::Body_KickOneStep(const Body_KickOneStep& other216) noexcept { target_point = other216.target_point; first_speed = other216.first_speed; force_mode = other216.force_mode; __isset = other216.__isset; +} +Body_KickOneStep& Body_KickOneStep::operator=(const Body_KickOneStep& other217) noexcept { + target_point = other217.target_point; + first_speed = other217.first_speed; + force_mode = other217.force_mode; + __isset = other217.__isset; return *this; } void Body_KickOneStep::printTo(std::ostream& out) const { @@ -12692,11 +12775,11 @@ void swap(Body_StopBall &a, Body_StopBall &b) { (void) b; } -Body_StopBall::Body_StopBall(const Body_StopBall& other217) noexcept { - (void) other217; -} -Body_StopBall& Body_StopBall::operator=(const Body_StopBall& other218) noexcept { +Body_StopBall::Body_StopBall(const Body_StopBall& other218) noexcept { (void) other218; +} +Body_StopBall& Body_StopBall::operator=(const Body_StopBall& other219) noexcept { + (void) other219; return *this; } void Body_StopBall::printTo(std::ostream& out) const { @@ -12781,13 +12864,13 @@ void swap(Body_StopDash &a, Body_StopDash &b) { swap(a.__isset, b.__isset); } -Body_StopDash::Body_StopDash(const Body_StopDash& other219) noexcept { - save_recovery = other219.save_recovery; - __isset = other219.__isset; -} -Body_StopDash& Body_StopDash::operator=(const Body_StopDash& other220) noexcept { +Body_StopDash::Body_StopDash(const Body_StopDash& other220) noexcept { save_recovery = other220.save_recovery; __isset = other220.__isset; +} +Body_StopDash& Body_StopDash::operator=(const Body_StopDash& other221) noexcept { + save_recovery = other221.save_recovery; + __isset = other221.__isset; return *this; } void Body_StopDash::printTo(std::ostream& out) const { @@ -12907,17 +12990,17 @@ void swap(Body_TackleToPoint &a, Body_TackleToPoint &b) { swap(a.__isset, b.__isset); } -Body_TackleToPoint::Body_TackleToPoint(const Body_TackleToPoint& other221) noexcept { - target_point = other221.target_point; - min_probability = other221.min_probability; - min_speed = other221.min_speed; - __isset = other221.__isset; -} -Body_TackleToPoint& Body_TackleToPoint::operator=(const Body_TackleToPoint& other222) noexcept { +Body_TackleToPoint::Body_TackleToPoint(const Body_TackleToPoint& other222) noexcept { target_point = other222.target_point; min_probability = other222.min_probability; min_speed = other222.min_speed; __isset = other222.__isset; +} +Body_TackleToPoint& Body_TackleToPoint::operator=(const Body_TackleToPoint& other223) noexcept { + target_point = other223.target_point; + min_probability = other223.min_probability; + min_speed = other223.min_speed; + __isset = other223.__isset; return *this; } void Body_TackleToPoint::printTo(std::ostream& out) const { @@ -13005,13 +13088,13 @@ void swap(Body_TurnToAngle &a, Body_TurnToAngle &b) { swap(a.__isset, b.__isset); } -Body_TurnToAngle::Body_TurnToAngle(const Body_TurnToAngle& other223) noexcept { - angle = other223.angle; - __isset = other223.__isset; -} -Body_TurnToAngle& Body_TurnToAngle::operator=(const Body_TurnToAngle& other224) noexcept { +Body_TurnToAngle::Body_TurnToAngle(const Body_TurnToAngle& other224) noexcept { angle = other224.angle; __isset = other224.__isset; +} +Body_TurnToAngle& Body_TurnToAngle::operator=(const Body_TurnToAngle& other225) noexcept { + angle = other225.angle; + __isset = other225.__isset; return *this; } void Body_TurnToAngle::printTo(std::ostream& out) const { @@ -13097,13 +13180,13 @@ void swap(Body_TurnToBall &a, Body_TurnToBall &b) { swap(a.__isset, b.__isset); } -Body_TurnToBall::Body_TurnToBall(const Body_TurnToBall& other225) noexcept { - cycle = other225.cycle; - __isset = other225.__isset; -} -Body_TurnToBall& Body_TurnToBall::operator=(const Body_TurnToBall& other226) noexcept { +Body_TurnToBall::Body_TurnToBall(const Body_TurnToBall& other226) noexcept { cycle = other226.cycle; __isset = other226.__isset; +} +Body_TurnToBall& Body_TurnToBall::operator=(const Body_TurnToBall& other227) noexcept { + cycle = other227.cycle; + __isset = other227.__isset; return *this; } void Body_TurnToBall::printTo(std::ostream& out) const { @@ -13206,15 +13289,15 @@ void swap(Body_TurnToPoint &a, Body_TurnToPoint &b) { swap(a.__isset, b.__isset); } -Body_TurnToPoint::Body_TurnToPoint(const Body_TurnToPoint& other227) noexcept { - target_point = other227.target_point; - cycle = other227.cycle; - __isset = other227.__isset; -} -Body_TurnToPoint& Body_TurnToPoint::operator=(const Body_TurnToPoint& other228) noexcept { +Body_TurnToPoint::Body_TurnToPoint(const Body_TurnToPoint& other228) noexcept { target_point = other228.target_point; cycle = other228.cycle; __isset = other228.__isset; +} +Body_TurnToPoint& Body_TurnToPoint::operator=(const Body_TurnToPoint& other229) noexcept { + target_point = other229.target_point; + cycle = other229.cycle; + __isset = other229.__isset; return *this; } void Body_TurnToPoint::printTo(std::ostream& out) const { @@ -13301,13 +13384,13 @@ void swap(Focus_MoveToPoint &a, Focus_MoveToPoint &b) { swap(a.__isset, b.__isset); } -Focus_MoveToPoint::Focus_MoveToPoint(const Focus_MoveToPoint& other229) noexcept { - target_point = other229.target_point; - __isset = other229.__isset; -} -Focus_MoveToPoint& Focus_MoveToPoint::operator=(const Focus_MoveToPoint& other230) noexcept { +Focus_MoveToPoint::Focus_MoveToPoint(const Focus_MoveToPoint& other230) noexcept { target_point = other230.target_point; __isset = other230.__isset; +} +Focus_MoveToPoint& Focus_MoveToPoint::operator=(const Focus_MoveToPoint& other231) noexcept { + target_point = other231.target_point; + __isset = other231.__isset; return *this; } void Focus_MoveToPoint::printTo(std::ostream& out) const { @@ -13372,11 +13455,11 @@ void swap(Focus_Reset &a, Focus_Reset &b) { (void) b; } -Focus_Reset::Focus_Reset(const Focus_Reset& other231) noexcept { - (void) other231; -} -Focus_Reset& Focus_Reset::operator=(const Focus_Reset& other232) noexcept { +Focus_Reset::Focus_Reset(const Focus_Reset& other232) noexcept { (void) other232; +} +Focus_Reset& Focus_Reset::operator=(const Focus_Reset& other233) noexcept { + (void) other233; return *this; } void Focus_Reset::printTo(std::ostream& out) const { @@ -13440,11 +13523,11 @@ void swap(Neck_ScanField &a, Neck_ScanField &b) { (void) b; } -Neck_ScanField::Neck_ScanField(const Neck_ScanField& other233) noexcept { - (void) other233; -} -Neck_ScanField& Neck_ScanField::operator=(const Neck_ScanField& other234) noexcept { +Neck_ScanField::Neck_ScanField(const Neck_ScanField& other234) noexcept { (void) other234; +} +Neck_ScanField& Neck_ScanField::operator=(const Neck_ScanField& other235) noexcept { + (void) other235; return *this; } void Neck_ScanField::printTo(std::ostream& out) const { @@ -13508,11 +13591,11 @@ void swap(Neck_ScanPlayers &a, Neck_ScanPlayers &b) { (void) b; } -Neck_ScanPlayers::Neck_ScanPlayers(const Neck_ScanPlayers& other235) noexcept { - (void) other235; -} -Neck_ScanPlayers& Neck_ScanPlayers::operator=(const Neck_ScanPlayers& other236) noexcept { +Neck_ScanPlayers::Neck_ScanPlayers(const Neck_ScanPlayers& other236) noexcept { (void) other236; +} +Neck_ScanPlayers& Neck_ScanPlayers::operator=(const Neck_ScanPlayers& other237) noexcept { + (void) other237; return *this; } void Neck_ScanPlayers::printTo(std::ostream& out) const { @@ -13567,9 +13650,9 @@ uint32_t Neck_TurnToBallAndPlayer::read(::apache::thrift::protocol::TProtocol* i { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast237; - xfer += iprot->readI32(ecast237); - this->side = static_cast(ecast237); + int32_t ecast238; + xfer += iprot->readI32(ecast238); + this->side = static_cast(ecast238); this->__isset.side = true; } else { xfer += iprot->skip(ftype); @@ -13633,17 +13716,17 @@ void swap(Neck_TurnToBallAndPlayer &a, Neck_TurnToBallAndPlayer &b) { swap(a.__isset, b.__isset); } -Neck_TurnToBallAndPlayer::Neck_TurnToBallAndPlayer(const Neck_TurnToBallAndPlayer& other238) noexcept { - side = other238.side; - uniform_number = other238.uniform_number; - count_threshold = other238.count_threshold; - __isset = other238.__isset; -} -Neck_TurnToBallAndPlayer& Neck_TurnToBallAndPlayer::operator=(const Neck_TurnToBallAndPlayer& other239) noexcept { +Neck_TurnToBallAndPlayer::Neck_TurnToBallAndPlayer(const Neck_TurnToBallAndPlayer& other239) noexcept { side = other239.side; uniform_number = other239.uniform_number; count_threshold = other239.count_threshold; __isset = other239.__isset; +} +Neck_TurnToBallAndPlayer& Neck_TurnToBallAndPlayer::operator=(const Neck_TurnToBallAndPlayer& other240) noexcept { + side = other240.side; + uniform_number = other240.uniform_number; + count_threshold = other240.count_threshold; + __isset = other240.__isset; return *this; } void Neck_TurnToBallAndPlayer::printTo(std::ostream& out) const { @@ -13731,13 +13814,13 @@ void swap(Neck_TurnToBallOrScan &a, Neck_TurnToBallOrScan &b) { swap(a.__isset, b.__isset); } -Neck_TurnToBallOrScan::Neck_TurnToBallOrScan(const Neck_TurnToBallOrScan& other240) noexcept { - count_threshold = other240.count_threshold; - __isset = other240.__isset; -} -Neck_TurnToBallOrScan& Neck_TurnToBallOrScan::operator=(const Neck_TurnToBallOrScan& other241) noexcept { +Neck_TurnToBallOrScan::Neck_TurnToBallOrScan(const Neck_TurnToBallOrScan& other241) noexcept { count_threshold = other241.count_threshold; __isset = other241.__isset; +} +Neck_TurnToBallOrScan& Neck_TurnToBallOrScan::operator=(const Neck_TurnToBallOrScan& other242) noexcept { + count_threshold = other242.count_threshold; + __isset = other242.__isset; return *this; } void Neck_TurnToBallOrScan::printTo(std::ostream& out) const { @@ -13802,11 +13885,11 @@ void swap(Neck_TurnToBall &a, Neck_TurnToBall &b) { (void) b; } -Neck_TurnToBall::Neck_TurnToBall(const Neck_TurnToBall& other242) noexcept { - (void) other242; -} -Neck_TurnToBall& Neck_TurnToBall::operator=(const Neck_TurnToBall& other243) noexcept { +Neck_TurnToBall::Neck_TurnToBall(const Neck_TurnToBall& other243) noexcept { (void) other243; +} +Neck_TurnToBall& Neck_TurnToBall::operator=(const Neck_TurnToBall& other244) noexcept { + (void) other244; return *this; } void Neck_TurnToBall::printTo(std::ostream& out) const { @@ -13891,13 +13974,13 @@ void swap(Neck_TurnToGoalieOrScan &a, Neck_TurnToGoalieOrScan &b) { swap(a.__isset, b.__isset); } -Neck_TurnToGoalieOrScan::Neck_TurnToGoalieOrScan(const Neck_TurnToGoalieOrScan& other244) noexcept { - count_threshold = other244.count_threshold; - __isset = other244.__isset; -} -Neck_TurnToGoalieOrScan& Neck_TurnToGoalieOrScan::operator=(const Neck_TurnToGoalieOrScan& other245) noexcept { +Neck_TurnToGoalieOrScan::Neck_TurnToGoalieOrScan(const Neck_TurnToGoalieOrScan& other245) noexcept { count_threshold = other245.count_threshold; __isset = other245.__isset; +} +Neck_TurnToGoalieOrScan& Neck_TurnToGoalieOrScan::operator=(const Neck_TurnToGoalieOrScan& other246) noexcept { + count_threshold = other246.count_threshold; + __isset = other246.__isset; return *this; } void Neck_TurnToGoalieOrScan::printTo(std::ostream& out) const { @@ -13962,11 +14045,11 @@ void swap(Neck_TurnToLowConfTeammate &a, Neck_TurnToLowConfTeammate &b) { (void) b; } -Neck_TurnToLowConfTeammate::Neck_TurnToLowConfTeammate(const Neck_TurnToLowConfTeammate& other246) noexcept { - (void) other246; -} -Neck_TurnToLowConfTeammate& Neck_TurnToLowConfTeammate::operator=(const Neck_TurnToLowConfTeammate& other247) noexcept { +Neck_TurnToLowConfTeammate::Neck_TurnToLowConfTeammate(const Neck_TurnToLowConfTeammate& other247) noexcept { (void) other247; +} +Neck_TurnToLowConfTeammate& Neck_TurnToLowConfTeammate::operator=(const Neck_TurnToLowConfTeammate& other248) noexcept { + (void) other248; return *this; } void Neck_TurnToLowConfTeammate::printTo(std::ostream& out) const { @@ -14021,9 +14104,9 @@ uint32_t Neck_TurnToPlayerOrScan::read(::apache::thrift::protocol::TProtocol* ip { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast248; - xfer += iprot->readI32(ecast248); - this->side = static_cast(ecast248); + int32_t ecast249; + xfer += iprot->readI32(ecast249); + this->side = static_cast(ecast249); this->__isset.side = true; } else { xfer += iprot->skip(ftype); @@ -14087,17 +14170,17 @@ void swap(Neck_TurnToPlayerOrScan &a, Neck_TurnToPlayerOrScan &b) { swap(a.__isset, b.__isset); } -Neck_TurnToPlayerOrScan::Neck_TurnToPlayerOrScan(const Neck_TurnToPlayerOrScan& other249) noexcept { - side = other249.side; - uniform_number = other249.uniform_number; - count_threshold = other249.count_threshold; - __isset = other249.__isset; -} -Neck_TurnToPlayerOrScan& Neck_TurnToPlayerOrScan::operator=(const Neck_TurnToPlayerOrScan& other250) noexcept { +Neck_TurnToPlayerOrScan::Neck_TurnToPlayerOrScan(const Neck_TurnToPlayerOrScan& other250) noexcept { side = other250.side; uniform_number = other250.uniform_number; count_threshold = other250.count_threshold; __isset = other250.__isset; +} +Neck_TurnToPlayerOrScan& Neck_TurnToPlayerOrScan::operator=(const Neck_TurnToPlayerOrScan& other251) noexcept { + side = other251.side; + uniform_number = other251.uniform_number; + count_threshold = other251.count_threshold; + __isset = other251.__isset; return *this; } void Neck_TurnToPlayerOrScan::printTo(std::ostream& out) const { @@ -14185,13 +14268,13 @@ void swap(Neck_TurnToPoint &a, Neck_TurnToPoint &b) { swap(a.__isset, b.__isset); } -Neck_TurnToPoint::Neck_TurnToPoint(const Neck_TurnToPoint& other251) noexcept { - target_point = other251.target_point; - __isset = other251.__isset; -} -Neck_TurnToPoint& Neck_TurnToPoint::operator=(const Neck_TurnToPoint& other252) noexcept { +Neck_TurnToPoint::Neck_TurnToPoint(const Neck_TurnToPoint& other252) noexcept { target_point = other252.target_point; __isset = other252.__isset; +} +Neck_TurnToPoint& Neck_TurnToPoint::operator=(const Neck_TurnToPoint& other253) noexcept { + target_point = other253.target_point; + __isset = other253.__isset; return *this; } void Neck_TurnToPoint::printTo(std::ostream& out) const { @@ -14277,13 +14360,13 @@ void swap(Neck_TurnToRelative &a, Neck_TurnToRelative &b) { swap(a.__isset, b.__isset); } -Neck_TurnToRelative::Neck_TurnToRelative(const Neck_TurnToRelative& other253) noexcept { - angle = other253.angle; - __isset = other253.__isset; -} -Neck_TurnToRelative& Neck_TurnToRelative::operator=(const Neck_TurnToRelative& other254) noexcept { +Neck_TurnToRelative::Neck_TurnToRelative(const Neck_TurnToRelative& other254) noexcept { angle = other254.angle; __isset = other254.__isset; +} +Neck_TurnToRelative& Neck_TurnToRelative::operator=(const Neck_TurnToRelative& other255) noexcept { + angle = other255.angle; + __isset = other255.__isset; return *this; } void Neck_TurnToRelative::printTo(std::ostream& out) const { @@ -14331,9 +14414,9 @@ uint32_t View_ChangeWidth::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast255; - xfer += iprot->readI32(ecast255); - this->view_width = static_cast(ecast255); + int32_t ecast256; + xfer += iprot->readI32(ecast256); + this->view_width = static_cast(ecast256); this->__isset.view_width = true; } else { xfer += iprot->skip(ftype); @@ -14371,13 +14454,13 @@ void swap(View_ChangeWidth &a, View_ChangeWidth &b) { swap(a.__isset, b.__isset); } -View_ChangeWidth::View_ChangeWidth(const View_ChangeWidth& other256) noexcept { - view_width = other256.view_width; - __isset = other256.__isset; -} -View_ChangeWidth& View_ChangeWidth::operator=(const View_ChangeWidth& other257) noexcept { +View_ChangeWidth::View_ChangeWidth(const View_ChangeWidth& other257) noexcept { view_width = other257.view_width; __isset = other257.__isset; +} +View_ChangeWidth& View_ChangeWidth::operator=(const View_ChangeWidth& other258) noexcept { + view_width = other258.view_width; + __isset = other258.__isset; return *this; } void View_ChangeWidth::printTo(std::ostream& out) const { @@ -14442,11 +14525,11 @@ void swap(View_Normal &a, View_Normal &b) { (void) b; } -View_Normal::View_Normal(const View_Normal& other258) noexcept { - (void) other258; -} -View_Normal& View_Normal::operator=(const View_Normal& other259) noexcept { +View_Normal::View_Normal(const View_Normal& other259) noexcept { (void) other259; +} +View_Normal& View_Normal::operator=(const View_Normal& other260) noexcept { + (void) other260; return *this; } void View_Normal::printTo(std::ostream& out) const { @@ -14510,11 +14593,11 @@ void swap(View_Synch &a, View_Synch &b) { (void) b; } -View_Synch::View_Synch(const View_Synch& other260) noexcept { - (void) other260; -} -View_Synch& View_Synch::operator=(const View_Synch& other261) noexcept { +View_Synch::View_Synch(const View_Synch& other261) noexcept { (void) other261; +} +View_Synch& View_Synch::operator=(const View_Synch& other262) noexcept { + (void) other262; return *this; } void View_Synch::printTo(std::ostream& out) const { @@ -14578,11 +14661,11 @@ void swap(View_Wide &a, View_Wide &b) { (void) b; } -View_Wide::View_Wide(const View_Wide& other262) noexcept { - (void) other262; -} -View_Wide& View_Wide::operator=(const View_Wide& other263) noexcept { +View_Wide::View_Wide(const View_Wide& other263) noexcept { (void) other263; +} +View_Wide& View_Wide::operator=(const View_Wide& other264) noexcept { + (void) other264; return *this; } void View_Wide::printTo(std::ostream& out) const { @@ -14646,11 +14729,11 @@ void swap(HeliosGoalie &a, HeliosGoalie &b) { (void) b; } -HeliosGoalie::HeliosGoalie(const HeliosGoalie& other264) noexcept { - (void) other264; -} -HeliosGoalie& HeliosGoalie::operator=(const HeliosGoalie& other265) noexcept { +HeliosGoalie::HeliosGoalie(const HeliosGoalie& other265) noexcept { (void) other265; +} +HeliosGoalie& HeliosGoalie::operator=(const HeliosGoalie& other266) noexcept { + (void) other266; return *this; } void HeliosGoalie::printTo(std::ostream& out) const { @@ -14714,11 +14797,11 @@ void swap(HeliosGoalieMove &a, HeliosGoalieMove &b) { (void) b; } -HeliosGoalieMove::HeliosGoalieMove(const HeliosGoalieMove& other266) noexcept { - (void) other266; -} -HeliosGoalieMove& HeliosGoalieMove::operator=(const HeliosGoalieMove& other267) noexcept { +HeliosGoalieMove::HeliosGoalieMove(const HeliosGoalieMove& other267) noexcept { (void) other267; +} +HeliosGoalieMove& HeliosGoalieMove::operator=(const HeliosGoalieMove& other268) noexcept { + (void) other268; return *this; } void HeliosGoalieMove::printTo(std::ostream& out) const { @@ -14782,11 +14865,11 @@ void swap(HeliosGoalieKick &a, HeliosGoalieKick &b) { (void) b; } -HeliosGoalieKick::HeliosGoalieKick(const HeliosGoalieKick& other268) noexcept { - (void) other268; -} -HeliosGoalieKick& HeliosGoalieKick::operator=(const HeliosGoalieKick& other269) noexcept { +HeliosGoalieKick::HeliosGoalieKick(const HeliosGoalieKick& other269) noexcept { (void) other269; +} +HeliosGoalieKick& HeliosGoalieKick::operator=(const HeliosGoalieKick& other270) noexcept { + (void) other270; return *this; } void HeliosGoalieKick::printTo(std::ostream& out) const { @@ -14850,11 +14933,11 @@ void swap(HeliosShoot &a, HeliosShoot &b) { (void) b; } -HeliosShoot::HeliosShoot(const HeliosShoot& other270) noexcept { - (void) other270; -} -HeliosShoot& HeliosShoot::operator=(const HeliosShoot& other271) noexcept { +HeliosShoot::HeliosShoot(const HeliosShoot& other271) noexcept { (void) other271; +} +HeliosShoot& HeliosShoot::operator=(const HeliosShoot& other272) noexcept { + (void) other272; return *this; } void HeliosShoot::printTo(std::ostream& out) const { @@ -15092,20 +15175,7 @@ void swap(HeliosOffensivePlanner &a, HeliosOffensivePlanner &b) { swap(a.__isset, b.__isset); } -HeliosOffensivePlanner::HeliosOffensivePlanner(const HeliosOffensivePlanner& other272) noexcept { - direct_pass = other272.direct_pass; - lead_pass = other272.lead_pass; - through_pass = other272.through_pass; - short_dribble = other272.short_dribble; - long_dribble = other272.long_dribble; - cross = other272.cross; - simple_pass = other272.simple_pass; - simple_dribble = other272.simple_dribble; - simple_shoot = other272.simple_shoot; - server_side_decision = other272.server_side_decision; - __isset = other272.__isset; -} -HeliosOffensivePlanner& HeliosOffensivePlanner::operator=(const HeliosOffensivePlanner& other273) noexcept { +HeliosOffensivePlanner::HeliosOffensivePlanner(const HeliosOffensivePlanner& other273) noexcept { direct_pass = other273.direct_pass; lead_pass = other273.lead_pass; through_pass = other273.through_pass; @@ -15117,6 +15187,19 @@ HeliosOffensivePlanner& HeliosOffensivePlanner::operator=(const HeliosOffensiveP simple_shoot = other273.simple_shoot; server_side_decision = other273.server_side_decision; __isset = other273.__isset; +} +HeliosOffensivePlanner& HeliosOffensivePlanner::operator=(const HeliosOffensivePlanner& other274) noexcept { + direct_pass = other274.direct_pass; + lead_pass = other274.lead_pass; + through_pass = other274.through_pass; + short_dribble = other274.short_dribble; + long_dribble = other274.long_dribble; + cross = other274.cross; + simple_pass = other274.simple_pass; + simple_dribble = other274.simple_dribble; + simple_shoot = other274.simple_shoot; + server_side_decision = other274.server_side_decision; + __isset = other274.__isset; return *this; } void HeliosOffensivePlanner::printTo(std::ostream& out) const { @@ -15190,11 +15273,11 @@ void swap(HeliosBasicOffensive &a, HeliosBasicOffensive &b) { (void) b; } -HeliosBasicOffensive::HeliosBasicOffensive(const HeliosBasicOffensive& other274) noexcept { - (void) other274; -} -HeliosBasicOffensive& HeliosBasicOffensive::operator=(const HeliosBasicOffensive& other275) noexcept { +HeliosBasicOffensive::HeliosBasicOffensive(const HeliosBasicOffensive& other275) noexcept { (void) other275; +} +HeliosBasicOffensive& HeliosBasicOffensive::operator=(const HeliosBasicOffensive& other276) noexcept { + (void) other276; return *this; } void HeliosBasicOffensive::printTo(std::ostream& out) const { @@ -15258,11 +15341,11 @@ void swap(HeliosBasicMove &a, HeliosBasicMove &b) { (void) b; } -HeliosBasicMove::HeliosBasicMove(const HeliosBasicMove& other276) noexcept { - (void) other276; -} -HeliosBasicMove& HeliosBasicMove::operator=(const HeliosBasicMove& other277) noexcept { +HeliosBasicMove::HeliosBasicMove(const HeliosBasicMove& other277) noexcept { (void) other277; +} +HeliosBasicMove& HeliosBasicMove::operator=(const HeliosBasicMove& other278) noexcept { + (void) other278; return *this; } void HeliosBasicMove::printTo(std::ostream& out) const { @@ -15326,11 +15409,11 @@ void swap(HeliosSetPlay &a, HeliosSetPlay &b) { (void) b; } -HeliosSetPlay::HeliosSetPlay(const HeliosSetPlay& other278) noexcept { - (void) other278; -} -HeliosSetPlay& HeliosSetPlay::operator=(const HeliosSetPlay& other279) noexcept { +HeliosSetPlay::HeliosSetPlay(const HeliosSetPlay& other279) noexcept { (void) other279; +} +HeliosSetPlay& HeliosSetPlay::operator=(const HeliosSetPlay& other280) noexcept { + (void) other280; return *this; } void HeliosSetPlay::printTo(std::ostream& out) const { @@ -15394,11 +15477,11 @@ void swap(HeliosPenalty &a, HeliosPenalty &b) { (void) b; } -HeliosPenalty::HeliosPenalty(const HeliosPenalty& other280) noexcept { - (void) other280; -} -HeliosPenalty& HeliosPenalty::operator=(const HeliosPenalty& other281) noexcept { +HeliosPenalty::HeliosPenalty(const HeliosPenalty& other281) noexcept { (void) other281; +} +HeliosPenalty& HeliosPenalty::operator=(const HeliosPenalty& other282) noexcept { + (void) other282; return *this; } void HeliosPenalty::printTo(std::ostream& out) const { @@ -15462,11 +15545,11 @@ void swap(HeliosCommunicaion &a, HeliosCommunicaion &b) { (void) b; } -HeliosCommunicaion::HeliosCommunicaion(const HeliosCommunicaion& other282) noexcept { - (void) other282; -} -HeliosCommunicaion& HeliosCommunicaion::operator=(const HeliosCommunicaion& other283) noexcept { +HeliosCommunicaion::HeliosCommunicaion(const HeliosCommunicaion& other283) noexcept { (void) other283; +} +HeliosCommunicaion& HeliosCommunicaion::operator=(const HeliosCommunicaion& other284) noexcept { + (void) other284; return *this; } void HeliosCommunicaion::printTo(std::ostream& out) const { @@ -16750,74 +16833,7 @@ void swap(PlayerAction &a, PlayerAction &b) { swap(a.__isset, b.__isset); } -PlayerAction::PlayerAction(const PlayerAction& other284) { - dash = other284.dash; - turn = other284.turn; - kick = other284.kick; - tackle = other284.tackle; - catch_action = other284.catch_action; - move = other284.move; - turn_neck = other284.turn_neck; - change_view = other284.change_view; - say = other284.say; - point_to = other284.point_to; - point_to_of = other284.point_to_of; - attention_to = other284.attention_to; - attention_to_of = other284.attention_to_of; - log = other284.log; - debug_client = other284.debug_client; - body_go_to_point = other284.body_go_to_point; - body_smart_kick = other284.body_smart_kick; - bhv_before_kick_off = other284.bhv_before_kick_off; - bhv_body_neck_to_ball = other284.bhv_body_neck_to_ball; - bhv_body_neck_to_point = other284.bhv_body_neck_to_point; - bhv_emergency = other284.bhv_emergency; - bhv_go_to_point_look_ball = other284.bhv_go_to_point_look_ball; - bhv_neck_body_to_ball = other284.bhv_neck_body_to_ball; - bhv_neck_body_to_point = other284.bhv_neck_body_to_point; - bhv_scan_field = other284.bhv_scan_field; - body_advance_ball = other284.body_advance_ball; - body_clear_ball = other284.body_clear_ball; - body_dribble = other284.body_dribble; - body_go_to_point_dodge = other284.body_go_to_point_dodge; - body_hold_ball = other284.body_hold_ball; - body_intercept = other284.body_intercept; - body_kick_one_step = other284.body_kick_one_step; - body_stop_ball = other284.body_stop_ball; - body_stop_dash = other284.body_stop_dash; - body_tackle_to_point = other284.body_tackle_to_point; - body_turn_to_angle = other284.body_turn_to_angle; - body_turn_to_ball = other284.body_turn_to_ball; - body_turn_to_point = other284.body_turn_to_point; - focus_move_to_point = other284.focus_move_to_point; - focus_reset = other284.focus_reset; - neck_scan_field = other284.neck_scan_field; - neck_scan_players = other284.neck_scan_players; - neck_turn_to_ball_and_player = other284.neck_turn_to_ball_and_player; - neck_turn_to_ball_or_scan = other284.neck_turn_to_ball_or_scan; - neck_turn_to_ball = other284.neck_turn_to_ball; - neck_turn_to_goalie_or_scan = other284.neck_turn_to_goalie_or_scan; - neck_turn_to_low_conf_teammate = other284.neck_turn_to_low_conf_teammate; - neck_turn_to_player_or_scan = other284.neck_turn_to_player_or_scan; - neck_turn_to_point = other284.neck_turn_to_point; - neck_turn_to_relative = other284.neck_turn_to_relative; - view_change_width = other284.view_change_width; - view_normal = other284.view_normal; - view_synch = other284.view_synch; - view_wide = other284.view_wide; - helios_goalie = other284.helios_goalie; - helios_goalie_move = other284.helios_goalie_move; - helios_goalie_kick = other284.helios_goalie_kick; - helios_shoot = other284.helios_shoot; - helios_offensive_planner = other284.helios_offensive_planner; - helios_basic_offensive = other284.helios_basic_offensive; - helios_basic_move = other284.helios_basic_move; - helios_set_play = other284.helios_set_play; - helios_penalty = other284.helios_penalty; - helios_communication = other284.helios_communication; - __isset = other284.__isset; -} -PlayerAction& PlayerAction::operator=(const PlayerAction& other285) { +PlayerAction::PlayerAction(const PlayerAction& other285) { dash = other285.dash; turn = other285.turn; kick = other285.kick; @@ -16883,6 +16899,73 @@ PlayerAction& PlayerAction::operator=(const PlayerAction& other285) { helios_penalty = other285.helios_penalty; helios_communication = other285.helios_communication; __isset = other285.__isset; +} +PlayerAction& PlayerAction::operator=(const PlayerAction& other286) { + dash = other286.dash; + turn = other286.turn; + kick = other286.kick; + tackle = other286.tackle; + catch_action = other286.catch_action; + move = other286.move; + turn_neck = other286.turn_neck; + change_view = other286.change_view; + say = other286.say; + point_to = other286.point_to; + point_to_of = other286.point_to_of; + attention_to = other286.attention_to; + attention_to_of = other286.attention_to_of; + log = other286.log; + debug_client = other286.debug_client; + body_go_to_point = other286.body_go_to_point; + body_smart_kick = other286.body_smart_kick; + bhv_before_kick_off = other286.bhv_before_kick_off; + bhv_body_neck_to_ball = other286.bhv_body_neck_to_ball; + bhv_body_neck_to_point = other286.bhv_body_neck_to_point; + bhv_emergency = other286.bhv_emergency; + bhv_go_to_point_look_ball = other286.bhv_go_to_point_look_ball; + bhv_neck_body_to_ball = other286.bhv_neck_body_to_ball; + bhv_neck_body_to_point = other286.bhv_neck_body_to_point; + bhv_scan_field = other286.bhv_scan_field; + body_advance_ball = other286.body_advance_ball; + body_clear_ball = other286.body_clear_ball; + body_dribble = other286.body_dribble; + body_go_to_point_dodge = other286.body_go_to_point_dodge; + body_hold_ball = other286.body_hold_ball; + body_intercept = other286.body_intercept; + body_kick_one_step = other286.body_kick_one_step; + body_stop_ball = other286.body_stop_ball; + body_stop_dash = other286.body_stop_dash; + body_tackle_to_point = other286.body_tackle_to_point; + body_turn_to_angle = other286.body_turn_to_angle; + body_turn_to_ball = other286.body_turn_to_ball; + body_turn_to_point = other286.body_turn_to_point; + focus_move_to_point = other286.focus_move_to_point; + focus_reset = other286.focus_reset; + neck_scan_field = other286.neck_scan_field; + neck_scan_players = other286.neck_scan_players; + neck_turn_to_ball_and_player = other286.neck_turn_to_ball_and_player; + neck_turn_to_ball_or_scan = other286.neck_turn_to_ball_or_scan; + neck_turn_to_ball = other286.neck_turn_to_ball; + neck_turn_to_goalie_or_scan = other286.neck_turn_to_goalie_or_scan; + neck_turn_to_low_conf_teammate = other286.neck_turn_to_low_conf_teammate; + neck_turn_to_player_or_scan = other286.neck_turn_to_player_or_scan; + neck_turn_to_point = other286.neck_turn_to_point; + neck_turn_to_relative = other286.neck_turn_to_relative; + view_change_width = other286.view_change_width; + view_normal = other286.view_normal; + view_synch = other286.view_synch; + view_wide = other286.view_wide; + helios_goalie = other286.helios_goalie; + helios_goalie_move = other286.helios_goalie_move; + helios_goalie_kick = other286.helios_goalie_kick; + helios_shoot = other286.helios_shoot; + helios_offensive_planner = other286.helios_offensive_planner; + helios_basic_offensive = other286.helios_basic_offensive; + helios_basic_move = other286.helios_basic_move; + helios_set_play = other286.helios_set_play; + helios_penalty = other286.helios_penalty; + helios_communication = other286.helios_communication; + __isset = other286.__isset; return *this; } void PlayerAction::printTo(std::ostream& out) const { @@ -16999,14 +17082,14 @@ uint32_t PlayerActions::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->actions.clear(); - uint32_t _size286; - ::apache::thrift::protocol::TType _etype289; - xfer += iprot->readListBegin(_etype289, _size286); - this->actions.resize(_size286); - uint32_t _i290; - for (_i290 = 0; _i290 < _size286; ++_i290) + uint32_t _size287; + ::apache::thrift::protocol::TType _etype290; + xfer += iprot->readListBegin(_etype290, _size287); + this->actions.resize(_size287); + uint32_t _i291; + for (_i291 = 0; _i291 < _size287; ++_i291) { - xfer += this->actions[_i290].read(iprot); + xfer += this->actions[_i291].read(iprot); } xfer += iprot->readListEnd(); } @@ -17043,10 +17126,10 @@ uint32_t PlayerActions::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldBegin("actions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->actions.size())); - std::vector ::const_iterator _iter291; - for (_iter291 = this->actions.begin(); _iter291 != this->actions.end(); ++_iter291) + std::vector ::const_iterator _iter292; + for (_iter292 = this->actions.begin(); _iter292 != this->actions.end(); ++_iter292) { - xfer += (*_iter291).write(oprot); + xfer += (*_iter292).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17068,15 +17151,15 @@ void swap(PlayerActions &a, PlayerActions &b) { swap(a.__isset, b.__isset); } -PlayerActions::PlayerActions(const PlayerActions& other292) { - actions = other292.actions; - ignore_preprocess = other292.ignore_preprocess; - __isset = other292.__isset; -} -PlayerActions& PlayerActions::operator=(const PlayerActions& other293) { +PlayerActions::PlayerActions(const PlayerActions& other293) { actions = other293.actions; ignore_preprocess = other293.ignore_preprocess; __isset = other293.__isset; +} +PlayerActions& PlayerActions::operator=(const PlayerActions& other294) { + actions = other294.actions; + ignore_preprocess = other294.ignore_preprocess; + __isset = other294.__isset; return *this; } void PlayerActions::printTo(std::ostream& out) const { @@ -17180,15 +17263,15 @@ void swap(ChangePlayerType &a, ChangePlayerType &b) { swap(a.__isset, b.__isset); } -ChangePlayerType::ChangePlayerType(const ChangePlayerType& other294) noexcept { - uniform_number = other294.uniform_number; - type = other294.type; - __isset = other294.__isset; -} -ChangePlayerType& ChangePlayerType::operator=(const ChangePlayerType& other295) noexcept { +ChangePlayerType::ChangePlayerType(const ChangePlayerType& other295) noexcept { uniform_number = other295.uniform_number; type = other295.type; __isset = other295.__isset; +} +ChangePlayerType& ChangePlayerType::operator=(const ChangePlayerType& other296) noexcept { + uniform_number = other296.uniform_number; + type = other296.type; + __isset = other296.__isset; return *this; } void ChangePlayerType::printTo(std::ostream& out) const { @@ -17254,11 +17337,11 @@ void swap(DoHeliosSubstitute &a, DoHeliosSubstitute &b) { (void) b; } -DoHeliosSubstitute::DoHeliosSubstitute(const DoHeliosSubstitute& other296) noexcept { - (void) other296; -} -DoHeliosSubstitute& DoHeliosSubstitute::operator=(const DoHeliosSubstitute& other297) noexcept { +DoHeliosSubstitute::DoHeliosSubstitute(const DoHeliosSubstitute& other297) noexcept { (void) other297; +} +DoHeliosSubstitute& DoHeliosSubstitute::operator=(const DoHeliosSubstitute& other298) noexcept { + (void) other298; return *this; } void DoHeliosSubstitute::printTo(std::ostream& out) const { @@ -17322,11 +17405,11 @@ void swap(DoHeliosSayPlayerTypes &a, DoHeliosSayPlayerTypes &b) { (void) b; } -DoHeliosSayPlayerTypes::DoHeliosSayPlayerTypes(const DoHeliosSayPlayerTypes& other298) noexcept { - (void) other298; -} -DoHeliosSayPlayerTypes& DoHeliosSayPlayerTypes::operator=(const DoHeliosSayPlayerTypes& other299) noexcept { +DoHeliosSayPlayerTypes::DoHeliosSayPlayerTypes(const DoHeliosSayPlayerTypes& other299) noexcept { (void) other299; +} +DoHeliosSayPlayerTypes& DoHeliosSayPlayerTypes::operator=(const DoHeliosSayPlayerTypes& other300) noexcept { + (void) other300; return *this; } void DoHeliosSayPlayerTypes::printTo(std::ostream& out) const { @@ -17451,17 +17534,17 @@ void swap(CoachAction &a, CoachAction &b) { swap(a.__isset, b.__isset); } -CoachAction::CoachAction(const CoachAction& other300) noexcept { - change_player_types = other300.change_player_types; - do_helios_substitute = other300.do_helios_substitute; - do_helios_say_player_types = other300.do_helios_say_player_types; - __isset = other300.__isset; -} -CoachAction& CoachAction::operator=(const CoachAction& other301) noexcept { +CoachAction::CoachAction(const CoachAction& other301) noexcept { change_player_types = other301.change_player_types; do_helios_substitute = other301.do_helios_substitute; do_helios_say_player_types = other301.do_helios_say_player_types; __isset = other301.__isset; +} +CoachAction& CoachAction::operator=(const CoachAction& other302) noexcept { + change_player_types = other302.change_player_types; + do_helios_substitute = other302.do_helios_substitute; + do_helios_say_player_types = other302.do_helios_say_player_types; + __isset = other302.__isset; return *this; } void CoachAction::printTo(std::ostream& out) const { @@ -17513,14 +17596,14 @@ uint32_t CoachActions::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->actions.clear(); - uint32_t _size302; - ::apache::thrift::protocol::TType _etype305; - xfer += iprot->readListBegin(_etype305, _size302); - this->actions.resize(_size302); - uint32_t _i306; - for (_i306 = 0; _i306 < _size302; ++_i306) + uint32_t _size303; + ::apache::thrift::protocol::TType _etype306; + xfer += iprot->readListBegin(_etype306, _size303); + this->actions.resize(_size303); + uint32_t _i307; + for (_i307 = 0; _i307 < _size303; ++_i307) { - xfer += this->actions[_i306].read(iprot); + xfer += this->actions[_i307].read(iprot); } xfer += iprot->readListEnd(); } @@ -17549,10 +17632,10 @@ uint32_t CoachActions::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldBegin("actions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->actions.size())); - std::vector ::const_iterator _iter307; - for (_iter307 = this->actions.begin(); _iter307 != this->actions.end(); ++_iter307) + std::vector ::const_iterator _iter308; + for (_iter308 = this->actions.begin(); _iter308 != this->actions.end(); ++_iter308) { - xfer += (*_iter307).write(oprot); + xfer += (*_iter308).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17569,13 +17652,13 @@ void swap(CoachActions &a, CoachActions &b) { swap(a.__isset, b.__isset); } -CoachActions::CoachActions(const CoachActions& other308) { - actions = other308.actions; - __isset = other308.__isset; -} -CoachActions& CoachActions::operator=(const CoachActions& other309) { +CoachActions::CoachActions(const CoachActions& other309) { actions = other309.actions; __isset = other309.__isset; +} +CoachActions& CoachActions::operator=(const CoachActions& other310) { + actions = other310.actions; + __isset = other310.__isset; return *this; } void CoachActions::printTo(std::ostream& out) const { @@ -17640,11 +17723,11 @@ void swap(DoKickOff &a, DoKickOff &b) { (void) b; } -DoKickOff::DoKickOff(const DoKickOff& other310) noexcept { - (void) other310; -} -DoKickOff& DoKickOff::operator=(const DoKickOff& other311) noexcept { +DoKickOff::DoKickOff(const DoKickOff& other311) noexcept { (void) other311; +} +DoKickOff& DoKickOff::operator=(const DoKickOff& other312) noexcept { + (void) other312; return *this; } void DoKickOff::printTo(std::ostream& out) const { @@ -17748,15 +17831,15 @@ void swap(DoMoveBall &a, DoMoveBall &b) { swap(a.__isset, b.__isset); } -DoMoveBall::DoMoveBall(const DoMoveBall& other312) noexcept { - position = other312.position; - velocity = other312.velocity; - __isset = other312.__isset; -} -DoMoveBall& DoMoveBall::operator=(const DoMoveBall& other313) noexcept { +DoMoveBall::DoMoveBall(const DoMoveBall& other313) noexcept { position = other313.position; velocity = other313.velocity; __isset = other313.__isset; +} +DoMoveBall& DoMoveBall::operator=(const DoMoveBall& other314) noexcept { + position = other314.position; + velocity = other314.velocity; + __isset = other314.__isset; return *this; } void DoMoveBall::printTo(std::ostream& out) const { @@ -17894,19 +17977,19 @@ void swap(DoMovePlayer &a, DoMovePlayer &b) { swap(a.__isset, b.__isset); } -DoMovePlayer::DoMovePlayer(const DoMovePlayer& other314) noexcept { - our_side = other314.our_side; - uniform_number = other314.uniform_number; - position = other314.position; - body_direction = other314.body_direction; - __isset = other314.__isset; -} -DoMovePlayer& DoMovePlayer::operator=(const DoMovePlayer& other315) noexcept { +DoMovePlayer::DoMovePlayer(const DoMovePlayer& other315) noexcept { our_side = other315.our_side; uniform_number = other315.uniform_number; position = other315.position; body_direction = other315.body_direction; __isset = other315.__isset; +} +DoMovePlayer& DoMovePlayer::operator=(const DoMovePlayer& other316) noexcept { + our_side = other316.our_side; + uniform_number = other316.uniform_number; + position = other316.position; + body_direction = other316.body_direction; + __isset = other316.__isset; return *this; } void DoMovePlayer::printTo(std::ostream& out) const { @@ -17974,11 +18057,11 @@ void swap(DoRecover &a, DoRecover &b) { (void) b; } -DoRecover::DoRecover(const DoRecover& other316) noexcept { - (void) other316; -} -DoRecover& DoRecover::operator=(const DoRecover& other317) noexcept { +DoRecover::DoRecover(const DoRecover& other317) noexcept { (void) other317; +} +DoRecover& DoRecover::operator=(const DoRecover& other318) noexcept { + (void) other318; return *this; } void DoRecover::printTo(std::ostream& out) const { @@ -18029,9 +18112,9 @@ uint32_t DoChangeMode::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast318; - xfer += iprot->readI32(ecast318); - this->game_mode_type = static_cast(ecast318); + int32_t ecast319; + xfer += iprot->readI32(ecast319); + this->game_mode_type = static_cast(ecast319); this->__isset.game_mode_type = true; } else { xfer += iprot->skip(ftype); @@ -18039,9 +18122,9 @@ uint32_t DoChangeMode::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast319; - xfer += iprot->readI32(ecast319); - this->side = static_cast(ecast319); + int32_t ecast320; + xfer += iprot->readI32(ecast320); + this->side = static_cast(ecast320); this->__isset.side = true; } else { xfer += iprot->skip(ftype); @@ -18084,15 +18167,15 @@ void swap(DoChangeMode &a, DoChangeMode &b) { swap(a.__isset, b.__isset); } -DoChangeMode::DoChangeMode(const DoChangeMode& other320) noexcept { - game_mode_type = other320.game_mode_type; - side = other320.side; - __isset = other320.__isset; -} -DoChangeMode& DoChangeMode::operator=(const DoChangeMode& other321) noexcept { +DoChangeMode::DoChangeMode(const DoChangeMode& other321) noexcept { game_mode_type = other321.game_mode_type; side = other321.side; __isset = other321.__isset; +} +DoChangeMode& DoChangeMode::operator=(const DoChangeMode& other322) noexcept { + game_mode_type = other322.game_mode_type; + side = other322.side; + __isset = other322.__isset; return *this; } void DoChangeMode::printTo(std::ostream& out) const { @@ -18213,17 +18296,17 @@ void swap(DoChangePlayerType &a, DoChangePlayerType &b) { swap(a.__isset, b.__isset); } -DoChangePlayerType::DoChangePlayerType(const DoChangePlayerType& other322) noexcept { - our_side = other322.our_side; - uniform_number = other322.uniform_number; - type = other322.type; - __isset = other322.__isset; -} -DoChangePlayerType& DoChangePlayerType::operator=(const DoChangePlayerType& other323) noexcept { +DoChangePlayerType::DoChangePlayerType(const DoChangePlayerType& other323) noexcept { our_side = other323.our_side; uniform_number = other323.uniform_number; type = other323.type; __isset = other323.__isset; +} +DoChangePlayerType& DoChangePlayerType::operator=(const DoChangePlayerType& other324) noexcept { + our_side = other324.our_side; + uniform_number = other324.uniform_number; + type = other324.type; + __isset = other324.__isset; return *this; } void DoChangePlayerType::printTo(std::ostream& out) const { @@ -18408,16 +18491,7 @@ void swap(TrainerAction &a, TrainerAction &b) { swap(a.__isset, b.__isset); } -TrainerAction::TrainerAction(const TrainerAction& other324) noexcept { - do_kick_off = other324.do_kick_off; - do_move_ball = other324.do_move_ball; - do_move_player = other324.do_move_player; - do_recover = other324.do_recover; - do_change_mode = other324.do_change_mode; - do_change_player_type = other324.do_change_player_type; - __isset = other324.__isset; -} -TrainerAction& TrainerAction::operator=(const TrainerAction& other325) noexcept { +TrainerAction::TrainerAction(const TrainerAction& other325) noexcept { do_kick_off = other325.do_kick_off; do_move_ball = other325.do_move_ball; do_move_player = other325.do_move_player; @@ -18425,6 +18499,15 @@ TrainerAction& TrainerAction::operator=(const TrainerAction& other325) noexcept do_change_mode = other325.do_change_mode; do_change_player_type = other325.do_change_player_type; __isset = other325.__isset; +} +TrainerAction& TrainerAction::operator=(const TrainerAction& other326) noexcept { + do_kick_off = other326.do_kick_off; + do_move_ball = other326.do_move_ball; + do_move_player = other326.do_move_player; + do_recover = other326.do_recover; + do_change_mode = other326.do_change_mode; + do_change_player_type = other326.do_change_player_type; + __isset = other326.__isset; return *this; } void TrainerAction::printTo(std::ostream& out) const { @@ -18479,14 +18562,14 @@ uint32_t TrainerActions::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->actions.clear(); - uint32_t _size326; - ::apache::thrift::protocol::TType _etype329; - xfer += iprot->readListBegin(_etype329, _size326); - this->actions.resize(_size326); - uint32_t _i330; - for (_i330 = 0; _i330 < _size326; ++_i330) + uint32_t _size327; + ::apache::thrift::protocol::TType _etype330; + xfer += iprot->readListBegin(_etype330, _size327); + this->actions.resize(_size327); + uint32_t _i331; + for (_i331 = 0; _i331 < _size327; ++_i331) { - xfer += this->actions[_i330].read(iprot); + xfer += this->actions[_i331].read(iprot); } xfer += iprot->readListEnd(); } @@ -18515,10 +18598,10 @@ uint32_t TrainerActions::write(::apache::thrift::protocol::TProtocol* oprot) con xfer += oprot->writeFieldBegin("actions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->actions.size())); - std::vector ::const_iterator _iter331; - for (_iter331 = this->actions.begin(); _iter331 != this->actions.end(); ++_iter331) + std::vector ::const_iterator _iter332; + for (_iter332 = this->actions.begin(); _iter332 != this->actions.end(); ++_iter332) { - xfer += (*_iter331).write(oprot); + xfer += (*_iter332).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18535,13 +18618,13 @@ void swap(TrainerActions &a, TrainerActions &b) { swap(a.__isset, b.__isset); } -TrainerActions::TrainerActions(const TrainerActions& other332) { - actions = other332.actions; - __isset = other332.__isset; -} -TrainerActions& TrainerActions::operator=(const TrainerActions& other333) { +TrainerActions::TrainerActions(const TrainerActions& other333) { actions = other333.actions; __isset = other333.__isset; +} +TrainerActions& TrainerActions::operator=(const TrainerActions& other334) { + actions = other334.actions; + __isset = other334.__isset; return *this; } void TrainerActions::printTo(std::ostream& out) const { @@ -22384,232 +22467,7 @@ void swap(ServerParam &a, ServerParam &b) { swap(a.__isset, b.__isset); } -ServerParam::ServerParam(const ServerParam& other334) { - register_response = other334.register_response; - inertia_moment = other334.inertia_moment; - player_size = other334.player_size; - player_decay = other334.player_decay; - player_rand = other334.player_rand; - player_weight = other334.player_weight; - player_speed_max = other334.player_speed_max; - player_accel_max = other334.player_accel_max; - stamina_max = other334.stamina_max; - stamina_inc_max = other334.stamina_inc_max; - recover_init = other334.recover_init; - recover_dec_thr = other334.recover_dec_thr; - recover_min = other334.recover_min; - recover_dec = other334.recover_dec; - effort_init = other334.effort_init; - effort_dec_thr = other334.effort_dec_thr; - effort_min = other334.effort_min; - effort_dec = other334.effort_dec; - effort_inc_thr = other334.effort_inc_thr; - effort_inc = other334.effort_inc; - kick_rand = other334.kick_rand; - team_actuator_noise = other334.team_actuator_noise; - player_rand_factor_l = other334.player_rand_factor_l; - player_rand_factor_r = other334.player_rand_factor_r; - kick_rand_factor_l = other334.kick_rand_factor_l; - kick_rand_factor_r = other334.kick_rand_factor_r; - ball_size = other334.ball_size; - ball_decay = other334.ball_decay; - ball_rand = other334.ball_rand; - ball_weight = other334.ball_weight; - ball_speed_max = other334.ball_speed_max; - ball_accel_max = other334.ball_accel_max; - dash_power_rate = other334.dash_power_rate; - kick_power_rate = other334.kick_power_rate; - kickable_margin = other334.kickable_margin; - control_radius = other334.control_radius; - control_radius_width = other334.control_radius_width; - max_power = other334.max_power; - min_power = other334.min_power; - max_moment = other334.max_moment; - min_moment = other334.min_moment; - max_neck_moment = other334.max_neck_moment; - min_neck_moment = other334.min_neck_moment; - max_neck_angle = other334.max_neck_angle; - min_neck_angle = other334.min_neck_angle; - visible_angle = other334.visible_angle; - visible_distance = other334.visible_distance; - wind_dir = other334.wind_dir; - wind_force = other334.wind_force; - wind_angle = other334.wind_angle; - wind_rand = other334.wind_rand; - kickable_area = other334.kickable_area; - catch_area_l = other334.catch_area_l; - catch_area_w = other334.catch_area_w; - catch_probability = other334.catch_probability; - goalie_max_moves = other334.goalie_max_moves; - corner_kick_margin = other334.corner_kick_margin; - offside_active_area_size = other334.offside_active_area_size; - wind_none = other334.wind_none; - use_wind_random = other334.use_wind_random; - coach_say_count_max = other334.coach_say_count_max; - coach_say_msg_size = other334.coach_say_msg_size; - clang_win_size = other334.clang_win_size; - clang_define_win = other334.clang_define_win; - clang_meta_win = other334.clang_meta_win; - clang_advice_win = other334.clang_advice_win; - clang_info_win = other334.clang_info_win; - clang_mess_delay = other334.clang_mess_delay; - clang_mess_per_cycle = other334.clang_mess_per_cycle; - half_time = other334.half_time; - simulator_step = other334.simulator_step; - send_step = other334.send_step; - recv_step = other334.recv_step; - sense_body_step = other334.sense_body_step; - lcm_step = other334.lcm_step; - player_say_msg_size = other334.player_say_msg_size; - player_hear_max = other334.player_hear_max; - player_hear_inc = other334.player_hear_inc; - player_hear_decay = other334.player_hear_decay; - catch_ban_cycle = other334.catch_ban_cycle; - slow_down_factor = other334.slow_down_factor; - use_offside = other334.use_offside; - kickoff_offside = other334.kickoff_offside; - offside_kick_margin = other334.offside_kick_margin; - audio_cut_dist = other334.audio_cut_dist; - dist_quantize_step = other334.dist_quantize_step; - landmark_dist_quantize_step = other334.landmark_dist_quantize_step; - dir_quantize_step = other334.dir_quantize_step; - dist_quantize_step_l = other334.dist_quantize_step_l; - dist_quantize_step_r = other334.dist_quantize_step_r; - landmark_dist_quantize_step_l = other334.landmark_dist_quantize_step_l; - landmark_dist_quantize_step_r = other334.landmark_dist_quantize_step_r; - dir_quantize_step_l = other334.dir_quantize_step_l; - dir_quantize_step_r = other334.dir_quantize_step_r; - coach_mode = other334.coach_mode; - coach_with_referee_mode = other334.coach_with_referee_mode; - use_old_coach_hear = other334.use_old_coach_hear; - slowness_on_top_for_left_team = other334.slowness_on_top_for_left_team; - slowness_on_top_for_right_team = other334.slowness_on_top_for_right_team; - start_goal_l = other334.start_goal_l; - start_goal_r = other334.start_goal_r; - fullstate_l = other334.fullstate_l; - fullstate_r = other334.fullstate_r; - drop_ball_time = other334.drop_ball_time; - synch_mode = other334.synch_mode; - synch_offset = other334.synch_offset; - synch_micro_sleep = other334.synch_micro_sleep; - point_to_ban = other334.point_to_ban; - point_to_duration = other334.point_to_duration; - player_port = other334.player_port; - trainer_port = other334.trainer_port; - online_coach_port = other334.online_coach_port; - verbose_mode = other334.verbose_mode; - coach_send_vi_step = other334.coach_send_vi_step; - replay_file = other334.replay_file; - landmark_file = other334.landmark_file; - send_comms = other334.send_comms; - text_logging = other334.text_logging; - game_logging = other334.game_logging; - game_log_version = other334.game_log_version; - text_log_dir = other334.text_log_dir; - game_log_dir = other334.game_log_dir; - text_log_fixed_name = other334.text_log_fixed_name; - game_log_fixed_name = other334.game_log_fixed_name; - use_text_log_fixed = other334.use_text_log_fixed; - use_game_log_fixed = other334.use_game_log_fixed; - use_text_log_dated = other334.use_text_log_dated; - use_game_log_dated = other334.use_game_log_dated; - log_date_format = other334.log_date_format; - log_times = other334.log_times; - record_message = other334.record_message; - text_log_compression = other334.text_log_compression; - game_log_compression = other334.game_log_compression; - use_profile = other334.use_profile; - tackle_dist = other334.tackle_dist; - tackle_back_dist = other334.tackle_back_dist; - tackle_width = other334.tackle_width; - tackle_exponent = other334.tackle_exponent; - tackle_cycles = other334.tackle_cycles; - tackle_power_rate = other334.tackle_power_rate; - freeform_wait_period = other334.freeform_wait_period; - freeform_send_period = other334.freeform_send_period; - free_kick_faults = other334.free_kick_faults; - back_passes = other334.back_passes; - proper_goal_kicks = other334.proper_goal_kicks; - stopped_ball_vel = other334.stopped_ball_vel; - max_goal_kicks = other334.max_goal_kicks; - clang_del_win = other334.clang_del_win; - clang_rule_win = other334.clang_rule_win; - auto_mode = other334.auto_mode; - kick_off_wait = other334.kick_off_wait; - connect_wait = other334.connect_wait; - game_over_wait = other334.game_over_wait; - team_l_start = other334.team_l_start; - team_r_start = other334.team_r_start; - keepaway_mode = other334.keepaway_mode; - keepaway_length = other334.keepaway_length; - keepaway_width = other334.keepaway_width; - keepaway_logging = other334.keepaway_logging; - keepaway_log_dir = other334.keepaway_log_dir; - keepaway_log_fixed_name = other334.keepaway_log_fixed_name; - keepaway_log_fixed = other334.keepaway_log_fixed; - keepaway_log_dated = other334.keepaway_log_dated; - keepaway_start = other334.keepaway_start; - nr_normal_halfs = other334.nr_normal_halfs; - nr_extra_halfs = other334.nr_extra_halfs; - penalty_shoot_outs = other334.penalty_shoot_outs; - pen_before_setup_wait = other334.pen_before_setup_wait; - pen_setup_wait = other334.pen_setup_wait; - pen_ready_wait = other334.pen_ready_wait; - pen_taken_wait = other334.pen_taken_wait; - pen_nr_kicks = other334.pen_nr_kicks; - pen_max_extra_kicks = other334.pen_max_extra_kicks; - pen_dist_x = other334.pen_dist_x; - pen_random_winner = other334.pen_random_winner; - pen_allow_mult_kicks = other334.pen_allow_mult_kicks; - pen_max_goalie_dist_x = other334.pen_max_goalie_dist_x; - pen_coach_moves_players = other334.pen_coach_moves_players; - module_dir = other334.module_dir; - ball_stuck_area = other334.ball_stuck_area; - coach_msg_file = other334.coach_msg_file; - max_tackle_power = other334.max_tackle_power; - max_back_tackle_power = other334.max_back_tackle_power; - player_speed_max_min = other334.player_speed_max_min; - extra_stamina = other334.extra_stamina; - synch_see_offset = other334.synch_see_offset; - extra_half_time = other334.extra_half_time; - stamina_capacity = other334.stamina_capacity; - max_dash_angle = other334.max_dash_angle; - min_dash_angle = other334.min_dash_angle; - dash_angle_step = other334.dash_angle_step; - side_dash_rate = other334.side_dash_rate; - back_dash_rate = other334.back_dash_rate; - max_dash_power = other334.max_dash_power; - min_dash_power = other334.min_dash_power; - tackle_rand_factor = other334.tackle_rand_factor; - foul_detect_probability = other334.foul_detect_probability; - foul_exponent = other334.foul_exponent; - foul_cycles = other334.foul_cycles; - golden_goal = other334.golden_goal; - red_card_probability = other334.red_card_probability; - illegal_defense_duration = other334.illegal_defense_duration; - illegal_defense_number = other334.illegal_defense_number; - illegal_defense_dist_x = other334.illegal_defense_dist_x; - illegal_defense_width = other334.illegal_defense_width; - fixed_teamname_l = other334.fixed_teamname_l; - fixed_teamname_r = other334.fixed_teamname_r; - max_catch_angle = other334.max_catch_angle; - min_catch_angle = other334.min_catch_angle; - random_seed = other334.random_seed; - long_kick_power_factor = other334.long_kick_power_factor; - long_kick_delay = other334.long_kick_delay; - max_monitors = other334.max_monitors; - catchable_area = other334.catchable_area; - real_speed_max = other334.real_speed_max; - pitch_half_length = other334.pitch_half_length; - pitch_half_width = other334.pitch_half_width; - our_penalty_area_line_x = other334.our_penalty_area_line_x; - their_penalty_area_line_x = other334.their_penalty_area_line_x; - penalty_area_half_width = other334.penalty_area_half_width; - penalty_area_length = other334.penalty_area_length; - goal_width = other334.goal_width; - __isset = other334.__isset; -} -ServerParam& ServerParam::operator=(const ServerParam& other335) { +ServerParam::ServerParam(const ServerParam& other335) { register_response = other335.register_response; inertia_moment = other335.inertia_moment; player_size = other335.player_size; @@ -22833,6 +22691,231 @@ ServerParam& ServerParam::operator=(const ServerParam& other335) { penalty_area_length = other335.penalty_area_length; goal_width = other335.goal_width; __isset = other335.__isset; +} +ServerParam& ServerParam::operator=(const ServerParam& other336) { + register_response = other336.register_response; + inertia_moment = other336.inertia_moment; + player_size = other336.player_size; + player_decay = other336.player_decay; + player_rand = other336.player_rand; + player_weight = other336.player_weight; + player_speed_max = other336.player_speed_max; + player_accel_max = other336.player_accel_max; + stamina_max = other336.stamina_max; + stamina_inc_max = other336.stamina_inc_max; + recover_init = other336.recover_init; + recover_dec_thr = other336.recover_dec_thr; + recover_min = other336.recover_min; + recover_dec = other336.recover_dec; + effort_init = other336.effort_init; + effort_dec_thr = other336.effort_dec_thr; + effort_min = other336.effort_min; + effort_dec = other336.effort_dec; + effort_inc_thr = other336.effort_inc_thr; + effort_inc = other336.effort_inc; + kick_rand = other336.kick_rand; + team_actuator_noise = other336.team_actuator_noise; + player_rand_factor_l = other336.player_rand_factor_l; + player_rand_factor_r = other336.player_rand_factor_r; + kick_rand_factor_l = other336.kick_rand_factor_l; + kick_rand_factor_r = other336.kick_rand_factor_r; + ball_size = other336.ball_size; + ball_decay = other336.ball_decay; + ball_rand = other336.ball_rand; + ball_weight = other336.ball_weight; + ball_speed_max = other336.ball_speed_max; + ball_accel_max = other336.ball_accel_max; + dash_power_rate = other336.dash_power_rate; + kick_power_rate = other336.kick_power_rate; + kickable_margin = other336.kickable_margin; + control_radius = other336.control_radius; + control_radius_width = other336.control_radius_width; + max_power = other336.max_power; + min_power = other336.min_power; + max_moment = other336.max_moment; + min_moment = other336.min_moment; + max_neck_moment = other336.max_neck_moment; + min_neck_moment = other336.min_neck_moment; + max_neck_angle = other336.max_neck_angle; + min_neck_angle = other336.min_neck_angle; + visible_angle = other336.visible_angle; + visible_distance = other336.visible_distance; + wind_dir = other336.wind_dir; + wind_force = other336.wind_force; + wind_angle = other336.wind_angle; + wind_rand = other336.wind_rand; + kickable_area = other336.kickable_area; + catch_area_l = other336.catch_area_l; + catch_area_w = other336.catch_area_w; + catch_probability = other336.catch_probability; + goalie_max_moves = other336.goalie_max_moves; + corner_kick_margin = other336.corner_kick_margin; + offside_active_area_size = other336.offside_active_area_size; + wind_none = other336.wind_none; + use_wind_random = other336.use_wind_random; + coach_say_count_max = other336.coach_say_count_max; + coach_say_msg_size = other336.coach_say_msg_size; + clang_win_size = other336.clang_win_size; + clang_define_win = other336.clang_define_win; + clang_meta_win = other336.clang_meta_win; + clang_advice_win = other336.clang_advice_win; + clang_info_win = other336.clang_info_win; + clang_mess_delay = other336.clang_mess_delay; + clang_mess_per_cycle = other336.clang_mess_per_cycle; + half_time = other336.half_time; + simulator_step = other336.simulator_step; + send_step = other336.send_step; + recv_step = other336.recv_step; + sense_body_step = other336.sense_body_step; + lcm_step = other336.lcm_step; + player_say_msg_size = other336.player_say_msg_size; + player_hear_max = other336.player_hear_max; + player_hear_inc = other336.player_hear_inc; + player_hear_decay = other336.player_hear_decay; + catch_ban_cycle = other336.catch_ban_cycle; + slow_down_factor = other336.slow_down_factor; + use_offside = other336.use_offside; + kickoff_offside = other336.kickoff_offside; + offside_kick_margin = other336.offside_kick_margin; + audio_cut_dist = other336.audio_cut_dist; + dist_quantize_step = other336.dist_quantize_step; + landmark_dist_quantize_step = other336.landmark_dist_quantize_step; + dir_quantize_step = other336.dir_quantize_step; + dist_quantize_step_l = other336.dist_quantize_step_l; + dist_quantize_step_r = other336.dist_quantize_step_r; + landmark_dist_quantize_step_l = other336.landmark_dist_quantize_step_l; + landmark_dist_quantize_step_r = other336.landmark_dist_quantize_step_r; + dir_quantize_step_l = other336.dir_quantize_step_l; + dir_quantize_step_r = other336.dir_quantize_step_r; + coach_mode = other336.coach_mode; + coach_with_referee_mode = other336.coach_with_referee_mode; + use_old_coach_hear = other336.use_old_coach_hear; + slowness_on_top_for_left_team = other336.slowness_on_top_for_left_team; + slowness_on_top_for_right_team = other336.slowness_on_top_for_right_team; + start_goal_l = other336.start_goal_l; + start_goal_r = other336.start_goal_r; + fullstate_l = other336.fullstate_l; + fullstate_r = other336.fullstate_r; + drop_ball_time = other336.drop_ball_time; + synch_mode = other336.synch_mode; + synch_offset = other336.synch_offset; + synch_micro_sleep = other336.synch_micro_sleep; + point_to_ban = other336.point_to_ban; + point_to_duration = other336.point_to_duration; + player_port = other336.player_port; + trainer_port = other336.trainer_port; + online_coach_port = other336.online_coach_port; + verbose_mode = other336.verbose_mode; + coach_send_vi_step = other336.coach_send_vi_step; + replay_file = other336.replay_file; + landmark_file = other336.landmark_file; + send_comms = other336.send_comms; + text_logging = other336.text_logging; + game_logging = other336.game_logging; + game_log_version = other336.game_log_version; + text_log_dir = other336.text_log_dir; + game_log_dir = other336.game_log_dir; + text_log_fixed_name = other336.text_log_fixed_name; + game_log_fixed_name = other336.game_log_fixed_name; + use_text_log_fixed = other336.use_text_log_fixed; + use_game_log_fixed = other336.use_game_log_fixed; + use_text_log_dated = other336.use_text_log_dated; + use_game_log_dated = other336.use_game_log_dated; + log_date_format = other336.log_date_format; + log_times = other336.log_times; + record_message = other336.record_message; + text_log_compression = other336.text_log_compression; + game_log_compression = other336.game_log_compression; + use_profile = other336.use_profile; + tackle_dist = other336.tackle_dist; + tackle_back_dist = other336.tackle_back_dist; + tackle_width = other336.tackle_width; + tackle_exponent = other336.tackle_exponent; + tackle_cycles = other336.tackle_cycles; + tackle_power_rate = other336.tackle_power_rate; + freeform_wait_period = other336.freeform_wait_period; + freeform_send_period = other336.freeform_send_period; + free_kick_faults = other336.free_kick_faults; + back_passes = other336.back_passes; + proper_goal_kicks = other336.proper_goal_kicks; + stopped_ball_vel = other336.stopped_ball_vel; + max_goal_kicks = other336.max_goal_kicks; + clang_del_win = other336.clang_del_win; + clang_rule_win = other336.clang_rule_win; + auto_mode = other336.auto_mode; + kick_off_wait = other336.kick_off_wait; + connect_wait = other336.connect_wait; + game_over_wait = other336.game_over_wait; + team_l_start = other336.team_l_start; + team_r_start = other336.team_r_start; + keepaway_mode = other336.keepaway_mode; + keepaway_length = other336.keepaway_length; + keepaway_width = other336.keepaway_width; + keepaway_logging = other336.keepaway_logging; + keepaway_log_dir = other336.keepaway_log_dir; + keepaway_log_fixed_name = other336.keepaway_log_fixed_name; + keepaway_log_fixed = other336.keepaway_log_fixed; + keepaway_log_dated = other336.keepaway_log_dated; + keepaway_start = other336.keepaway_start; + nr_normal_halfs = other336.nr_normal_halfs; + nr_extra_halfs = other336.nr_extra_halfs; + penalty_shoot_outs = other336.penalty_shoot_outs; + pen_before_setup_wait = other336.pen_before_setup_wait; + pen_setup_wait = other336.pen_setup_wait; + pen_ready_wait = other336.pen_ready_wait; + pen_taken_wait = other336.pen_taken_wait; + pen_nr_kicks = other336.pen_nr_kicks; + pen_max_extra_kicks = other336.pen_max_extra_kicks; + pen_dist_x = other336.pen_dist_x; + pen_random_winner = other336.pen_random_winner; + pen_allow_mult_kicks = other336.pen_allow_mult_kicks; + pen_max_goalie_dist_x = other336.pen_max_goalie_dist_x; + pen_coach_moves_players = other336.pen_coach_moves_players; + module_dir = other336.module_dir; + ball_stuck_area = other336.ball_stuck_area; + coach_msg_file = other336.coach_msg_file; + max_tackle_power = other336.max_tackle_power; + max_back_tackle_power = other336.max_back_tackle_power; + player_speed_max_min = other336.player_speed_max_min; + extra_stamina = other336.extra_stamina; + synch_see_offset = other336.synch_see_offset; + extra_half_time = other336.extra_half_time; + stamina_capacity = other336.stamina_capacity; + max_dash_angle = other336.max_dash_angle; + min_dash_angle = other336.min_dash_angle; + dash_angle_step = other336.dash_angle_step; + side_dash_rate = other336.side_dash_rate; + back_dash_rate = other336.back_dash_rate; + max_dash_power = other336.max_dash_power; + min_dash_power = other336.min_dash_power; + tackle_rand_factor = other336.tackle_rand_factor; + foul_detect_probability = other336.foul_detect_probability; + foul_exponent = other336.foul_exponent; + foul_cycles = other336.foul_cycles; + golden_goal = other336.golden_goal; + red_card_probability = other336.red_card_probability; + illegal_defense_duration = other336.illegal_defense_duration; + illegal_defense_number = other336.illegal_defense_number; + illegal_defense_dist_x = other336.illegal_defense_dist_x; + illegal_defense_width = other336.illegal_defense_width; + fixed_teamname_l = other336.fixed_teamname_l; + fixed_teamname_r = other336.fixed_teamname_r; + max_catch_angle = other336.max_catch_angle; + min_catch_angle = other336.min_catch_angle; + random_seed = other336.random_seed; + long_kick_power_factor = other336.long_kick_power_factor; + long_kick_delay = other336.long_kick_delay; + max_monitors = other336.max_monitors; + catchable_area = other336.catchable_area; + real_speed_max = other336.real_speed_max; + pitch_half_length = other336.pitch_half_length; + pitch_half_width = other336.pitch_half_width; + our_penalty_area_line_x = other336.our_penalty_area_line_x; + their_penalty_area_line_x = other336.their_penalty_area_line_x; + penalty_area_half_width = other336.penalty_area_half_width; + penalty_area_length = other336.penalty_area_length; + goal_width = other336.goal_width; + __isset = other336.__isset; return *this; } void ServerParam::printTo(std::ostream& out) const { @@ -23632,40 +23715,7 @@ void swap(PlayerParam &a, PlayerParam &b) { swap(a.__isset, b.__isset); } -PlayerParam::PlayerParam(const PlayerParam& other336) { - register_response = other336.register_response; - player_types = other336.player_types; - subs_max = other336.subs_max; - pt_max = other336.pt_max; - allow_mult_default_type = other336.allow_mult_default_type; - player_speed_max_delta_min = other336.player_speed_max_delta_min; - player_speed_max_delta_max = other336.player_speed_max_delta_max; - stamina_inc_max_delta_factor = other336.stamina_inc_max_delta_factor; - player_decay_delta_min = other336.player_decay_delta_min; - player_decay_delta_max = other336.player_decay_delta_max; - inertia_moment_delta_factor = other336.inertia_moment_delta_factor; - dash_power_rate_delta_min = other336.dash_power_rate_delta_min; - dash_power_rate_delta_max = other336.dash_power_rate_delta_max; - player_size_delta_factor = other336.player_size_delta_factor; - kickable_margin_delta_min = other336.kickable_margin_delta_min; - kickable_margin_delta_max = other336.kickable_margin_delta_max; - kick_rand_delta_factor = other336.kick_rand_delta_factor; - extra_stamina_delta_min = other336.extra_stamina_delta_min; - extra_stamina_delta_max = other336.extra_stamina_delta_max; - effort_max_delta_factor = other336.effort_max_delta_factor; - effort_min_delta_factor = other336.effort_min_delta_factor; - random_seed = other336.random_seed; - new_dash_power_rate_delta_min = other336.new_dash_power_rate_delta_min; - new_dash_power_rate_delta_max = other336.new_dash_power_rate_delta_max; - new_stamina_inc_max_delta_factor = other336.new_stamina_inc_max_delta_factor; - kick_power_rate_delta_min = other336.kick_power_rate_delta_min; - kick_power_rate_delta_max = other336.kick_power_rate_delta_max; - foul_detect_probability_delta_factor = other336.foul_detect_probability_delta_factor; - catchable_area_l_stretch_min = other336.catchable_area_l_stretch_min; - catchable_area_l_stretch_max = other336.catchable_area_l_stretch_max; - __isset = other336.__isset; -} -PlayerParam& PlayerParam::operator=(const PlayerParam& other337) { +PlayerParam::PlayerParam(const PlayerParam& other337) { register_response = other337.register_response; player_types = other337.player_types; subs_max = other337.subs_max; @@ -23697,6 +23747,39 @@ PlayerParam& PlayerParam::operator=(const PlayerParam& other337) { catchable_area_l_stretch_min = other337.catchable_area_l_stretch_min; catchable_area_l_stretch_max = other337.catchable_area_l_stretch_max; __isset = other337.__isset; +} +PlayerParam& PlayerParam::operator=(const PlayerParam& other338) { + register_response = other338.register_response; + player_types = other338.player_types; + subs_max = other338.subs_max; + pt_max = other338.pt_max; + allow_mult_default_type = other338.allow_mult_default_type; + player_speed_max_delta_min = other338.player_speed_max_delta_min; + player_speed_max_delta_max = other338.player_speed_max_delta_max; + stamina_inc_max_delta_factor = other338.stamina_inc_max_delta_factor; + player_decay_delta_min = other338.player_decay_delta_min; + player_decay_delta_max = other338.player_decay_delta_max; + inertia_moment_delta_factor = other338.inertia_moment_delta_factor; + dash_power_rate_delta_min = other338.dash_power_rate_delta_min; + dash_power_rate_delta_max = other338.dash_power_rate_delta_max; + player_size_delta_factor = other338.player_size_delta_factor; + kickable_margin_delta_min = other338.kickable_margin_delta_min; + kickable_margin_delta_max = other338.kickable_margin_delta_max; + kick_rand_delta_factor = other338.kick_rand_delta_factor; + extra_stamina_delta_min = other338.extra_stamina_delta_min; + extra_stamina_delta_max = other338.extra_stamina_delta_max; + effort_max_delta_factor = other338.effort_max_delta_factor; + effort_min_delta_factor = other338.effort_min_delta_factor; + random_seed = other338.random_seed; + new_dash_power_rate_delta_min = other338.new_dash_power_rate_delta_min; + new_dash_power_rate_delta_max = other338.new_dash_power_rate_delta_max; + new_stamina_inc_max_delta_factor = other338.new_stamina_inc_max_delta_factor; + kick_power_rate_delta_min = other338.kick_power_rate_delta_min; + kick_power_rate_delta_max = other338.kick_power_rate_delta_max; + foul_detect_probability_delta_factor = other338.foul_detect_probability_delta_factor; + catchable_area_l_stretch_min = other338.catchable_area_l_stretch_min; + catchable_area_l_stretch_max = other338.catchable_area_l_stretch_max; + __isset = other338.__isset; return *this; } void PlayerParam::printTo(std::ostream& out) const { @@ -24372,44 +24455,7 @@ void swap(PlayerType &a, PlayerType &b) { swap(a.__isset, b.__isset); } -PlayerType::PlayerType(const PlayerType& other338) { - register_response = other338.register_response; - id = other338.id; - stamina_inc_max = other338.stamina_inc_max; - player_decay = other338.player_decay; - inertia_moment = other338.inertia_moment; - dash_power_rate = other338.dash_power_rate; - player_size = other338.player_size; - kickable_margin = other338.kickable_margin; - kick_rand = other338.kick_rand; - extra_stamina = other338.extra_stamina; - effort_max = other338.effort_max; - effort_min = other338.effort_min; - kick_power_rate = other338.kick_power_rate; - foul_detect_probability = other338.foul_detect_probability; - catchable_area_l_stretch = other338.catchable_area_l_stretch; - unum_far_length = other338.unum_far_length; - unum_too_far_length = other338.unum_too_far_length; - team_far_length = other338.team_far_length; - team_too_far_length = other338.team_too_far_length; - player_max_observation_length = other338.player_max_observation_length; - ball_vel_far_length = other338.ball_vel_far_length; - ball_vel_too_far_length = other338.ball_vel_too_far_length; - ball_max_observation_length = other338.ball_max_observation_length; - flag_chg_far_length = other338.flag_chg_far_length; - flag_chg_too_far_length = other338.flag_chg_too_far_length; - flag_max_observation_length = other338.flag_max_observation_length; - kickable_area = other338.kickable_area; - reliable_catchable_dist = other338.reliable_catchable_dist; - max_catchable_dist = other338.max_catchable_dist; - real_speed_max = other338.real_speed_max; - player_speed_max2 = other338.player_speed_max2; - real_speed_max2 = other338.real_speed_max2; - cycles_to_reach_max_speed = other338.cycles_to_reach_max_speed; - player_speed_max = other338.player_speed_max; - __isset = other338.__isset; -} -PlayerType& PlayerType::operator=(const PlayerType& other339) { +PlayerType::PlayerType(const PlayerType& other339) { register_response = other339.register_response; id = other339.id; stamina_inc_max = other339.stamina_inc_max; @@ -24445,6 +24491,43 @@ PlayerType& PlayerType::operator=(const PlayerType& other339) { cycles_to_reach_max_speed = other339.cycles_to_reach_max_speed; player_speed_max = other339.player_speed_max; __isset = other339.__isset; +} +PlayerType& PlayerType::operator=(const PlayerType& other340) { + register_response = other340.register_response; + id = other340.id; + stamina_inc_max = other340.stamina_inc_max; + player_decay = other340.player_decay; + inertia_moment = other340.inertia_moment; + dash_power_rate = other340.dash_power_rate; + player_size = other340.player_size; + kickable_margin = other340.kickable_margin; + kick_rand = other340.kick_rand; + extra_stamina = other340.extra_stamina; + effort_max = other340.effort_max; + effort_min = other340.effort_min; + kick_power_rate = other340.kick_power_rate; + foul_detect_probability = other340.foul_detect_probability; + catchable_area_l_stretch = other340.catchable_area_l_stretch; + unum_far_length = other340.unum_far_length; + unum_too_far_length = other340.unum_too_far_length; + team_far_length = other340.team_far_length; + team_too_far_length = other340.team_too_far_length; + player_max_observation_length = other340.player_max_observation_length; + ball_vel_far_length = other340.ball_vel_far_length; + ball_vel_too_far_length = other340.ball_vel_too_far_length; + ball_max_observation_length = other340.ball_max_observation_length; + flag_chg_far_length = other340.flag_chg_far_length; + flag_chg_too_far_length = other340.flag_chg_too_far_length; + flag_max_observation_length = other340.flag_max_observation_length; + kickable_area = other340.kickable_area; + reliable_catchable_dist = other340.reliable_catchable_dist; + max_catchable_dist = other340.max_catchable_dist; + real_speed_max = other340.real_speed_max; + player_speed_max2 = other340.player_speed_max2; + real_speed_max2 = other340.real_speed_max2; + cycles_to_reach_max_speed = other340.cycles_to_reach_max_speed; + player_speed_max = other340.player_speed_max; + __isset = other340.__isset; return *this; } void PlayerType::printTo(std::ostream& out) const { @@ -24585,9 +24668,9 @@ uint32_t RpcCooperativeAction::read(::apache::thrift::protocol::TProtocol* iprot { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast340; - xfer += iprot->readI32(ecast340); - this->category = static_cast(ecast340); + int32_t ecast341; + xfer += iprot->readI32(ecast341); + this->category = static_cast(ecast341); this->__isset.category = true; } else { xfer += iprot->skip(ftype); @@ -24820,26 +24903,7 @@ void swap(RpcCooperativeAction &a, RpcCooperativeAction &b) { swap(a.__isset, b.__isset); } -RpcCooperativeAction::RpcCooperativeAction(const RpcCooperativeAction& other341) { - category = other341.category; - index = other341.index; - sender_unum = other341.sender_unum; - target_unum = other341.target_unum; - target_point = other341.target_point; - first_ball_speed = other341.first_ball_speed; - first_turn_moment = other341.first_turn_moment; - first_dash_power = other341.first_dash_power; - first_dash_angle_relative = other341.first_dash_angle_relative; - duration_step = other341.duration_step; - kick_count = other341.kick_count; - turn_count = other341.turn_count; - dash_count = other341.dash_count; - final_action = other341.final_action; - description = other341.description; - parent_index = other341.parent_index; - __isset = other341.__isset; -} -RpcCooperativeAction& RpcCooperativeAction::operator=(const RpcCooperativeAction& other342) { +RpcCooperativeAction::RpcCooperativeAction(const RpcCooperativeAction& other342) { category = other342.category; index = other342.index; sender_unum = other342.sender_unum; @@ -24857,6 +24921,25 @@ RpcCooperativeAction& RpcCooperativeAction::operator=(const RpcCooperativeAction description = other342.description; parent_index = other342.parent_index; __isset = other342.__isset; +} +RpcCooperativeAction& RpcCooperativeAction::operator=(const RpcCooperativeAction& other343) { + category = other343.category; + index = other343.index; + sender_unum = other343.sender_unum; + target_unum = other343.target_unum; + target_point = other343.target_point; + first_ball_speed = other343.first_ball_speed; + first_turn_moment = other343.first_turn_moment; + first_dash_power = other343.first_dash_power; + first_dash_angle_relative = other343.first_dash_angle_relative; + duration_step = other343.duration_step; + kick_count = other343.kick_count; + turn_count = other343.turn_count; + dash_count = other343.dash_count; + final_action = other343.final_action; + description = other343.description; + parent_index = other343.parent_index; + __isset = other343.__isset; return *this; } void RpcCooperativeAction::printTo(std::ostream& out) const { @@ -25042,16 +25125,7 @@ void swap(RpcPredictState &a, RpcPredictState &b) { swap(a.__isset, b.__isset); } -RpcPredictState::RpcPredictState(const RpcPredictState& other343) noexcept { - spend_time = other343.spend_time; - ball_holder_unum = other343.ball_holder_unum; - ball_position = other343.ball_position; - ball_velocity = other343.ball_velocity; - our_defense_line_x = other343.our_defense_line_x; - our_offense_line_x = other343.our_offense_line_x; - __isset = other343.__isset; -} -RpcPredictState& RpcPredictState::operator=(const RpcPredictState& other344) noexcept { +RpcPredictState::RpcPredictState(const RpcPredictState& other344) noexcept { spend_time = other344.spend_time; ball_holder_unum = other344.ball_holder_unum; ball_position = other344.ball_position; @@ -25059,6 +25133,15 @@ RpcPredictState& RpcPredictState::operator=(const RpcPredictState& other344) noe our_defense_line_x = other344.our_defense_line_x; our_offense_line_x = other344.our_offense_line_x; __isset = other344.__isset; +} +RpcPredictState& RpcPredictState::operator=(const RpcPredictState& other345) noexcept { + spend_time = other345.spend_time; + ball_holder_unum = other345.ball_holder_unum; + ball_position = other345.ball_position; + ball_velocity = other345.ball_velocity; + our_defense_line_x = other345.our_defense_line_x; + our_offense_line_x = other345.our_offense_line_x; + __isset = other345.__isset; return *this; } void RpcPredictState::printTo(std::ostream& out) const { @@ -25183,17 +25266,17 @@ void swap(RpcActionState &a, RpcActionState &b) { swap(a.__isset, b.__isset); } -RpcActionState::RpcActionState(const RpcActionState& other345) { - action = other345.action; - predict_state = other345.predict_state; - evaluation = other345.evaluation; - __isset = other345.__isset; -} -RpcActionState& RpcActionState::operator=(const RpcActionState& other346) { +RpcActionState::RpcActionState(const RpcActionState& other346) { action = other346.action; predict_state = other346.predict_state; evaluation = other346.evaluation; __isset = other346.__isset; +} +RpcActionState& RpcActionState::operator=(const RpcActionState& other347) { + action = other347.action; + predict_state = other347.predict_state; + evaluation = other347.evaluation; + __isset = other347.__isset; return *this; } void RpcActionState::printTo(std::ostream& out) const { @@ -25261,17 +25344,17 @@ uint32_t BestPlannerActionRequest::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_MAP) { { this->pairs.clear(); - uint32_t _size347; - ::apache::thrift::protocol::TType _ktype348; - ::apache::thrift::protocol::TType _vtype349; - xfer += iprot->readMapBegin(_ktype348, _vtype349, _size347); - uint32_t _i351; - for (_i351 = 0; _i351 < _size347; ++_i351) + uint32_t _size348; + ::apache::thrift::protocol::TType _ktype349; + ::apache::thrift::protocol::TType _vtype350; + xfer += iprot->readMapBegin(_ktype349, _vtype350, _size348); + uint32_t _i352; + for (_i352 = 0; _i352 < _size348; ++_i352) { - int32_t _key352; - xfer += iprot->readI32(_key352); - RpcActionState& _val353 = this->pairs[_key352]; - xfer += _val353.read(iprot); + int32_t _key353; + xfer += iprot->readI32(_key353); + RpcActionState& _val354 = this->pairs[_key353]; + xfer += _val354.read(iprot); } xfer += iprot->readMapEnd(); } @@ -25312,11 +25395,11 @@ uint32_t BestPlannerActionRequest::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("pairs", ::apache::thrift::protocol::T_MAP, 2); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I32, ::apache::thrift::protocol::T_STRUCT, static_cast(this->pairs.size())); - std::map ::const_iterator _iter354; - for (_iter354 = this->pairs.begin(); _iter354 != this->pairs.end(); ++_iter354) + std::map ::const_iterator _iter355; + for (_iter355 = this->pairs.begin(); _iter355 != this->pairs.end(); ++_iter355) { - xfer += oprot->writeI32(_iter354->first); - xfer += _iter354->second.write(oprot); + xfer += oprot->writeI32(_iter355->first); + xfer += _iter355->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -25339,17 +25422,17 @@ void swap(BestPlannerActionRequest &a, BestPlannerActionRequest &b) { swap(a.__isset, b.__isset); } -BestPlannerActionRequest::BestPlannerActionRequest(const BestPlannerActionRequest& other355) { - register_response = other355.register_response; - pairs = other355.pairs; - state = other355.state; - __isset = other355.__isset; -} -BestPlannerActionRequest& BestPlannerActionRequest::operator=(const BestPlannerActionRequest& other356) { +BestPlannerActionRequest::BestPlannerActionRequest(const BestPlannerActionRequest& other356) { register_response = other356.register_response; pairs = other356.pairs; state = other356.state; __isset = other356.__isset; +} +BestPlannerActionRequest& BestPlannerActionRequest::operator=(const BestPlannerActionRequest& other357) { + register_response = other357.register_response; + pairs = other357.pairs; + state = other357.state; + __isset = other357.__isset; return *this; } void BestPlannerActionRequest::printTo(std::ostream& out) const { @@ -25437,13 +25520,13 @@ void swap(BestPlannerActionResponse &a, BestPlannerActionResponse &b) { swap(a.__isset, b.__isset); } -BestPlannerActionResponse::BestPlannerActionResponse(const BestPlannerActionResponse& other357) noexcept { - index = other357.index; - __isset = other357.__isset; -} -BestPlannerActionResponse& BestPlannerActionResponse::operator=(const BestPlannerActionResponse& other358) noexcept { +BestPlannerActionResponse::BestPlannerActionResponse(const BestPlannerActionResponse& other358) noexcept { index = other358.index; __isset = other358.__isset; +} +BestPlannerActionResponse& BestPlannerActionResponse::operator=(const BestPlannerActionResponse& other359) noexcept { + index = other359.index; + __isset = other359.__isset; return *this; } void BestPlannerActionResponse::printTo(std::ostream& out) const { @@ -25508,11 +25591,11 @@ void swap(Empty &a, Empty &b) { (void) b; } -Empty::Empty(const Empty& other359) noexcept { - (void) other359; -} -Empty& Empty::operator=(const Empty& other360) noexcept { +Empty::Empty(const Empty& other360) noexcept { (void) other360; +} +Empty& Empty::operator=(const Empty& other361) noexcept { + (void) other361; return *this; } void Empty::printTo(std::ostream& out) const { diff --git a/src/thrift-generated/soccer_service_types.h b/src/thrift-generated/soccer_service_types.h index 0cdbfc2..6f3212d 100644 --- a/src/thrift-generated/soccer_service_types.h +++ b/src/thrift-generated/soccer_service_types.h @@ -49,6 +49,25 @@ std::ostream& operator<<(std::ostream& out, const AgentType::type& val); std::string to_string(const AgentType::type& val); +struct RpcServerLanguageType { + enum type { + UNKNOWN_LANGUAGE = 0, + PYThON = 1, + JAVA = 2, + CPP = 3, + CSHARP = 4, + RUBY = 5, + JAVE_SCRIPT = 6, + GO = 7 + }; +}; + +extern const std::map _RpcServerLanguageType_VALUES_TO_NAMES; + +std::ostream& operator<<(std::ostream& out, const RpcServerLanguageType::type& val); + +std::string to_string(const RpcServerLanguageType::type& val); + struct Side { enum type { UNKNOWN = 0, @@ -512,10 +531,11 @@ void swap(RpcVector2D &a, RpcVector2D &b); std::ostream& operator<<(std::ostream& out, const RpcVector2D& obj); typedef struct _RegisterRequest__isset { - _RegisterRequest__isset() : agent_type(false), team_name(false), uniform_number(false) {} + _RegisterRequest__isset() : agent_type(false), team_name(false), uniform_number(false), rpc_version(false) {} bool agent_type :1; bool team_name :1; bool uniform_number :1; + bool rpc_version :1; } _RegisterRequest__isset; class RegisterRequest : public virtual ::apache::thrift::TBase { @@ -526,7 +546,8 @@ class RegisterRequest : public virtual ::apache::thrift::TBase { RegisterRequest() noexcept : agent_type(static_cast(0)), team_name(), - uniform_number(0) { + uniform_number(0), + rpc_version(0) { } virtual ~RegisterRequest() noexcept; @@ -537,6 +558,7 @@ class RegisterRequest : public virtual ::apache::thrift::TBase { AgentType::type agent_type; std::string team_name; int32_t uniform_number; + int32_t rpc_version; _RegisterRequest__isset __isset; @@ -546,6 +568,8 @@ class RegisterRequest : public virtual ::apache::thrift::TBase { void __set_uniform_number(const int32_t val); + void __set_rpc_version(const int32_t val); + bool operator == (const RegisterRequest & rhs) const { if (!(agent_type == rhs.agent_type)) @@ -554,6 +578,8 @@ class RegisterRequest : public virtual ::apache::thrift::TBase { return false; if (!(uniform_number == rhs.uniform_number)) return false; + if (!(rpc_version == rhs.rpc_version)) + return false; return true; } bool operator != (const RegisterRequest &rhs) const { @@ -573,11 +599,12 @@ void swap(RegisterRequest &a, RegisterRequest &b); std::ostream& operator<<(std::ostream& out, const RegisterRequest& obj); typedef struct _RegisterResponse__isset { - _RegisterResponse__isset() : client_id(false), agent_type(false), team_name(false), uniform_number(false) {} + _RegisterResponse__isset() : client_id(false), agent_type(false), team_name(false), uniform_number(false), rpc_server_language_type(false) {} bool client_id :1; bool agent_type :1; bool team_name :1; bool uniform_number :1; + bool rpc_server_language_type :1; } _RegisterResponse__isset; class RegisterResponse : public virtual ::apache::thrift::TBase { @@ -589,7 +616,8 @@ class RegisterResponse : public virtual ::apache::thrift::TBase { : client_id(0), agent_type(static_cast(0)), team_name(), - uniform_number(0) { + uniform_number(0), + rpc_server_language_type(static_cast(0)) { } virtual ~RegisterResponse() noexcept; @@ -601,6 +629,11 @@ class RegisterResponse : public virtual ::apache::thrift::TBase { AgentType::type agent_type; std::string team_name; int32_t uniform_number; + /** + * + * @see RpcServerLanguageType + */ + RpcServerLanguageType::type rpc_server_language_type; _RegisterResponse__isset __isset; @@ -612,6 +645,8 @@ class RegisterResponse : public virtual ::apache::thrift::TBase { void __set_uniform_number(const int32_t val); + void __set_rpc_server_language_type(const RpcServerLanguageType::type val); + bool operator == (const RegisterResponse & rhs) const { if (!(client_id == rhs.client_id)) @@ -622,6 +657,8 @@ class RegisterResponse : public virtual ::apache::thrift::TBase { return false; if (!(uniform_number == rhs.uniform_number)) return false; + if (!(rpc_server_language_type == rhs.rpc_server_language_type)) + return false; return true; } bool operator != (const RegisterResponse &rhs) const { From 1b3415291a36558fff619e9ff1b4ac11a9998a2a Mon Sep 17 00:00:00 2001 From: naderzare Date: Sun, 15 Sep 2024 22:17:57 -0300 Subject: [PATCH 21/21] update change log --- ChangeLog.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/ChangeLog.md b/ChangeLog.md index eab8175..75cb52f 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,23 @@ # ChangeLog +## [1.0.0] - 2024-09-15 + +### Added +- added rpc_version to the RegisterRequest message. +- added rpc_server_language_type to the RegisterResponse message. +- added server side planner decision maker. + +### Fixed +- fixed bugs in the getActions functions in thrift and grpc. + +### Changed +- changed chain_action messages name to planner + +### Engineers +- [NaderZare](https://github.com/naderzare) +- [SadraKhanjari](https://github.com/SK2iP) + + ## [0.1.4] - 2024-09-03 ### Added