| | |
| | | /// 是否是装备, 这里的装备指的是: 武器, 帽子, 衣服, 下装, 鞋子, 腰带
|
| | | /// </summary>
|
| | | /// <returns></returns>
|
| | | public bool IsEquip(E_DropItemType itemType)
|
| | | public bool IsEquip(ItemType itemType)
|
| | | {
|
| | | return itemType >= E_DropItemType.Equip_Weapon && itemType <= E_DropItemType.Equip_Shoes;
|
| | | return itemType >= ItemType.Equip_Weapon && itemType <= ItemType.Equip_Shoes;
|
| | | }
|
| | |
|
| | | public void RequestWorldTick()
|
| | |
| | |
|
| | | // 背包已满,且不是铜钱不拾取
|
| | | if (playerPack.GetEmptyGridCount(PackType.Item) == 0
|
| | | && _itemModel.Type != (int)E_DropItemType.DropCopper
|
| | | && _itemModel.Type != (int)E_DropItemType.Copper)
|
| | | && _itemModel.Type != (int)ItemType.DropCopper
|
| | | && _itemModel.Type != (int)ItemType.Copper)
|
| | | {
|
| | | return false;
|
| | | }
|
| | |
| | | }
|
| | |
|
| | | // 对装备是否拾取的判断
|
| | | if (PlayerDatas.Instance.IsEquip((E_DropItemType)_itemModel.Type))
|
| | | if (PlayerDatas.Instance.IsEquip((ItemType)_itemModel.Type))
|
| | | {
|
| | | //Debug.LogFormat("检测装备: {0} 是否可以拾取, 颜色: {1}", _itemModel.ID, (E_ItemColor)_itemModel.ItemColor);
|
| | | // 是否配置了白色,蓝色装备不捡
|
| | |
| | | }
|
| | | // 项链或者仙器
|
| | | else if (
|
| | | ((E_DropItemType)_itemModel.Type == E_DropItemType.Equip_FairyCan1
|
| | | || (E_DropItemType)_itemModel.Type == E_DropItemType.Equip_FairyCan2
|
| | | || (E_DropItemType)_itemModel.Type == E_DropItemType.Equip_Jade
|
| | | || (E_DropItemType)_itemModel.Type == E_DropItemType.Equip_Neck)
|
| | | ((ItemType)_itemModel.Type == ItemType.Equip_FairyCan1
|
| | | || (ItemType)_itemModel.Type == ItemType.Equip_FairyCan2
|
| | | || (ItemType)_itemModel.Type == ItemType.Equip_Jade
|
| | | || (ItemType)_itemModel.Type == ItemType.Equip_Neck)
|
| | | && HangUpSetModel.Instance.GetBool(HangUpAutoBoolType.necklaces))
|
| | | {
|
| | | //Debug.Log(" |-- 配置了项链或者仙器不拾取, 这个是项链或者仙器, 不拾取");
|
| | | return true;
|
| | | }
|
| | | // 宝石
|
| | | else if ((E_DropItemType)_itemModel.Type == E_DropItemType.Gemstone
|
| | | else if ((ItemType)_itemModel.Type == ItemType.Gemstone
|
| | | && HangUpSetModel.Instance.GetBool(HangUpAutoBoolType.gem))
|
| | | {
|
| | | //Debug.Log(" |-- 配置了项链或者仙器不拾取, 这个是项链或者仙器, 不拾取");
|
| | | return true;
|
| | | }
|
| | | // 药品
|
| | | else if ((E_DropItemType)_itemModel.Type == E_DropItemType.Drugs
|
| | | else if ((ItemType)_itemModel.Type == ItemType.Drugs
|
| | | && HangUpSetModel.Instance.GetBool(HangUpAutoBoolType.drug))
|
| | | {
|
| | | return true;
|
| | | }
|
| | | // 金币
|
| | | else if ((E_DropItemType)_itemModel.Type == E_DropItemType.DropCopper
|
| | | else if ((ItemType)_itemModel.Type == ItemType.DropCopper
|
| | | && HangUpSetModel.Instance.GetBool(HangUpAutoBoolType.coins))
|
| | | {
|
| | | return true;
|
| | |
| | | // 其他
|
| | | else
|
| | | {
|
| | | if ((E_DropItemType)_itemModel.Type != E_DropItemType.DropCopper
|
| | | && (E_DropItemType)_itemModel.Type != E_DropItemType.Drugs
|
| | | && (E_DropItemType)_itemModel.Type != E_DropItemType.Gemstone
|
| | | && (E_DropItemType)_itemModel.Type != E_DropItemType.Equip_Neck
|
| | | && (E_DropItemType)_itemModel.Type != E_DropItemType.Equip_FairyCan1
|
| | | && (E_DropItemType)_itemModel.Type != E_DropItemType.Equip_Jade
|
| | | && (E_DropItemType)_itemModel.Type != E_DropItemType.Equip_FairyCan2
|
| | | && !PlayerDatas.Instance.IsEquip((E_DropItemType)_itemModel.Type)
|
| | | if ((ItemType)_itemModel.Type != ItemType.DropCopper
|
| | | && (ItemType)_itemModel.Type != ItemType.Drugs
|
| | | && (ItemType)_itemModel.Type != ItemType.Gemstone
|
| | | && (ItemType)_itemModel.Type != ItemType.Equip_Neck
|
| | | && (ItemType)_itemModel.Type != ItemType.Equip_FairyCan1
|
| | | && (ItemType)_itemModel.Type != ItemType.Equip_Jade
|
| | | && (ItemType)_itemModel.Type != ItemType.Equip_FairyCan2
|
| | | && !PlayerDatas.Instance.IsEquip((ItemType)_itemModel.Type)
|
| | | // 以上类型都不是且开启了其他拾取的时候
|
| | | && HangUpSetModel.Instance.GetBool(HangUpAutoBoolType.other))
|
| | | {
|
| | |
| | | |
| | | |
| | | { |
| | | E_DropItemType _itemType;translator.Get(L, 2, out _itemType); |
| | | ItemType _itemType;translator.Get(L, 2, out _itemType); |
| | | |
| | | bool gen_ret = gen_to_be_invoked.IsEquip( _itemType ); |
| | | LuaAPI.lua_pushboolean(L, gen_ret); |
| | |
| | | DebugEx.Log("GetMakerResult" + answer.Result);
|
| | | switch ((MakeType)answer.MakeType)
|
| | | {
|
| | | case MakeType.Def_mitRefine:
|
| | | case MakeType.DrugRefine:
|
| | | if (answer.Result == 1)
|
| | | {
|
| | | if (makerItemID != 0)
|
| | |
| | |
|
| | | private void OnGetRecycleResult(MakeType type, int result)
|
| | | {
|
| | | if (type != MakeType.Def_DanRecycle || result != 1) return;
|
| | | if (type != MakeType.DrugRecycle || result != 1) return;
|
| | |
|
| | | uieffect.Play();
|
| | | }
|
| | |
| | |
|
| | | private void OnComposeAnswer(HA814_tagMCMakeItemAnswer answer)
|
| | | {
|
| | | if (answer.MakeType != (int)MakeType.Def_mitItemCompound)
|
| | | if (answer.MakeType != (int)MakeType.ItemCompound)
|
| | | return;
|
| | |
|
| | | if (answer.Result == 1)
|
| | |
| | |
|
| | | private void OnComposeAnswer(HA814_tagMCMakeItemAnswer answer)
|
| | | {
|
| | | if (answer.MakeType != (int)MakeType.Def_mitItemCompound)
|
| | | if (answer.MakeType != (int)MakeType.ItemCompound)
|
| | | return;
|
| | |
|
| | | if (answer.Result == 1)
|
| | |
| | |
|
| | | private void OnComposeAnswer(HA814_tagMCMakeItemAnswer answer)
|
| | | {
|
| | | if (answer.MakeType != (int)MakeType.Def_mitItemCompound)
|
| | | if (answer.MakeType != (int)MakeType.ItemCompound)
|
| | | return;
|
| | |
|
| | | if (answer.Result == 1)
|
| | |
| | |
|
| | | private void OnComposeAnswer(HA814_tagMCMakeItemAnswer answer)
|
| | | {
|
| | | if (answer.MakeType != (int)MakeType.Def_mitItemCompound)
|
| | | if (answer.MakeType != (int)MakeType.ItemCompound)
|
| | | return;
|
| | |
|
| | | if (answer.Result == 1)
|
| | |
| | |
|
| | | private void OnComposeAnswer(HA814_tagMCMakeItemAnswer answer)
|
| | | {
|
| | | if (answer.MakeType != (int)MakeType.Def_mitItemCompound)
|
| | | if (answer.MakeType != (int)MakeType.ItemCompound)
|
| | | return;
|
| | |
|
| | | if (answer.Result == 1)
|
| | |
| | | |
| | | void OnGetUpgradeStarResult(H0721_tagMakeItemAnswer info) |
| | | { |
| | | if (info.MakeType == (byte)MakeType.Def_mitEquipStarUpgrade) |
| | | if (info.MakeType == (byte)MakeType.EquipStarUpgrade) |
| | | { |
| | | var equipPosition = new Int2(selectedLevel.value, selectedPlace.value); |
| | | AutoAddMaterials(equipPosition); |
| | |
| | |
|
| | | private void MakeItemAnswerEvent(H0721_tagMakeItemAnswer package)
|
| | | {
|
| | | if (package.MakeType == (byte)MakeType.Def_mitGatherSoulCompound)
|
| | | if (package.MakeType == (byte)MakeType.GatherSoulCompound)
|
| | | {
|
| | | if (model.selectItemId != 0)
|
| | | {
|
| | |
| | |
|
| | | private void MakeItemAnswerEvent(H0721_tagMakeItemAnswer package)
|
| | | {
|
| | | if (package.MakeType == (int)MakeType.Def_mitGatherSoulDecompose)
|
| | | if (package.MakeType == (int)MakeType.GatherSoulDecompose)
|
| | | {
|
| | | if (requireResolveEffect)
|
| | | {
|
| | |
| | |
|
| | | private void MakeItemAnswerEvent(H0721_tagMakeItemAnswer package)
|
| | | {
|
| | | if (package.MakeType == (int)MakeType.Def_mitGatherSoulDecompose)
|
| | | if (package.MakeType == (int)MakeType.GatherSoulDecompose)
|
| | | {
|
| | | EffectMgr.Instance.PlayUIEffect(3080, 3100, transform, false);
|
| | | }
|
| | |
| | | case ItemType.VipTools: |
| | | WindowCenter.Instance.Open<VipOverdueWin>(); |
| | | break; |
| | | case ItemType.SpiritAnimal: |
| | | case ItemType.Guard_1: |
| | | WindowCenter.Instance.Open<GuardOverdueWin>(); |
| | | break; |
| | | } |
| | |
| | | m_ItemName.gameObject.SetActive(false); |
| | | } |
| | | break; |
| | | case ItemType.SpiritAnimal: |
| | | case ItemType.Guard_1: |
| | | m_ItemName.text = Language.Get("ItemOverdue107"); |
| | | break; |
| | | } |
| | |
| | | return false; |
| | | } |
| | | |
| | | var itemModels = singlePack.GetItemsByType((int)ItemType.Wings); |
| | | var itemModels = singlePack.GetItemsByType((int)ItemType.Equip_Wing); |
| | | if (itemModels != null) |
| | | { |
| | | for (int i = 0; i < itemModels.Count; i++) |
| | |
| | |
|
| | | private void OneKeySellSuccess(H0721_tagMakeItemAnswer obj)
|
| | | {
|
| | | if (obj.MakeType != (byte)MakeType.Def_mitKeySell)
|
| | | if (obj.MakeType != (byte)MakeType.OneKeySell)
|
| | | return;
|
| | |
|
| | | if(obj.Result == 1)
|
| | |
| | |
|
| | | private void MakeItemAnswerEvent(H0721_tagMakeItemAnswer package)
|
| | | {
|
| | | if (package.MakeType == (int)MakeType.Def_mitRuneCompound)
|
| | | if (package.MakeType == (int)MakeType.RuneCompound)
|
| | | {
|
| | | if (package.Result == 1)
|
| | | {
|
| | |
| | |
|
| | | private void MakeItemAnswerEvent(H0721_tagMakeItemAnswer obj)
|
| | | {
|
| | | if ((int)obj.MakeType == (int)MakeType.Def_mitDogzEquipPlus)
|
| | | if ((int)obj.MakeType == (int)MakeType.DogzEquipPlus)
|
| | | {
|
| | | GodBeastRedPoint();
|
| | | }
|
| | |
| | |
|
| | | private void MakeItemAnswerEvent(H0721_tagMakeItemAnswer obj)
|
| | | {
|
| | | if ((int)obj.MakeType == (int)MakeType.Def_mitDogzEquipPlus)
|
| | | if ((int)obj.MakeType == (int)MakeType.DogzEquipPlus)
|
| | | {
|
| | | m_UIEffect.Play();
|
| | | }
|
| | |
| | | }
|
| | | private void MakeItemAnswerEvent(H0721_tagMakeItemAnswer obj)
|
| | | {
|
| | | if ((int)obj.MakeType == (int)MakeType.Def_mitDogzEquipPlus)
|
| | | if ((int)obj.MakeType == (int)MakeType.DogzEquipPlus)
|
| | | {
|
| | |
|
| | | }
|
| | |
| | |
|
| | | private void OneKeySellSuccess(H0721_tagMakeItemAnswer obj)
|
| | | {
|
| | | if (obj.MakeType != (byte)MakeType.Def_mitKeySell)
|
| | | if (obj.MakeType != (byte)MakeType.OneKeySell)
|
| | | return;
|
| | |
|
| | | isStartOneKeySell = false;
|
| | |
| | | Loading = 5,
|
| | | }
|
| | |
|
| | | public enum PublishRegion
|
| | | {
|
| | | CN,
|
| | | TW,
|
| | | JP,
|
| | | KR,
|
| | | SA,
|
| | | EN,
|
| | | RU,
|
| | | TR,
|
| | | }
|
| | |
|
| | | public enum GestureType
|
| | | {
|
| | | Left,
|
| | |
| | | Android,
|
| | | Iphone,
|
| | | Standalone,
|
| | | }
|
| | |
|
| | |
|
| | | public enum Publisher
|
| | | {
|
| | | TheSecondWorld,
|
| | | Game_37WAN,
|
| | | shandangceshi,
|
| | | }
|
| | |
|
| | | public enum E_ActorAttribute
|
| | | {
|
| | | Hp,
|
| | | MaxHp,
|
| | | PhyAtk,
|
| | | MagAtk,
|
| | | PhyDef,
|
| | | MagDef,
|
| | | End,
|
| | | }
|
| | |
|
| | | public enum WorldMapCamp
|
| | | {
|
| | | Friendly,
|
| | | Neutral,
|
| | | Hostile,
|
| | | }
|
| | |
|
| | | public enum RoleRenameResult
|
| | |
| | | AllianceBoss2 = 33,
|
| | | //JadeDynastyBoss = 32,--诛仙功能暂时关闭
|
| | | //JadeDynastyTower = 33,
|
| | | }
|
| | |
|
| | | public enum ActivityPrepareType
|
| | | {
|
| | | HeavenBattle = 1, //仙魔之争
|
| | | }
|
| | |
|
| | | /// <summary>
|
| | |
| | | CDBPlayerRefresh_Honor = 199, //# 荣誉值
|
| | | CDBPlayerRefresh_ZhuxianRate = 200, //# 荣誉值
|
| | | CDBPlayerRefresh_ZhuxianHurtPer = 201, //# 荣誉值
|
| | |
|
| | |
|
| | | };
|
| | |
|
| | | /** 物品加成类型 */
|
| | | public enum ItemEffecttType
|
| | | {
|
| | | Def = 1004, // 外防
|
| | | Hurt = 1005, // 伤害
|
| | | Str = 1006, // 力量
|
| | | Bones = 1007, // 筋骨
|
| | | Body = 1008, // 体魄
|
| | | Shingan = 1009, // 真元
|
| | | Hp = 20000, // 生命
|
| | | Mdef = 20001, // 内防
|
| | | Windatk = 20002, // 风攻
|
| | | Fireatk = 20003, // 火攻
|
| | | Thunderatk = 20004, // 雷攻
|
| | | Iceatk = 20005, // 冰攻
|
| | | Poisionatk = 20006, // 毒攻
|
| | | Winddef = 20007, // 风抗
|
| | | Firedef = 20008, // 火抗
|
| | | Thunderdef = 20009, // 雷抗
|
| | | Icedef = 20010, // 冰抗
|
| | | Poisiondef = 20011, // 毒抗
|
| | | Hit = 20012, // 命中
|
| | | Superhit = 20013, // 暴击
|
| | | Miss = 20014, // 闪避
|
| | | InternalForce = 20015 // 内力
|
| | | }
|
| | |
|
| | | /** 背包类型码定义 */
|
| | | public enum PackType
|
| | |
| | | RunePack = 255,//符印背包
|
| | | }
|
| | |
|
| | | public enum E_DropItemType
|
| | | public enum ItemType
|
| | | {
|
| | | Copper = 1,// 铜钱
|
| | | Drugs = 7,// 药品
|
| | | Buff = 9, //Buff类型
|
| | | Gemstone = 25,// 宝石
|
| | | DropCopper = 43,// 掉落铜钱
|
| | | ComposeSuitStone = 35, //套装石碎片
|
| | | WingsMat = 39, //合成翅膀材料,羽翼精炼材料
|
| | | DropCopper = 43, // 掉落铜钱
|
| | | VipTools = 80, //vip道具
|
| | | Box = 81, //宝箱
|
| | | Equip_Weapon = 101, // 主手
|
| | | Equip_Weapon2 = 102, // 副手
|
| | | Equip_Hat = 103, // 帽子
|
| | |
| | | Equip_FairyCan1 = 110, //仙器
|
| | | Equip_FairyCan2 = 111, //仙器
|
| | | Equip_Jade = 112, //玉佩
|
| | |
|
| | | Equip_Wing = 113,// 翅膀
|
| | | Guard,// 灵守
|
| | | }
|
| | |
|
| | | /** 物品类型 */
|
| | | public enum ItemType
|
| | | {
|
| | | Buff = 9, //Buff类型
|
| | | ComposeSuitStone = 35, //套装石碎片
|
| | | WingsMat = 39, //合成翅膀材料,羽翼精炼材料
|
| | | VipTools = 80, //vip道具
|
| | | Box = 81, //宝箱
|
| | | Wings = 111, //翅膀
|
| | | SpiritAnimal = 112, //灵守
|
| | | }
|
| | |
|
| | | /** 值为列表形式,枚举值是单数 */
|
| | | enum ItemUserDataElemType
|
| | | {
|
| | | iudetShengQiStrengthCount = 0, // 圣器强化次数
|
| | | iudetShengQiAttr = 1, // 圣器附加属性
|
| | | iudetEquipEnhance = 2, // 装备强化
|
| | | iudetEquipAddSkillList = 3, // 附魔列表
|
| | | iudetEquipAddSkillCnt = 4, // 附魔次数
|
| | | iudetPetAttrList = 5, // 宠物属性,宠物名字存MakerName
|
| | | iudetEquipElem = 6, // 装备开关获得的元素属性
|
| | | iudetSaveEquipBasePropertyList = 7, // 能量库基础属性列表
|
| | | iudetIncreateMaxAddSkillCnt = 8, // 使用增加附魔(灵纹)上限道具次数
|
| | | iudetSaveEquipAddSkillList = 9, // 能量库附魔列表
|
| | | iudetSaveEquipAddSkillCnt = 10, // 能量库附魔次数
|
| | | iudetWakeUpCnt = 12, // 神兵唤醒次数
|
| | | iudetMax
|
| | | }
|
| | |
|
| | | // ---排行榜---
|
| | | // 排行榜类型BillboardType
|
| | | // 此地方改动需要通知修改ChConfig.Def_BT_Cnt, ChConfig.Def_BT_SaveType
|
| | | enum BillboardTypeList
|
| | | {
|
| | | Def_BT_Personal_LV_Day, // 个人等级日榜 0
|
| | | Def_BT_Personal_FightPower_Day, // 个人战斗力
|
| | | Def_BT_School_Sword_Day, // 门派剑宗日榜
|
| | | Def_BT_School_VitalQi_Day, // 门派气宗日榜
|
| | | Def_BT_School_Devil_Day, // 门派魔宗日榜
|
| | | Def_BT_School_Herd_Day, // 门派蝶舞日榜
|
| | | Def_BT_Pet_STR_Day, // 力量型宠物日榜
|
| | | Def_BT_Pet_PNE_Day, // 真元型宠物日榜
|
| | | Def_BT_Pet_HP_Day, // 气血型宠物日榜
|
| | | Def_BT_Action_SCQDB, // 活动, 沙场秋点兵榜
|
| | | Def_BT_Exam_ZGTX, // 答题, 智冠天下排行榜 10
|
| | | Def_BT_Exam_BSL, // 答题, 变色龙排行榜
|
| | | Def_BT_Exam_JQBD, // 答题, 举棋不定排行榜
|
| | | Def_BT_Personal_Prestige, // 个人威望排行榜
|
| | | Def_BT_PlayerFamily, // 帮会排行榜(荣誉)
|
| | | Def_BT_Exam_ZXH, // 答题, 真心话排行榜
|
| | | Def_BT_JXD_Week, // 通天塔本周排行用于查看(高手榜)
|
| | | Def_BT_JXD_Rank, // 通天塔本周排行
|
| | | Def_BT_JXD_LastWeek, // 通天塔上周排行用于奖励
|
| | | Def_BT_Personal_Carom, // 个人连斩排行榜
|
| | | Def_BT_VsRoom_FightValue, // 决斗值排行榜(竞技场积分) 20
|
| | | Def_BT_PlayerFamily_ActiveValue, // 帮会活跃度排行榜
|
| | |
|
| | | Def_BT_Campaign_LV, // 冲级(冲级大比拼)
|
| | | Def_BT_Campaign_PlayerBattle, // 战斗力(霸刀战神)
|
| | | Def_BT_Campaign_Pet_All, // 宠物总榜(最强拍档)
|
| | | Def_BT_Campaign_Pet_STR, // 宠物力量(近战)(最强拍档)
|
| | | Def_BT_Campaign_Pet_PNE, // 宠物真元(远程)(最强拍档)
|
| | | Def_BT_Campaign_Pet_HP, // 宠物气血(肉盾)(最强拍档)
|
| | | Def_BT_Campaign_Family, // 帮会(天下第一帮) |
| | | Def_BT_Campaign_FightValue, // 正邪决(顶峰论武) |
| | |
|
| | | Def_BT_Campaign_ActionTheme, // 主题周活动
|
| | | Def_BT_GoldActionRank, // 充值活动消耗元宝排行榜
|
| | | Def_BT_GoldAction_Yestarday, // 昨天充值活动消耗元宝排行榜
|
| | | Def_BT_PlayerTruck, // 当前服务器上的镖车
|
| | | Def_BT_VsRoomSuperAward, // 竞技场奖励排行榜
|
| | | Def_BT_VsRoom_FightValue_All, // 竞技场积分总榜,用于记录可领奖人员
|
| | |
|
| | | Def_BT_GloryWar_PlayerScore, // 荣耀之战本次个人积分排行36
|
| | | Def_BT_GloryWar_TotalPlayerScore, // 荣耀之战历史个人积分排行37
|
| | | Def_BT_GloryWar_AreaScore, // 荣耀之战本次区服积分排行38
|
| | | Def_BT_GloryWar_TotalAreaScore, // 荣耀之战历史区服积分排行39
|
| | | Def_BT_School_Summon_Day, // 门派XX日榜 40
|
| | |
|
| | | Def_BT_EquipStone_TotalFightPower, // 装备宝石总战斗力排行榜 41
|
| | | Def_BT_LingShou_LvExp, // 灵兽等级经验排行榜42
|
| | | Def_BT_JingMai_TotalFightPower, // 筋脉总战斗力排行榜43
|
| | |
|
| | | Def_BT_HighLadder, // 天梯竞技场排行 44
|
| | | Def_BT_HighLadder_Yester, // 天梯竞技场昨日排行 45
|
| | |
|
| | | Def_BT_Achievement, // 玩家成就排行 46
|
| | |
|
| | | Def_BT_Max, // 排行榜最大类型
|
| | | }
|
| | |
|
| | | /* 商城商品买卖状态枚举值 */
|
| | | enum GoodsSaleState
|
| | | {
|
| | | None,
|
| | | Def_GoodsSaleState_New, // 新商品 1
|
| | | Def_GoodsSaleState_Hot, // 热销商品 2
|
| | | Def_GoodsSaleState_Abate, // 限时商品 3 |
| | | Def_GoodsSaleState_Vouch, // 推荐商品 4
|
| | | Def_GoodsSaleState_FuDai, // 贴心福袋 5
|
| | | Def_GoodsSaleState_Special // 特价商品 6
|
| | | Equip_Wing = 113, // 翅膀
|
| | | Guard_1 = 114, // 灵守 1
|
| | | Guard_2 = 115, //灵守 2
|
| | | }
|
| | |
|
| | | public enum MakeType
|
| | | {
|
| | | Def_treasureSkillEquip = 1, // 法宝技能升级
|
| | | Def_mitLVUpStar = 2, // 升星
|
| | | Def_mitKeySell = 3, // 一键出售回应
|
| | | Def_mitUseFuDai = 4, // 开福袋回应
|
| | | Def_mitProduceResult = 5, // 生产采集结果回应
|
| | | Def_mitPetEquipMerge = 6, // 宠物装备合成回应
|
| | | Def_mitEquipInherit = 7, // 装备继承
|
| | | Def_mitEquipStarUpgrade = 8, // 装备升星
|
| | | Def_mitEquipMayaPlus = 9, // 装备玛雅加强
|
| | | Def_mitEquipAddAttr = 10, // 装备追加
|
| | | Def_mitEquipSlotting = 11, // 装备打孔
|
| | | Def_mitMakeScroll = 12, // 卷轴制作
|
| | | Def_mitItemCompound = 13, // 物品合成
|
| | | Def_mitMaterialCompound = 14, // 材料合成
|
| | | Def_mitEquipEvolve = 15, // 装备进阶
|
| | | Def_mitSuiteCompound = 16, // 套装合成
|
| | | Def_mitEquipDecompose = 17, // 装备分解
|
| | | Def_mitRefine = 18, // 炼丹
|
| | | Def_mitMWUpLevel = 19, //法宝进阶
|
| | | Def_DanRecycle = 20, //丹药回收
|
| | | Def_mitDogzEquipPlus = 21,// 神兽装备强化 |
| | | Def_mitRuneCompound = 22,//符印合成
|
| | | Def_mitGatherSoulCompound = 23,//聚魂合成
|
| | | Def_mitGatherSoulDecompose = 24,//聚魂分解
|
| | | OneKeySell = 3, // 一键出售回应
|
| | | EquipStarUpgrade = 8, // 装备升星
|
| | | ItemCompound = 13, // 物品合成
|
| | | DrugRefine = 18, // 炼丹
|
| | | DrugRecycle = 20, //丹药回收
|
| | | DogzEquipPlus = 21,// 神兽装备强化 |
| | | RuneCompound = 22,//符印合成
|
| | | GatherSoulCompound = 23,//聚魂合成
|
| | | GatherSoulDecompose = 24,//聚魂分解
|
| | | }
|
| | | /// <summary>
|
| | | /// 金钱类型(虚拟物品)
|
| | | /// </summary>
|
| | | public enum ConsumeType
|
| | | {
|
| | | RuneExp = 23,//符印经验
|
| | | }
|
| | |
|
| | | /// <summary>
|
| | | /// 称号类型
|
| | | /// </summary>
|
| | |
| | | Vip = 2, //VIP称号
|
| | | Achivement = 3, //成就称号
|
| | | }
|
| | |
|
| | | //功能开启限制类型
|
| | | public enum FuncOpenEnum
|
| | | {
|
| | |
| | | SkillReducePerF = 114, //嗜天斧技能减伤百分比
|
| | | SkillReducePerG = 115, //射日神弓技能减伤百分比
|
| | | }
|
| | | //UI图标类型
|
| | | public enum SpriteFileType
|
| | | {
|
| | | Skill,
|
| | | Common,
|
| | | Item,
|
| | | Title,
|
| | | Realm,
|
| | | }
|
| | |
|
| | | //装备类型 武器 防具 仙器 项链
|
| | | public enum EquipType
|
| | | {
|
| | | Weapon,
|
| | | Defence,
|
| | | Fairy,
|
| | | Necklace,
|
| | | }
|
| | |
|
| | | public enum TextColType
|
| | | {
|
| | |
| | | Gray = 16
|
| | | }
|
| | |
|
| | | public enum E_EquipType
|
| | | {
|
| | | Weapon = 101,// 武器
|
| | | Clothes = 104,// 衣服
|
| | | Wing = 111,// 翅膀
|
| | | Proteced = 112,// 灵守
|
| | | }
|
| | |
|
| | | public enum E_ModelResType
|
| | | {
|
| | | Weapon = 1, //武器 1
|
| | |
| | | Collected,
|
| | | Collecting,
|
| | | Locked,
|
| | | }
|
| | |
|
| | | public enum HumanTreasureState
|
| | | {
|
| | | Locked,
|
| | | Challenge,
|
| | | CastSoul,
|
| | | Potential,
|
| | | Complete,
|
| | | }
|
| | |
|
| | | public enum FunctionUnlockType
|
| | |
| | | AssistXianYuanCoinsRatioAdd = 34,//助战仙缘币获得倍率加成(万分比)
|
| | | JadeDynastyBoss = 35,
|
| | | }
|
| | |
|
| | |
|
| | | public enum E_AttackMode
|
| | | {
|
| | |
| | | FinalKill,
|
| | | }
|
| | |
|
| | | public enum E_PlayerState
|
| | | {
|
| | | cpsNull = 0, ///<空闲
|
| | | cpsSit, ///<坐下
|
| | | cpsRide, ///<骑马
|
| | | cpsTruck, ///<人镖合一中
|
| | | cpsDance, ///<跳舞中
|
| | | cpsFishing, ///<钓鱼中
|
| | | cpsShopping, ///<摆摊中
|
| | | cpsDie, ///<死亡了
|
| | | cpsProduce, ///<生产中
|
| | | };
|
| | |
|
| | | public enum DungeonTargetType
|
| | | {
|
| | | NPC = 1,
|
| | |
| | | {
|
| | | EquipedTime = 3, //时间(装备的时候-1,此后每分钟-1)
|
| | | RealityTime = 9, //现实时间扣耐久
|
| | | }
|
| | |
|
| | | public enum ImageSelect
|
| | | {
|
| | | Default,
|
| | | Task,
|
| | | }
|
| | |
|
| | | public enum TitleBtnState
|