protected internal static void SendEvent(string apiEndpoint, PlayFabRequestCommon request, PlayFabResultCommon result, ApiProcessingEventType eventType) { if (ApiProcessingEventHandler == null) { return; } try { ApiProcessingEventHandler(new ApiProcessingEventArgs { ApiEndpoint = apiEndpoint, EventType = eventType, Request = request, Result = result }); } catch (Exception e) { Debug.LogException(e); } }
protected internal static void SendEvent(string apiEndpoint, PlayFabRequestCommon request, PlayFabResultCommon result, ApiProcessingEventType eventType) { if (PlayFabHttp.ApiProcessingEventHandler == null) { return; } try { PlayFabHttp.ApiProcessingEventHandler(new ApiProcessingEventArgs { ApiEndpoint = apiEndpoint, EventType = eventType, Request = request, Result = result }); } catch { } }