- 1
- 0
- 约2.24千字
- 约 4页
- 2018-04-03 发布于河南
- 举报
拓胜科技-LPC入门1
Lpc
Mud LpMudLpMuds Unix
Unix LpMud Unix Unix
Dos /Dos \.LpMud :
/clone/player/player.c
/clone/player/player.c LpMud Unix
pwd, cd, ls, rm, mv, cp, mkdir, rmdir, more, tail, cat, ed Unix
pwd: cd: Dos cd
ls: Dos dir
rm: Dos rmdir
mv: Dos move
cp: Dos copy
mkdir:
rmdir:
more:
cat: Dos type
tail:
ed: Mud
Lpc
2.1 Lpc
Lpc C
Lpc Lpc Object
Lpc Object
MudLpc Object Driver Lpc Object
Driver Object LpMud Driver
Lpc Object Lpc Object
Lpc Lpc Object Driver Object
2.2 Driver Mudlib
Driver C
LpMud Driver
LpMud Lpc Driver
Lpc C
Lpc Object
Object
object Driver
2.3 Object
Object Driver Drvier Object
create() Lpc Object ()()
Driver (efun)Lpc :
wiz_level 0
1/4
Object Object
Object Object Driver Object
Driver create
create()Lpc Object create()Object
create()Object Object
Lpc ObjectLpc Object
Object
2.3
Object
LpMud
LpMud
Lpc
XO team
2.3.1
/* /u/trill/obj/test.c
* from XO Object Library
* Object
* created by trill
* version @(#) test.c 2.1@(#)
* last modified by trill
* tell_wizard simul_efun
*/
Mudlib
2.1
Object
Object
include (inherit)Object
#include
#include include/test.h
inherit NPC;
Object .htest.hObject includeinclude
#include include/test.h test.h test.c
2/4
Object test.ctest.c
help Object test.h
inherit
2.3.2
2.3.3
Object Object
Object Object
Set+
Get+
static int level;
void SetLevl(int i)
{
level = i;
}
int GetLevel()
{
return level;
}
void AddLevel(int i)
{
level += i;
}
Object (event)
void eventQuit()
{
...
}
ventFight,eventMarry
Driver create(),heart_beat,setup()
Object (_)
XO team
Mud Mud
LpMud
XO
XO team
:
Lpc LpMud Lpc Unix
您可能关注的文档
最近下载
- 网约车辆火灾防控应急预案.docx VIP
- 工程施工旁站监理措施(3).docx VIP
- 2025年河北省人体解剖学(专升本)考试真题及参考答案.docx VIP
- 人民大2024产业经济学(第六版)课件第11章 产业结构政策.pptx VIP
- 河道冬雨季施工方案.docx VIP
- 电动垂直起降(eVTOL)2025年适航认证案例分析:安全性与可靠性评估.docx
- 2026部编版小学数学二年级上册期末考试卷(3套含答案解析).docx
- 公司消防安全第一责任人职责模板范本.docx VIP
- 为自己点赞主题班会课件.pptx VIP
- 精品解析:2024年山东省淄博市张店区中考一模数学模拟试题(原卷版).docx VIP
原创力文档

文档评论(0)