protected override void OnInit() { this.mTurnCtrl.TurnEnd = delegate(TurnTableType type) { this.resultType = type; WindowUI.CloseWindow(WindowID.WindowID_EventChect1); }; }
protected override void OnInit() { this.mTurnCtrl.TurnEnd = delegate(TurnTableData data) { this.resultType = data.type; WindowUI.CloseWindow(WindowID.WindowID_EventFirstGold); }; }
protected override void OnInit() { this.adx = this.mAdTurnCtrl.transform.localPosition.x; this.mTurnCtrl.TurnEnd = delegate(TurnTableData data) { this.resultType = data.type; if (LocalSave.Instance.BattleAd_CanShow()) { SdkManager.send_event_ad(ADSource.eTurntable, "SHOW", 0, 0, string.Empty, string.Empty); TweenSettingsExtensions.AppendCallback(TweenSettingsExtensions.AppendInterval(TweenSettingsExtensions.Append(TweenSettingsExtensions.AppendInterval(TweenSettingsExtensions.SetUpdate <Sequence>(this.mSeqPool.Get(), true), 0.5f), TweenSettingsExtensions.SetEase <Tweener>(ShortcutExtensions.DOLocalMoveX(this.gameturnparent.transform, -this.adx, 0.5f, false), 0x1b)), 0.5f), new TweenCallback(this, this.< OnInit > m__3)); } else { WindowUI.CloseWindow(WindowID.WindowID_GameTurnTable); } }; RectTransform transform = base.transform as RectTransform; RectTransform transform2 = this.gameturnparent.transform as RectTransform; transform2.sizeDelta = transform.sizeDelta; RectTransform transform3 = this.mAdTurnCtrl.transform as RectTransform; transform3.sizeDelta = transform.sizeDelta; this.mAdTurnCtrl.Init(); if (< > f__am$cache0 == null) {
protected override void OnInit() { this.mTurnCtrl.TurnEnd = delegate(TurnTableData data) { this.resultType = data.type; WindowUI.CloseWindow(WindowID.WindowID_EventRewardTurn); }; if (< > f__am$cache0 == null) {
protected override void OnEventClose(RoomGenerateBase.EventCloseTransfer data) { if (data.windowid == WindowID.WindowID_EventChect1) { TurnTableType type = (TurnTableType)data.data; if (type != TurnTableType.Boss) { base.roomCtrl.OpenDoor(true); } } }
public void Init() { this.Text_TurnX = this.Text_Turn.get_rectTransform().anchoredPosition.x; this.mTurnCtrl.TurnEnd = delegate(TurnTableData data) { < Init > c__AnonStorey0 storey = new < Init > c__AnonStorey0 { data = data, $this = this }; this.resultType = storey.data.type; LocalSave.Instance.BattleAd_Use(); CReqItemPacket itemPacket = NetManager.GetItemPacket(null, false); itemPacket.m_nPacketType = 0x13; NetManager.SendInternal <CReqItemPacket>(itemPacket, SendType.eUDP, new Action <NetResponse>(storey.< > m__0)); if (storey.data.type == TurnTableType.Diamond) { TweenSettingsExtensions.SetUpdate <Sequence>(TweenSettingsExtensions.AppendCallback(TweenSettingsExtensions.AppendInterval(DOTween.Sequence(), 1.8f), new TweenCallback(storey, this.< > m__1)), true); } else if (this.onClickClose != null) { this.onClickClose(); } }; }
public void SetRewardType(TurnTableType type) { this.mRewardType = type; }