s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
jams
Workshop
Steam
open_in_new
Steam Workshop
Assets
view_in_ar
Models
texture
Materials
apparel
Clothing
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
Classes
ITagSet
chevron_left
Classes
class
ITagSet
Constructors
lock
ITagSet
Methods
functions
Add
functions
Contains
functions
GetEnumerator
functions
GetSuggested
functions
GetTokens
functions
Has
functions
HasAll
functions
HasAny
functions
Remove
functions
RemoveAll
functions
Set
functions
SetFrom
functions
Toggle
functions
TryGetAll
ITagSet
class
Sandbox
.
abstract
Sandbox.Engine
build
Constructors
1
ITagSet
(
)
functions
Methods
14
Add
(
tag
)
Add a tag to the set.
Contains
(
tag
)
bool
Does this set have the specified tag? Same as Sandbox.ITagSet.Has(System.String).
GetEnumerator
(
)
IEnumerator`1
GetSuggested
(
)
IEnumerable`1
Get all default tags for this set.
GetTokens
(
)
IReadOnlySet`1
Try to get all tags in the set.
Has
(
tag
)
bool
Does this set have the specified tag?
HasAll
(
tags
)
bool
HasAny
(
tags
)
bool
Remove
(
tag
)
Remove a tag from the set.
RemoveAll
(
)
Remove all tags from the set.
Set
(
tag
,
state
)
Add or remove this tag, based on state
SetFrom
(
set
)
Set the tags to match this other tag set
Toggle
(
tag
)
If this tag is already here, remove it, else add it.
TryGetAll
(
)
IEnumerable`1
Try to get all tags in the set.
Inheritance
ITagSet
GameTags
TagSet
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.