コード例 #1
0
 public SEQS(BinaryReader br)
 {
     Name       = br.ReadString(80).TrimEnd('\0');
     Time       = br.ReadStruct <CiRange>();
     MoveSpeed  = br.ReadSingle();
     NonLooping = br.ReadInt32() == 1;
     Bounds     = br.ReadStruct <CExtent>();
     Frequency  = br.ReadSingle();
     Replay     = br.ReadStruct <CiRange>();
     BlendTime  = br.ReadUInt32();
 }
コード例 #2
0
 public M2Sequence(BinaryReader br, uint build)
 {
     Id             = br.ReadUInt16();
     VariationIndex = br.ReadUInt16();
     Time           = br.ReadStruct <CiRange>();
     MoveSpeed      = br.ReadSingle();
     Flags          = br.ReadEnum <M2Sequence_Flags>();
     Frequency      = br.ReadInt16();
     Pad            = br.ReadInt16();
     Replay         = br.ReadStruct <CiRange>();
     BlendTime      = br.ReadUInt32();
     Bounds         = br.ReadStruct <CExtent>();
     NextVariation  = br.ReadInt16();
     NextVariation  = br.ReadInt16();
 }