objects
来自「C实现的MUD,对大家基本入门网络游戏很有帮助!」· 代码 · 共 31 行
TXT
31 行
oooobbbbjjjjeeeeccccttttssss((((3333)))) MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444)))) oooobbbbjjjjeeeeccccttttssss((((3333)))) NNNNAAAAMMMMEEEE objects - return an array of all loaded objects SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS object *objects( string func, object ob ); object *objects( function f); DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN An array of every object loaded on the mud is returned by objects(). Note that if the system's maximum array size is set too low, objects() will truncate its array, in which case it might not be too useful. If the optional `func' and `ob' parameters are given, then ob->func() is called with each loaded object as an argument. If the function returns nonzero, then that object is returned by objects(), otherwise it isn't. If 'f' is given, it will be called on all the objects as above. For example, objects( (: clonep :) ) returns a list of all the clones in existence. SSSSEEEEEEEE AAAALLLLSSSSOOOO livings(3), users(3) Page 1 (printed 3/16/95)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?