mirror of
https://github.com/correl/mage.git
synced 2024-11-28 19:19:55 +00:00
Removed unuseful proto fields. Added a better pom.xml documentation. Removed an unuseful logging.
This commit is contained in:
parent
379e61f98a
commit
46e560bd94
4 changed files with 4 additions and 9 deletions
|
@ -16,7 +16,6 @@ public class TableRecorderImpl implements TableRecorder {
|
|||
|
||||
public void record(Table table) {
|
||||
TableProto proto = table.toProto();
|
||||
logger.info("Adding record:\n" + proto.toString());
|
||||
TableRecordRepository.instance.add(new TableRecord(proto, proto.getEndTimeMs()));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- http://vlkan.com/blog/post/2015/11/27/maven-protobuf/ -->
|
||||
<!-- The plugins below are added by following http://vlkan.com/blog/post/2015/11/27/maven-protobuf/ -->
|
||||
<!-- copy protoc binary into build directory -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
|
@ -167,7 +167,7 @@
|
|||
|
||||
<finalName>mage</finalName>
|
||||
|
||||
<!-- http://vlkan.com/blog/post/2015/11/27/maven-protobuf/ -->
|
||||
<!-- The extension below is added added by following http://vlkan.com/blog/post/2015/11/27/maven-protobuf/ -->
|
||||
<extensions>
|
||||
<!-- provides os.detected.classifier (i.e. linux-x86_64, osx-x86_64) property -->
|
||||
<extension>
|
||||
|
@ -178,7 +178,7 @@
|
|||
</extensions>
|
||||
</build>
|
||||
|
||||
<!-- http://vlkan.com/blog/post/2015/11/27/maven-protobuf/ -->
|
||||
<!-- The properties below are added added by following http://vlkan.com/blog/post/2015/11/27/maven-protobuf/ -->
|
||||
<properties>
|
||||
<!-- protobuf paths -->
|
||||
<protobuf.input.directory>${project.basedir}/src/main/proto</protobuf.input.directory>
|
||||
|
|
|
@ -233,8 +233,6 @@ public class TournamentPlayer {
|
|||
return TourneyPlayerProto.newBuilder()
|
||||
.setName(this.player.getName())
|
||||
.setPlayerType(this.playerType)
|
||||
.setStateInfo(this.stateInfo)
|
||||
.setDisconnectInfo(this.disconnectInfo)
|
||||
.setQuit(this.quitStatus)
|
||||
.build();
|
||||
}
|
||||
|
|
|
@ -46,9 +46,7 @@ message TourneyPlayerProto {
|
|||
optional string name = 1;
|
||||
optional string player_type = 2;
|
||||
optional string replaced_player_name = 3;
|
||||
optional string state_info = 4;
|
||||
optional string disconnect_info = 5;
|
||||
optional TourneyQuitStatus quit = 6;
|
||||
optional TourneyQuitStatus quit = 4;
|
||||
}
|
||||
|
||||
enum TourneyQuitStatus {
|
||||
|
|
Loading…
Reference in a new issue