Class Clothing
Represents a player's clothing, only used when the player has the CJ model.
Assembly: SlipeServer.Server.dll
Syntax
Constructors
|
Edit this page
View Source
Clothing(Ped)
Declaration
Parameters
Type |
Name |
Description |
Ped |
ped |
|
Properties
|
Edit this page
View Source
Declaration
public byte? Extra { get; set; }
Property Value
|
Edit this page
View Source
Glasses
Declaration
public byte? Glasses { get; set; }
Property Value
|
Edit this page
View Source
Hat
Declaration
public byte? Hat { get; set; }
Property Value
|
Edit this page
View Source
Head
Declaration
public byte Head { get; set; }
Property Value
|
Edit this page
View Source
Necklace
Declaration
public byte? Necklace { get; set; }
Property Value
|
Edit this page
View Source
Shirt
Declaration
public byte Shirt { get; set; }
Property Value
|
Edit this page
View Source
Shoes
Declaration
public byte Shoes { get; set; }
Property Value
|
Edit this page
View Source
TattoosBack
Declaration
public byte? TattoosBack { get; set; }
Property Value
|
Edit this page
View Source
TattoosLeftChest
Declaration
public byte? TattoosLeftChest { get; set; }
Property Value
|
Edit this page
View Source
TattoosLeftLowerArm
Declaration
public byte? TattoosLeftLowerArm { get; set; }
Property Value
|
Edit this page
View Source
TattoosLeftUpperArm
Declaration
public byte? TattoosLeftUpperArm { get; set; }
Property Value
|
Edit this page
View Source
TattoosLowerBack
Declaration
public byte? TattoosLowerBack { get; set; }
Property Value
|
Edit this page
View Source
TattoosRightChest
Declaration
public byte? TattoosRightChest { get; set; }
Property Value
|
Edit this page
View Source
TattoosRightLowerArm
Declaration
public byte? TattoosRightLowerArm { get; set; }
Property Value
|
Edit this page
View Source
TattoosRightUpperArm
Declaration
public byte? TattoosRightUpperArm { get; set; }
Property Value
|
Edit this page
View Source
TattoosStomach
Declaration
public byte? TattoosStomach { get; set; }
Property Value
|
Edit this page
View Source
Trousers
Declaration
public byte Trousers { get; set; }
Property Value
|
Edit this page
View Source
Watch
Declaration
public byte? Watch { get; set; }
Property Value
Methods
|
Edit this page
View Source
AddClothing(PedClothing)
Adds an article of clothing to the player
Declaration
public void AddClothing(PedClothing clothing)
Parameters
|
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
|
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
Events
|
Edit this page
View Source
Changed
Declaration
public event ElementEventHandler<Ped, ClothingChangedEventArgs>? Changed
Event Type