コード例 #1
0
        public override void DoSettingsWindowContents(Rect inRect)
        {
            var l = new Listing_Standard();

            l.Begin(inRect);
            GenTypes_Patch.DoSettingsWindowContents(l);
            AccessTools_TypeByName_Patch.DoSettingsWindowContents(l);
            l.End();
        }
コード例 #2
0
 static void Load(AppDomain __instance, byte[] rawAssembly)
 {
     if (__instance == AppDomain.CurrentDomain)
     {
         GenTypes_Patch.ResetCaches();
         Section_Ctor_Patch.ResetCaches();
         AccessTools_TypeByName_Patch.ResetCaches();
         Log.Msg($"New assembly loaded. Size: {rawAssembly.Length}");
     }
 }