EN Runtime API 07 Identification - LIHACHTETAN/ClassicUO-Bad-Newbie-CSharp-Scripts-IDE GitHub Wiki

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

Runtime API — Identification

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

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

UO.CharacterTitle

Character

Reads the character's title.

UO.CharName

Character

Reads the character's name.

UO.CharTitle

Character

Reads the character's title.

UO.GetRace

Character

Reads the character's race from the client model.

UO.GetSex

Character

Reads the gender and race code from the client model.

UO.Info

Diagnostics & Introspection

Without an argument, enables local targeting to select a loaded item or character. After selection, the C# Object Information window opens and displays the information in the log. The Info(serial) form immediately displays text about the specified object in the log and does not open the inspector. If interactive selection is not available, the form without an argument uses lasttarget. For land and static tiles use InfoTile.

UO.InfoColor

Diagnostics & Introspection

Logs the object's color in hexadecimal 0xHHHH. Without an argument, lasttarget is used; there is no return value.

UO.Race

Character

Reads the character's race from the client model.

UO.Sex

Character

Reads the gender and race code from the client model.