重连涉及的数据结构
This commit is contained in:
parent
e5638a87e9
commit
e9827be83f
|
@ -1,27 +1,78 @@
|
|||
/// <summary>
|
||||
/// 保存用户考试状态
|
||||
/// </summary>
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
//用于记录当前得分情况
|
||||
[Serializable]
|
||||
public class ReconnectSubScoreInfo
|
||||
{
|
||||
public int index = -1;
|
||||
public int subProcessId;
|
||||
public float currentScore = 0.0f;
|
||||
public bool isDone;
|
||||
}
|
||||
|
||||
//用于记录现场中各项出发物品信息
|
||||
[Serializable]
|
||||
public class ReconnectTriggerInfo
|
||||
{
|
||||
public int triggerID;
|
||||
public string triggerName;
|
||||
public Vector3 selfPosInScene;
|
||||
public Vector3 selfRotInScene;
|
||||
}
|
||||
|
||||
|
||||
//用于记录场景中物品的信息
|
||||
[Serializable]
|
||||
public class ReconnectItemInfo
|
||||
{
|
||||
public int toolId;
|
||||
public int triggerID;
|
||||
public string toolName;
|
||||
//public E_ToolOrDeviceOrMaterials toolOrDeviceOrMaterial;
|
||||
public Vector3 selfPosInToolRoom;
|
||||
}
|
||||
public class TB_UserExamStat
|
||||
{
|
||||
/// <summary>
|
||||
///当前方案ID
|
||||
/// </summary>
|
||||
public int schemeID = -1;
|
||||
public int systemID = -1;//当前系统ID
|
||||
public int schemeID = -1;//当前方案ID
|
||||
/*public int processId = -1;// 当前流程Id
|
||||
public int subProcessId = -1;//当前子流程Id
|
||||
public int subProcessStepId = -1;//当前子流程步骤Id*/
|
||||
|
||||
/// <summary>
|
||||
/// 当前流程Id
|
||||
/// 当前得分情况
|
||||
/// </summary>
|
||||
public int processId = -1;
|
||||
public float currentScore = 0;
|
||||
public List<ReconnectSubScoreInfo> allSubScore = new List<ReconnectSubScoreInfo>();
|
||||
|
||||
/// <summary>
|
||||
/// 当前子流程Id
|
||||
/// 背包中所有的工具和材料
|
||||
/// </summary>
|
||||
public int subProcessId = -1;
|
||||
public List<string> allToolAndMaterial = new List<string>();
|
||||
|
||||
/// <summary>
|
||||
/// 当前子流程步骤Id
|
||||
/// 所有已经穿戴的装备
|
||||
/// </summary>
|
||||
public int subProcessStepId = -1;
|
||||
public List<string> allWear = new List<string>();
|
||||
|
||||
/// <summary>
|
||||
/// 场景名称
|
||||
/// </summary>
|
||||
public string sceneName = "";
|
||||
|
||||
/// <summary>
|
||||
/// 当前场景内的所有装备和材料
|
||||
/// </summary>
|
||||
public List<ReconnectItemInfo> currentSceneTools = new List<ReconnectItemInfo>();
|
||||
|
||||
/// <summary>
|
||||
/// 当前场景内的所有可触发物品
|
||||
/// </summary>
|
||||
public List<ReconnectTriggerInfo> currentSceneTriggers = new List<ReconnectTriggerInfo>();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue