Table of Contents

Class BodyPartExtensions

Namespace
SampSharp.OpenMp.Core.Api
Assembly
SampSharp.OpenMp.Core.dll

Provides extension methods for the BodyPart enum.

public static class BodyPartExtensions
Inheritance
BodyPartExtensions
Inherited Members

Methods

GetName(BodyPart)

Gets the name of the specified BodyPart.

public static string GetName(this BodyPart bodyPart)

Parameters

bodyPart BodyPart

The body part to get the name for.

Returns

string

The name of the body part, or "invalid" if the body part is not valid.