Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GetBloonDisplay to ModDisplay.cs #193

Merged
merged 2 commits into from
Dec 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 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
Loading