static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { Casinos.CopyStreamingAssetsToPersistentData1 gen_ret = new Casinos.CopyStreamingAssetsToPersistentData1(); 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.CopyStreamingAssetsToPersistentData1 constructor!")); }
static int _m_CopySync(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Casinos.CopyStreamingAssetsToPersistentData1 gen_to_be_invoked = (Casinos.CopyStreamingAssetsToPersistentData1)translator.FastGetCSObj(L, 1); { System.Collections.Generic.List <string> _list_copy_dir = (System.Collections.Generic.List <string>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List <string>)); gen_to_be_invoked.CopySync(_list_copy_dir); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }