クラス rcsc::TrainerChangePlayerTypeCommand

command to change player type [詳細]

#include <trainer_command.h>

rcsc::TrainerChangePlayerTypeCommandに対する継承グラフ

rcsc::TrainerCommand すべてのメンバ一覧

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

説明

command to change player type

  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]

get command type

戻り値:
command type Id

rcsc::TrainerCommandを実装しています。

std::ostream & rcsc::TrainerChangePlayerTypeCommand::toStr ( std::ostream &  to  )  const [virtual]

put command string to ostream

引数:
to referent to the output stream
戻り値:
referenct to the output stream

rcsc::TrainerCommandを実装しています。

std::string rcsc::TrainerChangePlayerTypeCommand::name (  )  const [inline, virtual]

get command name

戻り値:
command name string

rcsc::TrainerCommandを実装しています。


このクラスの説明は次のファイルから生成されました:
librcscに対してThu May 1 15:41:28 2008に生成されました。  doxygen 1.5.0