SessionPlayerComponent.cs 407 B

1234567891011121314151617
  1. using System.Collections.Generic;
  2. namespace ET.Server
  3. {
  4. [ComponentOf(typeof (Session))]
  5. public class SessionPlayerComponent: Entity, IAwake, IDestroy
  6. {
  7. /** 账号id **/
  8. public long UserId { get; set; }
  9. /** 选择的玩家id **/
  10. public long PlayerId { get; set; }
  11. /** 玩家列表 **/
  12. public List<PlayerInfo> PlayerList { get; set; }
  13. }
  14. }