forked from jo3bingham/TibiaAPI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOutfitInstance.cs
More file actions
27 lines (24 loc) · 925 Bytes
/
OutfitInstance.cs
File metadata and controls
27 lines (24 loc) · 925 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using OXGaming.TibiaAPI.Utilities;
namespace OXGaming.TibiaAPI.Appearances
{
public class OutfitInstance : AppearanceInstance
{
public byte Addons { get; set; }
public byte ColorDetail { get; set; }
public byte ColorHead { get; set; }
public byte ColorLegs { get; set; }
public byte ColorTorso { get; set; }
public OutfitInstance(uint id, Appearance type, byte colorHead, byte colorTorso, byte colorLegs, byte colorDetail, byte addons) : base(id, type)
{
ColorHead = colorHead;
ColorTorso = colorTorso;
ColorLegs = colorLegs;
ColorDetail = colorDetail;
Addons = addons;
}
public override string ToString()
{
return $"Outfit Looktype: {Id}, Head: {ColorHead}, Torso: {ColorTorso}, Legs: {ColorLegs}, Detail: {ColorDetail}, Addons: {Addons}";
}
}
}