Changeset 142 for binary-improvements/assembly-patcher/Main.cs
- Timestamp:
- Aug 29, 2014, 4:18:16 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/assembly-patcher/Main.cs
r133 r142 50 50 TypeDefinition type = module.GetType ("GameManager"); 51 51 addHook (type, "SavePlayerData", true, 2, true, typeof(AllocsFixes.PlayerDataStuff).GetMethod ("GM_SavePlayerData")); 52 addHook (type, "Awake", true, 0, true, typeof(AllocsFixes.CommandExtensions).GetMethod ("InitCommandExtensions")); 52 addHook (type, "Awake", true, 0, true, typeof(AllocsFixes.StateManager).GetMethod ("Awake")); 53 addHook (type, "Shutdown", true, 0, false, typeof(AllocsFixes.StateManager).GetMethod ("Shutdown")); 53 54 } 54 55
Note:
See TracChangeset
for help on using the changeset viewer.