@@ -25,6 +25,7 @@ namespace xivModdingFramework.Mods.FileTypes
25
25
[ JsonSubtypes . KnownSubType ( typeof ( PMPEqdpManipulationWrapperJson ) , "Eqdp" ) ]
26
26
[ JsonSubtypes . KnownSubType ( typeof ( PMPGmpManipulationWrapperJson ) , "Gmp" ) ]
27
27
[ JsonSubtypes . KnownSubType ( typeof ( PMPRspManipulationWrapperJson ) , "Rsp" ) ]
28
+ [ JsonSubtypes . KnownSubType ( typeof ( PMPAtchManipulationWrapperJson ) , "Atch" ) ]
28
29
[ JsonSubtypes . KnownSubType ( typeof ( PMPGlobalEqpManipulationWrapperJson ) , "GlobalEqp" ) ]
29
30
public class PMPManipulationWrapperJson
30
31
{
@@ -168,6 +169,23 @@ public override string GetNiceName()
168
169
return base . GetNiceName ( ) + " - " + Manipulation . SubRace + " " + Manipulation . Attribute ;
169
170
}
170
171
}
172
+ public class PMPAtchManipulationWrapperJson : PMPManipulationWrapperJson
173
+ {
174
+ [ JsonProperty ( Order = 2 ) ]
175
+ public PMPAtchManipulationJson Manipulation = new PMPAtchManipulationJson ( ) ;
176
+ public override object GetManipulation ( )
177
+ {
178
+ return Manipulation ;
179
+ }
180
+ public override void SetManipulation ( object o )
181
+ {
182
+ Manipulation = o as PMPAtchManipulationJson ;
183
+ }
184
+ public override string GetNiceName ( )
185
+ {
186
+ return base . GetNiceName ( ) + " - " + Manipulation . Race + " " + Manipulation . Gender + " " + Manipulation . Type + " [" + Manipulation . Index + "]" ;
187
+ }
188
+ }
171
189
public class PMPGlobalEqpManipulationWrapperJson : PMPManipulationWrapperJson
172
190
{
173
191
[ JsonProperty ( Order = 2 ) ]
@@ -793,6 +811,29 @@ public static List<PMPRspManipulationJson> FromRgspEntry(RacialGenderScalingPara
793
811
}
794
812
795
813
}
814
+ public class PMPAtchManipulationJson
815
+ {
816
+ public struct PMPAtchEntry
817
+ {
818
+ public string Bone ;
819
+ public float Scale ;
820
+
821
+ public float OffsetX ;
822
+ public float OffsetY ;
823
+ public float OffsetZ ;
824
+
825
+ public float RotationX ;
826
+ public float RotationY ;
827
+ public float RotationZ ;
828
+ }
829
+
830
+ public PMPAtchEntry Entry ;
831
+ public PMPGender Gender ;
832
+ public PMPModelRace Race ;
833
+ public string Type ;
834
+ public int Index ;
835
+ }
836
+
796
837
public class PMPGlobalEqpManipulationJson
797
838
{
798
839
public GlobalEqpType Type ;
0 commit comments