Updated to Interface Event

Changed SendConsoleEvent to SendInterfaceEvent to make functionality clearer. Added InterfaceProcess virtual to EventHandlers. Added CCMD for sending interface events.
This commit is contained in:
Boondorl 2022-11-11 13:44:26 -05:00 committed by Christoph Oelckers
commit 7517b64aee
4 changed files with 69 additions and 26 deletions

View file

@ -2704,7 +2704,7 @@ void Net_DoCommand (int type, uint8_t **stream, int player)
for (int i = 0; i < 3; i++)
arg[i] = ReadLong(stream);
bool manual = !!ReadByte(stream);
primaryLevel->localEventManager->Console(player, s, arg[0], arg[1], arg[2], manual);
primaryLevel->localEventManager->Console(player, s, arg[0], arg[1], arg[2], manual, false);
}
break;