/// <summary> /// Reads the <see cref="QuestID"/> from an IValueReader. /// </summary> /// <param name="valueReader"><see cref="IValueReader"/> to read the <see cref="QuestID"/> from.</param> /// <param name="name">The unique name of the value to read.</param> /// <returns>The <see cref="QuestID"/> read from the IValueReader.</returns> public static QuestID ReadQuestID(this IValueReader valueReader, string name) { return(QuestID.Read(valueReader, name)); }
/// <summary> /// Reads the <see cref="QuestID"/> from an <see cref="IDataRecord"/>. /// </summary> /// <param name="r"><see cref="IDataRecord"/> to read the <see cref="QuestID"/> from.</param> /// <param name="name">The name of the field to read the value from.</param> /// <returns>The <see cref="QuestID"/> read from the <see cref="IDataRecord"/>.</returns> public static QuestID GetQuestID(this IDataRecord r, string name) { return(QuestID.Read(r, name)); }
/// <summary> /// Reads the <see cref="QuestID"/> from a <see cref="BitStream"/>. /// </summary> /// <param name="bitStream"><see cref="BitStream"/> to read the <see cref="QuestID"/> from.</param> /// <returns>The <see cref="QuestID"/> read from the <see cref="BitStream"/>.</returns> public static QuestID ReadQuestID(this BitStream bitStream) { return(QuestID.Read(bitStream)); }
/// <summary> /// Reads the <see cref="QuestID"/> from an <see cref="IDataRecord"/>. /// </summary> /// <param name="r"><see cref="IDataRecord"/> to read the <see cref="QuestID"/> from.</param> /// <param name="i">The field index to read.</param> /// <returns>The <see cref="QuestID"/> read from the <see cref="IDataRecord"/>.</returns> public static QuestID GetQuestID(this IDataRecord r, int i) { return(QuestID.Read(r, i)); }