make this a class

0.6.0-stable
Sean Dague 2008-04-09 15:20:26 +00:00
parent f8cb4f993d
commit 5861084e0b
1 changed files with 4 additions and 2 deletions

View File

@ -10,10 +10,12 @@ using libsecondlife;
namespace OpenSim.Framework namespace OpenSim.Framework
{ {
[Serializable] [Serializable]
public struct OSUUID: IComparable public class OSUUID: IComparable
{ {
public Guid UUID; public Guid UUID;
public OSUUID() {}
/* Constructors */ /* Constructors */
public OSUUID(string s) public OSUUID(string s)
{ {
@ -39,7 +41,7 @@ namespace OpenSim.Framework
} }
// out conversion // out conversion
public string ToString() public override string ToString()
{ {
return UUID.ToString(); return UUID.ToString();
} }