s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Classes
MemberDescription
chevron_left
Classes
class
MemberDescription
search
Properties
data_object
Aliases
data_object
Attributes
data_object
DeclaringType
data_object
Description
data_object
Group
data_object
Icon
data_object
Identity
data_object
IsFamily
data_object
IsField
data_object
IsMethod
data_object
IsProperty
data_object
IsPublic
data_object
IsStatic
data_object
Name
data_object
Order
data_object
ReadOnly
data_object
SourceFile
data_object
SourceLine
data_object
Tags
data_object
Title
data_object
TypeDescription
Methods
lock
CaptureAttributes
functions
GetCustomAttribute
functions
GetDisplayInfo
lock
GetIdentityHash
functions
HasAttribute
functions
HasTag
lock
Init
functions
IsNamed
MemberDescription
Wraps <see cref="F:Sandbox.MemberDescription.MemberInfo">MemberInfo</see> but with caching and sandboxing. Returned by Sandbox.Internal.TypeLibrary and Sandbox.TypeDescription.
class
Sandbox
.
Sandbox.Reflection
data_object
Properties
21
Aliases
String[]
Aliases allow this to be found by alternative names.
Attributes
Attribute[]
Attributes on this member
DeclaringType
TypeDescription
The type that actually defined this member. This may be different from Sandbox.MemberDescription.TypeDescription if this member is inherited from a base class.
Description
string
Description of this type member. This usually provided from the summary XML comment above the definition.
Group
string
The group - usually provided via the [Group] attribute
Icon
string
The icon for this, if provided via the [Icon] attribute
Identity
int
An integer that represents this member. Based off its type and name.
IsFamily
bool
IsField
bool
True if we're a field
IsMethod
bool
True if we're a method
IsProperty
bool
True if we're a property
IsPublic
bool
True if publicly accessible
IsStatic
bool
True if static
Name
string
Name of this type member.
Order
int
The display order - usually provided via the [Order] attribute
ReadOnly
bool
If this is marked as [ReadOnly]
SourceFile
string
The file containing this member
SourceLine
int
The line number of this member
Tags
String[]
Tags are usually provided via the [Tags] attribute
Title
string
Display name or title of this type member.
TypeDescription
TypeDescription
The type that we're a member of
functions
Methods
8
CaptureAttributes
(
member
)
GetCustomAttribute
(
)
T
Returns the first of Attributes of the passed in type. Or null.
GetDisplayInfo
(
)
DisplayInfo
Access the full DisplayInfo for this type. This is faster than creating the DisplayInfo every time we need it.
GetIdentityHash
(
)
int
Generate a unique hash to identity this member.
HasAttribute
(
)
bool
Whether or not this has at least one of the specified attribute.
HasTag
(
tag
)
bool
Returns true if Tags contains this tag
Init
(
x
)
IsNamed
(
name
)
bool
Utility function to check whether this string matches this type. Will search name and classname.
Inheritance
MemberDescription
FieldDescription
MethodDescription
PropertyDescription
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.