Click or drag to resize

EntityTypeAttribute Class

When added to a static readonly Guid field, the attribute specifies the type name of entities with the entity type Guid specified in this field. If no name is specified in the the attribute, the field name of is used as the type name.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    SampSharp.EntitiesEntityTypeAttribute

Namespace:  SampSharp.Entities
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public class EntityTypeAttribute : Attribute

The EntityTypeAttribute type exposes the following members.

Constructors
  NameDescription
Public methodEntityTypeAttribute
Initializes a new instance of the EntityTypeAttribute class.
Public methodEntityTypeAttribute(String, Int32)
Initializes a new instance of the EntityTypeAttribute class.
Top
Properties
  NameDescription
Public propertyInvalidHandle
Gets or sets the default handle is used to indicate an invalid instance of this entity.
Public propertyName
Gets or sets the name of the entity type.
Public propertyTypeId (Inherited from Attribute.)
Top
Methods
  NameDescription
Public methodEquals (Inherited from Attribute.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Attribute.)
Public methodGetType (Inherited from Object.)
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodMatch (Inherited from Attribute.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
See Also