123456789101112131415161718192021222324252627282930313233343536 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- namespace ShadowStudio.Model
- {
- public class RoomBase
- {
- /// <summary>
- /// 房间id,用来标识房间号,唯一
- /// </summary>
- private int roomId;
- /// <summary>
- /// 用户id,拥有者id,用来判断房间是否是所有者
- /// </summary>
- private int uid;
- /// <summary>
- /// 房间名称
- /// </summary>
- private string roomName;
- /// <summary>
- /// 权限类型:可读,可写,None
- /// None :仅自己可访问
- /// ReadOnly:其他人可读
- /// WriteEnable:其他人可写
- /// </summary>
- private string permissions;
- /// <summary>
- /// 房间密码
- /// </summary>
- private string password;
- /// <summary>
- /// 房间的物品清单
- /// </summary>
- public List<string> objIdList;
- }
- }
|