示例#1
0
        public static void ChaControl_SetClothesState_Post(ChaControl __instance, int clothesKind, byte state, bool next = true)
        {
#if DEBUG
            BreastPhysicsController.Logger.LogDebug("clothesKind:" + clothesKind.ToString() + " state:" + state.ToString());
#endif
            DBControllerManager.GetControllerByChaControl(__instance)?.OnClothesStateChanged();
        }
示例#2
0
        public static bool BustGravity_ReCalc_Pre(BustGravity __instance)
        {
            ParamCharaController controller = DBControllerManager.GetControllerByBustGravity(__instance);

            if (controller != null && controller.Enabled && controller.isEnabledNowBust())
            {
                return(false);
            }
            return(true);
        }
示例#3
0
 private void Init()
 {
     controllerID = this.GetInstanceID();
     DBControllerManager.AddController(this);
     paramCustom = new ParamChara();
     paramBackup = new ParamBackup();
     Enabled     = false;
     changedControllerEnabled = false;
     changedInfo = new ParamChangedInfo();
     endInitLoad = false;
 }
示例#4
0
 protected override void OnDestroy()
 {
     DBControllerManager.RemoveController(controllerID);
     //BreastPhysicsController.w_NeedUpdateCharaList = true;
     base.OnDestroy();
 }