396 |
* to the next item in the stack. |
* to the next item in the stack. |
397 |
*/ |
*/ |
398 |
item *Next; |
item *Next; |
399 |
|
|
400 |
/** |
/// This method may make changes to the item's stack. |
|
* @name Item Stack handling |
|
|
*/ |
|
|
//@{ |
|
401 |
friend u_int32 slot::add (item * itm, const u_int32 & count = 1); |
friend u_int32 slot::add (item * itm, const u_int32 & count = 1); |
402 |
|
/// This method may make changes to the item's stack. |
403 |
friend u_int32 slot::remove (item * itm, const u_int32 & count = 1); |
friend u_int32 slot::remove (item * itm, const u_int32 & count = 1); |
404 |
|
|
405 |
/** |
/** |
421 |
* @return the item(s) remaining in this stack. |
* @return the item(s) remaining in this stack. |
422 |
*/ |
*/ |
423 |
item *split (u_int32 number = 1); |
item *split (u_int32 number = 1); |
|
//@} |
|
424 |
}; |
}; |
425 |
} |
} |
426 |
#endif // RPG_ITEM_H |
#endif // RPG_ITEM_H |