private void SwigDirectorConnect() {
   if (SwigDerivedClassHasMethod("GetNodeType", swigMethodTypes0))
     swigDelegate0 = new SwigDelegateFT_Node_Process_0(SwigDirectorGetNodeType);
   if (SwigDerivedClassHasMethod("OnProcess", swigMethodTypes1))
     swigDelegate1 = new SwigDelegateFT_Node_Process_1(SwigDirectorOnProcess);
   if (SwigDerivedClassHasMethod("OnOutTime", swigMethodTypes2))
     swigDelegate2 = new SwigDelegateFT_Node_Process_2(SwigDirectorOnOutTime);
   RakNetPINVOKE.FT_Node_Process_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2);
 }
示例#2
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("GetNodeType", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegateFT_Node_Process_0(SwigDirectorGetNodeType);
     }
     if (SwigDerivedClassHasMethod("OnProcess", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegateFT_Node_Process_1(SwigDirectorOnProcess);
     }
     if (SwigDerivedClassHasMethod("OnOutTime", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegateFT_Node_Process_2(SwigDirectorOnOutTime);
     }
     RakNetPINVOKE.FT_Node_Process_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2);
 }