Esempio n. 1
0
 private static void OnPlayerControllerSetupInputComponent(IntPtr address)
 {
     try
     {
         UObject obj = GCHelper.Find(address);
         obj.SetupInputComponentInternal();
     }
     catch (Exception e)
     {
         LogCallbackException(nameof(OnPlayerControllerSetupInputComponent), e);
     }
 }
Esempio n. 2
0
        private static void OnPlayerControllerSetupInputComponent(IntPtr address)
        {
            try
            {
                UObject obj = GCHelper.Find(address);

                PlayerControllerSetupInputComponentDel_ThisCall original = playerControllerSetupInputComponent.GetOriginal <PlayerControllerSetupInputComponentDel_ThisCall>(obj);
                original(address);
                //Native_VTableHacks.CallOriginal_PlayerControllerSetupInputComponent(original)

                obj.SetupInputComponentInternal();
            }
            catch (Exception e)
            {
                LogCallbackException(nameof(OnPlayerControllerSetupInputComponent), e);
            }
        }