コード例 #1
0
    protected override string Execute(string[] InArguments, ref CSDT_CHEATCMD_DETAIL CheatCmdRef)
    {
        EComplaintType dwType = CheatCommandBase.SmartConvert <EComplaintType>(InArguments[0]);
        int            iValue = CheatCommandBase.SmartConvert <int>(InArguments[1]);

        CheatCmdRef.set_stDelCreditByType(new CSDT_CHEAT_DELCREDIT());
        CheatCmdRef.get_stDelCreditByType().dwType = (uint)dwType;
        CheatCmdRef.get_stDelCreditByType().iValue = iValue;
        return(CheatCommandBase.Done);
    }