Ejemplo n.º 1
0
 protected override string Execute(string[] InArguments, ref CSDT_CHEATCMD_DETAIL CheatCmdRef)
 {
     CheatCmdRef.set_stAddGameStatistic(new CSDT_CHEAT_ADD_GAME_STATISTIC());
     CheatCmdRef.get_stAddGameStatistic().dwHeroID = CheatCommandBase.SmartConvert <uint>(InArguments[0]);
     CheatCmdRef.get_stAddGameStatistic().stStatisticInfo.bGameType = (byte)CheatCommandBase.SmartConvert <EGameType>(InArguments[1]);
     CheatCmdRef.get_stAddGameStatistic().stStatisticInfo.dwWinNum = CheatCommandBase.SmartConvert <uint>(InArguments[2]);
     CheatCmdRef.get_stAddGameStatistic().stStatisticInfo.dwLoseNum = CheatCommandBase.SmartConvert <uint>(InArguments[3]);
     CheatCmdRef.get_stAddGameStatistic().stStatisticInfo.ullKDAPct = CheatCommandBase.SmartConvert <ulong>(InArguments[4]);
     CheatCmdRef.get_stAddGameStatistic().stStatisticInfo.ullTotalHurt = CheatCommandBase.SmartConvert <ulong>(InArguments[5]);
     CheatCmdRef.get_stAddGameStatistic().stStatisticInfo.ullTotalBeHurt = CheatCommandBase.SmartConvert <ulong>(InArguments[6]);
     CheatCmdRef.get_stAddGameStatistic().stStatisticInfo.ullTotalHurtOrgan = CheatCommandBase.SmartConvert <ulong>(InArguments[7]);
     CheatCmdRef.get_stAddGameStatistic().stStatisticInfo.dwTripleKill = CheatCommandBase.SmartConvert <uint>(InArguments[8]);
     CheatCmdRef.get_stAddGameStatistic().stStatisticInfo.dwUltraKill = CheatCommandBase.SmartConvert <uint>(InArguments[9]);
     CheatCmdRef.get_stAddGameStatistic().stStatisticInfo.dwRampage = CheatCommandBase.SmartConvert <uint>(InArguments[10]);
     CheatCmdRef.get_stAddGameStatistic().stStatisticInfo.dwMvp = CheatCommandBase.SmartConvert <uint>(InArguments[11]);
     CheatCmdRef.get_stAddGameStatistic().stStatisticInfo.dwLoseSoul = CheatCommandBase.SmartConvert <uint>(InArguments[12]);
     return(CheatCommandBase.Done);
 }