少年修仙传服务端代码子仓库
hxp
2023-12-07 fbef70bcd2db29899e26286081d4e28cded1f197
10019 【砍树】回合战斗(玩家缓存同步地图)
1个文件已修改
3个文件已添加
13 ■■■■■ 已修改文件
GameServerToMapServer/GameFunc/GMPlayerCache 补丁 | 查看 | 原始文档 | blame | 历史
GameServerToMapServer/GameFunc/GMPlayerCache.des 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
GameServerToMapServer/GameFunc/GMPlayerCache.h 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MapServerToGameServer/PlayerCache/MGQueryPlayerCache.h 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
GameServerToMapServer/GameFunc/GMPlayerCache
GameServerToMapServer/GameFunc/GMPlayerCache.des
New file
@@ -0,0 +1 @@
03 03 玩家缓存信息同步 #tagGMPlayerCache
GameServerToMapServer/GameFunc/GMPlayerCache.h
New file
@@ -0,0 +1,11 @@
// 03 03 玩家缓存信息同步 #tagGMPlayerCache
struct tagGMPlayerCache
{
    tagHead        Head;
    DWORD        PlayerID;        //玩家ID
    DWORD        FindPlayerID;    //要查询的玩家ID
    WORD        PropDataSize;
    char        PropData[PropDataSize];    //属性记录
    WORD        PlusDataSize;
    char        PlusData[PlusDataSize];    //扩展记录
};
MapServerToGameServer/PlayerCache/MGQueryPlayerCache.h
@@ -5,4 +5,5 @@
    DWORD        PlayerID;        //玩家ID
    DWORD        FindPlayerID;    //要查询的玩家ID
    BYTE        EquipClassLV;    //大于0为查看指定境界阶装备信息,  0为查看默认信息
    BYTE        CallMap;        //是否需要通知地图
};