1234567891011121314151617181920212223242526 |
- using System.Collections.Generic;
- namespace ET.Server
- {
- /// <summary>
- /// 玩家房间实体
- /// </summary>
- [ChildOf(typeof (GameRoomComponent))]
- public class Room : Entity, IAwake<Player>, IDestroy
- {
- /** 房间号 **/
- public int RoomId { get; set; }
- /** 房间最大人数 **/
- public int MaxNum { get; set; }
- /** 房间玩家集合 **/
- public Dictionary<long, Player> Players = new ();
- /** 房间玩法类型 1:黄冈晃晃 **/
- public int Type { get; set; }
- /** 房主playerId **/
- public long OwnerId { get; set; }
- /** 房间最大局数 **/
- public int MaxRound { get; set; }
- /** 创建时间 **/
- public long CreateTime { get; set; }
- }
- }
|