Show / Hide Table of Contents

Class Clothing

Represents a player's clothing, only used when the player has the CJ model.

Inheritance
object
Clothing
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SlipeServer.Server.ElementConcepts
Assembly: SlipeServer.Server.dll
Syntax
public class Clothing

Constructors

| Edit this page View Source

Clothing(Ped)

Declaration
public Clothing(Ped ped)
Parameters
Type Name Description
Ped ped

Properties

| Edit this page View Source

Extra

Declaration
public byte? Extra { get; set; }
Property Value
Type Description
byte?
| Edit this page View Source

Glasses

Declaration
public byte? Glasses { get; set; }
Property Value
Type Description
byte?
| Edit this page View Source

Hat

Declaration
public byte? Hat { get; set; }
Property Value
Type Description
byte?
| Edit this page View Source

Head

Declaration
public byte Head { get; set; }
Property Value
Type Description
byte
| Edit this page View Source

Necklace

Declaration
public byte? Necklace { get; set; }
Property Value
Type Description
byte?
| Edit this page View Source

Shirt

Declaration
public byte Shirt { get; set; }
Property Value
Type Description
byte
| Edit this page View Source

Shoes

Declaration
public byte Shoes { get; set; }
Property Value
Type Description
byte
| Edit this page View Source

TattoosBack

Declaration
public byte? TattoosBack { get; set; }
Property Value
Type Description
byte?
| Edit this page View Source

TattoosLeftChest

Declaration
public byte? TattoosLeftChest { get; set; }
Property Value
Type Description
byte?
| Edit this page View Source

TattoosLeftLowerArm

Declaration
public byte? TattoosLeftLowerArm { get; set; }
Property Value
Type Description
byte?
| Edit this page View Source

TattoosLeftUpperArm

Declaration
public byte? TattoosLeftUpperArm { get; set; }
Property Value
Type Description
byte?
| Edit this page View Source

TattoosLowerBack

Declaration
public byte? TattoosLowerBack { get; set; }
Property Value
Type Description
byte?
| Edit this page View Source

TattoosRightChest

Declaration
public byte? TattoosRightChest { get; set; }
Property Value
Type Description
byte?
| Edit this page View Source

TattoosRightLowerArm

Declaration
public byte? TattoosRightLowerArm { get; set; }
Property Value
Type Description
byte?
| Edit this page View Source

TattoosRightUpperArm

Declaration
public byte? TattoosRightUpperArm { get; set; }
Property Value
Type Description
byte?
| Edit this page View Source

TattoosStomach

Declaration
public byte? TattoosStomach { get; set; }
Property Value
Type Description
byte?
| Edit this page View Source

Trousers

Declaration
public byte Trousers { get; set; }
Property Value
Type Description
byte
| Edit this page View Source

Watch

Declaration
public byte? Watch { get; set; }
Property Value
Type Description
byte?

Methods

| Edit this page View Source

AddClothing(PedClothing)

Adds an article of clothing to the player

Declaration
public void AddClothing(PedClothing clothing)
Parameters
Type Name Description
PedClothing clothing
| Edit this page View Source

GetClothing()

Returns an enumerable of the player's clothing. This will not include any slots that do not have a value.

Declaration
public IEnumerable<PedClothing> GetClothing()
Returns
Type Description
IEnumerable<PedClothing>
| Edit this page View Source

RemoveClothing(ClothingType)

Removes an article of clothing from the player based on the clothing type

Declaration
public void RemoveClothing(ClothingType type)
Parameters
Type Name Description
ClothingType type

The clothing type to remove

| Edit this page View Source

Reset()

Resets the player clothing to the default values

Declaration
public void Reset()

Events

| Edit this page View Source

Changed

Declaration
public event ElementEventHandler<Ped, ClothingChangedEventArgs>? Changed
Event Type
Type Description
ElementEventHandler<Ped, ClothingChangedEventArgs>
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX