protected override string Execute(string[] InArguments, ref CSDT_CHEATCMD_DETAIL CheatCmdRef) { string empty = string.Empty; if (this.CheckArguments(InArguments, out empty)) { CheatCmdRef.set_stSetFreeHero(new CSDT_CHEAT_SET_FREE_HERO()); CheatCmdRef.get_stSetFreeHero().wYear = CheatCommandBase.SmartConvert <ushort>(InArguments[0]); EMonth eMonth = (EMonth)CheatCommandBase.StringToEnum(InArguments[1], typeof(EMonth)); CheatCmdRef.get_stSetFreeHero().bMonth = (byte)eMonth; CheatCmdRef.get_stSetFreeHero().bDay = CheatCommandBase.SmartConvert <byte>(InArguments[2]); CheatCmdRef.get_stSetFreeHero().bHour = CheatCommandBase.SmartConvert <byte>(InArguments[3]); CheatCmdRef.get_stSetFreeHero().dwHeroID = CheatCommandBase.SmartConvert <uint>(InArguments[4]); CheatCmdRef.get_stSetFreeHero().dwCreditLevel = CheatCommandBase.SmartConvert <uint>(InArguments[5]); return(CheatCommandBase.Done); } return(empty); }