aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/RegionUpData.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-04-29 14:04:55 +0000
committerAdam Frisby2008-04-29 14:04:55 +0000
commit375163a6fece8b3a57c7555246abe8338223a599 (patch)
tree163001ca96a4b4d08589e9772f78510677d5d0dc /OpenSim/Framework/RegionUpData.cs
parentPatch from Melanie: 0001087: Crash to bash de-linking objects. Thanks Melanie! (diff)
downloadopensim-SC_OLD-375163a6fece8b3a57c7555246abe8338223a599.zip
opensim-SC_OLD-375163a6fece8b3a57c7555246abe8338223a599.tar.gz
opensim-SC_OLD-375163a6fece8b3a57c7555246abe8338223a599.tar.bz2
opensim-SC_OLD-375163a6fece8b3a57c7555246abe8338223a599.tar.xz
* Spring cleaning.
* Added new generic "Location" class to handle 2D integer locations. Going to use it to replace all RegionHandle and X,Y coordinate references throughout the entire project. You have been warned.
Diffstat (limited to 'OpenSim/Framework/RegionUpData.cs')
-rw-r--r--OpenSim/Framework/RegionUpData.cs12
1 files changed, 8 insertions, 4 deletions
diff --git a/OpenSim/Framework/RegionUpData.cs b/OpenSim/Framework/RegionUpData.cs
index 6162171..40f3164 100644
--- a/OpenSim/Framework/RegionUpData.cs
+++ b/OpenSim/Framework/RegionUpData.cs
@@ -32,10 +32,11 @@ namespace OpenSim.Framework
32 [Serializable] 32 [Serializable]
33 public class RegionUpData 33 public class RegionUpData
34 { 34 {
35 private uint m_X = 0;
36 private uint m_Y = 0;
37 private string m_ipaddr = ""; 35 private string m_ipaddr = "";
38 private int m_port = 0; 36 private int m_port = 0;
37 private uint m_X = 0;
38 private uint m_Y = 0;
39
39 public RegionUpData(uint X, uint Y, string ipaddr, int port) 40 public RegionUpData(uint X, uint Y, string ipaddr, int port)
40 { 41 {
41 m_X = X; 42 m_X = X;
@@ -48,17 +49,20 @@ namespace OpenSim.Framework
48 { 49 {
49 get { return m_X; } 50 get { return m_X; }
50 } 51 }
52
51 public uint Y 53 public uint Y
52 { 54 {
53 get { return m_Y; } 55 get { return m_Y; }
54 } 56 }
57
55 public string IPADDR 58 public string IPADDR
56 { 59 {
57 get { return m_ipaddr; } 60 get { return m_ipaddr; }
58 } 61 }
62
59 public int PORT 63 public int PORT
60 { 64 {
61 get { return m_port; } 65 get { return m_port; }
62 } 66 }
63 } 67 }
64} 68} \ No newline at end of file