Ejemplo n.º 1
0
            public static void ChaControl_InitializePostHook(ChaControl __instance)
            {
                KoikatuAPI.Log(LogLevel.Debug, $"[KKAPI] Character card load: {GetLogName(__instance)} {(MakerAPI.CharaListIsLoading ? "inside CharaList" : string.Empty)}");

                ChaControls.Add(__instance);

                if (!MakerAPI.CharaListIsLoading)
                {
                    CreateOrAddBehaviours(__instance);
                }
            }
            public static void ChaControl_InitializePostHook(Male __instance)
            {
                KoikatuAPI.Logger.LogDebug($"Character card load: {__instance.MaleID}");

                ChaControls.Add(__instance);

                if (!MakerAPI.CharaListIsLoading)
                {
                    CreateOrAddBehaviours(__instance);
                }
            }