CRaPI - Correct Robust and Perfect API

RefereeMessage Enumeration

A type-safe representation of the different referee messages

public enum RefereeMessage

Members

Member NameDescription
back_pass_lLeft team did a back-pass to the goalie (this message is undocumented in the manual).
back_pass_rRight team did a back-pass to the goalie (this message is undocumented in the manual).
free_kick_fault_lLeft team performed an illegal free kick (this message is undocumented in the manual).
free_kick_fault_rRight team performed an illegal free kick (this message is undocumented in the manual).
foul_lAnnounce that left team has made a foul. Subsequent play mode (0 cycles): free_kick_r
foul_rAnnounce that right team has made a foul. Subsequent play mode (0 cycles): free_kick_l
goalie_catch_ball_lSubsequent play mode (0 cycles): free_kick_r (seems odd?)
goalie_catch_ball_rSubsequent play mode (0 cycles): free_kick_l (seems odd?)
goal_l_Not complete! Server sends goal_l_n, which announces the n:th goal for left team. Subsequent play mode (50 cycles): kick_off_r
goal_r_Not complete! Server sends goal_r_n, which announces the n:th goal for right team. Subsequent play mode (50 cycles): kick_off_l
half_timeSubsequent play mode (0 cycles): before_kick_off
time_extendedSubsequent play mode (0 cycles): before_kick_off
time_upSent once the game is over (if the time >= second half and the scores for each team are different). Subsequent play mode (0 cycles): time_over
time_up_without_a_teamSent if there was no opponent until the end of the second half. Subsequent play mode (0 cycles): time_over
noneUsed if the Referee-message could not be recognized.

Requirements

Namespace: TeamYaffa.CRaPI

Assembly: CRaPI (in CRaPI.dll)

See Also

TeamYaffa.CRaPI Namespace