Main/Assets/Code/Global/Define/ItemBaseDefine.cs
2025-01-25 04:38:09 +08:00

173 lines
7.2 KiB
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.

//**********************************************//
//作者:#何健#
//日期:#DATE#
//简述:#物品枚举#
//*********************************************//
namespace Thousandto.Code.Global
{
public static class ItemType
{
public const int UnDefine = -1; //未定义
public const int Money = 1; //货币
public const int Equip = 2; //装备
public const int Effect = 3; //效果道具:使用后给予玩家一定的效果;效果包括,加属性buff货币等
public const int Material = 4; //材料
public const int GemStone = 5; //宝石
public const int GiftPack = 6; //礼包道具
public const int SpecialPingZiItem = 7;//碎片
public const int Gift = 8; //礼物
public const int Normal = 9; //普通物
public const int Special = 10; //特殊类物品
public const int Title = 11; //称号
public const int MonsterSoulEquip = 12;//神兽装备
public const int MonsterSoulMaterial = 13;//魂兽水晶 神兽装备强化材料
public const int HolyEquip = 14;//圣装
public const int SpecialBox = 15; //多选一宝箱
public const int ChangeJob = 16; //转职道具
public const int XiShui = 17; //转职洗髓普通道具
public const int VipExp = 18; //VIP经验
public const int ImmortalEquip = 19; //仙甲
public const int LingPo = 21; //灵魄
public const int PetEquip = 23; //宠物装备
public const int SoulPearl = 24; //神印(魂珠)
public const int HorseEquip = 25; //坐骑装备
public const int DevilSoulEquip = 26; //魔魂装备
public const int DevilSoulChip = 27; //魔魂碎片
}
public static class ItemTypeCode
{
//Money =1, //未使用
public const int Gold = 1; //蓝钻
public const int BindGold = 2; //火钻
public const int BindMoney = 3;//绑定金币
public const int XianpoExp = 4; //仙魄经验
public const int XianpoSocre = 5; //仙魄积分
public const int TreasurePoint = 6; //机缘积分
public const int GoodEvil = 7; //善恶值
public const int Exp = 8; //经验
public const int Reputation = 9; //声望
public const int Achievement = 10; //成就
public const int UnionContribution = 11;//帮贡
public const int Lingshi = 12; // 灵石
public const int CourageValue = 13; // 勇气值
public const int Lingjing = 14; //灵晶 装备熔炼获得
public const int HolyEquipScore = 15; //圣装精粹
public const int VipExp = 16; //vip经验
public const int TitleValue = 17; //称号龙灵值
public const int WorldLevelScore = 18; //创世积分
public const int BaokuPoints = 19; //天启宝库积分
//UnUsed5 = 20; //未使用
public const int ActivePoint = 21; //活跃点
public const int LingPoJc = 22; //灵魄精粹
public const int LingPoSp = 23; //灵魄碎片
public const int LingPoSw = 24; //灵魄神物
public const int LingPoMb = 25; //灵魄秘宝
public const int LuckyDraw = 26; //一周福利抽奖卷
public const int HDShengDianBi = 27; //活跃兑换活动盛典币
public const int TianJinLingPoint = 28; //技能点
public const int StoreSocre = 29;// 仓库积分
public const int DuanWeiSocre = 30;// 段位积分
public const int GongxunSocre = 31;// 功勋值
public const int SoulSocre = 32;// 灵魂值
public const int BloodScrap = 33; // 血之精魄
public const int LingMaiDian = 34; //灵脉点
public const int GodToolZi = 35; //神器铸造·紫
public const int GodToolJin = 36; //神器铸造·金
public const int GodToolHong = 37; //神器铸造·红
public const int GodToolFen = 38; //神器铸造·粉
//后面的不是玩家货币,请不要使用它
public const int ItemBegin = 0;
public const int ItemEnd = 99999;
public const int EquipBegin = 100000;
public const int EquipEnd = 999999;
public const int OtherBegin = 1000000; //暂时如此
public const int OtherEnd = 9999999;
}
//物品的大类分类
public enum ItemBigType
{
UnDefine = -1, //未定义
All, //全部
ImmortalEquip, //圣装
Equip, //装备
Other, //其他
}
/// <summary>
/// 物品操作枚舉,會隨著以後開發增加.
/// </summary>
public static class ItemOpertion
{
public const int Equip = 1; //穿载
public const int Use = 2; //使用
public const int Batch = 3; //批量使用
public const int Get = 4; //获取途径
public const int Sell = 5; //卖出 = 2;商店或者交易
public const int Stall = 6; //摆摊
public const int Synth = 7; //合成
public const int Give = 8; //赠送
public const int Split = 9; //拆分
public const int Resolve = 10; //分解
public const int Change = 11; //兑换
public const int TakeOut = 12; //取出
}
/// <summary>
/// 背包类型
/// </summary>
public enum ContainerType
{
UnDefine = -1 , //未定义
ITEM_LOCATION_BAG, //玩家背包
ITEM_LOCATION_EQUIP , //玩家身上装备
ITEM_LOCATION_STORAGE, //玩家仓库
ITEM_LOCATION_CLEAR, //清理包裹
ITEM_LOCATION_BACKEQUIP,//玩家备用装备栏
ITEM_LOCATION_IMMORTAL, //仙甲背包
ITEM_LOCATION_COUNT, //物品容器总和
}
//装备品质
public static class QualityCode
{
public const int White = 1; //白色
public const int Green = 2; //绿色
public const int Blue = 3; //蓝色
public const int Violet = 4; //紫色
public const int Orange = 5; //橙色
public const int Golden = 6; //金色
public const int Red = 7; //红色
public const int Pink = 8;//粉色
public const int DarkGolden = 9;//暗金
public const int Colorful = 10;//七彩
public const int Count = 11;
}
//item tips 调用位置
public enum ItemTipsLocation
{
Defult = -1, //此为所有按钮不显示
Bag = 0, //背包
Equip = 1, //装备
PutInStorage, //放入仓库
OutStorage, //放入背包
PutInSell, //放入分解列表
OutSell, //放入背包
LingTi, //灵体
EquipSelect, //装备选择
Market, //拍卖行
XJTreasure, //寻宝
Nomal, //普通TIPS
PutinGuildStore,//放入公会仓库即捐献
OutGuildStore, //从公会仓库兑换出
Synth, //合成放入
SynthPutOut, //合成取出
EquipDisplay, //纯显示tips没有按钮没有比较
Count, //总和
}
}