Repository navigation
EN Runtime API 29 Items
Українська · Русский · English · Deutsch · Français · Italiano · Español · 繁體中文 · 日本語 · 한국어
Home · C# · IDE · UO API · A–Z · Examples · Languages
Each team opens a card with C#-signatures, parameters and several independent examples.
The list of types is located in the Object Types tab.
Searches for items of type ObjType in the character's backpack (top level only, no subcontainers) and returns the total count including stacks ( FindFullQuantity ).
Searches for items with type ObjType and color Color in the specified Container (top level only, no subcontainers) and returns the total count including stacks ( FindFullQuantity ).
Searches for items of type ObjType on the ground and returns the total count including stacks ( FindFullQuantity ).
Removes the stored object name from the runtime table. Does not remove the item from the game world. If there is no name, it reports this.
Reads or mutates the current ClassicUO item/equipment state through the registered runtime route and client action queue.
Decodes the letter entry EasyUO into a numeric identifier. Both commands use DecodeEasyUoId; the result is an int, not a hex string.
Reads or mutates the current ClassicUO item/equipment state through the registered runtime route and client action queue.
Returns the object parameter (by default - the player character) - series.
Returns the art type (art ID) of the object with the specified ObjID .
Returns the number of non-empty parts of a string. Without delimiter, the delimiters are whitespace characters; an explicitly specified non-empty string is used as the exact delimiter.
Returns true if the object with the specified ID exists in the local object cache, otherwise false .
Returns the serial number (ID) of the last object that was used via UseObject, UseType or similar methods.
Returns the number of matches found by the last call to InJournal or InJournalBetweenTimes .
Returns the message type of the last log entry found.
Returns the type code of the last log entry found.
Creates or updates a local client-side ground Item through the ClassicUO World item collection. The item is made drawable, receives the requested graphic/hue/count and world coordinates, and uses the current player's Z coordinate. When serial=0, C# allocates a free local item serial automatically.
Sends a single click on an object to request a name. If timeout is specified, waits for a non-empty name to appear until this period, checking at least 25 ms; timeout in milliseconds. Without the second argument there is no long wait. The command does not return anything; read the name with GetName.
Marks objects of the given type and color as impassable within the specified radius for the pathfinding system.
ClassicUO — Bad Newbie & C# Scripts IDE