Exemple #1
0
    // Token: 0x06000862 RID: 2146 RVA: 0x000A8A44 File Offset: 0x000A6C44
    public void updatePetAttribBonum(uint[] EffVal)
    {
        ushort     petDataCount = PetManager.Instance.PetDataCount;
        PetManager instance     = PetManager.Instance;

        _CalcPetDataType[] calcPetDataType = PetManager.Instance.CalcPetDataType;
        byte b = 0;

        while ((ushort)b < petDataCount)
        {
            PetData petData = instance.GetPetData((int)b);
            calcPetDataType[(int)b].PetID   = petData.ID;
            calcPetDataType[(int)b].Star    = petData.Enhance;
            calcPetDataType[(int)b].SkillLV = petData.SkillLv;
            b += 1;
        }
        BSInvokeUtil.DllCSCalculatePetSkillBonus(this.m_pCSObject, petDataCount, calcPetDataType, EffVal);
    }