door.h

foundation2_fluffos_v1/lib/lib/door.h · 831 B

From the archive foundation2_fluffos_v1.zip

Download the archive   « Back to the archive contents

#ifndef __DOOR_H__
#define __DOOR_H__

static void create();

varargs int eventOpen(object by, object agent);
varargs int eventClose(object by, object agent);
varargs int eventLock(object by, object agent);
varargs int eventUnlock(object by, object agent);
int eventRegisterSide(string dir);

static int SetClosed(int x);
int GetClosed();
static int SetLocked(int x);
int GetLocked();
mapping SetSide(string side, mapping mp);
int SetLockable(string side, int x);
int GetLockable(string side);
string SetId(string side, string id);
string GetId(string side);
mixed SetShort(string side, mixed short);
string GetShort(string side);
mixed SetLong(string side, mixed long);
string GetLong(string side);
string *SetKeys(string side, string *cles);
string *GetKeys(string side);
object *GetRooms(string side);

#endif /* __DOOR_H__ */

Site Stats

Snippets: 1791
Codebases: 571