static int _s_set_UseDefaultColor(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.LockIcon __cl_gen_to_be_invoked = (xc.ui.LockIcon)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.UseDefaultColor = LuaAPI.lua_toboolean(L, 2); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_GreyComponent(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.LockIcon __cl_gen_to_be_invoked = (xc.ui.LockIcon)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.GreyComponent = translator.GetObject(L, 2, typeof(object)); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_TargetImage(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.LockIcon __cl_gen_to_be_invoked = (xc.ui.LockIcon)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.TargetImage = (UnityEngine.UI.Image)translator.GetObject(L, 2, typeof(UnityEngine.UI.Image)); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_DeltaY(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.LockIcon __cl_gen_to_be_invoked = (xc.ui.LockIcon)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.DeltaY = (float)LuaAPI.lua_tonumber(L, 2); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _g_get_ExpectColor(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.LockIcon __cl_gen_to_be_invoked = (xc.ui.LockIcon)translator.FastGetCSObj(L, 1); translator.PushUnityEngineColor(L, __cl_gen_to_be_invoked.ExpectColor); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _g_get_Scale(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.LockIcon __cl_gen_to_be_invoked = (xc.ui.LockIcon)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushnumber(L, __cl_gen_to_be_invoked.Scale); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _s_set_ExpectColor(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.LockIcon __cl_gen_to_be_invoked = (xc.ui.LockIcon)translator.FastGetCSObj(L, 1); UnityEngine.Color __cl_gen_value; translator.Get(L, 2, out __cl_gen_value); __cl_gen_to_be_invoked.ExpectColor = __cl_gen_value; } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int __CreateInstance(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { if (LuaAPI.lua_gettop(L) == 1) { xc.ui.LockIcon __cl_gen_ret = new xc.ui.LockIcon(); 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 xc.ui.LockIcon constructor!")); }
static int _m_SetSystemId(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.LockIcon __cl_gen_to_be_invoked = (xc.ui.LockIcon)translator.FastGetCSObj(L, 1); try { { uint id = LuaAPI.xlua_touint(L, 2); __cl_gen_to_be_invoked.SetSystemId(id); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }