diff options
author | Justin Clarke Casey | 2009-01-13 17:13:49 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-01-13 17:13:49 +0000 |
commit | bfef9a7b0db7b18caed1ff2275eeea29ad6a7a4c (patch) | |
tree | 4eda159cd05626087b11322e0d91541f1a3a9b94 /OpenSim/Data | |
parent | * Apply http://opensimulator.org/mantis/view.php?id=2992 (diff) | |
download | opensim-SC-bfef9a7b0db7b18caed1ff2275eeea29ad6a7a4c.zip opensim-SC-bfef9a7b0db7b18caed1ff2275eeea29ad6a7a4c.tar.gz opensim-SC-bfef9a7b0db7b18caed1ff2275eeea29ad6a7a4c.tar.bz2 opensim-SC-bfef9a7b0db7b18caed1ff2275eeea29ad6a7a4c.tar.xz |
* Apply http://opensimulator.org/mantis/view.php?id=2991
* Puts ordinary getters and setters into NHibernate.UserFriend since previous c# 3.0 get/set failed on MSVC#2005
* Thanks mpallari
Diffstat (limited to 'OpenSim/Data')
-rw-r--r-- | OpenSim/Data/NHibernate/UserFriend.cs | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/OpenSim/Data/NHibernate/UserFriend.cs b/OpenSim/Data/NHibernate/UserFriend.cs index 01ae35c..b4f0207 100644 --- a/OpenSim/Data/NHibernate/UserFriend.cs +++ b/OpenSim/Data/NHibernate/UserFriend.cs | |||
@@ -19,10 +19,30 @@ namespace OpenSim.Data.NHibernate | |||
19 | this.FriendPermissions = friendPermissions; | 19 | this.FriendPermissions = friendPermissions; |
20 | } | 20 | } |
21 | 21 | ||
22 | public UUID UserFriendID; | 22 | private UUID userFriendId; |
23 | public UUID OwnerID; | 23 | public UUID UserFriendID |
24 | public UUID FriendID; | 24 | { |
25 | public uint FriendPermissions; | 25 | get { return userFriendId; } |
26 | set { userFriendId = value; } | ||
27 | } | ||
28 | private UUID ownerId; | ||
29 | public UUID OwnerID | ||
30 | { | ||
31 | get { return ownerId; } | ||
32 | set { ownerId = value; } | ||
33 | } | ||
34 | private UUID friendId; | ||
35 | public UUID FriendID | ||
36 | { | ||
37 | get { return friendId; } | ||
38 | set { friendId = value; } | ||
39 | } | ||
40 | private uint friendPermissions; | ||
41 | public uint FriendPermissions | ||
42 | { | ||
43 | get { return friendPermissions; } | ||
44 | set { friendPermissions = value; } | ||
45 | } | ||
26 | 46 | ||
27 | } | 47 | } |
28 | } | 48 | } |