Click or drag to resize

EntityExtensions Class

Provides extended functionality for the EntityId struct.
Inheritance Hierarchy
SystemObject
  SampSharp.EntitiesEntityExtensions

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

The EntityExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberHandleOrDefault
Returns the handle of the entity or the specified default value if the entity is empty.
Public methodStatic memberIsOfAnyType
Returns a value indicating whether the entity identifier of the specified entity is of any of the specified types.
Public methodStatic memberIsOfType
Returns a value indicating whether the entity identifier of the specified entity is of the specified type.
Top
See Also