ConfigCode.cs 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. using System.Reflection;
  2. namespace NTERA.EmuEra.Game.EraEmu.Config
  3. {
  4. //難読化用属性。enum.ToString()やenum.Parse()を行うなら(Exclude=true)にすること。
  5. [Obfuscation(Exclude=true)]
  6. internal enum DisplayWarningFlag
  7. {
  8. IGNORE = 0,
  9. LATER = 1,
  10. ONCE = 2,
  11. DISPLAY = 3
  12. }
  13. [Obfuscation(Exclude=true)]
  14. internal enum ReduceArgumentOnLoadFlag
  15. {
  16. YES = 0,
  17. ONCE = 1,
  18. NO = 2
  19. }
  20. [Obfuscation(Exclude=true)]
  21. public enum TextDrawingMode
  22. {
  23. GRAPHICS = 0,
  24. TEXTRENDERER = 1,
  25. WINAPI = 2
  26. }
  27. [Obfuscation(Exclude = true)]
  28. internal enum UseLanguage
  29. {
  30. JAPANESE = 0,
  31. KOREAN = 1,
  32. CHINESE_HANS = 2,
  33. CHINESE_HANT = 3
  34. }
  35. [Obfuscation(Exclude = true)]
  36. internal enum TextEditorType
  37. {
  38. SAKURA = 0,
  39. TERAPAD = 1,
  40. EMEDITOR = 2,
  41. USER_SETTING = 3
  42. }
  43. //数字に意味は無い。
  44. [Obfuscation(Exclude = true)]
  45. internal enum ConfigCode
  46. {
  47. IgnoreCase = 0,
  48. UseRenameFile = 1,
  49. UseReplaceFile = 2,
  50. UseMouse = 3,
  51. UseMenu = 4,
  52. UseDebugCommand = 5,
  53. AllowMultipleInstances = 6,
  54. AutoSave = 7,
  55. SizableWindow = 8,
  56. TextDrawingMode = 9,
  57. UseImageBuffer = 10,
  58. WindowX = 11,
  59. WindowY = 12,
  60. MaxLog = 13,
  61. PrintCPerLine = 14,
  62. PrintCLength = 15,
  63. FontName = 16,
  64. FontSize = 17,
  65. LineHeight = 18,
  66. ForeColor = 19,
  67. BackColor = 20,
  68. FocusColor = 21,
  69. LogColor = 22,
  70. FPS = 23,
  71. SkipFrame = 24,
  72. InfiniteLoopAlertTime = 25,
  73. DisplayWarningLevel = 26,
  74. DisplayReport = 27,
  75. ReduceArgumentOnLoad = 28,
  76. //ReduceFormattedStringOnLoad = 29,
  77. IgnoreUncalledFunction = 30,
  78. FunctionNotFoundWarning = 31,
  79. FunctionNotCalledWarning = 32,
  80. //IgnoreWarningFiles = 33,
  81. ChangeMasterNameIfDebug = 34,
  82. LastKey = 35,
  83. ButtonWrap = 36,
  84. SearchSubdirectory = 37,
  85. SortWithFilename = 38,
  86. SetWindowPos = 39,
  87. WindowPosX = 40,
  88. WindowPosY = 41,
  89. ScrollHeight = 42,
  90. SaveDataNos = 43,
  91. WarnBackCompatibility = 44,
  92. AllowFunctionOverloading = 45,
  93. WarnFunctionOverloading = 46,
  94. WindowMaximixed = 47,
  95. TextEditor = 48,
  96. EditorType = 99,
  97. EditorArgument = 49,
  98. WarnNormalFunctionOverloading = 50,
  99. CompatiErrorLine = 51,
  100. CompatiCALLNAME = 52,
  101. DebugShowWindow = 53,
  102. DebugWindowTopMost = 54,
  103. DebugWindowWidth = 55,
  104. DebugWindowHeight = 56,
  105. DebugSetWindowPos = 57,
  106. DebugWindowPosX = 58,
  107. DebugWindowPosY = 59,
  108. UseSaveFolder = 60,
  109. CompatiRAND = 61,
  110. CompatiDRAWLINE = 62,
  111. CompatiFunctionNoignoreCase,
  112. SystemAllowFullSpace,
  113. SystemSaveInUTF8,
  114. CompatiLinefeedAs1739,
  115. useLanguage,
  116. SystemSaveInBinary,
  117. CompatiFuncArgAutoConvert,
  118. CompatiFuncArgOptional,
  119. AllowLongInputByMouse,
  120. CompatiCallEvent,
  121. SystemIgnoreTripleSymbol,
  122. CompatiSPChara,
  123. TimesNotRigorousCalculation,
  124. //一文字変数の禁止オプションを考えた名残
  125. //ForbidOneCodeVariable,
  126. SystemNoTarget,
  127. CBUseClipboard,
  128. CBIgnoreTags,
  129. CBReplaceTags,
  130. CBNewLinesOnly,
  131. CBClearBuffer,
  132. CBTriggerLeftClick,
  133. CBTriggerMiddleClick,
  134. CBTriggerDoubleLeftClick,
  135. CBTriggerAnyKeyWait,
  136. CBTriggerInputWait,
  137. CBMaxCB,
  138. CBBufferSize,
  139. CBScrollCount,
  140. CBMinTimer,
  141. AnchorCustomIcon, // Takes a path relative to the exe, or an absolute path.
  142. MoneyLabel = 100,
  143. MoneyFirst = 101,
  144. LoadLabel = 102,
  145. MaxShopItem = 103,
  146. DrawLineString = 104,
  147. BarChar1 = 105,
  148. BarChar2 = 106,
  149. TitleMenuString0 = 107,
  150. TitleMenuString1 = 108,
  151. ComAbleDefault = 109,
  152. StainDefault = 110,
  153. TimeupLabel = 111,
  154. ExpLvDef = 112,
  155. PalamLvDef = 113,
  156. pbandDef = 114,
  157. RelationDef = 115,
  158. UseKeyMacro = 162
  159. }
  160. }