ConfigSettings.cs 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. /*
  2. * Copyright (c) Contributors, http://opensimulator.org/
  3. * See CONTRIBUTORS.TXT for a full list of copyright holders.
  4. *
  5. * Redistribution and use in source and binary forms, with or without
  6. * modification, are permitted provided that the following conditions are met:
  7. * * Redistributions of source code must retain the above copyright
  8. * notice, this list of conditions and the following disclaimer.
  9. * * Redistributions in binary form must reproduce the above copyright
  10. * notice, this list of conditions and the following disclaimer in the
  11. * documentation and/or other materials provided with the distribution.
  12. * * Neither the name of the OpenSimulator Project nor the
  13. * names of its contributors may be used to endorse or promote products
  14. * derived from this software without specific prior written permission.
  15. *
  16. * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
  17. * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  18. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  19. * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
  20. * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  21. * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  22. * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  23. * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  24. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  25. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  26. */
  27. namespace OpenSim.Framework
  28. {
  29. public class ConfigSettings
  30. {
  31. private string m_physicsEngine;
  32. public string PhysicsEngine
  33. {
  34. get { return m_physicsEngine; }
  35. set { m_physicsEngine = value; }
  36. }
  37. private string m_meshEngineName;
  38. public string MeshEngineName
  39. {
  40. get { return m_meshEngineName; }
  41. set { m_meshEngineName = value; }
  42. }
  43. private bool m_see_into_region_from_neighbor;
  44. public bool See_into_region_from_neighbor
  45. {
  46. get { return m_see_into_region_from_neighbor; }
  47. set { m_see_into_region_from_neighbor = value; }
  48. }
  49. private string m_storageDll;
  50. public string StorageDll
  51. {
  52. get { return m_storageDll; }
  53. set { m_storageDll = value; }
  54. }
  55. private string m_clientstackDll;
  56. public string ClientstackDll
  57. {
  58. get { return m_clientstackDll; }
  59. set { m_clientstackDll = value; }
  60. }
  61. private bool m_physicalPrim;
  62. public bool PhysicalPrim
  63. {
  64. get { return m_physicalPrim; }
  65. set { m_physicalPrim = value; }
  66. }
  67. private bool m_standaloneAuthenticate = false;
  68. public bool StandaloneAuthenticate
  69. {
  70. get { return m_standaloneAuthenticate; }
  71. set { m_standaloneAuthenticate = value; }
  72. }
  73. private string m_standaloneWelcomeMessage = null;
  74. public string StandaloneWelcomeMessage
  75. {
  76. get { return m_standaloneWelcomeMessage; }
  77. set { m_standaloneWelcomeMessage = value; }
  78. }
  79. private string m_standaloneInventoryPlugin;
  80. public string StandaloneInventoryPlugin
  81. {
  82. get { return m_standaloneInventoryPlugin; }
  83. set { m_standaloneInventoryPlugin = value; }
  84. }
  85. private string m_standaloneUserPlugin;
  86. public string StandaloneUserPlugin
  87. {
  88. get { return m_standaloneUserPlugin; }
  89. set { m_standaloneUserPlugin = value; }
  90. }
  91. private string m_standaloneInventorySource;
  92. public string StandaloneInventorySource
  93. {
  94. get { return m_standaloneInventorySource; }
  95. set { m_standaloneInventorySource = value; }
  96. }
  97. private string m_standaloneUserSource;
  98. public string StandaloneUserSource
  99. {
  100. get { return m_standaloneUserSource; }
  101. set { m_standaloneUserSource = value; }
  102. }
  103. protected string m_librariesXMLFile;
  104. public string LibrariesXMLFile
  105. {
  106. get
  107. {
  108. return m_librariesXMLFile;
  109. }
  110. set
  111. {
  112. m_librariesXMLFile = value;
  113. }
  114. }
  115. public const uint DefaultAssetServerHttpPort = 8003;
  116. public const uint DefaultRegionHttpPort = 9000;
  117. public const uint DefaultUserServerHttpPort = 8002;
  118. public const bool DefaultUserServerHttpSSL = false;
  119. public const uint DefaultMessageServerHttpPort = 8006;
  120. public const bool DefaultMessageServerHttpSSL = false;
  121. public const uint DefaultGridServerHttpPort = 8003;
  122. public const uint DefaultInventoryServerHttpPort = 8003;
  123. }
  124. }