找回密码
 注册
搜索
查看: 4267|回复: 1

pChat Server 2.5 正式版的DLL接口函数

  [复制链接]
发表于 2005-11-11 21:58:21 | 显示全部楼层 |阅读模式
  #define DllExport extern "C" __declspec(dllexport)
- u' Q$ }. l3 ]& G2 E//接口函数申明2 ^0 s8 Y- Y( a; {! T
DllExport int OnUserLogin(char* lpszUser, char* lpszPasswd, tagUserInfo *pUserInfo, CVarInfo* pVarInfo);
* s, G& }8 c7 u  VDllExport void OnUserExit(tagUserInfo* pUserInfo, int nSrcItem, CVarInfo* pVarInfo);7 w2 L" u0 r6 N1 b. R5 k" h3 P
DllExport BOOL OnUserChangeMap( char* szResult, tagUserInfo* pUserInfo, tagMapInfo*, tagMapInfo*, tagUserInfo** ppUsers, int nUserCount, tagResInfo** ppRess, int nResCount, CVarInfo* pVarInfo, BOOL bSystem );
, ~/ [. t' X" o3 `7 }+ l9 qDllExport int OnUserCmds( char* szResult, char* szDesName, char* szParams, tagUserInfo** ppUsers, int nUserCount, tagUserInfo* pUserInfo, tagUserInfo** ppUserInfo, tagResInfo** ppRess, int nResCount, tagResInfo** ppResInfo, tagMapInfo* pMapInfo, CVarInfo* pVarInfo );5 X. N' P+ d/ \2 B& i. r
DllExport void OnInitVariant( CVarInfo* pVarInfo );
* z- U6 I8 Y4 w$ F1 K$ QDllExport BOOL OnCheckSay( int nType, char* lpszBody, tagUserInfo* pUserInfo, tagMapInfo* pMapInfo, CVarInfo* pVarInfo );3 g" R7 _( {0 t6 Z4 n) y5 r  }/ T( V
DllExport BOOL OnUserSay( char* szResult, UINT nType, tagUserInfo* pUserInfo, tagMapInfo* pMapInfo, LPCTSTR lpszDesName, LPCTSTR lpszBody, CVarInfo* pVarInfo );
. R8 S# c; L% Q8 K# E1 NDllExport int OnTimer( int nIDEvent, char* szResult, tagUserInfo** ppUsers, int nUserCount, tagResInfo** ppRess, int nResCount, tagResInfo** pResInfo, CVarInfo* pVarInfo, int nMap, tagMapInfo* pMapInfo );
发表于 2005-11-13 11:17:16 | 显示全部楼层
谢老大
0 e- s, F& H$ d- M% @: k2 R赞一个
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|宁德市腾云网络科技有限公司 ( 闽ICP备2022007940号-5|闽公网安备 35092202000206号 )

GMT+8, 2025-6-20 04:22 , Processed in 0.035941 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表