Room.cs 419 B

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