-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1595 from DarkflameUniverse/issue-462
fix: prevent moving items between inventories under cetain circumsances
- Loading branch information
Showing
3 changed files
with
63 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#ifndef __EREPONSEMOVEITEMBETWEENINVENTORYTYPECODE__H__ | ||
#define __EREPONSEMOVEITEMBETWEENINVENTORYTYPECODE__H__ | ||
|
||
#include <cstdint> | ||
|
||
enum class eReponseMoveItemBetweenInventoryTypeCode : int32_t { | ||
SUCCESS, | ||
FAIL_GENERIC, | ||
FAIL_INV_FULL, | ||
FAIL_ITEM_NOT_FOUND, | ||
FAIL_CANT_MOVE_TO_THAT_INV_TYPE, | ||
FAIL_NOT_NEAR_BANK, | ||
FAIL_CANT_SWAP_ITEMS, | ||
FAIL_SOURCE_TYPE, | ||
FAIL_WRONG_DEST_TYPE, | ||
FAIL_SWAP_DEST_TYPE, | ||
FAIL_CANT_MOVE_THINKING_HAT, | ||
FAIL_DISMOUNT_BEFORE_MOVING | ||
}; | ||
|
||
#endif //!__EREPONSEMOVEITEMBETWEENINVENTORYTYPECODE__H__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters