仙魔无双SDK
面向策划逻辑制作的游戏开发包
技术测试

辅助测试机制或者系统的,逻辑开发者用不上 更多...

函数

void WriteLog (unsigned int nCfgID, const char *lpstrLog)
 写日志 更多...
 
unsigned int FindLoggerUnitCfgID (const char *lpstrName)
 通过日志单元配置名称找到这个日志配置单位的ID号 更多...
 
int ReverseCall2 (int &output1, int &output2, int &output3)
 参数被改写的测试 更多...
 
int DebugAssert (int nValue)
 测试函数,传入数值如果是0,服务器触发断言。Release下无效。 更多...
 
int StrLenCopy (char *pDst, char *pSrc, int nSize)
 拷贝字符串 更多...
 
int AddressDebug (char *pAddress)
 地址调试打印,按16进制打印输入的地址 更多...
 

详细描述

辅助测试机制或者系统的,逻辑开发者用不上

函数说明

◆ AddressDebug()

int AddressDebug ( char *  pAddress)

地址调试打印,按16进制打印输入的地址

参数
pAddress[指针] 调试的地址
返回
忽略

◆ DebugAssert()

int DebugAssert ( int  nValue)

测试函数,传入数值如果是0,服务器触发断言。Release下无效。

参数
nValue传入的数值
返回
忽略

◆ FindLoggerUnitCfgID()

unsigned int FindLoggerUnitCfgID ( const char *  lpstrName)

通过日志单元配置名称找到这个日志配置单位的ID号

参数
nCfgID日志配置名称
返回
如果返回-1则表示没有找到

◆ ReverseCall2()

int ReverseCall2 ( int &  output1,
int &  output2,
int &  output3 
)

参数被改写的测试

参数
output1,output2,output3传入的参数,会被改写
返回
忽略

◆ StrLenCopy()

int StrLenCopy ( char *  pDst,
char *  pSrc,
int  nSize 
)

拷贝字符串

参数
pDst[文本] 拷贝的目标缓冲区
pSrc[文本] 拷贝的源缓冲区
nSize[整数] 要拷贝的长度
返回
忽略

◆ WriteLog()

void WriteLog ( unsigned int  nCfgID,
const char *  lpstrLog 
)

写日志

参数
nCfgID日志配置ID号
lpstrLog日志内容
返回
忽略