Atavism Version 2018.1AGIS API

atavism.agis.core
Interface AcquireHook

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AccountEffectItemAcquireHook, BuildingResourceAcquireHook, CurrencyItemAcquireHook, SpawnMobAcquireHook

public interface AcquireHook
extends java.io.Serializable

Class used with AgisItems. Run when an item is being added to a players bag.


Method Summary
 boolean acquired(OID activator, AgisItem item)
          Run when an item is added to a players bag.
 

Method Detail

acquired

boolean acquired(OID activator,
                 AgisItem item)
Run when an item is added to a players bag. If it returns true, the item will not be added to the bag.



Copyright © 2018 Dragonsan Studios Sp. z o.o.