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)); } }
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)); } }