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-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
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
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(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
Creates a shallow copy of the current Object.
(Inherited from Object.)
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 per-player text labels which can exist.
Top
See Also