internal static void InternalMultiplayerStatusCallback(MultiplayerStatus status, IntPtr data) { Logger.d("InternalMultiplayerStatusCallback: " + status); var callback = Callbacks.IntPtrToTempCallback <Action <MultiplayerStatus> >(data); try { callback(status); } catch (Exception e) { Logger.e("Error encountered executing InternalMultiplayerStatusCallback. " + "Smothering to avoid passing exception into Native: " + e); } }
internal static void InternalMultiplayerStatusCallback(MultiplayerStatus status, IntPtr data) { GooglePlayGames.OurUtils.Logger.d("InternalMultiplayerStatusCallback: " + status); var callback = Callbacks.IntPtrToTempCallback<Action<MultiplayerStatus>>(data); try { callback(status); } catch (Exception e) { GooglePlayGames.OurUtils.Logger.e("Error encountered executing InternalMultiplayerStatusCallback. " + "Smothering to avoid passing exception into Native: " + e); } }
internal static void InternalSendReliableMessageCallback(Status.MultiplayerStatus response, IntPtr data) { Logger.d("Entering internal callback for InternalSendReliableMessageCallback " + response); var callback = Callbacks.IntPtrToTempCallback <Action <Status.MultiplayerStatus> >(data); if (callback == null) { return; } try { callback(response); } catch (Exception e) { Logger.e("Error encountered executing InternalSendReliableMessageCallback. " + "Smothering to avoid passing exception into Native: " + e); } }