mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-01 21:33:39 +01:00
remove old pre-sestring commented code
This commit is contained in:
parent
4c5f3eb1c2
commit
6f886d4604
1 changed files with 0 additions and 22 deletions
|
|
@ -223,28 +223,6 @@ namespace Dalamud.Game
|
||||||
var linkMatch = this.urlRegex.Match(message.TextValue);
|
var linkMatch = this.urlRegex.Match(message.TextValue);
|
||||||
if (linkMatch.Value.Length > 0)
|
if (linkMatch.Value.Length > 0)
|
||||||
this.LastLink = linkMatch.Value;
|
this.LastLink = linkMatch.Value;
|
||||||
|
|
||||||
// Handle all of this with SeString some day
|
|
||||||
/*
|
|
||||||
if ((this.HandledChatTypeColors.ContainsKey(type) || type == XivChatType.Say || type == XivChatType.Shout ||
|
|
||||||
type == XivChatType.Alliance || type == XivChatType.TellOutgoing || type == XivChatType.Yell)) {
|
|
||||||
var italicsStart = message.TextValue.IndexOf("*", StringComparison.InvariantCulture);
|
|
||||||
var italicsEnd = message.TextValue.IndexOf("*", italicsStart + 1, StringComparison.InvariantCulture);
|
|
||||||
|
|
||||||
var messageString = message.TextValue;
|
|
||||||
|
|
||||||
while (italicsEnd != -1) {
|
|
||||||
var it = MakeItalics(
|
|
||||||
messageString.Substring(italicsStart, italicsEnd - italicsStart + 1).Replace("*", ""));
|
|
||||||
messageString = messageString.Remove(italicsStart, italicsEnd - italicsStart + 1);
|
|
||||||
messageString = messageString.Insert(italicsStart, it);
|
|
||||||
italicsStart = messageString.IndexOf("*");
|
|
||||||
italicsEnd = messageString.IndexOf("*", italicsStart + 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
message.RawData = Encoding.UTF8.GetBytes(messageString);
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void PrintWelcomeMessage()
|
private void PrintWelcomeMessage()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue