Correct errors in event factory and fix PlayerUpdateEvent.

* Re-ordered some parameters in some event factory methods.
* Added missing generic types.