Home

[Package Index | Mudlib Index | Effect Index]

File /global/lord.c

This is the lord player object and contains any needed bits to handle lord specific commands and things.

Written by Pinkfish

Inherits

This class inherits the following classes /global/wiz_file_comm.c

Includes

This class includes the following files /include/mail.h and /include/command.h

Method index

  • bulk_delete(string)
    This method forces a bulk delete on a certain letter.
  • clean_up_files(string)
    This method forces the clean up of certain file son the bulk deleter.
  • do_dismiss(string, string)
    This method is called when the director attempts to dismiss a creator who is currently working (or not working if they are being dimissed I guess).
  • do_qsnoop(object *)
    This method is used to do a quiet snoop on a player.
  • employ(string)
    This method is called when a director attempts to employ someone in their domain.
  • end_it_all()
    Very fast shutdown.
  • new_domain(string, string)
    This method is used to create a new domain.
  • process_input(string)
    No priorities etc anymore, so directors get there own very small process_input parser(tm)
  • query_director()
  • query_lord()

Public Functions

These are functions that everyone can access.

.

    query_director
    nomask int query_director()
    
      query_lord
      nomask int query_lord()
      

      Protected Functions

      These are functions that only objects inheriting the class can access.

        bulk_delete
        int bulk_delete(string word)
        

        This method forces a bulk delete on a certain letter. This letter will then be checked to see if any of those players have timed out and should be deleted.
        • Parameters:
          word - the letter to bulk delete
        • Returns:
          0 on falure and 1 on success
    clean_up_files
    int clean_up_files(string word)
    

    This method forces the clean up of certain file son the bulk deleter. This cleans up all the files associated with the given player.
    • Parameters:
      word - the name of the player to clean up
    • Returns:
      1 on success, 0 on failure
        do_dismiss
        int do_dismiss(string str,
                       string reason)
        

        This method is called when the director attempts to dismiss a creator who is currently working (or not working if they are being dimissed I guess).
        • Parameters:
          str - the creator to dismiss
        • Returns:
          1 on success, 0 on failure
            do_qsnoop
            int do_qsnoop(object * obs)
            

            This method is used to do a quiet snoop on a player.
            • Parameters:
              str - the player to snoop
            • Returns:
              1 on success, 0 on failure
                employ
                int employ(string str)
                

                This method is called when a director attempts to employ someone in their domain.
                • Parameters:
                  str - the player to employ
                • Returns:
                  1 on success, 0 on failure
                    end_it_all
                    int end_it_all()
                    

                    Very fast shutdown.
                    • Returns:
                      always returns 1
                        new_domain
                        int new_domain(string dom,
                                       string director)
                        

                        This method is used to create a new domain.
                        • Parameters:
                          str - the input parameters
                        • Returns:
                          1 on success, 0 on failure
                            process_input
                            mixed process_input(string input)
                            

                            No priorities etc anymore, so directors get there own very small process_input parser(tm)
Valid HTML 4.01 Transitional
Valid CSS!
Read More