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