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

        CheatCmdRef.set_stGearAdvAll(new CSDT_CHEAT_GEARADV_ALL());
        CheatCmdRef.get_stGearAdvAll().dwHeroID    = (uint)dwHeroID;
        CheatCmdRef.get_stGearAdvAll().iQuality    = iQuality;
        CheatCmdRef.get_stGearAdvAll().iSubQuality = iSubQuality;
        return(CheatCommandBase.Done);
    }