[Package Index | Mudlib Index | Effect Index]
Written by Pinkfish.
.
mixed parse_match_object(string * input, object viewer, class obj_match_context context)This code is for the new parser... It returns an array which contains two elements. The first is the type of the match, plural or singular, and the second is the object it matched. Usualy this_object() but it can be used to swap new objects.
int query_no_all()This method returns the no all flag's current value. If this flag is set to true then the object will not respond to 'all' requests and must be accessed with it's real name.
int is_matching_object(string * input, object viewer, class obj_match_context context)This method is used by upper objects that only wish to match the ids and not mess with all the context stuff. This method will return a combination of OBJ_PARSER_MATCH_SINGULAR and OBJ_PARSER_MATCH_PLURAL.
void set_no_all(int no_all)This sets the no all flag. If this flag is set to true then the object will not respond to 'all' requests and must be accessed with it's real name.
int update_parse_match_context(class obj_match_context context, int num, int singular)This method updates the context. It returns the number of the objects we match, and you pass in the number of objects that we are.