Exemple #1
0
        public static bool BustSoft_ReCalc_Pre(BustSoft __instance)
        {
            ParamCharaController controller = DBControllerManager.GetControllerByBustSoft(__instance);

            if (controller != null && controller.Enabled && controller.isEnabledNowBust())
            {
                return(false);
            }
            return(true);
        }
Exemple #2
0
        public static ParamCharaController GetControllerByBustSoft(BustSoft bustSoft)
        {
            foreach (ParamCharaController controller in _controllers.Values)
            {
                if (ReferenceEquals(controller.ChaControl.bustSoft, bustSoft))
                {
                    return(controller);
                }
            }

            return(null);
        }