protected override void OnInstanceCreate() { base.OnInstanceCreate(); TowerPartyWindow componentInChildren = (TowerPartyWindow)this.Instance.GetComponentInChildren <TowerPartyWindow>(); if (Object.op_Equality((Object)componentInChildren, (Object)null)) { return; } componentInChildren.PartyType = this.PartyType; componentInChildren.ShowQuestInfo = this.ShowQuestInfo; if (this.BackButton != FlowNode_TowerPartyWindow.TriBool.Unchanged) { componentInChildren.ShowBackButton = this.BackButton == FlowNode_TowerPartyWindow.TriBool.True; } if (this.ForwardButton != FlowNode_TowerPartyWindow.TriBool.Unchanged) { componentInChildren.ShowForwardButton = this.ForwardButton == FlowNode_TowerPartyWindow.TriBool.True; } if (this.ShowRaidInfo == FlowNode_TowerPartyWindow.TriBool.Unchanged) { return; } componentInChildren.ShowRaidInfo = this.ShowRaidInfo == FlowNode_TowerPartyWindow.TriBool.True; }
protected override void OnCreatePinActive() { if (Object.op_Inequality((Object)this.Instance, (Object)null)) { TowerPartyWindow component = (TowerPartyWindow)this.Instance.GetComponent <TowerPartyWindow>(); if (!Object.op_Inequality((Object)component, (Object)null)) { return; } component.Reopen(); GameParameter.UpdateAll(((Component)component).get_gameObject()); } else { base.OnCreatePinActive(); } }