Luo.LLifted

From OpenEUO
Jump to: navigation, search

Calling Convention

Call

local f = sl.luo.LLifted
-- later
local t = f()

Args

none

Returns

f is a function, which when called produces t
t is a table of UO variable values

Example Usage

local l = sl.luo
local s = sl.str
local t,vo,v = {}, "", ""
while true do
  t  = l.LLifted()
  vo = s.joinsep(" ",
    t.ID,
    t.Kind,
    t.Type)
  print(vo)
  repeat
    t = l.LLifted()
    v = s.joinsep(" ",
      t.ID,
      t.Kind,
      t.Type)
    wait(100)
  until v ~= vo
end

Description

The live UO luo.LLifted method returns a table of current UO variable values at the time when it is called. Keys and values of the resultant table:

 key          value
 ID           UO.LLiftedID,
 Kind         UO.LLiftedKind,
 Type         UO.LLiftedType,


See Also