static int _s_set_ImageHeight(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); JW.Framework.NetAsset.NetAssetInfo __cl_gen_to_be_invoked = (JW.Framework.NetAsset.NetAssetInfo)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.ImageHeight = LuaAPI.xlua_tointeger(L, 2); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _g_get_AssetType(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); JW.Framework.NetAsset.NetAssetInfo __cl_gen_to_be_invoked = (JW.Framework.NetAsset.NetAssetInfo)translator.FastGetCSObj(L, 1); translator.Push(L, __cl_gen_to_be_invoked.AssetType); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _s_set_LastModifyTime(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); JW.Framework.NetAsset.NetAssetInfo __cl_gen_to_be_invoked = (JW.Framework.NetAsset.NetAssetInfo)translator.FastGetCSObj(L, 1); System.DateTime __cl_gen_value; translator.Get(L, 2, out __cl_gen_value); __cl_gen_to_be_invoked.LastModifyTime = __cl_gen_value; } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { JW.Framework.NetAsset.NetAssetInfo __cl_gen_ret = new JW.Framework.NetAsset.NetAssetInfo(); translator.Push(L, __cl_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 JW.Framework.NetAsset.NetAssetInfo constructor!")); }
static int _m_GetCachedFilePath(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); JW.Framework.NetAsset.NetAssetInfo __cl_gen_to_be_invoked = (JW.Framework.NetAsset.NetAssetInfo)translator.FastGetCSObj(L, 1); { string __cl_gen_ret = __cl_gen_to_be_invoked.GetCachedFilePath( ); LuaAPI.lua_pushstring(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_CompareTo(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); JW.Framework.NetAsset.NetAssetInfo __cl_gen_to_be_invoked = (JW.Framework.NetAsset.NetAssetInfo)translator.FastGetCSObj(L, 1); { object obj = translator.GetObject(L, 2, typeof(object)); int __cl_gen_ret = __cl_gen_to_be_invoked.CompareTo(obj); LuaAPI.xlua_pushinteger(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_GetCachedNetAssetInfoByUrl(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); JW.Framework.NetAsset.NetAssetService __cl_gen_to_be_invoked = (JW.Framework.NetAsset.NetAssetService)translator.FastGetCSObj(L, 1); { string url = LuaAPI.lua_tostring(L, 2); JW.Framework.NetAsset.NetAssetInfo __cl_gen_ret = __cl_gen_to_be_invoked.GetCachedNetAssetInfoByUrl(url); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }