Click or drag to resize

GangZone Class

Represents a gang zone.
Inheritance Hierarchy
SystemObject
  SampSharp.GameMode.ToolsDisposable
    SampSharp.GameMode.PoolsIdentifiedPoolGangZone
      SampSharp.GameMode.WorldGangZone

Namespace:  SampSharp.GameMode.World
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public class GangZone : IdentifiedPool<GangZone>

The GangZone type exposes the following members.

Constructors
  NameDescription
Public methodGangZone
Initializes a new instance of the GangZone class.
Top
Properties
  NameDescription
Public propertyColor
Gets or sets the color of this GangZone.
Public propertyId
Gets the identifier of this instance.
(Inherited from IdentifiedPoolTInstance.)
Public propertyIsDisposed
Gets whether this resource has been disposed.
(Inherited from Disposable.)
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.
Top
Methods
  NameDescription
Protected methodAssertNotDisposed
Checks whether this instance has been disposed. If it has, it throws an exception.
(Inherited from Disposable.)
Public methodDispose
Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from Disposable.)
Protected methodDispose(Boolean)
Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
(Overrides IdentifiedPoolTInstanceDispose(Boolean).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Finalizes an instance of the Disposable class.
(Inherited from Disposable.)
Public methodFlash(BasePlayer)
Flashes this GangZone for the specified player.
Public methodFlash(Color)
Flashes this GangZone.
Public methodFlash(BasePlayer, Color)
Flashes this GangZone for the specified player.
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(BasePlayer)
Hides this GangZone for the specified player.
Protected methodInitialize
An overloadable point for initialization logic which requires the Id to be set.
(Inherited from IdentifiedPoolTInstance.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodShow
Shows this GangZone.
Public methodShow(BasePlayer)
Shows this GangZone to the specified player.
Public methodStopFlash
Stops this GangZone from flash.
Public methodStopFlash(BasePlayer)
Stops this GangZone from flash for the specified player.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventDisposed
Occurs when this isntance has been disposed.
(Inherited from Disposable.)
Top
Fields
  NameDescription
Public fieldStatic memberInvalidId
Identifier indicating the handle is invalid.
Public fieldStatic memberMax
Maximum number of gang zones which can exist.
Top
See Also