Skip to content

Commit 199df3b

Browse files
committed
Update generated protobuf code (remove unused functions)
1 parent 5edaa2e commit 199df3b

File tree

9 files changed

+0
-376
lines changed

9 files changed

+0
-376
lines changed

frontend/src/proto/ssl_gc_api.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,6 @@ export interface Input {
5353
continueAction?: ContinueAction;
5454
}
5555

56-
function createBaseOutput(): Output {
57-
return {};
58-
}
59-
6056
export const Output = {
6157
fromJSON(object: any): Output {
6258
return {
@@ -78,10 +74,6 @@ export const Output = {
7874
},
7975
};
8076

81-
function createBaseProtocol(): Protocol {
82-
return {};
83-
}
84-
8577
export const Protocol = {
8678
fromJSON(object: any): Protocol {
8779
return {
@@ -102,10 +94,6 @@ export const Protocol = {
10294
},
10395
};
10496

105-
function createBaseProtocolEntry(): ProtocolEntry {
106-
return {};
107-
}
108-
10997
export const ProtocolEntry = {
11098
fromJSON(object: any): ProtocolEntry {
11199
return {
@@ -128,10 +116,6 @@ export const ProtocolEntry = {
128116
},
129117
};
130118

131-
function createBaseInput(): Input {
132-
return {};
133-
}
134-
135119
export const Input = {
136120
fromJSON(object: any): Input {
137121
return {

frontend/src/proto/ssl_gc_change.ts

Lines changed: 0 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,6 @@ export interface Change_NewGameState {
187187
gameState?: GameState;
188188
}
189189

190-
function createBaseStateChange(): StateChange {
191-
return {};
192-
}
193-
194190
export const StateChange = {
195191
fromJSON(object: any): StateChange {
196192
return {
@@ -213,10 +209,6 @@ export const StateChange = {
213209
},
214210
};
215211

216-
function createBaseChange(): Change {
217-
return { change: undefined };
218-
}
219-
220212
export const Change = {
221213
fromJSON(object: any): Change {
222214
return {
@@ -332,10 +324,6 @@ export const Change = {
332324
},
333325
};
334326

335-
function createBaseChange_NewCommand(): Change_NewCommand {
336-
return {};
337-
}
338-
339327
export const Change_NewCommand = {
340328
fromJSON(object: any): Change_NewCommand {
341329
return { command: isSet(object.command) ? Command.fromJSON(object.command) : undefined };
@@ -348,10 +336,6 @@ export const Change_NewCommand = {
348336
},
349337
};
350338

351-
function createBaseChange_ChangeStage(): Change_ChangeStage {
352-
return {};
353-
}
354-
355339
export const Change_ChangeStage = {
356340
fromJSON(object: any): Change_ChangeStage {
357341
return {
@@ -366,10 +350,6 @@ export const Change_ChangeStage = {
366350
},
367351
};
368352

369-
function createBaseChange_SetBallPlacementPos(): Change_SetBallPlacementPos {
370-
return {};
371-
}
372-
373353
export const Change_SetBallPlacementPos = {
374354
fromJSON(object: any): Change_SetBallPlacementPos {
375355
return { pos: isSet(object.pos) ? Vector2.fromJSON(object.pos) : undefined };
@@ -382,10 +362,6 @@ export const Change_SetBallPlacementPos = {
382362
},
383363
};
384364

385-
function createBaseChange_AddYellowCard(): Change_AddYellowCard {
386-
return {};
387-
}
388-
389365
export const Change_AddYellowCard = {
390366
fromJSON(object: any): Change_AddYellowCard {
391367
return {
@@ -403,10 +379,6 @@ export const Change_AddYellowCard = {
403379
},
404380
};
405381

406-
function createBaseChange_AddRedCard(): Change_AddRedCard {
407-
return {};
408-
}
409-
410382
export const Change_AddRedCard = {
411383
fromJSON(object: any): Change_AddRedCard {
412384
return {
@@ -424,10 +396,6 @@ export const Change_AddRedCard = {
424396
},
425397
};
426398

427-
function createBaseChange_YellowCardOver(): Change_YellowCardOver {
428-
return {};
429-
}
430-
431399
export const Change_YellowCardOver = {
432400
fromJSON(object: any): Change_YellowCardOver {
433401
return { forTeam: isSet(object.forTeam) ? teamFromJSON(object.forTeam) : Team.UNKNOWN };
@@ -440,10 +408,6 @@ export const Change_YellowCardOver = {
440408
},
441409
};
442410

443-
function createBaseChange_AddGameEvent(): Change_AddGameEvent {
444-
return {};
445-
}
446-
447411
export const Change_AddGameEvent = {
448412
fromJSON(object: any): Change_AddGameEvent {
449413
return { gameEvent: isSet(object.gameEvent) ? GameEvent.fromJSON(object.gameEvent) : undefined };
@@ -457,10 +421,6 @@ export const Change_AddGameEvent = {
457421
},
458422
};
459423

460-
function createBaseChange_AddPassiveGameEvent(): Change_AddPassiveGameEvent {
461-
return {};
462-
}
463-
464424
export const Change_AddPassiveGameEvent = {
465425
fromJSON(object: any): Change_AddPassiveGameEvent {
466426
return { gameEvent: isSet(object.gameEvent) ? GameEvent.fromJSON(object.gameEvent) : undefined };
@@ -474,10 +434,6 @@ export const Change_AddPassiveGameEvent = {
474434
},
475435
};
476436

477-
function createBaseChange_AddProposal(): Change_AddProposal {
478-
return {};
479-
}
480-
481437
export const Change_AddProposal = {
482438
fromJSON(object: any): Change_AddProposal {
483439
return { proposal: isSet(object.proposal) ? Proposal.fromJSON(object.proposal) : undefined };
@@ -490,10 +446,6 @@ export const Change_AddProposal = {
490446
},
491447
};
492448

493-
function createBaseChange_AcceptProposalGroup(): Change_AcceptProposalGroup {
494-
return {};
495-
}
496-
497449
export const Change_AcceptProposalGroup = {
498450
fromJSON(object: any): Change_AcceptProposalGroup {
499451
return {
@@ -510,10 +462,6 @@ export const Change_AcceptProposalGroup = {
510462
},
511463
};
512464

513-
function createBaseChange_UpdateConfig(): Change_UpdateConfig {
514-
return {};
515-
}
516-
517465
export const Change_UpdateConfig = {
518466
fromJSON(object: any): Change_UpdateConfig {
519467
return {
@@ -532,10 +480,6 @@ export const Change_UpdateConfig = {
532480
},
533481
};
534482

535-
function createBaseChange_UpdateTeamState(): Change_UpdateTeamState {
536-
return {};
537-
}
538-
539483
export const Change_UpdateTeamState = {
540484
fromJSON(object: any): Change_UpdateTeamState {
541485
return {
@@ -591,10 +535,6 @@ export const Change_UpdateTeamState = {
591535
},
592536
};
593537

594-
function createBaseChange_SwitchColors(): Change_SwitchColors {
595-
return {};
596-
}
597-
598538
export const Change_SwitchColors = {
599539
fromJSON(_: any): Change_SwitchColors {
600540
return {};
@@ -606,10 +546,6 @@ export const Change_SwitchColors = {
606546
},
607547
};
608548

609-
function createBaseChange_Revert(): Change_Revert {
610-
return {};
611-
}
612-
613549
export const Change_Revert = {
614550
fromJSON(object: any): Change_Revert {
615551
return { changeId: isSet(object.changeId) ? Number(object.changeId) : 0 };
@@ -622,10 +558,6 @@ export const Change_Revert = {
622558
},
623559
};
624560

625-
function createBaseChange_NewGameState(): Change_NewGameState {
626-
return {};
627-
}
628-
629561
export const Change_NewGameState = {
630562
fromJSON(object: any): Change_NewGameState {
631563
return { gameState: isSet(object.gameState) ? GameState.fromJSON(object.gameState) : undefined };

frontend/src/proto/ssl_gc_common.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,6 @@ export interface RobotId {
9191
team?: Team;
9292
}
9393

94-
function createBaseRobotId(): RobotId {
95-
return {};
96-
}
97-
9894
export const RobotId = {
9995
fromJSON(object: any): RobotId {
10096
return {

frontend/src/proto/ssl_gc_engine.ts

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -325,10 +325,6 @@ export function continueAction_StateToJSON(object: ContinueAction_State): string
325325
}
326326
}
327327

328-
function createBaseGcState(): GcState {
329-
return {};
330-
}
331-
332328
export const GcState = {
333329
fromJSON(object: any): GcState {
334330
return {
@@ -385,10 +381,6 @@ export const GcState = {
385381
},
386382
};
387383

388-
function createBaseGcState_TeamStateEntry(): GcState_TeamStateEntry {
389-
return { key: "" };
390-
}
391-
392384
export const GcState_TeamStateEntry = {
393385
fromJSON(object: any): GcState_TeamStateEntry {
394386
return {
@@ -405,10 +397,6 @@ export const GcState_TeamStateEntry = {
405397
},
406398
};
407399

408-
function createBaseGcState_AutoRefStateEntry(): GcState_AutoRefStateEntry {
409-
return { key: "" };
410-
}
411-
412400
export const GcState_AutoRefStateEntry = {
413401
fromJSON(object: any): GcState_AutoRefStateEntry {
414402
return {
@@ -425,10 +413,6 @@ export const GcState_AutoRefStateEntry = {
425413
},
426414
};
427415

428-
function createBaseGcState_TrackersEntry(): GcState_TrackersEntry {
429-
return { key: "", value: "" };
430-
}
431-
432416
export const GcState_TrackersEntry = {
433417
fromJSON(object: any): GcState_TrackersEntry {
434418
return { key: isSet(object.key) ? String(object.key) : "", value: isSet(object.value) ? String(object.value) : "" };
@@ -442,10 +426,6 @@ export const GcState_TrackersEntry = {
442426
},
443427
};
444428

445-
function createBaseGcStateTeam(): GcStateTeam {
446-
return {};
447-
}
448-
449429
export const GcStateTeam = {
450430
fromJSON(object: any): GcStateTeam {
451431
return {
@@ -472,10 +452,6 @@ export const GcStateTeam = {
472452
},
473453
};
474454

475-
function createBaseTeamAdvantageChoice(): TeamAdvantageChoice {
476-
return {};
477-
}
478-
479455
export const TeamAdvantageChoice = {
480456
fromJSON(object: any): TeamAdvantageChoice {
481457
return {
@@ -492,10 +468,6 @@ export const TeamAdvantageChoice = {
492468
},
493469
};
494470

495-
function createBaseGcStateAutoRef(): GcStateAutoRef {
496-
return {};
497-
}
498-
499471
export const GcStateAutoRef = {
500472
fromJSON(object: any): GcStateAutoRef {
501473
return { connectionVerified: isSet(object.connectionVerified) ? Boolean(object.connectionVerified) : false };
@@ -508,10 +480,6 @@ export const GcStateAutoRef = {
508480
},
509481
};
510482

511-
function createBaseGcStateTracker(): GcStateTracker {
512-
return {};
513-
}
514-
515483
export const GcStateTracker = {
516484
fromJSON(object: any): GcStateTracker {
517485
return {
@@ -536,10 +504,6 @@ export const GcStateTracker = {
536504
},
537505
};
538506

539-
function createBaseBall(): Ball {
540-
return {};
541-
}
542-
543507
export const Ball = {
544508
fromJSON(object: any): Ball {
545509
return {
@@ -556,10 +520,6 @@ export const Ball = {
556520
},
557521
};
558522

559-
function createBaseRobot(): Robot {
560-
return {};
561-
}
562-
563523
export const Robot = {
564524
fromJSON(object: any): Robot {
565525
return {
@@ -576,10 +536,6 @@ export const Robot = {
576536
},
577537
};
578538

579-
function createBaseContinueAction(): ContinueAction {
580-
return {};
581-
}
582-
583539
export const ContinueAction = {
584540
fromJSON(object: any): ContinueAction {
585541
return {

0 commit comments

Comments
 (0)