mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-03-04 04:30:21 +00:00
changes to how MoveItemMessage is handled; AvatarService messages for MoveItem purposes; stop shooting and put away weapon when sitting down
This commit is contained in:
parent
dd4b586bef
commit
e61f1dbdfc
6 changed files with 155 additions and 68 deletions
|
|
@ -20,4 +20,8 @@ object InventoryItem {
|
|||
def apply(obj : Equipment, start : Int) : InventoryItem = {
|
||||
new InventoryItem(obj, start)
|
||||
}
|
||||
|
||||
def unapply(entry : InventoryItem) : Option[(Equipment, Int)] = {
|
||||
Some((entry.obj, entry.start))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue