static int get_posid(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); FirClient.Data.DialogData obj = (FirClient.Data.DialogData)o; uint ret = obj.posid; LuaDLL.lua_pushinteger(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index posid on a nil value")); } }
static int set_txtContent(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); FirClient.Data.DialogData obj = (FirClient.Data.DialogData)o; string arg0 = ToLua.CheckString(L, 2); obj.txtContent = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index txtContent on a nil value")); } }
static int set_posid(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); FirClient.Data.DialogData obj = (FirClient.Data.DialogData)o; uint arg0 = (uint)LuaDLL.luaL_checkinteger(L, 2); obj.posid = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index posid on a nil value")); } }
static int get_txtContent(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); FirClient.Data.DialogData obj = (FirClient.Data.DialogData)o; string ret = obj.txtContent; LuaDLL.lua_pushstring(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index txtContent on a nil value")); } }
static int GetDialogDataByKey(IntPtr L) { try { ToLua.CheckArgsCount(L, 4); ConfigManager obj = (ConfigManager)ToLua.CheckObject <ConfigManager>(L, 1); uint arg0 = (uint)LuaDLL.luaL_checknumber(L, 2); uint arg1 = (uint)LuaDLL.luaL_checknumber(L, 3); uint arg2 = (uint)LuaDLL.luaL_checknumber(L, 4); FirClient.Data.DialogData o = obj.GetDialogDataByKey(arg0, arg1, arg2); ToLua.PushObject(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int _CreateFirClient_Data_DialogData(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 0) { FirClient.Data.DialogData obj = new FirClient.Data.DialogData(); ToLua.PushObject(L, obj); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to ctor method: FirClient.Data.DialogData.New")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }