Пример #1
0
        public FDelegateHandle RegisterConsoleVariableSink(FConsoleCommandDelegate handler)
        {
            FDelegateHandle result = default(FDelegateHandle);

            Native_IConsoleManager.RegisterConsoleVariableSink_Handle(Address, handler, ref result);
            managedVariableSinkHandlers[result] = handler;
            return(result);
        }
Пример #2
0
 public void UnregisterConsoleVariableSink(FDelegateHandle handle)
 {
     managedVariableSinkHandlers.Remove(handle);
     Native_IConsoleManager.UnregisterConsoleVariableSink_Handle(Address, ref handle);
 }