Stats

Name Result Description Code Params Examples
Name String Object name
function Name: string;
There are no arguments You need to register to view the code example.
ID Cardinal Object identificator
function ID: сardinal;
There are no arguments You need to register to view the code example.
OID Cardinal Unique object identificator
function OID: cardinal;
There are no arguments You need to register to view the code example.
  • Examples found for this method:
L2Class TL2Class Object type
function L2Class: TL2Class;
There are no arguments You need to register to view the code example.

Conditions

Name Result Description Code Params Examples
Valid Boolean Is object exist/relevant
function Valid: boolean;
There are no arguments You need to register to view the code example.

User custom variables

Name Result Description Code Params Examples
SetVar - Write custom variable to object
procedure SetVar(Number: cardinal; Index: byte = 0);

Number - writing number

Index - variable index (0..255) (default - 0)

You need to register to view the code example.
GetVar Cardinal Get object custom written variable
function GetVar(Index: byte = 0): cardinal;

Index - variable index (0..255) (default - 0)

You need to register to view the code example.

Methods

Имя Результат Description
TL2List.Items TL2Object Get object from list by index. Class default method.