LIBOMV-530 Updates Simulator object to include new variables included in 1.23 message template which are sent during the region handshake and include information on physical server location, the type of region (Homestead, OpenSpace, etc), CPU Class and CPU Ratio.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2738 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
Jim Radford
2009-05-10 09:05:06 +00:00
parent 946cd90a06
commit 9ad17de8e3
2 changed files with 50 additions and 1 deletions

View File

@@ -298,7 +298,47 @@ namespace OpenMetaverse
/// connection to the simulator, calculated by the simulator itself
/// and the library</summary>
public SimStats Stats;
/// <summary>The regions Unique ID</summary>
public UUID RegionID = UUID.Zero;
/// <summary>The physical data center the simulator is located</summary>
/// <remarks>Known values are:
/// <list type="table">
/// <item>Dallas</item>
/// <item>Chandler</item>
/// <item>SF</item>
/// </list>
/// </remarks>
public string ColoLocation;
/// <summary>The CPU Class of the simulator</summary>
/// <remarks>Most full mainland/estate sims appear to be 5,
/// Homesteads and Openspace appear to be 501</remarks>
public int CPUClass;
/// <summary>The number of regions sharing the same CPU as this one</summary>
/// <remarks>"Full Sims" appear to be 1, Homesteads appear to be 4</remarks>
public int CPURatio;
/// <summary>The billing product name</summary>
/// <remarks>Known values are:
/// <list type="table">
/// <item>Mainland / Full Region (Sku: 023)</item>
/// <item>Estate / Full Region (Sku: 024)</item>
/// <item>Estate / Openspace (Sku: 027)</item>
/// <item>Estate / Homestead (Sku: 029)</item>
/// <item>Mainland / Homestead (Sku: 129) (Linden Owned)</item>
/// </list>
/// </remarks>
public string ProductName;
/// <summary>The billing product SKU</summary>
/// <remarks>Known values are:
/// <list type="table">
/// <item>023 Mainland / Full Region</item>
/// <item>024 Estate / Full Region</item>
/// <item>027 Estate / Openspace</item>
/// <item>029 Estate / Homestead</item>
/// <item>129 Mainland / Homestead (Linden Owned)</item>
/// </list>
/// </remarks>
public string ProductSku;
/// <summary>Provides access to two thread-safe dictionaries containing
/// avatars and primitives found in this simulator</summary>
//public ObjectTracker Objects = new ObjectTracker();