Пример #1
0
 public static void ChangeCharaPostfix(OCIChar __instance)
 {
     if (FBIOpenUp._isenabled)
     {
         Patches.ChangeChara(__instance.charInfo);
     }
 }
Пример #2
0
 public static void AddPostfix(ChaControl _female, OICharInfo _info)
 {
     if (FBIOpenUp._isenabled)
     {
         Patches.ChangeChara(_female);
     }
 }
Пример #3
0
 public static void LoadFileLimitedPostfix(ChaFileControl __instance)
 {
     if (FBIOpenUp._isenabled)
     {
         if (FBIOpenUp.nowGameMode == FBIOpenUp.GameMode.Studio)
         {
             ChaControl chaCtrl = Manager.Character.dictEntryChara.Where((x) => x.Value.chaFile == __instance).Single().Value;
             if (null != chaCtrl)
             {
                 Patches.ChangeChara(chaCtrl);
             }
         }
         else
         {
             Patches.ChangeChara(Singleton <CustomBase> .Instance.chaCtrl);
         }
     }
 }