Difference between revisions of "CommoditiesItemTypeListResponse"
From SWGANH Wiki
(→Sample Code) |
|||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{PageHeader|Client Packet|CommoditiesItemTypeListResponse (D4E937FC)}} | |
− | + | ||
{| border="0" width="90%" cellpadding=6 | {| border="0" width="90%" cellpadding=6 | ||
|- | |- | ||
Line 6: | Line 5: | ||
===Struct=== | ===Struct=== | ||
---- | ---- | ||
− | + | {| align="center" | |
+ | |- | ||
+ | || | ||
{| class="wikitable" | {| class="wikitable" | ||
|{{int}}||'''Opcode''' | |{{int}}||'''Opcode''' | ||
+ | |- | ||
+ | |{{a_string}}||'''Server Name.Total Number of Items''' | ||
|- | |- | ||
|{{int}}||'''Sub Category Counter''' | |{{int}}||'''Sub Category Counter''' | ||
Line 14: | Line 17: | ||
|{{int}}||'''Sub Category''' | |{{int}}||'''Sub Category''' | ||
|- | |- | ||
− | |{{int}}||''' | + | |{{int}}||'''Number of Typelistings in the Subcategory''' |
|- | |- | ||
− | |{{a_string}}||''' | + | |{{a_string}}||'''String Directory''' |
|- | |- | ||
− | |{{int}}||''' | + | |{{int}}||'''0''' |
|- | |- | ||
− | |{{u_string}}||''' | + | |{{u_string}}||'''String Type Name''' |
+ | |} | ||
|} | |} | ||
Line 26: | Line 30: | ||
---- | ---- | ||
− | Opperand_Count = '''''' | + | Opperand_Count = '''7''' |
Opcode = '''D4E937FC''' | Opcode = '''D4E937FC''' | ||
---- | ---- | ||
+ | |||
+ | * '''String Directory''' | ||
+ | : eg wearables.name | ||
+ | |||
+ | * '''0 (INT)''' | ||
+ | :might be Unicode String for custom name ? | ||
+ | |||
+ | * '''String Type Name''' | ||
+ | :like "armor.tantel.skreej.chest.plate.quest" | ||
|valign=top| | |valign=top| | ||
Line 41: | Line 54: | ||
|- | |- | ||
|} | |} | ||
− | |||
|} | |} | ||
− | + | ==Sample Packet== | |
− | + | ||
− | ==Sample | + | |
---- | ---- | ||
Line 55: | Line 65: | ||
FC 37 E9 D4 | FC 37 E9 D4 | ||
Shadowfire.4606 | Shadowfire.4606 | ||
− | 7A 00 00 00 | + | 7A 00 00 00 amount of subcategories |
01 01 00 00 category/subcategory bitmask | 01 01 00 00 category/subcategory bitmask | ||
Line 79: | Line 89: | ||
00 00 00 00 | 00 00 00 00 | ||
armor.ris.chest.plate | armor.ris.chest.plate | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</pre> | </pre> |
Latest revision as of 20:14, 27 December 2007
Client Packet - CommoditiesItemTypeListResponse (D4E937FC)
SWGANH Wiki is a repository of Star Wars Galaxies Developer information. This site is only meant to be used by SWGANH Developer team.
Struct
Variable DescriptionsOpperand_Count = 7 Opcode = D4E937FC
|
Tags
|
Sample Packet
00 09 FF FF 02 00 FC 37 E9 D4 Shadowfire.4606 7A 00 00 00 amount of subcategories 01 01 00 00 category/subcategory bitmask 20 00 00 00 amount of types in the subcategory 72 0F 30 89 itemtype crc (??) wearables.name string lookup directory 00 00 00 00 string custom name vs stringlookup armor.tantel.skreej.chest.plate.quest string lookup D5 43 73 90 wearables.name 00 00 00 00 armor.kashyyykian.hunting.chestplate EF 09 EC 90 wearables.name 00 00 00 00 armor.scout.trooper.chest.plateg 67 5C C4 92 wearables.name 00 00 00 00 armor.ris.chest.plate