GameFramework.SkillInfo.GetCD C# (CSharp) Method

GetCD() public method

public GetCD ( long now ) : float
now long
return float
        public float GetCD(long now)
        {
            return CdEndTime - now;
        }

Usage Example

 static public int GetCD(IntPtr l)
 {
     try {
         GameFramework.SkillInfo self = (GameFramework.SkillInfo)checkSelf(l);
         System.Int64            a1;
         checkType(l, 2, out a1);
         var ret = self.GetCD(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }