mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
* Refactored ClientView into LLClientView. Removed all direct references to UDPServer and replaced with IClientNetworkServer.
* This should, in theory, let us make new servers with different protocols very easily (rather than the challenge we would have faced before). * BREAKS LoadBalancing module for the moment. * Commit 1/3 - Please dont attempt to update to this revision until all 3 are in.
This commit is contained in:
@@ -480,6 +480,12 @@ namespace OpenSim.Framework
|
||||
/// <param name="packType"></param>
|
||||
string Name { get; }
|
||||
|
||||
bool IsActive
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
uint CircuitCode { get; }
|
||||
event ImprovedInstantMessage OnInstantMessage;
|
||||
event ChatFromViewer OnChatFromViewer;
|
||||
|
||||
@@ -14,6 +14,17 @@ namespace OpenSim.Framework
|
||||
m_y = y;
|
||||
}
|
||||
|
||||
public Location(ulong regionHandle)
|
||||
{
|
||||
m_x = (int) regionHandle;
|
||||
m_y = (int) (regionHandle >> 32);
|
||||
}
|
||||
|
||||
public ulong RegionHandle
|
||||
{
|
||||
get { return ((ulong) m_x << 32 & (ulong) m_y); }
|
||||
}
|
||||
|
||||
public int X
|
||||
{
|
||||
get { return m_x; }
|
||||
@@ -47,11 +58,6 @@ namespace OpenSim.Framework
|
||||
return X == x && y == Y;
|
||||
}
|
||||
|
||||
public UInt64 RegionHandle
|
||||
{
|
||||
get { return UInt64.MinValue; }
|
||||
}
|
||||
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return X.GetHashCode() * 29 + Y.GetHashCode();
|
||||
|
||||
Reference in New Issue
Block a user