static public int GetFloat(IntPtr l) { try { GameFramework.CharacterProperty self = (GameFramework.CharacterProperty)checkSelf(l); GameFramework.CharacterPropertyEnum a1; checkEnum(l, 2, out a1); var ret = self.GetFloat(a1); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }