private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("OnConnectedToServer", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegateFT_ConnectProcessResultHandler_0(SwigDirectorOnConnectedToServer);
     }
     if (SwigDerivedClassHasMethod("OnFailedToConnect", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegateFT_ConnectProcessResultHandler_1(SwigDirectorOnFailedToConnect);
     }
     if (SwigDerivedClassHasMethod("OnLostConnection", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegateFT_ConnectProcessResultHandler_2(SwigDirectorOnLostConnection);
     }
     if (SwigDerivedClassHasMethod("OnDisconnectedFromServer", swigMethodTypes3))
     {
         swigDelegate3 = new SwigDelegateFT_ConnectProcessResultHandler_3(SwigDirectorOnDisconnectedFromServer);
     }
     if (SwigDerivedClassHasMethod("DebugReceive", swigMethodTypes4))
     {
         swigDelegate4 = new SwigDelegateFT_ConnectProcessResultHandler_4(SwigDirectorDebugReceive);
     }
     if (SwigDerivedClassHasMethod("ReceiveLog", swigMethodTypes5))
     {
         swigDelegate5 = new SwigDelegateFT_ConnectProcessResultHandler_5(SwigDirectorReceiveLog__SWIG_0);
     }
     if (SwigDerivedClassHasMethod("ReceiveLog", swigMethodTypes6))
     {
         swigDelegate6 = new SwigDelegateFT_ConnectProcessResultHandler_6(SwigDirectorReceiveLog__SWIG_1);
     }
     if (SwigDerivedClassHasMethod("OnRead", swigMethodTypes7))
     {
         swigDelegate7 = new SwigDelegateFT_ConnectProcessResultHandler_7(SwigDirectorOnRead);
     }
     RakNetPINVOKE.FT_ConnectProcessResultHandler_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7);
 }
 private void SwigDirectorConnect() {
   if (SwigDerivedClassHasMethod("OnConnectedToServer", swigMethodTypes0))
     swigDelegate0 = new SwigDelegateFT_ConnectProcessResultHandler_0(SwigDirectorOnConnectedToServer);
   if (SwigDerivedClassHasMethod("OnFailedToConnect", swigMethodTypes1))
     swigDelegate1 = new SwigDelegateFT_ConnectProcessResultHandler_1(SwigDirectorOnFailedToConnect);
   if (SwigDerivedClassHasMethod("OnLostConnection", swigMethodTypes2))
     swigDelegate2 = new SwigDelegateFT_ConnectProcessResultHandler_2(SwigDirectorOnLostConnection);
   if (SwigDerivedClassHasMethod("OnDisconnectedFromServer", swigMethodTypes3))
     swigDelegate3 = new SwigDelegateFT_ConnectProcessResultHandler_3(SwigDirectorOnDisconnectedFromServer);
   if (SwigDerivedClassHasMethod("DebugReceive", swigMethodTypes4))
     swigDelegate4 = new SwigDelegateFT_ConnectProcessResultHandler_4(SwigDirectorDebugReceive);
   if (SwigDerivedClassHasMethod("ReceiveLog", swigMethodTypes5))
     swigDelegate5 = new SwigDelegateFT_ConnectProcessResultHandler_5(SwigDirectorReceiveLog__SWIG_0);
   if (SwigDerivedClassHasMethod("ReceiveLog", swigMethodTypes6))
     swigDelegate6 = new SwigDelegateFT_ConnectProcessResultHandler_6(SwigDirectorReceiveLog__SWIG_1);
   if (SwigDerivedClassHasMethod("OnRead", swigMethodTypes7))
     swigDelegate7 = new SwigDelegateFT_ConnectProcessResultHandler_7(SwigDirectorOnRead);
   RakNetPINVOKE.FT_ConnectProcessResultHandler_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7);
 }