diff --git a/CustomizePlus/Api/Data/IPCCharacterProfile.cs b/CustomizePlus/Api/Data/IPCCharacterProfile.cs index 3f28ee1..54e6703 100644 --- a/CustomizePlus/Api/Data/IPCCharacterProfile.cs +++ b/CustomizePlus/Api/Data/IPCCharacterProfile.cs @@ -20,25 +20,12 @@ namespace CustomizePlus.Api.Data; /// public class IPCCharacterProfile { - // public List Characters { get; set; } = new(); - public Dictionary Bones { get; init; } = new(); public static IPCCharacterProfile FromFullProfile(Profile profile) { var ipcProfile = new IPCCharacterProfile(); - /* foreach (var character in profile.Characters) - { - //todo: unify with tuple? - var ipcCharacter = new IPCCharacter(); - ipcCharacter.Name = character.ToNameWithoutOwnerName(); - ipcCharacter.CharacterType = (byte)character.Type; - ipcCharacter.WorldId = character.Type == IdentifierType.Player || character.Type == IdentifierType.Owned ? character.HomeWorld.Id : WorldId.AnyWorld.Id; - ipcCharacter.CharacterSubType = character.Type == IdentifierType.Retainer ? (ushort)character.Retainer : (ushort)0; - ipcProfile.Characters.Add(ipcCharacter); - }*/ - foreach (var template in profile.Templates) { foreach (var kvPair in template.Bones) //not super optimal but whatever @@ -112,6 +99,21 @@ public class IPCBoneTransform set => _scaling = ClampVector(value); } + /// + /// Reserved for future use + /// + public bool PropagateTranslation { get; set; } + + /// + /// Reserved for future use + /// + public bool PropagateRotation { get; set; } + + /// + /// Reserved for future use + /// + public bool PropagateScale { get; set; } + /// /// Clamp all vector values to be within allowed limits. /// @@ -143,12 +145,4 @@ public class IPCBoneTransform return rotVec; } -} -/* -public class IPCCharacter -{ - public string Name { get; set; } - public ushort WorldId { get; set; } - public byte CharacterType { get; set; } - public ushort CharacterSubType { get; set; } -}*/ \ No newline at end of file +} \ No newline at end of file