Beispiel #1
0
    protected override string Execute(string[] InArguments, ref CSDT_CHEATCMD_DETAIL CheatCmdRef)
    {
        CheatCmdRef.set_stPassMultiGame(new CSDT_CHEAT_PASS_MULTI_GAME());
        EWinOrLose eWinOrLose = (EWinOrLose)CheatCommandBase.StringToEnum(InArguments[0], typeof(EWinOrLose));

        CheatCmdRef.get_stPassMultiGame().bGameResult = ((eWinOrLose != EWinOrLose.胜利) ? 2 : 1);
        return(CheatCommandBase.Done);
    }