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

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

  [复制链接]
发表于 2005-11-11 21:58:21 | 显示全部楼层 |阅读模式
  #define DllExport extern "C" __declspec(dllexport)
( H+ ]/ R9 j2 V* F. i; L$ o//接口函数申明
/ L; t/ B9 n; F8 r5 M  Y9 YDllExport int OnUserLogin(char* lpszUser, char* lpszPasswd, tagUserInfo *pUserInfo, CVarInfo* pVarInfo);
  m1 A8 K4 A) `' r; _DllExport void OnUserExit(tagUserInfo* pUserInfo, int nSrcItem, CVarInfo* pVarInfo);
0 {  T1 g7 P) q, q  ], l- FDllExport BOOL OnUserChangeMap( char* szResult, tagUserInfo* pUserInfo, tagMapInfo*, tagMapInfo*, tagUserInfo** ppUsers, int nUserCount, tagResInfo** ppRess, int nResCount, CVarInfo* pVarInfo, BOOL bSystem );
7 \# s: I# q2 fDllExport 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 );4 L. @4 b, ~; m5 W2 `
DllExport void OnInitVariant( CVarInfo* pVarInfo );
1 D- C9 D. ]3 SDllExport BOOL OnCheckSay( int nType, char* lpszBody, tagUserInfo* pUserInfo, tagMapInfo* pMapInfo, CVarInfo* pVarInfo );+ n: g  ^: O0 W: K
DllExport BOOL OnUserSay( char* szResult, UINT nType, tagUserInfo* pUserInfo, tagMapInfo* pMapInfo, LPCTSTR lpszDesName, LPCTSTR lpszBody, CVarInfo* pVarInfo );
# ?, L& W; J; M" p# i2 V" v1 @DllExport 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 | 显示全部楼层
谢老大
; J( i+ R) O+ F( P8 G1 s$ |' \赞一个
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-9-30 13:00 , Processed in 0.035596 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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