aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/IFriendsData.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/IFriendsData.cs (renamed from OpenSim/Data/ReservationData.cs)27
1 files changed, 15 insertions, 12 deletions
diff --git a/OpenSim/Data/ReservationData.cs b/OpenSim/Data/IFriendsData.cs
index 3956fe6..1f1a031 100644
--- a/OpenSim/Data/ReservationData.cs
+++ b/OpenSim/Data/IFriendsData.cs
@@ -26,23 +26,26 @@
26 */ 26 */
27 27
28using System; 28using System;
29using System.Collections.Generic;
29using OpenMetaverse; 30using OpenMetaverse;
31using OpenSim.Framework;
30 32
31namespace OpenSim.Data 33namespace OpenSim.Data
32{ 34{
33 public class ReservationData 35 public class FriendsData
34 { 36 {
35 public UUID userUUID = UUID.Zero; 37 public UUID PrincipalID;
36 public int reservationMinX = 0; 38 public string Friend;
37 public int reservationMinY = 0; 39 public Dictionary<string, string> Data;
38 public int reservationMaxX = 65536; 40 }
39 public int reservationMaxY = 65536;
40
41 public string reservationName = String.Empty;
42 public string reservationCompany = String.Empty;
43 public bool status = true;
44 41
45 public string gridSendKey = String.Empty; 42 /// <summary>
46 public string gridRecvKey = String.Empty; 43 /// An interface for connecting to the friends datastore
44 /// </summary>
45 public interface IFriendsData
46 {
47 bool Store(FriendsData data);
48 bool Delete(UUID ownerID, string friend);
49 FriendsData[] GetFriends(UUID principalID);
47 } 50 }
48} 51}