Room.cs 491 B

12345678910111213141516171819202122
  1. using System.Collections.Generic;
  2. namespace ET.Server;
  3. /// <summary>
  4. /// 玩家房间
  5. /// </summary>
  6. [ChildOf(typeof(GameRoomComponent))]
  7. public class Room : Entity, IAwake<Player>, IDestroy
  8. {
  9. /** 房间玩法类型 1:麻将 2:斗地主 **/
  10. public int Type { get; set; }
  11. /** 房主id **/
  12. public long OwnerId { get; set; }
  13. /** 房间玩家集合 **/
  14. public List<Player> Players { get; set; }
  15. /** 创建时间 **/
  16. public long CreateTime { get; set; }
  17. }