#include <plugin.h>

Data Fields | |
| const char *(* | attr_get )(struct room *r, const char *name) |
| get an attribute on a room. | |
| int(* | attr_set )(struct room *r, const char *name, const char *value) |
| set an attribute on a room. | |
| struct room *(* | get )(unsigned room_id) |
| find a room by id and return it. | |
| void(* | put )(struct room *r) |
| reduce reference count on a room | |
| int(* | save )(struct room *r) |
| save a room to disk (only if it is dirty). | |
Definition at line 56 of file plugin.h.
| const char*(* plugin_room_interface::attr_get)(struct room *r, const char *name) |
get an attribute on a room.
value is temporary and may disappear if the room is flushed, changed or attr_get() is called again.
| int(* plugin_room_interface::attr_set)(struct room *r, const char *name, const char *value) |
set an attribute on a room.
struct room*(* plugin_room_interface::get)(unsigned room_id) [read] |
| void(* plugin_room_interface::put)(struct room *r) |
reduce reference count on a room
| int(* plugin_room_interface::save)(struct room *r) |
save a room to disk (only if it is dirty).
1.5.8