Changeset 128 for binary-improvements/assembly-patcher
- Timestamp:
- Aug 26, 2014, 1:08:25 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/assembly-patcher/Main.cs
r115 r128 20 20 markTypePatched (module, type); 21 21 22 mappingPatch (module); 22 23 consoleOutputPatch (module); 23 24 telnetPatch (module); … … 29 30 Console.WriteLine ("Done"); 30 31 32 } 33 34 private static void mappingPatch (ModuleDefinition module) 35 { 36 TypeDefinition type = module.GetType ("Chunk"); 37 addHook (type, "CalcMapColors", true, 0, true, typeof(MapRendering).GetMethod ("RenderSingleChunk")); 31 38 } 32 39
Note:
See TracChangeset
for help on using the changeset viewer.