diff options
Diffstat (limited to 'OpenSim/Framework/RegionUpData.cs')
-rw-r--r-- | OpenSim/Framework/RegionUpData.cs | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/OpenSim/Framework/RegionUpData.cs b/OpenSim/Framework/RegionUpData.cs new file mode 100644 index 0000000..dbb805f --- /dev/null +++ b/OpenSim/Framework/RegionUpData.cs | |||
@@ -0,0 +1,40 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | namespace OpenSim.Framework | ||
6 | { | ||
7 | [Serializable] | ||
8 | public class RegionUpData | ||
9 | { | ||
10 | private uint m_X = 0; | ||
11 | private uint m_Y = 0; | ||
12 | private string m_ipaddr = ""; | ||
13 | private int m_port = 0; | ||
14 | public RegionUpData(uint X, uint Y, string ipaddr, int port) | ||
15 | { | ||
16 | m_X = X; | ||
17 | m_Y = Y; | ||
18 | m_ipaddr = ipaddr; | ||
19 | m_port = port; | ||
20 | } | ||
21 | |||
22 | public uint X | ||
23 | { | ||
24 | get { return m_X; } | ||
25 | } | ||
26 | public uint Y | ||
27 | { | ||
28 | get { return m_Y; } | ||
29 | } | ||
30 | public string IPADDR | ||
31 | { | ||
32 | get { return m_ipaddr; } | ||
33 | } | ||
34 | public int PORT | ||
35 | { | ||
36 | get { return m_port; } | ||
37 | } | ||
38 | |||
39 | } | ||
40 | } | ||