public static int Update(IntPtr l) { int result; try { DamageNumber damageNumber = (DamageNumber)LuaObject.checkSelf(l); damageNumber.Update(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }