using System.Collections.Generic; namespace ET.Server { /// /// 玩家房间实体 /// [ChildOf(typeof(GameRoomComponent))] public class Room : Entity, IAwake, IDestroy { /** 房间号 **/ public string RoomId { get; set; } /** 房间玩家集合 **/ public List Players { get; set; } /** 房间玩法类型 1:黄冈晃晃 **/ public int Type { get; set; } /** 房主playerId **/ public long OwnerId { get; set; } /** 房间状态 [0等待 1已开始 2已结束] **/ public int State { get; set; } /** 创建时间 **/ public long CreateTime { get; set; } } }