Last active
May 25, 2016 21:51
-
-
Save pawelsawicz/83323b8f4d3015834b950031ca80d169 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Old way | |
void CGame::SendNotifyMsg(int iFromH, int iToH, WORD wMsgType, DWORD sV1, DWORD sV2, DWORD sV3, const char * pString, | |
DWORD sV4, DWORD sV5, DWORD sV6, DWORD sV7, DWORD sV8, DWORD sV9, char * pString2) const | |
New way | |
class MessageContent{ | |
public: | |
DWORD sV1; | |
DWORD sV2; | |
DWORD sV3; | |
const char * pString; | |
DWORD sV4; | |
DWORD sV5; | |
DWORD sV6; | |
DWORD sV7; | |
DWORD sV8; | |
DWORD sV9; | |
char * pString2; | |
} | |
void CGame::SendNotifyMsg(int iFromH, int iToH, WORD wMsgType, MessageContent content) const | |
void CGame::SendNotifyMsg(int iFromH, int iToH, WORD wMsgType, DWORD sV1, DWORD sV2, DWORD sV3, const char * pString, | |
DWORD sV4, DWORD sV5, DWORD sV6, DWORD sV7, DWORD sV8, DWORD sV9, char * pString2) const |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment