Recurity.Swf.AVM1Modifier.FSCommand.GetInlineCode C# (CSharp) Method

GetInlineCode() public method

public GetInlineCode ( AVM1Code code, int instructionIndex ) : Modification
code AVM1Code
instructionIndex int
return Modification
        public Modification GetInlineCode( AVM1Code code, int instructionIndex )
        {
            List<string> all = new List<string>();
            for ( int i = 0; i < _Check.Count; i++ )
            {
                for ( int j = 0; j < _Check[ i ].InlineSource.Count; j++ )
                {
                    all.Add( _Check[ i ].InlineSource[ j ] );

                }
            }

            Modification m = new Modification( (uint)instructionIndex, code[ instructionIndex ], "OriginalAction" );
            m.Load( all, new List<ModVariable>() );
            return m;
        }