예제 #1
0
    public static SysSkillMainVo GetSkillData(SysSkillMainVo mainVo, SysSkillLevelupVo levelupVo, SysSkillSkinVo skinVo)
    {
        if (mainVo == null)
        {
            return(null);
        }
        SysSkillMainVo result = SkillUtility.CopySkillData(ref mainVo);

        if (levelupVo != null)
        {
            SkillUtility.LevelUpImpact(ref result, ref levelupVo);
        }
        if (skinVo != null)
        {
            SkillUtility.SkinImpact(ref result, ref skinVo);
        }
        return(result);
    }