mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-05 08:40:08 +00:00
Add packages to plugins
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
package org.apollo.game.plugin.shops
|
||||
|
||||
import org.apollo.game.action.DistancedAction
|
||||
import org.apollo.game.message.handler.ItemVerificationHandler.InventorySupplier
|
||||
import org.apollo.game.message.impl.SetWidgetTextMessage
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
import CategoryWrapper.Affix
|
||||
package org.apollo.game.plugin.shops
|
||||
|
||||
import org.apollo.cache.def.NpcDefinition
|
||||
import org.apollo.game.plugin.shops.CategoryWrapper.Affix
|
||||
import org.apollo.game.plugin.util.lookup.lookup_item
|
||||
import org.apollo.game.plugin.util.lookup.lookup_npc
|
||||
import org.jetbrains.kotlin.utils.keysToMap
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
import Shop.Companion.ExchangeType.BUYING
|
||||
import Shop.Companion.ExchangeType.SELLING
|
||||
import Shop.PurchasePolicy.ANY
|
||||
import Shop.PurchasePolicy.NOTHING
|
||||
import Shop.PurchasePolicy.OWNED
|
||||
package org.apollo.game.plugin.shops
|
||||
|
||||
import org.apollo.cache.def.ItemDefinition
|
||||
import org.apollo.game.model.Item
|
||||
import org.apollo.game.model.entity.Player
|
||||
import org.apollo.game.model.inv.Inventory
|
||||
import org.apollo.game.model.inv.Inventory.StackMode.STACK_ALWAYS
|
||||
import org.apollo.game.plugin.shops.Shop.Companion.ExchangeType.BUYING
|
||||
import org.apollo.game.plugin.shops.Shop.Companion.ExchangeType.SELLING
|
||||
import org.apollo.game.plugin.shops.Shop.PurchasePolicy.ANY
|
||||
import org.apollo.game.plugin.shops.Shop.PurchasePolicy.NOTHING
|
||||
import org.apollo.game.plugin.shops.Shop.PurchasePolicy.OWNED
|
||||
|
||||
/**
|
||||
* Contains shop-related interface ids.
|
||||
|
||||
@@ -1,8 +1,12 @@
|
||||
|
||||
import org.apollo.game.message.handler.ItemVerificationHandler
|
||||
import org.apollo.game.message.impl.ItemActionMessage
|
||||
import org.apollo.game.message.impl.NpcActionMessage
|
||||
import org.apollo.game.model.entity.Mob
|
||||
import org.apollo.game.plugin.shops.Interfaces
|
||||
import org.apollo.game.plugin.shops.OpenShopAction
|
||||
import org.apollo.game.plugin.shops.PlayerInventorySupplier
|
||||
import org.apollo.game.plugin.shops.SHOPS
|
||||
import org.apollo.game.plugin.shops.Shop
|
||||
import org.apollo.game.scheduling.ScheduledTask
|
||||
|
||||
fun Mob.shop(): Shop? = SHOPS[definition.id]
|
||||
|
||||
Reference in New Issue
Block a user