UserProfiles.cs 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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. using System;
  28. using OpenMetaverse;
  29. namespace OpenSim.Framework
  30. {
  31. public class UserClassifiedAdd
  32. {
  33. public UUID ClassifiedId = UUID.Zero;
  34. public UUID CreatorId = UUID.Zero;
  35. public int CreationDate = 0;
  36. public int ExpirationDate = 0;
  37. public int Category = 0;
  38. public string Name = string.Empty;
  39. public string Description = string.Empty;
  40. public UUID ParcelId = UUID.Zero;
  41. public int ParentEstate = 0;
  42. public UUID SnapshotId = UUID.Zero;
  43. public string SimName = string.Empty;
  44. public string GlobalPos = "<0,0,0>";
  45. public string ParcelName = string.Empty;
  46. public byte Flags = 0;
  47. public int Price = 0;
  48. }
  49. public class UserProfileProperties
  50. {
  51. public UUID UserId = UUID.Zero;
  52. public UUID PartnerId = UUID.Zero;
  53. public bool PublishProfile = false;
  54. public bool PublishMature = false;
  55. public string WebUrl = string.Empty;
  56. public int WantToMask = 0;
  57. public string WantToText = string.Empty;
  58. public int SkillsMask = 0;
  59. public string SkillsText = string.Empty;
  60. public string Language = string.Empty;
  61. public UUID ImageId = UUID.Zero;
  62. public string AboutText = string.Empty;
  63. public UUID FirstLifeImageId = UUID.Zero;
  64. public string FirstLifeText = string.Empty;
  65. }
  66. public class UserProfilePick
  67. {
  68. public UUID PickId = UUID.Zero;
  69. public UUID CreatorId = UUID.Zero;
  70. public bool TopPick = false;
  71. public string Name = string.Empty;
  72. public string OriginalName = string.Empty;
  73. public string Desc = string.Empty;
  74. public UUID ParcelId = UUID.Zero;
  75. public UUID SnapshotId = UUID.Zero;
  76. public string User = string.Empty;
  77. public string SimName = string.Empty;
  78. public string GlobalPos = "<0,0,0>";
  79. public int SortOrder = 0;
  80. public bool Enabled = false;
  81. }
  82. public class UserProfileNotes
  83. {
  84. public UUID UserId;
  85. public UUID TargetId;
  86. public string Notes;
  87. }
  88. public class UserPreferences
  89. {
  90. public UUID UserId;
  91. public bool IMViaEmail = false;
  92. public bool Visible = false;
  93. public string EMail = string.Empty;
  94. }
  95. public class UserAccountProperties
  96. {
  97. public string EmailAddress = string.Empty;
  98. public string Firstname = string.Empty;
  99. public string LastName = string.Empty;
  100. public string Password = string.Empty;
  101. public string UserId = string.Empty;
  102. }
  103. public class UserAccountAuth
  104. {
  105. public string UserId = UUID.Zero.ToString();
  106. public string Password = string.Empty;
  107. }
  108. public class UserAppData
  109. {
  110. public string TagId = string.Empty;
  111. public string DataKey = string.Empty;
  112. public string UserId = UUID.Zero.ToString();
  113. public string DataVal = string.Empty;
  114. }
  115. }