v1.00.00
This commit is contained in:
@@ -93,15 +93,15 @@ namespace AssetStudio
|
||||
|
||||
public class SkeletonPose
|
||||
{
|
||||
public xform[] m_X;
|
||||
public XForm[] m_X;
|
||||
|
||||
public SkeletonPose(ObjectReader reader)
|
||||
{
|
||||
int numXforms = reader.ReadInt32();
|
||||
m_X = new xform[numXforms];
|
||||
m_X = new XForm[numXforms];
|
||||
for (int i = 0; i < numXforms; i++)
|
||||
{
|
||||
m_X[i] = new xform(reader);
|
||||
m_X[i] = reader.ReadXForm(reader.version);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -118,13 +118,13 @@ namespace AssetStudio
|
||||
|
||||
public class Handle
|
||||
{
|
||||
public xform m_X;
|
||||
public XForm m_X;
|
||||
public uint m_ParentHumanIndex;
|
||||
public uint m_ID;
|
||||
|
||||
public Handle(ObjectReader reader)
|
||||
{
|
||||
m_X = new xform(reader);
|
||||
m_X = reader.ReadXForm(reader.version);
|
||||
m_ParentHumanIndex = reader.ReadUInt32();
|
||||
m_ID = reader.ReadUInt32();
|
||||
}
|
||||
@@ -132,7 +132,7 @@ namespace AssetStudio
|
||||
|
||||
public class Collider
|
||||
{
|
||||
public xform m_X;
|
||||
public XForm m_X;
|
||||
public uint m_Type;
|
||||
public uint m_XMotionType;
|
||||
public uint m_YMotionType;
|
||||
@@ -144,7 +144,7 @@ namespace AssetStudio
|
||||
|
||||
public Collider(ObjectReader reader)
|
||||
{
|
||||
m_X = new xform(reader);
|
||||
m_X = reader.ReadXForm(reader.version);
|
||||
m_Type = reader.ReadUInt32();
|
||||
m_XMotionType = reader.ReadUInt32();
|
||||
m_YMotionType = reader.ReadUInt32();
|
||||
@@ -158,7 +158,7 @@ namespace AssetStudio
|
||||
|
||||
public class Human
|
||||
{
|
||||
public xform m_RootX;
|
||||
public XForm m_RootX;
|
||||
public Skeleton m_Skeleton;
|
||||
public SkeletonPose m_SkeletonPose;
|
||||
public Hand m_LeftHand;
|
||||
@@ -183,7 +183,7 @@ namespace AssetStudio
|
||||
public Human(ObjectReader reader)
|
||||
{
|
||||
var version = reader.version;
|
||||
m_RootX = new xform(reader);
|
||||
m_RootX = reader.ReadXForm(reader.version);
|
||||
m_Skeleton = new Skeleton(reader);
|
||||
m_SkeletonPose = new SkeletonPose(reader);
|
||||
m_LeftHand = new Hand(reader);
|
||||
@@ -243,7 +243,7 @@ namespace AssetStudio
|
||||
public int[] m_HumanSkeletonIndexArray;
|
||||
public int[] m_HumanSkeletonReverseIndexArray;
|
||||
public int m_RootMotionBoneIndex;
|
||||
public xform m_RootMotionBoneX;
|
||||
public XForm m_RootMotionBoneX;
|
||||
public Skeleton m_RootMotionSkeleton;
|
||||
public SkeletonPose m_RootMotionSkeletonPose;
|
||||
public int[] m_RootMotionSkeletonIndexArray;
|
||||
@@ -271,7 +271,7 @@ namespace AssetStudio
|
||||
}
|
||||
|
||||
m_RootMotionBoneIndex = reader.ReadInt32();
|
||||
m_RootMotionBoneX = new xform(reader);
|
||||
m_RootMotionBoneX = reader.ReadXForm(reader.version);
|
||||
|
||||
if (version[0] > 4 || (version[0] == 4 && version[1] >= 3)) //4.3 and up
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user