예제 #1
0
        public static void UpdateInfoPostfix(MPCharCtrl.OtherInfo __instance, OCIChar _char)
        {
            MPCharCtrl.StateToggleInfo tgl = (MPCharCtrl.StateToggleInfo)__instance.GetField("single");
            tgl.active      = true;
            tgl.toggle.isOn = _char.GetVisibleSimple();

            MPCharCtrl.StateButtonInfo btn = (MPCharCtrl.StateButtonInfo)__instance.GetField("color");
            btn.active = true;
            btn.buttons[0].image.color = _char.oiCharInfo.simpleColor;
            colorBtn = btn;

            __instance.Invoke("SetSimpleColor", new object[] { _char.oiCharInfo.simpleColor });
            ociChar = _char;
            //Logger.LogDebug("Chara Status Info Updated");
        }
예제 #2
0
 public static void StudioHideNipToggle(MPCharCtrl.OtherInfo __instance)
 {
     __instance.nipple.active = false;
     __instance.son.active    = false;
     __instance.sonLen.active = false;
 }