public static ChatMessage ParseSayLine(IgsLine igsLine, IgsConnection server) { Match match = regexSay.Match(igsLine.EntireLine); return(new ChatMessage(match.Groups[1].Value, match.Groups[2].Value, DateTimeOffset.Now, match.Groups[1].Value == server.Username ? ChatMessageKind.Outgoing : ChatMessageKind.Incoming)); }
public IgsEvents(IgsConnection igsConnection) { this._igsConnection = igsConnection; }
public IgsCommands(IgsConnection igsConnection) { this.igsConnection = igsConnection; }