static int Stop(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UITextNumCountdown obj = (UITextNumCountdown)ToLua.CheckObject(L, 1, typeof(UITextNumCountdown)); obj.Stop(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int get_EndCount(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UITextNumCountdown obj = (UITextNumCountdown)o; float ret = obj.EndCount; LuaDLL.lua_pushnumber(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index EndCount on a nil value" : e.Message)); } }
static int get_formatText(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UITextNumCountdown obj = (UITextNumCountdown)o; string ret = obj.formatText; LuaDLL.lua_pushstring(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index formatText on a nil value" : e.Message)); } }
static int set_Speed(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UITextNumCountdown obj = (UITextNumCountdown)o; float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.Speed = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index Speed on a nil value" : e.Message)); } }
static int set_formatText(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UITextNumCountdown obj = (UITextNumCountdown)o; string arg0 = ToLua.CheckString(L, 2); obj.formatText = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index formatText on a nil value" : e.Message)); } }