void ModInterface.Game_Event(CmdId eventId, ushort seqNr, object data) { Broker.HandleGameEvent(eventId, seqNr, data); if (eventId == CmdId.Event_ChatMessage) SimpleMod_ProcessChatCommands((ChatInfo)data); API_Message_Received?.Invoke(eventId, seqNr, data); }
void ModInterface.Game_Event(CmdId eventId, ushort seqNr, object data) { Broker.HandleGameEvent(eventId, seqNr, data); API_Message_Received?.Invoke(eventId, seqNr, data); }