diff options
author | Melanie | 2012-03-31 02:18:02 +0100 |
---|---|---|
committer | Melanie | 2012-03-31 02:18:02 +0100 |
commit | f3132c45d98af7bb38251ad95013c433b5eda9e5 (patch) | |
tree | efc3d6c0529678c0a56f5a505a52944012ea607a /OpenSim/Services/Interfaces | |
parent | Merge branch 'master' into careminster (diff) | |
parent | refactor: Rename SOG.GetChildPart() to GetPart() since it can also return the... (diff) | |
download | opensim-SC-f3132c45d98af7bb38251ad95013c433b5eda9e5.zip opensim-SC-f3132c45d98af7bb38251ad95013c433b5eda9e5.tar.gz opensim-SC-f3132c45d98af7bb38251ad95013c433b5eda9e5.tar.bz2 opensim-SC-f3132c45d98af7bb38251ad95013c433b5eda9e5.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
OpenSim/Tests/Common/Mock/TestClient.cs
Diffstat (limited to 'OpenSim/Services/Interfaces')
-rw-r--r-- | OpenSim/Services/Interfaces/IFriendsService.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Services/Interfaces/IFriendsService.cs b/OpenSim/Services/Interfaces/IFriendsService.cs index 1664f3b..d0d3b10 100644 --- a/OpenSim/Services/Interfaces/IFriendsService.cs +++ b/OpenSim/Services/Interfaces/IFriendsService.cs | |||
@@ -36,7 +36,15 @@ namespace OpenSim.Services.Interfaces | |||
36 | { | 36 | { |
37 | public UUID PrincipalID; | 37 | public UUID PrincipalID; |
38 | public string Friend; | 38 | public string Friend; |
39 | |||
40 | /// <summary> | ||
41 | /// The permissions that this user has granted to the friend. | ||
42 | /// </summary> | ||
39 | public int MyFlags; | 43 | public int MyFlags; |
44 | |||
45 | /// <summary> | ||
46 | /// The permissions that the friend has granted to this user. | ||
47 | /// </summary> | ||
40 | public int TheirFlags; | 48 | public int TheirFlags; |
41 | 49 | ||
42 | public FriendInfo() | 50 | public FriendInfo() |
@@ -51,7 +59,7 @@ namespace OpenSim.Services.Interfaces | |||
51 | Friend = string.Empty; | 59 | Friend = string.Empty; |
52 | if (kvp.ContainsKey("Friend") && kvp["Friend"] != null) | 60 | if (kvp.ContainsKey("Friend") && kvp["Friend"] != null) |
53 | Friend = kvp["Friend"].ToString(); | 61 | Friend = kvp["Friend"].ToString(); |
54 | MyFlags = 0; | 62 | MyFlags = (int)FriendRights.None; |
55 | if (kvp.ContainsKey("MyFlags") && kvp["MyFlags"] != null) | 63 | if (kvp.ContainsKey("MyFlags") && kvp["MyFlags"] != null) |
56 | Int32.TryParse(kvp["MyFlags"].ToString(), out MyFlags); | 64 | Int32.TryParse(kvp["MyFlags"].ToString(), out MyFlags); |
57 | TheirFlags = 0; | 65 | TheirFlags = 0; |