Notifications - zeroKilo/GROBackendWV GitHub Wiki

Notifications

Notification Processor Locations (ProcessNotificationEvents functions)

Notifications are send from the backend to the game via a rmc request packet. ProcessNotificationEvents functions send events to trigger models' interfaces. The payload for such a packet is structured as following:

  • DWORD Source
  • DWORD Type
  • DWORD Param1
  • DWORD Param2
  • char* ParamString
  • DWORD Param3

Note: Type is a combined field, the value is create as following: type * 1000 + subtype. The string parameter is stored as following:

  • WORD size //including /0 terminator
  • CHAR[] string; //including /0 terminator

Notification Types and Handlers

Notifications are identified by the pair of Type : Subtype.

Similarly, bus events are identified with modelId : eventId.