protected void RegisterMethod( Type InEntryType, CheatCommandEntryAttribute InEntryAttr, MethodInfo InMethod, CheatCommandEntryMethodAttribute InMethodAttr ) { CheatCommandMethod MethodCommand = new CheatCommandMethod(InMethod, InEntryAttr, InMethodAttr); CheatCommandsRepository.instance.RegisterCommand(MethodCommand); }
protected void RegisterMethod( Type InEntryType, CheatCommandEntryAttribute InEntryAttr, MethodInfo InMethod, CheatCommandEntryMethodAttribute InMethodAttr ) { Debug.Log("[CheatCommandRegister::RegisterMethod]Name:" + InEntryType.Name + " Method:" + InMethod.Name); CheatCommandMethod MethodCommand = new CheatCommandMethod(InMethod, InEntryAttr, InMethodAttr); CheatCommandsRepository.instance.RegisterCommand(MethodCommand); }