Files
mir_server/sdk/commonLib/def/SkillDbData.h
aixianling 5c9f1dae4a init
2025-01-09 17:45:40 +08:00

20 lines
916 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#pragma once
/****************************************************************************************/
/* 技能DB相关的一些结构体的定义
/****************************************************************************************/
#pragma pack(4)
/// 玩家的一个技能需要存盘的数据
//#define MAX_LEARNED_SKILL_COUNT 64 //一个玩家最多学习的技能个数
typedef struct tagOneSkillDbData
{
WORD nSkillID; ///< 技能的ID
unsigned char nLevel; ///< 技能的等级,如果没有学习就是0
unsigned char nIsClosed; ///< 技能是否被关闭着如果1表示被关闭着0表示正常
unsigned int nCd ; ///< 冷却时间
unsigned int nExp; ///< 技能的经验
unsigned int nMijiExpiredTime; ///< 秘籍的过期时间
int nMijiId; ///< 镶嵌的秘籍
}ONESKILLDBDATA, *PONESKILLDBDATA;
#pragma pack()