添加注释

This commit is contained in:
dingxiaowei
2022-08-11 17:40:41 +08:00
parent 335ad81e21
commit 76b069fc60
8 changed files with 73 additions and 0 deletions
Binary file not shown.
@@ -0,0 +1,3 @@
{
"CurrentProjectSetting": null
}
@@ -0,0 +1,7 @@
{
"ExpandedNodes": [
""
],
"SelectedNode": "\\official_room.cs",
"PreviewInSolutionExplorer": false
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
+18
View File
@@ -11,11 +11,29 @@ using System.Linq;
[Serializable]
public class avatarguideTest : IBinarySerializable
{
/// <summary>
/// 序号
/// </summary>
public int Id { get; set; }
/// <summary>
/// gender
/// </summary>
public string gender { get; set; }
/// <summary>
/// age
/// </summary>
public float age { get; set; }
/// <summary>
/// bValue
/// </summary>
public bool bValue { get; set; }
/// <summary>
/// 模型相对中心偏差值
/// </summary>
public List<float> vector { get; set; }
/// <summary>
/// 格子
/// </summary>
public List<List<float>> Grid { get; set; }
public void DeSerialize(BinaryReader reader)
+45
View File
@@ -11,20 +11,65 @@ using System.Linq;
[Serializable]
public class official_room : IBinarySerializable
{
/// <summary>
/// 序号
/// </summary>
public int Id { get; set; }
/// <summary>
///
/// </summary>
public string RoomOwner { get; set; }
/// <summary>
/// 注释(产品用来自己备注的)
/// </summary>
public string Notes { get; set; }
/// <summary>
/// 默认名称(该场景的默认显示的名称)
/// </summary>
public string RoomName { get; set; }
/// <summary>
/// 默认场景简述(该场景默认显示的简要描述信息,显示在官方房间入口上)
/// </summary>
public string RoomBriefly { get; set; }
/// <summary>
/// 场景详情(该场景的详细描述信息,显示在详情页中)
/// </summary>
public string RoomDetails { get; set; }
/// <summary>
/// 背景图(对应显示在详情界面上的图片pathID或路径,希望能支持填写为一个表,即填多张,以支持轮播显示)
/// </summary>
public string BgPathId { get; set; }
/// <summary>
/// 对应场景ID(对应场景注册表中的场景ID)
/// </summary>
public string ScenesId { get; set; }
/// <summary>
/// 对应地图地址(对应高德上的地图地址,填对应点的经纬度,是否要同时把POI点名称填上,由程序确认)
/// </summary>
public string Address { get; set; }
/// <summary>
/// 初始推荐排序(房间生成时的推荐优先级,确定初始显示位置,数字越低,优先级越高,后续会随着房间推荐算法变化)
/// </summary>
public int Recommend { get; set; }
/// <summary>
/// 分线启用人数(达到多少人启用分线,不填或为0为不分线)
/// </summary>
public int SubLine { get; set; }
/// <summary>
/// 客人是否可使用背包(在该房间中,客人不可以使用背包)
/// </summary>
public int IsCanPackage { get; set; }
/// <summary>
/// 进入默认静音
/// </summary>
public int IsMute { get; set; }
/// <summary>
/// 出生点坐标
/// </summary>
public List<float> BirthPosition { get; set; }
/// <summary>
///
/// </summary>
public List<float> Offset { get; set; }
public void DeSerialize(BinaryReader reader)