public void RequestCovenant() { EstateCovenantRequestPacket req = new EstateCovenantRequestPacket(); req.AgentData.AgentID = Client.Self.AgentID; req.AgentData.SessionID = Client.Self.SessionID; Client.Network.SendPacket(req); }
private void EstateCovenantRequestHandler(Packet packet, LLAgent agent) { EstateCovenantRequestPacket request = (EstateCovenantRequestPacket)packet; EstateCovenantReplyPacket reply = new EstateCovenantReplyPacket(); if (m_estate != null) { reply.Data.CovenantID = m_estate.CovenantID; reply.Data.CovenantTimestamp = m_estate.CovenantTimestamp; reply.Data.EstateName = Utils.StringToBytes(m_estate.Name); reply.Data.EstateOwnerID = m_estate.OwnerID; } else { reply.Data.EstateName = Utils.EmptyBytes; } m_udp.SendPacket(agent, reply, ThrottleCategory.Task, false); }
/// <summary>Requests the estate covenant</summary> public void RequestCovenant() { EstateCovenantRequestPacket req = new EstateCovenantRequestPacket(); req.AgentData.AgentID = Client.Self.AgentID; req.AgentData.SessionID = Client.Self.SessionID; Client.Network.SendPacket(req); }