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