aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Common/OpenGrid.Framework.Communications/LocalBackEndServices.cs
diff options
context:
space:
mode:
authorMW2007-06-15 16:03:02 +0000
committerMW2007-06-15 16:03:02 +0000
commit17b4818b8e9a141b54540b342542bcb2ad21b4db (patch)
tree5abca9ede1e82d4a2e01301cc19eed25ad88702a /Common/OpenGrid.Framework.Communications/LocalBackEndServices.cs
parentPreliminary movement added to sugilite, forwards walking only and no animations. (diff)
downloadopensim-SC_OLD-17b4818b8e9a141b54540b342542bcb2ad21b4db.zip
opensim-SC_OLD-17b4818b8e9a141b54540b342542bcb2ad21b4db.tar.gz
opensim-SC_OLD-17b4818b8e9a141b54540b342542bcb2ad21b4db.tar.bz2
opensim-SC_OLD-17b4818b8e9a141b54540b342542bcb2ad21b4db.tar.xz
Very Preliminary border crossing added to sugilite. (Note: Sugilite doesn't have any backend ogs communication support yet so everything is Sandbox mode only )
Diffstat (limited to 'Common/OpenGrid.Framework.Communications/LocalBackEndServices.cs')
-rw-r--r--Common/OpenGrid.Framework.Communications/LocalBackEndServices.cs32
1 files changed, 32 insertions, 0 deletions
diff --git a/Common/OpenGrid.Framework.Communications/LocalBackEndServices.cs b/Common/OpenGrid.Framework.Communications/LocalBackEndServices.cs
index 6b923f6..928215e 100644
--- a/Common/OpenGrid.Framework.Communications/LocalBackEndServices.cs
+++ b/Common/OpenGrid.Framework.Communications/LocalBackEndServices.cs
@@ -96,6 +96,20 @@ namespace OpenGrid.Framework.Communications
96 } 96 }
97 97
98 /// <summary> 98 /// <summary>
99 ///
100 /// </summary>
101 /// <param name="regionHandle"></param>
102 /// <returns></returns>
103 public RegionInfo RequestNeighbourInfo(ulong regionHandle)
104 {
105 if (this.regions.ContainsKey(regionHandle))
106 {
107 return this.regions[regionHandle];
108 }
109 return null;
110 }
111
112 /// <summary>
99 /// </summary> 113 /// </summary>
100 /// <param name="regionHandle"></param> 114 /// <param name="regionHandle"></param>
101 /// <param name="agentData"></param> 115 /// <param name="agentData"></param>
@@ -113,6 +127,24 @@ namespace OpenGrid.Framework.Communications
113 } 127 }
114 128
115 /// <summary> 129 /// <summary>
130 ///
131 /// </summary>
132 /// <param name="regionHandle"></param>
133 /// <param name="agentID"></param>
134 /// <param name="position"></param>
135 /// <returns></returns>
136 public bool ExpectAvatarCrossing(ulong regionHandle, libsecondlife.LLUUID agentID, libsecondlife.LLVector3 position)
137 {
138 if (this.regionHosts.ContainsKey(regionHandle))
139 {
140 // Console.WriteLine("CommsManager- Informing a region to expect avatar crossing");
141 this.regionHosts[regionHandle].ExpectAvatarCrossing(regionHandle, agentID, position);
142 return true;
143 }
144 return false;
145 }
146
147 /// <summary>
116 /// Is a Sandbox mode method, used by the local Login server to inform a region of a connection user/session 148 /// Is a Sandbox mode method, used by the local Login server to inform a region of a connection user/session
117 /// </summary> 149 /// </summary>
118 /// <param name="regionHandle"></param> 150 /// <param name="regionHandle"></param>