Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 24 additions & 2 deletions vMenu/MpPedDataManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,32 @@ public class MpPedDataManager : BaseScript
{
public struct DrawableVariations
{
public Dictionary<int, KeyValuePair<int, int>> clothes;
public Dictionary<int, KeyValuePair<int, int>> clothes; // legacy
public Dictionary<int, CharacterClothingData> clothesWithCollection; // new
}
public class CharacterClothingData
{
public int ComponentIndex { get; set; }
public int Drawable { get; set; }
public int Texture { get; set; }
public string Collection { get; set; }
}
public static class ClothingCollections
{
public const string BaseGame = "base";
}

public struct PropVariations
{
public Dictionary<int, KeyValuePair<int, int>> props;
public Dictionary<int, KeyValuePair<int, int>> props; // legacy
public Dictionary<int, CharacterPropData> propsWithCollection; // new
}
public class CharacterPropData
{
public int PropIndex { get; set; }
public int Drawable { get; set; }
public int Texture { get; set; }
public string Collection { get; set; }
}

public struct FaceShapeFeatures
Expand Down Expand Up @@ -109,6 +129,8 @@ public struct MultiplayerPedData
public PedAppearance PedAppearance;
public PedTattoos PedTatttoos;
public PedFacePaints PedFacePaints;
public Dictionary<int, CharacterClothingData> clothesWithCollection;
public Dictionary<int, CharacterPropData> propsWithCollection;
public bool IsMale;
public uint ModelHash;
public string SaveName;
Expand Down
Loading