Decompiled source of CustomMultiplayerMaps v1.4.2

Mods/CustomMultiplayerMaps.dll

Decompiled 4 months ago
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using CustomMultiplayerMaps;
using Il2Cpp;
using Il2CppExitGames.Client.Photon;
using Il2CppPhoton.Pun;
using Il2CppPhoton.Realtime;
using Il2CppRUMBLE.Managers;
using Il2CppRUMBLE.MoveSystem;
using Il2CppRUMBLE.Utilities;
using Il2CppSystem;
using Il2CppTMPro;
using MelonLoader;
using RumbleModUI;
using RumbleModdingAPI;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: MelonInfo(typeof(main), "CustomMultiplayerMaps", "1.4.2", "UlvakSkillz", null)]
[assembly: MelonGame("Buckethead Entertainment", "RUMBLE")]
[assembly: MelonColor(255, 195, 0, 255)]
[assembly: MelonAuthorColor(255, 195, 0, 255)]
[assembly: VerifyLoaderVersion(0, 6, 2, true)]
[assembly: AssemblyTitle("CustomMultiplayerMaps")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CustomMultiplayerMaps")]
[assembly: AssemblyCopyright("Copyright ©  2024")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("6674884f-cbb1-4bbd-a7e5-dd50b1032181")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace CustomMultiplayerMaps;

public static class ModBuildInfo
{
	public const string Name = "CustomMultiplayerMaps";

	public const string Version = "1.4.2";
}
public class main : MelonMod
{
	public string currentScene = "";

	public byte myEventCode = 69;

	public byte myEventCode2 = 70;

	public static RaiseEventOptions eventOptions = new RaiseEventOptions
	{
		Receivers = (ReceiverGroup)0,
		CachingOption = (EventCaching)4
	};

	public static RaiseEventOptions eventOptions2 = new RaiseEventOptions
	{
		Receivers = (ReceiverGroup)1,
		CachingOption = (EventCaching)4
	};

	public Random random = new Random();

	public bool initialized = false;

	public bool enabled = true;

	public int mapNumber;

	public UI UI = UI.instance;

	public Mod CustomMultiplayerMaps = new Mod();

	public GameObject mapsParent;

	public static string customMapFile;

	public bool EventSent = false;

	public bool randomCustomMap;

	public static void Log(string msg)
	{
		MelonLogger.Msg(msg);
	}

	public void Error(string msg)
	{
		MelonLogger.Error(msg);
	}

	public override void OnLateInitializeMelon()
	{
		//IL_0046: Unknown result type (might be due to invalid IL or missing references)
		//IL_0050: Expected O, but got Unknown
		//IL_0063: Unknown result type (might be due to invalid IL or missing references)
		//IL_006d: 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_00a0: Unknown result type (might be due to invalid IL or missing references)
		//IL_00aa: Expected O, but got Unknown
		//IL_00bd: Unknown result type (might be due to invalid IL or missing references)
		//IL_00c7: Expected O, but got Unknown
		//IL_00da: Unknown result type (might be due to invalid IL or missing references)
		//IL_00e4: Expected O, but got Unknown
		//IL_00f7: Unknown result type (might be due to invalid IL or missing references)
		//IL_0101: Expected O, but got Unknown
		//IL_0114: Unknown result type (might be due to invalid IL or missing references)
		//IL_011e: Expected O, but got Unknown
		//IL_0131: Unknown result type (might be due to invalid IL or missing references)
		//IL_013b: Expected O, but got Unknown
		//IL_014e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0158: Expected O, but got Unknown
		//IL_016b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0175: Expected O, but got Unknown
		//IL_0188: Unknown result type (might be due to invalid IL or missing references)
		//IL_0192: Expected O, but got Unknown
		//IL_01a5: Unknown result type (might be due to invalid IL or missing references)
		//IL_01af: Expected O, but got Unknown
		CustomMultiplayerMaps.ModName = "CustomMultiplayerMaps";
		CustomMultiplayerMaps.ModVersion = "1.4.2";
		CustomMultiplayerMaps.SetFolder("CustomMultiplayerMaps");
		CustomMultiplayerMaps.AddToList("Enabled", true, 0, "Enabled or Disabled Mod", new Tags());
		CustomMultiplayerMaps.AddToList("Use CustomMap File", false, 0, "Enabled or Disabled Custom Map", new Tags());
		CustomMultiplayerMaps.AddToList("CustomMap File Name", "CustomMap", "Reads from this Map File Custom Map", new Tags());
		CustomMultiplayerMaps.AddToList("Random Custom Map", false, 0, "Reads from a Random Custom Map File", new Tags());
		CustomMultiplayerMaps.AddToList("FlatLand", true, 0, "Enabled or Disabled FlatLand Map -By UlvakSkillz", new Tags());
		CustomMultiplayerMaps.AddToList("The Cliff", true, 0, "Enabled or Disabled The Cliff Map -By SDRAWKCABMIAY", new Tags());
		CustomMultiplayerMaps.AddToList("Windy Ravine", true, 0, "Enabled or Disabled Windy Ravine Map -By gort", new Tags());
		CustomMultiplayerMaps.AddToList("Agni Kai", true, 0, "Enabled or Disabled Agni Kai Map -By UlvakSkillz", new Tags());
		CustomMultiplayerMaps.AddToList("Pro Bending Arena", true, 0, "Enabled or Disabled Pro Bending Arena Map -By ERROR", new Tags());
		CustomMultiplayerMaps.AddToList("Red vs Blue", true, 0, "Enabled or Disabled Red vs Blue Map  -By UlvakSkillz", new Tags());
		CustomMultiplayerMaps.AddToList("Red Woods", true, 0, "Enabled or Disabled Red Woods Map -By CRWND", new Tags());
		CustomMultiplayerMaps.AddToList("Sprinkle Donut", true, 0, "Enabled or Disabled Sprinkle Donut Map -By SDRAWKCABMIAY", new Tags());
		CustomMultiplayerMaps.AddToList("Earth Rumble Arena", true, 0, "Enabled or Disabled Earth Rumble Arena Map -By wolf", new Tags());
		CustomMultiplayerMaps.GetFromFile();
		CustomMultiplayerMaps.ModSaved += Save;
		UI.instance.UI_Initialized += UIInit;
		enabled = (bool)CustomMultiplayerMaps.Settings[0].SavedValue;
		customMapFile = (string)CustomMultiplayerMaps.Settings[2].SavedValue;
		randomCustomMap = (bool)CustomMultiplayerMaps.Settings[3].SavedValue;
	}

	public void Save()
	{
		enabled = (bool)CustomMultiplayerMaps.Settings[0].SavedValue;
		customMapFile = (string)CustomMultiplayerMaps.Settings[2].SavedValue;
		randomCustomMap = (bool)CustomMultiplayerMaps.Settings[3].SavedValue;
	}

	public void UIInit()
	{
		UI.AddMod(CustomMultiplayerMaps);
	}

	public void OnEvent(EventData eventData)
	{
		if (enabled && eventData.Code == myEventCode)
		{
			string text = eventData.CustomData.ToString();
			string[] processedString = text.Split(new char[1] { '|' });
			Log("69 - in: " + eventData.CustomData.ToString());
			ProcessEventCode69(processedString);
		}
		else if (eventData.Code == myEventCode2)
		{
			string text2 = eventData.CustomData.ToString();
			string[] processedString2 = text2.Split(new char[1] { '|' });
			Log("70 - in: " + eventData.CustomData.ToString());
			ProcessEventCode70(processedString2);
		}
	}

	public void ProcessEventCode69(string[] processedString)
	{
		//IL_024b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0298: Unknown result type (might be due to invalid IL or missing references)
		//IL_01d8: Unknown result type (might be due to invalid IL or missing references)
		if (processedString[0] == "1" && (bool)CustomMultiplayerMaps.Settings[1].SavedValue)
		{
			Log("Using Custom");
			string text = "";
			try
			{
				if (randomCustomMap)
				{
					text = selectRandomCustomMap();
				}
				else
				{
					if (!customMapFile.EndsWith(".txt"))
					{
						customMapFile += ".txt";
					}
					text = "UserData\\CustomMultiplayerMaps\\Maps\\" + customMapFile;
				}
				string[] array = File.ReadAllLines(text);
				List<string> list = new List<string>();
				string text2 = "";
				int num = 0;
				int num2 = int.Parse(array[0]);
				int num3 = 0;
				for (int i = 1; i < array.Length; i += 5)
				{
					text2 = text2 + "|" + array[i];
					text2 = text2 + "|" + array[i + 1];
					text2 = text2 + "|" + array[i + 2];
					text2 = text2 + "|" + array[i + 3];
					text2 = text2 + "|" + array[i + 4];
					num++;
					num3++;
					if (num == 100)
					{
						text2 = "1|100" + text2;
						list.Add(text2);
						text2 = "";
						num = 0;
					}
					if (num3 == num2)
					{
						break;
					}
				}
				if (num != 0)
				{
					text2 = "1|" + num + text2;
					list.Add(text2);
				}
				for (int j = 0; j < list.Count; j++)
				{
					PhotonNetwork.RaiseEvent(myEventCode2, Object.op_Implicit(list[j]), eventOptions2, SendOptions.SendReliable);
				}
				return;
			}
			catch
			{
				Error("Failed to read Custom Map: " + text);
				string text3 = "0|" + SelectRandomMap(processedString[1]);
				if (text3 != "0|-1")
				{
					PhotonNetwork.RaiseEvent(myEventCode2, Object.op_Implicit(text3), eventOptions2, SendOptions.SendReliable);
				}
				return;
			}
		}
		string text4 = "0|" + SelectRandomMap(processedString[1]);
		if (text4 != "0|-1")
		{
			PhotonNetwork.RaiseEvent(myEventCode2, Object.op_Implicit(text4), eventOptions2, SendOptions.SendReliable);
		}
	}

	public static void LoadCustomMap()
	{
		try
		{
			string[] array = File.ReadAllLines("UserData\\CustomMultiplayerMaps\\Maps\\" + customMapFile);
			string text = "1";
			string[] array2 = array;
			foreach (string text2 in array2)
			{
				text = text + "|" + text2;
			}
			string text3 = text;
			string[] recievedText = text3.Split(new char[1] { '|' });
			LoadCustomMap(recievedText);
		}
		catch
		{
			MelonLogger.Error("Failed to Read Custom Map: UserData\\CustomMultiplayerMaps\\Maps\\" + customMapFile);
		}
	}

	public void ProcessEventCode70(string[] processedString)
	{
		if (processedString[0] == "1")
		{
			LoadCustomMap(processedString);
		}
		else
		{
			mapNumber = int.Parse(processedString[1]);
			((Component)mapsParent.transform.GetChild(mapNumber)).gameObject.SetActive(true);
		}
		if (currentScene == "Map0")
		{
			UnLoadMap0();
		}
		else if (currentScene == "Map1")
		{
			UnLoadMap1();
		}
		Singleton<PoolManager>.instance.ResetPools((AssetType)3);
	}

	public void TestEvent70()
	{
		//IL_0074: Unknown result type (might be due to invalid IL or missing references)
		string[] array = ((!randomCustomMap) ? File.ReadAllLines("UserData\\CustomMultiplayerMaps\\Maps\\" + customMapFile) : File.ReadAllLines(selectRandomCustomMap()));
		string text = "1";
		string[] array2 = array;
		foreach (string text2 in array2)
		{
			text = text + "|" + text2;
		}
		PhotonNetwork.RaiseEvent(myEventCode2, Object.op_Implicit(text), eventOptions2, SendOptions.SendReliable);
	}

	public string selectRandomCustomMap()
	{
		string[] files = Directory.GetFiles("UserData\\CustomMultiplayerMaps\\Maps");
		return files[random.Next(0, files.Length)];
	}

	public void TestEvent69()
	{
		//IL_0021: Unknown result type (might be due to invalid IL or missing references)
		PhotonNetwork.RaiseEvent(myEventCode, Object.op_Implicit("1.4.2 | 1|" + GetEnabledMapsString()), eventOptions2, SendOptions.SendReliable);
	}

	public string SelectRandomMap(string opponentsMaps)
	{
		string enabledMapsString = GetEnabledMapsString();
		List<int> list = new List<int>();
		for (int i = 0; i < opponentsMaps.Length; i++)
		{
			if (enabledMapsString.Substring(i, 1) == "1" && opponentsMaps.Substring(i, 1) == "1")
			{
				list.Add(i);
			}
		}
		if (list.Count == 0)
		{
			return "-1";
		}
		return list[random.Next(0, list.Count)].ToString();
	}

	public override void OnSceneWasLoaded(int buildIndex, string sceneName)
	{
		//IL_00c5: Unknown result type (might be due to invalid IL or missing references)
		//IL_00cf: Expected O, but got Unknown
		currentScene = sceneName;
		EventSent = false;
		if (initialized)
		{
			for (int i = 0; i < mapsParent.transform.childCount; i++)
			{
				((Component)mapsParent.transform.GetChild(i)).gameObject.SetActive(false);
			}
		}
		if (!initialized && currentScene == "Gym")
		{
			LoadBalancingClient networkingClient = PhotonNetwork.NetworkingClient;
			networkingClient.EventReceived += Action<EventData>.op_Implicit((Action<EventData>)OnEvent);
			Calls.onMapInitialized += SceneInit;
			Calls.onModStringRecieved += ModsReceived;
			mapsParent = new GameObject();
			((Object)mapsParent).name = "CustomMultiplayerMaps";
			Object.DontDestroyOnLoad((Object)(object)mapsParent);
		}
	}

	public void SceneInit()
	{
		if (!initialized)
		{
			PreLoadMaps();
			initialized = true;
			Log("Initialized");
		}
	}

	public void ModsReceived()
	{
		//IL_00bb: Unknown result type (might be due to invalid IL or missing references)
		if (Mods.doesOpponentHaveMod("CustomMultiplayerMaps", "1.4.2", true) && enabled && !EventSent && !PhotonNetwork.IsMasterClient && (currentScene == "Map0" || currentScene == "Map1"))
		{
			EventSent = true;
			string text = ((!(bool)CustomMultiplayerMaps.Settings[1].SavedValue) ? "0" : "1");
			PhotonNetwork.RaiseEvent(myEventCode, Object.op_Implicit(text + "|" + GetEnabledMapsString()), eventOptions, SendOptions.SendReliable);
		}
	}

	public string GetEnabledMapsString()
	{
		string text = "";
		for (int i = 4; i < CustomMultiplayerMaps.Settings.Count; i++)
		{
			text = ((!(bool)CustomMultiplayerMaps.Settings[i].SavedValue) ? (text + "0") : (text + "1"));
		}
		return text;
	}

	public void UnLoadMap0()
	{
		Map0Production.GetGameObject().SetActive(false);
	}

	public void UnLoadMap1()
	{
		Map1Production.GetGameObject().SetActive(false);
		SceneProcessors.GetGameObject().SetActive(false);
	}

	public void PreLoadMaps()
	{
		LoadFlatLand();
		Log("Loaded FlatLand By UlvakSkillz");
		LoadTheCliff();
		Log("Loaded The Cliff By SDRAWKCABMIAY");
		LoadWindyRavine();
		Log("Loaded Windy Ravine By gort");
		LoadAgniKai();
		Log("Loaded Agni Kai By UlvakSkillz");
		LoadProBendingArena();
		Log("Loaded Pro Bending Arena By ERROR");
		LoadRedVsBlue();
		Log("Loaded Red vs Blue By UlvakSkillz");
		LoadRedWoods();
		Log("Loaded Red Woods By CRWND");
		LoadSprinkleDonut();
		Log("Loaded Sprinkle Donut By SDRAWKCABMIAY");
		LoadEarthRumbleArena();
		Log("Loaded Earth Rumble Arena By wolf");
	}

	public static void LoadCustomMap(string[] recievedText)
	{
		//IL_000c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0012: Expected O, but got Unknown
		//IL_014a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0160: 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_01c7: Unknown result type (might be due to invalid IL or missing references)
		//IL_01da: Unknown result type (might be due to invalid IL or missing references)
		//IL_01dd: Invalid comparison between Unknown and I4
		//IL_0192: Unknown result type (might be due to invalid IL or missing references)
		//IL_01f6: Unknown result type (might be due to invalid IL or missing references)
		//IL_01f9: Invalid comparison between Unknown and I4
		//IL_01ab: Unknown result type (might be due to invalid IL or missing references)
		//IL_01fb: Unknown result type (might be due to invalid IL or missing references)
		//IL_01fe: Invalid comparison between Unknown and I4
		//IL_01c4: Unknown result type (might be due to invalid IL or missing references)
		//IL_021a: Unknown result type (might be due to invalid IL or missing references)
		//IL_021d: Invalid comparison between Unknown and I4
		//IL_02a3: Unknown result type (might be due to invalid IL or missing references)
		//IL_0393: Unknown result type (might be due to invalid IL or missing references)
		//IL_03ab: Unknown result type (might be due to invalid IL or missing references)
		//IL_03c3: Unknown result type (might be due to invalid IL or missing references)
		//IL_0331: Unknown result type (might be due to invalid IL or missing references)
		//IL_0334: Invalid comparison between Unknown and I4
		//IL_0336: Unknown result type (might be due to invalid IL or missing references)
		//IL_0339: Invalid comparison between Unknown and I4
		Log("Creating Custom Map");
		GameObject val = new GameObject();
		((Object)val).name = "CustomMapParent";
		Shader shader = Shader.Find("Universal Render Pipeline/Lit");
		int num = int.Parse(recievedText[1]);
		for (int i = 0; i < num; i++)
		{
			string text = recievedText[13 * i + 2];
			float num2 = float.Parse(recievedText[13 * i + 3], CultureInfo.InvariantCulture);
			float num3 = float.Parse(recievedText[13 * i + 4], CultureInfo.InvariantCulture);
			float num4 = float.Parse(recievedText[13 * i + 5], CultureInfo.InvariantCulture);
			float num5 = float.Parse(recievedText[13 * i + 6], CultureInfo.InvariantCulture);
			float num6 = float.Parse(recievedText[13 * i + 7], CultureInfo.InvariantCulture);
			float num7 = float.Parse(recievedText[13 * i + 8], CultureInfo.InvariantCulture);
			float num8 = float.Parse(recievedText[13 * i + 9], CultureInfo.InvariantCulture);
			float num9 = float.Parse(recievedText[13 * i + 10], CultureInfo.InvariantCulture);
			float num10 = float.Parse(recievedText[13 * i + 11], CultureInfo.InvariantCulture);
			float num11 = float.Parse(recievedText[13 * i + 12], CultureInfo.InvariantCulture);
			float num12 = float.Parse(recievedText[13 * i + 13], CultureInfo.InvariantCulture);
			float num13 = float.Parse(recievedText[13 * i + 14], CultureInfo.InvariantCulture);
			PrimitiveType val2 = (PrimitiveType)3;
			if (text.Contains("Capsule"))
			{
				val2 = (PrimitiveType)1;
			}
			else if (text.Contains("Cylinder"))
			{
				val2 = (PrimitiveType)2;
			}
			else if (text.Contains("Plane"))
			{
				val2 = (PrimitiveType)4;
			}
			else if (text.Contains("Quad"))
			{
				val2 = (PrimitiveType)5;
			}
			else if (text.Contains("Sphere"))
			{
				val2 = (PrimitiveType)0;
			}
			GameObject val3 = GameObject.CreatePrimitive(val2);
			((Object)val3).name = text;
			if ((int)val2 == 3)
			{
				Object.Destroy((Object)(object)val3.GetComponent<BoxCollider>());
			}
			else if ((int)val2 == 1 || (int)val2 == 2)
			{
				Object.Destroy((Object)(object)val3.GetComponent<CapsuleCollider>());
			}
			else if ((int)val2 == 0)
			{
				Object.Destroy((Object)(object)val3.GetComponent<SphereCollider>());
			}
			if (text.ToLower().Contains("wall"))
			{
				val3.AddComponent<BoxCollider>();
			}
			if (text.ToLower().Contains("invisible"))
			{
				Object.Destroy((Object)(object)val3.GetComponent<MeshRenderer>());
			}
			else
			{
				val3.GetComponent<Renderer>().material.shader = shader;
				val3.GetComponent<Renderer>().material.color = new Color(num2, num3, num4);
			}
			if (text.ToLower().Contains("visual"))
			{
				val3.layer = 0;
			}
			else
			{
				if (text.ToLower().Contains("death"))
				{
					val3.AddComponent<KillPlayerOnCollision>();
				}
				if (text.ToLower().Contains("environment"))
				{
					val3.layer = 10;
					val3.AddComponent<KillStructureOnImpact>();
				}
				else
				{
					val3.layer = 9;
				}
				MeshCollider collider = (((int)val2 != 4 && (int)val2 != 5) ? val3.AddComponent<MeshCollider>() : val3.GetComponent<MeshCollider>());
				GroundCollider val4 = val3.AddComponent<GroundCollider>();
				val4.isMainGroundCollider = true;
				val4.collider = (Collider)(object)collider;
			}
			val3.transform.parent = val.transform;
			val3.transform.position = new Vector3(num5, num6, num7);
			val3.transform.rotation = Quaternion.Euler(num8, num9, num10);
			val3.transform.localScale = new Vector3(num11, num12, num13);
		}
		Log("CustomMap Created");
	}

	public void LoadFlatLand()
	{
		//IL_000f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0015: Expected O, but got Unknown
		//IL_006c: Unknown result type (might be due to invalid IL or missing references)
		//IL_008c: Unknown result type (might be due to invalid IL or missing references)
		//IL_00d8: Unknown result type (might be due to invalid IL or missing references)
		//IL_0106: Unknown result type (might be due to invalid IL or missing references)
		//IL_010d: Expected O, but got Unknown
		//IL_0130: Unknown result type (might be due to invalid IL or missing references)
		//IL_045b: Unknown result type (might be due to invalid IL or missing references)
		//IL_01b3: Unknown result type (might be due to invalid IL or missing references)
		//IL_01e5: Unknown result type (might be due to invalid IL or missing references)
		//IL_031c: Unknown result type (might be due to invalid IL or missing references)
		//IL_033d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0213: Unknown result type (might be due to invalid IL or missing references)
		//IL_03d9: Unknown result type (might be due to invalid IL or missing references)
		//IL_02a2: Unknown result type (might be due to invalid IL or missing references)
		//IL_0406: Unknown result type (might be due to invalid IL or missing references)
		//IL_02f4: Unknown result type (might be due to invalid IL or missing references)
		//IL_02cf: Unknown result type (might be due to invalid IL or missing references)
		int num = 54;
		Shader shader = Shader.Find("Universal Render Pipeline/Lit");
		GameObject val = new GameObject();
		((Object)val).name = "FlatLand";
		val.transform.parent = mapsParent.transform;
		GameObject val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Floor";
		val2.transform.parent = val.transform;
		val2.transform.localScale = new Vector3((float)num, 0.01f, (float)num);
		val2.transform.position = new Vector3(0f, 0f, 0f);
		val2.layer = 9;
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(1f, 1f, 1f);
		MeshCollider collider = val2.AddComponent<MeshCollider>();
		GroundCollider val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		GameObject val4 = new GameObject();
		((Object)val4).name = "Measurements";
		val4.transform.position = new Vector3(0f, 0f, 0f);
		val4.transform.parent = val.transform;
		for (int i = 0; i <= 1; i++)
		{
			for (int j = -num / 2; j <= num / 2; j++)
			{
				GameObject val5 = GameObject.CreatePrimitive((PrimitiveType)3);
				((Object)val5).name = "MeasureLine";
				Object.Destroy((Object)(object)val5.GetComponent<BoxCollider>());
				val5.GetComponent<Renderer>().material.shader = shader;
				val5.GetComponent<Renderer>().material.color = new Color(0f, 0f, 0f);
				val5.transform.parent = val4.transform;
				val5.transform.localScale = new Vector3(0.01f, 0.0101f, (float)num);
				if (i == 0)
				{
					val5.transform.position = new Vector3((float)j, 0f, 0f);
					if (j % 5 == 0 && j != 0)
					{
						GameObject val6 = Create.NewText();
						((TMP_Text)val6.GetComponent<TextMeshPro>()).enableWordWrapping = false;
						((TMP_Text)val6.GetComponent<TextMeshPro>()).text = Mathf.Abs(j).ToString();
						((TMP_Text)val6.GetComponent<TextMeshPro>()).fontSize = 10f;
						val6.transform.parent = val4.transform;
						val6.transform.position = new Vector3((float)j, 0.5f, 0f);
						if (j < 0)
						{
							val6.transform.rotation = Quaternion.Euler(0f, -90f, 0f);
						}
						else
						{
							val6.transform.rotation = Quaternion.Euler(0f, 90f, 0f);
						}
					}
					continue;
				}
				val5.transform.position = new Vector3(0f, 0f, (float)j);
				val5.transform.localRotation = Quaternion.Euler(0f, 90f, 0f);
				if (j % 5 == 0 && j != 0)
				{
					GameObject val7 = Create.NewText();
					((Object)val7).name = "MeasureNumber";
					((TMP_Text)val7.GetComponent<TextMeshPro>()).enableWordWrapping = false;
					((TMP_Text)val7.GetComponent<TextMeshPro>()).text = Mathf.Abs(j).ToString();
					((TMP_Text)val7.GetComponent<TextMeshPro>()).fontSize = 10f;
					val7.transform.parent = val4.transform;
					val7.transform.position = new Vector3(0f, 0.5f, (float)j);
					if (j < 0)
					{
						val7.transform.rotation = Quaternion.Euler(0f, 180f, 0f);
					}
				}
			}
		}
		val.transform.position = new Vector3(0f, -0.2f, 0f);
		val.SetActive(false);
	}

	public void LoadTheCliff()
	{
		//IL_0001: Unknown result type (might be due to invalid IL or missing references)
		//IL_0007: Expected O, but got Unknown
		//IL_006b: 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_00ca: Unknown result type (might be due to invalid IL or missing references)
		//IL_00eb: Unknown result type (might be due to invalid IL or missing references)
		//IL_014c: Unknown result type (might be due to invalid IL or missing references)
		//IL_018a: Unknown result type (might be due to invalid IL or missing references)
		//IL_01ab: Unknown result type (might be due to invalid IL or missing references)
		//IL_01cc: Unknown result type (might be due to invalid IL or missing references)
		//IL_022d: Unknown result type (might be due to invalid IL or missing references)
		//IL_026b: Unknown result type (might be due to invalid IL or missing references)
		//IL_028c: Unknown result type (might be due to invalid IL or missing references)
		//IL_02ad: Unknown result type (might be due to invalid IL or missing references)
		//IL_030e: Unknown result type (might be due to invalid IL or missing references)
		//IL_034c: 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_038e: Unknown result type (might be due to invalid IL or missing references)
		//IL_03ef: Unknown result type (might be due to invalid IL or missing references)
		//IL_042d: 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_046f: Unknown result type (might be due to invalid IL or missing references)
		//IL_04d0: Unknown result type (might be due to invalid IL or missing references)
		//IL_050e: Unknown result type (might be due to invalid IL or missing references)
		//IL_052f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0550: 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_05ef: 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_0631: Unknown result type (might be due to invalid IL or missing references)
		//IL_069f: Unknown result type (might be due to invalid IL or missing references)
		//IL_06d3: Unknown result type (might be due to invalid IL or missing references)
		//IL_06f4: Unknown result type (might be due to invalid IL or missing references)
		//IL_0715: Unknown result type (might be due to invalid IL or missing references)
		//IL_0756: Unknown result type (might be due to invalid IL or missing references)
		//IL_0794: Unknown result type (might be due to invalid IL or missing references)
		//IL_07b5: Unknown result type (might be due to invalid IL or missing references)
		//IL_07d6: Unknown result type (might be due to invalid IL or missing references)
		//IL_0823: Unknown result type (might be due to invalid IL or missing references)
		//IL_0843: Unknown result type (might be due to invalid IL or missing references)
		GameObject val = new GameObject();
		((Object)val).name = "The Cliff";
		val.transform.parent = mapsParent.transform;
		Shader shader = Shader.Find("Universal Render Pipeline/Lit");
		GameObject val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(1f, 1f, 1f);
		val2.layer = 10;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(-13.04f, -0.4f, 2f);
		val2.transform.rotation = Quaternion.Euler(0f, 290f, 0f);
		val2.transform.localScale = new Vector3(3.5f, 10f, 4f);
		MeshCollider collider = val2.AddComponent<MeshCollider>();
		GroundCollider val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(1f, 1f, 1f);
		val2.layer = 10;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(13.04f, -0.4f, 2f);
		val2.transform.rotation = Quaternion.Euler(0f, 70f, 0f);
		val2.transform.localScale = new Vector3(3.5000005f, 10f, 4f);
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(1f, 1f, 1f);
		val2.layer = 10;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(-11.2f, -0.2f, 5.8f);
		val2.transform.rotation = Quaternion.Euler(0f, 300f, 0f);
		val2.transform.localScale = new Vector3(5.7f, 10f, 4f);
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(1f, 1f, 1f);
		val2.layer = 10;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(11.2f, -0.2f, 5.8f);
		val2.transform.rotation = Quaternion.Euler(0f, 60.000004f, 0f);
		val2.transform.localScale = new Vector3(5.7f, 10f, 4f);
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(1f, 1f, 1f);
		val2.layer = 10;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(-8f, -0.1f, 9f);
		val2.transform.rotation = Quaternion.Euler(0f, 330f, 0f);
		val2.transform.localScale = new Vector3(8f, 10f, 4f);
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(1f, 1f, 1f);
		val2.layer = 10;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(8f, -0.1f, 9f);
		val2.transform.rotation = Quaternion.Euler(0f, 30.000002f, 0f);
		val2.transform.localScale = new Vector3(8f, 10f, 4f);
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(1f, 1f, 1f);
		val2.layer = 10;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(0f, 0f, 11f);
		val2.transform.rotation = Quaternion.Euler(0f, 0f, 0f);
		val2.transform.localScale = new Vector3(12f, 10f, 4f);
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2 = GameObject.CreatePrimitive((PrimitiveType)2);
		Object.Destroy((Object)(object)val2.GetComponent<CapsuleCollider>());
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.92679244f, 0.7539623f, 0.5964f);
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(0f, -15f, 0f);
		val2.transform.rotation = Quaternion.Euler(0f, 0f, 0f);
		val2.transform.localScale = new Vector3(25f, 10f, 20f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)2);
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.92679244f, 0.7539623f, 0.5964f);
		val2.layer = 9;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(0f, -5f, 0f);
		val2.transform.rotation = Quaternion.Euler(0f, 0f, 0f);
		val2.transform.localScale = new Vector3(25f, 0.01f, 20f);
		Object.Destroy((Object)(object)val2.GetComponent<CapsuleCollider>());
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val.transform.position = new Vector3(0f, 1.5f, 0f);
		val.transform.rotation = Quaternion.Euler(0f, 90f, 0f);
		val.SetActive(false);
	}

	public void LoadWindyRavine()
	{
		//IL_0001: Unknown result type (might be due to invalid IL or missing references)
		//IL_0007: Expected O, but got Unknown
		//IL_0085: Unknown result type (might be due to invalid IL or missing references)
		//IL_00e3: Unknown result type (might be due to invalid IL or missing references)
		//IL_0104: Unknown result type (might be due to invalid IL or missing references)
		//IL_0125: Unknown result type (might be due to invalid IL or missing references)
		//IL_0188: Unknown result type (might be due to invalid IL or missing references)
		//IL_01ee: Unknown result type (might be due to invalid IL or missing references)
		//IL_020f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0230: Unknown result type (might be due to invalid IL or missing references)
		//IL_0293: 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_031a: Unknown result type (might be due to invalid IL or missing references)
		//IL_033b: Unknown result type (might be due to invalid IL or missing references)
		//IL_039e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0404: Unknown result type (might be due to invalid IL or missing references)
		//IL_0425: Unknown result type (might be due to invalid IL or missing references)
		//IL_0446: Unknown result type (might be due to invalid IL or missing references)
		//IL_04a9: Unknown result type (might be due to invalid IL or missing references)
		//IL_050f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0530: Unknown result type (might be due to invalid IL or missing references)
		//IL_0551: Unknown result type (might be due to invalid IL or missing references)
		//IL_05b4: Unknown result type (might be due to invalid IL or missing references)
		//IL_061a: Unknown result type (might be due to invalid IL or missing references)
		//IL_063b: Unknown result type (might be due to invalid IL or missing references)
		//IL_065c: Unknown result type (might be due to invalid IL or missing references)
		//IL_06bf: Unknown result type (might be due to invalid IL or missing references)
		//IL_0725: Unknown result type (might be due to invalid IL or missing references)
		//IL_0746: Unknown result type (might be due to invalid IL or missing references)
		//IL_0767: Unknown result type (might be due to invalid IL or missing references)
		//IL_07ca: Unknown result type (might be due to invalid IL or missing references)
		//IL_0830: Unknown result type (might be due to invalid IL or missing references)
		//IL_0851: Unknown result type (might be due to invalid IL or missing references)
		//IL_0872: Unknown result type (might be due to invalid IL or missing references)
		//IL_08d5: Unknown result type (might be due to invalid IL or missing references)
		//IL_093b: Unknown result type (might be due to invalid IL or missing references)
		//IL_095c: Unknown result type (might be due to invalid IL or missing references)
		//IL_097d: Unknown result type (might be due to invalid IL or missing references)
		//IL_09e0: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a46: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a67: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a88: Unknown result type (might be due to invalid IL or missing references)
		//IL_0aeb: 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_0b72: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b93: Unknown result type (might be due to invalid IL or missing references)
		//IL_0bf6: Unknown result type (might be due to invalid IL or missing references)
		//IL_0c5c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0c7d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0c9e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d01: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d67: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d88: Unknown result type (might be due to invalid IL or missing references)
		//IL_0da9: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e0c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e72: 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_0eb4: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f17: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f7d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f9e: 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_1022: Unknown result type (might be due to invalid IL or missing references)
		//IL_1088: Unknown result type (might be due to invalid IL or missing references)
		//IL_10a9: Unknown result type (might be due to invalid IL or missing references)
		//IL_10ca: Unknown result type (might be due to invalid IL or missing references)
		//IL_112d: 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_11b4: Unknown result type (might be due to invalid IL or missing references)
		//IL_11d5: Unknown result type (might be due to invalid IL or missing references)
		//IL_1238: Unknown result type (might be due to invalid IL or missing references)
		//IL_129e: Unknown result type (might be due to invalid IL or missing references)
		//IL_12bf: Unknown result type (might be due to invalid IL or missing references)
		//IL_12e0: Unknown result type (might be due to invalid IL or missing references)
		//IL_1343: 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_13ca: 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_144e: Unknown result type (might be due to invalid IL or missing references)
		//IL_14b4: Unknown result type (might be due to invalid IL or missing references)
		//IL_14d5: 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_1559: Unknown result type (might be due to invalid IL or missing references)
		//IL_15bf: Unknown result type (might be due to invalid IL or missing references)
		//IL_15e0: Unknown result type (might be due to invalid IL or missing references)
		//IL_1601: Unknown result type (might be due to invalid IL or missing references)
		//IL_1664: 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_16eb: Unknown result type (might be due to invalid IL or missing references)
		//IL_170c: Unknown result type (might be due to invalid IL or missing references)
		//IL_176f: Unknown result type (might be due to invalid IL or missing references)
		//IL_17d5: Unknown result type (might be due to invalid IL or missing references)
		//IL_17f6: Unknown result type (might be due to invalid IL or missing references)
		//IL_1817: Unknown result type (might be due to invalid IL or missing references)
		//IL_187a: Unknown result type (might be due to invalid IL or missing references)
		//IL_18e0: Unknown result type (might be due to invalid IL or missing references)
		//IL_1901: Unknown result type (might be due to invalid IL or missing references)
		//IL_1922: Unknown result type (might be due to invalid IL or missing references)
		//IL_1985: Unknown result type (might be due to invalid IL or missing references)
		//IL_19eb: Unknown result type (might be due to invalid IL or missing references)
		//IL_1a0c: Unknown result type (might be due to invalid IL or missing references)
		//IL_1a2d: Unknown result type (might be due to invalid IL or missing references)
		//IL_1a90: Unknown result type (might be due to invalid IL or missing references)
		//IL_1af6: Unknown result type (might be due to invalid IL or missing references)
		//IL_1b17: Unknown result type (might be due to invalid IL or missing references)
		//IL_1b38: Unknown result type (might be due to invalid IL or missing references)
		//IL_1b9b: Unknown result type (might be due to invalid IL or missing references)
		//IL_1c01: Unknown result type (might be due to invalid IL or missing references)
		//IL_1c22: Unknown result type (might be due to invalid IL or missing references)
		//IL_1c43: Unknown result type (might be due to invalid IL or missing references)
		//IL_1ca6: Unknown result type (might be due to invalid IL or missing references)
		//IL_1d0c: Unknown result type (might be due to invalid IL or missing references)
		//IL_1d2d: Unknown result type (might be due to invalid IL or missing references)
		//IL_1d4e: Unknown result type (might be due to invalid IL or missing references)
		//IL_1db1: Unknown result type (might be due to invalid IL or missing references)
		//IL_1e17: Unknown result type (might be due to invalid IL or missing references)
		//IL_1e38: Unknown result type (might be due to invalid IL or missing references)
		//IL_1e59: Unknown result type (might be due to invalid IL or missing references)
		//IL_1ebc: Unknown result type (might be due to invalid IL or missing references)
		//IL_1f22: Unknown result type (might be due to invalid IL or missing references)
		//IL_1f43: Unknown result type (might be due to invalid IL or missing references)
		//IL_1f64: Unknown result type (might be due to invalid IL or missing references)
		//IL_1fc7: Unknown result type (might be due to invalid IL or missing references)
		//IL_202d: Unknown result type (might be due to invalid IL or missing references)
		//IL_204e: Unknown result type (might be due to invalid IL or missing references)
		//IL_206f: Unknown result type (might be due to invalid IL or missing references)
		//IL_20d2: Unknown result type (might be due to invalid IL or missing references)
		//IL_2138: Unknown result type (might be due to invalid IL or missing references)
		//IL_2159: Unknown result type (might be due to invalid IL or missing references)
		//IL_217a: Unknown result type (might be due to invalid IL or missing references)
		//IL_21dd: Unknown result type (might be due to invalid IL or missing references)
		//IL_2243: Unknown result type (might be due to invalid IL or missing references)
		//IL_2264: Unknown result type (might be due to invalid IL or missing references)
		//IL_2285: Unknown result type (might be due to invalid IL or missing references)
		//IL_22e8: Unknown result type (might be due to invalid IL or missing references)
		//IL_234e: Unknown result type (might be due to invalid IL or missing references)
		//IL_236f: Unknown result type (might be due to invalid IL or missing references)
		//IL_2390: Unknown result type (might be due to invalid IL or missing references)
		//IL_23f3: Unknown result type (might be due to invalid IL or missing references)
		//IL_2459: Unknown result type (might be due to invalid IL or missing references)
		//IL_247a: Unknown result type (might be due to invalid IL or missing references)
		//IL_249b: Unknown result type (might be due to invalid IL or missing references)
		//IL_24fe: Unknown result type (might be due to invalid IL or missing references)
		//IL_2564: Unknown result type (might be due to invalid IL or missing references)
		//IL_2585: Unknown result type (might be due to invalid IL or missing references)
		//IL_25a6: Unknown result type (might be due to invalid IL or missing references)
		//IL_2609: Unknown result type (might be due to invalid IL or missing references)
		//IL_266f: Unknown result type (might be due to invalid IL or missing references)
		//IL_2690: Unknown result type (might be due to invalid IL or missing references)
		//IL_26b1: Unknown result type (might be due to invalid IL or missing references)
		//IL_2714: Unknown result type (might be due to invalid IL or missing references)
		//IL_277a: Unknown result type (might be due to invalid IL or missing references)
		//IL_279b: Unknown result type (might be due to invalid IL or missing references)
		//IL_27bc: Unknown result type (might be due to invalid IL or missing references)
		//IL_281f: Unknown result type (might be due to invalid IL or missing references)
		//IL_2885: Unknown result type (might be due to invalid IL or missing references)
		//IL_28a6: Unknown result type (might be due to invalid IL or missing references)
		//IL_28c7: Unknown result type (might be due to invalid IL or missing references)
		//IL_292a: Unknown result type (might be due to invalid IL or missing references)
		//IL_2990: Unknown result type (might be due to invalid IL or missing references)
		//IL_29b1: Unknown result type (might be due to invalid IL or missing references)
		//IL_29d2: Unknown result type (might be due to invalid IL or missing references)
		//IL_2a35: Unknown result type (might be due to invalid IL or missing references)
		//IL_2a9b: Unknown result type (might be due to invalid IL or missing references)
		//IL_2abc: Unknown result type (might be due to invalid IL or missing references)
		//IL_2add: Unknown result type (might be due to invalid IL or missing references)
		//IL_2b38: Unknown result type (might be due to invalid IL or missing references)
		//IL_2b96: Unknown result type (might be due to invalid IL or missing references)
		//IL_2bb7: Unknown result type (might be due to invalid IL or missing references)
		//IL_2bd8: Unknown result type (might be due to invalid IL or missing references)
		//IL_2c75: Unknown result type (might be due to invalid IL or missing references)
		//IL_2c96: Unknown result type (might be due to invalid IL or missing references)
		//IL_2cb7: Unknown result type (might be due to invalid IL or missing references)
		//IL_2d54: Unknown result type (might be due to invalid IL or missing references)
		//IL_2d75: Unknown result type (might be due to invalid IL or missing references)
		//IL_2d96: Unknown result type (might be due to invalid IL or missing references)
		//IL_2e33: Unknown result type (might be due to invalid IL or missing references)
		//IL_2e54: Unknown result type (might be due to invalid IL or missing references)
		//IL_2e75: Unknown result type (might be due to invalid IL or missing references)
		//IL_2f12: Unknown result type (might be due to invalid IL or missing references)
		//IL_2f33: Unknown result type (might be due to invalid IL or missing references)
		//IL_2f54: Unknown result type (might be due to invalid IL or missing references)
		//IL_2ff1: Unknown result type (might be due to invalid IL or missing references)
		//IL_3012: Unknown result type (might be due to invalid IL or missing references)
		//IL_3033: Unknown result type (might be due to invalid IL or missing references)
		//IL_30d0: Unknown result type (might be due to invalid IL or missing references)
		//IL_30f1: Unknown result type (might be due to invalid IL or missing references)
		//IL_3112: Unknown result type (might be due to invalid IL or missing references)
		//IL_31af: Unknown result type (might be due to invalid IL or missing references)
		//IL_31d0: Unknown result type (might be due to invalid IL or missing references)
		//IL_31f1: Unknown result type (might be due to invalid IL or missing references)
		//IL_328e: Unknown result type (might be due to invalid IL or missing references)
		//IL_32af: Unknown result type (might be due to invalid IL or missing references)
		//IL_32d0: Unknown result type (might be due to invalid IL or missing references)
		//IL_336d: Unknown result type (might be due to invalid IL or missing references)
		//IL_338e: Unknown result type (might be due to invalid IL or missing references)
		//IL_33af: Unknown result type (might be due to invalid IL or missing references)
		//IL_344c: Unknown result type (might be due to invalid IL or missing references)
		//IL_346d: Unknown result type (might be due to invalid IL or missing references)
		//IL_348e: Unknown result type (might be due to invalid IL or missing references)
		//IL_34f1: Unknown result type (might be due to invalid IL or missing references)
		//IL_3557: Unknown result type (might be due to invalid IL or missing references)
		//IL_3578: Unknown result type (might be due to invalid IL or missing references)
		//IL_3599: Unknown result type (might be due to invalid IL or missing references)
		//IL_35fc: Unknown result type (might be due to invalid IL or missing references)
		//IL_3662: Unknown result type (might be due to invalid IL or missing references)
		//IL_3683: Unknown result type (might be due to invalid IL or missing references)
		//IL_36a4: Unknown result type (might be due to invalid IL or missing references)
		//IL_3707: Unknown result type (might be due to invalid IL or missing references)
		//IL_376d: Unknown result type (might be due to invalid IL or missing references)
		//IL_378e: Unknown result type (might be due to invalid IL or missing references)
		//IL_37af: Unknown result type (might be due to invalid IL or missing references)
		//IL_3812: Unknown result type (might be due to invalid IL or missing references)
		//IL_3878: Unknown result type (might be due to invalid IL or missing references)
		//IL_3899: Unknown result type (might be due to invalid IL or missing references)
		//IL_38ba: Unknown result type (might be due to invalid IL or missing references)
		//IL_391d: Unknown result type (might be due to invalid IL or missing references)
		//IL_3983: Unknown result type (might be due to invalid IL or missing references)
		//IL_39a4: Unknown result type (might be due to invalid IL or missing references)
		//IL_39c5: Unknown result type (might be due to invalid IL or missing references)
		//IL_3a28: Unknown result type (might be due to invalid IL or missing references)
		//IL_3a8e: Unknown result type (might be due to invalid IL or missing references)
		//IL_3aaf: Unknown result type (might be due to invalid IL or missing references)
		//IL_3ad0: Unknown result type (might be due to invalid IL or missing references)
		//IL_3b33: Unknown result type (might be due to invalid IL or missing references)
		//IL_3b99: Unknown result type (might be due to invalid IL or missing references)
		//IL_3bba: Unknown result type (might be due to invalid IL or missing references)
		//IL_3bdb: Unknown result type (might be due to invalid IL or missing references)
		//IL_3c3e: Unknown result type (might be due to invalid IL or missing references)
		//IL_3ca4: Unknown result type (might be due to invalid IL or missing references)
		//IL_3cc5: Unknown result type (might be due to invalid IL or missing references)
		//IL_3ce6: Unknown result type (might be due to invalid IL or missing references)
		//IL_3d49: Unknown result type (might be due to invalid IL or missing references)
		//IL_3daf: Unknown result type (might be due to invalid IL or missing references)
		//IL_3dd0: Unknown result type (might be due to invalid IL or missing references)
		//IL_3df1: Unknown result type (might be due to invalid IL or missing references)
		//IL_3e54: Unknown result type (might be due to invalid IL or missing references)
		//IL_3eba: Unknown result type (might be due to invalid IL or missing references)
		//IL_3edb: Unknown result type (might be due to invalid IL or missing references)
		//IL_3efc: Unknown result type (might be due to invalid IL or missing references)
		//IL_3f5f: Unknown result type (might be due to invalid IL or missing references)
		//IL_3fc5: Unknown result type (might be due to invalid IL or missing references)
		//IL_3fe6: Unknown result type (might be due to invalid IL or missing references)
		//IL_4007: Unknown result type (might be due to invalid IL or missing references)
		//IL_406a: Unknown result type (might be due to invalid IL or missing references)
		//IL_40d0: Unknown result type (might be due to invalid IL or missing references)
		//IL_40f1: Unknown result type (might be due to invalid IL or missing references)
		//IL_4112: Unknown result type (might be due to invalid IL or missing references)
		//IL_4175: Unknown result type (might be due to invalid IL or missing references)
		//IL_41db: Unknown result type (might be due to invalid IL or missing references)
		//IL_41fc: Unknown result type (might be due to invalid IL or missing references)
		//IL_421d: Unknown result type (might be due to invalid IL or missing references)
		//IL_4280: Unknown result type (might be due to invalid IL or missing references)
		//IL_42e6: Unknown result type (might be due to invalid IL or missing references)
		//IL_4307: Unknown result type (might be due to invalid IL or missing references)
		//IL_4328: Unknown result type (might be due to invalid IL or missing references)
		//IL_438b: Unknown result type (might be due to invalid IL or missing references)
		//IL_43f1: Unknown result type (might be due to invalid IL or missing references)
		//IL_4412: Unknown result type (might be due to invalid IL or missing references)
		//IL_4433: Unknown result type (might be due to invalid IL or missing references)
		//IL_4496: Unknown result type (might be due to invalid IL or missing references)
		//IL_44fc: Unknown result type (might be due to invalid IL or missing references)
		//IL_451d: Unknown result type (might be due to invalid IL or missing references)
		//IL_453e: Unknown result type (might be due to invalid IL or missing references)
		//IL_45db: Unknown result type (might be due to invalid IL or missing references)
		//IL_45fc: Unknown result type (might be due to invalid IL or missing references)
		//IL_461d: Unknown result type (might be due to invalid IL or missing references)
		//IL_46ba: Unknown result type (might be due to invalid IL or missing references)
		//IL_46db: Unknown result type (might be due to invalid IL or missing references)
		//IL_46fc: Unknown result type (might be due to invalid IL or missing references)
		//IL_4799: Unknown result type (might be due to invalid IL or missing references)
		//IL_47ba: Unknown result type (might be due to invalid IL or missing references)
		//IL_47db: Unknown result type (might be due to invalid IL or missing references)
		//IL_4878: Unknown result type (might be due to invalid IL or missing references)
		//IL_4899: Unknown result type (might be due to invalid IL or missing references)
		//IL_48ba: Unknown result type (might be due to invalid IL or missing references)
		//IL_4957: Unknown result type (might be due to invalid IL or missing references)
		//IL_4978: Unknown result type (might be due to invalid IL or missing references)
		//IL_4999: Unknown result type (might be due to invalid IL or missing references)
		//IL_4a36: Unknown result type (might be due to invalid IL or missing references)
		//IL_4a57: Unknown result type (might be due to invalid IL or missing references)
		//IL_4a78: Unknown result type (might be due to invalid IL or missing references)
		//IL_4b15: Unknown result type (might be due to invalid IL or missing references)
		//IL_4b36: Unknown result type (might be due to invalid IL or missing references)
		//IL_4b57: Unknown result type (might be due to invalid IL or missing references)
		GameObject val = new GameObject();
		((Object)val).name = "Windy Ravine";
		val.transform.parent = mapsParent.transform;
		Shader shader = Shader.Find("Universal Render Pipeline/Lit");
		GameObject val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Floor Arena";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.8010476f, 0.28215572f, 0.057977647f);
		val2.layer = 9;
		MeshCollider collider = val2.AddComponent<MeshCollider>();
		GroundCollider val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(0f, -0.84657735f, 0f);
		val2.transform.rotation = Quaternion.Euler(-0f, 0f, 0f);
		val2.transform.localScale = new Vector3(15.981367f, 0.38512504f, 39.303337f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(-8.005531f, 2.4113574f, 1.3997794f);
		val2.transform.rotation = Quaternion.Euler(-0f, 0f, 0f);
		val2.transform.localScale = new Vector3(0.66150486f, 9.347577f, 3.0536945f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.001(e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(-7.674153f, 2.4113576f, 4.3997793f);
		val2.transform.rotation = Quaternion.Euler(-0f, 0f, 0f);
		val2.transform.localScale = new Vector3(0.66150486f, 11.165809f, 3.0536945f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.002 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(-7.321194f, 2.4113576f, 7.3997793f);
		val2.transform.rotation = Quaternion.Euler(-0f, 0f, 0f);
		val2.transform.localScale = new Vector3(0.66150486f, 7.7443337f, 3.0536945f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.003 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(-6.952846f, 3.0509002f, 10.399779f);
		val2.transform.rotation = Quaternion.Euler(-0f, 0f, 0f);
		val2.transform.localScale = new Vector3(0.66150486f, 11.307509f, 3.0536945f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.004 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(-6.7660346f, 2.4113574f, 13.399779f);
		val2.transform.rotation = Quaternion.Euler(-0f, 0f, 0f);
		val2.transform.localScale = new Vector3(1.2382705f, 7.204067f, 3.0536945f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.005 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(-5.716501f, 2.4113576f, 16.39978f);
		val2.transform.rotation = Quaternion.Euler(-0f, 0f, 0f);
		val2.transform.localScale = new Vector3(1.2382705f, 10.501777f, 3.0536945f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.006 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(-4.6563425f, 2.4113576f, 19.399776f);
		val2.transform.rotation = Quaternion.Euler(-0f, 0f, 0f);
		val2.transform.localScale = new Vector3(1.2382705f, 6.595878f, 3.0536945f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.014 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(8.005529f, 2.4113574f, -1.3997818f);
		val2.transform.rotation = Quaternion.Euler(0f, 180.00002f, 0f);
		val2.transform.localScale = new Vector3(0.66150486f, 9.347577f, 3.0536945f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.015 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(7.6741505f, 2.4113576f, -4.3997808f);
		val2.transform.rotation = Quaternion.Euler(0f, 180.00002f, 0f);
		val2.transform.localScale = new Vector3(0.66150486f, 11.165809f, 3.0536945f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.016 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(7.321191f, 2.4113576f, -7.3997817f);
		val2.transform.rotation = Quaternion.Euler(0f, 180.00002f, 0f);
		val2.transform.localScale = new Vector3(0.66150486f, 7.7443337f, 3.0536945f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.017 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(6.9528418f, 2.4113576f, -10.399781f);
		val2.transform.rotation = Quaternion.Euler(0f, 180.00002f, 0f);
		val2.transform.localScale = new Vector3(0.66150486f, 8.937181f, 3.0536945f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.018 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(6.7660313f, 2.4113574f, -13.399783f);
		val2.transform.rotation = Quaternion.Euler(0f, 180.00002f, 0f);
		val2.transform.localScale = new Vector3(1.2382705f, 7.204067f, 3.0536945f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.019 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(5.716497f, 2.4113576f, -16.399786f);
		val2.transform.rotation = Quaternion.Euler(0f, 180.00002f, 0f);
		val2.transform.localScale = new Vector3(1.2382705f, 10.501777f, 3.0536945f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.020 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(4.6563373f, 2.4113576f, -19.399782f);
		val2.transform.rotation = Quaternion.Euler(0f, 180.00002f, 0f);
		val2.transform.localScale = new Vector3(1.2382705f, 6.595878f, 3.0536945f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.021 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(7.98825f, 2.2385142f, 1.3997793f);
		val2.transform.rotation = Quaternion.Euler(-0f, 0f, 0f);
		val2.transform.localScale = new Vector3(0.66150486f, 8.677554f, 3.0536945f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.022 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(7.5938163f, 2.624545f, 4.3997793f);
		val2.transform.rotation = Quaternion.Euler(-0f, 0f, 0f);
		val2.transform.localScale = new Vector3(0.66150486f, 12.152974f, 3.0536945f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.023 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(4.6496015f, 2.150801f, 19.399778f);
		val2.transform.rotation = Quaternion.Euler(-0f, 0f, 0f);
		val2.transform.localScale = new Vector3(1.2382705f, 5.8831673f, 3.0536945f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.024 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(5.6113467f, 2.2110357f, 16.39978f);
		val2.transform.rotation = Quaternion.Euler(-0f, 0f, 0f);
		val2.transform.localScale = new Vector3(1.2382705f, 9.629349f, 3.0536945f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.025 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(6.6614833f, 3.961093f, 13.399779f);
		val2.transform.rotation = Quaternion.Euler(-0f, 0f, 0f);
		val2.transform.localScale = new Vector3(1.2382705f, 11.83399f, 3.0536945f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.026 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(6.9153433f, 3.108583f, 10.399779f);
		val2.transform.rotation = Quaternion.Euler(-0f, 0f, 0f);
		val2.transform.localScale = new Vector3(0.66150486f, 11.521298f, 3.0536945f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.027 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(7.246885f, 2.324332f, 7.3997793f);
		val2.transform.rotation = Quaternion.Euler(-0f, 0f, 0f);
		val2.transform.localScale = new Vector3(0.66150486f, 7.4648414f, 3.0536945f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.028 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(-7.9882464f, 2.2385142f, -1.3997767f);
		val2.transform.rotation = Quaternion.Euler(0f, 180.00002f, 0f);
		val2.transform.localScale = new Vector3(0.66150486f, 8.677554f, 3.0536945f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.029 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(-7.5938177f, 2.624545f, -4.399777f);
		val2.transform.rotation = Quaternion.Euler(0f, 180.00002f, 0f);
		val2.transform.localScale = new Vector3(0.66150486f, 12.152974f, 3.0536945f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.030 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(-4.6496077f, 2.150801f, -19.399776f);
		val2.transform.rotation = Quaternion.Euler(0f, 180.00002f, 0f);
		val2.transform.localScale = new Vector3(1.2382705f, 5.8831673f, 3.0536945f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.031 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(-5.611354f, 2.2110357f, -16.399778f);
		val2.transform.rotation = Quaternion.Euler(0f, 180.00002f, 0f);
		val2.transform.localScale = new Vector3(1.2382705f, 9.629349f, 3.0536945f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.032 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(-6.6614876f, 3.961093f, -13.399777f);
		val2.transform.rotation = Quaternion.Euler(0f, 180.00002f, 0f);
		val2.transform.localScale = new Vector3(1.2382705f, 11.83399f, 3.0536945f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.033 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(-6.9153466f, 3.108583f, -10.399777f);
		val2.transform.rotation = Quaternion.Euler(0f, 180.00002f, 0f);
		val2.transform.localScale = new Vector3(0.66150486f, 11.521298f, 3.0536945f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.034 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(-7.246887f, 2.9754736f, -7.399777f);
		val2.transform.rotation = Quaternion.Euler(0f, 180.00002f, 0f);
		val2.transform.localScale = new Vector3(0.66150486f, 9.556053f, 3.0536945f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.007 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(-5.985799f, -17.50798f, 84.06477f);
		val2.transform.rotation = Quaternion.Euler(359.8012f, 1.5548748f, 7.343701f);
		val2.transform.localScale = new Vector3(0.66150486f, 43.635464f, 170.04152f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.008 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(4.309361f, -17.50798f, -84.064766f);
		val2.transform.rotation = Quaternion.Euler(359.71738f, 181.56784f, 10.383057f);
		val2.transform.localScale = new Vector3(0.6615048f, 43.635464f, 170.04152f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.009 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(-5.9380813f, -17.50798f, -84.064766f);
		val2.transform.rotation = Quaternion.Euler(359.7498f, 178.20863f, 351.97363f);
		val2.transform.localScale = new Vector3(0.66150486f, 43.635464f, 170.04152f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.010 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(5.8213563f, -17.50798f, 84.06478f);
		val2.transform.rotation = Quaternion.Euler(359.79022f, 358.21387f, 353.2577f);
		val2.transform.localScale = new Vector3(0.66150486f, 43.635464f, 170.04152f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.011 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(0f, -0.7595502f, 19.646917f);
		val2.transform.rotation = Quaternion.Euler(0f, 0f, 180f);
		val2.transform.localScale = new Vector3(14.323233f, 0.1634267f, 0.26925504f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.012 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(-6.401779E-06f, -0.7595502f, -19.646921f);
		val2.transform.rotation = Quaternion.Euler(-5.008956E-06f, 180.00002f, 180f);
		val2.transform.localScale = new Vector3(14.323233f, 0.1634267f, 0.26925504f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.013 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(-10.3656f, 3.0509002f, 138.39346f);
		val2.transform.rotation = Quaternion.Euler(-0f, 1.3063661f, -0f);
		val2.transform.localScale = new Vector3(3.807188f, 11.307509f, 24.54f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.035 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(-11.906414f, 1.4996226f, 92.36161f);
		val2.transform.rotation = Quaternion.Euler(-0f, 1.3063661f, -0f);
		val2.transform.localScale = new Vector3(3.807188f, 11.307509f, 24.54f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.036 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(10.365583f, 3.0509002f, -138.39343f);
		val2.transform.rotation = Quaternion.Euler(0f, 181.30638f, 0f);
		val2.transform.localScale = new Vector3(3.807188f, 11.307509f, 24.54f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.037 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(11.9064f, 1.4996226f, -92.36161f);
		val2.transform.rotation = Quaternion.Euler(0f, 181.30638f, 0f);
		val2.transform.localScale = new Vector3(3.807188f, 11.307509f, 24.54f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.038 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(-10.265492f, 1.4539633f, -116.30132f);
		val2.transform.rotation = Quaternion.Euler(-0f, 177.78426f, -0f);
		val2.transform.localScale = new Vector3(3.8071878f, 10.963228f, 24.539999f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border (w) Cliff.039 (e)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.4882347f, 0.18156701f, 0.020319995f);
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(10.186635f, 1.4539633f, 116.30132f);
		val2.transform.rotation = Quaternion.Euler(0f, 357.78427f, 0f);
		val2.transform.localScale = new Vector3(3.8071878f, 10.963228f, 24.539999f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Floor Arena.001";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.GetComponent<Renderer>().material.shader = shader;
		val2.GetComponent<Renderer>().material.color = new Color(0.8010476f, 0.28215572f, 0.057977647f);
		val2.layer = 9;
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(0f, -16.295887f, 0f);
		val2.transform.rotation = Quaternion.Euler(-0f, 0f, 0f);
		val2.transform.localScale = new Vector3(27.134106f, 0.38512504f, 333.2976f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border Invisible (i) (w) (e)(Invisible)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		Object.Destroy((Object)(object)val2.GetComponent<MeshRenderer>());
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(-7.9061766f, 6.8194394f, -0.04320325f);
		val2.transform.rotation = Quaternion.Euler(0f, 180.00002f, 0f);
		val2.transform.localScale = new Vector3(0.19172408f, 19.205933f, 12.528059f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border Invisible (i) (w) (e).001(Invisible)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		Object.Destroy((Object)(object)val2.GetComponent<MeshRenderer>());
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(-7.284052f, 6.8194394f, 9.10204f);
		val2.transform.rotation = Quaternion.Euler(0f, 186.87772f, 0f);
		val2.transform.localScale = new Vector3(0.19172408f, 19.205933f, 12.528059f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border Invisible (i) (w) (e).002(Invisible)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		Object.Destroy((Object)(object)val2.GetComponent<MeshRenderer>());
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(-5.8065033f, 6.8194394f, 16.764553f);
		val2.transform.rotation = Quaternion.Euler(0f, 201.81792f, 0f);
		val2.transform.localScale = new Vector3(0.18352312f, 19.205933f, 8.658182f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border Invisible (i) (w) (e).003(Invisible)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		Object.Destroy((Object)(object)val2.GetComponent<MeshRenderer>());
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(-5.650973f, 6.8194385f, -16.768007f);
		val2.transform.rotation = Quaternion.Euler(-0f, 160.98862f, -0f);
		val2.transform.localScale = new Vector3(0.1858869f, 19.205933f, 8.577888f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border Invisible (i) (w) (e).004(Invisible)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		Object.Destroy((Object)(object)val2.GetComponent<MeshRenderer>());
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(-7.1907334f, 6.819439f, -9.188447f);
		val2.transform.rotation = Quaternion.Euler(-0f, 172.88985f, -0f);
		val2.transform.localScale = new Vector3(0.19172408f, 19.205933f, 12.528059f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border Invisible (i) (w) (e).005(Invisible)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		Object.Destroy((Object)(object)val2.GetComponent<MeshRenderer>());
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(7.9061766f, 6.8194394f, 0.043200675f);
		val2.transform.rotation = Quaternion.Euler(-0f, 3.7338672E-05f, -0f);
		val2.transform.localScale = new Vector3(0.19172408f, 19.205933f, 12.528059f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border Invisible (i) (w) (e).006(Invisible)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		Object.Destroy((Object)(object)val2.GetComponent<MeshRenderer>());
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(7.284049f, 6.8194394f, -9.102041f);
		val2.transform.rotation = Quaternion.Euler(-0f, 6.8777375f, -0f);
		val2.transform.localScale = new Vector3(0.19172408f, 19.205933f, 12.528059f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border Invisible (i) (w) (e).007(Invisible)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		Object.Destroy((Object)(object)val2.GetComponent<MeshRenderer>());
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.parent = val.transform;
		val2.transform.position = new Vector3(5.8064966f, 6.8194394f, -16.764553f);
		val2.transform.rotation = Quaternion.Euler(-0f, 21.817928f, -0f);
		val2.transform.localScale = new Vector3(0.18352312f, 19.205933f, 8.658182f);
		val2 = GameObject.CreatePrimitive((PrimitiveType)3);
		((Object)val2).name = "Cube Border Invisible (i) (w) (e).008(Invisible)(Environment)(Wall)";
		Object.Destroy((Object)(object)val2.GetComponent<BoxCollider>());
		val2.AddComponent<BoxCollider>();
		Object.Destroy((Object)(object)val2.GetComponent<MeshRenderer>());
		val2.layer = 10;
		val2.AddComponent<KillStructureOnImpact>();
		collider = val2.AddComponent<MeshCollider>();
		val3 = val2.AddComponent<GroundCollider>();
		val3.isMainGroundCollider = true;
		val3.collider = (Collider)(object)collider;
		val2.transform.p