internal static unsafe InAppPurchaseCallbackProxy Invoke(PlayerController PlayerController, InAppPurchaseProductRequest ProductRequest)
            {
                long *p = stackalloc long[] { 0L, 0L, 0L, 0L, 0L, 0L };
                byte *b = (byte *)p;

                *((IntPtr *)(b + 0)) = PlayerController;
                *((InAppPurchaseProductRequest *)(b + 8)) = ProductRequest;
                Main.GetProcessEvent(InAppPurchaseCallbackProxy.DefaultObject, CreateProxyObjectForInAppPurchase_ptr, new IntPtr(p));;
                return(*((IntPtr *)(b + 32)));
            }
        }
Example #2
0
 ///<summary>Kicks off a transaction for the provided product identifier</summary>
 public static InAppPurchaseCallbackProxy CreateProxyObjectForInAppPurchase(PlayerController PlayerController, InAppPurchaseProductRequest ProductRequest) =>
 InAppPurchaseCallbackProxy_methods.CreateProxyObjectForInAppPurchase_method.Invoke(PlayerController, ProductRequest);