#include <types.h>
Public メソッド | |
PlayerT () | |
initialize all variables | |
SideID | side () const |
get side id | |
bool | highQuality () const |
check if view quality is high. | |
SideID | focusSide () const |
get focused player's side id | |
bool | hasVelocity () const |
check if this object has velocity info | |
bool | hasNeck () const |
check if this object has neck info | |
bool | hasView () const |
check if this object has view width info | |
bool | hasStamina () const |
check if this object has stamina info | |
bool | isAlive () const |
check if this object is enabled. | |
bool | isKicking () const |
check if this object is kicking. | |
bool | isKickingFault () const |
check if this object is kicking fault. | |
bool | isGoalie () const |
check if this object is goalie. | |
bool | isCatching () const |
check if this object is catching. | |
bool | isCatchingFault () const |
check if this object is catching fault. | |
bool | isTackling () const |
check if this object is tackling | |
bool | isTacklingFault () const |
check if this object is tackling fault. | |
bool | isPointing () const |
check if this object is pointing to somewhere. | |
bool | isFocusing () const |
check if this object is focusing to someone. | |
bool | isCollidedBall () const |
check if this object is collided with ball. | |
bool | isCollidedPlayer () const |
check if this object is collided with player. | |
Public 変数 | |
char | side_ |
player's side. 'l', 'r' or 'n' | |
Int16 | unum_ |
player's uniform number. 0 means disabled player. | |
Int16 | type_ |
heterogeneous player type id | |
char | view_quality_ |
view quality indicator, 'l' or 'h' | |
char | focus_side_ |
focus target side. 'l', 'r' or 'n'. 'n' means no focus target. | |
Int16 | focus_unum_ |
focus target uniform number. 0 means no focus target. | |
Int32 | state_ |
state bit flags | |
float | x_ |
position x | |
float | y_ |
position y | |
float | vx_ |
velocity x | |
float | vy_ |
velocity y | |
float | body_ |
body direction (degree) | |
float | neck_ |
head direction relative to body (degree) | |
float | point_x_ |
arm pointing x | |
float | point_y_ |
arm pointing y | |
float | view_width_ |
view width (degree). high: value>0, low: value<0 | |
float | stamina_ |
satamina value | |
float | effort_ |
effort value | |
float | recovery_ |
recovery value | |
UInt16 | kick_count_ |
kick command count | |
UInt16 | dash_count_ |
dash command count | |
UInt16 | turn_count_ |
turn command count | |
UInt16 | catch_count_ |
catch command count | |
UInt16 | move_count_ |
move command count | |
UInt16 | turn_neck_count_ |
turn_neck command count | |
UInt16 | change_view_count_ |
change_view command count | |
UInt16 | say_count_ |
say command count | |
UInt16 | tackle_count_ |
tackle command count | |
UInt16 | pointto_count_ |
pointto command count | |
UInt16 | attentionto_count_ |
attentionto command count |
SideID rcsc::rcg::PlayerT::side | ( | ) | const [inline] |
get side id
bool rcsc::rcg::PlayerT::highQuality | ( | ) | const [inline] |
check if view quality is high.
SideID rcsc::rcg::PlayerT::focusSide | ( | ) | const [inline] |
get focused player's side id
bool rcsc::rcg::PlayerT::hasVelocity | ( | ) | const [inline] |
check if this object has velocity info
bool rcsc::rcg::PlayerT::hasNeck | ( | ) | const [inline] |
check if this object has neck info
bool rcsc::rcg::PlayerT::hasView | ( | ) | const [inline] |
check if this object has view width info
bool rcsc::rcg::PlayerT::hasStamina | ( | ) | const [inline] |
check if this object has stamina info
bool rcsc::rcg::PlayerT::isAlive | ( | ) | const [inline] |
check if this object is enabled.
bool rcsc::rcg::PlayerT::isKicking | ( | ) | const [inline] |
check if this object is kicking.
bool rcsc::rcg::PlayerT::isKickingFault | ( | ) | const [inline] |
check if this object is kicking fault.
bool rcsc::rcg::PlayerT::isGoalie | ( | ) | const [inline] |
check if this object is goalie.
bool rcsc::rcg::PlayerT::isCatching | ( | ) | const [inline] |
check if this object is catching.
bool rcsc::rcg::PlayerT::isCatchingFault | ( | ) | const [inline] |
check if this object is catching fault.
bool rcsc::rcg::PlayerT::isTackling | ( | ) | const [inline] |
check if this object is tackling
bool rcsc::rcg::PlayerT::isTacklingFault | ( | ) | const [inline] |
check if this object is tackling fault.
bool rcsc::rcg::PlayerT::isPointing | ( | ) | const [inline] |
check if this object is pointing to somewhere.
bool rcsc::rcg::PlayerT::isFocusing | ( | ) | const [inline] |
check if this object is focusing to someone.
bool rcsc::rcg::PlayerT::isCollidedBall | ( | ) | const [inline] |
check if this object is collided with ball.
bool rcsc::rcg::PlayerT::isCollidedPlayer | ( | ) | const [inline] |
check if this object is collided with player.