protected void RegisterMethod(
            Type InEntryType,
            CheatCommandEntryAttribute InEntryAttr,
            MethodInfo InMethod,
            CheatCommandEntryMethodAttribute InMethodAttr
            )
        {
            CheatCommandMethod MethodCommand =
                new CheatCommandMethod(InMethod, InEntryAttr, InMethodAttr);

            CheatCommandsRepository.instance.RegisterCommand(MethodCommand);
        }
Example #2
0
        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);
        }