file_name
来自「C实现的MUD,对大家基本入门网络游戏很有帮助!」· 代码 · 共 23 行
TXT
23 行
ffffiiiilllleeee____nnnnaaaammmmeeee((((3333)))) MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444)))) ffffiiiilllleeee____nnnnaaaammmmeeee((((3333)))) NNNNAAAAMMMMEEEE file_name() - get the file name of an object SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS string file_name( object ob ); DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN file_name() returns the name of the file from which <ob> was loaded. If the object is a cloned object, then file_name() will not be an actual file on disk, but will be the name of the file from which the object was originally cloned, appended with an octothorpe (#) and the object instance number. Object instance numbers start at 0 when the game is booted, and increase by one for each object cloned, hence the number is unique for each cloned object. <ob> defaults to this_object() if not specified. Page 1 (printed 3/16/95)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?