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) { 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); } }