Ejemplo n.º 1
0
        // Token: 0x06000372 RID: 882 RVA: 0x000189CC File Offset: 0x00016BCC
        public void FromBytes(byte[] bytes, int startIndex)
        {
            this.FrameIndex = BitConverter.ToInt32(bytes, startIndex);
            int num = startIndex + 4;

            this.Visible = (bytes[num++] > 0);
            int num2 = BitConverter.ToInt32(bytes, num);

            num += 4;
            byte[] array = new byte[20];
            for (int i = 0; i < num2; i++)
            {
                VmdVisibleIK.IK ik = new VmdVisibleIK.IK();
                Array.Copy(bytes, num, array, 0, 20);
                ik.IKName = BytesStringProc.GetString(array, 0);
                num      += 20;
                ik.Enable = (bytes[num++] > 0);
                this.IKList.Add(ik);
            }
        }
Ejemplo n.º 2
0
 // Token: 0x060003DA RID: 986 RVA: 0x0001A1DF File Offset: 0x000183DF
 public IK(VmdVisibleIK.IK ik)
 {
     this.IKName = ik.IKName;
     this.Enable = ik.Enable;
 }