123456789101112131415161718192021222324 |
- using System.Collections.Generic;
- namespace ET.Server
- {
- /// <summary>
- /// 玩家房间实体
- /// </summary>
- [ChildOf(typeof(GameRoomComponent))]
- public class Room : Entity, IAwake<Player>, IDestroy
- {
- /** 房间号 **/
- public string RoomId { get; set; }
- /** 房间玩家集合 **/
- public List<Player> 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; }
- }
- }
|