public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader)
 {
     System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader));
     this.Name                          = binaryReader.ReadStringID();
     this.NodeListChecksum              = binaryReader.ReadInt32();
     this.ProductionChecksum            = binaryReader.ReadInt32();
     this.ImportChecksum                = binaryReader.ReadInt32();
     this.Type                          = ((TypeEnum)(binaryReader.ReadByte()));
     this.FrameInfoType                 = ((FrameInfoTypeEnum)(binaryReader.ReadByte()));
     this.BlendScreen                   = binaryReader.ReadByteBlockIndex1();
     this.NodeCount                     = binaryReader.ReadByte();
     this.FrameCount                    = binaryReader.ReadInt16();
     this.AnimationPoolInternalFlags    = ((InternalFlags)(binaryReader.ReadByte()));
     this.AnimationPoolProductionFlags  = ((ProductionFlags)(binaryReader.ReadByte()));
     this.AnimationPoolPlaybackFlags    = ((PlaybackFlags)(binaryReader.ReadInt16()));
     this.DesiredCompression            = ((DesiredCompressionEnum)(binaryReader.ReadByte()));
     this.CurrentCompression            = ((CurrentCompressionEnum)(binaryReader.ReadByte()));
     this.Weight                        = binaryReader.ReadSingle();
     this.ParentGraphIndex              = binaryReader.ReadInt32();
     this.ParentGraphBlockIndex         = binaryReader.ReadInt32();
     this.ParentGraphBlockOffset        = binaryReader.ReadInt32();
     this.ParentGraphStartingPointIndex = binaryReader.ReadInt16();
     this.LoopFrameIndex                = binaryReader.ReadInt16();
     this.ParentAnimation               = binaryReader.ReadShortBlockIndex1();
     this.NextAnimation                 = binaryReader.ReadShortBlockIndex1();
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(1));
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.DataSizes.ReadFields(binaryReader)));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(4));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(8));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(4));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(28));
     return(pointerQueue);
 }
示例#2
0
 public static bool IsSet(this ProductionFlags flags, ProductionFlags flag)
 {
     return((flags & flag) != 0);
 }
 public static bool IsSet(this ProductionFlags flags, ProductionFlags flag) {
   return (flags & flag) != 0;
 }
示例#4
0
        }//constructor

        public bool IsSet(ProductionFlags flag)
        {
            return((Flags & flag) != ProductionFlags.None);
        }