Multithreading Gameplay Logic (Part 4)

This is an extension of part 2 of the multithreading gameplay logic section. This entry is more about creating a better looking api that does not require as much start up time for messaging.

 Old API Bus declaration

Old API Bus declaration

 Old Bus API event dispatching.

Old Bus API event dispatching.

 Example of new API Design.

Example of new API Design.

This approach removes the need for EBus and EBusTraits declarations using some macro magic. The user provides the sender , receiver, execution mode, message function, and message arguments.