diff options
author | Jeff Ames | 2008-01-10 06:49:29 +0000 |
---|---|---|
committer | Jeff Ames | 2008-01-10 06:49:29 +0000 |
commit | 5a6fd21a2c31a41c617f1d2a7e390956b5aafb0a (patch) | |
tree | 8828dc80f2b50aca4b6726cfe20be5fe5431b12c /OpenSim/Grid/Manager/OpenGridServices.Manager/RegionBlock.cs | |
parent | * After fighting with it a bit more, Opensim is now compatible with the most ... (diff) | |
download | opensim-SC_OLD-5a6fd21a2c31a41c617f1d2a7e390956b5aafb0a.zip opensim-SC_OLD-5a6fd21a2c31a41c617f1d2a7e390956b5aafb0a.tar.gz opensim-SC_OLD-5a6fd21a2c31a41c617f1d2a7e390956b5aafb0a.tar.bz2 opensim-SC_OLD-5a6fd21a2c31a41c617f1d2a7e390956b5aafb0a.tar.xz |
Whitespace cleanup.
Diffstat (limited to 'OpenSim/Grid/Manager/OpenGridServices.Manager/RegionBlock.cs')
-rw-r--r-- | OpenSim/Grid/Manager/OpenGridServices.Manager/RegionBlock.cs | 52 |
1 files changed, 25 insertions, 27 deletions
diff --git a/OpenSim/Grid/Manager/OpenGridServices.Manager/RegionBlock.cs b/OpenSim/Grid/Manager/OpenGridServices.Manager/RegionBlock.cs index 90e1ab6..ad28d65 100644 --- a/OpenSim/Grid/Manager/OpenGridServices.Manager/RegionBlock.cs +++ b/OpenSim/Grid/Manager/OpenGridServices.Manager/RegionBlock.cs | |||
@@ -33,33 +33,31 @@ using OpenSim.Framework.Utilities; | |||
33 | 33 | ||
34 | namespace OpenGridServices.Manager | 34 | namespace OpenGridServices.Manager |
35 | { | 35 | { |
36 | 36 | public class RegionBlock | |
37 | 37 | { | |
38 | public class RegionBlock | 38 | public uint regloc_x; |
39 | { | 39 | public uint regloc_y; |
40 | public uint regloc_x; | ||
41 | public uint regloc_y; | ||
42 | |||
43 | public string httpd_url; | ||
44 | |||
45 | public string region_name; | ||
46 | |||
47 | public ulong regionhandle { | ||
48 | get { return Util.UIntsToLong(regloc_x*256,regloc_y*256); } | ||
49 | } | ||
50 | 40 | ||
51 | public Gdk.Pixbuf MiniMap; | 41 | public string httpd_url; |
52 | |||
53 | public RegionBlock() | ||
54 | { | ||
55 | } | ||
56 | 42 | ||
57 | public void LoadFromXmlNode(XmlNode sourcenode) | 43 | public string region_name; |
58 | { | 44 | |
59 | this.regloc_x=Convert.ToUInt32(sourcenode.Attributes.GetNamedItem("loc_x").Value); | 45 | public ulong regionhandle { |
60 | this.regloc_y=Convert.ToUInt32(sourcenode.Attributes.GetNamedItem("loc_y").Value); | 46 | get { return Util.UIntsToLong(regloc_x*256,regloc_y*256); } |
61 | this.region_name=sourcenode.Attributes.GetNamedItem("region_name").Value; | 47 | } |
62 | this.httpd_url=sourcenode.Attributes.GetNamedItem("httpd_url").Value; | 48 | |
63 | } | 49 | public Gdk.Pixbuf MiniMap; |
64 | } | 50 | |
51 | public RegionBlock() | ||
52 | { | ||
53 | } | ||
54 | |||
55 | public void LoadFromXmlNode(XmlNode sourcenode) | ||
56 | { | ||
57 | this.regloc_x=Convert.ToUInt32(sourcenode.Attributes.GetNamedItem("loc_x").Value); | ||
58 | this.regloc_y=Convert.ToUInt32(sourcenode.Attributes.GetNamedItem("loc_y").Value); | ||
59 | this.region_name=sourcenode.Attributes.GetNamedItem("region_name").Value; | ||
60 | this.httpd_url=sourcenode.Attributes.GetNamedItem("httpd_url").Value; | ||
61 | } | ||
62 | } | ||
65 | } | 63 | } |