mirror of
https://github.com/opensim/opensim.git
synced 2026-05-27 04:16:00 +08:00
* Moved SendLogoutPacket back to IClientAPI.
This commit is contained in:
@@ -677,5 +677,17 @@ namespace OpenSim.Region.ClientStack
|
||||
shape.TextureEntry = ntex.ToBytes();
|
||||
return shape;
|
||||
}
|
||||
|
||||
public void SendLogoutPacket()
|
||||
{
|
||||
LogoutReplyPacket logReply = new LogoutReplyPacket();
|
||||
logReply.AgentData.AgentID = AgentId;
|
||||
logReply.AgentData.SessionID = SessionId;
|
||||
logReply.InventoryData = new LogoutReplyPacket.InventoryDataBlock[1];
|
||||
logReply.InventoryData[0] = new LogoutReplyPacket.InventoryDataBlock();
|
||||
logReply.InventoryData[0].ItemID = LLUUID.Zero;
|
||||
|
||||
OutPacket(logReply);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user