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.Type = ((TypeEnum)(binaryReader.ReadInt16())); this.Format = ((FormatEnum)(binaryReader.ReadInt16())); this.Usage = ((UsageEnum)(binaryReader.ReadInt16())); this.BitmapFlags = ((Flags)(binaryReader.ReadInt16())); this.DetailFadeFactor = binaryReader.ReadSingle(); this.SharpenAmount = binaryReader.ReadSingle(); this.BumpHeight = binaryReader.ReadSingle(); this.SpriteSize = ((SpriteSizeEnum)(binaryReader.ReadInt16())); this.EMPTYSTRING = binaryReader.ReadInt16(); this.ColorPlateWidth = binaryReader.ReadInt16(); this.ColorPlateHeight = binaryReader.ReadInt16(); this.data = binaryReader.ReadBytes(8); this.data0 = binaryReader.ReadBytes(8); this.BlurFilterSize = binaryReader.ReadSingle(); this.AlphaBias = binaryReader.ReadSingle(); this.MipmapCount = binaryReader.ReadInt16(); this.SpriteUsage = ((SpriteUsageEnum)(binaryReader.ReadInt16())); this.SpriteSpacing = binaryReader.ReadInt16(); this.ForceFormat = ((ForceFormatEnum)(binaryReader.ReadInt16())); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(60)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(116)); return(pointerQueue); }
private XRefEntry(int number, int generation, int offset, UsageEnum usage, int streamNumber) { this.number = number; this.generation = generation; this.offset = offset; this.usage = usage; this.streamNumber = streamNumber; }
public bool Equals(UsageEnum obj) { if ((object)obj == null) { return(false); } return(StringComparer.OrdinalIgnoreCase.Equals(this.Value, obj.Value)); }
/** * <summary>Instantiates an original ordinary (uncompressed) object entry.</summary> * <param name="number">Object number.</param> * <param name="generation">Generation number.</param> * <param name="offset">Indirect-object byte offset within the serialized file (in-use entry), * or the next free-object object number (free entry).</param> * <param name="usage">Usage state.</param> */ public XRefEntry( int number, int generation, int offset, UsageEnum usage ) : this(number, generation, offset, usage, UndefinedStreamNumber) { }
/** * <summary>Instantiates an original ordinary (uncompressed) object entry.</summary> * <param name="number">Object number.</param> * <param name="generation">Generation number.</param> * <param name="offset">Indirect-object byte offset within the serialized file (in-use entry), * or the next free-object object number (free entry).</param> * <param name="usage">Usage state.</param> */ public XRefEntry( int number, int generation, int offset, UsageEnum usage ) : this(number, generation, offset, usage, -1) { }
/** <summary>Instantiates an original ordinary (uncompressed) object entry.</summary> <param name="number">Object number.</param> <param name="generation">Generation number.</param> <param name="offset">Indirect-object byte offset within the serialized file (in-use entry), or the next free-object object number (free entry).</param> <param name="usage">Usage state.</param> */ public XRefEntry( int number, int generation, int offset, UsageEnum usage ) : this(number, generation, offset, usage, -1) { }
public VReg(CppBuilder builder, string prefix, VType vType, int slot, UsageEnum usage) { VType = vType; Slot = slot; Usage = usage; m_isAlive = false; DetermineTraceability(builder); m_basicName = prefix + slot.ToString(); m_slotName = m_basicName; }
private XRefEntry( int number, int generation, int offset, UsageEnum usage, int streamNumber ) { Number = number; Generation = generation; Offset = offset; Usage = usage; StreamNumber = streamNumber; }
private XRefEntry( int number, int generation, int offset, UsageEnum usage, int streamNumber ) { this.number = number; this.generation = generation; this.offset = offset; this.usage = usage; this.streamNumber = streamNumber; }