Exemplo n.º 1
0
		// Token: 0x06000034 RID: 52 RVA: 0x00004264 File Offset: 0x00002464
		public static string[] GetLinesFromFile(string filePath)
		{
			string text = ResourceExtractor.BytesToString(File.ReadAllBytes(filePath));
			return text.Split(new char[]
			{
				'\n'
			});
		}
Exemplo n.º 2
0
		// Token: 0x06000033 RID: 51 RVA: 0x00004234 File Offset: 0x00002434
		public static string[] GetLinesFromEmbeddedResource(string filePath)
		{
			string text = ResourceExtractor.BytesToString(ResourceExtractor.ExtractEmbeddedResource(filePath));
			return text.Split(new char[]
			{
				'\n'
			});
		}
Exemplo n.º 3
0
        public static RoomData ExtractRoomDataFromResource(string path)
        {
            string data = ResourceExtractor.BytesToString(ResourceExtractor.ExtractEmbeddedResource(path));

            return(ExtractRoomData(data));
        }
Exemplo n.º 4
0
        public static RoomData ExtractRoomDataFromFile(string path)
        {
            string data = ResourceExtractor.BytesToString(File.ReadAllBytes(path));

            return(ExtractRoomData(data));
        }
Exemplo n.º 5
0
        public static RoomData ExtractRoomDataFromBytes(byte[] data)
        {
            string stringData = ResourceExtractor.BytesToString(data);

            return(ExtractRoomData(stringData));
        }