PlayerSessionComponent.cs 274 B

1234567891011121314151617181920
  1. namespace ET.Server
  2. {
  3. [ComponentOf(typeof(Player))]
  4. public class PlayerSessionComponent : Entity, IAwake
  5. {
  6. private EntityRef<Session> session;
  7. public Session Session
  8. {
  9. get
  10. {
  11. return this.session;
  12. }
  13. set
  14. {
  15. this.session = value;
  16. }
  17. }
  18. }
  19. }