Click or drag to resize

PlayerTextLabel Class

Represents a player text label.
Inheritance Hierarchy
SystemObject
  SampSharp.GameMode.ToolsDisposable
    SampSharp.GameMode.PoolsIdentifiedOwnedPoolPlayerTextLabel, BasePlayer
      SampSharp.GameMode.WorldPlayerTextLabel

Namespace:  SampSharp.GameMode.World
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public class PlayerTextLabel : IdentifiedOwnedPool<PlayerTextLabel, BasePlayer>

The PlayerTextLabel type exposes the following members.

Constructors
  NameDescription
Public methodPlayerTextLabel(BasePlayer, String, Color, Vector3, Single)
Initializes a new instance of the PlayerTextLabel class.
Public methodPlayerTextLabel(BasePlayer, String, Color, Vector3, Single, BasePlayer)
Initializes a new instance of the PlayerTextLabel class.
Public methodPlayerTextLabel(BasePlayer, String, Color, Vector3, Single, BaseVehicle)
Initializes a new instance of the PlayerTextLabel class.
Public methodPlayerTextLabel(BasePlayer, String, Color, Vector3, Single, Boolean)
Initializes a new instance of the PlayerTextLabel class.
Public methodPlayerTextLabel(BasePlayer, String, Color, Vector3, Single, Boolean, BasePlayer)
Initializes a new instance of the PlayerTextLabel class.
Public methodPlayerTextLabel(BasePlayer, String, Color, Vector3, Single, Boolean, BaseVehicle)
Initializes a new instance of the PlayerTextLabel class.
Top
Properties
  NameDescription
Public propertyAttachedPlayer
Gets or sets the attached player.
Public propertyAttachedVehicle
Gets or sets the attached vehicle.
Public propertyColor
Gets or sets the color of this PlayerTextLabel.
Public propertyDrawDistance
Gets or sets the draw distance.
Public propertyId
Gets the identifier of this instance.
(Inherited from IdentifiedOwnedPoolTInstance, TOwner.)
Public propertyIsDisposed
Gets whether this resource has been disposed.
(Inherited from Disposable.)
Public propertyOwner
Gets the owner of this instance.
(Inherited from IdentifiedOwnedPoolTInstance, TOwner.)
Public propertyPosition
Gets or sets the position of this PlayerTextLabel.
Public propertyTestLOS
Gets or sets a value indicating whether to test the line of sight.
Public propertyText
Gets or sets the text of this PlayerTextLabel.
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 IdentifiedOwnedPoolTInstance, TOwnerDispose(Boolean).)
Public methodEquals (Inherited from Object.)
Protected methodFinalize
Finalizes an instance of the Disposable class.
(Inherited from Disposable.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodInitialize
An overloadable point for initialization logic which requires the Id and the Owner to be set.
(Inherited from IdentifiedOwnedPoolTInstance, TOwner.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (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 per-player text labels which can exist.
Top
See Also