Skip to content

Commit da41a1e

Browse files
committed
[refactoring] Renaming remaining occurrences of *Continue to *Skipped
1 parent 15bc073 commit da41a1e

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

internal/app/controller/gameEvent.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ const (
3939
GameEventBotInterferedPlacement GameEventType = "botInterferedPlacement"
4040
GameEventBotCrashDrawn GameEventType = "botCrashDrawn"
4141
GameEventBotCrashUnique GameEventType = "botCrashUnique"
42-
GameEventBotCrashUniqueSkipped GameEventType = "botCrashUniqueContinue"
42+
GameEventBotCrashUniqueSkipped GameEventType = "botCrashUniqueSkipped"
4343
GameEventBotPushedBot GameEventType = "botPushedBot"
44-
GameEventBotPushedBotSkipped GameEventType = "botPushedBotContinue"
44+
GameEventBotPushedBotSkipped GameEventType = "botPushedBotSkipped"
4545
GameEventBotHeldBallDeliberately GameEventType = "botHeldBallDeliberately"
4646
GameEventBotTippedOver GameEventType = "botTippedOver"
4747
GameEventBotTooFastInStop GameEventType = "botTooFastInStop"
@@ -312,9 +312,9 @@ type GameEventDetails struct {
312312
BotKickedBallTooFast *refproto.GameEvent_BotKickedBallTooFast `json:"botKickedBallTooFast,omitempty"`
313313
BotDribbledBallTooFar *refproto.GameEvent_BotDribbledBallTooFar `json:"botDribbledBallTooFar,omitempty"`
314314
BotCrashUnique *refproto.GameEvent_BotCrashUnique `json:"botCrashUnique,omitempty"`
315-
BotCrashUniqueSkipped *refproto.GameEvent_BotCrashUnique `json:"botCrashUniqueContinue,omitempty"`
315+
BotCrashUniqueSkipped *refproto.GameEvent_BotCrashUnique `json:"botCrashUniqueSkipped,omitempty"`
316316
BotPushedBot *refproto.GameEvent_BotPushedBot `json:"botPushedBot,omitempty"`
317-
BotPushedBotSkipped *refproto.GameEvent_BotPushedBot `json:"botPushedBotContinue,omitempty"`
317+
BotPushedBotSkipped *refproto.GameEvent_BotPushedBot `json:"botPushedBotSkipped,omitempty"`
318318
BotHeldBallDeliberately *refproto.GameEvent_BotHeldBallDeliberately `json:"botHeldBallDeliberately,omitempty"`
319319
AttackerDoubleTouchedBall *refproto.GameEvent_AttackerDoubleTouchedBall `json:"attackerDoubleTouchedBall,omitempty"`
320320
AttackerTooCloseToDefenseArea *refproto.GameEvent_AttackerTooCloseToDefenseArea `json:"attackerTooCloseToDefenseArea,omitempty"`

src/components/events/EventAccordion.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424
import BallLeftFieldTouchLine from "./inputs/BallLeftFieldTouchLine"
2525
import BotCrashDrawn from "./inputs/BotCrashDrawn"
2626
import BotCrashUnique from "./inputs/BotCrashUnique"
27-
import BotCrashUniqueContinue from "./inputs/BotCrashUniqueContinue"
27+
import BotCrashUniqueSkipped from "./inputs/BotCrashUniqueSkipped"
2828
import BotDribbledBallTooFar from "./inputs/BotDribbledBallTooFar"
2929
import BotHeldBallDeliberately from "./inputs/BotHeldBallDeliberately"
3030
import BotInterferedPlacement from "./inputs/BotInterferedPlacement"
3131
import BotKickedBallTooFast from "./inputs/BotKickedBallTooFast"
3232
import BotPushedBot from "./inputs/BotPushedBot"
33-
import BotPushedBotContinue from "./inputs/BotPushedBotContinue"
33+
import BotPushedBotSkipped from "./inputs/BotPushedBotSkipped"
3434
import BotTippedOver from "./inputs/BotTippedOver"
3535
import BotTooFastInStop from "./inputs/BotTooFastInStop"
3636
import ChippedGoal from "./inputs/ChippedGoal"
@@ -64,13 +64,13 @@
6464
BallLeftFieldTouchLine,
6565
BotCrashDrawn,
6666
BotCrashUnique,
67-
BotCrashUniqueContinue,
67+
BotCrashUniqueSkipped,
6868
BotDribbledBallTooFar,
6969
BotHeldBallDeliberately,
7070
BotInterferedPlacement,
7171
BotKickedBallTooFast,
7272
BotPushedBot,
73-
BotPushedBotContinue,
73+
BotPushedBotSkipped,
7474
BotTippedOver,
7575
BotTooFastInStop,
7676
ChippedGoal,

src/components/events/inputs/BotCrashUniqueContinue.vue renamed to src/components/events/inputs/BotCrashUniqueSkipped.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import {convertStringLocation} from "../../../refereeState";
2020
2121
export default {
22-
name: "BotCrashUniqueContinue",
22+
name: "BotCrashUniqueSkipped",
2323
components: {BotSelection, TeamSelection, LocationSelection},
2424
data() {
2525
return {
@@ -35,9 +35,9 @@
3535
sendEvent: function () {
3636
this.$socket.sendObj({
3737
gameEvent: {
38-
type: 'botCrashUniqueContinue',
38+
type: 'botCrashUniqueSkipped',
3939
details: {
40-
['botCrashUniqueContinue']: {
40+
['botCrashUniqueSkipped']: {
4141
by_team: this.model.team.toLocaleUpperCase(),
4242
violator: parseInt(this.model.violator.id),
4343
victim: parseInt(this.model.victim.id),

src/components/events/inputs/BotPushedBotContinue.vue renamed to src/components/events/inputs/BotPushedBotSkipped.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import {convertStringLocation} from "../../../refereeState";
2020
2121
export default {
22-
name: "BotPushedBotContinue",
22+
name: "BotPushedBotSkipped",
2323
components: {BotSelection, TeamSelection, LocationSelection},
2424
data() {
2525
return {
@@ -35,9 +35,9 @@
3535
sendEvent: function () {
3636
this.$socket.sendObj({
3737
gameEvent: {
38-
type: 'botPushedBotContinue',
38+
type: 'botPushedBotSkipped',
3939
details: {
40-
['botPushedBotContinue']: {
40+
['botPushedBotSkipped']: {
4141
by_team: this.model.team.toLocaleUpperCase(),
4242
violator: parseInt(this.model.violator.id),
4343
victim: parseInt(this.model.victim.id),

src/gameEvents.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export const foulEvents = [
117117
},
118118
{
119119
name: 'Bot crashed into another bot - decided to continue',
120-
component: 'BotCrashUniqueContinue',
120+
component: 'BotCrashUniqueSkipped',
121121
type: 'auto'
122122
},
123123
{
@@ -127,7 +127,7 @@ export const foulEvents = [
127127
},
128128
{
129129
name: 'One bot pushed another one - decided to continue',
130-
component: 'BotPushedBotContinue',
130+
component: 'BotPushedBotSkipped',
131131
type: 'auto'
132132
},
133133
{

0 commit comments

Comments
 (0)