private GetImpactSkillId ( int actorId, int impactId, int seq ) : int | ||
actorId | int | |
impactId | int | |
seq | int | |
리턴 | int |
internal int GetImpactSkillId(int actorId, int impactId, int seq)
{
EntityViewModel view = GetEntityViewById(actorId);
if (null != view && null != view.Entity) {
ImpactInfo impactInfo = view.Entity.GetSkillStateInfo().GetImpactInfoBySeq(seq);
if (null != impactInfo && impactId == impactInfo.ImpactId) {
return impactInfo.SkillId;
}
}
return 0;
}
static public int GetImpactSkillId(IntPtr l) { try { GameFramework.EntityController self = (GameFramework.EntityController)checkSelf(l); System.Int32 a1; checkType(l, 2, out a1); System.Int32 a2; checkType(l, 3, out a2); System.Int32 a3; checkType(l, 4, out a3); var ret = self.GetImpactSkillId(a1, a2, a3); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }