WorldHuntUtilspublic interface WorldHuntLibrary extends CMLibrary
idConverter| Modifier and Type | Method | Description | 
|---|---|---|
| Room | findAreaRoomLiberally(MOB mob,
                     Area A,
                     java.lang.String cmd,
                     java.lang.String srchWhatAERIPMVK,
                     int timePct) | Given an area, searches the rooms liberally and returns the first room with a match. | 
| java.util.List<Room> | findAreaRoomsLiberally(MOB mob,
                      Area A,
                      java.lang.String cmd,
                      java.lang.String srchWhatAERIPMVK,
                      int timePct) | Given an area, searches the rooms liberally and returns all rooms with a match. | 
| MOB | findFirstInhabitant(java.util.Enumeration<Room> rooms,
                   MOB mob,
                   java.lang.String srchStr,
                   int timePct) | Finds the first matched mob in the rooms of the given room
 enumerator. | 
| Item | findFirstInventory(java.util.Enumeration<Room> rooms,
                  MOB mob,
                  java.lang.String srchStr,
                  int timePct) | Finds the first matched item in the inventory of mobs in the given room
 enumerator, or in the inventory of players if null rooms are given. | 
| Room | findFirstRoom(java.util.Enumeration<Room> rooms,
             MOB mob,
             java.lang.String srchStr,
             boolean displayOnly,
             int timePct) | Finds the first matched room in the rooms of the given room
 enumerator. | 
| Item | findFirstRoomItem(java.util.Enumeration<Room> rooms,
                 MOB mob,
                 java.lang.String srchStr,
                 boolean anyItems,
                 int timePct) | Finds the first matched item in the rooms of the given room
 enumerator. | 
| Environmental | findFirstShopStock(java.util.Enumeration<Room> rooms,
                  MOB mob,
                  java.lang.String srchStr,
                  int timePct) | Finds the first matched stock item in the shops of shopkeepeers in the given room
 enumerator. | 
| Environmental | findFirstShopStocker(java.util.Enumeration<Room> rooms,
                    MOB mob,
                    java.lang.String srchStr,
                    int timePct) | Finds the first shopkeeper from the given room enumerator and given mob room accessor who
 has a shop stock item matching the given hunt search string. | 
| java.util.List<MOB> | findInhabitants(java.util.Enumeration<Room> rooms,
               MOB mob,
               java.lang.String srchStr,
               int timePct) | Finds all the matched mobs in the rooms in the given room
 enumerator. | 
| java.util.List<MOB> | findInhabitantsFavorExact(java.util.Enumeration<Room> rooms,
                         MOB mob,
                         java.lang.String srchStr,
                         boolean returnFirst,
                         int timePct) | Finds the matched mobs in the rooms in the given room
 enumerator. | 
| java.util.List<Item> | findInventory(java.util.Enumeration<Room> rooms,
             MOB mob,
             java.lang.String srchStr,
             int timePct) | Finds all matched items in the inventory of mobs in the given room
 enumerator, or in the inventory of players if null rooms are given. | 
| java.util.List<Item> | findRoomItems(java.util.Enumeration<Room> rooms,
             MOB mob,
             java.lang.String srchStr,
             boolean anyItems,
             int timePct) | Finds all the matched items in the rooms in the given room
 enumerator. | 
| java.util.List<Room> | findRooms(java.util.Enumeration<Room> rooms,
         MOB mob,
         java.lang.String srchStr,
         boolean displayOnly,
         int timePct) | Finds all the matched rooms in the rooms in the given room
 enumerator. | 
| java.util.List<Environmental> | findShopStock(java.util.Enumeration<Room> rooms,
             MOB mob,
             java.lang.String srchStr,
             int timePct) | Finds all the matched stock item in the shops of shopkeepeers in the given room
 enumerator. | 
| java.util.List<Environmental> | findShopStockers(java.util.Enumeration<Room> rooms,
                MOB mob,
                java.lang.String srchStr,
                int timePct) | Finds all shopkeepers from the given room enumerator and given mob room accessor who
 has a shop stock item matching the given hunt search string. | 
