Player.cs 977 B

12345678910111213141516171819202122232425262728293031323334
  1. namespace ET.Server
  2. {
  3. [ChildOf(typeof(GamePlayerComponent))]
  4. public sealed class Player : Entity, IAwake<string>, IDestroy
  5. {
  6. /** 账号 **/
  7. public string Account { get; set; }
  8. /** 服务器id **/
  9. public int LogicServerId { get; set; }
  10. /** 创建时间 **/
  11. public long CreateTime { get; set; }
  12. /** 登陆时间 **/
  13. public long LoginTime { get; set; }
  14. /** 下线时间 **/
  15. public long LogoutTime { get; set; }
  16. /** 在线状态 **/
  17. public bool IsOnline { get; set; }
  18. /** 房间id **/
  19. public long RoomID { get; set; }
  20. /** 头像 **/
  21. public string AvatarUrl { get; set; }
  22. /** 名称 **/
  23. public string Name { get; set; }
  24. /** 性别 **/
  25. public int Sex { get; set; }
  26. /** 经验 **/
  27. public long Exp { get; set; }
  28. /** 等级 **/
  29. public int Level { get; set; }
  30. }
  31. }