Beispiel #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);
            }
        }
Beispiel #2
0
 public static void onGoodUnequipped(GoodUnEquippedEvent _Event)
 {
     onGoodUnequipped(_Event);
 }
Beispiel #3
0
 public void PushEventOnGoodUnequipped(GoodUnEquippedEvent _Event)
 {
     _pushEventGoodUnequipped(_Event);
 }
Beispiel #4
0
 protected virtual void _pushEventGoodUnequipped(GoodUnEquippedEvent _Event)
 {
 }
Beispiel #5
0
 protected override void _pushEventGoodUnequipped(GoodUnEquippedEvent _Event)
 {
     pushEvent(_Event);
 }