Changeset 104
- Timestamp:
- Jul 24, 2014, 3:37:08 PM (10 years ago)
- Location:
- binary-improvements
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/NamePatcher/NamePatcher.cs
r93 r104 59 59 { 60 60 NameNormalizer.setName (mainModule.GetType ("ItemBlock").BaseType.Resolve (), "ItemBase"); 61 62 foreach (FieldDefinition fd in mainModule.GetType ("Authenticator").Fields) { 63 TypeReference fdType = fd.FieldType; 64 if (fdType.FullName.Contains ("Dictionary") && fdType.FullName.Contains ("System.String")) { 65 Console.WriteLine ("Renaming and making public Authenticator field -> usersToIDs"); 66 fd.Attributes = fd.Attributes & (~Mono.Cecil.FieldAttributes.Private) | Mono.Cecil.FieldAttributes.Public; 67 NameNormalizer.setName (fd, "usersToIDs"); 68 } 69 } 61 70 62 71 foreach (FieldDefinition fd in mainModule.GetType("PlayerDataFile").Fields) { -
binary-improvements/NamePatcher/NamePatcher.userprefs
r95 r104 3 3 <MonoDevelop.Ide.Workbench ActiveDocument="NamePatcher.cs"> 4 4 <Files> 5 <File FileName="NamePatcher.cs" Line="6 7" Column="44" />5 <File FileName="NamePatcher.cs" Line="64" Column="92" /> 6 6 <File FileName="NameNormalizer.cs" Line="188" Column="1" /> 7 7 </Files> -
binary-improvements/assembly-patcher/Assembly-Patcher.userprefs
r97 r104 3 3 <MonoDevelop.Ide.Workbench ActiveDocument="Main.cs"> 4 4 <Files> 5 <File FileName="Main.cs" Line=" 12" Column="2" />5 <File FileName="Main.cs" Line="20" Column="4" /> 6 6 <File FileName="AssemblyInfo.cs" Line="21" Column="1" /> 7 7 </Files>
Note:
See TracChangeset
for help on using the changeset viewer.