mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
formatting
This commit is contained in:
@@ -193,8 +193,8 @@ public:
|
|||||||
void ForceRecount() { SetEventValue(0, "bot_count", 0, 0); }
|
void ForceRecount() { SetEventValue(0, "bot_count", 0, 0); }
|
||||||
void MarkBotForLogout(uint32 bot)
|
void MarkBotForLogout(uint32 bot)
|
||||||
{
|
{
|
||||||
SetEventValue(bot, "add", 0, 0); // Clear the "add" event to trigger logout
|
SetEventValue(bot, "add", 0, 0); // Clear the "add" event to trigger logout
|
||||||
SetEventValue(bot, "logout", 1, 1); // Also set logout for clarity
|
SetEventValue(bot, "logout", 1, 1); // Also set logout for clarity
|
||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|||||||
Reference in New Issue
Block a user