public override bool Equals(System.Object object_Renamed)
        {
            bool isEqual = false;

            if (base.Equals(object_Renamed) && (object_Renamed is ZoneRecord))
            {
                ZoneRecord record = (ZoneRecord)object_Renamed;
                if (numZoneData == record.numZoneData && ArrayUtil.equals(zoneData, record.zoneData) && zoneMask == record.zoneMask)
                {
                    isEqual = true;
                }
            }
            return(isEqual);
        }
        public override bool Equals(System.Object object_Renamed)
        {
            bool isEqual = false;

            if (object_Renamed is FlashUUID)
            {
                FlashUUID flashUUID = (FlashUUID)object_Renamed;
                if (ArrayUtil.equals(flashUUID.bytes, this.bytes))
                {
                    isEqual = true;
                }
            }

            return(isEqual);
        }
示例#3
0
        public override bool Equals(System.Object obj)
        {
            bool isEqual = false;

            if (base.Equals(obj) && (obj is DefineFunction))
            {
                DefineFunction defineFunction = (DefineFunction)obj;

                if (equals(defineFunction.name, this.name) && ArrayUtil.equals(defineFunction.params_Renamed, this.params_Renamed) && equals(defineFunction.actionList, this.actionList) && ArrayUtil.equals(defineFunction.paramReg, this.paramReg) && (defineFunction.regCount == this.regCount) && (defineFunction.flags == this.flags))
                {
                    isEqual = true;
                }
            }

            return(isEqual);
        }
示例#4
0
        public override bool Equals(System.Object object_Renamed)
        {
            bool isEqual = false;

            if (base.Equals(object_Renamed) && (object_Renamed is ConstantPool))
            {
                ConstantPool constantPool = (ConstantPool)object_Renamed;

                if (ArrayUtil.equals(constantPool.pool, this.pool))
                {
                    isEqual = true;
                }
            }

            return(isEqual);
        }
示例#5
0
        public override bool Equals(System.Object object_Renamed)
        {
            bool isEqual = false;

            if (base.Equals(object_Renamed) && (object_Renamed is DefineBits))
            {
                DefineBits defineBits = (DefineBits)object_Renamed;

                if (ArrayUtil.equals(defineBits.data, this.data) && equals(defineBits.jpegTables, this.jpegTables))
                {
                    isEqual = true;
                }
            }

            return(isEqual);
        }
示例#6
0
        public override bool Equals(System.Object object_Renamed)
        {
            bool isEqual = false;

            if (base.Equals(object_Renamed) && (object_Renamed is DefineBitsJPEG3))
            {
                DefineBitsJPEG3 defineBitsJPEG3 = (DefineBitsJPEG3)object_Renamed;

                if ((defineBitsJPEG3.alphaDataOffset == this.alphaDataOffset) && ArrayUtil.equals(defineBitsJPEG3.alphaData, this.alphaData))
                {
                    isEqual = true;
                }
            }

            return(isEqual);
        }
示例#7
0
        public override bool Equals(System.Object object_Renamed)
        {
            bool isEqual = false;

            if (object_Renamed is ActionList)
            {
                ActionList actionList = (ActionList)object_Renamed;

                if (ArrayUtil.equals(actionList.actions, this.actions))
                {
                    isEqual = true;
                }
            }

            return(isEqual);
        }
示例#8
0
        public override bool Equals(System.Object object_Renamed)
        {
            bool isEqual = false;

            if (base.Equals(object_Renamed) && (object_Renamed is Unknown))
            {
                Unknown unknown = (Unknown)object_Renamed;

                if (ArrayUtil.equals(unknown.data, this.data))
                {
                    isEqual = true;
                }
            }

            return(isEqual);
        }
示例#9
0
        public override bool Equals(System.Object obj)
        {
            bool isEqual = false;

            if (base.Equals(obj) && (obj is DefineButton))
            {
                DefineButton defineButton = (DefineButton)obj;

                if (ArrayUtil.equals(defineButton.buttonRecords, this.buttonRecords) && equals(defineButton.sounds, this.sounds) && equals(defineButton.cxform, this.cxform) && (defineButton.trackAsMenu == this.trackAsMenu) && ArrayUtil.equals(defineButton.condActions, this.condActions))
                {
                    isEqual = true;
                }
            }

            return(isEqual);
        }
        public override bool Equals(System.Object object_Renamed)
        {
            bool isEqual = false;

            if (base.Equals(object_Renamed) && (object_Renamed is DefineBinaryData))
            {
                DefineBinaryData defineBinaryData = (DefineBinaryData)object_Renamed;

                if (ArrayUtil.equals(defineBinaryData.data, this.data))
                {
                    isEqual = true;
                }
            }

            return(isEqual);
        }
示例#11
0
        public override bool Equals(System.Object object_Renamed)
        {
            bool isEqual = false;

            if (base.Equals(object_Renamed) && (object_Renamed is DefineBitsLossless))
            {
                DefineBitsLossless defineBitsLossless = (DefineBitsLossless)object_Renamed;

                if ((defineBitsLossless.format == this.format) && (defineBitsLossless.width == this.width) && (defineBitsLossless.height == this.height) && ArrayUtil.equals(defineBitsLossless.colorData, this.colorData))
                {
                    isEqual = true;
                }
            }

            return(isEqual);
        }
        public override bool Equals(System.Object object_Renamed)
        {
            bool isEqual = false;

            if (base.Equals(object_Renamed) && (object_Renamed is DefineFontAlignZones))
            {
                DefineFontAlignZones alignZones = (DefineFontAlignZones)object_Renamed;

                if (font.Equals(alignZones.font) && csmTableHint == alignZones.csmTableHint && ArrayUtil.equals(zoneTable, alignZones.zoneTable))
                {
                    isEqual = true;
                }
            }
            return(isEqual);
        }
示例#13
0
        public override bool Equals(System.Object o)
        {
            if (!(o is Gradient))
            {
                return(false);
            }

            Gradient otherGradient = (Gradient)o;

            return((otherGradient.spreadMode == spreadMode) && (otherGradient.interpolationMode == interpolationMode) && ArrayUtil.equals(otherGradient.records, records));
        }
示例#14
0
        public override bool Equals(System.Object object_Renamed)
        {
            bool isEqual = false;

            if (base.Equals(object_Renamed) && (object_Renamed is VideoFrame))
            {
                VideoFrame videoFrame = (VideoFrame)object_Renamed;

                if (equals(videoFrame.stream, this.stream) && (videoFrame.frameNum == this.frameNum) && ArrayUtil.equals(videoFrame.videoData, this.videoData))
                {
                    isEqual = true;
                }
            }

            return(isEqual);
        }
示例#15
0
        public override bool Equals(System.Object object_Renamed)
        {
            bool isEqual = false;

            if (object_Renamed is TextRecord)
            {
                TextRecord textRecord = (TextRecord)object_Renamed;

                if ((textRecord.flags == this.flags) && (textRecord.color == this.color) && (textRecord.xOffset == this.xOffset) && (textRecord.yOffset == this.yOffset) && (textRecord.height == this.height) && (textRecord.font == this.font) && (ArrayUtil.equals(textRecord.entries, this.entries)))
                {
                    isEqual = true;
                }
            }

            return(isEqual);
        }
示例#16
0
        public override bool Equals(System.Object object_Renamed)
        {
            bool isEqual = false;

            if (base.Equals(object_Renamed) && (object_Renamed is DefineFontInfo))
            {
                DefineFontInfo defineFontInfo = (DefineFontInfo)object_Renamed;

                // [paul] Checking that the font fields are equal would
                // lead to an infinite loop, because DefineFont contains a
                // reference to it's DefineFontInfo.
                if (equals(defineFontInfo.name, this.name) && (defineFontInfo.shiftJIS == this.shiftJIS) && (defineFontInfo.ansi == this.ansi) && (defineFontInfo.italic == this.italic) && (defineFontInfo.bold == this.bold) && ArrayUtil.equals(defineFontInfo.codeTable, this.codeTable) && (defineFontInfo.langCode == this.langCode))
                {
                    isEqual = true;
                }
            }

            return(isEqual);
        }
示例#17
0
        public override bool Equals(System.Object object_Renamed)
        {
            bool isEqual = false;

            if (base.Equals(object_Renamed) && (object_Renamed is DefineSound))
            {
                DefineSound defineSound = (DefineSound)object_Renamed;

                if ((defineSound.format == this.format) && (defineSound.rate == this.rate) && (defineSound.size == this.size) && (defineSound.type == this.type) && (defineSound.sampleCount == this.sampleCount) && ArrayUtil.equals(defineSound.data, this.data))
                {
                    isEqual = true;
                }
            }

            return(isEqual);
        }
示例#18
0
        public override bool Equals(System.Object object_Renamed)
        {
            bool isEqual = false;

            if (object_Renamed is SoundInfo)
            {
                SoundInfo soundInfo = (SoundInfo)object_Renamed;

                if ((soundInfo.syncStop == this.syncStop) && (soundInfo.syncNoMultiple == this.syncNoMultiple) && (soundInfo.inPoint == this.inPoint) && (soundInfo.outPoint == this.outPoint) && (soundInfo.loopCount == this.loopCount) && ArrayUtil.equals(soundInfo.records, this.records))
                {
                    isEqual = true;
                }
            }

            return(isEqual);
        }
        public override bool Equals(System.Object object_Renamed)
        {
            bool isEqual = false;

            if (object_Renamed is MorphFillStyle)
            {
                MorphFillStyle morphFillStyle = (MorphFillStyle)object_Renamed;

                if ((morphFillStyle.type == this.type) && (morphFillStyle.startColor == this.startColor) && (morphFillStyle.endColor == this.endColor) && (morphFillStyle.ratio1 == this.ratio1) && (morphFillStyle.ratio2 == this.ratio2) && (((morphFillStyle.startGradientMatrix == null) && (this.startGradientMatrix == null)) || ((morphFillStyle.startGradientMatrix != null) && (this.startGradientMatrix != null) && morphFillStyle.startGradientMatrix.Equals(this.startGradientMatrix))) && (((morphFillStyle.endGradientMatrix == null) && (this.endGradientMatrix == null)) || ((morphFillStyle.endGradientMatrix != null) && (this.endGradientMatrix != null) && morphFillStyle.endGradientMatrix.Equals(this.endGradientMatrix))) && ArrayUtil.equals(morphFillStyle.gradRecords, this.gradRecords) && (((morphFillStyle.bitmap == null) && (this.bitmap == null)) || ((morphFillStyle.bitmap != null) && (this.bitmap != null) && morphFillStyle.bitmap.Equals(this.bitmap))) && (((morphFillStyle.startBitmapMatrix == null) && (this.startBitmapMatrix == null)) || ((morphFillStyle.startBitmapMatrix != null) && (this.startBitmapMatrix != null) && morphFillStyle.startBitmapMatrix.Equals(this.startBitmapMatrix))) && (((morphFillStyle.endBitmapMatrix == null) && (this.endBitmapMatrix == null)) || ((morphFillStyle.endBitmapMatrix != null) && (this.endBitmapMatrix != null) && morphFillStyle.endBitmapMatrix.Equals(this.endBitmapMatrix))))
                {
                    isEqual = true;
                }
            }

            return(isEqual);
        }