CurrencyTypes.dbc

Материал из YTDB DataBase

Перейти к: навигация, поиск

Содержание

К описанию DBC файлов.


`CurrencyTypes` dbc

This dbc contains all currency types a player can know and store.

Version is : 3.3.0a

Structure

Field Nb Name Type
1 ID Int
2 ItemId Int
3 Category Int
4 BitIndex Int


Content

IDItemIdCategoryBitIndex
12520558218
12220559215
12120560214
12329024216
422943417
13771111
23774212
20137836223
43864433
101407522210
102407532211
614159618
2241749245
12442425217
814301619
16143228221
10343307212
10443308213
12643589219
14143949208987889620
18144209222
221456242224
24144990125
301472412227
32147395228
341494262229

Usage in MaNGOS

struct CurrencyTypesEntry
{
    //uint32  ID;           // 0   not used
    uint32    ItemId;       // 1   used as real index
    //uint32  Category;     // 2   may be category
    uint32    BitIndex;     // 3   bit index in PLAYER_FIELD_KNOWN_CURRENCIES (1 << (index-1))
};
Личные инструменты