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