* Removed references to "new LLUUID()", replaced with LLUUID.Zero.

afrisby
Adam Frisby 2007-11-24 10:36:54 +00:00
parent 39a3784b43
commit 0951f895ef
8 changed files with 13 additions and 13 deletions

View File

@ -72,7 +72,7 @@ namespace OpenSim.Framework
AgentID = newAgentID;
InventoryRoot = new InventoryFolder();
InventoryRoot.FolderID = LLUUID.Random();
InventoryRoot.ParentID = new LLUUID();
InventoryRoot.ParentID = LLUUID.Zero;
InventoryRoot.Version = 1;
InventoryRoot.DefaultType = 8;
InventoryRoot.OwnerID = AgentID;

View File

@ -342,8 +342,8 @@ namespace OpenSim.Framework.UserManagement
agent.logoutTime = 0;
// Current location
agent.regionID = new LLUUID(); // Fill in later
agent.currentRegion = new LLUUID(); // Fill in later
agent.regionID = LLUUID.Zero; // Fill in later
agent.currentRegion = LLUUID.Zero; // Fill in later
profile.currentAgent = agent;
}

View File

@ -329,7 +329,7 @@ namespace OpenSim.Framework.Data.MySQL
}
else
{
retval.regionMapTextureID = new LLUUID();
retval.regionMapTextureID = LLUUID.Zero;
}
}
else

View File

@ -31,7 +31,7 @@ namespace OpenSim.Framework.Data
{
public class ReservationData
{
public LLUUID userUUID = new LLUUID();
public LLUUID userUUID = LLUUID.Zero;
public int reservationMinX = 0;
public int reservationMinY = 0;
public int reservationMaxX = 65536;

View File

@ -34,17 +34,17 @@ namespace OpenSim.Framework
public byte[] landBitmapByteArray = new byte[512];
public string landName = "Your Parcel";
public string landDesc = "";
public LLUUID ownerID = new LLUUID();
public LLUUID ownerID = LLUUID.Zero;
public bool isGroupOwned = false;
public LLVector3 AABBMin = new LLVector3();
public LLVector3 AABBMax = new LLVector3();
public int area = 0;
public uint auctionID = 0; //Unemplemented. If set to 0, not being auctioned
public LLUUID authBuyerID = new LLUUID(); //Unemplemented. Authorized Buyer's UUID
public LLUUID authBuyerID = LLUUID.Zero; //Unemplemented. Authorized Buyer's UUID
public Parcel.ParcelCategory category = new Parcel.ParcelCategory(); //Unemplemented. Parcel's chosen category
public int claimDate = 0; //Unemplemented
public int claimPrice = 0; //Unemplemented
public LLUUID groupID = new LLUUID(); //Unemplemented
public LLUUID groupID = LLUUID.Zero; //Unemplemented
public int groupPrims = 0;
public int otherPrims = 0;
public int ownerPrims = 0;
@ -64,7 +64,7 @@ namespace OpenSim.Framework
public byte mediaAutoScale = 0;
public LLUUID mediaID = LLUUID.Zero;
public int localID = 0;
public LLUUID globalID = new LLUUID();
public LLUUID globalID = LLUUID.Zero;
public string mediaURL = "";
public string musicURL = "";

View File

@ -66,7 +66,7 @@ namespace OpenSim.Framework
m_internalEndPoint = new IPEndPoint(IPAddress.Parse("0.0.0.0"), port);
}
public LLUUID RegionID = new LLUUID();
public LLUUID RegionID = LLUUID.Zero;
private uint m_remotingPort;
public uint RemotingPort
@ -191,7 +191,7 @@ namespace OpenSim.Framework
public string DataStore = "";
public bool isSandbox = false;
public LLUUID MasterAvatarAssignedUUID = new LLUUID();
public LLUUID MasterAvatarAssignedUUID = LLUUID.Zero;
public string MasterAvatarFirstName = "";
public string MasterAvatarLastName = "";
public string MasterAvatarSandboxPassword = "";

View File

@ -129,7 +129,7 @@ namespace OpenSim.Region.Environment.LandManagement
/// <returns></returns>
public Land createBaseLand()
{
return new Land(new LLUUID(), false, m_scene);
return new Land(LLUUID.Zero, false, m_scene);
}
/// <summary>

View File

@ -101,7 +101,7 @@ namespace OpenSim.Region.Environment.Scenes
/// </summary>
public EntityBase()
{
m_uuid = new LLUUID();
m_uuid = LLUUID.Zero;
m_pos = new LLVector3();
m_velocity = new LLVector3();