Groovy Documentation

de.dewarim.goblin
[Groovy] Class ItemController

java.lang.Object
  de.dewarim.goblin.BaseController
      de.dewarim.goblin.ItemController

class ItemController
extends BaseController

Property Summary
java.lang.Object featureService

java.lang.Object itemService

 
Constructor Summary
ItemController()

 
Method Summary
java.lang.Object carryItem()

java.lang.Object dropItem()

java.lang.Object equipItem()

java.lang.Object renderInventory()

java.lang.Object showInventory()

java.lang.Object unequipItem()

java.lang.Object useItem()

Use an item belonging to the player in the context of a combat setting.

 
Methods inherited from class BaseController
fetchItem, fetchPc, fetchUser, renderException
 

Property Detail

featureService

java.lang.Object featureService


itemService

java.lang.Object itemService


 
Constructor Detail

ItemController

ItemController()


 
Method Detail

carryItem

@Secured(['ROLE_USER'])
java.lang.Object carryItem()


dropItem

@Secured(['ROLE_USER'])
java.lang.Object dropItem()


equipItem

@Secured(['ROLE_USER'])
java.lang.Object equipItem()


renderInventory

@Secured(['ROLE_USER'])
java.lang.Object renderInventory()


showInventory

@Secured(['ROLE_USER'])
java.lang.Object showInventory()


unequipItem

@Secured(['ROLE_USER'])
java.lang.Object unequipItem()


useItem

@Secured(['ROLE_USER'])
java.lang.Object useItem()
Use an item belonging to the player in the context of a combat setting.


 

Groovy Documentation