Jump to content
Alloder.pro  about Allods with love 😱
Search In
  • More options...
Find results that contain...
Find results in...

Servers monitoring and the Addons Editor

We present you two legends. All dreams come true.

Servers monitoring The Addons Editor

Digest April

We talk about what was done and updated in the past month. We help keep abreast of events.

Read more

Game tooltips

Tooltips provide a way for 3rd party fansites and extensions to display detailed information on mouseover.

Read more

что такое бандл?


Recommended Posts

avatar.GetItemBundleInfo( itemId )

Если предмет является бандлом, то возвращает таблицу с информацией о бандле и список предметов, входящих в бандл.

-- библиотека:


-- объявление:

function GetItemBundleInfo( itemId )

-- параметры:

itemId: ObjectId (not nil) - идентификатор предмета

-- возвращаемые значения:

table or nil - таблица с информацией о бандле или nil (если предмет - не бандл). Поля:

bundle: table - описание бандла:

name: WString - название бандла

description: WString - описание бандла

descriptionLong: WString - длинное описание бандла

items: table of ObjectId - индексированный с 0 список идентификаторов предметов, входящих в бандл

-- пример:

local bundleInfo = avatar.GetItemBundleInfo( itemId )

if bundleInfo then

LogInfo( bundleInfo.name )

local itemsIds = bundleInfo.items


Link to comment
Share on other sites

Guest Hommit

быть может, сундуки с набором предметов - типа продававшегося набора школьника?

Link to comment
Share on other sites

I don't have this in my 1.0.4 API, so maybe this is a future/current idea involving people being able to "bundle" up a collection of items for sending and such? Empty bundles would produce nil results, IE "There's nothing in this package, drag items into it to add" type deals. Then you could have it show a list of items in the item tooltip for what is inside the bundle. Like known costume chests showing, "Headpiece = Blah, Suit = Blah" so on..

Like what Hommit said.

Link to comment
Share on other sites

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using our site you agree to the Terms of Use