Clarified documentation on the cItemGrid:RemoveItem() functions
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1519 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
976c33377c
commit
46ce9df7d9
@ -98,10 +98,14 @@ public:
|
|||||||
*/
|
*/
|
||||||
int ChangeSlotCount(int a_X, int a_Y, int a_AddToCount);
|
int ChangeSlotCount(int a_X, int a_Y, int a_AddToCount);
|
||||||
|
|
||||||
/// Removes one item from the specified slot, and returns it. If the slot was empty, returns an empty item
|
/** Removes one item from the stack in the specified slot, and returns it.
|
||||||
|
If the slot was empty, returns an empty item
|
||||||
|
*/
|
||||||
cItem RemoveOneItem(int a_SlotNum);
|
cItem RemoveOneItem(int a_SlotNum);
|
||||||
|
|
||||||
/// Removes one item from the specified slot, and returns it. If the slot was empty, returns an empty item
|
/** Removes one item from the stack in the specified slot, and returns it.
|
||||||
|
If the slot was empty, returns an empty item
|
||||||
|
*/
|
||||||
cItem RemoveOneItem(int a_X, int a_Y);
|
cItem RemoveOneItem(int a_X, int a_Y);
|
||||||
|
|
||||||
/// Returns the number of items of type a_Item that are stored
|
/// Returns the number of items of type a_Item that are stored
|
||||||
|
@ -3,6 +3,10 @@
|
|||||||
|
|
||||||
#include "Item.h"
|
#include "Item.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class cPlugin;
|
class cPlugin;
|
||||||
|
|
||||||
// fwd: World.h
|
// fwd: World.h
|
||||||
|
Loading…
Reference in New Issue
Block a user