public static int ClearInitedData(IntPtr l) { int result; try { DataSectionDanmaku dataSectionDanmaku = (DataSectionDanmaku)LuaObject.checkSelf(l); dataSectionDanmaku.ClearInitedData(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int get_m_bannedTime(IntPtr l) { int result; try { DataSectionDanmaku dataSectionDanmaku = (DataSectionDanmaku)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, dataSectionDanmaku.m_bannedTime); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { DataSectionDanmaku o = new DataSectionDanmaku(); 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_bannedTime(IntPtr l) { int result; try { DataSectionDanmaku dataSectionDanmaku = (DataSectionDanmaku)LuaObject.checkSelf(l); DateTime bannedTime; LuaObject.checkValueType <DateTime>(l, 2, out bannedTime); dataSectionDanmaku.m_bannedTime = bannedTime; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int IsBannedTimeExpired(IntPtr l) { int result; try { DataSectionDanmaku dataSectionDanmaku = (DataSectionDanmaku)LuaObject.checkSelf(l); DateTime current; LuaObject.checkValueType <DateTime>(l, 2, out current); bool b = dataSectionDanmaku.IsBannedTimeExpired(current); LuaObject.pushValue(l, true); LuaObject.pushValue(l, b); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }