少年修仙传服务端代码子仓库
hxp
2024-11-26 04eb24239671b8a2997774995981d0b2c62acd77
10318 【英文】【越南】【BT】统一增加奖励获得封包
3个文件已添加
30 ■■■■■ 已修改文件
ServerPack/MapServerPack/HA8_Item/GiveAwardInfo 补丁 | 查看 | 原始文档 | blame | 历史
ServerPack/MapServerPack/HA8_Item/GiveAwardInfo.des 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPack/MapServerPack/HA8_Item/GiveAwardInfo.h 29 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPack/MapServerPack/HA8_Item/GiveAwardInfo
ServerPack/MapServerPack/HA8_Item/GiveAwardInfo.des
New file
@@ -0,0 +1 @@
A8 01 获得奖励信息 #tagMCGiveAwardInfo
ServerPack/MapServerPack/HA8_Item/GiveAwardInfo.h
New file
@@ -0,0 +1,29 @@
// A8 01 获得奖励信息 #tagMCGiveAwardInfo
struct    tagMCGiveAwardMoney
{
    BYTE        MoneyType;
    DWORD        MoneyValue;
};
struct    tagMCGiveAwardItem
{
    DWORD        ItemID;
    DWORD        Count;
    BYTE        IsBind;
};
struct    tagMCGiveAwardInfo
{
    tagHead         Head;
    BYTE        EventLen;
    char        EventName[EventLen];
    DWORD        Exp;    // 奖励经验,求余亿部分
    DWORD        ExpPoint;    // 奖励经验,整除亿部分
    BYTE        MoneyLen;
    tagMCGiveAwardMoney    MoneyList[MoneyLen];    // 奖励货币
    BYTE        ItemLen;
    tagMCGiveAwardItem    ItemList[ItemLen];    // 奖励物品
    WORD        DataLen;
    char        DataEx[DataLen];    // 扩展信息,可由不同的Event自定义信息内容
};