diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2025-06-13 03:35:56 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2025-06-13 03:35:56 -0300 |
| commit | 15b40c7915fca14e537534ae9ba03f3add965943 (patch) | |
| tree | de3ee3c61962b300bd7457cc81845e7891c4b896 /src/info.hh | |
| parent | 7d298e5a4119df0910daa070af1d23567a83e90c (diff) | |
| download | game-15b40c7915fca14e537534ae9ba03f3add965943.tar.gz game-15b40c7915fca14e537534ae9ba03f3add965943.zip | |
more work on `operate.cc`
Diffstat (limited to 'src/info.hh')
| -rw-r--r-- | src/info.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/info.hh b/src/info.hh index adf3ce4..0a7f919 100644 --- a/src/info.hh +++ b/src/info.hh @@ -31,6 +31,7 @@ Object GetContainer(uint32 CreatureID, int x, int y, int z); Object GetObject(uint32 CreatureID, int x, int y, int z, int RNum, ObjectType Type); Object GetRowObject(Object Obj, ObjectType Type, uint32 Value, bool Recurse); Object GetInventoryObject(uint32 CreatureID, ObjectType Type, uint32 Value); +bool IsHeldByContainer(Object Obj, Object Con); int CountObjectsInContainer(Object Con); int CountObjects(Object Obj); int CountObjects(Object Obj, ObjectType Type, uint32 Value); |
