Api Sandbox ITagSet
class

ITagSet

public abstract class ITagSet

Methods

virtual Void RemoveAll()

Remove all tags from the set.

virtual Boolean Has(String tag)

Does this set have the specified tag?

tag
virtual Void Add(String tag)

Add a tag to the set.

tag
virtual Void Remove(String tag)

Remove a tag from the set.

tag
virtual Void Set(String tag, Boolean state)

Add or remove this tag, based on state

virtual IEnumerable<String> TryGetAll()

Try to get all tags in the set.

virtual IReadOnlySet<UInt32> GetTokens()

Try to get all tags in the set.

virtual IEnumerable<String> GetSuggested()

Get all default tags for this set.

virtual Void SetFrom(ITagSet set)

Set the tags to match this other tag set

virtual Void Add(ITagSet set)

Add the tags from another set, to this set

virtual Void Toggle(String tag)

If this tag is already here, remove it, else add it.

virtual Boolean HasAny(IEnumerable<String> tags)
virtual Boolean HasAny(ITagSet other)
virtual Boolean HasAny(String[] tags)
virtual Boolean HasAll(IEnumerable<String> tags)
virtual Boolean HasAll(ITagSet other)
virtual Boolean HasAll(String[] tags)
virtual IEnumerator<String> GetEnumerator()
Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.ITagSet