示例#1
0
 public virtual void OnMessageReceived(NetworkConnection connection, NetworkInMessage message)
 {
     if (SwigDerivedClassHasMethod("OnMessageReceived", swigMethodTypes3))
     {
         SharingClientPINVOKE.NetworkConnectionListener_OnMessageReceivedSwigExplicitNetworkConnectionListener(swigCPtr, NetworkConnection.getCPtr(connection), NetworkInMessage.getCPtr(message));
     }
     else
     {
         SharingClientPINVOKE.NetworkConnectionListener_OnMessageReceived(swigCPtr, NetworkConnection.getCPtr(connection), NetworkInMessage.getCPtr(message));
     }
     if (SharingClientPINVOKE.SWIGPendingException.Pending)
     {
         throw SharingClientPINVOKE.SWIGPendingException.Retrieve();
     }
 }