Name Result Description Code Params Examples
Count Integer Database list elements count
function Count: integer;
There are no arguments You need to register to view the code example.
ByIndex TBaseObject Get element from database list by index
function ByIndex(index: cardinal): TBaseObject;

Index - element list (starting from 0)

You need to register to view the code example.
ByID TBaseObject Get element from database list by identificator
function ByID(ID: cardinal; Level: cardinal): TBaseObject;

ID - element identificator

Level - element level

You need to register to view the code example.

Methods

Имя Результат Description
TL2Base.Items TBaseList Items list from database. Elements of list can be transformed to TBaseItem.
TL2Base.Skills TBaseList Skills list from database. Elements of list can be transformed to TBaseSkill.
TL2Base.Actions TBaseList Actions list from database. Elements of list can be transformed to TBaseAction.
TL2Base.NPC TBaseList NPCs list from database. Elements of list can be transformed to TBaseNpc.
TL2Base.NpcStr TBaseList NPCs dialogs list from database
TL2Base.MsgStr TBaseList System messages list from database
TL2Base.SysStr TBaseList System captions list fro database