ConfigSettings.cs 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  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_standalone;
  44. public bool Standalone
  45. {
  46. get { return m_standalone; }
  47. set { m_standalone = value; }
  48. }
  49. private bool m_see_into_region_from_neighbor;
  50. public bool See_into_region_from_neighbor
  51. {
  52. get { return m_see_into_region_from_neighbor; }
  53. set { m_see_into_region_from_neighbor = value; }
  54. }
  55. private string m_storageDll;
  56. public string StorageDll
  57. {
  58. get { return m_storageDll; }
  59. set { m_storageDll = value; }
  60. }
  61. private string m_clientstackDll;
  62. public string ClientstackDll
  63. {
  64. get { return m_clientstackDll; }
  65. set { m_clientstackDll = value; }
  66. }
  67. private bool m_physicalPrim;
  68. public bool PhysicalPrim
  69. {
  70. get { return m_physicalPrim; }
  71. set { m_physicalPrim = value; }
  72. }
  73. private bool m_standaloneAuthenticate = false;
  74. public bool StandaloneAuthenticate
  75. {
  76. get { return m_standaloneAuthenticate; }
  77. set { m_standaloneAuthenticate = value; }
  78. }
  79. private string m_standaloneWelcomeMessage = null;
  80. public string StandaloneWelcomeMessage
  81. {
  82. get { return m_standaloneWelcomeMessage; }
  83. set { m_standaloneWelcomeMessage = value; }
  84. }
  85. private string m_standaloneInventoryPlugin;
  86. public string StandaloneInventoryPlugin
  87. {
  88. get { return m_standaloneInventoryPlugin; }
  89. set { m_standaloneInventoryPlugin = value; }
  90. }
  91. private string m_standaloneAssetPlugin;
  92. public string StandaloneAssetPlugin
  93. {
  94. get { return m_standaloneAssetPlugin; }
  95. set { m_standaloneAssetPlugin = value; }
  96. }
  97. private string m_standaloneUserPlugin;
  98. public string StandaloneUserPlugin
  99. {
  100. get { return m_standaloneUserPlugin; }
  101. set { m_standaloneUserPlugin = value; }
  102. }
  103. private string m_standaloneInventorySource;
  104. public string StandaloneInventorySource
  105. {
  106. get { return m_standaloneInventorySource; }
  107. set { m_standaloneInventorySource = value; }
  108. }
  109. private string m_standaloneAssetSource;
  110. public string StandaloneAssetSource
  111. {
  112. get { return m_standaloneAssetSource; }
  113. set { m_standaloneAssetSource = value; }
  114. }
  115. private string m_standaloneUserSource;
  116. public string StandaloneUserSource
  117. {
  118. get { return m_standaloneUserSource; }
  119. set { m_standaloneUserSource = value; }
  120. }
  121. private string m_assetStorage = "local";
  122. public string AssetStorage
  123. {
  124. get { return m_assetStorage; }
  125. set { m_assetStorage = value; }
  126. }
  127. private string m_assetCache;
  128. public string AssetCache
  129. {
  130. get { return m_assetCache; }
  131. set { m_assetCache = value; }
  132. }
  133. protected string m_storageConnectionString;
  134. public string StorageConnectionString
  135. {
  136. get { return m_storageConnectionString; }
  137. set { m_storageConnectionString = value; }
  138. }
  139. protected string m_estateConnectionString;
  140. public string EstateConnectionString
  141. {
  142. get { return m_estateConnectionString; }
  143. set { m_estateConnectionString = value; }
  144. }
  145. protected bool m_dumpAssetsToFile;
  146. public bool DumpAssetsToFile
  147. {
  148. get { return m_dumpAssetsToFile; }
  149. set { m_dumpAssetsToFile = value; }
  150. }
  151. protected string m_librariesXMLFile;
  152. public string LibrariesXMLFile
  153. {
  154. get
  155. {
  156. return m_librariesXMLFile;
  157. }
  158. set
  159. {
  160. m_librariesXMLFile = value;
  161. }
  162. }
  163. protected string m_assetSetsXMLFile;
  164. public string AssetSetsXMLFile
  165. {
  166. get
  167. {
  168. return m_assetSetsXMLFile;
  169. }
  170. set
  171. {
  172. m_assetSetsXMLFile = value;
  173. }
  174. }
  175. }
  176. }