cmd-root.txt

来自「Lachesis an IRCRPG combat engine written」· 文本 代码 · 共 21 行

TXT
21
字号
void Cmd_Alloc(void (*f)(void *, int, const char *), const char *, int);	Command modules call this to announce themselves to the command	subsystem. First argument is a pointer to a command handler	function (arguments along the lines of Cmd_Root). Second argument	is the name of the command the handler function is called for.	Third argument is the required access level for that command.void Cmd_Init();	Initializes the included modules. The contents of this function	are generated by the mkmoddep script.void Cmd_Cleanup();	Cleans up the command subsystem. Called when shutting down the program.void Cmd_Root(void *, int, const char *);	The actual command handler called by auth.cc, this takes a cookie	and access level that collectively identify the user of the command,	and a string indicating the string sent. If a registered command	is the first word in the string *and* the access level is high enough	for that command, the remainder of the string is passed to the	appropriate handler.@(#) $Id: cmd-root.txt,v 1.1.1.1 2004/01/16 07:28:15 lachesis Exp $

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?