mux/src/mguests.h

Go to the documentation of this file.
00001 // mguests.h
00002 //
00003 // $Id: mguests.h,v 1.4 2004/09/21 04:22:18 sdennis Exp $
00004 //
00005 
00006 #ifndef __MGUESTS_H
00007 #define __MGUESTS_H
00008 
00009 #include "copyright.h"
00010 #include "interface.h"
00011 
00012 // Zenty does OOP.
00013 //
00014 class CGuests
00015 {
00016 private:
00017     static char name[50];
00018     dbref *Guests;
00019     int   nMaxGuests;              // Size of Guests[].
00020     int   nGuests;                 // Number of guests stored in Guests[].
00021     void  SizeGuests(int);
00022     int   MakeGuestChar(void);     // Make the guest character
00023     void  DestroyGuestChar(dbref); // Destroy the guest character
00024     void  WipeAttrs(dbref guest);  // Wipe all the attrbutes
00025     void  AddToGuestChannel(dbref player);
00026 
00027 public:
00028     CGuests(void);
00029     ~CGuests(void);
00030 
00031     bool  CheckGuest(dbref);
00032     void  ListAll(dbref);          // @list guests
00033     void  StartUp();
00034     const char  *Create(DESC *d);
00035     void  CleanUp(void);
00036 };
00037 
00038 extern CGuests Guest;
00039 
00040 #define GUEST_PASSWORD "Guest"
00041 
00042 #endif // !__MGUESTS_H

Generated on Mon May 28 04:40:10 2007 for MUX by  doxygen 1.4.7