Skip to content

Commit

Permalink
Game: Corrected return values in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Emik03 committed Aug 21, 2021
1 parent 5cdaa07 commit af68552
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Documentation/Game.Bomb.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ public static System.Func<GameObject,object> Bomb { get; }
[System.NotSupportedException](https://docs.microsoft.com/en-us/dotnet/api/System.NotSupportedException 'System.NotSupportedException')
[UnrecognizedValueException](UnrecognizedValueException.md 'KeepCoding.Internal.UnrecognizedValueException')
### Remarks
Default: [null](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/null 'https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/null').
Default: An encapsulated method that takes a [UnityEngine.GameObject](https://docs.microsoft.com/en-us/dotnet/api/UnityEngine.GameObject 'UnityEngine.GameObject') and always returns [null](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/null 'https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/null').
2 changes: 1 addition & 1 deletion Documentation/Game.Timer.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ public static System.Func<GameObject,object> Timer { get; }
[System.NotSupportedException](https://docs.microsoft.com/en-us/dotnet/api/System.NotSupportedException 'System.NotSupportedException')
[UnrecognizedValueException](UnrecognizedValueException.md 'KeepCoding.Internal.UnrecognizedValueException')
### Remarks
Default: [null](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/null 'https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/null').
Default: An encapsulated method that takes a [UnityEngine.GameObject](https://docs.microsoft.com/en-us/dotnet/api/UnityEngine.GameObject 'UnityEngine.GameObject') and always returns [null](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/null 'https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/null').
2 changes: 1 addition & 1 deletion Documentation/Game.Vanillas.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ public static System.Func<KMBomb,object[]> Vanillas { get; }
[System.NotSupportedException](https://docs.microsoft.com/en-us/dotnet/api/System.NotSupportedException 'System.NotSupportedException')
[UnrecognizedValueException](UnrecognizedValueException.md 'KeepCoding.Internal.UnrecognizedValueException')
### Remarks
Default: An empty [System.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System.Object')[System.Array](https://docs.microsoft.com/en-us/dotnet/api/System.Array 'System.Array').
Default: An encapsulated method that takes a [UnityEngine.GameObject](https://docs.microsoft.com/en-us/dotnet/api/UnityEngine.GameObject 'UnityEngine.GameObject') and always returns an empty [System.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System.Object')[System.Array](https://docs.microsoft.com/en-us/dotnet/api/System.Array 'System.Array').
6 changes: 3 additions & 3 deletions Source/Statics/Game.cs
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ public enum References
/// Gets the game's internal bomb component, not to be mistaken with <see cref="KMBomb"/>. To prevent a reference to the game, the type is boxed in <see cref="object"/>. You can cast it to Bomb or <see cref="MonoBehaviour"/> type to restore its functionality.
/// </summary>
/// <remarks>
/// Default: <see langword="null"/>.
/// Default: An encapsulated method that takes a <see cref="GameObject"/> and always returns <see langword="null"/>.
/// </remarks>
/// <exception cref="NotSupportedException"></exception>
/// <exception cref="UnrecognizedValueException"></exception>
Expand All @@ -799,7 +799,7 @@ public enum References
/// Gets the game's internal timer component. To prevent a reference to the game, the type is boxed in <see cref="object"/>. You can cast it to TimerComponent or <see cref="MonoBehaviour"/> type to restore its functionality.
/// </summary>
/// <remarks>
/// Default: <see langword="null"/>.
/// Default: An encapsulated method that takes a <see cref="GameObject"/> and always returns <see langword="null"/>.
/// </remarks>
/// <exception cref="NotSupportedException"></exception>
/// <exception cref="UnrecognizedValueException"></exception>
Expand All @@ -819,7 +819,7 @@ public enum References
/// Gets all of the vanilla modules from the bomb supplied, including needies. To prevent a reference to the game, the type is boxed in an <see cref="object"/> <see cref="Array"/>. You can cast it to BombComponent type to restore its functionality.
/// </summary>
/// <remarks>
/// Default: An empty <see cref="object"/> <see cref="Array"/>.
/// Default: An encapsulated method that takes a <see cref="GameObject"/> and always returns an empty <see cref="object"/> <see cref="Array"/>.
/// </remarks>
/// <exception cref="NotSupportedException"></exception>
/// <exception cref="UnrecognizedValueException"></exception>
Expand Down

0 comments on commit af68552

Please sign in to comment.