No oil=ruined engine?

Riding 1994 200trx type 2 a bit ago, it started to bog down and then it died. Couldn’t get it restarted so it got towed home. Checked the oil and found that the crankcase is dry, no oil. It was checked it before taking off, so there must’ve been some leak! The question being, is the engine is ruined? It did make some clanking noises when trying start it after it died. It does still turn over.