public static int get_LastWorldChannelChatSendTime(IntPtr l) { int result; try { DataSectionChat dataSectionChat = (DataSectionChat)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, dataSectionChat.LastWorldChannelChatSendTime); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int SilentUnban(IntPtr l) { int result; try { DataSectionChat dataSectionChat = (DataSectionChat)LuaObject.checkSelf(l); dataSectionChat.SilentUnban(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { DataSectionChat o = new DataSectionChat(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int SerializeToClient(IntPtr l) { int result; try { DataSectionChat dataSectionChat = (DataSectionChat)LuaObject.checkSelf(l); object o = dataSectionChat.SerializeToClient(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int InitBannedTime(IntPtr l) { int result; try { DataSectionChat dataSectionChat = (DataSectionChat)LuaObject.checkSelf(l); long bannedTime; LuaObject.checkType(l, 2, out bannedTime); dataSectionChat.InitBannedTime(bannedTime); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_LastWorldChannelChatSendTime(IntPtr l) { int result; try { DataSectionChat dataSectionChat = (DataSectionChat)LuaObject.checkSelf(l); DateTime lastWorldChannelChatSendTime; LuaObject.checkValueType <DateTime>(l, 2, out lastWorldChannelChatSendTime); dataSectionChat.LastWorldChannelChatSendTime = lastWorldChannelChatSendTime; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int SilentBan(IntPtr l) { int result; try { DataSectionChat dataSectionChat = (DataSectionChat)LuaObject.checkSelf(l); DateTime bannedTime; LuaObject.checkValueType <DateTime>(l, 2, out bannedTime); dataSectionChat.SilentBan(bannedTime); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int IsBanned(IntPtr l) { int result; try { DataSectionChat dataSectionChat = (DataSectionChat)LuaObject.checkSelf(l); DateTime currentTime; LuaObject.checkValueType <DateTime>(l, 2, out currentTime); bool b = dataSectionChat.IsBanned(currentTime); LuaObject.pushValue(l, true); LuaObject.pushValue(l, b); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int CanSendWorldChatByTime(IntPtr l) { int result; try { DataSectionChat dataSectionChat = (DataSectionChat)LuaObject.checkSelf(l); int intervalTime; LuaObject.checkType(l, 2, out intervalTime); DateTime currentTime; LuaObject.checkValueType <DateTime>(l, 3, out currentTime); bool b = dataSectionChat.CanSendWorldChatByTime(intervalTime, currentTime); LuaObject.pushValue(l, true); LuaObject.pushValue(l, b); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }