Name | Result | Description | Code | Params | Examples |
---|---|---|---|---|---|
Items | TL2Object | Get object from list by index. Class default method. |
|
Index - index number (starting with 0) |
You need to register to view the code example. |
Count | Integer | Number of objects in the list |
|
There are no arguments | You need to register to view the code example. |
ByName | Boolean | Get object from list by name |
|
Name - object name |
You need to register to view the code example. |
ByID | Boolean | Get object from list by identificator |
|
ID - object identifier |
You need to register to view the code example. |
ByOID | Boolean | Get object from list by unique identificator |
|
OID - unique object identifier |
You need to register to view the code example. |
Objects
Имя | Класс | Description |
---|---|---|
PetList | TL2List из TL2Pet | List of user pets and summons |
SkillList | TL2List из TL2Skill | List of character skills |
CharList | TL2List из TL2Char | List of players around character |
NpcList | TL2List из TL2Npc | List of NPCs around character |
DropList | TL2List из TL2Drop | List of drop/items laying on the ground around character |
StaticList | TL2List из TL2StaticObject | List of immovable objects (doors, etc.) around character |
LearnList | TL2List из TLearnItem | List of skills available for learning via skills window. For chronicles higher then High Five. |
LearnList2 | TL2List из TLearnItem | List of skills available for learining via NPC |
Methods
Имя | Результат | Description |
---|---|---|
TInventory.User | TItemList | User inventory list of items |
TL2Control.GetPetList | TPetList | List of user pets and summons of account of this controller |
TInventory.Quest | TItemList | User quest inventory list of items |
TL2Live.Equips | TL2List из TL2Item | Object equipment list |
TInventory.Pet | TItemList | Pet inventory list of items |
TL2Live.Buffs | TBuffList | Object buff list. Available for user character, his pets, his group, and additionally for his current target (on chronicles higher then High Five). |
TL2Live.Abnormals | TBuffList | Object visual(stun, silence, barrier, etc.) effects list. Avaiable for chronicles higher then High Five. |
TL2Control.GetSkillList | TSkillList | Charater skills list of account of this controller |
TL2Control.GetCharList | TCharList | List of players around character of account of this controller |
TL2Control.GetNpcList | TNpcList | List of NPCs around character of account of this controller |
TL2Control.GetDropList | TDropList | List of drop/items laying on the ground around character of account of this controller |