class
GameTags
public class GameTags : ITagSet Entity Tags are strings you can set and check for on any entity. Internally these strings are tokenized and networked so they're also available clientside.
Methods
virtual IEnumerable<String> TryGetAll() Returns all the tags this object has.
IEnumerable<String> TryGetAll(Boolean includeAncestors) Returns all the tags this object has.
virtual Boolean Has(String tag) Returns true if this object (or its parents) has given tag.
Boolean Has(String tag, Boolean includeAncestors) Returns true if this object has given tag.
Boolean HasAny(HashSet<String> tagList) virtual Void Add(String tag) Try to add the tag to this object.
Void Add(String[] tags) Adds multiple tags. Calls EntityTags.Add for each tag.
virtual Void Remove(String tag) Try to remove the tag from this entity.
virtual Void RemoveAll() Remove all tags
Void Flush() virtual IReadOnlySet<UInt32> GetTokens() Returns a list of ints, representing the tags. These are used internally by the engine.
virtual IEnumerable<String> GetSuggested() Get all potential suggested tags that someone might want to add to this set.