static int IsSupportAccountCenter(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); SDKInterface obj = (SDKInterface)ToLua.CheckObject <SDKInterface>(L, 1); bool o = obj.IsSupportAccountCenter(); LuaDLL.lua_pushboolean(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
private static int IsSupportAccountCenter(IntPtr L) { int result; try { ToLua.CheckArgsCount(L, 1); SDKInterface sDKInterface = (SDKInterface)ToLua.CheckObject(L, 1, typeof(SDKInterface)); bool value = sDKInterface.IsSupportAccountCenter(); LuaDLL.lua_pushboolean(L, value); result = 1; } catch (Exception e) { result = LuaDLL.toluaL_exception(L, e, null); } return(result); }