mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-20 01:37:50 -05:00
Brought up to date with the private repository (feea4c7)
This commit is contained in:
1 parent
1aa738d692
commit
1b1df1ae48
7925 files changed
+2617237
-20
No files matched your search
@@ -0,0 +1,41 @@
|
||||
package Enums
|
||||
{
|
||||
public class TradeItem
|
||||
{
|
||||
|
||||
public static const ITEM_TYPE_ACCESSORY_ITEM:int = 0;
|
||||
|
||||
public static const ITEM_TYPE_DEN_ITEM:int = 1;
|
||||
|
||||
public static const ITEM_TYPE_AUDIO_ITEM:int = 2;
|
||||
|
||||
public static const ITEM_TYPE_PET_ITEM:int = 3;
|
||||
|
||||
private var _invIdx:int;
|
||||
|
||||
private var _itemType:int;
|
||||
|
||||
public function TradeItem(param1:int, param2:int)
|
||||
{
|
||||
super();
|
||||
_invIdx = param1;
|
||||
_itemType = param2;
|
||||
}
|
||||
|
||||
public function get invIdx() : int
|
||||
{
|
||||
return _invIdx;
|
||||
}
|
||||
|
||||
public function get itemType() : int
|
||||
{
|
||||
return _itemType;
|
||||
}
|
||||
|
||||
public function isEqual(param1:TradeItem) : Boolean
|
||||
{
|
||||
return _invIdx == param1.invIdx && _itemType == param1.itemType;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user