SHVDN  v3
An ASI plugin for Grand Theft Auto V, which allows running scripts written in any .NET language in-game. Developed by crosire https://github.com/crosire/scripthookvdotnet/
GTA.PedBoneCollection Class Reference
Inheritance diagram for GTA.PedBoneCollection:
GTA.EntityBoneCollection

Classes

class  Enumerator
 

Public Member Functions

void ClearLastDamaged ()
 Clears the last damage a bone on this Ped received. More...
 
new IEnumerator< PedBoneGetEnumerator ()
 
- Public Member Functions inherited from GTA.EntityBoneCollection
bool Contains (string boneName)
 Determines whether this Entity has a bone with the specified bone name More...
 
IEnumerator< EntityBoneGetEnumerator ()
 
override int GetHashCode ()
 

Public Attributes

new PedBone Core => new PedBone((Ped)_owner, -1)
 Gets the core bone of this Ped. More...
 
- Public Attributes inherited from GTA.EntityBoneCollection
int Count => SHVDN.NativeMemory.GetEntityBoneCount(_owner.Handle)
 Gets the number of bones that this Entity has. More...
 
EntityBone Core => new EntityBone(_owner, -1)
 Gets the core bone of this Entity. More...
 

Properties

PedBone this[Bone boneId] [get]
 Gets the PedBone with the specified boneId . More...
 
new PedBone this[int boneIndex] [get]
 Gets the PedBone at the specified bone index. More...
 
new PedBone this[string boneName] [get]
 Gets the PedBone with the specified bone name. More...
 
PedBone LastDamaged [get]
 Gets the last damaged bone for this Ped. More...
 
- Properties inherited from GTA.EntityBoneCollection
EntityBone this[int boneIndex] [get]
 Gets the EntityBone at the specified bone index. More...
 
EntityBone this[string boneName] [get]
 Gets the EntityBone with the specified bone name. More...
 

Additional Inherited Members

- Protected Attributes inherited from GTA.EntityBoneCollection
readonly Entity _owner
 

Member Function Documentation

◆ ClearLastDamaged()

void GTA.PedBoneCollection.ClearLastDamaged ( )

Clears the last damage a bone on this Ped received.

◆ GetEnumerator()

new IEnumerator<PedBone> GTA.PedBoneCollection.GetEnumerator ( )

Member Data Documentation

◆ Core

new PedBone GTA.PedBoneCollection.Core => new PedBone((Ped)_owner, -1)

Gets the core bone of this Ped.

Property Documentation

◆ LastDamaged

PedBone GTA.PedBoneCollection.LastDamaged
get

Gets the last damaged bone for this Ped.

◆ this[Bone boneId]

PedBone GTA.PedBoneCollection.this[Bone boneId]
get

Gets the PedBone with the specified boneId .

Parameters
boneIdThe bone Id.

◆ this[int boneIndex]

new PedBone GTA.PedBoneCollection.this[int boneIndex]
get

Gets the PedBone at the specified bone index.

Parameters
boneIndexThe bone index.

◆ this[string boneName]

new PedBone GTA.PedBoneCollection.this[string boneName]
get

Gets the PedBone with the specified bone name.

Parameters
boneNameName of the bone.

The documentation for this class was generated from the following file: