Ejemplo n.º 1
0
    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);
    }
Ejemplo n.º 2
0
 void ModInterface.Game_Event(CmdId eventId, ushort seqNr, object data)
 {
     Broker.HandleGameEvent(eventId, seqNr, data);
     API_Message_Received?.Invoke(eventId, seqNr, data);
 }