nakedmudv3.6/
nakedmudv3.6/lib/
nakedmudv3.6/lib/help/A/
nakedmudv3.6/lib/help/B/
nakedmudv3.6/lib/help/C/
nakedmudv3.6/lib/help/D/
nakedmudv3.6/lib/help/G/
nakedmudv3.6/lib/help/H/
nakedmudv3.6/lib/help/J/
nakedmudv3.6/lib/help/L/
nakedmudv3.6/lib/help/M/
nakedmudv3.6/lib/help/O/
nakedmudv3.6/lib/help/P/
nakedmudv3.6/lib/help/R/
nakedmudv3.6/lib/help/S/
nakedmudv3.6/lib/help/W/
nakedmudv3.6/lib/logs/
nakedmudv3.6/lib/misc/
nakedmudv3.6/lib/players/
nakedmudv3.6/lib/txt/
nakedmudv3.6/lib/world/
nakedmudv3.6/lib/world/examples/
nakedmudv3.6/lib/world/examples/mproto/
nakedmudv3.6/lib/world/examples/oproto/
nakedmudv3.6/lib/world/examples/reset/
nakedmudv3.6/lib/world/examples/rproto/
nakedmudv3.6/lib/world/examples/trigger/
nakedmudv3.6/lib/world/limbo/
nakedmudv3.6/lib/world/limbo/room/
nakedmudv3.6/lib/world/limbo/rproto/
nakedmudv3.6/src/alias/
nakedmudv3.6/src/dyn_vars/
nakedmudv3.6/src/editor/
nakedmudv3.6/src/example_module/
nakedmudv3.6/src/help2/
nakedmudv3.6/src/set_val/
nakedmudv3.6/src/socials/
nakedmudv3.6/src/time/
#ifndef PROTOTYPE_H
#define PROTOTYPE_H
//*****************************************************************************
//
// prototype.h
//
// generic prototype datastructure for anything that can be generated with a
// python script (e.g. object, room, character). Supports inheritance from
// other prototypes.
//
//*****************************************************************************

PROTO_DATA    *newProto(void);
void        deleteProto(PROTO_DATA *data);
void        protoCopyTo(PROTO_DATA *from, PROTO_DATA *to);
PROTO_DATA   *protoCopy(PROTO_DATA *data);
STORAGE_SET *protoStore(PROTO_DATA *data);
PROTO_DATA   *protoRead(STORAGE_SET *set);
bool           protoRun(PROTO_DATA *proto, const char *type, void *pynewfunc, 
			void *protoaddfunc, void *protoclassfunc, void *me);
CHAR_DATA  *protoMobRun(PROTO_DATA *proto);
OBJ_DATA   *protoObjRun(PROTO_DATA *proto);
ROOM_DATA *protoRoomRun(PROTO_DATA *proto);


//
// setters
void      protoSetKey(PROTO_DATA *data, const char *key);
void  protoSetParents(PROTO_DATA *data, const char *parents);
void   protoSetScript(PROTO_DATA *data, const char *script);
void protoSetAbstract(PROTO_DATA *data, bool abstract);

//
// getters
const char      *protoGetKey(PROTO_DATA *data);
const char  *protoGetParents(PROTO_DATA *data);
const char   *protoGetScript(PROTO_DATA *data);
bool         protoIsAbstract(PROTO_DATA *data);
BUFFER *protoGetScriptBuffer(PROTO_DATA *data);

#endif // PROTOTYPE_H