This commit is contained in:
2022-04-21 12:48:20 +08:00
parent ba3f6c0325
commit d2fb2a75d2
7 changed files with 150 additions and 29 deletions

View File

@@ -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();
};