aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs28
1 files changed, 28 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index eb415e4..e1e8854 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -5704,6 +5704,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
5704 5704
5705 OutPacket(logReply, ThrottleOutPacketType.Task); 5705 OutPacket(logReply, ThrottleOutPacketType.Task);
5706 } 5706 }
5707
5707 public void SendHealth(float health) 5708 public void SendHealth(float health)
5708 { 5709 {
5709 HealthMessagePacket healthpacket = (HealthMessagePacket)PacketPool.Instance.GetPacket(PacketType.HealthMessage); 5710 HealthMessagePacket healthpacket = (HealthMessagePacket)PacketPool.Instance.GetPacket(PacketType.HealthMessage);
@@ -5711,6 +5712,33 @@ namespace OpenSim.Region.ClientStack.LindenUDP
5711 OutPacket(healthpacket, ThrottleOutPacketType.Task); 5712 OutPacket(healthpacket, ThrottleOutPacketType.Task);
5712 } 5713 }
5713 5714
5715 public void SendAgentOnline(LLUUID[] agentIDs)
5716 {
5717 OnlineNotificationPacket onp = new OnlineNotificationPacket();
5718 OnlineNotificationPacket.AgentBlockBlock[] onpb = new OnlineNotificationPacket.AgentBlockBlock[agentIDs.Length];
5719 for (int i = 0; i < agentIDs.Length; i++)
5720 {
5721 OnlineNotificationPacket.AgentBlockBlock onpbl = new OnlineNotificationPacket.AgentBlockBlock();
5722 onpbl.AgentID = agentIDs[i];
5723 onpb[i] = onpbl;
5724 }
5725 onp.AgentBlock = onpb;
5726 OutPacket(onp, ThrottleOutPacketType.Task);
5727 }
5728
5729 public void SendAgentOffline(LLUUID[] agentIDs)
5730 {
5731 OfflineNotificationPacket offp = new OfflineNotificationPacket();
5732 OfflineNotificationPacket.AgentBlockBlock[] offpb = new OfflineNotificationPacket.AgentBlockBlock[agentIDs.Length];
5733 for (int i = 0; i < agentIDs.Length; i++)
5734 {
5735 OfflineNotificationPacket.AgentBlockBlock onpbl = new OfflineNotificationPacket.AgentBlockBlock();
5736 onpbl.AgentID = agentIDs[i];
5737 offpb[i] = onpbl;
5738 }
5739 offp.AgentBlock = offpb;
5740 OutPacket(offp, ThrottleOutPacketType.Task);
5741 }
5714 public ClientInfo GetClientInfo() 5742 public ClientInfo GetClientInfo()
5715 { 5743 {
5716 //MainLog.Instance.Verbose("CLIENT", "GetClientInfo BGN"); 5744 //MainLog.Instance.Verbose("CLIENT", "GetClientInfo BGN");