Skip to content

Commit 24b75fc

Browse files
committed
[doc] Deprecate the GOAL commands
1 parent 61b3125 commit 24b75fc

File tree

2 files changed

+71
-69
lines changed

2 files changed

+71
-69
lines changed

pkg/refproto/ssl_referee.pb.go

Lines changed: 67 additions & 66 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/refproto/ssl_referee.proto

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,10 @@ message Referee {
9797
// The yellow team just scored a goal.
9898
// For information only.
9999
// For rules compliance, teams must treat as STOP.
100-
GOAL_YELLOW = 14;
101-
// The blue team just scored a goal.
102-
GOAL_BLUE = 15;
100+
// Deprecated: Use the score field from the team infos instead. That way, you can also detect revoked goals.
101+
GOAL_YELLOW = 14 [deprecated = true];
102+
// The blue team just scored a goal. See also GOAL_YELLOW.
103+
GOAL_BLUE = 15 [deprecated = true];
103104
// Equivalent to STOP, but the yellow team must pick up the ball and
104105
// drop it in the Designated Position.
105106
BALL_PLACEMENT_YELLOW = 16;

0 commit comments

Comments
 (0)