Version 3


Hi all,

This update adds 3 new methods (1 of which is an overload for an existing method).

  1. GetItemsWithTag - This method will search for a given tag in a given list of RomItems and return a list of RomItems that contain the tag you're searching for within the list of items you gave.
    This method takes 2 paramters:
    1. IEnumerable<RomItem> - This is the list of RomItems to search through
    2. string - This is the tag to search for within the given RomItem

  2. ItemHasTag - This method simply checks a RomItem to see if it has a given tag. It will return true if it does and false if not.
    This method takes 2 parameters:
    1. RomItem - The item to check for tags
    2. string - The tag to search for in the given RomItem

  3. GetTagContents - This method is an overload of an existing method. It allows you to get the contents of a tag from a given RomItem. For example, if an item has a tag of "$Hello(World)", you can pass in the RomItem and the tag "hello" and this method will return "World".
    This method takes 2 parameters:
    1. RomItem - The item to retrieve the tag contents from
    2. string - The tag to search for in the RomItem


Hope this helps you all.

Enjoy :)

Files

ThatDaleDudes Class Library V3 4.4 kB
Jul 28, 2024

Get ThatDaleDudes Class Library - Bakin Plugin

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.