Click or drag to resize

NativePlayer Class

[Missing <summary> documentation for "T:SampSharp.Entities.SAMP.NativePlayer"]

Inheritance Hierarchy

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

The NativePlayer type exposes the following members.

Constructors
  NameDescription
Public methodNativePlayer
Initializes a new instance of the NativePlayer class
Top
Properties
  NameDescription
Public propertyEntity
Gets the entity to which this component has been attached.
(Inherited from Component.)
Public propertyId (Inherited from BaseNativeComponent.)
Public propertyIsComponentAlive
Gets a value indicating whether this component is alive (has not been destroyed).
(Inherited from Component.)
Protected propertyManager
Gets the manager of the entity of this component.
(Inherited from Component.)
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 methodApplyAnimation
Public methodAttachCameraToObject
Public methodAttachCameraToPlayerObject
Public methodBan
Public methodBanEx
Public methodCancelEdit
Public methodCancelSelectTextDraw
Public methodClearAnimations
Public methodCreateExplosionForPlayer
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 methodDisablePlayerCheckpoint
Public methodDisablePlayerRaceCheckpoint
Public methodDisableRemoteVehicleCollisions
Public methodEditAttachedObject
Public methodEditObject
Public methodEditPlayerObject
Public methodEnablePlayerCameraTarget
Public methodEnableStuntBonusForPlayer
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodForceClassSelection
Public methodGameTextForPlayer
Public methodGetAnimationName
Public methodGetBytesReceived
Public methodGetBytesSent
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 methodGetConnectedTime
Public methodGetConnectionStatus
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetIpPort
Public methodGetMessagesReceived
Public methodGetMessagesReceivedPerSecond
Public methodGetMessagesSent
Public methodGetPacketLossPercent
Public methodGetPlayerAmmo
Public methodGetPlayerAnimationIndex
Public methodGetPlayerArmour
Public methodGetPlayerCameraAspectRatio
Public methodGetPlayerCameraFrontVector
Public methodGetPlayerCameraMode
Public methodGetPlayerCameraPos
Public methodGetPlayerCameraTargetActor
Public methodGetPlayerCameraTargetObject
Public methodGetPlayerCameraTargetPlayer
Public methodGetPlayerCameraTargetVehicle
Public methodGetPlayerCameraZoom
Public methodGetPlayerColor
Public methodGetPlayerDistanceFromPoint
Public methodGetPlayerDrunkLevel
Public methodGetPlayerFacingAngle
Public methodGetPlayerFightingStyle
Public methodGetPlayerHealth
Public methodGetPlayerInterior
Public methodGetPlayerIp
Public methodGetPlayerKeys
Public methodGetPlayerLastShotVectors
Public methodGetPlayerMenu
Public methodGetPlayerMoney
Public methodGetPlayerName
Public methodGetPlayerNetworkStats
Public methodGetPlayerPing
Public methodGetPlayerPos
Public methodGetPlayerScore
Public methodGetPlayerSkin
Public methodGetPlayerSpecialAction
Public methodGetPlayerState
Public methodGetPlayerSurfingObjectID
Public methodGetPlayerSurfingVehicleID
Public methodGetPlayerTargetActor
Public methodGetPlayerTargetPlayer
Public methodGetPlayerTeam
Public methodGetPlayerTime
Public methodGetPlayerVehicleID
Public methodGetPlayerVehicleSeat
Public methodGetPlayerVelocity
Public methodGetPlayerVersion
Public methodGetPlayerVirtualWorld
Public methodGetPlayerWantedLevel
Public methodGetPlayerWeapon
Public methodGetPlayerWeaponData
Public methodGetPlayerWeaponState
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGivePlayerMoney
Public methodGivePlayerWeapon
Public methodGPCI
Public methodInterpolateCameraLookAt
Public methodInterpolateCameraPos
Public methodIsPlayerAdmin
Public methodIsPlayerAttachedObjectSlotUsed
Public methodIsPlayerConnected
Public methodIsPlayerInAnyVehicle
Public methodIsPlayerInCheckpoint
Public methodIsPlayerInRaceCheckpoint
Public methodIsPlayerInRangeOfPoint
Public methodIsPlayerInVehicle
Public methodIsPlayerNPC
Public methodIsPlayerStreamedIn
Public methodKick
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnDestroyComponent
This method is invoked before this component is destroyed and removed from its entity.
(Inherited from Component.)
Protected methodOnInitializeComponent (Inherited from BaseNativeComponent.)
Public methodPlayAudioStreamForPlayer
Public methodPlayCrimeReportForPlayer
Public methodPlayerPlaySound
Public methodPlayerSpectatePlayer
Public methodPlayerSpectateVehicle
Public methodPutPlayerInVehicle
Public methodRemoveBuildingForPlayer
Public methodRemovePlayerAttachedObject
Public methodRemovePlayerFromVehicle
Public methodRemovePlayerMapIcon
Public methodResetPlayerMoney
Public methodResetPlayerWeapons
Public methodSelectObject
Public methodSelectTextDraw
Public methodSendClientMessage
Public methodSendDeathMessageToPlayer
Public methodSendPlayerMessageToPlayer
Public methodSetCameraBehindPlayer
Public methodSetPlayerAmmo
Public methodSetPlayerArmedWeapon
Public methodSetPlayerArmour
Public methodSetPlayerAttachedObject
Public methodSetPlayerCameraLookAt
Public methodSetPlayerCameraPos
Public methodSetPlayerChatBubble
Public methodSetPlayerCheckpoint
Public methodSetPlayerColor
Public methodSetPlayerDrunkLevel
Public methodSetPlayerFacingAngle
Public methodSetPlayerFightingStyle
Public methodSetPlayerHealth
Public methodSetPlayerInterior
Public methodSetPlayerMapIcon
Public methodSetPlayerMarkerForPlayer
Public methodSetPlayerName
Public methodSetPlayerPos
Public methodSetPlayerPosFindZ
Public methodSetPlayerRaceCheckpoint
Public methodSetPlayerScore
Public methodSetPlayerShopName
Public methodSetPlayerSkillLevel
Public methodSetPlayerSkin
Public methodSetPlayerSpecialAction
Public methodSetPlayerTeam
Public methodSetPlayerTime
Public methodSetPlayerVelocity
Public methodSetPlayerVirtualWorld
Public methodSetPlayerWantedLevel
Public methodSetPlayerWeather
Public methodSetPlayerWorldBounds
Public methodSetSpawnInfo
Public methodShowPlayerDialog
Public methodShowPlayerNameTagForPlayer
Public methodSpawnPlayer
Public methodStartRecordingPlayerData
Public methodStopAudioStreamForPlayer
Public methodStopRecordingPlayerData
Public methodTogglePlayerClock
Public methodTogglePlayerControllable
Public methodTogglePlayerSpectating
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberInvalidId
Identifier indicating the handle is invalid.
Top
See Also