예제 #1
0
 public Class_eCMotionResource2(BinaryStream s)
 {
     NameClass = new string16(s);
     NumberClass = s.Read<byte>();
     NumberOfBlock = s.Read<ushort>();
     EndOfBlock = s.Read<ushort>();
     EndOfBlock = s.Read<ushort>();
     SizeOfBlock = s.Read<uint>();
     EndOfBlock = s.Read<ushort>();
     NumberEffects = s.Read<uint>();
     NameEffects = new string16(s);
     NameClassObj = new string16(s);
     CommandsOfBlockEffects = s.Read<ushort>();
     SizeOfBlockEffects = s.Read<uint>();
     NumberBlockOfEffects = s.Read<byte>();
     Effects = new IMAGE_EFFECTS(s);
 }
예제 #2
0
 public IMAGE_EFFECTS(BinaryStream s)
 {
     NumberOfEffects = s.Read<uint>();
     if (NumberOfEffects > 0)
     {
         for (int i = 0; i < NumberOfEffects; i++)
         {
             ushort SectionEffects = s.Read<ushort>();
             string16 NameEffects = new string16(s);
             Effects.Add(SectionEffects, NameEffects);
         }
         EndOfBlock = s.Read<ushort>();
     }
     else
     {
         EndOfBlock = s.Read<ushort>();
     }
 }