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(); }
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; }