Decompiled source of SunkenTombs v1.0.7
CorruptsAllVoidStages.dll
Decompiled 3 weeks ago
The result has been truncated due to the large size, download it to view full contents!
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using System.Security; using System.Security.Permissions; using AK.Wwise; using BepInEx; using HG; using HG.Reflection; using Microsoft.CodeAnalysis; using On.RoR2; using R2API; using RoR2; using RoR2.CharacterAI; using RoR2.ContentManagement; using RoR2.EntitlementManagement; using RoR2.ExpansionManagement; using RoR2.Navigation; using UnityEngine; using UnityEngine.AddressableAssets; using UnityEngine.Networking; using UnityEngine.Rendering.PostProcessing; using UnityEngine.ResourceManagement.AsyncOperations; using UnityEngine.SceneManagement; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: OptIn] [assembly: AssemblyCompany("CorruptsAllVoidStages")] [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("CorruptsAllVoidStages")] [assembly: AssemblyTitle("CorruptsAllVoidStages")] [assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("1.0.0.0")] [module: UnverifiableCode] [module: RefSafetyRules(11)] namespace Microsoft.CodeAnalysis { [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] internal sealed class EmbeddedAttribute : Attribute { } } namespace System.Runtime.CompilerServices { [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] [AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)] internal sealed class RefSafetyRulesAttribute : Attribute { public readonly int Version; public RefSafetyRulesAttribute(int P_0) { Version = P_0; } } } namespace CorruptsAllVoidStages { public static class Assets { public static ExpansionDef NewVoidStageHiddenExpansion { get; private set; } public static Material matVoidTerrainNew { get; private set; } public static Material matVoidMetalOvergrown { get; private set; } public static GameObject VoidCoralLit { get; private set; } public static GameObject UnderwaterLemurianMaster { get; private set; } public static UnlockableDef[] NewtStatueUnlockables { get; private set; } public static void SetNewVoidStageHiddenExpansion(EntitlementDef entitlementDLC1) { NewVoidStageHiddenExpansion = ScriptableObject.CreateInstance<ExpansionDef>(); ((Object)NewVoidStageHiddenExpansion).name = "groovesalad.NewVoidStageHiddenExpansion"; NewVoidStageHiddenExpansion.requiredEntitlement = entitlementDLC1; NewVoidStageHiddenExpansion.nameToken = string.Empty; NewVoidStageHiddenExpansion.descriptionToken = string.Empty; } public static void SetMatVoidTerrainNew(Material matVoidTerrain, Texture texSand1) { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_000c: Expected O, but got Unknown //IL_0032: Unknown result type (might be due to invalid IL or missing references) matVoidTerrainNew = new Material(matVoidTerrain); matVoidTerrainNew.SetTexture("_RedChannelTopTex", texSand1); matVoidTerrainNew.SetTextureScale("_RedChannelTopTex", new Vector2(2f, 2f)); matVoidTerrainNew.SetFloat("_RedChannelBias", 2.45f); matVoidTerrainNew.SetFloat("_GreenChannelBias", 0.037f); } public static void SetMatVoidMetalOvergrown(Material matVoidMetalTrimGrassyVertexColorsOnly, Texture texSand1, Texture texVoidMoss) { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_000c: Expected O, but got Unknown //IL_002b: Unknown result type (might be due to invalid IL or missing references) //IL_0030: Unknown result type (might be due to invalid IL or missing references) matVoidMetalOvergrown = new Material(matVoidMetalTrimGrassyVertexColorsOnly); matVoidMetalOvergrown.SetColor("_Color", Color32.op_Implicit(new Color32((byte)155, (byte)155, (byte)155, byte.MaxValue))); matVoidMetalOvergrown.SetFloat("_SpecularStrength", 0.06365327f); matVoidMetalOvergrown.SetFloat("_SpecularExponent", 0.7722783f); matVoidMetalOvergrown.SetTexture("_SnowTex", texSand1); matVoidMetalOvergrown.SetFloat("_SnowBias", 0.05808783f); matVoidMetalOvergrown.SetFloat("_Depth", 0.5279048f); matVoidMetalOvergrown.EnableKeyword("DIRTON"); matVoidMetalOvergrown.SetTexture("_DirtTex", texVoidMoss); matVoidMetalOvergrown.SetFloat("_DirtBias", 0.5306497f); } public static void SetVoidCoralLit(GameObject SPCoralMDLit, Texture texRampVoidFlatCoral, Texture texVoidMoss) { //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_008a: Expected O, but got Unknown //IL_00ac: Unknown result type (might be due to invalid IL or missing references) VoidCoralLit = PrefabAPI.InstantiateClone(SPCoralMDLit, "VoidCoralLit", false); Light componentInChildren = VoidCoralLit.GetComponentInChildren<Light>(); if (Object.op_Implicit((Object)(object)componentInChildren)) { componentInChildren.intensity = 4f; componentInChildren.range = 15f; } Transform obj = VoidCoralLit.transform.Find("meshSPCoralString"); if (obj != null) { ((Component)obj).gameObject.SetActive(false); } MeshRenderer val = default(MeshRenderer); if (VoidCoralLit.TryGetComponent<MeshRenderer>(ref val)) { ((Renderer)val).sharedMaterial = new Material(((Renderer)val).sharedMaterial); ((Renderer)val).sharedMaterial.SetFloat("_EmPower", 0.5f); ((Renderer)val).sharedMaterial.SetColor("_Color", Color.white); ((Renderer)val).sharedMaterial.SetTexture("_MainTex", texRampVoidFlatCoral); ((Renderer)val).sharedMaterial.SetTexture("_BlueChannelTex", texVoidMoss); } } public static void SetUnderwaterLemurianMaster(GameObject LemurianMaster) { UnderwaterLemurianMaster = PrefabAPI.InstantiateClone(LemurianMaster, "UnderwaterLemurianMaster", true); AISkillDriver[] components = UnderwaterLemurianMaster.GetComponents<AISkillDriver>(); AISkillDriver val = ((IEnumerable<AISkillDriver>)components).FirstOrDefault((Func<AISkillDriver, bool>)((AISkillDriver x) => x.customName == "StrafeAndShoot")); if (Object.op_Implicit((Object)(object)val)) { Object.DestroyImmediate((Object)(object)val); } AISkillDriver val2 = ((IEnumerable<AISkillDriver>)components).FirstOrDefault((Func<AISkillDriver, bool>)((AISkillDriver x) => x.customName == "StrafeIdley")); if (Object.op_Implicit((Object)(object)val2)) { Object.DestroyImmediate((Object)(object)val2); } } public static void SetNewtStatueUnlockables() { NewtStatueUnlockables = (UnlockableDef[])(object)new UnlockableDef[3]; for (int i = 0; i < NewtStatueUnlockables.Length; i++) { UnlockableDef val = ScriptableObject.CreateInstance<UnlockableDef>(); val.cachedName = "NewtStatue.desolatereef." + i; val.nameToken = "UNLOCKABLE_NEWTSTATUE"; val.hidden = true; NewtStatueUnlockables[i] = val; } } } [BepInPlugin("com.groovesalad.DesolateReef", "DesolateReef", "1.0.7")] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] public class CorruptsAllVoidStages : BaseUnityPlugin, IContentPackProvider { public bool disableOcclusionCulling; public AssetBundleCreateRequest desolateReefAssets; public ContentPack contentPack; public RuntimeVoidStageTemplate voidStageTemplate; public string identifier => "groovesalad.CorruptsAllVoidStages"; public void Awake() { //IL_004d: Unknown result type (might be due to invalid IL or missing references) //IL_0052: Unknown result type (might be due to invalid IL or missing references) //IL_0064: Expected O, but got Unknown //IL_0071: Unknown result type (might be due to invalid IL or missing references) //IL_007b: Expected O, but got Unknown //IL_0083: Unknown result type (might be due to invalid IL or missing references) //IL_008d: Expected O, but got Unknown //IL_0095: Unknown result type (might be due to invalid IL or missing references) //IL_009f: Expected O, but got Unknown disableOcclusionCulling = ((BaseUnityPlugin)this).Config.Bind<bool>("Optimization", "Disable Occlusion Culling", true, "Disables occlusion culling on Desolate Reef. Enabling culling will slightly improve performance but may cause flickering in certain areas of the map.").Value; desolateReefAssets = AssetBundle.LoadFromFileAsync(Path.Combine(Path.GetDirectoryName(((BaseUnityPlugin)this).Info.Location), "desolatereefassets")); contentPack = new ContentPack { identifier = identifier }; Language.Init(); ContentManager.collectContentPackProviders += (CollectContentPackProvidersDelegate)delegate(AddContentPackProviderDelegate add) { add.Invoke((IContentPackProvider)(object)this); }; RuleDef.FromExpansion += new hook_FromExpansion(RuleDef_FromExpansion); RuleDef.AvailableChoiceCount += new hook_AvailableChoiceCount(RuleDef_AvailableChoiceCount); SceneManager.activeSceneChanged += SceneManager_activeSceneChanged; Run.onRunStartGlobal += Run_onRunStartGlobal; if (disableOcclusionCulling) { CameraRigController.onCameraEnableGlobal += CameraRigController_onCameraEnableGlobal; } } public IEnumerator LoadStaticContentAsync(LoadStaticContentAsyncArgs args) { AsyncOperationHandle<EntitlementDef> entitlementDLC1; AsyncOperationHandle<SceneDef> voidstage; AsyncOperationHandle<SceneCollection> sgStage5; AsyncOperationHandle<SceneCollection> sgStage6; AsyncOperationHandle<MusicTrackDef> soundlessDepths; AsyncOperationHandle<MusicTrackDef> thermodynamicEquilibrium; AsyncOperationHandle<Material> matBazaarSeerGolemplains; AsyncOperationHandle<Material> matVoidTerrain; AsyncOperationHandle<Texture> texSand1; AsyncOperationHandle<Material> matVoidMetalTrimGrassyVertexColorsOnly; AsyncOperationHandle<Texture> texVoidMoss; AsyncOperationHandle<GameObject> SPCoralMDLit; AsyncOperationHandle<Texture> texRampVoidFlatCoral; AsyncOperationHandle<GameObject> VoidStageDiorama; AsyncOperationHandle<Material> matVoidTrim; AsyncOperationHandle<GameObject> LemurianMaster; AsyncOperationHandle<NodeGraph> voidstage_GroundNodeGraph; AsyncOperationHandle<NodeGraph> voidstage_AirNodeGraph; AsyncOperationHandle<UnlockableDef> Logs_Stages_voidstage; AsyncOperationHandle<IList<AsyncOperationHandle>> groupOp = Addressables.ResourceManager.CreateGenericGroupOperation(new List<AsyncOperationHandle> { CreateAddressableOp<EntitlementDef>("RoR2/DLC1/Common/entitlementDLC1.asset", out entitlementDLC1), CreateAddressableOp<SceneDef>("RoR2/DLC1/voidstage/voidstage.asset", out voidstage), CreateAddressableOp<SceneCollection>("RoR2/Base/SceneGroups/sgStage5.asset", out sgStage5), CreateAddressableOp<SceneCollection>("RoR2/Base/SceneGroups/sgStage1.asset", out sgStage6), CreateAddressableOp<MusicTrackDef>("RoR2/DLC1/Common/muGameplayDLC1_08.asset", out soundlessDepths), CreateAddressableOp<MusicTrackDef>("RoR2/DLC1/Common/muBossfightDLC1_12.asset", out thermodynamicEquilibrium), CreateAddressableOp<Material>("RoR2/Base/bazaar/matBazaarSeerGolemplains.mat", out matBazaarSeerGolemplains), CreateAddressableOp<Material>("RoR2/DLC1/voidstage/matVoidTerrain.mat", out matVoidTerrain), CreateAddressableOp<Texture>("RoR2/Base/Common/Props/texSand1.png", out texSand1), CreateAddressableOp<Material>("RoR2/DLC1/voidstage/matVoidMetalTrimGrassyVertexColorsOnly.mat", out matVoidMetalTrimGrassyVertexColorsOnly), CreateAddressableOp<Texture>("RoR2/DLC1/voidstage/texVoidMoss.tga", out texVoidMoss), CreateAddressableOp<GameObject>("RoR2/DLC1/sulfurpools/SPCoralMDLit.prefab", out SPCoralMDLit), CreateAddressableOp<Texture>("RoR2/DLC1/Common/ColorRamps/texRampVoidFlatCoral.png", out texRampVoidFlatCoral), CreateAddressableOp<GameObject>("RoR2/DLC1/voidstage/VoidStageDiorama.prefab", out VoidStageDiorama), CreateAddressableOp<Material>("RoR2/DLC1/voidstage/matVoidTrim.mat", out matVoidTrim), CreateAddressableOp<GameObject>("RoR2/Base/Lemurian/LemurianMaster.prefab", out LemurianMaster), CreateAddressableOp<NodeGraph>("RoR2/DLC1/voidstage/voidstage_GroundNodeGraph.asset", out voidstage_GroundNodeGraph), CreateAddressableOp<NodeGraph>("RoR2/DLC1/voidstage/voidstage_AirNodeGraph.asset", out voidstage_AirNodeGraph), CreateAddressableOp<UnlockableDef>("RoR2/DLC1/voidstage/Logs.Stages.voidstage.asset", out Logs_Stages_voidstage) }, true); yield return desolateReefAssets; AssetBundleRequest texDesolateReefPreview = desolateReefAssets.assetBundle.LoadAssetAsync<Sprite>("texDesolateReefPreview"); AssetBundleRequest texDesolateReefSeerPreview = desolateReefAssets.assetBundle.LoadAssetAsync<Sprite>("texDesolateReefSeerPreview"); while (!groupOp.IsDone) { args.ReportProgress(groupOp.PercentComplete); yield return null; } Assets.SetNewVoidStageHiddenExpansion(entitlementDLC1.Result); voidstage.Result.requiredExpansion = Assets.NewVoidStageHiddenExpansion; voidstage.Result.sceneType = (SceneType)1; voidstage.Result.blockOrbitalSkills = false; voidstage.Result.destinationsGroup = sgStage6.Result; ref SceneEntry[] sceneEntries = ref sgStage5.Result._sceneEntries; SceneEntry val = new SceneEntry { sceneDef = voidstage.Result }; ((SceneEntry)(ref val)).weight = 1f; SceneEntry value = val; ArrayUtils.ArrayAppend<SceneEntry>(ref sceneEntries, ref value); voidstage.Result.destinations = Array.Empty<SceneDef>(); voidstage.Result.stageOrder = 5; voidstage.Result.validForRandomSelection = true; voidstage.Result.mainTrack = soundlessDepths.Result; voidstage.Result.bossTrack = thermodynamicEquilibrium.Result; voidstage.Result.nameToken = "GS_MAP_DESOLATEREEF_TITLE"; voidstage.Result.subtitleToken = "GS_MAP_DESOLATEREEF_SUBTITLE"; voidstage.Result.loreToken = "GS_MAP_DESOLATEREEF_LORE"; voidstage.Result.portalSelectionMessageString = "GS_BAZAAR_SEER_DESOLATEREEF"; Assets.SetMatVoidTerrainNew(matVoidTerrain.Result, texSand1.Result); Assets.SetMatVoidMetalOvergrown(matVoidMetalTrimGrassyVertexColorsOnly.Result, texSand1.Result, texVoidMoss.Result); Assets.SetVoidCoralLit(SPCoralMDLit.Result, texRampVoidFlatCoral.Result, texVoidMoss.Result); voidstage.Result.dioramaPrefab = PrefabAPI.InstantiateClone(VoidStageDiorama.Result, "DesolateReefDiorama", false); ModelPanelParameters modelPanelParameters = default(ModelPanelParameters); if (voidstage.Result.dioramaPrefab.TryGetComponent<ModelPanelParameters>(ref modelPanelParameters)) { modelPanelParameters.minDistance = 20f; modelPanelParameters.maxDistance = 200f; } if (voidstage.Result.dioramaPrefab.transform.TryFind("Holder", out var holder)) { ((Component)holder).transform.localScale = Vector3.one * 4f; Transform obj = ((Component)holder).transform.Find("FX"); if (obj != null) { ((Component)obj).gameObject.SetActive(false); } Transform obj2 = ((Component)holder).transform.Find("Lights"); if (obj2 != null) { ((Component)obj2).gameObject.SetActive(false); } Transform obj3 = ((Component)holder).transform.Find("VoidWhale"); if (obj3 != null) { ((Component)obj3).gameObject.SetActive(false); } if (holder.TryFind("mdlVoidStageDiorama/mdlVoidStageDioramaBase", out var mdlVoidStageDioramaBase)) { Transform obj4 = ((Component)mdlVoidStageDioramaBase).transform.Find("dioramawater"); if (obj4 != null) { ((Component)obj4).gameObject.SetActive(false); } Transform obj5 = ((Component)mdlVoidStageDioramaBase).transform.Find("mdlVoidMetalSpiralWalkway.001/mdlPortalFrame.001"); if (obj5 != null) { ((Component)obj5).gameObject.SetActive(false); } Transform obj6 = ((Component)mdlVoidStageDioramaBase).transform.Find("mdlVoidSupportPlatform.004"); if (obj6 != null) { ((Component)obj6).gameObject.SetActive(false); } Transform obj7 = ((Component)mdlVoidStageDioramaBase).transform.Find("mdlVoidEastPlatform.001/Pipe"); if (obj7 != null) { ((Component)obj7).gameObject.SetActive(false); } if (((Component)mdlVoidStageDioramaBase).transform.TryFind("mdlVoidTerrainSouthSmallRoof.001", out var mdlVoidTerrainSouthSmallRoof)) { MeshRenderer meshRenderer = default(MeshRenderer); if (((Component)mdlVoidTerrainSouthSmallRoof).TryGetComponent<MeshRenderer>(ref meshRenderer)) { ((Renderer)meshRenderer).sharedMaterial = Assets.matVoidTerrainNew; } if (mdlVoidTerrainSouthSmallRoof.TryFind("mdlVoidRepairsPlatform.001", out var mdlVoidRepairsPlatform)) { MeshRenderer platformMeshRenderer = default(MeshRenderer); if (((Component)mdlVoidRepairsPlatform).TryGetComponent<MeshRenderer>(ref platformMeshRenderer)) { ((Renderer)platformMeshRenderer).enabled = false; } foreach (Transform child in mdlVoidRepairsPlatform.AllChildren()) { ((Component)child).gameObject.SetActive(false); } if (mdlVoidRepairsPlatform.TryFind("mdlVoidArchEntry.002", out var mdlVoidArchEntry)) { ((Component)mdlVoidArchEntry).gameObject.SetActive(true); MeshRenderer archMeshRenderer = default(MeshRenderer); if (((Component)mdlVoidArchEntry).TryGetComponent<MeshRenderer>(ref archMeshRenderer)) { ((Renderer)archMeshRenderer).sharedMaterial = matVoidTrim.Result; } Transform obj8 = mdlVoidArchEntry.Find("mdlVoidArchEntry.003"); if (obj8 != null) { ((Component)obj8).gameObject.SetActive(false); } mdlVoidArchEntry.localScale = Vector3.one * 3f; } } } MeshRenderer meshRenderer3 = default(MeshRenderer); if (((Component)mdlVoidStageDioramaBase).transform.TryFind("mdlVoidEastPlatform.001", out var mdlVoidEastPlatform) && ((Component)mdlVoidEastPlatform).TryGetComponent<MeshRenderer>(ref meshRenderer3)) { ((Renderer)meshRenderer3).sharedMaterial = Assets.matVoidMetalOvergrown; } MeshRenderer meshRenderer2 = default(MeshRenderer); if (((Component)mdlVoidStageDioramaBase).transform.TryFind("mdlVoidMetalSpiralWalkway.001", out var mdlVoidMetalSpiralWalkway) && ((Component)mdlVoidMetalSpiralWalkway).TryGetComponent<MeshRenderer>(ref meshRenderer2)) { ((Renderer)meshRenderer2).sharedMaterial = Assets.matVoidMetalOvergrown; } MeshRenderer baseMeshRenderer = default(MeshRenderer); if (((Component)mdlVoidStageDioramaBase).TryGetComponent<MeshRenderer>(ref baseMeshRenderer)) { ((Renderer)baseMeshRenderer).sharedMaterial = Assets.matVoidMetalOvergrown; } } Transform obj9 = ((Component)holder).transform.Find("Grass/CrabFoam1Prop (15)"); if (obj9 != null) { ((Component)obj9).gameObject.SetActive(false); } Transform obj10 = ((Component)holder).transform.Find("Grass/CrabFoam1Prop (16)"); if (obj10 != null) { ((Component)obj10).gameObject.SetActive(false); } Transform obj11 = ((Component)holder).transform.Find("Grass/CrabFoam1Prop (17)"); if (obj11 != null) { ((Component)obj11).gameObject.SetActive(false); } Transform obj12 = ((Component)holder).transform.Find("Grass/CrabFoam1Prop (18)"); if (obj12 != null) { ((Component)obj12).gameObject.SetActive(false); } if (((Component)holder).transform.TryFind("Grass/VoidFanCoral (1)", out var voidFanCoral)) { voidFanCoral.localScale = Vector3.one * 0.25f; } if (((Component)holder).transform.TryFind("Grass/VoidBubbleCoral (1)", out var voidBubbleCoral)) { voidBubbleCoral.localScale = Vector3.one * 0.25f; Transform obj13 = voidBubbleCoral.Find("VoidBubble/Point Light"); if (obj13 != null) { ((Component)obj13).gameObject.SetActive(false); } Transform obj14 = voidBubbleCoral.Find("VoidBubble/Bubble"); if (obj14 != null) { ((Component)obj14).gameObject.SetActive(true); } } GameObject largeVoidCoralLit = Object.Instantiate<GameObject>(Assets.VoidCoralLit, holder); largeVoidCoralLit.transform.localPosition = new Vector3(0f, 0.8f, 0f); largeVoidCoralLit.transform.localScale = Vector3.one * 1.5f; GameObject smallVoidCoralLit = Object.Instantiate<GameObject>(Assets.VoidCoralLit, holder); smallVoidCoralLit.transform.localPosition = new Vector3(-0.7f, 0.9f, -3.7f); smallVoidCoralLit.transform.localEulerAngles = new Vector3(270f, 310f, 0f); smallVoidCoralLit.transform.localScale = Vector3.one * 0.8f; } Assets.SetUnderwaterLemurianMaster(LemurianMaster.Result); IZone[] disabledGroundNodeZones = (IZone[])(object)new IZone[9] { (IZone)(object)new SimpleBoxZone { cornerA = new Vector3(-45f, 29f, -26f), cornerB = new Vector3(45f, 68f, -95f) }, (IZone)(object)new SimpleRadialZone { center = new Vector2(2.425146f, -12.55224f), height = new RangeFloat { min = 37.74302f, max = 130f }, radius = 100f }, (IZone)(object)new SimpleSphereZone { center = new Vector3(31.51681f, 9.069029f, -83.28874f), radius = 4f }, (IZone)(object)new SimpleSphereZone { center = new Vector3(-54.34208f, -3.969529f, 27.88097f), radius = 4f }, (IZone)(object)new SimpleBoxZone { cornerA = new Vector3(-30f, 22f, 214f), cornerB = new Vector3(-220.7236f, 42.97554f, 400f) }, (IZone)(object)new SimpleRadialZone { center = new Vector2(-184f, 209f), height = new RangeFloat { min = 25f, max = 50f }, radius = 15f }, (IZone)(object)new SimpleSphereZone { center = new Vector3(-111.0189f, 19.61561f, 197.9515f), radius = 4f }, (IZone)(object)new SimpleBoxZone { cornerA = new Vector3(-112.1319f, 20.08289f, 201f), cornerB = new Vector3(-140.7579f, 28f, 217f) }, (IZone)(object)new SimpleSphereZone { center = new Vector3(157.7814f, 6.52061f, -173.4296f), radius = 4f } }; IZone[] disabledAirNodeZones = (IZone[])(object)new IZone[3] { (IZone)(object)new SimpleBoxZone { cornerA = new Vector3(-274.8925f, 142.8943f, 129.8717f), cornerB = new Vector3(-52.02304f, 103.5345f, -60.19645f) }, (IZone)(object)new SimpleBoxZone { cornerA = new Vector3(-63.34568f, 42.65285f, 72.64758f), cornerB = new Vector3(43.69559f, 4.374349f, 44.70821f) }, (IZone)(object)new SimpleSphereZone { center = new Vector3(48.7455f, 23.94464f, -70.06884f), radius = 15f } }; byte disabledGroundeNodeGateIndex = voidstage_GroundNodeGraph.Result.RegisterGateName("groovesalad.disabledNodes"); for (int j = 0; j < voidstage_GroundNodeGraph.Result.nodes.Length; j++) { Vector3 position2 = voidstage_GroundNodeGraph.Result.nodes[j].position; if (disabledGroundNodeZones.Any((IZone x) => x.IsInBounds(position2))) { voidstage_GroundNodeGraph.Result.nodes[j].gateIndex = disabledGroundeNodeGateIndex; } } byte disabledAirNodeGateIndex = voidstage_AirNodeGraph.Result.RegisterGateName("groovesalad.disabledNodes"); for (int i = 0; i < voidstage_AirNodeGraph.Result.nodes.Length; i++) { Vector3 position = voidstage_AirNodeGraph.Result.nodes[i].position; if (disabledAirNodeZones.Any((IZone x) => x.IsInBounds(position))) { voidstage_AirNodeGraph.Result.nodes[i].gateIndex = disabledAirNodeGateIndex; } } Logs_Stages_voidstage.Result.nameToken = "GS_UNLOCKABLE_LOG_STAGES_DESOLATEREEF"; Assets.SetNewtStatueUnlockables(); yield return texDesolateReefPreview; yield return texDesolateReefSeerPreview; ref Texture previewTexture = ref voidstage.Result.previewTexture; Object asset = texDesolateReefPreview.asset; previewTexture = (Texture)(object)((Sprite)((asset is Sprite) ? asset : null)).texture; voidstage.Result.portalMaterial = new Material(matBazaarSeerGolemplains.Result); ? val2 = voidstage.Result.portalMaterial; Object asset2 = texDesolateReefSeerPreview.asset; ((Material)val2).SetTexture("_MainTex", (Texture)(object)((Sprite)((asset2 is Sprite) ? asset2 : null)).texture); desolateReefAssets.assetBundle.Unload(false); contentPack.expansionDefs.Add((ExpansionDef[])(object)new ExpansionDef[1] { Assets.NewVoidStageHiddenExpansion }); contentPack.masterPrefabs.Add((GameObject[])(object)new GameObject[1] { Assets.UnderwaterLemurianMaster }); contentPack.unlockableDefs.Add(Assets.NewtStatueUnlockables); static AsyncOperationHandle CreateAddressableOp<TObject>(object key, out AsyncOperationHandle<TObject> op) { //IL_0003: Unknown result type (might be due to invalid IL or missing references) //IL_0008: Unknown result type (might be due to invalid IL or missing references) //IL_0009: Unknown result type (might be due to invalid IL or missing references) //IL_000a: Unknown result type (might be due to invalid IL or missing references) //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0010: Unknown result type (might be due to invalid IL or missing references) //IL_0015: Unknown result type (might be due to invalid IL or missing references) //IL_0018: Unknown result type (might be due to invalid IL or missing references) return AsyncOperationHandle<TObject>.op_Implicit(op = Addressables.LoadAssetAsync<TObject>(key)); } } public IEnumerator GenerateContentPackAsync(GetContentPackAsyncArgs args) { ContentPack.Copy(contentPack, args.output); yield break; } public IEnumerator FinalizeAsync(FinalizeAsyncArgs args) { yield break; } private RuleDef RuleDef_FromExpansion(orig_FromExpansion orig, ExpansionDef expansionDef) { RuleDef val = orig.Invoke(expansionDef); if ((Object)(object)expansionDef == (Object)(object)Assets.NewVoidStageHiddenExpansion) { val.forceLobbyDisplay = false; } return val; } private int RuleDef_AvailableChoiceCount(orig_AvailableChoiceCount orig, RuleDef self, RuleChoiceMask availability) { int result = orig.Invoke(self, availability); if (self.globalName == "Expansions.groovesalad.NewVoidStageHiddenExpansion") { return 0; } return result; } private void SceneManager_activeSceneChanged(Scene oldScene, Scene newScene) { //IL_0030: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) if (((Scene)(ref newScene)).name == "voidstage") { (voidStageTemplate ?? (voidStageTemplate = new RuntimeVoidStageTemplate(newScene))).Apply(newScene); } } private void Run_onRunStartGlobal(Run run) { if (NetworkServer.active) { run.SetEventFlag("NoVoidStage"); } } private void CameraRigController_onCameraEnableGlobal(CameraRigController cameraRigController) { SceneDef mostRecentSceneDef = SceneCatalog.mostRecentSceneDef; if (((mostRecentSceneDef != null) ? mostRecentSceneDef.cachedName : null) == "voidstage" && Object.op_Implicit((Object)(object)cameraRigController.sceneCam)) { cameraRigController.sceneCam.useOcclusionCulling = false; } } } public static class Language { public static void Init() { LanguageAPI.Add(new Dictionary<string, string> { { "GS_MAP_DESOLATEREEF_TITLE", "Sunken Tombs" }, { "GS_MAP_DESOLATEREEF_SUBTITLE", "Underwater Catacombs" }, { "GS_MAP_DESOLATEREEF_LORE", "<style=cMono>\r\nWelcome to DataScraper (v3.1.53 – beta branch)\r\n$ Scraping memory... done.\r\n$ Resolving... done.\r\n$ Combing for relevant data... done.\r\nComplete!\r\nOutputting local audio transcriptions...\r\n</style>\r\nDAY 152: \nStill searching, \nNo contact from the Contact Light in 83 days. \nI should return to the camp but I can't. Not yet. \nI have to know. \n\nIt's there. \nSomewhere. \nI have to see. \n\nI have to know. \nI have to see. \nI have to know. \nI have to see. I have to know. \n\nI have to see. I have to know \n\nI have to see I have to know \n\nI HAVE TO SEE I HAVE TO KNOW \nI HAVE TO SEE I HAVE TO KNOW \nI HAVE TO SEE I HAVE TO KNOW \nI HAVE TO SEE I HAVE TO KNOW \nI HAVE TO SEE I HAVE TO KNOW \n\nThe Uncommon Rarity fish. \r\n<style=cMono>\r\nLocal audio transcriptions complete.\r\n</style>\r\n" }, { "GS_BAZAAR_SEER_DESOLATEREEF", "<style=cWorldEvent>You dream of drifting into the abyss.</style>" }, { "GS_UNLOCKABLE_LOG_STAGES_DESOLATEREEF", "Environment Log: Sunken Tombs" } }); } } public class RuntimeVoidStageTemplate { public PostProcessProfile ppSceneVoidStageNew; public Material matVoidOverhangNew; public Material matVoidCrystalNew; public DccsPool dpMonsters; public DirectorCardCategorySelection dccsMonsters; public DirectorCardCategorySelection dccsMonstersDLC1; public DccsPool dpInteractables; public DirectorCardCategorySelection dccsInteractables; public DirectorCardCategorySelection dccsInteractablesDLC1; public RuntimeVoidStageTemplate(Scene voidStage) { //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_0012: Unknown result type (might be due to invalid IL or missing references) //IL_00a4: Unknown result type (might be due to invalid IL or missing references) //IL_00a9: Unknown result type (might be due to invalid IL or missing references) //IL_00c4: Unknown result type (might be due to invalid IL or missing references) //IL_00c9: Unknown result type (might be due to invalid IL or missing references) //IL_00e4: Unknown result type (might be due to invalid IL or missing references) //IL_00e9: Unknown result type (might be due to invalid IL or missing references) //IL_0132: Unknown result type (might be due to invalid IL or missing references) //IL_0137: Unknown result type (might be due to invalid IL or missing references) //IL_0140: Unknown result type (might be due to invalid IL or missing references) //IL_014a: Expected O, but got Unknown //IL_015a: Unknown result type (might be due to invalid IL or missing references) //IL_015f: Unknown result type (might be due to invalid IL or missing references) //IL_0174: Unknown result type (might be due to invalid IL or missing references) //IL_0179: Unknown result type (might be due to invalid IL or missing references) //IL_0182: Unknown result type (might be due to invalid IL or missing references) //IL_018c: Expected O, but got Unknown //IL_0197: Unknown result type (might be due to invalid IL or missing references) //IL_01b2: Unknown result type (might be due to invalid IL or missing references) //IL_01b7: Unknown result type (might be due to invalid IL or missing references) //IL_01e1: Unknown result type (might be due to invalid IL or missing references) //IL_01e6: Unknown result type (might be due to invalid IL or missing references) //IL_021b: Unknown result type (might be due to invalid IL or missing references) //IL_0223: Unknown result type (might be due to invalid IL or missing references) //IL_022b: Unknown result type (might be due to invalid IL or missing references) //IL_0233: Unknown result type (might be due to invalid IL or missing references) //IL_0274: Unknown result type (might be due to invalid IL or missing references) //IL_029c: Unknown result type (might be due to invalid IL or missing references) //IL_02a1: Unknown result type (might be due to invalid IL or missing references) //IL_02a9: Unknown result type (might be due to invalid IL or missing references) //IL_02b1: Expected O, but got Unknown //IL_02b3: Unknown result type (might be due to invalid IL or missing references) //IL_02b8: Unknown result type (might be due to invalid IL or missing references) //IL_02be: Unknown result type (might be due to invalid IL or missing references) //IL_02c3: Unknown result type (might be due to invalid IL or missing references) //IL_02d1: Unknown result type (might be due to invalid IL or missing references) //IL_02d9: Expected O, but got Unknown //IL_02db: Unknown result type (might be due to invalid IL or missing references) //IL_02e0: Unknown result type (might be due to invalid IL or missing references) //IL_02e6: Unknown result type (might be due to invalid IL or missing references) //IL_02eb: Unknown result type (might be due to invalid IL or missing references) //IL_02f9: Unknown result type (might be due to invalid IL or missing references) //IL_0300: Unknown result type (might be due to invalid IL or missing references) //IL_0308: Expected O, but got Unknown //IL_030d: Unknown result type (might be due to invalid IL or missing references) //IL_030f: Unknown result type (might be due to invalid IL or missing references) //IL_0318: Unknown result type (might be due to invalid IL or missing references) //IL_0340: Unknown result type (might be due to invalid IL or missing references) //IL_0345: Unknown result type (might be due to invalid IL or missing references) //IL_034b: Unknown result type (might be due to invalid IL or missing references) //IL_0350: Unknown result type (might be due to invalid IL or missing references) //IL_035e: Unknown result type (might be due to invalid IL or missing references) //IL_0366: Expected O, but got Unknown //IL_0368: Unknown result type (might be due to invalid IL or missing references) //IL_036d: Unknown result type (might be due to invalid IL or missing references) //IL_0373: Unknown result type (might be due to invalid IL or missing references) //IL_0378: Unknown result type (might be due to invalid IL or missing references) //IL_0386: Unknown result type (might be due to invalid IL or missing references) //IL_038e: Expected O, but got Unknown //IL_0390: Unknown result type (might be due to invalid IL or missing references) //IL_0395: Unknown result type (might be due to invalid IL or missing references) //IL_039b: Unknown result type (might be due to invalid IL or missing references) //IL_03a0: Unknown result type (might be due to invalid IL or missing references) //IL_03ae: Unknown result type (might be due to invalid IL or missing references) //IL_03b6: Expected O, but got Unknown //IL_03bb: Unknown result type (might be due to invalid IL or missing references) //IL_03bd: Unknown result type (might be due to invalid IL or missing references) //IL_03c6: Unknown result type (might be due to invalid IL or missing references) //IL_03ee: Unknown result type (might be due to invalid IL or missing references) //IL_03f3: Unknown result type (might be due to invalid IL or missing references) //IL_03f9: Unknown result type (might be due to invalid IL or missing references) //IL_03fe: Unknown result type (might be due to invalid IL or missing references) //IL_040c: Unknown result type (might be due to invalid IL or missing references) //IL_0414: Expected O, but got Unknown //IL_0416: Unknown result type (might be due to invalid IL or missing references) //IL_041b: Unknown result type (might be due to invalid IL or missing references) //IL_0421: Unknown result type (might be due to invalid IL or missing references) //IL_0426: Unknown result type (might be due to invalid IL or missing references) //IL_0434: Unknown result type (might be due to invalid IL or missing references) //IL_043c: Expected O, but got Unknown //IL_043e: Unknown result type (might be due to invalid IL or missing references) //IL_0443: Unknown result type (might be due to invalid IL or missing references) //IL_0449: Unknown result type (might be due to invalid IL or missing references) //IL_044e: Unknown result type (might be due to invalid IL or missing references) //IL_045c: Unknown result type (might be due to invalid IL or missing references) //IL_0464: Expected O, but got Unknown //IL_0466: Unknown result type (might be due to invalid IL or missing references) //IL_046b: Unknown result type (might be due to invalid IL or missing references) //IL_0471: Unknown result type (might be due to invalid IL or missing references) //IL_0476: Unknown result type (might be due to invalid IL or missing references) //IL_0484: Unknown result type (might be due to invalid IL or missing references) //IL_048c: Expected O, but got Unknown //IL_0491: Unknown result type (might be due to invalid IL or missing references) //IL_0493: Unknown result type (might be due to invalid IL or missing references) //IL_049c: Unknown result type (might be due to invalid IL or missing references) //IL_04c4: Unknown result type (might be due to invalid IL or missing references) //IL_04c9: Unknown result type (might be due to invalid IL or missing references) //IL_04cf: Unknown result type (might be due to invalid IL or missing references) //IL_04d4: Unknown result type (might be due to invalid IL or missing references) //IL_04e2: Unknown result type (might be due to invalid IL or missing references) //IL_04e9: Unknown result type (might be due to invalid IL or missing references) //IL_04f1: Expected O, but got Unknown //IL_04f6: Unknown result type (might be due to invalid IL or missing references) //IL_04f8: Unknown result type (might be due to invalid IL or missing references) //IL_052e: Unknown result type (might be due to invalid IL or missing references) //IL_0556: Unknown result type (might be due to invalid IL or missing references) //IL_055b: Unknown result type (might be due to invalid IL or missing references) //IL_0561: Unknown result type (might be due to invalid IL or missing references) //IL_0566: Unknown result type (might be due to invalid IL or missing references) //IL_0574: Unknown result type (might be due to invalid IL or missing references) //IL_057c: Expected O, but got Unknown //IL_057e: Unknown result type (might be due to invalid IL or missing references) //IL_0583: Unknown result type (might be due to invalid IL or missing references) //IL_0589: Unknown result type (might be due to invalid IL or missing references) //IL_058e: Unknown result type (might be due to invalid IL or missing references) //IL_059c: Unknown result type (might be due to invalid IL or missing references) //IL_05a4: Expected O, but got Unknown //IL_05a6: Unknown result type (might be due to invalid IL or missing references) //IL_05ab: Unknown result type (might be due to invalid IL or missing references) //IL_05b1: Unknown result type (might be due to invalid IL or missing references) //IL_05b6: Unknown result type (might be due to invalid IL or missing references) //IL_05c4: Unknown result type (might be due to invalid IL or missing references) //IL_05cb: Unknown result type (might be due to invalid IL or missing references) //IL_05d3: Expected O, but got Unknown //IL_05d8: Unknown result type (might be due to invalid IL or missing references) //IL_05da: Unknown result type (might be due to invalid IL or missing references) //IL_05e3: Unknown result type (might be due to invalid IL or missing references) //IL_060b: Unknown result type (might be due to invalid IL or missing references) //IL_0610: Unknown result type (might be due to invalid IL or missing references) //IL_0616: Unknown result type (might be due to invalid IL or missing references) //IL_061b: Unknown result type (might be due to invalid IL or missing references) //IL_0629: Unknown result type (might be due to invalid IL or missing references) //IL_0631: Expected O, but got Unknown //IL_0633: Unknown result type (might be due to invalid IL or missing references) //IL_0638: Unknown result type (might be due to invalid IL or missing references) //IL_063e: Unknown result type (might be due to invalid IL or missing references) //IL_0643: Unknown result type (might be due to invalid IL or missing references) //IL_0651: Unknown result type (might be due to invalid IL or missing references) //IL_0659: Expected O, but got Unknown //IL_065b: Unknown result type (might be due to invalid IL or missing references) //IL_0660: Unknown result type (might be due to invalid IL or missing references) //IL_0666: Unknown result type (might be due to invalid IL or missing references) //IL_066b: Unknown result type (might be due to invalid IL or missing references) //IL_0679: Unknown result type (might be due to invalid IL or missing references) //IL_0681: Expected O, but got Unknown //IL_0683: Unknown result type (might be due to invalid IL or missing references) //IL_0688: Unknown result type (might be due to invalid IL or missing references) //IL_068e: Unknown result type (might be due to invalid IL or missing references) //IL_0693: Unknown result type (might be due to invalid IL or missing references) //IL_06a1: Unknown result type (might be due to invalid IL or missing references) //IL_06a9: Expected O, but got Unknown //IL_06ab: Unknown result type (might be due to invalid IL or missing references) //IL_06b0: Unknown result type (might be due to invalid IL or missing references) //IL_06b6: Unknown result type (might be due to invalid IL or missing references) //IL_06bb: Unknown result type (might be due to invalid IL or missing references) //IL_06c9: Unknown result type (might be due to invalid IL or missing references) //IL_06d1: Expected O, but got Unknown //IL_06d6: Unknown result type (might be due to invalid IL or missing references) //IL_06d8: Unknown result type (might be due to invalid IL or missing references) //IL_06e1: Unknown result type (might be due to invalid IL or missing references) //IL_0709: Unknown result type (might be due to invalid IL or missing references) //IL_070e: Unknown result type (might be due to invalid IL or missing references) //IL_0714: Unknown result type (might be due to invalid IL or missing references) //IL_0719: Unknown result type (might be due to invalid IL or missing references) //IL_0727: Unknown result type (might be due to invalid IL or missing references) //IL_072f: Expected O, but got Unknown //IL_0731: Unknown result type (might be due to invalid IL or missing references) //IL_0736: Unknown result type (might be due to invalid IL or missing references) //IL_073c: Unknown result type (might be due to invalid IL or missing references) //IL_0741: Unknown result type (might be due to invalid IL or missing references) //IL_074f: Unknown result type (might be due to invalid IL or missing references) //IL_0757: Expected O, but got Unknown //IL_0759: Unknown result type (might be due to invalid IL or missing references) //IL_075e: Unknown result type (might be due to invalid IL or missing references) //IL_0764: Unknown result type (might be due to invalid IL or missing references) //IL_0769: Unknown result type (might be due to invalid IL or missing references) //IL_0777: Unknown result type (might be due to invalid IL or missing references) //IL_077f: Expected O, but got Unknown //IL_0781: Unknown result type (might be due to invalid IL or missing references) //IL_0786: Unknown result type (might be due to invalid IL or missing references) //IL_078c: Unknown result type (might be due to invalid IL or missing references) //IL_0791: Unknown result type (might be due to invalid IL or missing references) //IL_079f: Unknown result type (might be due to invalid IL or missing references) //IL_07a7: Expected O, but got Unknown //IL_07ac: Unknown result type (might be due to invalid IL or missing references) //IL_07ae: Unknown result type (might be due to invalid IL or missing references) //IL_07b7: Unknown result type (might be due to invalid IL or missing references) //IL_07df: Unknown result type (might be due to invalid IL or missing references) //IL_07e4: Unknown result type (might be due to invalid IL or missing references) //IL_07ea: Unknown result type (might be due to invalid IL or missing references) //IL_07ef: Unknown result type (might be due to invalid IL or missing references) //IL_07fd: Unknown result type (might be due to invalid IL or missing references) //IL_0804: Unknown result type (might be due to invalid IL or missing references) //IL_080c: Expected O, but got Unknown //IL_0811: Unknown result type (might be due to invalid IL or missing references) //IL_0813: Unknown result type (might be due to invalid IL or missing references) //IL_0847: Unknown result type (might be due to invalid IL or missing references) //IL_084e: Expected O, but got Unknown //IL_087c: Unknown result type (might be due to invalid IL or missing references) //IL_0883: Expected O, but got Unknown //IL_08bf: Unknown result type (might be due to invalid IL or missing references) //IL_08c4: Unknown result type (might be due to invalid IL or missing references) //IL_08d0: Unknown result type (might be due to invalid IL or missing references) //IL_08dc: Expected O, but got Unknown //IL_08e6: Unknown result type (might be due to invalid IL or missing references) //IL_08ed: Expected O, but got Unknown //IL_091b: Unknown result type (might be due to invalid IL or missing references) //IL_0920: Unknown result type (might be due to invalid IL or missing references) //IL_0926: Unknown result type (might be due to invalid IL or missing references) //IL_092b: Unknown result type (might be due to invalid IL or missing references) //IL_0939: Unknown result type (might be due to invalid IL or missing references) //IL_0944: Unknown result type (might be due to invalid IL or missing references) //IL_0950: Expected O, but got Unknown //IL_0952: Unknown result type (might be due to invalid IL or missing references) //IL_0959: Expected O, but got Unknown //IL_0960: Unknown result type (might be due to invalid IL or missing references) //IL_0965: Unknown result type (might be due to invalid IL or missing references) //IL_0995: Unknown result type (might be due to invalid IL or missing references) //IL_099a: Unknown result type (might be due to invalid IL or missing references) //IL_09a0: Unknown result type (might be due to invalid IL or missing references) //IL_09a5: Unknown result type (might be due to invalid IL or missing references) //IL_09b3: Unknown result type (might be due to invalid IL or missing references) //IL_09be: Unknown result type (might be due to invalid IL or missing references) //IL_09ca: Expected O, but got Unknown //IL_09cc: Unknown result type (might be due to invalid IL or missing references) //IL_09d1: Unknown result type (might be due to invalid IL or missing references) //IL_09d7: Unknown result type (might be due to invalid IL or missing references) //IL_09dc: Unknown result type (might be due to invalid IL or missing references) //IL_09ea: Unknown result type (might be due to invalid IL or missing references) //IL_09f5: Unknown result type (might be due to invalid IL or missing references) //IL_0a01: Expected O, but got Unknown //IL_0a17: Unknown result type (might be due to invalid IL or missing references) //IL_0a1e: Expected O, but got Unknown //IL_0a4c: Unknown result type (might be due to invalid IL or missing references) //IL_0a53: Expected O, but got Unknown //IL_0a5a: Unknown result type (might be due to invalid IL or missing references) //IL_0a5f: Unknown result type (might be due to invalid IL or missing references) //IL_0ad2: Unknown result type (might be due to invalid IL or missing references) //IL_0afb: Unknown result type (might be due to invalid IL or missing references) //IL_0b00: Unknown result type (might be due to invalid IL or missing references) //IL_0b06: Unknown result type (might be due to invalid IL or missing references) //IL_0b0b: Unknown result type (might be due to invalid IL or missing references) //IL_0b19: Unknown result type (might be due to invalid IL or missing references) //IL_0b22: Expected O, but got Unknown //IL_0b24: Unknown result type (might be due to invalid IL or missing references) //IL_0b29: Unknown result type (might be due to invalid IL or missing references) //IL_0b2f: Unknown result type (might be due to invalid IL or missing references) //IL_0b34: Unknown result type (might be due to invalid IL or missing references) //IL_0b42: Unknown result type (might be due to invalid IL or missing references) //IL_0b4a: Expected O, but got Unknown //IL_0b4c: Unknown result type (might be due to invalid IL or missing references) //IL_0b51: Unknown result type (might be due to invalid IL or missing references) //IL_0b57: Unknown result type (might be due to invalid IL or missing references) //IL_0b5c: Unknown result type (might be due to invalid IL or missing references) //IL_0b6a: Unknown result type (might be due to invalid IL or missing references) //IL_0b72: Expected O, but got Unknown //IL_0b74: Unknown result type (might be due to invalid IL or missing references) //IL_0b79: Unknown result type (might be due to invalid IL or missing references) //IL_0b7f: Unknown result type (might be due to invalid IL or missing references) //IL_0b84: Unknown result type (might be due to invalid IL or missing references) //IL_0b92: Unknown result type (might be due to invalid IL or missing references) //IL_0b9a: Expected O, but got Unknown //IL_0b9c: Unknown result type (might be due to invalid IL or missing references) //IL_0ba1: Unknown result type (might be due to invalid IL or missing references) //IL_0ba7: Unknown result type (might be due to invalid IL or missing references) //IL_0bac: Unknown result type (might be due to invalid IL or missing references) //IL_0bba: Unknown result type (might be due to invalid IL or missing references) //IL_0bc2: Expected O, but got Unknown //IL_0bc4: Unknown result type (might be due to invalid IL or missing references) //IL_0bc9: Unknown result type (might be due to invalid IL or missing references) //IL_0bcf: Unknown result type (might be due to invalid IL or missing references) //IL_0bd4: Unknown result type (might be due to invalid IL or missing references) //IL_0be2: Unknown result type (might be due to invalid IL or missing references) //IL_0bea: Expected O, but got Unknown //IL_0bec: Unknown result type (might be due to invalid IL or missing references) //IL_0bf1: Unknown result type (might be due to invalid IL or missing references) //IL_0bf7: Unknown result type (might be due to invalid IL or missing references) //IL_0bfc: Unknown result type (might be due to invalid IL or missing references) //IL_0c0a: Unknown result type (might be due to invalid IL or missing references) //IL_0c12: Expected O, but got Unknown //IL_0c14: Unknown result type (might be due to invalid IL or missing references) //IL_0c19: Unknown result type (might be due to invalid IL or missing references) //IL_0c1f: Unknown result type (might be due to invalid IL or missing references) //IL_0c24: Unknown result type (might be due to invalid IL or missing references) //IL_0c32: Unknown result type (might be due to invalid IL or missing references) //IL_0c3a: Expected O, but got Unknown //IL_0c3c: Unknown result type (might be due to invalid IL or missing references) //IL_0c41: Unknown result type (might be due to invalid IL or missing references) //IL_0c47: Unknown result type (might be due to invalid IL or missing references) //IL_0c4c: Unknown result type (might be due to invalid IL or missing references) //IL_0c5a: Unknown result type (might be due to invalid IL or missing references) //IL_0c62: Expected O, but got Unknown //IL_0c67: Unknown result type (might be due to invalid IL or missing references) //IL_0c69: Unknown result type (might be due to invalid IL or missing references) //IL_0c72: Unknown result type (might be due to invalid IL or missing references) //IL_0c9a: Unknown result type (might be due to invalid IL or missing references) //IL_0c9f: Unknown result type (might be due to invalid IL or missing references) //IL_0ca5: Unknown result type (might be due to invalid IL or missing references) //IL_0caa: Unknown result type (might be due to invalid IL or missing references) //IL_0cb8: Unknown result type (might be due to invalid IL or missing references) //IL_0cc1: Expected O, but got Unknown //IL_0cc6: Unknown result type (might be due to invalid IL or missing references) //IL_0cc8: Unknown result type (might be due to invalid IL or missing references) //IL_0cd1: Unknown result type (might be due to invalid IL or missing references) //IL_0cf9: Unknown result type (might be due to invalid IL or missing references) //IL_0cfe: Unknown result type (might be due to invalid IL or missing references) //IL_0d04: Unknown result type (might be due to invalid IL or missing references) //IL_0d09: Unknown result type (might be due to invalid IL or missing references) //IL_0d17: Unknown result type (might be due to invalid IL or missing references) //IL_0d20: Expected O, but got Unknown //IL_0d22: Unknown result type (might be due to invalid IL or missing references) //IL_0d27: Unknown result type (might be due to invalid IL or missing references) //IL_0d2d: Unknown result type (might be due to invalid IL or missing references) //IL_0d32: Unknown result type (might be due to invalid IL or missing references) //IL_0d40: Unknown result type (might be due to invalid IL or missing references) //IL_0d49: Expected O, but got Unknown //IL_0d4b: Unknown result type (might be due to invalid IL or missing references) //IL_0d50: Unknown result type (might be due to invalid IL or missing references) //IL_0d56: Unknown result type (might be due to invalid IL or missing references) //IL_0d5b: Unknown result type (might be due to invalid IL or missing references) //IL_0d69: Unknown result type (might be due to invalid IL or missing references) //IL_0d72: Expected O, but got Unknown //IL_0d74: Unknown result type (might be due to invalid IL or missing references) //IL_0d79: Unknown result type (might be due to invalid IL or missing references) //IL_0d7f: Unknown result type (might be due to invalid IL or missing references) //IL_0d84: Unknown result type (might be due to invalid IL or missing references) //IL_0d92: Unknown result type (might be due to invalid IL or missing references) //IL_0d9a: Expected O, but got Unknown //IL_0d9f: Unknown result type (might be due to invalid IL or missing references) //IL_0da1: Unknown result type (might be due to invalid IL or missing references) //IL_0daa: Unknown result type (might be due to invalid IL or missing references) //IL_0dd2: Unknown result type (might be due to invalid IL or missing references) //IL_0dd7: Unknown result type (might be due to invalid IL or missing references) //IL_0ddd: Unknown result type (might be due to invalid IL or missing references) //IL_0de2: Unknown result type (might be due to invalid IL or missing references) //IL_0df0: Unknown result type (might be due to invalid IL or missing references) //IL_0df8: Expected O, but got Unknown //IL_0dfd: Unknown result type (might be due to invalid IL or missing references) //IL_0dff: Unknown result type (might be due to invalid IL or missing references) //IL_0e08: Unknown result type (might be due to invalid IL or missing references) //IL_0e30: Unknown result type (might be due to invalid IL or missing references) //IL_0e35: Unknown result type (might be due to invalid IL or missing references) //IL_0e3b: Unknown result type (might be due to invalid IL or missing references) //IL_0e40: Unknown result type (might be due to invalid IL or missing references) //IL_0e4e: Unknown result type (might be due to invalid IL or missing references) //IL_0e56: Expected O, but got Unknown //IL_0e5b: Unknown result type (might be due to invalid IL or missing references) //IL_0e5d: Unknown result type (might be due to invalid IL or missing references) //IL_0e66: Unknown result type (might be due to invalid IL or missing references) //IL_0e8e: Unknown result type (might be due to invalid IL or missing references) //IL_0e93: Unknown result type (might be due to invalid IL or missing references) //IL_0e99: Unknown result type (might be due to invalid IL or missing references) //IL_0e9e: Unknown result type (might be due to invalid IL or missing references) //IL_0eac: Unknown result type (might be due to invalid IL or missing references) //IL_0eb4: Expected O, but got Unknown //IL_0eb6: Unknown result type (might be due to invalid IL or missing references) //IL_0ebb: Unknown result type (might be due to invalid IL or missing references) //IL_0ec1: Unknown result type (might be due to invalid IL or missing references) //IL_0ec6: Unknown result type (might be due to invalid IL or missing references) //IL_0ed4: Unknown result type (might be due to invalid IL or missing references) //IL_0edb: Unknown result type (might be due to invalid IL or missing references) //IL_0ee1: Unknown result type (might be due to invalid IL or missing references) //IL_0ee6: Unknown result type (might be due to invalid IL or missing references) //IL_0ef5: Expected O, but got Unknown //IL_0ef7: Unknown result type (might be due to invalid IL or missing references) //IL_0efc: Unknown result type (might be due to invalid IL or missing references) //IL_0f02: Unknown result type (might be due to invalid IL or missing references) //IL_0f07: Unknown result type (might be due to invalid IL or missing references) //IL_0f15: Unknown result type (might be due to invalid IL or missing references) //IL_0f1c: Unknown result type (might be due to invalid IL or missing references) //IL_0f24: Expected O, but got Unknown //IL_0f26: Unknown result type (might be due to invalid IL or missing references) //IL_0f2b: Unknown result type (might be due to invalid IL or missing references) //IL_0f31: Unknown result type (might be due to invalid IL or missing references) //IL_0f36: Unknown result type (might be due to invalid IL or missing references) //IL_0f44: Unknown result type (might be due to invalid IL or missing references) //IL_0f4b: Unknown result type (might be due to invalid IL or missing references) //IL_0f53: Expected O, but got Unknown //IL_0f58: Unknown result type (might be due to invalid IL or missing references) //IL_0f5a: Unknown result type (might be due to invalid IL or missing references) //IL_0f63: Unknown result type (might be due to invalid IL or missing references) //IL_0f8b: Unknown result type (might be due to invalid IL or missing references) //IL_0f90: Unknown result type (might be due to invalid IL or missing references) //IL_0f96: Unknown result type (might be due to invalid IL or missing references) //IL_0f9b: Unknown result type (might be due to invalid IL or missing references) //IL_0fa9: Unknown result type (might be due to invalid IL or missing references) //IL_0fb2: Expected O, but got Unknown //IL_0fb4: Unknown result type (might be due to invalid IL or missing references) //IL_0fb9: Unknown result type (might be due to invalid IL or missing references) //IL_0fbf: Unknown result type (might be due to invalid IL or missing references) //IL_0fc4: Unknown result type (might be due to invalid IL or missing references) //IL_0fd2: Unknown result type (might be due to invalid IL or missing references) //IL_0fd9: Unknown result type (might be due to invalid IL or missing references) //IL_0fe1: Expected O, but got Unknown //IL_0fe3: Unknown result type (might be due to invalid IL or missing references) //IL_0fe8: Unknown result type (might be due to invalid IL or missing references) //IL_0fee: Unknown result type (might be due to invalid IL or missing references) //IL_0ff3: Unknown result type (might be due to invalid IL or missing references) //IL_1001: Unknown result type (might be due to invalid IL or missing references) //IL_1008: Unknown result type (might be due to invalid IL or missing references) //IL_1010: Expected O, but got Unknown //IL_1012: Unknown result type (might be due to invalid IL or missing references) //IL_1017: Unknown result type (might be due to invalid IL or missing references) //IL_101d: Unknown result type (might be due to invalid IL or missing references) //IL_1022: Unknown result type (might be due to invalid IL or missing references) //IL_1030: Unknown result type (might be due to invalid IL or missing references) //IL_1037: Unknown result type (might be due to invalid IL or missing references) //IL_103f: Expected O, but got Unknown //IL_1041: Unknown result type (might be due to invalid IL or missing references) //IL_1046: Unknown result type (might be due to invalid IL or missing references) //IL_104c: Unknown result type (might be due to invalid IL or missing references) //IL_1051: Unknown result type (might be due to invalid IL or missing references) //IL_105f: Unknown result type (might be due to invalid IL or missing references) //IL_1068: Expected O, but got Unknown //IL_106d: Unknown result type (might be due to invalid IL or missing references) //IL_106f: Unknown result type (might be due to invalid IL or missing references) //IL_10a5: Unknown result type (might be due to invalid IL or missing references) //IL_10ce: Unknown result type (might be due to invalid IL or missing references) //IL_10d3: Unknown result type (might be due to invalid IL or missing references) //IL_10d9: Unknown result type (might be due to invalid IL or missing references) //IL_10de: Unknown result type (might be due to invalid IL or missing references) //IL_10ec: Unknown result type (might be due to invalid IL or missing references) //IL_10f8: Expected O, but got Unknown //IL_10fa: Unknown result type (might be due to invalid IL or missing references) //IL_10ff: Unknown result type (might be due to invalid IL or missing references) //IL_1105: Unknown result type (might be due to invalid IL or missing references) //IL_110a: Unknown result type (might be due to invalid IL or missing references) //IL_1118: Unknown result type (might be due to invalid IL or missing references) //IL_1121: Expected O, but got Unknown //IL_1123: Unknown result type (might be due to invalid IL or missing references) //IL_1128: Unknown result type (might be due to invalid IL or missing references) //IL_112e: Unknown result type (might be due to invalid IL or missing references) //IL_1133: Unknown result type (might be due to invalid IL or missing references) //IL_1141: Unknown result type (might be due to invalid IL or missing references) //IL_114a: Expected O, but got Unknown //IL_114c: Unknown result type (might be due to invalid IL or missing references) //IL_1151: Unknown result type (might be due to invalid IL or missing references) //IL_1157: Unknown result type (might be due to invalid IL or missing references) //IL_115c: Unknown result type (might be due to invalid IL or missing references) //IL_116a: Unknown result type (might be due to invalid IL or missing references) //IL_1173: Expected O, but got Unknown //IL_1175: Unknown result type (might be due to invalid IL or missing references) //IL_117a: Unknown result type (might be due to invalid IL or missing references) //IL_1180: Unknown result type (might be due to invalid IL or missing references) //IL_1185: Unknown result type (might be due to invalid IL or missing references) //IL_1193: Unknown result type (might be due to invalid IL or missing references) //IL_119b: Expected O, but got Unknown //IL_119d: Unknown result type (might be due to invalid IL or missing references) //IL_11a2: Unknown result type (might be due to invalid IL or missing references) //IL_11a8: Unknown result type (might be due to invalid IL or missing references) //IL_11ad: Unknown result type (might be due to invalid IL or missing references) //IL_11bb: Unknown result type (might be due to invalid IL or missing references) //IL_11c4: Expected O, but got Unknown //IL_11c6: Unknown result type (might be due to invalid IL or missing references) //IL_11cb: Unknown result type (might be due to invalid IL or missing references) //IL_11d1: Unknown result type (might be due to invalid IL or missing references) //IL_11d6: Unknown result type (might be due to invalid IL or missing references) //IL_11e4: Unknown result type (might be due to invalid IL or missing references) //IL_11ed: Expected O, but got Unknown //IL_11ef: Unknown result type (might be due to invalid IL or missing references) //IL_11f4: Unknown result type (might be due to invalid IL or missing references) //IL_11fa: Unknown result type (might be due to invalid IL or missing references) //IL_11ff: Unknown result type (might be due to invalid IL or missing references) //IL_120d: Unknown result type (might be due to invalid IL or missing references) //IL_1216: Expected O, but got Unknown //IL_1218: Unknown result type (might be due to invalid IL or missing references) //IL_121d: Unknown result type (might be due to invalid IL or missing references) //IL_1223: Unknown result type (might be due to invalid IL or missing references) //IL_1228: Unknown result type (might be due to invalid IL or missing references) //IL_1236: Unknown result type (might be due to invalid IL or missing references) //IL_123f: Expected O, but got Unknown //IL_1242: Unknown result type (might be due to invalid IL or missing references) //IL_1247: Unknown result type (might be due to invalid IL or missing references) //IL_124d: Unknown result type (might be due to invalid IL or missing references) //IL_1252: Unknown result type (might be due to invalid IL or missing references) //IL_1260: Unknown result type (might be due to invalid IL or missing references) //IL_1269: Expected O, but got Unknown //IL_126c: Unknown result type (might be due to invalid IL or missing references) //IL_1271: Unknown result type (might be due to invalid IL or missing references) //IL_1277: Unknown result type (might be due to invalid IL or missing references) //IL_127c: Unknown result type (might be due to invalid IL or missing references) //IL_128a: Unknown result type (might be due to invalid IL or missing references) //IL_1292: Expected O, but got Unknown //IL_1295: Unknown result type (might be due to invalid IL or missing references) //IL_129a: Unknown result type (might be due to invalid IL or missing references) //IL_12a0: Unknown result type (might be due to invalid IL or missing references) //IL_12a5: Unknown result type (might be due to invalid IL or missing references) //IL_12b3: Unknown result type (might be due to invalid IL or missing references) //IL_12bb: Expected O, but got Unknown //IL_12be: Unknown result type (might be due to invalid IL or missing references) //IL_12c3: Unknown result type (might be due to invalid IL or missing references) //IL_12c9: Unknown result type (might be due to invalid IL or missing references) //IL_12ce: Unknown result type (might be due to invalid IL or missing references) //IL_12dc: Unknown result type (might be due to invalid IL or missing references) //IL_12e4: Expected O, but got Unknown //IL_12e9: Unknown result type (might be due to invalid IL or missing references) //IL_12eb: Unknown result type (might be due to invalid IL or missing references) //IL_12f4: Unknown result type (might be due to invalid IL or missing references) //IL_131c: Unknown result type (might be due to invalid IL or missing references) //IL_1321: Unknown result type (might be due to invalid IL or missing references) //IL_1327: Unknown result type (might be due to invalid IL or missing references) //IL_132c: Unknown result type (might be due to invalid IL or missing references) //IL_133a: Unknown result type (might be due to invalid IL or missing references) //IL_1343: Expected O, but got Unknown //IL_1348: Unknown result type (might be due to invalid IL or missing references) //IL_134a: Unknown result type (might be due to invalid IL or missing references) //IL_1353: Unknown result type (might be due to invalid IL or missing references) //IL_137b: Unknown result type (might be due to invalid IL or missing references) //IL_1380: Unknown result type (might be due to invalid IL or missing references) //IL_1386: Unknown result type (might be due to invalid IL or missing references) //IL_138b: Unknown result type (might be due to invalid IL or missing references) //IL_1399: Unknown result type (might be due to invalid IL or missing references) //IL_13a2: Expected O, but got Unknown //IL_13a4: Unknown result type (might be due to invalid IL or missing references) //IL_13a9: Unknown result type (might be due to invalid IL or missing references) //IL_13af: Unknown result type (might be due to invalid IL or missing references) //IL_13b4: Unknown result type (might be due to invalid IL or missing references) //IL_13c2: Unknown result type (might be due to invalid IL or missing references) //IL_13cb: Expected O, but got Unknown //IL_13cd: Unknown result type (might be due to invalid IL or missing references) //IL_13d2: Unknown result type (might be due to invalid IL or missing references) //IL_13d8: Unknown result type (might be due to invalid IL or missing references) //IL_13dd: Unknown result type (might be due to invalid IL or missing references) //IL_13eb: Unknown result type (might be due to invalid IL or missing references) //IL_13f4: Expected O, but got Unknown //IL_13f6: Unknown result type (might be due to invalid IL or missing references) //IL_13fb: Unknown result type (might be due to invalid IL or missing references) //IL_1401: Unknown result type (might be due to invalid IL or missing references) //IL_1406: Unknown result type (might be due to invalid IL or missing references) //IL_1414: Unknown result type (might be due to invalid IL or missing references) //IL_141c: Expected O, but got Unknown //IL_1421: Unknown result type (might be due to invalid IL or missing references) //IL_1423: Unknown result type (might be due to invalid IL or missing references) //IL_142c: Unknown result type (might be due to invalid IL or missing references) //IL_1454: Unknown result type (might be due to invalid IL or missing references) //IL_1459: Unknown result type (might be due to invalid IL or missing references) //IL_145f: Unknown result type (might be due to invalid IL or missing references) //IL_1464: Unknown result type (might be due to invalid IL or missing references) //IL_1472: Unknown result type (might be due to invalid IL or missing references) //IL_147e: Expected O, but got Unknown //IL_1480: Unknown result type (might be due to invalid IL or missing references) //IL_1485: Unknown result type (might be due to invalid IL or missing references) //IL_148b: Unknown result type (might be due to invalid IL or missing references) //IL_1490: Unknown result type (might be due to invalid IL or missing references) //IL_149e: Unknown result type (might be due to invalid IL or missing references) //IL_14aa: Expected O, but got Unknown //IL_14ac: Unknown result type (might be due to invalid IL or missing references) //IL_14b1: Unknown result type (might be due to invalid IL or missing references) //IL_14b7: Unknown result type (might be due to invalid IL or missing references) //IL_14bc: Unknown result type (might be due to invalid IL or missing references) //IL_14ca: Unknown result type (might be due to invalid IL or missing references) //IL_14d6: Expected O, but got Unknown //IL_14d8: Unknown result type (might be due to invalid IL or missing references) //IL_14dd: Unknown result type (might be due to invalid IL or missing references) //IL_14e3: Unknown result type (might be due to invalid IL or missing references) //IL_14e8: Unknown result type (might be due to invalid IL or missing references) //IL_14f6: Unknown result type (might be due to invalid IL or missing references) //IL_14fe: Expected O, but got Unknown //IL_1503: Unknown result type (might be due to invalid IL or missing references) //IL_1505: Unknown result type (might be due to invalid IL or missing references) //IL_150e: Unknown result type (might be due to invalid IL or missing references) //IL_1536: Unknown result type (might be due to invalid IL or missing references) //IL_153b: Unknown result type (might be due to invalid IL or missing references) //IL_1541: Unknown result type (might be due to invalid IL or missing references) //IL_1546: Unknown result type (might be due to invalid IL or missing references) //IL_1554: Unknown result type (might be due to invalid IL or missing references) //IL_155c: Expected O, but got Unknown //IL_1561: Unknown result type (might be due to invalid IL or missing references) //IL_1563: Unknown result type (might be due to invalid IL or missing references) //IL_156c: Unknown result type (might be due to invalid IL or missing references) //IL_1594: Unknown result type (might be due to invalid IL or missing references) //IL_1599: Unknown result type (might be due to invalid IL or missing references) //IL_159f: Unknown result type (might be due to invalid IL or missing references) //IL_15a4: Unknown result type (might be due to invalid IL or missing references) //IL_15b2: Unknown result type (might be due to invalid IL or missing references) //IL_15ba: Expected O, but got Unknown //IL_15bc: Unknown result type (might be due to invalid IL or missing references) //IL_15c1: Unknown result type (might be due to invalid IL or missing references) //IL_15c7: Unknown result type (might be due to invalid IL or missing references) //IL_15cc: Unknown result type (might be due to invalid IL or missing references) //IL_15da: Unknown result type (might be due to invalid IL or missing references) //IL_15e1: Unknown result type (might be due to invalid IL or missing references) //IL_15e7: Unknown result type (might be due to invalid IL or missing references) //IL_15ec: Unknown result type (might be due to invalid IL or missing references) //IL_15fb: Expected O, but got Unknown //IL_15fd: Unknown result type (might be due to invalid IL or missing references) //IL_1602: Unknown result type (might be due to invalid IL or missing references) //IL_1608: Unknown result type (might be due to invalid IL or missing references) //IL_160d: Unknown result type (might be due to invalid IL or missing references) //IL_161b: Unknown result type (might be due to invalid IL or missing references) //IL_1622: Unknown result type (might be due to invalid IL or missing references) //IL_162a: Expected O, but got Unknown //IL_162c: Unknown result type (might be due to invalid IL or missing references) //IL_1631: Unknown result type (might be due to invalid IL or missing references) //IL_1637: Unknown result type (might be due to invalid IL or missing references) //IL_163c: Unknown result type (might be due to invalid IL or missing references) //IL_164a: Unknown result type (might be due to invalid IL or missing references) //IL_1651: Unknown result type (might be due to invalid IL or missing references) //IL_1659: Expected O, but got Unknown //IL_165e: Unknown result type (might be due to invalid IL or missing references) //IL_1660: Unknown result type (might be due to invalid IL or missing references) //IL_1669: Unknown result type (might be due to invalid IL or missing references) //IL_1691: Unknown result type (might be due to invalid IL or missing references) //IL_1696: Unknown result type (might be due to invalid IL or missing references) //IL_169c: Unknown result type (might be due to invalid IL or missing references) //IL_16a1: Unknown result type (might be due to invalid IL or missing references) //IL_16af: Unknown result type (might be due to invalid IL or missing references) //IL_16b8: Expected O, but got Unknown //IL_16ba: Unknown result type (might be due to invalid IL or missing references) //IL_16bf: Unknown result type (might be due to invalid IL or missing references) //IL_16c5: Unknown result type (might be due to invalid IL or missing references) //IL_16ca: Unknown result type (might be due to invalid IL or missing references) //IL_16d8: Unknown result type (might be due to invalid IL or missing references) //IL_16df: Unknown result type (might be due to invalid IL or missing references) //IL_16e7: Expected O, but got Unknown //IL_16e9: Unknown result type (might be due to invalid IL or missing references) //IL_16ee: Unknown result type (might be due to invalid IL or missing references) //IL_16f4: Unknown result type (might be due to invalid IL or missing references) //IL_16f9: Unknown result type (might be due to invalid IL or missing references) //IL_1707: Unknown result type (might be due to invalid IL or missing references) //IL_170e: Unknown result type (might be due to invalid IL or missing references) //IL_1716: Expected O, but got Unknown //IL_1718: Unknown result type (might be due to invalid IL or missing references) //IL_171d: Unknown result type (might be due to invalid IL or missing references) //IL_1723: Unknown result type (might be due to invalid IL or missing references) //IL_1728: Unknown result type (might be due to invalid IL or missing references) //IL_1736: Unknown result type (might be due to invalid IL or missing references) //IL_173d: Unknown result type (might be due to invalid IL or missing references) //IL_1745: Expected O, but got Unknown //IL_1747: Unknown result type (might be due to invalid IL or missing references) //IL_174c: Unknown result type (might be due to invalid IL or missing references) //IL_1752: Unknown result type (might be due to invalid IL or missing references) //IL_1757: Unknown result type (might be due to invalid IL or missing references) //IL_1765: Unknown result type (might be due to invalid IL or missing references) //IL_176e: Expected O, but got Unknown //IL_1773: Unknown result type (might be due to invalid IL or missing references) //IL_1775: Unknown result type (might be due to invalid IL or missing references) //IL_177e: Unknown result type (might be due to invalid IL or missing references) //IL_17a6: Unknown result type (might be due to invalid IL or missing references) //IL_17ab: Unknown result type (might be due to invalid IL or missing references) //IL_17b1: Unknown result type (might be due to invalid IL or missing references) //IL_17b6: Unknown result type (might be due to invalid IL or missing references) //IL_17c4: Unknown result type (might be due to invalid IL or missing references) //IL_17cd: Expected O, but got Unknown //IL_17cf: Unknown result type (might be due to invalid IL or missing references) //IL_17d4: Unknown result type (might be due to invalid IL or missing references) //IL_17da: Unknown result type (might be due to invalid IL or missing references) //IL_17df: Unknown result type (might be due to invalid IL or missing references) //IL_17ed: Unknown result type (might be due to invalid IL or missing references) //IL_17f4: Unknown result type (might be due to invalid IL or missing references) //IL_17fc: Expected O, but got Unknown //IL_1801: Unknown result type (might be due to invalid IL or missing references) //IL_1803: Unknown result type (might be due to invalid IL or missing references) //IL_1837: Unknown result type (might be due to invalid IL or missing references) //IL_183e: Expected O, but got Unknown //IL_186c: Unknown result type (might be due to invalid IL or missing references) //IL_1873: Expected O, but got Unknown //IL_18af: Unknown result type (might be due to invalid IL or missing references) //IL_18b4: Unknown result type (might be due to invalid IL or missing references) //IL_18c0: Unknown result type (might be due to invalid IL or missing references) //IL_18cc: Expected O, but got Unknown PostProcessProfile val = Addressables.LoadAssetAsync<PostProcessProfile>((object)"RoR2/Base/title/PostProcessing/ppSceneLimbo.asset").WaitForCompletion(); ppSceneVoidStageNew = ScriptableObject.CreateInstance<PostProcessProfile>(); ((Object)ppSceneVoidStageNew).name = "ppSceneVoidStageNew"; foreach (PostProcessEffectSettings setting in val.settings) { ppSceneVoidStageNew.AddSettings(Object.Instantiate<PostProcessEffectSettings>(setting)); } RampFog val2 = default(RampFog); if (ppSceneVoidStageNew.TryGetSettings<RampFog>(ref val2)) { ((ParameterOverride<Color>)(object)val2.fogColorStart).Override(Color32.op_Implicit(new Color32((byte)28, (byte)120, (byte)160, (byte)0))); ((ParameterOverride<Color>)(object)val2.fogColorMid).Override(Color32.op_Implicit(new Color32((byte)3, (byte)78, (byte)128, (byte)75))); ((ParameterOverride<Color>)(object)val2.fogColorEnd).Override(Color32.op_Implicit(new Color32((byte)4, (byte)38, (byte)76, (byte)150))); ((ParameterOverride<float>)(object)val2.skyboxStrength).Override(1f); } Vignette val3 = default(Vignette); if (ppSceneVoidStageNew.TryGetSettings<Vignette>(ref val3)) { ((ParameterOverride<float>)(object)val3.intensity).Override(0.2f); } matVoidOverhangNew = new Material(Addressables.LoadAssetAsync<Material>((object)"RoR2/DLC1/voidstage/matVoidOverhang.mat").WaitForCompletion()); matVoidOverhangNew.SetTexture("_SnowTex", Addressables.LoadAssetAsync<Texture>((object)"RoR2/Base/Common/Props/texSand1.png").WaitForCompletion()); matVoidCrystalNew = new Material(Addressables.LoadAssetAsync<Material>((object)"RoR2/DLC1/voidstage/matVoidCrystal.mat").WaitForCompletion()); matVoidCrystalNew.SetColor("_Color", Color.white); matVoidCrystalNew.SetTexture("_MainTex", Addressables.LoadAssetAsync<Texture>((object)"RoR2/DLC1/sulfurpools/texSPCoralEmi.png").WaitForCompletion()); matVoidCrystalNew.SetFloat("_RampInfo", 0f); ExpansionDef val4 = Addressables.LoadAssetAsync<ExpansionDef>((object)"RoR2/DLC1/Common/DLC1.asset").WaitForCompletion(); CharacterSpawnCard val5 = ScriptableObject.CreateInstance<CharacterSpawnCard>(); ((Object)val5).name = "cscUnderwaterLemurian"; ((SpawnCard)val5).prefab = Assets.UnderwaterLemurianMaster; ((SpawnCard)val5).sendOverNetwork = true; ((SpawnCard)val5).hullSize = (HullClassification)0; ((SpawnCard)val5).nodeGraphType = (GraphType)0; ((SpawnCard)val5).requiredFlags = (NodeFlags)0; ((SpawnCard)val5).forbiddenFlags = (NodeFlags)4; ((SpawnCard)val5).directorCreditCost = 8; ((SpawnCard)val5).occupyPosition = false; dccsMonsters = ScriptableObject.CreateInstance<DirectorCardCategorySelection>(); ((Object)dccsMonsters).name = "dccsVoidStageMonstersNew"; dccsMonsters.categories = (Category[])(object)new Category[4] { new Category { name = "Basic Monsters", selectionWeight = 3f, cards = (DirectorCard[])(object)new DirectorCard[3] { new DirectorCard { spawnCard = (SpawnCard)(object)val5, selectionWeight = 2 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Imp/cscImp.asset").WaitForCompletion(), selectionWeight = 2 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Vulture/cscVulture.asset").WaitForCompletion(), selectionWeight = 2, preventOverhead = true } } }, new Category { name = "Minibosses", selectionWeight = 2f, cards = (DirectorCard[])(object)new DirectorCard[3] { new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Golem/cscGolemSandy.asset").WaitForCompletion(), selectionWeight = 2 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/LemurianBruiser/cscLemurianBruiser.asset").WaitForCompletion(), selectionWeight = 1 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/ClayBruiser/cscClayBruiser.asset").WaitForCompletion(), selectionWeight = 2 } } }, new Category { name = "Champions", selectionWeight = 2f, cards = (DirectorCard[])(object)new DirectorCard[4] { new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Titan/cscTitanGooLake.asset").WaitForCompletion(), selectionWeight = 1 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/ImpBoss/cscImpBoss.asset").WaitForCompletion(), selectionWeight = 2 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/RoboBallBoss/cscRoboBallBoss.asset").WaitForCompletion(), selectionWeight = 2 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/ElectricWorm/cscElectricWorm.asset").WaitForCompletion(), selectionWeight = 2 } } }, new Category { name = "Special", selectionWeight = 1f, cards = (DirectorCard[])(object)new DirectorCard[1] { new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Scav/cscScav.asset").WaitForCompletion(), selectionWeight = 1, minimumStageCompletions = 5 } } } }; dccsMonstersDLC1 = ScriptableObject.CreateInstance<DirectorCardCategorySelection>(); ((Object)dccsMonstersDLC1).name = "dccsVoidStageMonstersDLC1New"; dccsMonstersDLC1.categories = (Category[])(object)new Category[4] { new Category { name = "Basic Monsters", selectionWeight = 3f, cards = (DirectorCard[])(object)new DirectorCard[3] { new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Imp/cscImp.asset").WaitForCompletion(), selectionWeight = 3 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Lemurian/cscLemurian.asset").WaitForCompletion(), selectionWeight = 3 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Jellyfish/cscJellyfish.asset").WaitForCompletion(), selectionWeight = 2, preventOverhead = true } } }, new Category { name = "Minibosses", selectionWeight = 2f, cards = (DirectorCard[])(object)new DirectorCard[5] { new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Bell/cscBell.asset").WaitForCompletion(), selectionWeight = 2 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/ClayBruiser/cscClayBruiser.asset").WaitForCompletion(), selectionWeight = 4 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/LemurianBruiser/cscLemurianBruiser.asset").WaitForCompletion(), selectionWeight = 1 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/DLC1/ClayGrenadier/cscClayGrenadier.asset").WaitForCompletion(), selectionWeight = 3 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/DLC1/Gup/cscGupBody.asset").WaitForCompletion(), selectionWeight = 1 } } }, new Category { name = "Champions", selectionWeight = 2f, cards = (DirectorCard[])(object)new DirectorCard[4] { new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Vagrant/cscVagrant.asset").WaitForCompletion(), selectionWeight = 1 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/ImpBoss/cscImpBoss.asset").WaitForCompletion(), selectionWeight = 3 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/RoboBallBoss/cscRoboBallBoss.asset").WaitForCompletion(), selectionWeight = 3 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/ElectricWorm/cscElectricWorm.asset").WaitForCompletion(), selectionWeight = 3 } } }, new Category { name = "Special", selectionWeight = 1f, cards = (DirectorCard[])(object)new DirectorCard[1] { new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Scav/cscScav.asset").WaitForCompletion(), selectionWeight = 1, minimumStageCompletions = 5 } } } }; dpMonsters = ScriptableObject.CreateInstance<DccsPool>(); ((Object)dpMonsters).name = "dpVoidStageMonstersNew"; DccsPool obj = dpMonsters; Category[] array = new Category[3]; Category val6 = new Category(); val6.name = "Standard"; val6.categoryWeight = 0.98f; val6.alwaysIncluded = Array.Empty<PoolEntry>(); Category obj2 = val6; ConditionalPoolEntry[] array2 = new ConditionalPoolEntry[1]; ConditionalPoolEntry val7 = new ConditionalPoolEntry(); ((PoolEntry)val7).dccs = dccsMonstersDLC1; ((PoolEntry)val7).weight = 1f; val7.requiredExpansions = (ExpansionDef[])(object)new ExpansionDef[1] { val4 }; array2[0] = val7; obj2.includedIfConditionsMet = (ConditionalPoolEntry[])(object)array2; val6.includedIfNoConditionsMet = (PoolEntry[])(object)new PoolEntry[1] { new PoolEntry { dccs = dccsMonsters, weight = 1f } }; array[0] = val6; val6 = new Category(); val6.name = "Family"; val6.categoryWeight = 0.02f; val6.alwaysIncluded = Array.Empty<PoolEntry>(); Category obj3 = val6; ConditionalPoolEntry[] obj4 = new ConditionalPoolEntry[4] { new ConditionalPoolEntry { dccs = Addressables.LoadAssetAsync<DirectorCardCategorySelection>((object)"RoR2/Base/Common/dccsGolemFamilySandy.asset").WaitForCompletion(), weight = 3f, requiredExpansions = Array.Empty<ExpansionDef>() }, default(ConditionalPoolEntry), default(ConditionalPoolEntry), default(ConditionalPoolEntry) }; val7 = new ConditionalPoolEntry(); ((PoolEntry)val7).dccs = Addressables.LoadAssetAsync<DirectorCardCategorySelection>((object)"RoR2/Base/Common/dccsImpFamily.asset").WaitForCompletion(); ((PoolEntry)val7).weight = 2f; val7.requiredExpansions = (ExpansionDef[])(object)new ExpansionDef[1] { val4 }; obj4[1] = val7; obj4[2] = new ConditionalPoolEntry { dccs = Addressables.LoadAssetAsync<DirectorCardCategorySelection>((object)"RoR2/Base/Common/dccsParentFamily.asset").WaitForCompletion(), weight = 1f, requiredExpansions = Array.Empty<ExpansionDef>() }; obj4[3] = new ConditionalPoolEntry { dccs = Addressables.LoadAssetAsync<DirectorCardCategorySelection>((object)"RoR2/DLC1/Common/dccsConstructFamily.asset").WaitForCompletion(), weight = 3f, requiredExpansions = Array.Empty<ExpansionDef>() }; obj3.includedIfConditionsMet = (ConditionalPoolEntry[])(object)obj4; val6.includedIfNoConditionsMet = Array.Empty<PoolEntry>(); array[1] = val6; val6 = new Category(); val6.name = "VoidInvasion"; val6.categoryWeight = 0.02f; val6.alwaysIncluded = Array.Empty<PoolEntry>(); Category obj5 = val6; ConditionalPoolEntry[] array3 = new ConditionalPoolEntry[1]; val7 = new ConditionalPoolEntry(); ((PoolEntry)val7).dccs = Addressables.LoadAssetAsync<DirectorCardCategorySelection>((object)"RoR2/DLC1/Common/dccsVoidFamily.asset").WaitForCompletion(); ((PoolEntry)val7).weight = 1f; val7.requiredExpansions = (ExpansionDef[])(object)new ExpansionDef[1] { val4 }; array3[0] = val7; obj5.includedIfConditionsMet = (ConditionalPoolEntry[])(object)array3; val6.includedIfNoConditionsMet = Array.Empty<PoolEntry>(); array[2] = val6; obj.poolCategories = (Category[])(object)array; dccsInteractables = ScriptableObject.CreateInstance<DirectorCardCategorySelection>(); ((Object)dccsInteractables).name = "dccsVoidStageInteractablesNew"; dccsInteractables.categories = (Category[])(object)new Category[7] { new Category { name = "Chests", selectionWeight = 45f, cards = (DirectorCard[])(object)new DirectorCard[9] { new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Chest1/iscChest1.asset").WaitForCompletion(), selectionWeight = 24 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Chest2/iscChest2.asset").WaitForCompletion(), selectionWeight = 4 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/EquipmentBarrel/iscEquipmentBarrel.asset").WaitForCompletion(), selectionWeight = 2 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/TripleShopEquipment/iscTripleShopEquipment.asset").WaitForCompletion(), selectionWeight = 4 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/LunarChest/iscLunarChest.asset").WaitForCompletion(), selectionWeight = 1 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/TripleShopLarge/iscTripleShopLarge.asset").WaitForCompletion(), selectionWeight = 4 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/CategoryChest/iscCategoryChestDamage.asset").WaitForCompletion(), selectionWeight = 2 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/CategoryChest/iscCategoryChestHealing.asset").WaitForCompletion(), selectionWeight = 2 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/CategoryChest/iscCategoryChestUtility.asset").WaitForCompletion(), selectionWeight = 2 } } }, new Category { name = "Barrels", selectionWeight = 10f, cards = (DirectorCard[])(object)new DirectorCard[1] { new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Barrel1/iscBarrel1.asset").WaitForCompletion(), selectionWeight = 10 } } }, new Category { name = "Shrines", selectionWeight = 8f, cards = (DirectorCard[])(object)new DirectorCard[4] { new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/ShrineChance/iscShrineChance.asset").WaitForCompletion(), selectionWeight = 40 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/ShrineCombat/iscShrineCombat.asset").WaitForCompletion(), selectionWeight = 10 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/ShrineBoss/iscShrineBoss.asset").WaitForCompletion(), selectionWeight = 20 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/ShrineCleanse/iscShrineCleanse.asset").WaitForCompletion(), selectionWeight = 5 } } }, new Category { name = "Drones", selectionWeight = 3f, cards = (DirectorCard[])(object)new DirectorCard[1] { new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Drones/iscBrokenEmergencyDrone.asset").WaitForCompletion(), selectionWeight = 3 } } }, new Category { name = "Misc", selectionWeight = 1f, cards = (DirectorCard[])(object)new DirectorCard[1] { new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Drones/iscBrokenTurret1.asset").WaitForCompletion(), selectionWeight = 6 } } }, new Category { name = "Rare", selectionWeight = 0.4f, cards = (DirectorCard[])(object)new DirectorCard[4] { new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Chest1StealthedVariant/iscChest1Stealthed.asset").WaitForCompletion(), selectionWeight = 6 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/RadarTower/iscRadarTower.asset").WaitForCompletion(), selectionWeight = 2, forbiddenUnlockableDef = Addressables.LoadAssetAsync<UnlockableDef>((object)"RoR2/DLC1/voidstage/Logs.Stages.voidstage.asset").WaitForCompletion() }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/ShrineGoldshoresAccess/iscShrineGoldshoresAccess.asset").WaitForCompletion(), selectionWeight = 2, minimumStageCompletions = 1 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/GoldChest/iscGoldChest.asset").WaitForCompletion(), selectionWeight = 2, minimumStageCompletions = 3 } } }, new Category { name = "Duplicator", selectionWeight = 8f, cards = (DirectorCard[])(object)new DirectorCard[5] { new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Duplicator/iscDuplicator.asset").WaitForCompletion(), selectionWeight = 30 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/DuplicatorLarge/iscDuplicatorLarge.asset").WaitForCompletion(), selectionWeight = 6, minimumStageCompletions = 1 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/DuplicatorMilitary/iscDuplicatorMilitary.asset").WaitForCompletion(), selectionWeight = 1, minimumStageCompletions = 1 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/DuplicatorWild/iscDuplicatorWild.asset").WaitForCompletion(), selectionWeight = 2, minimumStageCompletions = 1 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Scrapper/iscScrapper.asset").WaitForCompletion(), selectionWeight = 12 } } } }; dccsInteractablesDLC1 = ScriptableObject.CreateInstance<DirectorCardCategorySelection>(); ((Object)dccsInteractablesDLC1).name = "dccsVoidStageInteractablesDLC1New"; dccsInteractablesDLC1.categories = (Category[])(object)new Category[8] { new Category { name = "Chests", selectionWeight = 45f, cards = (DirectorCard[])(object)new DirectorCard[13] { new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Chest1/iscChest1.asset").WaitForCompletion(), selectionWeight = 240 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Chest2/iscChest2.asset").WaitForCompletion(), selectionWeight = 31 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/EquipmentBarrel/iscEquipmentBarrel.asset").WaitForCompletion(), selectionWeight = 20 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/TripleShopEquipment/iscTripleShopEquipment.asset").WaitForCompletion(), selectionWeight = 20 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/CasinoChest/iscCasinoChest.asset").WaitForCompletion(), selectionWeight = 8 }, new DirectorCard { spawnCard = Addressables.LoadAssetAsync