public static int get_m_totalHpPercent(IntPtr l) { int result; try { CombatUIController.HPState hpstate = (CombatUIController.HPState)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, hpstate.m_totalHpPercent); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { CombatUIController.HPState o = new CombatUIController.HPState(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_combatCharUIController(IntPtr l) { int result; try { CombatUIController.HPState hpstate = (CombatUIController.HPState)LuaObject.checkSelf(l); CombatCharUIController combatCharUIController; LuaObject.checkType <CombatCharUIController>(l, 2, out combatCharUIController); hpstate.m_combatCharUIController = combatCharUIController; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_isCritical(IntPtr l) { int result; try { CombatUIController.HPState hpstate = (CombatUIController.HPState)LuaObject.checkSelf(l); bool isCritical; LuaObject.checkType(l, 2, out isCritical); hpstate.m_isCritical = isCritical; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_soldierDamages(IntPtr l) { int result; try { CombatUIController.HPState hpstate = (CombatUIController.HPState)LuaObject.checkSelf(l); List <CombatUIController.Damage> soldierDamages; LuaObject.checkType <List <CombatUIController.Damage> >(l, 2, out soldierDamages); hpstate.m_soldierDamages = soldierDamages; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }