コード例 #1
0
 private static org.ucam.srcf.assassins.plugins.base.proto.AddPlayer convertAddPlayer(
     AddPlayer addPlayer) {
   return org.ucam.srcf.assassins.plugins.base.proto.AddPlayer.newBuilder()
       .setPlayer(PlayerConverter.convertStorageToProto(addPlayer.getPlayer()))
       .build();
 }
コード例 #2
0
 private static AddPlayer convertAddPlayer(
     org.ucam.srcf.assassins.plugins.base.proto.AddPlayer addPlayer) {
   AddPlayer domainAddPlayer = new AddPlayer();
   domainAddPlayer.setPlayer(PlayerConverter.convertProtoToStorage(addPlayer.getPlayer()));
   return domainAddPlayer;
 }