Commit 2bea392d authored by Chen Bill's avatar Chen Bill

edit comment

parent bd9a2690
...@@ -882,6 +882,7 @@ void DuelClient::HandleSTOCPacketLan(unsigned char* data, unsigned int len) { ...@@ -882,6 +882,7 @@ void DuelClient::HandleSTOCPacketLan(unsigned char* data, unsigned int len) {
} }
} }
} }
// Analyze STOC_GAME_MSG packet
int DuelClient::ClientAnalyze(unsigned char* msg, unsigned int len) { int DuelClient::ClientAnalyze(unsigned char* msg, unsigned int len) {
unsigned char* pbuf = msg; unsigned char* pbuf = msg;
wchar_t textBuffer[256]; wchar_t textBuffer[256];
......
...@@ -579,6 +579,7 @@ void SingleDuel::Surrender(DuelPlayer* dp) { ...@@ -579,6 +579,7 @@ void SingleDuel::Surrender(DuelPlayer* dp) {
DuelEndProc(); DuelEndProc();
event_del(etimer); event_del(etimer);
} }
// Analyze ocgcore message
int SingleDuel::Analyze(unsigned char* msgbuffer, unsigned int len) { int SingleDuel::Analyze(unsigned char* msgbuffer, unsigned int len) {
unsigned char* offset, *pbufw, *pbuf = msgbuffer; unsigned char* offset, *pbufw, *pbuf = msgbuffer;
int player, count, type; int player, count, type;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment