mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Merge branch 'master' of ssh://3dhosting.de/var/git/careminster
This commit is contained in:
@@ -38,11 +38,22 @@ namespace OpenSim.Region.ClientStack
|
||||
IPAddress _listenIP, ref uint port, int proxyPortOffsetParm, bool allow_alternate_port, IConfigSource configSource,
|
||||
AgentCircuitManager authenticateClass);
|
||||
|
||||
void NetworkStop();
|
||||
bool HandlesRegion(Location x);
|
||||
void AddScene(IScene x);
|
||||
|
||||
/// <summary>
|
||||
/// Add the given scene to be handled by this IClientNetworkServer.
|
||||
/// </summary>
|
||||
/// <param name='scene'></param>
|
||||
void AddScene(IScene scene);
|
||||
|
||||
/// <summary>
|
||||
/// Start sending and receiving data.
|
||||
/// </summary>
|
||||
void Start();
|
||||
|
||||
/// <summary>
|
||||
/// Stop sending and receiving data.
|
||||
/// </summary>
|
||||
void Stop();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -823,12 +823,15 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
handshake.RegionInfo3.ProductName = Util.StringToBytes256(regionInfo.RegionType);
|
||||
handshake.RegionInfo3.ProductSKU = Utils.EmptyBytes;
|
||||
|
||||
handshake.RegionInfo4 = new RegionHandshakePacket.RegionInfo4Block[0];
|
||||
// OutPacket(handshake, ThrottleOutPacketType.Task);
|
||||
// use same as MoveAgentIntoRegion (both should be task )
|
||||
handshake.RegionInfo4 = new RegionHandshakePacket.RegionInfo4Block[1];
|
||||
handshake.RegionInfo4[0] = new RegionHandshakePacket.RegionInfo4Block();
|
||||
handshake.RegionInfo4[0].RegionFlagsExtended = args.regionFlags;
|
||||
handshake.RegionInfo4[0].RegionProtocols = 0; // 1 here would indicate that SSB is supported
|
||||
|
||||
OutPacket(handshake, ThrottleOutPacketType.Unknown);
|
||||
}
|
||||
|
||||
|
||||
public void MoveAgentIntoRegion(RegionInfo regInfo, Vector3 pos, Vector3 look)
|
||||
{
|
||||
AgentMovementCompletePacket mov = (AgentMovementCompletePacket)PacketPool.Instance.GetPacket(PacketType.AgentMovementComplete);
|
||||
|
||||
@@ -62,11 +62,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
m_udpServer = new LLUDPServer(listenIP, ref port, proxyPortOffsetParm, allow_alternate_port, configSource, circuitManager);
|
||||
}
|
||||
|
||||
public void NetworkStop()
|
||||
{
|
||||
m_udpServer.Stop();
|
||||
}
|
||||
|
||||
public void AddScene(IScene scene)
|
||||
{
|
||||
m_udpServer.AddScene(scene);
|
||||
|
||||
Reference in New Issue
Block a user