コード例 #1
0
        protected override object OnCalc(IList <object> operands, object[] args)
        {
            string file       = operands[0] as string;
            string className  = operands[1] as string;
            string methodName = operands[2] as string;
            uint   pos        = CastTo <uint>(operands[3]);
            string cn         = operands[4] as string;
            string mn         = operands[5] as string;

            ScriptProcessor.WriteCall(file, className, methodName, pos, cn, mn);
            return(0);
        }
コード例 #2
0
ファイル: Commands.cs プロジェクト: dreamanlan/DotnetPatch
        protected override CalculatorValue OnCalc(IList <CalculatorValue> operands)
        {
            string file       = operands[0].AsString;
            string className  = operands[1].AsString;
            string methodName = operands[2].AsString;
            uint   pos        = CastTo <uint>(operands[3]);
            string cn         = operands[4].AsString;
            string mn         = operands[5].AsString;

            ScriptProcessor.WriteCall(file, className, methodName, pos, cn, mn);
            return(0);
        }