private static void Handler(PacketReader reader) { ushort id = reader.ReadByte(); if(id == (ushort)RoomMessage.Info) { string name = reader.ReadUnicode(20); string pwd = reader.ReadUnicode(32); lock (Infos) { Infos[name] = pwd; } } reader.Close(); }