public Msg_Pet_Skill_Get( ePET_SKILL_TYPE _type, sPETSKILL _skill)
	{
		m_MessageType = eMessageType.PET_SKILL_GET;
		
		type_ = _type;
		skill_ = _skill;
	}
Exemple #2
0
	public bool SetSlotImg_Skill(sPETSKILL _skill)
	{
		m_PetSkill = _skill;

		return _SetSlotImg_Skill(_skill.nSkillTableIdx);
	}
	public Msg_Pet_Skill_Ready( sPETSKILL _petSkill)
	{
		m_MessageType = eMessageType.PET_SKILL_READY;
		
		playerPet_ = true;
		
		skillRecord_ = AsTableManager.Instance.GetTbl_Skill_Record( _petSkill.nSkillTableIdx);
		skillLvRecord_ = AsTableManager.Instance.GetTbl_SkillLevel_Record( _petSkill.nLevel, _petSkill.nSkillTableIdx);
		actionRecord_ = AsTableManager.Instance.GetPetActionRecord( skillLvRecord_.SkillAction_Index);
	}