Example #1
0
        public static void onGoodUnequipped(GoodUnEquippedEvent _Event, bool alsoPush)
        {
            SoomlaWpStore.domain.virtualGoods.EquippableVG good = _Event.GetEquippableVG();
            SoomlaUtils.LogDebug(TAG, "SOOMLA/UNITY onVirtualGoodUnEquipped:" + good.getItemId());

            EquippableVG vg = (EquippableVG)StoreInfo.GetItemByItemId(good.getItemId());

            StoreInventory.RefreshOnGoodUnEquipped(vg);
            StoreEvents.OnGoodUnEquipped(vg);

            if (alsoPush)
            {
                sep.PushEventOnGoodUnequipped(_Event);
            }
        }
Example #2
0
 public static void onGoodUnequipped(GoodUnEquippedEvent _Event)
 {
     onGoodUnequipped(_Event);
 }
Example #3
0
 public void PushEventOnGoodUnequipped(GoodUnEquippedEvent _Event)
 {
     _pushEventGoodUnequipped(_Event);
 }
Example #4
0
 protected virtual void _pushEventGoodUnequipped(GoodUnEquippedEvent _Event)
 {
 }
Example #5
0
 protected override void _pushEventGoodUnequipped(GoodUnEquippedEvent _Event)
 {
     pushEvent(_Event);
 }