#include <coach_command.h>
rcsc::CoachChangePlayerTypesCommandに対する継承グラフ
Public メソッド | |
CoachChangePlayerTypesCommand (const int unum, const int type) | |
construct with one target player and type id | |
CoachChangePlayerTypesCommand (const std::vector< std::pair< int, int > > &types) | |
construct with one target player and type id | |
void | add (const int unum, const int type) |
add new change_player_type pair | |
Type | type () const |
get command type | |
std::ostream & | toStr (std::ostream &to) const |
put command string to ostream | |
std::string | name () const |
get command name |
Format: <- (change_player_types [(<unum> <typeid>)]+) Response: -> (ok change_player_type <unum> <typeid>) -> (warning cannot_sub_while_playon) -> (warning no_team_found) -> (warning no_subs_left) -> (error out_of_range_player_type) -> (warning no_such_player) -> (warning cannot_change_goalie) -> (warning max_of_that_type_on_field)
rcsc::CoachChangePlayerTypesCommand::CoachChangePlayerTypesCommand | ( | const int | unum, | |
const int | type | |||
) |
construct with one target player and type id
unum | target player's uniform number | |
type | player type id |
rcsc::CoachChangePlayerTypesCommand::CoachChangePlayerTypesCommand | ( | const std::vector< std::pair< int, int > > & | types | ) |
construct with one target player and type id
unum | target player's uniform number | |
type | player type id |
void rcsc::CoachChangePlayerTypesCommand::add | ( | const int | unum, | |
const int | type | |||
) |
add new change_player_type pair
unum | target player's uniform number | |
type | player type id |
Type rcsc::CoachChangePlayerTypesCommand::type | ( | ) | const [inline, virtual] |
std::ostream & rcsc::CoachChangePlayerTypesCommand::toStr | ( | std::ostream & | to | ) | const [virtual] |
put command string to ostream
to | reference to the output stream |
rcsc::CoachCommandを実装しています。
std::string rcsc::CoachChangePlayerTypesCommand::name | ( | ) | const [inline, virtual] |