检测有多少物件objects()在内存的代码
2021/4/7 11:26:31
int main(object me)
{
    object *all_objs;
    int size;

    all_objs = objects();
    size = sizeof(all_objs);

    tell_object(me,sprintf("内存中一共有:%d 个物件。\n",size));
    return 1;
}

返回列表
返回首页
©2024 MUD游戏网_文字mud 电脑版
Powered by iwms