クラス rcsc::PlayerSayCommand

player's say command [詳細]

#include <player_command.h>

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

rcsc::PlayerSupportCommand rcsc::PlayerCommand すべてのメンバ一覧

Public メソッド

 PlayerSayCommand (const double &version)
 construct with client version, no message
 PlayerSayCommand (const char *msg, const double &version)
 construct with cstring say message
 PlayerSayCommand (const std::string &msg, const double &version)
 construct with say message string
Type type () const
 get command type
std::ostream & toStr (std::ostream &to) const
 put command string to ostream
std::string name () const
 get command paramter
void assign (const std::string &msg)
 assign new message
void append (const std::string &msg)
 append new string
const std::string & message () const
 get command parameter

説明

player's say command

  Format:
  <- (say "<msg>")   : version 8.0 or later. double quatation is recommended.
  <- (say <msg>)
  


コンストラクタとデストラクタ

rcsc::PlayerSayCommand::PlayerSayCommand ( const double &  version  )  [inline, explicit]

construct with client version, no message

引数:
version player's client version

rcsc::PlayerSayCommand::PlayerSayCommand ( const char *  msg,
const double &  version 
) [inline]

construct with cstring say message

引数:
msg cstring message
version player's client version

rcsc::PlayerSayCommand::PlayerSayCommand ( const std::string &  msg,
const double &  version 
) [inline]

construct with say message string

引数:
msg message string
version player's client version


関数

Type rcsc::PlayerSayCommand::type (  )  const [inline, virtual]

get command type

戻り値:
command type Id

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

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

put command string to ostream

引数:
to reference to the output stream
戻り値:
reference to the output stream

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

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

get command paramter

戻り値:
turn neck moment of this command

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

void rcsc::PlayerSayCommand::assign ( const std::string &  msg  )  [inline]

assign new message

引数:
msg new string

void rcsc::PlayerSayCommand::append ( const std::string &  msg  )  [inline]

append new string

引数:
msg appended string

const std::string& rcsc::PlayerSayCommand::message (  )  const [inline]

get command parameter

戻り値:
say message


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