void IPlayerEditorConnectionNative.SendMessage(Guid messageId, byte[] data, int playerId) { if (messageId == Guid.Empty) { throw new ArgumentException("messageId must not be empty"); } PlayerConnectionInternal.SendMessage(messageId.ToString("N"), data, playerId); }
bool IPlayerEditorConnectionNative.TrySendMessage(Guid messageId, byte[] data, int playerId) { bool flag = messageId == Guid.Empty; if (flag) { throw new ArgumentException("messageId must not be empty"); } return(PlayerConnectionInternal.TrySendMessage(messageId.ToString("N"), data, playerId)); }
void IPlayerEditorConnectionNative.DisconnectAll() { PlayerConnectionInternal.DisconnectAll(); }
bool IPlayerEditorConnectionNative.IsConnected() { return(PlayerConnectionInternal.IsConnected()); }
void IPlayerEditorConnectionNative.Initialize() { PlayerConnectionInternal.Initialize(); }
void IPlayerEditorConnectionNative.UnregisterInternal(Guid messageId) { PlayerConnectionInternal.UnregisterInternal(messageId.ToString("N")); }
void IPlayerEditorConnectionNative.Poll() { PlayerConnectionInternal.PollInternal(); }