Devlogs
Version 3
Hi all,
This update adds 3 new methods (1 of which is an overload for an existing method).
- GetItemsWithTag - This method takes a list of RomItems and a tag to search for. It will them return a list of RomItems, out of the ones passed into the method, that contain the tag you're searching for .
This method takes 2 paramters:- IEnumerable<RomItem> - This is the list of RomItems to search through
- string - This is the tag to search for within the given RomItem
- 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:- RomItem - The item to check for tags
- string - The tag to search for in the given RomItem
- 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:- RomItem - The item to retrieve the tag contents from
- string - The tag to search for in the RomItem
Hope this helps you all.
Enjoy :)