CanCastSkill() private method

private CanCastSkill ( int objId, TableConfig configData, int seq ) : bool
objId int
configData TableConfig
seq int
return bool
Ejemplo n.º 1
0
 static public int CanCastSkill(IntPtr l)
 {
     try {
         GameFramework.EntityController self = (GameFramework.EntityController)checkSelf(l);
         System.Int32 a1;
         checkType(l, 2, out a1);
         TableConfig.Skill a2;
         checkType(l, 3, out a2);
         System.Int32 a3;
         checkType(l, 4, out a3);
         var ret = self.CanCastSkill(a1, a2, a3);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }