Ejemplo n.º 1
0
 private void SwigDirectorConnect() {
   if (SwigDerivedClassHasMethod("OnLoginSuccess", swigMethodTypes0))
     swigDelegate0 = new SwigDelegateUDPProxyServerResultHandler_0(SwigDirectorOnLoginSuccess);
   if (SwigDerivedClassHasMethod("OnAlreadyLoggedIn", swigMethodTypes1))
     swigDelegate1 = new SwigDelegateUDPProxyServerResultHandler_1(SwigDirectorOnAlreadyLoggedIn);
   if (SwigDerivedClassHasMethod("OnNoPasswordSet", swigMethodTypes2))
     swigDelegate2 = new SwigDelegateUDPProxyServerResultHandler_2(SwigDirectorOnNoPasswordSet);
   if (SwigDerivedClassHasMethod("OnWrongPassword", swigMethodTypes3))
     swigDelegate3 = new SwigDelegateUDPProxyServerResultHandler_3(SwigDirectorOnWrongPassword);
   RakNetPINVOKE.UDPProxyServerResultHandler_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3);
 }
Ejemplo n.º 2
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("OnLoginSuccess", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegateUDPProxyServerResultHandler_0(SwigDirectorOnLoginSuccess);
     }
     if (SwigDerivedClassHasMethod("OnAlreadyLoggedIn", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegateUDPProxyServerResultHandler_1(SwigDirectorOnAlreadyLoggedIn);
     }
     if (SwigDerivedClassHasMethod("OnNoPasswordSet", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegateUDPProxyServerResultHandler_2(SwigDirectorOnNoPasswordSet);
     }
     if (SwigDerivedClassHasMethod("OnWrongPassword", swigMethodTypes3))
     {
         swigDelegate3 = new SwigDelegateUDPProxyServerResultHandler_3(SwigDirectorOnWrongPassword);
     }
     RakNetPINVOKE.UDPProxyServerResultHandler_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3);
 }