// ignore_for_file: non_constant_identifier_names, camel_case_types, missing_return, unused_import, unused_local_variable, dead_code, unnecessary_cast
//////////////////////////////////////////////////////////
// GENERATED BY FLUTTIFY. DO NOT EDIT IT.
//////////////////////////////////////////////////////////

enum TXEAVRoomRenderMode {
  AVROOM_RENDER_MODE_FILL_SCREEN /* 0 */,
  AVROOM_RENDER_MODE_FILL_EDGE /* null */
}

extension TXEAVRoomRenderModeToX on TXEAVRoomRenderMode {
  int toValue() {
    switch (this) {
      case TXEAVRoomRenderMode.AVROOM_RENDER_MODE_FILL_SCREEN: return 0;
      case TXEAVRoomRenderMode.AVROOM_RENDER_MODE_FILL_EDGE: return TXEAVRoomRenderMode.AVROOM_RENDER_MODE_FILL_EDGE.index + 0;
      default: return 0;
    }
  }
}

extension TXEAVRoomRenderModeFromX on int {
  TXEAVRoomRenderMode toTXEAVRoomRenderMode() {
    switch (this) {
      case 0: return TXEAVRoomRenderMode.AVROOM_RENDER_MODE_FILL_SCREEN;
      default: return TXEAVRoomRenderMode.values[this + 0];
    }
  }
}