@@ -25,31 +25,32 @@ public class ExportResoniteToJson : ResoniteMod
25
25
26
26
private static ModConfiguration Config ;
27
27
28
-
28
+ [ AutoRegisterConfigKey ]
29
29
private static readonly ModConfigurationKey < bool > EXPORT_JSON = new ModConfigurationKey < bool > (
30
30
"Export Json Type" , "Enable exprting to Json file type. Changing this setting requires a game restart to apply." ,
31
31
( ) => true
32
32
) ;
33
33
34
+ [ AutoRegisterConfigKey ]
34
35
private static readonly ModConfigurationKey < bool > EXPORT_BSON = new ModConfigurationKey < bool > (
35
36
"Export Bson Type" , "Enable exprting to Bson file type. Changing this setting requires a game restart to apply." ,
36
37
( ) => false
37
38
) ;
38
39
40
+ [ AutoRegisterConfigKey ]
39
41
private static readonly ModConfigurationKey < bool > EXPORT_7ZBSON = new ModConfigurationKey < bool > (
40
42
"Export 7zbon Type" , "Enable exprting to 7zbon file type. Changing this setting requires a game restart to apply." ,
41
43
( ) => false
42
44
) ;
43
45
46
+ [ AutoRegisterConfigKey ]
44
47
private static readonly ModConfigurationKey < bool > EXPORT_LZ4BSON = new ModConfigurationKey < bool > (
45
48
"Export LZ4BSON Type" , "Enable exprting to LZ4BSON file type. Changing this setting requires a game restart to apply." ,
46
49
( ) => false
47
50
) ;
48
51
49
52
50
53
51
-
52
-
53
54
// ------------------------------------------------------------------------------------------ //
54
55
/* ========== Our Hook into the game ========== */
55
56
@@ -247,7 +248,6 @@ public static bool IsSupportedFormat(ref bool __result, string file)
247
248
return true ; // call original function
248
249
}
249
250
250
-
251
251
public static bool Load_Prefix ( ref DataTreeDictionary __result , string file , string ext = null )
252
252
{
253
253
if ( ext == null )
@@ -270,31 +270,10 @@ public static bool Load_Prefix(ref DataTreeDictionary __result, string file, str
270
270
271
271
272
272
}
273
-
274
-
275
-
276
-
277
-
278
-
279
-
280
-
281
-
282
-
283
-
284
-
285
-
286
-
287
-
288
-
289
-
290
-
291
273
292
274
293
275
294
276
}
295
277
296
278
297
-
298
-
299
-
300
279
}
0 commit comments