public static void NoteListRequestR(MsgrClient client, List<Note> notes)
{
var packet = new Packet(Op.Msgr.NoteListRequestR, 0);
packet.PutByte(notes != null);
if (notes != null)
{
packet.PutInt(notes.Count);
foreach (var note in notes)
{
packet.PutLong(note.Id);
packet.PutString(note.Sender);
packet.PutString(note.Message);
packet.PutLong(note.GetLongTime());
packet.PutByte(note.Read);
packet.PutByte(0); // Hidden if 1?
}
}
client.Send(packet);
}