cmdapprentice.cpp
上传用户:garry_shen
上传日期:2015-04-15
资源大小:45647k
文件大小:6k
- #include "stdafx.h"
- #include "XmudOS.h"
- #include "CommandCheck.h"
- #include "CmdPlayerLogon.h"
- #include "npcNpc.h"
- #include "mapmapinfo.h"
- extern rmfullglobals myglobs;
- extern void GetXFileName(CPlayerInfo * lpPlayerInfo);
- void CCommandCheck::ApprenticeProc(LPVOID pvPlayer,char *szWho,char *Result)
- {
- CPlayerInfo *lpPlayerInfo;
- CNpc * lpNpc;
- CBaseMap * lpDataMap;
- BOOL bFindOppNPC = FALSE;
- int i;
- lpPlayerInfo = (CPlayerInfo*)pvPlayer;
- POSITION pMapPosite = lpPlayerInfo->pMapPosite;
- if(lpPlayerInfo->szNickName == "