Unofficial CardLife revival project, pronounced like "celery"
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

CLreConfig.cs 657B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. namespace CLre_server.API.Config
  3. {
  4. [Serializable]
  5. public struct CLreConfig
  6. {
  7. public bool clre_clients_only;
  8. public bool web_server;
  9. public static CLreConfig Default()
  10. {
  11. return new CLreConfig
  12. {
  13. clre_clients_only = false,
  14. web_server = false,
  15. };
  16. }
  17. public static CLreConfig FromString(string s)
  18. {
  19. return UnityEngine.JsonUtility.FromJson<CLreConfig>(s);
  20. }
  21. public override string ToString()
  22. {
  23. return UnityEngine.JsonUtility.ToJson(this, true);
  24. }
  25. }
  26. }