public static void onItemPurchased(ItemPurchasedEvent _Event, bool alsoPush) { SoomlaWpStore.domain.PurchasableVirtualItem purchasableVirtualItem = _Event.GetPurchasableVirtualItem(); String payload = _Event.GetPayload(); SoomlaUtils.LogDebug(TAG, "SOOMLA/UNITY onItemPurchased:" + purchasableVirtualItem.getItemId() + " " + payload); PurchasableVirtualItem pvi = (PurchasableVirtualItem)StoreInfo.GetItemByItemId(purchasableVirtualItem.getItemId()); StoreEvents.OnItemPurchased(pvi, payload); if (alsoPush) { sep.PushEventOnItemPurchased(_Event); } }
public static void onItemPurchased(ItemPurchasedEvent _Event) { onItemPurchased(_Event, false); }
public void PushEventOnItemPurchased(ItemPurchasedEvent _Event) { _pushEventItemPurchased(_Event); }
protected virtual void _pushEventItemPurchased(ItemPurchasedEvent _Event) { }
protected override void _pushEventItemPurchased(ItemPurchasedEvent _Event) { pushEvent(_Event); }