|
#define DllExport extern "C" __declspec(dllexport)
F/ c. `$ W2 P) c) \+ m//接口函数申明9 S* ?5 b+ y y% {* T
DllExport int OnUserLogin(char* lpszUser, char* lpszPasswd, tagUserInfo *pUserInfo, CVarInfo* pVarInfo);
7 I# W: d0 J0 d. d4 q2 @0 wDllExport void OnUserExit(tagUserInfo* pUserInfo, int nSrcItem, CVarInfo* pVarInfo);
! ]! H% A- e( c2 fDllExport BOOL OnUserChangeMap( char* szResult, tagUserInfo* pUserInfo, tagMapInfo*, tagMapInfo*, tagUserInfo** ppUsers, int nUserCount, tagResInfo** ppRess, int nResCount, CVarInfo* pVarInfo, BOOL bSystem );
0 m- K, {1 w& W1 u2 R6 e/ h, ^DllExport 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 );
7 q+ t E# q) p2 S' Q* f+ uDllExport void OnInitVariant( CVarInfo* pVarInfo );. O' o1 B* f$ r4 y' c+ r( t
DllExport BOOL OnCheckSay( int nType, char* lpszBody, tagUserInfo* pUserInfo, tagMapInfo* pMapInfo, CVarInfo* pVarInfo );; q6 `- d3 r* u7 b8 W4 B
DllExport BOOL OnUserSay( char* szResult, UINT nType, tagUserInfo* pUserInfo, tagMapInfo* pMapInfo, LPCTSTR lpszDesName, LPCTSTR lpszBody, CVarInfo* pVarInfo );9 }; |, [8 T, y! ~! H5 M/ G% X- G
DllExport int OnTimer( int nIDEvent, char* szResult, tagUserInfo** ppUsers, int nUserCount, tagResInfo** ppRess, int nResCount, tagResInfo** pResInfo, CVarInfo* pVarInfo, int nMap, tagMapInfo* pMapInfo ); |
|