summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_AIDebugInfo.cs
blob: ddf6e5ad91543b0c1c39da049d49636366e2dd54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;
using XUtliPoolLib;

namespace XMainClient
{
	internal class Process_PtcG2C_AIDebugInfo
	{
		public static void Process(PtcG2C_AIDebugInfo roPtc)
		{
			string[] array = roPtc.Data.msg.Split(new char[]
			{
				'\n'
			});
			XSingleton<XDebug>.singleton.AddLog("<color=cyan>--------START--------</color>", null, null, null, null, null, XDebugColor.XDebug_None);
			for (int i = 0; i < array.Length; i++)
			{
				bool flag = array[i].Length == 0;
				if (!flag)
				{
					XSingleton<XDebug>.singleton.AddGreenLog(array[i], null, null, null, null, null);
				}
			}
			XSingleton<XDebug>.singleton.AddLog("<color=cyan>--------END--------</color>", null, null, null, null, null, XDebugColor.XDebug_None);
		}
	}
}