コード例 #1
0
	public Tbl_SynDisassemble_Record(BinaryReader br)
	{
		level = br.ReadInt32();
		grade =(Item.eGRADE) br.ReadInt32();
		equip = (Item.eEQUIP)br.ReadInt32();
		step = br.ReadInt32();
		type = (eItem_Disassemble)br.ReadInt32();
		cost = br.ReadInt32();
	}
コード例 #2
0
	public Tbl_SynMixEnchant_Record(BinaryReader br)
	{
		isSkill = br.ReadBoolean();

		enchantLevel_1 = br.ReadInt32();
		enchantGrade_1 = (Item.eGRADE)br.ReadInt32();
		enchantType_1 = (Tbl_SoulStoneEnchant_Record.eTYPE)br.ReadInt32();

		enchantLevel_2 = br.ReadInt32();
		enchantGrade_2 = (Item.eGRADE)br.ReadInt32();
		enchantType_2 = (Tbl_SoulStoneEnchant_Record.eTYPE)br.ReadInt32();

		cost = br.ReadInt32();
	}
コード例 #3
0
ファイル: QuestClasses.cs プロジェクト: ftcaicai/ArkClient
	public AchStrengthenItem( Item.eGRADE _itemGrade, int _strengthenCount)
	{
		ItemGrade = _itemGrade;
		DestCount = StrenthenCount = _strengthenCount;
	}
コード例 #4
0
ファイル: Tbl_Strengthen.cs プロジェクト: ftcaicai/ArkClient
	public Tbl_Strengthen_Record(BinaryReader br)
	{
		m_Index = br.ReadInt32();
		m_itemType = (Item.eITEM_TYPE)br.ReadInt32();
		m_ItemQuality = (Item.eGRADE)br.ReadInt32();
		m_equip = (Item.eEQUIP)br.ReadInt32();
		m_ItemLevellimit = br.ReadInt32();
		m_iStep = br.ReadInt32();		
		m_iCost = br.ReadInt32();	
		m_StuffCount = br.ReadInt32();	
		m_StrengthenRating = br.ReadInt32();
		m_iMiracle = br.ReadInt64();
		m_iBlessing = br.ReadInt32();	
	}
コード例 #5
0
ファイル: ItemData.cs プロジェクト: ftcaicai/ArkClient
	public ItemData(BinaryReader br)
	{
		m_iID = br.ReadInt32();
		m_iNameID = br.ReadInt32();
		m_iDestID = br.ReadInt32();
		m_eItemType = (Item.eITEM_TYPE)br.ReadInt32();
		m_iSubType = br.ReadInt32();
		m_GoodsType = (Item.eGOODS_TYPE)br.ReadInt32();
		m_eGrade = (Item.eGRADE)br.ReadInt32();
		m_iBuyAmount = br.ReadInt32();
		m_iSellAmount = br.ReadInt32();
		m_iRankPoint = br.ReadInt32();
		m_eGender = (eGENDER)br.ReadInt32();
		m_iLevelLimit = br.ReadInt32();
		
		#region - eCLASS parsing within PET -
		if( CheckPetItem() == true)
		{
			petClass_ = br.ReadString();
			m_eNeedClass = eCLASS.PET;
		}
		else
			m_eNeedClass = (eCLASS)br.ReadInt32();
		#endregion
		
		m_iOverlapCount = br.ReadInt32();
		m_sbItemTradeLimit = br.ReadSByte();
		m_eUseTimeType = (Item.eUSE_TIME_TYPE)br.ReadInt32();
		m_iItemUseTime = br.ReadInt32();
//		m_bItem_Onlyone = br.ReadBoolean();
		m_bItem_Storage_Limit = br.ReadBoolean();
		m_bDropSeal = br.ReadBoolean();
		m_bDump = br.ReadBoolean();
		m_bItemStrengthen = br.ReadBoolean();
		m_bShopSell = br.ReadBoolean();
		m_iItem_PatkDmg_Min = br.ReadInt32();
		m_iItem_PatkDmg_Max = br.ReadInt32();
		m_iItem_MatkDmg_Min = br.ReadInt32();
		m_iItem_MatkDmg_Max = br.ReadInt32();
		m_iItem_Pdef = br.ReadInt32();
		m_iItem_Mdef = br.ReadInt32();
		m_iItem_SkilI_ID = br.ReadInt32();
		m_iItem_Skill_Level = br.ReadInt32();
		m_isItem_OptionType = br.ReadBoolean();
		m_iItem_Fix1_ID = (eITEM_EFFECT)br.ReadInt32();
		m_iItem_Fix1_Value = br.ReadInt32();
		m_iItem_Fix2_ID = (eITEM_EFFECT)br.ReadInt32();
		m_iItem_Fix2_Value = br.ReadInt32();
		m_iItem_Rand_ID = br.ReadInt32();
		m_iItem_SetGroup_ID = br.ReadInt32();
		m_strIcon = br.ReadString();
		m_strDropItem = br.ReadString();
		m_iItem_Buy_Limit = br.ReadInt32();
		m_strPartsItem_M = br.ReadString();
		m_strPartsItem_W = br.ReadString();
		m_strPartsDiff_M = br.ReadString();
		m_strPartsDiff_W = br.ReadString();
		m_strDropSound = br.ReadString();
		//m_strRootSound = br.ReadString();//kij
		m_strUseSound = br.ReadString();
		//m_strItemHitSound = br.ReadString();//kij
		//m_strItem_Root_Effect = br.ReadString();//kij
		//m_strItem_Hit_Effect = br.ReadString();//kij
		
		m_Item_Costume_PatkDmg = br.ReadInt32();
		m_Item_Costume_MatkDmg = br.ReadInt32();
		m_Item_Costume_Pdef = br.ReadInt32();
		m_Item_Costume_Mdef = br.ReadInt32();
		
		
		m_Item_Disassemble = (eItem_Disassemble)br.ReadInt32();
		m_Item_MixEnchant = br.ReadBoolean();
		m_AbsorbExp = br.ReadInt32();
	}