Retrieves the first empty slot index.
[Visual Basic] Public Function free_slot() As Integer [C#] public int free_slot(); [C++] public: int free_slot(); [JScript] public function free_slot(): int;
Index of free slot, -1 if none.
ItemContainer Class | croemud.item Namespace