From 15b40c7915fca14e537534ae9ba03f3add965943 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Fri, 13 Jun 2025 03:35:56 -0300 Subject: more work on `operate.cc` --- src/info.hh | 1 + 1 file changed, 1 insertion(+) (limited to 'src/info.hh') 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); -- cgit v1.2.3