I'm kind of figuring that the Shield Imploder and Alloy Burner Missile are typos, so I've decided to use the following algorithm:
Code:
public WeaponInfo.FiringType GetFiringType()
{
if( Type.Equals( "Direct Fire" )
|| Type.Equals( "Point-Defense" ) )
{
if( DeliveryType.Equals( "Energy Beam" ) )
{
return FiringType.BEAM;
}
else if( DeliveryType.Equals( "Energy Bolt" )
|| DeliveryType.Equals( "Missile" )
|| DeliveryType.Equals( "Projectile" ) )
{
return FiringType.BOLT;
}
}
else if( Type.Equals( "Seeking" ) )
{
if( DeliveryType.Equals( "Missile" ) )
{
return FiringType.SEEKER;
}
}
else if( Type.Equals( "Warhead" ) )
{
if( DeliveryType.Equals( "Warhead" ) )
{
return FiringType.BEAM;
}
}
return FiringType.NONE;
}
In addition, "Weapon Beam Speed" and "Seeker Turn Rate" seem to be optional data.