mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Improve ToString
output of Message
This commit is contained in:
@ -85,6 +85,6 @@ namespace osu.Game.Online.Chat
|
|||||||
// ReSharper disable once ImpureMethodCallOnReadonlyValueField
|
// ReSharper disable once ImpureMethodCallOnReadonlyValueField
|
||||||
public override int GetHashCode() => Id.GetHashCode();
|
public override int GetHashCode() => Id.GetHashCode();
|
||||||
|
|
||||||
public override string ToString() => $"[{ChannelId}] ({Id}) {Sender}: {Content}";
|
public override string ToString() => $"({(Id?.ToString() ?? "null")}) {Timestamp} {Sender}: {Content}";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user