クラス rcsc::PlayerChangeViewCommand

player's change view command [詳細]

#include <player_command.h>

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

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

Public メソッド

 PlayerChangeViewCommand (const ViewWidth &w, const ViewQuality &q, const double &version=8.0)
 construct with view mode objects
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
const ViewWidthwidth () const
 get view width of this command ViewWidth of this command
const ViewQualityquality () const
 get view quality of this command ViewQuality of this command

説明

player's change view command

  Format:
  <- (change_view <width> <quality>)

  <width> :- narrow | normal | wide
  <quality> :- high | low
  


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

rcsc::PlayerChangeViewCommand::PlayerChangeViewCommand ( const ViewWidth w,
const ViewQuality q,
const double &  version = 8.0 
) [inline]

construct with view mode objects

引数:
w view width object
q view quality object
version client version


関数

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

get command type

戻り値:
command type Id

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

std::ostream & rcsc::PlayerChangeViewCommand::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::PlayerChangeViewCommand::name (  )  const [inline, virtual]

get command paramter

戻り値:
turn neck moment of this command

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


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