Click or drag to resize

GangZone Class

Represents a component which provides the data and functionality of a gang zone.
Inheritance Hierarchy

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public sealed class GangZone : Component

The GangZone type exposes the following members.

Properties
  NameDescription
Public propertyColor
Gets or sets the color of this GangZone.
Public propertyEntity
Gets the entity to which this component has been attached.
(Inherited from Component.)
Public propertyIsComponentAlive
Gets a value indicating whether this component is alive (has not been destroyed).
(Inherited from Component.)
Public propertyMaxX
Gets the maximum x value for this GangZone.
Public propertyMaxY
Gets the maximum y value for this GangZone.
Public propertyMinX
Gets the minimum x value for this GangZone.
Public propertyMinY
Gets the minimum y value for this GangZone.
Public propertyParent
Gets the parent entity of the entity to which this component has been attached.
(Inherited from Component.)
Top
Methods
  NameDescription
Public methodAddComponentT
Adds a component of the specified type T to the entity.
(Inherited from Component.)
Public methodAddComponentT(Object)
Adds a component of the specified type T to the entity with the specified constructor args.
(Inherited from Component.)
Public methodDestroy
Destroys this component.
(Inherited from Component.)
Public methodDestroyComponentsT
Destroys the components of the specified type T attached to the entity.
(Inherited from Component.)
Public methodDestroyEntity
Destroys the entity.
(Inherited from Component.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFlash(Color)
Flashes this GangZone.
Public methodFlash(EntityId)
Flashes this GangZone for the specified player.
Public methodFlash(EntityId, Color)
Flashes this GangZone for the specified player.
Public methodGetComponentT
Gets a component of the specified type T attached to the entity.
(Inherited from Component.)
Public methodGetComponentInChildrenT
Gets a component of the specified type T attached to a child entity of the entity using a depth first search.
(Inherited from Component.)
Public methodGetComponentInParentT
Gets a component of the specified type T attached to a parent entity of the entity.
(Inherited from Component.)
Public methodGetComponentsT
Gets all components of the specified type T attached to the entity.
(Inherited from Component.)
Public methodGetComponentsInChildrenT
Gets all components of the specified type T attached to a child entity of the entity.
(Inherited from Component.)
Public methodGetComponentsInParentT
Gets all components of the specified type T attached to a parent entity of the entity.
(Inherited from Component.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHide
Hides this GangZone.
Public methodHide(EntityId)
Hides this GangZone for the specified player.
Public methodShow
Shows this GangZone.
Public methodShow(EntityId)
Shows this GangZone to the specified player.
Public methodStopFlash
Stops this GangZone from flash.
Public methodStopFlash(EntityId)
Stops this GangZone from flash for the specified player.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also