EN Runtime API 29 Items - LIHACHTETAN/ClassicUO-Bad-Newbie-CSharp-Scripts-IDE GitHub Wiki

Українська · Русский · English · Deutsch · Français · Italiano · Español · 繁體中文 · 日本語 · 한국어

Runtime API - Items

Home · C# · IDE · UO API · A–Z · Examples · Languages

Each team opens a card with C#-signatures, parameters and several independent examples.

UO.AddType

Items

Stores a friendly name for the item or body graphic type mobile. For example, after UO.AddType("bandage", 0x0E21) you can search for or use bandages through the name "bandage" without repeating the numeric type on each line. This is setting up a name → Graphic mapping, not creating an item or remembering one specific ID.

UO.Count

Search

Performs a search and summarizes the units of found items.

UO.CountEx

Search

Performs a search and summarizes the units of found items.

UO.CountGround

Search

Performs a search and summarizes the units of found items.

UO.DeleteObject

Items

Removes the stored object name from the runtime table.

UO.DragItem

Items

Picks up a specific item and remembers it for DropItem this runtime.

UO.EUO2Type

Conversion & Compatibility

Decodes the EasyUO literal notation in radix 26 with A=0.

UO.GetFoundItems

Search

Creates a copy of the list ID of the last normal search.

UO.GetSerial

Items

Resolves the object's name to its serial and formats serial as a hex string.

UO.GetType

Items

Reads the numeric graphic of an item or character's body.

UO.GetWordCount

Files / JSON / Data

Counts non-empty text fields. Allows you to check the number of coordinates before parsing and determine the boundaries of enumeration of the list.

UO.IsObjectExists

Items

Checks the presence of a non-deleted object in the client's local world.

UO.LastObject

Items

Reads the serial of the last used object.

UO.LineCount

Journal

Reads the number of matching rows from the last search.

UO.LineMsgType

Journal

Returns the network message type of the selected log entry.

UO.LineType

Journal

Returns the text category of the selected log entry.

UO.MakeFakeItem

Items

Creates or modifies only a local client item.

UO.ReceiveObjectName

Items

Requests the name of an object with a single-click request.

UO.SetBadObject

Search

Excludes from the following routes and queries the paths of cells around loaded world objects selected by graphic and hue.