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.EntityBoneCollection Class Reference
Inheritance diagram for GTA.EntityBoneCollection:
GTA.PedBoneCollection

Classes

class  Enumerator
 

Public Member Functions

bool Contains (string boneName)
 Determines whether this Entity has a bone with the specified bone name More...
 
IEnumerator< EntityBoneGetEnumerator ()
 
override int GetHashCode ()
 

Public Attributes

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...
 

Protected Attributes

readonly Entity _owner
 

Properties

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...
 

Member Function Documentation

◆ Contains()

bool GTA.EntityBoneCollection.Contains ( string  boneName)

Determines whether this Entity has a bone with the specified bone name

Parameters
boneNameName of the bone.
Returns
true if this Entity has a bone with the specified bone name; otherwise, false.

◆ GetEnumerator()

IEnumerator<EntityBone> GTA.EntityBoneCollection.GetEnumerator ( )

◆ GetHashCode()

override int GTA.EntityBoneCollection.GetHashCode ( )

Member Data Documentation

◆ _owner

readonly Entity GTA.EntityBoneCollection._owner
protected

◆ Core

EntityBone GTA.EntityBoneCollection.Core => new EntityBone(_owner, -1)

Gets the core bone of this Entity.

◆ Count

int GTA.EntityBoneCollection.Count => SHVDN.NativeMemory.GetEntityBoneCount(_owner.Handle)

Gets the number of bones that this Entity has.

Property Documentation

◆ this[int boneIndex]

EntityBone GTA.EntityBoneCollection.this[int boneIndex]
get

Gets the EntityBone at the specified bone index.

Parameters
boneIndexThe bone index.

◆ this[string boneName]

EntityBone GTA.EntityBoneCollection.this[string boneName]
get

Gets the EntityBone with the specified bone name.

Parameters
boneNameName of the bone.

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