public static int DeInit(IntPtr l) { int result; try { ChatComponentCommon chatComponentCommon = (ChatComponentCommon)LuaObject.checkSelf(l); chatComponentCommon.DeInit(); 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 { ChatComponentCommon o = new ChatComponentCommon(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int get_m_guild(IntPtr l) { int result; try { ChatComponentCommon chatComponentCommon = (ChatComponentCommon)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, chatComponentCommon.m_luaExportHelper.m_guild); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int GetName(IntPtr l) { int result; try { ChatComponentCommon chatComponentCommon = (ChatComponentCommon)LuaObject.checkSelf(l); string name = chatComponentCommon.GetName(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, name); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int IsBanned(IntPtr l) { int result; try { ChatComponentCommon chatComponentCommon = (ChatComponentCommon)LuaObject.checkSelf(l); bool b = chatComponentCommon.IsBanned(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, b); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_Owner(IntPtr l) { int result; try { ChatComponentCommon chatComponentCommon = (ChatComponentCommon)LuaObject.checkSelf(l); IComponentOwner owner; LuaObject.checkType <IComponentOwner>(l, 2, out owner); chatComponentCommon.Owner = owner; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_guild(IntPtr l) { int result; try { ChatComponentCommon chatComponentCommon = (ChatComponentCommon)LuaObject.checkSelf(l); GuildComponentCommon guild; LuaObject.checkType <GuildComponentCommon>(l, 2, out guild); chatComponentCommon.m_luaExportHelper.m_guild = guild; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_basicInfo(IntPtr l) { int result; try { ChatComponentCommon chatComponentCommon = (ChatComponentCommon)LuaObject.checkSelf(l); PlayerBasicInfoComponentCommon basicInfo; LuaObject.checkType <PlayerBasicInfoComponentCommon>(l, 2, out basicInfo); chatComponentCommon.m_luaExportHelper.m_basicInfo = basicInfo; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_configDataLoader(IntPtr l) { int result; try { ChatComponentCommon chatComponentCommon = (ChatComponentCommon)LuaObject.checkSelf(l); IConfigDataLoader configDataLoader; LuaObject.checkType <IConfigDataLoader>(l, 2, out configDataLoader); chatComponentCommon.m_luaExportHelper.m_configDataLoader = configDataLoader; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_chatDS(IntPtr l) { int result; try { ChatComponentCommon chatComponentCommon = (ChatComponentCommon)LuaObject.checkSelf(l); DataSectionChat chatDS; LuaObject.checkType <DataSectionChat>(l, 2, out chatDS); chatComponentCommon.m_luaExportHelper.m_chatDS = chatDS; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int Ban(IntPtr l) { int result; try { ChatComponentCommon chatComponentCommon = (ChatComponentCommon)LuaObject.checkSelf(l); DateTime bannedTime; LuaObject.checkValueType <DateTime>(l, 2, out bannedTime); chatComponentCommon.Ban(bannedTime); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int Tick(IntPtr l) { int result; try { ChatComponentCommon chatComponentCommon = (ChatComponentCommon)LuaObject.checkSelf(l); uint deltaMillisecond; LuaObject.checkType(l, 2, out deltaMillisecond); chatComponentCommon.Tick(deltaMillisecond); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int TruncateChatMessage(IntPtr l) { int result; try { ChatComponentCommon chatComponentCommon = (ChatComponentCommon)LuaObject.checkSelf(l); string content; LuaObject.checkType(l, 2, out content); string s = chatComponentCommon.TruncateChatMessage(content); LuaObject.pushValue(l, true); LuaObject.pushValue(l, s); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int CanSendChatMessage(IntPtr l) { int result; try { ChatComponentCommon chatComponentCommon = (ChatComponentCommon)LuaObject.checkSelf(l); int channelId; LuaObject.checkType(l, 2, out channelId); int i = chatComponentCommon.CanSendChatMessage(channelId); LuaObject.pushValue(l, true); LuaObject.pushValue(l, i); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }