GangZone Class |
Namespace: SampSharp.Entities.SAMP
public sealed class GangZone : Component
The GangZone type exposes the following members.
| Name | Description | |
|---|---|---|
| Color |
Gets or sets the color of this GangZone.
| |
| Entity |
Gets the entity to which this component has been attached.
(Inherited from Component.) | |
| IsComponentAlive |
Gets a value indicating whether this component is alive (has not been destroyed).
(Inherited from Component.) | |
| MaxX |
Gets the maximum x value for this GangZone.
| |
| MaxY |
Gets the maximum y value for this GangZone.
| |
| MinX |
Gets the minimum x value for this GangZone.
| |
| MinY |
Gets the minimum y value for this GangZone.
| |
| Parent |
Gets the parent entity of the entity to which this component has been attached.
(Inherited from Component.) |
| Name | Description | |
|---|---|---|
| AddComponentT |
Adds a component of the specified type T to the entity.
(Inherited from Component.) | |
| AddComponentT(Object) |
Adds a component of the specified type T to the entity with the specified constructor args.
(Inherited from Component.) | |
| Destroy |
Destroys this component.
(Inherited from Component.) | |
| DestroyComponentsT |
Destroys the components of the specified type T attached to the entity.
(Inherited from Component.) | |
| DestroyEntity |
Destroys the entity.
(Inherited from Component.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Flash(Color) |
Flashes this GangZone.
| |
| Flash(EntityId) |
Flashes this GangZone for the specified player.
| |
| Flash(EntityId, Color) |
Flashes this GangZone for the specified player.
| |
| GetComponentT |
Gets a component of the specified type T attached to the entity.
(Inherited from Component.) | |
| GetComponentInChildrenT |
Gets a component of the specified type T attached to a child entity of the entity using a depth first search.
(Inherited from Component.) | |
| GetComponentInParentT |
Gets a component of the specified type T attached to a parent entity of the entity.
(Inherited from Component.) | |
| GetComponentsT |
Gets all components of the specified type T attached to the entity.
(Inherited from Component.) | |
| GetComponentsInChildrenT |
Gets all components of the specified type T attached to a child entity of the entity.
(Inherited from Component.) | |
| GetComponentsInParentT |
Gets all components of the specified type T attached to a parent entity of the entity.
(Inherited from Component.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Hide |
Hides this GangZone.
| |
| Hide(EntityId) |
Hides this GangZone for the specified player.
| |
| Show |
Shows this GangZone.
| |
| Show(EntityId) |
Shows this GangZone to the specified player.
| |
| StopFlash |
Stops this GangZone from flash.
| |
| StopFlash(EntityId) |
Stops this GangZone from flash for the specified player.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |