The server message wrapper for PlayStream events. Should be used to deserialize EventObject into its appropriate types by EventName, TntityType, and EventNamespace. Do not modify.
 private void OnTitleEventHappened(PlayStreamNotification notif)
 {
     if (notif.EventName != "title_statistic_version_changed") return;
     foreach (var conn in NetworkingData.Connections)
     {
         conn.Connection.Send(PlayStreamMsgTypes.OnPlayStreamEventReceived, new PlayStreamEventMessage() { EntityType = notif.EntityType, EventData = notif.EventObject.EventData.ToString(), EventName = notif.EventName, EventNamespace = notif.EventNamespace });
     }
 }
 private void OnPlayerEventHappened(PlayStreamNotification notif)
 {
     var eventToSend = View.Subscriptions.Find(s => s.PlayFabId == notif.PlayerId);
     if (eventToSend != null)
     {
         var conn = NetworkingData.Connections.Find(c => c.PlayFabId == eventToSend.PlayFabId);
         if (conn == null)
         {
             View.Subscriptions.Remove(eventToSend);
         }
         else
         {
             conn.Connection.Send(PlayStreamMsgTypes.OnPlayStreamEventReceived, new PlayStreamEventMessage() { EventData = notif.EventObject.EventData.ToString(), EventName = notif.EventName, EntityType = notif.EntityType, EventNamespace = notif.EventNamespace });
         }
     }
 }