You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
495 B
25 lines
495 B
#include "MultiSend.h" |
|
|
|
|
|
bool MultiSend::HandleIncomingPacket(uint16_t id, uint32_t size, void* data, void* modified, bool blocked) |
|
{ |
|
if (id == 0x00A) |
|
{ |
|
if (strcmp(s_name.c_str(), (const char*)data + 0x84)) |
|
{ |
|
UpdateName(std::string((const char*)data + 0x84)); |
|
} |
|
} |
|
if ((id == 0x32) || (id == 0x34)) |
|
{ |
|
if (p_MMF->Follow.target_process_id == ::GetCurrentProcessId()) |
|
{ |
|
if (p_MMF->Follow.idle_count < 5000) |
|
{ |
|
p_MMF->Follow.idle_count = 5000; |
|
} |
|
} |
|
} |
|
|
|
return false; |
|
} |