fix update

main
zyy2412666 2023-12-05 08:55:41 +08:00
parent 11773bfebd
commit cf4ff0006f
155 changed files with 4804 additions and 4284 deletions

View File

@ -8,8 +8,7 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>10.0.20506</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<RootNamespace>
</RootNamespace>
<RootNamespace></RootNamespace>
<ProjectGuid>{6BCF1753-8618-A6C0-7F1D-4322E3AED478}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
@ -125,9 +124,7 @@
<Compile Include="Assets\Plugins\crosstales\RTVoice\Scripts\Model\Wrapper.cs" />
<Compile Include="Assets\Plugins\crosstales\Common\Scripts\Model\Enum\Platform.cs" />
<Compile Include="Assets\Plugins\Demigiant\DOTween\Modules\DOTweenModuleUI.cs" />
<Compile Include="Assets\Plugins\crosstales\Common\Scripts\Util\CTWebClient.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Assets\Plugins\crosstales\Common\Scripts\Util\CTWebClient.cs" />
</ItemGroup>
<ItemGroup>
<None Include="Assets\Plugins\crosstales\RTVoice\README.txt" />

View File

@ -82,6 +82,7 @@
<Compile Include="Assets\Scripts\UI\UITalk.cs" />
<Compile Include="Assets\Scripts\Data\DataManager.cs" />
<Compile Include="Assets\Scripts\Data\LifeTypeData.cs" />
<Compile Include="Assets\Scripts\Net\UdpConnect.cs" />
<Compile Include="Assets\Scripts\Data\BodyInfoData.cs" />
<Compile Include="Assets\Scripts\Data\BodyNumData.cs" />
<Compile Include="Assets\Scripts\UI\UIFile.cs" />
@ -91,6 +92,7 @@
<Compile Include="Assets\Scripts\UI\UIHistoryInfo.cs" />
<Compile Include="Assets\Scripts\Tools\ToggleTab.cs" />
<Compile Include="Assets\Scripts\Data\DataParse.cs" />
<Compile Include="Assets\Scripts\Net\TcpConnect.cs" />
<Compile Include="Assets\Scripts\Tools\SingleTon.cs" />
<Compile Include="Assets\Scripts\UI\UIQuitAll.cs" />
<Compile Include="Assets\Scripts\Net\NetMain.cs" />

View File

@ -1,5 +1,140 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &248530132307520767
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8863933745407141984}
- component: {fileID: 3123174876998443713}
- component: {fileID: 4119844126591965962}
m_Layer: 5
m_Name: Text (TMP)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &8863933745407141984
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 248530132307520767}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1517624623130067996}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3123174876998443713
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 248530132307520767}
m_CullTransparentMesh: 1
--- !u!114 &4119844126591965962
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 248530132307520767}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: "\u5B8C\u6210"
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 3bd21f304e77db54eb98a1f35f6a2680, type: 2}
m_sharedMaterial: {fileID: -3509209986637506031, guid: 3bd21f304e77db54eb98a1f35f6a2680, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4281479730
m_fontColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 48
m_fontSizeBase: 48
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!1 &1217368079879278654
GameObject:
m_ObjectHideFlags: 0
@ -29,7 +164,8 @@ RectTransform:
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Children:
- {fileID: 1517624623130067996}
m_Father: {fileID: 8833977138176979710}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -324,6 +460,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
close: {fileID: 1372564955590707456}
submitBtn: {fileID: 3939588094101898148}
content: {fileID: 8698735302506632778}
layoutGroup: {fileID: 6044407484356689876}
--- !u!1 &3951480233687655842
@ -1032,3 +1169,125 @@ RectTransform:
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &8521204421742848316
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1517624623130067996}
- component: {fileID: 2991511164041119240}
- component: {fileID: 4202676536245352057}
- component: {fileID: 3939588094101898148}
m_Layer: 5
m_Name: Button
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!224 &1517624623130067996
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8521204421742848316}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 8863933745407141984}
m_Father: {fileID: 8698735302506632778}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 600, y: -50}
m_SizeDelta: {x: 1200, y: 80}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2991511164041119240
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8521204421742848316}
m_CullTransparentMesh: 1
--- !u!114 &4202676536245352057
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8521204421742848316}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!114 &3939588094101898148
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8521204421742848316}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
m_SelectedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 4202676536245352057}
m_OnClick:
m_PersistentCalls:
m_Calls: []

View File

@ -67,3 +67,19 @@ public class CheckReasonRoot
/// </summary>
public CheckReason1Data data;
}
[Serializable]
public class CheckBodyQuetionRoot
{
/// <summary>
///
/// </summary>
public int code;
/// <summary>
/// 操作成功
/// </summary>
public string msg;
/// <summary>
///
/// </summary>
public List<DataItem2> data;
}

View File

@ -34,6 +34,7 @@ public class DataManager : SingleTon<DataManager>
public int currentBGType = 1;
public List<DataItem2> currentAnswerQuestion = new List<DataItem2>();
public List<DataItem2> checkBodyQuestion = new List<DataItem2>();
public string currentHistoryChoose = "";

View File

@ -3,9 +3,60 @@ using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UIElements;
using static UnityEditor.Progress;
public class DataParse : SingleTon<DataParse>
{
public void ParseCheckBodyQuestionToQuit(string str)
{
CheckBodyQuetionRoot root = JsonUtility.FromJson<CheckBodyQuetionRoot>(str);
if (root != null)
{
if (root.code == 200)
{
DataManager.Instance.checkBodyQuestion = root.data;
for (int i = 0; i < DataManager.Instance.checkBodyQuestion.Count; i++)
{
var item = DataManager.Instance.checkBodyQuestion[i];
AnswerQuestionData questionData = new AnswerQuestionData();
questionData.question = item;
questionData.questionID = item.id;
questionData.type = item.type;
if (item.type == 1)
{
questionData.chooseOne = -1;
}
else if (item.type == 2)
{
questionData.choose = new List<int>();
}
else
{
questionData.hint = "";
}
bool ishave = false;
var temp2 = DataManager.Instance.currentAllDoneQuestion;
for (int j = 0; j < temp2.Count; j++)
{
if (temp2[j].questionID == questionData.questionID)
{
temp2[j] = questionData;
ishave = true;
}
}
if (!ishave)
{
DataManager.Instance.currentAllDoneQuestion.Add(questionData);
}
}
}
else
{
Debug.LogError("root.code = " + root.code);
}
}
}
public void ParseBodyPosInfo(string str)
{
BodyPosInfoRoot root = JsonUtility.FromJson<BodyPosInfoRoot>(str);

View File

@ -0,0 +1,119 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Net.Sockets;
using System.Net;
using System.Threading;
using UnityEngine;
using UnityEngine.Windows;
using System.Text;
public class TcpConnect : MonoBehaviour
{
private string staInfo = "NULL"; //状态信息
private string inputIp = "127.0.0.1"; //输入ip地址
private string inputPort = "8080"; //输入端口号
public string inputMes = "NULL"; //发送的消息
private int recTimes = 0; //接收到信息的次数
private string recMes = "NULL"; //接收到的消息
private Socket socketSend; //客户端套接字,用来链接远端服务器
private bool clickSend = false; //是否点击发送按钮
void InitConnect()
{
try
{
int _port = Convert.ToInt32(inputPort);//获取端口号
string _ip = inputIp;//获取ip地址
//创建客户端Socket获得远程ip和端口号
socketSend = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
IPAddress ip = IPAddress.Parse(_ip);
IPEndPoint point = new IPEndPoint(ip, _port);
socketSend.Connect(point);
Debug.Log("连接成功 , " + " ip = " + ip + " port = " + _port);
staInfo = ip + ":" + _port + " 连接成功";
Thread r_thread = new Thread(ReceivedMessage);//开启新的线程,不停的接收服务器发来的消息
r_thread.IsBackground = true;
r_thread.Start();
Thread s_thread = new Thread(SendMessage); //开启新的线程,不停的给服务器发送消息
s_thread.IsBackground = true;
s_thread.Start();
}
catch (Exception)
{
Debug.Log("IP或者端口号错误......");
staInfo = "IP或者端口号错误......";
}
}
/// <summary>
/// 接收服务端返回的消息
/// </summary>
void ReceivedMessage()
{
while (true)
{
byte[] buffer = new byte[1024 * 6];
int len = socketSend.Receive(buffer);
if (len == 0)
{
break;
}
recMes = Encoding.UTF8.GetString(buffer, 0, len);
Debug.Log("客户端接收到的数据 " + recMes);
recTimes++;
staInfo = "接收到一次数据,接收次数为 " + recTimes;
Debug.Log("接收次数为:" + recTimes);
}
}
/// <summary>
/// 向服务器发送消息
/// </summary>
void SendMessage()
{
try
{
while (true)
{
clickSend = false;
string msg = inputMes;
byte[] buffer = new byte[1024 * 6];
buffer = Encoding.UTF8.GetBytes(msg);
socketSend.Send(buffer);
Debug.Log("发送的数据为:" + msg);
}
}
catch (Exception)
{
}
}
private void OnDisable()
{
Debug.Log("begin OnDisable()");
if (socketSend.Connected)
{
try
{
socketSend.Shutdown(SocketShutdown.Both); //禁用Socket的发送和接收功能
socketSend.Close(); //关闭Socket连接并释放所有相关资源
}
catch (Exception e)
{
print(e.Message);
}
}
Debug.Log("end OnDisable()");
}
private void OnApplicationQuit()
{
OnDisable();
}
}

View File

@ -0,0 +1,86 @@
using System.Collections;
using System.Collections.Generic;
using System.Net.Sockets;
using System.Net;
using System.Threading;
using UnityEngine;
using System.Text;
public class UdpConnect : MonoBehaviour
{
public string editString = "hello wolrd"; //编辑框文字
//以下默认都是私有的成员
private Socket socket; //目标socket
private EndPoint serverEnd; //服务端
private IPEndPoint ipEnd; //服务端端口
private string recvStr; //接收的字符串
private string sendStr; //发送的字符串
private byte[] recvData = new byte[1024]; //接收的数据,必须为字节
private byte[] sendData = new byte[1024]; //发送的数据,必须为字节
private int recvLen; //接收的数据长度
private Thread connectThread; //连接线程
void InitSocket()
{
//定义连接的服务器ip和端口可以是本机ip局域网互联网
ipEnd = new IPEndPoint(IPAddress.Parse("127.0.0.1"), 8999);
//定义套接字类型,在主线程中定义
socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
//定义服务端
IPEndPoint sender = new IPEndPoint(IPAddress.Any, 0);
serverEnd = (EndPoint)sender;
print("waiting for sending UDP dgram");
//建立初始连接这句非常重要第一次连接初始化了serverEnd后面才能收到消息
SocketSend("hello");
//开启一个线程连接,必须的,否则主线程卡死
connectThread = new Thread(new ThreadStart(SocketReceive));
connectThread.Start();
}
void SocketSend(string sendStr)
{
//清空发送缓存
sendData = new byte[1024];
//数据类型转换
sendData = Encoding.ASCII.GetBytes(sendStr);
//发送给指定服务端
socket.SendTo(sendData, sendData.Length, SocketFlags.None, ipEnd);
}
void SocketReceive()
{
//进入接收循环
while (true)
{
//对data清零
recvData = new byte[1024];
//获取客户端,获取服务端端数据,用引用给服务端赋值,实际上服务端已经定义好并不需要赋值
recvLen = socket.ReceiveFrom(recvData, ref serverEnd);
print("message from: " + serverEnd.ToString()); //打印服务端信息
//输出接收到的数据
recvStr = Encoding.ASCII.GetString(recvData, 0, recvLen);
print("我是客户端,接收到服务器的数据" + recvStr);
}
}
void SocketQuit()
{
//关闭线程
if (connectThread != null)
{
connectThread.Interrupt();
connectThread.Abort();
}
//最后关闭socket
if (socket != null)
socket.Close();
}
private void OnApplicationQuit()
{
SocketQuit();
}
}

View File

@ -167,14 +167,8 @@ public class UICheckTest : UIBase
for (int i = 0; i < allQuestionItem.Count; i++)
{
var item = allQuestionItem[i];
//步骤
UITalkMain uitalkMain = (UITalkMain)UIManager.Instance.GetUIBase(UIType.UITalkMain);
//if ((uitalkMain.currentStep < 4 && questionType == QuestionType.CLINICAL_PROBLEM) ||
// (uitalkMain.currentStep < 5 && questionType == QuestionType.DIAGNOSE_PROBLEM) ||
// (uitalkMain.currentStep < 6 && questionType == QuestionType.SUGGEST_PROBLEM))
//{
// uitalkMain.currentStep++;
// uitalkMain.RefreshLeftBtnState(true);
//}
var temp = DataManager.Instance.currentDisDistance;
int tempNum = uitalkMain.currentStep + 1;
if (temp.ContainsKey(tempNum))
@ -186,6 +180,7 @@ public class UICheckTest : UIBase
uitalkMain.RefreshLeftBtnState(true);
}
}
//
AnswerQuestionData questionData = new AnswerQuestionData();
questionData.question = item.currentData;
questionData.questionID = item.currentData.id;

View File

@ -47,6 +47,17 @@ public class UIClickBody : UIBase
EventCenter.dispatcher.AddListener(MsgType.OnGetBodyInfo, OnGetBodyInfo);
EventCenter.dispatcher.AddListener(MsgType.OnGetBodyPosInfo, OnGetBodyPosInfo);
Refrush();
AddCheckQuestionToQuitList();
}
private void AddCheckQuestionToQuitList()
{
int diagnosisID = DataManager.Instance.currentData.id;
string url = "http://122.112.171.137:85/api/problem/answer/getClinicalProblem/" + diagnosisID;
StartCoroutine(GetCheckQuesiton(url));
}
public void Refrush()
@ -205,8 +216,6 @@ public class UIClickBody : UIBase
void ShowTwiceMenuInfo(ClinicalProjectCheckRespListItem data)
{
//http://122.112.171.137:85/api/diagnosis/clinical/getClinicalInfo/{projectId}
Debug.Log("http://122.112.171.137:85/api/diagnosis/clinical/getClinicalInfo/" + data.projectId);
string url = "http://122.112.171.137:85/api/diagnosis/clinical/getClinicalInfo/" + data.projectId;
StartCoroutine(ShowPosInfo(url));
@ -289,6 +298,25 @@ public class UIClickBody : UIBase
}
}
IEnumerator GetCheckQuesiton(string url)
{
UnityWebRequest request = UnityWebRequest.Get(url);
yield return request.SendWebRequest();
if (request.isHttpError || request.isNetworkError)
{
Debug.LogError(request.error);
}
else
{
string receiveContent = request.downloadHandler.text;
byte[] datas = Encoding.UTF8.GetBytes(receiveContent);
receiveContent = Encoding.UTF8.GetString(datas, 0, datas.Length);
//JsonInfo jsonInfo = JsonMapper.ToObject<JsonInfo>(receiveContent);
DataParse.Instance.ParseCheckBodyQuestionToQuit(receiveContent);
}
}
IEnumerator GetBodyPos(string url)
{
UnityWebRequest request = UnityWebRequest.Get(url);

View File

@ -1,3 +1,4 @@
using System;
using System.Collections;
using System.Collections.Generic;
using TMPro;
@ -6,16 +7,59 @@ using UnityEngine;
using UnityEngine.Networking;
using UnityEngine.UI;
using UnityEngine.Video;
using static UnityEditor.Progress;
public class UIFile : UIBase
{
public Button close;
public Button submitBtn;
public Transform content;
public VerticalLayoutGroup layoutGroup;
List<GameObject> files;
private void Awake()
{
EventCenter.dispatcher.AddListener(MsgType.OnSubmitQuestion, OnSubmitQuestion);
close.onClick.AddListener(() => { UIManager.Instance.DestoryUI(UIType.UIFile); });
files = new List<GameObject>();
}
private void OnSubmitQuestion(Message evt)
{
//for (int i = 0; i < allQuestionItem.Count; i++)
//{
// var item = allQuestionItem[i];
// AnswerQuestionData questionData = new AnswerQuestionData();
// questionData.question = item.currentData;
// questionData.questionID = item.currentData.id;
// questionData.type = item.currentData.type;
// if (item.currentData.type == 1)
// {
// questionData.chooseOne = item.GetTogSelect();
// }
// else if (item.currentData.type == 2)
// {
// questionData.choose = item.GetAllSelect();
// }
// else
// {
// questionData.hint = item.GetStrAnswer();
// }
// bool ishave = false;
// var temp2 = DataManager.Instance.currentAllDoneQuestion;
// for (int j = 0; j < temp2.Count; j++)
// {
// if (temp2[j].questionID == questionData.questionID)
// {
// temp2[j] = questionData;
// ishave = true;
// }
// }
// if (!ishave)
// {
// DataManager.Instance.currentAllDoneQuestion.Add(questionData);
// }
//}
}
public void Init(List<FileInfoData> list)
@ -24,15 +68,14 @@ public class UIFile : UIBase
{
GameObject fileItem = (GameObject)Resources.Load("UIPrefabs/FileItem");
GameObject questionPrefab = (GameObject)Resources.Load("UIPrefabs/Question");
GameObject newUI;
for (int i = 0; i < list.Count; i++)
{
GameObject newUI;
if (list[i].type == FileType.question)
{
newUI = GameObject.Instantiate(questionPrefab, content);
QuestionItem currentItem = newUI.GetComponent<QuestionItem>();
currentItem.Init(list[i].question, true, true);
currentItem.Init(list[i].question, false, false);
}
else
{
@ -40,7 +83,52 @@ public class UIFile : UIBase
FileItem item = newUI.GetComponent<FileItem>();
item.Init(list[i]);
}
files.Add(newUI);
}
var submit = GameObject.Instantiate(submitBtn, content);
submit.gameObject.SetActive(true);
submit.onClick.AddListener(() =>
{
for (int i = 0; i < files.Count; i++)
{
var temp = files[i];
QuestionItem item = temp.GetComponent<QuestionItem>();
if(item != null)
{
AnswerQuestionData questionData = new AnswerQuestionData();
questionData.question = item.currentData;
questionData.questionID = item.currentData.id;
questionData.type = item.currentData.type;
if (item.currentData.type == 1)
{
questionData.chooseOne = item.GetTogSelect();
}
else if (item.currentData.type == 2)
{
questionData.choose = item.GetAllSelect();
}
else
{
questionData.hint = item.GetStrAnswer();
}
bool ishave = false;
var temp2 = DataManager.Instance.currentAllDoneQuestion;
for (int j = 0; j < temp2.Count; j++)
{
if (temp2[j].questionID == questionData.questionID)
{
temp2[j] = questionData;
ishave = true;
}
}
if (!ishave)
{
DataManager.Instance.currentAllDoneQuestion.Add(questionData);
}
}
}
UIManager.Instance.DestoryUI(UIType.UIFile);
});
}
}
@ -50,5 +138,9 @@ public class UIFile : UIBase
LayoutRebuilder.ForceRebuildLayoutImmediate(layoutGroup.GetComponent<RectTransform>());
}
private void OnDestroy()
{
EventCenter.dispatcher.RemoveListener(MsgType.OnSubmitQuestion, OnSubmitQuestion);
}
}

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -37245,7 +37245,7 @@
"DisplayName": "Writing Assembly-CSharp.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 2580573,
"PayloadLength": 32844,
"PayloadLength": 32916,
"PayloadDebugContentSnippet": "-target:library\r\n-out:\"Library",
"Inputs": [],
"Outputs": [
@ -37257,7 +37257,7 @@
"Annotation": "WriteText Library/Bee/artifacts/1900b0aE.dag/Assembly-CSharp.rsp2",
"DisplayName": "Writing Assembly-CSharp.rsp2",
"ActionType": "WriteFile",
"PayloadOffset": 2613504,
"PayloadOffset": 2613576,
"PayloadLength": 0,
"PayloadDebugContentSnippet": "",
"Inputs": [],
@ -37546,6 +37546,8 @@
"Assets/Scripts/Data/People.cs",
"Assets/Scripts/Manager/UIManager.cs",
"Assets/Scripts/Net/NetMain.cs",
"Assets/Scripts/Net/TcpConnect.cs",
"Assets/Scripts/Net/UdpConnect.cs",
"Assets/Scripts/Tools/SingleTon.cs",
"Assets/Scripts/Tools/SlideScrollView.cs",
"Assets/Scripts/Tools/ToggleTab.cs",
@ -37651,7 +37653,7 @@
"Annotation": "WriteText Library/Bee/artifacts/1900b0aE.dag/Assembly-CSharp.dll.mvfrm.rsp",
"DisplayName": "Writing Assembly-CSharp.dll.mvfrm.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 2613600,
"PayloadOffset": 2613672,
"PayloadLength": 11428,
"PayloadDebugContentSnippet": "Library\\Bee\\artifacts\\mvdfrm\\U",
"Inputs": [],
@ -37944,7 +37946,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/4747638433968585886.rsp",
"DisplayName": "Writing 4747638433968585886.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 2625117,
"PayloadOffset": 2625189,
"PayloadLength": 39527,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -38343,7 +38345,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/13686715218353603589.rsp",
"DisplayName": "Writing 13686715218353603589.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 2664734,
"PayloadOffset": 2664806,
"PayloadLength": 26733,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -39329,7 +39331,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/12812556936427222528.rsp",
"DisplayName": "Writing 12812556936427222528.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 2691557,
"PayloadOffset": 2691629,
"PayloadLength": 27931,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -40445,7 +40447,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/12697856024727907050.rsp",
"DisplayName": "Writing 12697856024727907050.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 2719578,
"PayloadOffset": 2719650,
"PayloadLength": 27942,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -41563,7 +41565,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/3410860103080533286.rsp",
"DisplayName": "Writing 3410860103080533286.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 2747609,
"PayloadOffset": 2747681,
"PayloadLength": 26756,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -42681,7 +42683,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/3648465134513896125.rsp",
"DisplayName": "Writing 3648465134513896125.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 2774454,
"PayloadOffset": 2774526,
"PayloadLength": 27937,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -43799,7 +43801,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/5806762800881712256.rsp",
"DisplayName": "Writing 5806762800881712256.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 2802480,
"PayloadOffset": 2802552,
"PayloadLength": 27938,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -44917,7 +44919,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/10654656162358534522.rsp",
"DisplayName": "Writing 10654656162358534522.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 2830508,
"PayloadOffset": 2830580,
"PayloadLength": 26758,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -46035,7 +46037,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/1418726328684876121.rsp",
"DisplayName": "Writing 1418726328684876121.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 2857355,
"PayloadOffset": 2857427,
"PayloadLength": 25433,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -47153,7 +47155,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/6591615775254759062.rsp",
"DisplayName": "Writing 6591615775254759062.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 2882877,
"PayloadOffset": 2882949,
"PayloadLength": 27944,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -48271,7 +48273,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/11344994280883157806.rsp",
"DisplayName": "Writing 11344994280883157806.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 2910911,
"PayloadOffset": 2910983,
"PayloadLength": 26768,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -49389,7 +49391,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/5916180605834378387.rsp",
"DisplayName": "Writing 5916180605834378387.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 2937768,
"PayloadOffset": 2937840,
"PayloadLength": 26752,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -50507,7 +50509,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/14355918427286719942.rsp",
"DisplayName": "Writing 14355918427286719942.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 2964610,
"PayloadOffset": 2964682,
"PayloadLength": 27956,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -51625,7 +51627,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/9111662996337956171.rsp",
"DisplayName": "Writing 9111662996337956171.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 2992655,
"PayloadOffset": 2992727,
"PayloadLength": 26756,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -52743,7 +52745,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/1177933628359149393.rsp",
"DisplayName": "Writing 1177933628359149393.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3019500,
"PayloadOffset": 3019572,
"PayloadLength": 27936,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -53861,7 +53863,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/908057632503650206.rsp",
"DisplayName": "Writing 908057632503650206.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3047524,
"PayloadOffset": 3047596,
"PayloadLength": 27966,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -54979,7 +54981,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/9147286922948009921.rsp",
"DisplayName": "Writing 9147286922948009921.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3075579,
"PayloadOffset": 3075651,
"PayloadLength": 27976,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -56097,7 +56099,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/5546506141355401238.rsp",
"DisplayName": "Writing 5546506141355401238.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3103644,
"PayloadOffset": 3103716,
"PayloadLength": 26752,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -57215,7 +57217,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/8899139255040401798.rsp",
"DisplayName": "Writing 8899139255040401798.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3130485,
"PayloadOffset": 3130557,
"PayloadLength": 26774,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -58333,7 +58335,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/10571807241835812913.rsp",
"DisplayName": "Writing 10571807241835812913.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3157349,
"PayloadOffset": 3157421,
"PayloadLength": 26838,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -59451,7 +59453,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/2499735490941455596.rsp",
"DisplayName": "Writing 2499735490941455596.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3184276,
"PayloadOffset": 3184348,
"PayloadLength": 27977,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -60571,7 +60573,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/3258459190130463912.rsp",
"DisplayName": "Writing 3258459190130463912.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3212342,
"PayloadOffset": 3212414,
"PayloadLength": 26817,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -61691,7 +61693,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/7038082120299526273.rsp",
"DisplayName": "Writing 7038082120299526273.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3239248,
"PayloadOffset": 3239320,
"PayloadLength": 26829,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -62811,7 +62813,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/7634377931854478575.rsp",
"DisplayName": "Writing 7634377931854478575.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3266166,
"PayloadOffset": 3266238,
"PayloadLength": 28006,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -63931,7 +63933,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/16942202937359522267.rsp",
"DisplayName": "Writing 16942202937359522267.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3294262,
"PayloadOffset": 3294334,
"PayloadLength": 28075,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -65053,7 +65055,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/12248871281822510316.rsp",
"DisplayName": "Writing 12248871281822510316.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3322427,
"PayloadOffset": 3322499,
"PayloadLength": 27986,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -66173,7 +66175,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/3938377011463375229.rsp",
"DisplayName": "Writing 3938377011463375229.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3350502,
"PayloadOffset": 3350574,
"PayloadLength": 28004,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -67293,7 +67295,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/2157608619508796868.rsp",
"DisplayName": "Writing 2157608619508796868.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3378595,
"PayloadOffset": 3378667,
"PayloadLength": 26864,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -68415,7 +68417,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/11295897478892413411.rsp",
"DisplayName": "Writing 11295897478892413411.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3405549,
"PayloadOffset": 3405621,
"PayloadLength": 28012,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -69535,7 +69537,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/14814235663552238418.rsp",
"DisplayName": "Writing 14814235663552238418.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3433651,
"PayloadOffset": 3433723,
"PayloadLength": 27998,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -70655,7 +70657,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/17122354673617034552.rsp",
"DisplayName": "Writing 17122354673617034552.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3461739,
"PayloadOffset": 3461811,
"PayloadLength": 27038,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -71779,7 +71781,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/10292501669419677951.rsp",
"DisplayName": "Writing 10292501669419677951.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3488867,
"PayloadOffset": 3488939,
"PayloadLength": 27998,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -72899,7 +72901,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/4772145154433932943.rsp",
"DisplayName": "Writing 4772145154433932943.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3516954,
"PayloadOffset": 3517026,
"PayloadLength": 28017,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -74019,7 +74021,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/3388064732626934676.rsp",
"DisplayName": "Writing 3388064732626934676.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3545060,
"PayloadOffset": 3545132,
"PayloadLength": 28016,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -75139,7 +75141,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/5249134988916615986.rsp",
"DisplayName": "Writing 5249134988916615986.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3573165,
"PayloadOffset": 3573237,
"PayloadLength": 26957,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -76259,7 +76261,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/11932646040550446581.rsp",
"DisplayName": "Writing 11932646040550446581.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3600212,
"PayloadOffset": 3600284,
"PayloadLength": 27072,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -77387,7 +77389,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/8336928665352126947.rsp",
"DisplayName": "Writing 8336928665352126947.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3627373,
"PayloadOffset": 3627445,
"PayloadLength": 28178,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -78513,7 +78515,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/1410676725171572189.rsp",
"DisplayName": "Writing 1410676725171572189.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3655640,
"PayloadOffset": 3655712,
"PayloadLength": 26967,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -79637,7 +79639,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/17766336155681823506.rsp",
"DisplayName": "Writing 17766336155681823506.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3682697,
"PayloadOffset": 3682769,
"PayloadLength": 28066,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -80761,7 +80763,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/3818794330681902346.rsp",
"DisplayName": "Writing 3818794330681902346.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3710852,
"PayloadOffset": 3710924,
"PayloadLength": 28006,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -81885,7 +81887,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/15312589170787849123.rsp",
"DisplayName": "Writing 15312589170787849123.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3738948,
"PayloadOffset": 3739020,
"PayloadLength": 28159,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -83009,7 +83011,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/4691676790321305727.rsp",
"DisplayName": "Writing 4691676790321305727.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3767196,
"PayloadOffset": 3767268,
"PayloadLength": 26898,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -84131,7 +84133,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/13439087796855272166.rsp",
"DisplayName": "Writing 13439087796855272166.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3794184,
"PayloadOffset": 3794256,
"PayloadLength": 28522,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -85267,7 +85269,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/17738801749825545598.rsp",
"DisplayName": "Writing 17738801749825545598.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3822796,
"PayloadOffset": 3822868,
"PayloadLength": 28285,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -86401,7 +86403,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/1723042715960067801.rsp",
"DisplayName": "Writing 1723042715960067801.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3851170,
"PayloadOffset": 3851242,
"PayloadLength": 28315,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -87529,7 +87531,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/7759033573704817190.rsp",
"DisplayName": "Writing 7759033573704817190.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3879574,
"PayloadOffset": 3879646,
"PayloadLength": 28304,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -88657,7 +88659,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/13445476680238899994.rsp",
"DisplayName": "Writing 13445476680238899994.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3907968,
"PayloadOffset": 3908040,
"PayloadLength": 28340,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -89797,7 +89799,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/3043913547040211301.rsp",
"DisplayName": "Writing 3043913547040211301.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3936397,
"PayloadOffset": 3936469,
"PayloadLength": 28518,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -90937,7 +90939,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/2240406767038398906.rsp",
"DisplayName": "Writing 2240406767038398906.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3965004,
"PayloadOffset": 3965076,
"PayloadLength": 28381,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -92067,7 +92069,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/4345639507432806382.rsp",
"DisplayName": "Writing 4345639507432806382.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 3993474,
"PayloadOffset": 3993546,
"PayloadLength": 28747,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -93277,7 +93279,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/9347744537272444272.rsp",
"DisplayName": "Writing 9347744537272444272.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 4022310,
"PayloadOffset": 4022382,
"PayloadLength": 31092,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],
@ -94489,7 +94491,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/10678863128556690338.rsp",
"DisplayName": "Writing 10678863128556690338.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 4053492,
"PayloadOffset": 4053564,
"PayloadLength": 28804,
"PayloadDebugContentSnippet": "\"unity-ilpp-b7d9964f7067911f69",
"Inputs": [],

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,10 +1,10 @@
{ "pid": 35942, "tid": -1, "ph": "M", "name": "process_name", "args": { "name": "netcorerun.dll" } },
{ "pid": 35942, "tid": -1, "ph": "M", "name": "process_sort_index", "args": { "sort_index": "-1" } },
{ "pid": 35942, "tid": 1, "ph": "M", "name": "thread_name", "args": { "name": "" } },
{ "pid": 35942, "tid": 1, "ts": 1701676582147358, "dur": 363559, "ph": "X", "name": "BuildProgram", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1701676582148469, "dur": 59131, "ph": "X", "name": "BuildProgramContextConstructor", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1701676582462415, "dur": 3783, "ph": "X", "name": "OutputData.Write", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1701676582466201, "dur": 44697, "ph": "X", "name": "Backend.Write", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1701676582467200, "dur": 33073, "ph": "X", "name": "JsonToString", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1701676582517389, "dur": 1157, "ph": "X", "name": "", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1701676582516873, "dur": 1897, "ph": "X", "name": "Write chrome-trace events", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1701737385747038, "dur": 383517, "ph": "X", "name": "BuildProgram", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1701737385747994, "dur": 54841, "ph": "X", "name": "BuildProgramContextConstructor", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1701737386055819, "dur": 4167, "ph": "X", "name": "OutputData.Write", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1701737386059996, "dur": 70535, "ph": "X", "name": "Backend.Write", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1701737386061625, "dur": 38022, "ph": "X", "name": "JsonToString", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1701737386138169, "dur": 1554, "ph": "X", "name": "", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1701737386137623, "dur": 2384, "ph": "X", "name": "Write chrome-trace events", "args": {} },

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
{"m_DefineSymbols":{"m_Value":{"Android":"CT_RTV","EmbeddedLinux":"CT_RTV","GameCoreScarlett":"CT_RTV","GameCoreXboxOne":"CT_RTV","LinuxHeadlessSimulation":"CT_RTV","Nintendo Switch":"CT_RTV","PS4":"CT_RTV","PS5":"CT_RTV","QNX":"CT_RTV","Stadia":"CT_RTV","Standalone":"CT_RTV","WebGL":"CT_RTV","Windows Store Apps":"CT_RTV","XboxOne":"CT_RTV","iPhone":"CT_RTV","tvOS":"CT_RTV"},"m_Initialized":true},"m_AllowUnsafeCode":{"m_Value":false,"m_Initialized":false},"m_ScriptDebugInfoEnabled":{"m_Value":true,"m_Initialized":true}}
{"m_DefineSymbols":{"m_Value":{"Android":"CT_RTV","EmbeddedLinux":"CT_RTV","GameCoreScarlett":"CT_RTV","GameCoreXboxOne":"CT_RTV","LinuxHeadlessSimulation":"CT_RTV","Nintendo Switch":"CT_RTV","PS4":"CT_RTV","PS5":"CT_RTV","QNX":"CT_RTV","Stadia":"CT_RTV","Standalone":"CT_RTV","WebGL":"CT_RTV","Windows Store Apps":"CT_RTV","XboxOne":"CT_RTV","iPhone":"CT_RTV","tvOS":"CT_RTV"},"m_Initialized":true},"m_AllowUnsafeCode":{"m_Value":false,"m_Initialized":false},"m_ScriptDebugInfoEnabled":{"m_Value":false,"m_Initialized":true}}

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More