Skip to content

Commit

Permalink
Extra exception docs formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
WorkingRobot committed Aug 19, 2024
1 parent e3a39d8 commit b70f89e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Lumina/Excel/ExcelModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public ExcelModule( GameData gameData )
/// <returns>An excel sheet corresponding to <typeparamref name="T"/>, <paramref name="language"/>, and <paramref name="name"/>
/// that may be created anew or reused from a previous invocation of this method.</returns>
/// <remarks/>
/// <exception cref="InvalidCastException">Sheet is not of the variant <see cref="ExcelVariant.Default"/>.</exception>
/// <exception cref="NotSupportedException">Sheet was not a <see cref="ExcelVariant.Default"/>.</exception>
/// <inheritdoc cref="GetBaseSheet(Type, Nullable{Language}, string?)"/>
public ExcelSheet< T > GetSheet< T >( Language? language = null, string? name = null ) where T : struct, IExcelRow< T > =>
(ExcelSheet< T >) GetBaseSheet( typeof( T ), language, name );
Expand All @@ -77,7 +77,7 @@ public ExcelSheet< T > GetSheet< T >( Language? language = null, string? name =
/// <returns>An excel sheet corresponding to <typeparamref name="T"/>, <paramref name="language"/>, and <paramref name="name"/>
/// that may be created anew or reused from a previous invocation of this method.</returns>
/// <remarks/>
/// <exception cref="InvalidCastException">Sheet is not of the variant <see cref="ExcelVariant.Subrows"/>.</exception>
/// <exception cref="NotSupportedException">Sheet was not a <see cref="ExcelVariant.Subrows"/>.</exception>
/// <inheritdoc cref="GetBaseSheet(Type, Nullable{Language}, string?)"/>
public SubrowExcelSheet< T > GetSubrowSheet< T >( Language? language = null, string? name = null ) where T : struct, IExcelSubrow< T > =>
(SubrowExcelSheet< T >) GetBaseSheet( typeof( T ), language, name );
Expand Down
1 change: 0 additions & 1 deletion src/Lumina/GameData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,6 @@ public static UInt64 GetFileHash( string path )
}

/// <summary>Loads a <see cref="SubrowExcelSheet{T}"/>. Returns <see langword="null"/> if the sheet does not exist, has an invalid column hash or unsupported variant, or was requested with an unsupported language.</summary>
/// <exception cref="InvalidCastException">Sheet is not of the variant <see cref="ExcelVariant.Subrows"/>.</exception>
/// <inheritdoc cref="GetExcelSheet{T}(Nullable{Language}, string?)"/>
public SubrowExcelSheet< T >? GetSubrowExcelSheet< T >( Language? language = null, string? name = null ) where T : struct, IExcelSubrow< T >
{
Expand Down

0 comments on commit b70f89e

Please sign in to comment.