Skip to content

Commit

Permalink
Update RoundSet generated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
doombubbles committed Sep 23, 2024
1 parent acbc945 commit ed5be95
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
5 changes: 1 addition & 4 deletions BloonsTD6 Mod Helper/UI/Modded/InGameMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -321,11 +321,8 @@ internal static void Initialise()
// TOD0 why does this fix things lol
InGame.instance.GetComponentFromChildrenByName<RectTransform>("BlackBarL").Find("Tiled/Edge").SetAsFirstSibling();
}
catch (Exception e)
catch (Exception)
{
#if DEBUG
ModHelper.Warning(e);
#endif
// ignored
}
}
Expand Down
15 changes: 15 additions & 0 deletions Documentation/BTD_Mod_Helper.Api.Bloons.ModRoundSet.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,21 @@ public virtual SpriteReference IconReference { get; }

#### Property Value
[Il2CppNinjaKiwi.Common.ResourceUtils.SpriteReference](https://docs.microsoft.com/en-us/dotnet/api/Il2CppNinjaKiwi.Common.ResourceUtils.SpriteReference 'Il2CppNinjaKiwi.Common.ResourceUtils.SpriteReference')
<a name='BTD_Mod_Helper.Api.Bloons.ModRoundSet.Rounds1Index'></a>

## ModRoundSet.Rounds1Index Property

Whether to use 1-Indexed rounds in ModifyRoundsModels methods instead of 0 indexed
<br/>
TODO this will default to true in a future Mod Helper update

```csharp
public virtual bool Rounds1Index { get; }
```

#### Property Value
[System.Boolean](https://docs.microsoft.com/en-us/dotnet/api/System.Boolean 'System.Boolean')
### Methods

<a name='BTD_Mod_Helper.Api.Bloons.ModRoundSet.GetHint(int)'></a>
Expand Down
4 changes: 2 additions & 2 deletions Documentation/BTD_Mod_Helper.Extensions.RoundModelExt.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ How many Bloons will be emitted

`startTime` [System.Single](https://docs.microsoft.com/en-us/dotnet/api/System.Single 'System.Single')
When this group starts emitting, in frames (seconds / 60)
When this group starts emitting, in frames (seconds * 60)

<a name='BTD_Mod_Helper.Extensions.RoundModelExt.AddBloonGroup(thisRoundModel,string,int,float,float).endTime'></a>

`endTime` [System.Single](https://docs.microsoft.com/en-us/dotnet/api/System.Single 'System.Single')
When this group stops emitting, in frames (seconds / 60)
When this group stops emitting, in frames (seconds * 60)

<a name='BTD_Mod_Helper.Extensions.RoundModelExt.AddBloonGroup_T_(thisRoundModel,int,float,float)'></a>

Expand Down

0 comments on commit ed5be95

Please sign in to comment.