replace_program
来自「C实现的MUD,对大家基本入门网络游戏很有帮助!」· 代码 · 共 24 行
TXT
24 行
rrrreeeeppppllllaaaacccceeee____pppprrrrooooggggrrrraaaammmm((((3333)))) MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444)))) rrrreeeeppppllllaaaacccceeee____pppprrrrooooggggrrrraaaammmm((((3333)))) NNNNAAAAMMMMEEEE replace_program() - replaces the program in this_object() SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS void replace_program( string str ); DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN replace_program() replaces the program in this_object() with that of an object it inherits. The string argument is the filename of the object whose program is to be used. Once the replacement takes place, the current object effectively becomes a clone of that other object, but with its current filename and global variable values. The program is not actually replaced until the current execution is completed. SSSSEEEEEEEE AAAALLLLSSSSOOOO clone_object(3), new(3) Page 1 (printed 3/16/95)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?