public void Read(GamePacketReader reader) { Type = reader.ReadEnum <ChatFormatType>(4); StartIndex = reader.ReadUShort(); StopIndex = reader.ReadUShort(); FormatModel = SocialManager.GetChatFormatModel(Type); if (FormatModel == null) { throw new NotImplementedException(); } FormatModel.Read(reader); }