クラス rcsc::PlayerParam

trade-off parameters to generate PlayerType [詳細]

#include <player_param.h>

すべてのメンバ一覧

Public メソッド

 ~PlayerParam ()
 destructor
bool parse (const char *msg, const double &version)
 analyze server message
void convertFrom (const rcg::player_params_t &from)
 convert parameters from monitor protcol data
void convertTo (rcg::player_params_t &to) const
 convert parameters to monitor protcol data
std::string toStr () const
 convert to the rcss parameter message
int playerTypes () const
 get the number of player types
int subsMax () const
 get the max number of substituion while play_on
int ptMax () const
 get the max number of same player types at the same time
bool allowMultDefaultType () const
const double & playerSpeedMaxDeltaMin () const
const double & playerSpeedMaxDeltaMax () const
const double & staminaIncMaxDeltaFactor () const
const double & playerDecayDeltaMin () const
const double & playerDecayDeltaMax () const
const double & inertiaMomentDeltaFactor () const
const double & dashPowerRateDeltaMin () const
const double & dashPowerRateDeltaMax () const
const double & playerSizeDeltaFactor () const
const double & kickableMarginDeltaMin () const
const double & kickableMarginDeltaMax () const
const double & kickRandDeltaFactor () const
const double & extraStaminaDeltaMin () const
const double & extraStaminaDeltaMax () const
const double & effortMaxDeltaFactor () const
const double & effortMinDeltaFactor () const
int randomSeed () const
const double & newDashPowerRateDeltaMin () const
const double & newDashPowerRateDeltaMax () const
const double & newStaminaIncMaxDeltaFactor () const

Static Public メソッド

static PlayerParaminstance ()
 singleton interface
static const PlayerParami ()
 const singleton interface


説明

trade-off parameters to generate PlayerType


関数

bool rcsc::PlayerParam::parse ( const char *  msg,
const double &  version 
)

analyze server message

引数:
msg raw message string from server
version client version that defines message protocol
戻り値:
result of parse status

void rcsc::PlayerParam::convertFrom ( const rcg::player_params_t from  ) 

convert parameters from monitor protcol data

引数:
from monitor protocol data structure

void rcsc::PlayerParam::convertTo ( rcg::player_params_t to  )  const

convert parameters to monitor protcol data

引数:
to reference to the data structure variable

std::string rcsc::PlayerParam::toStr (  )  const

convert to the rcss parameter message

戻り値:
parameter message string

int rcsc::PlayerParam::playerTypes (  )  const [inline]

get the number of player types

戻り値:
number of player types

int rcsc::PlayerParam::subsMax (  )  const [inline]

get the max number of substituion while play_on

戻り値:
max number of substituion

int rcsc::PlayerParam::ptMax (  )  const [inline]

get the max number of same player types at the same time

戻り値:
max number of same player type at the same time


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