AssemblyTool/Templates/Settings.jsonc

75 lines
4.5 KiB
JSON
Raw Normal View History

2024-06-12 12:42:50 -04:00
{
2024-06-13 17:37:14 -04:00
"AppSettings": {
2024-06-17 16:20:20 -04:00
"Debug": false, // Enables extra debug logging, slows down the program by alot
2024-06-17 17:29:26 -04:00
"SilentMode": true // The tool will stop and prompt you to continue on every remapping if disable
2024-06-14 18:07:01 -04:00
},
"Remapper": {
2024-06-23 03:09:39 -04:00
"AssemblyPath": "", // Path to the assembly we want to remap
"OutputPath": "", // Path including the filename and extension we want to write the changes to
"MappingPath": "", // Path to the mapping file
2024-06-18 23:45:00 -04:00
"UseProjectMappings": true, // Use the active cross compiler projects mappings
2024-06-17 18:19:17 -04:00
"MappingSettings": {
"RenameFields": true, // Names of fields of the matched type will be renamed to the type name with approproiate convention
"RenameProperties": true, // Names of properties of the matched type will be renamed to the type name with approproiate convention
"Publicize": true, // Publicize all types, methods, and properties : NOTE: Not run until after the remap has completed
"Unseal": true // Unseal all types : NOTE: Not run until after the remap has completed
}
2024-06-13 17:55:06 -04:00
},
"AutoMapper": {
2024-06-23 03:09:39 -04:00
"AssemblyPath": "", // Path to the assembly we want to remap
"OutputPath": "", // Path including the filename and extension we want to write the changes to
2024-06-17 16:20:20 -04:00
"RequiredMatches": 5, // Minimum number of times a member must have this name in the assembly before considering it for remapping
"MinLengthToMatch": 7, // Minimum length of the field/property name in code before it will be considered for a rename
"SearchMethods": true, // Will attempt to map types from method meta data and parameters
2024-06-17 18:19:17 -04:00
"MappingSettings": {
"RenameFields": true, // Names of fields of the matched type will be renamed to the type name with approproiate convention
"RenameProperties": true, // Names of properties of the matched type will be renamed to the type name with approproiate convention
"Publicize": true, // Publicize all types, methods, and properties : NOTE: Not run until after the remap has completed
"Unseal": true // Unseal all types : NOTE: Not run until after the remap has completed
},
2024-06-17 16:20:20 -04:00
"TypesToIgnore": [ // Any member name you want to ignore while iterating through the assembly
2024-06-15 16:21:12 -04:00
"Boolean",
"List",
"Dictionary",
"Byte",
"Int16",
"Int32",
"Func",
"Action",
"Object",
"String",
"Vector2",
"Vector3",
"Vector4",
"Stream",
"HashSet",
"Double",
"IEnumerator"
],
2024-06-17 16:20:20 -04:00
"TokensToMatch": [ // The auto mapper will look for these tokens in class names and prioritize those
2024-06-15 16:45:34 -04:00
"Class",
2024-06-15 19:13:52 -04:00
"GClass",
"GStruct",
2024-06-21 21:46:10 -04:00
"Interface",
2024-06-15 19:13:52 -04:00
"GInterface"
2024-06-15 16:45:34 -04:00
],
2024-06-17 16:20:20 -04:00
"PropertyFieldBlackList": [ // Property or fields names to ignore in the automap, these are case sanitized so case does not matter
2024-06-15 16:45:34 -04:00
"Columns",
"mColumns",
"Template",
"Condition",
"Conditions",
2024-06-15 17:36:40 -04:00
"Counter",
2024-06-15 16:45:34 -04:00
"Instance",
2024-06-15 21:05:06 -04:00
"Command",
"_template"
2024-06-16 16:21:42 -04:00
],
2024-06-17 16:20:20 -04:00
"MethodParamaterBlackList": [ // method parameter names to ignore in the automap, these are case sanitized so case does not matter
2024-06-13 18:09:31 -04:00
]
2024-06-17 18:19:17 -04:00
},
2024-06-18 17:35:31 -04:00
"CrossCompiler": {
2024-06-18 21:06:37 -04:00
"AutoLoadLastActiveProject": true, // Autoload last active project
2024-06-23 03:09:39 -04:00
"LastLoadedProject": "" // Last loaded project path
2024-06-13 17:37:14 -04:00
}
2024-06-12 12:42:50 -04:00
}