private CalcSkillDistance ( float dist, int srcId, int targetId ) : float | ||
dist | float | |
srcId | int | |
targetId | int | |
return | float |
static public int CalcSkillDistance(IntPtr l) { try { GameFramework.EntityController self = (GameFramework.EntityController)checkSelf(l); System.Single 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.CalcSkillDistance(a1, a2, a3); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }