Exemplo n.º 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();
        }
Exemplo n.º 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);
        }
Exemplo n.º 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;
 }
Exemplo n.º 4
0
 protected override void OnDestroy()
 {
     DBControllerManager.RemoveController(controllerID);
     //BreastPhysicsController.w_NeedUpdateCharaList = true;
     base.OnDestroy();
 }