Skip to content

Commit

Permalink
Merge pull request #193 from DarkTerraYT/master
Browse files Browse the repository at this point in the history
Add GetBloonDisplay to ModDisplay.cs
  • Loading branch information
doombubbles authored Dec 5, 2023
2 parents 37b8832 + d64b5d8 commit 2fb1ee0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions BloonsTD6 Mod Helper/Api/Display/ModDisplay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,14 @@ protected void Set2DTexture(UnityDisplayNode node, string textureName)
protected string GetDisplay(string tower, int top = 0, int mid = 0, int bot = 0) =>
Game.instance.model.GetTower(tower, top, mid, bot).display.GUID;

/// <summary>
/// Gets the Display for a given bloon
/// <summary>
/// <param name="bloon"> The bloon base id</param>
/// <returns>The display GUID</returns>
protected string GetBloonDisplay(string bloon) =>

Check warning on line 174 in BloonsTD6 Mod Helper/Api/Display/ModDisplay.cs

View workflow job for this annotation

GitHub Actions / build

XML comment has badly formed XML -- 'Expected an end tag for element 'summary'.'

Check warning on line 174 in BloonsTD6 Mod Helper/Api/Display/ModDisplay.cs

View workflow job for this annotation

GitHub Actions / build

XML comment has badly formed XML -- 'Expected an end tag for element 'summary'.'
Game.instance.model.GetBloon(bloon).display.GUID;

/// <summary>
/// Gets a UnityDisplayNode for a different guid
/// </summary>
Expand Down

0 comments on commit 2fb1ee0

Please sign in to comment.