1111
This commit is contained in:
@@ -72,12 +72,18 @@ public:
|
||||
//获取装备偏移地址
|
||||
static int GetEquAddr(int addr);
|
||||
|
||||
//wchar_t* 转 char*
|
||||
static char* UnicodeToAnsi(const wchar_t* szStr, char* pResult, int maxLen);
|
||||
//wchar_t* 转 string*
|
||||
static void Wchar_tToString(std::string& szDst, wchar_t* wchar);
|
||||
//char* 转 wchar_t*
|
||||
static wchar_t* AnsiToUnicode(const char* szStr, wchar_t* pResult, int maxLen);
|
||||
|
||||
//窗口公告 0x10d
|
||||
static void WindowsNotice(char* str, int type = 0x10d, int b = 0x0);
|
||||
//GM公告
|
||||
static void GMNotice(char* str, int type, int color);
|
||||
//获取IP
|
||||
static std::string GetIP();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user