fCraft.Chat.ReplaceUncodeWithEmotes C# (CSharp) Method

ReplaceUncodeWithEmotes() private method

private ReplaceUncodeWithEmotes ( [ input ) : string
input [
return string
        public static string ReplaceUncodeWithEmotes( [NotNull] string input ) {
            if ( input == null )
                throw new ArgumentNullException( "input" );
            StringBuilder sb = new StringBuilder( input );
            for ( int i = 1; i < UnicodeReplacements.Length; i++ ) {
                sb.Replace( UnicodeReplacements[i], ( char )i );
            }
            sb.Replace( '⌂', '\u007F' );
            return sb.ToString();
        }