internal static MessageEvent FromNative(ADLMessageEvent messageEvnt) { MessageEvent result = new MessageEvent(); result._srcUserId = messageEvnt.srcUserId; result._data = messageEvnt.data.body; return(result); }
private void on_message_callback_t(IntPtr opaque, ref ADLMessageEvent e) { try { if (_listener != null) { _listener.onMessage(MessageEvent.FromNative(e)); } } catch (Exception) { } }
private void on_message_callback_t(IntPtr opaque, ref ADLMessageEvent e) { try { if (_listener != null) _listener.onMessage(MessageEvent.FromNative(e)); } catch (Exception ) { } }
internal static MessageEvent FromNative(ADLMessageEvent messageEvnt) { MessageEvent result = new MessageEvent(); result._srcUserId = messageEvnt.srcUserId; result._data = messageEvnt.data.body; return result; }