|
#define | NO_CHAN_MSG "That is not a valid channel name." |
|
#define | CHAN_FLAG_PUBLIC 0x00000010 |
|
#define | CHAN_FLAG_LOUD 0x00000020 |
|
#define | CHAN_FLAG_P_JOIN 0x00000040 |
|
#define | CHAN_FLAG_P_TRANS 0x00000080 |
|
#define | CHAN_FLAG_P_RECV 0x00000100 |
|
#define | CHAN_FLAG_O_JOIN 0x00000200 |
|
#define | CHAN_FLAG_O_TRANS 0x00000400 |
|
#define | CHAN_FLAG_O_RECV 0x00000800 |
|
#define | CHAN_FLAG_SPOOF 0x00001000 |
|
#define | CBOOT_QUIET 1 /* No boot message, just has left */ |
|
#define | CEMIT_NOHEADER 1 /* Channel emit without header */ |
|
#define | CHANNEL_SET 1 /* Set channel flag */ |
|
#define | CHANNEL_CHARGE 2 /* Set channel charge */ |
|
#define | CHANNEL_DESC 4 /* Set channel desc */ |
|
#define | CHANNEL_LOCK 8 /* Set channel lock */ |
|
#define | CHANNEL_OWNER 16 /* Set channel owner */ |
|
#define | CHANNEL_JOIN 32 /* Channel lock: join */ |
|
#define | CHANNEL_TRANS 64 /* Channel lock: transmit */ |
|
#define | CHANNEL_RECV 128 /* Channel lock: receive */ |
|
#define | CHANNEL_HEADER 256 /* Set channel header */ |
|
#define | CLIST_FULL 1 /* Full listing of channels */ |
|
#define | CLIST_HEADER 2 /* Header listing of channels */ |
|
#define | CWHO_ALL 1 /* Show disconnected players on channel */ |
|
#define | MAX_CHAN_NAME_LEN 20 |
|
#define | MAX_CHAN_ALIAS_LEN 10 |
|
#define | MAX_CHAN_DESC_LEN 256 |
|
#define | MAX_CHAN_HEAD_LEN 64 |
|
#define | check_owned_channel(p, c) |
|
#define | find_channel(d, n, p) |
|
#define | lookup_channel(s) ((CHANNEL *)hashfind((s), &mod_comsys_comsys_htab)) |
|
#define | lookup_clist(d) ((COMLIST *)nhashfind((int)(d), &mod_comsys_comlist_htab)) |
|
#define | ok_joinchannel(d, c) ok_chanperms((d), (c), CHAN_FLAG_P_JOIN, CHAN_FLAG_O_JOIN, (c)->join_lock) |
|
#define | ok_recvchannel(d, c) ok_chanperms((d), (c), CHAN_FLAG_P_RECV, CHAN_FLAG_O_RECV, (c)->recv_lock) |
|
#define | ok_sendchannel(d, c) ok_chanperms((d), (c), CHAN_FLAG_P_TRANS, CHAN_FLAG_O_TRANS, (c)->trans_lock) |
|
#define | clear_chan_alias(n, a) |
|
#define | Grab_Channel(p) |
|
#define | Comsys_User(p, t) |
|
#define | Grab_Alias(p, n) |
|
|
COMALIAS * | lookup_calias (dbref player, char *alias_str) |
|
void | join_channel (dbref player, char *chan_name, char *alias_str, char *title_str) |
|
void | channel_clr (dbref player) |
|
void | mod_comsys_announce_connect (dbref player, const char *reason __attribute__((unused)), int num __attribute__((unused))) |
|
void | mod_comsys_announce_disconnect (dbref player, const char *reason __attribute__((unused)), int num __attribute__((unused))) |
|
void | update_comwho_all (void) |
|
void | comsys_chown (dbref from_player, dbref to_player) |
|
void | do_ccreate (dbref player, dbref cause __attribute__((unused)), int key __attribute__((unused)), char *name) |
|
void | do_cdestroy (dbref player, dbref cause __attribute__((unused)), int key __attribute__((unused)), char *name) |
|
void | do_channel (dbref player, dbref cause __attribute__((unused)), int key, char *chan_name, char *arg) |
|
void | do_cboot (dbref player, dbref cause __attribute__((unused)), int key, char *name, char *objstr) |
|
void | do_cemit (dbref player, dbref cause __attribute__((unused)), int key, char *chan_name, char *str) |
|
void | do_cwho (dbref player, dbref cause __attribute__((unused)), int key, char *chan_name) |
|
void | do_addcom (dbref player, dbref cause __attribute__((unused)), int key __attribute__((unused)), char *alias_str, char *args[], int nargs) |
|
void | do_delcom (dbref player, dbref cause __attribute__((unused)), int key __attribute__((unused)), char *alias_str) |
|
void | do_clearcom (dbref player, dbref cause __attribute__((unused)), int key __attribute__((unused))) |
|
void | do_comtitle (dbref player, dbref cause __attribute__((unused)), int key __attribute__((unused)), char *alias_str, char *title) |
|
void | do_clist (dbref player, dbref cause __attribute__((unused)), int key, char *chan_name) |
|
void | do_comlist (dbref player, dbref cause __attribute__((unused)), int key __attribute__((unused))) |
|
void | do_allcom (dbref player, dbref cause __attribute__((unused)), int key __attribute__((unused)), char *cmd) |
|
int | mod_comsys_process_command (dbref player, dbref cause __attribute__((unused)), int interactive __attribute__((unused)), char *in_cmd, char *args[] __attribute__((unused)), int nargs __attribute__((unused))) |
|
void | mod_comsys_dump_database (FILE *fp) |
|
void | mod_comsys_make_minimal (void) |
|
void | mod_comsys_load_database (FILE *fp) |
|
void | fun_comlist (char *buff, char **bufc, dbref player, dbref caller, dbref cause, char *fargs[], int nfargs, char *cargs[], int ncargs) |
|
void | fun_cwho (char *buff, char **bufc, dbref player, dbref caller __attribute__((unused)), dbref cause __attribute__((unused)), char *fargs[], int nfargs __attribute__((unused)), char *cargs[] __attribute__((unused)), int ncargs __attribute__((unused))) |
|
void | fun_cwhoall (char *buff, char **bufc, dbref player, dbref caller __attribute__((unused)), dbref cause __attribute__((unused)), char *fargs[], int nfargs __attribute__((unused)), char *cargs[] __attribute__((unused)), int ncargs __attribute__((unused))) |
|
void | fun_comowner (char *buff, char **bufc, dbref player, dbref caller __attribute__((unused)), dbref cause __attribute__((unused)), char *fargs[], int nfargs __attribute__((unused)), char *cargs[] __attribute__((unused)), int ncargs __attribute__((unused))) |
|
void | fun_comdesc (char *buff, char **bufc, dbref player, dbref caller __attribute__((unused)), dbref cause __attribute__((unused)), char *fargs[], int nfargs __attribute__((unused)), char *cargs[] __attribute__((unused)), int ncargs __attribute__((unused))) |
|
void | fun_comheader (char *buff, char **bufc, dbref player, dbref caller __attribute__((unused)), dbref cause __attribute__((unused)), char *fargs[], int nfargs __attribute__((unused)), char *cargs[] __attribute__((unused)), int ncargs __attribute__((unused))) |
|
void | fun_comalias (char *buff, char **bufc, dbref player, dbref caller __attribute__((unused)), dbref cause __attribute__((unused)), char *fargs[], int nfargs __attribute__((unused)), char *cargs[] __attribute__((unused)), int ncargs __attribute__((unused))) |
|
void | fun_cominfo (char *buff, char **bufc, dbref player, dbref caller __attribute__((unused)), dbref cause __attribute__((unused)), char *fargs[], int nfargs __attribute__((unused)), char *cargs[] __attribute__((unused)), int ncargs __attribute__((unused))) |
|
void | fun_comtitle (char *buff, char **bufc, dbref player, dbref caller __attribute__((unused)), dbref cause __attribute__((unused)), char *fargs[], int nfargs __attribute__((unused)), char *cargs[] __attribute__((unused)), int ncargs __attribute__((unused))) |
|
void | fun_cemit (char *buff, char **bufc, dbref player, dbref caller __attribute__((unused)), dbref cause __attribute__((unused)), char *fargs[], int nfargs __attribute__((unused)), char *cargs[] __attribute__((unused)), int ncargs __attribute__((unused))) |
|
void | mod_comsys_cleanup_startup (void) |
|
void | mod_comsys_create_player (dbref creator __attribute__((unused)), dbref player, int isrobot __attribute__((unused)), int isguest) |
|
void | mod_comsys_destroy_obj (dbref player __attribute__((unused)), dbref obj) |
|
void | mod_comsys_destroy_player (dbref player, dbref victim) |
|
void | mod_comsys_init (void) |
|
Module implementing DarkZone-style channel system.
- Author
- TinyMUSH development team (https://github.com/TinyMUSH)
- Version
- 3.3
- Date
- 2020-12-28
- Copyright
- Copyright (C) 1989-2021 TinyMUSH development team. You may distribute under the terms the Artistic License, as specified in the COPYING file.