StartSceneConfig.cs 482 B

12345678910111213141516171819202122232425
  1. using MongoDB.Bson.Serialization.Attributes;
  2. namespace ET
  3. {
  4. [Config]
  5. public partial class StartSceneConfigCategory : ACategory<StartSceneConfig>
  6. {
  7. public static StartSceneConfigCategory Instance;
  8. public StartSceneConfigCategory()
  9. {
  10. Instance = this;
  11. }
  12. }
  13. public partial class StartSceneConfig: IConfig
  14. {
  15. [BsonId]
  16. public long Id { get; set; }
  17. public int Process;
  18. public int Zone;
  19. public string SceneType;
  20. public string Name;
  21. public int OuterPort;
  22. }
  23. }