void ProcessBattle(ApiData rpData) { var rData = rpData.GetData <RawBattleBase>(); if (rData.ShipsToConsumeCombatRation != null) { ProcessCombatRation(rData.ShipsToConsumeCombatRation); } if (rData.EscortShipsToConsumeCombatRation != null) { ProcessCombatRation(rData.EscortShipsToConsumeCombatRation); } }