📄 px_ls_item_staff_special.h
字号:
#pragma once
/* must been first include begin */
#include "..\ProjectX_Common\ProjectX_Copyright.h"
#include "..\ProjectX_Common\ProjectX_Common.h"
/* must been first include end */
/* std and common include */
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
/************************************************************************
以下为对此类道具的具体编码格式及其内容说明:
现在仅提供二种特殊道具
1 high_jump,其特性为角色使用一次时,角色的mapz会随机
提升,仅在客户端进行模拟,服务器端不进行相关记录或处理
2 play_music,其特性为角色使用时,其刷新范围内的所有客户端会播放其相应
音乐,同时其仅在客户端进行模拟,服务器端不进行相关记录或处理
************************************************************************/
//特殊物品
typedef struct tagItem_Special_Base {
int index; /* 序号 */
char name[MAX_ITEM_SPECIAL_NAME_LEN]; /* 名称 */
WORD level_req; /* 需求等级 */
byte gender_req; /* 性别专属 */
BOOL hunman_use; /* 人类能否使用 */
BOOL hun_use; /* 野蛮人 */
BOOL sorcer_use; /* 法师 */
BOOL genius_use; /* 精灵 */
BOOL bowman_use; /* 弓弩手 */
BOOL taoist_use; /* 道士 */
BOOL nodead_use; /* 亡灵 */
BOOL craftsman_use; /* 匠人 */
BOOL knight_use; /* 骑士 */
byte size_x; /* 道具占用的空间大小X */
byte size_y; /* 道具占用的空间大小Y */
float weight; /* 重量 */
int money_sell; /* 出售金钱 */
}ITEM_SPECIAL_BASE, * LPITEM_SPECIAL_BASE;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -