Changeset 159 for binary-improvements/assembly-patcher/Main.cs
- Timestamp:
- Sep 3, 2014, 2:35:10 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/assembly-patcher/Main.cs
r144 r159 64 64 TypeDefinition type = module.GetType ("GameManager"); 65 65 addHook (type, "RequestToSpawnPlayer", true, 5, true, typeof(AllocsFixes.AllocsLogFunctions).GetMethod ("RequestToSpawnPlayer")); 66 addHook (type, "PlayerDisconnected", true, 1, false, typeof(AllocsFixes.AllocsLogFunctions).GetMethod ("PlayerDisconnected")); 66 type = module.GetType ("ConnectionManager"); 67 addHook (type, "RemovePlayer", true, 2, false, typeof(AllocsFixes.AllocsLogFunctions).GetMethod ("PlayerDisconnected")); 67 68 } 68 69
Note:
See TracChangeset
for help on using the changeset viewer.