19 #ifndef PS_HEADER_SLOTS 20 #define PS_HEADER_SLOTS 22 #include <csutil/csstring.h> 23 #include <csutil/strhashr.h> 24 #include <csutil/parray.h> 96 int GetID(
const csString& name );
107 struct PrimaryToSecondary
109 csString primary,secondary;
112 csStringHashReversible slotNames;
113 csPDelArray<PrimaryToSecondary> secondaryNames;
const char * GetSecondaryName(int id)
Get the secondary, non exact name.
int GetID(const csString &name)
Get the enum ID from a string name.
INVENTORY_SLOT_NUMBER
Holds a list of the possible socket identifiers that items can be attached to.
A hash map class that stores a name->ID of sockets.
const char * GetName(int id)
Get the name from an enum.
void AddSecondaryName(const char *primary, const char *secondary)