aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorSean Dague2008-04-09 15:20:26 +0000
committerSean Dague2008-04-09 15:20:26 +0000
commit5861084e0bbf9c210e8a93aa414c2c8277dac846 (patch)
treed929707a9177f946656d9f7fc132c1b261484b03 /OpenSim/Framework
parentcheck in an OSUUID wrapper as potential replacement (diff)
downloadopensim-SC_OLD-5861084e0bbf9c210e8a93aa414c2c8277dac846.zip
opensim-SC_OLD-5861084e0bbf9c210e8a93aa414c2c8277dac846.tar.gz
opensim-SC_OLD-5861084e0bbf9c210e8a93aa414c2c8277dac846.tar.bz2
opensim-SC_OLD-5861084e0bbf9c210e8a93aa414c2c8277dac846.tar.xz
make this a class
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/OSUUID.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Framework/OSUUID.cs b/OpenSim/Framework/OSUUID.cs
index 8a45290..2a69671 100644
--- a/OpenSim/Framework/OSUUID.cs
+++ b/OpenSim/Framework/OSUUID.cs
@@ -10,10 +10,12 @@ using libsecondlife;
10namespace OpenSim.Framework 10namespace OpenSim.Framework
11{ 11{
12 [Serializable] 12 [Serializable]
13 public struct OSUUID: IComparable 13 public class OSUUID: IComparable
14 { 14 {
15 public Guid UUID; 15 public Guid UUID;
16 16
17 public OSUUID() {}
18
17 /* Constructors */ 19 /* Constructors */
18 public OSUUID(string s) 20 public OSUUID(string s)
19 { 21 {
@@ -39,7 +41,7 @@ namespace OpenSim.Framework
39 } 41 }
40 42
41 // out conversion 43 // out conversion
42 public string ToString() 44 public override string ToString()
43 { 45 {
44 return UUID.ToString(); 46 return UUID.ToString();
45 } 47 }