12345678910111213141516171819202122 |
- using System.Collections.Generic;
- namespace ET.Server;
- /// <summary>
- /// 玩家房间
- /// </summary>
- [ChildOf(typeof(GameRoomComponent))]
- public class Room : Entity, IAwake<Player>, IDestroy
- {
- /** 房间玩法类型 1:麻将 2:斗地主 **/
- public int Type { get; set; }
-
- /** 房主id **/
- public long OwnerId { get; set; }
- /** 房间玩家集合 **/
- public List<Player> Players { get; set; }
- /** 创建时间 **/
- public long CreateTime { get; set; }
- }
|