Quote:
Originally Posted by collagen
what is the correct syntax for this?
struct ItemAccessories
{
child ItemAccessory [count=983]; ---------- when executing template it will prompt "error line: syntax error
}
struct ItemAccessory[preload=1, tableview=1]
{
i32 m_Disable;
i32 m_ID;
str[len=50] m_Name;
str[len=50] m_KoreanName;
i32 m_ItemType;
i32 m_Description;
i32 m_Weight;
i32 m_Price;
i32 m_SellPrice;
i32 m_EquipLevel;
str[len=52] m_ImageName;
i32 m_ItemEntity;
str[len=256] m_szItemExplain;
str[len=50] m_ItemLargeImage;
str[len=50] m_szExplainFileName;
i32 m_GuildBankFee;
i32 m_ItemSpecies;
i32 m_IEF_EquipLevel;
i32 m_IEF_EquipSubLevel;
repeat(4) { i32 m_nAttributeType; }
repeat(4) { i32 m_nAttributeValue; }
i32 m_NoRandomOption;
i32 m_SetItemID;
i32 m_Durability;
i32 m_Repair;
i32 m_RepairPrice;
}
|
[filemask="itemaccessory.bin"]
// Made by NamTA
struct ItemAccessories
{
child ItemAccessory [count=983];
}
struct ItemAccessory[preload=1, tableview=1]
{
i32 m_Disable;
i32 m_ID;
str[len=50] m_Name;
str[len=50] m_KoreanName;
i32 m_ItemType;
i32 m_Description;
i32 m_Weight;
i32 m_Price;
i32 m_SellPrice;
i32 m_EquipLevel;
str[len=52] m_ImageName;
i32 m_ItemEntity;
str[len=256] m_szItemExplain;
str[len=50] m_ItemLargeImage;
str[len=50] m_szExplainFileName;
i32 m_GuildBankFee;
i32 m_ItemSpecies;
i32 m_IEF_EquipLevel;
i32 m_IEF_EquipSubLevel;
repeat(4) { i32 m_nAttributeType; }
repeat(4) { i32 m_nAttributeValue; }
i32 m_NoRandomOption;
i32 m_SetItemID;
i32 m_Durability;
i32 m_Repair;
i32 m_RepairPrice;
}