mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
Introduces the message transfer module. It splits the transfer mechanics off
the IM module and makes it into a module of it's own, which can be used by all other modules. Removes some ugly hacks. Refer to the IM module to see how it's used. Also fixes the persistence issue (Mantis #2598)
This commit is contained in:
@@ -4023,6 +4023,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
break;
|
||||
case PacketType.ImprovedInstantMessage:
|
||||
ImprovedInstantMessagePacket msgpack = (ImprovedInstantMessagePacket)Pack;
|
||||
Console.WriteLine(msgpack.ToString());
|
||||
string IMfromName = Util.FieldToString(msgpack.MessageBlock.FromAgentName);
|
||||
string IMmessage = Utils.BytesToString(msgpack.MessageBlock.Message);
|
||||
handlerInstantMessage = OnInstantMessage;
|
||||
@@ -6171,7 +6172,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
case PacketType.ObjectBuy:
|
||||
ObjectBuyPacket objectBuyPacket = (ObjectBuyPacket)Pack;
|
||||
handlerObjectBuy = OnObjectBuy;
|
||||
Console.WriteLine(objectBuyPacket.ToString());
|
||||
|
||||
if (handlerObjectBuy != null)
|
||||
{
|
||||
foreach (ObjectBuyPacket.ObjectDataBlock d
|
||||
|
||||
Reference in New Issue
Block a user