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

New program for writers

We turn from quantity to quality and tell you how we will supplement the Allods Team program with rewards in rubles.


The new Updater

Let us to introduce the new addon updater software and to share the details

Read more

Alloder 2.0

We have started the process of project evolve, and this relates not only, and not even primarily of the site's view

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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