Ejemplo n.º 1
0
 static int initYunYa(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         weChatFunction obj = (weChatFunction)ToLua.CheckObject(L, 1, typeof(weChatFunction));
         obj.initYunYa();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Ejemplo n.º 2
0
 static int ImRecordVolume(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         weChatFunction obj  = (weChatFunction)ToLua.CheckObject(L, 1, typeof(weChatFunction));
         object         arg0 = ToLua.ToVarObject(L, 2);
         obj.ImRecordVolume(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }