1
0

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:
madmaxoft@gmail.com 2013-05-26 20:18:56 +00:00
parent 976c33377c
commit 46ce9df7d9
2 changed files with 10 additions and 2 deletions

View File

@ -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

View File

@ -3,6 +3,10 @@
#include "Item.h" #include "Item.h"
class cPlugin; class cPlugin;
// fwd: World.h // fwd: World.h