RoomBase.cs 992 B

123456789101112131415161718192021222324252627282930313233343536
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. namespace ShadowStudio.Model
  5. {
  6. public class RoomBase
  7. {
  8. /// <summary>
  9. /// 房间id,用来标识房间号,唯一
  10. /// </summary>
  11. private int roomId;
  12. /// <summary>
  13. /// 用户id,拥有者id,用来判断房间是否是所有者
  14. /// </summary>
  15. private int uid;
  16. /// <summary>
  17. /// 房间名称
  18. /// </summary>
  19. private string roomName;
  20. /// <summary>
  21. /// 权限类型:可读,可写,None
  22. /// None :仅自己可访问
  23. /// ReadOnly:其他人可读
  24. /// WriteEnable:其他人可写
  25. /// </summary>
  26. private string permissions;
  27. /// <summary>
  28. /// 房间密码
  29. /// </summary>
  30. private string password;
  31. /// <summary>
  32. /// 房间的物品清单
  33. /// </summary>
  34. public List<string> objIdList;
  35. }
  36. }