ClassicUO
ClassicUO copied to clipboard
Add .Contains() to LinkedObject [Enhancement Request]
https://github.com/ClassicUO/ClassicUO/blob/main/src/ClassicUO.Client/Game/LinkedObject.cs
Being able to see if a container has a specific serial would be a very useful method to add here
Not the correct place to do the change but anyway, how would it be useful? What would use it?
Where would the correct place to add it be? Maybe there is already a way to do this that I'm unaware of.
The use case would be to determine if a container contains a specific item serial, currently I loop over the Items until I find a match(which works, this would just streamline it)