| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- namespace ETModel
- {
- public static class SceneType
- {
- public const string Share = "Share";
- public const string Game = "Game";
- public const string Login = "Login";
- public const string Lobby = "Lobby";
- public const string Map = "Map";
- public const string Launcher = "Launcher";
- public const string Robot = "Robot";
- public const string RobotClient = "RobotClient";
- public const string Realm = "Realm";
- }
-
- public sealed class Scene: Entity
- {
- public string Name { get; set; }
- public Scene()
- {
- this.InstanceId = IdGenerater.GenerateId();
- }
- public Scene(long id): base(id)
- {
- this.InstanceId = IdGenerater.GenerateId();
- }
- public override void Dispose()
- {
- if (this.IsDisposed)
- {
- return;
- }
- base.Dispose();
- }
- }
- }
|