static int _g_get_LeftCount(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Casinos.CopyStreamingAssetsToPersistentData2 gen_to_be_invoked = (Casinos.CopyStreamingAssetsToPersistentData2)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.LeftCount); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(1); }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { Casinos.CopyStreamingAssetsToPersistentData2 gen_ret = new Casinos.CopyStreamingAssetsToPersistentData2(); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to Casinos.CopyStreamingAssetsToPersistentData2 constructor!")); }
static int _m_IsDone(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Casinos.CopyStreamingAssetsToPersistentData2 gen_to_be_invoked = (Casinos.CopyStreamingAssetsToPersistentData2)translator.FastGetCSObj(L, 1); { bool gen_ret = gen_to_be_invoked.IsDone( ); LuaAPI.lua_pushboolean(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_CopyAsync(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Casinos.CopyStreamingAssetsToPersistentData2 gen_to_be_invoked = (Casinos.CopyStreamingAssetsToPersistentData2)translator.FastGetCSObj(L, 1); { string _copy_dir = LuaAPI.lua_tostring(L, 2); gen_to_be_invoked.CopyAsync(_copy_dir); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }