32#ifndef RCSC_RCG_TYPES_H
33#define RCSC_RCG_TYPES_H
97 KICK_FAULT = 0x00000004,
100 CATCH_FAULT = 0x00000020,
101 BALL_TO_PLAYER = 0x00000040,
102 PLAYER_TO_BALL = 0x00000080,
103 DISCARD = 0x00000100,
105 BALL_COLLIDE = 0x00000400,
106 PLAYER_COLLIDE = 0x00000800,
108 TACKLE_FAULT = 0x00002000,
109 BACK_PASS = 0x00004000,
110 FREE_KICK_FAULT = 0x00008000,
111 POST_COLLIDE = 0x00010000,
112 FOUL_CHARGED = 0x00020000,
113 YELLOW_CARD = 0x00040000,
114 RED_CARD = 0x00080000,
115 ILLEGAL_DEFENSE = 0x00100000,
509 Int32 kick_power_rate_delta_min;
510 Int32 kick_power_rate_delta_max;
511 Int32 foul_detect_probability_delta_factor;
513 Int32 catchable_area_l_stretch_min;
514 Int32 catchable_area_l_stretch_max;
587 double x()
const {
return x_; }
588 double y()
const {
return y_; }
589 double deltaX()
const {
return vx_; }
590 double deltaY()
const {
return vy_; }
687 return (
side_ ==
'l' ? LEFT
688 :
side_ ==
'r' ? RIGHT
807 && !(
state_ & KICK_FAULT );
816 return state_ & KICK_FAULT;
835 && !(
state_ & CATCH_FAULT );
844 return state_ & CATCH_FAULT;
853 return state_ & BALL_COLLIDE
854 ||
state_ & BALL_TO_PLAYER
855 ||
state_ & PLAYER_TO_BALL;
864 return state_ & PLAYER_COLLIDE;
874 && !(
state_ & TACKLE_FAULT );
883 return state_ & TACKLE_FAULT;
911 return state_ & FOUL_CHARGED;
920 return state_ & YELLOW_CARD;
938 return state_ & ILLEGAL_DEFENSE;
967 double x()
const {
return x_; }
968 double y()
const {
return y_; }
970 double deltaX()
const {
return vx_; }
971 double deltaY()
const {
return vy_; }
973 double body()
const {
return body_; }
976 double pointX()
const {
return point_x_; }
977 double pointY()
const {
return point_y_; }
982 double focusDir()
const {
return focus_dir_; }
984 double stamina()
const {
return stamina_; }
985 double effort()
const {
return effort_; }
986 double recovery()
const {
return recovery_; }
1002 bool hasFullEffort(
const double max_effort )
const
1004 return std::fabs( max_effort -
effort_ ) < 1.0e-5;
1007 bool hasFullRecovery()
const
1009 return std::fabs( 1.0 -
recovery_ ) < 1.0e-5;
constexpr int REC_VERSION_4
recorded value of rcg v4
Definition: types.h:1139
constexpr double SHOWINFO_SCALE2
scaling variable
Definition: types.h:234
constexpr float SHOWINFO_SCALEF
scaling factor
Definition: types.h:124
constexpr int DEFAULT_LOG_VERSION
default rcg version
Definition: types.h:1149
std::int32_t Int32
type of the 32bits integer value
Definition: types.h:50
DispInfoMode
monitor data type enumeration.
Definition: types.h:67
@ NO_INFO
dummy type
Definition: types.h:68
@ BLANK_MODE
dummy. until sserver-6.07
Definition: types.h:72
@ MSG_MODE
msg info
Definition: types.h:70
@ PT_MODE
player_type_t
Definition: types.h:75
@ DRAW_MODE
drawinfo_t
Definition: types.h:71
@ TEAM_MODE
team_t (team name & score)
Definition: types.h:74
@ PARAM_MODE
server_params_t
Definition: types.h:76
@ PPARAM_MODE
player_params_t
Definition: types.h:77
@ SHOW_MODE
showinfo_t
Definition: types.h:69
@ PM_MODE
playmode
Definition: types.h:73
constexpr float SHOWINFO_SCALE2F
scaling variable
Definition: types.h:236
constexpr double SHOWINFO_SCALE
scaling factor
Definition: types.h:123
constexpr int REC_VERSION_JSON
recorded value of json rcg
Definition: types.h:1146
constexpr int REC_VERSION_2
recorded value of rcg v2
Definition: types.h:126
std::int32_t UInt32
type of the unsigned 32bits integer value
Definition: types.h:52
constexpr int REC_VERSION_5
recorded value of rcg v5
Definition: types.h:1141
constexpr int REC_VERSION_3
version number
Definition: types.h:238
MsgInfoMode
message data type id enumeration.
Definition: types.h:84
std::uint16_t UInt16
type of the unsigned 16bits integer value
Definition: types.h:48
constexpr int REC_VERSION_6
recorded value of rcg v6
Definition: types.h:1143
std::int16_t Int16
type of the 16bits integer value
Definition: types.h:46
constexpr int REC_OLD_VERSION
version number of rcg v1
Definition: types.h:125
PlayerStatus
player status bit mask.
Definition: types.h:93
generic ball data for display information
Definition: types.h:561
BallT()
initialize all variables by 0
Definition: types.h:570
float vy_
ball velocity y
Definition: types.h:565
bool hasVelocity() const
check if this object has velocity info
Definition: types.h:581
float x_
ball position x
Definition: types.h:562
float vx_
ball velocity x
Definition: types.h:564
float y_
ball position y
Definition: types.h:563
display information
Definition: types.h:1131
PlayMode pmode_
playmode id
Definition: types.h:1132
ShowInfoT show_
positional data
Definition: types.h:1134
TeamT team_[2]
team data
Definition: types.h:1133
generic player data for display information
Definition: types.h:597
UInt16 pointto_count_
pointto command count
Definition: types.h:637
Int16 type_
heterogeneous player type id
Definition: types.h:600
UInt16 say_count_
say command count
Definition: types.h:635
char view_quality_
view quality indicator, 'l' or 'h'
Definition: types.h:602
bool hasView() const
check if this object has view width info
Definition: types.h:746
float stamina_capacity_
stamina capacity value
Definition: types.h:626
bool highQuality() const
check if view quality is high.
Definition: types.h:945
bool isCatching() const
check if this object is catching.
Definition: types.h:832
bool isCatchingFault() const
check if this object is catching fault.
Definition: types.h:842
UInt16 change_focus_count_
change_focus command count
Definition: types.h:639
bool hasRedCard() const
check if this player has red card or not.
Definition: types.h:927
UInt16 dash_count_
dash command count
Definition: types.h:629
float view_width_
view width (degree). high: value>0, low: value<0
Definition: types.h:618
UInt16 change_view_count_
change_view command count
Definition: types.h:634
float vx_
velocity x
Definition: types.h:611
bool hasStamina() const
check if this object has stamina info
Definition: types.h:755
Int32 state_
state bit flags
Definition: types.h:607
bool isIllegalDefenseState() const
check if this player is marked as an illegal defense state
Definition: types.h:936
float effort_
effort value
Definition: types.h:624
float y_
position y
Definition: types.h:610
char focus_side_
focus target side. 'l', 'r' or 'n'. 'n' means no focus target.
Definition: types.h:604
bool isPointing() const
check if this object is pointing to somewhere.
Definition: types.h:890
float vy_
velocity y
Definition: types.h:612
UInt16 kick_count_
kick command count
Definition: types.h:628
UInt16 tackle_count_
tackle command count
Definition: types.h:636
SideID focusSide() const
get focused player's side id
Definition: types.h:954
float focus_dir_
direction to the focus point, relative to the face angle
Definition: types.h:621
float recovery_
recovery value
Definition: types.h:625
bool hasCommandCount() const
check if this object has command count info
Definition: types.h:773
bool isFocusing() const
check if this object is focusing to someone.
Definition: types.h:900
bool hasStaminaCapacity() const
check if this object has stamina capacity info
Definition: types.h:764
bool hasType() const
check if this object has player type info
Definition: types.h:718
float point_x_
arm pointing x
Definition: types.h:615
bool hasYellowCard() const
check if this player has yellow card or not.
Definition: types.h:918
bool isTacklingFault() const
check if this object is tackling fault.
Definition: types.h:881
Int16 focus_unum_
focus target uniform number. 0 means no focus target.
Definition: types.h:605
int type() const
get heterogeneous player type id
Definition: types.h:705
bool isCollidedPlayer() const
check if this object is collided with player.
Definition: types.h:862
bool isCollidedBall() const
check if this object is collided with ball.
Definition: types.h:851
bool isAlive() const
check if this object is enabled.
Definition: types.h:795
bool hasArm() const
check if this object has arm information
Definition: types.h:782
int unum() const
get uniform number
Definition: types.h:696
float x_
position x
Definition: types.h:609
bool isKickingFault() const
check if this object is kicking fault.
Definition: types.h:814
UInt16 catch_count_
catch command count
Definition: types.h:631
bool hasVelocity() const
check if this object has velocity info
Definition: types.h:727
float stamina_
satamina value
Definition: types.h:623
UInt16 move_count_
move command count
Definition: types.h:632
UInt16 attentionto_count_
attentionto command count
Definition: types.h:638
float body_
body direction (degree)
Definition: types.h:613
Int16 unum_
player's uniform number. 0 means disabled player.
Definition: types.h:599
float neck_
head direction relative to body (degree)
Definition: types.h:614
SideID side() const
get side id
Definition: types.h:685
PlayerT()
initialize all variables
Definition: types.h:644
UInt16 turn_count_
turn command count
Definition: types.h:630
bool isGoalie() const
check if this object is goalie.
Definition: types.h:823
bool isKicking() const
check if this object is kicking.
Definition: types.h:804
char side_
player's side. 'l', 'r' or 'n'
Definition: types.h:598
UInt16 turn_neck_count_
turn_neck command count
Definition: types.h:633
float focus_dist_
distance to the focus point
Definition: types.h:620
bool isTackling() const
check if this object is tackling
Definition: types.h:871
bool isFoulCharged() const
check if this player is chaged by an opponent player.
Definition: types.h:909
float point_y_
arm pointing y
Definition: types.h:616
bool hasNeck() const
check if this object has neck info
Definition: types.h:737
show information
Definition: types.h:1121
UInt32 time_
game time
Definition: types.h:1122
BallT ball_
ball data
Definition: types.h:1123
PlayerT player_[MAX_PLAYER *2]
player data
Definition: types.h:1124
team information
Definition: types.h:1017
TeamT()
initialize all variables by 0
Definition: types.h:1026
int penaltyScore() const
get the score of penalty shootouts.
Definition: types.h:1082
UInt16 pen_score_
count of penalty score
Definition: types.h:1020
int score() const
get the score of normal and overtime games.
Definition: types.h:1073
void clear()
clear all variables
Definition: types.h:1052
int penaltyTrial() const
get the total penalty trial count
Definition: types.h:1097
UInt16 pen_miss_
count of penalty miss
Definition: types.h:1021
UInt16 score_
total scores in normal game
Definition: types.h:1019
std::string name_
team name string
Definition: types.h:1018
bool equals(const TeamT &other) const
check if artument variable has same values.
Definition: types.h:1107
TeamT(const char *name, const UInt16 score, const UInt16 pen_score, const UInt16 pen_miss)
initialize all variables by specified values
Definition: types.h:1039
const std::string & name() const
get the team name.
Definition: types.h:1064
int penaltyMiss() const
get the miss count of penalty shootouts.
Definition: types.h:1091
ball data
Definition: types.h:244
Int32 y
pos y scaled by SHOWINFO_SCALE2
Definition: types.h:246
Int32 deltay
velocity y scaled by SHOWINFO_SCALE2
Definition: types.h:248
Int32 deltax
velocity x scaled by SHOWINFO_SCALE2
Definition: types.h:247
Int32 x
pos x scaled by SHOWINFO_SCALE2
Definition: types.h:245
circle data in drawinfo_t
Definition: types.h:184
Int16 r
radius
Definition: types.h:187
Int16 x
x pos
Definition: types.h:185
char color[COLOR_NAME_MAX]
color name
Definition: types.h:188
Int16 y
y pos
Definition: types.h:186
data block for rcssmonitor v2 protocol.
Definition: types.h:542
Int16 mode
data type id
Definition: types.h:543
server_params_t sparams
server param data
Definition: types.h:548
player_type_t ptinfo
player type data
Definition: types.h:547
showinfo_t2 show
view data
Definition: types.h:545
union rcsc::rcg::dispinfo_t2::@8 body
union variable
msginfo_t msg
message data
Definition: types.h:546
player_params_t pparams
payer trade-off param data
Definition: types.h:549
data block for rcssmonitor v1 protocol and rcg v1/v2
Definition: types.h:220
union rcsc::rcg::dispinfo_t::@7 body
union variable
msginfo_t msg
message data
Definition: types.h:224
Int16 mode
data type id
Definition: types.h:221
drawinfo_t draw
draw data
Definition: types.h:225
showinfo_t show
view data
Definition: types.h:223
drawing data
Definition: types.h:207
Int16 mode
data type id
Definition: types.h:208
union rcsc::rcg::drawinfo_t::@6 object
union variable
line data in drawinfo_t
Definition: types.h:195
char color[COLOR_NAME_MAX]
color name
Definition: types.h:200
Int16 x2
x of point2
Definition: types.h:198
Int16 y2
y of point2
Definition: types.h:199
Int16 x1
x of point1
Definition: types.h:196
Int16 y1
y of point1
Definition: types.h:197
message data
Definition: types.h:165
Int16 board
message type id
Definition: types.h:166
char message[2048]
message body
Definition: types.h:167
heterogenious player trade-off parametors
Definition: types.h:484
Int32 sparelong10
spare variable
Definition: types.h:521
Int16 spareshort8
spare variable
Definition: types.h:531
Int32 extra_stamina_delta_min
minimal value wighin delta range
Definition: types.h:500
Int32 effort_max_delta_factor
tradeoff parameter
Definition: types.h:502
Int32 kick_rand_delta_factor
tradeoff parameter
Definition: types.h:499
Int32 random_seed
random seed to generate parameters
Definition: types.h:504
Int16 spareshort10
spare variable
Definition: types.h:533
Int16 substitute_max
max player substitution
Definition: types.h:486
Int32 player_size_delta_factor
tradeoff parameter
Definition: types.h:496
Int32 inertia_moment_delta_factor
tradeoff parameter
Definition: types.h:493
Int32 extra_stamina_delta_max
maximal value wighin delta range
Definition: types.h:501
Int32 player_speed_max_delta_max
maximal value wighin delta range
Definition: types.h:489
Int16 allow_mult_default_type
whether multiple default type is allowed
Definition: types.h:523
Int16 spareshort4
spare variable
Definition: types.h:527
Int16 spareshort6
spare variable
Definition: types.h:529
Int16 spareshort3
spare variable
Definition: types.h:526
Int32 kickable_margin_delta_max
maximal value wighin delta range
Definition: types.h:498
Int32 new_dash_power_rate_delta_min
minimal value wighin delta range
Definition: types.h:505
Int32 new_stamina_inc_max_delta_factor
tradeoff parameter
Definition: types.h:507
Int32 dash_power_rate_delta_min
minimal value wighin delta range
Definition: types.h:494
Int16 spareshort2
spare variable
Definition: types.h:525
Int32 new_dash_power_rate_delta_max
maximal value wighin delta range
Definition: types.h:506
Int32 dash_power_rate_delta_max
maximal value wighin delta range
Definition: types.h:495
Int32 player_decay_delta_max
maximal value wighin delta range
Definition: types.h:492
Int16 player_types
the number of player types
Definition: types.h:485
Int32 stamina_inc_max_delta_factor
tradeoff parameter
Definition: types.h:490
Int16 spareshort7
spare variable
Definition: types.h:530
Int32 player_speed_max_delta_min
minimal value wighin delta range
Definition: types.h:488
Int16 pt_max
max each player type on field
Definition: types.h:487
Int32 effort_min_delta_factor
tradeoff parameter
Definition: types.h:503
Int32 player_decay_delta_min
minimal value wighin delta range
Definition: types.h:491
Int16 spareshort5
spare variable
Definition: types.h:528
Int32 kickable_margin_delta_min
minimal value wighin delta range
Definition: types.h:497
Int16 spareshort9
spare variable
Definition: types.h:532
player data
Definition: types.h:255
Int16 type
player type id
Definition: types.h:257
Int16 turn_neck_count
executed turn_neck command count
Definition: types.h:273
Int32 effort
scaled effort value
Definition: types.h:267
Int16 view_quality
view quality id
Definition: types.h:265
Int32 stamina
scaled stamina value.
Definition: types.h:266
Int16 move_count
executed move command count
Definition: types.h:275
Int32 deltax
scaled velocity x
Definition: types.h:260
Int16 catch_count
executed catch command count
Definition: types.h:274
Int32 body_angle
scaled body angle. radian data
Definition: types.h:262
Int16 dash_count
executed dash command count
Definition: types.h:270
Int16 kick_count
executed kick command count
Definition: types.h:269
Int16 mode
status flag
Definition: types.h:256
Int16 turn_count
executed turn command count
Definition: types.h:271
Int16 change_view_count
executed change_view command count
Definition: types.h:276
Int32 x
scaled pos x
Definition: types.h:258
Int16 say_count
executed say command count
Definition: types.h:272
Int32 view_width
scaled view width. radian data
Definition: types.h:264
Int32 recovery
scaled recover value
Definition: types.h:268
Int32 head_angle
scaled heading angle relative to body. radian data
Definition: types.h:263
Int32 y
scaled pos y
Definition: types.h:259
Int32 deltay
scaled velocity y
Definition: types.h:261
player type parameters
Definition: types.h:307
Int32 sparelong10
spare variable
Definition: types.h:334
Int32 sparelong9
spare variable
Definition: types.h:333
Int32 player_size
body radius
Definition: types.h:314
Int32 sparelong5
spare variable
Definition: types.h:329
Int32 stamina_inc_max
max stamina increment value
Definition: types.h:310
Int32 sparelong6
spare variable
Definition: types.h:330
Int32 kick_power_rate
kick power rate
Definition: types.h:321
Int32 kickable_margin
kickable margin
Definition: types.h:315
Int32 catchable_area_l_stretch
catch area length stretch factor
Definition: types.h:323
Int32 kick_rand
random factor for kick
Definition: types.h:316
Int32 inertia_moment
inertia moment
Definition: types.h:312
Int32 effort_max
max(initial) effort value
Definition: types.h:318
Int32 effort_min
min effort value
Definition: types.h:319
Int32 sparelong8
spare variable
Definition: types.h:332
Int32 sparelong7
spare variable
Definition: types.h:331
Int32 player_decay
speed decay
Definition: types.h:311
Int32 extra_stamina
extra stamina value when stamina is 0.
Definition: types.h:317
Int32 dash_power_rate
dash power rate
Definition: types.h:313
Int32 foul_detect_probability
foul detect probability
Definition: types.h:322
Int32 player_speed_max
max speed
Definition: types.h:309
Int16 id
type id
Definition: types.h:308
Int32 sparelong4
spare variable
Definition: types.h:328
point data in drawinfo_t
Definition: types.h:174
char color[COLOR_NAME_MAX]
color name
Definition: types.h:177
Int16 x
x pos
Definition: types.h:175
Int16 y
y pos
Definition: types.h:176
object data
Definition: types.h:132
Int16 unum
uniform number
Definition: types.h:135
Int16 y
y-coordinate
Definition: types.h:138
Int16 angle
player's body angle. This is degree data.
Definition: types.h:136
Int16 x
x-coordinate
Definition: types.h:137
Int16 side
side type of this object
Definition: types.h:134
Int16 enable
determines if this object is in field.
Definition: types.h:133
server parametors
Definition: types.h:341
Int32 stamina_max
normal player stamina max
Definition: types.h:350
Int16 coach_say_count_max
max count of coach's freeform say
Definition: types.h:402
Int32 slowness_on_top_for_left_team
flag for left team dash power rate reduction on field top area
Definition: types.h:440
Int16 clang_info_win
window of coach language info message
Definition: types.h:408
Int32 tackle_back_dist
back tackle area length
Definition: types.h:452
Int16 recv_step
udp recv step interval msec
Definition: types.h:414
Int32 recover_dec_thr
normal player recovery decriment threshold
Definition: types.h:353
Int32 audio_cut_dist
audio cut off distance
Definition: types.h:426
Int32 player_decay
normal player speed decay
Definition: types.h:345
Int32 wind_force
wind force
Definition: types.h:390
Int16 start_goal_l
initial left team score
Definition: types.h:455
Int16 coach_say_msg_size
max length of coach's freeform say message
Definition: types.h:403
Int16 half_time
half time cycle
Definition: types.h:411
Int16 fullstate_r
flag for right team's fullstate info receive
Definition: types.h:458
Int32 wind_dir
wind direction
Definition: types.h:389
Int32 recover_init
normal player recovery init
Definition: types.h:352
Int32 player_speed_max
normal player speed max
Definition: types.h:348
Int16 start_goal_r
initial right team score
Definition: types.h:456
Int16 clang_win_size
window of coach language window
Definition: types.h:404
Int16 lcm_step
lcm of all the above steps msec
Definition: types.h:416
Int32 kickable_area
kickable_area
Definition: types.h:393
Int16 coach_mode
coach mode
Definition: types.h:436
Int32 effort_inc
normal player dash effort incriment
Definition: types.h:361
Int16 player_hear_decay
player hear_capacity_decay
Definition: types.h:420
Int16 use_old_coach_hear
old format for hear command (coach)
Definition: types.h:438
Int32 max_back_tackle_power
allowed minimum tackle power
Definition: types.h:449
Int32 max_neck_angle
max neck angle
Definition: types.h:385
Int32 landmark_dist_quantize_step_l
team right quantize step of distance for landmark
Definition: types.h:432
Int32 effort_dec
normal player dash effort decriment
Definition: types.h:359
Int32 player_rand_factor_r
factor to multiple prand for right team
Definition: types.h:365
Int16 simulator_step
simulator step interval msec
Definition: types.h:412
Int32 ball_weight
ball weight
Definition: types.h:371
Int32 ball_rand
noise added to ball movement
Definition: types.h:370
Int32 landmark_dist_quantize_step_r
team left quantize step of distance for landmark
Definition: types.h:433
Int32 effort_init
normal player dash effort init
Definition: types.h:356
Int32 effort_min
normal player dash effrot min
Definition: types.h:358
Int16 clang_mess_per_cycle
online coach can send CLang advise per this cycle
Definition: types.h:410
Int16 send_step
udp send step interval msec
Definition: types.h:413
Int16 online_coach_look_step
online coach's look interval step
Definition: types.h:439
Int16 clang_meta_win
window of coach lauguage meta message
Definition: types.h:406
Int32 slowness_on_top_for_right_team
flag for right team dash power rate reduction on field top area
Definition: types.h:441
Int32 corner_kick_margin
corner kick margin
Definition: types.h:398
Int32 offside_kick_margin
offside kick margin
Definition: types.h:425
Int16 clang_advice_win
window of coach language advice message
Definition: types.h:407
Int16 fullstate_l
flag for left team's fullstate info receive
Definition: types.h:457
Int32 dir_quantize_step_r
team right quantize step of direction
Definition: types.h:435
Int32 player_accel_max
normal player accel max
Definition: types.h:349
Int32 dir_quantize_step
quantize step of direction
Definition: types.h:429
Int32 stamina_inc
normal player stamina inc
Definition: types.h:351
Int32 player_rand
noize added to normal player movement
Definition: types.h:346
Int32 landmark_dist_quantize_step
quantize step of distance for landmark
Definition: types.h:428
Int16 wind_none
wind factor is none
Definition: types.h:400
Int16 clang_mess_delay
coach language advise message is delayed this cycle
Definition: types.h:409
Int32 tackle_width
tackle area width
Definition: types.h:453
Int32 ball_size
ball size
Definition: types.h:368
Int32 max_tackle_power
allowed maximum tackle power
Definition: types.h:448
Int16 player_hear_inc
player hear_capacity_inc
Definition: types.h:419
Int16 goalie_max_moves
goalie max moves after a catch
Definition: types.h:397
Int32 offside_active_area
offside active area size
Definition: types.h:399
Int32 control_radius_width
(control radius) - (plyaer size)
Definition: types.h:378
Int32 min_power
min power
Definition: types.h:380
Int32 visible_angle
visible angle
Definition: types.h:387
Int32 player_rand_factor_l
factor to multiple prand for left team
Definition: types.h:364
Int32 ka_width
keep away region width
Definition: types.h:444
Int16 clang_define_win
window of coach language define message
Definition: types.h:405
Int32 effort_dec_thr
normal player dash effort decriment threshold
Definition: types.h:357
Int32 kickable_margin
normal player's kickable margin
Definition: types.h:376
Int16 drop_ball_time
automatically drop_ball waiting cycle
Definition: types.h:459
Int32 catch_probability
goalie catchable possibility
Definition: types.h:396
Int32 ka_length
keep away region length
Definition: types.h:443
Int32 catch_area_w
goalie catchable area width
Definition: types.h:395
Int32 goal_width
goal width
Definition: types.h:342
Int16 player_say_msg_size
string size of say message
Definition: types.h:417
Int32 inertia_moment
related to player's turn action
Definition: types.h:343
Int32 min_neck_angle
min neck angle
Definition: types.h:386
Int16 point_to_ban
player continue to point to the same point at least during this cycle
Definition: types.h:463
Int32 control_radius
control radius
Definition: types.h:377
Int32 recover_dec
normal player recovery decriment
Definition: types.h:355
Int32 kick_rand
noise added directly to normal player's kick
Definition: types.h:362
Int16 team_actuator_noise
flag whether to use team specific actuator noise
Definition: types.h:363
Int32 min_neck_moment
min neck moment
Definition: types.h:384
Int16 catch_ban_cycle
goalie catch ban cycle
Definition: types.h:421
Int32 wind_ang
wind angle for rand
Definition: types.h:391
Int32 catch_area_l
goalie catchable area length
Definition: types.h:394
Int16 kickoff_offside
flag for permit kick off offside
Definition: types.h:424
Int16 synch_micro_sleep
the number of microseconds to sleep while waiting for players */
Definition: types.h:462
Int32 player_weight
normal player weight
Definition: types.h:347
Int32 max_power
max power
Definition: types.h:379
Int16 synch_mode
flag for using synchronized mode
Definition: types.h:460
Int16 sense_body_step
sense_body interval step msec
Definition: types.h:415
Int32 max_neck_moment
max neck moment
Definition: types.h:383
Int16 synch_offset
wheh sync_mode, server decide the message sent to clients before this number[ms]
Definition: types.h:461
Int16 point_to_duration
point_to command has effectiveness during this cycle
Definition: types.h:464
Int32 recover_min
normal player recovery min
Definition: types.h:354
Int32 wind_rand
wind noise for force
Definition: types.h:392
Int32 dist_quantize_step_r
team left quantize step of distance
Definition: types.h:431
Int32 kick_rand_factor_r
factor to multiple kick_rand for right team
Definition: types.h:367
Int16 player_hear_max
player hear_capacity_max
Definition: types.h:418
Int32 player_size
normal player size
Definition: types.h:344
Int32 dash_power_rate
normal player's dash power rate
Definition: types.h:374
Int16 slow_down_factor
factor to slow down simulator and send intervals
Definition: types.h:422
Int32 effort_inc_thr
normal player dash effort incriment threshold
Definition: types.h:360
Int32 tackle_dist
forward tackle area length
Definition: types.h:451
Int32 ball_speed_max
ball speed max
Definition: types.h:372
Int32 dir_quantize_step_l
team left quantize step of direction
Definition: types.h:434
Int32 kick_rand_factor_l
factor to multiple kick_rand for left team
Definition: types.h:366
Int32 ball_accel_max
ball acceleration max
Definition: types.h:373
Int16 use_wind_random
wind factor is random
Definition: types.h:401
Int32 kick_power_rate
normal player's kick power rate
Definition: types.h:375
Int32 max_moment
max moment
Definition: types.h:381
Int32 ball_decay
ball speed decay
Definition: types.h:369
Int16 use_offside
flag for using off side rule
Definition: types.h:423
Int32 dist_quantize_step_l
team right quantize step of distance
Definition: types.h:430
Int32 min_moment
min moment
Definition: types.h:382
Int16 coach_with_referee_mode
coach with referee mode
Definition: types.h:437
Int32 dist_quantize_step
quantize step of distance
Definition: types.h:427
Int32 visible_distance
visible distance
Definition: types.h:388
Int32 ball_stuck_area
automatic drop ball threshold while play_on
Definition: types.h:446
view data.
Definition: types.h:297
player_t pos[MAX_PLAYER *2]
player info
Definition: types.h:299
ball_t ball
ball info
Definition: types.h:298
Int16 time
game time
Definition: types.h:300
view data of rcssmonitor v2 protocol
Definition: types.h:283
player_t pos[MAX_PLAYER *2]
all player info
Definition: types.h:287
char pmode
playmode id
Definition: types.h:284
team_t team[2]
team info
Definition: types.h:285
Int16 time
game time
Definition: types.h:288
ball_t ball
ball info
Definition: types.h:286
view data of rcssmonitor v1 protocol
Definition: types.h:154
Int16 time
game time
Definition: types.h:158
char pmode
playmode id
Definition: types.h:155
pos_t pos[MAX_PLAYER *2+1]
all movable objects
Definition: types.h:157
team_t team[2]
team date
Definition: types.h:156
team data
Definition: types.h:145
char name[16]
team name string
Definition: types.h:146
Int16 score
score
Definition: types.h:147
the type definition set for the RCSSServer2D
SideID
side type definition
Definition: types.h:47
PlayMode
playmode types defined in rcssserver/src/types.h
Definition: types.h:130
constexpr int MAX_PLAYER
max player number in one team
Definition: types.h:38