private void QuestToField() { //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_005e: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Unknown result type (might be due to invalid IL or missing references) //IL_006a: Unknown result type (might be due to invalid IL or missing references) //IL_0071: Unknown result type (might be due to invalid IL or missing references) //IL_0076: Unknown result type (might be due to invalid IL or missing references) //IL_008a: Unknown result type (might be due to invalid IL or missing references) //IL_008f: Unknown result type (might be due to invalid IL or missing references) //IL_00a0: Unknown result type (might be due to invalid IL or missing references) //IL_00ba: Unknown result type (might be due to invalid IL or missing references) //IL_00d9: Unknown result type (might be due to invalid IL or missing references) //IL_00ea: Unknown result type (might be due to invalid IL or missing references) FieldMapTable.PortalTableData portalTableData = Singleton <FieldMapTable> .I.GetPortalData(MonoBehaviourSingleton <FieldManager> .I.currentPortalID); if (portalTableData == null) { RequestEvent("EXIT", null); } else { RegionMapLocation regionMapLocation = regionMapRoot.FindLocation((int)portalTableData.dstMapID); if (null == regionMapLocation) { RequestEvent("EXIT", null); } else { Vector3 position = regionMapLocation.get_transform().get_position(); _camera.get_transform().set_position(position - _camera.get_transform().get_forward() * MonoBehaviourSingleton <GlobalSettingsManager> .I.worldMapParam.eventCameraDistance); playerMarker.SetParent(regionMapLocation.get_transform()); playerMarker.set_localPosition(MonoBehaviourSingleton <GlobalSettingsManager> .I.worldMapParam.playerMarkerOffset); playerMarker.set_localScale(new Vector3(0f, 0f, 0f)); this.StartCoroutine(DoQuestToField()); } } }
private IEnumerator DoFindNewDungeonEvent(RegionMapPortal portal, LoadObject newRegion) { if (blurFilter != null) { bool wait3 = true; blurFilter.CacheRenderTarget(delegate { //IL_000b: Unknown result type (might be due to invalid IL or missing references) ((_003CDoFindNewDungeonEvent_003Ec__Iterator169) /*Error near IL_005d: stateMachine*/)._003C_003Ef__this.playerMarker.get_gameObject().SetActive(false); ((_003CDoFindNewDungeonEvent_003Ec__Iterator169) /*Error near IL_005d: stateMachine*/)._003C_003Ef__this.playerMarker.SetParent(((_003CDoFindNewDungeonEvent_003Ec__Iterator169) /*Error near IL_005d: stateMachine*/)._003C_003Ef__this._transform); ((_003CDoFindNewDungeonEvent_003Ec__Iterator169) /*Error near IL_005d: stateMachine*/)._003Cwait_003E__0 = false; }, true); while (wait3) { yield return((object)null); } uiFrontMapSprite.alpha = 1f; spots.ClearAllSpot(); Object.Destroy(regionMapRoot.get_gameObject()); RegionMapLocation newLocation = null; if (newRegion != null) { regionMapRoot = ResourceUtility.Realizes(newRegion.loadedObject, MonoBehaviourSingleton <AppMain> .I._transform, -1).get_gameObject().GetComponent <RegionMapRoot>(); if (regionMapRoot != null) { wait3 = true; regionMapRoot.InitPortalStatus(delegate { ((_003CDoFindNewDungeonEvent_003Ec__Iterator169) /*Error near IL_0136: stateMachine*/)._003Cwait_003E__0 = false; }); while (wait3) { yield return((object)null); } CreateVisitedLocationSpot(); newLocation = regionMapRoot.FindLocation(portal.toLocation.mapId); if (newLocation != null) { SetCameraToLocation(newLocation); playerMarker.SetParent(newLocation.get_transform()); playerMarker.set_localPosition(MonoBehaviourSingleton <GlobalSettingsManager> .I.worldMapParam.playerMarkerOffset); } } } wait3 = true; float blurTime = 0.25f; Vector2 blurCenter = new Vector2(0.5f, 0.5f); blurFilter.StartBlurFilter(0.01f, 0.25f, blurTime, blurCenter, delegate { ((_003CDoFindNewDungeonEvent_003Ec__Iterator169) /*Error near IL_023f: stateMachine*/)._003Cwait_003E__0 = false; }); uiMapSprite.alpha = 0f; TweenAlpha.Begin(uiMapSprite.get_gameObject(), blurTime, 1f); TweenAlpha.Begin(uiFrontMapSprite.get_gameObject(), blurTime, 0f); while (wait3) { yield return((object)null); } yield return((object)new WaitForSeconds(1f)); if (regionMapRoot != null && newLocation != null) { GameObject obj = CreateLocationSpot(newLocation, SpotManager.ICON_TYPE.NEW, true); if (obj != null) { obj.get_transform().set_localScale(new Vector3(0.1f, 0.1f, 0.1f)); TweenScale.Begin(obj, 0.3f, Vector3.get_one()); SoundManager.PlayOneShotUISE(40000033); } yield return((object)new WaitForSeconds(0.5f)); playerMarker.get_gameObject().SetActive(true); playerMarker.set_localScale(new Vector3(0f, 0f, 0f)); TweenScale.Begin(playerMarker.get_gameObject(), MonoBehaviourSingleton <GlobalSettingsManager> .I.worldMapParam.playerMarkerScaleTime, Vector3.get_one()); } yield return((object)new WaitForSeconds(1.5f)); } }