public static int get_LevelZoneId(IntPtr l) { int result; try { RandomEventLevelZone randomEventLevelZone = (RandomEventLevelZone)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, randomEventLevelZone.LevelZoneId); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { RandomEventLevelZone o = new RandomEventLevelZone(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_Groups(IntPtr l) { int result; try { RandomEventLevelZone randomEventLevelZone = (RandomEventLevelZone)LuaObject.checkSelf(l); Dictionary <int, RandomEventGroup> groups; LuaObject.checkType <Dictionary <int, RandomEventGroup> >(l, 2, out groups); randomEventLevelZone.Groups = groups; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }