#include <player_command.h>
rcsc::PlayerInitCommandに対する継承グラフ
Public メソッド | |
PlayerInitCommand (const std::string &team_name, const double &version=3.0, const bool goalie=false) | |
construct with init parameters | |
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: <- (init <teamname>[ (version <ver>)[ (goalie)]]) Response: -> (init <side> <unum> <playmode>)
rcsc::PlayerInitCommand::PlayerInitCommand | ( | const std::string & | team_name, | |
const double & | version = 3.0 , |
|||
const bool | goalie = false | |||
) | [explicit] |
construct with init parameters
team_name | player's team name | |
version | player's client version (default: 3.0) | |
goalie | if true, player start as goalie |
Type rcsc::PlayerInitCommand::type | ( | ) | const [inline, virtual] |
std::ostream & rcsc::PlayerInitCommand::toStr | ( | std::ostream & | to | ) | const [virtual] |
put command string to ostream
to | reference to the output stream |
rcsc::PlayerCommandを実装しています。
std::string rcsc::PlayerInitCommand::name | ( | ) | const [inline, virtual] |