EN Runtime API 08 Named Parameters - LIHACHTETAN/ClassicUO-Bad-Newbie-CSharp-Scripts-IDE GitHub Wiki

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

Runtime API — Named parameters

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

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

UO.Backpack

Containers

Returns the ID of the current character's equipped backpack.

UO.Connected

Client & Connection

Checks if the current session is in the game world and if its game connection is open. Use before a character action or while waiting for entry.

UO.Dir

Movement

Reads the character direction from the client model.

UO.Direction

Movement

Reads the character direction from the client model.

UO.FindItem

Search

Reads serial of the first result of the last regular search.

UO.Followers

Characters and creatures

Helps decide in advance whether the character has enough space for the next tamed or summoned creature. Followers shows the occupied management slots, FollowersMax is their total limit. This is not the number of animals nearby or the movement command Follow.

UO.FollowersMax

Characters and creatures

Helps decide in advance whether the character has enough space for the next tamed or summoned creature. Followers shows the occupied management slots, FollowersMax is their total limit. This is not the number of animals nearby or the movement command Follow.

UO.GetFollowers

Characters and creatures

Helps decide in advance whether the character has enough space for the next tamed or summoned creature. Followers shows the occupied management slots, FollowersMax is their total limit. This is not the number of animals nearby or the movement command Follow.

UO.GetFollowersMax

Characters and creatures

Helps decide in advance whether the character has enough space for the next tamed or summoned creature. Followers shows the occupied management slots, FollowersMax is their total limit. This is not the number of animals nearby or the movement command Follow.

UO.GetGold

Character

Reads the amount of gold from the current character's status.

UO.GetPetsCurrent

Characters and creatures

Helps decide in advance whether the character has enough space for the next tamed or summoned creature. Followers shows the occupied management slots, FollowersMax is their total limit. This is not the number of animals nearby or the movement command Follow.

UO.GetPetsMax

Characters and creatures

Helps decide in advance whether the character has enough space for the next tamed or summoned creature. Followers shows the occupied management slots, FollowersMax is their total limit. This is not the number of animals nearby or the movement command Follow.

UO.GetWorldNum

World & Geometry

Reads the current card number from the client model.

UO.Gold

Character

Reads the amount of gold from the current character's status.

UO.IsMoving

Movement

Checks the movement of your character.

UO.IsOnline

Client & Connection

Checks if the current session is in the game world and if its game connection is open. Use before a character action or while waiting for entry.

UO.LastStatus

Character

Returns the serial of the last object for which the client accepted the status.

UO.LastTarget

Targeting

Reads serial of the last saved target object.

UO.Moving

Movement

Checks the movement of your character.

UO.Name

Items

Reads the character's name.

UO.Online

Client & Connection

Checks if the current session is in the game world and if its game connection is open. Use before a character action or while waiting for entry.

UO.PetsCurrent

Characters and creatures

Helps decide in advance whether the character has enough space for the next tamed or summoned creature. Followers shows the occupied management slots, FollowersMax is their total limit. This is not the number of animals nearby or the movement command Follow.

UO.PetsMax

Characters and creatures

Helps decide in advance whether the character has enough space for the next tamed or summoned creature. Followers shows the occupied management slots, FollowersMax is their total limit. This is not the number of animals nearby or the movement command Follow.

UO.Self

Character

Returns ID of the current character.

UO.WorldNum

World & Geometry

Reads the current card number from the client model.

UO.X

World & Geometry

Reads the X coordinate from the client model.

UO.Y

World & Geometry

Reads the Y coordinate from the client model.

UO.Z

World & Geometry

Reads the Z height from the client model.