public static ExplosionType valueOf(int value) {
      switch (value) {
        case 0: return ExplosionNone;
        case 1: return ExplosionNormal;
        case 2: return Radial_Splash;
        case 3: return Enemy_Splash;
        case 4: return Lockdown;
        case 5: return Nuclear_Missile;
        case 6: return Parasite;
        case 7: return Broodlings;
        case 8: return EMP_Shockwave;
        case 9: return Irradiate;
        case 10: return Ensnare;
        case 11: return Plague;
        case 12: return Stasis_Field;
        case 13: return Dark_Swarm;
        case 14: return Consume;
        case 15: return Yamato_Gun;
        case 16: return Restoration;
        case 17: return Disruption_Web;
        case 18: return Corrosive_Acid;
        case 19: return Mind_Control;
        case 20: return Feedback;
        case 21: return Optical_Flare;
        case 22: return Maelstrom;
        case 24: return Air_Splash;
        case 25: return ExplosionUnknown;
        default: return null;
      }
    }