/// <summary>
/// Request any instant messages sent while the client was offline to be resent.
/// </summary>
public void RetrieveInstantMessages()
{
RetrieveInstantMessagesPacket p = new RetrieveInstantMessagesPacket();
p.AgentData.AgentID = Client.self.getAgentID();
p.AgentData.SessionID = Client.self.getSessionID();
Client.network.SendPacket(p);
}