public static bool GetMaidBoneDataExist(Maid maid, int slotNo, GameObject obj, Transform bone) { bool flag = !BackUpData.GetMaidDataExist(maid); bool result; if (flag) { result = false; } else { bool flag2 = !BackUpData.GetMaidSlotDataExist(maid, slotNo); if (flag2) { result = false; } else { bool flag3 = !BackUpData.GetMaidObjectDataExist(maid, slotNo, obj); if (flag3) { result = false; } else { bool flag4 = !BackUpData.maidDataDic[maid].slotDataDic[slotNo].objectDataDic[obj].boneDataDic.ContainsKey(bone); result = !flag4; } } } return(result); }
private void DrawSlot() { GUILayout.BeginHorizontal(new GUILayoutOption[0]); GUILayout.Label("スロット:", UIParams.Instance.lStyle, new GUILayoutOption[0]); GUILayout.FlexibleSpace(); this.slotSelectUI.DrawCombo(); bool flag = CommonUIData.slotNo == -2 || !BackUpData.GetMaidSlotDataExist(CommonUIData.maid, CommonUIData.slotNo); if (flag) { GUI.enabled = false; } bool flag2 = GUILayout.Button("R", UIParams.Instance.bStyle, new GUILayoutOption[0]); if (flag2) { BackUpData.RestoreSlot(CommonUIData.maid, CommonUIData.slotNo); BackUpData.Refresh(); } GUI.enabled = true; GUILayout.EndHorizontal(); UIUtil.BeginIndentArea(); this.DrawObject(); UIUtil.EndoIndentArea(); }