add EndBattle message in API proto