コード例 #1
0
        protected override void Load(Dsl.FunctionData callData, SkillInstance instance)
        {
            int num = callData.GetParamNum();

            if (num >= 5)
            {
                StartTime     = long.Parse(callData.GetParamId(0));
                m_RemainTime  = long.Parse(callData.GetParamId(1));
                m_ShaderName  = callData.GetParamId(2);
                m_StartColor  = DslUtility.CalcColor(callData.GetParam(3) as Dsl.FunctionData);
                m_ChangeColor = DslUtility.CalcColor(callData.GetParam(4) as Dsl.FunctionData);
            }
            if (num >= 6)
            {
                m_ChangeTime = long.Parse(callData.GetParamId(5));
            }
        }