CosmeticPacker.PartId
A struct in Root.Township, Alta.Customization.
Identifies one mesh part of a cosmetic: the cosmetic's hash and the part's index in its visual.
- Listed in Customization and screenshots
- Nested in
CosmeticPacker - Inherits or implements IEquatable<CosmeticPacker.PartId>
- Derived types
CosmeticPacker.PartId
Fields
| Member | What it is |
|---|---|
uint hash | The cosmetic's hash (its purchasable ID). |
int index | Which part of the cosmetic's visual this is. |
Methods
| Member | What it is |
|---|---|
override bool Equals(object obj) | Equal when both the hash and the index match. |
bool Equals(CosmeticPacker.PartId other) | Equal when both the hash and the index match. |
override int GetHashCode() | Combines the hash and the index. |
Used in
Members of other types that take, return or hold a PartId:
CosmeticPacker.cacheInputs, CosmeticPacker.inputs, CosmeticPacker.Inputs, CosmeticPacker.partMap, CosmeticPacker.workingIndexes, CosmeticPacker.Input.CopyFrom, CosmeticPacker.Input.PartId, CustomizationVisualPart.PartId, ICosmeticMeshPartBase.PartId, MeshPacker.Pack, TexturePacker.Pack, PaintBrush.ApplyColor.