Difference between revisions of "Documentation"
From OpenEUO
(→Variables) |
(→Table Functions: added getn) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Lua == | == Lua == | ||
+ | |||
+ | OpenEUO uses Lua for scripting. | ||
'''''WARNING: Use at your own risk, and when discrepancies are discovered, please update appropriately. Thank you.''''' | '''''WARNING: Use at your own risk, and when discrepancies are discovered, please update appropriately. Thank you.''''' | ||
Line 93: | Line 95: | ||
* [[table.concat]] | * [[table.concat]] | ||
+ | * [[table.getn]] | ||
* [[table.insert]] | * [[table.insert]] | ||
* [[table.maxn]] | * [[table.maxn]] | ||
Line 147: | Line 150: | ||
* [[UO.CliLogged]] | * [[UO.CliLogged]] | ||
* [[UO.CliNr]] | * [[UO.CliNr]] | ||
+ | * [[UO.CliTitle]] | ||
* [[UO.CliTop]] | * [[UO.CliTop]] | ||
* [[UO.CliVer]] | * [[UO.CliVer]] |
Latest revision as of 19:02, 17 March 2011
Contents
Lua
OpenEUO uses Lua for scripting.
WARNING: Use at your own risk, and when discrepancies are discovered, please update appropriately. Thank you.
Constants
Basic Functions
- _G
- assert
- collectgarbage
- dofile
- error
- getfenv
- getmetatable
- ipairs
- loadfile
- loadstring
- next
- pairs
- pcall
- rawequal
- rawget
- rawset
- select
- setfenv
- setmetatable
- tonumber
- tostring
- type
- unpack
Math Functions
- math.abs
- math.acos
- math.asin
- math.atan
- math.atan2
- math.ceil
- math.cos
- math.cosh
- math.deg
- math.exp
- math.floor
- math.fmod
- math.frexp
- math.huge
- math.ldexp
- math.log
- math.log10
- math.max
- math.min
- math.modf
- math.pi
- math.pow
- math.rad
- math.random
- math.randomseed
- math.sin
- math.sinh
- math.sqrt
- math.tan
- math.tanh
String Functions
- string.byte
- string.char
- string.dump
- string.find
- string.format
- string.gmatch
- string.gsub
- string.len
- string.lower
- string.match
- string.rep
- string.reverse
- string.sub
- string.upper
Table Functions
OpenEUO
Standard Functions
- cmpsetatom
- dostring
- getatom
- getdate
- getkey
- getmouse
- getticks
- gettime
- getbasedir
- getinstalldir
- listatoms
- openfile
- pause
- setatom
- stop
- wait
Bitwise Functions
Ultima Online
Variables
- UO.AR
- UO.BackpackID
- UO.CharDir
- UO.CharID
- UO.CharName
- UO.CharPosX
- UO.CharPosY
- UO.CharPosZ
- UO.CharStatus
- UO.CharType
- UO.CliCnt
- UO.CliLang
- UO.CliLeft
- UO.CliLogged
- UO.CliNr
- UO.CliTitle
- UO.CliTop
- UO.CliVer
- UO.CliXRes
- UO.CliYRes
- UO.ContID
- UO.ContKind
- UO.ContName
- UO.ContPosX
- UO.ContPosY
- UO.ContSizeX
- UO.ContSizeY
- UO.ContType
- UO.CR
- UO.CursKind
- UO.CursorX
- UO.CursorY
- UO.Dex
- UO.EnemyHits
- UO.EnemyID
- UO.ER
- UO.Followers
- UO.FR
- UO.GetHP
- UO.Gold
- UO.Hits
- UO.Int
- UO.LHandID
- UO.LLiftedID
- UO.LLiftedKind
- UO.LLiftedType
- UO.LObjectID
- UO.LObjectType
- UO.LShard
- UO.LSkill
- UO.LSpell
- UO.LTargetID
- UO.LTargetKind
- UO.LTargetTile
- UO.LTargetX
- UO.LTargetY
- UO.LTargetZ
- UO.Luck
- UO.Mana
- UO.MaxDmg
- UO.MaxFol
- UO.MaxHits
- UO.MaxMana
- UO.MaxStam
- UO.MaxStats
- UO.MaxWeight
- UO.MinDmg
- UO.NextCPosX
- UO.NextCPosY
- UO.PR
- UO.RHandID
- UO.Sex
- UO.Shard
- UO.Stamina
- UO.StatBar
- UO.Str
- UO.SysMsg
- UO.TargCurs
- UO.TP
- UO.Weight
Commands
- UO.CliDrag
- UO.Click
- UO.ContTop
- UO.Drag
- UO.DropC
- UO.DropG
- UO.DropPD
- UO.Equip
- UO.ExMsg
- UO.GetCont
- UO.GetItem
- UO.GetJournal
- UO.GetPix
- UO.GetShop
- UO.GetSkill
- UO.HideItem
- UO.Key
- UO.Macro
- UO.Move
- UO.Msg
- UO.Pathfind
- UO.Popup
- UO.Property
- UO.RenamePet
- UO.ScanItems
- UO.ScanJournal
- UO.SetShop
- UO.SkillLock
- UO.StatBar
- UO.StatLock
- UO.SysMessage
- UO.TileCnt
- UO.TileGet
- UO.TileInit
Objects
Commands
Classes
- TBevel
- TButton
- TCheckBox
- TComboBox
- TEdit
- TForm
- TGroupBox
- TImageList
- TLabel
- TListBox
- TMainMenu
- TMemo
- TMessageBox
- TOpenDialog
- TPaintBox
- TPanel
- TPopupMenu
- TRadioButton
- TSaveDialog
- TScrollBar
- TSplitter
- TStatusBar
- TStatusPanel
- TSynMemo
- TTabControl
- TTimer
- TToolBar
- TToolButton