Changeset 142 for binary-improvements/assembly-patcher
- Timestamp:
- Aug 29, 2014, 4:18:16 PM (10 years ago)
- Location:
- binary-improvements/assembly-patcher
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/assembly-patcher/Assembly-Patcher.csproj
r115 r142 31 31 <Externalconsole>true</Externalconsole> 32 32 </PropertyGroup> 33 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release_Version|AnyCPU' "> 34 <DebugType>none</DebugType> 35 <Optimize>false</Optimize> 36 <OutputPath>..\bin\Release</OutputPath> 37 <WarningLevel>4</WarningLevel> 38 <Externalconsole>true</Externalconsole> 39 </PropertyGroup> 33 40 <ItemGroup> 34 41 <Reference Include="System" /> -
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.