mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 22:05:36 +08:00
Allow callers to set the invoice parameter for GenericMessage
This commit is contained in:
@@ -900,9 +900,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
}
|
||||
}
|
||||
|
||||
public void SendGenericMessage(string method, List<string> message)
|
||||
public void SendGenericMessage(string method, UUID invoice, List<string> message)
|
||||
{
|
||||
GenericMessagePacket gmp = new GenericMessagePacket();
|
||||
|
||||
gmp.AgentData.AgentID = AgentId;
|
||||
gmp.AgentData.SessionID = m_sessionId;
|
||||
gmp.AgentData.TransactionID = invoice;
|
||||
|
||||
gmp.MethodData.Method = Util.StringToBytes256(method);
|
||||
gmp.ParamList = new GenericMessagePacket.ParamListBlock[message.Count];
|
||||
int i = 0;
|
||||
@@ -915,9 +920,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
OutPacket(gmp, ThrottleOutPacketType.Task);
|
||||
}
|
||||
|
||||
public void SendGenericMessage(string method, List<byte[]> message)
|
||||
public void SendGenericMessage(string method, UUID invoice, List<byte[]> message)
|
||||
{
|
||||
GenericMessagePacket gmp = new GenericMessagePacket();
|
||||
|
||||
gmp.AgentData.AgentID = AgentId;
|
||||
gmp.AgentData.SessionID = m_sessionId;
|
||||
gmp.AgentData.TransactionID = invoice;
|
||||
|
||||
gmp.MethodData.Method = Util.StringToBytes256(method);
|
||||
gmp.ParamList = new GenericMessagePacket.ParamListBlock[message.Count];
|
||||
int i = 0;
|
||||
|
||||
Reference in New Issue
Block a user