| Room | findWorldRoomLiberally(MOB mob,
                      java.lang.String cmd,
                      java.lang.String srchWhatAERIPMVK,
                      int timePct,
                      long maxMillis) | Searches the whole world's rooms liberally and returns the first room with a match. | 
| java.util.List<Room> | findWorldRoomsLiberally(MOB mob,
                       java.lang.String cmd,
                       java.lang.String srchWhatAERIPMVK,
                       int timePct,
                       long maxMillis) | Searches the whole world's rooms liberally and returns all rooms with a match. | 
| java.util.Set<Physical> | getAllGroupRiders(Physical P,
                 Room hereOnlyR) | Gets the entire party -- group members, ridden things,
 followed and things riding them, etc, etc. | 
| boolean | isAnAdminHere(Room R,
             boolean sysMsgsOnly) | Returns whether an authorized room or mob editor
 is in the room, optionally with sysmsgs turned on. | 
| boolean | isHere(CMObject E2,
      Area here) | Returns whether the given object is in the given area. | 
| boolean | isHere(CMObject E2,
      Room here) | Returns whether the given object is in the given room. | 
activate, getServiceClient, L, propertiesLoaded, shutdowncopyOf, ID, initializeClass, name, newInstancejava.util.List<Room> findWorldRoomsLiberally(MOB mob, java.lang.String cmd, java.lang.String srchWhatAERIPMVK, int timePct, long maxMillis)
mob - the mob whose room access to respectcmd - the search stringsrchWhatAERIPMVK - the librarl codes for what to searchtimePct - % of a second to keep searching between rooms, 100% is full timemaxMillis - maximum amount of time to search before abortingRoom findWorldRoomLiberally(MOB mob, java.lang.String cmd, java.lang.String srchWhatAERIPMVK, int timePct, long maxMillis)
mob - the mob whose room access to respectcmd - the search stringsrchWhatAERIPMVK - the librarl codes for what to searchtimePct - % of a second to keep searching between rooms, 100% is full timemaxMillis - maximum amount of time to search before abortingjava.util.List<Room> findAreaRoomsLiberally(MOB mob, Area A, java.lang.String cmd, java.lang.String srchWhatAERIPMVK, int timePct)
mob - the mob whose room access to respectA - the area to searchcmd - the search stringsrchWhatAERIPMVK - the librarl codes for what to searchtimePct - % of a second to keep searching between rooms, 100% is full timeRoom findAreaRoomLiberally(MOB mob, Area A, java.lang.String cmd, java.lang.String srchWhatAERIPMVK, int timePct)
mob - the mob whose room access to respectA - the area to searchcmd - the search stringsrchWhatAERIPMVK - the librarl codes for what to searchtimePct - % of a second to keep searching between rooms, 100% is full timejava.util.List<Room> findRooms(java.util.Enumeration<Room> rooms, MOB mob, java.lang.String srchStr, boolean displayOnly, int timePct)
rooms - the rooms with mobs to searchmob - the mob whose room access to confirmsrchStr - the search string, using full world hunt rulesdisplayOnly - true to search only display, and skip descriptiontimePct - % of a second to keep searching between rooms, 100% is full timeRoom findFirstRoom(java.util.Enumeration<Room> rooms, MOB mob, java.lang.String srchStr, boolean displayOnly, int timePct)
rooms - the rooms to searchmob - the mob whose room access to confirmsrchStr - the search string, using full world hunt rulesdisplayOnly - true to search only display, and skip descriptiontimePct - % of a second to keep searching between rooms, 100% is full timeMOB findFirstInhabitant(java.util.Enumeration<Room> rooms, MOB mob, java.lang.String srchStr, int timePct)
rooms - the rooms to searchmob - the mob whose room access to confirmsrchStr - the search string, using full world hunt rulestimePct - % of a second to keep searching between rooms, 100% is full timejava.util.List<MOB> findInhabitantsFavorExact(java.util.Enumeration<Room> rooms, MOB mob, java.lang.String srchStr, boolean returnFirst, int timePct)
rooms - the rooms with mobs to searchmob - the mob whose room access to confirmsrchStr - the search string, using full world hunt rulesreturnFirst - true to return only 1 match, false for alltimePct - % of a second to keep searching between rooms, 100% is full timejava.util.List<MOB> findInhabitants(java.util.Enumeration<Room> rooms, MOB mob, java.lang.String srchStr, int timePct)
rooms - the rooms with mobs to searchmob - the mob whose room access to confirmsrchStr - the search string, using full world hunt rulestimePct - % of a second to keep searching between rooms, 100% is full timejava.util.List<Item> findRoomItems(java.util.Enumeration<Room> rooms, MOB mob, java.lang.String srchStr, boolean anyItems, int timePct)
rooms - the rooms with mobs to searchmob - the mob whose room access to confirmsrchStr - the search string, using full world hunt rulesanyItems - true to include container searches, false for non-contained onlytimePct - % of a second to keep searching between rooms, 100% is full timeItem findFirstRoomItem(java.util.Enumeration<Room> rooms, MOB mob, java.lang.String srchStr, boolean anyItems, int timePct)
rooms - the rooms to searchmob - the mob whose room access to confirmsrchStr - the search string, using full world hunt rulesanyItems - true to include container searches, false for non-contained onlytimePct - % of a second to keep searching between rooms, 100% is full timejava.util.List<Environmental> findShopStock(java.util.Enumeration<Room> rooms, MOB mob, java.lang.String srchStr, int timePct)
rooms - the rooms with mobs to searchmob - the mob whose room access to confirmsrchStr - the search string, using full world hunt rulestimePct - % of a second to keep searching between rooms, 100% is full timeEnvironmental findFirstShopStock(java.util.Enumeration<Room> rooms, MOB mob, java.lang.String srchStr, int timePct)
rooms - the rooms with mobs to searchmob - the mob whose room access to confirmsrchStr - the search string, using full world hunt rulestimePct - % of a second to keep searching between rooms, 100% is full timejava.util.List<Environmental> findShopStockers(java.util.Enumeration<Room> rooms, MOB mob, java.lang.String srchStr, int timePct)
rooms - the rooms to iterate throughmob - the mob whose room access to confirmsrchStr - the search string, using full world hunt rulestimePct - % of a second to keep searching between rooms, 100% is full timeEnvironmental findFirstShopStocker(java.util.Enumeration<Room> rooms, MOB mob, java.lang.String srchStr, int timePct)
rooms - the rooms to iterate throughmob - the mob whose room access to confirmsrchStr - the search string, using full world hunt rulestimePct - % of a second to keep searching between rooms, 100% is full timejava.util.List<Item> findInventory(java.util.Enumeration<Room> rooms, MOB mob, java.lang.String srchStr, int timePct)
rooms - null for players, or the rooms with mobs to searchmob - the mob whose room access to confirmsrchStr - the search string, using full world hunt rulestimePct - % of a second to keep searching between rooms, 100% is full timeItem findFirstInventory(java.util.Enumeration<Room> rooms, MOB mob, java.lang.String srchStr, int timePct)
rooms - null for players, or the rooms with mobs to searchmob - the mob whose room access to confirmsrchStr - the search string, using full world hunt rulestimePct - % of a second to keep searching between rooms, 100% is full timeboolean isHere(CMObject E2, Area here)
E2 - the object to look forhere - the room to see if its inisHere(CMObject, Room)boolean isHere(CMObject E2, Room here)
E2 - the object to look forhere - the room to see if its inisHere(CMObject, Area)boolean isAnAdminHere(Room R, boolean sysMsgsOnly)
R - the room to checksysMsgsOnly - true to return true only if sysmsgs are onjava.util.Set<Physical> getAllGroupRiders(Physical P, Room hereOnlyR)
P - the starting point for the grouphereOnlyR - null, or the room they must all ne present in