Exemplo n.º 1
0
        public static void onItemPurchaseStarted(ItemPurchaseStartedEvent _Event, bool alsoPush)
        {
            SoomlaWpStore.domain.PurchasableVirtualItem purchasableVirtualItem = _Event.GetPurchasableVirtualItem();
            SoomlaUtils.LogDebug(TAG, "SOOMLA/UNITY onItemPurchaseStarted:" + purchasableVirtualItem.getItemId());

            PurchasableVirtualItem pvi = (PurchasableVirtualItem)StoreInfo.GetItemByItemId(purchasableVirtualItem.getItemId());

            StoreEvents.OnItemPurchaseStarted(pvi);

            if (alsoPush)
            {
                sep.PushEventOnItemPurchaseStarted(_Event);
            }
        }
Exemplo n.º 2
0
 public static void onItemPurchaseStarted(ItemPurchaseStartedEvent _Event)
 {
     onItemPurchaseStarted(_Event, false);
 }
Exemplo n.º 3
0
 public void PushEventOnItemPurchaseStarted(ItemPurchaseStartedEvent _Event)
 {
     _pushEventItemPurchaseStarted(_Event);
 }
Exemplo n.º 4
0
 protected virtual void _pushEventItemPurchaseStarted(ItemPurchaseStartedEvent _Event)
 {
 }
Exemplo n.º 5
0
 protected override void _pushEventItemPurchaseStarted(ItemPurchaseStartedEvent _Event)
 {
     pushEvent(_Event);
 }