public AddDamageForInit ( ISkillTriger trigger ) : void | ||
trigger | ISkillTriger | |
리턴 | void |
static public int AddDamageForInit(IntPtr l) { try { SkillSystem.SkillInstance self = (SkillSystem.SkillInstance)checkSelf(l); SkillSystem.ISkillTriger a1; checkType(l, 2, out a1); self.AddDamageForInit(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
protected override void Load(Dsl.CallData callData, SkillInstance instance) { instance.AddDamageForInit(this); int num = callData.GetParamNum(); if (num > 0) { StartTime = long.Parse(callData.GetParamId(0)); } else { StartTime = 0; } if (num > 1) { IsFinal = callData.GetParamId(1) == "true"; } else { IsFinal = true; } }