Esempio n. 1
0
 private int RunInstanceMethod(ModInfo mod, string method)
 {
     if (RModuled.ContainsKey(mod.modid))
     {
         Type     t    = RModuled[mod.modid].clsType;
         object   o    = RModuled[mod.modid].clsInst;
         object[] para = { };
         MReflect.RumMethordIgnoreRlt(t, method, o, para);
         return(0);
     }
     else
     {
         Logging.logger.Error("RunInstanceMethod failed ");
         return(-1);
     }
 }