File: inventory.h

package info (click to toggle)
aime 0.60.3-7
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 6,016 kB
  • ctags: 5,217
  • sloc: cpp: 77,611; ansic: 3,765; sh: 2,996; makefile: 234; sed: 93
file content (30 lines) | stat: -rw-r--r-- 524 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef __INVENTORY_H_
#define __INVENTORY_H_

#include "linkedlist.h"

class MudObject;
class Merger;
class Player;

class Inventory : public LinkedList<MudObject>
{
public:
   Inventory();
   ~Inventory();
   MudObject *find(char *the_name, int *the_num);
   MudObject *find_by_objname(char *the_name, char *the_area);
   MudObject *find_altname(char *the_name);
   Merger *get_same_merger(char *the_parent);

   int display_list(Player *the_player);

   int get_mem_size();
   int get_mem_size_dynamic();

};
 
#endif