Exemple #1
0
        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));
        }
Exemple #2
0
 public IgsEvents(IgsConnection igsConnection)
 {
     this._igsConnection = igsConnection;
 }
Exemple #3
0
 public IgsCommands(IgsConnection igsConnection)
 {
     this.igsConnection = igsConnection;
 }