Click or drag to resize

PlayerObject Methods

The PlayerObject type exposes the following members.

Methods
  NameDescription
Protected methodAssertNotDisposed
Checks whether this instance has been disposed. If it has, it throws an exception.
(Inherited from Disposable.)
Public methodAttachCameraToObject
Attaches the player's camera to this PlayerObject.
Public methodAttachTo(BasePlayer, Vector3, Vector3)
Attaches this PlayerObject to the specified player.
Public methodAttachTo(BaseVehicle, Vector3, Vector3)
Attaches this PlayerObject to the specified vehicle.
Public methodDisableCameraCollisions
Disable collisions between players' cameras and this PlayerObject.
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 methodEdit
Lets the Owner of this PlayerObject edit this object.
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 methodMove(Vector3, Single)
Moves this IGameObject to the given position with the given speed.
Public methodMove(Vector3, Single, Vector3)
Moves this IGameObject to the given position and rotation with the given speed.
Public methodOnEdited
Raises the Edited event.
Public methodOnMoved
Raises the Moved event.
Public methodOnSelected
Raises the Selected event.
Public methodStatic memberSelect
Lets the specified player select an object.
Public methodSetMaterial
Sets the material of this IGameObject.
Public methodSetMaterialText
Sets the material text of this IGameObject.
Public methodStop
Stop this IGameObject from moving any further.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also