#include <trainer_command.h>
rcsc::TrainerChangePlayerTypeCommandに対する継承グラフ
Public メソッド | |
TrainerChangePlayerTypeCommand (const std::string &team_name, const int unum, const int type) | |
construct with target player and type id | |
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_type <teamname> <unum> <typeid>) Response: -> (ok change_player_type <teamname> <unum> <typeid>) -> (warning no_team_found) -> (error out_of_range_player_type) -> (warning no_such_player)
rcsc::TrainerChangePlayerTypeCommand::TrainerChangePlayerTypeCommand | ( | const std::string & | team_name, | |
const int | unum, | |||
const int | type | |||
) |
construct with target player and type id
team_name | target player's team name | |
unum | target player's uniform number | |
type | player type Id |
Type rcsc::TrainerChangePlayerTypeCommand::type | ( | ) | const [inline, virtual] |
std::ostream & rcsc::TrainerChangePlayerTypeCommand::toStr | ( | std::ostream & | to | ) | const [virtual] |
put command string to ostream
to | referent to the output stream |
rcsc::TrainerCommandを実装しています。
std::string rcsc::TrainerChangePlayerTypeCommand::name | ( | ) | const [inline, virtual] |