Browse Source

Added SendMode and SendTopic. Added ModeInfo class

tags/3.0.0
Teknikode 5 years ago
parent
commit
775fe4d5c4
2 changed files with 15 additions and 0 deletions
  1. 0
    0
      IRC/IRCMethods.cs
  2. 15
    0
      IRC/IRCTypes.cs

+ 0
- 0
IRC/IRCMethods.cs View File


+ 15
- 0
IRC/IRCTypes.cs View File

@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@@ -24,6 +25,20 @@ namespace Combot
CTCP = 4
}

public class ChannelModeInfo
{
public ChannelMode Mode { get; set; }
public bool Set { get; set; }
public string Parameter { get; set; }
}

public class UserModeInfo
{
public UserMode Mode { get; set; }
public bool Set { get; set; }
public string Parameter { get; set; }
}

public enum ChannelMode
{
[Description("Admin")]

Loading…
Cancel
Save