post.c-Dateireferenz

#include "/mail/post.h"
#include <properties.h>
#include <rooms.h>
Include-Abhängigkeitsdiagramm für post.c:

gehe zum Quellcode dieser Datei

Funktionen

void create ()
int do_mail (string str)

Variablen

inherit std room

Dokumentation der Funktionen

void create (  ) 

Definiert in Zeile 11 der Datei post.c.

Benutzt AddCmd(), create(), i, P_INDOORS, P_INT_LONG, P_INT_SHORT, P_LIGHT und SetProp().

00011               {
00012   int i;
00013   (::create());
00014   SetProp(P_INT_SHORT,"Postamt");
00015   SetProp(P_INT_LONG,"\
00016 Dies ist ein Testpostamt.\n\
00017 Von hier aus kannst Du Briefe an Deine Mitspieler schicken und Briefe von\n\
00018 ihnen lesen. Wenn Du das willst, tippe 'post' oder 'mail',\n\
00019 bzw. 'mail <spieler>'.\n");
00020   SetProp( P_LIGHT, 1 );
00021   AddCmd("post","do_mail");
00022   AddCmd("mail","do_mail");
00023   SetProp(P_INDOORS,1);
00024   //  if (!argh) {
00025   //   for (i=0;i<NRCABINS;++i) AddItem(MAILCABIN,REFRESH_REMOVE);
00026   //  AddItem(COUNTER,REFRESH_REMOVE);
00027   //  SetProp(P_POST,PP_ALLOWED);
00028     //  }
00029 }

Hier ist ein Graph der zeigt, was diese Funktion aufruft:

int do_mail ( string  str  ) 

Definiert in Zeile 31 der Datei post.c.

Benutzt MAILER.

00031                         {
00032   object mailer;
00033   if (this_interactive()!=this_player()) return 0;
00034   mailer=clone_object(MAILER);
00035   mailer->SetOfficeName(short());
00036   mailer->do_mail(str);
00037   return 1;
00038 }


Variablen-Dokumentation

inherit std room

Definiert in Zeile 5 der Datei post.c.

Erzeugt am Thu Jun 3 14:40:50 2010 für MorgenGrauen Mudlib von  doxygen 1.6.3