fCraft.Color.MinecraftToIrcColors C# (CSharp) Method

MinecraftToIrcColors() private method

private MinecraftToIrcColors ( [ input ) : string
input [
return string
        public static string MinecraftToIrcColors( [NotNull] string input ) {
            if ( input == null )
                throw new ArgumentNullException( "input" );
            StringBuilder sb = new StringBuilder( input );
            MinecraftToIrcColors( sb );
            return sb.ToString();
        }

Same methods

Color::MinecraftToIrcColors ( [ sb ) : void

Usage Example

Example #1
0
 public static void SendChannelMessage([NotNull] string line)
 {
     if (line == null)
     {
         throw new ArgumentNullException("line");
     }
     line = Color.MinecraftToIrcColors(line);
     if (_channelName == null || !GcReady)
     {
         return; // in case IRC bot is disabled.
     }
     SendRawMessage(IRCCommands.Privmsg(_channelName, line));
 }
All Usage Examples Of fCraft.Color::MinecraftToIrcColors