Scene.cs 679 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. namespace ETModel
  2. {
  3. public static class SceneType
  4. {
  5. public const string Share = "Share";
  6. public const string Game = "Game";
  7. public const string Login = "Login";
  8. public const string Lobby = "Lobby";
  9. public const string Map = "Map";
  10. public const string Launcher = "Launcher";
  11. public const string Robot = "Robot";
  12. public const string RobotClient = "RobotClient";
  13. public const string Realm = "Realm";
  14. }
  15. public sealed class Scene: Entity
  16. {
  17. public string Name { get; set; }
  18. public Scene()
  19. {
  20. }
  21. public Scene(long id): base(id)
  22. {
  23. }
  24. public override void Dispose()
  25. {
  26. if (this.IsDisposed)
  27. {
  28. return;
  29. }
  30. base.Dispose();
  31. }
  32. }
  33. }