Beispiel #1
0
        public FDelegateHandle RegisterConsoleVariableSink(FConsoleCommandDelegate handler)
        {
            FDelegateHandle result = default(FDelegateHandle);

            Native_IConsoleManager.RegisterConsoleVariableSink_Handle(Address, handler, ref result);
            managedVariableSinkHandlers[result] = handler;
            return(result);
        }
Beispiel #2
0
 public IConsoleCommand RegisterConsoleCommand(string name, string help, FConsoleCommandDelegate command, EConsoleVariableFlags flags = EConsoleVariableFlags.Default)
 {
     return(RegisterConsoleCommand(name, help, command, CommandDelegateType.Default, flags));
 }